query
stringlengths
6
215
document
stringlengths
50
1.23k
negative
sequencelengths
15
209
dataset
stringclasses
1 value
Showing $f/g$ is identically constant
Show that $f(z) = cg(z)$ is valid for two analytic functions $f$ and $g$ given a certain relationship between them
[ "Mean absolute error OR root mean squared error? Why use Root Mean Squared Error (RMSE) instead of Mean Absolute Error (MAE)?? Hi I've been investigating the error generated in a calculation - I initially calculated the error as a Root Mean Normalised Squared Error. Looking a little closer, I see the effects of squaring the error gives more weight to larger errors than smaller ones, skewing the error estimate towards the odd outlier. This is quite obvious in retrospect. So my question - in what instance would the Root Mean Squared Error be a more appropriate measure of error than the Mean Absolute Error? The latter seems more appropriate to me or am I missing something? To illustrate this I have attached an example below: The scatter plot shows two variables with a good correlation, the two histograms to the right chart the error between Y(observed ) and Y(predicted) using normalised RMSE (top) and MAE (bottom). There are no significant outliers in this data and MAE gives a lower error than RMSE. Is there any rational, other than MAE being preferable, for using one measure of error over the other?", "In the movie, there's one scene that seems very strange to me. First, the point: When the team gets in the first level, they find out that Fischer has a militarized subconscious. After they freak out, and argue about it, they also find out that they can't die, otherwise they'd get stuck in limbo. So, when Eames says that he won't go further, Cobb states that, since the first level sedative will last a week they would be killed. They needed to go on to the next levels as fast as possible, so the combined multi-level kick would make them wake up. Here's the point: The plan was the multi-level kick would wake them up before the sedative was off Ariadne: ...is ten years! Who would wanna be stuck in a dream for ten years? Yusuf: Depends on the dream. Arthur: So, once we've made the plant, how do we go out? Hope you have something more elegant in mind than shooting me in the head? Cobb: A kick. ... Arthur: Are we going to feel a kick with this kind of sedation? Yusuf: Well, that's the clever part. I customize the sedative to leave inner ear function unimpaired. That way, however deep the sleep, the sleeper still feels falling, or tipping. Now, the question: When they finish the job, they perform the kicks The van hits the water Arthur detonates the elevator Eames explodes the fortress But they don't wake up. They are back in the drowned van. So, as far as I could understand, they still had to sit and wait for the first level's week to end. (We see Fischer talking to his godfather) Why didn't they wake up with the kicks, as it was planned? And how did they managed not to get killed by Fischer's projections after they got out of the Van?", "As you can see, the off-topic page isn't quite right... Could this (minor) issue be fixed?", "$g^\\frac{p-1}{2} \\equiv -1 \\ (mod \\ p)$ Let $p$ be an odd prime, and let $g$ be a primitive root modulo $p$. Prove that $g^\\frac{p-1}{2} \\equiv -1 \\ (mod \\ p)$. I've seen this solution on the math stack exchange but most of the solutions use quadratic reciprocity. Unfortunately, I skipped that section because it seemed very hard, but the proof that $g^\\frac{p-1}{2} \\equiv -1 \\ (mod \\ p)$ seems easy with it. Is there another way to solve this This question is proposed in the chapter of Finite Abelian Groups. DEF:In elementary number theory, an integer $g$ is called a primitive root for the modulus $n$ if $\\mathbb{Z}_n^\\times$ is a cyclic group and $[g]_n$, is a generator for $\\mathbb{Z}_n^\\times$.", "Someone edited my message on StackOverflow, but it really bugs me out. I'm not sure what's wrong with it: As you see, the bigger the circle becomes, the more vertices I need for hiding the straight lines. As you see, the bigger the circle becomes, the more vertices I need to hide the straight lines. The latter (corrected) sentence just bugs me out for some reason. It would sound better if there was a comma after the word \"need\", perhaps, but I guess that would be even worse in means of grammatical correctness. Can someone explain why is the first sentence bad and the second sentence correct? And could there even be better solution to fix the first sentence?", "Blender python custom UI button run custom function?", "Recently, I accidentally deleted a partition off of my external hard disk. I had a copy of Minitool Power Data Recovery left over when the same drive had become RAW about a year ago. When I selected lost partition recovery, it immediately identified my deleted partition and allowed me to access and recover the files that were there. My question is this. Is there any way to change the deleted partition back to NTFS without having to have a drive that you need to recover the files to and then move them back after formatting, as I don’t have any space left on either the computer or on my other external hard drive, so that I don’t need to buy a new one. The files on the disk were really important. I am using Windows 7 Home Premium. I appreciate any help in solving this crisis.", "A type of the body is JSON Blob in a form of: {\"key1\":\"val1\";\"key2\":\"val2\"} I wanted to convert it into a Map<String, String>. Do I have to manually deserialize it or there's a class which can handle that?", "Impossibility of constructing a continuum-size linearly independent set in $\\Bbb R$ This is a response to the following exchange at [Bill constructs a $\\aleph_0$ linearly independent set in $\\Bbb R$] Can you extend the idea of this proof to get the right dimension? Currently, you only have a countably infinite independent set, but the dimension is size continuum. – I believe the answer to this question is no, for the following reason. Suppose we have a spanning set for $\\Bbb R$ over $\\Bbb Q$, of cardinality $\\frak n$. Then by definition we have the cardinality equation ${\\frak c}\\le^*[{\\frak n}]^{<\\omega}\\cdot \\aleph_0$ (where $[{\\frak n}]^{<\\omega}$ is the cardinality of finite subsets, and $\\frak m\\le^*n$ means there is a surjection from $\\frak n$ to $\\frak m$). If $\\frak n$ is finite, then we get ${\\frak c}\\le^*\\aleph_0$ which is false, so $\\frak n$ is infinite (but not necessarily Dedekind-infinite). If we assume the axiom of choice, then the equation reduces to $\\frak c\\le n$, hence every Hamel basis is size continuum. But without AC I don't know any way to simplify the original equation to get anything stronger than "$\\frak n$ is infinite". This is at best heuristic evidence for the original question, since it is considering a different problem (spanning sets instead of linearly independent sets). How could one show that there are no ZF-constructible $\\Bbb Q$-linearly independent subsets of $\\Bbb R$ of cardinality continuum?", "I would like to count subgroups of each order (2, 3, 4, 6, 8, 12) of $S_4$, and, hopefully, convince others that I counted them correctly. In order to do this by hand in the term exam, I need a clever way to do this because there can be as many subgroups of a group of order 24 as $2^{23}$. Do you know how to do this? (I would be most grateful if you could tell me what part of the answer to the old question answers my question before voting to close.)", "amsmath align environment: row spacing How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \\fracs in which both the numerator and the denominator consist of textual phrases, not math symbols, and the result looks too cluttered. \\begin{align*} X &= \\frac{\\textit{Some text here}}{\\textit{And some text here}}\\\\ Y &= \\frac{\\textit{Will make everything}}{\\textit{Look too close together}} \\end{align*}", "I'm trying to run down a memory leak in a windows forms application. I'm looking now at a form which contains several embedded forms. What worries me is that the child forms, in their constructor, take a reference to the parent form, and keep it in a private member field. So it seems to me that come garbage-collection time: Parent has a reference to the child form, via the controls collection (child form is embedded there). Child form is not GC'd. Child form has a reference to the parent form, via the private member field. Parent form is not GC'd. Is this an accurate understanding of how the garbage collector will evaluate the situation? Any way to 'prove' it for testing purposes?", "I have been around on Twitter for awhile and I regularly find people using \"Please to retweet this\" or \"Please to help me\", etc. Is this proper English? I do not think prefixing the infinitive form with a 'to' is necessary here at all.", "I want to know how EXACTLY the WPA password gets encrypted I have been searching through and I was able to catch: The actual password is converted to some hash Salting is applied to the hash The operation is not reversible The hash comes with the 4-way handshake So what kind of hash is it converted? like, SHA1? MD5? and how the salting process is done? like, is the SSID appended to the password before the hashing operation? Or maybe I have some misunderstanding here?", "This question is pretty simple: I'd like to have the possibility to get the exact size of a picture in LaTeX with, for example, the macro \\the. In fact, I've founded the way \\settoheight{} and so on, but it didn't work at all. What I've got doesn't match with what I can see in the image properties (I suppose that's the name in English). The result: 8pt versus 1300 pixels. It's may be a mis-use... Edit: In the end, my aim was to find a way to fit the picture in LaTeX. If width and height were both less than the dimensions of the body, then it should just be centred. It look like this : Require: \\usepackage{graphicx} \\usepackage{xifthen} \\usepackage{calc} Code (pretty ugly, I agree): % Centrering+fitting for image, with captation and label (not auto) \\newlength\\imageheight \\newlength\\imagewidth \\newcommand{\\pic}[3]{% \\settoheight\\imageheight{\\includegraphics{pictures/#1.png}}% \\settowidth\\imagewidth{\\includegraphics{pictures/#1.png}}% \\ifthenelse{\\lengthtest{\\imagewidth > \\textwidth}}{\\ifthenelse{\\lengthtest{\\imageheight > \\imagewidth}}{\\par\\vspace{0.95em}% \\begin{figure} \\centering\\includegraphics[height=0.85\\textheight]{pictures/#1.png} \\caption{#2} \\label{#3} \\end{figure}% \\par\\vspace{0.95em}}{\\par\\vspace{0.95em}% \\begin{figure} \\centering\\includegraphics[width=0.95\\textwidth]{pictures/#1.png} \\caption{#2} \\label{#3} \\end{figure}% \\par\\vspace{0.95em}}}{\\ifthenelse{\\lengthtest{\\imageheight > \\textheight}}{\\par\\vspace{0.95em}% \\begin{figure} \\centering\\includegraphics[height=0.85\\textheight]{pictures/#1.png} \\caption{#2} \\label{#3} \\end{figure}% \\par\\vspace{0.95em}}{\\par\\vspace{0.95em}% \\begin{figure} \\centering\\includegraphics{pictures/#1.png} \\caption{#2} \\label{#3} \\end{figure}% \\par\\vspace{0.95em}}}} % To use it : put your png files in a \"pictures\" directory, then, just simply call the picture like this : \\pic{name_whitout_extension}{Captation_if_needed}{Label_if_needed}. Edit 2 : Thanks to Martin Scharrer's easyfig package, I've got a more or less 1,6 times faster solution to put my pictures, centred, with the perfect size. CTAN: VC: Version v1.2 – 2012/05/15 This could be useful for some others, I hope.", "$f,\\overline f$ are both analytic in a domain $\\Omega$ then $f$ is constant? is it true if $f,\\overline f$ are both analytic in a domain $\\Omega$ then $f$ is constant? I am not able to find out what property of holomorphic map I need to apply. please help.Thank you. $f(z)=u(x,y)+iv(x,y)$, $\\bar{f}(z)=u(x,y)-iv(x,y)$", "Constructing a circle through a given point, tangent to a given line, and tangent to a given circle While browsing around about problems similar to , I have found references to constructions of all types of circles. For example, not only is it possible to construct a circle tangent to three given circles, but one can construct a circle through any three points, tangent to any three lines, passing through two given points and tangent to a line or circle, passing through a given point and tangent to two given lines or circles, etc. Pretty much any combination of criteria regarding points, lines, and circles, with repetition. Can we have one of each? I haven't found any resource saying whether it's possible or not to construct a circle through a given point, tangent to a given line, and tangent to a given circle. Is such a construction possible? Thanks.", "Is there a word for describing people who know many things but superficially? Is there an appropriate word for the antonym of \"full-stack\", as in programming? Someone who knows a lot of things just as a full-stack programmer, but without mastering them.", "Reload the page on hitting back button", "I was working on a tower and painted my own texture for it. I saved halfway though and took a break. When I returned to my little project, I could paint on the image and it shows up in the material view but not the render. I did everything in my power but still couldn't understand why? I have used: Nodes, including mapping and insert UV coordinates. Unwrap UVs Used lights Deleted and replace nodes Deleted and replace Mat Removed image and replace it Reload image Painted on mesh Even though use blender, I am not a programmer. So I find it really helpful if someone could give me an answer." ]
medi_sts_stackexchange_dupe
Javascript infamous Loop issue?
JavaScript closure inside loops – simple practical example
[ "What is the norm of this bounded linear functional? Let $a$, $b$ be two arbitrary but fixed real numbers such that $a < b$, let $C[a,b]$ denote the normed space of all continuous real (or complex) valued functions defined on $[a,b]$ with the maximum norm, and let $f$ be the functional defined on $C[a,b]$ as $$f(x):= \\int_{a}^{b} x(t) x_0(t) dt $$ for all $x$ in $C[a,b]$, where $x_0$ is a fixed element of $C[a,b]$. Now $f$ is evidently linear and bounded. How to compute the norm of $f$? What is this norm? And what is the norm of the bounded linear functional $g$ defined as follows: $$g(x):= \\int_{a}^{(a+b)/2} x(t) \\cdot dt - \\int_{(a+b)/2}^{b} x(t) \\cdot dt$$ for all $x$ in $C[a,b]$?", "Saleforce Too many future calls: 11", "Are \"beginner questions\" allowed on Stack Overflow?", "Differential form is closed if the integral over a curve is rational number. The following problem comes from do Carmo's book Differential Forms and Applications, Chapter 2, Exercise 4: Let $\\omega$ be a differentiable 1-from defined on an open subset $U\\subset \\mathbb{R}^n$. Assume that for each closed differential curve $C$ in $C$, $\\int_C \\omega$ is a rational number. Prove that $\\omega$ is closed. Can anyone give some hints? My idea was that we could try to show the integral vanishes if the curve lies in $N_\\epsilon (p)$ (i.e. a small neighborhood around $p$) for any $p$ in $U$ and use the Poincare Lemma, but failed.", "Can anyone tell me if there is a way with generics to limit a generic type argument T to only: Int16 Int32 Int64 UInt16 UInt32 UInt64 I'm aware of the where keyword, but can't find an interface for only these types, Something like: static bool IntegerFunction<T>(T value) where T : INumeric", "How do I filter out addresses using HTTPS for a D-Link router? I recently got a new router, a DRL-600L Router from D-Link, and was setting up some filters to block out certain websites. One problem I am having is blocking out addresses that use https instead of http. For example, I'm trying to block out Facebook, because Facebook. So far, the filter filters http://www.facebook.com perfectly fine, but for the url https://www.facebook.com, it won't block that. How can I block those kinds of websites?", "Modulus with a negative number", "I submitted a new version of the sitemap index for my site in Google Search Console two days ago. Soon after submission, GSC started saying that the index was \"processed successfully\", and yet has continued to display zero as the number of discovered URLs. Note that my sitemap index points to about 11000 sitemaps, which provide actual links to pages. I'm pretty sure the format of both the sitemap index and the individual sitemaps is correct. Screenshot: Should I worry about this? What does it mean? Edit on 2020-02-03: Google finally started displaying the right number in Total discovered URLs. It must have happened sometime in January. Why so late - I have no idea...", "Suppose a cleric casts Zone of Truth on a captured enemy. Unbeknownst to them, the enemy is a rakshasa. Zone of Truth says (PHB, p. 289): You know whether each creature succeeds or fails on its saving throw. But (MM, p. 257): The rakshasa is immune to spells of 6th level or lower unless it wishes to be affected. Assuming the rakshasa doesn't wish to be affected by the Zone of Truth spell, does the caster know this? More generally, does a caster know when targets are unaffected by a spell they have cast, either because they have made saving throws, or because they are outright immune to the spell or its effects (e.g., casting Ray of Sickness on a shadow demon, which is immune to poison damage and the poisoned condition)?", "How do I remove/delete a folder that is not empty? I am getting an 'access is denied' error when I attempt to delete a folder that is not empty. I used the following command in my attempt: os.remove(\"/folder_name\"). What is the most effective way of removing/deleting a folder/directory that is not empty?", "Capturing speaker output in Java", "Why is James Bond less tech savvy in the Daniel Craig movies?", "Escaping quotes in zsh alias Following on from about stripping newlines out of text, I want to turn this into a zsh alias as follows: alias striplines=' awk \" /^$/ {print \\\"\\n\\\"; } /./ {printf( \\\" %s \\\",$0);}\"' I've tried escaping the quotes inside the awk script, but I'm getting this error: awk: (FILENAME=bspsrobustness FNR=1) fatal: division by zero attempted (The file is called bspsrobustness) Is there a way to do what I want? I suppose I could turn this into an awk script rather than a zsh alias, is that my best option?", "Does WaitForMultipleObjects() reset all auto-reset events?", "Access denied for user 'root@localhost' (using password:NO)", "Necessary and Sufficient conditions for $(i \\, j)$ and $(1 \\, 2 \\, \\dotsc \\, n)$ generate $S_n$. I have a homework question that asks Find necessary and sufficient conditions on $1 \\leq i < j \\leq n$ so that $(i \\, j)$ and $(1 \\, 2 \\, \\dotsc \\, n)$ generate $S_n$. Here is what I have done so far. Call $c = (1 \\, 2 \\, \\dotsc \\, n)$. I made the observation that $$ \\overbrace{c c \\dotsb c}^{n - j + 1} (i \\, j) \\overbrace{c^{-1} c^{-1} \\dotsb c^{-1}}^{n - j + 1} = (1 + i - j + n \\, 1). $$ Thus, $\\langle (i \\, j), c \\rangle = \\langle (1 \\, i - j + n + 1), c \\rangle$, so it suffices to look at $\\langle (1 \\, k), c \\rangle$ for positive integers $2 \\leq k \\leq n$. I've checked that, for the value $k=2$, $\\langle (1 \\, 2), c \\rangle = S_n$. This immediately implies $\\langle (1 \\, n), c \\rangle = S_n$. I suspect that no other values of $k$ will work, but am not sure how to prove it.", "I recently got a Windows 10 laptop. Opposite to my Macbook, I must swipe right-to-left to go to the right virtual desktop. Is there a way to reverse this, so I swipe left-to-right to go to the right virtual desktop?", "I'm wondering what the preferred method is for dealing with AJAX calls. Should one use the same plugin php file to process the POST or a separate one? Which is cleaner or safer?", "Hint: $a^2 -ab +b^2 = (a+b)^2 -3ab.$ I know we can say that there exists an $x,y$ such that $ax + by = 1$. So in this case, $(a+b)x + ((a+b)^2 -3ab)y =1.$ I thought setting $x = (a+b)$ and $y = -1$ would help but that gives me $3ab =1.$ Any suggestions?", "Using the code below I add text to end of file names which are: 1.mp3 2.mp3 and should be: 1text.mp3 2text.mp3 but it changed to: 1.mp3text 2.mp3text Code: @ECHO ON FOR %%A IN (\"C:\\Users\\user123\\Desktop\\mp3\\*.mp2\") DO ( CALL :RenameFiles \"%%~A\" \"%%~NXA\" ) GOTO EOF :RenameFiles SET fname=%~2 SET renname=%fname=% REN \"%~1\" \"%renname%text%\" GOTO E" ]
medi_sts_stackexchange_dupe
Is $i$ equal to $-i$?
Why $\sqrt{-1 \cdot {-1}} \neq \sqrt{-1}^2$?
[ "If $\\lim_{x\\to\\infty}(f(x)+f'(x))=L$ show that $\\lim_{x\\to\\infty} f(x) = L$ and $\\lim_{x\\to\\infty} f'(x) = 0$ Let $f:(0,\\infty) \\to R$ be differentiable. Suppose that $\\lim_{x\\to\\infty}(f(x)+f'(x))=L$. Show that $\\lim_{x\\to\\infty} f(x) = L$ and $\\lim_{x\\to\\infty} f'(x) = 0$. (Hint: Write $f(x) = e^xf(x)/e^x$ and use l’Hopital’s Rule.) My working for $\\lim_{x\\to\\infty}f'(x)=0$: For $\\lim_{x\\to\\infty}f'(x) = 0$, I let $f(x) = e^xf(x)/e^x$ and applied quotient rule which then cancels off $e^{2x}$ and I'm left with $\\lim_{x\\to\\infty}(f(x)+f'(x)-f(x))$. Can I then equate this with $\\lim_{x\\to\\infty} \\left(f(x)+f'(x)\\right) - \\lim_{x\\to\\infty}f(x)$ which then gives $L-L=0$? Is this step correct?", "How fast a (relatively) small black hole will consume the Earth? This question appeared quite a time ago and was inspired, of course, by all the fuss around \"LHC will destroy the Earth\". Consider a small black hole, that is somehow got inside the Earth. Under \"small\" I mean small enough to not to destroy Earth instantaneously, but large enough to not to evaporate due to the . I need this because I want the black hole to \"consume\" the Earth. I think reasonable values for the mass would be $10^{15} - 10^{20}$ kilograms. Also let us suppose that the black hole is at rest relative to the Earth. The question is: How can one estimate the speed at which the matter would be consumed by the black hole in this circumstances?", "I often see questions on Stack Exchange sites which I presume are written by non-native English speakers who use the word \"doubt\" in place of the word \"question\". Is this a case of misunderstanding the correct meaning or are people being taught that this is correct usage?", "load() method deprecated?", "I just got these 10 e-mails 5 hours ago from [email protected]: Recently, you asked a question on [X] Stack Exchange, but you haven't verified your email address yet. Click on the following link to verify your email and set a password so that you can log in. Here, [X] refers to all of the following: GameDevelopment.SE SharePoint.SE Unix.SE Skeptics.SE Japaneese.SE HomeImprovement.SE SciFi.SE PersonalFinanceMoney.SE DatabaseAdmins.SE TeX.SE I haven't posted on any of these except for TeX.SE, but that was not recently, and through my real account. = I asked about this , and was told that someone seems to be impersonating me by using my email. Is it possible for staff to stop this? Also, I'm pretty surprised there is no measure to stop people from using emails to existing SE accounts (see for example, on wordpress.com, if you use an e-mail which has an existing account on wp.com, you are asked to log in.). EDIT: I just got 2 more emails an hour ago for SharePoint.SE, and for AmateurRadio.SE.", "Learning Resources on Parsers, Interpreters, and Compilers I've been wanting to play around with writing my own language for a while now (ostensibly for the learning experience) and as such need to be relatively grounded in the construction of Parsers, Interpreters, and Compilers. So: Does anyone know of any good resources on constructing Parsers, Interpreters, and Compilers? EDIT: I'm not looking for compiler-compilers/parser-compilers such as Lex, Yacc and Bison...", "How to find the determinant of this $3 \\times 3$ Hankel matrix? Today, at my linear algebra exam, there was this question that I couldn't solve. Prove that $$\\det \\begin{bmatrix} n^{2} & (n+1)^{2} &(n+2)^{2} \\\\ (n+1)^{2} &(n+2)^{2} & (n+3)^{2}\\\\ (n+2)^{2} & (n+3)^{2} & (n+4)^{2} \\end{bmatrix} = -8$$ Clearly, calculating the determinant, with the matrix as it is, wasn't the right way. The calculations went on and on. But I couldn't think of any other way to solve it. Is there any way to simplify $A$, so as to calculate the determinant?", "Page Object Model or External property file for Selenium Object Repository I am a beginner in Selenium WebDriver (Java with TestNg). I'm trying to create a framework of my own. My question here is what would be the better option to store my objects (basically all the webelements of my website under test), Page Object Model or External Property file? Why? Is there a better method than those? Please help.", "Salesforce1 on focus scroll to the top", "I have noticed that some browsers (in particular, Firefox and ) are very zealous in using cached copies of .css and .js files, even between browser sessions. This leads to a problem when you update one of these files, but the user's browser keeps on using the cached copy. What is the most elegant way of forcing the user's browser to reload the file when it has changed? Ideally, the solution would not force the browser to reload the file on every visit to the page. I have found and suggestion to be useful. It turns out there is a term for this: auto-versioning. I have posted a new answer below which is a combination of my original solution and John's suggestion. Another idea that was suggested by SCdF would be to append a bogus query string to the file. (Some Python code, to automatically use the timestamp as a bogus query string, was .) However, there is some discussion as to whether or not the browser would cache a file with a query string. (Remember, we want the browser to cache the file and use it on future visits. We only want it to fetch the file again when it has changed.)", "Why does demand for stock rise when a company appears to have high future value?", "How to make a Rigid Body fall off a conveyor belt? I've created conveyor belt and and two objects with rigid body physics. But the first object won't fall and second object falls backwards. How can I fix it?", "Are there any known uncountable transfinite increasing sequences of real numbers? The real numbers are uncountable, so assuming the axiom of choice there is at least transfinite sequence of real numbers $r_0, r_1, r_2, ..., r_\\omega, r_{\\omega + 1}, ..., $ up to (and possibly including) $r_{\\omega_1}$ that contains an uncountable number of terms. However, it's not guaranteed that $r_0 < r_1 < ..., r_\\omega < ...$ Is there a known transfinite sequence of real numbers that is monotonically increasing and which contains uncountably many real numbers? Thanks!", "How do I fix Outlook only showing the first line of every message? I'm experiencing a strange problem with Outlook 2019. When viewing a message it only shows the first line. On an HTML message, it stops at the first close paragraph tag. On a plaintext message, it stops at the first newline character. This is true if viewing a message in the reading pane as well as if double-clicking the message to open in its own window. I have the preview pane set to show 3 lines and it does show more of the message so it seems like Outlook can see more of the message than it's rendering in the reading pane. If I use View Source, the underlying data seems fine and the whole message is there. I've tried the following: Deleting and re-creating the user's mail profile Uninstalling & re-installing Office Creating a new Windows account & connecting Outlook to a different Exchange account than the one that originally exhibited the problem Checked for Windows updates Checked for Office updates Any ideas what might be causing this? I feel like I've tried everything obvious & I'm striking out on Google.", "Why: a relative adverb, a conjunction ... or both? I am not familiar with the idea that an adverb can function as a conjunction at the same time. Here are a couple of sentences that are confusing me. This is the reason why she left him. ...and He was transferred to New York, where he was promoted to a higher level. The why, where, when, and how seem to introduce a clause. Therefore, can they also be called conjunctions? If yes, would I be right in assuming that relative adverbs can function as conjunctions at the same time?", "Difference between JOIN and INNER JOIN Both these joins will give me the same results: SELECT * FROM table JOIN otherTable ON table.ID = otherTable.FK vs SELECT * FROM table INNER JOIN otherTable ON table.ID = otherTable.FK Is there any difference between the statements in performance or otherwise? Does it differ between different SQL implementations?", "How to change the order of the subcategory and category in a post? I guess it is something simple which I'm not able to see. Any help would be much appreciated. Best, M.", "Abnormal PREEMPTIVE_OS_AUTHENTICATIONOPS Waits", "What regular expression will match valid international phone numbers?", "Best way to remove an event handler in jQuery? I have an input type=\"image\". This acts like the cell notes in Microsoft Excel. If someone enters a number into the text box that this input-image is paired with, I setup an event handler for the input-image. Then when the user clicks the image, they get a little popup to add some notes to the data. My problem is that when a user enters a zero into the text box, I need to disable the input-image's event handler. I have tried the following, but to no avail. $('#myimage').click(function { return false; });" ]
medi_sts_stackexchange_dupe
Reputation is not showing in question page
User cards are no longer showing reputation or badges across the network
[ "What are the various physical mechanisms for energy transfer to the photon during blackbody emission?", "Given a recurrence relation: $$ x_{n+2} = px_{n+1} + qx_n + r $$ Find the general term $x_n$ given initial conditions $x_1 = a$ and $x_2 = b$, where $a,b,p,q,r$ are some given numbers, $n \\in \\mathbb N$. Since this is a non-homogeneous linear recurrence relation i've started with solving for $x_n^h$ which is a solution for homogeneous relation: $$ x_{n+2} - px_{n+1} - qx_n = 0 \\\\ \\lambda^2-p\\lambda - q = 0 $$ I'm assuming here that two distinct roots $\\lambda_{1,2}$ exist for this equation (single root case is handled similarly). So the general term is in the form: $$ x_n = C_1\\lambda_1^{n-1}+C_2\\lambda_2^{n-1} $$ With the initial condition it's possible to find the values for $C_1$ and $C_2$: $$ C_1 + C_2 = a \\\\ C_1\\lambda_1 + C_2\\lambda_2 = b $$ After solving the system of equation with respect to $C_1$ and $C_2$: $$ C_1 = \\frac{b-a\\lambda_2}{\\lambda_1 - \\lambda_2} \\\\ C_2 = \\frac{b-a\\lambda_1}{\\lambda_2 - \\lambda_1} \\\\ $$ Which eventually results in: $$ x_n^h = \\frac{(a\\lambda_2 - b)\\lambda_1^{n-1} - (a\\lambda_1-b)\\lambda_2^{n-1}}{\\lambda_2 - \\lambda_1} $$ Final solution consists of a sum of particular and homogeneous solutions, but that is where I got stuck. What is the way to find the particular solution for the given problem? I'm pretty new to such kind of problems so any details are very much appreciated. upd: Based on the technique in @rtybase answer here are my findings: $$ \\begin{align} x_1 &= a \\\\ x_2 &= b \\\\ x_3 &= pb - qa + r \\end{align} $$ Writing the system for $c_1, c_2, c_3$: $$ \\begin{align} a &= c_1 + c_2 + c_3 \\\\ b &= c_1\\lambda_1 + c_2\\lambda_2 + c_3 \\\\ pb+qa+r &= c_1\\lambda_1^2 + c_2\\lambda_2^2 + c_3 \\end{align} $$ Now solving for the coefficients gives a huge formula. The answer to this problem suggests that: $$ x_n = \\frac{(\\lambda_2(a+\\gamma) - b -\\gamma)\\lambda_1^{n-1} - (\\lambda_1(a + \\gamma) - (b-\\gamma))\\lambda_2^{n-1}}{\\lambda_2 - \\lambda_1} - \\gamma $$ Where: $$ \\gamma = \\frac{r}{p+q-1} $$ Unfortunately I was not able to arrive at exactly the same result, but testing my solution (not posting since it's monstrously big) using SameQ in Mathematica with the given answer shows that they are equivalent. Those transformations are not very obvious to me, so i skipped them since the answer matches the given one (yet the symbolic expressions are different)", "How can I echo a newline in a batch file? How can you you insert a newline from your batch file output? I want to do something like: echo hello\\nworld Which would output: hello world", "Frequency count of two column in R", "Selecting text in profile activity comments causes unexpected clipping", "I read recently that if you hold a bullet in one hand and a pistol in the other, both hands at the same height, and subsequently fired the pistol at the same time as dropping the bullet, both bullets would hit the ground at the same time (assuming the fired bullet encounters no obstacles). Is this true, and if so can you explain the reasoning behind it with as few equations as possible? I assume it is essentially that gravity is unaffected by momentum, but it just sounds counter-intuitive.", "When I run LaTeX file its gives error as \"! Package minted Error: You must have pygmentize installed to use this package\", you must have pygments installed. when I go through minted documentation minted itself required pygments, so Tex friend How do I install this pygment, I don't know the procedure to install. Please guid me or any link pygement.exe file", "There is a command l available on my machine which appears to do nothing. which l also produces no output. Is this a real command, and does it actually do anything?", "Best Place to put Feature Requests? The only place I am aware of is the .", "What is the use for non-inverting input resistance in a negative feedback opamp? Here in the Figure R5=50K. This resistor value is not in the equations to obtain output voltage, and in many tutorials non-inverting input is directly grounded without a resistor. What might be the reason to use it here?", "ClassNotFoundException: org.eclipse.jetty.util.component.AbstractLifeCycle running inside jetty", "Which prepositions are followed by accusative pronouns instead of reflexive pronouns? I have read answers to questions like but I couldn't find a general rule for using \"you\" or \"yourself\", \"him\" or \"himself\" that could explain things I see in some examples. For example, I think that one normally say (according to examples I see in ): You bring something with you. You have something in you. You have something on you. You pressed her to you. But on the other hand one would say: You draw attention to yourself. He killed himself. You can try it out for yourself. As a general rule, it seems that the reflexive pronoun is used when the object is the same as the subject of the verb. But for prepositional phrases, it seems more complicated. Do some prepositions (like \"with\", \"in\", \"on\") always come with the accusative form of the pronoun, and some other (like \"for\") don't? What about \"to\", that seems to be followed by both in different circumstances?", "I received $1000 and was asked to send it back. How was this scam meant to work? Possible Australianism - netbank = a website + app by which an Aussie can do their banking, including transferring money to other people. A while ago, I ended up with $1000 transferred into my account, which in the description looked like a netbank transfer, not like a cheque, cash deposit etc, and which looked like it had already cleared and landed in my account. Usually when something is still working through the bank's system it displays as 'pending', but did not in this case. I received a phone call from someone, saying that they had accidentally typed in the wrong account number, and wanting me to send them the same amount of money back via netbank. Surely bank account numbers have a checksum, which make it relatively difficult for a typo to result in a payment going to the wrong person? What are likely sources of them being able to find my phone number to call me? Obviously, the bank either being hacked, or giving it out in response to a query from this person (but surely the bank is unlikely to tell me my own mobile number if I claim to have forgotten it?). Presumably either my phone, or the phone of someone I have sent money to/received money from could be compromised. Has anyone heard of any instances of this happening? I then went to my bank, explained the situation and said that I did want to refund the money through the officially sanctioned methodology. After the laughter died down, the bank told me to ask the person to fill out a form, then they would get me to fill out a form that would authorize undoing that exact payment. I rang up the person to tell them this, and over the course of about a week received an increasingly elaborate story about how that wasn't working, they needed the money immediately, there was a fee to fill out that form and they couldn't afford to pay it etc. After that, I never heard back from them again. I check my netbank for several weeks after, expecting the money to magically disappear, but it did not. This was probably a year ago, and I'm pretty vague with money so may not have noticed if it disappeared more recently. How were they expecting to benefit? Were they hoping to get the transfer from me, and undo the transfer to me, to leave them $1k up? If so, how can an internet banking transfer be 'undone' once it has already shown as 'received'. Or was this to do with money laundering? The account they requested me to send money to was the same as the one that the money appeared to come from. This was a scam, right?", "sudo: /etc/sudoers is owned by uid 501, should be 0 To run programs as sudo without password, I edited /etc/sudoers with wrong content. Then I re-edited it with Mac's default text editor(course sudo cannot be used when /etc/sudoers is wrong). I tried to run sudo agin, and get this error: sudo: /etc/sudoers is owned by uid 501, should be 0 sudo: no valid sudoers sources found, quitting What should I do? I cannot remember the root password (maybe I haven't ever set root password before).", "How to deploy EJB based application on Tomcat", "Track next Socratic badge progress Just got the on StackOverflow and, since it can be awarded multiple times, wanted to start tracking progress to the next one, but, the badge is not shown in Available badges to track anymore: Is it possible to track already awarded badges that can be awarded multiple times?", "Does \"Going Infinite\" necessarily end the game?", "I am trying to recall the name of a story I read when I was fairly young (maybe 20 years ago, but not sure how old the story is). What I remember: A man acquires a set of creatures that he keeps in his house, I think in an aquarium. They evolve over time, quickly, and think of him as their benevolent god. They build statues in his likeness. Then, I believe some sort of accident happens, and the statues they build become a little less benevolent, which bothers him. This pattern continues on with his cruelty increasing and their depiction of him becoming more cruel.", "I'm giving training to a large group of people remotely and will be covering a number of application shortcut keys. I've seen 's on-screen display of keystrokes; is there a similar product for Windows? The other features of MousePose (fancy mouse pointers, etc.) aren't really useful to me, just the OSD of key presses.", "I was wondering if mobs can go through doors or not. It's the difference between me just putting up a door to my house, or putting up dirt instead." ]
medi_sts_stackexchange_dupe
when I stopped eating red meat for 3 months, I was iron deficient , since I didn't have enough veggies either or since I didn't had enough veggies?
proper usage of didn't had or didnt have
[ "Prove $\\frac{|a+b|}{1+|a+b|}<\\frac{|a|}{1+|a|}+\\frac{|b|}{1+|b|}$. Prove that for every $a, b\\in R\\setminus\\{0\\}$ is correct this inequality: $$\\frac{|a+b|}{1+|a+b|}&lt;\\frac{|a|}{1+|a|}+\\frac{|b|}{1+|b|}.$$", "Fact The intersection of a closed set $A$ and a compact set $B$ is closed. Background I wanted to prove that the intersection of closed and compact sets is compact. There might be other ways, but I am not interested in them for now and am looking to prove the above statement. Relevant Facts I don't have much idea what to use. $A^c$ is open. Every cover $\\cup_{i\\ge1}U_i$ of $B$ contains a subcover $\\cup_{i=1}^kU_i$. I might want to prove $A\\cap B^c$ is open. Limit points may be another points to consider but I don't get any idea in that direction. I also don't have that $B$ is closed otherwise it would be trivial. Some Clarification I am aware that compact sets are not closed in arbitrary topological spaces. The reason why I was motivated to believe tha intersection of closed and compact set is compact is true is: See Matt E.'s Answer So if $K$ is compact in an arbitrary topological space (which is just to say that it is a compact topological space when given its induced topology) and $L$ is closed then $K \\cap L$ is a closed subset of $K$ in its induced topology Is it true if $A$ and $B$ are not whole spaces? I would appreciate any hints.", "For some reason, I can run halt, poweroff, shutdown, and reboot as a regular user without root. How can I fix this? Is it something to do with user groups, or is it a seting somewhere?", "This is something I just realised I don't entirely know the answer to, so I'm going to ask it here as I think it's interesting. In most non-scientific writing on depth of field, diagrams generally show camera and subjects as being perfectly parallel, e.g. However, is this a more accurate representation of the focal plane? Are there ways to optically alter the shape of the focal plane? Note: Obviously these diagrams are two dimensional, but I'm assuming in the second diagram the shape would be spherical with the sensor at the center.", "Boats from Manaus, Brazil to Leticia, Colombia? I've heard of and met a few people who have done this route, and I hope to do it at the end of this year or early next year. However, the descriptions were mostly sketchy, and I'm wondering if it's a regularly scheduled service, or more ad-hoc. So I guess the question is, how can I find out which boats go from Manaus to Leticia, and when they go? Ideally this wouldn't be a tour, but a 'locals' boat.", "Get the equation of a circle when given 3 points", "Show that if terms of a series have ratio less than the ratio of convergent series, then the series converges We have two infinite series $\\sum a_n $ and $\\sum b_n$, such that $a_n &gt; 0,\\ b_n &gt; 0$ and $a_{n + 1}/a_n \\leq b_{n + 1}/b_n$ for all $n$. Show that if $\\sum b_n$ converges, then $\\sum a_n$ also converges. Any hints on how to prove this? I can sort of picture why this must be true, but I'm not sure how to prove this rigorously. I'm not sure using the ratio test would help here..", "How does one attack a two-time pad (i.e. one time pad with key reuse)? My question might appear the same as the question , but actually I did read all the answers and none of them helped me with the details I need. I am new to cryptography and my problem is with two time pad attacks on OTP. The problem I had in my course was that I have 10 ciphertexts encrypted with the same key $K$. I am then given another ciphertext that I should decrypt. I know that XOR-ing two ciphers gives me the XOR of their original messages. My question is what is the correct thing to do after that? I tried to take 3 ciphertexts $C_1, C_2$ and $C_3$. Then get $S_1 = C_1 \\oplus C_2 \\oplus $' ', also get $S_2 = C_1 \\oplus C_3 \\oplus$ ' '. After that I compared all corresponding characters in $S_1$ and $S_2$, and if $S_1[i] = S_2[i]$ then I calculate $S_1[i] \\oplus C_2[i]$ to get $K[i]$. I tried this on paper before coding and it worked, but I might be missing something. Is this the right approach? Why does it work?", "This question is related to \"The Last Jedi\": The maneuvre that vice admiral Holdo (with the purple hair) uses towards the end of the film seems remarkably effective. It seems that it would have worked pretty well much earlier. Especially as two other ships were just allowed to run out of fuel and be destroyed. It seems doing it earlier with different assets would have incurred less losses. Yet nobody seemed to consider it. Any in universe reason why?", "If $Ax = Bx$ for all $x \\in C^{n}$, then $A = B$. Let $A$ and $B$ are $n\\times n$ matrices and $x \\in C^{n}$. If $Ax = Bx$ for all $x$ then $A = B$. To prove this I have selected $x$ from Euclidean basis B = {$e_{1},e_{2},...,e_{n}$}. Then $Ae_{i} = Be_{i}$ implies $i^{th}$ column of A = $i^{th}$ column of B for all $1 \\leq i \\leq n$. Hence $A = B.$ Is this proof complete?", "Adjectives or compound noun?", "True or false: if $f'(c)<0$, then $f$ is concave down at $x=c$? How can I determine the following statement is true or false? If $f'(c)&lt;0$, then $f$ is concave down at $x=c$ ?", "How do I recover the default version of some configuration file? By accident, I messed up a configuration file. How do I recover the default version without reinstalling or affecting other things?", "Rising edge pulse detector from logic gates The circuits I describe are entirely made of 7400 series logic gates (7402, 7404 and 7408 ic). I'm trying to build a rising (positive) edge pulse detector using logic gates. The following circuit should work in theory: (see ) I do not expect the short output to be seen through a LED so, to test it, I make it trigger an SR latch to its up state: However, it doesn't have effect on the latch. So I added an inductor to delay the input to the NOT gates in the pulse detector circuit and it worked: But now I can see the short flashing output through a LED which I should not because it would mean it is too long to work with a circuit like that: Which intends to toggle the D Latch output on each clock rising edge (Note that this is a D Latch not a D Flip-flop) And anyway there is no place for inductors in integrated circuits so there must be a way to do this only with logic gates. Can someone solve this mystery? BTW It does not show in my schematics but I did put 10K pull-down resistors where there might be floating pins.", "Automatically hide old comments Comments are useful. Many, many posts need some small amount of meta discussion, and comments fulfill this need. Comments are also noisy and distracting. Occasionally, someone will post an insightful and informative comment that complements the post its attached to... But more often, they're tangential, quickly irrelevant and in the way: stale comments show up first, making newer comments less visible. The guidance here for a long time has been that comments are transient, . And yet, some do hang around for months or years because . So let's fix that. I propose that all comments older than 7 days be hidden by default unless the comment has been up-voted in the past 30 days. Hidden comments should be indicated by a note below the post (\"add / show 3 more comments\") and made visible to anyone who cares to click it. This doesn't destroy anything, but it would get it out of the way of most readers - and hopefully encourage folks to edit it into the actual answers as a result. Note: I previously suggested this . Other have been . However, I'm not suggesting that comments be automatically deleted, and they should be hidden based purely on the age / activity of the comment itself, not of the post to which they're attached.", "Looking at the following dataset: Date Visits Carts carts Orders Created converted Created 2011-11-11 12277 161 9 36 2011-11-12 11871 93 5 19 2011-11-13 13072 107 8 8 2011-11-14 13594 112 4 34 2011-11-15 12741 129 8 43 2011-11-16 15491 261 16 57 2011-11-17 13418 186 17 42 I've been asked to plot this on a graph, using the Date has the X-Axis and the rest of the data on the Y-Axis. The problem is that the scale of the data is dramatically different. where Visits are in the thousands and Orders Created are in the low tens, the data doesn't plot well on a graph. I was wondering what a statistician would do in this scenario, I could divide the the Visits by a 1000 and then put in the description (Visits (K)), but then I start to have the same problem with Carts Created, as they are in the hundreds and everything else is in the low tens. What kind of thing is done in this scenario?", "Collection of clopen sets form a base for a countable completely regular space I have $X$ as a countable, Tychonoff space, and I want to show that the collection of clopen subset of $X$ form a base for the topology on $X$. Can I first just define a base $\\mathscr{B}$ of X, let $x\\in X$ and $E \\subset X$ is closed such that $x\\notin E$. So $x\\in X-E$, which is open. I also noticed that the interval $[0,1]$ is uncountable. Can I define a function $f: X\\to [0,1]$, then f is onto. Do I need to show that $f$ continuous next?", "Not enough reputation - wanting to answer/comment I've seen a few questions I'd like to comment on or give a different answer, but seeing how I don't have 50 reputation (I've been a lurker for years, finally decided to participate) do I really need to ask a few questions before I can comment/answer other people's stuff? Or am I missing something here? Sorry if this has been answered before, but with a few search tries I couldn't find any similar stuff, even tried google just for \"50 reputation stackoverflow\" but that didn't give me anything either.", "My hypothesis is that $\\mathbb{R \\times R}$, the set of all pairs $(r_1, r_2)$, of real numbers is uncountable. I understand that the set of all pairs of natural numbers is countable. But could someone explain why the set of all pairs of real numbers uncountable? I am having trouble proving it using diagolization", "Why does \\cal{M}_n give “M>”?" ]
medi_sts_stackexchange_dupe
how to enable Create git repository on mac in Xcode exist Project
How do I migrate an SVN repository with history to a new Git repository?
[ "Where are the Stack Exchange data dumps?", "Union of connected subsets is connected if intersection is nonempty", "Identify a movie in which aliens believed a sci-fi TV show to be true documentary I remember watching a sci-fi movie in the early 00s. It was full of comedy. Here are the details I recalled: There was a space opera TV show in the movie. It seemed a true copy of Star Trek (they used to pilot a ship and there were captain, first officer, science officer etc on bridge). The name of the TV show was possibly the name of the movie. Once the main crew of the TV show were celebrating some achievement, they were approached by humans having weird behavior (they were actually aliens in disguise; in reality, they looked like octopus). The alien race was innocent. They couldn't comprehend the concept of art, lies etc. So, they believed that the TV show (they got the EM waves) was true historical documentary of mankind. So, they came looking for help from the brave captain of the show. From the TV show details, they had built a starship which really worked. The aliens needed the TV show crew to pilot the ship to defeat another alien race which terrorized them. The TV show crew didn't have any problems piloting the ship as the controls were familiar, only these controls were real. Can you please identify the movie?", "How did Bill and Percy get 12 OWLs? In Prisoner of Azkaban, Hermione took 12 subjects, and needed a Time-Turner to do so. However, it is mentioned in the series that both Bill and Percy Weasley got 12 OWLs, so would have taken 12 subjects as well, so both would have needed Time-Turners for three years to do this. Doesn't this seem a little unusual, given how strict the Ministry is over the use of Time-Turners, that they would give them to several Hogwarts students?", "Acro package provides \"! Missing number, treated as zero.\" after update to acro-v2.7b", "How to find and replace a string by increasing its numerical part? My input file is, ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55 ami54 ami32 Using a single command line I need the output as, ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33 I used the command awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile &gt; outputfile but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32 i.e. all strings are written in same line and without space. Could anyone suggext me some better command line.", "How important are headings in SEO I have a website that sells music artists posters. Each artists has a page containing a small bio, and a list of posters we are selling representing the artist. Currently our HTML looks like that &lt;h1&gt;{Artist name}&lt;/h1&gt; bio &lt;h2&gt;Posters&lt;/h2&gt; &lt;ul&gt; &lt;li class=\"poster\"&gt;...&lt;/li&gt; ... &lt;/ul&gt; We are redesigning this page, and we have a new template that we really like. Problem is that in this new version the &lt;h2&gt;Posters&lt;/h2&gt; does not appear anywhere on the page. As you might expect, a significant part of our traffic comes from people typing something like : \"{Artist name} poster\" on Google. I fear that, by removing the word \"poster\" from the page, we will reduce our chances of getting these people to come to the site, since Google might down rank us. I see several options here : Give Google a slightly altered page that contains the H2 tags. But I think this falls into the \"Black Hat SEO\" category. And I don't want that. Put the heading. Hide it with CSS. Everyone wins, including accessibility tools which can determine the structure of the page using the \"invisible\" heading. But I do not know if this is considered a good practice. Forget about the heading, and find other ways to tell Google that we really are about posters. (via keywords, but do they really have the same \"weight\" as an H2?) Adapt the design to our SEO need, and find a way to put that heading nicely. Are there webmasters out there that have been facing the same issue, how did you resolve it?", "How to hide TabPage from TabControl", "Do spellcasters know when a dismissable spell has been broken? Do spell casters know how long their spells are active, and can they tell at a glance? Specifically lets talk about , as I know its a permanent duration and dismissable. Does the spell caster who put someone under this spell know how long it is active? Could they tell automatically just by seeing the person (without any clues like them walking in a maze without difficulty or reacting to a sound)? So could they tell if someone has broken the spell they cast?", "Filling HTML dropdown list in JSP with values fetched from database in Servlet", "I need to rename a bunch of files in order to fix their sort order, therefore I need to be able to do a sort of \"find and replace\" so I can replace chunks of the filenames at a time. What tools should I use? I prefer GUI but a command line tool recommendation would also be fine.", "Why does James Bond use his real name? In the James Bond universe most characters go by a code name M, Q, the various 00s, In Skyfall Silva is a made up name. Others such as Tanner, Robinson and Moneypenny, Trevelyan we're not so sure but we've got no reason to believe they're real. However Bond uses his own name - we've even seen the grave of his parents to confirm this. Why does Bond use his real name and (as far as we know) no one else does?", "Why would Antimatter behave differently via Gravity?", "I need to refer to a model described elsewhere, from a section title, like \\section{Analysis of model X} One way of referring to a model is to create a new counter, and then write \\section{Analysis of \\cref{grandmodelofeverything}} But now hyperref will complain because of invalid token, and it does not look good in the TOC either, especially since the titles of the sections the describe the models are more descriptive than \\section{Model 1} They are currently like \\section{Adding the effect from Y processes} Do I need to invent semi-descriptive long names like \"The model by Authors with this modification\" or can I live with these quirks?", "I left myself signed in to my work Gmail account on my personal computer. I am not using Chrome. I had an internet session that was not suitable for work. At all. This included Google searches and YouTube searches. Will my employer be able to identify what I have been searching?", "Does a bad grade in one course (with otherwise OK record) affect graduate admissions?", "I've tried several things already, std::stringstream m; m.empty(); m.clear(); both of which don't work.", "What happens when a black hole dies? Does it just vanish into space leaving nothing behind or does it expel some material? Also, talking more about black holes, as far as I understand the term \"temperature\", it is defined by the amount of kinetic energy of the particles of a body and from what I have read, there are no particles inside a black hole, I know that you can find the temperature of a black hole by analyzing its Hawking radiation but I cant really understand how the term \"temperature\" can be applied to a black hole. Does it mean that whatever is that it is inside a black hole has kinetic energy? Have physicist already experienced the death of any regular black hole (by regular I mean space-sized black holes not micro ones created in labs)? Also, where is the Hawking radiation form? Because if it is released by the black hole I bet it must have formed outside the event horizon, but how exactly?", "I'm batch processing a folder of image to a uniform width with GraphicsMagick (though I assume the same would apply to ImageMagick): $ gm convert -resize 1000x in.jpg out.jpg But when I inspect some of the images, I get 999px instead of 1000px. $ gm identify -verbose out.jpg ==&gt; Image: out.jpg ==&gt; Format: JPEG (Joint Photographic Experts Group JFIF format ==&gt; Geometry: 999x591 Is there a way to enforce the right width? I assume it's doing some estimation to preserve aspect ratios.", "How to graphically represent a language" ]
medi_sts_stackexchange_dupe
$\mathcal{C}$ is an algebra
Proving that the set of $\nu$ measurable sets $M\subseteq P(X)$ is an algebra
[ "Let $f$ be defined on $\\mathbb{R}$ by $f(x) = e^{-1/x^2}$ for $x$ not equal to $0$. and $f(0)= 0$. Prove that $f^{(n)}(0)=0$ for all $n = 1, 2,3$ ... Do I need to use Taylor expansion from calculus class? Any hint would be appreciated.", "How do you determine what technology a website is built on? Quite often I come across a nice looking or functional website, and wonder what technology was used to create it. What techniques are available to figure out what a particular website was built with? Few frameworks seem to include any kind of generator meta tag like web editors do. Are there any tell-tale signs of particular languages and/or frameworks? Summary of answers Site URLs may betray the framework and/or programming language but cannot be relied upon (e.g. file extensions such as .asp). HTTP response headers, cookies, stylesheets and source comments may also give clues. Some nice tools for querying site details (no doubt there are many more): Firefox addons: - CMS, frameworks/libraries, e-commerce, message boards etc. - IP, country and webserver details - Javascript libraries in use Chrome Extensions: Bookmarklets: - shows Javascript framework in use", "nginx support for .htaccess / rewrite rules? Differences from Apache?", "Recover data from hard drive with partitions (but not most data) overwritten I have a 500GB hard drive I've been keeping around to recover data from that I removed from a failing NAS drive that got sort of... erratic at the end. I finally got rid of the NAS when during a firmware update it removed the partition table. Fast forward to a week ago, when I was building a new PC, and a mixup resulted in me placing the hard drive in question in the new PC and installing Windows XP on the first 100GB. I'm presuming any data on that first 100GB is now gone, but for the rest of it, is there any way I can recover it at home, as professional data recovery is currently too expensive? I have a blank 1TB HDD if I can store any images of that hard drive on. The problem was definitely with the NAS and not the hard drive, as the hard drive had a successful install of Windows when mistakenly place in the new PC, and there were capacitors in the NAS's circuitry clearly broken. The data I want to recover (in order of priority) is: High: Some jpgs of family photos. Medium: Some RAW files. (There are also jpg versions of all of these) Low: Some mp3s, avis and ISOs, I can re-rip most of these if need be, but it'd be handy not to have to. (I don't need a backup lecture, and if you can hold it in from nagging Jeff Atwood for it, you can hold it in from nagging me for it) In short: The partition tables are gone and overwritten. The data is not overwritten, except for an amount equal to the size of a Windows XP SP3 installation.", "How do I use formatting in comments? I see some people write comments that are for example - in italics. I do not see any way of doing that while writing my comments. Why is it so?", "\"Always on top\" option missing for Firefox/Chrome in 18.04", "table side by side with minipage I can't manage to get two tables side by side in a minipage environment. Any kind suggestion would be highly appreciated! \\documentclass{article} \\usepackage{array} \\begin{document} \\begin{table}[htbp] \\centering \\begin{minipage}{.2\\textwidth} \\begin{tabular}{| m{3cm} | m{4.3cm} | c |} \\hline number of entity filter (size 1) &amp; number of context filters (size 2, size 3, size 4) &amp; Accuracy\\\\ [2ex] \\hline 32 &amp; 32 , 32 , 32 &amp; 0.835 \\\\[0.5ex] \\hline 32 &amp; 64 , 64 , 64 &amp; 0.821 \\\\[0.5ex] \\hline 32 &amp; 128 , 128 , 128 &amp; 0.819 \\\\[0.5ex] \\hline 32 &amp; 256 , 256 , 256 &amp; 0.749 \\\\[0.5ex] \\hline 32 &amp; 512 , 512 , 512 &amp; 0.683 \\\\[0.5ex] \\hline 32 &amp; 1024 , 1024 , 1024 &amp; 0.528 \\\\[0.5ex] \\hline 32 &amp; 2048 , 2048 , 2048 &amp; 0.235 \\\\[0.5ex] \\hline 64 &amp; 32 , 32 , 32 &amp; 0.850 \\\\[0.5ex] \\hline 64 &amp; 64 , 64 , 64 &amp; 0.816 \\\\[0.5ex] \\hline 64 &amp; 128 , 128 , 128 &amp; 0.786 \\\\[0.5ex] \\hline 64 &amp; 256 , 256 , 256 &amp; 0.795 \\\\[0.5ex] \\hline 64 &amp; 512 , 512 , 512 &amp; 0.765 \\\\[0.5ex] \\hline 64 &amp; 1024 , 1024 , 1024 &amp; 0.669 \\\\[0.5ex] \\hline 64 &amp; 2048 , 2048 , 2048 &amp; 0.331 \\\\[0.5ex] \\hline 128 &amp; 32 , 32 , 32 &amp; 0.920 \\\\[0.5ex] \\hline 128 &amp; 64 , 64 , 64 &amp; 0.890 \\\\[0.5ex] \\hline 128 &amp; 128 , 128 , 128 &amp; 0.886 \\\\[0.5ex] \\hline 128 &amp; 256 , 256 , 256 &amp; 0.846 \\\\[0.5ex] \\hline 128 &amp; 512 , 512 , 512 &amp; 0.789 \\\\[0.5ex] \\hline 128 &amp; 1024 , 1024 , 1024 &amp; 0.755 \\\\[0.5ex] \\hline 128 &amp; 2048 , 2048 , 2048 &amp; 0.488 \\\\[0.5ex] \\hline 256 &amp; 32 , 32 , 32 &amp; 0.920 \\\\[0.5ex] \\hline 256 &amp; 64 , 64 , 64 &amp; 0.922 \\\\[0.5ex] \\hline 256 &amp; 128 , 128 , 128 &amp; 0.912 \\\\[0.5ex] \\hline 256 &amp; 256 , 256 , 256 &amp; 0.877 \\\\[0.5ex] \\hline 256 &amp; 512 , 512 , 512 &amp; 0.872 \\\\[0.5ex] \\hline 256 &amp; 1024 , 1024 , 1024 &amp; 0.771 \\\\[0.5ex] \\hline 256 &amp; 2048 , 2048 , 2048 &amp; 0.683 \\\\[0.5ex] \\hline \\end{tabular} \\end{minipage}% \\hfill \\begin{minipage}{.2\\textwidth} \\begin{tabular}{| m{3cm} | m{4.3cm} | c |} \\hline number of entity filter (size 1) &amp; number of context filters (size 2, size 3, size4) &amp; Accuracy\\\\ [2ex] \\hline 512 &amp; 32 , 32 , 32 &amp; 0.910 \\\\[0.5ex] \\hline 512 &amp; 64 , 64 , 64 &amp; 0.922 \\\\[0.5ex] \\hline 512 &amp; 128 , 128 , 128 &amp; 0.909 \\\\[0.5ex] \\hline 512 &amp; 256 , 256 , 256 &amp; 0.910 \\\\[0.5ex] \\hline 512 &amp; 512 , 512 , 512 &amp; 0.883 \\\\[0.5ex] \\hline 512 &amp; 1024 , 1024 , 1024 &amp; 0.730 \\\\[0.5ex] \\hline 512 &amp; 2048 , 2048 , 2048 &amp; 0.682 \\\\[0.5ex] \\hline 1024 &amp; 32 , 32 , 32 &amp; 0.925 \\\\[0.5ex] \\hline 1024 &amp; 64 , 64 , 64 &amp; 0.931 \\\\[0.5ex] \\hline 1024 &amp; 128 , 128 , 128 &amp; 0.920 \\\\[0.5ex] \\hline 1024 &amp; 256 , 256 , 256 &amp; 0.917 \\\\[0.5ex] \\hline 1024 &amp; 512 , 512 , 512 &amp; 0.899 \\\\[0.5ex] \\hline 1024 &amp; 1024 , 1024 , 1024 &amp; 0.858 \\\\[0.5ex] \\hline 1024 &amp; 2048 , 2048 , 2048 &amp; 0.776 \\\\[0.5ex] \\hline 2048 &amp; 32 , 32 , 32 &amp; 0.933 \\\\[0.5ex] \\hline 2048 &amp; 64 , 64 , 64 &amp; 0.934 \\\\[0.5ex] \\hline 2048 &amp; 128 , 128 , 128 &amp; 0.925 \\\\[0.5ex] \\hline 2048 &amp; 256 , 256 , 256 &amp; 0.928 \\\\[0.5ex] \\hline 2048 &amp; 512 , 512 , 512 &amp; 0.907 \\\\[0.5ex] \\hline 2048 &amp; 1024 , 1024 , 1024 &amp; 0.878 \\\\[0.5ex] \\hline 2048 &amp; 2048 , 2048 , 2048 &amp; 0.798 \\\\[0.5ex] \\hline \\hline \\end{tabular} \\end{minipage} \\caption{filter window size} \\label{tab:config_filternum} \\end{table} \\end{document} What I have so far EDIT: I followed the second solution from , and it somehow didn't work. I am not sure why.", "I made a script that should notify me when there's a new chapter of manga that I'm reading. I used the command notify-send to do this. The program works when I am trying to run it in terminal. The notification is showing. However, when I placed this in my crontab, the notification doesn't show. I'm pretty sure that the program is running since I made it to create a file for me. The file was created, but the notification didn't show. Here's my script #!/bin/bash #One Piece Manga reminder #I created a file named .newop that contains the latest chapter. let new=$(cat ~/.newop) wget --read-timeout=30 -t20 -O .opreminder.txt http://www.mangareader.net/103/one-piece.html if (( $(cat .opreminder.txt | grep \"One Piece $new\" | wc -l) &gt;=1 )) then (( new+=1 )) echo $new echo $new &gt; ~/.newop notify-send \"A new chapter of One Piece was released.\" else notify-send \"No new chapter for One Piece.\" notify-send \"The latest chapter is still $new.\" fi exit And here's what I wrote in my crontab 0,15,30,45 12-23 * * 3 /home/jchester/bin/opreminder.sh", "Motivation behind standard deviation?", "Adjusting font size with TikZ picture Taking from the PGF manual, \\begin{tikzpicture} \\draw [help lines] (0,0) grid (3,3); \\coordinate (a) at (rnd,rnd); \\coordinate (b) at (3-rnd,3-rnd); \\draw (a) -- (b); \\node (c) at (1,2) {x}; \\draw let \\p1 = ($ (a)!(c)!(b) - (c) $), \\n1 = {veclen(\\x1,\\y1)} in circle [at=(c), radius=\\n1]; \\end{tikzpicture} I'd like to increase the size of x. The problem is that I have multiple circles in the same diagram. Some of them require a larger sized font, while others are okay at default. How do I do this?", "How did \"When\" become the customary answer to \"say when\"? When a waiter at a restaurant comes by with pepper or Parmesan cheese, he says, \"say when\" and starts putting it on your food. Many people will say \"OK\" or \"that's enough,\" but it seems that the customary answer is \"when\". How did this become the customary answer? Did everyone decide to make the exact same joke, until it became commonplace. I thought it was funny when I was a kid, but even now as an adult, I still say it. For evidence that this is indeed commonplace, see . The answer \"when\" is used and is external to the joke of the strip. But even so, I'm curious as to just how commonplace this really is. I see it a lot in the US. Is it used elsewhere in the world? (by the way, I'm new to asking questions on this site, and I have no idea what tags to put on this question)", "What is the significance of a mostly blank user card?", "Can I submit/ArXiv without my advisor? I am being blocked from publishing my work I joined a research group of a faculty member in 201x, and worked with her for three years. During that time, I collaborated with a large hospital to perform research in the domain of medical informatics. I spoke about my research at two conferences; one was a talk, and the other was a poster presentation. My advisor asked me to write up the research in a paper around the second year, which I did. Around the third year, I decided to switch research groups, because of the relationship between me and my advisor going sour, and not having funding from her (I used to work part-time to fund my PhD research). Once this happened, she withdrew her support from me publishing my paper and ordered that I give up my work to a fellow grad student. I told her, that my manuscript is in its Nth revision, and that I would like to take it to completion as first author. She was dismissive and didn’t offer any comments on my work. I told her, that, should I pass on my work, I would like to discuss authorship issues in advance, which she wasn’t ready to discuss. She ganged up my new advisor against me, and together they forced me to give up my code, results, paper drafts. I had to then leave the university without a degree. Fast forward couple of years, I receive an email from a student in her lab (the student whom I had to hand over my work to), saying that they are publishing a paper, and have decided I am the fourth author. I read the paper and found out that it uses my experimental setup and design, data collection, and one of the ideas I had presented (the idea wasn’t the main crux of my paper, but I believe it was novel). I want to Publish my original draft in ArXiv/BioArXiv, as first author. Request my advisor to cite my work in their publication. Given how she behaved with me, I know that despite what I am asking for sounds fair, she is likely to object. I am asking the community: Can I go ahead and ArXiv it without her permission? I could add her as an author, but not take her permission. Also, if you have any other ideas on how to deal with this situation please let me know. (For the record, this was at a top-10 school in the US in an engineering department).", "Can a website know about my browsing history? When I visit a website it sometimes puts cookies on my browser. Usually cookies keep track of browsing info from that particular site. If I don't delete those cookies and browse other websites, will the cookies be able to know which site I am browsing? Also, can any website read browsing history which is saved by browsers? Can any website know about my browsing history by help of cookies, browsing histories saved by browsers, or by any scripting language e.g. javascript?", "Using the properties of real numbers, verify commutativity on complex numbers. I have just started self-studying Linear Algebra after a 3 year hiatus from mathematics (in an extended neuroscience foray), and I want to ensure that I am sufficiently verifying commutativity of complex numbers by using the properties of real numbers. My attempts... (1) Commutativity of Addition: Verify that $w + z = z + w$ for all $w, z \\in \\mathbb{C}$. $$w + z = (a + bi) + (c + di) \\hspace{10mm}\\text{by definition of }\\mathbb{C}$$ $$\\hspace{13mm} = a + (bi + c) + di \\hspace{10mm}\\text{by associativity in }\\mathbb{R}$$ $$\\hspace{17mm} = a + (c + bi) + di \\hspace{10mm}\\text{by commutativity in }\\mathbb{R}$$ $$\\hspace{16mm} = (a + c) + (bi + di) \\hspace{10mm}\\text{by associativity in }\\mathbb{R}$$ $$\\hspace{19mm} = (c + a) + (di + bi) \\hspace{10mm}\\text{by commutativity in }\\mathbb{R}$$ $$\\hspace{13mm} = c + (a + di) + bi \\hspace{10mm}\\text{by associativity in }\\mathbb{R}$$ $$\\hspace{17mm} = c + (di + a) + bi \\hspace{10mm}\\text{by commutativity in }\\mathbb{R}$$ $$\\hspace{17mm} = (c + di) + (a + bi) \\hspace{11mm}\\text{by associativity in }\\mathbb{R}$$ $$\\hspace{13mm} = z + w \\hspace{34mm}\\text{by definition of }\\mathbb{C}$$ $$\\blacksquare$$ This seems a bit verbose to me - is it acceptable to combine steps? For example, rather than: $$w + z = (a + bi) + (c + di) \\hspace{10mm}\\text{by definition of }\\mathbb{C}$$ $$\\hspace{13mm} = a + (bi + c) + di \\hspace{10mm}\\text{by associativity in }\\mathbb{R}$$ $$\\hspace{17mm} = a + (c + bi) + di \\hspace{10mm}\\text{by commutativity in }\\mathbb{R}$$ can I instead write: $$w + z = (a + bi) + (c + di) \\hspace{10mm}\\text{by definition of }\\mathbb{C}$$ $$\\hspace{48mm} = a + (c + bi) + di \\hspace{10mm}\\text{by associativity and commutativity in }\\mathbb{R}$$? (2) Commutativity of Multiplication: Verify that $wz = zw$ for all $w, z \\in \\mathbb{C}$. $$\\hspace{-14mm}wz = (a + bi)(c + di) \\hspace{24mm}\\text{by definition of }\\mathbb{C}$$ $$\\hspace{4mm} = a \\cdot c + a \\cdot di + bi \\cdot c + bi \\cdot di \\hspace{10mm}\\text{by distribution in }\\mathbb{R}$$ $$\\hspace{9mm} = a \\cdot c + bi \\cdot c + a \\cdot di + bi \\cdot di \\hspace{10mm}\\text{by commutativity in }\\mathbb{R}$$ $$\\hspace{35mm} = c \\cdot a + c \\cdot bi + di \\cdot a + di \\cdot bi \\hspace{10mm}\\text{by multiplicative commutativity in }\\mathbb{R}$$ $$\\hspace{1mm} = c(a + bi) + di(a + bi) \\hspace{20mm}\\text{by distribution in }\\mathbb{R}$$ $$\\hspace{5mm} = (c + di)(a + bi)\\hspace{34mm}\\text{by distribution in }\\mathbb{R}$$ $$\\hspace{4mm} = zw \\hspace{55mm}\\text{by distribution in }\\mathbb{R}$$ $$\\blacksquare$$ This also seems a bit wonky to me. Any and all suggestions on clearing up my verification, reasoning, etc. would be greatly appreciated!", "Adding execute permission in opt folder I am trying to install oracle database in Ubuntu 16.04 LTS. I had unzipped the oracle database file in opt folder,but now when I am trying to give execute right to the sqldeveloper file using chmod +x sqldeveloper.sh, it's throwing this error: chmod: changing permissions of 'sqldeveloper.sh': Operation not permitted", "In my project requirement to access table data from Mapd Database on GeoServer Mapd(GPU Based database) Database documentation link: But in GeoServer provided some extension to connect and access particular database GeoServer Extension link: How can I connect MapD databse with geoserver is there any plugin.", "Javascript add js libraries by code", "Donating winning lottery ticket to 501(c)3 Private Foundation: cost-basis deduction + full tax free redemption for foundation?", "What happens with the appearance of the folder icons in dark mode of macOS Mojave Finder? In High Sierra I used some custom icons for my folders in the Finder; but with the new update to Mojave and the dark mode, the predefined icons also become darker. However the custom icons don't. Inspecting an element you find a dark preview, but when you extract the icon this is the clear, the same as there was in High Sierra. E.g.: Previously visualization of the developer predefined icon. It's dark: But if you extract that icon, it's clear: There are no dark icons in the system library, at least not in the same directory as always: /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources Are they being actively obscured by the operative system without there being icons with that real appearance? In this case, any idea to apply this method to the custom icons without modifying it into a new coloration?" ]
medi_sts_stackexchange_dupe
Setting LD_LIBRARY_PATH causes terminal app to not open
Cannot set LD_LIBRARY_PATH in /etc/profile.d
[ "What is the cause of this sudden drop in CV queue size? At Sat, 30 Nov 2013 14:51:01 GMT, there was a sudden drop in the close votes review queue size from 98932 to 98314. This is about 600 questions over the course of one minute. It doesn't seem like a routine cleanup script. If it was, this is a very odd time for it to run. Also, the drop occurred over the span of a minute, so it's highly unlikely there was simply increased review activity. So, I ask: What was its cause? (yes please don't shoot me I know my freehand circle is blue) (it's actually a dark teal look again) (the source for this script I (slightly modified), found through post) Raw data: Epoch time CV Size 1385822821 98932 1385822881 98932 1385822941 98932 1385823001 98932 *** 1385823061 98932 *** 1385823121 98314 [author's note: the difference between iterations is 60 seconds] 1385823181 98314 1385823241 98314 1385823301 98314 1385823361 98314", "We don't get much snow in the UK, so I don't have much experience photographing it, and when I tried photographing falling snow last year I found it very hard to capture the snowflakes in the air — they either didn't show up or were just streaks. Is there a shutter speed that is best for this? I don't want to use flash to do so. Any other snow photography tips welcome from those in snowier places!", "What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final?", "How to change the href for a hyperlink using jQuery How can you change the href for a hyperlink using jQuery?", "What is the optimum button size of touch screen applications? There was a not so recent blog post about the ideal button size of touch screen control sizes (sorry there is no link, the website is now a spam trap) that was based on the form the MIT touch lab that gives some measures of the size and sensitivity of the finger. If found that averages for finger pads are between 10–14mm and fingertips are 8–10mm. This would make 10mm x 10mm a good minimum touch target size. As the author of the blog pointed out, this ideal contact size is much larger than the suggested size for Windows and Apple devices that is in their design guides. I am wondering why there is such a difference, and whether it makes more sense to increase the size of controls on touch screen applications, or if this is not really a usability issue at all? Also, it seems that many mobile websites and apps seem to completely ignore these principles. I am sure the screen size poses a limitation to how big the interface controls can be, so is this simply a trade-off between being able to fit in as much information versus how easy it is to interact with the control? It feels as if the stylus is not something that is in much use. A similar question has been raised on the minimum/smallest size that you can get away with, but I would consider this to be a different question to what the optimum size should be, because the smallest size accommodates the minimum usability requirement, whereas the optimum size caters for the best usability requirement. Archived link of the blog (original domain shows spam) And here is another reference it to (just to show that it is not the problem with the link but the website () UPDATE #1: another new reference that has a very precise figure of a minimum of 44 x 44 points, not sure how it is derived exactly but interesting (). Read Section 2. Provide Large Clickable Elementss. UPDATE #2: another reference, this time from citing touch target size to 9 mm square or greater (48x48 pixels on a 135 PPI display at a 1.0x scaling plateau). They also suggest avoid using touch targets that are less than 7 mm square. UPDATE #3: something from the that I referenced recently citing 44 x 44 points. UPDATE #4: NN/g has published an article on and the information/conclusion remains unchanged. UPDATE #5 A really nice write-up on the need to enhance the of common UI elements, citing the that the &quot;minimum target size for touch or mouse should be 44×44 pixel&quot; (2.5.5 - Target Size - Level AAA).", "Can a Mac be used by different users at the same time? I mean to say that we have a single Mac but 3 users. Can they access the same machine remotely at the same time for developing applications on iPhone or Mac? Does Mac OS X server allow us to do this? If so, how do I configure it for that?", "While I basically understand what a determinant is, I wonder how this idea was developed? What was the principal idea behind its origination? I would like to know this so that I can have a better conceptualization of the determinant.", "How to solve \"permission denied\" when using sudo with redirection in Bash?", "How to get current CPU and RAM usage in Python? What's your preferred way of getting current system status (current CPU, RAM, free disk space, etc.) in Python? Bonus points for *nix and Windows platforms. There seems to be a few possible ways of extracting that from my search: Using a library such as (that currently seems not actively developed and not supported on multiple platform) or something like (again no activity since 2007 it seems and no support for Windows). Using platform specific code such as using a os.popen(\"ps\") or similar for the *nix systems and MEMORYSTATUS in ctypes.windll.kernel32 (see ) for the Windows platform. One could put a Python class together with all those code snippets. It's not that those methods are bad but is there already a well-supported, multi-platform way of doing the same thing?", "Error while running Quickly", "I am doing some forecasting in R using Rob Hyndman's forecast package. The paper belonging to the package can be found . In the paper, after explaining the automatic forecasting algorithms, the authors implement the algorithms on the same data set. However, after estimating both an exponential smoothing and ARIMA model they make a statement I do no understand (on page 17): Note that the information criteria are not comparable. I thought that an advantage of using AIC for model selection is that we can compare AIC values from different models, as long as they are estimated using the same data set. Is this incorrect? This matter is of particular interest to me, as I was planning on combining forecasts from different model classes (e.g. exponential smoothing and ARIMA) using so called Akaike weights (see Burnham and Anderson, 2002, for discussion on Akaike weights) References Burnham, K. P., &amp; Anderson, D. R. (2002). Model selection and multi-model inference: a practical information-theoretic approach. Springer Verlag.", "Should I use \"who\" or \"which\" when referring to a specific animal species? I'd like to know what option to use, specifically when referring to a species by its scientific name.", "dollar-terminated strings In my assembly language class, our first assignment was to write a program to print out a simple dollar-terminated string in DOS. It looked something like this: BITS 32 global _main section .data msg db \"Hello, world!\", 13, 10, ’$’ section .text _main: mov ah, 9 mov edx, msg int 21h ret As I understand it, the $ sign serves to terminate the sting like null does in C. But what do I do if I want to put a dollar sign in the string (like I want to print out \"it costs $30\")? This seems like a simple question, but my professor didn't know the answer and I don't seem to find it using a google search.", "Near-universally applicable alternative to \"sanity check\" The phrase \"sanity check\" is as it implies that there is something wrong with people who have mental illnesses and the word \"sanity\" has been used to discriminate against such people. Therefore, it should should be avoided. What is a better alternative in the context of software? Example usage: _: if this is not what it should be, we have memory corruption (a fatal error) and should terminate the program.", "Clipping raster with vector boundaries using QGIS In QGIS I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the Geoprocessing tools seem to be usable only for vector data. How can I clip this precipitation layer?", "Importing Nodes to D7 with all custom fields I've got a Drupal site with an obscene about of content that has been given to me in CSV format. I'm toying with the idea of building a module to let me do this but if there's one already out there that I can use to just get this site out of the way that would be awesome. My question is: Is there anything out there that allows you to import a CSV file into D7 that will populate the node table and all the custom fields tables as well? Thanks.", "Limit of derivative is zero. Does it imply a limit for f(x)?", "How to create Mist in Blender I already tried several ways to create Mist in Blender, but it never worked 100%. I use Blender 2.78 and I want to create Mist like in this scene here. What are the exact steps? Here is what I have tried so far: I already tried this: but it simply did not work .. I dont know why. (EDIT: I managed to fix it: Check out this graphic: Until now I already used objects successfully as Mist-creators (Volume Scatter under Volume Material). The bad thing about using Objects as Mist-creator is that they dont have an endless mist range + the mist can not be bright. Normally it appears grayish result is bad.. Check it out Please help", "When a 'blur' event occurs, how can I find out which element focus went *to*? Suppose I attach an blur function to an HTML input box like this: &lt;input id=\"myInput\" onblur=\"function() { ... }\"&gt;&lt;/input&gt; Is there a way to get the ID of the element which caused the blur event to fire (the element which was clicked) inside the function? How? For example, suppose I have a span like this: &lt;span id=\"mySpan\"&gt;Hello World&lt;/span&gt; If I click the span right after the input element has focus, the input element will lose its focus. How does the function know that it was mySpan that was clicked? PS: If the onclick event of the span would occur before the onblur event of the input element my problem would be solved, because I could set some status value indicating a specific element had been clicked. PPS: The background of this problem is that I want to trigger an AJAX autocompleter control externally (from a clickable element) to show its suggestions, without the suggestions disappearing immediately because of the blur event on the input element. So I want to check in the blur function if one specific element has been clicked, and if so, ignore the blur event.", "How to sort strings in JavaScript I have a list of objects I wish to sort based on a field attr of type string. I tried using - list.sort(function (a, b) { return a.attr - b.attr }) but found that - doesn't appear to work with strings in JavaScript. How can I sort a list of objects based on an attribute with type string?" ]
medi_sts_stackexchange_dupe
Autodetect spell-checker language in Chrome using custom rules?
Have Chrome autodetect language before spelling checking?
[ "Are Fidelius charms stackable?", "Should I use UUID as well as ID", "Are global variables bad?", "First time using bevel tool, doesn't bevel evenly. What am i doing wrong? First off I'll let you know I'm a total noob at blender I've used 3ds Max up until this point, but the company I'm working for at the moment needs me to use blender so I'm trying to make the transition over. Literally all I'm making at the moment is a simple book and cannot understand how the bevel tool isn't working similar to how the chamfer tool would in 3ds Max. I want a nice curved edge for the spine of the book however when I press control + B and try to bevel it bevels the edge unevenly with the new bevel pushing forward. Is there a way I can get it to bevel evenly like it does in Max?", "Biblatex/biber fails with a strange error about missing recode_data.xml file I'm trying to use biblatex and when I compile my document I get an error like the following: Windows data source C:\\Users\\&lt;username&gt;\\AppData\\Local\\Temp\\par-5061756c\\ cache-890efc00b3ca6b775c7d44a325c1349fb2a3a3bd\\inc\\lib/Biber/LaTeX/recode_data.xml not found in . Mac data source /var/folders/v2/rld0ls7d2935gkvqv5hfr1x00000gn/T/par-616c616e/ cache-cdd483146f82a9655ce063f848d5139480fbf872/inc/lib/Biber/LaTeX/recode_data.xml not found in . Linux data source /tmp/par-6963617269756d/cache-f37ab610b7d79b2720a8ee3732849c6821705520 /inc/lib/Biber/LaTeX/recode_data.xml not found in .", "There's something funky about some titles in revision histories here on Meta Stack Exchange", "Error on Ubuntu boot up - \"recovering journal\" Trying to figure out what this means: I got into the GRUB menu, chose Advanced Options, boot in recovery mode, login as root, and I did: root@xps:~# sudo fsck -f / fsck from util-linux 2.27.1 e2fsck 1.42.13 (17-May-2015) /dev/nvme0n1p2 is mounted. e2fsck: Cannot continue, aborting. Coincidentally, I am also seeing this fuzzy rainbow thing on the outside of desktop windows: But now the machine won't even boot up at all.", "Potentiometer for two 12V/1.1A fans in parallel", "Intermediate fields between $\\mathbb{Z}_2 (\\sqrt{x},\\sqrt{y})$ and $\\mathbb{Z}_2 (x,y)$", "The propagation of electric field", "Prove that if $ f\\mathrm{(}z\\mathrm{)} $ is analytic at the infinity ,then : $ {\\lim}_{{z}\\mathrm{\\rightarrow}\\mathrm{\\infty}}{f}\\prime{\\mathrm{(}}{z}{\\mathrm{)}}\\mathrm{{=}}{0} $", "I have a problem with the endfloat package and unicode characters. When I compile the following, everything works as expected: \\documentclass{article} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{graphicx} \\begin{document} \\begin{figure} \\caption{Ö} \\end{figure} \\end{document} However, when I also load the endfloat package (\\usepackage{endfloat}), I get the following error message: ! Package inputenc Error: Unicode char \\u8:ÖÖ not set up for use with LaTeX. This could be a bug, but my suspicion is that I'm making a mistake somewhere. I'm hardly the first person to use special characters with the endfloat package. However, the above example is so simple, I don't see where I could have made a mistake. Any advice is appreciated. Edit: The file is of course encoded using utf-8.", "Can $n!$ be a perfect square when $n$ is an integer greater than $1$? Can $n!$ be a perfect square when $n$ is an integer greater than $1$? Clearly, when $n$ is prime, $n!$ is not a perfect square because the exponent of $n$ in $n!$ is $1$. The same goes when $n-1$ is prime, by considering the exponent of $n-1$. What is the answer for a general value of $n$? (And is it possible, to prove without Bertrand's postulate. Because Bertrands postulate is quite a strong result.)", "Tracking email bounces, opens, clicks", "Two Answers, One Question Sometimes, when I answer a question on Stack Overflow, I have two different answers that are equally valid. This happens most when answering architectural questions where there are many valid ways to solve a problem. Is it better to put each alternative into a single answer, or put each alternative in its own answer? Posted each alternative separately will allow the voting system to float the best answer to the top, but I don't want to be accused of rep whoring by \"flooding\" a question with answers. What's your opinion? One or two answers?", "Is there any Stack Exchange site where I can ask others to recommend me good web sites for solving specific problems? For example I would like to know if there is any URL shortening website that can allow me to define the url. For example instead of http://bit.ly/1gX2dD0 I would like it to be http://bit.ly/superflow - if \"superflow\" is not available then I will invent another word. I can imagine that such services are paid but I don't need the link to last more than one day, and maybe there is such a website.", "Inequality similar to the Schwarz-Pick theorem", "Conjugate class in the dihedral group", "The question is based on my theory from the recent manga chapter (Naruto 661): Sasuke, when stabbed by Madara is the effect of Tsukuyomi from Sasuke. Now, to prove my theory, is there an episode in manga/anime that Sasuke used Tsukuyomi?", "Block error on CMI I have two identical sites on Drupal 8 (A and B), on (A) I created a custom block(block/add), and then I export the configuration(drush config-export) and import this config on (B) (drush config-import), no error, but on the site (B) the block that I imported said on any region that I put \"This block is broken or missing. You may be missing content or you might need to enable the original module.\" And I cant edit the content of this block. How I can fix that? Site A: Site B:" ]
medi_sts_stackexchange_dupe
Problem with "touch sensitivity" on iPhone calendar
Calendar month view is unresponsive on iOS 9
[ "Formula for the $n$th term of $1, 2, 2, 3, 3, 3, 4, 4 ,4, 4, 5, ...$", "Can I have two Schengen visas in one passport?", "Solving the Kolmogorov forward equation for transition probabilities Let $\\lambda \\mu &gt; 0$ and let $X$ be a Markov chain on $\\{1,2\\}$ with generators $$ Q = \\begin{pmatrix} -\\mu &amp; \\mu \\\\ \\lambda &amp; -\\lambda \\end{pmatrix}$$ Write down the forward equations and solve them fro the transition probabilities, $p_{i,j}(t), i,j = 1, 2$. The answers say: \"We have that $$p_{11}' = -\\mu p_{11} + \\lambda p_{12}, \\, \\, \\, p_{22}' = -\\lambda p_{22} + \\mu p_{21}$$ where $p_{12} = 1 - p_{11}$ and $p_{21} = 1 - p_{22}$. Solve these subject to $p_{ij}(t) = \\delta_{ij}$, the Kronecker delta, to obtain that the matrix $P_t = \\{p_{ij}(t)\\}$.\" The bits I don't understand are these 1) How do they get those equations in the first place? For example, why have they added $\\lambda p_{12}$ when the coefficient for $p_{12} = \\mu$? 2) How do you solve these equations? What do you do with that Kronecker delta to solve them?", "Ball swung in a horizontal circle, can the string ever by exactly horizontal to the ground? You swing a ball on the end of a lightweight string in a horizontal circle at constant speed. Can the string ever by truly horizontal? If not, would it slope above the horizontal or below the horizontal? Why?", "Prove if $(a,p)=1$, then $\\{a,2a,3a,...,pa\\}$ is a complete residue system modulo $p$. let $p$ be a prime and let $a$ be an integer not divisible by $p$, that is $(a,p)=1$. Then $\\{a,2a,3a,...,pa\\}$ is a complete residue system modulo $p$. Since $p\\nmid a$, $p\\nmid\\{a,2a,3a,...,(p-1)a\\}$ Since $p|p$, $p|\\{pa\\}$ which is exactly one element in the set and is therefore a complete residue system. Wondering if this is an acceptable proof to this theorem.", "How should I cite a website URL?", "How to check if windows has automatic updates waiting from the command line? If a Windows server (2k3/2k8) is set to \"download but not install\" updates, is there a way to check from the command line.. perhaps a log file or something I can check with powershell, to see if there are any updates actually waiting to be installed? I'm trying to prevent having to manually log on to each server to check, even though they want the \"trigger\" pulled manually. We have an automation system in place I can use (CA Autosys) - just not sure what to have it look for.", "I need my pre-installed version of Windows 7 (or any other version of Windows), how could I install Ubuntu without erasing it?", "Why can't Discovery's Data Core be separated from the ship?", "What's the difference between \"these\" and \"those\"? First of all, I'm not a native English speaker, but in school I learned that these is used if referring to something near, and those is used when referring to something far away (temporally or locally). But now I'm sometimes watching English movies and notice sentences like \"Have you seen those boots?\" while the boots were only centimeters away. Is this just not correct, or have I learned the wrong rules? Another question is, what if I'm referring to something abstract such as ideas or thoughts so that I can't say if they are far away or not. Should I use those or these? Edit So it can't be really wrong in any case if I use these respectively those?", "MPI Get Processor with Minimum value", "According to , the SE chat sites may have individual Easter eggs, depending on the site. If you find them, please post. Because it's so easy to make this stuff up, a screenshot as proof would be nice. (Although Photoshop isn't that hard either...)", "In a multiple regression, the regression coefficient of the two subsamples is opposite to that of the full sample. Both coefficients are significant. The sum of the number of obs in the two subsamples is equal to that of the full sample. Is this normal? What are the possible causes? Thanks.", "I'm trying to make a command block that spawns an item in front of you if you are holding an item with a specific name. I've got these two working scripts; /testfor @p[r=10] {Inventory:[{tag:{display:{Name:\"Item Name\"}}}]} /testfor @p[r=10] {SelectedItemSlot:0,Inventory:[{Slot:0b,­id:\"minecraft:diamond_sword\"}]­} but I can't get them together. The block should only look for an item in the active slot.", "I'm looking to find out if there's any easy way to calculate the number of ways to tile a $3 \\times 2n$ rectangle with dominoes. I was able to do it with the two codependent recurrences f(0) = g(0) = 1 f(n) = f(n-1) + 2g(n-1) g(n) = f(n) + g(n-1) where $f(n)$ is the actual answer and $g(n)$ is a helper function that represents the number of ways to tile a $3 \\times 2n$ rectangle with two extra squares on the end (the same as a $3 \\times 2n+1$ rectangle missing one square). By combining these and doing some algebra, I was able to reduce this to f(n) = 4f(n-1) - f(n-2) which shows up as sequence , confirming that this is the correct recurrence. The number of ways to tile a $2 \\times n$ rectangle is the Fibonacci numbers because every rectangle ends with either a verticle domino or two horizontal ones, which gives the exact recurrence that Fibonacci numbers do. My question is, is there a similar simple explanation for this recurrence for tiling a $3 \\times 2n$ rectangle?", "Layover at Tokyo Narita airport: can I travel outside, and what kind of visa would I need? I am travelling from Singapore to San Francisco and the airline has a layover of 7.5 hours at Tokyo Airport (NRT). I am wondering if I would be allowed to go out to experience the city for a while in some form a visitor visa. I know Singapore has such facilities, but does anyone know if I can do it in Tokyo? Any suggestions or pointers are welcome. Note - I do not have a visa for Japan yet, but I am hoping that 1 day visitor visa could be possible at airport.", "I believe there are several ways to prove that $\\sum\\limits^{\\infty}_{n=1}\\left(1-\\frac{1}{\\sqrt{n}}\\right)^n$ converges. Can you, please, post yours so that we can learn from you? HERE IS ONE Let $n\\in\\Bbb{N}$ be fixed such that $a_n=\\left(1-\\frac{1}{\\sqrt{n}}\\right)^n.$ Then, \\begin{align} a_n&amp;=\\left(1-\\frac{1}{\\sqrt{n}}\\right)^n \\\\&amp;=\\exp\\ln\\left(1-\\frac{1}{\\sqrt{n}}\\right)^n\\\\&amp;=\\exp \\left[n\\ln\\left(1-\\frac{1}{\\sqrt{n}}\\right)\\right] \\\\&amp;=\\exp\\left[ -n\\sum^{\\infty}_{k=1}\\frac{1}{k}\\left(\\frac{1}{\\sqrt{n}}\\right)^k\\right]\\\\&amp;=\\exp\\left[ -n\\left(\\frac{1}{\\sqrt{n}}+\\frac{1}{2n}+\\sum^{\\infty}_{k=3}\\frac{1}{k}\\left(\\frac{1}{\\sqrt{n}}\\right)^k\\right)\\right]\\\\&amp;=\\exp \\left[-\\sqrt{n}-\\frac{1}{2}-\\sum^{\\infty}_{k=3}\\frac{n}{k}\\left(\\frac{1}{\\sqrt{n}}\\right)^k\\right]\\\\&amp;\\equiv\\exp \\left(-\\sqrt{n}\\right)\\exp \\left(-\\frac{1}{2}\\right)\\end{align} Choose $b_n=\\exp \\left(-\\sqrt{n}\\right)$, so that \\begin{align} \\dfrac{a_n}{b_n}\\to\\exp \\left(-\\frac{1}{2}\\right).\\end{align} Since $b_n \\to 0$, there exists $N$ such that for all $n\\geq N,$ \\begin{align} \\exp \\left(-\\sqrt{n}\\right)&lt;\\dfrac{1}{n^2}.\\end{align} Hence, \\begin{align}\\sum^{\\infty}_{n=N}b_n= \\sum^{\\infty}_{n=N}\\exp \\left(-\\sqrt{n}\\right)\\leq \\sum^{\\infty}_{n=N}\\dfrac{1}{n^2}&lt;\\infty,\\end{align} and so, $\\sum^{\\infty}_{n=1}b_n&lt;\\infty\\implies \\sum^{\\infty}_{n=1}a_n&lt;\\infty$ by Limit comparison test.", "What is the difference between: Rooting, Jailbreak, ROM, Mod, etc.?", "If $f(x)$ is differentiable at x, I need to prove that $\\lim_{h\\to0}\\frac{f(x+h)-f(x-h)}{2h}$ exist and is finite. so if $f(x)$ is differentiable at a $x$, the difference quotient exist for this point, and also $f(x)$ must be continuous at x as well so that mean that: $\\lim_{h\\to0^+}\\frac{f(x+h)-f(x)}{h} = \\lim_{h\\to0^-}\\frac{f(x+h)-f(x)}{h}$ and that: $\\lim_{x\\to x_0^+}=\\lim_{x\\to x_0^-}=f(x_0)$ I know I should probably use arithmetic limit laws to prove this but I can't see how what I figured out could help me. any help with that? Thanks!", "Where is the Layers panel in Blender 2.8?" ]
medi_sts_stackexchange_dupe
Remove occurrence of a pattern from string everywhere
How can I replace a string in a file(s)?
[ "Is the Jekyll blog dead? I noticed that the is apparently abandoned and the is back to WordPress. I'd be interested to know what were the decisions that led to switching back. Was the content creation process hindered by Markdown + git? Were there growing pains that couldn't be solved?", "Can ubuntu be installed in intel kabylake 7th gen processor? I am using a 7th generation i5 processor(7200,2.50 ghz).The processor also have intel hd graphics 620 and nvidia geforce 940mx 2gb graphics card. I read previously that only windows 10 can be installed to this specific processor. Is it true no version of ubuntu can be used with this processor? If it's possible to install ubuntu using this processor, what additional steps other than the normal installation process should I undertake to get Ubuntu working?", "Companion affinity change notification", "Which graphics formats can be included in documents processed by latex or pdflatex? There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which? Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long as I put in a four line incantation. Can anyone explain this?", "Cohen's d for 2x2 interaction I have a significant 2x2 interaction in a between-subjects design. I would normally report omega-squared as my effect-size measure, but I've been asked to provide Cohen's d instead? Can Cohen's d be computed for an interaction? If so, how?", "Is there a difference between “?!” and “!?”?", "How do I install different (upgrade or downgrade) PHP version in still supported Ubuntu release?", "Hello [Comma?] John, I have a follow up question to this question: My question is: when should you add a comma when starting a letter/email with Hello John, It was fun to see ... I am pretty sure that a comma goes after the name, but lately I have seen several people (academics) write Hello, John, It was fun to see ... with a comma after the Hello. I am wondering when a comma there is appropriate. I see this question but I am wondering about the situation where you have a comma after the name also.", "How do I resize my current ubuntu partition? I've got Ubuntu 10.10 installed to use my whole hard-disk, but would like to use the 130GB of free space I've got to create a new partition and do some development on Unity and Natty. Can I use gparted to do this? If so how?", "ISO image integrity check (new try)? When you open an .iso file with e.g. 7-zip, the tool lets you test the ISO file, just like you can test any RAR or 7Z or ZIP file that the file is still ok. If that test finishes successfully, does that mean the .iso file data and all the files within the ISO disc image are fine and not corrupted (bitrot)? I am a bit confused because elsewhere I saw it mentioned that the ISO (raw disc image) format doesn't contain any data integrity checksums, so I am unsure what the 7-zip tool is testing while testing an ISO disc image file.", "Suppose we have (some categories and some functors such that) $F_1$ is left adjoint to $G_1$, $G_1$ left adjoint to $F_2$, $F_2$ left adjoint to $G_2$. Will $F_1$ then be equal to $F_2$ (and $G_1$ to $G_2$)? Or can there exist arbitrarily long 'chains' of adjoint functors that do not trivialize?", "I've bought a to use with my EOS 200D and while I love the wide aperture, it appears to be quite difficult to achieve sharp focus on people's faces when shooting at f/1.8. I've tried both using Dual Pixel focus in Live View and using the center focusing point in the viewfinder, but it doesn't get me perfect results. Is this simply a characteristic of cheap wide-aperture lenses? Or is it impossible to get sharp focus with a fully open aperture? When I'm at at home using a tripod and focusing on a still subject I do get good focus (so it's not a camera or lens issue). But it's hard to do with people who are slightly moving between shots.", "My dad's old TV! When I switch it off after watching and get my hands closer, my hands' hair gets attached to the screen. And they stick for sometimes! Now, I know how a cathode ray oscilloscope works. It is just the clever use of Hall - Effect . But why does my hair get stuck to the screen? What is the cause? Note, I checked this for my LED TV but it didn't work (I couldn't perceive anything) unknowingly. What's the magic in my old TV??", "Divisibility by 7 What is the fastest known way for testing divisibility by 7? Of course I can write the decimal expansion of a number and calculate it modulo 7, but that doesn't give a nice pattern to memorize because 3 is a primitive root. I'm looking for alternative ways that can help you decide when a number is divisible by 7 by hand. I'm sorry if this is a duplicate question, but I didn't find anything similar on the site.", "Calculating percentage of overlap between 2 features from 2 different layers using ArcGIS Desktop? I have two layers. Layer 1 has features that are property/parcels with area in acres. Layer 2 has features that are wetlands/bodies of water with area in acres. I want to calculate parcels that have for example 0% wetlands, 10% wetlands, 20% wetlands, 30% wetlands etc. to 100% wetlands. How can I do this on ArcGIS Desktop? Ideally, I want to find parcels/properties that have a limited number or a limited percentage of wetland coverage.", "If $(X_n)$ is i.i.d. and $ \\frac1n\\sum\\limits_{k=1}^{n} {X_k}\\to Y$ almost surely then $X_1$ is integrable (converse of SLLN) Let $(\\Omega,\\mathcal F,P)$ be a finite measure space. Let $X_n:\\Omega \\rightarrow \\mathbb R$ be a sequence of iid r.v's I need to prove that if: $ n^{-1}\\sum _{k=1}^{n} {X_k} $ converges almost surely to $Y$ then all $X_k$ have expectation. If I understand correctly then $X_k$ has expectations means $X_k$ is in $\\mathcal L^1(\\Omega)$. And I know that on finite measure space Converging in expectations is converging in $\\mathcal L^1(\\Omega)$ and it's stronger than almost sure convergence. And I know that from linearity of expectation even if one of the sequence is not in $\\mathcal L^1(\\Omega)$ then $Y$ is not in $\\mathcal L^1(\\Omega)$. How do I continue?", "How to add D-link dwm-156 to usb switch mode for automatic eject of driver CD / switch to modem mode? I am running Ubuntu 13.10, 32-bit. I had every time need to go terminal to \"eject\" the windows driver CD,nor gone to disk &amp; eject windows driver CD to make the d-link dwm-156 gsm modem functioning through network manager. It seems that usb mode switch is not working. But on my friend's computer with ubuntu 14.04 ,usb mode switch is working and i can connect d-link dwm-156 to mobile broadband through network manager as soon as i get in. Is there any way to make usb mode switch to eject the windows driver CD of d-link dwm-156 in my ubuntu 13.10,32-bit at start up? The lsusb output is Bus 002 Device 013: ID 2001:a706 D-Link Corp before ejecting the CD (modem as storage device of windows driver). The lsusb output is Bus 002 Device 005: ID 2001:7d01 D-Link Corp after ejecting the CD (as modem). I don't want to use the driver in the CD,as i need to send sms &amp; find the data usage.", "I never had this problem until today. When I watch a youtube video everything is fine, until I make the video fullscreen. It actually continues to play perfectly when fullscreen, but when I then exit fullscreen my sidebar and topbar are gone, and the screen is just frozen. Also my cursor is gone. It does seem to respond to ALT-F4, but it takes about 15 seconds to even close the window, and after that everything is unusable (basically frozen). What's strange though, when I re-enter fullscreen after exiting (and unity being frozen) the video plays perfectly still. For now my workaround is opening tty1 and executing pkill -u username which logs off the user. I have looked at /var/log/syslog but it seems to be empty. Is this freezing a common problem, if not, how can I make steps to fix this? EDIT with specs: I'm on a simple Samsung laptop with: Ubuntu 14.10 64-bit, Intel® Core™ i5-3210M, Intel® Ivybridge Mobile (So integrated intel hd graphics 4000), 8GB ram. I don't think i've ever changed my video drivers, but it's reported as i915. Ubuntu is up to date, and my browser is Chrome 40.0.2214.91 (64-bit). (Will test out now with firefox, but already posting this because my pc might freeze again) EDIT 2: It doesn't freeze on Firefox. Will try reinstalling chrome now... EDIT 3: Reinstalling chrome didn't help. Will try chrome 32-bit too now...", "Is it possible to have f.lux (software that adjusts display's color temperature) on Ubuntu 14.04? f.lux is software which adjusts temperature of your display according to time of the day. Is it possible to make f.lux work in Ubuntu 14.04? If so, maybe you can share your knowledge or point me to a guide.", "Formula Error: Syntax error. Extra ',' I am trying to write a formula for opportunities but I keep getting the following error Error: Syntax error. Extra ',' Here is my formula IF (TODAY() &gt; CloseDate &amp;&amp; TEXT(StageName)='Donation Likely') || (TODAY() &gt; CloseDate &amp;&amp; TEXT(StageName)='Donation Prospecting'),\"Past Due\",\"Expecting\")" ]
medi_sts_stackexchange_dupe
find the probability density function of $Z=-2\sum_{i=1}^{n} \ln F(x_i)$
Prove that $Y=-2\sum_{i=1}^n \ln F_{X_i}(X_i)$ have distribution $\chi^2(2n)$
[ "I have searched through the internet and in AskUbuntu, but I could not find a working solution for my little problem. The RTL8723ae WLAN is behaving strangely on Ubuntu 14.04 and drops the WLAN connection constantly. I am using the notebook MSI GE40 and have already seen on the web that there are other people having the same problem but there was no permanent solution. The problem did not exists on the original Windows 8 on the device and the router is a TP-Link, which I can control (channel change and so on, I use WPA2-PSK WLAN security).", "Is it time to be rid of automatic down votes on certain closed questions? Right now, carry automatic downvotes. The for this was largely to enforce specific quality bans in part because people were not down voting questions. Now that question down votes are free on questions and it seems to be pretty commonplace for question quality bans to trigger, even without the automatic votes from closure, and we have completely revamped the closure system. Is it time to reevaluate whether or not these automatic votes are still a good idea? What benefits do the automatic votes provide and have they effectively run their course?", "Combine 4 cells in a table Here is a simple table. I want to merge 4 cells. I want to combine the three \"this\" cells area in this table. I thought I have to use multirow and multicolum at same time. However, I could not find how to use it. If possible, could you post the modified LaTeX source code? My LaTeX code: \\documentclass{article} \\usepackage{multirow}% http://ctan.org/pkg/multirow \\usepackage{hhline}% http://ctan.org/pkg/hhline \\begin{document} \\begin{table}[ph] \\begin{center} \\begin{tabular}{c|c|c|c|c} \\hline \\multirow{2}{*}{Raaa (k)} &amp; \\multicolumn{4}{c}{C ()} \\\\ \\hhline{~----} &amp; 3.3 &amp; 2.5 &amp; 1 &amp; 0.5 \\\\ \\hline \\multirow{2}{*}{Raaa (k)} &amp; \\multirow{2}{*}{this} &amp; this &amp; 0.5 &amp; 0.6\\\\ \\hhline{~~~--} &amp; &amp; this &amp; 0.7 &amp; 1.2 \\\\ \\hline \\end{tabular} \\caption{R, C ripple size} \\label{T:peak} \\end{center} \\end{table} \\end{document}", "Java Socket why server can not reply client", "in a file containing : ... 18-11-2018:othercharacters 10-11-2018:othercharacters 03-10-2018:othercharacters 30-10-2018:othercharacters 27-09-2018:othercharacters 03-12-2018:othercharacters ... the command : sort -t- -k2 -k1 does not sort by date, what am I missing ?", "How to add item to right-click menu when NOT selecting a folder or file? How do I add a menu item to my context menu to open up powershell (or any other arbitary application) when I right-click inside Windows Explorer? I found tons of links on how to add menu items when doing this: (selecting a folder; ) ...but couldn't find any instructions on how to add menu items when doing this: (not selecting a folder or file) I did find and tried adding powershell to HKEY_CLASSES_ROOT\\Directory\\Background\\shell\\, (loosely based on the and linked above) but it didn't work for me. I'm running Windows 7, by the way. Also, I'm currently interested in adding only PowerShell, but I'd prefer a general solution I can apply to add any program to the context menu.", "I want to change the Message-ID header or better yet, discard it. I know everyone is going to ask \"Why would you want to do that?\" because I know it sounds weird to even write it. Well I am developing a system that saves an incoming e-mail in EML format, changes it and sends it to the user, at some point the user can request to have the original EML sent to him/her. The issue is that when I re-send the EML it has the same Message-ID header which causes exchange servers to drop the re-send. Of course I am hoping there is some option through postfix to do this, otherwise I will need to parse and change the EML but I rather not do that. I tried to do this with \"header_checks\" and it works BUT I need to be able to do this conditionally, meaning only on a specific occasion, which I can identify by looking at the other headers, I want to remove the Message-ID.", "Remap a key combination to another combination, e. g. Super+Ctrl+Shift+J -> Ctrl+Shift+Left", "A commercial airport being any airport that has regular scheduled passenger flights. The mathematics of got me thinking: is the network of scheduled flights a connected graph? That is, is there a pair (or triplet or even larger set) of airports such that they only have scheduled flights with each other? Or can you get from any airport to any other? Ignore vagaries like cargo and general aviation. I'm looking for two airports that I can shuttle between, but would have to drive (or sail) to get to one or the other of them.", "Prove that a limit doesn't exist In my assignment I have to prove that the following function doesn't have a limit: $$f(x)=\\frac{x}{x-\\lfloor{\\sin x}\\rfloor}$$ when $${x \\to 0}$$ In other words, I have to prove that for every $\\delta$ such that $0&lt;|x-{x_0}|&lt;\\delta,$ $|f(x)-L|&gt;\\epsilon$. In fact, I don't even know how to start. Do I choose my $\\delta$? I know that the sin function has certain values that's supposed to help me. How do I use it? I have to prove this by definition, so I can't use limit arithmetic for example Thanks.", "Prove that the product of a non-zero rational and irrational number is irrational. Could you please confirm if this proof is correct? Theorem: If $q \\neq 0$ is rational and $y$ is irrational, then $qy$ is irrational. Proof: Proof by contradiction, we assume that $qy$ is rational. Therefore $qy=\\frac{a}{b}$ for integers $a$, $b \\neq 0$. Since $q$ is rational, we have $\\frac{x}{z}y=\\frac{a}{b}$ for integers $x \\neq 0$, $z \\neq 0$. Therefore, $xy = a$, and $y=\\frac{a}{x}$. Since both $a$ and $x$ are integers, $y$ is rational, leading to a contradiction.", "Project Euler Question 14 (Collatz Problem)", "I want to redirect all requests from example.com to www.example.com. Preferably, this should happen at DNS level. I tried using PTR records, but that simply fails, returning a 404. wwww.example.com is an ALIAS for an Elastic Load Balancer. What’s the simplest way to achieve this?", "Accidently deleted /usr/lib, how do I restore it?", "Combine multiple results in a subquery into a single comma-separated value I've got two tables: TableA ------ ID, Name TableB ------ ID, SomeColumn, TableA_ID (FK for TableA) The relationship is one row of TableA - many of TableB. Now, I want to see a result like this: ID Name SomeColumn 1. ABC X, Y, Z (these are three different rows) 2. MNO R, S This won't work (multiple results in a subquery): SELECT ID, Name, (SELECT SomeColumn FROM TableB WHERE F_ID=TableA.ID) FROM TableA This is a trivial problem if I do the processing on the client side. But this will mean I will have to run X queries on every page, where X is the number of results of TableA. Note that I can't simply do a GROUP BY or something similar, as it will return multiple results for rows of TableA. I'm not sure if a UDF, utilizing COALESCE or something similar might work?", "Simple question, but one that I've been curious about...is there a functional difference between the following two commands? String::class String.class They both do what I expect -- that is to say they return Class -- but what is the difference between using the :: and the .? I notice that on those classes that have constants defined, IRB's auto-completion will return the constants as available options when you press tab after :: but not after ., but I don't know what the reason for this is...", "How do I install a fingerprint reader on Lenovo ThinkPad? I have a with a fingerprint reader: How to make Ubuntu recognise it and use it for login? I already tried: sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt-get update ... but this GUI did not recognizes my device. Does anyone knows any other option?", "If for two suitable matrices $B$ and $C$, $AA^TB=AA^TC$ can we conclude that $A^TB=A^TC$? Let $A$ be a $m\\times n$ real matrix. If for two suitable matrices $B$ and $C$, $$AA^TB=AA^TC$$ can we conclude that $A^TB=A^TC$? I know $AA^T$ is a symmetric matrix. Every real symmetric matrix is diagonalizable. But I am not sure how to use this information. Thanks for reading and helping me out with hints.", "For example, in the past, links to www.example.com wouldn't have meant Google would pass any value to say, forum.example.com. What is the current status of this? (Please provide a reference if possible).", "How do you use the CSS content property to add HTML entities? Using something like this just prints &amp;nbsp; to the screen instead of the non-breaking space: .breadcrumbs a:before { content: '&amp;nbsp;'; }" ]
medi_sts_stackexchange_dupe
Rescuing a possibly corrupt PDF in Acrobat
How can I fix/repair a corrupted PDF file?
[ "Transaction log reported full but is not", ": Not ten minutes ago, I received this error, twice: And also an &quot;Oops, something bad happened&quot; error. I'm also getting question posting errors. Can we fix this, please?", "Why is \"night\" spelled with \"gh\"?", "I made something like this: I did this with the Ellipse Tool and the Line Tool. Now the circle is accurate, but the lines inside are very inaccurate. Is there another tool that does the same thing but with a lot more accuracy?", "I have a formula in a cell which counts the values in 2 other cells. Normally, after entering in the values in these 2 other cells, the formula cell updates automatically when Enter is pressed or when the cells are clicked out of. However, for some reason, the value calculated by the formula does not update automatically. I am having to click on the formula bar, then I have to click enter for the formula cell to do its thing. Why is this happening?", "I'm trying to understand the UMP of the product functor as right adjoint to the diagonal functor but I'm having difficulties understanding the notation in Steve Awodey's . On page 210 he uses $(f_1, f_2)$, $\\langle f_1, f_2 \\rangle$ and $(f_1 \\times f_2)$ all within one paragraph. What are those? How are these defined and how do they differ?", "Let $z_1, z_2, z_3,$ ...be a sequence of independent random variables s.t. $P(z_i=1)=P(z_i=-1)=\\frac 1 2$. Does this sequence converge almost surely? My intuition is telling me that the sequence will approach the random variable Z? i.e. $z_n-&gt;Z$ as $n-&gt;\\infty$ and Z is just another RV s.t. $P(Z=1)=P(Z=-1)=\\frac 1 2$. Here is my confusion, if a sequence converges almost surely, then $z_i$ should be different for each term s.t. it approaches Z in the end; but in this sequence $z-i$ is the same for every term. So I dont udnersntand.", "Youtube video lag on 18.04 I just upgrade from Ubuntu 17.10 to Ubuntu 18.04, there is an issue when playing youtube video.The video stops play but audio playing, then I move the cursor &amp; video is playing...... What should I do??", "There are several distinct usages: kernel density estimation kernel trick kernel smoothing Please explain what the \"kernel\" in them means, in plain English, in your own words.", "Let $a, b, \\&amp; \\, m$ be integers. Prove that if $2a + 3b \\geq 12m + 1$, then $a \\geq 3m + 1$ or $b \\geq 2m + 1$. My Attempt: I don't conceive apace how to contrive, from the one inequality in the antecedent, the two inequalities in the consequent. So a proof by contraposition may be more facile. The contrapositive is: $\\text{If } \\color{Green}{a &lt; 3m + 1} \\; \\&amp; \\; \\color{#0073CF}{b &lt; 2m + 1}, \\text{ then } 2a + 3b &lt; 12m + 1 \\tag{*}.$ From $(*)$, $\\color{Green}{2a} + \\color{#0073CF}{3b} &lt; \\color{Green}{6m + 2} \\; + \\;\\color{#0073CF}{6m + 3} = 12m +5$. But this doesn't prove $(*)$. Given Solution: Assume that $a &lt; 3m+1$ and $b &lt; 2m+1.$ Since a and b are integers, $a ≤ 3m$ and $b ≤ 2m.$ Therefore, $2a + 3b ≤ 2(3m) + 3(2m) = 12m &lt; 12m+ 1,$ as desired. $\\blacksquare$ What went wrong in my attempt? I understand the given solution but I persisted with the more natural and direct green and blue, instead of deviating to weak inequalities. Shouldn't both solutions work? Source: Problem 4.19 on P102 (related to P90, Result 4.8) of Mathematical Proofs, 2nd ed by Chartrand et al. $\\large{\\text{Supplement to Cameron Buie and pritam's Answers :}}$ What overriding, catholic lessons can be extrapolated from this example to generalise about inequalities? Moreover, in order to circumvent the problem here (ie the loss of information from the weaker inequalities), should I always start with the strictest inequality? If so, should I always rework any weak inequality into the equivalent strict inequality? For example, define $r \\in \\mathbb{R} $ and $n \\in \\mathbb{Z}$ and $g(...) \\neq h(...)$. Then $ f(r) &lt; h(r) \\require{enclose} \\enclose{updiagonalstrike}{\\iff} f(r) \\leq g(r).$ But $ f(n) &lt; h(n) \\text{ MAY OR MAY NOT }\\iff f(n) \\leq g(n).$", "Gay rights – does Star Trek ever address this issue? I am aware of the picture of the man wearing the 'dress' from TNG, which promotes gender equality, but are gay rights ever addressed in Star Trek at all? (All seasons accepted.)", "How to turn off Facebook notifications on Mac OS X?", "So: I have a Gantt chart created with pgfgantt where in order to fit my pages I have included x unit=1.4cm,y unit chart=6mm in its preamble. This means that milestone shapes are spread out horizontally. How can I change the vertical and horizontal units of a Gantt chart in a way which doesn't affect the aspect ratios of elements like milestones?", "Given that , I wonder if every intelligent biological species is capable of producing beings that are Force-Sensitive? Or are there some species characteristics that can make it 100% impossible for them ever to produce a Force-sensitive individual. NOTE: Let's exclude - if they exist in EU - things like random new-species-creating mutations - e.g. the individual should be 100% the same species, able to interbreed.", "I did some mathematical induction problems on divisibility $9^n$ $-$ $2^n$ is divisible by 7. $4^n$ $-$ $1$ is divisible by 3. $9^n$ $-$ $4^n$ is divisible by 5. Can these be generalized as $a^n$ $-$ $b^n$$ = (a-b)N$, where N is an integer? But why is $a^n$ $-$ $b^n$$ = (a-b)N$ ? I also see that $6^n$ $- 5n + 4$ is divisible by $5$ which is $6-5+4$ and $7^n$$+3n + 8$ is divisible by $9$ which is $7+3+8=18=9\\cdot2$. Are they just a coincidence or is there a theory behind? Is it about modular arithmetic?", "What is a predicate in c#?", "How can I sort a string of text followed by a number using LINQ", "Why do you have to use copy_to_user()/copy_from_user() to access user space from the kernel?", "Addons: Only some .zips will install Why is it that if I go to install an add-on from User Preferences > Add-ons > Install from File... and choose a *.ZIP, some add-ons will install, while others will return me to the User Preferences with nothing having happened (as far as I can tell)? Is there a specific file structure required in the .ZIP? I get many add-ons from GitHub, using the Download Zip button, and even there installation of the actual Zip file only works some of the time.", "I was wondering about the reason of the choose of the X as symbol used to represents the \"Close application\" operation." ]
medi_sts_stackexchange_dupe
Is there a fundamental difference between artificial neural networks and "other" supervised machine learning models
What *is* an Artificial Neural Network?
[ "I installed Android studio some time ago using the following suggested method: To set up Android Studio on Linux: Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate location for your applications. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh. You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory. Follow the links to install the SDK outside of the Android Studio directories. For whatever reason it has become corrupt and insists I must un-install and re-install. I can't for the life of me find how to un-install it however. I didn't use apt-get so I can't do apt-get remove. Does anyone have any suggestions?", "I declared random list using TikZ package and can get items randomly. But at same time I need to get all items in sequential order. How can I do it? Is it possible print \\mylist items declared in noncomma variat? \\documentclass[a4paper,14pt]{extreport} \\usepackage{tikz} \\def\\mylist{{one}{two}{three}{four}{five}} \\pgfmathdeclarerandomlist{mynum}{\\mylist} %Define the list \\begin{document} \\pgfmathrandomitem{\\mynum}{mynum} \\pgfmathresult~\\mynum\\\\ \\pgfmathrandomitem{\\mynum}{mynum} \\pgfmathresult~\\mynum\\\\ \\pgfmathrandomitem{\\mynum}{mynum} \\pgfmathresult~\\mynum\\\\ \\pgfmathrandomitem{\\mynum}{mynum} \\pgfmathresult~\\mynum\\\\ \\pgfmathrandomitem{\\mynum}{mynum} \\pgfmathresult~\\mynum\\\\ \\end{document}", "Why don't metals bond when touched together?", "My laptop has a function key which turns F keys into keys which change volume or brightness. I would like to swap a number of them so that they perform that function under normal operation and are an Fx key while the function key is being held. I assumed that the function keys were just normal keys codes with the set of keys being large enough to include all the possible speical keys. I tried to so as this tutorial suggests () and use xev to obtain the key codes and then would use xmodmap to swap their value. This does not seem to work though. The F12 key gives the xev output: KeyPress event, serial 41, synthetic NO, window 0x4a00001, root 0xb1, subw 0x0, time 468005, (23,-15), root:(89,37), state 0x10, keycode 96 (keysym 0xffc9, F12), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False Which I think is to be expected. However, the Increase Volume button give this response: KeymapNotify event, serial 41, synthetic NO, window 0x0, keys: 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 And so does the Decrease Volume key. How can I perform the swapping of the keys that I would like? Thank you", ": \"Food left on plates after eating is defined as garbage (jutha) because it has been polluted by the eater’s saliva. It may be handled in the family. Is there an English word for something that is not eatable or usable by others because it has someone's saliva on it?", "I'm new in this computer terms. So anyone can explain to me what \"virtual cores\" and \"hyperthreading\" are at greatest detail a layman can understand? People told me that virtual cores are imaginary cores acting like a physical core. If that is so, then can I make my AMD v105 processor single core a dual core processor? Is it also possible to hyperthread my CPU? Are these functions built in?", "How important are headings in SEO I have a website that sells music artists posters. Each artists has a page containing a small bio, and a list of posters we are selling representing the artist. Currently our HTML looks like that &lt;h1&gt;{Artist name}&lt;/h1&gt; bio &lt;h2&gt;Posters&lt;/h2&gt; &lt;ul&gt; &lt;li class=\"poster\"&gt;...&lt;/li&gt; ... &lt;/ul&gt; We are redesigning this page, and we have a new template that we really like. Problem is that in this new version the &lt;h2&gt;Posters&lt;/h2&gt; does not appear anywhere on the page. As you might expect, a significant part of our traffic comes from people typing something like : \"{Artist name} poster\" on Google. I fear that, by removing the word \"poster\" from the page, we will reduce our chances of getting these people to come to the site, since Google might down rank us. I see several options here : Give Google a slightly altered page that contains the H2 tags. But I think this falls into the \"Black Hat SEO\" category. And I don't want that. Put the heading. Hide it with CSS. Everyone wins, including accessibility tools which can determine the structure of the page using the \"invisible\" heading. But I do not know if this is considered a good practice. Forget about the heading, and find other ways to tell Google that we really are about posters. (via keywords, but do they really have the same \"weight\" as an H2?) Adapt the design to our SEO need, and find a way to put that heading nicely. Are there webmasters out there that have been facing the same issue, how did you resolve it?", "Theorem numbering", "Background: I have the opportunity to pursue a Computer Science graduate degree at a well respected program (around top 20). I spoke with the professors at the university and I feel like I am a good fit with their research program. My ultimate pursuits are to complete a PhD in CS. I've done research as an undergraduate and it has only confirmed my notion that I want to pursue a research track career. More background: I applied to jobs (in case I was rejected to all the programs I applied for) prior to hearing back from my respective graduate programs. I accepted a position for an industry job (this was to secure I wouldn't be both unemployed &amp; not in school). Dilemma: Turns out my top graduate school is very interested in me, and I'm very interested in them. I would rather go to graduate school than work in industry forever. The industry job pays very well. I am split between A) working for a maximum of 1 year(It would only be 1 year, seriously I do not care about the money enough to work past a year) and B) going straight to graduate school. My concerns are as follows, if I choose A): Could I potentially defer my admissions? If I am not allowed to defer my admissions, would I have a good chance of re-applying and being accepted a year later? Would my potential advisers look down on me for deciding to work a year? I already made my mind up it would be a 1 year gig if I decide A). I know some people say once you make money, you may not be able to readjust to the graduate salary pay. But I don't think that will apply to because I'm going to live very frugally with or without industry pay.", "What does \"apt-get install !!\" do and how to make it work? I have seen someone typing apt-get install !! He did that a few times and every time, a different program was installed. It seems like it automatically figured out what is needed next. However, when I tried it on my Ubuntu 14.04.1 LTS virtual machine, it just showed some usage instructions. Googling for apt-get install !! doesn't seem to work very well. Many search results do not contain the double exclamation mark. What does apt-get install !! do and what could be missing on my machine that it did not work?", "Is it worth cleaning the registry? I have heard that you should keep the registry clean on Windows. Is this actually important or is it just myth?", "In the Monster Manual, gargoyles, golems, helmed horrors, and xorns all enjoy either immunity or resistance to: bludgeoning, piercing, and slashing damage from nonmagical weapons that aren't adamantine Is it actually possible to obtain a nonmagical adamantine weapon? Although the Dungeon Master's Guide describes adamantine armor (p.150) and Daern's instant fortress (p.160) as being made of this metal, and provides an AC for destructible adamantine objects (p.246), there's no mention of adamantine weapons. The creation spell (PH p.229) can produce an adamantine weapon that lasts for a single minute. The true polymorph spell (PH p.283) can't turn a regular weapon into adamantine, but it might be able to for an hour. The only way to obtain a (somewhat) permanent adamantine weapon in the game seems to be to loot one from drow elves (MM p.127). A PC (perhaps even a drow) with proficiency in smith's tools could presumably craft a nonmagical adamantine sword during downtime at 5gp per day (PH p.187), except that unlike silvered weapons, there's no pricing for adamantine. It's seeming like mugging an NPC drow is the only by-the-book way to tool up against gargoyles.", "How to make the space under footnotes disappear? How do I make the space under footnotes disappear? And to space over the footnote's bar? Code: \\documentclass[12pt,french]{report} \\usepackage{mathptmx} \\usepackage{helvet} \\usepackage{courier} \\usepackage[T1]{fontenc} \\usepackage[cp1250]{inputenc} \\usepackage[a4paper]{geometry} \\geometry{verbose,margin=1in,headheight=12pt,headsep=25pt} \\usepackage{fancyhdr} \\pagestyle{fancy} \\setlength{\\parskip}{\\medskipamount} \\setlength{\\parindent}{0pt} \\usepackage{babel} \\makeatletter \\addto\\extrasfrench{% \\providecommand{\\og}{\\leavevmode\\flqq~}% \\providecommand{\\fg}{\\ifdim\\lastskip&gt;\\z@\\unskip\\fi~\\frqq}% } \\makeatother \\usepackage{latexsym} \\usepackage{pifont} \\usepackage{color} \\usepackage{float} \\usepackage{textcomp} \\usepackage{graphicx} \\usepackage{setspace} \\usepackage[unicode=true, bookmarks=true,bookmarksnumbered=true,bookmarksopen=false, breaklinks=true,pdfborder={0 0 0},backref=false,colorlinks=false] {hyperref} \\hypersetup{pdftitle={tito}, pdfauthor={abc}, pdfkeywords={kiko}} \\usepackage{lipsum} \\makeatletter \\usepackage{multicol} \\usepackage{fancyhdr} \\usepackage{multirow} \\usepackage{longtable} \\setcounter{secnumdepth}{4} \\setcounter{tocdepth}{4} \\usepackage{array} \\newcommand{\\ts}{\\textsuperscript} \\renewcommand\\theparagraph{\\alph{paragraph}.} \\renewcommand\\paragraph{\\@startsection{paragraph}{4}{\\z@}% {3.25ex \\@plus1ex \\@minus.2ex}% {0.5ex \\@plus .2ex}% {\\normalfont\\normalsize\\bfseries}} \\renewcommand*\\l@paragraph{\\@dottedtocline{4}{10em}{2em}} \\def\\thickhrulefill{\\leavevmode \\leaders \\hrule height 1ex \\hfill \\kern \\z@} \\def\\@makechapterhead#1{% \\vspace*{10\\p@}% {\\parindent \\z@ {\\reset@font \\usefont{OT1}{phv}{m}{n} \\LARGE Chapitre \\thechapter\\par\\nobreak}% \\par\\nobreak \\vspace*{30\\p@} \\interlinepenalty\\@M \\usefont{OT1}{ptm}{b}{n} {\\raggedright \\Huge #1}% \\par\\nobreak \\vskip 20\\p@ \\hrule height 1pt \\par\\nobreak \\vskip 45\\p@ }} \\def\\@makeschapterhead#1{% \\vspace*{10\\p@}% {\\parindent \\z@ {\\raggedleft \\reset@font \\scshape \\vphantom{\\@chapapp{} \\thechapter} \\par\\nobreak}% \\par\\nobreak \\vspace*{30\\p@} \\interlinepenalty\\@M \\usefont{OT1}{ptm}{b}{n} {\\raggedright \\Huge #1}% \\par\\nobreak \\par\\nobreak \\vskip 45\\p@ }} \\lhead{\\nouppercase\\leftmark} \\chead{} \\rhead{} \\lfoot{} \\cfoot{\\thepage} \\rfoot{} \\renewcommand{\\footrulewidth}{0.4pt} \\pretolerance=10000 \\hyphenpenalty=10000 \\exhyphenpenalty=10000 \\AtBeginDocument{ \\def\\labelitemi{\\Pisymbol{psy}{183}} \\def\\labelitemii{\\(\\rhd\\)} \\def\\labelitemiii{\\(\\rhd\\)} \\def\\labelitemiv{\\(\\ast\\)} } \\makeatother \\begin{document} \\chapter{Chap} \\lipsum[1]\\footnote{\\lipsum[1]} \\lipsum[1-8] \\end{document}", "Accessing derived class property members from base class object in CSharp", "New top bar quick reference guide / Where has the link to gone?", "Why can't helicopters reach mount everest?", "anyone tell how is this effect created which change lips color to orange and little orange on face without brush etc tool how to change the only lips color to orange without brush etc tool and how this is created and little orange on face", "Moving app to production mode in Symfony 2", "What Application Indicators are available? This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain its answers, please understand that \"big list\" questions are not generally allowed on Ask Ubuntu and will be closed per the . I installed Ubuntu 11.04 on one of my systems and I am using the Unity interface. Unity is working quite well so far but I really miss panel applets for net speed, cpu temp, and system monitor. These applets are useful for viewing quick info. Unlike 10.10, there is no other way to get this info onto the panel or unity launcher. There are solutions like screenlets and conky but they don't feel appropriate for a clean desktop look. If you know one then please list out any third party indicators with links so that they can be found.", "Word for a smart and stubborn person? I'm trying to find a single adjective that would fit the best to the following person's trait: One who thinks knows everything/best, and often doesn't listen to orders and instead completes some task his/her own way. This person, while intelligent, is right about 50% of the time, when doing things its own way. So far I've thought of independent, idiosyncratic and stubborn, but these words don't imply the \"knows everything/best\" part of the trait." ]
medi_sts_stackexchange_dupe
Paladin/Warlock sharing spell slots
What level are spells cast at if a warlock multiclasses as another caster?
[ "Boy and girl paradox is driving me crazy", "$\\int_{0}^{\\infty}\\frac{\\sin^{2n+1}(x)}{x} \\mathrm {d}x$ Evaluate Integral", "Thor: Ragnarok ends with the remaining people of Asgard aboard a refugee ship that meets Thanos' ship. Avengers: Infinity War opens with Thanos and his minions having commandeered the ship and several bodies can be seen on the floor. This begs the question, what happened to these characters: Korg Miek Asguardian extra #3 Valkyrie", "Theorem 13.9 in these is the polynomial spectral mapping theorem: Theorem 13.9 For a polynomial $p$ we have $\\sigma(p(T)) = p(\\sigma(T))$. My questions: First direction: Why would $q(T) (p(T) - p(\\lambda) I)$ be an inverse for $T - \\lambda I$? Update: @RobertIsrael said that instead $(p(T) - p(\\lambda) I)^{-1} q(T)$ should be $(p(T) - p(\\lambda) I)^{-1}$ be? According to the lines in the proof above, we have $$ (p(T) - p(\\lambda) I)^{-1} = ((T - \\lambda I) q(T))^{-1} \\overset{?!}{=} q(T)^{-1} (T - \\lambda I)^{-1}, $$ but as $\\lambda \\in \\sigma(T)$ by assumption, $(T - \\lambda I)^{-1}$ doesn't exist, right? For the second direction: Why does $x_i \\in \\sigma(T)$ imply that $p(x_i) - \\mu = 0$? I thought that $x_i \\in \\sigma(T)$ only implies that $T - x_i I$ is not boundedly invertible. Since $\\mu \\in \\sigma(p(T))$ we have that $p(T) - \\mu I = c \\prod_{k = 1}^{n} (T - x_i I)$ is not boundedly invertible but how does that help? In both statements there seem to be a notion of \"a product of operators is not invertible iff all factors aren't invertible\", but how can that be true? Consider i.e. shift operators on a sequence spaces such that $ST = I$, i.e. the left and right shift operators, then the above mentioned notion doesn't hold, right?", "How to list files in a zip without extra information in command line In my bash command line, when I use unzip -l test.zip I get the output like this: Archive: test.zip Length Date Time Name --------- ---------- ----- ---- 810000 05-07-2014 15:09 file1.txt 810000 05-07-2014 15:09 file2.txt 810000 05-07-2014 15:09 file3.txt --------- ------- 2430000 3 files But I am interested only by the lines containing the file details. I tried to make filtering using grep like this: unzip -l test.zip | grep -v Length | grep -v \"\\-\\-\\-\\-\" | g -v Archive | grep -v \" files\" But it is long and prone to error (e.g a file name Archive in this list will be dropped) Is there any other options with unzip -l (I checked the unzip man page and did not find any) or another tool to do so? It is important to me to not really unzip the archive but just to look what files are inside.", "Correct the \"about\" page to reference the new \"on hold\" policy", "The first given name of an author or editor in my bibliography should be written out, but all further first names should be abbreviated (initials with a period -- and space if there are multiple first names/initials, see below). I am using style=authoryear with BibLaTeX (v. 2.7) and Biber (v. 1.7). My bibliography looks like this: Doe, John Arthur Kyle (2013). The secret life of John Doe. It should look like this: Doe, John A. K. (2013). The secret life of John Doe. Minimal example: example.tex \\documentclass{scrartcl} \\usepackage[ngerman]{babel} \\usepackage[babel,german=quotes]{csquotes} \\usepackage[backend=biber,style=authoryear]{biblatex} \\bibliography{bibliography} \\begin{document} \\cite[123]{Doe} \\printbibliography \\end{document} bibliography.bib @book{Doe, title = {The secret life of John Doe}, author = {Doe, John Arthur Kyle}, year = {2013} } (Worked with said versions of BibLaTeX and Biber, Texmaker (v. 4.0.3) and MiKTeX (v. 2.9.4813).) I could not find a solution in biblatex.def and firstinits=true abbreviates all first names, including the first one.", "A variation on the induced topology (subspace topology)", "How to list files installed by a snap package? After a snap has been installed with sudo snap install [package] how can I list the files which have been installed by the snap?", "Will higher temperatures damage a computer over time, even when not reaching the maximum temperature? For example, if the maximum is 105 degrees celcius, will the computer break faster when continually having it on 80 degrees celsius instead of, for example, 60 degrees celcius.", "I got a paged loop that pulls in 4 posts per page from custom post type. It works great, with the only downside that the pagination wont go over the page/20 everything after that is 404, and the posts_nav_link won't show the next arrow at all. Like the pages just aren't there. In total there are 119 published posts in the custom post type. If I change posts_per_page to, say 6, then I get access to more of the posts from the end, but it also stops at the page/20. On the production site the pagination stops at 21, I guess because the live database has more entries. I got the \"Blog pages show at most\" setting set to 6. Here's the loop I'm using: &lt;?php $paged = get_query_var('paged') ? get_query_var('paged') : 1; $args = array( 'posts_per_page' =&gt; 4, 'orderby' =&gt; 'modified', 'post_type' =&gt; \"projekte\", 'paged' =&gt; $paged ); $custom_query = new WP_Query($args); $c = 0; while($custom_query-&gt;have_posts()) : $custom_query-&gt;the_post(); ?&gt; &lt;article&gt;...&lt;/article&gt; &lt;?php endwhile; wp_reset_postdata(); // reset the query ?&gt; I've gone through the functions.php a million times looking for a some limiting get_pre_posts filter but there's nothing I can see. I also got an error log setup and nothing is returned there, I've tested it that it works. Any suggestions?", "How can I gzip standard in to a file and also print standard in to standard out? I want to execute a command, have the output of that command get gzip'd on the fly, and also echo/tee out the output of that command. i.e., something like: echo &quot;hey hey, we're the monkees&quot; | gzip --stdout &gt; my_log.gz Except when the line executes, I want to see this on standard out: hey hey, we're the monkees", "I can run faster than _____. (1) him (2) he?", "Pass extra parameters to an event handler?", "Predict probabilities from Firth logistic regression in R I'm using the logistf package in R to perform Firth logistic regression on an unbalanced dataset. I have a logistf object: fit = logistf(a~b) Is there a predict() function like on that's used in the lm class to predict probabilities for future data points? Or do I have to manually input the estimated parameters from the Firth regression.", "Assume I have a dataset for a supervised statistical classification task, e.g., via a Bayes' classifier. This dataset consists of 20 features and I want to boil it down to 2 features via dimensionality reduction techniques such as Principal Component Analysis (PCA) and/or Linear Discriminant Analysis (LDA). Both techniques are projecting the data onto a smaller feature subspace: with PCA, I would find the directions (components) that maximize the variance in the dataset (without considering the class labels), and with LDA I would have the components that maximize the between-class separation. Now, I am wondering if, how, and why these techniques can be combined and if it makes sense. For example: transforming the dataset via PCA and projecting it onto a new 2D subspace transforming (the already PCA-transformed) dataset via LDA for max. in-class separation or skipping the PCA step and using the top 2 components from a LDA. or any other combination that makes sense.", "Here $n$ belongs to natural numbers. Firstly, I proved the relation by putting $n = 1$ . Then, taking $$|\\sin(mx)| \\leq m|\\sin x|$$ true, I had to prove $$|\\sin(m + 1)x| \\leq (m + 1)|\\sin x|$$ Now, here I got stuck. How to prove it?? Please help.", "When I visit the reputation tab of my profile, I see a lot of stuff. I can make out some of it, but not all. What do all the event types mean? Why do some events show an odd reputation gain or not show any reputation change at all? Why are some events sometimes highlighted in yellow? My reputation suddenly dropped, but I don't see anything. What happened? Why do some events disappear from my reputation history?", "Can someone tell me what's wrong with this? because i can't figure out where the missing \\right( is. \\begin{equation} \\begin{split} Μ=&amp;-\\pi \\rho \\frac{c^{2}}{4} \\left[c\\left(\\frac{α}{c}-\\frac{1}{2}\\right)\\ddot{h}+Uc\\left(\\frac{3}{4}- \\frac{α}{c}\\right)\\dot{\\alpha} +\\frac{c^{2}}{4}\\left(\\frac{9}{8}+ \\frac{4α^{2}}{c^{2}}-\\frac{4α}{c}\\right)\\ddot{\\alpha} \\\\ &amp;-\\left(\\frac{4α}{c}-1\\right)U C(k) \\left(-\\dot{h} +U\\alpha + c \\left(\\frac{3}{4}-\\frac{α}{c}\\right)\\dot{\\alpha}\\right)\\right] \\end{split} \\end{equation}", "Conditions for vertical circular motion If a bob attached to a string is swinging in vertical circular motion, we say that the bob leaves the circular path when the tension in the string becomes zero, but even when tension becomes zero, there's always a component of the bob's weight towards the center of the circle. Why then does the bob leave the circular trajectory?" ]
medi_sts_stackexchange_dupe
Reputation not showing properly
How does "Reputation" work?
[ "Changing my iTunes account details", "What is JavaScript's highest integer value that a number can go to without losing precision?", "I have 12.10 ubuntu and when I try to remove / install programs I get notification : Software can't be installed or removed because the authentication service is not available. (org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.104'}): org.debian.apt.install-or-remove-packages When I log in as root user (instead of user account that I regulary use) i have no problems.", "Feature request - links underlined", "Overview of basic facts about Cauchy functional equation", "Proving that any permutation in $S_n$ can be written as a product of disjoint cycles I have attempted a proof of this, but upon looking at my notes, I feel it might be incorrect: it is noticeably simpler than the one in my notes. Proposition: any permutation in $S_n$ can be written as a product of disjoint cycles. Proof (attempt): $s\\in S_n$. Let $\\langle s\\rangle$ act on $X=\\{1,\\cdots,n\\}$. Define $x\\sim x'\\iff x'\\in\\text{Orb}(x)$ for $x,x'\\in X:$ this is clearly an equivalent relation, hence the orbits partition $X$. Each orbit corresponds a cycle in $s$, so we are done. Does this hold, or have I missed something vital?", "What is the \"Templates\" folder in the home directory for? For as long as I can remember, every time I install Ubuntu there is a folder in the home directory called \"Templates.\" I've always just deleted it, but I'm curious: what's it supposed to be used for, and why is it in the default install?", "Why does a Ubuntu guest in VirtualBox run very, very slowly? I'm using currently Ubuntu 12.04 LTS as a host machine, and I've virtualized three machines: a Xubuntu 12.04 guest a Windows 7 guest a Ubuntu 12.10 guest All the guests have the same VirtualBox default settings, but Ubuntu 12.10 is slower! The installation took 1h 40 min! (Normally, it takes 40 minutes.) Now it is impossible to use it, and all operations are very, very slow. I'm using VirtualBox version 4.2.4. Any ideas? Why is it slow? And how can I make it faster?", "How do I get jQuery to select elements with a . (period) in their ID? Given the following classes and controller action method: public School { public Int32 ID { get; set; } publig String Name { get; set; } public Address Address { get; set; } } public class Address { public string Street1 { get; set; } public string City { get; set; } public String ZipCode { get; set; } public String State { get; set; } public String Country { get; set; } } [Authorize(Roles = \"SchoolEditor\")] [AcceptVerbs(HttpVerbs.Post)] public SchoolResponse Edit(Int32 id, FormCollection form) { School school = GetSchoolFromRepository(id); UpdateModel(school, form); return new SchoolResponse() { School = school }; } And the following form: &lt;form method=\"post\"&gt; School: &lt;%= Html.TextBox(\"Name\") %&gt;&lt;br /&gt; Street: &lt;%= Html.TextBox(\"Address.Street\") %&gt;&lt;br /&gt; City: &lt;%= Html.TextBox(\"Address.City\") %&gt;&lt;br /&gt; Zip Code: &lt;%= Html.TextBox(\"Address.ZipCode\") %&gt;&lt;br /&gt; Sate: &lt;select id=\"Address.State\"&gt;&lt;/select&gt;&lt;br /&gt; Country: &lt;select id=\"Address.Country\"&gt;&lt;/select&gt;&lt;br /&gt; &lt;/form&gt; I am able to update both the School instance and the Address member of the school. This is quite nice! Thank you ASP.NET MVC team! However, how do I use jQuery to select the drop down list so that I can pre-fill it? I realize that I could do this server side but there will be other dynamic elements on the page that affect the list. The following is what I have so far, and it does not work as the selectors don't seem to match the IDs: $(function() { $.getJSON(\"/Location/GetCountryList\", null, function(data) { $(\"#Address.Country\").fillSelect(data); }); $(\"#Address.Country\").change(function() { $.getJSON(\"/Location/GetRegionsForCountry\", { country: $(this).val() }, function(data) { $(\"#Address.State\").fillSelect(data); }); }); });", "I've only found a recursive algorithm of the extended Euclidean algorithm. I'd like to know how to use it by hand. Any idea?", "How do I derive the Lorentz contraction from the invariant interval? Reviewing some basic special relativity, and I stumbled upon this problem: From the definition of the proper time: $$c^2d\\tau^2=c^2dt^2-dx^2$$ I was able to derive the time dilation formula by using $x=vt$: $$c^2d\\tau^2=c^2dt^2-v^2dt^2=c^2dt^2\\left(1-\\frac{v^2}{c^2}\\right)\\rightarrow d\\tau = dt\\sqrt{1-\\frac{v^2}{c^2}}=t/\\gamma$$ Now, I would very much like to be able to derive the length contraction formula in a similar fashion, and feel strongly that this should be possible. The definition of the invariant interval is: $$ds^2=dx^2-c^2dt^2$$ using $t=\\frac{x}{v}$ I tried: $$ds^2=dx^2-\\frac{c^2}{v^2}dx^2=dx^2\\left(1-\\frac{c^2}{v^2}\\right)\\rightarrow ds=dx\\sqrt{1-\\frac{c^2}{v^2}}$$ This is where I'm stuck: I don't see how this can be converted to a Lorentz factor... Any help that will allow me to arrive at the desired result $ds=\\gamma dx$ would be very much appreciated.", "I have a CSV containing x,y, and z coordinates. The CSV also has a fourth column containing information on sphere diameter. I need to create a sphere at each coordinate, having the corresponding diameter. Can someone provide me a basic Python script that performs this task? My actual task is much more involved, but I think I can solve it if I have the basics in place.", "Searching by user id in Android app only shows questions, no answers I have a Samsung Galaxy S3. Android version 4.3 I downloaded the official StackExchange app today. I am not able to view post related to android tag from my profile. I tried refreshing also Snap Edit: However i am able to see one post for the relevant from the drop down list Edit 2: I tried what Steven V suggested. However it's the same. I tried for a different user its the same.", "Question mark or bold citation key instead of citation number I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists. \\documentclass[11pt]{article} \\usepackage{cite} \\begin{document} \\title{My Article} \\author{Nobody Jr.} \\date{Today} \\maketitle Blablabla said Nobody ~\\cite{Nobody06}. \\bibliography{mybib} \\bibliographystyle{plain} \\end{document} My bibliography (Bib.bbl) @misc{ Nobody06, author = \"Nobody Jr\", title = \"My Article\", year = \"2006\" } Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg \\begin{thebibliography}{} \\end{thebibliography}", "BasicTeX - how to identify packages that need to be added after an upgrade I'm using the BasicTeX distribution on OS X and recently upgrade from the 2011 to the 2012 distribution. This forces me to add the packages that I had added over time to the BasixTeX 2011 installation by pulling them from the online repository with tlmgr. Is there a good way to list these packages that are not part of BasicTeX but are part of the complete TeXLive?", "What does a \"Legacy USB Mouse\" option in a BIOS mean? Yes legacy usually means older revision, or obsolete. So legacy usb mouse means support for \"old style usb mouses\". That's not really answering the question. As Mr. Tamm, my high school electricity teacher, liked to say, \"Yes, and oranges taste orangey.\" What does legacy USB mouse support mean? What is a legacy USB mouse? There's an \"old style\" USB mouse? What changed between what version of usb and what version of usb that made mice incompatible? Why was the change made? When was the change made? Who made the change? What was the virtue of the \"new USB mouses\" over the \"old USB mouses\"? Put it another way: What is the BIOS doing when \"Legacy USB Mouse\" option is enabled? What is the BIOS doing when \"Legacy USB Mouse\" option is disabled? See also", "I understand using phone while it is being charged by a normal charger is not advised. What about using phone while it is being charged by a portable charger (powerbank)? I own a HTC one and i was told by a mobile technician HTC’s own portable charger only should be used for HTC one. How much truth is there to it as HTC powerbank is not available in my city and i am thinking of using Sony portable charger for charging my HTC One?", "Compilation problem with siunitx (returning error regarding ifnum) I'm trying to get siunitx working. For some reason I keep getting this error: ! Missing = inserted for \\ifnum. &lt;to be read again&gt; - l.3 \\begin {document}^^M I have tried a minimal document to make sure it is not some kind of compatibility issue. And I get that same error in the most minimal document possible. I'm using pdfLaTeX to compile, and have tried both from TeXWorks and from bash. I'm using TeXLive, if that matters. I have also tried reinstalling siunitx, l3packages, and l3kernel. There was an issue with l3kernel before this, due to an apparently old version. But all three packages are now up to date. I've also reinstalled expl3 while trying to debug the original issue. My minimal document is: \\documentclass{article} \\usepackage{siunitx} \\begin{document} \\end{document} The output I get is: This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex) restricted \\write18 enabled. entering extended mode (./untitled-2.tex LaTeX2e &lt;2016/02/01&gt; Babel &lt;3.9q&gt; and hyphenation patterns for 81 language(s) loaded. (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/home/&lt;name&gt;/texmf/tex/latex/siunitx/siunitx.sty (/home/&lt;name&gt;/texmf/tex/latex/l3kernel/expl3.sty (/home/&lt;name&gt;/texmf/tex/latex/l3kernel/expl3-code.tex) (/home/&lt;name&gt;/texmf/tex/latex/l3kernel/l3pdfmode.def)) (/home/&lt;name&gt;/texmf/tex/latex/l3packages/xparse/xparse.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty) (/home/&lt;name&gt;/texmf/tex/latex/l3packages/l3keys2e/l3keys2e.sty) (/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/translator.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/latex/beamer/translator/translator-language- mappings.tex))) ! Missing = inserted for \\ifnum. &lt;to be read again&gt; - l.3 \\begin {document}^^M ? Does anyone have any idea what might be going wrong here?", "Can we some how use color labels on icons like OS X? Something like this:", "How to restore default group/user ownership of all files under /var? I accidentally changed /var owner/group to my username and then changed it back to root, but not all the /var folders' owners are root, so is there anyway to change back owner/group of files/folders to default state? Or at least those files/folders that are created by packages?" ]
medi_sts_stackexchange_dupe
Add fade to this jQuery rollover
Jquery change image on rollover with fade
[ "Is it possible for information (like 1 and 0s) to be transmitted faster than light? For instance, take a rigid pole of several AU in length. Now say you have a person on each end, and one of them starts pulling and pushing on his/her end. The person on the opposite end should receive the pushes and pulls instantaneously as no particle is making the full journey. Would this actually work?", "How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?)", "Is it possible to assign the same value to multiple keys in a dict object at once?", "Pass Method as Parameter using C#", "Don't revert reputation from suggested edits when reviewer's account is deleted I noticed something strange in the reputation of one of my accounts today: Never saw \"reverted\" event before, so went to and realized what happened: the user who approved my suggested edit has been removed/deleted their account. The edit is still there. The post is still there. The effort spent in editing is still there, untouched. I really can't see any reason to take the reputation away in such a case. Can this please be changed so that the reputation won't be lost? Personally I don't care that much, and got lots of reputation from other sources, but many people have low reputation and each point matters to them. P.S. This might be a bug introduced when implementing this recent change about \"\", so tagging as a bug too.", "Proof Verification: Converse of Intermediate Value Theorem A function $f$ is increasing on $A$ if $f(x)\\leq f(y)$ for all $x&lt;y$ in $A$. Show that the Intermediate Value Theorem does have a converse if we assume $f$ is increasing on $[a,b]$. The converse of IVT along with the additional hypothesis would look like this: Lef $f:[a,b] \\rightarrow \\mathbb{R}$ be an increasing function on $[a,b]$ which satisfies: if $L$ is a real number such that $f(a)&lt;L&lt;f(b)$ (or $f(a)&gt;L&gt;f(b)$), then there exists a point $c\\in (a,b)$ where $f(c)=L.$ If the preceding conditions are met, then $f$ is continuous on $[a,b]$. The proof (if it's correct) I'm going to show is only for the $c \\in (a,b)$, but I think for end points ($a$ or $b$), the method should be similar. We want to show that given $c \\in (a,b)$, for all $\\epsilon&gt;0$, there exists a $\\delta&gt;0$ such that $|x-c|&lt;\\delta \\implies |f(x)-f(c)|&lt;\\epsilon$. Since $f$ is increasing, we know that $f(a)\\leq f(c)$. If $f(c)-\\epsilon&lt;f(a)$, then set $x_1=a$, if $f(c)-\\epsilon\\geq f(a)$, then we know by hypothesis that a $x_1&lt;c$ exists such that $f(x_1)=f(c)-\\epsilon.$ In either case, we have for $x \\in (x_1,c]$ $$ f(c)-\\epsilon \\leq f(x_1) \\leq f(x) \\leq f(c) .$$ In a similar way, since we know that $f(c)\\leq f(b)$, we can deduce that a $x_2&gt;c$ exists such that, for $x \\in [c,x_2)$ $$f(c)\\leq f(x)\\leq f(x_2)\\leq f(c)+\\epsilon .$$ Pick $\\delta = \\min \\{c-x_1,x_2-c \\}$, we then have $$|x-c|&lt;\\delta \\implies |f(x)-f(c)|&lt;\\epsilon .$$ Is this correct? In the proof that I saw, they originally used $\\frac{\\epsilon}{2}$, instead of just $\\epsilon$, but I think this one works just as well, what do you guys think?", "Are continuous self-bijections of connected spaces homeomorphisms? I hope this doesn't turn out to be a silly question. There are lots of nice examples of continuous bijections $X\\to Y$ between topological spaces that are not homeomorphisms. But in the examples I know, either $X$ and $Y$ are not homeomorphic to one another, or they are (homeomorphic) disconnected spaces. My Question: Is there a connected topological space $X$ and a continuous bijection $X\\to X$ that is not a homeomorphism? For the record, my example of a continuous bijection $X\\to X$ that is not a homeomorphism is the following. Roughly, the idea is to find an ordered family of topologies $\\tau_i$ ( $i\\in \\mathbb Z$) on a set $S$ and use the shift map to create a continuous bijection from $\\coprod_{i\\in \\mathbb Z} (S, \\tau_i)$ to itself. Let $S = \\mathbb{Z} \\coprod \\mathbb Z$. The topology $\\tau_i$ is as follows: if $i&lt;0$, then the left-hand copy of $\\mathbb Z$ is topologized as the disjoint union of the discrete topology on $[-n, n]$ and the indiscrete topology on its complement, while the right-hand copy of $\\mathbb Z$ is indiscrete. The space $(S, \\tau_0)$ is then indiscrete. For $i&gt;0$, the left-hand copy of $\\mathbb Z$ is indiscrete, while the right-hand copy is the disjoint union of the indiscrete topology on $[-n, n]$ with the discrete topology on its complement. Now the map $\\coprod_{i\\in \\mathbb Z} (S, \\tau_i)\\to \\coprod_{i\\in \\mathbb Z} (S, \\tau_i)$ sending $(S, \\tau_i) \\to (S, \\tau_{i+1})$ by the identity map of $S$ is a continuous bijection, but not a homeomorphism.", "I have a 17 inch LCD, with a maximum resolution of 1280x720. It works fine, but there are some apps that require 1024x768. I know that the maximum resolution is called like that for a reason, but is there no way of increasing the resolution, other than getting a bigger monitor?", "Alternate property name while deserializing", "Changing deleted partition back to NTFS without having to recover to another drive Recently, I accidentally deleted a partition off of my external hard disk. I had a copy of Minitool Power Data Recovery left over when the same drive had become RAW about a year ago. When I selected lost partition recovery, it immediately identified my deleted partition and allowed me to access and recover the files that were there. My question is this. Is there any way to change the deleted partition back to NTFS without having to have a drive that you need to recover the files to and then move them back after formatting, as I don’t have any space left on either the computer or on my other external hard drive, so that I don’t need to buy a new one. The files on the disk were really important. I am using Windows 7 Home Premium. I appreciate any help in solving this crisis.", "Hexadecapole potential using point particles? We can get monopole $1/r$, dipole $1/r^2$, quadrupole $1/r^3$ and octupole $1/r^4$ potential falloff by placing opposite point charges at the corners of a point, line, square and cube, respectively. My book cryptically says \"and so on\", how does one get a $1/r^5$ and higher potential falloff with a finite number of point-charges in 3 dimensions?", "The exact phrase from the book of Swan (the context is choosing the words permit or allow) - The passive structure with it is only possible with permit Having said that... It is not allowed to smoke in the kitchen - incorrect It is not permitted to smoke in the kitchen - correct I feel absolutely fine for the incorrect sentence. Your inputs please. Make me understand this.", "Matrix Ring of a Semisimple Ring I recently read the concept of semi-simplicity of a (not necessarily commutative) ring. A ring $R$ is said to be semi-simple if $R$ as a left module over itself is a semi-simple module (This in turn means that each submodule (i.e, left ideal) of $R$ is a direct summand for $R$.) I am grappling with the following question: If $R$ is semi-simple, then so is the matrix ring $M_n(R)$. It is a theorem that each left module of a semi-simple ring is a semi-simple module. Thus $M_n(R)$ is a semi-simple module of $R$. But this doesn't help me. I need to show that each left ideal of $M_n(R)$ is a direct summand for $M_n(R)$. Is there a characterization of the left ideals of $M_n(R)$ in terms of the left ideals of $R$? Lastly, does the converse also hold? If $M_n(R)$ is a semi-simple ring, then is $R$ necessarily a semi-simple ring? Thanks.", "R : Format the text file output", "If $p$ is a prime and $p \\mid ab$, then $p \\mid a$ or $p \\mid b$.", "Best Practice for Forcing Garbage Collection in C#", "Bending of light - photon's inertia instead of mass Using classical mechanics, the formula for gravitational attraction is $$F = G\\frac{m_1m_2}{r^2}.$$ This formula does not work for photons, and we need to use Einstein's theory of gravity to account for that, as the photon is massless. What if, instead of using the mass of the photon, we rather used the inertia of it? The momentum of a photon is $$p=\\frac{h}{\\lambda}.$$ Thus, using that, we can calculate its supposed 'mass' (inertia) as momentum is also equal to mass times velocity. So 'mass' of a photon is $$m=\\frac{p}{v}=\\frac{h}{\\lambda c}.$$ If we use this mass as the mass of a photon, can we use Newton's equation for gravitational attraction?", "Decidability of a predicate. I have the following problem: Let the following predicates be: $P1, P2, Q1, Q1 : R \\to \\{0,1\\} $ . It is given that $P1 \\lor P2$ and $Q1 \\lor Q2$ are semidecidable and $P2 = \\lnot Q2$ What can it be said about $P1 \\lor Q1$? I have searched all over the internet and I simply cannot understand the concept of decidability of a predicate, let alone a logic operation with predicates.", "How to create my own math operator with limits? How can i write my own math operator with limits? I want it to look like: \\sum\\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum. Thanks for the help!", "Maximum power transfer and Thevenin I am trying to find the thevenin resistance value and the Vth for maximum power transfer. I have tried to find Rth by calculating R3 and R2 as parallel resistance and same for R4 and R5 and then adding them with R1 but I am not sure if I have done it the right way. For Vth I have tried using KVL but I think I have calculated wrong current values using current divider rule. I calculated the total current by diving V1 and R1. I hope someone can help. I have attached the picture of the circuit." ]
medi_sts_stackexchange_dupe
Boot Windows without pressing F10
How can I make my laptop boot automatically from the hard drive without having to press F10 each time?
[ "Save an entire webpage, with all images and css, into just one folder and one file, with wget?", "Partner with \"traditional\" forums to support open ended discussions", "how to hide mesh but keep hair particles", "Why can't the indefinite integral $\\int\\frac{\\sin(x)}{x}\\mathrm dx$ be found?", "Which of $\\{J_0,J_1,J_2\\}$ and $\\{J_0,J_+,J_-\\}$ is a generator for the Lie algebra $\\mathfrak{su}(2)$? I have just started learning about Lie algebra in the context of quantum mechanics and got confused with this: Some sources say the generators are $J_0,J_1$ and $J_2$ and some use $J_0,J_+$ and $J_−$. Which set is correct? Or if both are correct what key concept am I missing here? My understanding is that if have certain commutation relations then we know that Lie Algebra is such and such. But if we have two such choices then this understanding falls apart? How do I figure out what is $\\mathfrak{su}(2)$ Lie Algebra in general?", "If a>0 and b>0, $ \\lim_{x\\rightarrow +\\infty } \\sqrt[x]{a^x+b^x} = ? $ What I was trying to do: Suppose a>b. Then, for sufficiently large values of x, $ a^x &gt;&gt; b^x $; so $\\sqrt[x]{a^x+b^x} \\rightarrow \\sqrt[x]{a^x} \\rightarrow a $ when $x \\rightarrow +\\infty$. Is that idea correct? How can I formalize it?", "Irfanview nearest equivalent for linux", "A story about the world split into three realms This is a series I read partially something like 15 years ago (I think). It is set in a universe with magic of some sort - I think the magic was derived from geological processes (?). One of the things I remember - which was the reason I abandoned the series - was that it grew ever more gory; when I stopped reading, one of the main protagonists was flayed alive. I only remember fragments - there were hints that the universe had been magically split into three or four parts, three relatively normal parts and The Void. I remember there was a powerful person/ruler called Tensor, and a kind of monstrous race with powerful magic, called 'Lorsk', which originated in the void and had evolved from humans that had been trapped there. I'm a bit ambivalent about reading the series again - it seemed to be a never-ending death spiral of soap operatic proportions, but I'd like to see if my impression from then was actually right.", "Use ALT to move windows in Windows like in Linux In most Linux window managers, one can use the Alt key while clicking and dragging to rearrange windows. This is one of my favorite features of Linux window managers. Is there a way to do this in Windows 7?", "Expression Functions for Lightning Web Components How can expression functions similar to Visualforce and Lightning Aura Components be achieved within lightning web components? For example, &lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt; expression index % 5 == 0 is not compyling at all. accountList.html &lt;template&gt; &lt;template if:true={accounts.data}&gt; &lt;template for:each={accounts.data} for:item='item' for:index='index'&gt; &lt;!--LWC DOES NOT SUPPORT EXPRESSION FUNCTIONS--&gt; &lt;!--&lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt;--&gt; {item} &lt;/template&gt; &lt;/template&gt; &lt;/template&gt; accountList.js import {LightningElement, wire} from 'lwc'; import getAccounts from '@salesforce/apex/TestController.getAccounts'; export default class AccountList extends LightningElement { @wire(getAccounts) accounts; } Since LWC doesn't support Expression Functions, I'd like to know how to implement them.", "How to know the motherboard BIOS version using the command line", "How do I format a number in Java? How do I format a number in Java? What are the &quot;Best Practices&quot;? Will I need to round a number before I format it? 32.302342342342343 =&gt; 32.30 .7323 =&gt; 0.73 etc.", "Transit visa requirements at Narita Airport", "Word for someone who repeats words", "Why and how can you hear explosions in space in Star Wars? Considering that sound can't travel through vacuum.", "Why are Bitmap-Fonts used automatically?", "Difference between 'such as' and 'like' This one never ceases to confuse me. When to use 'such as' and when to use 'like' while giving examples? Is there any clear rule? Metros like Mumbai, Delhi and Karachi are unsafe after dark. Metros such as Mumbai, Delhi and Karachi are unsafe after dark. (Before anyone points out, Delhi and Karachi are unsafe round-the-clock, but it's just an example.)", "How to smooth camera animation to have fluid feel? When dealing with camera motion, its very sensitive to any movement discontinuities. Is there a way to easily achieve natural looking motion when dealing with complicated motion paths and timings? Follow path animation feels too robotic unless I adjust all the keyframe easings carefully and this has to be re-done everytime the animation changes (the automatic bezier type just doesn't work).", "How should I apply brick to an interior wall?", "How to test for minimum amount of items in inventory and execute a command if true I am using the AmazingKit plugin on my Minecraft server to make inventory kits for players. In a command block I have the following command: /tellraw @p [\"\",{\"text\":\"Iron\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"_____\"}},{\"text\":\" / \"},{\"text\":\"Gold\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"_____\"}}] Which prints the following result: Iron / Gold. When a player clicks on Iron, what command should I write where the empty space is _____ in order to check if the player has at least (>=) 20 iron ingots in his inventory and if he/she does, remove 20 iron ingots and execute /kit Basic. If the player has less than 20 iron ingots in inventory, the command won't be executed. Instead, Insufficient amount of iron ingots will be printed out. Same applies when a player clicks on \"Gold\". I'm on 1.14 version" ]
medi_sts_stackexchange_dupe
How to prevent milk overflow from pan?
Can I boil milk unattended (and still keep the pan clean)?
[ "${a^2}{\\mid}({b^3} + 1)\\;$and$\\;{b^2}{\\mid}({a^3} + 1)$", "Indefinite Integral with \"sin\" and \"cos\": $\\int\\frac{3\\sin(x) + 2\\cos(x)}{2\\sin(x) + 3\\cos(x)} \\; dx $", "Detecting device for debugging (ADB) does not work", "Are PDO prepared statements sufficient to prevent SQL injection? Let's say I have code like this: $dbh = new PDO(\"blahblah\"); $stmt = $dbh-&gt;prepare('SELECT * FROM users where username = :username'); $stmt-&gt;execute( array(':username' =&gt; $_REQUEST['username']) ); The PDO documentation says: The parameters to prepared statements don't need to be quoted; the driver handles it for you. Is that truly all I need to do to avoid SQL injections? Is it really that easy? You can assume MySQL if it makes a difference. Also, I'm really only curious about the use of prepared statements against SQL injection. In this context, I don't care about XSS or other possible vulnerabilities.", "How to convert a list of string to a list of int", "Displaying row/column of point in raster using QGIS? Is it possible in QGIS to display column and row index of pixel in raster? I mean something similar to value tool.", "Finding what's using all the space in *nix Which sequence of commands will tell me which files are the largest starting from a particular directory, including all sub directories? I want to know where all the space went. Preferably just with regular unix'y commands. If possible, try to keep it compatible with Sun OS 5.10 (perhaps in addition to regular Linux answers, not as a replacement, to keep it as general as possible.)", "What do I say to make a new line when using voice recognition? I've found I can make punctuation happen by saying \"comma\", or \"period\", but I can't find the word for new line. I tried \"paragraph\", and \"line break\", but it just prints those words.", "Why do people omit the definite article? I'm used to always hearing or seeing a before certain nouns. Yet on certain occasions the article is totally omitted, and it bothers me. I'm wondering what the justification for omitting the article is, especially when the definite article would seem to be required, or if it is just bad English either on the part of the individual in question or more likely by tradition. The most frequent place I hear this is at the doctor or dentist's office. In every one I have ever visited, the receptionist or assistant always says things like \"Doctor will see you shortly\" instead of \"The doctor will see you shortly.\" The wikipedia article linked above says this: \"A definite article indicates that its noun is a particular one (or ones) identifiable to the listener\". In the case of a clinical setting, I know who the doctor is, especially if this is not my first visit. The people in the office know the doctor even better than I, so it would seem to be inappropriate to omit the article. Even the indefinite article would be incorrect. It further says, under \"Zero article\": \"In languages having a definite article, the lack of an article specifically indicates that the noun is indefinite.\" Since the noun is not indefinite, why are they omitting the article? Another place I see the article omitted is with the word \"bar\". Bartenders apparently don't say \"I tend the bar\" they say \"I tend bar\". Unless a bartender works in multiple bars, it would seem like an article would be required. Furthermore, \"the bar\" can mean any bar a person goes to, so even in a case like , it seems like the word \"the\" should be in the sentence. The only thing I can think of in this case is maybe the speaker doesn't want to confuse the listener into thinking they work in the legal field. Is this just a bad habit, a historical corruption or tradition, or is there really a valid reason (or perhaps more than one) for these omissions?", "In response to question, I started to think about what it means when a Wild Magic Surge results in a \"You cast spell-X\". So, \"specific beats general\" gives: You can cast a second spell when you would not normally be allowed to You can cast a spell you don't know If the surge forces you to cast a concentration spell you would lose any concentration spell that you currently had active Subject to what the specific entry says you can target it how you like Unless the specific entry prohibits it you could use metamagic on the spell I am pretty confident in all of the above but if anyone disagrees please address in an answer. Here comes the question. How does this impact on your available spell slots? \"You cast ...\" to me suggests that if you have an applicable slot available then you have to use it to cast the spell because that is the general rule for casting spells but if you don't then \"specific beats general\" and it is cast anyway. Specific examples: You cast fireball as a 3rd-level spell centered on yourself This must be a 3rd level spell: if you have a 3rd level slot available you have to use it? if you don't, if you have 5 sorcery points and a bonus action available must you use these to get that slot? if you don't have any of that then the spell goes off anyway? You cast confusion centered on yourself. No level specified and confusion is a 4th level spell: if you have a 4th level slot available you have to use it? if you have a 4th, a 6th and an 8th level slot you can choose which one to use? if you have only a 5th level slot but also 6 sorcery points and a bonus action, you could choose to use the 5th level slot or use the points to create a 4th level slot? if you don't have any 4th level or higher slots but you have 6 sorcery points and a bonus action available must you use these to get that slot? if you don't have any of that then the spell goes off anyway? And so on ...", "Prove that a power series $\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$ which converges for any $z \\in \\mathbb{N}$, converges for any $z \\in \\mathbb{C}$. PROBLEM Prove that a power series $\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$ which converges for any $z \\in \\mathbb{N}$, converges for any $z \\in \\mathbb{C}$. MY ATTEMPT Since the power series $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ converges for any $z \\in \\mathbb{N}$, then $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ can be considered (?) to be a polynomial in $\\mathbb{C}$. Hence, $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ is entire, and therefore continuous in $\\mathbb{C}$ (since differentiability implies continuity). It follows that $$\\sum_{n=0}^{\\infty}{{a_n}{z^n}}$$ converges for any $z \\in \\mathbb{C}$. QUESTION I am aware that, while I may have (some) ideas for a (general) proof, admittedly there are several grey areas (i.e., gaps) that need to be filled. Would you be kind enough as to fill in these gaps, by providing useful hints?", "How to embed fonts in HTML? I'm trying to figure out a decent solution (especially from the SEO side) for embedding fonts in web pages. So far I have seen , which doesn't even work on Firefox, and . The second solution is for titles only. Is there a solution available for full text? I'm tired of the standard fonts for web pages. Thanks!", "Story about space explorers who communicate but then decide they must destroy each other I'm looking for a sci-fi story or novel from many years ago where a deep space explorer encounters an alien explorer. The explorers learn to communicate; but on parting, each decides to destroy the other in order to protect his own world.", "This is about a step in a derivation of the expression for the relativistic Doppler effect. Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\\lambda_s$. The frequency $f_0$ and wavelength $\\lambda_0$ received by the observer will be different. Some textbooks now argue that the wavelength received by the observer is given by $\\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive \"crests\" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\\sqrt{\\frac{c-u}{c+u}}$ is obtained. But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\\lambda_0$ mathematically?", "Need help finding a good book on Riemann Geometry", "I remember due to misuse and I wonder if bots have a part of it. If the bot is POSTing something to my site what are ways I can combat it? I was thinking of setting some cookies and having the cookies changed via JavaScript + timestamp and sign (so yesterday's cookies can't be used today and next week). I'm sure most people/bots would just use another site instead of enabling JavaScript in their bot. What else can I do? I'm thinking daily POST limit and a honeypot for generic bots who just randomly post spam.", "In a P.I.D., if $a^m = b^m$ and $a^n = b^n$ for $m, n \\in \\mathbb{N}$ with $\\gcd(m,n) = 1$, then $a=b$ Let $R$ be a principal ideal domain, and $a, b \\in R$ with $a^m = b^m$ and $a^n = b^n$ for $m, n \\in \\mathbb{N}$, and $\\gcd(m, n) = 1$. I now want to show that we then already have $a = b$. I think the statement is easily seen to be true if $a = 0$ (or $b = 0$), since if $a = 0$ and $a^m = b^m$, then $a = b$ since $R$ doesn't contain any nontrivial zero divisors, so $b ≠ 0$ already implicates $b^m = b \\cdot b^{m-1} ≠ 0$. I don't really know how to prove the statement for the general case, where I can't directly apply the fact that $R$ doesn't have any zero divisors except $0$. I most likely have to use the fact at some point that $gcd(a, b) = 1$, but I'm not sure how.", "Related to Meta Super User efforts: and Meta Server Fault efforts: We already auto-remove negatively voted unanswered old questions automatically after 30 days, network wide, with no human intervention required. I was thinking we might extend that to remove old, unanswered zero score questions... based on the following criteria: fewer than (question age in days * 1.5) views 0 score or lower, or 1 score or lower if the original author is deleted no answers 1 comment or fewer asked more than 1 year ago (thus based on creation date, not last activity date, so , or a user editing it, does not give a doomed question 365 more days of zombie &quot;life&quot;) See the results of this query on: (10509) | (787) | (650) This query has been refined based on the comments, and this is the final version that will roll out tonight. Every site in the network (except metas) will automatically delete old questions that meet this criteria from this point forward.", "Open the default browser in Ruby In Python, you can do this: import webbrowser webbrowser.open_new(\"http://example.com/\") It will open the passed in url in the default browser Is there a ruby equivalent?", "Can I visit the US twice within a 90 day period under the Visa Waiver Programme? 2nd time is only to transfer (change terminal, not airside)." ]
medi_sts_stackexchange_dupe
What functions satisfy $f \circ g = g \circ f\ne \text{id}$?
When functions commute under composition
[ "Add an alert when answering a question that has at least a close vote as duplicate I have one feature-request with the objective of having duplicate questions with no answers: To (try to) avoid people answering duplicate questions, add an alert that says the question has a probable duplicate if it has a close vote as Exact duplicate, asking the answerer to go to the original and answer there. What do you think? My objective is letting the duplicate question exist for search purposes, but the answers centralized in the root question.", "Can we get x comment votes per y minutes, rather than one vote per 5 seconds?", "When we define the S-matrix, what are \"in\" and \"out\" states? I have seen the scattering matrix defined using initial (\"in\") and final (\"out\") eigenstates of the free hamiltonian, with $$\\left| \\vec{p}_1 \\cdots \\vec{p}_n \\; \\text{out} \\right\\rangle = S^{-1} \\left| \\vec{p}_1 \\cdots \\vec{p}_n \\; \\text{in} \\right\\rangle$$ so that $$\\left\\langle \\vec{p}_1 \\cdots \\vec{p}_n \\; \\text{out} \\mid \\vec{q}_1 \\cdots \\vec{q}_m \\; \\text{in} \\right\\rangle = \\left\\langle \\vec{p}_1 \\cdots \\vec{p}_n \\; \\text{in} \\mid S \\mid \\vec{q}_1 \\cdots \\vec{q}_m \\; \\text{in} \\right\\rangle.$$ 1) What are \"in\" and \"out\" states? 2) Are they Fock states? 3) In Schrödinger or Heisenberg or interaction representation? 4) How are they related? (I believe that I see what they handwavily represent physically, but not formally.) My main issue is that, if \"in\" and \"out\" states are one-particle eigenstates of the free hamiltonian, i.e. if $\\left| \\vec{p}_1 \\text{out} \\right\\rangle$ describes a free particle with momentum $\\vec{p}_1$, and $\\left| \\vec{p}_1 \\text{in} \\right\\rangle$ also describes a free particle with momentum $\\vec{p}_1$, then $\\left| \\vec{p}_1 \\text{out} \\right\\rangle = \\left| \\vec{p}_1 \\text{in} \\right\\rangle$ ... which is false. Still, books (some at least) describe these \"in\" and \"out\" states like that. Moreover, I have seen (e.g. in Wikipedia, but also ) that the scattering matrix is a map between two different Fock states, and I don't understand that. 5) Do states of the interacting system live in the same Fock space that asymptotic free states? 6) And if not, where do they live? Understandable references would be appreciated.", "I think this story dates from the 1950s, plus or minus a decade - I read it about 30-35 years ago in a (then) fairly old story collection. It involves explorers on a planet falling into a gelatinous object that dissolves most of their bodies except for their brains and nervous systems. About four of them fall in to the same creature, and they discover that by thinking about it they can grow limbs and other body parts. At first they try to fight each other, by growing arms so they can hit each other's brains - and one of them realises that growing a skull would be a good idea - but later they agree to grow legs and move the creature around co-operatively. I would love to identify this story.", "Sakurai QM section 5.8 If anyone is familiar with Sakurai's book, specifically section 5.8 on energy shift and decay width, I am stuck and could use some help. I can't see how he derives 5.8.9 (in the revised edition). He starts with (3) (given below), and derives (1) and (2). The equation is as follows:$$(1){\\space}{\\space}\\space{\\space}\\space{\\space}{\\dot c_i\\over c_i}\\approx{{-i\\over \\hbar}V_{ii}+{\\left(-i \\over \\hbar\\right)}^2{{{\\left|V_{ii}\\right|}^2}\\over \\eta}+\\left({-i\\over \\hbar}\\right) {\\sum_{m\\not=i}}{{{\\left|V_{mi}\\right|}^2}\\over {(E_i-E_m+i\\hbar\\eta)}} \\over 1-{i \\over \\hbar}{V_{ii} \\over \\eta}} $$ $$(2)\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\,\\approx{-i\\over \\hbar}V_{ii}+\\left({-i\\over \\hbar}\\right) {\\sum_{m\\not=i}}{{{\\left|V_{mi}\\right|}^2}\\over {(E_i-E_m+i\\hbar\\eta)}}$$ where $$(3)\\,\\,\\,\\,\\,\\,\\,\\,\\,c_i(t)=\\lim_{\\eta\\to 0}\\left({1-{i\\over \\hbar\\eta}V_{ii}}{e^{{\\eta}t}}+{{\\left({-i\\over \\hbar}\\right)}^2}{{\\left|V_{ii}\\right|}^2}{e^{2{\\eta}t}\\over 2{\\eta}^2}+\\left({-i\\over \\hbar}\\right){\\sum_{m\\not=i}{{{{\\left|V_{mi}\\right|}^2}}\\over 2\\eta(E_i-E_m+i{\\hbar}\\eta}}\\right)$$First of all, he discards all kinds of terms in the denominator of the first expression, and I can't see how he justifies this, because as ${\\eta}\\to0$, every term in the expression for $c_i(t)$ blows up (besides the 1 of course). Then he seems to multiply top and bottom by the complex conjugate of the denominator in (1), arriving at (2). He seems to discard a term from the denominator here, which is of second order in V, and says the equation is formally correct up to second order. This doesn't make sense to me! Also, soon after, he has this strange expression with $$\\lim_{x\\to 0} {1\\over(x+iε)}=Pr.(1/x)-iπδ(x)$$ What is this Pr symbol? Any help would be much appreciated!", "A commutative ring is a field iff the only ideals are $(0)$ and $(1)$", "Usually, when we see two letters put together it is to define the pronunciation or to differentiate synonyms or just its foreign origins. But some words don't seem to have any reason to double up. Why does vacuum have two of the letter U? Why does aardvark have two of the letter A? Why does llama have two of the letter L?", "When building console applications that take parameters, you can use the arguments passed to Main(string[] args). In the past I've simply indexed/looped that array and done a few regular expressions to extract the values. However, when the commands get more complicated, the parsing can get pretty ugly. So I'm interested in: Libraries that you use Patterns that you use Assume the commands always adhere to common standards such as .", "How to use San Francisco font on Windows?", "I just proved that any finite group of order $p^2$ for $p$ a prime is abelian. The author now asks to show that there are only two such groups up to isomorphism. The first group I can think of is $G=\\Bbb Z/p\\Bbb Z\\oplus \\Bbb Z/p\\Bbb Z$. This is abelian and has order $p^2$. I think the other is $\\Bbb Z/p^2 \\Bbb Z$. Now, it should follow from the fact that there is only one cyclic group of order $n$ up to isomorphism that these two are unique up to isomorphism. All I need to show is these two are in fact not isomorphic. It suffices to show that $G$ as before is not cyclic. But this is easy to see, since we cannot generate any $(x,y)$ with $x\\neq y$ by repeated addition of some $(z,z)$. Now, it suffices to show that any other group of order $p^2$ is isomorphic to either one of these two groups. If the group is cyclic, we're done, so assume it is not cyclic. One can see that $G=\\langle (1,0) ,(0,1)\\rangle$. How can I move on?", "How to get rid of OTA software update notification? I upgraded my Nexus 4 to Lollipop a few days ago but I don't like it. I'll leave out my reasons because they're not relevant here. I wiped my phone and installed a clean stock 4.2.2 version instead. I'm happy with this. Not long after, Android automatically downloaded the 4.3 upgrade and notifies me with the choices \"Later\" and \"Install\". I don't want to do this upgrade. How do I: get rid of the notification, and remove the downloaded update (to free up precious storage space). I have already tried choosing \"Later\" but the same notification immediately reappears. Based on Google search results, I also tried going to Settings &gt; Apps &gt; All &gt; Google Services Framework and unticked \"show notifications\" but it still appears. Force stop or disable also doesn't seem to help, so I've re-enabled the service including notifications. I didn't see any other apps in this list that sounded relevant - did I just not see it?", "When you are writing Selenium/WebDriver automation scripts you will probably run into the exception NoSuchElementException. You think your selector is working, but somehow the element cannot be found. What strategy should I take to analyse different reasons that this might be the case? What should I research and how? Good answers would contain example situations and how to resolve them. (e.g. verify selectors, frames, waiting, etc)", "I'm still a newbie with Linux but I'm trying to learn. I have two USBs, one is 4GB and has the ISO install of Ubuntu (I think it's called live, the one with maximum of 4GB of permanent storage) and got a 64gb usb to make a permanent full install on it. I installed it following tutorial and everything looks fine (I had to create the EFI partition with the Terminal though) but it just won't boot, the live install boots without problems. I'm using the school's computers which have the UEFI menu password protected so I can't access that and I won't have a laptop for like 3 weeks (main reason why I'm doing this). I tested it with a friend's laptop disabling the Secure boot but it still wouldn't boot. I also saw that some tutorials don't add the EFI partition so I tried without that one and still won't work. And I know it's not the 64GB usb not booting because I had a live install on it too before and it booted fine. Please, I have been trying to make it work for two days now, any ideas? I can barely understand this stuff so if you could explain step by step that would be awesome.", "This poor creature is taken aboard the spaceship and the humans do not know that it is intelligent. The alien can repeat what it hears, e,g, \"pass the sugar\". It is able to escape at night and it communicates messages to its fellow aliens. It directs that they turn up the heat of the atmosphere (somehow they can do this) so as to force the humans to leave. The alien protagonist states that it will die w/ the humans or leave with them.", "Sum of the series $1+\\frac{1\\cdot 3}{6}+\\frac{1\\cdot3\\cdot5}{6\\cdot8}+\\cdots$", "Is there a word for people who always act too friendly in order to curry favor with their acquaintances? Is there a single noun or adjective for a person who is always flattering friends and acquaintances, not only to be liked and accepted but, at other times, to curry favor with them as well ? I'm not looking for regionalisms but a word that will be understood in any English speaking country.", "Sneak Attack has the same type , this is easy, unless there are multiple damage types. A Flame Tongue does slashing (or piercing) damage, and fire. Can I chose the Sneak Attack damage in this case to be fire too?", "Compiling LaTeX document empties .bbl file I'm trying out biblatex for the document I'm compiling, using the biber backend on my miktex distribution. Everything, including biber, should be up to date, assuming the MiKTeX repository currently holds the latest versions of everything. This is what the biblatex documentation (p. 101) says about how often I have to run biber to update my .bbl file: Whenever a reference to a work which has not been cited before is added, this procedure must be repeated. This is also the case if the last reference to a work which has been cited before is removed because some citation labels may change in this case. So if I make changes to my document (which is a very common activity in the process of writing a document), but leave the citations unchanged, I should not have to re-run biber before compiling the changes. However, every time I compile my document, regardless of the compiler or documentclass, the .bbl file is emptied. Consequently, the next time I compile the document without running biber, the bibliography is removed (seeing as the .bbl file contains nothing), and all my citations are broken. For this reason, I have to run biber before every time I compile the document, which largely counters the benefit of externalizing the bibliography in the first place. How can I make the compilers stop overwriting my .bbl file and make everything behave as described in the biblatex manual? Upon investigating the contents of the auxiliary files, I found that the .bbl file (after running biber, before compiling) begins with the following lines: % $ biblatex auxiliary file $ % $ biblatex bbl format version 2.3 $ Does the biblatex version 2.8 still mark the .bbl files as version 2.3? If not, could this be the problem? And if so, why does my 2.8 version of biblatex (partly) behave as version 2.3? Any help solving this problem would be much appreciated.", "Progressive Draw 2 and Draw 4 Uno When playing with progressive Draw 2 and Draw 4 and (say that there are 2 players playing) and Player 1 goes out with a Draw 2 Player 2 puts down a Draw 2 Does player 1 have to pick up 4 cards?", "Which spells or abilities are affected by things that care about targeting? Note: this is intended to be a canonical question about whether or not a spell or ability targets so there are multiple sub-questions. Can Hexproof or Shroud save my creature from ? What about a that was cast for it's Overload cost? Does shroud prevent me from using the Monstrosity ability of a creature, or from giving it more counters with Proliferate? Can I cast an Aura Enchantment on one of my creatures with Shroud, or an opponent's creature with Hexproof? Or can I use the Equip ability to attach an equipment to one of my creatures with Shroud? Will 's ability trigger when my opponent plays ? And will I have to sacrifice my if my opponent casts ? Will Shroud or Hexproof prevent an opponent from choosing me with 's ability? Will Hexproof keep one of my creatures from being affected by ? If an Aura or Equipment is attached to a creature with Hexproof, does the Hexproof protect the attached permanent?" ]
medi_sts_stackexchange_dupe
Proving isometries of the plane are bijective
Prove that every isometry on $\mathbb{R}^2$ is bijective
[ "Have Google index different languages at the same URL instead of just the default (English) I have a multilingual PHP site. I have set English as the default language. The language changes automatically according to the browser settings. If it is French, the site will be seen in French. However in the Google search results, even if I have the browser in French, the English language appears in the results. How can I fix that? To be clear I don't want to use subdomains or URLs like www.example.com/fr/. I would like it to work like Facebook.", "After using `networksetup -setdnsservers Wi-Fi \"8.8.8.8\" \"8.8.4.4\"` how do I clear them? I'm looking to script a temporary DNS server change to override the DHCP response I get from the network. I've figured out I can use networksetup but once we're done testing. Before I push to production, I figure I should know how to undo this. How can I script to clear these changes and restore the settings the network provides now as if I never ran the following script? networksetup -setdnsservers Wi-Fi \"8.8.8.8\" \"8.8.4.4\" It's not feasible to save any the previous settings and I'm looking to remove the setting so that the actual new values can be retrieved from the network as opposed to saving what the settings were previously so I don't save an old value that is no longer correct. Basically, I'm looking to ipconfig /renew on macOS.", "About two weeks ago I had a problem with my PC that my brother wrote a question about at . I still haven't solved the problem, so my PC is unusable now. Now I think that it would be simpler to re-install both Win7 &amp; Ubuntu than repair them, but there're some data on their partitions. I want to recover this data. These partitions are not mountable for some reason. I don't know why. sudo fdisk -l about the problematic partitions: Device Boot Start End Blocks Id System /dev/sda1 2048 147912703 73955328 83 Linux /dev/sdb2 206848 174079999 86936576 7 HPFS/NTFS/exFAT And in GParted: And the error of the mount command: Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? And the exact same message for /dev/sda1 How can I recover my data from those HDDs? EDIT I have tried to specify the type of the drive: $ sudo mount -t ext4 /dev/sda1 /olddisk mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so $ sudo mount -t ntfs /dev/sdb2 /olddisk NTFS signature is missing. Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? EDIT sudo ntfsfix /dev/sdb2 returns: Mounting volume... NTFS signature is missing. FAILED Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error Volume is corrupt. You should run chkdsk.", "Connectedness in the Quotient Space", "Exclude lstinputlisting I want to save paper when I print my LaTeX file. That's why I want to hide all my code, inserted wtih lstinputlisting{} I already know how to exclude tables and images or math but the lstinputlisting{} is a problem. Hope someone can help me \\usepackage{comment} \\excludecomment{figure} \\let\\endfigure\\relax \\excludecomment{table} \\let\\endtable\\relax \\excludecomment{align*} \\let\\endalign\\relax \\excludecomment{lstlisting} \\let\\endlstlisting\\relax edit: added lstlisting", "Collapsible fieldsets error for previous dates", "How can I prove $\\sup(A+B)=\\sup A+\\sup B$ if $A+B=\\{a+b\\mid a\\in A, b\\in B\\}$ If $A,B$ non empty, upper bounded sets and $A+B=\\{a+b\\mid a\\in A, b\\in B\\}$, how can I prove that $\\sup(A+B)=\\sup A+\\sup B$?", "I don't know so much about coordinate systems... In my office we use to deal with spatial data coming from archaeological sites. Each site has its own x-y-z coordinate system (GCS). Three simple ortogonal cartesian axis. In the last years we have been managing this spatial data through GIS software (ArcGIS), without using specific coordinate system (just leave it as \"undefined\") I'd like to know if there exisits any GCS designed to deal with such datasets using simple cartesian orthogonal axis, without grid distortions of the typical GCS. In addition, I'd like to know if this system is suitable for using it in an online mapping application. By the way, we manage 2D (ArcMap) and 3D (ArcScene) environments and work with \"mm\" as length base unit. If such a thing doesn't exists, maybe someone knows how to create it.", "How to redirect STDIN of background process? In my Ubuntu, i run java application in background. I use bash script to run it and now it looks like: nohup java -jar app.jar &amp; exit 0 The problem that i want to be able to write an input string to my application, without making it foreground, from different terminals/sessions. Something like echo \"mytext\" &gt; /appdir/in How should i change my script?", "What is wrong with this fake proof $e^i = 1$? $$e^{i} = e^{i2\\pi/2\\pi} = (e^{2\\pi i})^{1/(2\\pi)} = 1^{1/(2\\pi )} = 1$$ Obviously, one of my algebraic manipulations is not valid.", "I made a hair particle system and set the Dupli Group to a group of 3 objects. Each of the 3 objects has: it's origin set to be touching the XY plane (on layer 2) it's Scale applied to 1 and it's Rotation applied to 0 I am trying to get each of the objects to sit directly on top of the ground, but instead, they are centered in the plane, half above the plane and half below the plane: What am I doing wrong? Here is .", "Spice containers purchase I'm planning on upgrading my spice storage. Reading some advice online (e.g. , and ) I came to the conclusion that spice containers should: Not be exposed to direct sunlight and high temperatures Be airtight Which means that either you store it inside of some closed cupboard/wardrobe/room or you have containers which do block light and are in a relatively shady place. And the containers need to be airtight. Available solutions I've been browsing for some containers available online in my country and the 2 most sensible options I've seen are these: The problem The first one is hermetic (it has some rubber around the lid) but it's clear glass. The other one does not have the rubber, just a regular twist-off lid, but it's amber glass. It'll be hard for me to find any space inside of cupboards to store all of my spices (I need at least 30), so I'd rather buy amber glass container, which I believe will effectively block the sunlight, even when kept on the counter. But I can't find any hermetic amber-glass containers, only ones with regular lid. The question Is that regular twist-off lid enough to keep spices airtight and fresh? Or should I focus on buying a hermetic container (like the one in clear glass). I could then for example paint them black to block the sunlight.", "jQuery 1.9 checkbox not checked second time after once it unchecked", "SharePoint search not showing any results when searching partial name such as \"frank\" I have search service application configured. Suppose my first name is \"frankmartin\" (no spaces) When I search \"frankmartin\" then it displays search results in both \"People\" and \"Site\" search. But when I search \"frank\" it doesn't display any search result. Why is that? EDIT I am not using advanced search and have made this search results page using those search web parts which you can add in page to display results.", "XGBoost Loss function Approximation With Taylor Expansion", "I wanted to remove and reinstall the software-center package. I removed it, but now I can't reinstall. I tried these commands without success: sudo apt-get update sudo apt-get install software-center How can I reinstall software-center? When I performed the install command this is what I got: $ sudo apt-get install software-center Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate", "Why doesn't grep using pipe work here?", "I know that there is no vector space having precisely $6$ elements. Does every set have a group structure?", "What exactly is voltage? Bit of a strange question, but what is it? My physics teacher said it was kind of like a \"push\" that pushes electrons around the circuit. Can I have a more complex explanation? Any help is much appreciated.", "Determinant of a block lower triangular matrix" ]
medi_sts_stackexchange_dupe
Under what circumstances would a University revoke a student's degree?
Can a university retract a degree for actions taken after the degree is awarded?
[ "Plot $|z - i| + |z + i| = 16$ on the complex plane", "Cauchy-Product of non-absolutely convergent series While grading some basic coursework on analysis, I read an argument, that a Cauchy product of two series that converge but not absolutely can never converge i.e. if $\\sum a_n$, $\\sum b_n$ converge but not absolutely, the series $\\sum c_n$ with $$c_n= \\sum_{k=0}^n a_{n-k}b_k$$ diverges. Although we didn't have any theorem in the course stating something like this, it made me wonder if it was true.", "How do airlines determine ticket prices?", "How to generate multiple maps where one highlighted attribute changes? I have a layer that contains counties within the state of Washington. I need to build one map (jpg) for each county. For that specific map all counties will show as light grey, but the specific county will be green, and the file name will be the county name.", "I am able to produce a standard length \\sim with a tiny S above it, but I would like the \\sim tilde to be longer (maybe one and half times as wide as a capital letter). Any tips on how to change the width/length of \\sim?", "Number of Pairs of Subsets Find the number of Pairs $(A,B)$ of subsets of $[n]$ such that $A ⊆ B$? I just need clarification in my thought process. My professor's wording at times can through me off. I just want to know if I am on the right track. We will have $3$ regions: 1.Outside $B$ 2.Inside $A$ 3. Inside $B$, Outside $A$ I believe the number of pairs is $3^n$ but I am not sure. Any help would be appreciated.", "I'm creating a model for a 3D game that will eventually be exported using a custom Python script. This model makes heavy use of UV textures. However, the project now references a bunch of images that are not used by any objects in the project. Example: I don't want the first two, or the red_bubble.png image. However, I have no idea how to remove them from the project. Selecting one of them reveals that there are \"2 users of the data\" although I am not using it anywhere. How can I get rid of these excess images?", "Changing deleted partition back to NTFS without having to recover to another drive Recently, I accidentally deleted a partition off of my external hard disk. I had a copy of Minitool Power Data Recovery left over when the same drive had become RAW about a year ago. When I selected lost partition recovery, it immediately identified my deleted partition and allowed me to access and recover the files that were there. My question is this. Is there any way to change the deleted partition back to NTFS without having to have a drive that you need to recover the files to and then move them back after formatting, as I don’t have any space left on either the computer or on my other external hard drive, so that I don’t need to buy a new one. The files on the disk were really important. I am using Windows 7 Home Premium. I appreciate any help in solving this crisis.", "Ubuntu Server 18.04 LVM out of space with improper default partitioning", "Show that if $a$ and $b$ are positive integers with $(a,b)=1$ then $(a^n, b^n) = 1$ for all positive integers n Hi everyone, for the proof to the above question, Can I assume that since $(a, b) = 1$, then in the prime-power factorization of a and b, they have no prime factor in common, when they are taken to the $nth$ power, they will still have no prime factors in common, and so $(a^n, b^n) = 1$ for all positive integers n. I think I'm jumping to conclusions here again, if so, leave some tips on how to do the proof properly, thanks :) And also, I do not know how to approach the reverse problem where if $(a^n, b^n) = 1 then (a, b) = 1$, any guidance will be much appreciated!", "Apparently, the Fisher analysis aims at simultaneously maximising the between-class separation, while minimising the within-class dispersion. A useful measure of the discrimination power of a variable is hence given by the diagonal quantity: $B_{ii}/W_{ii}$. I understand that the size (p x p) of the Between (B) and Within-Class (W) matrices are given by the number of input variables, p. Given this, how can $B_{ii}/W_{ii}$ be a \"useful measure of the discrimination power\" of a single variable? At least two variables are required to construct the matrices B and W, so the respective traces would represent more than one variable. Update: Am I right in thinking that $B_{ii}/W_{ii}$ is not a trace over a trace, where the sum is implied, but the matrix element $B_{ii}$ divided by $W_{ii}$? Currently that is the only way I can reconcile the expression with the concept.", "My WiFi adapter is not working at all, how to troubleshoot?", "What is the correct way to completely remove an application? I've searched the net for such information and found different command lines, like these ones: sudo apt-get remove application sudo apt-get remove application* sudo apt-get remove --purge application sudo apt-get remove --purge application* sudo apt-get purge application sudo apt-get purge application* So, what is the correct way? Is it necessary to use that \"*\"? After that, I also found these commands: sudo updatedb sudo locate application sudo rm -rf (file/folder name)", "I just bought a new MTB and am planning to change my previous MTB into a Road Bike. How do I do it? What kind of parts do I need to change or add or remove? I am not looking to for a full conversion into specialised road bike. But like the answers are suggesting, I am looking for a bridge between commuter or road bike. My majors concerns to be met are: Should be fast enough to compete with road racers over short distance Should be light as a road Should be as close as possible in as cheap as possible.", "A matrix inside a table Possible Duplicate: I am trying to insert a matrix inside a table, and I am looking for a good way to do this. Usually when I write matrices in equations, I use array environment, so I naively defined an array inside tabular, and it sort of works. The only problem is that the matrix itself seems to take up a huge amount of space inside the cell. An example is \\begin{tabular}{|c|c|} \\hline \\textbf{EKF} &amp; \\textbf{UKF}\\\\ \\hline $Q = \\left[ \\begin{array}{cc} 0.1 &amp; 0 \\\\ 0 &amp; 0.1 \\end{array}\\right]$ &amp; $Q = left[ \\begin{array}{cc} 0.01 &amp; 0 \\\\ 0 &amp; 0.01 \\end{array}\\right]$\\\\ \\hline $R = 5 \\times 10^{-3}$ &amp; $R = 5 \\times 10^{-5}$ \\\\ \\hline \\end{tabular} Is there any way to increase the spacing in the cell containing the matrix without that matrix taking up all the space?", "SQL query or method to list all sql services running This might be a simple one, but i searched a lot and unable to find one. Is there a sql query or a way i can run on registered server to find the list of all sql related services running like, ssis , ssas, ssrs, sql, agent, broswer, etc... Tried googling out and can find sys.dm_server_services dmv but it does not show all the services running", "Using jQuery, how do I change the elements html value? (div) Using a ajax request I want to change content of my div. &lt;div id=\"d1\"&gt;202&lt;/div&gt; So I want to change the content to a different number. $('d1').InnerText??? Also, say I wanted to increment the number, how could I do that? Do I have to convert to int?", "How old is Chewbacca? How old is Chewbacca, anyway? Do Wookiees get gray fur when they are old?", "Evaluating $\\int\\limits_0^{\\pi} \\frac{dx}{1+2\\sin^2x}$ After making u substitution two times, I am getting indefinite integral as $$\\int\\limits\\dfrac{dx}{1+2\\sin^2x} = \\dfrac{\\arctan(\\sqrt{3}\\tan(x))}{\\sqrt{3}}+ C$$ I am stuck at working the bounds because I am getting $0$ but the answer needs to be $\\pi/\\sqrt{3}$. I think $\\arctan(x)$ is defined in $-\\pi/2 \\lt x\\lt\\pi/2$ while making u substitution. However I don't see how to use this observation to my advantage. Can anybody help in getting the answer and understanding whats going on. Thanks !", "How can I dynamically unload a javascript file?" ]
medi_sts_stackexchange_dupe
mysql_fetch_row() error but why
mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource
[ "How to prove $(-3) \\times (-4) = 12$? How to logically understand the multiplication of two integers ? Eg: 3 x 4 = 12 (is understandable) -3 x4 = -12 (is also somewhat understandable) But , 3 x -4 = -12 (is NOT understandable) -3 x -4 = 12 (is also NOT understandable) Now , at this we must assume that commutative property may not be true . What is the logical explanation for something being multiplied negative times ?", "Let $C$ be the Banach space of all complex continuous functions on $[0,1]$ endowed with the supremum norm. Let $B$ be the closed unit ball of $C$. Does there exist a $\\Lambda\\in C^*$ for which $\\Lambda (B)$ is open? Note that $C$ is a locally convex space and $B$ is convex, balanced and closed set, by the separation theorem of convex sets,we know there exists $\\Lambda\\in C^*$ such that $|\\Lambda f|\\leq 1$ for all $f\\in B$ and $|\\Lambda f|&gt;1$ for $f\\in B^c$. But how about this when we consider some concrete space above?", "Joining Excel table to shapefile in ArcMap? I have a shapefile of lower layer super output areas (LSOA) for England and Wales and I have a spreadsheet of the indices of deprivation for each of the LSOA's in England. I want to join the deprivation data to the shapefile so it can be mapped in ArcMap. I tried joining the table through the Join and Relates > Join option and put in the fields for the LSOA data for both shapefile and spreadsheet (the data that matches). the attribute table added the datafields to the attribute table from the excel spreadsheet but all of the data is blank!! I have tried looking at the field \"type\" as ive read that it has been an issue before but it seems to be OK. Is there anything anyone can suggest?", "It is possible to migrate a question from one Stack Exchange site to another by closing, but if I have a question that I think is on-topic for multiple Stack Exchange sites, is it OK to post it on both (multipost)? For example, I have a question that's earned me the tumbleweed badge on SO and I'm not sure what the best thing to do with it is. It's about a web server so it might be answerable on Server Fault but it's really more of a programming thing, hence the posting the question on Stack Overflow. Is there any way to make the question visible on multiple sites (crosspost) and then accept the answer wherever it came from?", "Area 51 layout breaks when zoomed to 90%", "Having recently introduced an overload of a method the application started to fail. Finally tracking it down, the new method is being called where I did not expect it to be. We had setValue( const std::wstring&amp; name, const std::wstring&amp; value ); std::wstring avalue( func() ); setValue( L\"string\", avalue ); std::wstring bvalue( func2() ? L\"true\", L\"false\" ); setValue( L\"bool\", bvalue ); setValue( L\"empty\", L\"\" ); It was changed so that when a bool value is stored we use the same strings (internal data storage of strings) setValue( const std::wstring&amp; name, const std::wstring&amp; value ); setValue( const std::wstring&amp; name, const bool&amp; value ); std::wstring avalue( func() ); setValue( L\"string\", avalue ); setValue( L\"bool\", func2() ); setValue( L\"empty\", L\"\" ); &lt;&lt; --- this FAILS!?! The problem with L\"\" is that it is implicitly casting and previously it was happy to be a std::wstring, but not it prefers to be a bool. The MSVC compiler does not complain, or raise warning, so I'm worried that even if I \"fix\" the setValue( L\"empty\", L\"\" ); to be setValue( L\"empty\", std::wstring() ); somebody else may come later and simply use setValue( L\"empty\", L\"\" ); and have to track down this issue again. We thought to use explicit on the method but it is not a valid keyword for this usage. Is there some way to get the compiler to complain about this, or otherwise prevent the issue? Otherwise I'm thinking to change the name of the method which takes a bool to ensure it can't make an incorrect guess.", "Syntax highlighting with less, trouble with lexer I have installed python-pygments and using it for syntax highlighting with less as described by mankoff I put a function in my .bashrc cless () { pygmentize -f terminal \"$1\" | less -R } it is enabling syntax highlighting with less. But when I am going to open a file like /etc/fstab or /etc/apt/apt.conf a error saying Error: no lexer for filename '/etc/apt/apt.conf' found I found option to show pygmentize the lexer with -l at this . But what will be the appropriate lexer for such files? and how to use it?", "For wall-sized graphics and large banners (e.g. 3m × 5m), what is an acceptable PPI for print? As I understand it 300 ppi is the typical for 'small' artworks (esp. for clean text resolution). However, for small artworks, the audience usually engages at a much closer distance. Therefore, in the interests of keeping a bitmap file down to a reasonable size, can you get away with a much-reduced PPI for a large format/banner print?", "Change \\textwidth and \\textheight in mid-document", "\"Firstly\" or \"first\"?", "I am trying to INSERT INTO a table using the input from another table. Although this is entirely feasible for many database engines, I always seem to struggle to remember the correct syntax for the SQL engine of the day (, , , , and ). Is there a silver-bullet syntax coming from an SQL standard (for example, ) that would allow me to insert the values without worrying about the underlying database?", "How to show that for all k, $k! \\ge (k/2)^{k/2}$", "Finding a formula to sum natural numbers up to $n$ Possible Duplicate: I got this question in homework: Find an expression for the sum ‫‪ $\\sum k = 1 +\\cdots + n‬‬$. and prove it using an induction. I'm not even near finding the expression. What I did notice is that if $n$ is (for example) 5 then the sum would be $5^2 - 4^2 + 3^2 - 2^2 + 1^2$ So the first number is always positive and from there on the sign changes. Any tips on how do I contintue from this point on, assuming I'm in the right direction? Thanks!", "Can graduated Stack Exchange sites get closed too?", "How can I download an APK file from the Play Store?", "Can the Dispel Magic spell be Readied to counter an opponent's spell? When playing as a spellcaster, is it valid the use of the Ready action to prepare Dispel Magic to counter a spell cast by an opponent? In the same vein, when declaring said action, do I have to specify which spell slot I will use when Readying the Dispel Magic spell? If that is the case, does this tactic nullify an opponent's spell? I get the impression that this is basically turning Dispel Magic into a spell with a casting time of &quot;1 reaction&quot;. Is my reading of the rules accurate?", "Is it possible to create a geocoding and reverse geocoding service based on the shapefiles data", "Xubuntu 18.04 Persistent Live USB: Will persistence be carried upon full installation to a machine? I've created an Xubuntu 18.04 persistent live USB stick and installed several softwares for web development, such as XAMPP, Sublime Text 3, Google Chrome, etc.. I did some configurations as well in the ~/.bashrc file. I am wondering if these installation and configuration in my persistent live USB stick be carried over in a full installation in to a new machine using it.", "CSS two divs next to each other I want to put two &lt;div&gt;s next to each other. The right &lt;div&gt; is about 200px; and the left &lt;div&gt; must fill up the rest of the screen width? How can I do this?", "Is any divergence-free curl-free vector field necessarily constant?" ]
medi_sts_stackexchange_dupe
How do I change the number on the end of a animated render?
How to keep Blender from adding frame numbers to output filename?
[ "Are there systems in classical mechanics that are provably non-deterministic?", "Can I see why a package is installed?", "Entire function and the series of its successive derivatives I recently came across the result that if $g$ is holomorphic in a neighbourhood of a point $z_0$ and $$\\sum_{n=0}^{\\infty }{g^{(n)}(z_0)} $$ converges then $g $ is an entire function. Now, my doubt is if the above series is absolutely convergent then can we say something more about $g$, like say $g$ is a polynomial? I could not find any non-polynomial entire function( I tried with functions like $e^z$, $\\sin z $, et al), whose successive derivatives converge absolutely as series. Any help please?", "I never dealt with Android devices before so I'm completely newbie at it, please comment if something is too simple. Say I purchase , that has got Android Froyo 2.2 installed in it. If there is a new version of Android released tomorrow or next month, will I be able to update it (like I will be able to update my iPod Touch 4 to iOS 5)?", "Why bother with the dual problem when fitting SVM?", "Can someone explain collection_select to me in clear, simple terms?", "How do I show that a two-qubit state is an entangled state? The Bell state $|\\Phi^{+}\\rangle = \\frac{1}{\\sqrt{2}}(|00\\rangle + |11\\rangle )$ is an entangled state. But why is that the case? How do I mathematically prove that?", "How do I get \"restart\" option in the shutdown menu in Unity? The dropdown menu I get when I click on the gear link in the top right corner only shows these options: Lock Computer Logout Suspend Hibernate Shutdown There is no \"restart\" or \"reboot\". How can I make that option available? Bonus question: Can I remove Hibernate, Lock, and Suspend?", "How to prove that the set $A = \\left\\{ {p:{p^2} < 2,p \\in {\\Bbb Q^+}} \\right\\}$ has no greatest element? More specifically, I have to find a $q$ in $A$ such that $q$ is larger than any $p$ in $A$. The only thing I can think of is using (${2 - {p^2}}$) somehow, or ${(p+x)^2}&lt;2$, but other than that I don't know how to proceed. This exercise is taken from the very first chapter of Walter Rudin's Principles of Mathematical Analysis. Quoting the exercise: To do this, we associate with each rational $p &gt; 0$ the number: $$q = p - \\frac{{{p^2} - 2}}{{p + 2}} = \\frac{{2p + 2}}{{p + 2}}$$ But he didn't explain how he came up with that number. The only thing I've thought of is the following procedure: $$\\eqalign{ &amp; {p^2} + (2 - {p^2}) = 2 \\Rightarrow {p^2} + (\\frac{{2 - {p^2}}}{2}) &lt; 2,{\\text{ and since }}2 - {p^2}{\\text{ is always positive,}} \\cr &amp; {p^2} &lt; \\left[ {{p^2} + (\\frac{{2 - {p^2}}}{2})} \\right] &lt; 2 \\cr &amp; {\\text{Therefore, let }}q = \\sqrt {{p^2} + (\\frac{{2 - {p^2}}}{2})} ,{\\text{ then:}} \\cr &amp; p &lt; q &lt; \\sqrt 2 \\cr} $$ However, my result doesn't necessarily belong to ${\\Bbb Q}$. I wonder how did he obtain the value of $q$ in the book. EDIT: Feel free to point out if there are more appropriate tags for this question.", "I set up a micro instance (Ubuntu, 32 bit) and assigned an elastic IP (23.23.245.104) Public DNS: ec2-23-23-245-104.compute-1.amazonaws.com I successfully ssh'ed to the machine and installed nginx. Then I edited the server_name attribute in nginx's config file (/etc/nginx/sites-available/default) server_name ec2-23-23-245-104.compute-1.amazonaws.com; Restarted nginx and hit but got a \"could not connect\" error. What did I forget to do? Thanks", "Why does $\\lim_{n\\to\\infty}(1+\\frac{1}{n})^n = e$ instead of $1$? On Wikipedia, it says that $\\lim_{n\\to\\infty}(1+\\frac{1}{n})^n = e$ : It [e] is approximately equal to 2.71828,[1] and is the limit of (1 + 1/n)n as n approaches infinity, ... () When I evaluate $(1+\\frac{1}{n})^n$ for $n = 10^8$, I get approximately $2.718281798347$ which indeed is pretty close to $e$. But when I try to \"solve\" the limit using the laws of limits, I get $$\\lim_{n\\to\\infty}\\left(1+\\frac{1}{n}\\right)^n = \\left(\\lim_{n\\to\\infty}\\left(1+\\frac{1}{n}\\right)\\right)^n$$ because of the power law $$ = \\left(\\lim_{n\\to\\infty}(1)+\\lim_{n\\to\\infty}\\left(\\frac{1}{n}\\right)\\right)^n$$ because of the addition law $$=\\left(1+0\\right)^n = 1$$ but that would mean that $e=1$, which is obviously not true. What am I missing / doing wrong? Thanks in advance.", "I can't get into my field research prize", "Is there a constraint that restricts my generic method to numeric types? Can anyone tell me if there is a way with generics to limit a generic type argument T to only: Int16 Int32 Int64 UInt16 UInt32 UInt64 I'm aware of the where keyword, but can't find an interface for only these types, Something like: static bool IntegerFunction&lt;T&gt;(T value) where T : INumeric", "Monochromatic squares in a colored plane", "I run into this infinite product today. I don't have that much experience evaluating products therefore I don't have any idea of how to tackle this. Here is the question. Evaluate (if possible) in a closed form the product: $$\\Pi = \\prod_{n=1}^{\\infty} \\frac{1}{1+\\pi^{{\\large \\frac{1}{2^n}}}}$$ The numerical value seems to be $\\Pi= 0.534523$ which is very close to $\\frac{\\pi}{6}$ taking into account that $\\frac{\\pi}{6} \\approx 0.523598$. In the mean time W|A evaluates it to $0$. I'm lost. Can the community help? Edit: Based on the answer we have two products. The product I asked tends to zero and the bonus product provided by @you're in my eye (thanks for that) is $\\frac{\\ln \\pi}{\\pi-1}$. Thanks for the quick response.", "I can't install or update Apps from Play Store: Error 905. How to fix? Suddenly (after a Play Store update?) I can't install or update any Apps. I always get error code 905 when I try to do so. How can I fix this?", "\"Images with street signs\" CAPTCHA impossible to solve", "Derivation of binomial coefficient in binomial theorem. How was the binomial coefficient of the binomial theorem derived? $$\\frac{n!}{k!(n-k)!}$$", "How can I escape special HTML characters in JSP?", "EL expressions not evaluated in JSP" ]
medi_sts_stackexchange_dupe
Is there a class for typesetting novels?
LaTeX template for typesetting a novel
[ "pgfplots external with large dataset (lualatex?) I have fairly large datasets with densely strucutred data that i cant downsampe much without loosing structure. I use TexMaker on Ubuntu 14.04LTS. I use \\usepackage{tikz,pgfplots,pgfplotstable} \\pgfplotsset{compat=1.9} \\usepgfplotslibrary{external} \\tikzexternalize and \\tikzsetnextfilename{figs/test1} to externalize the figures. This works good compiling with pdflatex -shell-escape. But as the data becomes to large I am out of memory. I am trying to compile using LuaLaTeX -shell-escape instead of pdfLatex but get the following error message: ! Package tikz Error: Sorry, the system call 'pdflatex -halt-on-error -interact ion=batchmode -jobname \"figs/test1\" \"\\def\\tikzexternalrealjob{article}\\input{ar ticle}\"' did NOT result in a usable output file 'figs/test1' (expected one of . pdf:.jpg:.jpeg:.png:). Please verify that you have enabled system calls. For pd flatex, this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or something like that. Or maybe the command simply failed? so pgfPlots seem to call pdfLatex without the appropriate -shell-escape flag and without me specifying it. How can i get this to compile in LuaLatex? or can i compile only the figures in LuaLatex and the rest in pdfLatex (the opposite of what is happening now)? I found and example but neither helped me... Thankfull for help and i am also thankful for any general advice that can help me resolve the problem of ploting larger data sets in pgfplots. Cheers /J", "What is the electric charge of the Sun and its corona?", "Alt-Tab shows two application switchers on Unity I started to have problems with my Ubuntu application switcher (Alt + Tab) this morning. When I press Alt + Tab, not only one, but two application switchers show up. Last night I customized some stuff using the Unity Tweak Tool. I thought I didn't touch the application switcher. So now it looks like this:", "How do I share an ethernet connection via wifi on Windows 8? I have a Windows 8 laptop that is connected to a router via Ethernet. I want to make the laptop act like a wireless router via wifi so that other devices could connect to the computer using wifi and gain access to its Ethernet internet connection. How do I do something like this?", "I would like to travel in the USA for a period of 3 - 6 months. But I want to spend some time working for my employer (remote work) and getting paid by the employer. Is this possible under a tourist visa (B1/B2)? I hope this is OK since I will not be getting paid by a US employer. I am in the IT trade so all that I will be needing is my own laptop and a connection to the internet. The money I earn would actually help me pay for the expenses I get during the holiday.", "A mysterious app named &quot;10102&quot; shows up in my data usage. It bears only the standard Android app icon (the Bugdroid logo with a cube on its torso). From what the graph tells me, it has used 36 megabytes of data in the background and zero on the foreground. I think I haven't uninstalled anything for months. Is it malware? I haven't sideloaded anything and only authorized my laptop as a USB debugger. If it's malware, how do I remove it? I have no idea how to find its package name and 10102 isn't in the list of downloaded apps in settings. I'm running stock &amp; never-been-rooted Android 4.4.4 on Nexus 4.", "I've taken some stock photography of lots of clear bottles, and now want to remove the background (which is white-ish, because at a pinch I could leave it...) so that the bottle becomes transparent with highlighting. My bottles are clear with different colored liquids with multiple refraction and reflection surfaces. I am looking for a background color subtraction effect that will allow me to get to transparent (hopefully with some sort of effect/opacity slider). Ideas that I can't pull off yet: Combine layer with a color fill layer (keyed off the \"transparent color\") in some manner to produce some output that could be used as the starting point of a layer mask Same layer combination as above, but somehow translating \"pure white\" to transparency. Notes for what doesn't work (Photoshop terminology): \"Color Range\" and delete (fuzzy select, but not graded/alpha) - results in harsh lines and only leaves the pure white and dark highlights and shadow refractions/reflections Magic wand selections for the same reason \"Background Eraser\" because although it is able to only subtract a certain color and leave \"the rest\", it (like all tolerance based tools) eventually hits a colour slightly outside of the range that it just won't touch. I'll add more if I can remember what I've found", "Prove if $|a_{n+1}|/|a_n| \\leq |b_{n+1}|/|{b_n}|$ and $\\sum |b_n|$ is convergent, then $\\sum |a_n|$ is convergent", "How discontinuous can a derivative be? There is a well-known result in elementary analysis due to Darboux which says if $f$ is a differentiable function then $f'$ satisfies the intermediate value property. To my knowledge, not many \"highly\" discontinuous Darboux functions are known--the only one I am aware of being the Conway base 13 function--and few (none?) of these are derivatives of differentiable functions. In fact they generally cannot be since an application of Baire's theorem gives that the set of continuity points of the derivative is dense $G_\\delta$. Is it known how sharp that last result is? Are there known Darboux functions which are derivatives and are discontinuous on \"large\" sets in some appropriate sense?", "Finding $\\tan t$ if $t=\\sum\\tan^{-1}(1/2t^2)$ I am solving this problem. If $$\\sum\\limits_{i=1}^{\\infty} \\tan^{-1}\\biggl(\\frac{1}{2i^{2}}\\biggr)= t$$ then find the value of $\\tan{t}$. My solution is like the following: I can rewrite: \\begin{align*} \\tan^{-1}\\biggl(\\frac{1}{2i^{2}}\\biggr) &amp; = \\tan^{-1}\\biggl[\\frac{(2i+1) - (2i-1)}{1+(2i+1)\\cdot (2i-1)}\\biggr] \\\\\\ &amp;= \\tan^{-1}(2i+1) - \\tan^{-1}(2i-1) \\end{align*} and when I take the summation the only term which remains is $-\\tan^{-1}(1)$, from which I get the value of $\\tan{t}$ as $-1$. But the answer appears to be $1$. Can anyone help me on this.", "Show that $3p^2=q^2$ implies $3|p$ and $3|q$ This is a problem from \"\" (specifically, exercise set 2 #9), which is one of my math texts. Please note that this isn't homework, but I would still appreciate hints rather than a complete answer. The problem reads as follows: If 3p2 = q2, where $p,q \\in \\mathbb{Z}$, show that 3 is a common divisor of p and q. I am able to show that 3 divides q, simply by rearranging for p2 and showing that $$p^2 \\in \\mathbb{Z} \\Rightarrow q^2/3 \\in \\mathbb{Z} \\Rightarrow 3|q$$ However, I'm not sure how to show that 3 divides p. Edit: Moron left a comment below in which I was prompted to apply the solution to this question as a proof of $\\sqrt{3}$'s irrationality. Here's what I came up with... [incorrect solution...] ...is this correct? Edit: The correct solution is provided in the comments below by Bill Dubuque.", "Do I need to activate the firewall? I only use Ubuntu for a home desktop use?", "Probability distribution in the coupon collector's problem", "Why does friction play the role of centripetal force during the turning of a car?", "How do I handle partially correct edits in the Suggested Edits review queue? Contradicting Instructions While going through the suggested edits review queue, one sometimes stumbles upon partially useful edits like . Trying to follow the instructions listed in the descriptions doesn't lead to a conclusive answer. Considering our example: Approve edits that clearly improve the post ↳ No, not *clearly* Improve Edit when you can make additional improvements to the post ↳ I most definitively can Reject and Edit to replace an ineffective edit with your own substantive changes ↳ It is ineffective in the sense that it made the post worse overall (imho) Reject edits that fail to improve the post or that make it worse ↳ Like the last option: yes Skip if you are not sure and want to go to the next suggested edit ↳ Well, yes. But that is really why I am here, asking this question Reasoning about the remaining Choices This leaves us with three choices: Improve Edit, Reject and Edit and Reject (the last one slightly modified): Improve Edit + Acknowledges that some things in the edit where correct - Learning effect for author might vanish, as the improvement might get overlooked - Can't leave a custom message for edit author (except in comments, which pollutes the thread) - Doesn't trigger the system which &quot;punishes&quot; users who repeatedly have their edits rejected - Rewards the edit author with reputation for a poor edit Reject and Edit + Clearly shows the author that there were problems with the edit - Still can't leave a custom message explaining the problems of the original post. - One has to partially redo parts of the edit that have just been rejected, which might feel unjust to the original editor Reject with a custom note and come back immediately to make a good Edit + Clearly shows the author that there were problems with the edit + Possibility to leave an explanation as to what was wrong with the edit - One still has to redo parts of the edit that has just been rejected - Seems to be a weird workaround for Reject and Edit Something else? Each of the three options come with their distinct advantages/disadvantages making it non trivial to decide which one to pick. Or does the answer simply depend on the quality of the edit? Like: Improve Edit for subjectively slightly positive edits Reject and Edit (Or Reject and Edit) for subjectively slightly negative edits", "I heard about nautilus-gksu and would like to install it. Unfortunately, when I try, I get this: glemi@XPS:~$ sudo apt-get install nautilus-gksu Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package nautilus-gksu How and where can I get this package?", "I am trying to hide Authoring information, Revision information, Publishing options tabs in create/edit node for any content type. I tried different modules with no luck. Please give me suggestions how to achieve this. Thanks a lot", "Difference between \"did + verb\" and just \"verb+ed\" This is something I always get confuse with (native language German). As far as I know \"did + verb\" is something done and finished in the past. But isn't it the same with \"verb + ed\"?", "how to get the selected date in jquery", "Should I use UUID as well as ID" ]
medi_sts_stackexchange_dupe
java 8 regular expression for meta characters
What special characters must be escaped in regular expressions?
[ "How is \"Can anyone tell me how can I solve this\" wrong?", "Can we create a subsection of the References Cited section with different reference numbering?", "Can a continuous real function take each value exactly 3 times?", "Clicking on tags in global search results is broken", "Calculating size of particular area below buffer in QGIS? I have a point shapefile of villages where data was collected in Northern Kenya. I created a buffer around those villages. The second vector layer contains polygons defining areas according to vegetation type. So for example, a forest might be surrounded by a narrow ring of woodland in an area which is mainly grassland. I'm trying to obtain a percentage of each vegetation type within the buffer per village. I'm using QGIS 1.7", "Android cancel Toast when exiting the app and when toast is being shown", "How do I make protocol foo hostname-aware? This is a about hostname-awareness and proxying. I know that some protocols are hostname-aware; that is, when I connect to the HTTP server at www.example.com it knows I want www.example.com's HTTP service, not www.example.net's, even though they are on the same IP address. How can I do this for protocol foo? (Temporary note: this question appears pursuant to .)", "I got multiple entry schengen visa issued by Greece. Can I directly travel from India - Qatar - Romania or through schengen state", "How to loop over the lines of a file?", "How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?", "If I have random variables $X_1,X_2,\\ldots,X_n$ that are Poisson distributed with parameters $\\lambda_1, \\lambda_2,\\ldots, \\lambda_n$, what is the distribution of $Y=\\left\\lfloor\\frac{\\sum_{i=1}^n X_i}{n}\\right\\rfloor$ (i.e. the integer floor of the average)? A sum of Poissons is also Poisson, but I am not confident enough in statistics to determine if it is the same for the case above.", "How to start X windows inside \"Bash on Ubuntu on Windows\" After installing the new feature (still \"Beta\") called that is a feature subset of Windows 10 Anniversary edition, I get the following message when trying to start X-Windows using startx : What do I need to tweak / configure in order for X-Windows to launch? I noticed that xauth was already installed, however I had to install the rest of the framework as follows : apt-get install xorg openbox", "Delay in approval leads to missing out on being awarded an \"Explainer\" badge", "It is perhaps a bit embarrassing that while doing higher-level math, I have forgot some more fundamental concepts. I would like to ask whether the square root of a number includes both the positive and the negative square roots. I know that for an equation $x^2 = 9$, the solution is $x = \\pm 3$. But if simply given $\\sqrt{9}$, does one assume that to mean only the positive root? And when simply talking about the square root of a number in general, would one be referring to both roots or just the positive one, when neither is specified?", "Updated WiFi fix for Yoga 13 and Ubuntu 16.04?", "How to read a file line-by-line into a list?", "proving roots of equation $x^2+x+4f=0$ are real. Let $a,b,c$ be three positive real numbers such that $a+b+c=1$. Let $f=\\min(a^3+a^2bc, b^3+ab^2c,c^3+abc^2)$. Prove that the roots of the equation $x^2+x+4f=0$ are real.", "In my book, the following are described to be the steps that one must follow if he wishes to find the direction of static friction force acting on an object: &quot;(1) Draw the F.B.D(free body diagram) of the object in question with respect to the other object on which it is kept. (2) Include the pseudo force also, if the contact surface is accelerating. (3) Decide the direction of the resultant force and resolve this force into two components; one along the surface of contact and the other along the normal to this surface. (4) The direction of static friction is opposite to the component of the result force along the contact surface.&quot; Firstly, are these steps correct? Will I always obtain the correct answer by following these steps? Secondly, consider the following problem: In questions like these, when I try to find the resultant force and then assign the direction to static friction, I find that my answer is incorrect! Are there some other steps to follow when I know that the object is definitely accelerating in one direction or another? Edit 1: I approached the above question by doing exactly what my book suggests; first, I identified all the forces acting on the smaller block, being the normal force applied by the block A and its weight mg downward. Adding these two forces, I get another force that actually acts on the body like so: I wonder if I'm not supposed to take either of the contact forces into consideration when drawing the F.B.D to figure out the direction of static friction acting on the body. Also, are there other steps for finding the direction of kinetic friction? Edit 2: From Judge's answer, I have been able to figure out my mistake, it being that I completely missed step (3) and didn't resolve the resultant force into components! Sheesh. Sorry! Much thanks in advance! :) Regards.", "I admin a handful of cloud-based (VPS) servers for the company I work for. The servers are minimal ubuntu installs that run bits of LAMP stacks / inbound data collection (rsync). The data is large but not personal, financial or anything like that (ie not that interesting) Clearly on here people are forever asking about configuring and such like. I use a bunch of approaches to secure the servers, for example (but not restricted to) ssh on non standard ports; no password typing, only known ssh keys from known ips for login etc https, and restricted shells (rssh) generally only from known keys/ips servers are minimal, up to date and patched regularly use things like rkhunter, cfengine, lynis denyhosts etc for monitoring I have extensive experience of unix sys admin. I'm confident I know what I'm doing in my setups. I configure /etc files. I have never felt a compelling need to install stuff like firewalls: iptables etc. Put aside for a moment the issues of physical security of the VPS. Q? I can't decide whether I am being naive or the incremental protection a fw might offer is worth the effort of learning / installing and the additional complexity (packages, config files, possible support etc) on the servers. To date (touch wood) I've never had any problems with security but I am not complacent about it either.", "How do you parse and process HTML/XML in PHP?" ]
medi_sts_stackexchange_dupe
How to modify an array in php
How to remove duplicate values from an array in PHP
[ "Proof of Frullani's theorem", "Insert issue with arrays", "Could you help me finding some less colloquial equivalent to highlighted phrases of this speech Today I want to be able to give you some good tips on parallel parking. It's part of your road test. It's something you need to learn. For most new drivers it's real difficult, because they're not able to judge angles. And parallel parking is all about angles. I'll take you through a typical parking, I'll take you through how I teach it , and maybe that'll help you in passing your road test. The first thing you want to do is you want to pull over over and you want to stop alongside a parked car. Typically, an inspector will give you a command to pull over, stop next to the red or blue car. You're just going to pull over, put your blinker on to the right, and pull over even with that car. taken from a series of videos teaching driving Why did the man use be able in his speech? What is the difference between be able and I would like to or I want ? I mean what the listener should make of I want to be able to give you ... . Why did not he say I want to give you... ? When he says I'll take you through a typical parking , I get the meaning of take one through ,It means I am going to teach you , isn't it? But my real concern is what the second I'll take you through means, while saying I'll take you through how I teach it . Perhaps it doesn't mean I will teach you that how I teach it ! , does it? The man always says the first thing you want to do . Why does not he say the first thing you should do , the first thing you need to do ? What are the diffrences in meaning? Isn't it unnatural saying you want to do ? In the last sentence he says You're just going to pull over, is the use of going to just weakening would and will? I think here it means something else. I think it means you just want to or you just start", "OpenLayers low resolution and/or shifts in QGIS print composer?", "How was Jon Snow able to kill the White Walker in S05E08?", "Discrepency in unanswered questions counts On , I notice that if I use the lower &quot;unanswered&quot; tab (the one in line with &quot;All Questions&quot;), the count is 1,432 questions. If I use the upper &quot;Unanswered&quot; tab (in line with the site title), I get 1,383 &quot;questions with no upvoted or accepted answers&quot;. This changes the options in the lower tab, one of which is &quot;no answers&quot;. Clicking here, I now get 1,083 &quot;questions with no answers&quot;. If I run select Id from Posts where PostTypeId=1 and AnswerCount=0; in the , I get 1158 rows back. Which of these is correct, and why is the first one (1,432) so much higher than the others? I understand that the numbers may only be updated periodically, but that difference in particular seems much too great for this to be the reason. To clarify: 1,432 is the number of &quot;unanswered questions&quot;. 1,383 is the number of &quot;questions with no upvoted or accepted answers&quot;. 1,083 is the number of &quot;questions with no answer&quot; 1,158 is the number of questions with no answer in the data explorer. This is not live data, but that means it should be smaller, not larger, than 1,083. I promise we did not offset this with answers to the tune of 80 questions this week. The first three are obviously live because they fluctuate. The difference between the first two is ~50, implying they actually don't refer to the same thing, and the difference between the last two seems too great (and in the wrong direction) to be explained by the a live vs. data explorer source.", "When should we use proximity rule in \"either/or\", and \"neither/nor\"? According to this , if at least one of the nouns involved is plural then it should take the plural form of the verb. Otherwise, it should take the singular form of the verb. But in the last part it says not all grammars agree to those rules thus proximity rule applies. However, it doesn't explain when to apply the proximity rule and when not to use the former rules.", "Been trying to find graphic novel for decades - at least I think it's a graphic novel When I was a kid I had a book that I loved, as I think about it I'm pretty sure it would be characterized as a graphic novel although I was unfamiliar with that term at the time. It was a large hardcover comic book but a full-length story, probably a few hundred pages long. This would have been about 25-30 years ago. I recall a little about the plot: It starts with a spaceship crashing somewhere, I remember one of the first panels had the phrase that the ship \"yawed wildly\". I always remembered that because I had to look up the word \"yawed\". The rest of the story is told in flashback form, with the rise of an empire, and I'm pretty sure there's a guy who's a slave or otherwise in the lower strata of society who rises to be the ruler of the world or something like that. I thought that the title had the word \"titan\" or \"empire\" in it (Empire of the Titans, or Rise of the Titans, or something similar), but Google searches have been unfruitful.", "Search and replace multiple values with multiple/different values in PHP5?", "The junction has a stop sign on each of the four entrances. The junction has a stop sign on each of the 4 entrances. The first is preferred, for some reason, by many English texts. Why? I haven't seen this phenomenon in other languages.", "Mouse rotated 90 degrees", "We all know that a simple statement such as: SELECT * FROM stuff; should not produce an ordered result. However, when I try to demonstrate this, it always comes out in primary key order. Moreover a statement such as: SELECT thing,whatever FROM stuff GROUP BY thing,whatever; always appears to sort thing by the last field in the GROUP BY clause, which is not at all helpful. The question is, under what circumstances does SQL SERVER order the result even if unasked, and what can I do to stop this? I am trying to demonstrate to my students that order is indeterminate unless specified, but this is not helping my case. I admit that I am working with a small set of sample data. Thanks", "SEO and buying expiring or dropped domain Does it make any difference for SEO benefits to buy dropped and already available domains other than backorder domains that are expiring soon? I heard somewhere that whois gets deleted after being dropped. But I didn't find any confirmation if it's true or not. Anybody can tell me if there are benefits of one against the other, if yes what?", "Why doesn't the Moon fall onto the Earth? Why doesn't the Moon fall onto the Earth? For that matter, why doesn't anything rotating a larger body ever fall onto the larger body?", "Every irreducible Polynomial is primitive or irreducible constant", "Scheduling a Round Robin tournament - 4-way games I'm looking to schedule 16 players to play a round robin tournament with each other such that there are 4 players at each table. I'd like for each player to play with each other player exactly once over the course of 5 rounds. I just took a look at this post: , and I was wondering if anyone knows if the case n=m=4 has been solved, and if so what that solution is.", "Can I open Microsoft Word and Excel files?", "I have this problem: I'm used to compile and run .c files with CodeBlocks. If I do that from my Desktop (ext4 partition) it works without problems, but doing this from my secondary hard drive (NTFS partition) makes CodeBlocks to say permission denied while running a .c file. I have read it's because of the partition type is it correct? But I don't know how to solve it. I tried to edit fstab (sudo gedit /etc/fstab) adding this line: /dev/sda /media/Dati ntfs user,exec 0 1 but after rebooting Ubuntu I had a warning on boot about a problem mounting a drive, that's because I set KDE to auto mount my Dati drive on boot. So I should auto mount my NTFS drive with execute permission? How can I do that?", "What causes this green background in ls output?", "Changing an element's ID with jQuery" ]
medi_sts_stackexchange_dupe
Avoiding page numbers in allowframebreaks option - beamer
Beamer, page/frame numbers, buttons and Appendix slides
[ "For a presentation with Beamer, I would like to have a slide where a long list of formulas (maybe mixed with text) scrolls automatically within a certain part of the slide. This should look like e.g. closing credits in movies. I have tried the idea from based on animateinline from the , but whenever I use environments like \\begin{equation} ... \\end{equation} or commands like \\textcolor{red}{...} I get an error: TeX capacity exceeded, sorry [main memory size=3000000]. \\end{frame} Ideally, the formulas/the text should be given within the document itself, but if a solution with an external PDF works fine, I'll take it! Any ideas how that might work?", "100 apples are/is considered as a large number of apples", "GDBus.Error when trying to enable second screen I connected an external screen to my laptop, but my desktop didn't automagically extend to it, as it used to do about a year ago (older version of Ubuntu). I went to the display settings. The screen was listed there (correct resolution, brand name, etc.). But when i put the switch on 'on' and click 'apply', i get this error: Failed to apply configuration: %s GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.gnome.SettingsDaemon.XRANDR_2' on object at path /org/gnome/SettingsDaemon/XRANDR It's been like this for a few months now, but i'd really like to be able to use an external screen/beamer again. Any ideas? Thanks.", "Sometimes, when I upgrade a system via do-release-upgrade, the update process fails and the script tells me to finish the process manually via dpkg --configure -a. This is a not serious problem - after manually solving the dependencies problem and the finishing upgrade process all works well. But the do-release-upgrade script has a cleanup process after finishing the upgrade: Remove obsolete packages? XXX packages are going to be removed. Continue [yN] Details [d]y which removes some obsolete packages from old version of system. Seems that this process doesn't execute when the automatic upgrade fails and I finish upgrade manually, so obsolete packages from old version remain installed in the system. How I can run the \"Remove obsolete packages\" process manually after finishing the upgrade by hand?", "I've just answered . After accepting the answer, the OP then changed his question to another problem - which I know I shouldn't have answered (I should have requested as new question) but I updated my answer anyway. The OP has now edited his question to remove the essence of either the original or new problem, and instead has a statement saying that the problem has been fixed. What is the correct thing to do here? Roll the question back so it's in its original state? Roll it back to the \"new problem\" state? Leave it and let him continue to get downvoted and/or closed by people who didn't see the original question?", "How to tell whether a field is required or not in Apex by describe fields", "Is normality testing 'essentially useless'?", "Suppose you have a physical . It is true that as amplitude increases, the period increases. Can we demonstrate this fact without explicitly finding the period (which is pretty involved and pretty messy) in: an intuitive fashion, rigorously?", "Why do we say \"try and\" [verb] instead of \"try to\" [verb]? (E.g., \"Try and call me tomorrow.\") In written and standard semi-formal (and above) spoken English, one would use &quot;try to&quot;: Try to be a better person. Try to get the fishhook out of my thumb, please. Try to find a pharmacy when you need one. But in spoken English, we (Americans, at least) usually substitute &quot;try and&quot; for all those cases. &quot;Try to&quot; makes sense because the &quot;to&quot; begins the construction of an infinitive: &quot;try to be&quot;, &quot;try to do&quot;, &quot;try to act&quot; and so on. &quot;Try and&quot; on the other hand doesn't seem to make any sense. I'm curious how the &quot;try and&quot; crept in, and when. It's really tough to Google small words like these, so I'm not finding anything on the Web. Is it a contraction of something like &quot;Try hard, and ...&quot;? Note: I've seen and it is somewhat related but doesn't tell me what I want to know. Edit Observe how, even on this site, construction. Turning it on its head Note that you can't make a negative construction with &quot;try and&quot;: It's raining. Try not to get wet. It's raining. Try not and get wet. [?] Even adding do doesn't help. The following means something different from &quot;try not to get wet.&quot; It's raining. Don't try and get wet. Even use of to instead of and there means something else: It's raining. Don't try to get wet. &quot;Try not to get wet&quot; means try to stay dry. &quot;Don't try to get wet&quot; means avoid actively seeking out a soaking, and implies that a soaking might in fact be what you are looking for. MORE I just happened to notice a video from an editor for Merriam-Webster on this very topic, so I include the link here: .", "What are the fault tolerances on the FDA food handling guidelines? Sometimes I have suggested that food that sat out a little longer than optimal may be safe to eat. Granted, this is based on my experience, and I always qualify that it shouldn't be served to guests (and by extension, customers) and that one should determine their own tolerance to risk, but I want to know if there is information as to the methodology of the FDA guidelines. Specifically, what is the contamination rate at n hours, and what are the initial conditions of the food and environment? How much risk is there REALLY (in incidences per n-population and such) in a standard kitchen for food that has sat out 50%, 100%, 200%, etc. longer than recommended?", "How to find web hosting that meets my requirements?", "How do I install the latest version of Matlab? When I tried to install Matlab using the Software Center, it prompted me for the Location of MATLAB installation(s). Since I am trying to install it, I don't know what to do.", "How to show that $$ \\lim _{\\alpha \\rightarrow \\infty } \\sup_{t \\in \\left [0,T \\right]} \\left | e^{-\\alpha t} \\int _ 0 ^t e^{\\alpha s} ~ dB_s \\right | =0, \\ \\ \\text{a.e.} $$ where $\\left (B_s \\right)_{s\\geq 0}$ is a real standard brownian motion starting from zero ?", "How do I see that every left ideal of a square matrix ring over a field is principal? As the question title suggests, how do I see that every left ideal of a square matrix ring over a field is principal?", "How to display quick-updating images without large memory allocation?", "I want to block access to my web server by default as a precaution but I keep getting the following errors showing up in my error log. [Wed Jun 27 23:30:54 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/Edu.jar [Wed Jun 27 23:32:40 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/REST.jar [Wed Jun 27 23:35:39 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/Set.jar [Thu Jun 28 01:01:17 2012] [error] [client 58.218.199.227] client denied by server configuration: /home/www/default/proxyheader.php [Thu Jun 28 02:34:57 2012] [error] [client 58.218.199.227] client denied by server configuration: /home/www/default/proxy.php [Thu Jun 28 05:41:33 2012] [error] [client 58.218.199.227] client denied by server configuration: /home/www/default/proxyheader.php [Thu Jun 28 06:55:10 2012] [error] [client 180.76.6.20] client denied by server configuration: /home/www/default/ [Thu Jun 28 07:31:26 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/Edu.jar [Thu Jun 28 07:32:25 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/REST.jar [Thu Jun 28 07:36:10 2012] [error] [client 86.77.20.107] client denied by server configuration: /home/www/default/Set.jar I don't really want these errors to show up but whatever I do, I can't get rid of them. Does anyone know how I can achieve this? Here is a copy of my configuration. &lt;VirtualHost *:80&gt; DocumentRoot /home/www/default &lt;Directory /&gt; AllowOverride None Order Deny,Allow Deny from all &lt;/Directory&gt; #ErrorLog /var/log/apache2/error.log #LogLevel warn CustomLog /var/log/apache2/access.log combined &lt;/VirtualHost&gt;", "Java ReentrantReadWriteLocks - how to safely acquire write lock? I am using in my code at the moment a to synchronize access over a tree-like structure. This structure is large, and read by many threads at once with occasional modifications to small parts of it - so it seems to fit the read-write idiom well. I understand that with this particular class, one cannot elevate a read lock to a write lock, so as per the Javadocs one must release the read lock before obtaining the write lock. I've used this pattern successfully in non-reentrant contexts before. What I'm finding however is that I cannot reliably acquire the write lock without blocking forever. Since the read lock is reentrant and I am actually using it as such, the simple code lock.getReadLock().unlock(); lock.getWriteLock().lock() can block if I have acquired the readlock reentrantly. Each call to unlock just reduces the hold count, and the lock is only actually released when the hold count hits zero. EDIT to clarify this, as I don't think I explained it too well initially - I am aware that there is no built-in lock escalation in this class, and that I have to simply release the read lock and obtain the write lock. My problem is/was that regardless of what other threads are doing, calling getReadLock().unlock() may not actually release this thread's hold on the lock if it acquired it reentrantly, in which case the call to getWriteLock().lock() will block forever as this thread still has a hold on the read lock and thus blocks itself. For example, this code snippet will never reach the println statement, even when run singlethreaded with no other threads accessing the lock: final ReadWriteLock lock = new ReentrantReadWriteLock(); lock.getReadLock().lock(); // In real code we would go call other methods that end up calling back and // thus locking again lock.getReadLock().lock(); // Now we do some stuff and realise we need to write so try to escalate the // lock as per the Javadocs and the above description lock.getReadLock().unlock(); // Does not actually release the lock lock.getWriteLock().lock(); // Blocks as some thread (this one!) holds read lock System.out.println(\"Will never get here\"); So I ask, is there a nice idiom to handle this situation? Specifically, when a thread that holds a read lock (possibly reentrantly) discovers that it needs to do some writing, and thus wants to \"suspend\" its own read lock in order to pick up the write lock (blocking as required on other threads to release their holds on the read lock), and then \"pick up\" its hold on the read lock in the same state afterwards? Since this ReadWriteLock implementation was specifically designed to be reentrant, surely there is some sensible way to elevate a read lock to a write lock when the locks may be acquired reentrantly? This is the critical part that means the naive approach does not work.", "Why can't I use Stack Exchange if I'm under 13 years old, or if I'm under 16 years old and from the EU?", "What happens if no one survives the Hunger Games? It is possible that the remaining last two tributes might get killed at the same time, for example, by a land mine explosion, and in that case the games will end with no victor standing. Is there a reference in the original books as to what happens if nobody emerges victor in the Hunger Games?", "I've found some questions and those two badges \"Epic\" and \"Legendary\" regarding the \"daily reputation cap\". What is it and how can I hit it?" ]
medi_sts_stackexchange_dupe
Updating password of user in active Directory using C#
C#: code error while changing the active directory user's password
[ "Build a basic Python iterator How would one create an iterative function (or iterator object) in python?", "Auto Increment Problem in Mysql", "Why would a journal accept my previous paper for publication, but reject latest manuscript due to being \"outside of the journal's scope?\" I submitted a manuscript last year to an IEEE journal, and the paper was accepted for publication. I recently submitted a new manuscript to the same journal, but, this time, the paper was rejected, and I was told that I should submit to another journal since my paper was not within the journal's scope. The two papers both target similar applications. Furthermore, the second paper uses some work in the first paper, making substantial improvements at solving a much more difficult problem. Based on the reviewer's comments (and my own personal assessment), I do not believe that the work presented in the second paper was \"incremental\" in nature. Far from it. Two of the three reviewers gave positive reviews. The third reviewer, however, mentioned the \"outside of journal's scope\" issue and the associate editor and editor-in-chief both sided with the 3rd reviewer, and the paper was stopped dead in its tracks. I'm scratching my head trying to come to terms with how in the world my first paper could be accepted by this journal, but the second paper focused on the same application space and achieving substantial improvements on a much more difficult problem (backed up with measured results) could be rejected. Any ideas?", "The additive group $\\mathbb{G}_a$ over an infinite field $k$ is not a topological group An algebraic group is not necessarily a topological group, since for an algebraic group, the product map $G \\times G \\to G$ is continuous when $G \\times G$ is given the Zariski topology, which is finer than the product topology. So does this tell you that the additive group $\\mathbb{G}_a$ over an infinite field $k$ is not a topological group? The underlying variety of $\\mathbb{G}_a \\times \\mathbb{G}_a$ is $\\mathbb{A}_k^1 \\times_k \\mathbb{A}_k^1 = \\mathbb{A}_k^2$, whose Zariski topology is the cofinite topology, where every open set is also open in the product topology (since $\\mathbb{A}_k^1$ also has the Zariski topology).", "Hyphenation in compound adjectives Possible Duplicates: In the sentence \"Portland is known to be one of the most bike friendly cities in the US\", is a hyphen necessary in \"bike friendly\"? As far as I know, the hyphen is only required when leaving it out would cause ambiguity. Wikipedia uses the example of \"a small appliance factory\" vs \"a small-appliance factory\". As far as I can tell, the sentence above is pretty clear. A quick google search for \"bike friendly city\" brings up instances of both hyphenated and non-hyphenated usage. Thoughts? Please excuse the poor formatting, sent from my iPhone.", "Why is January month 0 in Java Calendar? In java.util.Calendar, January is defined as month 0, not month 1. Is there any specific reason to that ? I have seen many people getting confused about that...", "Can I use the Google font 'Lato' for a logo design? I am creating a logo and would like to use the Google Font 'Lato', can I use this font in my logo design or are there copyright/limitations I need to worry about? I can't find anything online other than that it is an open source font that can be used in anyway you want (maybe that's my answer but I just want to make sure). Also, is it a bad idea to use a web-based font for a logo?", "Prove $\\sum\\limits_{i=2}^{n}\\frac{1}{(i-1)i}$ = $\\frac{(n-1)}{n}$ using induction. I need to prove $\\sum\\limits_{i=2}^{n}\\frac{1}{(i-1)i}$ = $\\frac{(n-1)}{n}$ using induction. I am getting stuck midway through the inductive step. Here is what I have: $\\forall n\\geq 2$, where $n\\in\\mathbb{N}, P(n)$ is the statement \"$\\sum\\limits_{i=2}^{n}\\frac{1}{(i-1)i}$ = $\\frac{(n-1)}{n}$\". Base case: $\\sum\\limits_{i=2}^{2}\\frac{1}{(i-1)i}$ = $\\frac{1}{2}$ = $\\frac{(2-1)}{2}$ so $P(2)$ is true. Inductive assumption: Assume $P(n)$ is true. Need to show $\\sum\\limits_{i=2}^{n+1}\\frac{1}{(i-1)i}$ = $\\frac{((n+1)-1)}{(n+1)}$. $\\sum\\limits_{i=2}^{n}\\frac{1}{(i-1)i}$ + $\\frac{1}{n^{2}}$ = $\\frac{(n-1)}{n}$ + $\\frac{1}{n^{2}}$ = $\\frac{n(n-1) + 1}{n^{2}}$ = $\\frac{n^{2}-n+1}{n^{2}}$ I got stuck here and tried working backward from $\\frac{((n+1)-1)}{(n+1)}$, which gives me: $\\frac{((n+1)-1)}{(n+1)}$ = $\\frac{n}{(n+1)}$ Any suggestions on what to do next or where I may be going wrong?", "Continuing in the Visual Studio debugger after an exception occurs When I debug a C# program and I get an exception throwed (either thrown by code OR thrown by the framework), the IDE stops and get me to the corresponding line in my code. Everything is fine for now. I then press \"F5\" to continue. From this moment, it seams like I'm in an infinite loop. The IDE always get me back to the exception line. I have to Shift + F5 (stop debugging/terminate the program) to get out of his. I talked with some co-workers here and they told me that this happens sometime to them too. What's happening?", "I have a string that contains both double-quotes and backslashes that I want to set to a variable in Python. However, whenever I try to set it, the quotes or slashes are either removed or escaped. Here's an example: &gt;&gt;&gt; foo = 'baz \"\\\"' &gt;&gt;&gt; foo 'baz \"\"' So instead of baz \"\\\" like I want I'm getting baz \"\". If I then try to escape the backslash, it doesn't help either: &gt;&gt;&gt; foo = 'baz \"\\\\\"' &gt;&gt;&gt; foo 'baz \"\\\\\"' Which now matches what I put in but wasn't what I originally wanted. How do you get around this problem?", "Do you really want to create a new tag?", "I have detached a process from my terminal, like this: $ process &amp; That terminal is now long closed, but process is still running, and I want to send some commands to that process's stdin. Is that possible?", "Restore Python installation to default plus apt package dependencies", "What is DOCTYPE?", "How do I create a permanent Bash alias?", "At the end of ‘The Return of the King’, Bilbo, Frodo, Gandalf and others boarded a boat and left Middle-earth for Valinor. Is there any canon explanation why they couldn’t just take the ring there in the first place and leave Middle-earth altogether? Would Sauron have gone after them? Couldn’t the elves living there safeguard it? I do realize that without Frodo taking the ring to Mount Doom there would be no story at all, but I wonder whether or not there is any canon explanation for this.", "I have a Microsoft XBOX 360 gamepad with the wireless adapter and I was wondering what I would have to install to use them with Ubuntu I do know that when using this on Windows I have to manually install the drivers for the wireless receiver (if that is relevant.)", "Can X.org Load Two Different Drivers? (Triple-Head Setup with Intel and NVidia Card) We want to set up a 3 screens with an onboard intel graphics adapter and an nvidia card. Both cards are recognized in lspci 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) 00:02.0 Display controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) And bascially work: If I switch to the console, I see output on the Intel card, X is only running on the Nvidia card. But when I type xrandr | grep conn I get only one connected port: DVI-I-0 disconnected (normal left inverted right x axis y axis) VGA-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm HDMI-0 disconnected (normal left inverted right x axis y axis) I am on Ubuntu 12.10 (and XFCE) and installed the proprietary nvidia driver. I was assuming that X maybe has a problem to autodetect both cards, so I thought the following xorg.conf could help: Section \"ServerLayout\" Identifier \"Layout0\" Screen 0 \"Screen0\" Screen 1 \"Screen1\" InputDevice \"Keyboard0\" \"CoreKeyboard\" InputDevice \"Mouse0\" \"CorePointer\" EndSection Section \"Files\" EndSection Section \"InputDevice\" # generated from default Identifier \"Mouse0\" Driver \"mouse\" Option \"Protocol\" \"auto\" Option \"Device\" \"/dev/psaux\" Option \"Emulate3Buttons\" \"no\" Option \"ZAxisMapping\" \"4 5\" EndSection Section \"InputDevice\" # generated from default Identifier \"Keyboard0\" Driver \"kbd\" EndSection Section \"Monitor\" Identifier \"Monitor0\" VendorName \"Unknown\" ModelName \"Unknown\" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option \"DPMS\" EndSection Section \"Device\" Identifier \"Device0\" Driver \"nvidia\" VendorName \"NVIDIA Corporation\" BoardName \"GeForce 210\" EndSection Section \"Screen\" Identifier \"Screen0\" Device \"Device0\" Monitor \"Monitor0\" DefaultDepth 24 SubSection \"Display\" Depth 24 EndSubSection EndSection Section \"Monitor\" Identifier \"Monitor1\" VendorName \"Unknown\" ModelName \"Unknown\" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option \"DPMS\" EndSection Section \"Device\" Identifier \"Device1\" Driver \"intel\" VendorName \"Intel\" BoardName \"Internal Intel Graphics\" EndSection Section \"Screen\" Identifier \"Screen1\" Device \"Device1\" Monitor \"Monitor1\" DefaultDepth 24 SubSection \"Display\" Depth 24 EndSubSection EndSection But it is still not working. Is this generally possible to use two different drivers in X ? Is it necessary to create an xorg.conf manually then? (because Ubuntu 12.10 normally works without the xorg.conf) Are there any errors in my xorg.conf?", "How do I force a column-break in a two-column document?", "For all $1 \\leq i < j \\leq k$, the subtrees $T_i$ and $T_j$ have a vertex in common. Show that $T$ has a vertex which is in all of the $T_i$. Can someone please verify my proof or offer suggestions for improvement? I am aware that there is a similar question elsewhere, but I want help with my proof in particular. Let $T_1, \\ldots, T_k$ be subtrees of a tree $T$ such that for all $1 \\leq i &lt; j \\leq k$, the trees $T_i$ and $T_j$ have a vertex in common. Show that $T$ has a vertex which is in all of the $T_i$. Suppose, for the sake of contradiction, that for every vertex $v \\in V(T)$, there is a subtree $T'$ in the list $T_1, T_2, \\ldots, T_k$ such that $v \\notin V(T')$. Pick $v_1 \\in T_1$. There is a subtree $T^{(1)}$ such that $v_1 \\notin T^{(1)}$. $T_1$ and $T^{(1)}$ have a vertex $y_1$ in common. Now, there exists a tree $T^{(2)}$ such that $y_1 \\notin T^{(2)}$. But now, $T^{(2)}$ and $T^{(1)}$ have a vertex $y_2$ in common. Also, $T_1$ and $T^{(2)}$ have a vertex $y_3$ in common. There exists a path $p_1$ in $T_1$ from $y_3$ to $y_1$. Also, there is a path $p_2$ in $T^{(1)}$ from $y_1$ to $y_2$ and a path $p_3$ in $T^{(2)}$ from $y_2$ to $y_3$. Note that the path formed by the union of $p_1$ and $p_2$ passes through $y_1$, while $p_3$ does not, since $y_1 \\notin T^{(2)}$. Therefore, the union of $p_1, p_2$, and $p_3$ forms a cycle, contradicting the fact that $T$ is a tree. Therefore, it must be the case that there is a vertex $x$ in all of the $T_i$." ]
medi_sts_stackexchange_dupe
Origin of word dog
Where does the word "dog" come from?
[ "Proving which QM interpretation is correct Let's assume that the existence of gravitons is theoretically proven or they are detected by LHC could one interpretaion be proven correct?", "How to split by commas that are not within parentheses?", "Automatically logging into Windows XP", "What is the different between an Normal and Admin account? What is the different between an Normal user account and the Admin account in Ubuntu? You must always enter your password if you want do something. Can you give a Normal account \"limitations\" to do not install or remove anything or to not open any program? Can you also \"hide/deactive\" the terminal and console for a normal user?", "In what sense are Asgardians \"immortal\" in the MCU?", "If $f$ is integrable then $|f|$ is also integrable Show that if $f$ is integrable on $[a, b]$ then $\\lvert f \\rvert$ is also integrable. Hint: Show that $$U (P , \\lvert f \\rvert) − L(P , \\lvert f \\rvert) ≤ U (P , f ) − L(P , f ).$$ I have: $$U (P , \\lvert f \\rvert) \\ge U (P , f )$$ and $$ L(P , \\lvert f \\rvert) \\ge L(P,f)$$ Thus, $$U (P , \\lvert f \\rvert) − L(P , \\lvert f \\rvert) ≤ U (P , f ) − L(P , f ).$$", "Let $f$ be a continuous function on $[0,1]$ such that $f([0,1])=[0,1]\\times[0,1].$ Then show that $f$ is not one-one. Hints will be appreciated.", "I know in TNG that all computer interfaces are now touch-screen, and that got me thinking: when was the first reference to touch-screen computer interfaces in Sci-Fi made?", "Is there a proof that $\\pi$ is an irrational number? Most math texts claim that $\\pi$ is an irrational number. However, I'm having a little bit of trouble understanding that. Since nobody has calculated all of the digits of $\\pi$, how can we know that either: one of the digits repeats (as in $\\frac{10}{3}$) the number eventually terminates Note: Please be very descriptive in your answers... I don't have anything beyond high school math.", "Can I connect to a specific access point by BSSID? Is there any way to get Mac OS X to connect to a specific access point by BSSID? I have a network with the same SSID for multiple access points, and I would sometimes like to specify which specific access point to connect to. Is this something Mac OS X can do natively, or is there a third party tool that can do this?", "Is it okay to have a multi-language deck? I want to buy a few booster pack from a local shop that only gets them in French. Is it generally acceptable to show up to a tournament with cards in different languages?", "As an Indian citizen, can I apply and have both a B1 and F1 visa?", "Find the sum $\\sum_{n=1}^{\\infty} \\frac{\\ln n}{n(n- \\ln n)}$ Find the following sum : $\\sum_{n=1}^{\\infty} \\frac{\\ln n }{n(n- \\ln n)}$ I couldn't find any way to solve. I just want a hint, how to initiate?", "Why isn't an infinite, flat, nonexpanding universe filled with a uniform matter distribution a solution to Einstein's equation?", "How is Starkiller Base's beam visible from Takodana in The Force Awakens? On Takodana, the main characters and various bar patrons can see the planet Hosnian Prime being destroyed by Starkiller Base with their (respective) naked eyes. How did they see this? Is the Hosnian system close enough to see? If it's not very close and they could just see the explosion, how did the light from it reach them so quickly?", "ESRI has an from 2004 showing all the symbols available in ArcGIS at the time and their names. I don't need it often but if I'm searching for a certain symbol and don't know its name it's sometimes easier to look at a few sheets of paper than to use the Symbol Selector. It doesn't seem like it's been updated for ArcGIS 10, though. I was wondering if anyone is aware of a new version of this, or if anyone has created one on their own they might be willing to share.", "Is it possible that my laptop shut down because my mobile is too close? If I put my phone on my notebook's left corner, it shuts down. Can anybody give me reliable explanation as to why this is happening??", "What is the maximum number of downvotes a question can have I was just wondering what the maximum number of down votes a question can have before it is removed from StackOverflow.", "How to make a water vortex I'm very new to Blender and I'm trying to make a water vortex like this.(may be not the easyest first project for a newbie) I watched several tutorial on liquids particle etc but I'm not sure what is the best aproach. What I tried until now: I made a particle system with a vortex force field. It looks good, but I'm not able to add the right material. I played around with the fluid physics, the water looks good but if I add a vortex force field it does nothing. I would be very grateful if somebody could point me in the right direction because I'm definitely stocked.", "Is smell a bad way of determining whether meat is still good? I have always relied on my sense of smell to determine whether meat (most often chicken) is bad and I thought it was reliable. However, I have just heard that [1] smell is not always reliable, since some of the toxins produced by bacteria won't cause any smell whatsoever and you won't be able to notice that the meat is off until after you've eaten it. Is this true? If yes, is this true for all meat or only for some? Is there a more reliable way of determining whether meat is still good. [1] \"Heard that\" isn't very reliable; so that's why I'm asking the question here. :)" ]
medi_sts_stackexchange_dupe
What value should be used for an LED with current rating of 350mA ~ 1000mA
Resistor in series needed with LED string?
[ "Here's what I am trying to do: 1) User creates record A. 2) Time-based workflow sends an email to the Record A creator based on a date field in the record. 3) The email template has a URL link. 4) The URL links to a Visualforce page that is basically a form with fields to be filled out (this Visualforce page is in a managed package) and a save button that creates a new User record. 5) When the User clicks the URL link in the email, the Visualforce page opens in a new window. 6) I would like to pass the values of the fields in record A to pre-fill the Visualforce page fields. Here's my link: &lt;a href=\"https://cs19.visual.force.com/apex/CloneThisUser?Desktop=true&amp;Id={!Pending_User__c.User_to_CloneId__c}&amp;formGroupInputSmall={!Pending_User__c.First_Name__c} And here's the code from the relevant section of the Visualforce page: &lt;div class=\"form-group form-group-sm\"&gt; &lt;!-- &lt;apex:outputLabel styleClass=\"col-sm-2 control-label\" for=\"formGroupInputSmall\"&gt;First Name&lt;/apex:outputLabel&gt; --&gt; &lt;div class=\"col-xm-11 col-sm-12\"&gt; &lt;apex:inputField html-placeholder=\"First Name\" styleClass=\"form-control FirstNameInput\" value=\"{!u.FirstName}\" id=\"formGroupInputSmall\"/&gt; &lt;/div&gt; &lt;/div&gt; I have only included the first field I would like to pass the parameter to, in order to keep this post simple. The link passes the User_to_Clone_Id__c just fine but does not fill in the \"First Name\" field with the value of the First_Name__c . What am I doing incorrectly? Thanks.", "Why are the laws of thermodynamics \"supreme among the laws of Nature\"? Eddington wrote The law that entropy always increases holds, I think, the supreme position among the laws of Nature. If someone points out to you that your pet theory of the universe is in disagreement with Maxwell's equations — then so much the worse for Maxwell's equations. If it is found to be contradicted by observation — well, these experimentalists do bungle things sometimes. But if your theory is found to be against the second law of thermodynamics I can give you no hope; there is nothing for it but to collapse in deepest humiliation. and Einstein wrote [classical thermodynamics] is the only physical theory of universal content which I am convinced will never be overthrown, within the framework of applicability of its basic concepts. Why did they say that? Is it a very deep insight they had, or is it something one can be convinced of quite easily? Or even, is it trivial?", "Question: Prove that a norm is always non-negative. Assume that the norm is negative. Define: $f: \\mathbb{R}^{n}\\rightarrow \\mathbb{R}^{-}_{0}$ $v \\mapsto \\left ( \\vec{v} \\right )f=\\left \\| \\vec{v} \\right \\|$ $\\left ( \\vec{u}+\\vec{v} \\right )f=\\left \\| \\vec{u}+\\vec{v} \\right \\| \\in \\mathbb{R}^{-}_{0}$ and $\\left ( \\vec{u} \\right )f=\\left \\| \\vec{u} \\right \\|,\\left ( \\vec{v} \\right )f=\\left \\| \\vec{v} \\right \\|=\\left \\| \\vec{v} \\right \\| \\in \\mathbb{R}^{-}_{0}$ At this point I am unable to progress further. Any help is appreciated.", "Using \"you\" and \"your\" as a representation for yourself and everyone in general Example sentence: I love when your dog just lets you sit there to pet them. You don’t necessarily know if they are enjoying it, but they love you enough to just sit there with you for a bit. Is this correct? We assume the words \"you\" and \"your\" refer to the speaker of the sentence, and not to the listener, as second-person usually does. But it also refers to dog owners in general. I have always been curious about this.", "Several wands and other magic items in the DMG cite &quot;spellcaster&quot; as an attunement requirement, specifically &quot;requires attunement by a spellcaster&quot; while others list multiple spellcasting classes (e.g., a Staff of Fire &quot;requires attunement by a druid, sorcerer, warlock, or wizard&quot; p. 201). However, all the DMG states in this regard is: Some magic items require a creature to form a bond with them before their magical properties can be used. This bond is called attunement, and certain items have a prerequisite for it. If the prerequisite is a class, a creature must be a member of that class to attune to the item.¹ (If the class is a spellcasting class, a monster qualifies if that monster has spell slots and uses that class's spell list. [emphasis and footnote added] (p. 136) The language of the Mage Slayer feat describes a spellcaster as a creature casting or concentrating on a spell. You have practiced techniques useful in melee combat against spellcasters [...] When a creature within 5 feet of you casts a spell ... [and] When you damage a creature that is concentrating on a spell ... (PHB, p. 168) From the above, it does not appear that &quot;spellcaster&quot; would necessarily be considered a class or group of classes, so Are characters that can cast spells, regardless of their class(es), considered spellcasters? Or, put another way, Does &quot;spellcaster&quot; (as an attunement prerequisite) mean any creature who can cast a spell or does it mean all classes with the Spellcasting feature? I can think of five particular cases—innate abilities, two subclasses and two feats: High Elves know one wizard cantrip (0-level spell) of their choice. Drow can cast the dancing lights cantrip, 1st-level spell faerie fire and 2nd-level spell darkness. Forest Gnomes know the minor illusion cantrip, and Tieflings can cast the thaumaturgy cantrip and 2nd-level spells hellish rebuke and darkness. Also, many monsters have innate spellcasting abilities, which would trigger the Mage Slayer feat. Starting at 3rd level, both the Eldritch Knight (Fighter Martial Archetype) and Arcane Trickster (Roguish Archetype) gain the ability to cast wizard spells and gain wizard spell slots (potentially) up to 4th-level spells. PHB, pp. 75 &amp; 98. The latter's 17th-level Spell Thief feature also states &quot;you gain the ability to magically steal the knowledge of how to cast a spell from another spellcaster,&quot; (Ibid.) which strongly implies that (at least) the Arcane Trickster is a spellcaster, although neither subclass is specifically listed as a prerequisite for any magic item in the DMG. Eldritch Knight and Arcane Trickster are also found under Multiclassing, Spell Slots in the PHB: You determine your available spell slots by adding together all your levels in the bard, cleric, druid, sorcerer, and wizard classes, half your levels (rounded down) in the paladin and ranger classes, and a third of your fighter or rogue levels (rounded down) if you have the Eldritch Knight or the Arcane Trickster feature. (p. 164) With the Ritual Caster feat, a character chooses a spellcasting class (except paladin or ranger) and gains the ability to cast spells of that class with the ritual tag as rituals. The character immediately gets two 1st-level ritual spells of that class and has the potential to (eventually) learn all of the ritual spells of the chosen class. PHB, p. 169. With the Magic Initiate feat, a character chooses a particular spellcasting class (except paladin or ranger) and immediately learns two cantrips and one 1st-level spell from the class with no further advancement. PHB, p. 168. By definition, it seems all of the above would qualify as spellcasters, but I feel spellcaster typically (or maybe traditionally) refers to bard, cleric, druid, paladin, ranger, sorcerer, warlock and wizard. I believe an exception would be a 13th level or higher Thief (Roguish Archetype) due to the Use Magic Device feature. PHB, p. 97.", "I am trying to calculate the sum of this infinite series after having read the series chapter of my textbook: $$\\sum_{n=1}^{\\infty}\\frac{1}{4n^2-1}$$ my steps: $$\\sum_{n=1}^{\\infty}\\frac{1}{4n^2-1}=\\sum_{n=1}^{\\infty}\\frac{2}{4n^2-1}-\\sum_{n=1}^{\\infty}\\frac{1}{4n^2-1}=..help..=sum$$ I am lacking some important properties, I feel I am coming to the right step and cannot spit that out..", "Is there anything like GF(6)?", "Hubble's law says that the universe is expanding. How come the Milky Way and the Andromeda galaxies are on a collision course? How will they end up colliding with each other?", "Why does Li+ ion move to cathode in Li-ion battery?", "Global keyboard capture in C# application I want to capture a keyboard shortcut in my application and trigger a dialog to appear if the user presses a keyboard combo even outside of the app. Similar to Google Desktop Search's Ctrl, Ctrl to bring up the search dialog. I have tried using some keyboard hook modules out there that basically use Win32 interop to get this effect but each implementation I've tried ties down the keyboard to some extent to where you start getting weird behaviors when the application is doing something intensive. Such as loading a large amount of data, this would cause the keyboard and mouse to lockup. I'm looking for a lightweight solution that would allow this to be done without tying down the keyboard and mouse.", "How to install Canon LBP2900b drivers?", "Please describe direct products in the category Rel.", "How to enumerate with small roman capitals (not lowercases)? Although I have seen many similar questions, none has been useful. The question is quite simple: How do I reproduce the highlighted numerals in the image below? Note that the form of the numerals addressed in questions as is different from this one. Thank you in advance!", "Suppose the following dialogue: ... &quot;I accept only one notion of land property. Namely, 'I am doing my stuff here, therefore I am here&quot;. &quot;But this means,&quot; he responded, &quot;you can break into any place and stay there, using this rule.&quot; &quot;There is another rule, though. Right to act in its most natural sense, 'I am here, therefore I am doing my stuff here.&quot; &quot;But do not these rules put together become circular reasoning?&quot; &quot;Of course, they do,&quot; I put my head closer to him, &quot;and this is exactly that rare case when circular reasoning is not only sufficient, but is necessary.&quot; &quot;But why is that? Circular reasoning never was a correct argument.&quot; &quot;There are many circular things happening in nature. Life forms, for example, exist only in order to produce new life forms or to prolongate their own lifetime. Is there any reason to say this can't be the case for reason itself? Why must reasoning not be circular?&quot; ... Can circular reasoning ever be justified? For example, we know all the words in our languages can't be defined using other words without the use of circularity. We know logic can't prove itself without circularity. Are these arguments rational? Are there any other arguments where circular reasoning is still rational?", "At least two questions (, ) on this site indicate that in more than a few isolated cases at least, letters of recommendation are in fact written by the applicant and only signed off (or perhaps rephrased somewhat) by the recommender, who would actually be responsible for writing the letter. Is there any evidence about the prevalence of this practice that goes beyond anecdotes? I realize that cross-country (cultural) difference may play a role.", "Creating square buffer around point feature using ArcGIS for Desktop? I would like to create a square buffer from a point feature but I do not understand the code that goes into it. Similar questions have been asked on the forums.esri website but that was over 10 years ago, and it did not work when I tried the code. How do I create a square buffer from a point feature?", "No sound ALC294 Asus ROG Strix 512 Ubuntu 20.04.01", "Atiyah-Macdonald, Exercise 5.4 I was having some trouble with the following exercise from Atiyah-Macdonald. Let $A$ be a subring of $B$ such that $B$ is integral over $A$. Let $\\mathfrak{n}$ be a maximal ideal of $B$ and let $\\mathfrak{m}=\\mathfrak{n} \\cap A$ be the corresponding maximal ideal of $A$. Is $B_{\\mathfrak{n}}$ integral over $A_{\\mathfrak{m}}$? The book gives a hint which serves as a counter-example. Consider the subring $k[x^{2}-1]$ of $k[x]$ where $k$ is a field, and let $\\mathfrak{n}=(x-1)$. I am trying to show that $1/(x+1)$ could not be integral over $k[x^{2}-1]_{\\mathfrak{n}^{c}}$. I have understood why this situation serves as a counterexample. But I am essentially stuck at trying to draw a contradiction. A hint or any help would be great.", "Using (or not) the word \"to\" in a sentence ending with \"be able\" Which of these is grammatically correct? As educators, we are always looking for ways to reach all the learners in our classroom as effectively as we are able. As educators, we are always looking for ways to reach all the learners in our classroom as effectively as we are able to.", "How to keep font preferences in TexWorks 4 The default font is too small on my screen at the resolution I have it, so I like to reset the font to size 12, but it appears I have to do this everytime I launch the program. How do I make it remember my preferences?" ]
medi_sts_stackexchange_dupe
Evaluating $\lim_{x\to \infty}(\frac{x}{x-1})^x$
Prove that $\lim_{x \to \infty}\big(\frac{x}{x-1}\big)^x$ is also $e$.
[ "I needed some simple string encryption, so I wrote the following code (with a great deal of \"inspiration\" from ): // create and initialize a crypto algorithm private static SymmetricAlgorithm getAlgorithm(string password) { SymmetricAlgorithm algorithm = Rijndael.Create(); Rfc2898DeriveBytes rdb = new Rfc2898DeriveBytes( password, new byte[] { 0x53,0x6f,0x64,0x69,0x75,0x6d,0x20, // salty goodness 0x43,0x68,0x6c,0x6f,0x72,0x69,0x64,0x65 } ); algorithm.Padding = PaddingMode.ISO10126; algorithm.Key = rdb.GetBytes(32); algorithm.IV = rdb.GetBytes(16); return algorithm; } /* * encryptString * provides simple encryption of a string, with a given password */ public static string encryptString(string clearText, string password) { SymmetricAlgorithm algorithm = getAlgorithm(password); byte[] clearBytes = System.Text.Encoding.Unicode.GetBytes(clearText); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, algorithm.CreateEncryptor(), CryptoStreamMode.Write); cs.Write(clearBytes, 0, clearBytes.Length); cs.Close(); return Convert.ToBase64String(ms.ToArray()); } /* * decryptString * provides simple decryption of a string, with a given password */ public static string decryptString(string cipherText, string password) { SymmetricAlgorithm algorithm = getAlgorithm(password); byte[] cipherBytes = Convert.FromBase64String(cipherText); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, algorithm.CreateDecryptor(), CryptoStreamMode.Write); cs.Write(cipherBytes, 0, cipherBytes.Length); cs.Close(); return System.Text.Encoding.Unicode.GetString(ms.ToArray()); } The code appears to work fine, except that when decrypting data with an incorrect key, I get a CryptographicException - \"Padding is invalid and cannot be removed\" - on the cs.Close() line in decryptString. example code: string password1 = \"password\"; string password2 = \"letmein\"; string startClearText = \"The quick brown fox jumps over the lazy dog\"; string cipherText = encryptString(startClearText, password1); string endClearText = decryptString(cipherText, password2); // exception thrown My question is, is this to be expected? I would have thought that decrypting with the wrong password would just result in nonsense output, rather than an exception.", "Feedback for The Loop - May 2020 May’s “The Loop” blog post was just posted, you can read it . A popular response last month to our post about how we receive, prioritize and implement feedback was a question around how this framework gets utilized in the practical sense. We thought that Dark Mode was a great feature to dig down into as it was so widely requested and anticipated. We hope you enjoy this month’s post, please leave any questions or comments you have in this thread and we will respond ASAP.", "How do I copy a file in Python? I couldn't find anything under .", "An insurance company supposes that the number of accidents that each of its policyholders will have this year is Poisson distributed, with a mean depending on the policyholder: the Poisson mean Λ of a randomly chosen person has a Gamma distribution with the Γ(2, 1)-density function fΛ(λ) = λe−λ (λ > 0). Find the expected value of Λ for a policyholder having x accidents this year (x = 0, 1, 2, . . .). I am not sure how to incorporate the gamma parameters. So far I have found P(X = n|Λ = λ) = Poisson(λ) and fΛ(λ)= Exp(λ) so by integrating P(X = n|Λ = λ)fΛ(λ) then letting the integral of Gamma (n + 2, 2) equate to 1, I have worked out P(X = n) = (n + 1)/2^(n+2). How do you find the expected value of Λ from that? I have seen that a Gamma-Poison mix has E(X) = αβ which would give 2 but I have tried integrating fΛ(λ) and can't seem to get 2.", "My actual question is to find the number of transversal given a collection of set ... After a little bit of study it has come down to: How can we count the number of matchings in a bipartite graph with parts of size $m$ and $n$ such that it covers all $m$ vertices of the first part, $m \\le n$? I already know that there is a way to count the number of perfect matchings in a bipartite graph with $m=n$ using the permanent of its (square) incidence matrix.", "Minimal sufficient statistic of $\\operatorname{Uniform}(-\\theta,\\theta)$", "Does Windows log programs that have been run/called?", "In the PHP manual, to show the syntax for functions with optional parameters, they use brackets around each set of dependent optional parameter. For example, for the function, the manual reads: string date ( string $format [, int $timestamp = time() ] ) Where $timestamp is an optional parameter, and when left blank it defaults to the function's return value. How do you go about creating optional parameters like this when defining a custom function in PHP?", "Cut part from video file from start position to end position with FFmpeg I have a video file of 30 minutes, but I want to extract a video from 00:09:23 to 00:25:33. I can define the startposition with -ss, but I couldn't find one for the end position. Any help please?", "Run a program without administrative privileges in Windows 7 My account in Windows 7 is an administrator account. When I open the Run box (WinKey + R), I am warned, \"This task will be created with administrative privileges.\" Is there any way to run programs as myself, but without administrative privileges when logged in as an administrator?", "Entity Framework and SQL Server View", "I have a bunch of magnets (one of those game-board thingies) given to me when I was a school-going lad over 20 years ago, and the magnets feel just as strong as it was the day it was given. As a corollary to this question , is there a way to determine how long a permanent magnet will remain a magnet? Addendum: Would two magnets remain a magnet for a shorter duration if they were glued in close proximity with like poles facing each other?", "Are bridges like hubs or switches? It is my understanding that the main difference between a network hub and a network switch is that the hub always sends out all packets to all (other?) hosts while the switch is smart about it and keeps track of which port belongs to which MAC address via MAC address tables and whatnot. If a packet is addressed to a host which is connected to the switch but have never sent or received anything, the switch acts like a hub would. But every subsequent packet addressed to that host is not broadcast to the other hosts but forwarded only to that specific host. Please correct me if I got something wrong. Does a network bridge in Linux act like a hub would, or like a switch?", "I've recently taken up a position in an all Mac workshop - We have Intel based Apple machines. Can I dual boot Ubuntu on my machine, if so how?", "Incorrect whitespaces or list item size in Android SE app Noticed that sometimes when there are 10+ answers to a question - some answers look like they have \\n\\n...\\n line breaks in the end, so the body of the answer has incorrect height. It probably has something to do with ViewHolder or adapter not setting correct row height. Although as far as I know, it should do this according to text amount/length.", "Enum ToString with user friendly strings My enum consists of the following values: private enum PublishStatusses{ NotCompleted, Completed, Error }; I want to be able to output these values in a user friendly way though. I don't need to be able to go from string to value again.", "What canon evidence is there that Stormtroopers are/are not still clones? Reading this article about , my nerd-rage started flaring as they claimed that Stormtroopers were still Fett-Clones 20 years after the rise of the Empire. As I started thinking about it, I realized that everything I had read saying that Modern-Day Stormtroopers not being clones was from the EU - C Level books or games. One of the quotes often cited for backing the idea that the Stormtroopers are clones comes from Princess Leia: Aren't you a little short for a Stormtrooper? But through the movie, paying close attention, Stormtroopers are often shown to be slightly different heights. One even hits his head in the doorway while others walk through uninjured. Is there any G Canon fully canon (non-Legends/Infinities) evidence to support the idea that Stormtroopers are, or are not still clones at the time of Episode IV?", "Prove if $ p$ is a prime of the form $3n+1$, then $p$ is also of the form $6m+1$ Prove that if $p$ is a prime of the form $3n+1$, $p$ is also of the form $6m+1$. I guess one could use the division algorithm for this; but, what's the best method?", "'Drop us a line' - letter or phone call? According to , dropping someone a line means sending them a short message. Is this correct? I always thought it meant phoning someone, the line referring to a telephone line.", "Why should a CTE start with a semi-colon?" ]
medi_sts_stackexchange_dupe
How to show an exclusion limit
Filling a polygon with a pattern of insets
[ "Is it possible to sync files via rsync and let rsync only compare mtime informations? Or is there another tool for this job? That means that such a tool only copies src to destination if the src is newer than the destination. Comparable to GNU cp --update - but also over ssh ...", "Can you save an image with a white background as a transparent image out of Photoshop?", "Are Playstation 4 games locked to a certain region? This question has been asked before, but it was for PS3 and Xbox 360 and was asked August 2010. This time around my question goes specifically to PS4, since I'm moving from Mexico to Europe and I was wondering if the European games will run in my console or if I'll have to buy a new one. I never thought of this before (which is why I never paid attention if it was mentioned in reports or specs of the console) and the research I did wasn't too helpful.", "Are there benefits of passing by pointer over passing by reference in C++? What are the benefits of passing by pointer over passing by reference in C++? Lately, I have seen a number of examples that chose passing function arguments by pointers instead of passing by reference. Are there benefits to doing this? Example: func(SPRITE *x); with a call of func(&amp;mySprite); vs. func(SPRITE &amp;x); with a call of func(mySprite);", "Unresolved external symbol on static class members", "Getting an error while trying to script it, specifically \"Cannot use VB for services.\" Snippet and VB code block as follows: Raw block (works within ArcMap): \"\\ftp\\raw\\YYYYMMDD\\Files\\Charles\" +[NAME]+\".ntf\" Snippet: date = '\"20160207\"' arcpy.CalculateField_management(outShp, \"Link\", '\"\\\\\\\\ftp\\\\raw\\\\\"' + date + '\"files\"' + \"[NAME]\"+ '\".shp\"', \"VB\", \"\") Not sure what the issue is, somehow need to be able to insert the date and have it syntactically be correct (in either VB or python). I didn't explain very well I have a column that contains a portion that is part of the hyperlink, so need to concatenate A column to the end of B column (with the partial path) to complete the link", "\"Ten times fewer the number\" versus \"one-tenth the number\" Lately I've been hearing and reading statistics that are communicated in wording that, frankly, confuses me. Forgive me for not citing specific instances, but I can give a hypothetical statistic that exemplifies the kind I'm referring to: Comparing the number of tax returns the IRS audited in 2002 and 2010, the number of unlucky folks who had their returns audited in 2002 was ten times fewer than the number in 2012. There is something about that wording that bothers me, and I'm not sure why. After a fruitless search on the internet using numerous combinations/permutations of words and phrases such as \"X times fewer,\" \"X times less,\" \"mathematical expressions of 'times fewer' as opposed to 'a fraction fewer,' or 'a fraction less,'\" and more, I came up empty. Perhaps this question is more appropriate on a math website, but in the off-chance members of EL&amp;U might give their imprimatur to this question, here goes: Here's a second hypothetical example. Is it grammatical—not to mention mathematical—to say the following?: There are ten times fewer pollinating honeybees worldwide today than there were in 1912. [Though this is a made-up statistic, there has been a dramatic reduction in the number honey bees in America of late!] Should not the expression be: There are one-tenth fewer honeybees worldwide today than there were in 1912. On the surface, the \"ten times fewer\" locution seems to me to be a contradiction in terms. How can something less be 10 times fewer? I can understand readily how, for example, 2012's bee population of, say, 90 million can be one-tenth (point one) less than 1912's population of 100 million, but ten times fewer? I'm confused. Which expression is \"more\" correct?", "Purpose of @ Symbol Before Strings?", "Should initial e's after h-dropping be capitalized? A new Victorian-set British novel begins sentences containing h-dropping with lower-case e's, as in \" 'e took my money, 'e did.\" This seems incorrect but I'm at a loss to find the rule.", "Meta Theory when studying Set Theory What exactly serves as the meta theory in the study of set theory (for example in Kunen's text). It seems to involve a certain amount of number theory and a certain concept of what it means to be finite. Also: We usually use $\\bigcup_{\\alpha\\in{ON}}R_{\\alpha}$ as our set theortic universe $V$ (in the sense we believe that all sets we are interested in live there) where $R_{0}=\\emptyset$, $R_{\\alpha+1}= \\mathcal{P}(R_{\\alpha})$ and $R_{\\alpha}=\\bigcup_{\\beta&lt;\\alpha}R_{\\beta}$ when $\\alpha$ is a limit ordinal. The study of independence results then seem to be based on relatavizing notions with this $V$ as our set theoretic universe. It seems that it is implicitly assumed that the $\\omega$ in $V$ has no non-standard elemements (in the sense that there is no $n&gt;a$ in $\\omega$ where $a$ is obtained be repeatedly applying the successor operation to $0$.) Is this true and can it be formalized or is it something that is taken for granted? e.g. If the above were true then $ZFC\\vdash{\\neg{Con(\\ulcorner{ZFC}\\urcorner)}}$ would imply that $ZFC$ is inconsistent since we may look at the $ZFC$ axioms $\\phi_{1},...,\\phi_{n}\\vdash\\neg{Con\\ulcorner{ZFC}\\urcorner}$, then look at a ctm these axioms (which exists by reflection and downward Lowenheim Skolem) and recover the proof of the contradiction.", "I know of 2 basic kinds of default web icons for websites: : place an .ico formatted file at the root of your site named favicon.ico and most desktop browsers will find it and display it in various contexts (bookmarks, tabs). Can also be added in code, which allows you to specify other names and other graphics types to the file, though there are : &lt;link rel=\"shortcut icon\" href=\"/favicon.ico\" /&gt; &lt;link rel=\"icon\" href=\"/favicon.ico\" /&gt; : place a png formatted file called either apple-touch-icon.png or apple-touch-icon-precomposed.png at the root of your site and iPhone OS/iOS versions of Safari will pick those up and store them when the site is added to the Home Screen. Can also be added with code like: &lt;link rel=\"apple-touch-icon\" href=\"/custom_icon.png\" /&gt; Are there any other default icon graphics for a website a webmaster can include?", "No version of Ubuntu can be installed with any Skylake 6th generation Intel processor", "Why does a $1/2$ appear in this simple capacitor equation? The maximum energy stored by a capacitor is when it’s (theoretically) fully charged, or just before it reaches dielectric breakdown, if you will. It seems, then, that the maximum energy ($E$) $=QV$, where $Q$ is the maximum charge attained and $V$ is the maximum ‘voltage’. However, the correct equation for the maximum energy is $E=\\frac{1}{2}QV$. Why? I’m looking for a simple, intuitive explanation because my reasoning that $E=QV$ seems sound to me. I know about , but I’m looking for a reason to disprove my specific argument that $E=QV$ and not the “Oh, it comes from integration.” response.", "Do the -ing and to-infinitive \"verbs\" that follow catenative verbs always take the grammatical function of \"noun\"? I'm wondering whether or not the verb form that follows a catenative verb has the grammatical function of a noun or of a verb, and whether or not it depends on the first catenative verb. \"I like to run\" \"I like running\" the -ing and the to infinitive can easily be switched in this sentence, and it seems to be implying \"I like [the act of[running]]\", so both the infinitive and the gerund are nouns. \"I like to run marathons\"/\"I like running marathons\" These seem like they might still be nouns but need \"verb powers\" to take the object, and then these sentences really turn into \"I like [the act of [running marathons]]\"/ \"I like [to be in the state of [running marathons]]\". Is this true for both the -ing (and so it would be a gerund) and the to-infinitive? Are they, sort of, initially verbs so that they can take the object, and then the verb + object becomes a noun phrase? If this is true, I'm also wondering if the same rules apply for a catenative verb such as \"start\". \"I started to run in the mornings\" \"I started running marathons in 2008\" \"start\" is a catenative verb that isn't a cognitive/emotion verb, and specifically suggests action. So what is the grammatical function of the to-infinitive and -ing verb forms? are they verbs? are they nouns? It just seems incorrect to say that their grammatical function is a noun, but everything I've seen on the internet is pretty vague. I've also seen that to-infinitives are never verbs, but only from one source and it just doesn't seem right to me. So any ideas on the true grammatical function of the -ing and the to-infinitive after a catenative verb? And is it universal across catenative verbs, or does it depend on the verb category?", "Is there an easy way to see associativity or non-associativity from an operation's table? Most properties of a single binary operation can be easily read of from the operation's table. For example, given $$\\begin{array}{c|ccccc} \\cdot &amp; a &amp; b &amp; c &amp; d &amp; e\\\\\\hline a &amp; e &amp; d &amp; b &amp; a &amp; c\\\\ b &amp; d &amp; c &amp; e &amp; b &amp; a\\\\ c &amp; b &amp; e &amp; a &amp; c &amp; d\\\\ d &amp; a &amp; b &amp; c &amp; d &amp; e\\\\ e &amp; c &amp; a &amp; d &amp; e &amp; b \\end{array}$$ it is easy to check that it is closed (no elements occur in the table which don't occur as row or column index), commutative (the table is symmetric), has a neutral element (the row and column of $d$ are copies of the index row/column), and has an inverse element for each element (there's a $d$ in each row and column). In other words, almost all important properties can immediately be seen. The only part missing is associativity. Therefore my question: Is there a simple way to see directly from the operation's table (i.e. without doing explicitly all the calculations) if an operation is associative?", "When using QuickLook to quickly look through multiple images (pressing space and then using the arrow keys to navigate), some images will not get displayed by QuickLook when hitting them up a second time (going back for example). A GIF does a much better job than me showcasing the issue. So here's me previewing a few random images: I have tried deleting ~/Library/Preferences/com.apple.QuickLookDaemon.plist ~/Library/Caches/com.apple.QuickLookDaemon/Cache.db ~/Library/Caches/com.apple.QuickLookDaemon32/Cache.db ~/Library/Containers/com.apple.quicklook.ui.helper and restarting, unfortunately to no avail. Repairing permissions and restarting the Finder in 32-bit mode, as suggested by others, don't appear to have any effect on this issue either. This happens with all kinds of images, no matter their source or format.", "fetching list of friends using facebook 2.0", "Is it \"5–6 weeks are a lot of time\" or \"5–6 weeks is a lot of time\"?", "Could someone please help me with this proof? Suppose that $a, b \\in N$, and $d = \\gcd(a, b)$. Since $d$ divides $a$, we have $a = de$ for some integer $e,$ and similarly $b = df$ for some integer $f$. Prove that $\\gcd(e, f) = 1$. I understand why it works. Since d is all the common factors of $a$ and $b, e$ and $f$ had no common factors, therefore the $\\gcd(e,f) = 1$. But how do I prove this? Thanks in advance.", "I have a CSV with an address field (no lat/long), so I went to Google My Maps, imported the csv and geocoded of the records. Now I export the layer as KML and added the KML to QGIS and Google Earth Pro, but in non of them I can see the markers. In fact in QGIS, the KML layer is added as datatable (no geometry). What's happening? How can I export a geometry layer from google My Maps?" ]
medi_sts_stackexchange_dupe
Does instanceof operator generate a lot of overhead ? Why?
The performance impact of using instanceof in Java
[ "How to retrieve all keys (or values) from a std::map and put them into a vector? This is one of the possible ways I come out: struct RetrieveKey { template &lt;typename T&gt; typename T::first_type operator()(T keyValuePair) const { return keyValuePair.first; } }; map&lt;int, int&gt; m; vector&lt;int&gt; keys; // Retrieve all keys transform(m.begin(), m.end(), back_inserter(keys), RetrieveKey()); // Dump all keys copy(keys.begin(), keys.end(), ostream_iterator&lt;int&gt;(cout, \"\\n\")); Of course, we can also retrieve all values from the map by defining another functor RetrieveValues. Is there any other way to achieve this easily? (I'm always wondering why std::map does not include a member function for us to do so.)", "By 18 years of age, I want a brand new car that's $43,668 I'm from Arizona and I will be 18 in 4 months. I make about $1,200 a month from my job. I have $600 in my bank account and I don't plan to spend any of it until I'm 18. I'm looking to get a brand new Jeep Wrangler Rubicon that costs about $43,000. The down payment is 10% (about $5,000) with an APR of 4.28%. The duration is 60 months with a monthly payment of $800. I don't have any credit. My friend suggested that I ask my parents to put my name on one of their credit cards so that I can build some credit. I'm not sure how that works. Can someone suggest a good way of going about this so I can get this car on or around my birthday? My mom does finance work for a big company and she told me that I should get a cheaper car. I really want this one and I'm willing to work for it. I'm getting a second job to get more money rolling in. My mom said that the only way that this would work is if I have a down payment of $15-20k. She also said that not everyone qualifies for a car like this one. What can get me to qualify ASAP when I turn 18?", "Low-RAM Linux Distro Specifically for serving static sites I'm looking for a near-zero-configuration linux distro that is designed specifically for serving static web sites and nothing else on a low-RAM machine (I'm planning on 128MB, but the option of less would be nice). Any ideas of a linux distro specifically tuned for serving static sites in a small footprint?", "Intuitive explanation of unit root How would you explain intuitively what is a unit root, in the context of the unit root test? I'm thinking in ways of explaining much like I've founded in . The case with unit root is that I know (little, by the way) that the unit root test is used to test for stationarity in a time series, but it's just it. How would you go to explain it to the layperson, or to a person who has studied a very basic probability and statistics course? UPDATE I accepted whuber's answer as it is what most reflect what I asked here. But I urge everybody that came here to read Patrick's and Michael's answers also, as they are the natural \"next step\" in understanding the Unit Root. They use mathematics, but in a very intuitive way.", "hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent", "I am travelling to Calgary from Delhi. I have an Air India flight from Delhi to Dubai then British Airways flight from Dubai to London and Air Canada flight from London to Calgary. My query is \"Do I require a transit visa.\" Plz help as I am travelling in four days", "How to install Ubuntu on portable external Hard Drive?", "I want to update my sources.list file with the fastest server from the command line in a fresh Ubuntu Server install. I know this is trivially easy with the GUI, but there doesn't seem to be a simple way to do it from from the command line?", "I Need to Shrink My Database - I just freed a lot of space This question is asked in various forms here but the question boils down to: I know shrinking a database is risky. In this case, I've removed so much data and I'll never use it again. How can I shrink my database? What files do I shrink? What should my considerations be while doing this? Should I do anything after? What if it is a large database? Can I shrink it in smaller increments?", "A challenge on the parabola Good Night ... Here I am editing the question and explaining the purpose of the same ... Mathematics course, and I love this science, I am very curious, and these days, studying a book of calculus found in (book from the library of the University) a sheet full of challenges, to share with a colleague, he gave me this challenge, which he also failed to respond ... I tried, I tried, I used the formulas of quadratic equation, and I've been trying since Friday (here in Brazil is Sunday at 22:33), and could not, and I ask your help, and please believe me, I struggled, tried to make substitutions, tried both, and I'm confused ... I must find the values of $ a, b $ and $ c $? Consider a parabola whose roots, other are $x'$ and $x''$, and such that $x'=-x''$ where $x'&gt; 0$. Let $$A = (x', 0)$$ $$B = (x'', 0)$$ and $V$ the vertex of the parabola. Suppose that the equation of this parabola is $$y = ax^2 +bx+ c$$. Calculate the value of the discriminant $$\\Delta=b^2-4ac$$, so that the triangle is equilateral AVB.", "Why is 8 so special? I have been reading about multi-dimensional numbers, and found out that it's been proven that the Octonions are the composition algebra of the largest dimension. I was wondering why, despite having infinitely many different dimensions of numbers, the only composition algebras are of 1, 2, 4, and 8 dimensions. What's so special about 8?", "To apply for a Schengen business visa, you need a letter from the company in the Member state inviting you. My company is based in the UK, owns properties in Schengen countries, and I have to inspect their condition. What letter do I get?", "How do I get the local machine name in C#?", "Nth max salary in Oracle", "I'm new in this computer terms. So anyone can explain to me what \"virtual cores\" and \"hyperthreading\" are at greatest detail a layman can understand? People told me that virtual cores are imaginary cores acting like a physical core. If that is so, then can I make my AMD v105 processor single core a dual core processor? Is it also possible to hyperthread my CPU? Are these functions built in?", "The page indicates \"the hats get put back in their boxes on January 4th\". Aside from the pure terror that sentence seems to invoke, I was curious of exactly when this is going to be. I know that the hats have caused a bit of a time warp at times (for example the starred chat hats). Will this be true of the removal process as well? Do we get our hats until 23:39 UTC Jan 4th, are they removed at the end of UTC Jan 3rd?", "First, this question is motivated by the imprecise question: Is there a sensible notion of parity (evenness and oddness) for real numbers? Here are some properties a notion of parity for $\\mathbb{R}$ should have: It should be an equivalence relation on $\\mathbb{R}$ with exactly two equivalence classes. Each equivalence class should be dense in $\\mathbb{R}$. There should be some kind of symmetry between the two equivalence classes. (This is intentionally imprecise.) If we divide $\\mathbb{R}$ into rationals and irrationals, this lacks symmetry, since the rationals have measure zero and are countable, while the rationals have infinite measure and are uncountable. So we could require that each equivalence class be uncountable and/or have positive (or infinite) measure. Then take one equivalence class to be the rationals, union with countably many fat cantor sets with positive measure, and the other class its complement. Then both classes are now dense, uncountable, and have infinite measure. But again, symmetry is lacking. One of these classes is \"uncountable everywhere\" and has \"positive measure everywhere\" while the other does not. I propose some definitions: A subset $A \\subset \\mathbb{R}$ is uncountable everywhere if for any open interval $(a,b)$, the intersection $A \\cap (a,b)$ is uncountable. A subset $A \\subset \\mathbb{R}$ has positive measure everywhere if for every open interval $(a,b)$, the intersection $A \\cap (a,b)$ has positive measure. We can see immediately that having positive measure everywhere implies being uncountable everywhere, since a positive measure set must be uncountable. Finally, my questions: Is there a partition of $\\mathbb{R}$ into two sets that are both uncountable everywhere? Is there a partition of $\\mathbb{R}$ into two sets that both have positive measure everywhere? Is there a partition of $\\mathbb{R}$ into two sets that split each interval $(a,b)$ into two parts of equal measure? Potential generalizations for extra credit: What about partitions of $\\mathbb{R}$ with $n$ equivalence classes, where $n \\in \\mathbb{N}$, or even with countably many, or even uncountably many equivalence classes? Note: If you've seen these definitions of uncountable everywhere or positive measure everywhere somewhere under a different name, please let me know. I've never found anything where other people were thinking about these notions. EDIT: By \"measure,\" I mean Lebesgue outer measure, so we don't have to worry about anything being measurable.", "Does this seemingly elementary question require König's theorem?", "How is Angular Momentum Conserved when Mass is Released? I am not a physicist (math/comp-sci) but I understand that Angular Momentum is supposed to be conserved. I find this confusing because there seems to be many simple, common cases where a restrained, revolving body, when released seems to lose it's angular momentum. For example, let's say that a hammer thrower is revolving a 10kg hammer around herself at a 1 meter distance from their combined center of mass every second. Taking the hammer as a point-mass, then before release, the hammer and the thrower each have an angular momentum of $l\\omega = (mr^2)*(2\\Pi) = (10*1*1)*(2*3.14..) =~ 62.8 kg\\text{-}m^2/s$ Now, after the hammer is released, the thrower still has her same angular momentum (also 62.8), but the hammer no longer seems to have any. Yes, I know that the hammer is still rotating (spinning) as it did when it was revolving around the thrower, so that angular momentum seems to be conserved, but the angular momentum from revolution (orbiting) seems to be gone. AFAIK, it's not transferred to it's spin angular momentum (observation seems to bear this out). Nor is it transferred to the thrower. Besides having no mechanism for this (she let go of it), if it did, we would have noticed hammer throwers being knocked over by having their angular momentum suddenly doubled. So where does it go? Or is it not actually conserved in this case?", "Convert a string to an enum in C# What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration value. In an ideal world, I could do something like this: StatusEnum MyStatus = StatusEnum.Parse(&quot;Active&quot;); but that isn't a valid code." ]
medi_sts_stackexchange_dupe
Is there a general word for performing music?
Word for "to make music"
[ "UV coordinates on a deformed plane", "16 GB USB flash drive capacity down to 938 MB After writing the FreeNAS IMG to a 16 GB USB flash drive, I can now only use 938 MB. I used the Win32 Disk Imager tool to write the IMG to the device. Then later, when I inserted the the USB drive into my Windows 7 computer it said that it had to be formatted, because it couldn't read it. I believe this is normal. So I formatted it inside Windows using the format option when prompted. So in Windows Explorer now, 938 MB is reported as capacity of this device. Also, when i check the properties dialog box I can see the same numbers. And when I check with diskmgmt.msc I can see there are several volumes I don't recognize and unallocated space of 12.79 GB. Now, I have another 2 GB USB flash drive with the same problem. It too was used for FreeNAS, and it too has a reported capacity of only 938 MB. I thought it was broken there for a while, until I saw the same problem with this 16 GB model. I tried using diskpart on the 2 GB model, and I saw that there were several partitions there (list partitions) just like on this one. So I used the clean option to try to wipe it, but that wiped off everything so it's totally useless now. I'm not sure how to rebuild it. Is this a standard routine, like part of the whole \"user experience\", that whenever you make a bootable USB falsh drive with FreeNAS, it messes up your device? I am new to FreeNAS, so i wouldn't know. But it sure looks like it. Maybe it is in fact the format operation in Windows that messes things up... I don't know. It's not very nice. How do I restore the capacity back to 16 GB-ish (14.9 GiB)?", "How do I create a link? Say I am extending The blockBase class to create a custom block, and I am implementing the blockBuild method to create some markup for my block. Something like this: class YourModuleBlock extends BlockBase { /** * Implements \\Drupal\\block\\BlockBase::blockBuild(). */ public function build() { return array( '#markup' =&gt; 'This is a block!', ); } } If I wanted to provide a link in this markup, in D7 I would have used the l function, but this is no longer available (). So, I need to make available the new D8 method for generating links. I could just use an &lt;a&gt; tag, but this was never best practice in D7. So, what is the right method to use for creating links and how do I make it available to my function?", "php String Concatenation, Performance In languages like Java and C#, strings are immutable and it can be computationally expensive to build a string one character at a time. In said languages, there are library classes to reduce this cost such as C# System.Text.StringBuilder and Java java.lang.StringBuilder. Does php (4 or 5; I'm interested in both) share this limitation? If so, are there similar solutions to the problem available?", "In the various Zelda video games, there seems to be a common mythology, and at least some potential to be in the same place. Do the various Zelda games take place in the same world, or is there no intent to do so?", "You'd think that as soon as Harry met someone who was friends with his dad, he'd have asked about his family. Certainly Lupin or Sirius could have told him something of his family, given that they were James' closest friends, and Sirius was \"always welcome at the Potters\". Obviously there's nothing in the books, but did J.K. Rowling ever explain why there was no mention of any living relative other than Aunt Petunia, or even what happened to Harry's grandparents?", "CodeIgniter: A Class/Library to help get meta tags from a web page?", "Google search results showing up a URL on its search which doesn't exist on the website I am using a keyword to display a website page on google search. After entering the keyword, on the first page of google, I am redirected to a page, whose domain is exactly similar to the website whose page I want to display, but it is showing a page which doesn't even exist on the domain. Also, as similar domain with spam characteristics is also getting displayed. To practically demonstrate this issue, do follow the below steps. Go to Type dolce streichquartett and click on search. The 4th/5th URL has this link http://www.dolce-streichquartett.de/?high_ry=/casinos/de/spielautomaten-casino-bregenz.php, which is no where on the website and looks like spam The 7th/8th link you see is http://deonlinecasino.org/doc/kostenlos-roulette-spielen-spielgeld-ausdrucken.php, which is exactly similar to the above with the title as the keyword but a different domain. What is this issue and why is this happening?", "How to get a tool that can only break specific blocks and has a name?", "Here is some information we got : We know the value of $n$, with size $1043$. We know the value of $p$ (size $20$) and $q$ (size $1023$) as the factors. $e = 65537.$ $\\varphi(n)$ = $(q-1)(p-1)$ When I calculated $\\gcd$ and $\\text{modinv}$, I got : $\\gcd(e,\\varphi(n)) = 65537$ $modinv(e,\\varphi(n)) = 1 $ So we can tell that they are not relatively prime. So, how to compute the d, and get the value of m? I'm not that good with math, so I cant understanding well the theory. so can anyone please make an example implementation or write a clear formula?", "How should I install HPLIP binary/proprietary plugin/driver for my HP printer or printer+scanner? Let's assume that one has some modern HP printer and/or scanner which is supported by HPLIP package from official repository. Or supported by newer version of HPLIP package (see about installation). From official documentation () it is known that device needs proprietary/binary driver or plugin. How should one install such plugin?", "Zooming in to inspect texture details in 3D view clips some closer faces like shown in the image. It's not the camera view so changing camera settings doesn't help. Where can the distance to the clipping plane be adjusted?", "Reference for $\\text{Var}(X)\\le (b-a)^2/4$ I am not a statistician, but am working a proof for the upper bound of an expression which contains the variance of a variable which obtains its values from a closed interval, [0,1]. I have seen in several places (mostly forums and web pages) the result that $\\text{Var}(X)\\le \\frac{(b-a)^2}{4}$ for $a\\le X\\le b$. I would like to use, and cite, this result but am having an unusually difficult time finding a solid reference. Could someone here recommend one for me?", "I'm using Drupal 7. Is it possible to add a CC to a webform email? I was using function theme_webform_mail_headers($variables) { $headers = array( 'X-Mailer' =&gt; 'Drupal Webform (PHP/' . phpversion() . ')', ); return $headers; } changing it with function MYTHEME_webform_mail_headers($variables) { $headers = array( 'CC' =&gt; '[email protected]', 'X-Mailer' =&gt; 'Drupal Webform (PHP/'. phpversion() .')', ); return $headers; } It does not work, I've cleared all the chaches and it does not add the CC. How could I add the CC? Thanks in advance.", "I have the following table: \\documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \\usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{geometry} \\usepackage{longtable,array,booktabs} \\ifdefined\\mc \\renewcommand{\\mc}{\\multicolumn} \\else \\newcommand{\\mc}{\\multicolumn} \\fi \\begin{document} \\setlength\\LTleft{-3.0cm} \\setlength\\LTright{-2.0cm} \\scriptsize \\begin{longtable}{ l r @{--} p{1.3cm} &gt;{\\centering}p{2.6cm} *{4}{p{1.25cm}} p{2.1cm}} %% headers and footers \\caption{Table} \\\\ \\hline\\hline \\endfirsthead \\mc{9}{c}{\\tablename\\ \\thetable\\ -- \\emph{Continued from previous page}} \\\\ \\hline aaaaaaaaaaaaaaaaaaaaaaaa &amp; \\mc{2}{c}{bbb--ccc} &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\\\ \\hline \\endhead \\hline \\mc{9}{r}{\\emph{Continued on next page}} \\\\ \\endfoot \\hline\\hline \\endlastfoot %% body of table aaaaaaaaaaaaaaaaaaaaaaaa &amp; \\mc{2}{c}{bbb--ccc} &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\\\ aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\\\ aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\\\ aaaaaaaaaaaaaaaaaaaaaaaa &amp; bbb &amp; ccc &amp; ddd &amp; eee &amp; fff &amp; ggg &amp; hhh &amp; iii \\\\ \\end{longtable} \\end{document} which I would like to shift to the left by setting \\setlength\\LTleft{-3.0cm} and \\setlength\\LTright{-2.0cm}. Furthermore, I have to apply \\scriptsize for the table. However, none of these commands are working with revtex4. Could you please provide a solution to this problem? (This question is the same as in , but I cannot sign up with that username.) If it is not possible, an alternative solution would also be useful for me. For this case, I attached the first page of my real table.", "How to move the center of scaling Hello. I'm a beginner. In the model shown, when I select all of the top vertices and then scale them to the center, the center of scaling is not the center of the 3d-model. How do I move the center of scaling? How do I move the manipulator widget where I want it after selecting?", "Which is correct: \"has died\" or \"died\"? To me, using Present Perfect form means the event can occur again. So, saying someone has died may not be grammatically correct. Also, I noticed (it might be just coincidence): passed away is used more often than has passed away Is using Present Perfect correct here?", "Return a blank when cell reference is blank I am using the following formula in a Google Sheets to calculate the number of days between two dates (dates are in columns G and AL): =ARRAYFORMULA(if(row(A:A)=1, \"Readmission Days\", (G:G)-(AL:AL))) It has to be an array because I am working with a Google Forms and entries are automatically populated into new rows. The problem is that some of the cells in col AL are blank, so the formula is reading those dates as something else and returning a very large number. Also, when both cells are blank, the formula returns a 0, messing up my data. How can I include something to ignore blank cells or just return a blank when one or both cell references is blank?", "If no exact time (such as 15:00 or 21:00) is specified about the deadline and only the date itself is given, does that mean that the Deadline date is inclusive or exclusive? For example, if the deadline for my Research Project is 10th October (no other exact times are specified) does that mean that I can turn it in on 10th October before it turns into 11th October? Or should I submit it on 9th October before it turns into 10th?", "The definite article implying the generic idea of something I know that the definite article \"the\" can be used to mean a generic idea of something as in \"the lion is the king of the animals.\" In this sentence, the in \"the lion\" is used to imply the general image of lions, so not specifying a particular lion. However, I am confused in identifying where a \"the\" in a sentence is used for a general idea or a specific reference. For example, in the sentence \"the price of gas is soaring\", I heard that \"the\" in the sentence is an example of the generic use of the. Although I can easily understand the generic use of \"the\" in the lion example, but I do not understand how there is an general idea about gas price. Soaring gas price is something real,and gas prices in different regions( in a hypothetical situation) can be different. So, if I say \"the price of gas is soaring\", do I mean the price of gas that is determined by the world's oil system or can I say \"the gas price\" even when I am indicating the state of gas price in \"a particular region\"? I know it is even difficult to understand my question, but I hope someone could find what I am confused about and give an answer." ]
medi_sts_stackexchange_dupe
Why is `apt-get update` telling me to run `apt-get update`?
How to fix "W: Duplicate sources.list entry"?
[ "Can I get SSH to use an askpass program even if it was run from a terminal? says: SSH_ASKPASS If ssh needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh does not have a terminal associated with it but DISPLAY and SSH_ASKPASS are set, it will execute the program specified by SSH_ASKPASS and open an X11 window to read the passphrase. I'd like SSH to use an askpass program even if it was run from a terminal. On occasion, I have to connect to servers, where there's some delay in showing a password prompt (maybe due to network issues, maybe due to attempted reverse DNS lookups, …). I get annoyed and switch to something else, and forget about the attempted connection. (Insert joke about attention span of a goldfish.) When I finally get back to it, the prompt's timed out and even a correct password would just result in a closed connection. Keys would be one solution, but not every system I use has my usual SSH keys. However, I usually use Ubuntu systems, and Ubuntu has an SSH askpass program installed by default. If an askpass window popped up, however, I'd be immediately aware of it. That's a good enough compromise for me, if only I can get it to work.", "Why do the $n \\times n$ non-singular matrices form an \"open\" set? Why is the set of $n\\times n$ real, non-singular matrices an  open subset of the set of all $n\\times n$ real matrices? I don't quite understand what \"open\" means in this context. Thank you.", "I'm using wordpress multiste 3.3.1 I'm not gonna update it in the future. So I disabled all upgrade functions. I want to remove the wordpress admin bar from both frontend as well as dashboard. I can remove it from frontend using this code. add_action( 'init', 'disable_admin_bar', 1 ); function disable_admin_bar() { add_filter( 'show_admin_bar', '__return_false' ); } But i couldn't find any solution to remove it from dashboard. I don't want to use css solution to hide admin bar and I'm ready to edit the core files to remove it Can anyone help me to remove it completely?. Thanks", "How much Valyrian steel is there that is unused for link making and why aren't people making weapons out of it?", "I want to copy the data folders from a previous ubuntu(14.04) partition My hard drive is a mess and I want to reformat it and do a fresh install of 16.04. My problem is I only have access to the HDD via 16.04 on a USB stick and although I can navigate to the various folders, nothing I do allows me to copy to an external hard drive. The folders are not encrypted. I also have a small swap partition - I would like to preserve the data on that too if possible. Here's a listing of the home directories on the drive: ubuntu@ubuntu:/$ ls -l /media/*/*/home /media/ubuntu/0e228f65-dac7-435f-828b-1eb1a6c3f29a/home: total 4 drwxr-xr-x 46 1000 1000 4096 Dec 21 2015 simon /media/ubuntu/db79a6d1-7c6c-4d8c-822b-ba6ccd1ddecd/home: total 4 drwxr-xr-x 27 1000 1000 4096 Apr 17 2014 simon /media/ubuntu/ebe2a6ba-9cb5-4279-8352-5082b8dd4d5e/home: total 4 drwxr-xr-x 39 1000 1000 4096 Aug 3 14:21 simon", "Windows 10 - Users already logged in at boot", "Index of the center of a group in the group is not a prime number The question is to prove index of $Z(G)$ in $G$ is not a prime number. We know that $|G:Z(G)|=|G:C_G (x)||C_G (x):Z(G)|$ where $C_G (x)$ means centralizer of $x \\in G$ I want to mention that we do not want to use $G⁄Z(G)$ theorem. We may assume that $|G:Z(G)|=p$ where $p$ is a prime.", "How to change the date format? Presently the date is showing as mmm dd hh:mm:ss. Is there any way that I can change it to as per my liking. For example : dd mmm, hh:mm:ss.", "Plot Option Precedence while combining Plots with Show[]", "How can I easily share links or text between my Android phone and my laptop?", "Clarify or visualize the parameters involved for receiving the Curious badge", "How to add vertical space after \\hline without breaking vertical lines in a table I have seen similar questions on the matter (, ) of adding vertical space and not breaking vertical lines, the solutions suggested are to add space after the \\\\ using \\\\[0.1cm] for example or changing the \\arraystretch which I do not want to do. Using \\\\[0.1cm] allows me to add space just before a \\hline but not after as well. How can I add vertical space after a \\hline without breaking vertical lines in a table? Please find my MWE below: \\documentclass{scrreprt} \\usepackage{setspace} \\usepackage[left=2.5cm,right=2.5cm,top=3cm,bottom=3cm]{geometry} \\usepackage{array,tabularx} \\doublespacing \\begin{document} \\begin{table}[htb] \\centering \\onehalfspacing \\caption{Table of info.} \\begin{tabular}{c | c c} &amp; C/S Analyser &amp; O/N/H Analyser \\\\ &amp; EMIA 320 V2 &amp; EMGA 830 \\\\[0.1cm] \\hline \\noalign{\\vskip 0.1cm} Sensitivity (ppm) &amp; 0.1 &amp; 0.001 \\\\ Furnace type &amp; Induction &amp; Impulse \\\\ Carrier gas &amp; Pure O2 &amp; Pure He \\\\[0.1cm] \\hline \\end{tabular} \\doublespacing \\label{tab:chem} \\end{table} \\end{document}", "Solving an ODE in power series", "(Pardon if this seems a bit beginner, this is my first post in math - trying to improve my knowledge while tackling Project Euler problems) I'm aware of Sigma notation, but is there a function/name for e.g. $$ 4 + 3 + 2 + 1 \\longrightarrow 10 ,$$ similar to $$4! = 4 \\cdot 3 \\cdot 2 \\cdot 1 ,$$ which uses multiplication? Edit: I found what I was looking for, but is there a name for this type of summation?", "How do I extract all the external links of a web page and save them to a file?", "Finding all solutions for a system of equations with constraint on the sum of absolute values I am looking for a fast algorithm to find all integer solutions for the following system of linear equations ($c_1,\\ldots,c_n \\in \\mathbb{Z}$ and $r\\in \\mathbb{N}$ ): $x_1+x_2=c_1$ $x_3+x_4=c_2$ ... $x_{2n-1}+x_{2n}=c_n$ $|x_1|+|x_2|+\\ldots+|x_{2n}|=r$ $x_1,\\ldots,x_{2n} \\in \\mathbb{Z}$ Also can we find the number of solutions before solving the system?", "Effect on loading a DC motor - load torque Could someone give a (detailed) explanation (perhaps with formulas) of how the load (torque) affects the armature current of a DC motor (separately excited or shunt or series)? As the load torque increases the speed of the motor decreases, and assuming the terminal voltage stays constant, the EMF will become lower and thus the armature current will increase. But could someone give me the formula that shows the relation between load torque and armature current? Is it something like: \\$T_\\text{developed} = T_\\text{shaft} + T_\\text{friction windage} + T_\\text{load}\\$ , where \\$T_\\text{developed} = K \\, \\text{flux}_\\text{pole} \\,I_\\text{armature}\\$ ? But then you have \\$P_d = P_s + P_{f_w} + P_l \\$ where \\$P_d = K \\,\\text{flux}_\\text{pole}\\, I_\\text{armature} \\,\\omega_m\\$ In the last formula you can't see that as the increase due to \\$P_\\text{load }\\$ the armature current increases because maybe someone can say the speed \\$\\omega_m\\$ increases. And how come at no-load the armature current and thus the torque developed is zero? Is it really zero, or do I have to assume there is some current flowing? Could also explain me the principle of torque developed. Because at no load, the shaft torque is equal to torque developed, right?", "After writing the FreeNAS IMG to a 16 GB USB flash drive, I can now only use 938 MB. I used the Win32 Disk Imager tool to write the IMG to the device. Then later, when I inserted the the USB drive into my Windows 7 computer it said that it had to be formatted, because it couldn't read it. I believe this is normal. So I formatted it inside Windows using the format option when prompted. So in Windows Explorer now, 938 MB is reported as capacity of this device. Also, when i check the properties dialog box I can see the same numbers. And when I check with diskmgmt.msc I can see there are several volumes I don't recognize and unallocated space of 12.79 GB. Now, I have another 2 GB USB flash drive with the same problem. It too was used for FreeNAS, and it too has a reported capacity of only 938 MB. I thought it was broken there for a while, until I saw the same problem with this 16 GB model. I tried using diskpart on the 2 GB model, and I saw that there were several partitions there (list partitions) just like on this one. So I used the clean option to try to wipe it, but that wiped off everything so it's totally useless now. I'm not sure how to rebuild it. Is this a standard routine, like part of the whole \"user experience\", that whenever you make a bootable USB falsh drive with FreeNAS, it messes up your device? I am new to FreeNAS, so i wouldn't know. But it sure looks like it. Maybe it is in fact the format operation in Windows that messes things up... I don't know. It's not very nice. How do I restore the capacity back to 16 GB-ish (14.9 GiB)?", "Topological/Geometrical justification for $\\text{CFT}_2$ being special It is known as a fact that conformal maps on $\\mathbb{R}^n \\rightarrow \\mathbb{R}^n$ for $n&gt;2$ are rotations, dilations, translations, and special transformations while conformal maps for $n=2$ are from a much wider class of maps, holomorphic/antiholomorphic maps. I was wondering to know if there is any topological or geometrical description for this. To show what I mean, consider this example: in $\\mathbb{R}^n$ for $n&gt;2$ interchanging particles can only change the wave function to itself or its minus. It is related to the fundamental group of $\\mathbb{R}^n-x_0$ ($x_0$ is a point in $\\mathbb{R}^n$ and $\\pi_1(\\mathbb{R}^n-\\{x_0\\})=e$ for $n&gt;2$) but this is not true for $n=2$. I want to know whether exists any topological invariant or just any geometrical explanation that is related to the fact that I mentioned about conformal maps on $\\mathbb{R}^n$.", "Loading a .X model in DirectX 9" ]
medi_sts_stackexchange_dupe
Is a person using the pronoun "I" uncapitalized considered rude or uneducated?
Is it alright to use lowercase "i" or should you always use "I" (uppercase)?
[ "Why are addition and multiplication commutative, but not exponentiation? We know that the addition and multiplication operators are both commutative, and the exponentiation operator is not. My question is why. As background there are plenty of mathematical schemes that can be used to define these operators. One of these is where $H_0(a,b) = b+1$ (successor op) $H_1(a,b) = a+b$ (addition op) $H_2(a,b) = ab $ (multiplication op) $H_3(a,b) = a^b$ (exponentiation op) $H_4(a,b) = a\\uparrow \\uparrow b$ (tetration op: $a^{(a^{(...a)})}$ nested $b$ times ) etc. Here it is not obvious to me why $H_1(a,b)=H_1(b,a)$ and $H_2(a,b)=H_2(b,a)$ but not $H_3(a,b)=H_3(b,a)$ Can anyone explain why this symmetry breaks, in a reasonably intuitive fashion? Thanks.", "Green is the most common circuit-board color because it has become an industry standard. What I'm interested in is How the traditional \"PCB Green\" become a standard in the first place? Were there any interesting historical reasons for the initial choice, or was it just a product of what one particularly successful company was doing that became the de-facto standard?", "Xdotool using \"DISPLAY=:0\" not works in Crontab", "Prove that every Lebesgue measurable function is equal almost everywhere to a Borel measurable function Suppose $(\\mathbb{R},\\Sigma(m),m)$ is our measure space, where $m$ is Lebesgue measure. Also, suppose $f : \\mathbb{R} \\to [-\\infty, \\infty]$ is a Lebesgue measurable function. The problem: Prove that $f$ is equal almost everywhere to a Borel measurable function. My attempt: We only have to prove this assertion for a non-negative Lebesgue measurable function $f$ because the result will follow for all Lebesgue measurable functions. Furthermore, since any Lebesgue measurable function can be approximated by a sequence of non-negative, monotonically increasing, Lebesgue measurable simple functions $s_{n}$, we only need to prove the claim for an arbitrary Lebesgue measurable simple function. So, let $s: \\mathbb{R} \\to [-\\infty, \\infty] $ be a Lebesgue measurable simple function. We can write $s$ canonically as $$ s(x) = \\sum \\limits_{i = 1}^{n} \\alpha_{i} \\chi_{A_{i}}(x)$$ where $\\alpha_{i} \\in [-\\infty, \\infty]$, $\\bigcup \\limits_{i = 1}^{n} A_{i} = \\mathbb{R}$, and $A_{i} \\cap A_{j} = \\emptyset$ if $i \\neq j$. For each $i$, since $A_{i}$ is Lebesgue measurable, we can find a Borel set $B_{i}$ such that $A_{i} \\subseteq B_{i}$ and $m(B_{i} \\setminus A_{i}) = 0$. Clearly, this implies that $\\bigcup \\limits_{i = 1}^{n} B_{i} = \\mathbb{R}$. Now we just need the $B_{i}$'s to be pairwise disjoint, with each $B_{i}$ still retaining $A_{i}$. To make them pairwise disjoint, I constructed the following sets: $\\tilde{B_{i}} = [B_{i} \\setminus (\\bigcup \\limits_{j \\neq i} B_{j})] \\cup A_{i}$. This construction gives us that the $\\tilde{B_{i}}$'s are pairwise disjoint (I think....) and $A_{i} \\subseteq \\tilde{B_{i}}$. But I don't know that $\\tilde{B_{i}}$ is necessarily still a Borel set. :( :( Am I approaching this problem all wrong?", "Can't access pre populated SQLite database using PhoneGap/Cordova in Android", "It happens sometimes to receive or see a very good answer that arrives very late and that would deserve more upvotes. What can be done to give a boost to them? I would happily spend some of my reputation points to be able to give them such boost. This is not merely a question of reputation, but the idea is to let the answer &quot;bubble up&quot; faster so that it can be seen easily by other people to look into question. I hope I explained my question so that is understandable. Most of you got the point and there are some interesting proposals like the one that proposes to put randomly an answer at top. But I do have not enough experience to say if there is one that could solve the issue or not. I would be curious to know what Jeff thinks about it, if it feels there is something that can be improved or not.", "Totally sweet horizontal rules in LaTeX", "How to call a parent class function from derived class function?", "Crookshanks is Hermione's familiar in PoA, GoF, and OOTP. I cannot recall mention of Crookshanks following OOTP, though. What happened to Crookshanks? Does canon refer to Crookshanks in either HBP or DH?", "I always stumble when using abbreviations in a sentence, as they inherently contain a period in them. How do I use a comma or a semicolon after an abbreviation? How about a period? E.g. (This is an example of my quandary)", "How do you tell what brand/make/model of bike I have? I have a bike I'm trying to sell because it's just been sitting in my basement. It looks as if someone primered it and the only thing I found was a serial number. Is there like a website I can look up more info on the bike using just that number?", "Convergence of the series $ \\sum_{n=1}^{+ \\infty } \\frac{1}{n \\cdot \\ln(n) \\cdot (\\ln(\\ln(n)))^{a}} $ I have a problem with a convergence of the series $ \\sum_{n=1}^{+ \\infty } \\frac{1}{n \\cdot \\ln(n) \\cdot (\\ln(\\ln(n)))^{a}}$ depending on the parameter $a$. I know that $\\frac{1}{n} \\rightarrow 0$, $\\frac{1}{\\ln(n)} \\rightarrow 0$, but I don't know how to deal with $\\frac{1}{\\ln(\\ln(n)))^{a}}$ and how to get to the final answer. So far I solved tasks with $\\frac{1}{n ^{a}}$ and I know that $a&gt;1 \\Leftrightarrow \\sum_{n=1}^{+ \\infty }\\frac{1}{n ^{a}}$ is convergent, but in this task I cannot use it. Can you help me?", "Expandably change letter case and use inside \\csname, without a package I want to change the letter-case of a single character argument, and use that changed letter inside a \\csname. And I want to do it without an additional package. For example, I want to pass a macro the letter {S}, and have it execute the macro \\csname macros\\endcsname, or pass it the letter {T}, and have it execute the macro \\csname macrot\\endcsname. In my MWE, I show three approaches: I didn't expect \\lowercase to work, since I recall reading that it is not truly expanded until the last possible moment. Surprisingly, it goes into an \\edef okay, but it must not be truly expanded, because it breaks the \\csname. I also formulated an approach where I used \\numexpr to add 32 to the ASCII code of the argument and perform a \\char upon that result. Like \\lowercase, it gives the appearance of being expandable, but it also fails inside the \\csname. I finally achieve success with the stringstrings package. Having written the package, I know the conversion was not pretty... essentially, it is an exhaustive 26-fold check of the form \\if #1Aa\\else\\if #1Bb\\else\\if #1Cc\\else...\\fi\\fi\\fi, which has the virtue that it can be expandably placed into an \\edef, and so it works. There has to be a better way. The MWE works only because I use the inefficiently calculated \\tmp from METHOD 3 inside the \\csname. If I use \\tmp from either of the two earlier methods, it breaks. \\documentclass{article} \\usepackage{stringstrings} \\def\\macros{Expandably converted an S to a s} \\def\\macrot{Expandably converted a T to a t} \\newcommand\\convert[1]{% %MAKE THE ARGUMENT LOWER CASE 1) LOWERCASE\\\\ \\edef\\tmp{\\lowercase{#1}}% PRETENDS TO EXPAND, BUT FAILS IN \\csname Here is the ``expanded'' conversion: \\tmp\\\\ % OR 2) ASCII CONVERSION\\\\ \\edef\\tmp{\\expandafter\\char\\numexpr`#1+32\\relax}% PRETENDS TO EXPAND, BUT FAILS IN \\csname Here is the ``expanded'' conversion: \\tmp\\\\ % OR 3) STRINGSTRINGS PACKAGE\\\\ \\caselower[q]{#1}\\def\\tmp{\\thestring}% WORKS BUT USES A PACKAGE Here is the ``expanded'' conversion: \\tmp\\\\ % Now use it in a csname: \\csname macro\\tmp\\endcsname% } \\begin{document} \\convert{S}\\par \\convert{T} \\end{document} SUMMARY OF ANSWERS: I have added egreg's code snippets into this MWE to produce a document (and not just terminal output), showing the methods put forth to this point: \\documentclass{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%% L3 APPROACH \\usepackage{expl3} \\ExplSyntaxOn \\cs_set_eq:NN \\Xexplower \\tl_expandable_lowercase:n \\ExplSyntaxOff %%%%%%%%%%%%%%%%%%%%%%%%%%%% EGREG'S LESS HACKY SOLUTION \\def\\explowerchar#1{% \\ifcase\\numexpr`#1-`A\\relax a\\or b\\or c\\or d\\or e\\or f\\or g\\or h\\or i\\or j\\or k\\or l\\or m\\or n\\or o\\or p\\or q\\or r\\or s\\or t\\or u\\or v\\or w\\or x\\or y\\or z\\else #1\\fi } \\def\\explower#1{% \\doexplowerchar#1\\relax } \\def\\doexplowerchar#1{% \\ifx#1\\relax \\else \\explowerchar{#1}\\expandafter\\doexplowerchar \\fi } %%%%%%%%%%%%%%%%%%%%%%%%%%%% STEVE'S HACKY PACKAGE APPROACH \\usepackage{stringstrings} %%%%%%%%%%%%%%%%%%%%%%%%%%%% \\def\\macros{Expandably converted an S to a s} \\def\\macrot{Expandably converted a T to a t} \\begin{document} \\textbf{Steve's hacky approach} \\caselower[q]{S}\\csname macro\\thestring\\endcsname\\par \\caselower[q]{T}\\csname macro\\thestring\\endcsname \\textbf{egreg's less hacky approach} \\edef\\lcstring{\\explowerchar{S}}\\csname macro\\lcstring\\endcsname\\par \\edef\\lcstring{\\explower{T}}\\csname macro\\lcstring\\endcsname \\textbf{L3 approach} \\edef\\lcstring{\\Xexplower{S}}\\csname macro\\lcstring\\endcsname\\par \\edef\\lcstring{\\Xexplower{T}}\\csname macro\\lcstring\\endcsname \\end{document}", "What do you call snow that has collected between a car body and the tire?", "How can I straighten ALL the vertical UV lines at once? Is there a hot keyshort cut? Or if I have to do them one by one .. is there at shortcut for that? Thank you!", "How to install and configure Wine?", "When and how did \"pretty\" enter English as an intensifying adverb?", "Subgroup of $\\mathbb{Q}$ with finite index Consider the group $\\mathbb{Q}$ under addition of rational numbers. If $H$ is a subgroup of $\\mathbb{Q}$ with finite index, then $H = \\mathbb{Q}$. I just saw this on our exam earlier and was stumped on how to show this. Any ideas?", "A (highfalutin) word for a highfalutin word? To illustrate the question, badroit used the word \"meretricious\" meretriciously. Is there an English word that describes highfalutin words like \"meretricious\" that are (gratuitously) used in place of better-understood words like \"garish\"? The word may or may not be self-describing.", "Is there an English term for \"L'esprit de l'escalier\"?" ]
medi_sts_stackexchange_dupe
I have a netherlands visa, can my port of entry be Madrid?
Should my first trip be to the country which issued my Schengen Visa?
[ "Tiny lifeforms on planetoid that live at accelerated time rate A book I once owned and read back in late-80's or early-90's that I have not been able to identify title &amp; author for: It was a SF story concerning tiny native lifeforms, living on either a planetoid or possibly a dead/neutron star, that evolve at a seemingly accelerated time rate. Most of their story is told in the few days of observation (from orbit) by a human expedition to the planet, during which time-frame the race below progresses from stone-age tech level to being more advanced than the human observers, and eventually flying up to meet the humans in small advanced craft powered by micro-singularities... one of which accidentally 'disintegrates' the tip of a human scientist's nose in the process.", "Icon missing when application is launched I've created an application launcher in /usr/share/applications that launches rdesktop. The file specifies an icon name and I've added the icons to: /usr/share/icons/HighContrast/48x48/apps /usr/share/icons/HighContrast/22x22/apps /usr/share/icons/HighContrast/256x256/apps /usr/share/icons/HighContrast/32x32/apps /usr/share/icons/HighContrast/scalable/apps-extra /usr/share/icons/HighContrast/24x24/apps /usr/share/icons/HighContrast/16x16/apps /usr/share/icons/hicolor/scalable/apps /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/16x16/apps I then drug the launcher to the taskbar and the launcher with the correct logo is visible in the taskbar. However, when I start the task, a new icon is created in the taskbar, a square with a question mark in the center. What icons do I need and where, so that the taskbar displays the correct icon for the application when it is launched? The .desktop file contents: [Desktop Entry] Version=1.0 Terminal=false Icon=mswindows Type=Application Categories=Network; Exec=rdesktop win7shared1 -g 1680x1000 Name=win7shared1 GenericName=rdesktop Comment=Open windows desktop Keywords=Windows StartupNotify=false", "How can it be that, if like charges repel, they don't repel themselves? In other words, why don't charges break apart? About the possible duplicate: I want to know about charges in general, not just that of an electron. My response to : Thank you very much for the extensive explanation. Unfortunately it's a bit above my level (I'm a first year electrical engineering bachelor student). This is how I understand it: If the charge is the sum of multiple separate charges, there has to be an external force that keeps this charges together. However we most often think of electrons and protons as point charges. In other words, we don't think of them as if they are made up from different (smaller) parts. But the idea of electrons and protons as point charges has its own problems. I didn't know that the electric field has a mass. From the formula, I understand that $m\\propto \\frac{1}{r}$. This would mean that $m\\rightarrow \\infty$ as $r \\rightarrow 0$ (or $r = 0$), which of course is physically not possible. But there is a way to calculate the radius of an electron based on the mass, the speed of light and the constant of Planck. (Unfortunately I don't know why.) You can get around this by a technique called called renormalization, which causes the integral to converge. Unfortunately, I don't understand the rest of the answer due to my level in physics. Nevertheless I am grateful for you answer. It would be awesome if you could confirm or correct my understanding.", "What is the maximum size of a web browser's cookie's key? What is the maximum size of a web browser's cookie's key? I know the maximum size of a cookie is 4KB, but does the key have a limitation as well?", "I once already asked a very similar question; . But this is some what different. I have the following code; \\documentclass{standalone} \\usepackage{graphics} \\usepackage{tikz,pgfplots} \\pgfplotsset{compat=1.6} \\begin{document} \\begin{tikzpicture} \\begin{axis}[% width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.0004, ymax=0.0012, ylabel={$\\phi_{\\mathrm{i}}(t)$}, ymajorgrids, yminorgrids, name=plot1] \\end{axis} \\begin{axis}[% width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.2, ymax=1.2, ylabel={$h(t)$}, ymajorgrids, yminorgrids, name=plot2, at=(plot1.right of north east), anchor=left of north west] \\end{axis} \\begin{axis}[% width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.0004, ymax=0.0012, ylabel={$\\phi_{\\mathrm{o}}(t)$}, ymajorgrids, yminorgrids, name=plot4, at=(plot1.below south west), anchor=above north west] \\end{axis} \\begin{axis}[% width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=2000, ymax=12000, ylabel={$p_{\\mathrm{i}}(t)$}, ymajorgrids, yminorgrids, name=plot5, at=(plot4.right of north east), anchor=left of north west] \\end{axis} \\end{tikzpicture} \\end{document} This creates the following plot: I think there is to few vertical/horizontal spacing between the plots. I want to increase this. Currently I use x- yshift, this gives the following result: \\documentclass{standalone} \\usepackage{graphics} \\usepackage{tikz,pgfplots} \\pgfplotsset{compat=1.6} \\begin{document} \\begin{tikzpicture} \\begin{axis}[% width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.0004, ymax=0.0012, ylabel={$\\phi_{\\mathrm{i}}(t)$}, ymajorgrids, yminorgrids, name=plot1] \\end{axis} \\begin{axis}[% xshift=1cm, width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.2, ymax=1.2, ylabel={$h(t)$}, ymajorgrids, yminorgrids, name=plot2, at=(plot1.right of north east), anchor=left of north west] \\end{axis} \\begin{axis}[% yshift=-1cm, width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=0.0004, ymax=0.0012, ylabel={$\\phi_{\\mathrm{o}}(t)$}, ymajorgrids, yminorgrids, name=plot4, at=(plot1.below south west), anchor=above north west] \\end{axis} \\begin{axis}[% xshift=1cm, width=3cm, height=3cm, scale only axis, every x tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, xmin=0, xmax=20000, xlabel={$t$}, xmajorgrids, xminorgrids, every y tick label/.append style={font=\\scriptsize\\color{gray!80!black}}, ymin=2000, ymax=12000, ylabel={$p_{\\mathrm{i}}(t)$}, ymajorgrids, yminorgrids, name=plot5, at=(plot4.right of north east), anchor=left of north west] \\end{axis} \\end{tikzpicture} \\end{document} I want to know if there is a more consistent manner to do this.", "Events triggered by dynamically generated element are not captured by event handler", "How are POST and GET variables handled in Python? In PHP you can just use $_POST for POST and $_GET for GET (Query string) variables. What's the equivalent in Python?", "Is there any function that converts an escaped Url string to its unescaped form? System.Web.HttpUtility.UrlDecode() can do that job but I don't want to add a reference to System.Web.dll. Since my app is not a web application, I don't want to add a dependency for only using a function in an assembly. UPDATE: Check about the same issue.", "Having just from any of the queues, it was reviewing close votes; however, this audit was flawed in that I didn't even cast a close vote. Often I press the Close button to preview greater detail and sentiment of the closure, spawning the Why should this question be closed dialog box: Especially for duplicates, where functionality is solely dependent on spawning this dialog. From Closing > Duplicate, I can search or view selected duplicates: Although, I realize general closure reasons are summarized on the page: This question had 6-upvotes, but seemed very localized referencing subjective query is \"taking too long\" and even had a sqlfiddle link. Maybe overly broad regarding performance tuning, the OP was posting like a forum with two answer posts to his own question and with one of those answers asking follow-up questions. Wanting to gauge community response, current closure totals struck my curiosity. So, I pressed the Close button and boom - oh, the humanity! I failed, and didn't even cast a close vote. Votes are not cast until a reason for closure is selected and Vote to Close is pressed. Taking any review very seriously on this site, it only seems fair that my review quality is tested through actionable steps instead of clicking for more detailed information, leveraging the functional design of the close vote user interface. Sure, it's complex to seed fake vote totals, and then there's controversy of mindless voting in the majority or people who simply cherry pick 4-vote questions. Still though, it seems unfair I should hesitate to review further information of vote totals and duplicates before skipping due to the implementation of this audit.", "Scoring when two triple word squares are covered in one play The word QUAGMIRE is on the board vertically, with the Q on the top row, second column. The next player creates SQUEEZED horizontally, landing the S on the triple word square in the top row, first column, and remaining UEEZED landing to the right of the existing Q, ending with the D on the triple word square in the eighth column. Since two triple word squares are covered in this one placement, how would it be scored? Letters: S: 1 Q: 10 U: 1 E: 1 x 2 (double letter) E: 1 Z: 10 E: 1 D: 1 27 Total for letters. Do you then multiply by 3 for the first triple word square, and then multiply that result by 3? 27 X 3 = 81, 81 X 3 = 243 Bonus for all 7 tiles placed: 243 + 50 = 293", "In the standard PrintDialog there are four values associated with a selected printer: Status, Type, Where, and Comment. If I know a printer's name, how can I get these values in C# 2.0?", "ubuntu 14.04 login loop problem", "How do I exclude plugins from getting automatically updated? There is an opt-in filter that allows all plugins on my site to receive automatic updates: add_filter( 'auto_update_plugin', '__return_true' ); I like this feature, but I don't want all my plugins to be updated automatically. How can I allow some plugins to be updated automatically, while excluding those I want to do manually?", "How do I identify SMD components? (or how do I identify any component) How do I identify the markings on an SMT component and match it up with a part number so I can be a good designer and actually look at a datasheet (and read the whole thing)? Or identify a part to replace an unknown part on a PCB?", "There is this addon that was built called Window Generator 2. It can be . However, when I go to the download link it shows up in a new tab as a bunch of code. How can I download and use this addon in Blender?", "How to model an entity type that can have different sets of attributes?", "Why does SharePoint always prompt me to download SharePoint Designer when I already have it installed? For example, if I click Edit page -&gt; Edit in SharePoint Designer from within my SharePoint site, I'm always presented with a dialog prompting me to download Designer. I already have Designer installed. Seems like it should a.) launch it for me, or b.) at least stop prompting me to download it. UPDATE: Turns out this stemmed back to the 64-bit IE compatibility issue that was causing me grief here:", "Integrate $\\int_0^{\\pi/2} \\frac{1}{1+\\tan^\\alpha{x}}\\,\\mathrm{d}x$ Evaluate the integral $$\\int_0^{\\pi/2} \\frac{1}{1+\\tan^\\alpha{x}}\\,\\mathrm{d}x$$", "Why shouldn't we allow NULLs?", "Space between 2 paths in Illustrator How can I align 2 paths perfectly? No matter what I do I get a little space (gap between the 2 paths I create, and they are straight lines not as I saw in other questions with pixel problems) An example: Between every triangle is a little space, like in the example. It isn't obvious and it doesn't bother, but if I use the image (as an SVG or something) it is really obvious." ]
medi_sts_stackexchange_dupe
How do I escape a global variable in PHP?
How can I prevent SQL injection in PHP?
[ "What are the integer solutions to $a^{b^2} = b^a$ with $a, b \\ge 2$ I saw this in quora. What are all the integer solutions to $a^{b^2} = b^a$ with $a, b \\ge 2$? Solutions I have found so far: $a = 2^4 = 16, b = 2, a^{b^2} = 2^{4\\cdot 4} =2^{16}, b^a = 2^{16} $. $a = 3^3, b = 3, a^{b^2} = 3^{3\\cdot 9} =3^{27}, b^a = 3^{3^3} =3^{27} $. In the general case, $a$ and $b$ have the same set of prime divisors, so let $a =\\prod_P p_i^{a_i}$, $b =\\prod_P p_i^{b_i} $ with each $a_i \\ge 1, b_i \\ge 1$. $b^a =b^{\\prod p_i^{a_i}} =(\\prod p_j^{b_j})^{\\prod p_i^{a_i}} =\\prod p_j^{b_j\\prod p_i^{a_i}} $ $a^{b^2} =a^{\\prod p_i^{2b_i}} =(\\prod p_j^{a_j})^{\\prod p_i^{2b_i}} =\\prod p_j^{a_j\\prod p_i^{2b_i}} $ Therefore, for each $p_j$, $b_j\\prod p_i^{a_i} =a_j\\prod p_i^{2b_i} $. I haven't gotten any further than this. I conjecture that there are no other solutions.", "For abbreviations - both acronyms and initialisms - where the last word in the abbreviation is the noun, I'm accustomed to adding an 's' with no apostrophe (e.g. ATMs), as described in the answer to this question: But how do you pluralize abbreviations where the noun is not the last word? E.g. 'Point of Presence' (POP) I can see how 'POPs' could read 'Point of Presences', when the intention is 'Points of Presence.'", "There should be infinitely many primes of the form $5+6n$. How do you prove it? The same should be true for $7+6n$.", "Where can I get a Master Ball? I remember in previous generations that finding a Master Ball would typically come after a major Boss fight. You could have also gotten through some form of lottery (I think this was in Pearl). If anything, where and when will I be able to find Master Balls in Pokemon X&amp;Y?", "Complex zeros of the polynomials $\\sum_{k=0}^{n} z^k/k!$, inside balls this is a question from a Temple prelim exam, and i'm trapped in it! We have $p_n(z)=\\sum_{k=0}^n\\frac{z^k}{k!}$ and we have to prove that $\\forall r&gt;0 \\quad \\exists N\\in\\mathbb{N}$ s.t. $p_n(z)$ has no zeros in $B_r(0)$ for $n&gt;N$. I tried to use Rouche's theorem observing that $1+\\frac{z^n}{n!}$ has the nth roots of $n!$ as complex zeros, which are outside a fixed ball for n sufficiently large, but i'm having trouble proving that $|1+\\frac{z^n}{n!}|&gt;|z+\\cdots+\\frac{z^{n-1}}{(n-1)!}|$ in $|z|=r$ (if this is true). If anyone could help..", "Wrong kernel version returned by uname Ubuntu 16.04.1 LT uname -a returns: Linux decebal-mobile 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux but E: Package 'linux-headers-4.2.0-35-generic' has no installation candidate and my machine says linux headers version is at linux-headers-4.4.0-21-generic. I have seen a similar problem described in a . How can I update that?", "Let $a$, $b$, and $c$ be integers, where a $\\ne$ 0. Then $$ $$ (i) if $a$ | $b$ and $a$ | $c$, then $a$ | ($b+c$) $$ $$ (ii) if $a$ | $b$ then $a$|$bc$ for all integers $c$; $$ $$ (iii) if $a$ |$b$ and $b$|$c$, then $a$|$c$. Prove that if $a$|$b$ and $b$|$c$ then $a$|$c$ using a column proof that has steps in the first column and the reason for the step in the second column. My book is really vague. I'm not really sure what to do.. First I was thinking something like this: $a\\mid b\\Rightarrow b=as$ and $b\\mid c\\Rightarrow c=bt$ and $a\\mid c\\Rightarrow c = au$ $$ $$ $b + c + c = b + 2c$ $$ $$ $=as + 2(bt+au)$ Yea then I just got lost.", "Given an integer $n$, we are asked to investigate about the existence of integer divisors of $n^2+1$ of the form $4k+3$. Can you provide some insights about it?", "In JavaScript can I make a \"click\" event fire programmatically for a file input element? I'd like to make a click event fire on an &lt;input type=\"file\"&gt; tag programmatically. Just calling click() doesn't seem to do anything or at least it doesn't pop up a file selection dialog. I've been experimenting with capturing events using listeners and redirecting the event, but I haven't been able to get that to actually perform the event like someone clicked on it.", "Why isn't temperature frame dependent? In (non-relativistic) classical physics, if the temperature of an object is proportional to the average kinetic energy ${1 \\over 2} m\\overline {v^{2}}$of its particles (or molecules), then shouldn't that temperature depend on the frame of reference - since $\\overline {v^{2}}$ will be different in different frames? (I.e. In the lab frame $K_l = {1 \\over 2} m\\overline {v^{2}} $, but in a frame moving with velocity $u$ relative to the lab frame, $K_u = {1 \\over 2} m \\overline {(v+u)^{2}}$).", "How do you copy a record in a SQL table but swap out the unique id of the new row?", "Solutions to $y^2 = x^3 + k$? The equation $y^2 = x^3 + k$ for $k = (4n-1)^3 - 4m^2$, with $m, n \\in \\mathbb{N}$ and no prime number that p is congruent to 1 modulo 4 divids m, doesn't have any answer and its proof can be obtained by using quadratic reciprocity law. Do you know answers of this equation for two or three different values of $k$? In addition, do you know any reference about that?", "SSD for production database", "Bolzano-Weierstrass Theorem Proof Abbott (Ax. of Choice) In Abbott's Proof of the Bolzano-Weierstrass Theorem, does Abbott use any form of the Axiom of Choice ? I think he is since he chooses an $a_{n_k} \\in I_k$ where there are multiple such $a_{n_k}$.", "How prove this nice limit $\\lim\\limits_{n\\to\\infty}\\frac{a_{n}}{n}=\\frac{12}{\\log{432}}$ Nice problem: Let $a_{0}=1$ and $$a_{n}=a_{\\left\\lfloor n/2\\right\\rfloor}+a_{\\left\\lfloor n/3 \\right\\rfloor}+a_{\\left\\lfloor n/6\\right\\rfloor}.$$ Show that $$\\lim_{n\\to\\infty}\\dfrac{a_{n}}{n}=\\dfrac{12}{\\log{432}},$$ where $\\lfloor x \\rfloor$ is the largest integer not greater than $x$. It is said this problem was created by Paul Erdős, and I can't find this problem's solution, does anyone have any nice methods? Thank you.", "$\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$. I've tried, but I can't solve the question. Please help me prove that: $\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$.", "How to get data off a completely dead Android phone? Phone worked perfectly. Then one day completely dead, nothing at all. It may have been that \"one day\" was after some time of laying around, cannot recall. Model: Android AT&amp;T Samsung Galaxy S3 (SGH-i747 SKU S9255) Already tried; Charging phone: no visual output at all, no leds Removing battery while charging: no visual output at all, no leds Removing SIM and SD card: no visual output at all, no leds Attempt to turn on: no visual output at all, no leds I need to get our family photo's off this phone (stored on internal memory). I care less about the hardware/phone itself. Thank you for any help you can offer!", "I know that for every $n\\in\\mathbb{N}$, $n\\ge 1$, there exists $p(x)\\in\\mathbb{F}_p[x]$ s.t. $\\deg p(x)=n$ and $p(x)$ is irreducible over $\\mathbb{F}_p$. I am interested in counting how many such $p(x)$ there exist (that is, given $n\\in\\mathbb{N}$, $n\\ge 1$, how many irreducible polynomials of degree $n$ exist over $\\mathbb{F}_p$). I don't have a counting strategy and I don't expect a closed formula, but maybe we can find something like \"there exist $X$ irreducible polynomials of degree $n$ where $X$ is the number of...\". What are your thoughts ?", "For any triangle with sides $a$, $b$, $c$, show that $a^2b(a-b)+b^2c(b-c)+c^2a(c-a)\\ge 0$ For any triangle with sides $a$, $b$, $c$, prove the inequality $$a^2b(a-b)+b^2c(b-c)+c^2a(c-a)\\ge 0 .$$ This is IMO 1983 problem 6. I tried substituting $a=x+y$, $b=y+z$, $c=z+x$ but well it doesn't help in any sense except wasting 3 pages that lead to nothing (please don't mind the joke). Using $a=2R\\sin A$, $b=2R\\sin B$, $c=2R\\sin C$ also didn't lead to anything for me. Could you give me a hint for finding the proper substitution?", "In Ubuntu releases prior to Ubuntu 19.10 Eoan Ermine, when I run a command with sudo, that command receives my home directory in the $HOME environment variable. This is the behavior I have long expected and . If I want sudo to reset the $HOME environment variable, so that it refers to the target user's home directory instead of my own, I have to pass the -H option (or -i, though that does more). ek@Kip:~$ lsb_release -d Description: Ubuntu 18.04.3 LTS ek@Kip:~$ sudo printenv HOME # Shows ek's home, not root's. /home/ek ek@Kip:~$ sudo -u as printenv HOME # Shows ek's home, not as's. /home/ek ek@Kip:~$ sudo -H printenv HOME # Shows root's home. /root ek@Kip:~$ sudo -Hu as printenv HOME # Shows as's home. /home/as When I first upgraded to Ubuntu 19.10, I was surprised to discover that sudo seems to reset $HOME no matter what! I continue to observe this now that 19.10 is released and I've installed updates--both on newly installed systems and one I upgraded to 19.10. ek@Cord:~$ lsb_release -d Description: Ubuntu 19.10 ek@Cord:~$ sudo printenv HOME # Shows root's home, even without -H or -i. /root ek@Cord:~$ sudo -u as printenv HOME # Shows as's home, even without -H or -i. /home/as ek@Cord:~$ sudo -H printenv HOME # Also shows root's home. /root ek@Cord:~$ sudo -Hu as printenv HOME # Also shows as's home. /home/as I thought this might be due to . But I checked, and always_set_home does not appear in any Defaults line in my 19.10 /etc/sudoers file. What makes sudo treat $HOME differently starting in 19.10, and why was this change made? Does this make it safe to use plain sudo in cases where I would previously have used sudo -H?" ]
medi_sts_stackexchange_dupe
Let $q$ be a prime integer. Show that for each $x∈GF(q)$ there exist elements $r$ and $s$ in $GF(q)$ satisfying $x=r^2+s^2$.
Let $p$ be a prime integer. Show that for each $a ∈ GF(p)$ there exist elements $b$ and $c$ of $GF(p)$ satisfying $a = b^2 + c^2$.
[ "I am running SQL Server 2012. The SQL Server Management Studio has the option to right click on a database then select Tasks and Generate Scripts. Is there a way to automate that via command line somehow? I want to create a script that includes the schema and data of the entire data base. Tools like ScriptDB and sqlpubwiz.exe all seem to target SQL Server 2005. What about SQL Server 2012?", "Is it possible to view the scene in the viewport camera view at 1:1?", "Dini's Theorem - Proof. I'd like to prove the following: If $f_j$ are continuous functions on a compact set $K$, and $f_{1}(x) \\leq f_{2}(x) \\leq \\dots$ for all $x \\in K$, and the $f_j$ converge pointwise to a continuous function $f$ on $K$ then in fact the $f_j$ converge uniformly to $f$ on $K$. Attempt: Let $g_{j}(x) = f(x) - f_{j}(x)$ for all $j$. Then, since $f_j \\rightarrow f$ pointwise, we see $g_j \\rightarrow 0$ pointwise. Now, let $\\varepsilon &gt; 0$ . And examine { $x \\in K : g_{j}(x) &lt; \\varepsilon$ }. I've been told that the next step should be to show that { $x \\in K : g_{j}(x) &lt; \\varepsilon$ } is equal to the intersection of $K$ with some open set $U_j$. But I'm not certain why this is true? Advice? Insight?", "Specifying latest revision of a particular branch with bower", "I have this setup: The mesh is only the visible top side, with a mirror modifier for the bottom part. Now I want to unwrap it like in the picture. I want the inner circle (red) to go to the top of the UV map... The problem is that no matter what automatic unwrapping I use, it never works as intended. The closest I've gotten was by using \"follow quads\", but that skewed the UV map a lot: I used the result from the second image and manually adjusted the vertices with a lot of scaling and \"align auto\", but its very far from perfect as you can see in the first image. Here's what I want exactly: The uv vertices should be distributed evenly (horizontally) The middle line (yellow) should be on a \"natural\" y height (so there's no stretching) I hope it's clear what I want to achieve. I'm sure there must be some automatic way to perfectly align and distribute the UVs in this way. By the way: If you look closely you can see that I already placed a uv seam (aligned with the green y axis in the screenshot) but that didn't really help.", "Preview on the right please, optionally?", "Show that the $\\max{ \\{ x,y \\} }= \\frac{x+y+|x-y|}{2}$. Show that the $\\max{ \\{ x,y \\} }= \\dfrac{x+y+|x-y|}{2}$. I do not understand how to go about completing this problem or even where to start.", "<50 reputation users can't delete comments that were posted on their behalf Some preface: I have an alternate account that I'm using to gain rep in order to help test/build bots for the community on stackoverflow. Bot accounts are essentially users, and they need 20 rep to talk in chat, and 50 in order to add comments. On this account (with 23 rep), I flagged a question as a duplicate of the wrong post by accident: When I retracted the duplicate flag, I noticed that the comment was not removed. When I attempted to remove it, there was no [x] icon to the right of the post, and I had no recourse other than to leave the comment up (Which was 100% a wrong duplicate for that post). Additionally, I couldn't even flag it for mod attention, because it was my comment!", "Why do cars gain lift while going at a high speed? I've been researching the physics involved with spoilers and I've just been turning up the same information about spoilers giving the back wheels of a car more traction by acting as an up side down airfoil. So my question is, what exactly causes the car to apparently gain lift while moving quickly, so as to merit the use of a spoiler, and is this entirely due to the aerodynamics of the vehicle in question? Edit: Clarity of question.", "Splicing a Javascript array from within the callback passed to forEach", "Autofilling fields based on another field", "I have an older Nvidia video card and my PC crashes when installing the driver for the video card in Ubuntu 16.04. When I get to the login screen but no further: after entering my password, the system went into a loop and returned always back to the login screen [with funny stripes present]. How do I fix this problem?", "How can I left-align a caption?", "Need to understand parallel query execution error Today we experienced a degradation in performance on our production sql server. Durring the time this occurred we logged several \"The query processor could not start the necessary thread resources for parallel query execution\" errors. The reading that I've done suggests that this has to do with how many CPUs to use when executing a complex query. However when I checked during the outage our CPU Utilization was only at 7%. Is there something else this could be referring too that I haven't come across yet? Is this a likely culprit of the performance degradation or am I chasing a red herring? My sp_configure values for this are as follows: name minimum maximum config_value run_value cost threshold for parallelism 0 32767 5 5", "How to get a normal application menu in the top- or titlebar in Gnome", "How do I remove the proprietary ATI drivers? I've installed 11.10 and the proprietary ATI drivers using \"additional drivers\" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX. covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though. Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update \"run_key\" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop. Interestingly enough the system performance seems improved while it is in its \"broken\" state (missing panel and launcher). I think restoring the default drivers may solve my problems but I cant figure out how to do it.", "I’m a newbie in Python. I’m learning regexes, but I need help here. Here comes the HTML source: &lt;a href=\"http://www.ptop.se\" target=\"_blank\"&gt;http://www.ptop.se&lt;/a&gt; I’m trying to code a tool that only prints out http://ptop.se. Can you help me please?", "How to prove that $\\mathbb{Q}$ ( the rationals) is a countable set I want to prove that $\\mathbb{Q}$ is countable. So basically, I could find a bijection from $\\mathbb{Q}$ to $\\mathbb{N}$. But I have also recently proved that $\\mathbb{Z}$ is countable, so is it equivalent to find a bijection from $\\mathbb{Q}$ to $\\mathbb{Z}$?", "Linear regression prediction interval If the best linear approximation (using least squares) of my data points is the line $y=mx+b$, how can I calculate the approximation error? If I compute standard deviation of differences between observations and predictions $e_i=real(x_i)-(mx_i+b)$, can I later say that a real (but not observed) value $y_r=real(x_0)$ belongs to the interval $[y_p-\\sigma, y_p+\\sigma]$ ($y_p=mx_0+b$) with probability ~68%, assuming normal distribution? To clarify: I made observations regarding a function $f(x)$ by evaluating it a some points $x_i$. I fit these observations to a line $l(x)=mx+b$. For $x_0$ that I did not observe, I'd like to know how big can $f(x_0)-l(x_0)$ be. Using the method above, is it correct to say that $f(x_0) \\in [l(x_0)-\\sigma, l(x_0)+\\sigma]$ with prob. ~68%?", "jQuery If DIV Doesn't Have Class \"x\"" ]
medi_sts_stackexchange_dupe
How to identify fonts from images/scans
How can I automatically determine fonts used in an image or PDF?
[ "Meaning of tilde-greater-than (~>) in version requirement?", "PHP import Excel into database (xls & xlsx)", "Commenting out multiple lines of code, specified by line numbers, using vi or vim I have learned from that it is possible to use vi/vim to comment out a specified range of line numbers. For example, suppose I have the following bash script: #!/bin/bash This is my very very great script Now suppose that I want to comment out line numbers 6 through 8 (which contain the words very, very, and great) using the # comment character. In vi/vim, I can simply type :6,8s/^/# to obtain the following: #!/bin/bash This is my #very #very #great script which comments out lines 6 through 8. My question is, is it possible to type a similar one liner that will remove the # comment character from lines 6 through 8 (but not any other commented lines in the file)? Having said this, I realize that there is some debate about whether I am actually using vi or vim. In practice, I open a file script.sh with the command vi script.sh. Also, when I type the command which vi, I obtain /usr/bin/vi. Nevertheless, when I simply type vi and press Enter, I obtain this: ~ VIM - Vi IMproved ~ ~ version 7.2.330 ~ by Bram Moolenaar et al. ~ Vim is open source and freely distributable ~ ~ Sponsor Vim development! ~ type :help sponsor&lt;Enter&gt; for information ~ ~ type :q&lt;Enter&gt; to exit ~ type :help&lt;Enter&gt; or &lt;F1&gt; for on-line help ~ type :help version7&lt;Enter&gt; for version info which seems to suggest that I'm actually using vim. I am accessing a remote Ubuntu Linux cluster using SSH from my PC. I am not using a Ubuntu Linux GUI.", "Two homologous but not homotopic loops on a closed surface of genus greater than one Suppose $S$ is a closed surface with genus greater than $1$. Give an example of two loops on $S$ which are not homotopic, but are homologous to each other. I need help solving this question. I have read the Wikipedia page on it and I realize that it does not contain the necessary knowledge to visualize this problem. And I was also wondering the relation between the fundamental group $\\pi_1(S)$ and the first homology group $H_1(S)$? Some restrictions is that $S$ is a closed surface and the genus is greater than $1$.", "Segmentation fault on large array sizes", "How can I automatically forward Facebook messages to my email or phone? I can create email addresses that forward to other email addresses. Likewise, can I automatically forward Facebook messages to either my email or phone?", "If $A$ is a square matrix and $A^2 = 0$ then $A=0$. Is this true? If not, provide a counter-example.", "\"Element is no longer attached to the DOM” StaleElementReferenceException when selecting HTML table row I am using Selenium 2/WebDriver for automation. I have a table and am trying to select a row in it. When the test runs, I can see the row become highlighted as if it is clicked, but then immediately I get the \"org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM\" error and the test fails. The code is the following: @Test public void rowSelection() throws Exception { SeleniumHelper helper = new SeleniumHelper(); action = new SeleniumActionHelper(driver); helper.login(); String testUrl = navigateToUrl(\"option/listOptions.xhtml\"); driver.get(testUrl); WebElement table = findElementById(\"tableSection:dataTableWrapped_data\"); List&lt;WebElement&gt; allRows = table.findElements(By.tagName(\"tr\")); for (WebElement row : allRows) { List&lt;WebElement&gt; cells = row.findElements(By.tagName(\"td\")); for (WebElement cell : cells) { WebElement listName = cell.findElement(By.xpath(\"./* [text()='body_build']\")); listName.click(); } } } I have put a Thread.sleep(2000) in front and after the listName.click() action, but neither has helped. Any help would be greatly appreciated.", "\"In the case of medical diagnostics, there is a cost associated with each medical procedure that provides additional information (blood test, x-ray, etc.).\" Should that end with \"etc.).\", \"etc).\" or \"etc.)\"?", "Permanently turn off new Google Maps and go back to old one I found new Google Maps slow, useless (routes with only two points) and wrong. Is there any way, I can turn it off completely and go back to favored old Google Maps? Or is this &mdash; as with everything in Google &mdash; one way trip? I found text on this matter, but it seems useless. I have the feeling, that it discuss something completely different. It says about lite indicator in bottom-right corner. I don't have something like that. And provided links, that should switch new Google Maps engine between WebGL and canvas-based, simply doesn't work. All of them opens new window with annoying advertisment about new maps. I even tried pasing part of URL, they're talking about (force=canvas) into any URL that my new Google Maps uses. Of course without any luck. So... is there any way, I can get rid of new Google Maps, once and permanently? UPDATE: In these days (April, 2015) Google , that soon new Google Maps will be the only one available. To my extremely negative surprise, this question will become invalid soon! :(", "What is the formula for percent of frame filled at a specific distance and focal length?", "Probability Problem with $n$ keys A woman has $n$ keys, one of which will open a door. a)If she tries the keys at random, discarding those that do not work, what is the probability that she will open the door on her $k^{\\mathrm{th}}$ try? Attempt: On her first try, she will have the correct key with probability $\\frac1n$. If this does not work, she will throw it away and on her second attempt, she will have the correct key with probability $\\frac1{(n-1)}$. So on her $k^{\\mathrm{th}}$ try, the probability is $\\frac1{(n-(k-1))}$ This does not agree with my solutions. b)The same as above but this time she does not discard the keys if they do not work. Attempt: We want the probability on her $k^{\\mathrm{th}}$ try. So we want to consider the probability that she must fail on her $k-1$ attempts. Since she keeps all her keys, the correct one is chosen with probability $\\frac1n$ for each trial. So the desired probability is $(1-\\frac{1}{n})^{k-1} (\\frac1n)^k$. Again, does not agree with solutions. I can't really see any mistake in my logic. Can anyone offer any advice? Many thanks", "When can uncountable nouns be countable?", "Integrating Knowledge into an existing website", "Is there a way to transfer more than one Pokemon at a time? Is there a way to transfer more than one Pokemon at a time to the professor? Or possibly an addon that gives me this ability? Vendoring all the trash Pokemon for candies individually is really annoying and time consuming.", "How can I install a package without root access? I have no root access on this machine. I would like to know if there is a way I can download Ubuntu packages and install them as non-root? Probably in my ~/bin or ~/usr/share or something like that? Would that work?", "Prediction in Cox regression I am doing a multivariate Cox regression, I have my significant independent variables and beta values. The model fits to my data very well. Now, I would like to use my model and predict the survival of a new observation. I am unclear how to do this with a Cox model. In a linear or logistic regression, it would be easy, just put the values of new observation in the regression and multiply them with betas and so I have the prediction of my outcome. How can I determine my baseline hazard? I need it in addition to computing the prediction. How is this done in a Cox model?", "Been trying to this line to parse for a good 20mins, but all attempts have failed: \\beta = $-$0.84, t = $-$2.09, P = 0.04 Could anyone tell me why I'm getting a Missing $ inserted error here?", "Prove that $\\liminf x_n = -\\limsup (-x_n)$", "Pullback of a Volume Form Under a Diffeomorphism. I have an exercise here, which I have no idea how to do. Problem: Let $ U $ and $ V $ be open sets in $ \\mathbb{R}^{n} $ and $ f: U \\to V $ an orientation-preserving diffeomorphism. Then show that $$ {f^{*}}(\\text{vol}_{V}) = \\sqrt{\\det \\! \\left( \\left[ \\left\\langle {\\partial_{i} f}(\\bullet),{\\partial_{j} f}(\\bullet) \\right\\rangle \\right]_{i,j = 1}^{n} \\right)} \\cdot \\text{vol}_{U}. $$ Notation: $ \\text{vol}_{U} $ and $ \\text{vol}_{V} $ denote the volume forms on $ U $ and $ V $ respectively. $ f^{*}: {\\Lambda^{n}}(T^{*} V) \\to {\\Lambda^{n}}(T^{*} U) $ denotes the pullback operation on differential $ n $-forms corresponding to $ f $." ]
medi_sts_stackexchange_dupe
Setting display to reduce migraines, what does nomodeset and fbdev mean? and how to set them?
How do I set 'nomodeset' after I've already installed Ubuntu?
[ "Why does my computer get less battery life with Ubuntu compared to Windows? Last year I purchased a Dell Inspiron 5315 laptop shipping with Windows 7 preinstalled. I installed Ubuntu 10.10 alongside it with dual-booting. On upgrading to Ubuntu 11.10, I was upset to find I now get less than one hour of battery life! Windows 7 gives me 2.5 hours of running time. Is there any possible explanation why my battery is running out faster with Ubuntu? Can anybody tell me better power options?", "How do I convert a SMP server world into a Single-player compatable world? I had a Minecraft world on Minefold. I archived my Minecraft world just before Minefold closed about a year ago. I'm trying now to open the world in my local Minecraft installation on OS X, but it doesn't show up in the worlds list. To import it, I simply unzipped the archive from Minefold into my ~/Library/Application Support/minecraft/saves folder. I'm running Minecraft 1.8, and I don't have any mods installed. There's no error; the world just doesn't show up in my list of worlds after I click [Singleplayer] (or [Multiplayer]). Now, the big clue is that the directory structures are different between my locally-created worlds and the world created on Minefold, but I can't figure out how to adapt the files to make them match: This is a screenshot of my saves folder. I've circled in blue \"local\" and \"minefold\", which contain data files for the local and Minefold worlds, respectively. I bracketed similar filenames in both worlds, but I'm flummoxed in that the Minefold version has three (3) sets of data files, whereas the local world has only one (1) set of files (even though I have visited Nether in the local world). How do I load my old Minefold world locally?", "Restore open applications, documents, and window state When working on a project, I generally have a couple of Explorer windows open to relevant folders and a couple of applications (e.g. Eclipse and a form development tool) open to specific project-related documents. There's a lot of value in that context, and I'd like to find a way to save a set of open apps under a project name, then restore that state at a later date. Thus far all of the utilities I've found are virtual desktop products that don't save/restore state. I'm specifically looking for something that will run the applications I had running, open the documents I had open, and position the windows as they were. I'm amazed that such a seemingly simple concept as \"Save my workspace state\" doesn't seem to be available. I'm on Windows 7. Any suggestions?", "\"one of the cables that runs\" or \"one of the cables that run\"? Recently at work I was writing the following, and I have not been able to get a firm answer on which version is the most grammatically correct. The sentence is: We would like to use one of the cables that _________ between rooms. Is the correct conjugation run or runs? I think 'run' is correct, because I think that the verb in the prepositional phrase is referring to 'cables' not 'one.' However, a number of colleagues have said that 'runs' is correct because one is singular.", "I am rendering my scene with only one sample but all the renders of the same picture have a different seed value. How can I combine them correctly? I wrote a java-program that loads all the images and takes the average pixel color for each pixel of the images. Is that a correct way of combining the images? It doesn't reduce the noise very much so I am not happy with it. What can I do?", "How to reinstall Ubuntu in dual boot with Windows 10? I have Ubuntu 15.10 and Windows 10 dual-booted, but I want to reinstall Ubuntu in the same partition without making any changes or causing problems in the dual boot option and without removing Windows. Is it possible? Any guide on how to do it?", "How do I find out which program and process ID accesses a given IP address in Windows? Is it possible to catch, which program is accessing a specific IP address? I found my computer is flooding and wish to check addresses one by one. May be it is possible to set up some audit for this?", "Full-wave bridge rectifier with capacitor filter and ripple voltage According to various sources, the ripple voltage of a full-wave bridge rectifier is $$ V_r = \\frac{V_s}{2}fCR $$ where \\$V_s\\$ is the peak of the input voltage source, \\$f\\$ is the frequency, \\$C\\$ is the capacitor and \\$R\\$ the resistor. I have simulated this circuit on PSPICE, circuitlab, and built it in real life: \\$R\\$ is \\$4.7K\\$ and \\$C\\$ is \\$10 uF\\$. Voltage source is sine wave with \\$0 V\\$ offset, \\$5V\\$ amplitude and \\$40 Hz\\$ frequency. All 3 experiments give me a ripple voltage of approximately \\$0.65V\\$, but the formula gives me \\$1.330 V\\$ (twice as much). What am I missing?", "How to set Ubuntu to synchronize my clock with a time server?", "I washed and dried my passport by mistake, do I need a new one? Around two years ago I washed and dried my passport by mistake at the laundry room. My ID, my old US student visa and my stamps from european countries are still readable but the pages are not \"flat\" anymore and the front cover is kind of erasing (some parts of the Brazil symbol is gone). In April I'll travel to US for a conference, I'll need to get a new US visa (B1/tourism visa) but I'm worried if my passport is not \"good to go\" anymore because it was \"washed and dried\". Apparently there is an electronic chip in it and I don't know if it is still working. Should I get a new passport or can I save some money and time and use this one? It expires only in 2019.", "Inheriting from a UserControl in WPF I am fairly new to WPF and I am having a problem with inheriting from a user control. I created a User Control and now I need to inherit from that control and add some more functionality. Has anyone does this sort of thing before? Any help would be greatly appreciated. Thank you", "Are token creatures considerd as a creature spell? Are token creatures considerd creature spells? For instince when I use tap effect combined with would it allow me to draw a card?", "How to hide \"internal\" polygon boundaries?", "Superscript outside math mode What is the easiest way to superscript text outside of math mode? For example, let's say I want to write the $n^{th}$ element, but without the math mode's automatic italicization of the th. And what if I still want the n to be in math mode, but the th outside?", "I saw this in the end of an awesome shell script but I can't understand the login here because I think it's being short-handed for a longer command. spark ${@:-`cat`} This apears at the end of . Any ideas? + Marks for some one who extends it into a full segment of code, even if its slower (Better for explanation)", "How do I remove Windows 7 from my dual boot system with Ubuntu?", "How to find the sum of the series $1+\\frac{1}{2}+ \\frac{1}{3}+\\frac{1}{4}+\\dots+\\frac{1}{n}$? How to find the sum of the following series? $$1 + \\frac{1}{2} + \\frac{1}{3} + \\frac{1}{4} + \\dots + \\frac{1}{n}$$ This is a harmonic progression. So, is the following formula correct? $\\frac{(number ~of ~terms)^2}{sum~ of~ all ~the~ denominators}$ $\\Rightarrow $ if $\\frac{1}{A} + \\frac{1}{B} +\\frac{1}{C}$ are in H.P. Therefore the sum of the series can be written as : $\\Rightarrow \\frac{(3)^3}{(A+B+C)}$ Is this correct? Please suggest.", "Ubuntu 14.04, Intel Chromebook, no sound", "How can I export the \"available software to download\" to a file? Sometimes Ubuntu will show a popup like this: (It looks weird because I'm using ) How can I export the list of packages/changes Ubuntu wants to install to a file? This is for debugging purposes - I think something in this update is breaking my system, and I want to be able to be able to figure out exactly where the break is coming from.", "Is it possible to enforce unique values in a column, excluding nulls?" ]
medi_sts_stackexchange_dupe
systemd: user service starts at boot with target default/graphical but not multi-user
Why doesn't my systemd user unit start at boot?
[ "How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?) I want to change the key bindings on some of the keys on my keyboard. I want some to run commands and others to activate different keys. What applications can I use to do this? Index: (from within System Settings) I'm still looking for answers using dconf and any other method.", "I've noticed that man pages and other documents formatted by Unix utilities often use double backticks `` followed by double single quotes '' to wrap quoted phrases instead of the double quote character \". Single quotes are similarly replaced. Why is this? Here are a couple examples, from the man page for grep: To find all occurrences of the pattern `.Pp' at the beginning of a line: $ grep '^\\.Pp' myfile The apostrophes ensure the entire expression is evaluated by grep instead of by the user's shell. The caret `^' matches the null string at the beginning of a line, and the `\\' escapes the `.', which would otherwise match any character. The grep utility is compliant with the IEEE Std 1003.1-2008 (``POSIX.1'') specification.", "I just wanted to ask whether there is any command which would work on common shells (bash, dash, kornshell)? It is supposed to check if the line variable contains any part of the path. if [[ $line =~ \"$PWD\"$ ]] ;then", "LWJGL Eclipse Resource Deployment I'm still experimenting with some OpenGL in LWJGL, and as I get to know more and more about OpenGL, I start to do more complicated things like multi texturing, shadowmapping and more. Now, right now I'm using the src folder (src/res) for my resources, and use src/resourcename in my code. When I export it, this won't work on another location as the relative path is ofcourse incorrect. What would be the best way of deploying your game with all the resources in one file? Maybe put the files in the jar? I would like to hear from a few people how they store and deploy their project with resources, thanks!", "Does David not understand that humans can't live that long? In the movie AI: Artificial Intelligence, they say David's mom is dead because 2000 years have passed. Does David not understand that humans can't live that long?", "The following is an excerpt from Folland's Introduction to Partial Differential Equations: Let the open set $\\Omega\\subset{\\mathbb R}^n$, and $k$ be a positive integer. $C^k(\\Omega)$ will denote the space of functions possessing continuous derivatives up to order $k$ on $\\Omega$, and $C^k(\\overline{\\Omega})$ will denote the space of all $u\\in C^k(\\Omega)$ such that $\\partial^{\\alpha}u$ extends continuously to the closure $\\overline{\\Omega}$ for $0\\leq|\\alpha|\\leq k$. As I understand, an extension means that there exists $\\widetilde{\\partial^{\\alpha}u}$ which is defined on $\\overline{\\Omega}$ and $\\widetilde{\\partial^{\\alpha}u}|_{\\Omega}=\\partial^{\\alpha}u$. And \"extends continuously\" means $\\widetilde{\\partial^{\\alpha}u}$ is continuous with respect to the relative topology on $\\overline{\\Omega}$. Here are my questions: How do people usually do such extension? When does such extension exist and when does not? Let $\\Omega$ be an open subset of ${\\mathbb R}$. Is there any non-trivial counterexample such that this kind of extension does not exist?", "Remember last selected items per page in global search", "How to change default user in WSL Ubuntu bash on Windows 10", "Hide or disable form options? Possible Duplicate: On a create/edit form, where the options available to the end user will depend on their previous input, in order to give the user some guides on how to fill the data, we shall: Disable the controls and enable them only when the pre-requisites are meet. Hide them instead Do nothing Other options Example: when asking who is the legal representative of someone, the form will contain a combobox with the following options: the own person, their parents or someone else. Only in the case the user chooses someone else, he was to fill a textbox telling who. Which option will provide the best user experience?", "How can I create an Excel spreadsheet with C# without requiring Excel to be installed on the machine that's running the code?", "Power series is locally normally convergent in its convergence radius $B(0,R)$", "Is there any performance reason to declare method parameters final in Java? As in: public void foo(int bar) { ... } Versus: public void foo(final int bar) { ... } Assuming that bar is only read and never modified in foo().", "Get the size (size in Kb or MB) of an featured image?", "Why does my Nikon D3100 give the error \"Lens not attached\" with a Vivitar 200 telephoto lens? I have a Nikon D3100 camera, and am trying to use an \"Automatic Fixed Mount Vivitar 200mm lens\" with it. When I attach the lens, I get the message \"Lens not attached\". and nothing works. HELP! I can't easily take it to a camera shop, as I live in the Mojave Desert, about 200 miles away from any camera shop. This is a new lens, and a new camera.", "Operation not permitted turning off airplay mirroring", "Use Cauchy-Schwarz inequality to show series convergence", "Quitting a job in the US on a work visa, going to Canada and re-entering on a tourist visa (ESTA waiver) I have been working in the USA on an E-3 visa and intend to return home to Australia, but I want to travel around the US before I do so. I am under the impression that after leaving my current company, I will have 10 days to leave the country. Will I be able to go into Mexico or Canada and re-enter with an ESTA waiver as a tourist?", "I have learnt that the cardinality of the power set of the natural numbers is equal to the cardinality of the real numbers. What is the function that gives the one-to-one correspondence between these two sets? I have also learnt that there exists no set whose cardinality is strictly between the natural numbers and the real numbers. Is there a proof of this or at least some intuitiveness behind it?", "I was wondering what might be making my questions less attractive to users? I get very low views most of the time. What should be done to increase a question's popularity?", "I have recently bought a Logitech M510 as my main mouse switching over from a magic mouse. I didn't realize missing horizontal scrolling would be such an issue, but apparently it is. Now a mac does support horizontal scrolling by holding shift + scrolling, this is however amazingly slow. I have the Logitech Control Center installed, which offers a few extra options, but nothing regarding the horizontal scroll speed. The scrolling speed options offered there only affect vertical scrolling. Can the vertical speed be one setting and the horizontal speed another?" ]
medi_sts_stackexchange_dupe
Question about dual-booting 13.04 and Windows 8/8.1
How do I install Ubuntu alongside a pre-installed Windows with UEFI?
[ "using Ajax with 3 consecutive drop down lists depending on eachother", "What constitutes an observation/measurement in QM? Fundamental notions of QM have to do with observation, a major example being The Uncertainty Principle. What is the technical definition of an observation/? If I look at a QM system, it will collapse. But how is that any different from a bunch of matter \"looking\" at the same system? Can the system tell the difference between a person's eyes and the bunch of matter? If not, how can the system remain QM? Am I on the right track?", "I'm creating side skirts for a truck and I am duplicating the frames I want. The problem is it's making the duplicated object into another object. How do I put it into the same one?", "some more examples: \"And she gave me that aren't-I-just-gorgeous smile.\" \"The I-did-it-my-way approach.\" \"A from-this-day-forward-I-have-no-son scene.\"", "HTML encoding strikes again (but with a twist) - Chat messages inbox notifications aren&#39;t looking good", "Play Framework (2.1.3) doesn't run any tests", "I quite often add a question as a favourite when there is something of interest to me in it or its answers. Looking back through my favourites, I cannot remember why I added some of them as a favourite. What I'd like to be able to do is to add a note/comment when I add a favourite as a reminder as to why I've added it. This will show on my favourites page, but nowhere else - and possibly to no one else. In addition, it would be good to be able to favourite an answer to a question, thereby adding a favourite to both the question and a particular answer with something of note in it. This would only show as a single favourite, but when clicking its link would go to the favourited answer. Possible? Or is there another way of doing this? I've already got too many favourites to remember why I added a lot of them.", "Playing a remote movie on the remote computer", "Getting raw SQL query string from PDO prepared statements Is there a way to get the raw SQL string executed when calling PDOStatement::execute() on a prepared statement? For debugging purposes this would be extremely useful.", "What is the fastest car in Saints Row 4, and where can I find it? I found an Attrazione in Salander, which has traditionally been fastest in previous games, but I don't like sinking upgrades money into a car unless it's for keeps. What car is fastest in Saints Row IV (before and after upgrades), and how can I get it? Is there any way to get stats on the car in-game?", "why can't i select two objects in edit mode? I am trying to make a face from two different meshes but can't perform the action", "Buying from AliExpress I've notice that the business to business site AliBaba and it's more consumer friendly AliExpress website have a number of bike components for sale. They tend to be complete component groupsets and the like but are some quite reasonable deals, especially if you are building a bike from scratch. I've used AliExpress before to purchase electronic components, which have been good quality and are what they say on the tin. Has anyone used AliExpress to buy bike components and have they had any trouble? (quality, counterfeit etc.) One benefit is that your money is held in escrow until you receive the item and aprove the payment so some safety.", "Name lookups in C++ templates", "To prove that $(\\mathbb{P(N)},d)$ is a metric space To prove that $(\\mathbb{P(N)},d)$ is a metric space where $\\mathbb{P(N)}$ is the power set of $\\mathbb{N}$. And $d:\\mathbb{P(N)}\\times \\mathbb{P(N)} \\mapsto\\mathbb{R}$ is defined by $d(A,B)=\\begin{cases} 0, &amp; \\text{if A} \\Delta \\text{B=}\\emptyset \\\\ m^{-1}, &amp; \\text{where m is the smallest member of} A\\Delta B \\end{cases} $. Attempt: $x \\in P\\Delta Q=(P-Q)\\cup(Q-P) \\implies x\\in (P-Q) \\text{ or } x\\in (Q-P) $. But $(P-Q)\\cap(Q-P)= \\emptyset \\implies x \\in P \\text{ and} \\notin Q \\text{ or }x \\in Q \\text{ and} \\notin P. \\ \\ \\ $ (*) To prove the triangle inequality: Take any three sets $A,B,C \\subset \\mathbb{P(N)}$ such that none of them are equal to another. Now, $\\min A \\Delta B =m_1, \\min B \\Delta C =m_2, \\min A \\Delta C =m_3 $. To prove $d(A,B) \\leq d(A,C)+ d(B,C)$. By (*), $m_1 \\in A$ or $m_1 \\in B$ but not both. Again, $m_2 \\leq m_1$ or $m_3 \\leq m_1$. Either way, we are done. When $A \\neq B$ and either $B =C $ or $A=C$ (not both), we have respectively $A=C$ , $B=C$ . Which satisfies the triangle inequality. When $A=B$ it is evident. Symmetry: We know $A \\Delta B =B \\Delta A$. $d(A,B)= d(B,A)$ Non-negativity and $0 \\iff A=B$: $d(A,B)=0 \\iff A \\Delta B= \\emptyset \\iff A \\subset B \\text{ and } B \\subset A \\iff A=B$. By definition $d(A,B) \\geq 0$ Is this okay? Please verify.", "Change the height of a function being plotted", "I have installed nodeJS on Ubuntu with following code sudo apt-get install nodejs Since I am a new user for ubuntu I also ran this code too sudo apt-get install npm Now when I type nodejs --version It shows v0.6.19 I checked and saw latest nodeJS version is 0.10.26 How can I update my version of nodeJS to 0.10.26? I tried with sudo apt-get install &lt;packagename&gt; sudo apt-get install --only-upgrade &lt;packagename&gt; but no luck.", "Does installing many programs really slow down Windows?", "A lot of people will probably gloss over this fact, but it looks like C-3PO meets BB-8 for the first time in this scene 0:20: But how does C-3PO know BB-8's name? Is there a time where C-3PO meets BB-8 before this and knows his name?", "How does linear regression use the normal distribution?", "More examples of Simpson's Paradox, barring the ones on Wikipedia, Titanic, and delayed flights. I hope someone may know fresh examples of for use in my statistics courses. The examples I've been using are fine, but I'd like to have some new ones. I'm familiar with the ones on the Wikipedia page: the gender bias lawsuit at Berkeley, batting averages, mortality rates among low birth babies, party voting on the Civil Rights Act, and success rates of kidney stone treatments. I'm also familiar with the example of survival rates on the Titanic and the one about delayed flights at America West vs. Alaska Airlines. These are all good ones, but, like I said, I'm looking for more. Does anybody know any others? For those who aren't familiar with it, Simpson's paradox is essentially a property of unreduced fractions: It's possible to have, simultaneously, $$\\frac{a_1}{b_1} &lt; \\frac{c_1}{d_1} \\text{ and } \\frac{a_2}{b_2} &lt; \\frac{c_2}{d_2}, \\text{ but } \\frac{a_1 + a_2}{b_1+b_2} &gt; \\frac{c_1+c_2}{d_1+d_2}.$$ For example, $\\frac{1}{3} &lt; \\frac{34}{100}$ and $\\frac{66}{100} &lt; \\frac{2}{3}$, but $\\frac{67}{103} &gt; \\frac{36}{103}$. It can be hard to spot this happening in a given real-world scenario." ]
medi_sts_stackexchange_dupe
How Is Microwave Popcorn Flavoured?
How do I coat popcorn with flavor?
[ "Repeated error I have been repeatedly encountering the following error when my laptop freezes. It may occur multiple times during the day, and should take several minutes to recover. Source Windows Summary Hardware error Date ‎11/‎1/‎2018 10:11 AM Status Not reported Description A problem with your hardware caused Windows to stop working correctly. Problem signature Problem Event Name: LiveKernelEvent Code: 144 Parameter 1: 3003 Parameter 2: ffffad8c0b1a75c8 Parameter 3: 40010002 Parameter 4: 0 OS version: 10_0_17134 Service Pack: 0_0 Product: 256_1 OS Version: 10.0.17134.2.0.0.256.48 Locale ID: 1033 More details Per my best reflection, the hardware error occurs when I am using the laptop on its docking station. Here is what I observe: While using the laptop as normal, the \"freeze\" will occur and I can hardly operate the laptop: mouse cursor won't move continuously and Alt+Tab won't be able to switch across two windows. Shortly after (usually several minutes), things will go back to normal. Upon inspecting through the Performance tab in Task Manager, there had been no spike in anything, be it CPU, Memory or Disk. When I open the View reliability history tool, I will find another entry of Windows Hardware Error Machine specification: Thinkpad T480, i7-8650U (newly replaced module thanks to the manufacture) With the same pair of docking stations, an older unit of T480 has had exactly the same problem. Docking station: . Same issue has occurred on two identical docks with slightly different monitors and accessories. OS specification: OS build 17134.376. Most recent collection of \"reliability report\": Possible solutions First, I would like to learn what exactly went wrong, hardware-wise: the manufacturer's support team did not bother too much with the precise error messages, and have ordered me to reinstall the Windows OS up to 5 times in total. [This is what they called \"debugging\".] Please advise if you can decipher the recurrent \"Hardware error\". Secondly, I will try to push the manufacturer to replace the docking stations, and see if the same \"freezing problem' persists.", "Why should users have to press Return twice to insert new lines? When I post a question and want to add a new line, I have to press Return two times, or else the next text will appear on the same line. Is this really supposed to behave this way? If so, why?", "Why does no physical energy-momentum tensor exist for the gravitational field? Starting with the Einstein-Hilbert Lagrangian $$ L_{EH} = -\\frac{1}{2}(R + 2\\Lambda)$$ one can formally calculate a gravitational energy-momentum tensor $$ T_{EH}^{\\mu\\nu} = -2 \\frac{\\delta L_{EH}}{\\delta g_{\\mu\\nu}}$$ leading to $$ T_{EH}^{\\mu\\nu} = -G_{\\mu\\nu} + \\Lambda g_{\\mu\\nu} = -(R_{\\mu\\nu} - \\frac{1}{2}g_{\\mu\\nu}R) + \\Lambda g_{\\mu\\nu}. $$ But then, in the paragraph below Eq. (228) on page 62 of paper, it is said that this quantity is not a physical quantity and that it is well known that for the gravitational field no (physical) energy-momentum tensor exists. To me personally, this fact is rather surprising than well known. So can somebody explain to me (mathematically and/or \"intuitively\") why there is no energy-momentum tensor for the gravitational field?", "Select translation: where?", "Is it possible to identify what the parent program/app is from a running process?", "I have a laptop which is connected to the internet with ADSL modem, and I would like to share the internet for any laptop connecting to wireless router from my laptop using hotspot. This is what I want: ┌────────────────────┐ │ ADSL modem │ └───┬────────────────┘ │ ┌───┴───────────────────────┐ │ laptop's wired adaptor │ │ │ │ Hotspot software │ │ │ │ laptop's wireless adaptor │ └───┬───────────────────────┘ │ ┌───┴──────────────────────┐ │ wireless router(linksys) │ └───┬──────────────────────┘ │ ┌───┴─────────────────────────────┐ │ Laptop computers and cellphones │ └─────────────────────────────────┘ How can I do that?", "Trim string in JavaScript?", "When I try to connect to Google Play, it would say \"download Google play service\". After I downloaded it, it says that it is \"not supported by your device, please contact the manufacturer\".", "This is a question that keeps bothering me: much of mathematics was created by extending rules to new domains e.g. negative numbers were created by consistently extending arithmetic beyond positive integers. However, with number bases it seems impossible to do this. Number bases are integers, but could they be rational numbers? I've had previous discussions about this, see . One problem can be seen with this example: in base 2.5, 0.22 is greater than one. That's not what we want! What, if anything, can be done about this? EDIT: To put it another way - if every positional number is less than any digit to its left, why doesn't this apply to fractional base positional numbers?", "Reflection of a line in a plane The line $l_1$ has the equation $r=(6i+2-2k)+\\lambda(4i+5j-k)$ and the plane $\\pi_1$: $2x-y+4z=4$, the line $l_2$ is the reflection of $l_1$ in the plane $\\pi_1$. Find the exact vector equation of line $l_2$ So the line intersects the plane when $\\lambda=-2$, giving the point $(-2,-8,0)$ which will be common on $l_1$ and $l_2$. But I am unsure on how to find the direction vector for $l_2$. Any help would be appreciated.", "Why can Naruto still use Rasenshuriken? When Naruto first used Rasenshuriken against Kakuzu the effect was massive. He destroyed two of Kakuzu's hearts, but there were a huge after effect to him. If I'm not mistaken, Tsunade advised Kakashi to ask Naruto never to use the technique again due to the huge risk. So why is Naruto still able to use the technique and have no side effects after that battle? I may have missed out on something.", "what does ∇ (upside down triangle) symbol mean in this problem Given $f(x) = \\frac{1}{2}x^TAx + b^Tx + \\alpha $ where A is an nxn symmetric matrix, b is an n-dimensional vector, and alpha a scalar. Show that $\\bigtriangledown _{x}f(x) = Ax + b$ and $H = \\bigtriangledown ^{2}_{x}f(x) = A$ Is this simply a matter of taking a derivative with respect to X, how would you attack this one?", "How can I manually create a pixel perfect image sprite?", "Expectation of Exit Time of Brownian Motion from Interval I am trying to solve the following: Let $W_t$ be a brownian motion and $a,b &gt;0.$ Define $\\tau$ to be the exit time of $W_t$ from $[-a,b]$, that is $$\\tau = \\inf\\{t \\ge 0\\ :\\ W_{t}(\\omega) \\notin [-a,b]\\}.$$ Show that $\\tau$ is integrable and compute $\\mathbb{E}(\\tau)$. I have seen this stated without proof multiple places that $\\mathbb{E}(\\tau)=ab.$ What is the logical argument that backs up this statement? How are we guaranteed $\\tau$ is integrable?", "How do I study the \"correlation\" between a continuous variable and a categorical variable?", "How do I make a Lightning Bow in vanilla Minecraft? I'm trying to make a setup with command blocks that summons lightning at the location of a shot arrow. The setup should recognize the arrow that is shot or the bow that is used by its name or another property, so that lightning only strikes at that specific arrow. Also, the lightning should only strike once when the arrow hits the ground. I know this is somehow possible with scoreboard, but I'm no good with that. Does anyone know how to make a Lightning Bow in vanilla Minecraft?", "We know that if you (using Polyjuice), take the form of someone who had been injured, you assume that injured form (e.g. Barty/Moody). If you are injured, presumably you would be uninjured while under Polyjuice. My question is, is this in real-time? That is, if you take a Polyjuice, and while you're still under its effects, the person being transformed into gets injured (or even dies), will that injury be transferred onto you? And conversely, if you get injured while in someone else's body, will that transfer over to your real body after the Polyjuice wears off, will it disappear, or will it go to the person you turned into?", "Zero dimensional points do not take up space, so then wouldn't everything in the universe be literally empty? Or is there something that I'm missing?", "Existence of a Riemannian metric inducing a given distance. Let $M$ be a smooth, finite-dimensional manifold. Suppose $M$ is also a metric space, with a given distance function $d: M \\times M \\rightarrow \\mathbb{R}_{+}$, which is compatible with the original (manifold) topology on $M$. Question: is there a Riemannian metric $g$ on $M$ such that the distance $$d_g(p, q) = \\inf_{\\gamma \\in \\Omega(p, q)} L_g(\\gamma)$$ coincides with $d$? I believe that this setting is very standard, but for the sake of completeness: $L_g$ denotes the Riemannian length of the curve $\\gamma$, and $\\Omega(p, q)$ the set of all piecewise smooth curves $\\gamma : [a, b] \\rightarrow M$ s.t. $\\gamma(a) = p$ and $\\gamma(b) = q$. Thanks in advance.", "Why are rings called rings?" ]
medi_sts_stackexchange_dupe
URLs contain double slash in path for all links within the 'X people chatting' container
Extra slash added to the chat room URLs in the side bar
[ "Can a Ranger select two humanoid races as their favored enemies at 6th and 14th levels? In D&amp;D 5e, the Ranger can choose at first level to have a Favored Enemy of a single broad type (i.e. fiends, giants, aberrations, etc.) or of two different specific humanoids (such as orcs and gnolls). They gain additional Favored Enemies at 6th and 14th level. At each of those levels, could they opt to pick two humanoid races? Or would the choice be between one type and one specific humanoid? Relevant text: Choose a type of favored enemy: aberrations, beasts, celestials, constructs, dragons, elementals, fey, fiends, giants, monstrosities, oozes, plants, or undead. Alternatively, you can select two races of humanoid (such as gnolls and orcs) as favored enemies. And: You choose one additional favored enemy, as well as an associated language, at 6th and 14th level. (Both quotes from PHB, pg 91.) Specifically, I'm wondering whether \"one additional favored enemy\" means one absolutely, or whether the \"Alternatively...\" sentence means that two humanoid races can be substituted for one type whenever you select a favored enemy.", "May I use Google Fonts for creating a logo with commercial purposes? I want to create a logo for a contest, the winner will be paid and the winning logo will be the institutional logo of an academic entity, so I need a font which can be used freely or at a cheap cost for commercial purposes. I see that Google Fonts are delivered as \"free fonts\" for websites: May I use them freely for graphic design products (a logo in particular) as well?", "How do you properly use namespaces in C++? I come from a Java background, where packages are used, not namespaces. I'm used to putting classes that work together to form a complete object into packages, and then reusing them later from that package. But now I'm working in C++. How do you use namespaces in C++? Do you create a single namespace for the entire application, or do you create namespaces for the major components? If so, how do you create objects from classes in other namespaces?", "How to estimate camera sensor size? I am using a smartphone for capturing photos and I need to estimate the camera sensor size (mm*mm). I have the resolution (in pixels) and the focal length (in pixels). I can also measure the size of any stationary object and its distance w.r.t the lens. Basically, I don't have a pixel-to-mm metric for any of the above parameters that I can use. Is there any way I can calculate that to estimate sensor size?", "Does Windows log programs that have been run/called?", "\"Unanswered\" question sort order on profile pages To help users keep track of (and hopefully get answers to) unanswered questions, it would be useful to have an \"unanswered\" sort order on a user's profile page. It would order the list of questions with unanswered questions first. This would be in addition to the \"recent,\" \"views,\" \"newest,\" and \"votes\" sort orders.", "$f,\\overline f$ are both analytic in a domain $\\Omega$ then $f$ is constant? is it true if $f,\\overline f$ are both analytic in a domain $\\Omega$ then $f$ is constant? I am not able to find out what property of holomorphic map I need to apply. please help.Thank you. $f(z)=u(x,y)+iv(x,y)$, $\\bar{f}(z)=u(x,y)-iv(x,y)$", "What is the function of this circuit? Just wondering if someone can give me an explanation for this capacitor layout - what is it's function? The chip to the right is an ADC. Circled in blue. I'm guessing it is well known but i don't know how to search for it.", "Delete specific line number(s) from a text file using sed?", "How can I read input from the console using the Scanner class in Java?", "$x^a - 1$ divides $x^b - 1$ if and only if $a$ divides $b$ Let $x &gt; 1$ and $a$, $b$ be positive integers. I know that $a$ divides $b$ implies that $x^a - 1$ divides $x^b - 1$. If $b = qa$, then $$x^b - 1 = (x^a)^q - 1^q = (x^a - 1)((x^a)^{q-1} + \\ldots + x^a + 1).$$ I'm interested in the converse of the statement. If $x^a - 1$ divides $x^b - 1$, does this imply that $a$ divides $b$?", "Repeating the consonant in many words in a sentence or phrase In the movie 'V for Vendetta' you have for example (bold part): Evey: Who are you? V. : Who? Who is but the form following the function of what and what I am is a man in a mask. Evey: Well I can see that. V. : Of course you can, I’m not questioning your powers of observation, I’m merely remarking upon the paradox of asking a masked man who he is. Evey: Oh, right. V. : But on this most auspicious of nights, permit me then, in lieu of the more commonplace soubriquet, to suggest the character of this dramatis persona. V. : Voila! In view humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of fate. This visage, no mere veneer of vanity, is a vestige of the “vox populi” now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin, van guarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta, held as a votive not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily this vichyssoise of verbiage veers most verbose, so let me simply add that it’s my very good honour to meet you and you may call me V. Evey: Are you like a crazy person? V. : I’m quite sure they will say so. What do you call sentences like these? And do you know some other ones?", "Let $f: M \\to N$ be a mono in $\\mathsf{Mon}$. I want to prove that the underlying function $U(f): U(M) \\to U(N)$ is injective. How can this be done ? Thanks in advance.", "How can I write the name show in axis of 3D array using TiKz I am drawing a 3D array like the attached picture, which actually describes a multidimensional array. However, I can not put the name of the axis and take the value from the matrix like the attached picture. This is the code that I have: \\documentclass[margin=5mm]{standalone} \\usepackage{tikz} \\usetikzlibrary{matrix,calc} \\begin{document} \\begin{tikzpicture}[every node/.style={anchor=north east,fill=white,minimum width=1.4cm,minimum height=7mm}] \\matrix (mA) [draw,matrix of math nodes] { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\matrix (mB) [draw,matrix of math nodes] at ($(mA.south west)+(1.5,0.7)$) { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\matrix (mC) [draw,matrix of math nodes] at ($(mB.south west)+(1.5,0.7)$) { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\draw[dashed](mA.north east)--(mC.north east); \\draw[dashed](mA.north west)--(mC.north west); \\draw[dashed](mA.south east)--(mC.south east); \\end{tikzpicture} \\end{document}", "I live &amp; work in the UK. Having pretty much exhausted all of the avenues I can find for saving (none of which have great returns anyway at the moment, obviously), I have recently started looking to buy my first house. I have a reasonable sum saved up for a deposit, but I'm wondering what to do with that in the mean time, as a fair amount of it is not currently earning any interest. For the moment, I have put any surplus, that I'm not earning interest on into premium bonds, just in the off-chance that I win something with it, but this is obviously more of a lottery than an investment, and I'm not 'expecting' to win anything noteworthy with it. Ideally, I would like to buy a house within the next year or so, so investing in the stock market is not really an option, as I understand the commonly accepted advice is that you invest with a minimum 5 year horizon. What other options do I have for any surplus cash while I look for a house?", "Given a Java InputStream, how can I determine the current offset in the stream?", "Let $(a_n)$ be a strictly increasing sequence of positive integers such that: $a_2 = 2$, $a_{mn} = a_m a_n$ for $m, n$ relatively prime. Let $(a_n)$ be a strictly increasing sequence of positive integers such that: $a_2 = 2$ and $a_{mn} = a_m a_n$ for $m, n$ relatively prime. Show that $a_n = n$, for every positive integer $n$. This is a result apparently due to Paul Erdős, and has a proof by induction. I tried like this, $a_{10}=a_2a_5$. After this what we can do? [Editor's comment] Possibly due to the apparent simplicity of the conditions it may be difficult to appreciate the subtleties of this question. If we try and construct a counterexample like $a_3=4$, $a_4=5$, $a_5=6$, then the requirements dictate $a_6=8$, $a_{10}=12$, $a_{15}=24$. At this point we realize that we have been speeding. For monotonicity forces $a_9\\le 11$, and therefore $a_{18}\\le22&lt;a_{15}$, violating the requirements. It is not obvious why something similar ruins all the modifications to the sequence $a_n=n$. [/comment, JL]", "Were there any improvements to the second Death Star (other than the change in exhaust port) that we know of?", "How many square meters \"twenty feet square\" is? One would assume it to be about 2 square meters, but this is obviously not the case. In fact, I'm reading Illium by Dan Simmons. A quote follows: Much like the room they had faxed into, this space was windowless and about twenty feet square. But unlike the other room, this one was warm, lighted, and free of snow or ice. And unlike the other room, this one was almost filled with an oval metal machine about fifteen feet long. By this description, \"twenty feet square\" seems to mean 20x20 feet aka 400 square feet or 40 square meters. Given that Dan Simmons is a renowned American writer, it's not likely that he just can't speak English correctly. So, who's right and who's wrong here?", "Where has the trailing newline char gone from my command substitution? The following code best describes the situation.  Why is the last line not outputting the trailing newline char?  Each line's output is shown in the comment.  I'm using GNU bash, version 4.1.5 echo -n $'a\\nb\\n' | xxd -p # 610a620a x=$'a\\nb\\n' ; echo -n \"$x\" | xxd -p # 610a620a echo -ne \"a\\nb\\n\" | xxd -p # 610a620a x=\"$(echo -ne \"a\\nb\\n\")\" ; echo -n \"$x\" | xxd -p # 610a62" ]
medi_sts_stackexchange_dupe
Is Gandalf really to blame for Sauron's return?
Would the One Ring have stayed hidden if Bilbo hadn't turned up?
[ "Sentence vs proposition I'm reflecting upon the distinction between a sentence and a proposition in logic and philosophy. I knew that a proposition is the meaning of a declarative sentence (i.e. the abstract content of a declarative sentence, the bearer of truth-value), whereas a sentence is simply a group of words (symbols, signs) ordered according to some grammatical rule in any natural or artificial language. A sentence isn't necessarily meaningful. According to these definitions, you could say hat a predicate like \"is interesting\" is a sentence. Of course a sentence like \"is interesting\" wouldn't express a proposition, but still, it would be a sentence. This seemed ok to me until I remembered that propositional logic is sometimes called sentential logic. But then you cannot say that \"is interesting\" is a sentence, because it certainly isn't a sentence in the sense of sentential logic! As a result, I'm getting confused about what a sentence is according to sentential logic. Can someone help?", "Python Argument Binders How can I bind arguments to a Python method to store a nullary functor for later invocation? Similar to C++'s boost::bind. For example: def add(x, y): return x + y add_5 = magic_function(add, 5) assert add_5(3) == 8", "What do I know, when deciding whether to cast Counterspell? I'm not entirely clear on how Counterspell works, when trying to counter higher-level spells: the CS description only talks about disrupting a creature you can see, within 60 feet, casting a spell. However, when trying to counter a higher level spell: Do I know what spell is being cast? Do I at least know (somehow intuit, based on VSM components) the level of the spell? Or can I tell the spell/level of the spell by sensing a disturbance in The Weave? (I.e., if the spell is being cast using Subtle Spell, can I still tell what's going on?) The point of the question is to determine how fruitful CS can be in combat--if I know what the other guy/gal is casting (or at least the level), I can decide whether I want to spend my L8 slot to counter his/her L8 slot. But if I have no idea, and I end up using a L8 slot to counter a L3 spell... seems a bit painful. Hope this made sense!", "What is the recommended CIDR when creating VPC on AWS? I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect the performance of the network?", "I have installed a vlc in centos 6.5. I want to run it as root. But I get the following error, \"VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use vlc-wrapper (make sure it is Set-UID root and cannot be run by non-trusted users first).\"", "Bundling python library with addon I'm making an add-on that uses the websocket library from python. Is there a way to include it in the add-on .zip file? Or do I have to add it to the site packages folder in blenders included python folder?", "I studied the theoretical part about the Gravitational waves in General Relativity (linearization of gravity and small perturbations of the metric and so on). But I was wondering about: since electromagnetic radiation is composed/carried by Photons (or better:the EM force), shall gravitational waves be composed/carried by Gravitons? In the end:do gravitational waves imply the existence of gravitons? Or it's something unrelated and off topic?", "I need to show that $\\sqrt{2}$, $\\sqrt{2+\\sqrt{2}}$, $\\sqrt{2+\\sqrt{2+\\sqrt{2}}},\\ldots$ converges and find the limit. I started by defining the sequence by $x_1=\\sqrt{2}$ and then $x_{n+1}=\\sqrt{2+x_n}$. Then I proved by induction that the sequence is increasing and that it is bounded. Then I use the Monotone Convergence Theorem to prove that it converges. Now, I claim that the limit of the sequence is $2$. So I need to show that for all $\\epsilon&gt;0$, there exists $N$ such that for all $n\\geq N$ we have $|x_n-2| &lt; \\epsilon$. This is kind of where I'm stuck. I don't know how to proceed to prove the convergence to $2$.", "how to get a picklist all values in apex controller", "Computing $\\int_{-\\infty}^\\infty \\frac{\\sin x}{x} \\mathrm{d}x$ with residue calculus", "How to create meaningful relationships with NPCs How do I help the PCs to create meaningful relationships with NPCs? Maybe it is a result of my group playing too many one-dimensional adventures trying to find whatever MacGuffin they are after each week, but most of the time my PCs don't tend to value NPCs too much. Every time they meet an NPC they quickly evaluate what immediate values the NPC can give or tend to ignore them. What I would really like is to have some good relationships where the PCs actually go out of their way to help NPCs without selfish motivation or even just to try to think of NPCs more and how their actions affect others. I am not looking for a specific game rules solution to this, but instead techniques to get the players to feel attachment to these fictional characters.", "What does a two overlapping circles symbol mean in an electrical schematic/diagram?", "Why is plain-hash-then-encrypt not a secure MAC?", "Large snap packages because of dependencies", "I've recently run into many questions where to author asks several related questions in one post, many of them asked before. I'm wondering what out policy is on such questions: Should I vote-close them as being not constructive? Should I vote-close them as duplicates? Should I leave them be? Or even suggest an answer? - Each of the questions: Waiting for an AJAX request with selenium, and headless browsing in selenium have been asked here before, but he asked both in one. I've done my best to search for similar questions here in meta but I was unable to find any, reading appreciated.", "Substituting table salt or sea salt for kosher salt? The roasted chicken recipe I'm following of course calls for kosher salt, but I don't have any, and getting some is out of the question. I have sea salt and table salt on hand. Can I substitute one of those instead, and if so, what is the proper ratio of the kosher salt the recipe calls for to either sea salt or table salt?", "Ways to go from A to B(proof)", "Integer squares of the form $x^4+x^3+x^2+x+1$ I want to solve ${y^2}=x^4+x^3+x^2+x+1$ in $\\mathbb{Z}$. I can find four solutions. Is there another solution? I know that there are six solutions. $$(-1, \\pm 1)\\;,\\;(0, \\pm 1).$$ My try: \\begin{align} &amp; x^4+x^3+x^2+x+1=0\\quad \\Rightarrow \\underbrace{\\left( x+\\frac{1}{x} \\right)^2}_{t^2}+\\underbrace{\\left( x+\\frac{1}{x} \\right)}_{t}-1=0\\,\\Rightarrow t\\notin \\mathbb{Z} \\\\ &amp; x^4+x^3+x^2+x+1={\\pm 1}^2\\quad\\Rightarrow \\,x=-1\\,\\,,\\,x=0.\\\\ \\end{align} Thanks.", "So I really like the tag cloud on Climate Deal. Is there anyway we could get something similar to this on StackOverflow? I don't necessarily mean that we should replace the interesting/ignored tags with this but something like this on the front page would be nice.", "$ df -kh Filesystem Size Used Avail Use% Mounted on udev 7,8G 0 7,8G 0% /dev tmpfs 1,6G 19M 1,6G 2% /run /dev/sda2 622G 227G 364G 39% / tmpfs 7,8G 1,1G 6,7G 14% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup /dev/loop1 143M 143M 0 100% /snap/inkscape/2527 /dev/loop3 79M 79M 0 100% /snap/core/1441 /dev/loop0 79M 79M 0 100% /snap/core/1577 /dev/loop4 79M 79M 0 100% /snap/core/1512 /dev/loop2 62M 62M 0 100% /snap/pencilsheep/5 tmpfs 1,6G 92K 1,6G 1% /run/user/1000 What are these /dev/loop device files? My RAM is always full. Is this related?" ]
medi_sts_stackexchange_dupe
Initially I have shuffled the array elements, how do I sort these elements?
How do I sort an NSMutableArray with custom objects in it?
[ "Why did the limit of power change from wizard/witch to wand? So in the first 5 or 6 books, it was very clear that the wand chooses the wizard and the power/level of the spells the wizard produces is based on the knowledge and skill of the wizard. This is referenced by people constantly being telling Harry that he wasn't skilled enough to perform certain spells, or Bellatrix telling Harry that he needed to mean the Cruciatus curse for it to be effective. However, in the 7th book, this entire idea is changed to the wand being the thing that's powerful and regardless of the wizard's/witch's skill or knowledge, he/she could still perform a very advanced spell if it's something the wand could handle. Goyle accidentally creating a fire serpent is something that instantly comes to mind from the movies(I don't remember if that happened in the book). So, my question is, what actually holds the power, the wizard/witch, or the wand?", "Almost all passports I have seen have a place of birth field on them. For instance, on the US Passport, Is there a specific reason to this?", "How did Gandalf elude and puzzle Sauron? In the History of Middle-Earth book collection Myths Transformed we learn a lot about how Sauron perceived the Istari and what he knew of them. Sauron had, in fact been very like Saruman, and so understood him quickly and could guess what he would be likely to think and do, even without the aid of the palantiri or of spies; whereas Gandalf eluded and puzzled him. (Home X: Myths Transformed) Gandalf he did not understand. But certainly he had already become evil, and therefore stupid, enough to imagine that his different behaviour was due simply to weaker intelligence and lack of firm masterful purpose. He was only rather a cleverer Radagast &mdash; cleverer, because it is more profitable (more productive of power) to become absorbed in the study of people than of animals. (ibid) My question now is how does Gandalf elude and puzzle Sauron so much? We know he found Saruman simple to guess down to having similar minds (maybe down to both being maia of Aule?), we also know he must know a fair bit of Radagast as he refers to Gandalf as merely a smarter version of Radagast who was known to have abandoned his task which the Istari were given. While Sauron went face to face with Saruman via the palantir, it is surprising that he finds Gandalf basically strange, even though Gandalf in reality does the most to circumvent Sauron out of the Istari in the north-west. Gandalf enters Dol Guldur which Sauron flees. Gandalf enters Dol Guldur again in secret and claims he only just escaped with his life, which suggests Sauron may have ended up noticing him. Gandalf pushes White Council to attack Dol Guldur which Sauron foresees. Gandalf fought with all nine of Sauron's greatest servants at Weathertop and played a part in destroying their physical bodies temporarily. Gandalf leads the Fellowship from Rivendell, which Sauron also knows. Gandalf strives with the Dark Tower when Frodo puts the ring on at Amon Hen. Gandalf is present at the Battle of the Black Gate, in which the mouth of Sauron declares they know all about Gandalf. As I've pointed out, Gandalf is clearly sent to contest Sauron. But I don't understand why Sauron does not see this; throughout the Third Age, well, since the coming of the Istari Gandalf has played a role in almost every contest against Sauron. So how did he elude and puzzle him?", "Are C++ enums signed or unsigned? And by extension is it safe to validate an input by checking that it is &lt;= your max value, and leave out >= your min value (assuming you started at 0 and incremented by 1)?", "Forecast total for a year given monthly time series I have a monthly time series (for 2009-2012 non-stationary, with seasonality). I can use ARIMA (or ETS) to obtain point and interval forecasts for each month of 2013, but I am interested in forecasting the total for the whole year, including prediction intervals. Is there an easy way in R to obtain interval forecasts for the total for 2013?", "How to draw a torus Is there an easy way to draw a contour image of torus below with tikz? Or for that matter with any other graphics package.", "Order of a group and subsequent subgroups I want to prove that if the order of a group G is greater than 1 and non-prime, then G has a subgroup other than the trivial subgroups {e} and G itself. I am confused because I am only being able to prove the case for prime order by using Lagrange’s theorem i.e. if I have a group of order p, where p is a prime number, then the order of subgroups must divide p, hence the order can be either 1 or p. How do I go about proving the case for non prime order let’s say x > 1?", "Pretty printing XML with javascript I have a string that represents a non indented XML that I would like to pretty-print. For example: &lt;root&gt;&lt;node/&gt;&lt;/root&gt; should become: &lt;root&gt; &lt;node/&gt; &lt;/root&gt; Syntax highlighting is not a requirement. To tackle the problem I first transform the XML to add carriage returns and white spaces and then use a tag to output the XML. To add new lines and white spaces I wrote the following function: function formatXml(xml) { var formatted = ''; var reg = /(&gt;)(&lt;)(\\/*)/g; xml = xml.replace(reg, '$1\\r\\n$2$3'); var pad = 0; jQuery.each(xml.split('\\r\\n'), function(index, node) { var indent = 0; if (node.match( /.+&lt;\\/\\w[^&gt;]*&gt;$/ )) { indent = 0; } else if (node.match( /^&lt;\\/\\w/ )) { if (pad != 0) { pad -= 1; } } else if (node.match( /^&lt;\\w[^&gt;]*[^\\/]&gt;.*$/ )) { indent = 1; } else { indent = 0; } var padding = ''; for (var i = 0; i &lt; pad; i++) { padding += ' '; } formatted += padding + node + '\\r\\n'; pad += indent; }); return formatted; } I then call the function like this: jQuery('pre.formatted-xml').text(formatXml('&lt;root&gt;&lt;node1/&gt;&lt;/root&gt;')); This works perfectly fine for me but while I was writing the previous function I thought that there must be a better way. So my question is do you know of any better way given an XML string to pretty-print it in an html page? Any javascript frameworks and/or plugins that could do the job are welcome. My only requirement is this to be done on the client side.", "It is quite easy to show that for every prime $p$ and $0&lt;i&lt;p$ we have that $p$ divides the binomial coefficient $\\large p\\choose i$; one simply notes that in $\\large \\frac{p!}{i!(p-i)!}$ the numerator is divisible by $p$ whereas the denominator is not (since it is a product of numbers smaller than $p$ and $p$ is prime). My problem is with generalizing this argument for $q=p^n$. I'm looking for the most elegant and simple way to prove that $p$ still divides $\\large q\\choose i$.", "Prove or disprove: if $\\sum\\limits_{n=0}^∞a_n$ converges and $\\lim\\limits_{n\\to\\infty}b_n =0$, then $\\sum\\limits_{n=0}^{\\infty}a_n b_n$ converges.", "Windows 10 - disable reopening programs after restart/startup Occasionally, a forced restart is happening on my Windows 10 computer. When the OS is restarted every program that I've had prior to the restart is reopened at startup. The programs are reopened like I would just double-click them. I usually hold 5-6 windows of Visual Studio and few more programs all together. When the above happens, I have to wait several minutes until I can start working, as everything takes ages to load. Is there a setting to disable these programs from automatically opening at startup?", "List View Visibility", "Removing nodes from graphs such that one is dependent on other - ZIO $2010$, P$1$ Greetings Community! The above problem you see is a combinatorics problem I could not solve. :( This problem is from ZIO $2010$, P$1$. Here is what I did: Observe that every graph can be divided into \"sub-groups\" which may help in solving. We first remove the empty set. Then the singleton set. Consider the bigger but smaller than the sub-parts example: The singleton sets are $\\{4,5,6\\}$ which are at the least position in the graph. The dual sets are $\\{2,4\\}, \\{3,5\\}, \\{3,6\\}$, the bottom - two portions in the graph. The triplet sets are $\\{2,4,5\\}, \\{4,5,6\\}$ which we may manually count but for the bigger graphs in the sub-part, this may prove to be difficult and this is where I am stuck. Any help would be appreciated. Thanks.", "Say we have the following sample and we are trying to estimate the variance of the sample mean of the population. X = [0, -1, 2, 10, -3] If I take an increasing number of bootstrap (e.g. 100, 1000, 10,000, 100,0000), the bootstrap distribution of the sample mean gets narrower and narrower. In other words, I can make the bootstrap distribution arbitrarily narrow. Given the above, what's the point of using a different number of bootstrap samples here? And wouldn't this mean that I could make the standard error of the mean arbitrarily small by just taking more and more bootstrap samples? What am I missing? Please note that I am doing a proper bootstrap sample in the sense that each bootstrap sample has the same exact size as the original sample (input array).", "How do volume control headphones work? A recent question over on got me to wondering how volume control headphones work. I don't mean volume control which works by , but the kind of volume control that signals to the device to increase or decrease the signal output. For instance, according to the , the volume controls are only for apple devices: Universal Compatibility and Microphone Communication LP comes with 2 cables for universal compatibility with all modern mobile and audio devices. The 3-Button remote microphone cable is designed for the latest Apple devices, including iPhone®,iPad®, iPod®, and Macbook series. The long audio-only cable and 1/4\" adapter is universally compatible with all audio devices and professional equipment. However this sort of device apparently works with some android phones and the question implies that it works with some computer sound cards on Windows machines too, but not being an Apple buyer (and only recently getting my first smartphone) I haven't seen this sort of thing before. I've done a quick google search, but can't find anything on standards for this technology. How does this work? Is it something as simple as shorting left/right/mic channels? If so, could using headphones of this type with equipment that doesn't support this technology, damage that equipment? Is it a serial signal, for instance sent over the mic channel? Does it just require a headphone connector or a headphone +microphone TRRS connector? Does this technique have a name? Incidentally, is someone could answer this, I can probably look up the rest of the information myself. *8') Is it as standard as it appears, or is everyone just following Apple? Is this something that is patented? If so, who holds the patent and do they charge a license fee for people to use this technology? If not, is there an open standard for it? There is some excellent information in to the question but it doesn't answer the specifics of how this type of volume (etc.) control works, since it now seems to be rather more common and standard.", "How to find users by name", "Let $V$ be spherically symmetric and $W$ i.i.d. Gaussian. Then $E[V|V+W=t]=g(\\|t\\|)$ A random vector $V \\in \\mathbb{R}^n$ is said to be spherically symmetric. If for every orthogonal matrix $A$ the distribution of $AV$ is the same as the distribution of $V$. My question: Let $W$ be i.i.d. zero mean Gaussian random variable. Can we show that for a spherically symmetric $V$ the conditional expectation \\begin{align} E[V|V+W=t]= g(\\|t\\|). \\end{align} That is the conditional expectation is only a function of the magnitude. My attempt: \\begin{align} E[V|V+W=t]= \\int V \\frac{f_W(t-v)}{f_{V+W}(t)} dP_V(v)= \\frac{\\int v f_W(t-v) dP_V(v)}{f_{V+W}(t)}= \\frac{E[ V f_W(t-V) ]}{f_{V+W}(t)} \\end{align} Therefore, we can show that the two functions in the above ratio only depend on $\\|t\\|$. Observe that we can write $t= \\|t\\| u_t$ where $u_t$ is a unit vector. Then, for any orthogonal matrix $A$ \\begin{align} f_{V+W}(t)=f_{V+W}(\\|t\\|, u_t)&amp;= \\frac{1}{(2\\pi)^{n/2}} E[ e^{-\\frac{\\|t-V \\|^2}{2}} ]\\\\ &amp;= \\frac{1}{(2\\pi)^{n/2}} E[ e^{-\\frac{\\|t-AV \\|^2}{2}} ]\\\\ &amp;= \\frac{1}{(2\\pi)^{n/2}} E[ e^{-\\frac{\\|tA^{-1}-V \\|^2}{2}} ]\\\\ &amp;= \\frac{1}{(2\\pi)^{n/2}} E[ e^{-\\frac{\\|t A^T-V \\|^2}{2}} ]\\\\ &amp;= f_{V+W}(tA^T)\\\\ &amp;= f_{V+W}(\\|t\\|, u_t A^T) \\end{align} Since, $A$ was arbitrary we have that $f_{V+W}(t)=h(\\|t\\|)$(i.e., only depends on the magnitute). Now I am not sure how to show that $E[ V f_W(t-V) ]$ only depends on $\\|t\\|$?", "Triangle inequality for L2 norm I am posed with a problem as below. Let $X$ be the collection of real valued functions that are measurable on $[0,1]$. For a given number $p\\geq 1$ define the $L^p$ norm by $(\\int_0^1|f(x)|^p)^\\frac{1}{p}$. I need to show for $p=1,2$ that this defines a semi norm on $X$. $p=1$ was simple as was all of $p=2$ except for the triangle inequality. I am having trouble proving the triangle inequality for this. Could anybody nudge me into the right direction or am I simply over thinking it? I think I can prove it for vectors but I'm not sure how to tackle it with integrals. Right now I can only use relatively basic results because this in for an introductory measure theory course. Thanks!", "In ArcMap, when you export data to PDF it preserves the layering within the PDF so that you can turn on/off individual map layers (within the PDF itself). When I export from QGIS to PDF, I don't appear to have the option for this. Does QGIS support preserving layers when exporting to PDF? Is there a special setting needed to enable this capability? Or has anyone wrote a plugin for this feature?", "jQuery Validate Plugin - How to create a simple custom rule? How do you create a simple, custom rule using the jQuery Validate plugin (using ) that doesn't use a regex? For example, what function would create a rule that validates only if at least one of a group of checkboxes is checked?" ]
medi_sts_stackexchange_dupe
Why does my term show up as undefined in python?
Short description of the scoping rules?
[ "Jordan normal form and invertible matrix of generalized eigenvectors proof Struggling to find a place to start with this proof- just began learning about Jordan normal. Given a 2-by-2 matrix $A$ and a Jordan normal form matrix $J_{\\lambda}$, there exists a matrix $S = [v1, v2]$ s.t. $$S^{-1}AS = J_{\\lambda}$$ That is, $J_{\\lambda}$ is similar to $A$. WTS: $$(A - \\lambda I)v_{1} = 0 $$ $$(A - \\lambda I)v_{2} = v_{1}$$ I was going to try to start with the similarity condition and work into producing the two statements below. Transform the similarity condition to: $$(A = SJ_{\\lambda}S^{-1}) * v_{1}$$ Rewrite our first statement to prove as: $$Av_{1} = \\lambda I v_{1}$$ Substitute: $$\\lambda I v_{1} = SJ_{\\lambda}S^{-1}v_{1}$$ But I've been continually getting stuck. Tried a few ways other than this. What intuition am I missing?", "Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\\infty, +\\infty]$, then $f(x) = ax$, a real. We know $f(0)=0$, and if one assumes differentiability it is quite easy. But how does monotone make up for differentiability?", "How do I run .sh scripts? Whenever I open a .sh file, it opens it in gedit instead of the terminal. I can't find any option similar to Right Click → Open With → Other Application... → Terminal. How do I open this file in the terminal?", "How to execute several commands after each other with one request to the terminal (without using a file)?", "How do I rename a domain and preserve SEO? As part of graduating from Area51 and becoming a full fledged site we sometimes change domain names from http://topic.stackexchange.com to http://example.com. Aside from the obvious 301 redirect rules to support existing urls transparently, are there other techniques that would aid in the preservation of SEO?", "Insert image from Google Drive into Google Sheets How do I insert/link to images existing in a folder in Google Drive into a Google Sheets spreadsheet? There is the image() function, I imagine using it something like this: image(\"googledrive://somefodleringoogledrivewithmypics/pic_1.png\") How? Update: Some people noted that by uploading pictures to Picasa, we can then get the URL of each picture and use that. It works. The downside of this is that we have to copy each and every URL of all images. I put that in a separate sheet, then use VLOOKUP to get each image URL per index. It works but the URL copying part is a hell of a job if you have lots of images of course. A better solution is needed.", "I get a long list of such arrays { \"id\": \"byu6g6c4cjys5mdkg5znh8ju8c\", \"create_at\": 1511875272294, \"update_at\": 1511875272294, \"delete_at\": 0, \"display_name\": \"BMA\", \"name\": \"BMA\", \"description\": \"\", \"email\": \"[email protected]\", \"type\": \"O\", \"company_name\": \"\", \"allowed_domains\": \"\", \"invite_id\": \"gdgz1tbxuinntx1fbr1ax7kehy\", \"allow_open_invite\": false, \"scheme_id\": null } I want to get by JQ only the ID where the name is BMA. At the moment I parse \" jq -r '.[][\"name\"]\" and I can filter the output from curl by name and I will get \"BMA\" and also 100 other names, but I need to filter only the ID where name is =BMA. Any ideas?", "Is it possible to recover an email that has been clicked \"delete forever\" in the trash folder? Is it possible to recover an email that has been clicked on \"delete forever\" in the trash folder? I have accidentally clicked delete forever for an email but now I need to recover it.", "Why doesn't 'find' show this file?", "There are two Java Web Start tags: : x 239 : x 320 Both tags refer to the same technology refers to both wiki point to all questions tagged with clearly relate to Java Web Start I suggest they be merged into (which appears in the auto-complete list if one types \"webstart\" in the Tags box when asking a new question).", "My mother is given a UK tourist visa for 2 years with a duration of stay as 180 days. It is a c type multiple entry visa. Is this 180 days is the total stay she can take or is it duration of stay per visit. Thanks in advance for your reply.", "Linear regression prediction interval", "I need to calculate the Cramer Rao lower bound of variance for the parameter $\\theta$ of the distribution $$f(x)=\\frac{1}{\\pi(1+(x-\\theta)^2)}$$ How do I proceed I have calculated $$4 E\\frac{(X-\\theta)^2}{1+X^2+\\theta^2-2X\\theta}$$ Can somebody help", "resizing a BUTTON through CSS", "Infinite DeMorgan laws Let $X$ be a set and $\\{Y_\\alpha\\}$ is infinite system of some subsets of $X$. Is it true that: $$\\bigcup_\\alpha(X\\setminus Y_\\alpha)=X\\setminus\\bigcap_\\alpha Y_\\alpha,$$ $$\\bigcap_\\alpha(X\\setminus Y_\\alpha)=X\\setminus\\bigcup_\\alpha Y_\\alpha.$$ (infinite DeMorgan laws) Thanks a lot!", "What geometric object is given by this equation?", "Is it possible to install Office 365 (2013) on Ubuntu 15.04 Vivid Vervet? I would like to install Office 2015/365 on Ubuntu 15.04. I tried to install Office using Wine, but that did not work. Please note that I do not want virtualisation unless it has a -like behaviour, where application windows are treated like regular Ubuntu application windows by the system.", "Display Custom Fields in a SharePoint 2010 Content Query Web Part Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a SharePoint 2010 Content By Query Web Part", "When is the product of $n$ subgroups a subgroup?", "python: restarting a loop" ]
medi_sts_stackexchange_dupe
Use a coffeescript create function inside a onclick attribute
How do I define global variables in CoffeeScript?
[ "Pluralizing Noun Phrase?", "The claims that likelihood and probability are distinct concepts. In non-technical parlance, \"likelihood\" is usually a synonym for \"probability,\" but in statistical usage there is a clear distinction in perspective: the number that is the probability of some observed outcomes given a set of parameter values is regarded as the likelihood of the set of parameter values given the observed outcomes. Can someone give a more down-to-earth description of what this means? In addition, some examples of how \"probability\" and \"likelihood\" disagree would be nice.", "I am trying to solve a 2 part question, the first part is to expand $\\sqrt{1-x}$ up to and including the term $x^2$ which I did. This gives me $1-(0.5)x-(0.125)x^2 + ...$ However, the 2nd part of the question says that by taking $x=(1/64)$ in the expansion of part (i) -> which refers to the one above, deduce that $\\sqrt 7 = 10837/4096$. How do i do this part? EDIT (After Hint Given By SimpliFire): $$ \\sqrt{1-\\frac1{64}}=\\frac{\\sqrt{63}}8=\\frac38\\sqrt7 $$ $$ =\\frac83\\sqrt{1-\\frac1{64}}\\;=\\sqrt7 $$ $$ =\\frac83\\left(1-\\frac12\\left(\\frac1{64}\\right)-\\frac18\\left(\\frac1{64}\\right)^2\\right)\\; $$ $$ =\\frac83\\left(1-\\frac1{128}-\\frac1{32768}\\right)\\; $$ $$ =\\frac83\\left(\\frac{32768}{32768}-\\frac{256}{32768}-\\frac1{32768}\\right)\\; $$ $$ =\\frac83\\left(\\frac{32511}{32768}\\right)\\; $$ $$ =\\frac{260088}{98304} $$ $$ \\frac{10837}{4096}\\;\\approx\\sqrt7 $$ I'm not sure if I can present it like this, if it is okay i will post it as my answer :X", "I want to validate a set of credentials against the domain controller. e.g.: Username: STACKOVERFLOW\\joel Password: splotchy Method 1. Query Active Directory with Impersonation A lot of people suggest querying the Active Directory for something. If an exception is thrown, then you know the credentials are not valid - as is suggested in . There are some serious however: You are not only authenticating a domain account, but you are also doing an implicit authorization check. That is, you are reading properties from the AD using an impersonation token. What if the otherwise valid account has no rights to read from the AD? By default all users have read access, but domain policies can be set to disable access permissions for restricted accounts (and or groups). Binding against the AD has a serious overhead, the AD schema cache has to be loaded at the client (ADSI cache in the ADSI provider used by DirectoryServices). This is both network, and AD server, resource consuming - and is too expensive for a simple operation like authenticating a user account. You're relying on an exception failure for a non-exceptional case, and assuming that means invalid username and password. Other problems (e.g. network failure, AD connectivity failure, memory allocation error, etc) are then mis-intrepreted as authentication failure. Method 2. LogonUser Win32 API have suggested using the API function. This sounds nice, but unfortunately the calling user sometimes needs a permission usually only given to the operating system itself: The process calling LogonUser requires the SE_TCB_NAME privilege. If the calling process does not have this privilege, LogonUser fails and GetLastError returns ERROR_PRIVILEGE_NOT_HELD. In some cases, the process that calls LogonUser must also have the SE_CHANGE_NOTIFY_NAME privilege enabled; otherwise, LogonUser fails and GetLastError returns ERROR_ACCESS_DENIED. This privilege is not required for the local system account or accounts that are members of the administrators group. By default, SE_CHANGE_NOTIFY_NAME is enabled for all users, but some administrators may disable it for everyone. Handing out the \"Act as a part of the operating system\" privilege is not something you want to do willy-nilly - as Microsoft points out in a : ...the process that is calling LogonUser must have the SE_TCB_NAME privilege (in User Manager, this is the \"Act as part of the Operating System\" right). The SE_TCB_NAME privilege is very powerful and should not be granted to any arbitrary user just so that they can run an application that needs to validate credentials. Additionally, a call to LogonUser() will fail if a blank password is specified. What is the proper way to authenticate a set of domain credentials? I happen to be calling from managed code, but this is a a general Windows question. It can be assumed that the customers have the .NET Framework 2.0 installed.", "probability of $k$ boxes contain exactly $1$ ball", "How do I extract all the external links of a web page and save them to a file?", "I have a simple 2-column layout with a footer that clears both the right and left div in my markup. My problem is that I can't get the footer to stay at the bottom of the page in all browsers. It works if the content pushes the footer down, but that's not always the case.", "How to fix sculpting ridges? I ran into a problem I have never seen before and that is when I try to sculpt on a mesh, it sculpts like this: Instead of this: I am using dyntopo with these settings: I feel like theres a very obvious solution to this, but I have no idea what it is.", "Script to raise a single window to the front", "How to handle repeated references in footnotes?", "If electrons were positive and protons were negative, would life be different? This was a question on a worksheet during my first week in a class on Electromagnetism. The answer is essentially: No. Life would be no different if electrons were positively charged and protons were negatively charged. Opposite charges would still attract, and like charges would still repel. The designation of charges as positive and negative is merely a definition. But how would we have negative charges within the nucleus? Taking a look at the , it seems that down quarks are required in this new \"negative proton\" to help with creating the pion to \"transmit a residual part of the strong force even between colorless hadrons\". I tried to set out and try to find a particle with (-1) charge with a down quark (by going through this ) but all the particles are not stable with the exception of two unknown: Bottom Xi Baryon Double Bottom Xi Baryon Assuming one of the above are stable, could the strong force act between one of them and a neutron, implying its alright to have a negatively charged nucleus? Edit: If it wasn't clear, my question concerned whether or not there existed stable baryons of $-1$ charge with down quarks that could \"replace\" the proton.", "$\\mathbb Q$ is not the direct product of two non-trivial groups. I know this has been asked before, in a bunch of places, so I expect it to be closed as a duplicate at some point, but I'd like to know if my own proof works. If the proof is incorrect, please limit answers to pointing out the errors. If the proof is correct, then thoughts on improving it would be appreciated. Prove that $\\Bbb Q$ is not the direct product of two non-trivial groups. —Aluffi exercise II.3.5. My proof Suppose that $\\Bbb Q = G \\times H$, neither $G$ nor $H$ trivial. First note that $0_G$ is the only element of $G$ with finite order: If $m\\ne 0$ and $m\\cdot g=0_G$, then $m\\cdot(g,0_H)=0_{G\\times H}$, contradicting the fact that $\\Bbb Q$ has no non-zero elements of finite order. Suppose that for some $m\\ne 0$ and some $n\\ne 0$, $\\pi_G(m/n)=0_G$. Then $0_G=n\\cdot\\pi_G\\left(\\frac m n\\right)=\\pi_G\\left(n\\cdot\\frac m n\\right)=\\pi_G(m)=m\\cdot\\pi_G(1)$. Since $\\pi_G(1)$ has finite order, we conclude that $\\pi_G(1)=0$. Since $\\Bbb Z=\\langle 1\\rangle$, $\\pi_G$ maps every integer to $0_G$. Now let $a$ and $b$ be non-zero integers. Then $b\\cdot\\pi_G\\left(\\frac a b\\right)=\\pi_G\\left(b\\cdot \\frac a b\\right)=\\pi_G(a)=0_G$. As above, this shows that $\\pi_G\\left(\\frac a b\\right)=0_G$. Thus if $\\pi_G$ is not an injective function, then it must map everything to $0_G$, so $G$ will be a trivial group. The same result holds for $\\pi_H$. Since by assumption, $G$ and $H$ are non-trivial, $\\pi_G$ and $\\pi_H$ are both injective functions, which is of course impossible.", "In the article class, it seems that using the abstract environment has an effect to the rest of the document. More precisely, it seems that it redefines the \\linewidth, which equals \\textwidth without abstract, is smaller with the abstract. My feeling is that \\linewidth is redefined for the abstract environment, but the value is not reseted at the end of the abstract. Here is a minimal example: \\documentclass{article} \\begin{document} \\abstract{This is an abstract. This is an abstract.}\\bigskip This is text. This is text. This is text. This is text. This is text. This is text.\\\\ \\rule{\\textwidth}{3em} \\rule{\\linewidth}{3em} \\end{document} The output is not the same if you comment the \\abstract line or not. Do you have the same problem as I do when you compile (if not, I will upload some PDF files to show)? Is this a (known) bug in LaTeX2e? How can we circumvent the problem? Note: I compile with the pdflatex command, and I use pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).", "I just discovered Matlab's factor()-function, and I randomly typed in 20081294819, and to my surprise it only had two factors (5099 and 3938281)! I had expected many more factors for such a big number and wondered how normal this was. The following is what I've done in my investigation so far. In the first figure below, I have plotted the probability that some number below $10^k$ has $m$ indistinct prime factors. The second figure shows the evolution of the probability of finding a number with $m$ indistinct prime factors as the numbers one is looking at grows, i.e. it is just another way to visualize the same data. I have left out all points of zero probability. If one looks at the first part of the figure, it seems that the peak of the curve for some $k$ shifts toward higher $m$ as $k$ grows. My first question is this: Does this behavior (i.e. the peak shifting toward higher $m$ as $k$ grows) continue indefinitely, or will the peak stabilize at some point? The latter seems unlikely but I can't be sure. My second question is this: Approximately how fast does the peak-value $m_{peak}$ move as $k$ grows? I briefly looked at the , but this involves distinct primes and I don't really know much number theory, so any help would be greatly appreciated!", "Quantum entanglement: does it necessarily imply superluminal information transfer?", "Where should looking-for-resources questions go?", "Not a problem, but have been seeing questions recently of people not being offered upgrade from 18.04 to 20.04. I thought these upgrades were offered back in June. I upgraded to 20.04 from 19.10 and this was offered back in May. Imagine that different versions paths have different schedules, but google does not help explaining(that I found). Does someone know the schedules?", "Can you use your off-handed weapon for your main attack action? My friend is 2 weapon fighting a flesh golem. He has one sword that does lightning damage, and one sword that does fire damage. His right hand holds the lightning sword, and his left hand holds the fire sword. My friend wants to attack with his left hand because lightning heals the golem. However, the DM says that because his left hand is his left hand, he can't use it as his \"main\" hand, and only attack with it. Is this rules as written/intended?", "I am using postgreSQL, postGIS and pgrouting. Now I am really confused on how am I going to find the shortest path between multiple points. I know how to find it between two points through dijkstra but I am confused how to accomplish the same result with more than two points. I have done some research and found this: But still I did not understand if its the right way and how to install it.", "Is the integral $\\int_0^\\infty \\frac{\\mathrm{d} x}{(1+x^2)(1+x^a)}$ equal for all $a \\neq 0$? Let $a$ be a non-zero real number. Is it true that the value of $$\\int\\limits_0^\\infty \\frac{\\mathrm{d} x}{(1+x^2)(1+x^a)}$$ is independent on $a$?" ]
medi_sts_stackexchange_dupe
Understanding PDO prepared statements to insert data in a database
How can I prevent SQL injection in PHP?
[ "Hi I don't know how to show that $\\langle 2,x \\rangle$ is not principal and the definition of a principal ideal is unclear to me. I need help on this, please. The ring that I am talking about is $\\mathbb{Z}[x]$ so $\\langle 2,x \\rangle$ refers to $2g(x) + xf(x)$ where $g(x)$, $f(x)$ belongs to $\\mathbb{Z}[x]$.", "In class we've seen that $a$ (the weights) must satisfy $$X^T (y-Xa) =0$$ Here $X$ is a $(n\\times d)$ matrix (so we have $n$ samples in $\\mathbb R^d$) let's denote the residuals $r = y-Xa$. In our class notes, it is written that The normal equations require the residuals to be orthogonal to each of the columns of $X$. Why? Therefore, the solution of the linear regression is a projection of $y$ onto the subspace spanned by $v_1 , \\ldots , v_d$ (the columns of $X$) Can you please explain this?", "Given a polynomial $f(x)$ with integral coefficients and $f(x) = 37$ has 5 distinct integral roots, find the number of integral roots of $f(x) = 41$? My Approach: Say $f(x) = (x-r_1)(x-r_2)(x-r_3)(x-r_4)(x-r_5)g(x) + 37$, where $r_i$ are the distinct integers. Now for $f(x) = 41$ we have $(x-r_1)(x-r_2)(x-r_3)(x-r_4)(x-r_5)g(x) = 4$, so the factors can be $\\pm 1, \\pm2$ or $\\pm 4$. Given $r_i$ are distinct at most two of them will give $\\pm1$, then there can be both of $\\pm 2$ or one of $\\pm 4$. This is where I get lost, since even if I use all of $\\pm1, \\pm2$, I will be still be left with one $x-r_i$ factor. What about that? Does it matter that 37 and 41 are primes, or is it just a coincidence? Thanks in advance.", "I would like to say something like The boy, Adam's, favorite toy was a bike. What is the proper way to say this?", "Add asterisk after labels in enumerate I would like to add an asterisk after certain labels in the enumerate environment. So for example \\documentclass{article} \\begin{document} \\begin{enumerate} \\item Kuttel \\item* Daddeldu \\end{enumerate} \\end{document} but without the space between 2. und *.", "At I've read that being $\\sin(x)=\\sum_{n=0}^{\\infty}\\frac{(-1)^n}{(2n+1)!}x^{2n+1}$ by using we get $\\sin'(x)=\\sum_{n=0}^{\\infty}(2n+1) \\frac{(-1)^n}{(2n+1)!}x^{2n}=\\sum_{n=0}^{\\infty}\\frac{(-1)^n}{(2n)!}x^{2n}=\\cos(x)$ but the page says that if $f(x)=\\sum_{n=0}^{\\infty}c_n(x-a)^n$ then inside the radius of convergence of the power series we have $f'(x)=\\sum_{n=1}^{\\infty}nc_n(x-a)^{n-1}$ so shouldn't it be $\\sin'(x)=\\sum_{n=1}^{\\infty}(2n+1)\\frac{(-1)^n}{(2n+1)!}x^{2n+1-1}=\\sum_{n=1}^{\\infty}\\frac{(-1)^n}{(2n)!}x^{2n}$? Now I understand that this last result has a missing term due to the index of the series being $1$ and not $0$ but being the $1$ mandatory because of the above theorem and since trying to shift index doesn't help (we get $\\sin'(x)=\\sum_{n=0}^{\\infty}\\frac{(-1)^{n+1}}{(2n+2)!}x^{2n+2}$) how can the result that ProofWiki shows be rigorously justified? (I mean, I think we can't just say \"oh, there's a missing term!\" after having applied the theorem and magically shift the index of the series to obtain the desired result)", "I want to digitize my old family albums using a scanner and there are lots of photos in them. Thus far, my method has been to scan 4 images at a time and then manually cropping them in a simple editor like Picasa or Windows Live Photo Gallery. This has been pretty time consuming as each scan is followed by 4 crop operations. Scanning each image individually would possibly be even more time consuming. Is there any software or simple plugin (preferably free) that does this job? The best solution I have found is in , but that's an overkill. Is there a similar feature for one of the free photo editors like Paint.NET or GIMP?", "In the Linux system, we can use bellow command to enable packets forwarding: ~ # sysctl net.ipv4.ip_forward=1 net.ipv4.ip_forward = 1 but how can I realize the same function in Windows? I use Windows Server 2008 R2.", "Does text in brackets invoke the \"an\" vs. \"a\" rule?", "Drawing a 3D cylinder, and a circle shape on the x---y plane I'm trying to draw a cylinder on the three dimensional space, and I also want its projection on the x--y plane. I found the first answer to be very useful. I just copy-paste it to my document, and modify it as follows (the modifications are only inside the \\begin{tikzpicture} tags): \\documentclass[parskip]{scrartcl} \\usepackage[margin=15mm]{geometry} \\usepackage{tikz} \\pgfmathsetmacro{\\xdeg}{30} \\pgfmathsetmacro{\\xx}{cos(\\xdeg)} \\pgfmathsetmacro{\\xy}{sin(\\xdeg)} \\pgfmathsetmacro{\\ydeg}{120} \\pgfmathsetmacro{\\yx}{cos(\\ydeg)} \\pgfmathsetmacro{\\yy}{sin(\\ydeg)} \\pgfmathsetmacro{\\zdeg}{80} \\pgfmathsetmacro{\\zx}{cos(\\zdeg)} \\pgfmathsetmacro{\\zy}{sin(\\zdeg)} \\newcommand{\\tdcyl}[5]{% origin x, origin y, origin z, radius, height \\path (1,0,0); \\pgfgetlastxy{\\cylxx}{\\cylxy} \\path (0,1,0); \\pgfgetlastxy{\\cylyx}{\\cylyy} \\path (0,0,1); \\pgfgetlastxy{\\cylzx}{\\cylzy} \\pgfmathsetmacro{\\cylt}{(\\cylzy * \\cylyx - \\cylzx * \\cylyy)/ (\\cylzy * \\cylxx - \\cylzx * \\cylxy)} \\pgfmathsetmacro{\\ang}{atan(\\cylt)} \\pgfmathsetmacro{\\ct}{1/sqrt(1 + (\\cylt)^2)} \\pgfmathsetmacro{\\st}{\\cylt * \\ct} \\filldraw[fill=white] (#4*\\ct+#1,#4*\\st+#2,#3) -- ++(0,0,#5) arc[start angle=\\ang,delta angle=-180,radius=#4] -- ++(0,0,-#5) arc[start angle=\\ang+180,delta angle=180,radius=#4]; \\filldraw[fill=white] (#1,#2,#3+#5) circle[radius=#4]; } \\begin{tikzpicture}[x={(\\xx*1cm,\\xy*1cm)},y={(\\yx*1cm,\\yy*1cm)},z={(\\zx*1cm,\\zy*1cm)}] \\tdcyl{-3}{-3}{0}{1}{3} % x y z r h \\tdcyl{0}{0}{0}{1}{3} % x y z r h \\draw (-3,0,0) -- (3,0,0) node[circle,fill=white] {x}; \\draw (0,-3,0) -- (0,3,0) node[circle] {y}; \\draw (0,0,-3) -- (0,0,3) node[circle] {z}; \\end{tikzpicture} \\end{document} I added another cylinder and tweaked the positions to fit what I need. This produces the following: Which is almost what I want, except that I want to see the projection of that cylinder on the x--y plane, but unfortunately, the top cylinder hides the full circle. When I disable the top cylinder: \\begin{tikzpicture}[x={(\\xx*1cm,\\xy*1cm)},y={(\\yx*1cm,\\yy*1cm)},z={(\\zx*1cm,\\zy*1cm)}] \\tdcyl{-3}{-3}{0}{1}{3} % x y z r h \\draw (-3,0,0) -- (3,0,0) node[circle,fill=white] {x}; \\draw (0,-3,0) -- (0,3,0) node[circle] {y}; \\draw (0,0,-3) -- (0,0,3) node[circle] {z}; \\end{tikzpicture} Now the projection is shown again: But the top cylinder is missing... How can I make the top cylinder transparent, or, alternatively, and even better; how do I create one long cylinder and emphasize its projection on the x--y plane? BTW, what determines the position of the labels x,y,z in the above code? I want to reposition them so they won't overlap with the axis. Thanks in advanced!", "Why do popular but not ideal questions keep being closed? I notice a really worrying trend of some really popular questions being closed and eventually deleted. Some of them became legends already, like this one ? Yes, it does not fit the format ideally, but what is point of obeying the letter of the law to such extent that it becomes ridiculous? Ok, closing is fine if community leaders became so pedantic, but why go so far as to even delete it? At this point it looks like burning old pictures just because you don't like them. Update: Summary For now I heard only two clear arguments: Those questions pollute search results. Those questions don't play well with enforcing question and answer standards. Both of that statements are easily verifiable and to my experience are just false.", "How to specifically use ntfsundelete to recover directory This is a followup on my original post which may be deleted in the future. In the process of backing up my audio books, I \"permanently\" removed a folder (with subfolders) that I had already exclusively moved to that drive. It's path is /media/gratis/Seagate Expansion Drive/Audiobooks/Jason Dark. The sole folder in that should be called John Sinclair; but I'm not sure about that. Which tool offers the best chances to recover those files? I haven't written plenty on that drive afterwards; so I hope for the best. It's not that other methods failed; I just cant get my head around what to do and I want to be cautious. It's a NTFS Drive. According to testdisk it has an \"EFI GPT\" Partition table. Disk /dev/sdb - 5000 GB / 4657 GiB - CHS 608001 255 63, sector size=512 - Seagate Expansion Desk, FW:9401 Information According to \"Disks\" (Ubuntu Standard Software): NTFS; GUID Partition Table; [...] Partition Type: Microsoft Reserved Attempt 1: First off, ntfsprogs seems to no longer be in repos (those mentioned by another user); but it is already installed on my machine so no problems there. I always get the error: Access is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command. You can use force option to avoid this check, but this is not recommended and may lead to data corruption. Although I only just plugged it in and even quit Nautilus by force (nautilus -q). Therefore, I ran sudo ntfsundelete /dev/sdb2 -f. That gave me a list of a bunch of files, 205013 to be exact. Now, what I want is the content of the directory .../Audiobooks/Jason\\ Dark/ to be restored. What do I have to do? It's contents are .m4b &amp; .opus files and folders, of course.", "How can I use the subdivision surface modifier to create more high poly meshes without ruining sharp edges? For example this mesh The sphere should be subdivided but the rim of the cylinder should stay the same because it is a sharp edge. This is the result of the subdevision How can I get sharp edges to not be affected by the sub surf mod?", "What 70s (60s?) TV show / TV movie had a generation ship whose inhabitants did not know they were on a spaceship? I have the vaguest memory of a TV show (maybe a BBC import?) in which the protagonists were moving through the sections of a massive generation ship whose inhabitants had forgotten that they were on a spaceship... I know there was an RPG with the same plot (which, after all, is a pretty great blank slate) but I definitely feel I saw this on a static-filled 13\" B&amp;W TV back in the day...", "I need help identyfying this movie I once saw late night on TNT, late 90s or early 2000s. I don't have very clear recollection about it. The movie was very strange. It all took place in a single room of a spaceship or an escape pod that had lost power. A woman and a man, or several men, were stuck in a ship or a spacepod that was somehow damaged or didn't have power. The movie was entirely made of the dialogs between the woman and the man (or men). They would talk about what was happening outside, how to contact help, about their lives. During their conversation details about the world around them emerge. In this movie people have colonized the solar system but not moved outside it, and there is some sort of a war. Other things I remember are that it was dark in that room. I think they used only a lightbulb or even direct starlight and sunlight (if they were far away from the sun), because there was no power. Also it was getting colder, becaus the ship's heating system was not functioning, and so it was losing its heat. The people would constantly complain about how cold it's getting. I think that the woman was the captain of the ship. She would sometimes go to the control cabin and try to do something to help their situation, either restore power or contact someone so they can be rescued. What impressed me about it was how they managed to make it realistic. Because the actors would talk and act like it was all real, it made it somehow feel very realistic to me as well. That's about it as far as I remember. Hope someone has watched this movie and can tell me what it is. Update I want to add a few more details about the movie. While I watched it in the late 90s/early 2000s the movie looked much older. It looked like a vintage B-Movie made in the style of the 70s or 80s. In particular the decor looked more like Alien 1 or Cosmos 1999. I just watched the firefly episode and it can't be it. It has too much action, and the atmosphere is not dark enough.", "Does this polynomial evaluate to prime number whenever $x$ is a natural number?", "Short story or novel from the 1970s or before about two warring alien tribes", "A \"non-believer\" of C# was asking me what the purpose to extension methods was. I explained that you could then add new methods to objects that were already defined, especially when you don't own/control the source to the original object. He brought up \"Why not just add a method to your own class?\" We've been going round and round (in a good way). My general response is that it is another tool in the toolbelt, and his response is it is a useless waste of a tool... but I thought I'd get a more \"enlightened\" answer. What are some scenarios that you've used extension methods that you couldn't have (or shouldn't have) used a method added on to your own class?", "“All you have to do is read” vs. “All you have to do is to read”", "Remote Desktop Session Black after Minimize PROBLEM: When I minimize a remote desktop session and restore it, the remote desktop screen shows up black. This only happens when connecting to a particular computer. DETAILS: If I start clicking around in the black area, portions of the screen will start redrawing and showing up correctly. For example, if I leave a window open in the remote session and click where that window is located on the remote computer, then that window--and only that window--will redraw, and sometimes a portion of that window won't redraw (usually the toolbar). And to clarify--the window only has to be minimized momentarily, so it doesn't seem to be a timeout issue. Clicking or typing in the remote session still causes the remote computer to respond appropriately. Disconnecting from the session and reconnecting restores the whole screen image, as does clicking all over the place in the black image (causing each section to redraw). CONFIGURATION: This problem only happens for me when connecting to a particular computer (a W2K Server box configured to allow remote administration) and only with certain client computers. I've tried 7 different client computers with various versions of Remote Desktop (the OSes were: Win2K, Server 2003, Server 2008, Windows 7 RC, 3 XP) and two of them exhibit the problem (one is one of the XP boxes and the other is Windows 7). Those same computers can RDP to other computers without problem. RESOLUTION ATTEMPTS: I have tried the following: Disable the LOCAL screen saver as mentioned on Turned off bitmap caching in the client, as mentioned on many forums. Updated to version 6.1 of the remote desktop client Using mRemote (I doubted this would work since it uses MS's code for connecting to RDP servers) Turning off all video acceleration. QUESTION: Any ideas on what is causing this?" ]
medi_sts_stackexchange_dupe
How to switch to a command-line console
How to fix "The system is running in low-graphics mode" error?
[ "What's the relationship between initial eigenvalues and sums of squared loadings in factor analysis? On the one hand I read in a comment that: You can't speak of \"eigenvalues\" after rotation, even orthogonal rotation. Perhaps you mean sum of squared loadings for a principal component, after rotation. When rotation is oblique, this sum of squares tells nothing about the amount of variance explained, because components aren't orthogonal anymore. So, you shouldn't report any percentage of variance explained. On the other hand, I sometimes read in books people saying things like: The eigenvalues associated with each factor represent the variance explained by that particular factor; SPSS also displays the eigenvalue in terms of the percentage of variance explained (so factor 1 explains 31.696% of total variance). The first few factors explain relatively large amounts of variance (especially factor 1), whereas subsequent factors explain only small amounts of variance. SPSS then extracts all factors with eigenvalues greater than 1, which leaves us with four factors. The eigenvalues associated with these factors are again displayed (and the percentage of variance explained) in the columns labelled Extraction Sums of Squared Loadings. That text is from Field (2013) Discovering statistics using IBM SPSS, and this diagram accompanies it. I'm wondering Who is correct about whether it's possible to speak of eigenvalues after rotation? Would it matter if it was an oblique or orthogonal rotation? Why are the \"initial eigenvalues\" different from the \"extraction sums of squared loadings\"? Which is a better measure of total variation explained by the factors (or principal components or whatever method is used)? Should I say that the first four factors explain 50.317% of variation, or 40.477%?", "Quotient ring of a localization of a ring Let $A$ be a commutative ring. Let $P$ be a prime ideal of $A$. Let $I$ be an ideal of $A$ such that $I \\subset P$. Let $\\bar A = A/I$. Let $\\bar P = P/I$. Is $\\bar A_{\\bar P}$ isomorphic to $A_P/IA_P$?", "I have a polygon layer in QGIS, and would like to represent the polygons like in the below image: I have tried two different approaches, none of which are satisfactory. Using a line pattern fill, the entire polygon is filled with the line pattern. I need a blank area in the middle which is not filled in. Using a marker line fill, I am able to keep a blank area in the middle, but the markers are rotated to align with the edges of the polygon. I need the markers to preserve the same rotation along all edges, like in the example above. Any ideas?", "elementary row operation change the eigenvalue of a matrix I know that elementary row operations may change the eigenvalues of a matrix, but if these operations don't change the determinant, why should change the eigenvalues?? Thanks", "In order to animate a character so that it grabs an object an throws it, I added a Child-Of constrained and keyframed its influence. In the F-curve Editor I can't set the curve which controls the influence to interpolation-mode Constant without changing the other curves (Which should be linear or bezier). How can the interpolation mode of a curve changed independently?", "Understanding relation between Quotient Space and $S^1$ There is this example at the Wikipedia article on Quotient spaces (QS): Consider the set $X = \\mathbb{R}$ of all real numbers with the ordinary topology, and write $x \\sim y$ if and only if $x−y$ is an integer. Then the quotient space $X/\\sim$ is homeomorphic to the unit circle $S^1$ via the homeomorphism which sends the equivalence class of $x$ to $\\exp(2πix)$. I understand relations, equivalence relation and equivalence class but quotient space is still too abstract for me. This seems like a simple enough example to begin with. I understand (sort of) the definition but I can't visualize. And by this example and others, there is a lot of visualizing going on here! torus, circles etc.", "Why cant we replace diode connected BJTs by simple diodes in a current mirror circuit?", "Where is the precmd command in android? I'm kind of used to linux. I'm using Busybox from the Busybox Free installer, with Busybox 1.21.0-Stericson. Trying to chance my shell to the Busybox shell using busybox ash gives the following error after every single command: ash: precmd: not found echo $PS1 $(precmd)$USER@$HOSTNAME:${PWD: -?} $ I tried to go back to the normal shell and find out WHERE precmd is: which precmd It just changes the prompt to have \"1|\" in front of it, without giving me WHERE it is. I found a solution , but have no idea where to put it. I'm basically trying to do the same as (make Busybox shell the default).", "Is there a general theorem stating why the restricted Lorentz group's exponential map is surjective? The exponential map for the restricted Lorentz group is surjective. An outline of why is shown on the wiki page . Is there a more general theorem that states that for some class of Lie groups or Riemannian manifolds (which includes the restricted Lorentz group), the exponential map is surjective? There is a theorem stating that compact, connected Lie groups have surjective exponential maps. But as the restricted Lorentz group is not compact, this isn't applicable.", "How do I read / convert an InputStream into a String in Java?", "How to reset the terminal properties and preferences?", "How can the pixel values of a raster image be extracted under a polygon fishnet?", "I'm having trouble solving a Fitch Style Proof and I was hoping someone would be able to help me. Premises: p ∧ q Goal: q ∨ r Would be an assumption (p ∧ q => q ∨ r) in first step a correct one? Then, q ∨ r Implication Elimination: 2, 1 Why is it not correct? Thank you very much for any help!", "I know this sounds like a stupid question, but I just wanted to confirm if they are the same thing. In new canon, anti-gravity is never mentioned.", "I have a production server running with the following flag: -XX:+HeapDumpOnOutOfMemoryError Last night it generated a java-38942.hprof file when our server encountered a heap error. It turns out that the developers of the system knew of the flag but no way to get any useful information from it. Any ideas?", "Prove that: area of triangle $S_{ABC}=p \\cdot R$, where p is half perimeter of triangle $DEF$ Prove that: area of triangle $S_{ABC}=p \\cdot R$, where p is half perimeter of triangle $DEF$. $AD,CF, BE$ are altitudes. Is there a simple way?", "Is it ok to say \"good morning\" at anytime?", "elementary row operation change the eigenvalue of a matrix", "In-Page Editor Line Distortion The SFDC In-page editor has always had distortion for me, and I'm just wondering if it's just a lousy browser plugin they're using or if someone has found a good browser / operating system combination that stops the obnoxious distortion. Obviously Salesforce doesn't have much interest in fixing it: as it's been this way on multiple operating systems and browsers I've used since I've used Salesforce. However, my frustration with their other developer tools has lead me to use it occasionally and it's always the same:", "SqlException from Entity Framework - New transaction is not allowed because there are other threads running in the session" ]
medi_sts_stackexchange_dupe
Is there a special term for when a noun is used to describe another noun?
Adjectives or compound noun?
[ "Long site name hides the diamond in profile page Communities", "Show us who submitted offensive and comment flags", "Massless charged particles", "What happens to Zhang ziyi (Jen) in when she jumps off the cliff .. she dies? becomes immortal? Just before jumping what does she want Lo to become - a master? Why does she jump off, guilt?", "How can I duplicate Apple's tiny USB power adapter? I'm designing a project that controls 110VAC (plug in, socket out), and also has a microprocessor inside. I'd really like this project to not need a wall wart to get it's 5V, so I want to include a small DC power supply inside. Apple's USB power adapter looks like a great small design that I can fit inside my case. I'm guessing this is a switching power supply but I can't find any teardowns or schematics anywhere. Does anyone know how this thing works? I know I could make my own 110V->5VDC supply from a bridge rectifier and some caps, but I'd like to also be super safe. What's in the Apple brick?", "Does there exist a smooth approximation of $x \\bmod y$? I'm looking for a function $m(x,y)$ that smoothly approximates $x \\bmod y$, and I'm assuming there would be some $n$ or $\\varepsilon$ in the body of $m(x,y)$ that defines the degree of approximation such that as $n$ goes to infinity or $\\varepsilon$ goes to zero, $$ m(x,y)= x \\bmod y. $$ I've looked at, for example, $\\sin(x/y)$ and have been trying to figure out ways to make $\\sin(x)$ more \"steep\" so that I can apply such techniques to $\\sin(x/y)$ in order to perhaps more closely approximate $x \\bmod y$. The analogy I'm looking at is the approximation of $\\mid x\\mid$ as $\\sqrt{x^2 + \\varepsilon)}$ where epsilon is some small quantity. Does a similarly smooth function exist for $x \\bmod y$?", "Can anyone tell me if there is a way with generics to limit a generic type argument T to only: Int16 Int32 Int64 UInt16 UInt32 UInt64 I'm aware of the where keyword, but can't find an interface for only these types, Something like: static bool IntegerFunction&lt;T&gt;(T value) where T : INumeric", "Duplicity Backup Browse", "Why does $\\lim\\limits_{t\\to-\\infty}te^t=0$? Intuitively, $\\lim\\limits_{t\\to -\\infty}te^t=0$, since $e^t\\to 0$ much faster than $t\\to -\\infty$. Is there a way to more rigorously compute this? Writing it as $e^t/(1/t)$ seems resistant to l'Hopital's rule.", "What's the grammar behind \"A'warring\", from the lyrics of Symphony of Destruction? What's the grammar behind A'warring, from the lyrics of Symphony of Destruction by Megadeth? It's the first time I'm seeing the use of such apostrophe.", "I'd like to find the files in the current directory that contain the text \"chrome\". $ find . -exec grep chrome find: missing argument to `-exec' What am I doing wrong?", "Should a function have only one return statement?", "What does \"no long range\" mean on the soulknife rogue subclass mean?", "I came across this problem and I believe Lagrange's theorem is the key to its solution. The question is: Let $p$ be an odd prime. Prove that there is some integer $x$ such that $x^2 \\equiv −1 \\pmod p$ if and only if $p \\equiv 1 \\pmod 4$. I appreciate any help. Thanks.", "I've just recently started playing D&amp;D 4e through the Red Box, and I am confused about how to fill in the power cards. So, take Nimbus of Holy Shielding for instance. I understand the Target and Hit components as well as the effect, but my question is about the Attack component. It reads: Attack: Wisdom vs Will. Does the mean whatever my Wisdom score is, without the modifier, is compared to the Will score of the enemy? Would I then not even have to roll a d20 to see if it works?", "How does the linux kernel know device major and minor numbers? As far as I know, the kernel detects hardware, adds information to sysfs creates a device in /dev and then generates a udev event. My question is, do device drivers do all of this or it is the kernel itself? If drivers do it, then they would know the device major and minor number to create the file in devtmps. I also understand (maybe wrongly) that it is udev who calls modprobe to load the drivers that handle a device. I was told that they do so with the contents of the MODALIAS uevent environment variable, thus loading all modules whose aliases match this string (the correct driver). In short: what are the steps of hardware detection in linux and WHO performs each step: the kernel itself, the driver inside the kernel or udev in userspace. Thanks.", "Prolog count the number of times a predicate is true", "Taking Seats on a Plane This is a neat little problem that I was discussing today with my lab group out at lunch. Not particularly difficult but interesting implications nonetheless Imagine there are a 100 people in line to board a plane that seats 100. The first person in line realizes he lost his boarding pass so when he boards he decides to take a random seat instead. Every person that boards the plane after him will either take their \"proper\" seat, or if that seat is taken, a random seat instead. Question: What is the probability that the last person that boards will end up in his/her proper seat. Moreover, and this is the part I'm still pondering about. Can you think of a physical system that would follow this combinatorial statistics? Maybe a spin wave function in a crystal etc...", "$n$ divides a product of $n$ consecutive integers (by $n$ divides one of them)", "If $xy + yz + zx = 1$, then show that $$\\dfrac{x}{1-x^2} + \\dfrac{y}{1-y^2} + \\dfrac{z}{1-z^2} = \\dfrac{4xyz}{(1-x^2)(1-y^2)(1-z^2)}$$ I tried doing the sum algebraically, that is, by solving the LHS but, that method isn't really getting us anywhere. Also, I found this sum in an a book on trigonometry. So how can I solve it with trigonometry?" ]
medi_sts_stackexchange_dupe
Airplane on a treadmill
What will happen if a plane trys to take off whilst on a treadmill?
[ "I am trying to set multiple definition queries for one layer based on one field using python. ie. I have a City layer with a field that holds the city name. I want a copy of the layer in an MXD with the Definition query set for each value in the City field. So essentially, I have one source layer, with a copy of the layer as many times as there are values in the City field. The query would look like this: CITY = 'Atlanta'", "Please revisit the CAPTCHA & China issue Back in 2012 when China first blocked all Google services, thereby preventing non-VPN users from proving their non-roboticness, someone quickly opened this thread on Meta: The consensus at the time was \"we can't think of a better way of doing things\". Well, 3 years have passed and China is showing no signs of unbanning Google. Meanwhile, CAPTCHA technology has evolved. Can the SE admins please revisit this situation? People in China without a VPN are completely unable to prove they are not bots. I couldn't even search for the phrase \"pgp\" on Security.SE without hitting the human verification barrier. Blocking questions is one thing, but searches also? I think that's too strict. (yes, I wrote this with my VPN)", "Mysterious contact by advanced aliens; leaves humans insane It'd be great if anyone could remember the source of this short story I only dimly remember, but recall finding quite haunting back in my youth. I read it maybe 20 years ago in a paperback that probably dated from the '80s. It begins with the protagonist (a young man) being being woken by a deafening noise coming through his cochlear implant. He's on a spaceship, and has volunteered to be put in a capsule and fired off to a remote part of the solar system. Once in place in their capsule, the volunteers are visited by what is (presumably) a highly intelligent alien life-form, and gifted with some artefact containing priceless knowledge, like, for example, the cure for cancer. The (unexplained) encounter leaves the them completely and irrevocably insane, perhaps terrified out of the minds. Yet despite this, volunteers still clamour to be chosen for the mission.", "Why are there scenes that will not render on GPU but will render fine on CPU? I've already tried GPU Rendering and it seem to be twice as fast as the CPU. However I have some situation where tried to render on the GPU, but it doesn't do anything. When I switch to CPU it renders. I have some fur texture/materials using particle systems. I wonder if that causes the GPU not to render, I'm not really sure.", "Safari Extension to Manage Tabs?", "Integral of $\\frac{\\sqrt{x^2+1}}{x}$ So I have to do the integration of $\\frac{\\sqrt{x^2+1}}{x}$. Give me a hint. What should I replace? Should I do it with integration by parts?", "Prove that the dihedral group $D_4$ can not be written as a direct product of two groups I like to know why the dihedral group $D_4$ can't be written as a direct product of two groups. It is a school assignment that I've been trying to solve all day and now I'm more confused then ever, even thinking that the teacher might have missed writing out that he means normal subgroups. On another thread it was stated (as the answer to this question) that the direct product of two abelian groups is again abelian. If we consider the direct product of abelian subgroups $H$,$K\\in G$ where $HK=G$ (for all $g \\in G$, $g=hk$ $h \\in H$, $k \\in K$.) I can't understand why this would imply $g=kh$? It is not stated anywhere that $H$,$K$ has to be normal! But if this implication is correct I do understand why $D_4$ (that is non-abelian) can't be written as a direct product of two groups. But if it's not, as I suspect, I need some help! We know that all groups of order 4 and 2 are abelian, (since $4=p^2$), but only 4 of the subgroups of $D_4$ are normal: Therefor I can easily show that $D_4$ can't be a direct product of normal subgroups: The only normal subgroups of $D_4$ is the three subgroups of order 4, (index 2 theorem): $\\{e,a^2,b,a^2b\\}$, $\\langle a\\rangle$, $\\{e,a^2,ab,a^3b\\}$ and the center of $D_4=\\{e,a^2\\}$ We can see that these are not disjoint. So $D_4$ can't be a direct product of normal subgroups. The reason for this being that the center is non-trivial. But why can't $D_4$ be a direct product of any two groups? If we write the elements of $D_4$ as generated by $a$ and $b$, $a^4=e$, $b^2=e$, $ba=a^3b$ why isn't $D_4=\\langle b\\rangle\\langle a\\rangle$ ? I calculated the products of the elements of these two groups according to the rule given above and ended up with $D_4$, and also $\\langle a\\rangle$, $\\langle b\\rangle$ is disjoint...? Why is this wrong? Very thankful for an answer!", "Checking incoming call in iphone", "Misleading chat usercard on SE 2.0 chat", "Journal of Finance Template German '*.bst'", "How can I remove excess fat from stews or soups without refrigerating?", "Error When Create Drupal Commerce Product Display", "I want to write a survey on one emerging research topic in wireless communications (It can be applied to any field!). There are almost 500 papers on this topic as published or in early access. And the publishing rate in this topic is increasing day by day. So, I want to write a survey on this topic keeping in mind that it will get high citation and it will help new scholar who are in struggle with this topic. I found only one survey written by some reputed authors, however it lacks in many ways, like detailed information related to particular direction, it just assembles the papers in a good manner. I want to pick some directions and discuss important approaches with good connection between them. However, I find it very difficult to proceed with large number of papers. Is there any good way to handle the survey process in a good efficient and quick way? PS. According to me, many people have already started to write this.", "Show timestamp of a vote in the tooltip when mousing over it", "I need to install more applications - can I use my external HD (samsung T5) and add an additional applications folder? I have loads of space on it and it the speeds are great.", "Understanding the \"Birthday Problem\"", "I had to take ownership of the special folder C:\\Program Files\\WindowsApps to fix . The issue is now resolved, so I'd like to reset the permissions to the way they were before I took ownership of the folder. I reverted NT SERVICE\\TrustedInstaller to the owner and removed my account's permission entries: But I still have full control of the folder and can browse the folder in Explorer without getting the usual warning that I would have to take ownership: Is it possible to restore the default permissions of this folder?", "Why is the sum of the digits in a multiple of 9 also a multiple of 9? The sum of the digits in $9 k$ (where $k$ is an integer) is a multiple of $9$: for example $$9\\cdot 1=9$$ $$9\\cdot 7=63 \\qquad \\text{and } 6+3=9\\cdot 1$$ $$9\\cdot 11=99 \\qquad \\text{and } 9+9=9\\cdot 2$$ But why?", "Why are our planets in the solar system all on the same disc/plane/layer? I always see pictures of the solar system where our sun is in the middle and the planets surround the sun. All these planets move on orbits on the same layer. Why?", "Assume I have many TeX files. For the sake of simplicity, also asssume they are in a single folder or directory. I want to input all files from within my main LaTeX document. Actually I can create a list of those files using C# in advance. To enrich my view about LaTeX or TeX, could you tell me whether or not this job can be done only by using pure TeX or LaTeX?" ]
medi_sts_stackexchange_dupe
Is focal length measured relative to the sensor or the lens?
What is "angle of view" in photography?
[ "Extended Euclidean Algorithm: backward vs. forward I'm confused about how to do the extended algorithm. For example, here's the gcd part gcd(8000,7001) $$\\begin{align}8000 &amp;= 7001\\cdot1 + 999\\\\ 7001&amp;=999\\cdot 7+8\\\\ 999&amp;=8\\cdot 124+7\\\\ 8&amp;=7\\cdot 1+1\\\\ 7&amp;=1\\cdot 7+0\\\\ \\gcd(8000,7001)&amp;=1\\end{align}$$ Now, the extended algorithm $$\\begin{align}1 &amp;= 8 - 1\\cdot7\\\\ &amp;= 8 - 1\\cdot(999 - 8\\cdot124)\\\\ &amp;= -1\\cdot999 + 8\\cdot125\\end{align}$$ How do you get this 8*125 from the previous line?", "Isomorphism involving Eilenberg-Maclane space, Tors. Let $\\pi$ be a group and let $K(\\pi, 1)$ be a connected CW complex such that $\\pi_1(K(\\pi, 1)) = \\pi$ and $\\pi_q(K(\\pi, 1)) = 0$ for $q \\neq 1$. Does there exist an isomorphism between $H_*(K(\\pi, 1); A)$ and $\\text{Tor}_*^{\\mathbb{Z}[\\pi]}(A, \\mathbb{Z})$?", "There have been several discussions regarding code-only answers (answers that contain only code blocks with no textual explanation whatsoever): Personally, I can't see why the quality filter should let such answers through at all. The main problem I have with code-only answers, especially once they're flagged as not an answer or very low quality, is that we can't determine at a glance whether these answers are: Genuinely attempting to answer the question answers Trying to correct an error in the question without actually answering it Random code dumps that may or may not relate to the question even by programming language or keyword(s) in the question In particular, what exactly is an \"informative code-only answer\"? Does it mean the code is self-documenting? Does it mean the code substitutes code comments for a proper write-up? This is all very fuzzy. From to the last question above: I have never seen a code-only answer that couldn't be made better with the addition of appropriate text. They are of lower-quality than the same answer with some text. This text makes all the difference, IMO, between an answer and a non-answer. Without it, it's often needlessly difficult to tell. Existing code-only answers that are good-faith attempts to answer the question should be edited or downvoted, yes. But if the quality filter already tries to block code-only questions, why not block code-only answers too? These answers are often low quality, and (almost) always have ample room for improvement, just like questions.", "How to install the previous version of a .deb package and pin it? I am trying to install the latest version of subversion on Sid, and because it has a bug I receive a warning and I abort the installation. How do I get to locate the previous version version, install it and pin until the bug is resolved? root@server01:~# apt-get install subversion Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: db5.3-util subversion-tools The following NEW packages will be installed: subversion 0 upgraded, 1 newly installed, 0 to remove and 205 not upgraded. Need to get 0 B/981 kB of archives. After this operation, 4,844 kB of additional disk space will be used. Retrieving bug reports... Done Parsing Found/Fixed information... Done critical bugs of subversion (-&gt; 1.9.2-2) &lt;Outstanding&gt; b1 - #803725 - subversion: dump-load of a repository modifies verbose log output: M line lost serious bugs of subversion (-&gt; 1.9.2-2) &lt;Outstanding&gt; b2 - #803589 - FTBFS with ruby2.2 (only) Summary: subversion(2 bugs) Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n ********************************************************************** ****** Exiting with an error in order to stop the installation. ****** ********************************************************************** E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10) E: Failure running script /usr/sbin/apt-listbugs apt", "I've heard it is possible to add tags to a file's meta data in OS X, and have Spotlight search through such tags. In a nutshell, how would one access this feature in Finder &ndash; not Spotlight (Command+Space) &ndash; but the adding of tags themselves? Where are these tags stored? Do they go in .DS_Store (I tend to delete those!) or elsewhere in the filesystem? Does this tagging mechanism work on removable drives? What are the requirements? Does this tagging mechanism work over a network share? I have some Windows SMB network shares at home that I frequently store files on. Would it work on those or is another configuration required? Aside from Spotlight, are there any command-line tools for searching through or accessing the tag data for files? Thank you!", "Removing unnecessary vertices? I have over sampled polygons that I need to simplify, without changing the shape. basically, I want to reduce the number of vertices, by eliminating the ones that are useless and have the polygons represented with the significant vertices only. I used to do that with ET GeoWizards Plug-in, but I don't have a license anymore. My table has 500.000 features, water polygons. Any ideas?", "Can hard drives fully utilize SATA III? My motherboard currently supports both SATA II and III (3 Gb/s and 6Gb/s respectively), but after reading some online, it seems as though connecting a HDD to the 6 Gb/s is pretty much pointless. If this is the case I'm going to leave my two SATA III ports open for something that can actually use it (which at this point I'm not really sure what can). This is part of an article I read: In terms of everything else, we saw basically no difference from the same single drive being plugged into a SATA 6Gb/s or SATA 3Gb/s port. All of this is obviously due to the hard drive not being able to actually take advantage of the 6Gb/s bus. from .", "Trying to make aliases that open the last modified file One thing that I frequently do is edit the most recently modified files, so instead of typing \"ls -lr\" and then \"vim lastfile\", I thought I would make some shortcuts in my ~/.bash_profile file: alias via=\"vim `ls -rt | tail -1`\" alias vib=\"vim `ls -rt | tail -2 | head -1`\" alias vic=\"vim `ls -rt | tail -3 | head -1`\" alias vid=\"vim `ls -rt | tail -4 | head -1`\" alias vie=\"vim `ls -rt | tail -5 | head -1`\" The problem is that, weirdly enough, these commands don't work. They open some file that isn't one of the last, or even a file was deleted from the current directory (I wonder if there's some kind of file cache updating issue in the directory. This occurs on both my local machine and the cluster I work on). However, if I type vim `ls -rt | tail -1` directly, without using the alias, it works every time.", "JDK 1.4.2 - where can I download the source? I want to install Java JRE 1.4.2 or JDK 1.4.2 on a recent Amazon Linux server. The best option so far seems to install from source. However - where can I download this? I believe 1.4 is still from the Sun era, but I can't find it on the site, and the sun site is gone. has no 1.4 download afaik. Where can I download Java 1.4.2 source code? As the goal is to get the installation working, other options are welcome. I tried to install the bin file, but got an error: cannot execute binary file.", "What is the difference between a synchronized method and synchronized block in Java?", "What is the difference between apt and apt-get?", "How do I create a Java string from the contents of a file?", "What is a good general document size for web page mockups and prototypes? I do mockups and prototypes of sites and designs all the time, but I've always wondered if there is a standard size or width I should be using. Generally I'll make my document either 1024, 1200, or 2560px wide, depending on what I'm doing. So what do you think? What is a good or standard size for this?", "Can hypercomputation compute the impossible? There are things which are illogical/logically impossible (like saying that 2+2=4 and 2+2=5. Without changing anything in the axioms of mathematics or logic, this would be a contradiction and would be inconsistent and illogical/logically impossible. There are other types of logic systems apart from classical logic, like paraconsistent logics or even trivialism, that allow these contradictions to occur, prove them as right and work with them. We can make a paraconsistent or trivialist system and work with it. For example, with trivialism, in theory, we would be able to derive and state everything we would want (since literally everything, even including illogical/logically impossible inconsistencies and contradictions), but we as humans (or as brains), are limited and can't conceive everything we want (at least to what I know). Therefore, no matter how many trivialist models we create and how much time we would work with them, we would never find or conceive many illogical/logically things because they are just that: impossible. There are impossible things to describe and conceive. For example, Russel's set is the set of all sets that do not contain themselves. If Russel's set contains itself, then it cannot contain itself, since it only contains sets that don't contain themselves. But if Russel's set does not contain itself, then it must contain itself, since it contains all sets that don't contain themselves. There are quite a few logic bombs like this. You cannot ever compute the contents of Russel's set, and there are more formal, mathematical ways to present it. All of them have in common that you can't actually compute what the set is, whether you do it by hand, in your head, or on a computer. It's just a statement that cannot be fully logically processed. If you take every possible state the human brain can be in, none of them include the computation of Russel's Set's contents. That is, not only can the contents not be computed, they cannot even be represented. No stimulus can cause us to comprehend Russel's Set, since such comprehension is not possible to begin with. It does not have a solution. Even if we try to solve it using trivialism, we would just be able to write a solution that does not make sense and prove it has sense and it is the real solution, but we could not be able to have a solution that would make sense \"outside\" the realm of trivialism (for example in classical logic), even though, using trivialism, we could prove that such solution would have sense in whatever context and logic system. But what about hypercomputational machines (for example oracle-like machines)? I've read about some models of hypercomputation which are compatible with paraconsistent or trivialism logics. I've also read there are some models of hypercomputation (particularly those oracle-like models which use a black box) where, essentially, the hypercomputer is an algorithm that cannot exist. It might be because such an algorithm is fundamentally forbidden by logic itself (which is hided in a black box). Would any of these be capable of computing/\"conceiving\" these impossible things I wrote before? Do you know of anything that would help?", "How do I round a number in JavaScript? While working on a project, I came across a JS-script created by a former employee that basically creates a report in the form of Name : Value Name2 : Value2 etc. The peoblem is that the values can sometimes be floats (with different precision), integers, or even in the form 2.20011E+17. What I want to output are pure integers. I don't know a lot of JavaScript, though. How would I go about writing a method that takes these sometimes-floats and makes them integers?", "How to connect two Dell P2415Q 4k displays to MacBook Pro 2016 What's the best way of connecting two Dell P2415Q 4k displays to the MacBook Pro 2016 with TouchBar and TouchID? I have the monitors connected to an older MacBook Pro currently with two mini-DisplayPort cables. Can I somehow reuse those cables or do I need new ones? Apple's support page lets me know that: \"Note that although it uses a Mini DisplayPort connector, the Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter doesn't support connections to Mini DisplayPort displays.\" So I guess reusing the cables is not the way to go?", "Loop \"Forgets\" to Remove Some Items", "Why is AES resistant to known-plaintext attacks? At least it's my understanding that AES isn't affected by known-plaintext. Is it immune to such an attack, or just resistant? Does this vary for chosen-plaintext?", "Is vocative comma rule vanishing?", "I asked this question for many people/professors without getting a sufficient answer, why in QM Lebesgue spaces of second degree are assumed to be the one that corresponds to the Hilbert vector space of state functions, from where this arises? and why 2-order space that assumes the following inner product: $\\langle\\phi|\\psi\\rangle =\\int\\phi^{*}\\psi\\,dx$ While there is many ways to define the inner product. In Physics books, this always assumed as given, never explains it, also I tried to read some abstract math books on this things, and found some concepts like \"Metric weight\" that will be minimized in such spaces, even so I don't really understand what is behind that, so why $L_2$? what special about them? Who and how physicists understood that those are the one we need to use?" ]
medi_sts_stackexchange_dupe
For an Internet-only business, should I use the schema.org type Organization or LocalBusiness?
Schema.org Type for Online Business
[ "The Tree of Life in Evangelion I've noticed references to the Kabbalah in a couple of anime I've watched. One of them is Neon Genesis Evangelion. Neon Genesis Evangelion has it in the sky in both the opening credits and in the series itself: I also remember it was on the ceiling at NERV, but the best screencap I could find of that was too tiny to be visible. So, my question is, Is there any deeper meaning to the use of the Kabbalistic tree of life, or is it just used because it looks cool?", "QGLWidget appears black in Windows 7", "Work done against gravity The work done against gravity is $mgh$, well at least that's what my textbook says. I have a question: I can apply a force say 50N, so total work done = $mgh + mah$. Where $ma$ = Force. But the truth is irrespective of the force applied, the work done against gravity is always $mgh$. Why? For example, when I move an object with a force, the work done is more, so work depends on the Force. But in case of gravity it always depends upon the weight", "How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?", "Explain why $\\mathbb{Z \\times Z}$ and $\\mathbb{R \\times R}$ is not a field", "This is a hypothetical question about how a CPU operates. If I purchase two identical CPUs, and use one long term (say one year), will it be identical in speed to the unused CPU? Will the number of clock cycles, latency of requests, etc on the used CPU be less than that of the unused CPU? A supporting argument may be that mechanical devices degrade over time, While a CPU has no moving parts (other than the external fan), it does have circuits that can be damaged by heat, and voltage spikes. Lets say that after a year of intensive use, the circuits degrade and fewer electrons can pass since the pathway is narrower, etc. Is this the nature of how a CPU operates, or is it simply working or broken, with no speed degradation in between?", "I am a Chinese citizen holding a HK SAR passport. How long am I able to visit the UK within a 365-day period? My stamp is for 6 months. Could I leave within 6 months but re-enter again a couple of weeks for another 6 months?", "Where's the summary of your own suggested edits?", "How can I control the name of generic WCF return types? I've got a WCF Web Service method whose prototype is: [OperationContract] Response&lt;List&lt;Customer&gt;&gt; GetCustomers(); When I add the service reference to a client, Visual Studio (2005) creates a type called \"ResponseOfArrayOfCustomerrleXg3IC\" that is a wrapper for \"Response&lt;List&lt;Customer>>\". Is there any way I can control the wrapper name? ResponseOfArrayOfCustomerrleXg3IC doesn't sound very appealing...", "Can [sic] be used to highlight a punctuational error? In the sentence below, the bracketed sic would obviously denote that the punctuation preceding it was an error &mdash; that is, a semicolon should supplant the comma. Has anybody ever seen this usage, and would you support it? The sun is high, [sic] put on some sunblock.", "Let $a, b$ be elements of a group $G$. Suppose that a has order $5$ and that $a^3b = ba^3$. I want to show that that $ab = ba$. Here is what I think: We know that we have $a^1, a^2, a^3, a^4, a^5 = 1$. So, $a^4 = a^{-1}$ and $a^3 = a^{-2}$ and $a^{2} = a^{-4}$. Now, $a^3b = ba^3$ then $a^{-2}b = ba^{-2}$ then $ba^2 = a^2b$ then $ba^{-4} = a^{-4}b$ then $a^{-1}b = ba^{-1}$ then multiply on the left and right by $a$ to get $ba=ab$. Is this correct or is there a simpler approach?", "Checking integrity of my server data", "An equivalence relation is defined by three properties: reflexivity, symmetry and transitivity. Doesn't symmetry and transitivity implies reflexivity? Consider the following argument. For any $a$ and $b$, $a R b$ implies $b R a$ by symmetry. Using transitivity, we have $a R a$. Source: Exercise 8.46, P195 of Mathematical Proofs, 2nd (not 3rd) ed. by Chartrand et al", "As stated in the question, I am looking for a Noetherian ring over which the Euclidean algorithm is not valid. I am trying to construct non-trivial examples of Noetherian rings. Thank you.", "Redirect parent window from an iframe action What JavaScript do I need to use to redirect a parent window from an iframe? I want them to click a hyperlink which, using JavaScript or any other method, would redirect the parent window to a new URL.", "How to write the word 'smart phone' in a research article? Smart phone Smartphone Smart-phone I am really looking for some help regarding hyphen (-) issue in text found in research article. Is there any standard method how to use it?", "I'm trying to do some scenes which use a mixture of 3D backgrounds with 2D animated characters.The best way I've figured this out so far is to use a plane with an image sequence of pngs which hold the frames. The problem with this method is Blender seams to only load image sequences based on image numbering. If I wanted to do a sequence which loops say, frames 0-5, then repeats 4-0 for the 'return' of the animation, I would have to load frames doubled up. Is there a way, maybe with a script, to change the sequence order? I can see it as a useful plugin but my python skills are pretty much non existent.", "Showing margins/frames in beamer slides", "Can't boot Windows 7 after installing Ubuntu I installed Ubuntu yesterday alongside Windows 7 and whenever I start my computer I don't have the option to boot Windows. When the computer starts it goes straight to Ubuntu without giving me an OS selection menu. When it goes to Ubuntu it gives me Ubuntu repair options and Ubuntu normal start option. I still have all of the Windows 7 files on my hard drive, but Windows 7 has no way to boot.", "Is it: My apples and orange are/is wrong? Simple question: My apples and orange are wrong or My apples and orange is wrong I am not a native English speaker, and I am having some trouble choosing between plural are or singular is for that kind of example." ]
medi_sts_stackexchange_dupe
Find a set A of rational numbers that is isomorphic to sup{$\omega$, $\omega^\omega$, $\omega^{\omega^\omega}$, $\cdots$}
Question of an isomorphism of $\epsilon_ 0$ and a subset of the rationals.
[ "Short story about a woman that travels to other planets. Read online recently. She just manages to live long enough to embrace new technology", "How to log source file name and line number in Python", "Image data URI and SEO Do you think the use of image data URI is SEO friendly? On the one hand saves you a HTTP request. On the other hand it really messes up your code. Especially for image files larger than 20KB or moving GIF image files of up to 200KB, the quantity of code inserted is enormous. As Googlebot reads usually from top to bottom, all data after the image data URI encoding will be harder to rank well in Google. Consider that image data URI is not in the CSS files as they should normally be and for the time being I can use only TinyMCE editor which provides me with just two options, either insert image with the image data URI method or the traditional image link. I would like to know which is more search engine friendly.", "How to adapt the color of a label using pgfplots I created this style that shifts the labels and put them on the bottom of the ybars. However, I have a problem with the bars that have too short length (for example, see the 8.7 and 5.1 in the example below). I want to check if the values are less than some threshold, or the length of the bar is shorter than the label (number) then change its color. How can I overlay another label on top of the one in white when the bar is shorter? or maybe change the color of the label to a gradient color? or just overlay the part that is outside of the bar? \\documentclass{standalone} \\usepackage{tikz} \\usepackage{pgfplots} \\usepackage{pgfplotstable} \\usetikzlibrary{calc} \\begin{document} \\makeatletter \\begin{tikzpicture} \\begin{axis}[ ybar, every node near coord/.style={ check for zero/.code={ % If meta=0, make the node a coordinate (which doesn't have text) \\pgfmathfloatifflags{\\pgfplotspointmeta}{0}{ \\pgfkeys{/tikz/coordinate} }{} }, check for zero, color=white, text opacity=1, font=\\footnotesize, inner ysep=0.5pt, },% % Bottom nodes calculate full offset/.code={ \\pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed} \\pgfmathsetmacro\\testmacro{((\\pgfplotspointmeta-\\pgfkeysvalueof{/pgfplots/ymin})*10^\\pgfplots@data@scale@trafo@EXPONENT@y)*\\pgfplots@y@veclength} \\pgfkeys{/pgf/fpu=false} },% nodes near coords bottom/.style={ every node near coord/.append style={ /pgfplots/calculate full offset, yshift=-\\testmacro, rotate=90, anchor=west,%I need the rotate text here and not in the %general style, as the ybar redefines the style } },% ymin=0, nodes near coords={\\pgfmathprintnumber[fixed zerofill,precision=1]{\\pgfplotspointmeta}}, nodes near coords bottom, ] \\pgfplotstableread{ % set real imag mag 1 8.7 2 5.1 3 91.8367 }\\mydata \\addplot table[x index=0,y index=1,header=false] {\\mydata}; \\end{axis} \\end{tikzpicture} \\makeatother \\end{document} * EDIT * I need to create some special gradient on each label that is below the bar height. For example, I need to adapt something like to each label that is not showing. However, I cannot find a way to put the macro in the style section of the codes. Or is there any equivalent solution?", "I need to add a specific column if it does not exist. I have something like the following, but it always returns false: IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'myTableName' AND COLUMN_NAME = 'myColumnName') How can I check if a column exists in a table of the SQL Server database?", "I know that there exists at least one solution, because $ax \\equiv b \\mod m \\implies ax - b = qm$ Rearranging terms gives $ax - qm = b$, and since $d | a$ and $d | m$, so $d | b$ it can be said that $b \\equiv 0 \\mod d$. I implemented Euclid's extended algorithm and have been able to experimentally verify that the claim holds, but I do not see a pattern or how I can begin to show there are exactly $d$ solutions. def euclid_extended(x, y, i=0): if y == 0: print(\"iteration {0} returns ({1}, {2}, {3}) - base case hit with ({4}, {5})\".format(i, x, 1, 0, x, y)) return (x, 1, 0) else: (d, a, b) = euclid_extended(y, x % y, i + 1) print(\"iteration {0}. ({4}, {5}) =&gt; ({1}, {2}, {3})\".format(i, d, b, a - b * (x//y), x, y)) return (d, b, a - b * (x//y))", "These questions are really bothering me. Any help would be much appreciated. Let $p$ be prime a) If $(G, \\oplus)$ has order $2p$, prove that every proper subgroup of $(G, \\oplus)$ is cyclic b) If $(G, \\oplus)$ has order $p^2$, prove that $(G, \\oplus)$ has a subgroup of order $p$", "Enabling CORS in GeoServer (jetty)?", "Why are airline passengers asked to lift up window shades during takeoff and landing? I have always wondered why the windows shades have to be raised during take off and landing. I can't think of any safety issues by having a closed window.", "$11$ out of $36$? I got this by writing down the number of possible outcomes ($36$) and then counting how many of the pairs had a $6$ in them: $(1,6)$, $(2,6)$, $(3,6)$, $(4,6)$, $(5,6)$, $(6,6)$, $(6,5)$, $(6,4)$, $(6,3)$, $(6,2)$, $(6,1)$. Is this correct?", "This is problem 31b) from Dummit and Foote chapter 14.2. I am looking for a hint on how to attack the problem, since I have been thinking about it for a couple of hours but I don't even know where to start. The problem says: Let $K$ be a finite extension of $F$ of degree $n$. Let $\\alpha$ be an element of $K$. Prove that the minimal polynomial for $\\alpha$ over $F$ is the same as the minimal polynomial for the linear transformation $T_{\\alpha}$. In this problem, $T_{\\alpha}$ is an $F$-linear transformation of $K$ that arises from $\\alpha$ acting by left multiplication on $K$. I appreciate any helpful suggestions on how to start attacking the problem or any possible hint. Thanks!", "I've read that flash memories can \"only\" be reprogrammed 100000 to 1000000 times, until the memory storage \"deteriorates\" Why exactly does this happen with flash and not other memory types, and what does \"deteriorate\" refer to, internally? EDIT: Since it's not only flash that this happens, I'd like to generalize a bit and inquire about the memories that have this problem. Also, does the wearing out between these memory types occur due to the same phenomenon?", "The Monty Hall Problem - where does our intuition fail us?", "How to combine array items with string substitution?", "Merge duplicate records into 1 field", "php execute a background process I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it takes for the copy to complete. Any suggestions would be much appreciated.", "What's the difference between stochastic and random?", "What is the term for taking it out on someone even though you will be harmed by this too? When you are so mad at someone that you make a bad decision, even though you will be harmed by it as well, in order to harm that person; is there a good term for this? For example burning $100 because he owns $20 of it.", "Do tag edits count for Archaeologist?", "How does a cell phone charger work?" ]
medi_sts_stackexchange_dupe
ROUNDUP(700.25;-1) returns 710, how to we do this in C#
Rounding integers to nearest multiple of 10
[ "How to Install Octave in El Capitan?", "Seeking detailed description of qgs file structure? Is there a detailed description on the .qgs file structure somewhere? I checked at and got The requested URL /qgis.dtd was not found on this server. and at which wasn't very detailed.", "How do I change my default browser? Is there an option to change my default browser for all my applications?", "Why do I see a double variable initialized to some value like 21.4 as 21.399999618530273? double r = 11.631; double theta = 21.4; In the debugger, these are shown as 11.631000000000000 and 21.399999618530273. How can I avoid this?", "Proving that $A+A \\not\\subset 2A $ using a particular definition for sum of sets Let $X$ de a vector space and $A\\subset X$. If we define $A+B :=\\{a+b|a\\in A, b\\in B\\}$ I am trying to show that $$ \\begin{equation} 2A \\subsetneq A+A, \\end{equation} $$ i.e., it might happen that $2A \\neq A+A$. I was able to show that $2A \\subset A+A$, but I am not able to come up with a counterexample to show that the converse is not necessarily true. If I assume $A+A\\subset 2A$ and let $x\\in(A+A)$, then by its definition we have $x=a_1 + a_2$ for some $a_1,a_2\\in A$ I guess I could naively say that $a_1+a_2 = 2(a'_1+a'_2)$ where $a_i=a_i/2$ for $i=1,2$ and I guess $(a'_1+a'_2)$ might not be an element of $A$ in some concrete case but I am not able to come up with anything and I've spent more time than I would like to admit. Any suggestions? Thank you.", "SCJP6 regex issue", "How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?", "Change logo url link I'm trying to change the logo url of the site to \"mywebsite.com/side2\", but it is not working, can anyone tell me where is the error in the code below? add_filter( 'login_headerurl', 'custom_loginlogo_url' ); function custom_loginlogo_url($url) { return home_url( 'side2' ); }", "2016: a year in closing", "Cutting a circular hole in a hollow cylinder without distorting the cylinder Whenever I try to cut out a circular hole in either a cylinder or sphere the polygons around the circular hole always have distorted normals after smoothing. Is there anyway to fix this. I've tried using the remesh modifier but wind up with some pretty ugly results.", "How to pass the output of one command as the command-line argument to another? So I have a script that, when I give it two addresses, will search two HTML links: echo \"http://maps.google.be/maps?saddr\\=$1\\&amp;daddr\\=$2\" | sed 's/ /%/g' I want to send this to wget and then save the output in a file called temp.html. I tried this, but it doesn't work. Can someone explain why and/or give me a solution please? #!/bin/bash url = echo \"http://maps.google.be/maps?saddr\\=$1\\&amp;daddr\\=$2\" | sed 's/ /%/g' wget $url", "Proper fstab entry to mount a samba share on boot? I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o username=jon,password=password So I tried putting this in fstab: //192.168.2.2/raid_drive /mnt/homeserver cifs username=jon,password=password,iocharset=utf8,mode=0777,dir_mode=07‌​77 0 0 Which gives me this error in syslog: kernel: [ 2217.925354] CIFS: Unknown mount option mode kernel: [ 2217.936345] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3 This says to use smbfs although I believe smbfs is deprecated? What is a common fstab configuration for a samba share in Ubuntu 12.04? EDIT: Using the accepted answer below I was initially getting this error message (from dmesg): [ 45.520883] CIFS VFS: Error connecting to socket. Aborting operation [ 45.520990] CIFS VFS: cifs_mount failed w/return code = -115 although it turns out this was due to network connectivity issues, and not related to improper fstab entry.", "Incompatible pointer type initializing 'CustomCellView *' with an expression of type UItableViewCell", "Book about space alien cats I read a book when I was young, it was about space alien cats. I believe the title was Quzzles, but I really don't know. The book was stolen from me before I was finished. I don't know much else about it.", "Show that if $a$ and $b$ are positive integers with $(a,b)=1$ then $(a^n, b^n) = 1$ for all positive integers n", "Why don't I have the right to create a text file in my root directory?", "Proof of a limit for a recursively-defined sequence I have a sequence defined by $$ a_1=1,\\quad a_2=1,\\quad a_n=\\frac{1}{a_{n-1}}+\\frac{1}{a_{n-2}}\\text{ for } n\\ge2. $$ Now, if $\\lim_{n\\to \\infty}a_n=g$ then $\\lim_{n\\to \\infty}a_n=\\lim_{n\\to \\infty}\\Bigl(\\frac{1}{a_{n-1}}+\\frac{1}{a_{n-2}}\\Bigr)=\\frac{2}{g}$ so $g=\\sqrt{2}$ or $g=-\\sqrt{2}$ but $a_n&gt;0$ so $g=\\sqrt{2}$. Now, how do I prove that it has an actual limit? Also, it can be proven that $1\\le a_n\\le2$, and it's not monotonic because $a_4 \\gt a_5 \\lt a_6$. Also, it's not monotonic after some $N\\in\\mathbb N$", "Postfix Connection Timed out I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting \"Connection Timed out\" when postfix/smtp tries to deliver an email to a remote host like gmail or yahoo.. RECEIVING A NEW MESSAGE /var/log/mail.log Feb 2 22:33:38 localhost dovecot: auth-worker: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Feb 2 22:33:38 localhost dovecot: auth-worker: Debug: pam(app,189.63.49.XXX): lookup service=dovecot Feb 2 22:33:38 localhost dovecot: auth-worker: Debug: pam(app,189.63.49.XXX): #1/1 style=1 msg=Password: Feb 2 22:33:38 localhost dovecot: auth: Debug: client out: OK#0111#011user=app Feb 2 22:33:40 localhost postfix/submission/smtpd[1045]: E9AA724264: client=unknown[189.63.49.XXX], sasl_method=PLAIN, sasl_username=app Feb 2 22:33:43 localhost postfix/cleanup[1052]: E9AA724264: message-id= Feb 2 22:33:43 localhost postfix/qmgr[32661]: E9AA724264: from=, size=485, nrcpt=1 (queue active) Feb 2 22:33:45 localhost postfix/submission/smtpd[1045]: disconnect from unknown[189.63.49.XXX] Feb 2 22:34:14 localhost postfix/smtp[1053]: connect to mta5.am0.yahoodns.net[98.136.216.25]:25: Connection timed out Feb 2 22:24:21 localhost postfix/smtp[1013]: connect to mta6.am0.yahoodns.net[98.136.217.202]:25: Connection timed out Feb 2 22:24:21 localhost postfix/smtp[1014]: connect to gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out Feb 2 22:24:21 localhost postfix/smtp[1015]: connect to gmail-smtp-in.l.google.com[173.194.76.27]:25: Connection timed out Feb 2 22:24:21 localhost postfix/smtp[1012]: connect to aspmx.l.google.com[173.194.68.27]:25: Connection timed out Here is /etc/postfix/main.cf /etc/postfix/master.cf Result from #> netstat -nlptu", "I have a Java bean like this: class Person { int age; String name; } I'd like to iterate over a collection of these beans in a JSP, showing each person in a HTML table row, and in the last row of the table I'd like to show the total of all the ages. The code to generate the table rows will look something like this: &lt;c:forEach var=\"person\" items=\"${personList}\"&gt; &lt;tr&gt;&lt;td&gt;${person.name}&lt;td&gt;&lt;td&gt;${person.age}&lt;/td&gt;&lt;/tr&gt; &lt;/c:forEach&gt; However, I'm struggling to find a way to calculate the age total that will be shown in the final row without resorting to scriptlet code, any suggestions?", "What does the number next to the review link in the top bar actually mean?" ]
medi_sts_stackexchange_dupe
Should I use my kit lens at max aperture or max zoom for shallow depth of field?
How can I get dramatic shallow DOF with a kit lens?
[ "How long can you say \"the late so and so\"? When you refer to the deceased, you say \"the late so and so.\" How long can you say that? Is JFK referred to as the late John F. Kennedy? How about Abraham Lincoln?", "What is the difference between a PDU and a power strip (both 120V, 15A)? I just chatted with an APC rep about upgrading the UPSes at our office. She recommended a single higher-capacity 6-outlet Smart-UPS to replace the four Back-UPS units we currently have. When I asked how she recommended plugging in all the current devices, she recommended using a APC's PDU, but said not to use a power strip. At first she said I had to use an APC brand PDU, but after I inquired about using a Tripp-Lite PDU, she said any brand PDU would be fine. The APC PDU previously referenced looks like a standard 120V power strip with overload protection but no surge protection. Other than overload protection (which seems redundant if plugging into the UPS), is there something else I'm missing, or should any power strip (without surge protection) be fine? Edit: I didn't mention it earlier, but we don't have a proper rack--though I did still plan to mount the PDU or power strip to something. I guess I'm wondering if there's any special reason I should pay as much as $180 for the low-end APC PDU (which just looks like a power strip to me) vs. $20-$30 for a .", "I'm building an object detector using HOG features and linear SVM. Some of the regions of the object are more \"distinctive\" so I would like to give more weight to the features extracted from those regions. (e.g. imagine we want to detect between mugs and glasses, then the most \"distinctive\" part is the mug's handle) How could I do this? For sure there should be a more intelligent way than just replicating the features of those \"distinctive\" regions.", "Hello, I'm getting this error every time when I boot my computer. My Ubuntu installation is fresh and I was got a few error on last step while install Ubuntu (because i have problem with my CDROM driver). Anyway, installation is continued . For example when i tried to open ADDITIONAL DRIVER and LANGUAGE SUPPORT (on System Settings) nothing happened, it's not opening. When i try this in terminal gnome-language-selector i'm getting this error Traceback (most recent call last): File \"/usr/bin/gnome-language-selector\", line 8, in &lt;module&gt; from LanguageSelector.gtk.GtkLanguageSelector import GtkLanguageSelector File \"/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py\", line 34, in &lt;module&gt; from aptdaemon.gtk3widgets import AptProgressDialog File \"/usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py\", line 61, in &lt;module&gt; class AptStatusIcon(Gtk.Image): File \"/usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py\", line 66, in AptStatusIcon def __init__(self, transaction=None, size=Gtk.IconSize.DIALOG): AttributeError: type object 'GtkIconSize' has no attribute 'DIALOG' Also getting this error for jockey-gtk Traceback (most recent call last): File \"/usr/bin/jockey-gtk\", line 418, in &lt;module&gt; sys.exit(u.run()) File \"/usr/lib/python2.7/dist-packages/jockey/ui.py\", line 461, in run self.ui_show_main() File \"/usr/bin/jockey-gtk\", line 81, in ui_show_main col_icon.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE) AttributeError: type object 'GtkTreeViewColumnSizing' has no attribute 'AUTOSIZE' I'm worrying about are there any lack . I don't know what's wrong with my installation. Are there any way, check my installation (packages, files etc..) .", "Why screen resolution remains 640x480 when I close a game?", "What is EFI in partition scheme? Recently I changed my partition scheme from MBR to GPT, and during after conversion I saw a another partition named EFI ... I don't have a good idea what does it do or its purpose ... but I think it's use for backup's. So my question here is can you explain/tell me about EFI and it purpose?", "Schengen area 90 days limit: Can I leave on the 91st day?", "Adapt Ubuntu to a high-DPI resolution screen How can I adapt Ubuntu to a high resolution display? I have a display with 3200x1600px on only 11'' and everything looks really tiny.", "I have been given a Bode plot of a low pass filter, and tasked with essentially reversing the effects by using a high pass filter. I have solved for the transfer function which is the first equation, and I am assuming the inverse transfer function will give me the information I need to construct the high pass filter. I know the values for \\$z\\$ and \\$p\\$. Is there a method given any transfer function to realise the circuit elements required? $$H(s) = 0.17\\frac{s-z}{s-p}$$ $$H(s)^{-1} = 5.88\\frac{s-p}{s-z}$$", "SSH tunneling error: \"channel 1: open failed: administratively prohibited: open failed\" When I open this ssh tunnel: ssh -nXNT -p 22 localhost -L 0.0.0.0:8984:remote:8983 I get this error when trying to access the HTTP server running on localhost:8984: channel 1: open failed: administratively prohibited: open failed What does this error mean, and on which machine can you fix the problem?", "I was given a MySQL database file that I need to restore as a database on my Windows Server 2008 machine. I tried using MySQL Administrator, but I got the following error: The selected file was generated by mysqldump and cannot be restored by this application. How do I get this working?", "Step to step how to install Cinelerra I have some problems installing cinelerra on my Ubuntu. How do I install it?", "Do $T$-invariant subspaces necessarily have a $T$-invariant complement?", "Extracting embedded images from a PDF Before I started using Ubuntu I used Nitro PDF reader to automatically extract images from PDF files. Is there a PDF reader for Linux that does this? I would like to be able to extract images faster/easier than when taking a snapshot.", "I have a data set for a predictive model(predicting survival rate with certain acute medical condition on some animals) with 25 predictors where around 30% of the predictors are complete, 3 predictors are sitting at 30%,25% and 20% missing, and the others are missing at around 5% level. Around 50% of my data are complete cases. I'm new to dealing with missing values so I have a couple of questions regarding how to deal with it: What can I do with the variable with 30% missing assuming it's MAR? Is 30% too high for imputation? What kinds of metrics can I use to make the decision between removal of the predictor, listwise removal, imputation or some other options? How should I deal with a predictor with 20% - 25% missing when I have reason to believe that it's MNAR? I'm thinking of using imputation on the remaining predictors with around 5% missingness. How do I make the decision on which imputation methods to use? Are they chosen on a case by case basis based on the individual predictors? How does one impute categorical values? How does(should?) the imputation carry out in practice? Should it use complete cases or compute it iteratively somehow? Does feature selection comes in before or after dealing with missing values? if at all?", "What's the difference between stochastic and random?", "So I know I've heard this saying in American English before but I just can't quite find the original. I have come up with several made up variations like: I don't send the Navy (or whole army, or a battalion) when all you need is a diplomat. Don't buy the whole cow when all you need is milk. What's the more commonly heard saying/phrase for this of expression?", "Best way to create an system of equations environment?", "Is it possible to run Android apps on Ubuntu? And I don't mean inside an emulator, but natively, as you would with any other application installed using the Ubuntu Software Center.", "Is there a term for words that when reversed, form other words? I'm aware of what a palindrome is. What do you call words that, when reversed, form other words, such as ton (not) and part (trap)?" ]
medi_sts_stackexchange_dupe
How electron movement produces current,instead of having a slow drift speed?
How fast does electricity flow?
[ "A real $2 \\times 2 $ matrix $M$ such that $$M^2 = \\begin{pmatrix} -1&amp;0 \\\\ 0&amp;-1-\\epsilon \\\\ \\end{pmatrix}$$ (a) exists for all $\\epsilon &gt; 0$. (b) does not exist for any $\\epsilon &gt; 0$. (c) exists for some $\\epsilon &gt; 0$. (d) None of the above is true. Attempt: I couldn't think of any theory base to prove / disprove the existence of such a matrix. Could someone please give me a hint on how to go about this problem? Thank you very much for your help in this regard.", "I am trying to monitor multiple JVMs running on different servers through an ssh tunnel. Thanks to one of the UNIX gurus here, I have managed to get this running for a single server by: Run jstatd on the target server Set up Visual VM to use 9696 as its socks proxy port. On my local PC, run: ssh -L 2222:server1:22 bastion-host On my local PC, run: ssh -o port=2222 -D 9696 -L 1099:localhost:1099 localhost This does the trick. Now when I try and tunnel to a second server I try: On my local PC, run: ssh -L 3333:server2:22 bastion-host On my local PC, run: ssh -o port=3333 -D 9696 -L 2099:localhost:1099 localhost However, the last step complains with: bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 9696 Has anyone managed to do something similar? Update: The reason this is so complex is that jstatd is an RMI server application: As with RMI applications, these register with an rmiregistry. Using rmi through a firewall requires me to use SOCKS as described here: Unfortunately, visualvm only lets me set the SOCKS proxy port once, and the -D option won't allow me to forward the same local port to both servers...", "Is there a modal command for MakeLowercase? Analog to question I've been wondering WHAT is to \\lowercase as \\bfseries is to \\textbf? (... and for uppercase, or \\MakeLowercase and MakeUppercase, etc., which also seem to be text-block commands as explained .) Is there a \"switch\"/\"declaration\"/\"modal command\" (what is the correct term here?, is there a difference between them?) that would allow one to turn something into lowercase/uppercase in the same way that one would use \\scshape for example, i.e., not as text-block command with the curly braces? Or how to create such a command? I couldn't find any clue on the forum.", "Consistent, complete, and generalized description of the quantum harmonic oscillator", "Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at . Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update? NOTE: The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see:", "Elsevier article with APA references I'm writing an article for Elsevier Journal which follows APA6e references; everything is fine except that the article starts from page 2 leaving page 1 blank with just double hyphen (==) in the middle. Here is how I write. \\documentclass[preprint,12pt,authoryear]{elsarticle} \\usepackage[natbibapa]{apacite} \\usepackage{float} \\usepackage{hyperref} \\usepackage[ruled,vlined,commentsnumbered]{algorithm2e} \\journal{Expert Systems with Applications} \\begin{document} \\begin{frontmatter} \\bibliographystyle{apacite} \\bibliography{myrefers} \\end{document} How Can I rectify the problem?", "Residuals correlated positively with response variable strongly in linear regression", "Let $G$ be a group and $\\{H_i\\}_{i\\in I}$ a family of subgroups. I would like to find a condition that will imply that $\\cup_{i\\in I} H_i$ is a subgroup. I know that it's not true in general, I need help to find this condition. Any help is welcome. Thanks a lot.", "How can I get my external IP address in a shell script? I need to find my external IP address from a shell script. At the moment I use this function: myip () { lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' } But it depends on perl-libwww, perl-html-format, perl-html-tree installed. What other ways can I get my external IP?", "Multiple runnable classes inside JAR, how to run them?", "Here is the problem: Suppose that $*$ is an associative binary operation on a set $S$. Let $$H:= \\{a \\in S\\mid a * x = x * a \\mbox{ for all }x\\in S\\}.$$ In other words, $H$ is consisting of all the elements of $S$ that commute with every element in $S$. Show that $H$ is closed under $*$.", "How to Start Web Mapping? I want to start working on a web map at work to map some of our statistics by city. I have an idea, but I'm not exactly sure where to start. Are there any definitive resources that provide step by step guidance on how to do this?", "How to make sure I'm not using any proprietary software after installation? I know I can check the currently installed non-free software with the following command (assuming aptitude is FOSS): aptitude search '?installed (?section(restricted) | ?section(multiverse))' And I can remove the \"restricted\" and \"multiverse\" sources (and not add any PPA's) to keep that list empty. I'm assuming from this point, whenever I apt install something, that something is either in the allowed sources or it is not found. Is this enough? Does this make sure all software I'm running (in Ubuntu) is open-source?", "Occasionally, when I'm installing stuff, I get an error like the following: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: package1 : Depends: package2 (&gt;= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages. How can I resolve this?", "This is not a duplicate of this . The linked question says that it suffices to show that if $(x_n)\\to x$ then $(\\frac{x_1+\\cdots+x_n}{n})\\to x$ to prove my question, but how so? I tried using the same strategy as how one proves that if $(x_n)\\to x$ then $(\\frac{x_1+\\cdots+x_n}{n})\\to x$, by \"splitting\" the product in th $N$th term: $$\\sqrt[n]{x_1x_2\\cdots x_n}=\\sqrt[n]{x_1x_2\\cdots x_Nx_{N+1}\\cdots x_n}=\\sqrt[n]{x_1x_2\\cdots x_N} \\sqrt[n]{x_{N+1}\\cdots x_n}$$ but it seems I can't use for now the definition of convergence of $(x_n)$ because of the $n$th root. I also tried to use a result: if $(x_n)\\to x$ then $(\\frac{x_n}{n})\\to 1$ but don't know if this is true. Sadly I've had no real progress. Any help will be greatly appreciated, thanks in advance!", "Is it possible to browse a chatroom under invisible mode? E.g. I know that I can browse the chat when I'm not logged on. But what if I am logged on and want to spare the inconvenience of logging off/multiple browsers?", "external variable in awk", "Calculate the area of an irregular cyclic convex polygon", "I have seen a few here on Meta&nbsp;Stack&nbsp;Exchange that cover parts of this, but they are often too local, and none of them seem to cover all the relevant scenarios. I will break it up into multiple parts in order to make this more specific: When should I vote on a question: What are the qualifications for a question to be deserving of being up-voted? When shouldn't I vote up on a question? What are the things that would cause a question to need to be down-voted? How should I go about down-voting the question (do I wait a little while to give the OP a chance to change it, or do I down-vote it immediately)? When shouldn't I vote down on a question? When should I vote on an answer: What are the qualifications for an answer to be deserving of being up-voted? When shouldn't I vote up on an answer? What are the thing that would cause an answer to need to be down-voted? How should I go about down-voting the answer (do I wait a little while to give the OP a chance to change it, or do I down-vote it immediately)? When shouldn't I vote down on an answer? When should I vote on a comment: While votes on comments do not affect reputation points, it might be useful to new users to know when to up-vote them. It seems that a full, comprehensive list of these would be invaluable to new users looking to figure out how the voting system works, but this list seems to be missing from the meta site.", "After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost. What could it be missing? Is there a modification I have not seen? Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15). \\documentclass{book} \\usepackage[margin=2cm,a4paper]{geometry} %\\usepackage{prevtitlesec}% 2011/12/15 version \\usepackage{titlesec}% 2016/03/15 version \\usepackage{lipsum} \\begin{document} \\chapter{Title of the first chapter} \\lipsum[1] \\section{A test section} \\lipsum[4] \\subsection{A test subsection} \\lipsum[4] \\subsection{A test subsection} \\lipsum[4] \\end{document} titlesec package 2011/12/15: titlesec package 2016/03/15:" ]
medi_sts_stackexchange_dupe
Is it possible to hide a section or comment out a whole section?
Commenting out large sections
[ "I co signed on a bank loan to finance the purchase of a car for my brother in Florida. Only his name is on title, registration and insurance policy. Would I be liable and can I be sued by another person if he were in an accident?", "Beautiful table samples I'm interested in learning about some nice-looking table samples. Colors can make a huge difference, and just providing some color to headers, background, or borders can dramatically change presentation. Any samples you're proud to share? (BTW here's a sample I like, but unfortunately, not TeX...)", "Abount linear functional: If $T(B)$ is bounded, is $T$ bounded? Let $H$ be a infinite dimensional Hilbert space and let $B$ be a basis of $H$ that $H=\\overline{span(B)}$ moreover, let $T : H \\rightarrow K$ be a linear functional If $T(B)$ is bounded, is $T$ bounded?", "How to detect end of line with sed I'm looking for a way to only execute replacement when the last character is a newline, using sed. For instance: lettersAtEndOfLine is replaced, but this is not: lettersWithCharacterAfter&amp; Since sed does not work well with newlines, it is not as simple as $ sed -E \"s/[a-zA-Z]*\\n/replace/\" file.txt How can this be accomplished?", "In blender cycles render engine, how do I put a movie clip on a plane so it displays the video? I want the video to be on the plane if there is a way.", "Why does Blender use so much memory for large textures?", "top command in cygwin? I am starting to use Cygwin(64) on my Windows 8 laptop, however, the top command is not recognized. I have read online that I need to get the procps package, but it is not available on the 'Cygwin Setup' package selections. How should I go about installing the procps package so that I can use top? ps. for whatever reason ps and kill both work so I would think top would be included in whatever package allowed those guys to work, but there is no top command.", "Trying to remap my left SUPER key (also called WINDOWS key) to left or right CONTROL key, with xkg", "is exactly what I'm looking for. I want my description environment to produce this: Label is long text lab2 blalballalaa label3 possible second rule label four hello world Someone offered this: \\newenvironment{mydescription}[1] {\\begin{list}{}% {\\renewcommand\\makelabel[1]{##1:\\hfill}% \\settowidth\\labelwidth{\\makelabel{#1}}% \\setlength\\leftmargin{\\labelwidth} \\addtolength\\leftmargin{\\labelsep}}} {\\end{list}} Which works great (the parameter is the longest label), except I think the enumitem should be able to do this. Unfortunately, the documentation for it is extremely confusing to me. Could someone show me how to achieve the same result with enumitem?", "How to backup all my data from a server?", "What is the iOS alternative to a radio button?", "If i try to update node revision like this: $node = node_revision_load(59); $node-&gt;set('publish_on', null); $node-&gt;save(); or simple save: $node = node_revision_load(59); $node-&gt;save(); I have a PHP memory error, (i have 1gb allocated)", "Let $\\alpha,\\beta,\\gamma$ be the roots of $x^3-3x^2+1 = 0$. Prove that $$\\alpha^n+\\beta^n+\\gamma^n \\equiv 4^n+5^n+(-6)^n \\pmod{17}$$ where $n$ is an integer. It sort of makes sense why they are congruent since we can say $x^3-3x^2+1 \\equiv (x-4)(x-5)(x+6) \\pmod{17}$, but since $\\alpha,\\beta,\\gamma$ aren't integers, how do we prove this?", "How can I close a terminal without killing its children (without running `screen` first)?", "Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced. How does a real Selenium project look in real life? How can I find sample code?", "Why does Super User site appear twice in vote-to-close dialog? Super User appears in both the main Off-Topic list and the Migration list of the close dialog. Is this a bug or intentional? I also don't really understand why Server Fault appears in the main Off-Topic list and not the Migration list, apart from it being new. Here: and:", "import os xp1 = \"\\Documents and Settings\\\" xp2 = os.getenv(\"USERNAME\") print xp1+xp2 Gives me error File \"1.py\", line 2 xp1 = \"\\Documents and Settings\\\" ^ SyntaxError: EOL while scannning single-quoted string Can you help me please, do you see the problem?", "Include Watir test cases in a Continuous Integration system", "GameJolt is a gaming platform/website that offers API access with features like achievements tracking for users, etc. I can use the API no problem on my tests but what I'm concerned about is the private key that is issued to my game. How do I ensure that it's protected from people that want to decompile my game? Once they get the API private key, they will be able to do anything with it.", "My lecturer has used some notation that I've never seen before: it is a (matrix) product symbol with a left-to-right arrow over the top. Does anybody know what this means? Thanks in advance. Edit: It looks like this:" ]
medi_sts_stackexchange_dupe
How to download most of Ubuntu Software Centre?
How can I install software or packages without Internet (offline)?
[ "I have put his on wolfram and obtained answer as follows: $\\sum_{n=1}^{\\infty}\\frac{n}{2^n} = 2$ And the series is convergent too because $\\lim_{n\\to\\infty} \\frac {n}{2^n} = 0$ However I am wondering if there is a convenient way to solve this; I don't think you can represent it by a geometric progression either. So how do we have to do it on paper?", "How do I install additional drivers? I've just installed Ubuntu and I need either video, wireless, or some sort of other manufacturer (non-opensource) driver. How can I run the tool that will fetch all of these for me? I'd like graphical instructions. Related:", "Dump of my own Stack Exchange content Is there a way to quickly save all my Stack Exchange content across all Stack Exchange sites, as hundreds of HTML pages? (for me probably 15 or 20 sites: SO, dsp.SE, unix.SE, etc.)? The ideal way would be one .HTML file for each question that I asked / answered / commented? What would be the ideal tool for that? Remark: I've already read interesting questions like but it doesn't exactly answer my concern here.", "A guide to moderating chat Chat is an offshoot of the main site, and using it is during their time here. Chat is our place for: Real-time collaboration Meeting fellow members of the community Less structured, casual (but still roughly on-topic) conversation Our chat system exists to serve the main site; users of each site can gather and commune with each other. When in chat, we expect all users to abide by our policy, which means that we expect community members to treat each other with respect. While it is a place where the community can go to interact on a more casual level, chat still needs to be moderated by the community and there are tools in place to help with the moderation. This raises a few questions, that are addressed here:", "A friend of mine misplaced his passport while staying in Jeju island. Normally I would advise him to just travel to Seoul, get an emergency passport from his embassy and fly back home without issues, but I know that Jeju island has a special immigration regime. Are there any immigration checks on the way from Jeju island to Seoul? If not, can one travel that route without a passport?", "How do I upgrade to the unreleased version of Ubuntu for testing?", "I am creating a controller for a 12 V system using an Arduino Uno microcrontroller. For the outputs I am using a relay shield to switch the 12 V components. I have a 12 V toggle switch that turns on some 12 V components in the system and I want to use a trigger signal off of this same switch to send to an Arduino digital input. I know that the Arduino can only handle 5 V max. What would be the best way to step down the 12 V coming off of the switch to the 5 V for the input? EDIT: The system is for use in a car. Would the amperage of the car battery need to be lowered somehow as to not blow up the components?", "Prove or disprove: $S_{10} = \\langle (1,3),(1,2, ... ,10) \\rangle$", "How much longer will my 10 year old frame last?", "Time traveler asks archaeologist for help in transporting a girl from dinosaur Earth to present day Many decades ago, I read a short story about a time traveler who asks an archaeologist for help. He convinces the archaeologist that he can time travel by bringing him back a freshly killed dinosaur (small one.) The time traveler needs help because when traveling back in time to the age of the dinosaurs he met a girl and wants to transport her back to the present. However only one person can travel in time at a time so he needs the archaeologist at the other end to wait for the girl. The archaeologist agrees to help. Unfortunately after the traveler goes back he and the girl find themselves in the middle of a battle between aliens on Earth. They are chased by a dinosaur and never make it back to the present. The archaeologist meanwhile is digging for evidence that the traveler went back in time and the story or my recollection of it ends with that.", "The new 17.10 only has 64 bit ISOs. However 32 bit is still supported, there just are no live ISOs for it. I have a 32 bit machine with WIFI, and I need to install from a USB disk. I tried the \"mini.iso\" but it doesn't have WIFI support. What options do I have? (PS I don't want another distro, and I can't use ethernet for installation, must be WIFI).", "Possible cardinality of power sets What cardinals can provably not occur as the cardinality of a power set? I know that $\\mathbb N$ and natural numbers that are not powers of two are such cardinals. What else is out there?", "Word caption style -- different style for label and number? This should be a common problem for anyone involved in technical writing. When you insert an image (or table etc.) caption in Word, you get dialog. You enter your caption, \"A happy bicycle\" (in yellow). This might be fine for a happy bicycle, but I want to have captions that have one style for the \"enumeration\" (label and number) and one style for the description (caption text, as called by Word), as such: I have tried searching for this but I haven't found anything yet...", "Convert a javascript associative array into json object using stringify and vice versa", "I found the following blog title without a question mark from : How to ease Afghanistan’s progress in cricket Is it grammatical, if we don't put question mark in questions of titles? I think this blog title should have been like this: How to ease Afghanistan’s progress in cricket? I also found the following blog title from without a question mark: Election rigging 101: How to steal a mandate However, I found a question mark from other blog title of : Elections 101: What is the ECP and what does it do on election day?", "Every $R$-module is a quotient of a free module I'm reading through my notes, and I have a theorem as the title says. As proof I have only a picture. where $v:m\\mapsto(0,...,0,1,0,...,0)$ and 1 is at $m$-th position. I know, that $\\oplus_M R$ is a free module generated by set $M$, but is this all? I do not see how the statement is proved.", "Title of novel with girl who can read minds by observing body language, later communicates with a hive mind on an alien planet's surface As a kid I was greatly influenced by a book where a girl (I believe her name was Marlena) lived in a ship orbiting an alien planet. The ship was intended to colonize the planet but the humans had encountered difficulty. People on the surface early on had gone incurably mad. The planet was covered with single cell organism, but no other life. Other than the \"bacteria\" it was sterile. The girl, along with most of the colonists, was still living on the orbiting ship for the foreseeable future. The girl had an uncanny knack of reading people's minds by noting minute changes in behavior and body language, kind of like Sherlock Holmes' famous observations. Eventually she got a chance to go to the surface, and found the planet trying to communicate with her. In one memorable scene the swirls in the water of a stream formed a face and started trying to call her name, \"Eeeena, Aaleeena, Aarleena, Marlena!\" It turns out that the single celled organisms on the planet comprised a hive mind which had tried to communicate telepathically with previous humans by altering their brains slightly, causing the madness. The girls's brain was different, however, constantly modifying and changing itself so that it was not damaged by the hive mind's attempts to communicate with it.", "Selling a car with a lien I own a car personally, but it is mortgaged to a bank. I want to sell it to an individual. I haven't the funds to repay the loan until I'm paid for the car. The buyer doesn't want to pay me without a lien release (or guarantee that one is coming). The bank won't release the lien until it gets the funds. What do people do in a case like this? It must be a common case. What should I do?", "I had opened a terminal to install macchanger via sudo apt-get install -y macchanger, and then entered my password. It stated that macchanger was already the newest version, so I typed clear and then ran: sudo ifconfig eth0 down which is when this error message appeared: eth0 ERROR while getting interface flags: no such device This is a laptop and I am connected via ethernet cable. How can I resolve this, so that I can run macchanger? So I used ifconfig -a and I'm looking but seeing no mention of eth0 The interfaces that are showing top to bottom are: enp58s0f1 lo tun0 UNSPEC wlp59s0 The only reference to ethernet is the MAC and also txqueuelen Does this help in figuring what I need to do to get this sorted?", "Closed-form of $\\int_0^1 \\operatorname{Li}_p(x) \\, dx$" ]
medi_sts_stackexchange_dupe
Hexadecimal Calculations for Calculator
How to convert hex string to float in Java?
[ "How to automatically hyphenate within \\texttt? This question was phrased as a bug report for LaTeX and I thought it would be helpful to be presented here (including an answer). The person had a lot of \"common words\" in typewriter font sprinkled around his text and he was surprised that this text would not automatically hyphenate and he had to manually insert \\- to mark hypenation points.", "Fan is always on, CPU usage is rather low and can't find the fan or thermal_zone proc files I have an Asus N76VB notebook with Ubuntu 14.04 and TLP for power managment. However, the fan is always on. It's not really loud, but it's annoying. My CPU usage is around 1-2%. It's clocked at 1.20 GHz. I've added acpi=force to my boot parameters but it doesn't change anything. /proc/acpi/fan: No such file or directory /proc/acpi/thermal_zone: No such file or directory I've loaded all Asus ACPI modules. lsmod | grep asus: asus_nb_wmi 16990 0 asus_wmi 24191 1 asus_nb_wmi sparse_keymap 13948 1 asus_wmi video 19476 2 i915,asus_wmi wmi 19177 2 mxm_wmi,asus_wmi Somehow, it can read the temperatures. sensors: acpitz-virtual-0 Adapter: Virtual device temp1: +43.0°C (crit = +108.0°C) coretemp-isa-0000 Adapter: ISA adapter Physical id 0: +44.0°C (high = +87.0°C, crit = +105.0°C) Core 0: +44.0°C (high = +87.0°C, crit = +105.0°C) Core 1: +42.0°C (high = +87.0°C, crit = +105.0°C) Core 2: +39.0°C (high = +87.0°C, crit = +105.0°C) Core 3: +39.0°C (high = +87.0°C, crit = +105.0°C) asus-isa-0000 Adapter: ISA adapter temp1: +43.0°C I really hope someone knows how to solve this. Almost all information I could find was about saving power to create less heat. I got Intel and NVIDIA (GeForce 740M) graphics but I'm almost anytime on Intel. $ sudo lshw -c display *-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:43 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64) fwts fan:", "I have been texture painting in look dev mode. But when i try to render it, everything looks very dark. I have 3 sun lights in my scene, ambient turned on in Eevee settings. What am i missing? I really like the look of my scene in Look Dev mode, how can i achieve the same look when my scene is rendered too?", "What's the difference between Fermi Energy and Fermi Level? I'm a bit confused about the difference between these two concepts. According to Wikipedia the and are closely related concepts. From my understanding, the Fermi energy is the highest occupied energy level of a system in absolute zero? Is that correct? Then what's the difference between Fermi energy and Fermi level?", "How can I find the difference between two angles?", "Custom question lists: finding questions you can answer", "Decoupling caps, PCB layout", "I am looking at the circuit diagram from The gnucap description for it is given as C1 0 2 1UF R1 1 2 1K R2 0 2 1K Vin 0 1 AC 1 .OPTIONS PHASE=RADIANS .PRINT OP V(Vin) .OP 0.00 100.00 BY 10.00 BASIC .END I can run the simulation on this using gnucap fine, see output. But is there a way to generate the schematic visually from just the textual description above using a simple command line tool?", "How do I calculate the resistor value for a simple LED circuit?", "How do you make a deep copy of an object? It's a bit difficult to implement a deep object copy function. What steps you take to ensure the original object and the cloned one share no reference?", "Does $\\sum_{m=1}^{\\infty}\\sum_{n=1}^{\\infty}a_{mn}^3=\\sum_{n=1}^{\\infty}\\sum_{m=1}^{\\infty}a_{mn}^3$ occur here? Let $\\{a_{mn}\\},~m,n \\in \\Bbb{N}$, be an arbitrary double sequence of real numbers then does the following equality occur always? $$\\sum_{m=1}^{\\infty}\\sum_{n=1}^{\\infty}a_{mn}^3=\\sum_{n=1}^{\\infty}\\sum_{m=1}^{\\infty}a_{mn}^3$$ I think there is no reason for the equality of this iterated series in general but I cannot figure out how to construct a counter example. Can anyone please help me how to create a example of $\\{a_{mn}\\}$ such that the given equality does not hold...!!", "How long can I store a food in the pantry, refrigerator, or freezer?", "Can every non-simple group $G$ be written as a semidirect product? When people want to classify a group with certain (small) order, they seem to find a normal subgroup $H$ and a subgroup $K$, and then consider how many distinct $H \\rtimes_\\varphi K$ are there. My question is: For any group $G$, does it always exist normal subgroup $H$, subgroup $K$ and $\\phi : K \\rightarrow Aut(H)$ s.t. $G\\cong H \\rtimes_\\varphi K $? Sorry if this question is too basic... Thanks the comment and the answers. Then if the $G$ is not simple, can we have can $G\\cong H\\rtimes_\\varphi K$ for proper subgroup $H$, $K$, with $H$ normal? EDIT: If we have a group $G$, that is not simple (then $G$ has at least one normal subgroup), are there always a non-trivial normal subgroup $H$ and a proper subgroup $K$ s.t. $G \\cong H \\rtimes K$. (Note that if $G$ is simple this is clearly not possible). But the quaternion group and $Z_4$ given in answers have shown that we cannot always have it.", "'pagesize' attribute ignored in hot network list Steps to reproduce: Open in Guest/Incognito mode or with cookies disabled. This will have 30 questions per page by default. Click the link and as expected, you'll see questions 1-50 with page size of 50. Go the the and see the bug: you're in the second page of 30 items per page, i.e. you'll see questions 31-60 instead 51-100 as expected. It is very annoying. Please fix it. My user-agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0 There are no plugins installed affecting the site. It happens both when logged in or not. The mechanism used to work before, but some weeks/months ago it stopped, enough to bother me to post here :) Here are all modified \"privacy\" settings from about:support page: privacy.clearOnShutdown.offlineApps true privacy.clearOnShutdown.openWindows true privacy.clearOnShutdown.siteSettings true privacy.cpd.offlineApps true privacy.cpd.openWindows true privacy.cpd.passwords true privacy.cpd.siteSettings true privacy.donottrackheader.enabled true privacy.history.custom true privacy.item.cookies true privacy.sanitize.migrateClearSavedPwdsOnExit true privacy.sanitize.migrateFx3Prefs true privacy.sanitize.pending [{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSetti privacy.sanitize.sanitizeInProgress [\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\",\"openWindows\"] privacy.sanitize.sanitizeOnShutdown true privacy.sanitize.timeSpan 0 privacy.trackingprotection.enabled true privacy.trackingprotection.introCount 20", "Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? Is the sorting algorithm used by .NET's Array.Sort() method a algorithm?", "Autofill feature isn't iterating numbers properly when using the AVERAGE() formula in Microsoft Excel", "Minimal polynomial of $\\sqrt{2}+\\sqrt{3}$ over $\\mathbb Q$ I had an example in the book given as follows: Find the minimal polynomial of $\\sqrt{2}+\\sqrt{3}$ over $\\mathbb Q$ . Solution: $~~~~~$$(\\sqrt{2}+\\sqrt{3})^2=5+2 \\sqrt6$ $(\\sqrt{2}+\\sqrt{3})^4=49+20 \\sqrt6$ Then $(\\sqrt{2}+\\sqrt{3})^4-10(\\sqrt{2}+\\sqrt{3})^2+1=0.$ Thus $a=\\sqrt{2}+\\sqrt{3}$ satisfies $f(x)=x^4-10x^2+1$ over $\\mathbb Q$. Let $p(x)$ be the minimal polynomial of $\\sqrt{2}+\\sqrt{3}$ over $\\mathbb Q$.Then $(\\sqrt{2}-\\sqrt{3}),(-\\sqrt{2}+\\sqrt{3}),(-\\sqrt{2}-\\sqrt{3})$ are also roots of $p(x).$ So degree of $p(x)$ is atleast $4$. But $f(a)=0 $ and $f(x) \\in \\mathbb Q[x] \\implies p(x)$ divides $f(x)$ . So $f(x)$ is minimal polynomial of $\\sqrt{2}+\\sqrt{3}.$ But I can't get the step how are $(\\sqrt{2}-\\sqrt{3}),(-\\sqrt{2}+\\sqrt{3}),(-\\sqrt{2}-\\sqrt{3})$ also roots of $p(x).$ Kindly help with this.", "Why is there conservation of kinetic energy in elastic collision and not in inelastic collision?", "Questions like looking for css templates, blog templates, icons ... In general, resources (let's leave the licensing terms aside for now) which you might need when building a project of your own. Where should those questions go? They're definitely not on-topic on Stack', SuperUser maybe although I doubt it. Webapps? Hmm, probably not. Is there a place where they would be on-topic on the SE network?", "Avoiding Mixed DML (setup/non-setup) Approach I need an approach to allow delegated admins (i.e., non-Administators) to add members to Public Groups and Collaboration Groups (the GroupMember and CollaborationGroupMember objects). I added a custom object (UserGroupRequest__c) to capture which Users should be added/removed to which Groups. I've also built a batchable class to process the requests. However, GroupMember is a Setup object, and CollaborationGroupMember is not. So this doesn't work if I combine the operations in a single batchable class. Should I instead be using 2 batch classes, calling one from the finish method of the other? Any recommendations on how best to proceed? Am I way off base? Would a trigger on the Request object perhaps be better? I'm guessing that there may be a permission problem if this is attempted via a trigger as the delegated admins won't be able to add users to public Groups. Also, I'm guessing the trigger approach would run into the same mixed DML issue - on Insert of the Custom object, I would need to Insert/Delete from GroupMember and from CollaborationGroupMember, and then perform a 2nd update on the Custom object to indicate that processing was completed..." ]
medi_sts_stackexchange_dupe
Combine Sky texture with other layers with alpha channel
Alpha over layers but maintain environment background
[ "Is there a difference here: It happened that he did not go to work today. As it happened, he did not go to work today. Do \"it happened that\" and \"as it happened\" have different meanings?", "How do you disable browser autocomplete on web form field / input tags?", "How to sort columns independently?", "How do I get a remote host IP address if I don't have ping, and don't have any bind utilities like dig, nslookup, etc? I need an answer that does not include 'install X' or 'use sidecar container'. I am looking for something that relies on nothing more than bash and the basic shell commands.", "I can copy, move, create, and delete them. I can rename them using the REN command from a command prompt. I cannot rename folders through Windows Explorer anywhere on my machine, including on other drives. When I try to do so, I receive an error titled \"Rename Folder\" that says \"Can't find the specified file. Make sure you specify the correct path and file name.\" Then when I click Try Again or Cancel, I get another error titled \"Rename\" that says \"The file or folder does not exist.\" As far as I can tell, nothing else is wrong with my computer, but I'm pulling my hair out trying to fix this problem. I don't know for sure if superuser is the right place to ask this question, but feel free to redirect me. Summary of Failed Attempts: Booted into Safe Mode Made a New User Account System Restore Point (two days ago, 9 days ago) Deleting / Restoring / Modifying FolderDescriptions registry entries SFC /scannow Removing windows update KB2984006 Scanned for viruses using Nod32 Scanned for malware using MalwareBytes Details: Tried rolling back to two different system restore points, both immediately before I observed the problem and one release prior to that. Tried restoring FolderDescriptions registry entries as found here: Booting in safe mode as suggested here: SFC /scannow as suggested here: Tried removing registry keys and windows update KB2984006 as suggested here: Tried exporting folderdescriptions from other machine and importing as suggested here: Compared my exported registry with other machine's exported registry for both: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FolderDescriptions HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FolderDescriptions My FolderDescriptions branch of the registry in both cases are binary equal to those exported from my wife's Windows 8.1 laptop which works fine.", "I've created a series of DEM files using the tool from LAStools; however since I don't have a licensed version they have black streaks running across them. Does anyone know a good method for removing these streaks?", "Didn't understand relationship 'AccountContactRelation' in FROM part of query call I'm getting the following error message: System.QueryException: Didn't understand relationship 'AccountContactRelation' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names. Select Email, Id, (Select ContactId, AccountId From AccountContactRelation) From Contact In AccountContactRelation object there are two lookup fields for Account and for Contact. Please advise how to avoid such error message?", "Dynamic SELECT TOP @var In SQL Server How can I have a dynamic variable setting the amount of rows to return in SQL Server? Below is not valid syntax in SQL Server 2005+: DECLARE @count int SET @count = 20 SELECT TOP @count * FROM SomeTable", "Typical software & tools short-list for *manual* QA specialist (tester) working environment For QA workstations preparation (Windows-based PCs) our IT department uses typical batch deployment tools. I'm not at all interested in the details of such process, but IT guys ask me: What typical set of software you need for everyday manual testing tasks? We could include these in our deployment so that you guys could save more time for testing, not for environment prep &amp; tuning. Sure thing we do test various range of projects, from web applications to standalone solutions, and each application requires its own set of tools for manual testing, e.g.: Browsers Virtualization utilities DB clients Screens capturing tools FTP clients XML editors etc. However, and that's for sure - there's a list of tools every QA MUST have installed on its PC, regardless of project types under testing. My area of experience is mostly standalone / complex web apps, that's why my vision on the task is a bit subjective. So, your suggestions of what are tools / software an average QA specialist can't live without will be highly appreciated. 2 assumptions: Manual testing is a point of interest. Let's limit the list to not more than 15 (better 10) items. Thanks in advance!", "How to remove time from date?", "Is there a good way to determine the value of magic items in 5e? In 5e, magic items aren't as common or as varied as in older editions, but that also means it is hard to place prices on them. As DM, NPC's can't really sell a magic item because we don't know the prices for these items. While it is stated that they are rare and usually unpurchasable and unsellable, but I still have to have some basis on what to price them. So is there a way to find buying and selling prices for magic items in 5e?", "Why can't a class extend its own nested class in C#? For example: public class A : A.B { public class B { } } Which generates this error from the compiler: Circular base class dependency involving 'A' and 'A.B' I always figured a nested class behaved just like a regular class except with special rules concerning accessing the outer class's private members, but I guess there's some implicit inheritance occurring between the two classes?", "Eclipse Shortcut to Split Long Strings I swear I've seen someone do this, but I can't find it in the various lists of shortcuts. Given: String s = \"A very long ............................ String\"; Is there an Eclipse shortcut to turn it into: String s = \"A very long ............................ \" + \"String\";", "Can a wizard use his familiar's senses to enlarge his \"you can see\" area?", "I'm going to encrypt the characters Zhu, and decrypt them using RSA. I'm using the public key $\\{e, n\\}$ and private key $\\{d, n\\}$. The values of $e$, $d$ and $p$ I get from my textbook: $e = 17$, $d = 53$, $n = 77$. It works fine when the number is smaller than 76, but in my example below, it doesn't work: z = 90 h = 104 u = 107 e = 17 d = 53 n = 77 print z,h,u c_z = z ** e % n c_h = h ** e % n c_u = u ** e % n print c_z, c_h, c_u p_z = c_z ** d % n p_h = c_h ** d % n p_u = c_u ** d % n print p_z, p_h, p_u The outputs are: 90 104 107 62 69 46 13 27 30 Do you have any idea what's going wrong?", "What is the simplest way to generate a dodecahedron? I've been thinking of animating some dice and while most are easy to make, I'm having some trouble figuring out a way to generate a regular dodecahedron. I could hand build it but it would be potentially uneven. Would using the base of a 5 sided cylinder and then some variation on spin be the best option or is there a better way?", "Where did the convention of using single dashes for letters and doubles dashes for words come from and why is continued to be used? For example if I type in ls --help, you see: -a, --all do not ignore entries starting with . -A, --almost-all do not list implied . and .. --author with -l, print the author of each file -b, --escape print octal escapes for nongraphic characters --block-size=SIZE use SIZE-byte blocks -B, --ignore-backups do not list implied entries ending with ~ ... I tried googling - and -- convention even with quotes with little success.", "Can I use a present-tense verb when writing about a past event?", "Number of factors of a big number How to find the number of factors of $884466000$ without using a calculator?", "What is the scope of variables in JavaScript? What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?" ]
medi_sts_stackexchange_dupe
p:growl not showing when I redirect my page
Primefaces growl is not working in all the pages
[ "How do I complete \"Find the Bitizen\"?", "Okay the scenario I'm thinking of is as follows: I control a , and 3 untapped lands (2 swamps, 1 Island to be perdantic). In my opponents turn he casts a burn spell to kill my duskmantle. I activate his first ability in response. The way I am hoping the following interactions will go is: Duskmantles ability will hit the stack at the top and resolve The burn spell resolves dealing its damage to Duskmantle The burn spell card hits the graveyard and triggers the infinite loop for duskmantle and mindcrank killing my opponent Duskmantle perishes Is this the way that the stack would pan out? Do I win in this situation regardless of the stack being correct or not above? (I am not fully familiar with how the stack really works in magic) You can see the cards from my deck .", "$2$ out of $3$ property of the unitary group", "Does Thanos' plan apply to higher order beings? We know that Thanos' plan was to instantly destroy half of all life in the universe His plan doesn't appear to apply to lower or non sentient life forms if it did half the trees in the final Wakanda scene would have disintegrated too Does his plan apply to all beings more powerful than himself?", "Why is the order of $\\mathbb{Z}[i]/\\langle 3+i\\rangle$ equal to 10? The reasoning my book uses is as follows: Since $(3+i)(3-i) = 10$, $10 + \\langle 3+i\\rangle = 0 + \\langle 3+i\\rangle $. Also, $i + \\langle 3+i\\rangle = -3 + \\langle 3+i\\rangle = 7 + \\langle 3+i\\rangle$. So, $\\mathbb{Z}[i]/\\langle 3+i\\rangle = \\{k + \\langle 3+i\\rangle \\mid k = 0,1,\\ldots ,9\\}$, since $1 + \\langle3+i\\rangle$ has additive order $10$. I do not understand why the additive order of $1 + \\langle 3+i\\rangle$ is $10$, or why the fact that $(3+i)(3-i) = 10$, shows the additive order or $1 + \\langle 3+i\\rangle$ is $10$. If someone could please explain this I would greatly appreciate it. Note: I apologize for not using MathJax to write this post. I intend to learn it over the coming weekend.", "How can I adjust the mouse scroll speed?", "How can I get a reference to a method? Is it possible in Ruby to get a reference to methods of an object ( I would like to know if this can be done without procs/lambdas ) , for example , consider the following code : class X def initialize @map = {} setup_map end private def setup_map # @map[\"a\"] = get reference to a method # @map[\"b\"] = get reference to b method # @map[\"c\"] = get referebce to c method end public def call(a) @map[\"a\"](a) if a > 10 @map[\"b\"](a) if a > 20 @map[\"c\"](a) if a > 30 end def a(arg) puts \"a was called with #{arg}\" end def b(arg) puts \"b was called with #{arg}\" end def c(arg) puts \"c was called with #{arg}\" end end Is it possible to do such thing ? I would like to avoid procs/lambdas because I want to be able to change the behaviour of A,B,C by subclassing .", "Let $\\displaystyle \\sum a_n$ be convergent series of positive terms and set $\\displaystyle b_n=\\sum_{k=n}^{\\infty}a_k$ , then prove that $\\displaystyle\\sum \\frac{a_n}{b_n}$ diverges. I could see that $\\{b_n\\}$ is monotonically decreasing sequence converging to $0$ and I can write $\\displaystyle\\sum \\frac{a_n}{b_n}=\\sum\\frac{b_n-b_{n+1}}{b_n}$, how shall I proceed further?", "If $k>0$ is a positive integer and $p$ is any prime, when is $\\mathbb Z_p[\\sqrt{k}] =\\{a + b\\sqrt k~|~a,b \\in\\mathbb Z_p\\}$ a field.", "Getting the name of the currently executing method", "How to convert a list of string to a list of int", "How can I take a photo which shows the skyline and the person who is standing around six feet away from the camera with proper lighting at night? For taking just the skyline I've used long shutter speed and it turned out great, but when including a person on it, the person becomes blurry because it's impossible for a person to remain static for that long. Ps. I do have two flashes, 35mm prime lens as well as 18-300mm zoom lenses as well. The camera I use is Nikon D7200.", "I have an area which is divided into several zones the borders of which I have defined as separate layers. The layers are defined by sql queries on a postgis table of line segments joined with a table that says which segments are part of which zone boundaries. What I want to do is produce a set of maps where each map is a zoom to layer extent for each zone and which has standard header, legend and scale (which will preferably vary with the zone but could be fixed across all maps). My first attempt was to get a new composer for each map -- that worked but was rather tedious. Next I tried producing one map and printing it and then deleting the map frame and going into qgis to zoom to the next layer extent and make the boundary visible then hopping back into the composer to load it in. This worked more or less. Map was fine, legend was OK because it was the same for all the maps and the zone name was easy to edit but the scale needed to be deleted and set up again for each map. Next I looked at Atlas Generation. The manual seems to assume that you know how it works and all you need is a reminder about the details (like so many software manuals ;) It seems to assume that you have something that you are iterating over but I can't see how to make it work -- there is nothing to iterate over to get the layers. Any suggestions welcome!! :) Russell", "How to copy only file attributes (metadata) without actual content of the file?", "Can I mount the root (system) filesystem as writable in Big Sur?", "How to (properly) remove the parentheses around the year in authoryear style? (v3) I have a question that has been answered a few times, but does not work for me (and also not for another commenter in a previously asked question). I want to remove the parenthesis around the yead in the bibliography with biblatex style authoryear, and ideally also add a comma and space before it. I have looked at the following questions: I use biber 2.10 and TexLive 2017/W32Tex. This MWE should work according to the question v2 above, but does not work for me, i.e. the output is still Author, Anne (2001a). Alpha. The output I need is Author, Anne, 2001a. Alpha. \\documentclass{article} \\usepackage[style=authoryear,dashed=false]{biblatex} \\usepackage{xpatch,filecontents} \\begin{filecontents}{\\jobname.bib} @misc{A01,author={Author, Anne},year={2001},title={Alpha}} @misc{A02,author={Author, Anne},year={2001},title={Beta}} \\end{filecontents} \\addbibresource{\\jobname.bib} \\xpatchbibmacro{date+extrayear}{% \\printtext[parens]% }{% \\setunit*{\\addperiod\\space}% \\printtext% }{}{} \\begin{document} \\nocite{*} \\printbibliography \\end{document}", "Conditional conundrum A friend and I are having a debate about a most perplexing piece of English grammar. Now, I am a native English speaker, and he is Polish - this means that he is rather clued up on the grammatical side of things, whereas I know diddly squat, but know what feels right. We were discussing Poland's next world cup match tomorrow, when Poland plays against Colombia, and I wrote to him after he me sent a heartwarming video (jokingly, of course), that 'I think threats of stoning if they don't succeed would be more effective.' He replied that such a sentance should be in the second conditional tense, and thus go like 'I think threats of stoning if they didn't succeed would be more effective.' So after a lively debate as to whether this is the second, first, or not even a conditional, I have no choice but to turn to the denizens of the interweb, to ask them to apply their grammatical expertise to resolve this vital question. Thanks in advance, Conor", "I installed Windows 7 fresh and installed SP1. Now, when I try to check manually for Windows Updates it just hangs on the Checking for updates screen. I tried running the tools in , but this did not fix the issue either: No matter what I do it just hangs on the \"Checking for updates...\" screen and goes no further.", "I'm writing my final report in LaTeX for my bachelor's degree. I'm aiming at having a document similar to the .doc template used normally. I want to have my customs headers and footers applied on pages when I'm starting a new chapter. I'm using documentclass report with fancyhdr and lastpage packages. My headers are defined like this: \\lhead{\\myTitle} \\rhead{\\today} \\cfoot{\\thepage\\ of \\pageref{LastPage}} My chapters are created using standard \\chapter{title} macro. On pages with new chapters, the only headers/footers I see is the standard page number at the bottom. What should I do? EDIT: I've finally gone with Peter Breitfeld's solution. I'Ve gone a step further and created my own chapter command: \\newcommand{\\myChapter}[1]{ \\chapter{#1} \\thispagestyle{fancy} } Thanks for the help!", "Are files created in \"/storage/emulated/0\" supposed to appear in \"/storage/sdcard0\"? From what I guess, internal storage is available by every user. If emulated storage is a storage location, made for a specific user, are files created in /storage/emulated/0 supposed to appear in /storage/sdcard0? I assume no, because files that are user created should show up in emulated only, otherwise files created by the user would be available for all other users to see." ]
medi_sts_stackexchange_dupe
Timestamping each line of a file with a date taken from the file itself
update line based on previous line
[ "Using the Terminal keybindings with bash on macOS I have been trying to learn the keyboard shortcuts for the shell on macOS, but when I tried using ALT+B, it did not work. How do you discover, configure and use keybindings in the shell? Any cheatsheets would be helpful.", "What do the supercharges in extended supersymmetry do? What do the supercharges in do? In ${\\cal N}=1$ supersymmetry there are a certain number of fermions and and equal number of bosons. You can transform all fermions to the bosons (and vice versa) in a 1 to 1 fashion using a single supercharge, $Q$. So what happens when you have, for example, ${\\cal N}=2$ supersymmetry with 8 supercharges? Since $Q$ is a generator of supersymmetry transformations, is it a linear combination of these supercharges that act on the particles? In which case could one particle be acted on by two separate linear combinations of $Q$? Or is it strictly one linear combination of $Q$ per fermion/boson? Also, what does ${\\cal N}$ mean physically? What difference does ${\\cal N}=2$ have to ${\\cal N}=1$ other than more supercharges? Or is that the only difference between the two theories?", "How to install Flash player on Ubuntu? Even though I have the latest Adobe Flash player 11.2 for Linux in Firefox - - a particular online flash game still requests that I update to the latest flash player. I've tried this online game on my laptop (Windows 8 with Flash Player 11.8) and it has no problems. Is there a way to trick Ubuntu or this game into thinking Flash Player 11.8 is \"installed\"?", "How can I donate to Ubuntu without PayPal? When I wanted to download Ubuntu 12.10 from ubuntu.com, I was asked to make a donation. However, there is only a PayPal option to make the payment. But I don't use PayPal. Is there any other option to make the payment?", "Setting Low Disk Space Alerts on Windows Server 2008", "OpenLayers 3: Cross-Origin Request Blocked: The Same Origin Policy disallows", "How do I assign the output of a command into an array?", "Left pedal coming loose On my bike, which I just built out of spare parts, the left pedal seems to constantly be coming loose. It seems to come out about 5m every time I ride ~10km. It's an old cotter pin crank, and the pedal is a left pedal (there's an L stamped into the end of the screw that goes into the crank). The pedal has a crack in one side of the axle compartment, but I don't think that would affect it. I thought that these pedals had left-hand threads so that the action of pedalling would work to tighten the screw? If so, why would this be happening, and is there anything I can do about it short of replacing the crank and pedal?", "I am a Saint Lucian and will be traveling to Manchester, UK soon about which I am a bit nervous. Run Down: I own a small business in my country (in the Caribbean), I have a certificate mentioning the details of the business from my Government. I pay rent in my country, but I do not have any loans (I hate owing). I pay life insurance in my country. I have a US B-1/B-2 visa (Visitor &amp; Business). I have visited the US once (last year November) on my US B-1/B-2 visa. What I will be doing in the UK: I plan to spend three months out of the six months which would be granted if I get leave to enter stamp. I plan to skydive in the first week and spend a few nights at an Airbnb. I plan to visit the Manchester Football Club stadium, I'm not the biggest of football fans but since I'm in Manchester, why not! I plan to do some more sightseeing and enjoy my time there. After the first week I will be staying with my female friend who owns an apartment for the rest of the time showing me around and helping me experience the UK lifestyle until June. Why I'm leaving in June: I am a WordPress enthusiast (I'm a Programmer) and WordCamp EU will be happening in France this year so I plan to fly from the UK to Paris where I will spend three days then take another flight from there to my country. How my flights will be: I will be taking a one-way Thomas Cook flight from my country to Manchester but will be purchasing my ticket for Manchester to France ahead of time so I could show Thomas Cook as well as Immigration that I don't plan to stay. My concerns, could someone address them point by point please?: I have a bank account but I just use it for collecting easy payments from my clients and pay for expenses. I store my savings in a credit union because of higher interest rates paid than the bank. When I applied for my US visa I showed a credit union statement showing my total balance. I'm seeing online that I should provide statements but these statements would look very bad since I my bank account is just for expenses... I mean it sometimes gets as low as $30 then, when my monthly earnings come in from clients, I withdraw savings to the credit union and leave what I need in the account for expenses. I read another post and it said people with bank statements showing poor spending might have difficulty but it's simply because the account is used for expenses not savings. For the later stages of my visit (after the first week) I will be staying with my friend. I will simply be staying with her to save on cost of Airbnbs for the next two months three weeks, even though they could be cheap, free is better right? I will be booking the Airbnb, skydiving and tours prior to traveling to the UK, will that help? Is my stay too long for staying with someone? I won't be depending on her for anything since I have my own funds...it's just convenient that she has a place where I could stay. If it is then I don't have a problem shortening my stay to 1-2 weeks and just head back to my country and take a separate flight to Paris in June. I am nervous because I really want to visit the UK and see my friend, I am also not sure if the minimum amount of time that could be given to a visitor is six months? What if I get a round trip for two weeks and the Immigration officer gives me exactly two weeks stay, is that possible? Or is the minimum they could give six months? Your help is very much appreciated, I want soon to try backpacking (nomad life) but I don't think my poor heart could take the stress of worrying about immigration :( Update Since people in the comments are asking about my relationship with the friend I plan to stay with even though she's from my country originally but now a UK citizens and we are simply friends.", "Custom hard edges in Blender", "Proving that if $A$ is a $8\\times 8$ matrix over $\\mathbb{R}$ and $A^3=A$, then $A$ is diagonalizable. If $A$ is a $8\\times 8$ matrix over $\\mathbb{R}$ and $A^3=A$ then prove that $A$ is diagonalizable. I have got that the minimal polynomial of $A$ may be $x^3-x$ or $x$ or $x(x+1)$ or $x(x-1)$ in the 2nd case it is not possible in the 3rd and 4th cases the matrix will be the identity matrix or identity matrix multiplied by a scalar! But I cannot reach any further.", "Why doesn't \"its\" have an apostrophe? I know that its is the possessive and it's is the contraction, and know when to use them. But why doesn't the possessive have an apostrophe? \"The bear's eating a fish.\" [contraction] \"The bear's coat is brown.\" [possessive] \"It's eating a fish.\" [contraction] \"Its coat is brown.\" [possessive] \"One's eating a fish.\" [contraction] \"One's coat is brown.\" [possessive] lists the etymology as \"From +‎ \", and says that this is actually the original form: Originally written it's, and still deliberately spelled thus by some writers until early 1800s. So what happened to the apostrophe? When did people stop using it, and why did they? It seems that it's as the possessive is more natural, as most people do this until they're taught that it is wrong (or even after). Update: Online Etymology Dictionary has been updated to include two potential explanations: The apostrophe came to be omitted, perhaps because it's already was established as a contraction of it is, or by general habit of omitting apostrophes in personal pronouns (hers, yours, theirs, etc.). Can anyone back up either of these arguments? The possessive one's still has the apostrophe, despite these.", "How can author deal with late reviews? Another problem I personally struggle with in peer-review publication process is the situation when review takes really, really, really long. The precise definition of \"long\" is probably very area-specific: for example a paper in Maths will probably took longer to review than one in Physics. Many well-established journals and major publishers, sadly, prefer not to specify the \"rules of the game\" precisely, particularly how long the review process should normally take. Fortunately, I quite often serve as a referee with the very same journals and know the amount of time I am given to write a review. Unfortunately, when I am an author, I do not observe these deadlines to be always met. For example, a notable U.S. publisher would ask a reviewer to send a review in 2 months; but in practice a first review of my paper once took as long as 8 months. As a rule of thumb, I usually start writing to editors with questions about \"the status of my paper\" in X+1 months time, when X is a deadline time for a reviewer to submit a review. This strategy is not particularly successful &mdash; what I usually get is a recommendation to be more patient. Since there is no \"official\" deadline time announced, there is no formal ground for complaints here. Of course, such delays lead to a whole bunch of funny situations, particularly if a preprint is put online (e.g., on arXiv) and the results are presented in some conferences. Follow-ups with no official paper to cite, grant applications in which you can not justify by a solid publication, good research but bad bibliometrics or CV, to name just a few. Could you recommend an efficient way to deal with this problem?", "Any way to tell apart a CPU defect from a mainboard defect?", "What's the deepest reason why QCD bound states have integer charge?", "How to remove chromium-browser settings from Ubuntu 14.04? I have already gone through and I'm really not getting why the solutions given there are not working for me. What I'm doing is: sudo apt-get purge chromium-browser rm -rf ~/.config/chromium Then reinstalling by running the following command: sudo apt-get install chromium-browser This must remove the settings of chromium-browser and do a fresh installation. The browser is uninstalling, but after being installed it is containing the previous settings, moreover it's not signing me out of even Gmail!", "Scheduling a team based activity with 10 different teams and X different games. Every team must meet each other ONCE but never twice, Hi there I am planning a ”Scavenger hunt”-like activity (I have no other words for this event), and I am having trouble creating the schedule. The idea of this hunt/run/game/competition is that 10 teams will battle each other at X different mini games. The games on are team vs. team based, meaning that there will always be two teams on each post and one winner and one loser. I require that every team fights every other team. Meaning that team 1 will have to meet team 2, 3, 4, 5, 6, 7, 8, 9, and 10, and team 2 will have to meet team 1, 3, 4, 5, 6, 7, 8, 9, 10 (and so forth). The amount of mini games must be so, that every team only meets the other teams ONCE each, but still they have to meet every team. How many posts do I need to create, and how could I schedule the overall activity? (A table of rounds and teams would be much appreciated).", "Why doesn't this C++0x code call the move constructor?", "I created a custom module in drupal 8. And I am trying to add js and css file in my_module.libraries.yml file using this lrv_key: version: 1.x js: js/lrv.js: {} dependencies: - core/jquery - core/drupalSettings css: theme: css/lrv.css: {} But it doesnt work.", "After MiKTeX update: suddenly all fonts (incl. existing path-referenced ttf files) are not found by fontspec / LuaLaTeX anymore" ]
medi_sts_stackexchange_dupe
Connect to highway coming from outside city limits
How do I connect the initial highway to my six-lane road?
[ "How to draw open-close interval in LaTeX I am using the following commands to have half-open interval in a real line: \\begin{tikzpicture}[scale=7] \\draw[-&gt;, thick] (-0.1,0) -- (1.7,0); \\foreach \\x/\\xtext in {0/8,0.2/$S_1$,0.4/$T_4$,0.6/$S_3$,0.8/$T_2$,1/$S_3$,1.2/14,1.4/$S_3$,1.6/16} \\draw[thick] (\\x,0.5pt) -- (\\x,-0.5pt) node[below] {\\xtext}; \\draw (0.2,0.5pt) node[above] {$c$}; \\draw[[-), ultra thick, blue] (0.2,.01) -- (.4,0.01); \\draw[(-, ultra thick, green] (0.6,.02) -- (1,0.02); \\end{tikzpicture} Now, I need to have an open-close interval, but I am not able to have that close interval at the end, using the following command: \\begin{tikzpicture}[scale=7] \\draw[-&gt;, thick] (-0.1,0) -- (1.7,0); \\foreach \\x/\\xtext in {0/8,0.2/$S_1$,0.4/$T_4$,0.6/$S_3$,0.8/$T_2$,1/$S_3$,1.2/14,1.4/$S_3$,1.6/16} \\draw[thick] (\\x,0.5pt) -- (\\x,-0.5pt) node[below] {\\xtext}; \\draw (0.2,0.5pt) node[above] {$c$}; \\draw[(-], ultra thick, green] (0.6,.02) -- (1,0.02); \\end{tikzpicture} May I ask for anybody help?", "Interview Question Asked In yahoo Can you find the smallest positive number such that if you shuffle the digits of the number in a particular order, the shuffled number becomes twice the original number. Source: I understand the answer is $125874 =&gt; 251748$ $251748$ is twice the $125874$ and have same digits $1,2,4,5,7$ &amp; $8$ but how to solve this non programmatic ?", "A question of Euclidean domain", "Is there an alternative to string.Replace that is case-insensitive? I need to search a string and replace all occurrences of %FirstName% and %PolicyAmount% with a value pulled from a database. The problem is the capitalization of FirstName varies. That prevents me from using the String.Replace() method. I've seen web pages on the subject that suggest Regex.Replace(strInput, strToken, strReplaceWith, RegexOptions.IgnoreCase); However for some reason when I try and replace %PolicyAmount% with $0, the replacement never takes place. I assume that it has something to do with the dollar sign being a reserved character in regex. Is there another method I can use that doesn't involve sanitizing the input to deal with regex special characters?", "There is an option to filter only one color (R,G,B,Y) in my camera. What I want to know is can this effect be achieved in photoshop? And what is this called? I tried googling monochrome and came up with nothing. My camera calls it part color.", "Simplifying adjacent polygons using QGIS Simplify Geometries tool", "Infinite Series $‎\\sum\\limits_{n=2}^{\\infty}\\frac{\\zeta(n)}{k^n}$ ‎If $f\\left(z \\right)=\\sum_{n=2}^{\\infty}a_{n}z^n$ and $\\sum_{n=2}^{\\infty}|a_n|$ converges then‎, $$\\sum_{n=1}^{\\infty}f\\left(\\frac{1}{n}\\right)=\\sum_{n=2}^{\\infty}a_n\\zeta\\left(n\\right)‎.$$ ‎Since if we set $C:=\\sum_{m=2}^{\\infty}|a_m|&lt;\\infty$‎, ‎then‎ $$\\sum_{n=1}^{\\infty}\\sum_{m=2}^{\\infty}|a_m\\frac{1}{n^m}|\\leq\\sum_{n=1}^{\\infty}\\sum_{m=2}^{\\infty}|a_m|\\frac{1}{n^2}\\leq C\\sum_{n=1}^{\\infty}\\frac{1}{n^2}&lt;\\infty‎$$ and ‎by Cauchy's double series theorem‎, ‎we can switch the order of summation‎: $$\\sum_{n=1}^{\\infty}f\\left(\\frac{1}{n}\\right)=\\sum_{n=1}^{\\infty}\\sum_{m=2}^{\\infty}a_m\\frac{1}{n^m}=\\sum_{m=2}^{\\infty}a_m\\sum_{n=1}^{\\infty}\\frac{1}{n^m}=\\sum_{n=2}^{\\infty}a_n\\zeta\\left(n\\right)‎.$$ This shows that $‎\\sum_{n=2}^{\\infty}\\frac{\\zeta(n)}{k^n}=\\sum_{n=1}^{\\infty}\\frac{1}{kn(kn-1)}$. My Questions: 1) It's obvious that $\\sum_{n=1}^{\\infty}\\frac{1}{2n(2n-1)}=\\log(2)$, but how can I evaluate $\\sum_{n=1}^{\\infty}\\frac{1}{3n(3n-1)}$? 2) Is there another method to evaluate $\\sum_{n=2}^{\\infty}\\frac{\\zeta(n)}{k^n}$?", "creating a tar archive without including parent directory I am trying to create a graphical program for my script. Inside the script I use tar to create a tar archive. From the graphical program I get the full name of file that I want to create a tar archive. tar -cvf temp.tar /home/username/dir1/dir2/selecteddir My tar archive includes home, username, dir1, dir2 and selecteddir while i want tar to create archive only including selecteddir.", "Understanding the formula for the Confidence Interval of the difference between two sample proportions", "After my suspension period, my reputation was not returned On Stack Overflow, I have a suspension period of 7 days which ends today. But my actual reputation has not been returned to me as one of the moderators said it would. I have a message like this by @Andrew Barber: Once your suspension period is over, you will be returned to your correct reputation level, minus the votes from the accounts which have been deleted. At that time, you are more than welcome to return, and continue contributing your knowledge, and gaining legitimate reputation points. Just please keep our rules in mind when you do. Regards Andrew Barber, Stack Overflow moderator Can any moderator here help me or tell me what the rules are of getting back my reputation? How can I get the attention of a moderator so that they can resolve my problem?", "Greatest and Least Resistance and Current Characteristics of Parallel vs Series circuits Which type of circuit would have the greater resistance? Which type would have the greater current? and Why? My book says that parallel has the greater resistance than current as parallel wiring if thought as water pump tubes has greater resistance during water flow. Contrary to my book, if I make up numbers to solve for which has the greater resistance, i find that series has greater resistance. Equivalent resistance of 2 Ohm resistor in series is greater than that of 2 resistors with 2 ohms in parallel. I", "Take the following two lines of code: for (int i = 0; i &lt; some_vector.size(); i++) { //do stuff } And this: for (some_iterator = some_vector.begin(); some_iterator != some_vector.end(); some_iterator++) { //do stuff } I'm told that the second way is preferred. Why exactly is this?", "Execute a command once per line of piped input? I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \\; but I'm curious about the general case - is there an easy way to say \"run a command once for every line of standard input\"? (In fish or bash.)", "How to upload an mp3 to Facebook? I know it's possible to upload videos to Facebook. Is it possible to upload an mp3 to Facebook using their user interface?", "I want to convert .mov to .mp4! I saved the video from iMovie but it is in .mov format! How do I convert it to .mp4? I'm using a MacBook and I want to share it to my phone, but my phone can't open .mov format video.", "For days I tried several ways to install Windows 10 . With Windows Update I have always an error and with the media creation tool microsoft I have this message: \" The installation failed in SAFE_OS phase with an error when BOOT operator \" with this code : 0xC1900101 - 0x20017 Having tried everything I do not know what to do ... Can you help me please ? Thank you PS: I migrated my OS with the software \"Paragon migrate OS to SSD\" from my hard disk to my SSD. Maybe I have this errors because I did this....", "Is there an GUI Designer for python?", "Laurent series expansion", "Converting a short cage rear derailleur to a long cage derailleur Is it possible to convert a short cage rear derailleur (for example the Huret Svelto) to a long cage derailleur by just taking the lower cage and replacing it by a longer one?", "Why this JSFiddle does not work" ]
medi_sts_stackexchange_dupe
Can I mix dual-rank and single-rank ram for my Dell XPS 15 9750 laptop
Can we mix dual-rank and single-rank DDR4 RAMs
[ "An English book tells me that the following sentence is correct: This publication is made from paper from sustainable forests. Shouldn't it be of paper instead?", "Negative energy levels in the diagram for a hydrogen atom The higher the number of the shell (n), the higher is the energy level of the electron. However, why was it necessary to have negative values. So for example, when $n=1$, the energy could be $5 eV$ and for $n=2$, $6 eV$... having positive values could also have supported the idea that as $n$ increases, energy of electron increases. What is the point of having negative numbers, does it somehow aid calculations?", "How to count number of words from String using shell", "Android - Call log/ history : Retrieve a dialed number when there was no network coverage I dialed a number when I had no network support but it does not appear in the call history of my android phone. Is there any way to get it ? (system logs or whatever) THanks a lot in advance, Jack", "If my Schengen visa starts on the day of arrival which is one day ahead of departure, would they let me get into the plane? I have a question, I applied for the Schengen visa through Germany, on the form they ask me when I'd arriving (to Germany) and when I'd returning. they take this exact date as the visa period. I wondering if they would let me get into the plane, even though my flight it a day before the arrival. Let get the real deal; let say this: My visa is valid from 02/12/2014 to 02/02/2015. But, my flight is scheduled to be departing on 01/12/2014, but entering Germany 02/12/2014. the flight duration is almost 9hours and there is 7hours difference between Germany and the departing flight country.", "Splitting words into specific fragments", "Why $(a+d)(b+c)$ equals $-16$? If $a,b,c$ and $d$ satisfy the equations:$$a+7b+3c+5d=0$$$$8a+4b+6c+2d=-16$$$$2a+6b+4c+8d=16$$$$5a+3b+7c+d=-16$$ then $(a+d)(b+c)$ equals $-16$. I can't understand why $(a+d)(b+c)$ equals $-16$?", "Let $f:\\Bbb{R}\\to\\Bbb{R}$ be a function given by $$f(x)=\\begin{cases} \\exp\\left(\\frac{1}{x^2-1}\\right) &amp; \\text{if }\\vert x\\vert\\lt 1\\\\ 0 &amp; \\text{if }\\vert x\\vert\\geqslant 1 \\end{cases}$$ I would like to prove that $f\\in C^\\infty$, that is, $f\\in C^k$ for all $k\\in \\mathbb{N}$. I think that it can be done by induction on $k$. If $\\vert x\\vert\\gt1$, the problem is trivial. On other points, the base case is the simplest and the only that I'm be able to do. Can someone help me? Thanks.", "Isn't the const modifier here unnecessary?", "I read this book in Middle School and I can't for the life of me remember the title, but I can remember what it was about for the most part: Takes place in the future, the government imposes laws that outlaw people from being different in appearance and skill level. For example, if you are fast or strong or tall, they will put weights on you to weigh you down so that you'll be more slower/shorter and more like the average. Another example, if you are pretty the government issues you \"ugly glasses\" etc. Basically, it's all about making sure everyone is equal and punishing the extraordinary. One of the main characters (a man) decides to literally loose himself of his shackles and weights, breaking them to display his power (if I'm remembering correctly). Any ideas folks?", "Narrow-phase collision detection algorithms", "How to disable Spotify indicator in the top panel? The Spotify indicator icon clashes with the native Unity theme, and is redundant, since it is already listed in the Sound indicator menu. Is there a way to remove or disable the Spotify indicator? Or at least to change the icon (couldn't grep it on my filesystem). I am using the Spotify \"preview\" with 12.04. Thanks!", "I have one bash source run.sh as follows, #!/bin/bash if [ $# -ne 1 ]; then exit fi ... when I execute it in two ways, there are different behaviors. The first way is, source run.sh It will close the terminal after execution. The second way is, ./run.sh this will simply finish running the script, and stay on the terminal. I am asking if there is a command for exiting a bash scripts for both source run.sh and ./run.sh execution. I have tried return too, which does not work well under ./run.sh execution. More generally, I am interested in why this is happening, and what's difference between using \"source\" and \".\" for script execution?", "Prove $[\\sin x]' = \\cos x$ without using $\\lim\\limits_{x\\to 0}\\frac{\\sin x}{x} = 1$ I came across this question: From the comments, Joren said: L'Hopital Rule is easiest: $\\displaystyle\\lim_{x\\to 0}\\sin x = 0$ and $\\displaystyle\\lim_{x\\to 0} = 0$, so $\\displaystyle\\lim_{x\\to 0}\\frac{\\sin x}{x} = \\lim_{x\\to 0}\\frac{\\cos x}{1} = 1$. Which Ilya readly answered: I'm extremely curious how will you prove then that $[\\sin x]' = \\cos x$ My question: is there a way of proving that $[\\sin x]' = \\cos x$ without using the limit $\\displaystyle\\lim_{x\\to 0}\\frac{\\sin x}{x} = 1$. Also, without using anything else $E$ such that, the proof of $E$ uses the limit or $[\\sin x]' = \\cos x$. All I want is to be able to use L'Hopital in $\\displaystyle\\lim_{x\\to 0}\\frac{\\sin x}{x}$. And for this, $[\\sin x]'$ has to be evaluated first. Alright... the definition that some requested. Def of sine and cosine: Have a unit circumference in the center of cartesian coordinates. Take a dot that belongs to the circumference. Your dot is $(x, y)$. It relates to the angle this way: $(\\cos\\theta, \\sin\\theta)$, such that if $\\theta = 0$ then your dot is $(1, 0)$. Basically, its a geometrical one. Feel free to use trigonometric identities as you want. They are all provable from geometry.", "I would like to install Office 2015/365 on Ubuntu 15.04. I tried to install Office using Wine, but that did not work. Please note that I do not want virtualisation unless it has a -like behaviour, where application windows are treated like regular Ubuntu application windows by the system.", "How can I see flags I cast from all sites?", "How many solutions has the equation $\\sin x= \\frac{x}{100}$ ? How many solutions has the equation $\\sin x= \\frac{x}{100}$ ? Usually when I was asked to solve this type of problem, I would solve it graphically but this one seems to be trickier. It doesn't seem wise to put $f(x)=\\sin x$ and $g(x)=\\frac{x}{100}$ in the same graph and then counting all the intersection points. What would be some algebraic methods to solve this?", "Why is it called an “Indian file”?", "Proving the so-called \"Well Ordering Principle\" Is there anything wrong with the following proof? Theorem. Every non-empty subset $B \\subset\\mathbb{N}$ has a least member. Proof. Assume not. Then, of necessity, we'd have to have $B=\\varnothing$, for if $B$ contained even one $b\\in\\mathbb{N}$, then that $b$ would satisfy $b=min(B). $ Contradiction, end proof. I get the sense there is something wrong here, but I can't seem to define exactly what. Also, is there a context where one can simply take this principle as an axiom, and not have to prove it? After all, it is extremely intuitive. Thanks.", "Intuition for multiple temporal dimensions It’s easy, relatively speaking, to develop an intuition for higher spatial dimensions, usually by induction on familiar lower-dimensional spaces. But I’m having difficulty envisioning a universe with multiple dimensions of time. Even if such a thing may not be real or possible, it seems like a good intellectual exercise. Can anyone offer an illustrative example?" ]
medi_sts_stackexchange_dupe
Java - Attempt to read from a null 2-D Randomly Generate Array
What is a NullPointerException, and how do I fix it?
[ "Should initial e's after h-dropping be capitalized? A new Victorian-set British novel begins sentences containing h-dropping with lower-case e's, as in \" 'e took my money, 'e did.\" This seems incorrect but I'm at a loss to find the rule.", "Organize uploads by year, month and day", "Time Traveler steps on a butterfly, changes everything I heard of this in high school, but never learned its title or author- supposedly the aforementioned worm butterfly would have played a part in evolution that caused the extinction of the dinosaurs (instead of that meteor most people blame now). This story might even have been parodied on a certain Simpsons Halloween Special (the one where Homer accidentally makes a time machine trying to fix the toaster).", "Catch multiple exceptions at once?", "How to cleanly launch a GUI app via the Terminal? Some GUI apps launch cleanly via the Terminal command line, but some don't, and they cause the Terminal to wait for the app to terminate. Even then, some don't \"release\" the command line. The mysterious ampersand &amp; suffix seems to cause the terminal to put the process into the background (but I'm not sure what happens there). Is there a way to launch an app via the Terminal so that there is no \"hang on\" effect, just like launching something via Alt+F2? I'd like to have the command line available again immediately, without something still in the background and printing in the terminal.", "Error : Warning: strpos() [function.strpos]: Offset not contained in string - can not find solution", "Rails Previous Sunday in Relation to Any DateTime", "Is it possible to get the ID of a Contact which is part of a Person Account? I have a custom object which has a custom field referencing the Person Account, though it seems to be referencing the Contact directly. I have created a button which I am using to pass the ID into a Visualforce Page. With the Insert Field drop-down on the create/edit button page I can put in {!Account.Id} or {!Contact.Id} but neither of these work. The Account ID is placed in the URL but is not the correct ID and the Contact ID is blank, which I assume is because the button is on a Person Account page and not a Contact Page.", "How do I put a stencil-like texture across a sectioned object?", "I'm trying to show that a finite sum of eigenspaces (with distinct eigenvalues) is a direct sum. I have $ \\alpha : V \\to V $. The eigenspaces are $ V_{\\lambda_i} = \\ker(\\alpha - \\lambda_i id_V )$ for $ 1 \\leq i \\leq n $. My attempt at a proof: $ A + B $ is a direct sum iff $ A \\cap B = \\{0\\} $. If $ v \\neq 0 \\in V_{\\lambda_i} \\cap V_{\\lambda_j} $ for some $i,j, i \\neq j $, then $ \\alpha(v) = \\lambda_i v $ and $ \\alpha(v) = \\lambda_j v $. So $(\\lambda_i - \\lambda_j)v = 0 $, and so $ \\lambda_i = \\lambda_j $. This is a contradiction, so any pair of the eigenspaces have trivial intersection. Therefore $ \\cap_{i=1}^n V_{\\lambda_i} = \\{0\\} $, and so we have a direct sum. Is this ok? Thanks", "iOS 9 Screen Recording in El Capitan I used to record iOS devices through QuickTime, however now it's only recording audio (not sure is this linked to OS X 10.11 or iOS 9). How can I fix this (without third party sofrware)?", "I have used the package nomencl. In my code I have incorporated the \\nomenclature as well. But when I compile, it is not showing me any results. My code is : \\documentclass[pdftex,12pt,a4paper]{report} \\usepackage{nomencl} \\makenomenclature \\begin{document} ---page numbering and other things included----- \\include{symbols} -----others--- \\end{document} symbols.tex \\chapter*{NOTATIONS} \\addcontentsline{toc}{chapter}{Notations} \\nomenclature{$G_e$}{Equivalent Shear Modulus} \\printnomenclature Shall I use \\nomenclature while explaining the chapter. Will It give me the same results? like \\documentclass[pdftex,12pt,a4paper]{report} \\usepackage{nomencl} \\makenomenclature \\begin{document} ---page numbering and other things included----- \\include{symbols} \\include{chap3-calculate_w} -----others--- \\end{document} symbols.tex \\chapter*{NOTATIONS} \\addcontentsline{toc}{chapter}{Notations} \\printnomenclature chap3-calculate_w.tex \\chapter{SETTLEMENT RESPONSE OF GEOSYNTHETIC REINFORCED GRANULAR FILL SOFT SOIL} \\label{chap:W} \\section{INTRODUCTION} In this thesis, the methodology to determine an Equivalent single layer shear modulus \\nomenclature{$G_e$}{Equivalent Shear Modulus},$G_e$ value for a...etc I am not getting the output in both these. Can someone help me with this?", "If a subring of a ring R has identity, does R also have the identity? I know it does not make sense that if a subring of a ring $R$ is commutative, then $R$ is also commutative. (For example, the set consisting of the matrices whose all entries except (1,1)-entry are zero, is a subring of ring of 2x2 real matrices.) I also considered the case of a ring containing a subring with identity, but I had no ideas. Maybe it seems that it does not make sense, either. Who give me some examples supporting my guess?", "Over the years I've written some libraries. These libraries sometimes depend on each other. As a result, the \"tex\" directory is structured as follows: tex ├── library | ├── library1.sty | ├── library2.sty | └── library3.sty ├── project1 | ├── master.tex | ├── chapter1.tex | └── chapter2.tex ├── project2 | └── article.tex └── project3 └── paper.tex The libraries depend on each other. As a result, in every library that depends on another library, this is part of the header: %library2.sty \\ProvidesPackage{library2} \\RequirePackage{../library/library1} In other words, the library is imported from the \"root of every project\". This is not a good design choice. What if someone copies the libraries in the folder of the root of a project, or what if the folder \"library\" is renamed... It is however reasonable the \"active directory\" still remains in the project root. What can be done to resolve such library dependencies?", "Why doesn't my Bash script recognize aliases?", "How to render an ASP.NET MVC view as a string? I want to output two different views (one as a string that will be sent as an email), and the other the page displayed to a user. Is this possible in ASP.NET MVC beta? I've tried multiple examples: 1. If I use this example, I receive the \"Cannot redirect after HTTP headers have been sent.\". 2. If I use this, I seem to be unable to do a redirectToAction, as it tries to render a view that may not exist. If I do return the view, it is completely messed up and doesn't look right at all. Does anyone have any ideas/solutions to these issues i have, or have any suggestions for better ones? Many thanks! Below is an example. What I'm trying to do is create the GetViewForEmail method: public ActionResult OrderResult(string ref) { //Get the order Order order = OrderService.GetOrder(ref); //The email helper would do the meat and veg by getting the view as a string //Pass the control name (OrderResultEmail) and the model (order) string emailView = GetViewForEmail(\"OrderResultEmail\", order); //Email the order out EmailHelper(order, emailView); return View(\"OrderResult\", order); } Accepted answer from Tim Scott (changed and formatted a little by me): public virtual string RenderViewToString( ControllerContext controllerContext, string viewPath, string masterPath, ViewDataDictionary viewData, TempDataDictionary tempData) { Stream filter = null; ViewPage viewPage = new ViewPage(); //Right, create our view viewPage.ViewContext = new ViewContext(controllerContext, new WebFormView(viewPath, masterPath), viewData, tempData); //Get the response context, flush it and get the response filter. var response = viewPage.ViewContext.HttpContext.Response; response.Flush(); var oldFilter = response.Filter; try { //Put a new filter into the response filter = new MemoryStream(); response.Filter = filter; //Now render the view into the memorystream and flush the response viewPage.ViewContext.View.Render(viewPage.ViewContext, viewPage.ViewContext.HttpContext.Response.Output); response.Flush(); //Now read the rendered view. filter.Position = 0; var reader = new StreamReader(filter, response.ContentEncoding); return reader.ReadToEnd(); } finally { //Clean up. if (filter != null) { filter.Dispose(); } //Now replace the response filter response.Filter = oldFilter; } } Example usage Assuming a call from the controller to get the order confirmation email, passing the Site.Master location. string myString = RenderViewToString(this.ControllerContext, \"~/Views/Order/OrderResultEmail.aspx\", \"~/Views/Shared/Site.Master\", this.ViewData, this.TempData);", "What exactly is a kilogram-meter? This question isn't just about kilogram-meters, it's about multiplied units in general. I have a good mental conception of divided units, e.g. meters per second or grams per cubic meter. Meters per second just (usually) means how many meters are traversed by an object each second. Simple. But I don't really have a mental conception of what it means when units are multiplied, e.g. a kilogram-meter. Can anyone explain in simple physical terms what a kilogram-meter is?", "After turning census block data into a raster, how do I redistribute the density to reflect land cover types I plan on rasterizing (terminology?) census block data relating to density to a regular 30 m by 30 m grid for use with NLCD data. I then hope to distribute the density of the original census block among each result set of grid cells within the original polygon according to the land cover type dictated by the NLCD dataset. For example, let's imagine a string of city blocks with a park, all found within one census block. If within this census block the average density is 1000 people/km^2, we ultimately would want the resulting grid cell containing the park to have a lower population density than the grid cells containing the surrounding apartments. This information may be captured by the NLCD dataset, with the park being classified as '21' (open but developed land) versus 24 for apartment buildings which could be classified as '24' (high density development). Is there a method, or set of methods, within ArcMap that would allow me to: Redistribute the density based on the NLCD value Perform this redistribution only within the original census block polygon I don't know if this is possible, but I figured I would ask. Edit Here's what I have been trying: I converted the census block data to a raster, snapping it to the NLCD land cover data and ensuring the output grid cells were the same size. Each cell contains the same info as the original census block (housing umbers, population, etc). I have been trying to figure out a way to edit the new grid so that if the NLCD grid cell contains a land cover type that doesn't support a business or housing (park, forest, farm, etc.) that it's housing and population values area set to 0. My next move was going to be figuring out how to subtract the non-residential/non-business grid cells area from the area of the original census block, and force a recalculation of the density. Converted the altered census block layer to grid cells again, with each having the new density value, and once again set the cells' housing, population, and density values that don't support a business or housing (park, forest, farm, etc.) to 0. Kind of circular, and I'm not sure of all the steps (raster calculator for editing individual grid cells based on another raster's grid cell value?), but it seems to logically work out if I can get the parts to work. On the other hand, @dof1985's answer seems to simplify the first part of my workflow (by directing me to the correct toolset), but I will still have to nullify the grid cells where parks, etc., do exits after the density has been recalculated for the census data.", "Class vs Struct for data only? Is there any advantage over using a class over a struct in cases such as these? (note: it will only hold variables, there will never be functions) class Foo { private: struct Pos { int x, y, z }; public: Pos Position; }; Versus: struct Foo { struct Pos { int x, y, z } Pos; }; Similar questions:", "Suppose $A,B,C$ are sets. Prove that $A\\mathbin\\triangle B\\subseteq C \\iff A\\cup C=B\\cup C$. Suppose $A,B,C$ are sets. Prove that $A\\mathbin\\triangle B\\subseteq C \\iff A\\cup C=B\\cup C$. I proved that for $x\\in A\\setminus B$, $x\\in A\\cup C$ and for $x\\in B\\setminus A$, $x\\in B\\cup C$. How do I show that $A\\cup C=B\\cup C$, and that $A\\mathbin\\triangle B\\subseteq C \\iff A\\cup C=B\\cup C$?" ]
medi_sts_stackexchange_dupe
Error pushing Time from WebForm to SalesForce (Using JSForce as connector and direct REST to Push)
Cannot deserialize instance of time from VALUE_STRING value
[ "If $f(\\frac{1}{n})=0$ all $ n\\to \\mathbb{Z^{+}}$ then find $ f'(0)$? Let $f: \\mathbb{R}\\to \\mathbb{R}$ be a twice differntiable function and $f(\\frac{1}{n})=0$ all $n\\in \\mathbb{Z^{+}}$? then which of the statement (s) are correct from below. (a)$f(0)=0$ (b)$f^{'}(0)=0$ (c)$f^{''}(0)=0$ (d)$f$ is a non zero polynomial I tried of using Tyler series but I wasn't able to do this any help would be appreciated thank", "Enqueuing Google Web Fonts the usual way, i.e., using the wp_enqueue_style function like so... function wpse_google_webfonts() { wp_enqueue_style( 'google-webfonts', 'http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700' ); } add_action( 'wp_enqueue_scripts', 'wpse_google_webfonts' ); ...results in a link tag placed in the header like so: &lt;link rel='stylesheet' id='google-webfonts-css' href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed%7COpen+Sans%3A400italic%2C700italic%2C400%2C700&amp;#038;ver=3.5' type='text/css' media='all' /&gt; As you can see, the resultant URL is encoded. I am pretty sure it poses no problems, but to keep things clean and clear, I would like to go ahead and ask -- Is there a way to enqueue Google Web Fonts (via functions.php and not a plugin) in a way that the URL output is not encoded? That's like so: &lt;link rel='stylesheet' id='google-webfonts-css' href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700?ver=3.5' type='text/css' media='all' /&gt; Reason For Bounty @webaware's answer is near perfect, especially because it's similar to the method employed in theme. The only problem in the output is that it's like this: &lt;link rel='stylesheet' id='twentytwelve-fonts-css' href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700&amp;#038;subset=latin,latin-ext' type='text/css' media='all' /&gt; Notice the &amp;#038;? It should be &amp;, otherwise the font-files served only have the latin glyphs (i.e. the subset parameter in the URL is neglected unless you use &amp; and NOT its HTML entity). Anyone who can help modify @webaware's answer so that the output's looks like this... &lt;link rel='stylesheet' id='twentytwelve-fonts-css' href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700&amp;subset=latin,latin-ext' type='text/css' media='all' /&gt; ...wins the bounty.", "I have this directory /foo/bar/. Inside, I have a python file named myfile.py. I made it executable by adding (at the top): #!/usr/bin/env python Then, I made it executable by issuing chmod +x myfile.py I edited my path by issuing sudo nano /etc/paths I added /foo/bar/ to it. The problem is that although I can run myfile.py by typing ./myfile.py while I am inside /foo/bar/, it doesn't work from any other location. What am I doing wrong? Thank you.", "Custom command does not reference a label created with a previous custom command", "My PC has a build-in VT1828S chip. The connection between PC and monitor (which has built-in speakers) is through an HDMI cable. Audio preferences shows 2 devices for audio output: analog stereo and RS880 Audio Device [Radeon HD 4200] digital stereo (HDMI). When I plug a headphone in the rear jack and I choose the former device, everything works. When I choose the latter device, instead, no sound is heard, and video playback is too fast. It is as if video frames want to synchronise with the audio timing, but the audio timing information is wrong. HDMI audio worked perfectly with Ubuntu 11.04, but stopped after 11.10 upgrade.", "Show that the dual space of the vector space of all polynomials is isomorphic to the infinite-dimensional Euclidean vector space over the reals May I please ask how to show the dual space of the vector space of all polynomials is isomorphic to the infinite-dimensional Euclidean vector space over the reals? (i.e. Show that $(\\Bbb{R}[X])^*$ and $\\Bbb{R}^{∞}$ are isomorphic where $\\Bbb{R}$ means the set of all reals)", "Using lasso for feature selection, followed by a non-regularized regression I use Lasso logistic regression in order to identify a smaller subset of important variables. I start with N=51 (28/23) and 32 predictors. So far it looks pretty promising, because I can identify four important predictors in my optimal model. Now I would like to take those four predictors and examine them along with some control variables in a standard logistic regression. My question is, does that analysis strategy make sense? Is there a better way to include controls or other variables that might be interesting? For a better understanding: Identify important variables via Lasso logistic regression Do further analysis including identified predictors and other control variables using standard logistic regression (using AIC to check model fit)", "Let $p &gt; 3$ be a prime such that $p \\equiv 2 \\pmod 3$. Define the elliptic curve $E$ over $\\mathbb{F}_p$ by $y^2 = x^3 + 1$. Prove that $E(\\mathbb{F}_p)$ consists of $p+1$ points. Using Fermat's little theorem you can prove that $x^3 + 1$ is a bijection on $\\mathbb{F}_p$. Hence, $$\\#E(\\mathbb{F}_p) = \\#\\{(x,y) \\in \\mathbb{F}_p^2 : y^2 = x^3 + 1\\} + \\#\\{\\infty\\} = \\#\\{(x,y) \\in \\mathbb{F}_p^2 : y^2 = x\\} + 1.$$ But then I am stuck trying to prove that $y^2 = x$ has $p$ solutions $(x,y) \\in \\mathbb{F}_p^2$.", "I was up late working with my red LED headlamp on and when I was looking at the black part of my LCD (Apple Retina Macbook Pro) screen I noticed this interesting diffraction pattern. I'm confused because all I can think of that would cause this are Fourier and Fraunhofer patterns which I thought required more advanced optics the light to be collimated. One friend suggested it might be the polarizer. Any thoughts? Unfortunately, the picture doesn't show this, but along the x and y axes there were discrete points not a continuous streak. Sorry for the horrible photo quality.", "I am working on the problems from the textbook \"Topology without tears\". I am stuck with problem number $4$ in Exercise $2.2$. Could anyone suggest some hints on how to proceed? The question goes as follows. A topological space $(X,\\tau)$ is said to satisfy the second axiom of countability or to be second countable if there exists a basis $\\mathcal{B}$ for $\\tau$, where $\\mathcal{B}$ consists of only a countable number of sets. Prove that the discrete topology on an uncountable set does not satisfy the second axiom of countability. Let $(X,\\tau)$ be the set of all integers with the finite-closed topology. Does the space $(X,\\tau)$ satisfy the second axiom of countability? For the first problem, I tried to argue by contradiction assuming that the basis for the topology is countable. But I did-not know what I need to look at to prove the contradiction. For the second one, I do not know where to start. I have not thought deeply on the second one though. Thanks, Adhvaitha", "Find a circle's radius with three known tangent lines I need to find the equation for a circle (mainly its radius) which is tangent to the following three lines: $y = 0$ $y = \\tan(70)x$ $y = -1.428148x + 0.790201$ For the last tangent line equation, I know that it is tangent at the point $(0.371272, 0.259968)$ However, for the other two I do not know the exact point of tangency, only that the circle is tangent to them.", "What else do I need to produce two dots above o?", "Discord suddenly very slow", "Encrypting as3 flash .swf", "Model Selection: Logistic Regression", "In which situations is it OK to omit articles in short sentences? Recently, in many new online software I often see that developers omit articles in short sentences, especially on action buttons or tooltips. For instance: \"Add new task\" (not \"Add a new task\"), \"Create project\" (not \"Create a project\"), but often in the same software I can see \"Make a copy\". What are situations it can be justified?", "Sum of $\\sum \\limits_{n=0}^{\\infty} \\frac{1}{(kn)!}$ Does a closed form exist for $$\\sum \\limits_{n=0}^{\\infty} \\frac{1}{(kn)!}$$ in terms of $k$ and other functions? The best that I have been able to do is solve the case where $k=1$, since the sum is just the infinite series for $e$. I would guess that any closed form must involve the exponential function, but am at a loss to prove it.", "Effective way to find any file's Encoding", "apt vs apt-get error code Strange thing I have here, when apt is locked by something. Respectively, the error codes don't match up. apt update seems to always return success 0, whereas apt-get update returns a proper error code. vlastimil@vb-nb-mint ~/Development/bash $ sudo apt-get update Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ vlastimil@vb-nb-mint ~/Development/bash $ echo $? 100 vlastimil@vb-nb-mint ~/Development/bash $ sudo apt update Reading package lists... Done E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ vlastimil@vb-nb-mint ~/Development/bash $ echo $? 0 apt's location: vlastimil@vb-nb-mint ~/Development/bash $ which apt /usr/local/bin/apt apt's version: vlastimil@vb-nb-mint ~/Development/bash $ apt-show-versions apt apt:amd64/xenial-updates 1.2.12~ubuntu16.04.1 uptodate I originally wanted to use apt for the manual upgrade script, but this changes the situation. Does someone understand error codes and such in order to help me with this?", "How can I disable the 2nd hard drive in my 27\" iMac?" ]
medi_sts_stackexchange_dupe
Class with templated class from different header wont compile
Why can templates only be implemented in the header file?
[ "I have Sanguinare Vampiris. I don't really want to become a vampire. How can I cure myself?", "Can't log in using Firefox in Stack Overflow", "How to type special/accented letters in LaTeX?", "Justify text inside itemize environment with beamer class", "Why are there so many different ways to measure disk usage?", "This question has an inverse: What would be the most efficient way to translate a combination of $k$-tuple into its positions within the $\\left(\\!\\!\\binom{n}{k}\\!\\!\\right)$ combinations? I need this to be fast for combinations of $\\left(\\!\\!\\binom{70}{7}\\!\\!\\right)$ order of magnitude - very large, but not exceeding 2 billion (fits into int32 maximum value). Below is an example of $\\left(\\!\\!\\binom{6}{3}\\!\\!\\right)$, where the aim is to quickly translate (a, d, f) tuple to value 9, while in the real problem $k$ ranges between 5 and 8. $$\\begin{array} {cccccc|c} a&amp;b&amp;c&amp;d&amp;e&amp;f&amp;^{combination}/_{sort\\_order}&amp; \\\\\\hline x&amp;x&amp;x&amp; &amp; &amp; &amp;1\\\\ x&amp;x&amp; &amp;x&amp; &amp; &amp;2\\\\ x&amp;x&amp; &amp; &amp;x&amp; &amp;3\\\\ x&amp;x&amp; &amp; &amp; &amp;x&amp;4\\\\ x&amp; &amp;x&amp;x&amp; &amp; &amp;5\\\\ x&amp; &amp;x&amp; &amp;x&amp; &amp;6\\\\ x&amp; &amp;x&amp; &amp; &amp;x&amp;7\\\\ x&amp; &amp; &amp;x&amp;x&amp; &amp;8\\\\ x&amp; &amp; &amp;x&amp; &amp;x&amp;9\\\\ x&amp; &amp; &amp; &amp;x&amp;x&amp;10\\\\ .&amp;.&amp;.&amp;.&amp;.&amp;.&amp;.\\\\ &amp; &amp; &amp;x&amp;x&amp;x&amp;20\\\\ \\end{array}$$ I know that I could pre-calculate all the combinations and reverse the lookup dictionary. However, such dictionary would not be efficient in terms of memory usage. Therefore I am looking for either calculation-based approach, or a more efficient data structure to perform this mapping.", "Turn off paragraph indention for a single line", "What's the hardest or most misunderstood aspect of LINQ?", "Some of the Puella Magi seem to have magical powers related to the wishes that they made. Sayaka has regeneration abilities, and she wished to heal someone. Homura has time manipulation abilities, and she wished to go back in time. But other magical girls, like Mami and Kyouko, don't appear to have powers related to their respective wishes. So, is there a connection, or is it only a coincidence for Sayaka and Homura? If it's the former, how do Mami and Kouko's wishes relate to their powers?", "Is there a correct gender-neutral singular pronoun (\"his\" vs. \"her\" vs. \"their\")?", "What are the proposed theoretical explanations for the EmDrive?", "Evaluation of $\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7}$ Evaluation of $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} = $$ $\\bf{My\\; Try::}$ I have solved Using Direct formula:: $$\\sin \\frac{\\pi}{n}\\cdot \\sin \\frac{2\\pi}{n}\\cdot......\\sin \\frac{(n-1)\\pi}{n} = \\frac{n}{2^{n-1}}$$ Now Put $n=7\\;,$ We get $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7}\\cdot \\sin \\frac{4\\pi}{7}\\cdot \\sin \\frac{5\\pi}{7}\\cdot \\sin \\frac{6\\pi}{7}=\\frac{7}{2^{7-1}}$$ So $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} =\\frac{\\sqrt{7}}{8}$$ Now my question is how can we solve it without using Direct Formula, Help me Thanks", "Accessing my Windows 7 files from my Ubuntu account", "Prove the identity $\\binom{2n+1}{0} + \\binom{2n+1}{1} + \\cdots + \\binom{2n+1}{n} = 4^n$ I've worked out a proof, but I was wondering about alternate, possibly more elegant ways to prove the statement. This is my (hopefully correct) proof: Starting from the identity $2^m = \\sum_{k=0}^m \\binom{m}{k}$ (easily derived from the binomial theorem), with $m = 2n$: $2^{2n} = 4^n = \\binom{2n}{0} + \\binom{2n}{1} + \\cdots + \\binom{2n}{2n-1} + \\binom{2n}{2n}$ Applying the property $\\binom{m}{k} = \\binom{m}{m-k}$ to the second half of the list of summands in RHS above: $4^n = \\binom{2n}{0} + \\binom{2n}{1} + \\cdots + \\binom{2n}{n-1} + \\binom{2n}{n} + \\underbrace{\\binom{2n}{n-1} +\\cdots \\binom{2n}{1} + \\binom{2n}{0}}_{\\binom{m}{k} = \\binom{m}{m-k} \\text{ has been applied}}$ Rearranging the above sum by alternately taking terms from the front and end of the summand list in RHS above (and introducing the term $\\binom{2n}{-1} = 0$ at the beginning just to make explicit the pattern being developed): $4^n = (\\binom{2n}{-1} + \\binom{2n}{0}) + (\\binom{2n}{0} + \\binom{2n}{1}) + \\cdots + (\\binom{2n}{n-1} + \\binom{2n}{n})$ Finally, using the property $\\binom{m}{k} + \\binom{m}{k-1} = \\binom{m+1}{k}$ on the paired summands, we get the desired result: $4^n = \\binom{2n+1}{0} + \\binom{2n+1}{1} + \\cdots + \\binom{2n+1}{n}$", "Nice proofs of $\\zeta(4) = \\frac{\\pi^4}{90}$?", "In swimming, is there a competitive advantage to being in one lane or another? Upon observing swimming competitions in the Olympics, it is not clear to me whether one of the eight lanes is more advantageous versus another. I've seen vague claims but nothing backed up with science. In competitive swimming, is there an advantage to being in one lane or another? Furthermore, does the stroke (ie: breast, fly, freestyle, etc.) affect this effect?", "Cubic polynomial with three (distinct) irrational roots I am looking for an equation $$x^3+ax^2+bx+c=0, \\qquad a, b, c \\in \\Bbb Z,$$ of degree $3$ that has $3$ different roots. For an equation of degree $2$ it is easy---for example $x^2-2=0$---but I can't find an example for degree $3$. if there is a method for finding this kind of Equation I will be grateful.", "if $A$ subset of $B$ then $P(B)-P(A)=P(B\\setminus A)\\ge 0$ Let $P$ be a probability measure on $(\\Omega, \\mathscr{F})$, If $a,b,\\in\\mathscr{F}$ and $A\\subset B$, then $P(B)-P(A)=P(B\\setminus A)\\ge 0$. So far I have: $A\\subset B \\implies B\\setminus A = B\\cap A^c = \\emptyset$ as $A$ and $B^c$ are disjoint. Since $A\\cup (B\\setminus A)=A\\cup (B\\cap A^c)=(A\\cup B)\\cap (A\\cup A^c)=B\\cap\\Omega = B$ Then for $A,B\\in \\mathscr{F}\\implies P(A\\cup (B\\setminus A))=P(A)+P(B\\setminus A) = P(B)$ by countable additivity. Rearranging, $P(B)-P(A)=P(B\\setminus A) \\ge 0$.", "App Store is the wrong language", "How do comment @replies work?" ]
medi_sts_stackexchange_dupe
Question of size in double slit experiment
Largest Mass Diffraction
[ "I am an operator (OP) on my friends Realm. Today I tried to play and noticed that no commands would work for me, or anyone else granted OP. They only worked for the owner of said realm. He has de-oped us and re-oped us with no cure to the problem. What's causing this? Also another problem that when he tries to reload the realm it fails every single time, any options that would fix this problem?", "How to set the monitor to its native resolution which is not listed in the resolutions list? After installing Ubuntu 10.04 with my Samsung SyncMaster B2030, native resolution (1600X900) is not found in the list of resolutions.", "What are the various physical mechanisms for energy transfer to the photon during blackbody emission? By conservation of energy, the solid is left in a lower energy state following emission of a photon. Clearly absorption and emission balance at thermal equilibrium, however, thermodynamic equilibrium is a statement of the mean behaviour of the system, not a statement that the internal energy is constant on arbitrarily short timescales. The energy has to come from somewhere during emission, and go somewhere during absorption. Energy in a solid can be stored as kinetic and potential energy of electrons and nuclei, either individually or in collective modes such as phonons and plasmons. In thermal equilibrium energy will be stored more or less in various forms depending on the temperature and material. However, even if most of the thermal energy in a particular solid at temperature $T$ is stored in the form of phonons, it could be that phonons primarily interact with light indirectly via electrons, e.g. a phonon excites an electron in a phonon-electron interaction, which can interact with light via the EM field. Given that light is an EM field, it makes sense to me that it is emitted and absorbed by charged particles. The electron-photon interaction is probably dominant for visible and ultraviolet light, given that metals are opaque, while semiconductors and insulators are transparent to (visible and UV) light with energy lower than their bandgap. However, once you get into energies in the IR and below, or X-rays and above, other mechanisms apparently take over. For example, on the high-energy end of the spectrum I've heard that gamma rays can interact directly with nuclear degrees of freedom, which is reasonable considering that gamma rays are emitted during a lot of nuclear reactions. A review of might give clues to important light-matter interactions over a broad range of wavelengths. Whether all of the these processes are involved in blackbody emission is a somewhat different question. What physical processes mediate energy transfer during blackbody emission, and in which energy ranges are the various processes dominant?", "Does 'A countable infinite Cartesian product of countable sets is not necessarily countable' violate induction principle? We have two theorems about Cartesian product: A finite Cartesian product of countable sets is countable; A countable infinite Cartesian product of countable sets is not necessarily countable. To prove the first theorem, we can show Firstly, we can prove $A\\times B$ is countable, Secondly, suppose it is true for $n-1$, i.e. $X=A_1\\times A_2\\times \\ldots \\times A_{n-1}$ is countable, we prove the case for $n$ by the fact $A_1\\times A_2\\times \\ldots \\times A_{n-1}\\times A_{n}=X\\times A_{n}$ is in fact the product of two countable sets, in above we know it is still countable. The above method to prove the first theorem is exactly the mathematical induction, which should show the theorem is true for all $n\\in\\mathbb{Z}_{+}$, so it should works for countable infinite unions. However, we may use Cantor diagonal method to prove at least $\\{0,1\\}^w$ is not countable, thus the second theorem is also right. Does this means that the mathematical induction is wrong? EDIT: After the following discussions, I have the answer: The key point is that any element $n\\in\\mathbb{Z}_+$ is always a finite number, thus induction principle only guarantee the theorem is true for any $n\\in\\mathbb{Z}_+$, i.e. for any finite number. When discuss a countable infinite union, it is infinite number of unions, this infinite number no more belong to $\\mathbb{Z}_+$, thus can not be guaranteed by induction principle.", "JavaScript object: access variable property by name as string", "I know they have their adherents, but do more or less esoteric branches of mathematics such as Category Theory and/or Quantum Logic provide powerful tools for new theory development or are they just occasionally-useful presentational frameworks? More particularly, is it worth investing the time to study these formalisms?", "Finding Command-Line Arguments of Programs I know that unix has man pages, but is there a place I can look to discover command-line arguments of programs? Going to command prompt and typing notepad /? doesn't give anything.", "Some speculation here: Is there a possibility it would pass 'undetected' through your hand, or is it certain death? Can you conclude it to be vital, or only loose your hand? Would it simply make a small cylindrical hole through your hand, or is there some sort of explosion-effect? Assume your hand has a cross section of 50cm², and a thickness of 2cm, how much of the beam's energy would be transferred to your hand?", "How do I get my Epson Scanner working on Ubuntu 13.10 I have the Epson SX218 with a built-in scanner. The printer works fine but if I want to scan something simple scan says no scanner found. Any ideas what I can do? By the way, how can I check the ink level of the printer??", "how to get the selected date in jquery", "How to get a list of appendices? How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?", "I have a shop created with drupal commerece modules,I enabled 2 currency in my shop , but only show one of them, I want to show price in 2 currency something like this price : 10$ / 20 IRR I use multi currency module to achieve this job, but I my problem is in payment phase, I use multi currency module to achieve this job,in multicurrency module's setting I don't want use synchronize method, if you want have two field in my product , one form $ and another for IRR, I did this job by this method first enable IRR currency in admin/commerce/config/currency then in admin/commerce/config/currency/handling under Enable dedicated price fields for Product check Iranian Rial by doing this another field added you my product ( ** Price for IRR** ), this is good , after this I enable *currency selector * block ,in checking out process by switching the currency I don't see any change in current currency of billing and cart. :( why changing currency not changing cart currency?", "Inconsistent behavior when typing a number into the search field", "$\\Bbb Z^\\ast$ What is this notation? What does $\\Bbb Z^\\ast$ mean? I would think some subset of the integers but I cannot find a definition. Thank you.", "How can I select part of a mesh and make it seperate? I want to make the teeth a separate child object from the mouth. I want to know the best way to do this. I have tried going into edit mode with Tab and trying to select all the vertices but that doesn't move the teeth. Is there an easy way to select just that part and make it a separate child mesh to the rest of the mouth?", "We are in the early stages of development of the official Stack Exchange Android app and we need your help with testing. To set a few expectations: there will be bugs, crashes, and missing features, all of which will be fixed in . We are initially targeting Android devices running (Android 4.1 or higher) starting with phones (up to ~5 inch) and eventually moving our way to tablets. To register for alpha testing . After you register we will send you an invite to a private Google community where you can find a link to download our app directly from the store. The invitations will be sent out in waves, so if you don’t get an invite immediately, be patient. Crash reports will be automatically reported back to us using . Bugs or feature requests should be reported here on meta and tagged . Please do not use the Google community to report bugs. As always, we welcome your feedback and are committed to building the best mobile app possible for browsing the Stack Exchange sites.", "Android: fragments overlapping issue", "Find the cardinality of the quotient of $\\mathbb R$ in respect to R R is an equivalence relation defined as $xRy \\Leftrightarrow a - b$ is an integer. What is the cardinality of the quotient of $\\mathbb R$ in respect to R? How would you prove it? I thought about a bijection between $[0,1)$ to the quotient of $\\mathbb R$ in respect to R, but can't figure out to prove it formally.", "Terminal, how to quit --More-- list", "Does the use of words such as 'fail', 'wrong', 'incorrect' and 'invalid' have a sufficiently negative impact on a users frame of mind to warrant the prohibition of their inclusion in the error messages generated by typical web forms? i.e. Should we rephrase examples like these to just use positive words? 'date entered incorrectly' or 'failed to complete registration, please see below for invalid field entries' (PS, the examples are there to show use of the words in an error message, not to serve as examples of error messages I would use or things that need correcting in answers, I'm not looking for advice on how to write form error messages, but for information about the effect of certain words on a users frame of mind)" ]
medi_sts_stackexchange_dupe
Pin required to power-off phone?
iPhone Passcode for Powering Off
[ "Does the order of declaration matter in Java/C#? In C++ I can't use a method if I declare it after the calling method. Does this order matter in other languages like Java or C#?", "How to cite lecture notes? (and should I even do this?)", "How to mount read-write an ext4 partition on Windows? I want to use ext4 on my external HDD, but it must be cross-platform. (At least Linux, Win7 &amp; WinXP). Unfortunately, I haven't found any proper driver allowing Windows to WRITE to ext4. I've found , but it only reads ext4. 9. ext4 extent read-only, no size truncating and expanding support More: Supported Ext3/4 features: flexible inode size: > 128 bytes, up to block size dir_index: htree directory index filetype: extra file mode in dentry large_file: > 4G files supported sparse_super: super block backup in group descriptor uninit_bg: fast fsck and group checksum extent: reading, writing with no extending. journal: only support replay for internal journal Unsupported Ext3/4 features: journal: log-based operations, external journal extent: size truncating &amp; expanding, file deletion flex_bg: first metadata group EA (extended attributes), ACL support Also, I have found a patch for Ext4Fsd v0.50 (): New: Matt Wu has made a new release 0.50 at ext2fsd.com. Support for ext4 extents and fix for BSOD on Windows 7. I don't think it will be safe. Also I've read some words about writing ext4 in Windows could cause data loss on the disk... What is the External HDD used for? - First, it will store backups, then family movies, pictures. Some music, and etc. It will be connected to a Raspberry Pi, if I finally receive it. It won't really move, just when it is used to migrate computer's data to a new one. The largest files it will store are Clonezilla disk images (I don't know, if they will be large files or not). Can someone provide a solution for this problem? Or is there NO important enough difference between ext4 and ext3, and I should use ext3? - (If yes, then can I use Ext2Fsd for that ext3 mount?) Thank you!", "Representing several points with same coordinates on map using ArcGIS Desktop? I'm working on Arcgis 10. I have a point shapefile representing events with several points having coinciding coordinates (They have the same coordinates). For representing them in a dynamic way, I found a nice way - . Problem is: I was asked to produce a static (paper) map of the events. Is there a tool that can take these events and shift them apart a bit so all will be seen? (I know that spreading them about will alter their coordinates, but I am prepared to do so on a duplicate shapefile for the display on the map).", "In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried this but failed to make it work. So my question is how do I enable exfat support?", "Is there a package to secure rendered pdf with a password? Is there a package and command that can secure rendered pdf with a password?", "Merging two SQLite databases which both have junction tables", "As an Indian citizen, can I apply and have both a B1 and F1 visa?", "I have a question. I have been given this proof: \"For any $n$ in the integers where $n&gt;2$, show there are at least $2$ elements in $U(n)$ that satisfy $x^2=1$.\" I have gone through and actually proved this, (that the numbers are $1$ and $n-1$) but i didn't' know how to prove that $n-1$ is in fact in the set $U(n)$. Is it because two consecutive numbers are always relatively prime?", "Why didn't Iron Man make Vibranium armor in Iron Man 2? In the movie Iron Man 2, Tony Stark figured out how to synthesize Vibranium. Why didn't he use it to make a new Iron Man armor?", "I want to print the floating point number with exactly two significant digits in bash (maybe using a common tool like awk, bc, dc, perl etc.). Examples: 76543 should be printed as 76000 0.0076543 should be printed as 0.0076 In both cases the significant digits are 7 and 6. I have read some answers for similar problems like: but the answers focus on limiting the number of decimal places (eg. bc command with scale=2 or printf command with %.2f) instead of significant digits. Is there an easy way to format the number with exactly 2 significant digits or do I have to write my own function?", "What's the function of the ~ bitwise operator (Tilde)", "The context is soccer (association football) and the sentence in question is: The forward received the ball from the midfielder's pass. I have already ask about this and received alot of good answers, and I tried to leave it at that. But then the World Cup 2014 is upon us, and I am starting to have doubts about this football usage of \"from\", to the point that I have semi-nightmares about it. The use of \"from\" in the football example continues to bother me. I seem to disagree (subconsciously) about how a ball (physical object) could be \"from\" a pass (action) unless that action creates that object. Some people were hit by debris from the explosion. The use of \"from\" in \"debris from the explosion\" makes excellent sense to me, because the explosion does create the debris. But in soccer/football, the ball cannot possibly be \"created\" by a pass. Is there any non-football usage of \"from\" similar to my football example sentence?", "Is having a skills bar chart on a resume a good idea?", "I am planning to visit the UK on a USA travel document but there’s nowhere I am able to find information about visas: I’m a Zimbabwean but using a USA refugee travel document do I need to apply for a UK visa before I travel or I can they just give them on arrival.", "Solving binomial theorem via induction", "Why don't files from Xbox 360 show up when USB drive is plugged into computer? I'm using a Lexar JumpDrive S73 32GB USB flash drive. I've configured it on my Xbox 360 and got a message saying it's compatible and meets the standards, but when I plug in it in my computer no files show up, even in Horizon. After the driver was installed, both the USB mass storage and Lexar JumpDrive USB device were ready to use (installed properly), but it said no driver found for Xbox 360. I tried looking for some sort of driver (which sounds silly) but I couldn't find anything. I'm attempting to mod Minecraft on my Xbox and I don't want to buy another USB.", "Does it feel lately like all questions have already been asked and answered and there is nothing more to do? I think everybody with a history of participation can't help but notice the explosive growth of repeated duplicate questions. The work of looking for duplicates and then closing questions has overtaken the work of actually answering questions. It's become virtually impossible to ask something which hasn't been yet asked. Lately I feel boredom each time I see a new question and start answering it only to realize after the first written sentence that I have answered similar questions five times over or seen them answered some ten times or more. I know where it's going to be going and what answers with what votes it is going to receive before any answer is even written. It's obviously not the administration's fault, it is simply so. The questions is, what to do about it? Engaging more moderators to close and close duplicates won't work because it's already starting to repel users who get mad at their questions closed and become afraid of asking more or perhaps just go away. The original idea of Jeff stated the the site is for questions that can be answered. Meaning no open-ended discussions. When I first read this I had a casual thought - well, and what's gonna happen when they all are asked and answered? Will it become a museum, a monument of wisdom and knowledge or what? I'm not sure what to do about it. Perhaps deprecation/versioning of older questions so that their new versions can sparkle the tiresome evening... POSTSCRIPTUM. I recall Star Trek Voyager episode when another Q asked Captain Janeway for asylum. He was tired of immortality and wanted to die. They opened a hearing and went on to visit the continuum to evaluate the living conditions there which caused the suffering and the wish to escape it in death. A lifeless picture presented itself to the visitors... a house lone in an open space, two people going about their business, nobody talking. When asked why they were silent, the following was said. It's been so long, all has already been said, all stories told, all jokes are made... there is nothing left to do... Are we there as well? UPDATE: Just saw this answer in another question: Also, some of the core questions got asked early on in the life of the site. Great questions still come around from time to time, but many have already been asked. Doesn't that confirm my point?", "\"Made out of\", \"made of\" and \"made with\" I understand the phrases made of and made from from the questions and answers provided and . Yet I came across three more phrases: made out of, made of, and made with which I think are related to the subject in question. Would you please help me understand how to differentiate these phrases too? And how is their usage?", "I have multiple cameras in a scene. What I want to do is to change which one is active. This way I can view the scene from different angles. How would I do this?" ]
medi_sts_stackexchange_dupe
For SQL Server 2012 where is better way to restrict rows (WHERE or JOIN)?
Is a join optimized to a where clause at runtime?
[ "How can I identify what application is using a given file?", "Given 3 distinct primes {$p,q,r$}, then $|G|=pqr \\implies G$ not simple", "I know how to , but I'd like to add a bunch of different extensions and avoid the tedious job of adding every single one. Is there a command line tool or registry key I can use to accomplish this?", "What is the reason that the value \"47\" is so popular in electrical engineering?", "How do I resolve a recurrence relation when the characteristic equation has fewer roots than terms? I know how to solve \"simple\" recurrence relations. For instance, say you have: $$c_0 = 20$$ $$c_1 = 30$$ $$c_n = 3 c_{n-1} - 2 c_{n-2}$$ We can write the characteristic equation as: $$3x^{n-1} - 2x^{n-2} = x^n$$ Solving this with $n=2$, we get $x = 1$ or $x = 2$. This lets us write the relation $c_n = \\alpha_1 1^n + \\alpha_2 2^n$, and we can solve for $\\alpha_1$ and $\\alpha_2$ with the initial states $c_0$ and $c_1$. However, this depends on the fact that $3x^{n-1} - 2x^{n-2} = x^n$ has two roots. Now, I'm stuck on another problem where the characteristic equation has fewer roots than terms. Say I have this recurrence relation instead: $$a_0 = 0$$ $$a_1 = 2$$ $$a_2 = −1$$ $$a_n = 9a_{n-1} - 15a_{n-2} - 25a_{n-3}$$ The characteristic equation would be: $$9x^{n-1} - 15x^{n-2} - 25x^{n-3} = x^n$$ However, solving with $n=3$, we only get two roots: $x=-1$ or $x=5$. There are not enough roots to write a relation in the form of $a_n = \\alpha_1 r_1^n + \\alpha_2r_2^n + \\alpha_3r_3^n$. How do I proceed?", "\"It was recommended that\" + verb in present tense It was recommended that the international development partners develop guidelines or a roadmap to help countries take the necessary steps to select the right tool for their purposes. Why is it using present tense \"develop\" in the sentence which is actually a past tense \"It was recommended\"?", "Does the alarm work when my phone is turned off?", "What resolution should a large format artwork for print be?", "How to check if specific column exists in an Access database table", "Show rigorously that the sum of integrals of $f$ and of its inverse is $bf(b)-af(a)$", "When should I implement IDisposable?", "AJAX call using admin-ajax URL is returning 400 bad request", "Why is the derivative of a vector orthogonal to the vector itself? $R(t) \\cdot R'(t) = 0$, which is what every source I can find tells me. Even though I understand the proof I don't understand the underlying concept. If $R(t)\\cdot R'(t) = 0$, then $R'(t)$ is orthogonal to $R(t)$, right? But you use the same derivative to find the tangent of a curve. Then somehow if you differentiate the tangent itself, you get the normal to the curve. I really can't wrap my head around this. Could someone help me understand?", "Must present perfect tense be used if the action takes place more than once? I was told that if an action is completed once in the past, the simple past is used. Ex: I saw that movie. If the action is completed more than once, the present perfect tense must be used. Ex: I have seen that movie twelve times. So, \"I have seen that movie twelve times on Tuesday.\" is correct and \"I saw that movie twelve times on Tuesday.\" is incorrect?", "Unitary map between sets of vectors", "How to show $d(x,y)= \\sqrt{d_1(x_1,y_1)^2+d_2(x_2,y_2)^2}$ is a metric? $d_1(x_1,y_1)$ and $d_2(x_2,y_2)$ are metric on $X$ and $d(x,y)$ is defined as: $$d(x,y)= \\sqrt{d_1(x_1,y_1)^2+d_2(x_2,y_2)^2}.$$ I am trying to show this is a metric. Can you give me some clue about proving the triangle inequality for $d$ ? Thank you for your help.", "How to remove configuration files completely Recently I uninstalled some software using sudo apt-get --purge autoremove, thinking that this would remove all traces of it including unused dependencies and configuration files. However I discovered that a configuration file was left behind in my home folder. Is there a more powerful command which would remove even that? Also, is it safe to delete the hidden files and folders under home, if they are merely configuration files, or are there other kinds of files?", "Disable automatic screen turn-off during call", "Probability of $p(x_1<x_2<\\max(x_3,x_4))$", "Dual Canadian and British citizen - healthcare coverage in the UK?" ]
medi_sts_stackexchange_dupe
List of Figures and List of Tables: How to divide into chapters with chapter headline?
Include chapters in List of Figures with titletoc?
[ "Code coverage for wrapper class is 0% I have written below Wrapper class. global class BI_VA_AutomationWrapper { global class BI_VA_AutomationRequest { webservice String userName; webservice String emailId; webservice String buinessUnit; webservice String orgName; webservice String country; webservice String environment; webservice String myShopNumber; webservice String BidsId;//for testing webservice String Type; //for testing } global class BI_VA_AutomationResponse { webservice String responseStatus; webservice String myShopNumber; //webservice list&lt;Error&gt; errorMessages; webservice String errorMessages;//for testing } global class BI_VA_Error { webservice String type; webservice String message; }} And test class is, @isTest public class BI_VA_AutomationWrapperTestClass { public static testMethod void unitTest(){ BI_VA_AutomationWrapper.BI_VA_AutomationRequest wrap= new BI_VA_AutomationWrapper.BI_VA_AutomationRequest(); wrap.userName='[email protected]'; wrap.emailId='[email protected]'; wrap.buinessUnit='AH'; wrap.orgName='ORD'; wrap.country='US'; wrap.environment='QA'; wrap.myShopNumber='123456789'; wrap.BidsId='123'; wrap.Type='ResetPassword'; BI_VA_AutomationWrapper.BI_VA_AutomationResponse res= new BI_VA_AutomationWrapper.BI_VA_AutomationResponse(); res.responseStatus = 'Success'; res.myShopNumber = '987654321'; res.errorMessages = 'Test error'; BI_VA_AutomationWrapper.BI_VA_Error error = new BI_VA_AutomationWrapper.BI_VA_Error(); error.type = 'Test'; error.message = 'Test'; }} Code coverage is 0% only.", "How to prove that $d \\sin(x)/dx = \\cos(x)$ without circular logic such as L'Hôpital's rule?", "Securing SSH server against bruteforcing I have a little SVN server, old dell optiplex running debian. I don't have that high demands on my server, because its just a little SVN server... but do want it to be secure. I just renewed my server to a newer and better optiplex, and started looking a bit into the old server. I took it down after experiencing problems. When I check the logs, its full of brute-force attempts and somehow someone has succeeded to enter my machine. This person created some extra volume called \"knarkgosse\" with two dirs \"root\" and \"swap1\" or something. Don't really know why and what they do, but sure do want to prevent this from happening again. I find this a bit strange though because I change my password ever few months or so, and the passwords are always random letters and numbers put together... not easy to brute-force. I know I can prevent root from logging in, and use sudoers... and change the SSH port, but what more can I do? So I have a few questions: How can I prevent logging in for 5 minutes after X amount of incorrect tries. Or slow tries down after each incorrect try? Is there some kind of central blacklist which a server can connect to? A blacklist that keeps track of IP addresses that are \"unsafe\" and should never be granted access? What more can I do to apply safety to my server? Like I said earlier, I am running Debian 5 with Apache (www-data user problem?), svn, mysql, php, phpmyadmin, hudson. It is on a home network with port forwarding on 80, 443, 8080, 8180, 23 and 22.", "The asks about functions $f \\colon \\mathbb R \\to \\mathbb R$ such that $$f(x+y)=f(x)+f(y).$$ It is a very well-known functional equation, which appears in various areas of mathematics ranging from exercises in freshman classes to constructing useful counterexamples for some advanced questions. Solutions of this equation are often called . Also a few other equations related to this equation are often studied. (Equations which can be easily transformed to Cauchy functional equation or can be solved by using similar methods.) Is there some overview of basic facts about Cauchy equation and related functional equations - preferably available online?", "I entered the USA on a three month visa waiver program from Australia. I am about to return to Australia and would like to come back again to the USA. How long do I have to wait until I can re-enter the USA for another 3 months?", "How to check if current thread is not main thread", "Prove Equivalence Relation in G Hei, guys! I'm having some trouble with the next problem: Let $A$ and $B$ be subgroups of $G$. Show that $\\sim$ is an equivalence relation when it is defined as follows: $g\\sim g'\\Leftrightarrow g' = agb$ for some $a$ from $A$, $b$ from $B$. Should I prove this is valid for any a and b? It says for some elements a and b. But I might as well take the unit element. Could you give me a clue on how to solve it? Cheers!", "If I close (is delete an option ?) my Gmail account, will somebody be able to register using my email address and read my mails? I want to close my Gmail account but I don't want anybody to impersonate me with my old address. Same question with Yahoo! Mail. Do they allow addresses to be re-used?", "For $a,b,c,d \\in \\mathbb{R}$, is $\\sqrt{a^2+b^2} + \\sqrt{c^2+d^2} \\geq \\sqrt{(a+c)^2 + (b+d)^2}$? I have tried to show this using the fact that $\\sqrt{x+y}\\leq\\sqrt{x}+\\sqrt{y}\\; $ for non-negative $x,y$ but haven't been able to arrive at a proof.", "Another combinatorics problem: $\\sum\\limits_{k = 0}^n (-1)^k \\binom{2n-k}k2^{2n-2k}=2n+1$ I am dealing with problem 10F in the textbook A Course in Combinatorics by J. H. van Lint and R. M. Wilson. Problem 10F: Prove directly the equality $\\sum\\limits_{k = 0}^n {{{\\left( { - 1} \\right)}^k}\\left( {\\begin{array}{*{20}{c}} {2n - k}\\\\k\\end{array}} \\right){2^{2n - 2k}} = } 2n + 1$. Sketch of the proof: Evaluate $\\sum\\limits_{n = 0}^\\infty {\\sum\\limits_{k = 0}^n {{{\\left( { - 1} \\right)}^k}\\left( {\\begin{array}{*{20}{c}}{2n - k}\\\\k\\end{array}} \\right){2^{2n - 2k}}{x^{2n}}} } $. To do this, use Hint 1. Then, use Hint 2. Hint 1: $\\sum\\limits_{j = 0}^\\infty {\\left( {\\begin{array}{*{20}{c}}{a + j}\\\\j \\end{array}} \\right){x^j} = {{\\left( {1 - x} \\right)}^{ - a - 1}}} ,\\,\\,a \\in {\\mathbb{Z}^ + }$. Hint 2: ${\\sum\\limits_{i = 0}^\\infty {\\left( {2i + 1} \\right){x^{2i}} = \\left( {\\frac{x}{{1 - {x^2}}}} \\right)} ^\\prime }$. Attempt: It is enough to show that $\\sum\\limits_{n = 0}^\\infty {\\sum\\limits_{k = 0}^n {{{\\left( { - 1} \\right)}^k}\\left( {\\begin{array}{*{20}{c}} {2n - k}\\\\ k \\end{array}} \\right){2^{2n - 2k}}{x^{2n}}} } = {\\left( {\\frac{x}{{1 - {x^2}}}} \\right)^\\prime }$. But I can not use Hint 1.", "Subscribe to tags I am interested in? How do I subscribe to the tags that I am interested in? I like to get notified via email or so, when someone asks new questions or if someone responds to my questions.", "Insert list of figures in the table of contents Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents? So in the the table of content there will be a line saying List of figures ... 19 for example?", "Documents required by Indian citizens wishing to travel to Nepal I'm a citizen of India and I'm travelling to Nepal by air. Is an Aadhaar Card a valid document used for travelling to Nepal by air?", "I want to trace a border in a box or minipage like this model. A border customizable in left angle on top and right angle in bottom. Somebody can help me? Thanks a lot JPierre", "Why are objects at rest in motion through spacetime at the speed of light? I read that an object at rest has such a stupendous amount of energy, $E=mc^2$ because it's effectively in motion through space-time at the speed of light and it's traveling through the time dimension of space-time at 1 second per second as time goes forward. What troubles me here, is the fact that it is traveling through space-time at the speed of light. Why is it at the speed of light?", "How to get second last page as a number without hyperref?", "Cannot connect MacBook Pro (Retina, 15-inch, Mid 2015) (10.13.3) to the internet through my Apple USB Ethernet Adapter. I am receiving this error under System Preferences/Network: \"Apple USB Ethernet Adapter has a self-assigned IP address and will not be able to connect to the Internet.\" IP Address: 169.254.59.248 Subnet Mask: 255.255.0.0 I can connect to the internet with the same ethernet port on my Windows 10 machine. When I replace the IP address with a the Wi-Fi IP address I use to successfully connect to the same network under \"Using DHCP with manual address\", the Apple USB Ethernet Adapter icon is green and displays the message \"Apple USB Ethernet Adapter is currently active and has the IP address xx.xx.xx.252.\" However there is no actual internet connection (i.e., I cannot visit any website). According to to a similar problem, I can: Find and disable whatever firewall is intercepting the DHCP return traffic. According to System Preferences/Security &amp; Privacy/Firewall, my firewall is off. Is there anywhere else I can check for additional firewalls? Would firewalls somehow impact ethernet and Wi-fi differently? Inspect the network traffic or the router logs to see if and why the Mac DHCP broadcast packet is being ignored. How do I check network traffic on my Mac? I am comfortable using the terminal. I have also tried steps listed as potential solutions in : To reset the firewall, go to the /Macintosh HD/Library/Preferences/ folder and remove the file called \"com.apple.alf.plist,\" and then restart your computer. On my computer I went to /Library/Preferences/ and ran sudo rm com.apple.alf.plist If that was already set, try the \"Advanced\" button, then \"Renew DHCP Lease\" Removing their \"Ethernet\" config from the Network settings and then re-adding Does anyone have other suggestions? Thanks in advance", "How do you do AppBar docking (to screen edge, like WinAmp) in WPF?", "I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: . After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF. Code from : \\documentclass{article} \\usepackage{tikz} \\usepackage{bodegraph} \\begin{document} \\begin{tikzpicture}[ gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\\jobname/' before) ] \\begin{scope} \\UnitedB \\semilog{-1}{2}{-50}{60} \\BodeAmp{-1:1.35}{\\POAmpAsymp{4}{2.0}+\\IntAmp{1}} \\end{scope} \\end{tikzpicture} \\end{document} Any clues?", "Can you create images like this: when you have something like 0 = green (#54ff00) 1 = white (#ffffff) 2 = red (#ff0000) 3 = blue (#0048ff) Image (Python list of integers defined above): [[2,0,0,0,0,0,0], [0,3,0,0,0,0,0], [0,3,2,1,1,0,0], [0,3,2,2,2,1,1], [0,3,2,0,0,1,0], [0,0,0,0,0,1,0], [0,0,0,0,0,1,0]] with TikZ? How far I got The following MWE defines all colors, produces a grid of the correct size (though the size is determined by hand): \\documentclass[varwidth=true, border=2pt]{standalone} \\usepackage{tikz} \\usepackage{xcolor} \\begin{document} \\newcommand\\n{7} \\definecolor{green}{HTML}{54FF00} \\definecolor{wite}{HTML}{FFFFFF} \\definecolor{red}{HTML}{FF0000} \\definecolor{blue}{HTML}{0048FF} \\begin{tikzpicture} \\foreach \\x in {1,...,\\n}{ \\foreach \\y in {1,...,\\n}{ \\begin{scope}[shift={(\\x,\\y)}] \\draw [fill=green] (0,0) rectangle (1,1); \\end{scope} } } \\end{tikzpicture} \\end{document} Of course, I could simpy make a lot of adjusted \\begin{scope}[shift={(\\x,\\y)}] \\draw [fill=green] (0,0) rectangle (1,1); \\end{scope} but I've wondered if this can (with reasonable effort) be done in TikZ / LaTeX. My problem is giving TikZ the color array. I don't have any idea how to do this. I only know two types of looks in TikZ: \\foreach \\x in {0,1,2,3,4,5}{...} \\foreach \\number in {1,...,\\n}{...} I have never seen a nested over a 2D-array. All I have seen so far were 1D-Arrays of tuples (with fixed tuple size)." ]
medi_sts_stackexchange_dupe
Convert local time to UTC in Delphi 7
How to convert Local time to UTC time in Delphi? and how to convert it back from UTC to local time?
[ "The difference between two periodic functions converges to zero, is this two functions identical?", "Changing affiliation on publication I am moving from one job to another (postdoc to tenure track) this summer and I have papers in several stages of being written, these go from handwritten notes with all the necessary arguments to under revision at a journal. All the papers will have my new contact information put on them but where is the line for changing affiliation? It seems obvious to me that the one that is still in the handwritten notes stage will get the new affiliation and that the ones under revision won't. So somewhere in between is a line. Where is it? There are some similar questions so far (see and but they do not seem to be quite the same situation since I am not changing fields and the appointments are not concurrent.", "Can't login with Stack Exchange OpenID when HTTPS-Everywhere plugin is active - apparent protocol mismatch I can't seem to log in with my Stack Exchange OpenID. When I try, I get the error message: Unable to log in with your OpenID provider: The openid.return_to parameter (.) does not match the actual URL (.) the request was made with. It works if I disable the HTTPS-Everywhere plugin in Firefox, but if I then re-enable the plugin and go to a site on which I am not logged in (in which case login is normally nearly seamless), it fails again with the same error message, or at least something very similar. I'm not aware of having done anything that might have caused this, although I will admit I don't recall seeing https:// in the address bar on Stack Exchange before (I do now, and that's a good thing IMO!). I was using the site and it worked fine then, but not now...", "Missing processing menu in QGIS? I'm sure there is a really simple explanation to this but haven't found any pointers on this forum or elsewhere. I seem to have lost the 'processing' menu from QGIS and can't figure out how/why!? Any ideas what I might have done to make this happen? I'm running QGIS 2.8 built against GDAL 1.10 on Ubuntu 14.04.", "Why are symmetric positive definite (SPD) matrices so important? I know the definition of symmetric positive definite (SPD) matrix, but want to understand more. Why are they so important, intuitively? Here is what I know. What else? For a given data, Co-variance matrix is SPD. Co-variance matrix is a important metric, see this for intuitive explanation. The quadratic form $\\frac 1 2 x^\\top Ax-b^\\top x +c$ is convex, if $A$ is SPD. Convexity is a nice property for a function that can make sure the local solution is global solution. For Convex problems, there are many good algorithms to solve, but not for non-covex problems. When $A$ is SPD, the optimization solution for the quadratic form $$\\text{minimize}~~~ \\frac 1 2 x^\\top Ax-b^\\top x +c$$ and the solution for linear system $$Ax=b$$ are the same. So we can run conversions between two classical problems. This is important because it enables us to use tricks discovered in one domain in the another. For example, we can use the conjugate gradient method to solve a linear system. There are many good algorithms (fast, numerical stable) that work better for an SPD matrix, such as Cholesky decomposition. EDIT: I am not trying ask the identities for SPD matrix, but the intuition behind the property to show the importance. For example, as mentioned by @Matthew Drury, if a matrix is SPD, Eigenvalues are all positive real numbers, but why all positive matters. @Matthew Drury had a great answer to flow and that is what I was looking for.", "I have two tables in my database: NEWS table with columns: id - the news id user - the user id of the author) USERS table with columns: id - the user id I want to execute this SQL: SELECT * FROM news JOIN users ON news.user = user.id When I get the results in PHP I would like to get associative array and get column names by $row['column-name']. How do I get the news ID and the user ID, having the same column name?", "Can I include the completion of Udacity and Coursera classes I have attended in an academic CV? Can I include in my academic CV that I have attended and completed the and classes I have been taking? I understand that these are not anything major, but the courses definitely gives a good overview and starting formal study on the subject becomes less cryptic. If I can include them without any negative impacts, then under what section should I include them?", "First appearance of a predominately black cast in a TV show I was watching MeTV the other day, which is a fantastic station chock-full of old-time TV shows. In one sitting I saw episodes of Superman, Batman, Wonder Woman, The Rifleman and Star Trek (TOS). So it got me thinking... None of these shows has many (if any) black actors. And now I'm curious as to which TV show was the first to feature a predominantly black cast. Anyone know? I'm thinking back to What's Happening, Good Times, The Jeffersons... But were there any before then?", "Can Rails Routing Helpers (i.e. mymodel_path(model)) be Used in Models?", "Java Command line arguments I am trying to detect whether the 'a' was entered as the first string argument.", "How can I use Web.debug.config in the built-in visual studio debugger server?", "Android: TextView automatically truncate and replace last 3 char of String", "Output from ls has newlines but displays on a single line. Why? I think I may be overlooking a relatively fundamental point regarding shell. Output from the ls command by default separates output with newlines, but the shell displays the output on a single line. Can anyone explain this to me? I had always presumed that the output was simply separated by spaces, but now that I see the output separated by newlines, I would expect the output to be displaying on separate lines. Example: cpoweradm@debian:~/lpi103-4$ ls text* text1 text2 text3 od shows that the output is separated by newlines: cpoweradm@debian:~/lpi103-4$ ls text* | od -c 0000000 t e x t 1 \\n t e x t 2 \\n t e x t 0000020 3 \\n 0000022 If newlines are present, then why doesn't the output display as: text1 text2 text3", "How do I audit my reputation? If I am concerned that my reputation score is incorrect, how can I audit it, or get a report of a detailed breakdown of my reputation?", "Chess Piece Combinations I came across a question yesterday about combinations, and I wanted to know what the correct answer was. The question states as follows: There are 8 spaces that are alternately black and white. There is one king, one queen, two identical rooks, two identical bishops, and two identical knights. The king needs to be surrounded by the two rooks. Then, the two bishops can be put on any of the remaining spaces as long as one is on a black space and the other is on a white space. Finally, the queen and the knights can be placed anywhere in the remaining spaces in relation to the other pieces. How many possible arrangements are there considering these conditions?", "Question on determinants of matrices changing between integer matrices The following problem came up from a though I had while reading: Let's say we have $M=\\mathbb{Z}^n$ and we have another free $\\mathbb{Z}$-module, $N$, inside of $M$ also with rank $n$. We know we can make a matrix $A$ that changes $N$ to its representation in $M$ (ie has as columns the basis $N$ expressed in coordinates coming from the basis of $M$). If the index of $N$ in $M$ is $m$, I am pretty sure just from tinkering that the determinant of $A$ should also be $m$, however, I have not been able to show this. It is unclear to me how to proceed. I though maybe I could do something related to the points in $\\mathbb{Z}^n$ that are within the unit box of $N$, but I cannot really make sense of this. Thank you for any help or direction.", "The default is that clicking on the folder in the unity dock opens the home directory. Since there are shortcuts for all the sub-folders of the home directory in the sidebar already, I'd prefer the default directory to move to a different location (~/Documents). How can I achieve this?", "If I just render the default cube it will look like this: It is rendered with color depth 16. I can see there are artefacts consisting of visible \"line strokes\" on some of the cube faces. The bands seems to not go darker and darker, but alternates between light and dark, or is my eye fooled? Why? Edit Here comes a gradient created by gimp without banding, using the same computer:", "The last two digits of $9^{9^9}$ I tried to calculate the last two digits of $9^{9^9}$ using Euler's Totient theorem, what I got is that it is same as the last two digits of $9^9$. How do I proceed further?", "Moving /var, /home to separate partition I am attempting to move some folders (such as /var and /home) to a separate partition after reading this guide: I was able to move one folder successfully following guide. However, it doesn't seem to work for multiple folders, and all my folders are dumped into the partition without proper folders. I would like to mount /var, /home, and /tmp onto the separate partition; can someone guide me on this?" ]
medi_sts_stackexchange_dupe
Elegant way to locate all large files (files over 200 or so megs) on Windows 7?
How can I visualize the file system usage on Windows?
[ "The answer to tactical downvoting problem? As we know, the tactical downvoting (I'm talking especially about SO, as I don't know about other sites) is more and more becoming a serious problem, as I see, the community can't stop this behavior without some sacrificing. As a suggestion, I think it makes sense to prevent an answerer from downvoting any answer on the same question, this -sure- has a harm, but IMO, it's less harmful than the tactical downvoting issue, and to make the things a bit more easier, we can prevent an answerer from downvoting a question without posting a comment to that answer before. And vice versa, if a user downvoted an answer, he shouldn't be able to post another one unless he posted a comment first, to prevent working-around that system, so a user can't downvote other answers before posting his own to avoid posting comments. EDIT, more clarification: I don't say wrong answers shouldn't be downvoted, BUT if you want to downvote an answer and post your own, you'll have to post a comment, so we make sure you're not just downvoting right answers tactically.", "When clicking &quot;edit&quot; I see: Your edit will be placed in a queue until it is peer reviewed. We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks. Like: Likewise, when I am not logged in, clicking &quot;improve this question&quot; or &quot;improve this answer&quot; shows: You are not . Your edit will be placed in a queue until it is . And when I click 'Save', I get: Thanks for submitting an edit. It is only visible to you until it's been approved by trusted community members Like: Who can suggest an edit? Where do suggested edits go? Who can vote on a suggested edit? How do suggested edits get reviewed? Can I earn reputation? What about abuse or bad edits? Sometimes the Community user approves or rejects my edit. Why is that? When can I not suggest an edit? Is there a minimum change requirement for a suggested edit? How do I check my suggested edit history? I disagree with the reasons why my suggested edit was rejected. What can I do? How do I know whether there are edits waiting for review? Someone suggested an edit to my own post, and the reviewers took the wrong action. What can I do? Are tag wikis included in this scheme? What do the &quot;Improve Edit&quot; and &quot;Reject and Edit&quot; buttons do? Why are apparently valid links to rejected edits resulting in 404 errors? For more information about editing, see &quot;&quot; in the .", "example of compact operator Let $E=l^p=\\left\\{x=\\left(x_n\\right): x_n\\in\\mathbb{R}, \\sum_{1}^{\\infty}\\left|x_n\\right|^p&lt;\\infty\\right\\}$ with $1\\le p&lt;\\infty$, $\\left\\|x\\right\\|_E=\\left(\\sum_{1}^{\\infty}\\left|x_n\\right|^p\\right)^{1/p}.$ Let $\\left(\\lambda_n\\right)$ is a bounded sequence in $\\mathbb{R}$ and consider the operator $T$ defined by $$T(x)=\\left(\\lambda_1x_x,\\ldots,\\lambda_nx_n,\\ldots\\right)$$ where $x\\in l^p$. Prove that $T$ is a compact operator from $E$ to $E$ iff $\\lambda_n\\rightarrow 0$. Can anyone give me some hints to solve this problem? Thank you!", "Assurance that ST_Envelope works with geography as expected Using PostGIS, I have a table of data with geographic points defined as last_known_coordinates GEOGRAPHY(POINT,4326). I want to find all of these within a geographic bounding box with given top left and bottom right geographic coordinates, and be sure that the calculations are geographic, not geometric, e.g. that the results account for the curvature of the earth. The query I'm using contains the fragment: last_known_coordinates &amp;&amp; ST_MakeEnvelope(?, ?, ?, ?, 4326)::geography As you can tell I'm a bit new to this, and I know what I want, but not necessarily how to do it correctly. Other answers hint that this is correct, but I'd like to know for sure: Will this point data and SQL fragment take into account the curvature of the Earth in the bounding box?", "Strip whitespace from jsp output", "How to use GROUP BY to concatenate strings in SQL Server? How do I get: id Name Value 1 A 4 1 B 8 2 C 9 to id Column 1 A:4, B:8 2 C:9", "Restart returned to session indicator menu after upgrading to 13.10 This is the first time I'm having problems during Ubuntu upgrade. I had previously enabled the new Unity logout/shutdown dialogs and the restart option had gone. But now it's back again, though utterly useless, because each one leads to the same new Unity dialog: restart or shutdown. I wonder how I can get rid of this duplicate menu option?", "What is the difference between a static and a non-static initialization code block My question is about one particular usage of static keyword. It is possible to use static keyword to cover a code block within a class which does not belong to any function. For example following code compiles: public class Test { private static final int a; static { a = 5; doSomething(a); } private static int doSomething(int x) { return (x+5); } } If you remove the static keyword it complains because the variable a is final. However it is possible to remove both final and static keywords and make it compile. It is confusing for me in both ways. How am I supposed to have a code section that does not belong to any method? How is it possible to invoke it? In general, what is the purpose of this usage? Or better, where can I find documentation about this?", "On Takodana, the main characters and various bar patrons can see the planet Hosnian Prime being destroyed by Starkiller Base with their (respective) naked eyes. How did they see this? Is the Hosnian system close enough to see? If it's not very close and they could just see the explosion, how did the light from it reach them so quickly?", "Applications of ultrafilters I'm looking for some interesting applications of ultrafilters and also everything of interest involving ultrafilters. Do you know some applications or interesting things involving ultrafilters? I'm at the beginning, so I'd prefer some applications that also a beginner could read.", "As you can see on this screenshot of 's Guake he has a startup message of ASCII art when he opens it, and that's what I'd like to do, can someone help me?", "Where should I post my sum-up of the answers, as the OP? Sometimes as the OP (question asker), after reading through all the answers, I have my own sum-up about them. I want to tell people and all further readers about my feeling and comprehension about my desired answer and how all the answers helped towards solving my problem. Where's the correct place to put that information? Things I've considered: Edit into my question: No because that's not part of the question A comment under the question: I dislike that due to limited formatting in comments and its subject to removal (though the latter won't be the case) A comment under the highest-scored or the accepted answer: Still the same reason above. This is, for the time being, the place I'm posting that. A separate answer: Those thoughts probably don't qualify as an answer", "$N$-body simulation in General Relativity How would one perform an $N$-body simulation in General Relativity (GR) for something like galaxy formation or galactic dynamics? Suppose one wants to simulate the rotation curve $v(r)$ for galaxies with an $N$-body simulation, and wants to do it in the framework of GR / the Einstein equations.", "Сanonical form of a quadratic form by Lagrange's method This is just an eg. to understand how to solve it. There is a quadratic form as below we need to bring to canonical form using Lagrange's method and find the coordinate transformation. Then find the positive &amp; negative indexes, rank of the quadratic form. Finnally, to investigate sign-definiteness of the quadratic form by two ways: according to it's canonical form and the criterion of Sylvester: $4x_{1}^2+2x_{2}^2+10x_{3}^2-4x_{1}x_{2}-12x_{1}x_{3}-8x_{2}x_{3}$ Any clarification on how to do it are very welcomed.", "What's the difference between iterating over a file with foreach or while in Perl?", "I want to use Google Chrome and Google search instead of Bing when I search in Windows 10. Google Chrome is launched when I click on web, but it's Bing search. (My default search engine on Google and Edge is ) I haven't found how to configure that. Someone can help me ?", "Consecutive spoiler blocks (>!) are shown as blockquotes The markdown &gt;! a &gt;! b &gt;! c Will be shown as a blockquote with ! in front of it: a b c Instead of a spoiler for 3 paragraphs (or 3 spoiler blocks, whatever).", "Limits of trig functions", "A inequality proposed at Zhautykov Olympiad 2008 An inequality proposed at Zhautykov Olympiad 2008. Let be $a,b,c &gt;0$ with $abc=1$. Prove that: $$\\sum_{\\mathrm{cyc}}{\\frac{1}{(a+b)b}} \\geq \\frac{3}{2}.$$ Set $a=\\frac{x}{y}$, $b=\\frac{y}{z}$, $c=\\frac{z}{x}$. Our inequality becomes: $$\\sum_{\\mathrm{cyc}}{\\frac{z^2}{zx+y^2}} \\geq \\frac{3}{2}.$$ Now we use that: $z^2+x^2 \\geq 2zx.$ $$\\sum_{\\mathrm{cyc}}{\\frac{z^2}{zx+y^2}} \\geq \\sum_{\\mathrm{cyc}}{\\frac{2z^2}{z^2+x^2+2y^2}} \\geq \\frac{3}{2}.$$ Now applying Cauchy-Schwarz we obtain the desired result. What I wrote can be found on this link: . But now, I don't know how to apply Cauchy-Schwarz. Thanks:)", "Whatsapp, Keeping the number on the new phone but without the old sim card Whatsapp, Keeping the number on the new phone but without the old sim card. Ok the situation is I love my old number and to be honest don't want to ask everybody to change my number again and again. But I do not have the old sim card, and that bums me out. If there is any way to achieve this?" ]
medi_sts_stackexchange_dupe
How to make a USB LaTeX Stick for OS X?
Multi-OS Portable TeX system
[ "This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says \"System program problem detected\". Then when I try to hit 'report problem' not much happens. I am led through a dialogue that always ends up the problem cannot be solved. I am aware this is not a lot of information, however I'm not sure which information I need to publish and how should I obtain it to debug this problem. Here's a screenshot!", "Sentence vs proposition", "The collection of all subsets of $\\mathbb{Z}$ is uncountable, due to But how can I prove that the collection of all finite subsets of $\\mathbb{Z}$ is countable?", "Possible Duplicate: I am a little bit confused about asking a question: Can you please tell me my next work? or Could you please tell me my next work? Which is more correct?", "I'm confused with using single or double brackets. Look at this code: dir=\"/home/mazimi/VirtualBox VMs\" if [[ -d ${dir} ]]; then echo \"yep\" fi It works perfectly although the string contains a space. But when I change it to single bracket: dir=\"/home/mazimi/VirtualBox VMs\" if [ -d ${dir} ]; then echo \"yep\" fi It says: ./script.sh: line 5: [: /home/mazimi/VirtualBox: binary operator expected When I change it to: dir=\"/home/mazimi/VirtualBox VMs\" if [ -d \"${dir}\" ]; then echo \"yep\" fi It works fine. Can someone explain what is happening? When should I assign double quotes around variables like \"${var}\" to prevent problems caused by spaces?", "How to prove $|a^k|=n/\\gcd(n,k)$ whenever $|a|=n$?", "Using SUMPRODUCT with ARRAYFORMULA I have the following random data in sheet one A orange D yellow C yellow B orange B orange C blue A yellow D blue C orange C blue In sheet two I use the following query function: A1=UNIQUE(QUERY(Sheet1!A1:B10,\"select A, B order by A asc\")) C1=sumproduct(Sheet1!A:A=A1,Sheet1!B:B=B1) C2=sumproduct(Sheet1!A:A=A2,Sheet1!B:B=B2) C3=sumproduct(Sheet1!A:A=A3,Sheet1!B:B=B3) . . . Which returns the following: A orange 1 A yellow 1 B orange 2 C yellow 1 C blue 2 C orange 1 D yellow 1 D blue 1 Instead of using sum product in each row, I want arrayformula to expand automatically. When I use E1=ArrayFormula(sumproduct(A1:A10=C1:C,B1:B10=D1:D)) I get Error: Array arguments to EQ are of different size. Please help me out.", "This is a question of the book Linear Algebra of Kenneth Hoffman. Describe explicitly all inner products on $\\mathbb{R}$ and on $\\mathbb{C}$. I think that if $&lt;,&gt;$ is one inner product on $\\mathbb{R}$ (or $\\mathbb{C}$) then $&lt; ,&gt;=K[,]$, where $[,]$ is the standard inner product. Is that correct?", "How do I list the default installed packages? I am developing an offline installer for all versions of Ubuntu, and I need Ubuntu's default installed packages list. Is there a way to get this information from any server (web server)? Any script to fetch any Ubuntu version's default installed packages list. I will give the Ubuntu version, and the script will fetch the packages list. Note: I need at least a server address. I can write a script for this.", "Do I cast the result of malloc? In , someone suggested in a that I should not cast the result of malloc. i.e., I should do this: int *sieve = malloc(sizeof(int) * length); rather than: int *sieve = (int *) malloc(sizeof(int) * length); Why would this be the case?", "This question was triggered by . Basically, it goes like this: If you have a weapon with a certain magical effect, let's say the minor property unbreakable (can not be broken, requires special means) or temperate (no harm in temperatures between -20 to 120 F), it can bypass the immunity of something like a Werewolf because it is magical instead of mundane. This goes for any minor property because those properties are under the Magic Items portion of the DMG on pg.143. How does this differ from a pair of gauntlets with the exact same effect being used as an improvised weapon (emphasis added for clarity) from dealing damage in the same manner to the same Werewolf? Or something that's clearly not a weapon like a Shield of Missile Snaring being used to bash an opponent?", "How old should you be when you begin Jedi training? Anakin Skywalker was about nine years old (see script link, below) during \"The Phantom Menace\". Yet according to various people, he was too old (or even \"far too old\") to begin training as a Jedi: QUI-GON: \"I'm afraid not. Had he been born in the Republic, we would have identified him early, and he would have become Jedi, no doubt...he has the way. But it's too late for him now, he's too old.\" OBI-WAN: \"The boy will not pass the Council's tests, Master, and you know it. He is far too old.\" MACE WINDU: \"He is too old. There is already too much anger in him.\" and even ANAKIN himself: \"I'm with Qui-Gon...but...they're not going to let me be a Jedi. I'm too old.\" All quotes above from . However, during \"The Empire Strikes Back\" Yoda gives Luke's age (18 in chapter IV according to the ) as the reason to deny him training only after first saying that Luke is: too impatient too angry not ready is unfocused (\"Never his mind on where he was\") and reckless All from . I would have thought that, if at 9 Anakin was too old, Yoda would have seen Luke at 18+ and started off by saying, \"No chance, he has\". So, what is the age to begin Jedi training?", "How can I write the name show in axis of 3D array using TiKz I am drawing a 3D array like the attached picture, which actually describes a multidimensional array. However, I can not put the name of the axis and take the value from the matrix like the attached picture. This is the code that I have: \\documentclass[margin=5mm]{standalone} \\usepackage{tikz} \\usetikzlibrary{matrix,calc} \\begin{document} \\begin{tikzpicture}[every node/.style={anchor=north east,fill=white,minimum width=1.4cm,minimum height=7mm}] \\matrix (mA) [draw,matrix of math nodes] { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\matrix (mB) [draw,matrix of math nodes] at ($(mA.south west)+(1.5,0.7)$) { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\matrix (mC) [draw,matrix of math nodes] at ($(mB.south west)+(1.5,0.7)$) { (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ (1,1,3) &amp; (1,1,3) &amp; (1,1,3) &amp; (1,1,3) \\\\ }; \\draw[dashed](mA.north east)--(mC.north east); \\draw[dashed](mA.north west)--(mC.north west); \\draw[dashed](mA.south east)--(mC.south east); \\end{tikzpicture} \\end{document}", "I have a scrbook document with an openright option, i.e. every once in a while a blank left page appears in the document. Not that I really want to do this, but how could I include the infamous \"This page has been intentionally left blank\" in those blank pages cleanly, i.e. without too many hacks? Bonus points for including a different famous quote on each blank page instead of the dull default ;)", "network manager says \"device not managed\" I used to be able to share my network connection by editing the Auto Eth0 to share with other computers in the Ipv4 section and now I upgraded my laptop to 11.10 . Now are there no wired connections in the network manager. When I click my connections applet at the top of the tray it also says wired device not managed! when I type ifconfig -a daniella@daniella-1001HA:~$ ifconfig -a eth0 Link encap:Ethernet HWaddr 90:e6:ba:83:d6:fc UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:45 eth0:avahi Link encap:Ethernet HWaddr 90:e6:ba:83:d6:fc inet addr:169.254.13.40 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:45 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr 00:25:d3:90:43:41 inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::225:d3ff:fe90:4341/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12881 errors:0 dropped:0 overruns:0 frame:0 TX packets:12867 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8851081 (8.8 MB) TX bytes:2343199 (2.3 MB)", "Is it possible to install Windows 7 alongside Ubuntu and windows 10 dualboot? I installed windows 10 on my laptop in UEFI mode with HDD GPT disk format, then I installed Ubuntu 16.04LTS on another partition. So I have Ubuntu dualboot with Windows 10 now. I also installed rEFInd (it's like GUI for you to choose between different OSs) because I don't wanna use Grub2 as the default bootloader. Now I want to have Windows 7 too, but when I boot from the USB stick, an error screen showed up saying something like the windows boot manager is having problems due to a recent hardware change My system is still working fine so I don't know if the problem came from my system or if the setup I want is impossible.", "I have to prove that: $$\\sum_{k=0}^{n} {{m+k} \\choose{m}} = { m+n+1 \\choose m+1 }$$ I tried to open up the right side with Pascal's definition that: $$ { n \\choose k} = {n-1 \\choose {k}} + {n-1 \\choose {k-1}}$$ Here is what I came up with, and I am sure it is wrong because it does not equal the left side: $$ {m+n+1 \\choose m+1} = {m+n \\choose m+1} + {m+n \\choose m} = ... ={m+n \\choose m+1} + {m+n-1 \\choose m} + {m+n-2 \\choose m-1} + ... + {m \\choose m+1} = \\sum_{k=0}^{n} {m+k \\choose m+k-n+1 } $$ Which, again, probably is wrong because it is not equal $\\sum_{k=0}^{n} { m+k \\choose m}$. Any help is appreciated", "R's lmer cheat sheet There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer. I thought it would be great to have all the information in one place. A couple of questions to start: How to specify multiple levels, where one group is nested within the other: is it (1|group1:group2) or (1+group1|group2)? What's the difference between (~1 + ....) and (1 | ...) and (0 | ...) etc.? How to specify group-level interactions?", "Show that if the Riesz map is surjective on $H$, then $H$ is a Hilbert space Let $H$ be a vector space equipped with an inner product $(\\cdot, \\cdot)$ and $f:H\\to H',\\ f(x)=(\\cdot,x)$ surjective. Now, why $H$ is a Hilbert space? The other direction is clear by Riesz' representation theorem but what about this?", "Escaping ampersand in URL" ]
medi_sts_stackexchange_dupe
Exception in MySQL
ResultSet exception - before start of result set
[ "How to install the latest versions of NodeJS and NPM?", "I have to solve: $\\lim\\limits_{x\\to \\infty} \\frac{\\ln(x+1)}{\\ln(x)}$. Can you give me any hints to go? Thanks a lot!", "What graphics packages are there for creating graphics in LaTeX documents? What packages do you use and recommend for creating graphics in your LaTeX documents? As this is a community wiki post, please add your package to the accepted answer (or add a comment, and someone with >100 rep will add it to the CW answer), and include a brief description of what differentiates it from others and how it can be used (GUI drawing tool which generates code, type in raw text, or generates image for inclusion in document). We'll eventually sort these answers under headings.", "How do I embed a gather environment within a custom environment? I've tried defining the following custom environment, but I get errors: \\begin{gather} ended by \\end{solution} etc... Here's a MWE showing my problem: \\documentclass{article} \\usepackage[fleqn]{mathtools} \\newenvironment{solution}{% &lt;-Solution \\par\\addvspace{1em} \\itshape{Solution:}\\par\\begin{gather}} {\\end{gather}\\par\\normalfont\\hfill\\qed\\par\\addvspace{\\medskipamount}}% \\begin{document} \\begin{gather} testing \\end{gather} %% This does not work: \\begin{solution} testing \\end{solution} \\end{document}", "Proving the measure of an increasing sequence of measurable sets is the limit of the measures Show that if $A_1\\subseteq A_2\\subseteq A_3\\subseteq\\cdots$ is an increasing sequence of measurable sets (so $A_j\\subseteq A_{j+1}$ for every positive integer $j$), then we have $$m\\left(\\bigcup_{j=1}^\\infty A_j\\right)=\\lim_{j\\to\\infty}m(A_j)$$ Here is my proof: According to the $\\sigma$-algebra property, $\\bigcup_{j=1}^{\\infty}A_j$ is a measurable set, so it makes sense to talk about $m(\\bigcup_{j=1}^{\\infty}A_j)$. Firstly, I prove that $\\lim_{j\\to\\infty}m(A_j)\\leq m(\\bigcup_{j=1}^{\\infty}A_j)$. This is because for any given positive integer $N$, $A_N\\subseteq \\bigcup_{j=1}^{\\infty}A_i$, according to monotonicity, we have $m(A_N)\\leq m(\\bigcup_{j=1}^{\\infty}A_i)$. Take the limit,we will have $\\lim_{j\\to\\infty}m(A_j)\\leq m(\\bigcup_{j=1}^{\\infty}A_j)$. Secondly, I prove that $m(\\bigcup_{j=1}^{\\infty}A_j)\\leq \\lim_{j\\to\\infty}m(A_j)$. For any given positive integer $N$, $\\bigcup_{j=1}^N A_j = A_N$. According to monotonicity,we have $m\\left(\\bigcup_{j=1}^N A_j\\right)=m(A_N)\\leq \\lim_{j\\to\\infty}m(A_j)$. Take the limit, we will have $m\\left(\\bigcup_{j=1}^\\infty A_j\\right) \\leq \\lim_{j\\to\\infty} m(A_j)$. Combine the above two arguments, we will see that $$m\\left(\\bigcup_{j=1}^\\infty A_j\\right)=\\lim_{j\\to\\infty} m(A_j)$$$\\Box$ The above is my proof, unlike many books, my proof does not use the property of countable additivity. So I doubt my proof is correct. Who can point out where are my mistakes?", "GameJolt is a gaming platform/website that offers API access with features like achievements tracking for users, etc. I can use the API no problem on my tests but what I'm concerned about is the private key that is issued to my game. How do I ensure that it's protected from people that want to decompile my game? Once they get the API private key, they will be able to do anything with it.", "Using the same variable as a fixed and random effect in Mixed Effect Models", "Lyman and Balmer series", "Captchas not displaying in SO for me When I get a captcha on Stack Overflow, I don't see the image or the input box with Firefox. I originally had the \"HTTPS Anywhere\" extension installed but still have the same issue when it's disabled (This caused issues previously when Google's SSL certs were expired for an old domain IIRC). The requests to Google seem to be never-ending; browsing to the URLs that are still loading results in some pages of JavaScript, but no errors as you'd hope. The screenshot was taken after the page had been open for more than 3 minutes, and I'm not sure why the GETs are still running. The request popup visible in Firebug is for \"GET challenge?k=....\" When browsing to the same captcha page in IE, there are no issues. I'm aware this could be an issue with my Firefox configuration, as opposed to the site, but would appreciate it if someone could verify if it's just me, and suggest a fix. EDIT While visiting the Recaptcha site, I can see a Captcha with no problems If I right-click the problem URLs in FF and Open in new tab, the pages load fine. From the fact that FB omits IP Addresses for the problem ones, I assume that it's not even opening a connection (nor perhaps performing a DNS lookup) Other sites that use Recaptcha seem to work fine (I picked 3 at random from Google)", "Exclude bounties from affecting privileges", "So I have a torus, and I need it to \"telescope\" open -- kind of like Pacman's death animation, but with a torus instead of a sphere. I'm very new to 3D modeling/animating so I really have no clue how to tackle this problem. Any advice to help me get pointed in the right direction would be most appreciated :)", "How to hide TabPage from TabControl How to hide TabPage from TabControl in WinForms 2.0?", "Lubuntu 16.10: How to make login through greeter without typing password work", "Projection on the hyperplane $H: \\sum x_i=0$ Consider the hyperplane $H: \\sum_{i=1}^n x_i=0$. Let $P$ denote the orthogonal projection onto $H$. What exactly is the matrix $P$ and how do we find it?", "Given two equivalent norms, convergence in one implies convergences in other. Suppose we have two equivalent norms, $\\|\\cdot \\| \\sim \\left\\vert\\!\\left\\vert\\!\\left\\vert \\cdot\\right\\vert\\!\\right\\vert\\!\\right\\vert$. We assume that $x_n \\rightarrow x $ in $(X,\\|\\cdot \\|)$. Show that $x_n \\rightarrow x $ in $(X,\\left\\vert\\!\\left\\vert\\!\\left\\vert \\cdot\\right\\vert\\!\\right\\vert\\!\\right\\vert)$ We observe since the norms are equivalent, there exits constants $\\alpha, \\beta$, such that $\\alpha \\|\\cdot \\| \\leq \\left\\vert\\!\\left\\vert\\!\\left\\vert \\cdot\\right\\vert\\!\\right\\vert\\!\\right\\vert \\leq \\beta \\|\\cdot \\|$, with $0 \\lt \\alpha \\leq \\beta$ Since, $x_n \\rightarrow x$ in $(X,\\|\\cdot \\|$) we know that for all $\\epsilon&gt;0, \\exists K(\\epsilon)$ such that for n>$K(\\epsilon),$ we have $\\|x_n -x\\| \\leq \\epsilon$ Since, we know $\\beta \\gt 0$ , then $ \\beta \\|x_n -x\\| \\leq \\beta \\epsilon$, Thus we see that $\\left\\vert\\!\\left\\vert\\!\\left\\vert x_n-x\\right\\vert\\!\\right\\vert\\!\\right\\vert\\leq \\beta \\epsilon$. This is how far I've gotten, our goal to is to find a a $J(\\epsilon)$ such that for all $\\epsilon&gt;0, \\exists J(\\epsilon)$ such that for n>$J(\\epsilon),$ we have $\\left\\vert\\!\\left\\vert\\!\\left\\vert x_n-x \\right\\vert\\!\\right\\vert\\!\\right\\vert \\leq \\epsilon$ My candidate for $J(\\epsilon$) is $J(\\epsilon) = \\frac{K(\\epsilon)}{\\beta}$ from my above argument, but I'm not exactly sure how to validate this. If someone could help me on the proof, it would be very appreciated. I believe I'm pretty close, just missing something small.", "How can I scale all images in a folder to the same width? I want to scale all images in a given folder to the same width (but different appropriately scaled heights). How can I do this using a GUI-based or command-line tool? For bonus points, is it possible to restrict which images are scaled based on their initial width (that is, only scale images that have a width > x and/or a width &lt; y)?", "Can \"mustn't\" be used for conclusions? I heard this sentence in an American film a while ago as I was watching it on DVD (the part after but is verbatim): \"I'm doing my best but I mustn't be doing it right.\" This is something I occasionally hear in American films: phrases like \"he mustn't have done it\" or \"she mustn't be studying now\", where a logical conclusion is expressed. So far I've thought that the normal thing to say is \"he can't have done it\" or \"she can't be studying now\". My question is: Can mustn't be used to express a logical conclusion when the speaker is certain that something didn't happen or isn't happening, at least in informal speech? Is this an American usage? (I've never heard this usage in British English, but this doesn't mean it doesn't exist.) Is there a change going on in the usage of the particular modal verb? Note: All the references I've checked don't even mention this use of mustn't. Google books aren't of help either. EDIT: I should clarify that I'm asking this question because if I wanted to express that I'm certain I'm not doing something right (as in the sentence quoted from the film) I'd say \"I'm doing my best but I can't be doing it right\". I would think that the use of mustn't/must not wouldn't be standard usage (although the meaning is perfectly clear to me; I never mistook it for an injuction).", "Cartographic techniques for symbolizing routing data Some common problems with displaying routes created from street data, such as bus routes, include: Routes may overlap themselves, such as when a route takes the same road in opposite directions Routes may overlap other routes that take the same street. Routes are often overly detailed, or \"noisy\", owing to their derivation from street data. Indicating a route's direction unambiguously without overloading it with arrows can be a challenge. What are some techniques for dealing with these issues in order to create a practical and usable route map, such as this ? Do you know of any such public transport maps that were produced by automatic techniques rather than manual illustration/digitization? Specifically I am using ArcGIS 10, but solutions involving other software are welcome as well. One technique I have had some success with for dealing with 1) is using ArcMap's with a negative offset -- assuming the lines are oriented in the direction of travel, this will offset the lines such that the right and left-hand sides are distinct and oriented as you would expect (at least for countries, for left-hand traffic countries one would use a positive offset). However the result tends to be a bit wonky around turns, interchanges and and U-turns, and is inflexible when dealing with multiple routes. Another possibility that I am not very familiar with but which seems promising is -- however, I have not had much luck in finding examples of using representations for transportation maps and whether it might fit the bill.", "Why do I have to click twice to submit a question when Stack Exchange's automated question review has no advice to show?", "Where can I obtain an English dictionary with structured data?" ]
medi_sts_stackexchange_dupe
If $f: \mathbb{R}^2 \to \mathbb{R}$ is polynomial in each argument, $f$ is polynomial
Is a bivariate function that is a polynomial function with respect to each variable necessarily a bivariate polynomial?
[ "Grammar-checking tool for use with LaTeX? I am looking for a grammar-checking tool, i.e., something that checks for mistakes such as \"two dog\" or \"a books\". It has to work on Linux (Ubuntu). Also, since I use macros to generate some of the prose, it has to somehow work with LaTeX. I don't think that such checkers are LaTeX-aware, so it has to work with some compilation product of LaTeX: DVI or PDF. If you suggest a grammar checker that checks plain text, please explain how to you extract the text. catdvi does a nice job, but it leaves some garbage like page numbers.", "Prove that $\\Vert f(b)-f(a)-f'(a)(b-a) \\Vert\\leq \\sup_{x\\in [a,b]} \\Vert f''(x)\\Vert\\Vert b-a\\Vert^2$ Let $\\Omega$ be an open set in $\\Bbb{R}^n$ and $f:\\Omega\\to \\Bbb{R}^m $ be of class $\\Bbb{C}^2.$ Let $a,b$ be in $\\Omega$ such that $[a,b]\\subset \\Omega.$ Prove that \\begin{align}\\Vert f(b)-f(a)-f'(a)(b-a) \\Vert\\leq \\sup_{x\\in [a,b]} \\Vert f''(x)\\Vert\\Vert b-a\\Vert^2.\\end{align} where $$f'(a)(b-a)=\\big&lt;\\nabla f(x),(b-a)\\big&gt;=\\sum^{n}_{k=1}\\frac{\\partial f_i}{\\partial x_k}(a)(b_k-a_k).$$ I think the idea of Mean Value Theorem for $C'$ functions in $\\Bbb{R}^n$ () will help me in showing it but I don't know how to! Please, can anyone show me a proof or reference?", "Multiply cited reference in footnotes", "Consider an isosceles triangle. Let r be the radius of the circumscribed circle and p be the radius of the inscribed circle. Prove that the distance d between the centers of these two circles is $$d = \\sqrt{r(2p-r)}$$", "Harmonic Motion", "I'm using 17.04 ( Clean Install ), and as far as I remember, every try to install any sofware- it fails with that error code. I tried sudo apt-get update &amp;&amp; apt-get upgrade and problem persists. any idea why? edit: Using software Updater gave this result : edit : output of update guy@LG-LAPTOP:~$ sudo apt-get update &amp;&amp; apt-get upgrade [sudo] password for guy: Ign:1 http://il.archive.ubuntu.com/ubuntu zesty InRelease Ign:2 http://il.archive.ubuntu.com/ubuntu zesty-updates InRelease Ign:3 http://il.archive.ubuntu.com/ubuntu zesty-backports InRelease Err:4 http://il.archive.ubuntu.com/ubuntu zesty Release 503 Service Unavailable Get:5 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2 kB] Err:6 http://il.archive.ubuntu.com/ubuntu zesty-updates Release 503 Service Unavailable Get:7 http://archive.canonical.com/ubuntu zesty InRelease [10.2 kB] Err:8 http://il.archive.ubuntu.com/ubuntu zesty-backports Release 503 Service Unavailable Get:9 http://archive.canonical.com/ubuntu zesty/partner Sources [1,416 B] Get:10 http://archive.canonical.com/ubuntu zesty/partner amd64 Packages [1,616 B] Get:11 http://archive.canonical.com/ubuntu zesty/partner i386 Packages [1,612 B] Get:12 http://archive.canonical.com/ubuntu zesty/partner Translation-en [708 B] Get:13 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11 Metadata [11.7 kB] Get:14 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64 Icons [9,219 B] Get:15 http://security.ubuntu.com/ubuntu zesty-security/universe amd64 DEP-11 Metadata [14.4 kB] Get:16 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11 64x64 Icons [31.0 kB] Reading package lists... Done E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty-updates Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://il.archive.ubuntu.com/ubuntu zesty-backports Release' does no longer have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. guy@LG-LAPTOP:~$ output of apt get guy@LG-LAPTOP:~$ sudo apt-get install putty Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: putty-tools Suggested packages: putty-doc The following NEW packages will be installed: putty putty-tools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 661 kB of archives. After this operation, 2,713 kB of additional disk space will be used. Do you want to continue? [Y/n] Err:1 http://il.archive.ubuntu.com/ubuntu zesty/universe amd64 putty-tools amd64 0.67-3 503 Service Unavailable Err:2 http://il.archive.ubuntu.com/ubuntu zesty/universe amd64 putty amd64 0.67-3 503 Service Unavailable E: Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/universe/p/putty/putty-tools_0.67-3_amd64.deb 503 Service Unavailable E: Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/universe/p/putty/putty_0.67-3_amd64.deb 503 Service Unavailable E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? guy@LG-LAPTOP:~$", "Markdown for ordered lists, starting with zero? I see that you can create an ordered list using Markdown notation like the following. 1. line 1 2. line 2 3. line 3 ... N. line N The Markdown content supports starting each line with any arbitrary number and reorders the list starting with 1. I'd like to start an ordered list with zero. My use case for zero would be in describing capture groups from regular expressions where group zero always returns the entire string. So I'd like to display something like this: # Groups 0. Entire string 1. The first capture group you were looking for 2. The second capture group 3. The third group with the string I heart Kittens Markdown instead reorders the group and forces the ordered list to start at 1: Trying to force the issue with inline HTML: &lt;ol start=\"0\"&gt; or &lt;ol&gt;&lt;li value=\"0\"&gt;entire string&lt;/li&gt;&lt;/ol&gt; doesn't work either. Any ideas on how I can create ordered list starting with zero? If it's not possible to do so, then this is a feature-request.", "I'm trying to use the Bash parameter expansions to modify the output of a command substitution or another parameter expansion. The following nested expansions work quite well in Zsh; but result in a &quot;bad substitution&quot; error in Bash: ${${PWD##*/}//trunk/latest} or ${$(basename $PWD)//trunk/latest} the output should be the last folder of the $PWD, replaced by latest when my current directory is trunk so /home/user/trunk should become latest Is there a Bash equivalent allowing to chain expansions without relying on variables or pipes? Or do Bash expansions only allows the input to be a string or a plain variable?", "Cutting strands of wire to fit plug I am a hvac tech, but my question is I have 2awg stranded and my plug is 6awg, will it matter much if I cut some strands to fit my plug? the plug is 60amp 250vac for a piece of kitchen equipment if the matters.", "Proof verification: column rank = row rank $\\newcommand{\\span}{\\operatorname{span}}\\newcommand{\\rank}{\\operatorname{rank}}$I would like to prove that for every martix, column rank = row rank Let $A\\in M_{m\\times n}$ be some matrix. fix $R_A$ = vector space of the rows of $A$ , $C_A$ = vector space of the columns of $A$ $$\\rank (R_A) = dim \\ (\\span \\{R_1, R_2, \\ldots, R_m\\})$$ $$\\rank (C_A) = dim \\ (\\span \\{C_1, C_2, \\ldots, C_n\\})$$ let $x$ be some vector. $$x\\in \\operatorname{Null}(A) \\Leftrightarrow \\forall i \\ \\ (1 \\leq i \\leq m) : \\langle x,R_i\\rangle = 0$$ (to be clear - I'm referring to the inner product of $x$ with each row of $A$) Using the rank nullity theorem, $\\dim \\operatorname{Null}(A) = n - \\rank(R_A)$ as $n$ = number of columns. what I would like to do is to say: $$\\dim \\operatorname{Null}(A) = n - \\rank(R_A)$$ $$\\dim \\operatorname{Null}(A) = n - \\rank(C_A)$$ therefore, $\\dim \\operatorname{Null}(A) = n - \\rank(R_A)= n - \\rank(C_A) \\Longrightarrow \\rank(R_A) = \\rank(C_A) $ it that false? is using the rank- nullity theorem this way is cheating? or just doesn't prove what needs to be proven formally?", "\"This site is all about getting answers. It's not a discussion forum. There's no chit-chat.\"", "Simple PHP Pagination script", "How was Nearly Headless Nick unpetrified?", "If $a,b,c \\in \\mathbb{R+}$ and $abc=1$ Prove That $$S=\\sum \\frac{a}{a+b^4+c^4} \\le 1$$ My approach: we have $$S=\\sum \\frac{\\frac{1}{bc}}{\\frac{1}{bc}+b^4+c^4}=\\sum \\frac{1}{1+b^5c+bc^5}$$ Now by $AM \\ge GM$ we have $$\\frac{1+b^5c+bc^5}{3} \\ge b^2c^2$$ $\\implies$ $$\\frac{1}{1+b^5c+bc^5} \\le \\frac{1}{3b^2c^2}=\\frac{a^2}{3}$$ Hence $$S \\le \\frac{a^2+b^2+c^2}{3}$$ Can we proceed with this?", "$X\\sim\\mathrm{Poisson}(\\lambda_1 = 5)$ and $Y\\sim\\mathrm{Poisson}(\\lambda_2 = 15)$. Let $Z = X + Y$ . Compute $\\mathrm{Corr}(X, Z)$.", "Error installing Apache2 Server", "How is effect precedence determined? I was using and my opponent has a . I attacked Sylvanas, fearing that the Deathrattle will take control of one Hyena. I feel lucky, because it did not happen. I want to know if there are some general rules of effect precedence. Has Blizzard published something about this? Are there articles teaching about precedence? Please note, I want guidance about effect precedence in general, not just about Deathrattle.", "\"Thought you'd never ask\" is \"I thought you'd never ask\" with \"I\" omitted. \"Hope this helps\" is \"I hope this helps\" with \"I\" omitted. In English grammar, normally every sentence should have a subject, right? My first thought is that these two examples are so often used that they are like set phrases. But these are not really set phrases. You can alter the words after \"thought\" and \"hope\". Another possible explanation is the tendency to drop the subject if it is the first person pronoun. It seems that in many languages, such as Spanish, Italian and Japanese, the first person subject is usually omitted. Maybe English is going the same way? (Not exactly the same, since in Italian, verb forms change according to the person, so the subject is not necessary to understand who one's referring to.) And, apparently, such omission is more common in spoken English than in written English. Are there more examples of such first person subject omission? How frequent is it?", "Clicking community promotion ad renders an instance of SO within the frame of that ad Today I came across an ad on this question on SO: (I don't expect it to stay very long). There was a community promotion ad on the right hand side of the site, I think for one of our English sites. It had a sentence that I only partially remember: Idiom ... poor or even poorer I found it interesting, so I clicked that ad. Which caused a new instance of SO to open within the ad space. Unfortunately I failed to take a screenshot. I've been refreshing the page like crazy, but can't get the ad to appear again. Edit: I managed to get a new community add, for the photography site, and captured a screenshot: Edit2: This bug still persists, I saw it today with an OOP add from CodeReview, and an area 51 add.", "A correct preposition - account closed due/by/at 12th of May" ]
medi_sts_stackexchange_dupe
Visual Studio 2008 stopped processing "find all"
Visual Studio "Find" results in "No files were found to look in. Find stopped progress."
[ "Here there is my proof (quite short and easy) of a rather straightforward result. The text of this question comes from a previous question of mine, where I ended up working on a wrong inequality. Here things are fixed. Still, I would like to know: if it is sound, because absolute value always creates me some problem, and if there is a shorter (neater) way to get the result (maybe without using contradiction). Proposition: $|d(x,y)-d(y,z)| \\leq d(x,z)$. Proof: We proceed by cases. Case 1: $d(x,y)-d(y,z) \\geq 0$. Assume by contradiction that $d(x,y)-d(y,z) &gt; d(x,z)$. Hence, $d(x,y)&gt; d(y,z) + d(x,z)$, contradicting the triangle inequality. Case 2: $d(x,y)-d(y,z) &lt; 0$. Assume by contradiction that $ - d(x,y) + d(y,z) &gt; d(x,z)$. Hence, $d(x,y) &lt; d(y,z) - d(x,z)$. By applying the triangle inequality, we have that $d(y,x) \\geq d(y,z) + d(x,z)$, which is by symmetry equivalent to $d(x,y) \\geq d(y,z) + d(x,z)$, obtaining the desired contradiction. $\\square$ As always, any feedback is welcome. Thank you for your time.", "As figured out in localized SE sites must not be displayed in the HNQ's. But actually is. Has to be fixed I guess?", "How do you join on the same table, twice, in mysql?", "I'm using Ubuntu GNOME 16.10 and was trying to install WPS Office. I tried to install using software centre But it wasn't installing without giving any error logs. Then I opened it with Gdebi installer. Here is what I saw. I have already trying enabling multiverse repositories. Edit: I have downloaded the amd64 package from the WPS official site, but even now installing through terminal I still get the missing dependencies error.", "How do I fix my locale issue? I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = \"en_US:en\", LC_ALL = (unset), LC_MESSAGES = \"en_US.UTF-8\", LANG = \"en_US.UTF-8\" are supported and installed on your system. perl: warning: Falling back to the standard locale (\"C\"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory (Reading database ... 21173 files and directories currently installed.) Removing bind9 ... * Stopping domain name service... bind9 [ OK ] Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory How do I fix this error ?", "What do parentheses surrounding an object/function/class declaration mean? I'm new to both JavaScript and . In YUI library examples, you can find many uses of this construct: (function() { var Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, layout = null, ... })(); I think the last couple of parentheses are to execute the function just after the declaration. ... But what about the previous set of parentheses surrounding the function declaration? I think it is a matter of scope; that's to hide inside variables to outside functions and possibly global objects. Is it? More generally, what are the mechanics of those parentheses?", "After logging in on terminal with user name and password, how do I start the GUI?", "Quickly create a large file on a Linux system How can I quickly create a large file on a Linux () system? will do the job, but reading from /dev/zero and writing to the drive can take a long time when you need a file several hundreds of GBs in size for testing... If you need to do that repeatedly, the time really adds up. I don't care about the contents of the file, I just want it to be created quickly. How can this be done? Using a sparse file won't work for this. I need the file to be allocated disk space.", "Bottom to top explanation of the Mahalanobis distance? I'm studying pattern recognition and statistics and almost every book I open on the subject I bump into the concept of Mahalanobis distance. The books give sort of intuitive explanations, but still not good enough ones for me to actually really understand what is going on. If someone would ask me \"What is the Mahalanobis distance?\" I could only answer: \"It's this nice thing, which measures distance of some kind\" :) The definitions usually also contain eigenvectors and eigenvalues, which I have a little trouble connecting to the Mahalanobis distance. I understand the definition of eigenvectors and eigenvalues, but how are they related to the Mahalanobis distance? Does it have something to do with changing the base in Linear Algebra etc.? I have also read these former questions on the subject: I have also read . The answers are good and pictures nice, but still I don't really get it...I have an idea but it's still in the dark. Can someone give a \"How would you explain it to your grandma\"-explanation so that I could finally wrap this up and never again wonder what the heck is a Mahalanobis distance? :) Where does it come from, what, why? UPDATE: Here is something which helps understanding the Mahalanobis formula:", "Should one ask generic or specific question? Let's assume that one has some problems with coding or designing specific project. Should one ask general question about techniques, algorithms, generic problem (anonymising the project references), or should one ask about specific problem in specific problem? Or perhaps something in between? Example: generic: Cross-browser implementation of “HTTP Streaming” (push) AJAX pattern specific: How to implement AJAX-y 'incremental blame' view in gitweb (git web interface in Perl)? If one should ask generic questions, how to anonymise problem? If one should ask specific question, how avoid 'homework' syndrome?", "I want to run DFS replication between a couple of servers. It's my understanding that the servers need to be part of a domain for this. Being able to give people a username and password that works on all servers would be useful too, so I can lock up the admin password. All machines will be running Windows 2008R2 and they will all be running Windows Firewall, so I need to be able to allow the other machines to connect to this server, but lock out everyone else. So my question is: what ports do I need to allow the machines to connect to the Domain Controller over?", "how is this possible? I know there is some trick, should someone please explain?!", "There is a polynomial $f$ of integer coefficients such that $\\deg(f) \\geq 4$. Let's assume that there are four integers $a,b,c,d$ for which $f(a)=f(b)=f(c)=f(d)=5$. Prove that there is no integer $k$ for which $f(k)=8$ - I'd like to have a full explanation to solution.", "Why can one bend glass fibers without breaking it, whereas glasses one comes across in real life is usually solid? Is there also a good high-school level explanation of this?", "Possible Duplicate: I am a little bit confused about asking a question: Can you please tell me my next work? or Could you please tell me my next work? Which is more correct?", "Real Time LaTeX? Possible Duplicate: I'm looking for an application in which I can write pure LaTeX in one half of the screen and on the other half to see the compiled document in real time. This seems really like an obvious way to do LaTeX authoring but it doesn't look like any software is able to do it. LyX is not what I'm looking for. I want to edit the actual LaTeX and see it rendered in real time. Why isn't this already being done somewhere?", "I have the bike, I have the best route; but now I want to know, how do I transport my clothing in each day? I typically wear suit pants and a business shirt, but not a suit jacket. Am I better off leaving my clothes at work, or is there a special bag that would let me carry in shirt/pants without them getting crushed?", "How to Calculate the time of Charging and Discharging of battery?", "Evaluating indefinite integrals of the form $\\int \\frac{x^2 \\,dx}{a x^5 + b}$ Evaluate the indefinite integral $$\\int \\frac{x^2 \\,dx}{a x^5 + b},$$ for real parameters $a, b \\neq 0$. No apparent substitutions simplify the expression (if the exponent of $x$ were an integral multiple of $3$, this would suggest the substitution $u = x^3$, $du = 3 x^2 \\,dx$, but the exponent is not). Applying integration by parts with $u = a x^5 + b$, $dv = x^2 dx$ is straightforward, but it produces an integrand with a much larger degree in the denominator and so appears only to make the situation worse. Applying integration by parts instead with $dw = \\frac{x^k dx}{a x^5 + b}$ results in integrating $\\frac{x^k dx}{a x^5 + b}$, which except when $k \\equiv 4 \\pmod 5$ (which doesn't appear immediately fruitful), doesn't appear much easier than the given integral.", "Can I mill my opponent into defeat with Mindcrank and Duskmantle Guildmage? Okay the scenario I'm thinking of is as follows: I control a , and 3 untapped lands (2 swamps, 1 Island to be perdantic). In my opponents turn he casts a burn spell to kill my duskmantle. I activate his first ability in response. The way I am hoping the following interactions will go is: Duskmantles ability will hit the stack at the top and resolve The burn spell resolves dealing its damage to Duskmantle The burn spell card hits the graveyard and triggers the infinite loop for duskmantle and mindcrank killing my opponent Duskmantle perishes Is this the way that the stack would pan out? Do I win in this situation regardless of the stack being correct or not above? (I am not fully familiar with how the stack really works in magic) You can see the cards from my deck ." ]
medi_sts_stackexchange_dupe
It's possibile to delete some file with a range af number in a name?
Can I use a variable in a Bash brace expansion?
[ "Difference between $\\sum_{i=1}^{k}{\\frac{s_i}{kn_i}}$ and $\\frac{\\sum_{i=1}^{k}{s_i}}{\\sum_{i=1}^{k}{n_i}}$ I am getting confused at how to calculate the average probability. Suppose we repeat a kind of binary survey $k$ times each of which was done on a completely separate sample group. For each $i^{th}$ group, $i=1,2,3,...,k$, Let $n_i$ be the number of samples and $s_i$ be the number of positive results. With this we know that the probability $p_i$ of the positive result for the $i^{th}$ group is $s_i/n_i$ With my ignorance, I happened to use two ways to calculate the average probability in my work wrongly assuming that they are the same: $$\\frac{p_1+p_2+p_3+...+p_k}{k}$$ and $$\\frac{s_1+s_2+s_3+...+s_k}{n_1+n_2+n_3+...+n_k}$$ I don't know which is the correct way to calculate the average probability. So could you please explain the difference of these two and when to use which?", "How do I audit my reputation? If I am concerned that my reputation score is incorrect, how can I audit it, or get a report of a detailed breakdown of my reputation?", "One-dimensional [Noetherian] UFD is a PID", "Number of equivalence relations on a set", "So I know I've heard this saying in American English before but I just can't quite find the original. I have come up with several made up variations like: I don't send the Navy (or whole army, or a battalion) when all you need is a diplomat. Don't buy the whole cow when all you need is milk. What's the more commonly heard saying/phrase for this of expression?", "Are any of the alien languages in Star Wars real Earth languages? Are any of the alien languages (other than English and binary) in Star Wars movies or TV shows real Earth languages?", "Apollonius circle, its radius and center", "Given that , I wonder if every intelligent biological species is capable of producing beings that are Force-Sensitive? Or are there some species characteristics that can make it 100% impossible for them ever to produce a Force-sensitive individual. NOTE: Let's exclude - if they exist in EU - things like random new-species-creating mutations - e.g. the individual should be 100% the same species, able to interbreed.", "Is there a way to summon Dogmeat to you? I've recently started playing Fallout 4, and I've acquired Dogmeat. Long story short, I told him to stay in a small building so I could down a few raiders quietly but I forgot about him and I can't find him. Is there a way to call Dogmeat back or do I have to retrace my steps until I'm reunited with him?", "Difference between myself and by myself", "W and Z bosons are observed/discovered. But as force carrying bosons they should be virtual particles, unobservable? And also they require to have mass, but if they are virtual they may be off-shell, so are they virtual or not.", "Finding the radius of a third tangent circle Sorry if this is a foolish question, but I'm having difficulty understanding how to solve for $r_3$ in the following diagram... According to WolframAlpha's page on tangent circles, the radius of $c_3$ can be calculated using the following formula $r_3=\\frac{r_1 \\times r_2}{(\\sqrt{r_1}+\\sqrt{r_2})^2}$, which can be simplified to $\\frac{1}{\\sqrt{r_3}}=\\frac{1}{\\sqrt{r_1}} + \\frac{1}{\\sqrt{r_2}}$. To be completely honest, I'm having a hard time understanding understanding how this formula works (as I'm a very visual person). What exactly is happening here?", "Monitor hard drive changes to files Several months ago I saw someone using an application that showed him files on the computer being modified in real time. Basically there was an application that wasn't working correctly, so he installed the program, ran the application, and saw all the various files that the application either read from or wrote to. He found out the application was writing a large debugging file it shouldn't be, which ended up being the problem. I don't remember the application or the name of the person who used it, but I believe it's a freeware application. Does anyone know what this program might be?", "How to determine which program is making a certain sound in windows 7? I'm experiencing an annoying \"female robotic\" sound effect saying \"loading complete\" at uncertain interval in windows 7. I want to shut down that noise for good. To do that, I have to determine which program is making this sound. I tried to open the \"sound mixer\" window, only to find to program last made any sound, one is official GTalk client, one is system sound. I tried to close GTalk and the sound still existed. I started experiencing this issue not long after I installed a \"driver\" program for Rapoo E9198 wireless keyboard.", "is it possible to trigger an email using microsoft flow when a date in a field of a sharepoint list item is nearby, I want to build a flow to trigger an email when a date in one of the fields is nearing. I have a field named Payment due date. is it possible to trigger an email 2 days prior to the Payment due date. So that I don't miss the payment due date and payment is not delayed. Any kind of assistance is appreciated. Thank you very much in advance!", "Limit $\\frac{x^2y}{x^4+y^2}$ is found using polar coordinates but it is not supposed to exist.", "Two tables side by side with minipage", "show all my unanswered questions from SE Any way how to get my all un-answered questions from across all SE sites?", "Test model coefficient (regression slope) against some value In R, when I have a (generalized) linear model (lm, glm, gls, glmm, ...), how can I test the coefficient (regression slope) against any other value than 0? In the summary of the model, t-test results of the coefficient are automatically reported, but only for comparison with 0. I want to compare it with another value. I know I can use a trick with reparametrizing y ~ x as y - T*x ~ x, where T is the tested value, and run this reparametrized model, but I seek simpler solution, that would possibly work on the original model.", "Does this exist: software for noise cancellation" ]
medi_sts_stackexchange_dupe
Can't install Chrome on Ubuntu 18
How to install Google Chrome
[ "How many Valyrian steel swords are there at the beginning of GoT, and who owns them?", "Are there rules for falling in water vs. diving vs. just jumping in for various depths of water?", "Using Newton's Law of Universal Gravitation to find distance, with the question not giving sufficient information to substitute into the equation. Problem: $F = \\frac{(G m_1 m_2)}{r^2}$ An object of unknown mass is placed directly between the Earth and the Moon such that the forces of gravity acting on the object are equal from both the Earth and the Moon. The distance from the Moon to the object is exactly one-tenth of the distance from the Moon to Earth. Using the above formula, determine the distance from the Moon to the Earth. Given is: The factor $G≈6.67∙10−11\\mathbf{N(\\frac{m^2}{kg^2})}$ is a universal constant. Mass of Earth $≈5.972∙10^{24}\\mathbf{kg}$ Mass of the Moon as $≈7.348∙10^{22}\\mathbf{kg}$ Mass of unknown object = $m$ My solution: $F = \\frac{(6.67 *10^-11) m (7.348*10^{24})}{R^2}$ $F = \\frac{(6.67 *10^-11) (5.92* 10^22) m}{10R^2}$ As gravitational force acting on the object is equal $\\frac{(5.92\\cdot 10^22)}{100r^2} = \\frac{(7.348*10^{24})}{r^2}$ $R = 1.24 \\cdot 10^4 KM$ Is this a viable solution to the problem? Please provide feedback. Thank you!", "Pay real money to set bounties (another method, not replacing rep method) It may seem like a stupid thing, but could we please be able to pay real money to set a bounty. For example, if I had only 1 rep, I want to be able have a bounty. Here late the suggested prices in USD. Convert money $0.49 for each 50 reputation $0.99 for each week $1.99 for a month $9.99 for a year Every month, the bounty fee would come in. This would mean you would have to enable your account with a bounty fee button on your profile.", "Prove that $f'(a)=\\lim_{x\\rightarrow a}f'(x)$.", "Is there a way to exclude other particle systems from the effects of a Wind effect? I have a scene with a number of particle systems. I'd like to have a separate wind effect for my main scene and another for an extra: an emitter + wind-effect to blow leaves into my scene. I can't find any way to exclude, so here I am. At the very worst, I can just render the main scene and then render the wind effect and composite it, but I figured I'd check first.", "I am trying very hard to install Canon LBP2900b Printer in Ubuntu 13.10. I have searched and googled a lot for the solution over fortnight but none of the site / link gave me the simple solution for me. How can accomplish my goal?", "Why do we need the trilogy instead of just one site?", "How can I make Firefox open magnet-links in Transmission?", "Prepositional Phrase - confused - at or in Let's meet in the morning or at the morning. in the afternoon or at the afternoon. in the night or at the night. in the park or at the park. working in the background or at the background.", "Upgrade or replace a Wubi installation? I've got Windows 7 with Wubi 11.10 installed. I would like to upgrade to 12.04 but I'm not sure what the best path would be. I'm not skilled enough to use Ubuntu all the time, and my iPhone requires me to run some Windows version for the damn iTunes software. I would love to run Windows XP but I can't figure out how to install it via USB -- my computer has no cd drive. I'd like to run Windows XP and Wubi 12.04 on top of that. Or, perhaps, Ubuntu 12.04 natively and Windows XP alongside of that. So I guess I have 2 questions: (lazy) Should I upgrade my Wubi from inside Ubuntu, or should I remove Wubi 11.10 from within Windows and install a brand new Wubi 12.04? (proper) How can I install Windows XP and Ubuntu 12.04 alongside each other? Update: I am going to create a separate question post about the above #2 question... I realize it's wrong to ask two questions in one post when they are that different.", "Minecraft's got an \"Open to LAN\" feature, which can be used to set up a local server when two computers running Minecraft are on the same network. Some young relatives of mine use this to play together whenever they're in the same house, but they'd like to be able to play together from their respective residences. A server is not optimal because it's a bit complex. I've tried using Tunngle to spoof that the computers are on the same connection to no avail. How can I convince Minecraft's \"Open to LAN\" that their two separate computers are on the same network?", "Please provide me with the guidance to install oracle 11gr2 on Ubuntu 14.04.", "Are PDO prepared statements sufficient to prevent SQL injection? Let's say I have code like this: $dbh = new PDO(\"blahblah\"); $stmt = $dbh-&gt;prepare('SELECT * FROM users where username = :username'); $stmt-&gt;execute( array(':username' =&gt; $_REQUEST['username']) ); The PDO documentation says: The parameters to prepared statements don't need to be quoted; the driver handles it for you. Is that truly all I need to do to avoid SQL injections? Is it really that easy? You can assume MySQL if it makes a difference. Also, I'm really only curious about the use of prepared statements against SQL injection. In this context, I don't care about XSS or other possible vulnerabilities.", "Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client, but I could not connect with passive mode. I always change the transfer settings to active mode to successfully connect to the ftp server otherwise I get Error: Failed to retrieve directory listing So is there a way to change any directive in vsftp.conf file and we can connect with passive mode to the server?", "Wedge product and change of variables", "I was trying to prove this question. Q. If G is a group of even order, prove that it has an element a, such that a$\\neq$e satisfying $a^2$=e. I tried solving it using Principle of mathematical induction. So, Let O(G)=2m, where m$\\in$ $N$. We proceed by induction on m. For m=1, O(G)=2, $\\therefore$ G contains two elements. G=$\\{{e,a}\\}$. Now, e has order 1. So, a can not have order 1. $\\therefore$ a has order 2. So, it true for m=1. Now, let it be true for m=k. Then, we have a group G of order 2k, where $\\exists$ an element a$\\in$ G, whose order is 2. We wish to prove it for m=k+1. Then G has order 2k+2. I don't know how to proceed further.", "Integrate $e^{ax}\\sin(bx)?$ Is there a general formula for finding the primitive of $$e^{ax}\\sin(bx)?$$ I've done this manually with $a=9$ and $b=4$ using Euler's formulas. But it takes a bit of time. Is there a pattern here?", "I would like to get an alert (with sound) when my laptop battery is fully charged. How can I do that?", "Brief Description: I need my Ethernet card (en0) to see all traffic under 192.168.2.xxx. However I also need to use WiFi card (en1) for all other traffic. OS: OS X Lion I am using a separate network location to deal with this specific use (since this is a for a robotics project that communicates via Ethernet). Ethernet (en0) had to be set up as a static IP (192.168.2.10) per the requirements for the device I am connecting to. All connections on the Ethernet card (en0) should be 192.168.2.xxx as specified above. WiFi (en1) is set up as DHCP to a router since their is no point in assigning it as a static for general purpose traffic. Ethernet (en0) is set up as priority over WiFi (en1). I would also like to keep this under the network location preferences if at all possible since I do not require this feature to be on all the time. I would really appreciate your help on this. No one I have talked to knows how to solve this." ]
medi_sts_stackexchange_dupe
Streams: Avoid NullPointerException
What is a NullPointerException, and how do I fix it?
[ "Temporary locks on answers not showing lock duration Tested on Stack Overflow, Stack Overflow Meta and Pets. Questions Temporary locks on questions are showing the duration (mod only). Stack Overflow. Meta Stack Overflow. Pets. Answers On answers they are not and there's no way to find the lock duration when we use timeline tools to examine the post. Pets. Stack Overflow. Meta Stack Overflow. Is this something that hasn't been implemented or is it a bug? If it hasn't been implemented can we please have it implemented?", "Preloading images with jQuery", "How to calculate the following sum: How may one calculate $$\\lim_{n\\to\\infty} \\ \\left(\\left(\\sum_{k=1}^{n} \\frac{1}{3k-1}\\right) - \\frac{\\ln n}{3}\\right) \\ ?$$", "I am writing a report in a 2 column page format. Now I want to insert a rather large picture that requires to use full width of the page and cut the columns horizontally. How can I achiveve this? Please see the images below for what I mean :", "I started by Time Series Analysis by Hamilton, but I am lost hopelessly. This book is really too theoretical for me to learn by myself. Does anybody have a recommendation for a textbook on time series analysis that's suitable for self-study?", "What exactly does the *frequency* of a photon mean?", "I was looking at coreutils and found this as one of the files included as part of coreutils: /usr/bin/[. What is [ and what does it do? It is an executable. I just don't know what it does or how to use it. $ file /usr/bin/[ /usr/bin/[: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped When I try to run it, I think it is defaulting to the bash built in line expansion. Instead of actually running the file. $ &quot;/usr/bin/[&quot; /usr/bin/[: missing ‘]’ $ /usr/bin/\\[ /usr/bin/[: missing ‘]’", "Are layer files compatible between ArcGIS 10 and 9.3? If I save layer files in ArcGIS 10, can they be opened and modified in ArcGIS 9.3?", "What is the difference between parseInt() and Number()?", "Usage of \"second/third/fourth ... last\" In German there is a pattern for counting items from the end of a list. The last item is \"das letzte\", the one before is \"das vorletzte\", the one before that is \"das vorvorletzte\" and for each other item there's just another \"vor\" added. While searching for an English translation for the German word \"vorvorvorletzte\" I came across and but none of them showed any usage pattern. Furthermore I didn't find any indication of which variant (\"to\", \"from\", no preposition) is used most nor to what area of the world those translations apply. So I am still wondering: When there are items 1, 2, 3, 4 and 5, how can/will item 2 be called? third from last? fourth from last? anteantepenultimate? fourth-last? fourth to last? the last but three item? the last but four item? Is this a question of dialect/local use?", "As homework, I have to prove that $\\forall n \\in \\mathbb{N}: n^3-n$ is divisible by 6 I used induction 1) basis: $A(0): 0^3-0 = 6x$ , $x \\in \\mathbb{N}_0$ // the 6x states that the result is a multiple of 6, right? 2) requirement: $A(n):n^3-n=6x$ 3) statement: $A(n+1): (n+1)^3-(n+1)=6x$ 4) step: $n^3-n+(n+1)^3-n=6x+(n+1)^3-n$ So when I resolve that I do get the equation: $n^3-n=6x$ so the statement is true for $\\forall n \\in \\mathbb{N}$ Did I do something wrong or is it that simple?", "onClick to get the ID of the clicked button", "Crossfading Video AND Audio with ffmpeg This Super User answer has got me so far, but now that I have tried many solutions and seen every SO link out there, it's time to ask you all for help. I am trying to crossfade 2 videos that are 10 seconds each in ts format with audio and video at the same time. The steps are: Add complex filter black screen Fade out video 1 after 9 seconds, with 1 second fade duration Fade in video 2 at 9 seconds, with 1 second fade duration Trim black filter output to 19 seconds This works fine for just video alone, but when I attempt to add audio, I can't get past this error message: Output pad \"default\" with type audio of the filter instance \"Parsed_asetpts_4\" of asetpts not connected to any destination It appears I'm not connecting the audio output properly. I think I need to alter the [over] lines to include audio. But how do I do this? `ffmpeg -i vid1.ts -i vid2.ts -f lavfi -i color=black -filter_complex \\ \"[0:v]format=pix_fmts=yuva420p,\\ fade=t=out:st=9:d=1:alpha=1,setpts=PTS-STARTPTS[v0];\\ [0:a]\\ afade=t=out:st=9:d=1,asetpts=PTS-STARTPTS[a0];\\ [1:v]format=pix_fmts=yuva420p,\\ fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+9/TB[v1];\\ [1:a]\\ afade=t=in:st=0:d=1,asetpts=PTS-STARTPTS+9/TB[a1];\\ [a0][a1]amix=inputs=2;\\ [2:v]scale=720x406,trim=duration=19[over];\\ [over][v0]overlay[over1];\\ [over1][v1]overlay=format=yuv420[outv]\" -vcodec libx264 -y -map [outv] final.ts`", "Why might one also use a blank constructor? I was reading some Java recently and came across something (an idiom?) new to me: in the program, classes with multiple constructors would also always include a blank constructor. For example: public class Genotype { private boolean bits[]; private int rating; private int length; private Random random; public Genotype() { // &lt;= THIS is the bandit, this one right here random = new Random(); } /* creates a Random genetoype */ public Genotype(int length, Random r) { random = r; this.length = length; bits = new boolean[length]; for(int i=0;i&lt;length;i++) { bits[i] =random.nextBoolean(); } } /* copy constructor */ public Genotype(Genotype g,Random r) { random = r; bits = new boolean[g.length]; rating = g.rating; length = g.length; for(int i=0;i&lt;length;i++) { bits[i] = g.bits[i]; } } } The first constructor doesn't seem to be a \"real\" constructor, it seems as though in every case one of the other constructors will be used. So why is that constructor defined at all?", "Where are the evolutionary \"inbetweeners\"? The problem I've always had with evolution is the actual lack of variation between animals. More specifically, the lack of observable gradual change between species. Take for example the hammerhead shark. It obviously has a strong connection with a normal shark, but where's the \"half-hammerhead\" shark? Where's the species that only has a SLIGHTLY wider head? I really doubt that a single mutation on a normal shark resulted in a head shaped like that, it had to happen gradually. Right? As far as I understand, evolution works by random mutation in a child being somehow slightly beneficial to that animal so it get's to live longer and reproduce more, eventually resulting in it's genetic material in dominating the inferior ones before it. But if it was for whatever reason beneficial to have a slightly wider head, why don't all the sharks have slightly wider heads now? On the other hand, if it wasn't beneficial, how come the hammerhead still exists? Furthermore, I feel like some characteristics of a certain animal can't really have gradual benefits. There's a lizard that shoots blood out of it's eyes. The original ancestor certainly didn't, and I'm sure that if it's child only bled slightly from it's eyes it wouldn't really help if much in life. So for it to actually become beneficial, it seems to me that there had to be a ton of lizards that had a disadvantage of bleeding slightly. In fact, there had to be so many that they evolved even further in the same direction and kept doing that until they bled so much it's an actual benefit (sorry for this turning so gross). So why did the inbetweeners survive long enough to evolve even more, and why did they THEN die out?", "Is there any criterion (theorem or algorithm) to find out a given polynomial $f(x)$ is irreducible over the field $\\mathbb{F}_2$?", "There is with this exact same prompt which got several down-votes for not showing their work. So I'll show what work I've got. I know being a harmonic function implies satisfying the Mean Value Property, thus what I thought I'd do is consider two arbitrary points in $\\mathbb{C}$ and prove that: $$|u(z) - u(w)|=|\\frac{1}{2\\pi}\\int_0^{2\\pi}u(z - re^{i\\theta})d\\theta - \\frac{1}{2\\pi}\\int_0^{2\\pi}u(w - te^{i\\theta})d\\theta| $$ $$= |\\frac{1}{2\\pi}\\int_0^{2\\pi}u(z - re^{i\\theta}) - u(w - te^{i\\theta})d\\theta|$$ Now what I wan't to do is take r and t to infinity and prove this integral goes to zero, but I can't figure out how to do that. I've used the fact that my harmonic function u is defined on all of $\\mathbb{C}$ in taking t and r to infinity but I still need to use the fact that it's bounded. I also read through the proof of Liouville's Theorem, given as an answer in that other post, which seems intuitively correct but rather un-rigorous. It actually says that the value in the center of a ball is equal to the average over the ball's volume. I imagine this can be proven from the average over the boundary since the average over the boundary will not change as you continuously shrink the boundary down to its center. This however would require the difference of two surface integrals, or is there a simpler way? I was also considering using the Maximum Modulus Principle somehow but I haven't found a way yet. I've probably made this way more complicated than it has to be, hopefully someone can help me, thanks! =]. Edit: Ok after thinking some more about the accepted answer in that other post, I've decided what I need to do is look at the canonical holomorphic function whose real part is my harmonic function u, and prove that holomorphic function is bounded. From there I can prove that since it's entire and bounded that it's constant, and from there prove that then its real part must be constant. So could someone talk a bit about the construction of this canonical holomorphic function?", "How to force nginx to resolve DNS (of a dynamic hostname) everytime when doing proxy_pass? I am using nginx/0.7.68, running on CentOS, with the following configuration: server { listen 80; server_name ***; index index.html index.htm index.php default.html default.htm default.php; location / { root /***; proxy_pass http://***:8888; index index.html index.htm; } # where *** is my variables The proxy_pass is to a DNS record whose IP changes frequently. Nginx caches the outdated IP address, resulting in a request to the wrong IP address. How can I stop nginx from caching the IP address, when it is outdated?", "How to count the number of set bits in a 32-bit integer?", "Suppose that $\\hat{x}$ is the least squares solution of $Ax = b$. That is, $\\min{|r|}, r = Ax - b$ with respect to $x$. Is $\\hat{x}$ also the least squares solution of $JAx = Jb$? I suspect so, but I'm not sure how to prove it. If $J$ is invertible, it's easy enough to prove as you can just cancel it out from both sides. But what if it's not invertible?" ]
medi_sts_stackexchange_dupe
How do I asynchronously run tasks in a loop?
Captured variable in a loop in C#
[ "Magic leaves \"smudges\" and a sorceress becomes a book I could use some help identifying a book I read some time in the last year or so. The book goes between two different stories: 1) A student of magic finds a book in a cave that turns out to be a person transformed into a book. The book talks to the student and they share thoughts. At some point, the student runs away, chase ensues, and at the very end of the book, he manages to travel to another plane. 2) A girl in a religious society where magic is forbidden. She is the daughter of painters. She discovers she can see magic. Falls in love with some random painter, risks performing magic to not be pregnant, does it again so she can, and is arrested and sent to some prison thing. The common element between the stories is that magic use leaves behind a smudge of some kind that can be visible. Any assistance is appreciated.", "Find all functions $f$ such that $f:\\mathbb{N}\\rightarrow\\ \\mathbb{N}$ and $f(f(n))+f(n+1)=n+2$ Let us plug in $n=1$ $f(f(1))+f(2)=3$ Since the function is from $\\mathbb{N}$ to $\\mathbb{N}$, $f(2)$ can only take the values $1,2$. Now we divide the problem into cases. Case-1: $f(f(1))=2,f(2)=1$ We can assume that $f(1)=c$ for the time being. Then plugging in $n=3$ and using $f(2)=1$ gives $$f(3)=4-c$$ and again since the range of the function is positive integers,then $4-c$ has to be positive and hence $c$ belongs to {$1,2,3$}. Now, $$f(1)=c$$$$\\implies f(f(1))=f(c)$$$$\\implies 2=f(c)$$ by the assumption that $f(f(1))=2$ . Now,since $c$ can only take the values $1,2,3$,we start treating cases. If $c=1$,$$f(c)=2$$$$\\implies f(1)=2$$ but we know from the deinition of $c$ that $f(1)=c=1$,a contradiction.If $c=2$,then $2=f(c)=f(2)$ but $f(2)=1$ by assumption. Finally,if $c=3$ $$2=f(c)=f(3)$$ but $$f(3)=4-c=4-3=1$$ which is once again a contradiction. Therefore there are no such functions in this case. Case-2: $f(f(1))=1,f(2)=2$ Again assuming $f(1)=c$ and using $f(n)\\le n$ along with plugging $n=c-1$ will give us that $f(1)=1$ and then it is easy to prove that such a function exists by recursion. I can only give a \"sort of recursive\" way to define the function. Here it goes $$f:\\mathbb{N}\\rightarrow \\mathbb{N}$$$$f(1)=1$$$$f(n)=n+1-f(f(n-1))$$ But this case is harder to deal with.Some help will be appreciated.", "Redirect to SSL only if browser supports SNI", "truecrypt 7.1a requires Mac OS X 10.4 or later on Yosemite 10.10 After reading articles about the state of Truecrypt in February 2015, I decided to download the last stable version of Truecrypt that allows full usage of Truecrypt: that is, version 7.1a 7.2 version that can only be used to view, but no longer to create new, TrueCrypt volumes. see I then proceeded to install this on my Mac, running on Yosemite 10.10 But I got the error message \"truecrypt 7.1a requires Mac OS X 10.4 or later\", see below. I guess it's simply a schoolboy error from a developer of the Truecrypt team, as it considers 10.4 being above 10.10, or maybe it's rather Apple who messed up &amp; should have consistantly used 2 digits after the dot (i.e. use 10.04 rather than 10.4). In any case, I find myself unable to install Truecrypt. Anyone found a solution for this?", "Ask to install program after \"The program 'x' is currently not installed\" If you try to execute a program that is not installed you will get a message The program 'x' is currently not installed. You can install it by typing: sudo apt-get install x and instead of offering you to install the program for you, you have to type the actual command. How can this behavior be changed?", "Prologue: This is an effort to follow up on which is marked as a duplicate of highly voted and status-declined feature request (although they seem to be different, one focusing on the OP and the other on the downvoter). My New Year's resolution was to downvote more. So on January 3rd or so, I saw a post that was low quality, and downvoted. Two days later, I came back to see if it was ready to be deleted or had gotten piled with downvotes, to find it with a significant positive score! At which point, I noticed that the answer had been significantly improved. So I retracted my downvote, changed it to an upvote, and immediately resumed my dearth of downvoting again. I think I have a responsibility to downvote bad posts, despite that oh-so-painful -1 rep penalty. But if I am also going to have the responsibility to follow up on every downvote I cast, I'm not going to bother. I don't want my downvote to leave a residual penalty on posts that were once low quality, and I am not going to trouble myself to keep checking up on every post I downvoted. Can a downvoter have an option to be notified when a post they voted down was edited? I wouldn't make this an automatic thing, because not all downvoters want it, and it isn't applicable to all cases of downvoting (although that this should be part of the responsibility of a downvoter). Personally, I would make this a universal toggle on-off option on the user profile page, not a question-by-question option, but I don't have strong feelings about it.", "Condition on a,b and c satisfying an equation(TIFR GS 2017) Let $a,b,c$ be positive real numbers satisfying $$(1+a+b+c)\\left(1+\\frac{1}{a}+\\frac{1}{b}+\\frac{1}{c}\\right)=16,$$ then $a+b+c=3$. I thought about the application of the AM-GM-HM inequality, but in vain. I also thought about splitting 16 into factors and comparing but went nowhere. Any ideas. Thanks beforehand.", "Does the fact that matrices $A, B$ are similar imply that $A+cI$ is similar to $B+cI$? Let $A, B$ be similar $n \\times n$ matrices over (say) $\\mathbb{R}.$ Is it the case that $A+cI$ is similar to $B+cI$? Here is an argument (which seems too good to be true...) Since $A, B$ are similar, they have the same Jordan form. So we can write $PAP^{-1}=QBQ^{-1}=J$ for $P, Q$ invertible matrices. Hence we have $P(A+cI)P^{-1}=PAP^{-1}+cI= J+cI.$ Similarly, we find $Q(B+cI)Q^{-1}=J+cI.$ Hence $A+cI$ and $B+cI$ are both similar to $J+cI$ and hence similar to each other. Is this correct?", "I want to plot the function 1/(x²+y²), but since it tends to infinity in (0,0), I get a horrible plot: \\documentclass{article} \\usepackage{tikz} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture} \\begin{axis}[grid=both] \\addplot3 [surf] {1 / (x^2 + y^2)}; \\end{axis} \\end{tikzpicture} \\end{document} By restricting the domain of z, I get anyway a not so nice plot: \\documentclass{article} \\usepackage{tikz} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture} \\begin{axis}[grid=both,restrict z to domain=0:1] \\addplot3 [surf] {1 / (x^2 + y^2)}; \\end{axis} \\end{tikzpicture} \\end{document} I would like to get something smooth, which finish in a circle (the circle of the intersection of this function with the plane z=1 for example). Something like this would be great:", "Can't reach wi-fi signal on Ubuntu, but can do it on other OS/devices (ath9k)", "I'm doing a bit of self study, but I'm uncomfortable with a certain idea. I want to show that $f(z)$ is analytic if and only if $\\overline{f(\\bar{z})}$ is analytic, and by analytic I mean differentiable at each point. Here $f$ is a complex valued function. What I do is write $f(z)=u(x,y)+iv(x,y)$, where $u$ and $v$ are real functions of two variables. Then $\\overline{f(\\bar{z})}=u(x,-y)-iv(x,-y)$. These two forms look very similar, in the sense the one function being differentiable should immediately imply the other is differentiable, since the only thing really changing might be a $-$ sign popping out due to the chain rule. How can I more rigorously express that $f(z)$ is analytic iff $\\overline{f(\\bar{z})}$ using this? Many thanks.", "How do i know which wheels will fit my bike?", "\"right\" vs \"correct\" Except when we use right to denote direction, what is the difference between these two terms? Also, which one is the preferred construction between these two Am I right? or Am I correct?", "Homotopic maps have homotopy equivalent mapping cones", "How do I create a line graph which ignores zero values? I want to create a graph showing trends over time, calculated from a formula of various data. However, some data is missing, resulting in zeroes in the calculated data which the chart uses. When plotting this data against as a line graph, it's drawing a line down to the axis, which I don't want. I'd like either a gap in the line, or skip the data point and draw from directly previous to next. i.e. given this data: 00.0 61.6 39.5 74.6 86.8 72.0 66.5 99.5 85.6 80.6 95.0 122.4 81.0 83.1 88.2 00.0 94.3 60.5 00.0 99.5 95.8 86.2 00.0 111.4 84.1 110.8 78.9 62.0 75.9 102.2 89.9 87.1 81.6 73.5 00.0 116.9 All the 00.0 items mean \"no data\", so I'd like them ignored (not treated as 0 value). This is the chart I currently have: This is how I'd like the chart to come out: Again, I don't mind if the dotted lines are blank or solid, so long as they don't go down to zero. The data is dynamic/calculated, so I can't just say =AVERAGE(prev,next) since I don't know where missing data will occur in advance - I need a solution which takes this into account. Any ideas?", "I've recently started maintaining someone else's JavaScript code. I'm fixing bugs, adding features and also trying to tidy up the code and make it more consistent. The previous developer used two ways of declaring functions and I can't work out if there is a reason behind it or not. The two ways are: var functionOne = function() { // Some code }; function functionTwo() { // Some code } What are the reasons for using these two different methods and what are the pros and cons of each? Is there anything that can be done with one method that can't be done with the other?", "$X$ is a random variable, if $\\Bbb E(X^2)=1$ and $\\Bbb E(X)\\geq a>0$, prove that $\\Bbb P(X\\geq\\lambda a)\\geq(a-\\lambda a)^2$ for $0\\leq\\lambda\\leq 1$. This is a problem in KaiLai Chung's A Course in Probability Theory. Given a nonnegative random variable $X$ defined on $\\Omega$, if $\\mathbb{E}(X^2)=1$ and $\\mathbb{E}(X)\\geq a &gt;0$, prove that $$\\mathbb{P}(X\\geq \\lambda a)\\geq (a-\\lambda a)^2$$ for $0\\leq\\lambda \\leq 1$. Let $A=\\{x\\in \\Omega:X(x)\\geq \\lambda a\\}$, we get $$\\int_A (X-\\lambda a)\\geq a-\\int_A\\lambda a -\\int_{A^c}X$$ and $$\\int_A (X^2-\\lambda^2 a^2)=1-\\int_A\\lambda^2a^2-\\int_{A^c}X^2$$ I want to contrast $\\int_A (X-\\lambda a)$ and $\\int_A (X^2-\\lambda^2 a^2)$, but I don't know how to do it, could anyone gives me some hints?", "How can I use variables in the LHS and RHS of a sed substitution? I want to do: cat update_via_sed.sh | sed 's/old_name/new_name/' &gt; new_update_via_sed.sh in my program. But I want to use variables, e.g. old_run='old_name_952' new_run='old_name_953' I have tried using them but the substitution doesn't happen (no error). I have tried: cat update_via_sed.sh | sed 's/old_run/new_run/' cat update_via_sed.sh | sed 's/$old_run/$new_run/' cat update_via_sed.sh | sed 's/${old_run}/${new_run}/'", "Why does arXiv have a multi-day lag between submission and publication? If you go on the (now, 8th December 2020, 19:24 Italian time), there is for example the article &quot;Exploring the Usage of Online Food Delivery Data for Intra-Urban Job and Housing Mobility Detection and Characterization&quot;. This article is under the heading &quot;8 December&quot;. But if you , it was &quot;Submitted on 4 Dec 2020&quot;. Why there is a lag between submission time and the header under which it appears for recent publications? I guess the arXiv staff have to approve the article before is being published .... is my guessing correct?", "Regarding the `book`, `report`, and `article` document classes: what are the main differences?" ]
medi_sts_stackexchange_dupe
Why only one class per file
Can a java file have more than one class?
[ "$\\mathbb{Q}[x,y]/\\langle x^2+y^2-1 \\rangle$ is an integral domain, and its field of fractions is isomorphic to $\\mathbb Q(t)$", "Formula for calculating $\\sum_{n=0}^{m}nr^n$", "Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents? So in the the table of content there will be a line saying List of figures ... 19 for example?", "What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)? How do I know if I need one and if so, what size and where it needs to go? mentions many chips needing one between VCC and GND; how do I know if a specific chip is one? Would an 4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not? I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well.", "Identify a story about a teen boy who learns to use magic with his lizard companion", "This is similar to , but I believe it's a bit different*. Sites like GMail support a preference that pushes all traffic through the SSL edition of the site rather than the plain-text protocol. For sites that don't offer such preferences (or ones that may, but I have been unable to find, like facebook), is there a way using only the browser (perhaps with a plugin or addon) to always try SSL first, and fall-back to plain-text iff SSL fails? Is that solution available on Windows, Mac OS X, and Linux? Just one? * The previous question was looking for external applications that would accomplish this goal.", "Is it possible to prevent an NSURLRequest from caching data or remove cached data following a request? On iPhone, I perform a HTTP request using NSURLRequest for a chunk of data. Object allocation spikes and I assign the data accordingly. When I finish with the data, I free it up accordingly - however instruments doesn't show any data to have been freed! My theory is that by default HTTP requests are cached, however - I don't want my iPhone app to cache this data. Is there a way to clear this cache after a request or prevent any data from being cached in the first place? I've tried using all the cache policies documented a little like below: NSMutableURLRequest *theRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:url]]; theRequest.cachePolicy = NSURLRequestReloadIgnoringLocalCacheData; but nothing seems to free up the memory!", "Can I have 8 GB RAM on 32-bit Win 7? Possible Duplicate: According to , Win 7 only supports 4 GB of RAM. I, however have been reading some forums and some say they are using 8 GB RAM with good performance. I am wondering if I can use 8 GB before I purchase.", "Jordan Canonical Form determined by characteristic and minimal polynomials in dimension $3$, but not beyond Why and how is the of a matrix in $M_3(\\mathbb C)$ fully determined by its characteristic and minimal polynomials? And why does it fail for $n &gt;3$?  Thanks.", "How can I visualize the file system usage on Windows? How can I visualize which folders and files are taking up all of the space on my hard drive? I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space. I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.", "How do I know if an ability is magical? Often confusion arises when the spell is used, an is worn, or the 's anti-magic ray is employed, whether a given character's ability will still function. The spell does give you some guidelines on how to adjudicate the effects of the loss of magic but says very little about how to determine what is affected. In short, how do I tell if an ability is magical?", "How to deal with variable income in the budget We have a budget planned out for various categories, and in order to make ends meet we count on child support for my wife's child from a previous marriage. However, lately we have not been receiving this amount. How do we deal with this in the budget? My wife has just been \"borrowing\" it from our savings, but I don't think that is reasonable given that I find it highly unlikely we will ever be able to recover it. On the other hand, she doesn't think it reasonable to cut out of her budget and cutting it out of the budget for the kids (which is where it really should be going!) isn't reasonable either.", "I am working to build a reinforcement agent with DQN. The agent would be able to place buy and sell orders for a day trading purpose. I am facing a little problem with that project. The question is \"how to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$\". I want to maximize the profit inside a trading day and avoid to place the pair (limit buy order, limit sell order) if the profit on that transaction is less than 100$. The idea here is to avoid the little noisy movements. Instead, I prefer long beautiful profitable movements. Be aware that I thought using the \"Profit &amp; Loss\" as the reward. \"I want the minimal profit per transaction to be 100$\" ==> It seems this is not something that is enforceable. I can train the agent to maximize profit per transaction, but how that profit is cannot be ensured. At the beginning, I wanted to tell the agent, if the profit of a transaction is 50 dollars, I will remove 100 dollars, then It becomes a penalty of 50 dollars for the agent. I thought it was a great way to tell the agent to not place a limit buy order if you are not sure it will give us a minimal profit of 100$. It seems that all I would be doing there is simply shifting the value of the reward. The agent only cares about maximizing the sum of rewards and not taking care of individual transactions. How to tell the agent to maximize the profit and avoid the transaction where the profit is less than 100$? With that strategy, what guarantee that the agent will never make a buy/sell decision that results in less than 100 dollars profit? Does the sum of reward - # transaction * 100 can be a solution?", "Quick edit not recorded as such blocking vote change A little background: I do not know what the specifics are, but I've noticed that a quick edit after a post will often times not result in an edit being posted. It's as if there was no edit. Edit: According to Bart this amount of time is five minutes. The problem: A user made a really bad post (said that ~ in C# wrt integers was used for deconstruction). I down-voted said post. Post quickly disappeared (I guess poster realized they screwed up and took back the post). Later, I come back and see my down vote but the answer is now correct (that ~ is the bitwise complement operator). I try to get rid of my down vote because it is no longer appropriate. However, it has been about half an hour and there is no edit posted (presumably the poster made an edit within the non-posting edit window) so I can't take my vote back. Suggested solution: If post gets edited (even within the non-post edit window) mark all the votes as changeable. I would guess that this would either involve an update on a table of votes or adding a column for last edit time which is not bypassed by the grace period. I realize that this may be an entirely non-trivial change, but unless the non-posting of edits is somehow changed to make sure the edit was trivial it seems this is necessary.", "There is something strange going on with Books on iPad and iPhone. It keeps deleting some books locally, keeping them in the cloud. It's frustrating because it happens when I'm offline and I simply lose the access to them. Why is this happening at all? And how can I stop it? I enabled syncing things over iCloud Drive and everything, but I can't see an option to disable such optimizations. PS: the same thing happens with Photos, Numbers and Pages. The Photos app has an optimize storage option. But there doesn’t seem to be such an option for Books, Numbers and Pages. A clear example: just a few hours I was reading a book on Books, I took a nap, and when I opened the Books app, the book was not available offline anymore. Since I don’t have internet right now, it’s simply impossible to access the document.", "How can I prove the formula for calculating successive entries in a given row of Pascal's triangle? I've found in Wikipedia the formula for calculating an individual row in Pascal's Triangle: $$v_c = v_{c-1}\\left(\\frac{r-c}{c}\\right).$$ where $r = \\mathrm{row}+1$, $c$ is the column starting from $0$ on left and $v_0 = 1$. Now, I've tried to do by hand and it works, but I don't understand how to find this magic formula when I don't have access to Wikipedia...:)", "My Ubuntu 12.04 was normally updated through the Update Manager, something about gtk. Then I rebooted and now all that shows after the splash screen is a blue screen that only shows the cursor.", "I have a cartoon character (a lion) that is part of my business logo that I want to put into Blender and animate it somehow. Is there any way I can take a flat picture (JPEG) and transform it into a 3D image and then animate it in Blender?", "Can I shrink the transaction log file on a mirror database? This is a followup question to about why I couldn't shrink the log file on the principal database. To make a long story short, I setup database mirroring but forgot to make sure the job that backed up the transaction log was running again, and the transaction log grew to almost 60GB. Since mirroring was set up, this size increase was duplicated on the mirrored server, and eventually took up all the disk space and made the mirror database unusable. Per about transaction log maintenance on a mirror database, you can't back up the log on the mirror, but when asked specifically in about how to shrink an overgrown log file on a mirror database, a was left that One way to do this would be to failover to the mirrored database and do the shrink there. Thoroughly test this out in a non-production environment to ensure it has the behavior you want/expect. This seems to suggest that there might be other ways to shrink the log file on a mirror, and this method might not necessarily be safe to do on a production server. Is there a way to safely shrink the transaction log file on a database mirror?", "I tried to write out the aura if statement but I am getting stuck if someone can explain it to me in detail. thank you &lt;aura:if isTrue=&quot;{!lessthan(v.Tl.time, v.Tl.End_Date_Time1__c)}&quot;&gt; &lt;/aura:if&gt;" ]
medi_sts_stackexchange_dupe
shred command all disks
shred multiple hard drives
[ "Inner Product Spaces I am trying to reconcile the definition of Inner Product Spaces that I encountered in Mathematics with the one I recently came across in Physics. In particular, if $(,)$ denotes an inner product in the vector space $V$ over $F$: $(u + v, w) = (u, w) + (v, w) \\text{ for all } u, v, w \\in V$, $(\\alpha v, w) = \\alpha(v, w) \\text{ for all } v, w \\in V$ and $\\alpha \\in F$, $(v, w) = (w, v)^* \\text{ for all } v, w \\in V$, (* denotes complex conjugation) were some of the properties listed in my mathematics course. In physics, however, the inner product was said to be linear in the second argument and $(v,\\sum(\\lambda_i w_i)) = \\sum(\\lambda_i (v,w_i))$ where $v$ and $w_i$ are kets in Hilbert space and $\\lambda_i$ are complex numbers. To me, these properties of an Inner Product are not compatible. If the first definition of inner product is correct, then I think $(v,\\sum(\\lambda_i w_i)) = \\sum((\\lambda_i)^* (v,w_i))$ where $^*$ denotes complex conjugation.", "Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the \"usual suspects\" for non-English speakers (, , ) and a bunch of other packages. Assuming I were to convert to XeLaTeX, what modifications of my preamble are advisable? I'm aware that the expansion=true option of the package is not (yet) available for XeLaTeX, and that is sort of a default package for OpenType fonts. What other packages (and package options) should be removed and, vice versa, incorporated when switching from pdfLaTeX to XeLaTeX?", "Translation of these Cirth runes What is the translation of what's written below? I think it may be the poem of the One Ring, but I'm not sure.", "Changing affiliation on publication", "How do I add SSL to a .net application that uses httplistener - it will *not* be running on IIS Most recent edits in bold I am using the .net HttpListener class, but I won't be running this application on IIS and am not using ASP.net. This describes what code to actually use to implement SSL with asp.net and describes how to set up the certificates (although I'm not sure if it works only for IIS or not). The class documentation describes various types of authentication (basic, digest, Windows, etc.) --- none of them refer to SSL. It does say that if . Is this going to be a one line property setting and HttpListener figures out the rest? In short, I need to know how to set up the certificates and how to modify the code to implement SSL. Although it doesn't occur when I'm trying to access HTTPS, I did notice an error in my System Event log - the source is \"Schannel\" and the content of the message is: A fatal error occurred when attempting to access the SSL server credential private key. The error code returned from the cryptographic module is 0x80090016. Edit: Steps taken so far Created a working HTTPListener in C# that works for HTTP connections (e.g. \"\" Created a certificate using makecert.exe Added the certificate to be trusted using certmgr.exe Used Httpcfg.exe to listen for SSL connections on a test port (e.g. 8090) Added port 8080 to the HTTPListener via listener.Prefixes.Add(\"); tested an HTTP client connection, e.g. (\") in a browser and receive correct return tested an HTTPS client connection, e.g. (\") in a browser and receive \"Data Transfer Interrupted\" (in Firefox) debugging in visual studio shows that the listener callback that receives the requests never gets hit when the HTTPS connection starts - I don't see any place that I could set a breakpoint to catch anything else earlier. netstat shows that listening ports are open for both HTTPS and HTTP. the HTTPS port does go to TIME_WAIT after a connection is attempted. and don't catch any of the traffic, I guess it doesn't get far enough in the process to show up in those HTTP analysis tools Questions What could the problem be? Is there a piece of .Net code I am missing (meaning I have to do more in C# other than simply add a prefix to the listener that points to HTTPS, which is what i have done) Have a missed a configuration step somewhere? What else might I do to analyze the problem? Is the error message in the System Event log a sign of the problem? If so how would it be fixed?", "Escaping WP_Query tax_query when term has special character(s) Here's my issue. I have a custom post type that I'm attaching a custom taxonomy to. This taxonomy will allow the admin to provide search suggestions that will ensure the post is found when a user searches. This taxonomy is also used on the front-end to autocomplete the search field with these suggestions. The system works fine, except when the term contains a forward slash, a space or other \"special\" characters. &lt;?php $keyword = 'Ski-in%2FSki-out';//Submitted via $_GET $keyword = urldecode($keyword); // (string)'Ski-in/Ski-out' $taxQuery = new WP_Query(array( 'post_type' =&gt; 'ml_properties', 'tax_query' =&gt; array( 'relation' =&gt; 'OR', array( 'taxonomy' =&gt; 'mc_tax_lifestyle', 'field' =&gt; 'name', 'terms' =&gt; array($keyword), 'operator' =&gt; 'IN' ) ) )); ?&gt; I've looked into using the escaping features provided by WordPress, but haven't had any luck there. I thought this would be a simple problem, but either my Google-fu is not strong, or I'm just not having any luck. I've also verified that that Ski-in/Ski-out is the exact string stored in MySQL. I've looked into using esc_attr(), $wpdb-&gt;esc_like() and esc_sql() but none have an effect. Perhaps I'm missing something obvious?", "I've read many years ago in books, that the brain has no nerves on it, and if someone was touching your brain, you couldn't feel a thing. Just two days before now, I had a very bad migraine, due to a cold. It's become better now, but when I had it I felt my head was going to literally split in half, as the pain was literally coming from my brain. So it lead me to the question: How come people can get headaches if the brain has no nerves?", "Can $(X_1,X_2) \\cap (X_3,X_4)$ be generated with two elements from $k[X_1,X_2,X_3,X_4]$? Can $(X_1,X_2) \\cap (X_3,X_4)$ be generated with two elements in the ring $R=k[X_1,X_2,X_3,X_4]$? Can it be generated with three elements? (Here $k$ is a field.) Thanks for any help.", "From axiom of regularity, how can I prove $x \\notin y \\lor y \\notin x$", "What method in the String class returns only the first N characters?", "A story about a whole crew of aliens who visit Earth, befriend a child It was a book I read when I was a kid, so I am assuming it was a book aimed at kids/young adults. A whole crew of aliens of different species meet an Earth kid. He befriends them. One of the aliens comes from a planet with dozens/hundreds of different sexes/genders. At one point, the Earth kid is talking about a swamp: Alien: &quot;I live in/near a swamp on my home planet&quot; Kid: &quot;Oh, do you come from a swamp planet?&quot; The alien points out that just because there is a swamp on his planet doesn't make it a swamp planet, there are dozens of biomes on his planet, just like Earth. Earth isn't just a swamp planet.", "Positivity of a determinant", "Lightning-Web-Components Select Option prepopulate value Let's say I have a Lightning-Web-Component with a select list with dynamic options where the value is a user Id and the label is the user's name: &lt;select class=\"slds-select\" onchange={handleSelectChange} disabled={isDisabled} data-value={step.selectedUser} &gt; &lt;option value=\"\"&gt;--None--&lt;/option&gt; &lt;template for:each={step.approvalTemplateStep.Approval_Step_Users__r} for:item=\"user\"&gt; &lt;option key={user.key} value={user.User__c}&gt; {user.User__r.Name}&lt;/option&gt; &lt;/template&gt; &lt;/select&gt; How do I prepopulate the select option with a value? I have the value I want to be prepopulated in the variable called step.selectedUser. Here's what I see on page load: Here's what I should see:", "Can I get SSH to use an askpass program even if it was run from a terminal? says: SSH_ASKPASS If ssh needs a passphrase, it will read the passphrase from the current terminal if it was run from a terminal. If ssh does not have a terminal associated with it but DISPLAY and SSH_ASKPASS are set, it will execute the program specified by SSH_ASKPASS and open an X11 window to read the passphrase. I'd like SSH to use an askpass program even if it was run from a terminal. On occasion, I have to connect to servers, where there's some delay in showing a password prompt (maybe due to network issues, maybe due to attempted reverse DNS lookups, …). I get annoyed and switch to something else, and forget about the attempted connection. (Insert joke about attention span of a goldfish.) When I finally get back to it, the prompt's timed out and even a correct password would just result in a closed connection. Keys would be one solution, but not every system I use has my usual SSH keys. However, I usually use Ubuntu systems, and Ubuntu has an SSH askpass program installed by default. If an askpass window popped up, however, I'd be immediately aware of it. That's a good enough compromise for me, if only I can get it to work.", "Map matching links and ideas? I'm using OpenStreetMap and its vectorial road network and I'd like to implement a map matcher algorithm. Currently I'm able, for each GPS position, to retrieve the nearest road segment and calculate the projection of this position to that segment, like on this image (Red pin is the pure GPS position, in blue the mapped segment and in Green the mapped position): However, due to the lack of accuracy of the GPS, sometimes the mapped position jumps from segment to another and can provide some inconsistent mapped position from time to time. My current algorithm is very basic : from the pure GPS position, I get the nearest segment and decide that the mapped matched position is on this one. I know that this can be really improved. I can imagine that taking the vehicle direction into account will improve the map matching but do you know any other approach that would enable me to improve my map matcher ? I seek any link, and/or open source software?", "I'm having trouble with a question from an introductory Linear Algebra book. It goes: \"Show that the Only Subspaces of $R^2$ are the zero subspace, $R^2$ itself, and the lines through the origin.\" I'm thinking the easiest way to do this is to show that if $W$ is a subspace of $R^2$ containing $2$ different lines through the origin then $W$ is all of $R^2$. Is this a good way to go about it? and how could I show this?", "How do you select a particular option in a SELECT element in jQuery?", "Word style \"keep with next\" except on last item", "How to list all files ordered by size I would like to list all files in the order of big to small in size and the files could be present anywhere in a certain folder.", "How to convert HTML to XHTML? I need to convert HTML documents into valid XML, preferably XHTML. What's the best way to do this? Does anybody know a toolkit/library/sample/...whatever that helps me to get that task done? To be a bit more clear here, my application has to do the conversion automatically at runtime. I don't look for a tool that helps me to move some pages to XHTML manually." ]
medi_sts_stackexchange_dupe
Change the order of magnitude on the y axis Ticks with ListPlot
How to set tick label precision
[ "When I created my account, I used Facebook Connect as my only login type and I can only log in to my account using it. I wish to create a Stack Exchange login to be able to log in with instead of Facebook Connect, but I can't find how to do this. It seems that the option for creating a Stack Exchange login is only present when creating a new account?", "Windows 10 upgrade led to grub rescue", "I got a stomach flu or I got the stomach flu or I got stomach flu?", "How do I cd into a directory in the home folder? How do I change directories to downloads, from the home folder, in the latest version Ubuntu 12.10? I tried cd /downloads, but it gave an error saying that there is no such directory.", "Why don't we consider jerk in physics classes? When I got more into physics, I started asking myself if just like acceleration represents the growth of speed, something else could also represent the growth of acceleration itself. And it came that is exists and is called jerk. Before I thought about this, I thought that acceleration was the highest derivative that made sense on physics. My question is, why can we perform accurate calculations without account for jerk? I never needed it in a single physics class! I've also read that it is seldom used. Also, while position, speed and acceleration seem familiar to me due to everyday experience, why doesn't jerk seem familiar to me? I never tell someone when driving a car \"you're jerking too much\", whereas I could say \"you are accelerating too much\". Is it that jerk has little influence because it is almost constant? Even if it is not, what about higher order derivatives? Why don't derivatives higher than acceleration have much influence on calculations? We perform a lot of reasoning in everyday life without resorting to it!", "On this site I see hundreds if not a thousand questions being asked about issues with a Wireless LAN adapter not being detected/recognized by Ubuntu. Some mainstream adapters appear to be utterly broken in Linux support, while others just require some simple steps to get it to work. The options to get it to work appear to be infinitely huge and I have no clue where to get started! What is considered 'best practice'? What order of things to try is most efficient in terms of time, effort and imposes minimal risk to my Ubuntu installation? Please help me save time and guide me what to do, step by step.", "Scanf skips every other while loop in C", "Why didn't Iron Man make Vibranium armor in Iron Man 2? In the movie Iron Man 2, Tony Stark figured out how to synthesize Vibranium. Why didn't he use it to make a new Iron Man armor?", "You require a reputation of 50 to leave comments on others' questions/answers; the FAQ simply states this as a fact but does not explain it. I'm a new user and I have identified this as an issue very quickly through my own experiences so far. Looking at other questions seems to also provide justification against this 50 reputation requirement for comments on others' questions/answers. In my own experience, I've seen a few questions like \"how do I do x?\" then the same poster has answered with \"in the end I did it like this: ...\" where their solution was perfectly sensible, but there may be some gotchas to watch for - in this case I want to vote up their answer and/or comment on it to point out the potential gotchas, but I can do neither! To me all of the above seems justification against this rep requirement to comment, so what is the counter-argument and justification for it?", "Is there a unique solution for this quadratic matrix equation?", "extract lines that match a list of words in another file I have file 1 which have those lines: ATM 1434.972183 BMPR2 10762.78192 BMPR2 10762.78192 BMPR2 1469.14535 BMPR2 1469.14535 BMPR2 1738.479639 BMS1 4907.841667 BMS1 4907.841667 BMS1 880.4532628 BMS1 880.4532628 BMS1P17 1249.75 BMS1P17 1249.75 BMS1P17 1606.821429 BMS1P17 1606.821429 BMS1P17 1666.333333 BMS1P17 1666.333333 BMS1P17 2108.460317 BMS1P17 2108 And file 2 have a list of words: ATM BMS1 So, the output will be like this: ATM 1434.972183 BMS1 4907.841667 BMS1 4907.841667 BMS1 880.4532628 BMS1 880.4532628 I know it's really a duplicate question, but I tried all types of grep and sed and awk, maybe it will works with you guys with this tiny example but I have a very huge file &gt; 1M lines and all previous way doesn't help it return part of the lines that containing those words although there are other words in file 2 that matches the lines from file 1", "How can I respawn the Ender Dragon?", "Ok guys, continuing my passage through edwards... here is the question... thanks for hints/solutions in advance: Suppose $f(x,y,z)=0$ can be solved for each of the three variables $x,y,z$ as a differentiable function of the other two. Then prove that $\\displaystyle \\frac{\\partial x}{\\partial y} \\frac{\\partial y}{\\partial z} \\frac{\\partial z}{\\partial x} = -1$ Verify this is the case for the ideal gas equation $pv =RT$ where (where $p,v,T$ are the three variables and $R$ is the constant).", "What are our policies regarding self-harm and suicide? What should I do as a Moderator when I encounter situations regarding self-harm and suicide?", "How can I find the version of Ubuntu that is installed?", "How is the value of $\\pi$ ( Pi ) actually calculated? When I was a child I was taught $\\pi$ (Circumference/Diameter) is an irrational number and can be approximated to $22/7$ but $= 3.(142857)(\\ldots)$. But where does this value comes from? In short How do I derive $\\pi$?", "Let $f$ be a continuous function on $[0,1]$ such that $f([0,1])=[0,1]\\times[0,1].$ Then show that $f$ is not one-one. Hints will be appreciated.", "Bluetooth Broadcom 43142 isn't working", "I only have access to the server via a terminal and I can't use graphical tools such as GParted! I want to create a new partition from a part of the root (about 768mb) for swap. # df -h Filesystem Size Used Avail Use% Mounted on /dev/vda 20G 1.3G 18G 7% / udev 10M 0 10M 0% /dev tmpfs 199M 4.9M 194M 3% /run tmpfs 100M 12K 100M 1% /run/user tmpfs 5.0M 4.0K 5.0M 1% /run/lock", "For f continuous on $[0,1]$, show that there exist points $\\alpha_k$ such that $\\sum \\limits_{k=1}^n \\frac{1}{f'(\\alpha_k)} = n $ Suppose that $f$ is continous on $[0,1]$ , differentiable on $(0,1)$ , and $f(0)=0$ and $f(1)=1$.For every integer $n$ show that there must exist $n$ distinct points $\\alpha_1,\\alpha_2\\cdots,\\alpha_n$ in that interval so that $\\sum \\limits_{k=1}^n \\frac{1}{f'(\\alpha_k)} = n $ Is it theorem or i can show it with basic differentiation knowledge .Please give me hint ." ]
medi_sts_stackexchange_dupe
What's the proper way to check a checkbox by variable value?
Setting "checked" for a checkbox with jQuery
[ "Set the location in iPhone Simulator", "Today I downloaded Ubuntu for my laptop. It runs great from a bootable USB, but when I tried to install it, I got the following error message: The installer encountered an error copying files to the hard disk: [Errno 5] Input/output error This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment. I tried everything to install it on my laptop including redownloading the Ubuntu ISO image, but nothing worked.", "How to search for only folders in Windows 7 instead of folders AND files I've had some issues with the new search function in Windows 7. The Search in Windows XP was packed with so many more options. The only option I can access now are Date Modified and Size. Any pointers to how to get more options in the Windows 7 Search, or links to external programs that can make my life easier?", "Present Perfect with the word \"ago\"? First, I check that my native language is not English, and the problem described below met on one of the exams. With this sentence: \"The most important news is that my parents [...] a new restaurant a few weeks ago.\" Is the correct tense to use the Present Perfect (have opened) or Past Simple (opened)? I know that the word \"ago\" but rather that time Past Simple, but is it also possible to use the present perfect in some cases? I would be grateful for clarification.", "How are constraint forces represented in Lagrangian mechanics?", "I was just wondering since i have the 12.04 lts ubuntu edition if it's possible to upgrade it to 13.04 or even 14.04 after it gets released without losing any of my files and installed apps? That's actually the main reason i chose the LTS version because i didn't know if i had to re-install all my apps every time a new ubuntu version gets released.", "How to launch terminal on login How could I get the terminal to be launched once I have logged in, so that typing commands is much simpler?", "Is the Stack Overflow source code available?", "How Did Dumbledore Stay in Limbo? Most of this discussion involves events at the end of Harry Potter and the Deathly Hallows so if you haven't read that book and don't want spoilers, then stop reading right now. Yes, now. It's not clear whether limbo is something everyone moves through in Harry Potter when they die, but when Harry is killed, he not only ends up there, but Dumbledore is there, waiting for him. Did Dumbledore wait for him all that time, in limbo, until Harry showed up? Did he have any way of watching what Harry was doing in that time? Or did he have a way to enter limbo when Harry did to meet him there? And once Harry was gone, was Dumbledore able to move on, or would he be stuck there?", "I was trying to run chmod -R 777 ./ but ended up typing chmod -R 777 / and set 777 on my entire machine. What can go wrong? How can I fix it?", "What is the SE version of Seven Dirty Words? Caution: R-rated language Some words, when present in a comment, make it eligible for instant, automatic one-flag deletion. Out of the , only shit and fuck appear to work this way. But then there are other, Stack Exchange-specific dirty phrases: accept rate or accept-rate acceptance rate what have you tried whore Are there other such words or phrases? Is there a complete list of them? Some suspect words and phrases that do not suffice for automatic deletion: accept an/the answer, thank you, voting to close, piss, bitch, idiot, cunt (often found on Stack Overflow as a misspelling of \"count\").", "How do I get AMD/Intel Hybrid Graphics drivers to work? On Ubuntu 12.04 my Sony Vaio VPCSE with Intel® HD Graphics 3000 and AMD Radeon™ HD 6630M worked fine with the Catalyst Control Center version 12.6. Also the switching between integrated and discrete graphic card was working. In both cases, I followed this . But it is not working on Ubuntu 12.10. I tested the tutorial with the Catalyst Control Center from the Ubuntu Software Center, the version 12.8 and version 12.9. Always the same problem: After installation process I am able to boot in the login-screen. But after entering the password for my username, only the background-image appears. Unity seems not to be starting. I am only able to reach the context-menu by right clicking the mouse button. I also tried , but is also does not work for me. Any ideas what to do to fix this problem? Update: Same problem on Ubuntu 13.04! Update: Solution for 13.04 ist not working on Ubuntu 13.10!", "How can you get the permalink for an answer to a question? I wanted to link to an answer to a Stack Overflow question, but couldn't find a way to do it. I couldn't get the ID of the answer in order to create the link. How can you get the permalink for an answer to a question?", "Eclipse freeze accessing project -> properties -> android tab", "How can I increase memory security in Delphi? Is it possible to \"wipe\" strings in Delphi? Let me explain: I am writing an application that will include a DLL to authorise users. It will read an encrypted file into an XML DOM, use the information there, and then release the DOM. It is obvious that the unencrypted XML is still sitting in the memory of the DLL, and therefore vulnerable to examination. Now, I'm not going to go overboard in protecting this - the user could create another DLL - but I'd like to take a basic step to preventing user names from sitting in memory for ages. However, I don't think I can easily wipe the memory anyway because of references. If I traverse my DOM (which is a TNativeXML class) and find every string instance and then make it into something like \"aaaaa\", then will it not actually assign the new string pointer to the DOM reference, and then leave the old string sitting there in memory awaiting re-allocation? Is there a way to be sure I am killing the only and original copy? Or is there in D2007 a means to tell it to wipe all unused memory from the heap? So I could release the DOM, and then tell it to wipe. Or should I just get on with my next task and forget this because it is really not worth bothering.", "In my book about Logic, which is called 'Language, Proof and Logic', by the way, there is explained that the conditional $ P \\rightarrow Q $ is equivalent with $\\neg P \\lor Q$. that gives as answer: 'just compare the truth tables and you can see that they are equivalent'. However, I would like to know how to prove this using formal propositional logic. This should be possible, right?", "Recolor Artwork: single swatch to multiple swatches I have an Illustrator document with a lot of objects. All the objects are black, same swatch. I have a swatch group with a few dozen coloured swatches. I wish to apply these swatches to all the many black objects. It doesn’t have to be in any particular order, but each object should be coloured individually—I don’t just want to change black into some other colour, but to dozens of other colours. What I really want to avoid is having to select each object individually and then applying a different swatch to each. I’ve never quite managed to get my head properly around the Recolor Artwork feature in Illustrator, and I cannot for the life of me get it to do anything like this. The “New” box in the Recolor Artwork dialogue box appears to accept only one colour. Is there some way to do this using the Recolor Artwork feature? Or using some other feature that I’m not aware of? Bonus points if there’s a way to control the order in which the colours are applied; e.g., specifying an order and then click on each object in turn to apply each swatch being ‘iterated’ through in that order. (I would prefer to avoid having to script it, but I will if there’s no other way.)", "Is there a BNF grammar of the TeX language? I'm looking for a BNF grammar of the TeX language, does it exist? EDIT For those of us who are not computer scientists, a BNF grammar is one kind of formal description of a CFG: . For those who don't know their Chomsky, a CFG is a , which means (very roughly) that substitutions can be made independently of their use context.", "Composition of two Riemann integrable functions", "About 0.999... = 1 I've just happened to read this on MO (that of course has been closed) and some of the answers to a similar on MSE. I know almost nothing of nonstandard analysis and was asking myself if something like the sentence « $1- 0.999 \\dots$ is a nonzero positive infinitesimal» could be easily expressed and proved in nonstandard analysis. First of all, what is 0.999... ? If we take the usual definition as a series or as a limit of a sequence of rationals, then it will still be a real number and equal to $1$ (I guess by \"transfer principle\", but please correct me if I'm wrong). Instead, let's define $$0.9_N:=\\sum_{i=1}^N 9\\cdot 10^{-i} $$ where $N\\in{}^*\\mathbb{N}\\setminus\\mathbb{N}$ is an infinite nonstandard natural number. This $0.9_N$ is a legitimate element of ${}^*\\mathbb{R}$, expressed as $0.$ followed by an infinite number of \"$9$\" digits. What can be said about $\\epsilon_N:=1-0.9_N$ ? Is there an elementary proof that $\\epsilon_N$ is a positive infinitesimal of ${}^*\\mathbb{R}$ ? (by \"elementary\" I mean just order and field axioms and the intuitive facts about infinitesimals, like that for $x$ infinite $1/x$ is infinitesimal etc.; no nonprincipal ultrafilters &amp; C)." ]
medi_sts_stackexchange_dupe
UV Filter that best suits Nikon 18-140 mm lens
How do I find the right size of filters for a lens?
[ "Mirror Modifier making ugly smoothing on mirrored faces The model is vivisected right down the middle along the z axis. The right leg is rendering funny and I assume if I can get that fixed everything else will fall into place. I tried flipping normals, changing shading types - can't think of anything else to do.", "If $S_n$ has cyclic subgroups of these orders or not? This question was asked in my quiz and I am having difficulties in solving it . Question : For a positive integer $n$ , let $S_n$ denote permutation group on $n$ symbols. Choose correct statements from below. (a) For a positive integer $n$ and for every $m$ with $1\\leq m \\leq n , S_n $ has a cyclic subgroup of order $m$; (b) For every positive integer $n$ and for every $m$ with $n&lt;m &lt;n!$, $S_n$ has a cyclic subgroup of order $m$; (c) There exists positive integers $n$ and $m$ with $n&lt;m&lt;n!$ such that $S_n$ has a cyclic subgroup of order $m$; (d) For every positive integer $n$ and for every group $G$ of order $n$, $G$ is isomorphic to a subgroup of order $S_n$ . Attempt: (a) is true as I can choose an element of length $m$ which will generate cyclic subgroup of order $m$. (b) Choose $n=4$ and $m=19$ to contradict (b). (c) I dont know if there can be found any such case and if yes how to do so . (d) I dont know about it . kindly tell. Answer: A,C,D are true", "How do I install drivers for a Canon LBP-2900 printer? I seen many times how people describe how to's about LBP-2900, and 10-12 steps from start to end of how to download, unpack, build driver, fix driver, make it work... Could be there some .deb package with ready-to-go driver for Ubuntu? This printer is very popular...", "Runtime's exec() method is not redirecting the output", "How do I add a DNS server via resolv.conf? Is /etc/resolv.conf useless in (Precise Pangolin)? I see that the DNS server information is stored in now. The nmcli command line tool can list that for you. If I want to add one more server, will adding it to /etc/resolv.conf by using the resolvconf package help?", "Manually Installed new Python to /usr/bin, how to get Repo version back? Yes, I'm a moron, and I tried to manually install a higher point release of python 2.7.16 to /usr/bin/ (i did ./configure --prefix=/usr) on my Ubuntu 16.04 machine. It seems to work fine EXCEPT for packages that depended on python, like apt-listchanges, which fails with messages like ImportError: No module named apt_pkg there's no make uninstall available, I've tried manually removing files, and still when I try apt --reinstall install python, Nothing gets overwritten and the python executable still gives the new 2.7.16 version... Any idea how to get the official repository version back??", "I know there is a ton of questions and answers about this topic, but none answers my question sufficiently. Let's say I have a viewport view that I want to render in Cycles. Pressing ALT CTRL Numpad 0 aligns the camera to this view, but it does not solve the whole problem. The thing is, I want PRECISELY this view on the render, preferably in one click, without manually moving the camera back-and-forth, changing sensor sizes etc. fiddling that will remove the unwanted border that appears and blocks the viewport partially. This whole activity wastes a lot of precious time especially if you do this 10 times a day. What this dream action should do: match the render resolution (proportions) to the resolution of the current view (can the resolution of current view be read by a Python script?) make the entire view the camera view, without any borders, passe-partout etc. by automatically maneuvering sensor sizes etc. whatever is necessary to make it exactly the same view, the same camera lens angle. Is it possible to write such a script that would do it all in one click?", "Priority and timing between enchantments and instants If I have priority and cast an on a just summoned 2/3 creature, then, passing priority, my opponent casts a on that creature, does my creature survive? The first spell that resolves is obviously the bolt, that deals 3 point of damage to the creature; but immediately after, will the Unholy Strength resolve (giving +2/+1), allowing the creature to survive?", "Lily Potter chose to die instead of sacrificing her son Harry to Voldemort. In doing so, protective enchantments were created that protected Harry and made him less vulnerable to Voldemort and Voldemort's attempts to kill Harry. Yet, I don't understand how Lily's enchantments, when Voldemort stole Harry's blood in the graveyard scene in Goblet of Fire (chapter 33, The Death Eaters), were helpful to Voldemort at all. ‘He took my blood,’ said Harry. ‘Precisely!’ said Dumbledore. ‘He took your blood and rebuilt his living body with it! Your blood in his veins, Harry, Lily’s protection inside both of you! He tethered you to life while he lives!’ Deathly Hallows - page 568 - Bloomsbury - chapter 35, Kings Cross Yet I wonder about the following canon information: Lily's enchantment was contingent upon Petunia Dursley giving Harry a home, which Petunia grudgingly did&#185;. It was the blood bond between Harry and Petunia, plus the fact that Petunia gave Harry a home, where he could return to once per year, that sealed Lily's protective enchantments and made them strong. Voldemort was never granted a home at the Dursleys, and in fact never stepped foot into the Dursleys' home at any point in canon. Never having been given a home at the Dursleys, how, then, did Lily, Petunia, and Harry's blood bond exist within Voldemort? Or did it? If it did, would it be because ? Lily's enchantments broke the moment Harry turned 17 and could not protect Harry any more&#178;. According to the 's page on Voldemort, Voldemort was 69 years old when he stole Harry's blood. If Lily's enchantment broke for Harry at age 17, why would the enchantments work for Voldemort when he was 69? Dumbledore tells Harry in Order of the Phoenix that Voldemort would not possess Harry because the love that fills Harry -- Lily's love -- is a force that Voldemort detests so greatly that he cannot bear to come into contact with it&#179;. Yet the love Lily infused into Harry runs in his veins; Voldemort took Harry's blood, the blood that is imbued with Lily's love. How can he bear to be in contact with the love given to Harry in his own veins? Given this canon information, why did Lily's enchantments work for Voldemort? &#185;Half-Blood Prince - chapter 3, Will and Won't and Order of the Phoenix - chapter 37, The Lost Prophecy &#178;Half-Blood Prince - chapter 3, Will and Won't &#179;Order of the Phoenix - chapter 37, The Lost Prophecy", "Show that $\\ker \\hat{T} = \\text{ann}(\\text{range } T)$ This is an old exam problem: Let $V$ and $W$ be finite dimensional vector spaces over a field $F$ and let $T: V \\to W$ be a linear transformation. Define $\\hat{T}: W^* \\to V^*$ by $(\\hat{T}(f))(v)=f(T(v))$. Here, $U^*$ denotes the dual vector space $U$. Since $\\hat{T}$ is a linear transformation prove $\\ker \\hat{T} = \\text{ann}(\\text{range } T)$ where $\\text{ann}(Y) = \\{g \\in U^* : g(y)=0 \\text{ for all } y \\in Y \\}$ for a subspace $Y$ of vector space $U$. I'm really not sure how to start this problem. Any advice would be great!", "What is involved in moving over to Lightning Web Components?", "Solve the following equation: $\\sqrt {\\sin x - \\sqrt {\\cos x + \\sin x} } = \\cos x$ Solve the following equation: \\begin{array}{l}{\\sqrt{\\sin x-\\sqrt{\\cos x+\\sin x}}=\\cos x} \\\\ \\text{my try as follows:}\\\\{\\sin x-\\sqrt{\\cos x+\\sin x}=\\cos ^{2} x} \\\\ {\\sin x-\\cos ^{2} x=\\sqrt{\\cos x+\\sin x}} \\\\ {\\sin ^{2} x+\\cos ^{4} x-2 \\sin x \\cos ^{2} x=\\cos x+\\sin x} \\\\ {\\sin ^{2} x+\\cos ^{4} x-2 \\sin x \\cos ^{2} x-\\cos x-\\sin x=0} \\\\ {\\sin ^{2} x+\\cos ^{4} x-2 \\sin x\\left(1-\\sin ^{2} x\\right)-\\cos x-\\sin x=0} \\\\{\\sin ^2}x + {\\left( {1 - {{\\sin }^2}x} \\right)^2} - 2\\sin x\\left( {1 - {{\\sin }^2}x} \\right) - \\cos x - \\sin x = 0\\\\ {\\sin ^{2} x+\\sin ^{4} x-2 \\sin ^{2} x+1-2 \\sin x+2 \\sin ^{3} x-\\cos x-\\sin x=0} \\\\ {\\sin ^{4} x+2 \\sin ^{3} x-\\sin ^{2} x-3\\sin x-\\cos x+1=0}\\end{array} Now i think it gets more complicated , any help would be appreciated", "List questions: Community Wiki?", "Can high level Eldritch blast be used with War Caster?", "Printing a file to a printer in Ruby", "I'm stuck underground. I can't mine any further to reach lava. There is no water nearby, and zombies can't reach me. I can't see to find any blocks to suffocate my character. NBTEdit and similar programs don't work on Mac, so I can't edit my save file to escape. I have hardly any blocks so cannot jump and lay my way up. I can't see, and do not have any torches, so can't make a staircase back up. I don't want to make new save as I have an awesome house filled with stuff that took me ages to find. How can I get back to the surface?", "I have always argued adamantly, as long as the issue has been around, that gift should never be used as a verb. However, someone whose English knowledge I quite respect disagrees. I’ve done some searching and I haven’t found a consensus; should gifting be shunned?", "How old is SpongeBob? I don't mean how old is the series, I mean what is SpongeBob's age if he were a real person. I ask because his age seems to be ambiguous in the show. He has a full-time job He has his own house He is always referred to as a kid (especially in the movie) He acts childish and immature In one episode, he was pretending to be an adult/grown-up", "18.04 on MSI GE63 - boot hangs at 'Loading initial ramdisk' without `acpi=off`", "I'm on SO pretty much every day researching something to do with programming, and over the last month or two, I find I'm growing frustrated and a little disgusted at how many interesting questions have been closed as \"not a good fit\" or \"too subjective\". I think there is a confusion between \"subjective\" and \"calls for judgement\". To me one of the most valuable things about SO is the tremendous breadth and depth of experience of the members, and experience translates into smart decisions and advice, and that advice cannot always be asked for, or expressed in terms of, bald facts and data. It's going to be 'subjective'. I don't think SO should be Wikipedia. I think that if I could ask a question to a group of skilled programmers sitting around a table at lunch, and get interesting, valuable answers, then I don't care whether the question or the answers are 'subjective', I think that question should equally well be fair game for Stack Overflow. I would like to see a mechanism whereby people who vote to close a question lose reputation when somebody expresses interest in that question or its responses. How can I, or can I, influence this aspect of SO?" ]
medi_sts_stackexchange_dupe
Minecraft gamerule keepinventory
Keep items in inventory on death in Minecraft
[ "What are the minimum requirements to run Windows 10? I am looking to upgrade my system to Windows 10 RTM, but I'm afraid of losing performance. I researched on the site but found details (maybe I have not sought duty) on the hardware minimum. What are the minimum and recommended requirements for running Windows 10 RTM?", "I have the following code: info = new System.Diagnostics.ProcessStartInfo(&quot;TheProgram.exe&quot;, String.Join(&quot; &quot;, args)); info.CreateNoWindow = true; info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; info.RedirectStandardOutput = true; info.UseShellExecute = false; System.Diagnostics.Process p = System.Diagnostics.Process.Start(info); p.WaitForExit(); Console.WriteLine(p.StandardOutput.ReadToEnd()); //need the StandardOutput contents I know that the output from the process I am starting is around 7MB long. Running it in the Windows console works fine. Unfortunately programmatically this hangs indefinitely at WaitForExit. Note also this code does NOT hang for smaller outputs (like 3KB). Is it possible that the internal StandardOutput in ProcessStartInfo can't buffer 7MB? If so, what should I do instead? If not, what am I doing wrong?", "Proving $6^n - 1$ is always divisible by $5$ by induction I'm trying to prove the following, but can't seem to understand it. Can somebody help? Prove $6^n - 1$ is always divisible by $5$ for $n \\geq 1$. What I've done: Base Case: $n = 1$: $6^1 - 1 = 5$, which is divisible by $5$ so TRUE. Assume true for $n = k$, where $k \\geq 1$: $6^k - 1 = 5P$. Should be true for $n = k + 1$ $6^{k + 1} - 1 = 5Q$ $= 6 \\cdot 6^k - 1$ However, I am unsure on where to go from here.", "Why does latex stretch small sections across the whole page vertically?", "Make bibliography appear in toc as a chapter, not section", "Can all real polynomials be factored into quadratic and linear factors? So I understand how to do integration on rational functions with a linear and a quadratic denominator, and I understand how to do a partial fraction decomposition, but I was wondering what happens if the polynomial is higher degree and can't be factored. Later in the page, it says this: However, it can be shown that any polynomial with real coefficients is a product of linear and/or irreducible quadratic factors with real coefficients. And I was wondering, how do we know this and is this definitely true?", "How do I center a container in my HTML/CSS?", "This is my attempt to prove that, if $a &gt; 0$, then $\\frac{1}{a} &gt; 0$, using just field and order axioms. $$a &gt; 0 \\implies a \\cdot \\left(\\frac{1}{a}\\right)^2 &gt; 0 \\cdot \\left(\\frac{1}{a}\\right)^2 \\implies a \\cdot \\left(\\frac{1}{a}\\right)^2 &gt; 0 \\implies a \\cdot \\left(\\left(\\frac{1}{a}\\right) \\cdot \\left(\\frac{1}{a}\\right)\\right) &gt; 0$$ By associativity of multiplication: $$\\left(a \\cdot \\left(\\frac{1}{a}\\right)\\right) \\cdot \\left(\\frac{1}{a}\\right) &gt; 0$$ We know that $a \\cdot \\left(\\frac{1}{a}\\right) = 1$, because one is the multiplication inverse of the other. So we have: $$1 \\cdot \\left(\\frac{1}{a}\\right) &gt; 0 \\implies \\frac{1}{a} &gt; 0 $$ Which is what we wanted to prove. My question are: In the field axioms, there's no axiom that says that $0$ times another number is $0$, but I have used this property. How would you translate it to field and order axioms? I have assumed that $\\left(\\frac{1}{a}\\right)^2$ is positive, have you noticed? Note that I need a positive number in order not to change the $&gt;$ sign. But this is not present in the field or order axioms. How would you explain this?", "Modernist Cuisine recommends that for longer sous vide cooking (times greater than 36 hours) that bags are vacuum sealed rather than just using the water displacement method to remove the air from a ziploc bag. What is the reason for this? Will I be losing something essential if I just use a regular ziploc bag without vacuum sealing?", "In Lubuntu, there's no 'Add New Program...' button in Desktop Session Settings. Is there an easy way to add new autostart programs in Lubuntu?", "Derivation of the general forms of partial fractions I'm learning about partial fractions, and I've been told of 3 types or \"forms\" that they can take (1) If the denominator of the fraction has linear factors: $${5 \\over {(x - 2)(x + 3)}} \\equiv {A \\over {x - 2}} + {B \\over {x + 3}}$$ (2) If the denominator of the fraction has quadratic factors that don't factorise: $${{2x + 3} \\over {(x - 1)({x^2} + 4)}} \\equiv {A \\over {x - 1}} + {{Bx + C} \\over {{x^2} + 4}}$$ (3) If the denominator has a factor that repeats: $${{5x + 3} \\over {(x - 2){{(x + 3)}^2}}} \\equiv {A \\over {x - 2}} + {B \\over {x + 3}} + {C \\over {{{(x + 3)}^2}}}$$ I'd appreciate it if someone could explain to me how these equivalence relationships are derived, essentially how do they take the forms that they do? I sort of understand the first one, but the other two I don't. Thank you", "How do I select background music for my RPG campaign? Music is an essential component of my games. When running games set in the Star Wars universe, the music of John Williams adds a new dimension to the experience, both for me and for my players. Now that I'm starting a fantasy campaign, I'm a bit more uncertain about which music to use. How do I create a soundtrack suitable for using in a fantasy campaign? Specifically: What sort of characteristics make for good back ground music? What makes for bad background music? What should I look for to get a fantasy feel? Which genres/sub-genres support fantasy games? What are good sources for fantasy background music? A few notes: Because the music will be used in the background of game sessions, most of the tracks should be one minute or longer, to avoid repetitive loops. Likewise, soundtracks with a variety of themes are preferred, so that they can easily support different modes of the game: exploration, combat, and chases, to name a few. Orchestral or acoustic music is preferred over music with vocals or electric instruments.", "Is it possible to mount on a PC an SD card that has been encrypted by an Android Marshmallow device? I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this is that I'm not sure if there's a way to mount an encrypted SD card on Windows (or other desktop OS's) When I encrypt the SD card on my Samsung Galaxy S5, is it using a known implementation of encryption, or is it something that only works on Android (or perhaps Samsung) phones? I do not want to use USB connection to my phone to access my SD card, it's terrible. Mounting the SD card is much easier and faster and less annoying. EDIT: just to clarify, I am NOT talking about adoptable storage. I want a portable encrypted SD card that can both be read on PCs and Android phones (i.e. I want to be able to remove the SD card from my phone, plug it into my PC, provide a password to decrypt and read/write it like any other SD card)", "Textarea CSS issue on \"needs moderator attention\" To reproduce: Click Flag (question or answer) Click other (needs moderator attention) The textarea is too wide: StackOverflow AskUbuntu StackExchange Most probably affects other sites, but didn't check. I think it's enough. :-) Reproducing on: Chromium Version 40.0.2214.111 Ubuntu 15.04 (64-bit) Google Chrome Version 41.0.2272.76 (64-bit) Firefox 36.0 (I'm using Ubuntu 15.04)", "How do I make an object face the mouse position, but only on one plane? I want a game object to turn and look towards where the mouse was clicked (in world space). It works well when considering all 3 dimensions, but I really only care for the plane formed by the x and z axis, not the y. I've tried to fix this by setting the y of the directionTarget to the y of the object's position, but that gives weird results. My code looks like this: Quaternion rotationTarget; float rotationLerpProgress; float rotationLerpDuration = 1f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { if (Input.GetMouseButtonDown (0)) { var ray = Camera.main.ScreenPointToRay (Input.mousePosition); RaycastHit rayHit; if (Physics.Raycast (ray, out rayHit)) { var rayHitPoint = rayHit.point; var rotationDirection = transform.position - rayHitPoint; rotationDirection.Normalize (); //rotationDirection.y = transform.position.y; rotationTarget = Quaternion.LookRotation (rotationDirection); rotationLerpProgress = Time.deltaTime; } //targetPosition = Camera.main.ScreenToWorldPoint (Input.mousePosition); } if (rotationTarget != transform.rotation) { transform.rotation = Quaternion.Lerp (transform.rotation, rotationTarget, rotationLerpProgress / rotationLerpDuration); rotationLerpProgress += Time.deltaTime; if (rotationLerpProgress &gt;= rotationLerpDuration) { transform.rotation = rotationTarget; } } } I must be missing something. How do I do this right?", "I want to prove, that $GL(n,K)$ is open in $M(n,K)$, where ($K=\\{\\mathbb{R},\\mathbb{C},\\mathbb{H}\\}$. For the prove I don't want to use that the determinant is continous. Alternativly I assume a submultiplicative norm. First step: Define $U_A:=\\{B\\in M(n,K):\\Vert A-B\\Vert&lt;\\frac{1}{\\Vert A^{-1}\\Vert}\\}$ and show that it is a neighbourhod of $A$ in $M(n,K)$. Second step: I show that the series $\\sum_{k\\ge0}(1-A^{-1}B)^kA^{-1}$ converges absolutely and the limit is inverse to $B$. For the second step I should use the Neumann series, right? But I have some problems with the first step. Any help?", "How can I search in another language?", "I am wondering if there is away (possibly a better way) to order by the order of the values in an IN() clause. The problem is that I have 2 queries, one that gets all of the IDs and the second that retrieves all the information. The first creates the order of the IDs which I want the second to order by. The IDs are put in an IN() clause in the correct order. So it'd be something like (extremely simplified): SELECT id FROM table1 WHERE ... ORDER BY display_order, name SELECT name, description, ... WHERE id IN ([id's from first]) The issue is that the second query does not return the results in the same order that the IDs are put into the IN() clause. One solution I have found is to put all of the IDs into a temp table with an auto incrementing field which is then joined into the second query. Is there a better option? Note: As the first query is run \"by the user\" and the second is run in a background process, there is no way to combine the 2 into 1 query using sub queries. I am using MySQL, but I'm thinking it might be useful to have it noted what options there are for other DBs as well.", "I've encountered different usages of preposition + Home and I want to learn which of them are correct. Some examples: Back home Back at home Back to home", "Filling between two listplots" ]
medi_sts_stackexchange_dupe
'Undefined Reference' with Templates and Class Methods
Why can templates only be implemented in the header file?
[ "onKeyUp not firing for ESC in IE", "After removing any part the rest can be split evenly. Consequences?", "Retail boxed Steam activated games: can they be resold? I recently purchased retail boxed versions of Dead Island (which is awesome) Warhammer 40k: Space Marine (not so much) I finished both games and I was thinking of reselling them or giving them to a friend to play. However, these are both Steam activated games that had a required Steam registration code I had to enter -- and validate on Steam -- as part of the installation. If I give these games to a friend or resell them, will they even work? Is the registration code single use and tied to a single person / computer / Steam account?", "Low budget alien movie about the Earth being cooked I’m looking for an alien movie I watched years ago, mid to late 2000’s about the Earth being cooked or heated up by aliens. The poster is a reflection of the Earth heating up with an orange glow on an aliens eye. It was a low budget movie and I think the one I watched was pirated from China. Again low budget, bad quality and the name could’ve been something worthy he word scorch or something like that. The alien in the movie had legs with knees that went inwards and it had red eyes.", "How to enlarge Ubuntu system partition to the left? sda6 is ext4 file system and where my ubuntu is installed, 30GB. sda3 is \"ntfs\" file system and where my windows is installed, 400GB. sda7 is a 50 GB empty partition with \"ext4\" file system. How to move the space of sda7 to sda6 to let sda6 become 50+28=78 GB. Here's a real case of mine :( I want to add more space into my ubuntu (28.2 GB one) from other emtpy partition space.", "Creating Workflow -> Error When I try to create a new WF in my Sharepoint Designer I get following error: The list of workflow actions on the server references an assembly that does not exist. Some actions will not be avaliable. The assembly strong name is \"Microsoft.SharePoint.WorkFlowActions, Version=14.0.0.0,Cultureneutral,PublickeyToke= Does any on know how to fix this problem?", "\"matrix is not positive definite\" - even when highly correlated variables are removed", "This tiny little script deletes all small features in all layers. This works fine but the size of .shp files are not reduced. Please tell me why... canvas = iface.mapCanvas() expr = QgsExpression(\"$length&lt;100\") for l in canvas.layers(): l.startEditing() it = l.getFeatures(QgsFeatureRequest(expr)) for ft in it: l.deleteFeature(ft.id()) l.commitChanges()", "What is scientific mind?", "What does it mean for something to hold \"up to isomorphism\"?", "Why must I wait two days before accepting my own answer? I got this message today while trying to accept my answer on my own question. Why must I wait this time, if I am sure that the answer I answered is the right one, just want to understand the point of view? I faced that just today on Super user and didn't get this message before.", "EEA Family Permit: No appointments are currently available for this location My Austrian husband and I will be travelling to the UK in April 2019 so I've applied for the EEA (just like before). I can't really wait with my application till January (3 months until the trip) because we'll be abroad in February and I need my passport back for that. Upon filling out the application I saw some appointments on Dec, 27 that I couldn't book because we'll be on vacation in another country that week. For the last three days, there have been no appointments available at all, I keep getting the message \"No appointments are currently available for this location\" (that's for Vienna). I have contacted the visa4uk support per Email. They told me to use the approved Internet browser and closed the ticket. I replied to their Email asking for further help since my issue wasn't of technical nature (I use an approved browser), but they don't seem to reply anymore. So how can the situation with unavailable appointments be resolved? 13.12.2018 Edit after comment: My national residence permit is not the Article 10 card.", "No feedback when comment fails to post on Android 2.3.5 In the mobile theme on Android 2.3.5, comments that do not meet the minimum length will fail to post but no feedback message is displayed to the user. The submit button changes to its active state, but nothing else happens.", "Taskbar > File Explorer > Context Menu failing me So I have the latest version of Windows 10, and this is a new PC. File Explorer is in the taskbar. When I open the context menu (right-click) on it, I get the list of folders as seen in the picture. When I right click on any of them, I get the blank black box you see in the picture. If I click on any of the folders, such as Downloads or Update. Nothing happens. They don't open. The only way to use it is to click on the actual File Explorer icon and then navigate from there. I've tried uninstalling things (not that I have much installed since it's a fresh install) and I've tried scans, etc. This only happens with File Explorer. Everything else works fine. I can't figure it out.", "What is the meaning of the beta-coefficient for an interaction term in a crossover study? I have asked a similar question here: I am puzzled by the interpretation for an interaction term. In my data my Y is an interval variable with the health outcome of an experiment. I have used an interaction term in which I have interacted the condition with the predisposition of the subject considering health status at base level. They are both categorical variables (factor variables in R). Now it gets complicated because the Condition was two treatments: in treatment A subjects got the placebo first and then the real medicine whereas in treatment B they go the real medicine first and the placebo second. All it changes is the order. Health outcome = a + Condition * Health.Base I have the worst state of health at the base level as my reference category I find that interaction with the Condition is statistically significant but I am not sure how to interpret this. I use the lm() function of R (although my design looks more like an ANOVA) and in the output I get the b coefficient in an output that looks like this: ConditionB:Health.Base.So.and.So (Beta and p-value) ConditionB:Health.Base.Excellent (Beta and p-value) A statistically significant interaction term for those in Excellent health at baseline would mean that they are affected by the Condition B more than Condition A compared to the reference category people (Poor health at baseline). Is this right? What does the beta-coefficient represent? If I would like to examine for each Health category at the base line separately without comparing to a reference category I would have to code each category as a dummy variable. However, in this case I would compare whether membership to a specific health status at the base line significantly changes between conditions compared to those who belong to the other health statuses at the base line. Is this right? Again, what does the beta-coefficient represent? Would it be right to assume that the choice of the interaction between the Condition and the dummy variables is easier to interpret? --- EDIT --- R output: Call: lm(formula = HealthOutcome ~ Condition * HealthStatus, data = datA) Residuals: Min 1Q Median 3Q Max -1.5957 -0.5942 -0.2640 0.4423 2.4423 Coefficients: Estimate Std. Error t value Pr(&gt;|t|) (Intercept) 2.595652 0.053044 48.934 &lt; 2e-16 *** ConditionCondB -0.001449 0.077071 -0.019 0.985 HealthStatusSo.and.So -0.331693 0.078094 -4.247 2.35e-05 *** HealthStatusExcellent -0.836724 0.092692 -9.027 &lt; 2e-16 *** ConditionCondB:HealthStatusSo.and.So 0.137490 0.110612 1.243 0.214 ConditionCondB:HealthStatusExcellent -0.199787 0.133943 -1.492 0.136 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: 0.8045 on 1059 degrees of freedom (68 observations deleted due to missingness) Multiple R-squared: 0.16, Adjusted R-squared: 0.156 F-statistic: 40.33 on 5 and 1059 DF, p-value: &lt; 2.2e-16", "Why can't $ i\\hbar\\frac{\\partial}{\\partial t}$ be considered the Hamiltonian operator?", "I can't seem to find a story related to mine so here it is. I am 25 and a German citizen. In 1998 when I was 7 years old my family moved to the states and we stayed until early 2002 and left voluntarily. Basically we overstayed. I am aware that my parents had the ten year ban and since I was a minor at the time of our overstay I did not receive such ban. Ever since 2002 I have not attempted to go back to the USA for any reason. However now that I am older I would like to go back for vacation and stay for a short period of time (one month) during my christmas break. I've lived in Germany since leaving, have a great job, enough money in the bank account. My whole life is here and I have no intention on moving anywhere else. After reading a bunch of stories online I have decided to apply for a B2 visa to be on the safe side but I was curious about the ESTA approval. For the last question. 8) Have you ever stayed in the United States longer than the admission period granted to you by the U.S. government? I should put yes but is it a no if I stayed when I was a minor? And what are my chances on getting the B2 Visa?", "How do I make log4j clear a log at startup?", "Using Sequence to delete a part of an expression", "There's a way to fill with faces only the area between the larger circle and the the smaller one? I mean.. It's a wheel and I'm trying to fill the rubber part of it. Using the fill function F it fills everything inside the bigger circle." ]
medi_sts_stackexchange_dupe
Why doesn't a moving object spontaneously slow down and heat up?
Why can the entropy of an isolated system increase?
[ "Since humans are not large in mass, do we exert enough gravitational force for a small object to orbit around us? (Assuming that the only gravitational force acting on the object is from the human). Using Newton's law of gravity and using myself as the human mass, I exert a 10^-8 force on a 1 kg object .5 meter away, but I am not sure if even this small of a force will be acceptable. What is the baseline \"force\" between two objects for 1 to orbit another? Edit: I am not sure if this is a SpaceExchange question.", "How to remove desktop environments? I installed few environments that I wanted to try out on Ubuntu 12.04, but none of them worked at all. It could be that I installed them all at the same time, meaning the OS didn't get a chance to work everything out, but either way, they didn't work. I would now like to remove them. The one's that I installed are Xubuntu/Xfce, Lubuntu/LXDE, Kubuntu/KDE, Fluxbox, OpenBox, cinnamon, and MATE. I installed them. Everything seemed to have been working properly until I actually tried to use the shells and nothing loaded at all. Except for Fluxbox, I think that one worked. I want to know of any way to repair or perhaps just remove the packages entirely. I might have already removed them because I did the apt-get remove command on all of them, but they were still in the list on the login screen.", "How to amplify 3.3V to 10V by using an NPN transistor? How to select resistor based on current, how does the amplification happen?", "I have seen somewhere that classical distances (like Euclidean distance) become weakly discriminant when we have multidimensional and sparse data. Why? Do you have an example of two sparse data vectors where the Euclidean distance does not perform well? In this case which similarity should we use?", "How can we sum up $\\sin$ and $\\cos$ series when the angles are in arithmetic progression?", "I've been reading through a lot of the rookie Java questions on finalize() and find it kind of bewildering that no one has really made it plain that finalize() is an unreliable way to clean up resources. I saw someone comment that they use it to clean up Connections, which is really scary since the only way to come as close to a guarantee that a Connection is closed is to implement try (catch) finally. I was not schooled in CS, but I have been programming in Java professionally for close to a decade now and I have never seen anyone implement finalize() in a production system ever. This still doesn't mean that it doesn't have its uses, or that people I've worked with have been doing it right. So my question is, what use cases are there for implementing finalize() that cannot be handled more reliably via another process or syntax within the language? Please provide specific scenarios or your experience, simply repeating a Java text book, or finalize's intended use is not enough, as is not the intent of this question.", "Steps for going from Polyakov action to low-energy effective action (SUGRA?) in String Theory A lot of string-theory questions have been asked here. This one is, hopefully, different in that this inquiry is specific and the expected answer would be more mathematical than philosophical in character. To give some context, I'm familiar with LQG, QFT etc. I'm a beginner in CFT and string-theory. On reading papers on AdS/CFT and String Theory the following sentence often appears: \"The low-energy effective action for $x$ dimensional ST of type $y$ reduces to that of supergravity (SUGRA) in $z$ dimensions with matter fields of types $a$, $b$ and $c$\". The $64,000 dollar question any noob, such as me, wants answered is what are the mathematical/technical steps or arguments which lead us from the fundamental action of string-theory (the Polyakov/Nambu-Goto action) to a low-energy effective description. Of course, I might be asking a question for which the only concise answer is: \"go read GSW\". Here's hoping otherwise ;)", "How to open terminal, split to 9 terminals and switch between them using one script?", "In the Unity3D game engine, a common code sequence for getting remote data is this: WWW www = new WWW(\"http://remote.com/data/location/with/texture.png\"); yield return www; What is the underlying mechanism here? I know we use the yield mechanism in order to allow the next frame to be processed, while the download is being completed. But what is going on under the hood when we do the yield return www ? What method is being called (if any, on the WWW class)? Is Unity using threads? Is the \"upper\" Unity layer getting hold of www instance and doing something? EDIT: This question is specifically about Unity3D internals. I'm not interested in explanations of how yield statement works in C#. Instead, I'm looking for an inside view of how Unity deals with these constructions, to allow, for example, to WWW to download a piece of data in a distributed manner across several frames.", "I have a bunch of files as follows: 04602635_b0294.DAT20120807164534 04602637_b0297.DAT20120807164713 04602638_b0296.DAT20120807164637 04602639_b0299.DAT20120807164819 04602640_b0298.DAT20120807164748 04602641_b0300.DAT20120807164849 04602650_b0301.DAT20120807164921 04602652_b0302.DAT20120807164956 I need to rename them to exclude the prefix. It needs to look like this.. b0294.DAT20120807164534 b0297.DAT20120807164713 b0296.DAT20120807164637 b0299.DAT20120807164819 b0298.DAT20120807164748 b0300.DAT20120807164849 b0301.DAT20120807164921 b0302.DAT20120807164956 EDIT I forgot to add that I am using Solaris.", "iOS 7 Locked Bug via Ubuntu 13.10 I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire to be able to grab Photos, Music, and Files off my Phone similar to what I would do to any other device. Every time I connect my device to Ubuntu, I receive the following notification: The device \"Justin's iPhone\" is locked. Enter the passcode on the device and click \"Try again\". On my iPhone, I select the following Unfortunately, this is where problems start to arise. It appears that Ubuntu either does not recognize the permissions from my iPhone or the iPhone is not allowing itself to truly be unlocked. As we can see the permissions are Browsing askubuntu, I encountered the following After running the code, I receive the following error: justin@justin-CT15:~$ idevicepair unpair &amp;&amp; idevicepair pairERROR: Device d1fea2c56e51199f901eb34020a1581ea31a2a50 is not paired with this host If I call the command again, i receive another error: justin@justin-CT15:~$ idevicepair pair ERROR: Could not pair with the device because a passcode is set. Please enter the passcode on the device and retry. Ultimately, I am stuck to experiment with solutions that end up not working. I am troubled by the lack of information and support for the iOS 7 platform on Ubuntu's latest release. If anyone has a workable solution or experiment for a workaround, I am happy to try Thanks for reading and have a wonderful day!", "Normalizing constant in Bayes theorem I read that in Bayes rule, the denominator $\\Pr(\\textrm{data})$ of $$\\Pr(\\text{parameters} \\mid \\text{data}) = \\frac{\\Pr(\\textrm{data} \\mid \\textrm{parameters}) \\Pr(\\text{parameters})}{\\Pr(\\text{data})}$$ is called a normalizing constant. What exactly is it? What is its purpose? Why does it look like $\\Pr(data)$? Why doesn't it depend on the parameters?", "What should children call a step-grandparent? My mom remarried to a great guy who has been absolutely wonderful to my kids. Ever since my mom and he were dating my kids have called him Mr. Joe. Lately my mom has been bugging me to get the kids to call him Grampa. I agree that he deserves more respect than Mr. The problem is that he isn't their real grampa so I don't really want them calling him that. Does anybody have any suggestions on what we should have the kids call him? They are 9 and 12 years old. EDIT: I appreciate the comments regarding different variations of grampa and hearing how others have no issues with calling their step-granddad grampa. But I was hoping maybe someone has some suggestions for names that show the importance of the step-granddad without calling him some variation of the grampa name but still has a feeling of warmth and family in the name (I hope that makes sense).", "Why is the application of probability in QM fundamentally different from application of probability in other areas?", "Is there a way to set initial state with rigid bodies? Let's say I set up a Rigid Body simulation in Blender (not in GE), and then run the simulation for a number of frames. Is there a way to tell Blender to use the current state and position as the initial state? So that when I go back to frame 1, the rigid bodies stay in the same place they did in frame X. For instance, if I want a pile of bricks, I first place the bricks in the air and then let them drop down on the ground, coming to rest. When they have come to rest, I want to use that position as the starting position.", "Enable thumbnail preview when uploading files in Google Chrome/Firefox? I have google chrome and when I upload photos to Facebook or Imageshack I cannot find a way to show thumbnails, only detail view. I also tried this in Firefox. This is quite important as it is stopping my friend from switching to Ubuntu over Windows. Included a picture of the File Upload window, how do I change this to a thumbnail view rather than the current list?", "How do you plot time on the X axis in excel? I need to plot the decay of my phone's battery against time over night. My starting time is 23:17:47 and my ending one is 07:05:49. I don't have any issue in changing the time format in the current one, selecting an XY chart and plotting time on the X axis. The problem arises because Excel doesn't start the X axis at 23:17:47, but instead at 00:00:00, so my first value is drawn from the end of the graph and the goes back at the beginning when time values are over 00:00:00. In other words, how do I set up the min time value to 23:17:47 and the max to 07:05:49 in excel?", "How do we play multiplayer minecraft on iPads? We have two iPads, and both of them have Minecraft PE. My son wants to connect the two and play with me. I have absolutely no idea what I am doing here, so I do not know how to do this. One game says \"Broadcast to LAN\", and the other one says \"Local Server Multiplayer\". I have switched both to on. What do I need to do to be able to play joined? We are both on the same WiFi.", "Node only partially rendered near edge of plot I'm trying to draw a relatively simple chart of a number line, and when one of the nodes is too close to the edge of the plot, it gets cut off. The code: \\documentclass{article} \\usepackage{natbib} \\usepackage{graphicx} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture} \\begin{axis}[ width=\\columnwidth, axis y line=none, axis lines=left, axis line style={-}, xmin=0, xmax=1, ymin=0, ymax=1, xlabel=$\\mu$, scatter/classes={o={mark=*}}, restrict y to domain=0:1, xtick={0,1} ] \\draw[ultra thin] (axis cs:0, 0) -- (axis cs:0,.05); \\draw[ultra thin] (axis cs:.4, 0) -- (axis cs:.4,.05); \\node[coordinate,label=above:{$B$}] at (axis cs:0.0,0.05) {}; \\node[coordinate,label=above:{$A$}] at (axis cs:0.4,0.05) {}; \\node[coordinate,label=above:{$b$}] at (axis cs:0.2,0.02) {}; \\node[coordinate,label=above:{$a$}] at (axis cs:0.7,0.02) {}; \\end{axis}; \\end{tikzpicture} \\end{document} The Result: How do I get the B to fully render?", "Proof of continuity of Thomae Function at irrationals." ]
medi_sts_stackexchange_dupe
How to prevent the citation in footnote appear not in order?
How to show bibliography alphabetically with biblatex?
[ "Linear algebra skew symmetric", "Let $f:\\mathbb{R}\\longrightarrow \\mathbb{R}$ a differentiable function such that $f'(x)=0$ for all $x\\in\\mathbb{Q}$ Let $f:\\mathbb{R}\\longrightarrow \\mathbb{R}$ a differentiable function such that $f'(x)=0$ for all $x\\in\\mathbb{Q}.$ $f$ is a constant function?", "How do I run a program with commandline arguments using GDB within a Bash script?", "EmployeeNumber = string.IsNullOrEmpty(employeeNumberTextBox.Text) ? null : Convert.ToInt32(employeeNumberTextBox.Text), I often find myself wanting to do things like this (EmployeeNumber is a Nullable&lt;int&gt; as it's a property on a LINQ-to-SQL dbml object where the column allows NULL values). Unfortunately, the compiler feels that There is no implicit conversion between 'null' and 'int' even though both types would be valid in an assignment operation to a nullable int on their own. Using the null coalescing operator is not an option as far as I can see because of the inline conversion that needs to happen on the .Text string if it's not null. As far as I know the only way to do this is to use an if statement and/or assign it in two steps. In this particular case I find that very frustrating because I wanted to use the object initializer syntax and this assignment would be in the initialization block... Does anyone know a more elegant solution?", "Mistakenly filed as Exempt from income tax witholdings for entire year 2019 I am a basic 30 year old filing Single, W2, healthy working individual. No dependents, no additional schedules, capital gains or losses other than Student Loan interest expense. I started a new job in January 2019 and somehow during my new hire enrollment, \"I or someone\" marked in my file as Exempt... I am pretty familiar with filing my own 1040 (as its pretty basic)and I know for a fact that I would never for under any reason think that I am Exempt from absolutely anything tax related. Nobody in my new job's HR department reached out to confirm whether this Exemption was correct or not with me personally. My CPA said that anytime they receive an Exempt W-4 form, that they automatically return the form to the employer to confirm. I unknowingly went 11 full months in 2019 without any taxes being withheld. Of course my paycheck was more than before, but I also got a better/higher salary job, so I never thought about the difference being from not paying taxes. And, no I do not print out my paystubs. It’s all through Paycom and it clearly shows you your gross pay &amp; a \"$XXX\" amount in deductions/withholdings - kicker is, you have to click the drop down menu to actually see the entire breakdown. At which point, I never saw the big $0 in taxes being withheld... I know the taxes have to be paid one way or another, but I don't feel like I should be entirely responsible for a $5k-$6k tax liability for a HR clerical error. Even if I did actually input it incorrectly the first time. Is there a way to check with the IRS to see if they indeed receive my file as Exempt and if they did actually return it to my Employer? I’m just wondering if either HR forgot to follow up with me or even IF the IRS does actually cull these exempt requests in the first place? I don't have the liquidity to simply pay the IRS all at once. What would be my best option going forward?", "Automatic line breaking of long lines of text? Here, it is just a example. I have a line: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaa Now, I want to let LaTeX automatically wrap the line according to the width of the text block/margins.", "Not every open set in $\\mathbb{R}^n$, for $n\\geq2$, is a disjoint union of countable open balls. I know that every open set in $\\mathbb{R}$ can be decomposed as the union of countably many disjoint open intervals and I'm trying to show that this property no longer holds in higher dimensions. For this I'm trying to show that there is no countable, pairwise disjoint open balls whose union is the open square $(0, 1)^2 ⊂ \\mathbb{R}^2$. I know that it is because of the corners, but I don't know how to write this in mathematical terms. Thanks for any help.", "I have an older Nvidia video card and my PC crashes when installing the driver for the video card in Ubuntu 16.04. When I get to the login screen but no further: after entering my password, the system went into a loop and returned always back to the login screen [with funny stripes present]. How do I fix this problem?", "Let $T:V\\to V$ be a linear map, where $V$ is an inner product space. Given $T^2=\\frac{T+T^*}{2}$, prove that $T$ is normal and that $T=T^2$. Let $T:V\\to V$ be a linear map, where $V$ is a finite-dimensional inner product space. Given $T^2=\\frac{T+T^{*}}{2}$, I would like to prove that $T$ is normal and that $T=T^2$. The first part, to prove that $T$ is normal, is quite easy: from $T^2=\\frac{T+T^{*}}{2}$ we'll have $\\,T^{*}=2T^2 - T$, and as $TT^{*} = 2T^3 -T^2 = T^{*}T$. Now, I need to prove that $T=T^*$, then $T = T^2$ is immediate. I have been thinking about this question for some days and I can't figure out in what technique to prove that $T = T^{*}$.", "Intuition of pdf of a continuous random variable What is the intuition behind the probability density function of a continuous random variable? Integrating it within two points provides the probability that is associated between two points, but if you plug a single value into $f(X=x)$, it outputs a value. What is the intuitive understanding of this value for a given x? For example, in the above image, the value of the red curve at x=0 is 0.4. How can 0.4 be interpreted?", "Is there some kind of icon browser? When making a custom launcher, it is nice to have a matching icon for it from the default usr ubuntu directories. The problem that is: Ubuntu seems to store icons in about 50 or more folders. Browsing all of them in nautilus takes ages. So my question is: Is there some kind of icon browser that shows an overview of all icons in /usr/share/icons/*?", "I'm planning to use ZFS on my system (HP ML370 G5, Smart Array P400, 8 SAS disk). I want ZFS to manage all disks individually, so it can utilize better scheduling (i.e. I want to use software RAID feature in ZFS). The problem is, I can't find a way to disable RAID feature on the RAID controller. Right now, the controller aggregates all of the disks into one big RAID-5 volume. So ZFS can't see individual disk. Is there any way to acomplish this setup?", "Can't execute .out files, getting permission denied", "Interpretation of log transformed predictor and/or response", "I am revising for an exam and have just realised that the euclidean algorithm questions in past exams are much harder than in homeworks! So i need some help please. I have a question here, i already have the solution to it but i dont understand it that well, so i would like someone to please explain what is going on ect, and dont worry about avoiding giving me the full solution as i already have it so a full solution would be good! Here is the question: Use euclids Algorithm to find $gcd(172,20)$. Hence solve $172a + 20b = 1000$ giving all solutions in terms of parameter t. List any solutions for which $a,b&gt;0$. So it wants the answers in terms of parameter t, which is something i am not familiar with and cannot find in my books. I have the solution in the solutions paper as $$172= 8\\times20+12 $$ $$20=1\\times 12 + 8$$ $$12=1 \\times 8 +4$$ $$8=2\\times 4+0$$ thus $gcd(172,20)=4$ then $$4= 12-8=12-(20-12)=2\\times 12 - 20$$ $$=2\\times(172-8\\times20)-20$$ $$=2 \\times 172 -17 \\times20$$ multiplying by 250 we get $$1000=500 \\times 172 -4250 \\times 20$$ so one solution is $a=500, b=-4250$ So, I understand everything up until here!! Now it says, Generally, $$a=500-t \\frac{20}{4}=500-t$$ $$b=-4250+t \\frac{172}{4}=-4250+43t$$ To have $a,b&gt;0$, we need $$500-5t&gt;0, (100&gt;t)$$ to have $a&gt;b$ we need $$-4250+43t&gt;0,(t&gt;98.8)$$$ Need $t=99$, $a=5$, $b=7$ Could someone please help explain what is going on in this last bit of working out? I am pretty good at euclidean algorithm usually but havent seen this type before an am panicking bit as so close to exam! Any help appreciated how to find t and the other positive solutions would be great! Please could you show me exactly how it is done here as my lecturer is quite strict with us using his exact methods. Many thanks", "How can I put the computer to sleep from Command Prompt/Run menu?", "Can a regular salaried (w2) employee opt to pay quarterly taxes? As a consultant, I got used to paying quarterly taxes. Now that I'm a regular w2 salaried employee, I'm subject to normal withholding on each pay statement. I would like to keep making exact quarterly payments instead of having a (generally incorrect) amount held back each paycheck. I haven't been able to find any information on the 1040-es that would make me think I'm ineligible to do so, but I suspect that it may be the case. I'd have to stop paycheck withholdings by updating my w4 to either have a high number of exemptions or mark myself as exempt from taxes, which I assume is where the rub lies. So, as a regular salaryman, is it possible for me to pay taxes exclusively through quarterly payments in lieu of traditional withholdings?", "I wonder if there is any difference between mapping and a function. Somebody told me that the only difference is that mapping can be from any set to any set, but function must be from $\\mathbb R$ to $\\mathbb R$. But I am not ok with this answer. I need a simple way to explain the differences between mapping and function to a lay man together with some illustration (if possible). Thanks for any help.", "Blender for Chromebook How would I be able to run Blender on a Chromebook? The Rollapp is a farce that demands money for free software, and the whole reason I didn't buy a windows laptop is because I hate Windows 10, so is there another option?", "Taking Seats on a Plane" ]
medi_sts_stackexchange_dupe
.toggle() function not work correctly
Code breaks when updating jQuery due to changes in toggle
[ "OS X lets me type special characters directly on the keyboard by holding the Option. For example: — is an em dash, “ and ” are curvy quotes, etc. Is there a good cheat sheet listing all these keys somewhere? I tend to find myself holding option and running my hands up and down the keyboard looking for a specific character.", "How do I go about backing up/saving installed device drivers in Windows? I want to reinstall Windows on a machine which has some very obscure drivers. I don't much fancy having to hunt round for them (that's if I'm able to locate them at all). Is it possible to save or backup already installed drivers? If so, how do I do this? How do I then go about installing these 'saved' drivers?", "Proof of greatest integer theorem: floor function is well-defined I have to prove that $$\\forall x \\in \\mathbb{R},\\exists !\\,n \\in \\mathbb{Z} \\text{ s.t. }n \\leq x &lt; n+1\\;.$$ where $\\exists !\\,n $ means there exists a unique (exactly one) $n$. I'm done with proving that there are at least one integers for the solution. I couldn't prove the &quot;uniqueness&quot; of the solution, and so I looked up the internet, and here's what I found: Let $\\hspace{2mm}n,m \\in \\mathbb{Z} \\text{ s.t. }n \\leq x &lt; n+1$ and $m \\leq x &lt; m+1$. Since $n \\leq x \\text{ and } -(m+1) &lt; -x$, by adding both, $n + (-m-1) &lt; (x-x) = 0$. And (some steps here) likewise, $(x-x) &lt; n+m+1$. Now, can I add up inequalities like that, even when the book is about real analysis (and in which assumptions are supposed to be really minimal)? Or should I also prove those addition of inequalities? Thank you :D", "I'm trying to prove the following claim: If $f$ is continuous and $\\displaystyle\\int_a^\\infty |f(x)|\\;dx$ is finite then $\\lim\\limits_{ x \\to \\infty } f(x)=0$. Here the counter example of all these sine functions won't do, since their infinite integral does not converge absolutely. Any hints for a proof?", "Central Pennsylvanian English speakers: what are the limitations on the \"needs washed\" construction?", "is it safe to keep database connections open for long time I have a .net client application which is connected to a remote database. Is it safe to keep a single connection open for the lifetime of the client (hours)? Does the answer hold if I have multiple (10 or 100) clients running?", "'sudo' not working after changing the permissions of '/usr' directory Recently I had to change the folder permissions of /usr folder. Now the whole sudo is not working. If I try to update my system using this command: sudo apt-get update I get the following message: sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner sudo: fatal error, unable to load plugins So I tried to change the folder permissions by opening Nautilus as root by using this command gksudo nautilus But nothing happened. Nautilus didn't open. This is an emergency as the whole of sudo is not working. when I tried searching the solution from Google many suggested re-installation. I don't prefer re-installation. so is there any other solution?", "How can I run a Minecraft Server on multiple CPU cores? I am working on setting up a Minecraft server on a machine I have at home. This particular machine has two quad-core CPUs running at 2.0Ghz so I would like to take advantage of the number of cores and run a server with 4 or 6 of the cores. My server of choice is CraftBukkit, the latest version of which is craftbukkit-1.4.7-R1.0 and launched with a start-up script of: \"C:\\Program Files\\Java\\jre7\\bin\\java.exe\" -Xms1G -Xmx8G -jar craftbukkit-1.4.7-R1.0.jar\" The says: Minecraft servers, as of 1.1.0, can use multiple cores, so now they will not sit idle. but does not really expand on this. My questions, then: Is it possible to set the number of cores the server uses? How do I do it - via start-up options, or other methods? Is it really worth it and would it make that much of a difference with a lot of players?", "undelete big files - mission impossible? I've accidentaly deleted outlook.pst (6.7GB) file, while there was only 400MB free space left on primary NTFS partition (winxp). I've tried several recovery tools to get this file back. \"Ontrack Easy Recovery Pro\" found 0 pst files (complete scan mode), while \"Recover My Files\" in sector scan mode found 5 pst's, but 4 of them of sizes from 3 to 28 KB, while the 5th one - 1Gb. I've managed to succesfuly recover 1Gb pst file, which was 1 year old copy (the one used after the latest windows reinstall). Now, I'm frustrated and confused Why 1 year old file was succesfuly recovered if there were only 400MB left on primary partition? Where's 6.7GB file gone? I did some reading (), and it seems that there's almost no probability to retrieve the file I'm looking for, but wait - none of recovery tools i've used found zero-sized pst file, moreover - if due to fragmentation a file might be corrupted - we could use scanpst.exe to fix some errors and survive with 10 or 100 emails missing - whatever. Could you please recommend some more sophisticated recovery tools for this particular task? Appretiate your help - thanks in advance", "Identify a catastrophic sci fi story written before 1980: ruptured spleen, alien moon base, time and space travel, antimatter tool I read a sci fi short story sometime between 1974-1980 but it may have been written long before that. I believe it was in a paper back anthology of sci fi stories, but I'm not certain. I think the protagonist is facing the final climactic conflict when we meet him. Most of the story is memories and flashbacks. The first flashback is to his childhood. He and his younger brother are sled riding. His brother crashes, ruptures his spleen and dies. He feels responsible and is wracked with guilt. Much later, as an adult, he is exploring a long-deserted alien base on the moon. There are unfamiliar artifacts on the base, including a time-travel device/vehicle, and a tool with an anti-matter tip. It carves neat holes and eliminates matter simply by moving it through matter. He accidentally drops the tool, which plummets unimpeded to the center of the moon. He realizes that over time, it will consume and destroy the moon, which will be catastrophic for Earth. He uses the time-travel device to travel to the moon at an earlier time so that he can prevent himself from dropping the tool. He makes bigger problems for himself, forcing him to travel back further and further in time. He travels so far back that he encounters the original alien inhabitants of the base. Now we are at the present time in the story. This is his final conflict, he has to escape, travel forward in time and resolve all of the problems he created. Unfortunately, the alien inhabitants capture him, and the story ends. Can anyone identify the story and author?", "Background I updated my TeX Live installation on my Mac a while ago and got the error LaTeX3 Error: Mismatched LaTeX support files detected. I found a solution at . As far as I understand it (which isn't very far), there are system formats and local formats, and TeX Live is updating the wrong one. The fix is to update the formats. Using fmtutil-user --all worked for me. It spewed out a load of stuff, then output fmtutil [INFO]: log file copied to: /Users/&lt;user&gt;/Library/texlive/2020/texmf-var/web2c/luatex/dvilualatex.log fmtutil [INFO]: /Users/&lt;user&gt;/Library/texlive/2020/texmf-var/web2c/luatex/dvilualatex.fmt installed. I don't know what this tells me, but my TeX Live preferences has TeX programs set at /Library/TeX/texbin, which seems to be a link to /usr/local/texlive/2020/bin. Problem Every time I update TeX Live, I have to apply the solution again. Question Is there a way to make TeX Live use the correct formats permanently so that I don't have to keep running fmtutil-user --all after every TeX Live update? Extra information to check if you have some local formats around which hide the system formats. (with eg kpsewhich --all --engine=pdftex pdflatex.fmt) When I did that, it output /Users/&lt;user&gt;/Library/texlive/2020/texmf-var/web2c/pdftex/pdflatex.fmt /usr/local/texlive/2020/texmf-var/web2c/pdftex/pdflatex.fmt but I don't know what that's telling me.", "Finding conditional distribution Let $X$ and $Y$ be independent $Exp(1)$-distributed random variables. Find the conditional distribution of $X$ given that $X + Y = c$ ($c$ is a positive constant). this is my idea: $$f_{X \\mid X+Y}(x\\mid c) = \\frac{f_{X,X+Y}(x,c)}{f_{X+Y}(c) } $$ if this is the right definition then i might calculate the righthand side to obtain the distribution but Iam unsure", "Crookshanks is Hermione's familiar in PoA, GoF, and OOTP. I cannot recall mention of Crookshanks following OOTP, though. What happened to Crookshanks? Does canon refer to Crookshanks in either HBP or DH?", "Can someone please let me know the minimum system requirements and GPU requirement to run blender 2.80 and eevee smoothly? Also please let me know the optimum system requirements for the purpose of environment modeling Game development charachter modelling and animation Also if someone can suggest me a good desktop/laptop for personal use that is compatible with blender 2.80 in a low budget. Any help will be much appreciated. Thanks in advance!", "Is the universe fundamentally deterministic?", "Someone flagged my question as already answered, but it's not", "Why are images formed? How do rays of light getting focused at a point create an image? How are the information of object's shape and dimensions expressed as an image when light rays converge? Is it understandable by solving wave equation for light?", "Is flair tab working correctly? Is the flair tab working correctly? It is counting aproximately 3 times more points and over 2 times more bronze badges at the time I'm posting it.", "Isekai manga where the mc is reincarnated through his own magic", "Partitioning $\\{1,2,\\ldots,k\\}$ into $p$ subsets with equal sums, where $p$ is prime Let $p$ be a prime natural number. For which positive integer $k$ can the set $\\{1,2,\\ldots,k\\}$ be partitioned into $p$ subsets with equal sums of elements ? Obviously, $p\\mid k(k+1)$. Hence, $p\\mid k$ or $p\\mid k+1$. All we have to do now is to show a construction. But I can't find one. I have tried partitioning the set and choose one element from each set but that hasn't yielded anything. Any hint will be appreciated." ]
medi_sts_stackexchange_dupe
Affordance discovery on clickable elements: icons vs buttons
When to use icons vs. icons with text vs. just text links?
[ "Can regular expressions be used to match nested patterns? Is it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times? For example, can a regular expression match an opening and closing brace when there are an unknown number of open/close braces nested within the outer braces? For example: public MyMethod() { if (test) { // More { } } // More { } } // End Should match: { if (test) { // More { } } // More { } }", "Matrices - Conditions for $AB+BA=0$ The Problem Let $A$ be the matrix $\\bigl(\\begin{smallmatrix}a&amp;b\\\\c&amp;d\\end{smallmatrix} \\bigr)$, where no one of $a,b,c,d$ is $0$. Let $B$ be a $2\\times 2$ matrix such that $AB+BA=\\bigl(\\begin{smallmatrix} 0&amp;0\\\\ 0&amp;0 \\end{smallmatrix} \\bigr)$. Show that either $a+d=0$, in which case the general solution for $B$ depends on 2 parameters, or $ad-bc=0$, in which case the general solution for $B$ depends on one parameter. (this is question 22 of the last matrix exercise of Further Pure Mathematics by Bostock et al.) Comments Writing $B=\\bigl(\\begin{smallmatrix} e&amp;f\\\\ g&amp;h \\end{smallmatrix} \\bigr)$ and multiplying out I get that $(a+d)(f+g)+(b+c)(e+h)=0$ $ae+bg+cf+dh=0$ but I am unable to get the required restrictions on $a,b,c,d$. Is there a quick way of doing the problem that doesn't require manual computation? I thought of considering invertible and non-invertible cases but couldn't get anywhere. Help would be much appreciated.", "How do you use a variable in a regular expression?", "How can I iterate, loop, process, or otherwise do something, with each element from a comma separated list of things? This question , and the are already lots of very good answers everywhere. However I think it would also be valuable to have a single reference point where all such alternative techniques are explained in detail, with their advantages and disadvantages discussed. All of plain-TeX, LaTeX, LaTeX3, LuaTeX, Context, etoolbox, pgffor, etc. answers are invited. Please consider explaining, for example: How does the command/method deal with whitespace around items? How does the command/method deal with empty/missing items? (e.g. a,b,,c) How does the command/method deal with a trailing comma? Can the command/method work of a list stored on a macro? Is each iteration evaluated globally or on a local group? (i.e., if a command is defined during an iteration, does the command survive the loop?) Do items get expanded or somehow mangled before being processed? What about lists where items are key=value or some other kind of pairs? Does the method work for lists separated with something other than a comma? Any other thing I should know before deciding to use this method?", "Link to a note in Apple Notes, from another note In Apple Notes on the Mac, is it possible to reference a note from within another note (by way of hyperlink)? So, for example, if I had two notes: Thoughts about pastries Pastries are great. Truly wonderful treats. But you know what my favorite types of pastries are? Donuts. I've even made a list of the types of [donuts I've eaten]. and Donuts I've Eaten Chocolate, Glazed, Frosted, Encrusted… How could I link the text [donuts I've eaten] from the first note to the second note?", "What was Mr. Anderson (Neo) selling on discs to Choi?", "Is there some trick to burning a cd with the CD/DVD creator? I'm installing k3b because that's a known entity. What is this, and where is the \"burn\" button? Help just tells me this is Nautilus 3.4.1, but I don't see a . There's no option to burn in the Files menu, nor does clicking on the whitespace indicate an option to burn anything.", "Listing multiple compound words How do I list multiple things that are compound words? In my own language I'm used to writing these lists like this: \"I kicked foot-, basket-, and volleyball\" The sentence is supposed to mean that I kicked all types of balls (football, basketball and volleyball). However, it does not seem correct to me. Should I write them as whole words, with or without hyphen, or how?", "I have a question about calculating the degree of a finite field extension over $\\mathbb{Q}$. This is problem 18 in chapter 1 of Patrick Morandi's Field and Galois Theory. The problem asked to show that $$ \\left[ \\mathbb{Q}{ \\left( \\sqrt[4]{2},\\sqrt{3} \\right):\\mathbb{Q} }\\right] =8 $$ Here's my work : First, we have $$ \\left[ \\mathbb{Q} ( \\sqrt[4]{2},\\sqrt{3}):\\mathbb{Q}\\right] = \\left[ \\mathbb{Q}(\\sqrt[4]{2},\\sqrt{3}) : \\mathbb{Q}({\\sqrt[4]{2}}) \\right] . \\left[ \\mathbb{Q}{(\\sqrt[4]{2})}: \\mathbb{Q} \\right]$$ It's easy to show that $\\left[ \\mathbb{Q}{(\\sqrt[4]{2})}: \\mathbb{Q} \\right] =4 $ because the minimal polynomial of $\\sqrt[4]{2}$ over $\\mathbb{Q}$ is $x^4 -2$. Next, I'm going to show that $$ \\left[ \\mathbb{Q}(\\sqrt[4]{2},\\sqrt{3}) : \\mathbb{Q}({\\sqrt[4]{2}}) \\right] =2$$ Consider the polynomial $f(x) = x^2 -3$. It's monic and $\\sqrt{3}$ is a root of $f$, but I'm stuck in proving $\\sqrt{3} \\notin \\mathbb{Q}(\\sqrt[4]{2})$ (hence $f$ is irreducible over $\\mathbb{Q}(\\sqrt[4]{2}))$. My question is: Is there any proof to show that $\\sqrt{3} \\notin \\mathbb{Q}(\\sqrt[4]{2})$ or another way to caculate the degree of this field extension? Thank you for your help.", "Custom Adapter for List View", "Long, blurry reflections in wet road", "Does a photon having superimposed frequencies exist? (wrt frequency detected by prism or other detectors, not wrt human eye as only rod-cells can detect one photon falling in the detectable (visible) frequency band and the single photon is perceived by eye+brain as grey irrespective of frequency). Also, with white here, I do not wish to restrict the question implying all VIBGYOR frequencies or only RGB as each color is also a range of frequencies and white to trichromatic-sensor human eye is just output from three frequencies RGB. Or can it be that materials which slow light down cause a photon of some single frequency and higher energy to split into VIBGYOR? || and the entire spectrum of human eye's detection range is VIBGYOR+W (as monochromatic light of high intensity can also be perceived white by human eye and it is not related to individual color sensors of human eye at all but that above a certain energy per unit volume (referring to detector area of eye cells), we perceive it white, (somewhat but not exactly) similar to combination of red and green which human eye+brain calls yellow. I have added the additional description to make the question more precise. If my description causes confusion, please stay with the original question and use description just to get an idea of the intent of the question.", "I have to deal with a text classification problem. A web crawler crawls webpages of a certain domain and for each webpage I want to find out whether it belongs to only one specific class or not. That is, if I call this class Positive, each crawled webpage belongs either to class Positive or to class Non-Positive. I already have a large training set of webpages for class Positive. But how to create a training set for class Non-Positive which is as representative as possible? I mean, I could basically use each and everything for that class. Can I just collect some arbitrary pages that definitely do not belong to class Positive? I'm sure the performance of a text classification algorithm (I prefer to make use of a Naive Bayes algorithm) highly depends on which webpages I choose for class Non-Positive. So what shall I do? Can somebody please give me an advice? Thank you very much!", "Repeating (or not) \"to\" in a sentence involving infinitives set in parallel I googled it but I couldn't find the answer... maybe I didn't seek it in the proper way. My question is if &quot;to&quot; must be repeated in sentences such as the following ones: In the past, women used to do the housework and to take care of children. The aim of this meeting is to control their progress and to discuss the new working plan. If I had to bet, I would omit the second to... But I am not sure about it.", "I know Wonder Woman has died in canon before, but in which issue did this happen?", "I need to read a properties files that's buried in my package structure in com.al.common.email.templates. I've tried everything and I can't figure it out. In the end, my code will be running in a servlet container, but I don't want to depend on the container for anything. I write JUnit test cases and it needs to work in both.", "Here is my candidate for the most elementary proof that $\\lim_{n \\to \\infty}(1+1/n)^n $ exists. I would be interested in seeing others. $***$ Added after some comments: I prove here by very elementary means that the limit exists. Calling the limit \"$e$\" names it. $***$ It only needs Bernoulli's inequality (BI) in the form $(1+x)^n \\ge 1+nx$ for $x &gt; -1$ and $n$ a positive integer, with equality only if $x = 0$ or $n = 1$. This is easily proved by induction: It is true for $n=1$, and $(1+x)^{n+1} = (1+x)(1+x)^n \\ge (1+x)(1+nx) = 1+(n+1)x+nx^2 \\ge 1+(n+1)x $. (If $-1 &lt; x &lt; 0$, if $1+nx \\ge 0$, the above proof goes through, and if $1+nx &lt; 0$, $1+mx &lt; 0$ for all $m \\ge n$ so certainly $(1+x)^m &gt; 1+mx$.) This proof originally appeared in N.S Mendelsohn, An application of a famous inequality, Amer. Math. Monthly 58 (1951), 563 and uses the arithmetic-geometric mean inequality (AGMI) in the form $\\big(\\sum_{i=1}^n v_i/n\\big)^n \\ge \\prod_{i=1}^n v_i$ (all $v_i$ positive) with equality if and only if all the $v_i$ are equal. Let $a_n = (1+1/n)^n$ and $b_n = (1+1/n)^{n+1}$. We will prove that $a_n$ is an increasing sequence and $b_n$ is an decreasing sequence. Since $a_n &lt; b_n$, this implies, for any positive integers $n$ and $m$ with $m &lt; n$ that $a_m &lt; a_n &lt; b_n &lt; b_m$. For $a_n$, consider n values of $1+1/n$ and $1$ value of $1$. Since their sum is $n+2$ and their product is $(1+1/n)^n$, by the AGMI, $((n+2)/(n+1))^{n+1} &gt; (1+1/n)^n$, or $(1+1/(n+1))^{n+1} &gt; (1+1/n)^n$, or $a_{n+1} &gt; a_n$. For $b_n$, consider $n$ values of $1-1/n$ and $1$ value of $1$. Since their sum is $n$ and their product is $(1-1/n)^n$, by the AGMI, $(n/(n+1))^{n+1} &gt; (1-1/n)^n$ or $(1+1/n)^{n+1} &lt; (1+1/(n-1))^n$, or $b_n &gt; b_{n+1}$. Since $b_n-a_n = (1+1/n)^{n+1} - (1+1/n)^n = (1+1/n)^n(1/n) =a_n/n $ and every $a_n$ is less than any $b_n$ and $b_3 = (1+1/3)^4 = 256/81 &lt; 4$, $b_n-a_n &lt; 4/n$, so $b_n$ and $a_n$ converge to a common limit. These proofs do not seem to be really elementary, since they use the AGMI. However, they use a special form of the AGMI, where all but one of the values are the same, and this will now be shown to be implied by BI, and thus be truly elementary. Suppose we have $n-1$ values of $u$ and $1$ value of $v$ with $u$ and $v$ positive. The AGMI for these values is $(((n-1)u+v)/n)^n \\ge u^{n-1}v$ with equality if and only if $u = v$. We will now show that this is implied by BI: $(((n-1)u+v)/n)^n \\ge u^{n-1}v$ is the same as $(u+(v-u)/n)^n \\ge u^n(v/u)$. Dividing by $u^n$, this is equivalent to $(1+(v/u-1)/n)^n \\ge v/u$. By BI, since $(v/u-1)/n &gt; -1/n &gt; -1$, $(1+(v/u-1)/n)^n \\ge 1+n((v/u-1)/n) = v/u$ with equality only if $n=1$ or $v/u-1 = 0$. Thus BI implies this version of the AGMI.", "Use of comma separating two adjectives If I had the phrase two blond haired, blue eyed people would the comma be out of place? should I hyphenate \"blond haired\" and \"blue eyed\"?", "In what order should I watch the various Stargate TV Series? I am unfamiliar with the (multiple) Stargate shows and films, other than the movie which I saw a while ago. I want to try watching the series to see if it is something that I like. What are the non-subjective facts about the series (without spoilers) that I should be aware of when figuring out which series to start with, for example the original airing order of the series, chronological order of the series, frequency of references to a series other than the one that I'm watching, etc.", "Methods for autocompletion in TexStudio don't work I've made a mymacros.sty file which I would like my LaTeX files to be able to access with commands that I've defined. I've managed to get it to work by putting \\usepackage{mymacros} in my preamble. However when I try to autocomplete I can't. I looked at this question: ), which recommends 3 ways of doing this, none of which work for me. The first it recommends is to have mymacros.sty open in the editor. But this doesn't work. The second is to activate the option Editor -> Automatically load included files in the configure TeXstudio options panel. However while I have an Editor tab , there is no such option there. The third is to using .cwl files, however I'm not sure how to go about this. In the completion tab I've noticed that there is a mymacros.sty option that has come up, which I ticked but that has had no effect. Do I need to make my own mymacros.cwl file? I've tried to look this up but haven't had any luck. Anyone have any ideas? Thanks in advance!" ]
medi_sts_stackexchange_dupe
Grass wind flow in waves
How do you create grass?
[ "Why $\\gcd(qb+r,b)=\\gcd(b,r)$?", "Given six numbers $x,y,z,a,b,c$ which satisfy the following relations. Express $x+y+z$ in terms of $a,b,c$ Given six numbers $x,y,z,a,b,c$ which satisfy the following relations $y^2+yz+z^2=a^2$ $z^2+zx+x^2=b^2$ $x^2+xy+y^2=c^2$ Express $x+y+z$ in terms of $a,b,c$ My attempt: $\\dfrac{(y^3-z^3)}{(y-z)}=a^2,\\dfrac{(z^3-x^3)}{(z-x)}=b^2,\\dfrac{(x^3-y^3)}{(x-y)}=c^2$ But this step didn't seem to help. So I tried adding and expressing $k(a+b+c)^2$ but some other unmanagable elements came along. I could not think of any other way to approach the problem. Please help.", "delegate keyword vs. lambda notation Once it is compiled, is there a difference between: delegate { x = 0; } and () =&gt; { x = 0 } ?", "Why is fundamental group insufficient to classify manifolds?", "wpa_supplicant store password as hash (WPA-EAP with phase2=\"auth=PAP\") Is there a way to store my password in /etc/wpa_supplicant/wpa_supplicant.conf as some hash instead of plaintext? By \"password\" I refer here to the password used for phase2 authentification. I do not refer to the Preshared Key (PSK) which could be hashed using wpa_passphrase. For phase2 MSCHAPv2 or MSCHAP authentification I could store the password as MD4 hash using nt_password_hash (see example wpa_supplicant.conf line 659). Is there any way to store my PAP password as hash? Or: Is there a way to store the password in some sort of external storage? The example wpa_supplicant.conf suggests the use of such an external storage (using ext:????) but I could not find any documentation about it. I am aware that storing the password as hash does not increase wifi security. But as the password MUST be the same as the password for other services (account management, subscriptions, payments ...) I don't want it to be stored as plaintext.", "Can you help me with my software dependency issue? This is a about Compile Dependencies and Package Management. I have a question regarding compiling ports/software or installing RPMs on my *nix server. When I try to do this I receive lots of messages about missing dependencies. Can the Server Fault community please help?", "There are a few questions on this forum asking about why Latex3 is taking so long to come out. However, all of these are from the early 2010s. I'm just wondering what the current state of the project is and whether it's ready (or nearly ready) for prime time?", "How do I disable search-as-you-type text in Ubuntu 17.10 and later? I cannot find enable-interactive-search in gsettings set org.gnome.nautilus.preferences enable-interactive-search true. I searched using gsettings list-recursively | grep search and gsettings list-recursively | grep interactive but no such option. Can you help me disable this in Ubuntu 17.10 and later?", "In C, how do I restrict the scope of a global variable to the file in which it's declared?", "What is the size of an enum in C?", "At there is this \"only in ubuntu\" that says \"Built in virus protection\": What is the Ubuntu built it protection? What is the program in charge of this and how does it work?", "Default constructor with empty brackets Is there any good reason that an empty set of round brackets (parentheses) isn't valid for calling the default constructor in C++? MyObject object; // ok - default ctor MyObject object(blah); // ok MyObject object(); // error I seem to type \"()\" automatically everytime. Is there a good reason this isn't allowed?", "I am reading Boyd &amp; Vandenberghe's Convex Optimization. The authors use curved greater than or equal to (\\succcurlyeq) $$f(x^*) \\succcurlyeq \\alpha$$ and curved less than or equal to (\\preccurlyeq) $$f(x^*) \\preccurlyeq \\alpha$$ Can someone explain what they mean?", "There are infinitely many prime numbers $p$ for which $p + 2$ and $p + 4$ are also prime numbers I need help with this question: There are infinitely many prime numbers $p$ for which $p + 2$ and $p + 4$ are also primes. Where should I start? what proof techniques will be useful? Any input will be very useful to me.", "I was wondering. If I have a bilinear symmetric form, it is easy to find its matrix. But, when I have a quadratic form, which is the procedure to do that? I heard that one possibility is: If $q$ is my quadratic form, then $$f(x,y) = \\frac{1}{4}q(x+y) - \\frac{1}{4}q(x-y)$$ is the bilinear symmetric form associated, so the method reduces to find the matrix of $f(x,y).$ The point is that seems a little noising... How to find, in practice, the matrix of quadratic form? Thanks in advance.", "Find $n$ such that $x^2 + x + 1$ is a factor of $(x+1)^n - x^n - 1$. I have to find the form of n i.e. whether n is even or odd and whether it is multiple of 2 or 3 such that: $x^2 + x + 1$ is a factor of $(x+1)^n - x^n - 1$ What I tried: $$x^2 + x + 1 = (x + 1)^2 - x $$ also, $$(x+1)^n-x^n-1= \\binom{n}{o}x^n + \\binom{n}{1}x^{n-1} + ... + \\binom{n}{n-1}x + \\binom{n}{n}.1 - x^n - 1$$ $$=\\binom{n}{1}x^{n-1} + ... + \\binom{n}{n-1}x$$ after getting this far I tried with taking x and n common but still couldn't able to find the right direction. I need extra hints to solve this.", "Is there a term for a word that serves as its own antonym? For example: &quot;transparent&quot; can mean both &quot;obvious&quot; and &quot;hidden&quot; &quot;aught&quot; can mean both &quot;all&quot; and &quot;nothing&quot; Is there a term for a word which has multiple definitions that are antonyms?", "Let $S=\\{\\frac{m}{2^n}| n\\in\\mathbb{N}, m\\in\\mathbb{Z}\\}$, is $S$ a dense set on $\\mathbb{R}$?", "I think the questions says it all! :) By TeX, I mean any derivative of TeX as long as the code is clearly a derivative of TeX, i.e. that it could belong on TeX.SX (and not pure Lua for example). I'll give two answers myself so you see what I mean.", "What harm can be done with a copy of one's passport?" ]
medi_sts_stackexchange_dupe
Photons speed limit
Why do universal constants have the values they do?
[ "Solutions for INSERT OR UPDATE on SQL Server Assume a table structure of MyTable(KEY, datafield1, datafield2...). Often I want to either update an existing record, or insert a new record if it doesn't exist. Essentially: IF (key exists) run update command ELSE run insert command What's the best performing way to write this?", "How do I list the default installed packages? I am developing an offline installer for all versions of Ubuntu, and I need Ubuntu's default installed packages list. Is there a way to get this information from any server (web server)? Any script to fetch any Ubuntu version's default installed packages list. I will give the Ubuntu version, and the script will fetch the packages list. Note: I need at least a server address. I can write a script for this.", "optimality of the Carnot cycle", "At the end of the movie we are shown a bowl with berries in it and Seneca Crane looked like he was locked in a room with them and was supposed to eat them. Did he eat them? Why did that happen?", "iPhone 7 Plus takes days to turn on showing Apple logo or black screen I’ve had this issue for months but in the last couple of days it’s got very very bad. When my phone runs out of battery it needs like 2–3 days to turn back on. At the beginning of this problem the phone would need about 1h. Every time when my phone goes off again the time to switching on goes up. What does this all look like? Well, when my phone died I put it on the charger, then the logo appears and goes off. When it goes off, a black screen pops out with a little white line on in it, then it turns on back to Apple logo. It keeps doing this until it turns on which is 1 or 2 even now 3 days. I tried to restore it and also update it but nothing happens, literally nothing happened.", "Bold brackets in equations I want to write an equation with bold extended brackets. For instance in: \\left[ \\frac{1}{2} \\vec{\\nabla} \\times \\vec{v} \\right] I want \\left[ and \\right] to be bold. I already tried nothing is doing the trick.", "I almost remember it but not really Is there a word for the feeling/situation where we almost remember a thing/word/scene,etc. but are not able to exactly recall it. For example, the other day I was trying to recall the author of the book Contact (i.e. Carl Sagan). I wasn't able to exactly recall 'Carl Sagan' but was in that situation where I could feel I almost remember it. I could recall there was the letter 'C' in his name. Finally after some effort I could recall the exact name 'Carl Sagan'. Is there any word for such a feeling/situation? EDIT: The feeling is not necessarily of trying to remember a single word(as in from vocabulary). It could be trying to remember a movie or an experience that you were a part of, etc. Eg: If say I was with friends and we were having a conversation. After few days I was able to recall a statement said by someone, but wasn't able to remember by whom; i.e. I had a clouded recollection and I could almost remember but not really.", "How can I transform the elliptic curve $E/\\mathbb{C}$ of the form $$y^2=4(x-e_1)(x-e_2)(x-e_3)$$ with $e_1&gt;e_2&gt;e_3\\in\\mathbb{R}$ roots of $E$ into a Weierstrass-Form $y^2=x^3+ax+b$?", "limit of integral $n\\int_{0}^{1} x^n f(x) \\text{d}x$ as $n\\rightarrow \\infty$ I am trying to solve the following problem at the level of a senior undergrad analysis level. So, the problem is as follows: We are given a function $f$ which is continuous on the interval $\\left [ 0,1 \\right ]$, and the question is to find the limit: $$\\lim_{n\\rightarrow \\infty}\\int_{0}^{1}x^{n}f(x)dx\\;.$$ The second part of the problem is to deduce the following limit: $$\\lim_{n\\rightarrow \\infty}n\\int_{0}^{1}x^{n}f(x)dx\\;.$$ For the first part: I just did the following: For every $0\\leq x&lt; 1$: $x\\leq M$, where $0&lt; M&lt; 1$. Then: $$\\int_{0}^{1}x^{n}f(x)dx\\leq M^{n}\\int_{0}^{1}f(x)dx\\;.$$ Then: $$\\lim_{n\\rightarrow \\infty }\\int_{0}^{1}x^{n}f(x)dx\\leq \\lim_{n\\rightarrow \\infty }M^{n}\\int_{0}^{1}f(x)dx= 0.\\int_{0}^{1}f(x)dx=0\\;,$$ so $$\\lim_{n\\rightarrow \\infty }\\int_{0}^{1}x^{n}f(x)dx=\\lim_{n\\rightarrow \\infty }f(1)\\int_{0}^{1}1dx=f(1)\\;.$$ Does that make sense? If not, please show me the correct one. As for the second part, I have no idea what to do. Any help?", "How to identify unused CSS definitions from multiple CSS files in a project A bunch of CSS files were pulled in and now I'm trying to clean things up a bit. How can I efficiently identify unused CSS definitions in a whole project?", "How to bypass \"Verify your account\" (Factory Reset Protection)", "How do I run a command before or after every command written in the console?", "Fitting an infinite collection of balls in an infinite dimensional unit ball Given an infinite dimensional normed linear space, how would one show that it is possible to fit an infinite collection of non-overlapping balls of radius $\\frac{1}{4}$ in the unit ball? I guess one can immediately reduce the problem to a normed linear space of countably infinite dimensions. The solution seems clear if the concept of orthogonality exists, but not every normed linear space has an inner product so it's not possible to apply something like Gram-Schmidt to produce an orthogonal basis. Is there any way around this, or there another approach that can be used?", "How do I fix \"Error C1033: cannot open program database\"?", "How does accepting an answer work? What does it mean to accept an answer? How do I accept an answer, and what are the rules? Can I accept my own self-answer? What are the reputation benefits? Which answer should I accept? Should I upvote the accepted answer? What should I do if none of the answers are suitable? For more information, see \"\" in the .", "Pandemic, Global Epidemic, Epidemic, Endemic I really want to hear from the experts the definitions of all 4 terms especially whether global epidemic is equivalent to pandemic. Or should this question be directed to the epidemiologist? Pandemic Global Epidemic Epidemic Endemic I have Googled the terms and I understand the definition of 1), 3) and 4). In short the definition is based on geographical location and scale of outbreak, Pandemic is an outbreak of disease on a global scale (e.g. HIV). Epidemic is an outbreak of disease on a localised area. Endemic is a disease in a localised area. However, a definition for Global Epidemic is not available online. Recently, WHO mentioned that \"“It is important to put this on the table: this virus(Covid19) may become just another endemic virus in our communities, and this virus may never go away,” WHO emergencies expert Mike Ryan told an online briefing.\" Isn't covid19 considered a pandemic since it is on a global scale and is spreading rapidly? Another term that I come across often is Global Epidemic. For example in the WHO website, HIV is listed as Global Epidemic. Does that mean Pandemic and Global Epidemic are the same?", "I thought the way to undo a \\def was to define it to \\relax, but that does not appear to work. Also, am not sure why this produces no output if I try to use \\def instead of \\let in my attempt to do an undef. \\documentclass{article} \\begin{document} \\def\\CaseA{}% \\ifdefined\\CaseA% \\def\\ProcessCaseA{}% % Do stuff that uses \\ProcessCaseA %\\def\\ProcessCaseA\\relax% no output if use this, and comment next line \\let\\ProcessCaseA\\relax% no output if comment this, and use above line \\fi % Now do stuff that requires \\ProcessCaseA NOT be defined \\ifdefined\\ProcessCaseA ERROR: \\textbackslash ProcessCaseA is still defined \\else SUCCESS: \\textbackslash ProcessCaseA is not defined \\fi \\end{document}", "How do I download with youtube-dl to get video title as filename?", "I'm reading . The graph of $f: A \\rightarrow B$ is the subset of $A × B$ consisting of all ordered pairs $(a, b)$ with $f (a) = b$. If $A$ happens to be $B^n$ for some $n ∈ N$, then we say that $f$ is a function on $B$ and $n$ is the arity of $f$. I don't understand the notation for the exponent of a set, I'm aware of what is, it's the number of arguments or operands the function takes. I'm just not so sure if I can assume that a set with an exponent such as in $B^n$ means that a function has two operands. I know the question may be too naive and perhapes the answer is the one I suggested and it's right in front of my face, I'm just searching for a confirmation or the negation of it. Thanks.", "Globally disable \"include online search results\"" ]
medi_sts_stackexchange_dupe
Cross-validation: Which classifier to use in the end?
How to choose a predictive model after k-fold cross-validation?
[ "A composition of a periodic function that is somehow not periodic.", "Why is LaTeX3 taking so long to come out? I feel as though I have been hearing about the LaTeX3 project for a very long time. Why is it taking so long for it to come into fruition? Are there major technical difficulties, or is it purely a lack of developers that is causing a bottleneck?", "Motley fool says you can make $15,978 more per year with Social Security. Is this for real? The Motley fool has an ad campaign that says you can make $15,978 more per year on Social Security by doing 17 minutes of work using a legal loophole. I don't want to link to their ad (although, you can find it by searching ). What are they talking about here? Is there any truth to this? If someone could explain it to me without me having to watch the entire ad video or subscribe to their newsletter, I'd appreciate it.", "Ignore citations in captions in list of figures when numbering When using the \\cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]). Is there any way to get BibTeX to ignore the \\listoffigures section when numbering?", "PDF of product of variables Could anyone please indicate a general strategy (if there is any) to get the PDF (or CDF) of the product of two random variables, each having known distributions and limits? My particular need is the following: Let $w :=u \\cdot v$. The PDF of $u$ is $$\\frac{1}{\\pi u}\\frac{1}{\\sqrt{u^2-0.25}},$$ for $z&gt;0.5$ and the PDF of $v$ is $$\\exp\\left(-\\frac{v}{v_0}\\right),$$ for $v_1&lt;v&lt;v_2$. What's the PDF of $w$?", "A friend wants to use my account for a wire transfer. Is this a scam or is it legitimate? I have a friend since July online and Exxon owe him for a balance on a 2014 contract off the shores of Liverpool. He is presently in the Gulf of Mexico completing a contract that last for one year. During that year he cannot get off the boat there fore he cannot receive the money. Exxon has notified him that his check has been deposited in Samba Bank in London. If he doesn’t receive his money within two weeks it goes back to Exxon and he said that there I not telling nohow long before he will receive the money again. He said that with him being off shore that he needs me to be his beneficiary to receive the money for him. He wants me to keep the money in my account and when he gets off the boat in 6 weeks he is relocating to where I live. I am to buy a house before he gets here and then he wants us to start a business together. He talked with me for quite a while before he told me how much he makes. He knows I do not have any money to mention. I have stock in a formal shop but not any money. He said if this money had not come in when it did he would have had to postpone his plan until he gets paid what Shell Oil owes him for this contract that he will finish October 15th. He said he had given enough of his life to the gas and oil industry and is not going to sign another contract. What do you think about the safety of this?", "Excel destroying special character when saved as CSV", "Mathematica Sec and Csc", "Is Borden's true identity real, or another ruse? Towards the end of , it's revealed that Borden accomplishes his Transported Man trick by using his twin brother, Fallon, as a double. It then becomes clear that he has been doing this in his personal life as well as on stage - each brother leads 'half a life', sometimes appearing as Borden and sometimes as Fallon. This is how he completes the illusion: one Borden goes into the first door, the other Borden emerges from the second door a moment later. Angier doesn't know how Borden does the trick, and doesn't believe Borden uses a double despite being told as much by Cutter. He follows what he believes to be a clue in Borden's notebook and travels to Colorado to meet Nikola Tesla, who Angier believes can build a machine that can help him perform the trick. Angier believes that Tesla built a similar machine for Borden. However, the final pages of the notebook reveal that Tesla was merely a red herring, designed to get Angier out of Borden's way for a long time. Tesla, it turns out, had never built such a machine before. At this point, Tesla agrees to build Angier's machine anyway. Instead of building a machine that transports matter, he builds one that duplicates it. Angier uses this machine in his act, but in order to avoid having to deal with multiple clones (the &quot;prestige materials&quot;), one of them must die as part of the act. This all makes sense, so far, but I find it hard to believe that Borden's use of the word 'Tesla' as the key to his cipher is random. It's too coincidental that he sends Angier on a wild goose chase, but Angier returns with a working machine. A film that is otherwise so tightly plotted shouldn't rely on coincidence to move the narrative forward, so there must be something else going on. Is it possible that Borden cloned himself using Tesla's machine?", "What does “a couple” mean to you, and what does “a few” mean to you?", "So, i want to make a timer that will turn on/off a circuit. I want to turn on the connected device at 08:00 and stop it at 20:00, so the interval is 12 hours. Correct me if i'm wrong but i can't use IC 555(or another IC), i'll need some huge resistors/capacitors. Is there another way to build that other than using a microcontroller?", "SOQL result ordering in the absence of an Order By clause In the absence of an in a SOQL query, what order will Salesforce return results in? Clearly if ordering is important then Order By should be specified, but I recently encountered a question about what the order would be if it was undefined. My initial thoughts were Salesforce would return them in whatever order suited them. Much like . For simple queries this would typically line up with the creation date descending and the Id ascending. For more complex queries it would depend on the joins being performed.", "Does blocking an attack with the Shield spell still trigger Armor of Agathys? I am contemplating a Oath of Conquest Paladin / Sorcerer multiclass character, with a 1 level dip in hexblade warlock. This character will have access to the Armor of Agathys and Shield spells, which potentially allows for a pretty nice combo. The Shield spell states (PHB 275): Casting Time: 1 reaction, which you take when you are hit by an attack or targeted by the magic missile spell... Until the start of your next turn, you have a +5 bonus to AC, including against the triggering attack, It looks like you are indeed hit by an attack, but since you have a bonus to AC, you can potentially force that attack to miss instead. Armor of Agathys states (PHB 215), If a creature hits you with a melee attack while you have these hit points, the creature takes 5 cold damage. If I cast Shield and cause an attack that &quot;hit&quot; me to miss, does Armor of Agathys still deal damage? I am leaning toward yes, though this combo seems a little too strong--Shield is already a strong spell, and this character will eventually have 9 1st level spell slots and a 7th level spell slot. Not only can they freely block attacks with Shield, but they can also deal up to 35 (5d10) damage to the attacker without an attack roll or saving throw. While a Warlock would have to spend both of their spell slots to do this once, my character would be able to do this 4 times with spell slots to spare. Some notes: ask about reducing the damage from a confirmed hit to zero. This question is asking about what happens when the Shield spell causes the attack to miss entirely. A number of online resources, such as the Roll20 5th edition compendium, seem to be missing the correct casting time for the Shield spell. Answerers should make sure they're looking at the correct version from the PHB.", "Reputation misaligned in new topbar In the sites dropdown, the reputation scores are misaligned: This seems to happen only on Firefox (56.0), both on macOS (10.13) and Windows (7, 10) (thanks @Tom and @MonicaCellio). I've tested a couple of other browsers which do not have this problem. I've already cleared my cache.", "Scamming a scammer? I have seen many questions like: My question is: what happens if you receive this money (without doing anything or giving your bank account number) but do not do anything scammer wants? I especially want to know about what happens with the money you got and possible legal consequences. Is it considered yours because scammer transfered it to you? Do you have to return it? If yes, to whom and in what form? And finally, how is it that scammers are just sending money to random people? Aren't they scared that someone will simply not return it? I understand that this may be stolen money, but it surely took some effort (cash/time) to \"acquire\" it, so why are they just sending it away?", "How does HOTP keep in sync?", "Why Inox Steel doesn't interact with magnets? My dad has a HUGE magnet on his workshop. I love magnets, and when I saw it, I asked him what it was for. His reply was: \"I don't know why, but inox steel bolts don't get attracted to it, so I use it to identify them.\" Thus I got curious, why a magnet don't attract bolts? Steel, even if a inox variation is still mostly iron, no?", "Do I need a flight ticket or a flight reservation for my UK visit visa application Am compiling documents for my visa application and I read that I need to present go and return flight tickets to prove that I will return at the end of my visit. Then a while ago I got to know that I can just get a flight reservation with out buying the flight tickets because the visa application can be refused and you have already bought the tickets. So l request to know which of the two , having a flight ticket or flight reservation is more compelling to the visa officer and more convenient me because I would buy a flight ticket and my application is refused", "What are the automorphisms acting on $Q\\sqrt[3]{2}$ that fixes Q?", "How to initialize all members of an array to the same value?" ]
medi_sts_stackexchange_dupe
pdfTeX warning (dest): name{environment.1.1} has been referenced but does not exist, replaced by a fixed one
Enumerate after \label
[ "What's the best way to write subsequences? $x_n_i$ gives an error, while $x_{n_{i}}$ works, but it just looks like $x_{ni}$ (the i isn't lowered enough below the n)...", "Prevent windows from going into sleep when my program is running?", "I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work. Running the lspci -vv | grep Atheros command from the terminal shows me I have the AR8161 Gigabit Ethernet controller: 02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08) This looks like a new product whose drivers are not built into Ubuntu. How do I install drivers to get the AR8161 working?", "Computing the Galois group of polynomials $x^n-a \\in \\mathbb{Q}[x]$ I have some problems with this exercise. I don't know if it can be done. Consider the polynomial $ x^n - a \\in \\mathbb{Q} $ Can I compute the Galois group of this over $\\mathbb{Q}$? Maybe having a nice \"basis. The splitting field is given by $\\mathbb{Q}(\\zeta_n,\\alpha)$ , where $\\zeta_n$ is a primitive root of unity , and $\\alpha$ is some number such that $\\alpha^n = a $. Well first of all, I want a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different (in this case the computation of the galois group is very simple). For example one easy case, it's when $a&gt;0$, then $(a)^{\\frac{1}{n}} \\in \\mathbb{R}$ , so clearly the minimal polynomial of $(a)^{\\frac{1}{n}} , \\zeta_n$ are distincs, and I'm done. If $n$ is odd then , it's also easy, since one root it's also real, for example $x^3-3 $, the real root is $ \\root 3 \\of { - 3} = - \\root 3 \\of 3 $ , so I can consider the splitting field as $\\mathbb{Q}(-\\root 3 \\of 3 , \\zeta_3 )=\\mathbb{Q}(\\root 3 \\of 3 , \\zeta_3 )$. The difficult case is when $n$ is even and $a&lt;0$ , for example $x^8+20$ or $x^4+20$ in some cases as in the second, there are particular cases since there exist algorithms for the Galois group of quartics, but in general. It can be done? $\\underline{Remark}$ I'm searching a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different since in this case the computation of the galois group is very simple.", "AutoHotkey Equivalent for OS X? Is there an equivalent product/method for AutoHotkey. For those that don't know, its a product that allows you to program your mouse movements and keyboard. This allows me to \"macro\" certain functions on programs instead of having to do it manually. In the old days they used to call them keyboard stuffers. But that is only half of the solution as I need a \"mouse movement\" stuffer as well. Is there such a beast?", "Why less temperature at high altitude Why there is always cold at high altitudes. e.g. at peak of mountains. Also as we go high from sea level, temperature starts decreasing. Why is it?", "Ubuntu 16.04 VIM without python support! Although Ubuntu 16.04 release notes mention that: The default VIM package has been built against python3 instead of python2. Yet after I installed vim with the following command: sudo apt-get install vim And checked: vim --version It showed: -python -python3 Is it a bug? How do I get vim with Python support?", "Typesetting 144...4 with \"n times\" under the 4's is easy, but what about \\sqrt{144...4}? Inspired by on the math StackExchange, suppose you want to typeset the square root of the number 144...4, that is, 1 followed by n 4's. If you write $\\sqrt{1\\underbrace{44\\ldots4}_{n\\ \\text{times}}}$, as in the current version of the question, you get a huge radical sign that reaches down to match the \"n times\" text below the number. Is there an elegant way to typeset this so that the radical sign looks like it would with $\\sqrt{144\\ldots4}$, but also keeping the underset text in the right place?", "Is there a way to condition output on a given date? I'd like to be able to print text that varies depending on whether the date matches a given date string For example suppose there was a command \\iftoday#1#2#3 which printed #2 if \\today matched the string in #1 and #3 otherwise. So a sample of my proposed usage would be: \\iftoday{February 3, 2016}{There's no garbage today}{Please put out the garbage} I've tried various commands like pdftexcmd's strcmp, to no avail. I suspect the problem may have to do with matching the string generated by \\today. While on screen it appears that \\today returns February 3, 2016. I can't get it to match February 3, 2016 when I compare strings. Obviously, I'd be perfectly happy if I could get this to work by represent today's date in any of the standard date formats. Thanks very much in advance for any suggestions.", "I thought of this a while ago, but can't make up a proof or a counterexample. Does anyone know more about this? $$\\sqrt{a+b} \\le \\sqrt a + \\sqrt b , \\forall a,b \\in \\mathbb R_+$$ Moreover, what happens with more variables? Say: $$\\sqrt{x_1+x_2+...+x_n} \\le \\sqrt x_1 +\\sqrt x_2 + ... + \\sqrt x_n $$ with $ x_i \\in\\mathbb R_+ \\forall i \\in \\{1,2,...,n\\} $ Or when $i = \\mathbb N$ PS: I tried looking on the internet for this but I don't know how I would call this.", "Why does \"unisex\" mean both sexes? There are some places where men and women are segregated — for example public toilets and public swimming pool changing areas. By this I mean, for example, that there are \"Men's toilets\" and \"Ladies' toilets\". However, in some more cosmopolitan swimming baths, and other places, there are such things as unisex changing areas, or unisex toilets. From my understanding uni- implies one, as in universe, unilateral or unicycle. However when it comes to unisex, this means both sexes, so applies to two things. How does uni- mean one in unisex? Does it mean one?", "Access denied for user 'root@localhost' (using password:NO)", "How to install pygments on windows 7 When I run LaTeX file its gives error as \"! Package minted Error: You must have pygmentize installed to use this package\", you must have pygments installed. when I go through minted documentation minted itself required pygments, so Tex friend How do I install this pygment, I don't know the procedure to install. Please guid me or any link pygement.exe file", "Do I leave a revised question closed even though it falls out of scope for a different reason than the original closure reason?", "Abnormal PREEMPTIVE_OS_AUTHENTICATIONOPS Waits", "A uniformly continuous function maps bounded set to bounded sets I am trying to prove the following: If $A\\subset\\mathbb R$ is bounded and $\\,f:A\\to \\mathbb R\\,$ is uniformly continuous, then $f[A]$ is bounded. Could you check my proof? Let $A \\subseteq [-K,K]\\subseteq \\mathbb R$. Let $\\varepsilon = 1$. If $f$ is uniformly continuous there is $\\delta$ wuth $|x-y| &lt;\\delta$ imply that $|f(x)-f(y)|&lt;1$ for all $x,y\\in A$. Let $a \\in A$. Then because $A$ is bounded there is a finite number of balls $B(a_n,\\delta)$ that cover $A$. Let the number be $N$. Then $f(a)-N \\le f(x) \\le f(a) + N$ for all $x\\in A$.", "It turns out that removing a virtual package with apt-get only remove the package itself, leaving behind the real packages that were installed by it So how do you remove a virtual package, along with all the real packages that it installs?", "How to prove wave nature of large object?", "Generalized Fresnel integral $\\int_0^\\infty \\sin x^p \\, {\\rm d}x$ I am stuck at this question. Find a closed form (that may actually contain the Gamma function) of the integral $$\\int_0^\\infty \\sin (x^p)\\, {\\rm d}x$$ I am interested in a Laplace approach, double integral etc. For some weird reason I cannot get it to work. I am confident that a closed form may actually exist since for the integral: $$\\int_0^\\infty \\cos x^a \\, {\\rm d}x = \\frac{\\pi \\csc \\frac{\\pi}{2a}}{2a \\Gamma(1-a)}$$ there exists a closed form with $\\Gamma$ and can be actually be reduced further down till it no contains no $\\Gamma$. But trying to apply the method of Laplace transform that I have seen for this one , I cannot get it to work for the above integral that I am interested in. May I have a help?", "Cannot add custom launcher to Ubuntu Dock ('Add to Favorites' option does not show up) I have a custom .desktop file: [Desktop Entry] Type=Application Terminal=false Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png Name[en_US]=IntelliJ Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh Name=IntelliJ Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png Output of ls -lha .local/share/applications/intellij.desktop: -rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop Answers posted to a previous question () don't work for me. I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up." ]
medi_sts_stackexchange_dupe