query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
sequencelengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Compiler error C4430: missing type specifier - int assumed | Resolve build errors due to circular dependency amongst classes | [
"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...:)",
"From Berkeley Problems in Mathematics, Spring 1999, . Let $f(x)\\in \\mathbb{Q}[x]$ be an irreducible polynomial of degree $n\\ge 3$. Let $L$ be the splitting field of $f$, and let $\\alpha\\in L$ be a zero of $f$. Give that $[L:\\mathbb{Q}]=n!$, prove that $\\mathbb{Q}(\\alpha^{4})=\\mathbb{Q}(\\alpha)$. (BELOW IS NONSENSE, SHOULD BE IGNORED) Following Gerry Myerson's advice, since $L$ is the splitting field of $f$, $L$ must be Galois over $\\mathbb{Q}$. Thus the Galois group for $[L:\\mathbb{Q}]=S_{n}$. Gerry now asserts that either $\\mathbb{Q}(\\alpha^{4})$ is of degree 2 over rationals or it must be $\\mathbb{Q}$. But assuming this one can rule out the case $\\mathbb{Q}$, since this would imply $\\alpha$ is the root of a 4th or 2nd degree polynomial over $\\mathbb{Q}$. But we know $n\\ge 3$. So $\\alpha$ must be the root of a 4th degree polynomial. We know $S_{n}$ has normal subgroups $A_{n}$ when $n\\not=4$ and $V,A_{4}$ when $n=4$. I do not know how to proceed any further. Now assuming $\\mathbb{Q}(\\alpha^{4})$ is a degree 2 abelian extension over $\\mathbb{Q}$. We should have a chain of normal extensions $\\mathbb{Q}(\\alpha)\\supset \\mathbb{Q}(\\alpha^{2})\\supset \\mathbb{Q}$. This would imply $S_{n}$ has a normal subgroup which has a normal subgroup. But we know $A_{n}$ for $n\\ge 5$ are simple. So the only possibility is $\\mathbb{Q}(\\alpha)$ has a Galois group isomorphic to $V$. In this case $n=4$ as well. I can only proceed to here.",
"Is there a way to easily turn on/off showing the boot messages (loading the services) when Ubuntu starts? Is it something in Grub2? I am running 10.04.",
"I am learning Linux and I was trying the gzip command. I tried it on a folder which has a hierarchy like Personal/Folder1/file1.amr Personal/Folder2/file2.amr Personal/Folder3/file3.amr Personal/Folder4/file4.amr I ran \"gzip -r Personal\" and now its like Personal/Folder1/file1.amr.gz Personal/Folder2/file2.amr.gz Personal/Folder3/file3.amr.gz Personal/Folder4/file4.amr.gz How do I go back?",
"What's the most efficient way to select the last n rows in a table without changing the table's structure? What's the most efficient way to select the last n number of rows in a table using mySQL? The table contains millions of rows, and at any given time I don't know how large the table is (it is constantly growing). The table does have a column that is automatically incremented and used as a unique identifier for each row.",
"How to prove this statement: $\\binom{r}{r}+\\binom{r+1}{r}+\\cdots+\\binom{n}{r}=\\binom{n+1}{r+1}$",
"Why is the second order perturbative correction to the ground state energy always down?",
"Over time, I've noticed an increasing practice among moderators of the smaller sites (i.e. not in the Trilogy) to move extended comment chains to chat, just because they're too long. Is this a good idea? In the past, I've taken the position on many occasions that I believe that comments serve two purposes only: clarification, and asking for clarification. I take this position because as a mod I want the freedom to purge a comment trail that is clearly running off the rails without having to argue with anyone about politeness definitions. But that's not the same thing as two pedantic C++ language lawyers debating the finer points of "undefined behavior." I give wide latitude to such discussions, as long as the participants don't start throwing spears, because I believe they are instructive. The SE software even has accommodations for this. Long comment chains are automatically collapsed, so as not to disrupt the Q&A format of the post. And moving a comment chain to chat is not even a move, really; to do an actual move, you have to perform the conversion, and then delete all of the copied comments from the post. Here is a recent example: and it's accompanying . What I find amusing is that the OP's detailed POV about the term, where he floats a theory about why everyone thinks that "bugged" is not a thing (that conversation took place in the comments, and is now safely sequestered in the chat room) gets to stay prominently featured in his question, at the very top of the post. Now you could argue that the chat room is a better environment to have these discussions anyway, and you'd be right. I could argue that if we're going to do that, then why not just automatically convert long discussions to chat rooms? The problem is not so much where the comments reside. I don't understand why mods are taking it on themselves to fix something that isn't hurting the site (at least in my opinion). In addition, every time I see this happen, the participants in the conversation immediately lose interest in it. The only comment that was posted in that room after all the comments were moved is most likely this one: It wouldn't surprise me if the folks using "bugged" to refer to a certain software quality are the same folks who refer to their programs as "codes" and who believe textspeak is the pinnacle of modern English. Which nobody will ever see. :) Some mods are really aggressive about this. I discussed this with a mod on Physics, and he told me that they routinely move discussions when they think they might run off the rails.",
"Find all natural numbers $n > 1$ and $m > 1$ such that $1!3!5!\\cdots(2n - 1)! = m!$ I have been thinking about coming up with some inequalities which would narrow the possible range of pairs $(n, m)$, however the best I have been able to find so far are $m \\ge 2n - 1$ and $m \\lt n^2$, which is clearly not enough. Update. The question has tag combinatorics as it is from a book about combinatorics, so there must be at least partly combinatorial solution.",
"I'm asked to used induction to prove Bernoulli's Inequality: If $1+x>0$, then $(1+x)^n\\geq 1+nx$ for all $n\\in\\mathbb{N}$. This what I have so far: Let $n=1$. Then $1+x\\geq 1+x$. This is true. Now assume that the proposed inequality holds for some arbitrary $k$, namely that $$1+x>0\\implies (1+x)^k\\geq 1+kx,~\\forall~k\\in\\mathbb{N}\\setminus\\{1\\}$$ is true. We want to show that the proposed inequality holds for $k+1$. Thus multiplication of $(1+x)$ on each side of the above inequality produces the following result: $$(1+x)(1+x)^k\\geq (1+kx)(1+x)\\implies (1+x)^{k+1}\\geq 1+x+kx+kx^2\\cdots\\cdots\\cdots$$ I'm not sure where to go from here.",
"I'm looking to implement a phase lock in an FPGA without using any external components (other than the ADC). For simplicity locking to a simple binary pulse is adequate. The frequency of the signals is ~0.1-1% of the clock. I can't use the onboard clock PLL's because they are typically: Not configurable (set during synthesis). Jittery. Don't support the frequency I need. I've been sorting through the literature and found a few binary phase locked loops. Most notable a \"pulse steal\" design that I can post a link to if desired. I have implemented and synthesized with some success, but its jitter and lock range was not as good as advertised. I've also had success using a external DVCO, but I would prefer if I can implement everything on chip. A digital circuit design or even a hint in the right direction would be helpful (I've been banging my head against this for a while), a proven FPGA implementation would be wonderful but not expected. ADDED 10-27-2010 The actual DPLL design that I used has a \"Random Walk Filter\" as the loop filter (not the \"pulse steal\" described earlier, going through my notes that didn't work to well), which then drives the clock pulses to the DCO. The lock-in range is set via divider in the DCO. The sensitivity of the loop is established by varying the length of the random walk. The paper in which this is found is cited at the end of this post. After implementing parts of it myself, I found that it was actually already implemented on OpenCores, however it turns out that in the last few months the project was deleted but I have the Verilog files saved if anyone wants them. Yamamoto, H.; Mori, S.; , \"Performance of Binary Quantized All Digital Phase-Locked Loop with a New Class of Sequential Filter,\" Communications, IEEE Transactions on , vol.26, no.1, pp. 35- 45, Jan 1978 doi: 10.1109/TCOM.1978.1093972 URL:",
"In our network the name of the network domain is also the domain of the organization's website (say, example.com). Externally, people can enter example.com to visit our website, but internally, this points to one of the several domain controllers, we have for Active Directory, some of which do not even run a webserver. As a result of this, links to http://example.com don't work internally (only www.example.com does work internally). How do we point http requests transparently to the web server, and what side effects does this have?",
"Looking for the title of a gold heist movie involving the telekinetic son of an extraterrestrial/alien? Some 30 years back, I saw a film about the son of an extraterrestrial who gets involved in a gold heist. The main character does not initially know that he is the son of an extraterrestrial and that has special telekinetic powers. The film opens, I think, with him being in some train yard, his foot getting stuck in a switch with a locomotive approaching. He stops it using his powers intuitively, possibly passing out (not realizing what he actually did). I think his mother subsequently reveals his heritage to him. He somehow gets hired as a bodyguard for someone planning a gold heist. I think they know his abilities and use him to steal a million US dollars. Actually, that is just a distraction, covering that they steal 30 million dollars from the same location (through the air, not sure on that part). The last part I remember is some underground tunnels where the thieves set up to melt the gold. The main character is locked in there. Does anyone know the title of this movie? Searching for things like \"sci-fi gold heist extraterrestrial etc.\" did not reveal anything to me. I also had a hard time picking proper tags (sorry).",
"How to address a professor in person at US universities? At US universities, how should one address a professor while talking to him or her? In my home country, we usually address the professors as either \"sir\" or \"madam\" while talking about our queries in person. What's the norm at US universities?",
"Can I get UAC prompt for user from batch file? Can I get UAC prompt for user from batch file? For example I need put some keys to registry under CurrentControlSet from batch file by reg import path\\to\\my.reg PS. runas is not a solution as my customers uses different Windows localisation and I can not guess which name used for Administrator account (this can be Администратор)... And script don't know administrator password. And UAC dialog box does not require password entering...",
"\"On/at/for/over the weekend\" in American English Some sources say that \"at the weekend\" is wrong, while other ones say it's correct. Which form is acceptable in American English? On Saturdays her sister Ann usually comes to stay with Mary on/at/for/over the weekend/s. What are you going to do at/on/for/over the weekend/s? We are going to Paris on/at/for/over the weekend/s. Are you going to stay here for/at/on/over the weekend/s? Which preposition do American English speakers use — at, on, for, over?",
"If $\\lambda$ is an eigenvalue of $A^2$, then either $\\sqrt{\\lambda}$ or $-\\sqrt{\\lambda}$ is an eigenvalue of $A$ $A$ is an $n\\times n$ matrix of complex numbers. Prove that if $\\lambda$ is an eigenvalue of $A^2,$ then $\\sqrt{\\lambda}$ or $-\\sqrt{\\lambda}$ is an eigenvalue of $A.$ If $\\lambda$ is an eigenvalue of $A^2,$ we have $\\lambda\\alpha=A^2\\alpha$ for some $\\alpha.$ Then how can we find a $\\beta$ s.t. $\\sqrt{\\lambda}\\beta=A\\beta?$",
"Turning a cipher into a hashing function",
"How to sail downwind faster than the wind? Recently a set a record for sailing a wind-powered land vehicle directly down wind, and a speed faster than wind speed. Wikipedia has a talking about it, but it doesn't explain exactly how it works. I can imagine some configurations, but I don't get how a system could be set up to push forward with a tailwind (when the cart is moving slower than the wind) and push forward with a head wind (when the cart is moving faster than the wind). Could someone help explain how this is possible?",
"Typeset the shrug ¯\\_(ツ)_/¯ emoji I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ¯\\_(ツ)_/¯ emoji as my answer, instead of something like \"Dunno\" or \"No idea.\" Option #1 is to include an image. Beyond that I actually don't understand how this emoji works. The middle character is Japanese kana \"tsu\" and proves problematic - TeX wants it in math mode then renders \"?\" when it is."
] | medi_sts_stackexchange_dupe |
animate object shaped with curves modifier by moving curve vertex | How to animate A curve segment? | [
"banner set interval",
"creating a db schema I am trying to create a schema page in LaTeX. It shall look like this. How can I create schema code which look like this image? There should be also a click to go function. When the user clicks on the user_schema link he should be redirected to that page. What classes I can use for this? Any suggestions would be appreciated. \\documentclass{article} \\usepackage[utf8]{inputenc} \\begin{document} \\maketitle \\section{User schema} \\mySchema{Users} { _id: ObjectId - Id do registro name: String - Nome do usuário date: Date - Data de Cadastro ren_date: Date - Data de renovação do Cadastro email: String - Lorem ipsum dolorsitamet, consecteturadipisicingelit, sed do eiusmodtemporincididunt ut labore et dolore magna aliqua. Ut enim ad minimveniam, exercitationullamcolaborisnisi ut aliquipexeacommodoconsequat. Duisautereprehenderit in voluptatevelit esse cillumdolore eu fugiatnullapariatur. Occaecatcupidatat non proident, sunt in culpa quiofficiadeseruntmollit. access_log: Array [ { date: String - Data da ocorrência. user: ObjectId - Usuário que executou. action: String - Ação Executada. } { date: String - Data da ocorrência. user: ObjectId - Usuário que executou. action: String - Ação Executada. } ] \\link{group}{group_id}: ObjectId - Id do grupo. } \\end{document} Here is the image how should it appear:",
"When I learned about the Minkowski Space and it's coordinates, it was explained such that the metric turns out to be $$ ds^{2} = -(c^{2}dx^{0})^{2} +(dx^{1})^{2} + (dx^{2})^{2} + (dx^{3})^{2} $$ where $ x^0,x^1,x^2,x^3 $ come from $ x^{\\mu} : \\mu = 0,1,2,3 $, and $ c $ is the speed of light. The first resource I had access to--I have to do a bit of digging for the exact paper--of course addressed that this invariant takes the tensor form: $$ ds^2 = g_{\\mu \\nu}dx^{\\mu}dx^{\\nu} $$ as well. This two things I've seen in all of my texts and online resources regarding resources. The element in question that varies between authors, is the time coordinate, $ x^0 $. When it was first explained to me, it was using the standard Cartesian representation for the spatial portion of the coordinates, and the time coordinate was labeled as $ x^0 = ict $. Squaring gives $ (x^0)^2 = -c^2t^2 $, and applying differential calculus, we get $ (dx^0)^2 = -c^2dt^2 $. Sensible and expected to have the tensor formula spit out the Minkowski Metric. The author then later explicitly states the coordinates are $ x^0 = ict, x^1=x,x^2=y,$ and $x^3 = z$. My questions is then, why is it most authors on the subject omit the imaginary unit on the time coordinate? For example, . The only reason I can fathom omission is if the author is using metric signature $ [+,-,-,-] $, where I started off learning the theory with signature $ [-,+,+,+] $ which may be the reason seeing the time coord with no imaginary unit seems dissonant to me. All help appreciated! Edit: After reading the other answers, my questions is now one of why and how (mathematically) do we obtain the Minkowski Metric Signature. More specifically the one element with a different sign.",
"Duty Free in the USA. Why do I have to be given my purchase as I board the plane? I am not one for buying things in airports but recently my wife asked me to get her an alcoholic beverage while flying from the USA to Ireland (JFK-DUB). I made the purchase in JFK and was surprised to be told I had to collect it when departing for my flight as I board the plane. The sales assistant's English wasn't their best so I may have misheard and my Yorkshire twang may have thrown her, but I was somewhat surprised as to why I couldn't carry the bag myself to the plane. Is there a law that prevents me from carrying my purchase to the plane or is this an added service I was charged, which I was duped into paying? When boarding the plane there were several others who had to pick up their sealed duty free bags (why sealed?) so it wasn't just me. No explanation was given.",
"Just freeze an application (suspend the CPU, save its state to disk) and 'defrost' it when I want to use it 4 weeks later.",
"Using matplotlib in pygame",
"I am having problems starting my Apache server, because port 443 is already in use. It turns out, the system process (PID 4) uses the port 443. I don't have IIS installed, the services.msc shows (predictably) no Exchange server running, nor WWW-Services, nor IIS. I have no idea how to find out what service uses that port, short of just disabling each service one after the other, and I am not even sure that would help. I would be grateful if someone could point me towards how I can get my SSL port back, thank you :) P.S.: Of course \"just switch Apache to another port for SSL\" would solve the problem of not being able to start Apache. But I'd still like to know what is so insistent about hogging port 443. :) I by now took the 'hard route' and disabled services one after the other. It turned out that the \"Routing and RAS\" service was the culprit. Thank you all for the valuable input and the new tools in the combat against \"WTF does my system do now?\".",
"Disable Debug Log Programmatically I'm trying to disable WP_DEBUG_LOG if and only if debug.log exists. I'd like to hook into wp_footer and test if the file exists and if so disable my debug log. All I've found though is that WP_DEBUG_LOG is a constant and can only be changed from the wp-config.php file which is too early for my case. Is there a way to change it from a constant on install and keep it working as normal? My only other thought is to create an option on install in the options table and just check it every time wp-config loaded to see if the value has changed but I was wanting to avoid that. Granted I could check if the file exists before I define WP_DEBUG_LOG but somebody would have to view a page twice before debug log actually exists and is detected by the file_exists() (since it's run very early) which is not optimal. Does anybody know of a workaround to programmatically turn off WP_DEBUG_LOG?",
"What does DISPLAY=:0.0 actually mean?",
"For an isolated system, can the entropy decrease or increase? In any sizable system, the number of equilibrium states are much, much greater then the number of non-equilibrium states. Since each accessible micro state is equally probably, it is overwhelmingly likely that we will find the system in an equilibrium state. However, for a closed system, one that does not interact with any external system, the number of micro states is fixed. Therefore the entropy is fixed. At any given time, the system will be in one of its micro states. Even if the system is in a micro state that does not look like equilibrium from a macroscopic point of view, its entropy will remain the same, since entropy is a property of all the micro states, not just a given micro state. So, are the number of accessible micro states (and hence entropy) of an isolated system constant?",
"I'm in a numerical analysis course right now and it's pretty rigorous but I'm enjoying it a lot. I took a lower level course before that was more oriented towards implementation of numerical methods, so it's not my first time with the material. Anyway, my professor wrote his own course notes and they're fantastic but I wanted some reference material since I'm currently outlining my own notes. Just wondering what the big ones out there are edit: I would say I'm at an advanced undergraduate level",
"How do I work with GUI tools over a remote server?",
"sudo: unable to resolve host I think I need to edit the /etc/hosts file to make an entry for 127.0.1.1 PC name. But how can I do that if I can't access sudo? It seems to have gone since I updated to 13.10. I have tried nano, which still doesn't work.",
"Using NPN transistor as switch",
"Almost half of disk space unaccounted for on Windows 7 computer I'm trying to determine what's eating almost half of disk on my Windows 7 Lenovo laptop but haven't been able to determine what. I read some of the answers on this site but none of the causes seems to be the cause of my problem. What I've done so far: Checked Windows' System Restore points but only minimum use, either way I deleted around 2GB if usage from there Used WinDirStat and it came back with a total of 71.3GB usage at the root level C Drives properties says 135GB being used out of 138 GB total, ie, 135 GB - 71.3GB = 63.7GB missing somewhere No \"Unknown\" files reported by WinDirStat Windows Disk Management utility doesn't report any unused partitions or unclaimed space chkdsk comes out clean Windows disk cleanup tool doesn't report anything big, just small stuff in the lower MB range Lenovo backup tool hasn't been used nor there is a folder for the backup images Any idea on what to look at and/or do? EDIT: some additional info...",
"Linear functional on a Banach space is discontinuous then its nullspace is dense.",
"Finding the number of analytic functions which vanish only on a given set. Let $S = \\{0\\}\\cup \\{\\frac{1}{4n+7} : n =1,2\\ldots\\}$. How to find the number of analytic functions which vanish only on $S$? Options are a: $\\infty$ b: $0$ c: $1$ d: $2$",
"Dynamic Table partitioning on a daily basis I have a SQL Server database which contains two tables -- Acks and Logs. These two tables are related in logic but not in a relational database way. Basically, every message that comes in gets saved in the Log table and, if our server acknowledges it, then that ack gets stored in the Ack table. We are storing around 5 million Acks and 3 million Logs a day. I am trying to partition these two tables on a daily boundary so that we can easily remove older partitions from the table, and also improve query performance. I haven't done table partitioning before, so I have been reading some on-line tutorials, however I am stuck on one thing. All the tutorials I have followed seem to manually add filegroups and manually add boundaries. I want SQL Server somehow to do this daily, and this is what my question is about. I need it to create the new filegroups for the next day, every day at, say, 22:00. Then at 24:00 the inserts should start filling up the new day's partition. Can anyone point me in the right direction on how to achieve this? Either a comprehensive tutorial or some good old advice will do as well. My second question: can I somehow apply the same partition function to the two different tables? They both have a datetime(2) column on which I want to partition, and the same rules will apply. How does that then fit in with my filegroups? Do I need a single filegroup for the day? Will each table have a file in that filegroup, or will both tables save to the same file in the filegroup? Do I have to make a .mdf and .ldf for each filegroup? Or is there still one log file for the entire database?",
"Want to fill line with repeating string Similar to the \\dotfill command, but with your own text, rather than dots. If the string was: kitty! The entire line would look like the following: kitty!kitty!kitty!kitty!kitty!kitty!kitty!kitty!kitty! Is there any way to do this?",
"I'm adding two footnotes to a section heading: \\documentclass{article} \\usepackage[english]{babel} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{lipsum} \\usepackage[stable]{footmisc} \\usepackage{titlesec} \\begin{document} \\section{test \\footnote{This is footnote no1.} \\footnote{This is footnote no2.} } \\lipsum[4] \\end{document} The heading will have both of the footnotes, but at the end of the page only the second is displayed. The problem appears to be \\usepackage{titlesec}, because it works fine without it. Stuff I specified in \\usepackage{titlesec}: \\renewcommand\\thesection{\\arabic{section}} \\renewcommand\\thesubsection{\\arabic{subsection}} \\renewcommand\\thesubsubsection{\\arabic{subsubsection}} \\titleformat{\\section}[block]{\\Large\\scshape\\centering}{\\thesection}{1em}{} \\titleformat{\\subsection}[block]{\\large\\scshape}{\\thesection.\\thesubsection}{1em}{} \\titleformat{\\subsubsection}[block]{\\large\\scshape}{\\thesection.\\thesubsection.\\thesubsubsection}{1em}{} Thanks in advance!"
] | medi_sts_stackexchange_dupe |
How to make dynamic paint effect distinctly visible? | Dynamic Paint not showing in rendered image | [
"Which versions of C++ redistributables can I remove? I have a number of Microsoft Visual C++ 2005 and 2008 Redistributable and I would like to know which ones are safe to remove, because there are actually more than 10 installed on my computers. Microsoft Visual C++ 2005 ATL Update kb973923 - x64 8.0.50727.4053 Microsoft Visual C++ 2005 Redistributable Microsoft Visual C++ 2005 (x64) Microsoft Visual C++ 2008 ATL Update kb973924 - x64 9.0.30729.4148 Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.17 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148 Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4974 Microsoft Visual C++ 2010 x64 Runtime - 10.0.30319 It could be that these versions are all different, but a confirmation of that is fine for me as well. Thanks in advance. PS. I'm using an x64 machine one windows 7.",
"I made chili and it's too hot! If I cook it longer will the heat calm down?",
"When to use an offset in a Poisson regression? Does anybody know why offset in a Poisson regression is used? What do you achieve by this?",
"Group element not taken to its inverse by any automorphism",
"Questions like dealing with Ancalagon in particular, and Middle-earth's dragons in general, clearly show that Ancalagon was ridiculously, absurdly, unimaginably enormous. The non-canonical image above shows one person's impression of how the different dragons of Middle-earth stacked up, with Smaug looking absolutely tiny at the far left, and Ancalagon on the right, too big to even fit in the picture. Below, a presumably canonical picture, painted by Tolkien himself, shows Smaug in relation to Bilbo. The rough measurements I took from this image suggest that Smaug is about 11 times longer than Bilbo is tall. Depending on how tall Bilbo is - almost certainly somewhere between 3'6\" and 4' tall - Smaug is approximately 38-44 feet long. If the first picture is even vaguely accurate, Ancalagon would appear to be a minimum of something like 720 feet long from the tip of his nose to the end of his tail: the visible portions of his head and body are at least 6 times longer than Smaug is from end to end, and we have to assume that the portion of his body that is out of frame is at least 3 times longer still, perhaps even 4 times or more (so the upper range of his length might exceed 1,000 feet). Does Tolkien give us any way to estimate how big Ancalagon was? It isn't his normal practice to describe things in great detail, I realize, but he often gives a few hints that allow for some rough approximation to be made. Does anything he says suggest that the first image is anything like what he had in mind? Note: I haven't read anything about Ancalagon from Tolkien's own pen, except a few quotes on this site; the most important bit of information I've gleaned is that he smashed 3 volcanoes to pieces when he died (or something like that). How accurate is this, and what else did Tolkien say? This question is not a duplicate of \"\", because none of the answers to that question address Ancalagon's size in any detail - except my own, which is based on what little information I was able to glean from the two pictures I included in this question. All the other answers address how Ancalagon was killed, not how big he was. I have no interest in how he died, only how big he was, or rather, what hints we can find that might give some indication of how big he was. I wouldn't ask this question, linking that question in my own, if it contained the information I am interested in. Note 2: Regarding the relative sizes and impressiveness of Smaug and Ancalagon: Imagine a meeting between Smaug and Ancalagon in Dragon Heaven: Smaug: \"How'd you die?\" Ancalagon: \"A flying boat full of fire made by the Angels and driven by a Magic Elf smashed into me, so I fell onto a mountain and broke it, and I died. The Magic Elf lives in outer space now, and the boat turned into a star. How'd you die?\" Smaug: \"Um... Some dude shot me with an arrow.\"",
"How do I install PowerShell? Not long ago I read something on Microsoft's website about PowerShell being available for Ubuntu. How would I go about the install of PowerShell? I'd appreciate guidance for both Xenial & Trusty. Any installation method is fine, whether compiling source or relying on a package-manager. Source-compiling methods should contain beginner-level detail.",
"Suppose $\\sum_{n=1}^\\infty \\frac{1}{n} = S$ where $S$ is finite. Then $$S =\\sum_{n=1}^\\infty \\frac{1}{n}= \\sum_{n=1}^\\infty \\frac{1}{2n-1} + \\frac{1}{2n} > \\sum_{n=1}^\\infty \\frac{1}{2n} + \\frac{1}{2n} = S$$ which is a contradiction. Is this valid?",
"Why does English spelling use silent letters? Why have a letter in a word when it’s silent in pronunciation, like the b in debt? Can anyone please clarify my uncertainty here?",
"Disabling Google Chrome Download auto numbering for existing files",
"Is it possible to decompose a hermitian and unitrary matrix $A$ into the sum of the Pauli matrix Kronecker products? For example, I have a matrix 16x16 and want it to be decomposed into something like $$A =\\sum_{i,j,k,l}h_{ijkl}\\sigma_i\\otimes\\sigma_j\\otimes\\sigma_k\\otimes\\sigma_l$$ I can't find any clear explanation how it can be done. I found only this for two-dimentional case:",
"I can't review posts anymore—was the minimum reputation changed? Is it just for me, or has the privilege to review new posts and late answers changed for everyone? I recently started being more active in reviewing, but the rep requirement just shot up and I can not review anymore? The rep requirement has shot up to 500. Is this just for me, as a 'process\", or has it been changed site wide?",
"From Rudin's Principles of Mathematical Analysis (Chapter 2, Exercise 6) Let $E'$ be the set of all limit points of a set $E$. Prove that $E'$ is closed. I think I got it but my argument is a bit hand wavy: If $x$ is a limit point of $E'$, then every neighborhood of $x$ contains some $y\\in E'$, and every neighborhood of $y$ contains some $z\\in E$. Therefore every neighborhood of $x$ contains some $z\\in E$, and so $x$ is a limit point of $E$. Then $x\\in E'$, so $E'$ is closed. The thing that's bugging me is the leap from one neighborhood to another. Is this formally correct?",
"Minecraft Empty Chests Command Block I am using the following Command to spawn a new chest at the given coordinates with stuff in it at each new round: /setblock 264 4 997 minecraft:chest 0 replace {Items:[{id:274,Count:1,Slot:0},{id:275,Count:1,Slot:1}]} The problem with that is that when replacing the old chest all the stuff in the old chest is thrown out. And that's pretty much not what I want. I need to find a way to replace a chest which might have stuff in it without throwing those things out. Someone else said I should replace the given position for one tick with lava, which I tried. Works in 90% of the tries (in the other 10% the items from the chest are thrown to far away - out of the spawned lava block), but the problem with that is that I can't use it in wooden areas because it might burn everything down. So what can I do to fix that problem, because otherwise my custom made Pv.P map is not gonna work? Thanks very much!",
"I can clearly see that $\\dfrac{n!}{n^n}\\to 0$ when $n\\to\\infty$. But how do I know if the sum $$\\sum_{n=1}^{\\infty}\\frac{n!}{n^n}$$ is convergent or not? I know this might be basic, but thank you if anyone can help me.",
"Handle null value using Guava MapMaker/CacheBuilder",
"Show that $\\textbf{ZF}$ shows $\\phi$ is $\\Delta_1$",
"Is there a way to make Runnable's run() throw an exception?",
"What's the bad magic number error? What's the \"Bad magic number\" ImportError in python, and how do I fix it? The only thing I can find online suggests this is caused by compiling a .py -> .pyc file and then trying to use it with the wrong version of python. In my case, however, the file seems to import fine some times but not others, and I'm not sure why. The information python's providing in the traceback isn't particularly helpful (which is why I was asking here...), but here it is in case it helps: Traceback (most recent call last): File \"run.py\", line 7, in <module> from Normalization import Normalizer",
"How to subtract X days from a date using Java calendar?",
"Apparently ;-) the standard containers provide some form of guarantees. What type of guarantees and what exactly are the differences between the different types of container? Working from (about ) I have come up with this: Container Types: ================ Container: Forward Container Reverse Container Random Access Container Sequence Front Insert Sequence Back Insert Sequence Associative Container Simple Associative Container Pair Associative Container Sorted Associative Container Multiple Associative Container Container Types mapped to Standard Containers ============================================= std::vector: Sequence Back Sequence Forward/Reverse/Random Container std::deque: Sequence Front/Back Sequence Forward/Reverse/Random Container std::list: Sequence Front/Back Sequence Forward/Reverse Container std::set: Sorted/Simple/Unique Associative Container Forward Container std::map: Sorted/Pair/Unique Associative Container Forward Container std::multiset: Sorted/Simple/Multiple Associative Container Forward Container std::multimap: Sorted/Pair/Multiple Associative Container Forward Container Container Guarantees: ===================== Simp or For Rev Rand Front Back Assoc Sort Mult Cont: Cont: Cont Cont: Sequ: Sequ: Sequ: Cont: Cont: Cont: Copy Const: O(n) Fill Const: O(n) begin() O(1) end() O(1) rbegin() O(1) rend() O(1) front() O(1) push_front() O(1) pop_front() O(1) push_back() O(1) pop_back() O(1) Insert() O(ln(n)) Insert: fill O(n) Insert: range O(n) O(kln(n)+n) size() O(n) swap() O(1) erase key O(ln(n)) erase element O(1) erase range O(ln(n)+S) count() O(log(n)+k) find() O(ln(n)) equal range O(ln(n)) Lower Bound/Upper Bound O(ln(n)) Equality O(n) InEquality O(n) Element Access O(1)"
] | medi_sts_stackexchange_dupe |
Missing file in / taking up all of the root space | Disk full, du tells different. How to further investigate? | [
"Symfony plugin sfDoctrineActAsTaggablePlugin not working",
"Add affiliations to the authors' name in the article class",
"What are the biggest changes between UA Ranger and PHB Ranger?",
"Converting time field omitting time and returning null values? I have a time field in my shapefile that is formatted as HH:mm:ss.s It is a text field, and I want to convert it to a date so I can calculate time elapsed across rows (if there's a better way to do this let me know). Basically, each row is a point on a route, and I want to use the time field to calculate the amount of time elapsed between the first and last points on the route. I tried using the convert time field tool, setting the input format as HH:mm:ss.s, and the output type as DATE. The output field however only shows values of 01/01/2001 for some rows and for other rows. time is the input field and time_c is the output field I'm not sure what's going wrong here, here is what shows up in the geoprocessing results window: I tried adding the date data to the field as well to make the format yyyy-MM-dd HH:mm:ss.s, but it still didn't work:",
"This is a question you can read everywhere on the web with various answers: $ext = end(explode('.', $filename)); $ext = substr(strrchr($filename, '.'), 1); $ext = substr($filename, strrpos($filename, '.') + 1); $ext = preg_replace('/^.*\\.([^.]+)$/D', '$1', $filename); $exts = split(\"[/\\\\.]\", $filename); $n = count($exts)-1; $ext = $exts[$n]; etc. However, there is always \"the best way\" and it should be on Stack Overflow.",
"So here is one I wish to know: I use Tri-Gate second effect, which allows me to target and banish one card on the field. Then I link that with another monster to bring out another link. Tri-Gate would be in the graveyard but then I use transcodes effect (1 of the 3 co-links) to bring it back from the graveyard. Can I use the second effect again?",
"Is colour, as represented using primary colours, accurate only to humans? Slightly biological, hopefully physical enough to be answered. Suppose a magenta hue is represented by a mix of red and blue pigment. This is all very well for a creature with red and blue photoreceptors, but suppose it was seen by a creature which had a magenta-sensitive receptor, but no red or blue. Would the colour appear the same (insomuch as a qualititave concept can appear the same, I suppose I mean 'Would they interpret it as colour of the same wavelength?')? The crux of my question is, do the particular bands in which photoreceptors are activated affect vision of additive, as opposed to pure, hues? Finally, completely off-topic, but if there happens to be a biologist around, do animals on the whole have similar photoreceptors, or are they placed largely randomly? Thanks, Wyatt",
"No hats on the mobile version?",
"I originally read this book in the mid- to late '70s. The premise was a bureaucracy whose job it was to manipulate events in human history by making the smallest possible change that would effect the desired outcome. Not time cops in the sense of going after law breakers. The intent was to maintain a policy of non-interference as much as possible but when interference was warranted then to make the least possible change and to do so invisibly. For example, they might take someone's keys off the dresser and put them just out of sight underneath the dresser where they plausibly might have fallen. The subject would never know of the manipulation but would then be delayed getting out of the house and the ripples grew from there to avert a war or otherwise affect events on a large scale. After reading that, whenever I would lose something - especially in an improbable way such as dropping a screw at my feet and then finding it on the other side of the room half an hour later - I would take some consolation in the thought that I had just averted some global catastrophe. I was pretty scatterbrained as a kid (we call that ADHD nowadays) so I experienced this a lot. Given that I've spent so much time pondering the ideas from the book, I'd love to re-read it.",
"How to carry audio over SSH? Is there a way to carry audio over ssh? Say after connecting to remote machine through ssh -X I opened a browser and want to watch a youtube video. Currently I could only able to watch the video without any audio. But I want to hear the audio too. How to do that?",
"Send email using the GMail SMTP server from a PHP page",
"Question is : Prove that the polynomial $p(x)=x^4-4x^2+8x+2$ is irreducible over the quadratic field $F=\\mathbb{Q}(\\sqrt{-2})$. [Hint : first use the method of proposition $11$ for the U.F.D $\\mathbb{Z}[\\sqrt{-2}]$(cf.Exercise $8$, Section $8.1$) to show that if $\\alpha \\in \\mathbb{Z}[\\sqrt{-2}]$ is a root of $p(x)$ then $\\alpha$ is a divisor of $2$ in $\\mathbb{Z}[\\sqrt{-2}]$ . Conclude that $\\alpha$ must be $\\pm 1,\\pm \\sqrt{-2}$ or $\\pm 2$ and hence show that $p(x)$ has no linear factor over $F$. Show similarly that $p(x)$ is not the product of quadratics with coefficients in $F$.] What I have done so far is : Suppose $\\alpha \\in\\mathbb{Z}[\\sqrt{-2}]$ is a root of $p(x)=x^4-4x^2+8x+2$ we would then have : $p(\\alpha)=\\alpha^4-4\\alpha^2+8\\alpha+2=0\\Rightarrow 2=\\alpha(-\\alpha^3+4\\alpha-8)$ i.e., $\\alpha$ is a divisor of $2$ in $\\mathbb{Z}[\\sqrt{-2}]$. so, I have used the method of proposition $11$ for the U.F.D $\\mathbb{Z}[\\sqrt{-2}]$(cf.Exercise $8$, Section $8.1$) to show that if $\\alpha \\in \\mathbb{Z}[\\sqrt{-2}]$ is a root of $p(x)$ then $\\alpha$ is a divisor of $2$ in $\\mathbb{Z}[\\sqrt{-2}]$ I do not understand why does he mentioned that $\\mathbb{Z}[\\sqrt{-2}]$ is U.F.D and all... I do not use that at all... It is unnecessarily confusing me or i am unnecessarily getting confused.. hint is actually misleading me :( Now, I have to prove that $\\alpha$ must be $\\pm 1,\\pm \\sqrt{-2}$ or $\\pm 2$ i.e., suppose I have $2=ab$ in $\\mathbb{Z}[\\sqrt{-2}]$ then, $N(2)=N(ab)\\Rightarrow 4=N(a)N(b)$ i.e.,$N(a)=1\\text{ or }2\\text{ or } 4$ i.e., $p^2+2q^2=1\\text{ or }2\\text{ or } 4$ for $a=p+\\sqrt{-2}q$ $p^2+2q^2=1\\Rightarrow p=\\pm 1 \\Rightarrow a=\\pm 1$ $p^2+2q^2=2\\Rightarrow q=\\pm 1\\Rightarrow a=\\pm\\sqrt{-2}$ $p^2+2q^2=4\\Rightarrow p=\\pm 2\\Rightarrow a=\\pm 2$ Once I prove that those are the only divisors then I would consider : $p(1)=(1)^4-4(1)^2+8(1)+2\\neq 0$ $p(-1)=(-1)^4-4(-1)^2+8(-1)+2\\neq 0$ $p(\\sqrt{-2})=(\\sqrt{-2})^4-4(\\sqrt{-2})^2+8(\\sqrt{-2})+2\\neq 0$ $p(-\\sqrt{-2})=(-\\sqrt{-2})^4-4(-\\sqrt{-2})^2+8(-\\sqrt{-2})+2\\neq 0$ $p(2)=(2)^4-4(2)^2+8(2)+2\\neq 0$ $p(-2)=(-2)^4-4(-2)^2+8(-2)+2\\neq 0$ So, no divisor of $2$ is a root.. Thus $p(x)$ do not have a root in $\\mathbb{Z}[\\sqrt{-2}]$ suppose I have something like : $$x^4-4x^2+8x+2=(x^2+ax+b)(x^2+cx+d)=x^4+(a+c)x^3+(b+d+ac)x^2+(ad+bc)x+bd$$ But then, $bd=2\\Rightarrow \\text { b,d are a divisors of 2 in $\\mathbb{Z}\\sqrt{-2}$}$ But then we have seen that only divisors of $2$ in $\\mathbb{Z}\\sqrt{-2}$ are $\\pm 1,\\pm \\sqrt{-2}$ or $\\pm 2$ So, only possibilities are $x^4-4x^2+8x+2=(x^2+ax\\pm 1)(x^2+cx\\mp 2)$ $x^4-4x^2+8x+2=(x^2+ax\\pm \\sqrt{-2})(x^2+cx\\mp \\sqrt{-2})$ But these are not possible... This only tells that $p(x)$ is irreducible in $\\mathbb{Z}[\\sqrt{-2}]$ but then how do i show this is irreducible in $\\mathbb{Q}(\\sqrt{-2})$ I was expecting gauss lemma to help but it only works for integers and rationals... So, please help me to clear this.. Thank you... P.S : Proposition $11$ is Rational root theorem and Exercise $8$ is that ring of integers of $\\mathbb{Q}(\\sqrt{-2})$ is an Euclidean domain.",
"So we learned telescoping series in class and I came across this question in my textbook and I tried to evaluate it, but I don't understand how to do it. $$ \\sum\\limits_{k=1}^n\\left(k \\cdot k!\\right) $$ According to the answers: $$ \\sum\\limits_{k=1}^n\\left(k \\cdot k!\\right) = (n+1)! - 1 $$ We learned how to simplify certain telescoping series using partial fractions but I don't have any idea on how to start this question.",
"Invisible software updates list in Software Updater",
"Let $f(z)=\\sum\\limits_{n=0}^{\\infty}a_n z^n$ be an analytic function in $|z|\\leq R$ such that $|f(z)|\\leq M$. Prove an inequality about $f$'s zero",
"\"no such file or directory\" message when deleting a file that exists on NTFS",
"Java Constructors I am trying to learn how to specify class constructors in Java. I am starting to understand that they specify the types of instance variables of objects made from that class. They also can be used to set the instance variable initial values. The follow example is from the Java tutorial on Sun's website: public Bicycle(int startCadence, int startSpeed, int startGear) { gear = startGear; cadence = startCadence; speed = startSpeed; } Where in your classes source code should you put the constructor(s)? Are these arguments the names of the variables?: (int startCadence, int startSpeed, int startGear) or are gear, cadence and speed the names of the variables? What is the difference between (int startCadence, int startSpeed, int startGear) and gear, cadence and speed? In the unlikely event that my instructor or any administrator from Salt Lake Community College ever comes across this question, let me make my intentions clear. This question is posted in the greatest spirit of academic honesty. I ask this question to seek general advice and help in understanding the proper way to use the Java programming language. I in no way use the work of others and represent it as my own work. I use the answers provided here as a general aid in my understanding. I do all my own work and do not copy work provided by people answering my question.",
"Need Google Geocoding to return City name in English",
"So I was thinking... If heat I feel is just lots of particles going wild and transferring their energy to other bodies, why am I not burned by the wind? When I thought about it more I figured out that wind usually carries some humidity, and since particles of liquid are moving same speed as the wind, they are basically static relative to each other, so no energy is transferred between them (wind and water particles). And if that water sticks to my skin and wind blows, it'll evaporate thus taking energy from my skin and make me feel cold. Thing is, I don't think that's really the case but even if it is, if I somehow dry out the wind, will it burn me if it's strong enough? And winds can reach some pretty high velocities (though I must admit I'm not sure if they are comparable to movement of atoms in warm bodies etc...). So. Bottom line. Can I be burned by wind in some perfect scenario?",
"What prevents investors from buying high yield stocks and selling them as soon as their dividend is paid out? What prevents investors from buying high yield stocks and selling them as soon as their dividend is paid out? I guess I am confused: If you know the yield and when the dividend will be paid out, why not buy a share an instant before the dividend is paid out and then sell it? Do you have to have held the share for some amount of time to get the dividend? Is there too much volatility in the instant the dividend is paid out?"
] | medi_sts_stackexchange_dupe |
How to order the ORDER BY using the IN() mysql? | Ordering by the order of values in a SQL IN() clause | [
"Uncaught SyntaxError: Unexpected token with JSON.parse",
"Why is it true that $\\mathrm{adj}(A)A = \\det(A) \\cdot I$?",
"Why is this limit $\\lim_{n \\to \\infty}(1 + \\frac{1}{n})^n$ equal to $e$? I dont get it, if I look at $$\\lim \\limits_{n \\to \\infty}\\left(1 + \\frac{1}{n}\\right)^n = e$$ It seems like it should be $1$ because $1 \\over n$ is almost zero and $1^\\infty$ is still $1$",
"How do I enable the \"Universe\" repository?",
"If $X,Y$ are independent $\\chi ^2$ with $m$ and $n$ degrees of freedom, then $\\frac{X}{X+Y} \\sim\\beta(m/2, n/2)$ I was reading and I find the following problem: Let $X$ and $Y$ be independent $\\chi ^2 $ with $m$ and $n$ degrees of freedom then $\\dfrac{X}{X+Y} = \\beta(m/2, n/2)$. Where $\\chi^2(k)$ has density function $$f_{\\chi^2(k)}(x)=\\begin{cases}\\displaystyle \\frac{1}{2^{k/2}\\Gamma(k/2)}\\,x^{(k/2) - 1} e^{-x/2}&\\text{if }x>0,\\\\ 0&\\text{if }x\\le0 \\end{cases} $$ I proved that $X+Y$ is $\\chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=\\dfrac{X}{X+Y}=\\dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables: $$f_U(u)= \\int_{-\\infty}^{\\infty}f_X(uv)f_Z(v)|v|dv $$ then $$\\dfrac{u^{m/2-1}}{2^{(m+n/2)} \\Gamma(m/2) \\Gamma((m+n)/2)} \\int_0^{\\infty} v^{m+\\dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$ and using some algebra: $$f_U(u)=\\dfrac{u^{m/2-1} \\Gamma(m+n/2)}{\\Gamma(m+n/2) \\Gamma(m/2) (u+1)^{m+n/2}}$$ and this is not $\\beta(m/2, n/2)$, it looks more like $\\beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles. I need help if something is false or any hint.",
"With a two-party system, our nation will divide the people (who/whom) most need to be brought together. Do I use who or whom for this sentence? I think that \"people\" is the direct object and warrants the use of \"whom\", but I want to make sure I'm right.",
"Script to remove Yellow(or any color) from layers panel?",
"Is it \"to play a game on someone\" or \"play games with someone\"? I find this expression strange because it's clearly widely used, but seems sort of \"unofficial\", the \"official\" version, meaning the one described in dictionaries and grammar books, being playing games with, not on. Both expressions seem to be current and valid, according to Google Books. I'm just not entirely clear on the context and the usage. My understanding is that playing games with implies some sort of tricky, mischievous behavior, which may or may not be intentionally malicious, like office politics or standing someone up on a date (\"Jane didn't show up...again. Is she playing games with me?\"), while playing games on implies a form of studied deception. (\"The ad said that the comic book was in mint condition but there are barely noticeable tears... are they trying to play a game on me?\")",
"What is terminal velocity? I've heard the term especially when the Discovery Channel is covering something about sky diving. Also, it is commonly known that HALO (Hi-Altitude, Lo-Opening) infantry reaches terminal velocity before their chutes open. Can the terminal velocity be different for one individual weighing 180 pounds versus an individual weighing 250 pounds?",
"What can I do if a repository/PPA does not have a Release file?",
"Is there a way to write binary literals in C#, like prefixing hexadecimal with 0x? 0b doesn't work. If not, what is an easy way to do it? Some kind of string conversion?",
"I am having an issue where DHCP (I though as I read in other similar topics) is clearing the /etc/resolv.conf file on each boot. I am not sure about how to deal with this since the post I have found (, and some others) are for Debian based distros or other but not Fedora. This is the output of ifcfg-enp0s31f6 so for sure is DHCP: cat /etc/sysconfig/network-scripts/ifcfg-enp0s31f6 HWADDR=C8:5B:76:1A:8E:55 TYPE=Ethernet DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no IPV6_AUTOCONF=no IPV6_DEFROUTE=no IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp0s31f6 UUID=0af812a3-ac8e-32a0-887d-10884872d6c7 ONBOOT=yes IPV6_PEERDNS=no IPV6_PEERROUTES=no BOOTPROTO=dhcp PEERDNS=yes PEERROUTES=yes In the other side I don't know if Network Manager is doing something else around this. Update: Content of NetworkManager.conf (I have removed the comments since are useless) $ cat /etc/NetworkManager/NetworkManager.conf [main] #plugins=ifcfg-rh,ibft dns=none [logging] #domains=ALL Can I get some help with this? It's annonying be setting up the file once and once on every reboot. UPDATE 2 After a month I'm still having the same issue where file gets deleted by \"something\". Here is the steps I did follow in order to make a fresh test: Reboot the PC After PC gets restarted open a terminal and try to ping Google servers of course without success: $ ping google.com ping: google.com: Name or service not known Check the network configuration were all seems to be fine: $ cat /etc/sysconfig/network-scripts/ifcfg-enp0s31f6 NAME=enp0s31f6 ONBOOT=yes HWADDR=C8:5B:76:1A:8E:55 MACADDR=C8:5B:76:1A:8E:55 UUID=0af812a3-ac8e-32a0-887d-10884872d6c7 BOOTPROTO=static PEERDNS=no DNS1=8.8.8.8 DNS2=8.8.4.4 DNS3=192.168.1.10 NM_CONTROLLED=yes IPADDR=192.168.1.66 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 GATEWAY=192.168.1.1 TYPE=Ethernet DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no Restart the network service: $ sudo service network restart [sudo] password for <current_user>: Restarting network (via systemctl): [ OK ] Try to ping Google servers again, with no success: $ ping google.com ping: google.com: Name or service not known Check for file /etc/resolv.conf: $ cat /etc/resolv.conf cat: /etc/resolv.conf: No such file or directory File doesn't exists anymore - and this is the problem something is deleting it on every reboot Create the file and add the content of DNS: $ sudo nano /etc/resolv.conf Ping Google servers this time with success: $ ping google.com PING google.com (216.58.192.110) 56(84) bytes of data. 64 bytes from mia07s35-in-f110.1e100.net (216.58.192.110): icmp_seq=1 ttl=57 time=3.87 ms Any ideas in what could be happening here?",
"A diagram which is not the torus At page 17 of Munkres' Elements of Algebraic topology it says, referring to fig. 3.6, that \"the diagram does not determine [the torus]. It does more than paste opposite edges together\": Is it so? I tried to glue them together, but end up with a normal torus.",
"Radius of convergence of $\\sum_{n=0}^\\infty n!x^{n^2}$ The question is to calculate the radius of convergence of $\\sum\\limits_{n=0}^\\infty n!x^{n^2}$. I dont know how to calculate R.O.C for such type of questions involving $n^2$ as power of x. How do we do this? Any help appreciated.",
"Where can the viewport clipping parameters be changed?",
"On Chrome on Android, code blocks on the mobile site have no syntax highlighting, are not a monospaced font, and words are wrapped. Mobile site on mobile browser: Desktop site on mobile browser: Inline code has the same issue, it isn't a monospaced font. It has been this way for as long as I can remember. Wouldn't be surprised if this is a dupe.",
"What partitioning scheme do you recommend for a desktop? I've always created three or four primary partitions -- root, swap, home, and sometimes a separate boot partition. Ubuntu's default install offers LVMs. I've never had to add additional drives or space, so it never seemed like a big deal. Whenever I do a fresh install, though, I always think there might be a better way.",
"Connected to wifi successfully, but no internet connection I'm a relatively new macOS user. Let me try to describe the problem I'm facing as succinctly as possible Just this morning, when I'm unable to get any internet connection even though WiFi is connected (full strength). All my other devices has no issues when connected to the same network (it's my home network) I've logged into the router, and checked, there are no blacklisted IP/MAC addresses. Additional information I'm using a tMBP 15\" for over a year I've had no issues with any WiFi connectivity to my home network before today. ping from terminal doesn't work as well. I'm able to connect to my phone's hotspot, and get internet from my MBP. I have bootcamp set up. When I boot into Windows, I'm able to get internet access through my home WiFi How can I troubleshoot this to get to the root cause of the problem?",
"Writing a string array to text file separated by new line character",
"Do the laws of physics evolve? Hubble's constant $a(t)$ appears to be changing over time. The fine stucture constant $\\alpha$, like many others in QFT, is a running constant that varies, proportional to energy being used to measure it. Therefore, it could be agued that all running constants have 'evolved' over time as the Universe has expanded and cooled. Both the local and global curvature of the Universe changes over time implying that so too does the numerical value of $\\pi$. All these things are however constants (well, let's say parameters since they are not really 'constant'.) In with astronomer Sir Fred Hoyle, Feynman said \"what today, do we not consider to be part of physics, that may ultimately become part of physics?\" He then goes on to say \"..it's interesting that in many other sciences there's a historical question, like in geology - the question how did the Earth evolve into the present condition? In biology - how did the various species evolve to get to be the way they are? But the one field that hasn't admitted any evolutionary question - is physics.\" So have the laws of physics remained form-invariant over the liftetime of the Universe? Does the recent understanding of the aforementioned not-so-constant constants somehow filter into the actual form of the equations being used? Has advances in astronomical observations, enabling us to peer back in time as far back as the CMB, given us any evidence to suggest that the laws of nature have evolved? If Feynman thinks that \"It might turn out that they're not the same all the time and that there is a historical, evolutionary question.\" then this is surely a question worth asking. NB/ To be clear: this is a question concerning purely physics, whether the equations therein change as the Universe ages, and whether there is any observational evidence for this. It is not intended as an oportunity for a philosophical discussion."
] | medi_sts_stackexchange_dupe |
Windows10 - Change name on 'users' folder | How to rename the User folder in Windows 10? | [
"How to set the chapter style in report class? I want to set chapters to look like 'bigger' sections. Now in the report class I have a style like: Chapter 1 Introduction 1.1. Section What I want to achieve is: Introduction 1.1. Section I don't want to change the document class.",
"What's the fastest and easiest to read implementation of calculating the sum of digits? I.e. Given the number: 17463 = 1 + 7 + 4 + 6 + 3 = 21",
"What is the correct way to edit a crontab file?",
"Unable to preserve ownership in a copy but able with a move?",
"How to use more than 10 tab stops in bmatrix or other amsmath matrix environments? I'm using bmatrix environment from the amsmath package, and I'm trying to do something like this: \\documentclass{article} \\usepackage{amsmath} \\begin{document} \\begin{equation} \\begin{bmatrix} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11\\\\ \\end{bmatrix} \\end{equation} \\end{document} However, pdfLaTeX returns an error: \"Extra alignment tab has been changed to \\cr\", and in the output the extra element is moved to the next row. (If I remove one element, then it works perfectly fine). I guess this means that I've hit some hard limit on the number of tab stops in a matrix. Is there a way to change this? The elements in the matrix are short and could fit perfectly on a single row.",
"How do you programmatically set an attribute? Suppose I have a python object x and a string s, how do I set the attribute s on x? So: >>> x = SomeObject() >>> attr = 'myAttr' >>> # magic goes here >>> x.myAttr 'magic' What's the magic? The goal of this, incidentally, is to cache calls to x.__getattr__().",
"A sum of series problem: $\\frac{3}{1!+2!+3!} + \\frac{4}{2!+3!+4!} + \\cdots + \\frac{2008}{2006!+2007!+2008!}$ I have a question regarding the sum of this series: $$\\frac{3}{1!+2!+3!} + \\frac{4}{2!+3!+4!} + \\cdots + \\frac{2008}{2006!+2007!+2008!}$$ My approach: I found that this sum is equal to: $$\\sum_{n=3}^{2008}\\frac{n}{(n-2)!+(n-1)!+(n)!}$$ I reduced it to : $$\\sum_{n=3}^{2008}\\frac{1}{n(n-2)!}$$ Please suggest how to proceed further.",
"I remember my English teacher saying that there are only two valid ways to make a one-word sentence: A question: Why? Where? A command: Go! Stop! Is this correct?",
"A question that may sound very trivial, apologies beforehand. I am wondering why $( \\mathbb{Q}_{>0} , \\times )$ is not isomorphic to $( \\mathbb{Q} , + )$. I can see for the case when $( \\mathbb{Q} , \\times )$, not required to be positive, one can argue the group contains elements with order 2 (namely all negatives). In the case of the requirement for all rationals to be positive this argument does not fly. What trivial fact am I missing here?",
"Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?",
"Linear Matrix Inequality of a matrix $T$ with $\\| T \\|_2 < \\rho$ Assume $T \\in \\mathbb{R}^{d\\times d}$. Let $\\rho(T)$ be the spectral radius of $T$ and $\\rho \\ge 0$. Prove that $\\rho(T) < \\rho$ if and only if there exists a $P \\succ 0$ satisfying $T^TPT - \\rho^2 P \\prec 0$. I can prove the Necessity: If $P = I$, for any $x \\in \\mathbb{R}^d$, \\begin{equation} x^T T^T P T x - \\rho^2 x^T P x = \\| Tx \\|^2 - \\rho^2 \\| x\\|^2 < 0 \\end{equation} so $T^T PT - \\rho^2 P \\prec 0$ I get stuck in proving the Sufficiency.",
"If I insert a flash drive and try to drag any files onto desktop - nothing happens. Or from any other folder. Drag 'n copy only works if you open desktop in nautilus (\"show desktop in files\"). I already ran the command: gsettings set org.gnome.nautilus.preferences use-experimental-views false It didn't help. How to fix this?",
"I'm pretty new to this and this is my first question here, any help would be greatly appreciated. So basically what I want to achieve is a floor material as seen in this photo... ...the reflections are very crisp but dim. With a glossy shader I get the following results: First picture: reflections are blurry Second picture: roughness of the material looks right but reflection is bright red Third picture: If tinted in any other color than white, it seems to produce the result I want. Reflection is sharp and gets tinted blue. What I need is the reflection to be tinted white. Thanks for any help.",
"Find the set of $n\\in\\Bbb Z^+$ with $M=\\{n,n+1,n+2,n+3,n+4,n+5\\}$ partitionable into two sets Find the set of all positive integers $n$ with the property that the set $M=\\{n, n + 1,n + 2,n + 3,n + 4,n + 5\\}$ can be partitioned into two sets such that the product of the numbers in one set equals the product of the numbers in the other set. If $n=1$ them $M=\\{1,2,3,4,5,6\\}$ and there is no such partition, so $n \\ge 2$. If the prime $p|n$ then either $p|2$ or $p|3$ or $p|5$ which means either $p=2$ or $p=3$ or $p=5$. Suppose $n=2k$. Then $M=\\{2k, 2k + 1,2k + 2,2k + 3,2k + 4,2k + 5\\}$. I have no idea how to proceed.",
"Elizabeth's Brooch - follow-up question",
"Date api for managing off days in an year?",
"Find all natural numbers $n$ and $m$ for which $n^m=(n-1)!+1$",
"Defend against flag spam in chat We have incidents where we get 10+ flags from the same room in rapid succession. This happens on multiple occasions and we have reason to believe it's a single user doing this. I don't think it's of value to allow a single user to flag more then n messages in a small time period. If we could have some anti-flag spam measures put in place, then that would be great.",
"How to distribute proprietary Mathematica code",
"packed vs unpacked vectors in system verilog Looking at some code I'm maintaining in System Verilog I see some signals that are defined like this: node [range_hi:range_lo]x; and others that are defined like this: node y[range_hi:range_lo]; I understand that x is defined as packed, while y is defined as unpacked. However, I have no idea what that means. What is the difference between packed and unpacked vectors in System Verilog? Edit: Responding to @Empi's answer, why should a hardware designer who's writing in SV care about the internal representation of the array? Are there any times when I shouldn't or can't use packed signals?"
] | medi_sts_stackexchange_dupe |
When to use standalone lightmeter when your camera already has it? | Why use a dedicated light meter instead of the one built into the camera? | [
"In Inkscape when I apply a dash stroke, then set a mid marker shape, it does not show anything.",
"Sum of compact sets Let $A,B$ two non-empty compact subsets of a normed space X. How can we prove that the set $S=A+B=\\{a+b : a \\in A, b \\in B\\}$ is compact? Here's my reasoning: Let $\\Omega = \\{\\Omega_1, \\Omega_2,…\\}$ be an open cover of $S$. $\\Omega$ induces two open cover $X,Y$ respectively of $A,B$, where $X_i = \\{a \\in A : a+b \\in \\Omega_i~~for~some~b\\}$ $Y_i = \\{b \\in B : a+b \\in \\Omega_i~~for~some~a\\}$ in practice $\\Omega_i = X_i + Y_i$. Now my idea is build a finite subcover this way: consider a finite subcover $X_F = \\{X_j : j \\in J\\}$ where $J$ is a finite set of indices. If $Y_F = \\{Y_j : j \\in J\\}$ is a finite subcover of $B$, then we are done as $\\{\\Omega_j : j \\in J\\}$ is a subcover of $\\Omega$. Otherwise we can keep adding indexes to set $J$ until $Y_F$ becomes a finite subcover of $B$. This is not too formal but I don't want to make a simple question unreadable, I think the idea should be clear. Does this works? Is there a better/easier way to get the same result?",
"How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate \"Fig.: bla bla\" captions. A figure is supposed to spread over the entire text width, but I have two figures which are narrow and long, and I need to save the space in order to withstand the pages limit.",
"How can I programmatically force-stop scrolling in a UIScrollView?",
"I was checking on something in the Harry Potter wiki and saw Harry listed as \"Half-Blood.\" Both his parents were magical, but, as we know, his grandparents on his Mother's side were muggles. This reminds me of the racially loaded terms like octoroon. (In the south, you still hear those terms every once in a while.) When there was still segregation, having only 1 great-grandparent of an ethnic group was enough to classify a person of that group. So how far down the line did it go in the Harry Potter universe? Just how many generations removed from a muggle-born would a person have to be before they're no longer classified as half-blood or something similar?",
"Will acceleration rate of expansion of space become faster than speed of light?",
"Black holes and positive/negative-energy particles I was reading Brian Greene's \"Hidden Reality\" and came to the part about Hawking Radiation. Quantum jitters that occur near the event horizon of a black hole, which create both positive-energy particles and negative-energy particles, produce the so-called Hawking radiation. However, I do not understand why only the negative-energy particles are being absorbed into the black hole, while the positive-energy particles shoot outward. Shouldn't there be 50/50 chance that each type of particle is being absorbed by the black hole? Also, the book mentions that a negative-energy particle would appear to an observer inside the black hole as positive. Why?",
"First I tried to use integration: $$y=\\lim_{n\\to\\infty}\\frac{a^n}{n!}=\\lim_{n\\to\\infty}\\frac{a}{1}\\cdot\\frac{a}{2}\\cdot\\frac{a}{3}\\cdots\\frac{a}{n}$$ $$\\log y=\\lim_{n\\to\\infty}\\sum_{r=1}^n\\log\\frac{a}{r}$$ But I could not express it as a riemann integral. Now I am thinking about sandwich theorem. $$\\frac{a}{n!}=\\frac{a}{1}\\cdot\\frac{a}{2}\\cdot\\frac{a}{3}\\cdots\\frac{a}{t} \\cdot\\frac{a}{t+1}\\cdot\\frac{a}{t+2}\\cdots\\frac{a}{n}=\\frac{a}{t!}\\cdot\\frac{a}{t+1}\\cdot\\frac{a}{t+2}\\cdots\\frac{a}{n}$$ Since $\\frac{a}{t+1}>\\frac{a}{t+2}>\\frac{a}{t+1}>\\cdots>\\frac{a}{n}$ $$\\frac{a^n}{n!}<\\frac{a^t}{t!}\\cdot\\big(\\frac{a}{t+1}\\big)^{n-t}$$ since $\\frac{a}{t+1}<1$, $$\\lim_{n\\to\\infty}\\big(\\frac{a}{t+1}\\big)^{n-t}=0$$ Hence, $$\\lim_{n\\to\\infty}\\frac{a^t}{t!}\\big(\\frac{a}{t+1}\\big)^{n-t}=0$$ And by using sandwich theorem, $y=0$. Is this correct?",
"If $g \\circ f$ is surjective, show that $f$ does not have to be surjective? Suppose $f: A \\to B$ and $g: C \\to D$ are functions, and that $B ⊆ C$. I need to come up with an example where $g \\circ f$ is surjective but $f$ is not. I'm confused on how exactly to do that, but I understand that to show something is surjective you have to have the range of the function equal to the codomain of the function. Here's my attempt: So if $g(x) = x^2$ with a codomain of $ℝ$, and $f(x) = \\sqrt{x}$ with a codomain of $ℝ$, then $g(f(x)) = (\\sqrt{x})^2 = x$. Since the range of this function and codomain are the same, this is surjective. But, since $f(x) = \\sqrt{x}$, its range is only $[0, ∞)$, which is smaller than its codomain of $ℝ$, meaning $f$ is not surjective.",
"How can I understand and prove the \"sum and difference formulas\" in trigonometry?",
"I am looking for an animated series, shown in the 90s. I remember an episode where the boy went into VR and fought a medusa-like monster. It may be that this was the premise for the whole series: That the children heroes go into VR every time to fight the evil guys. I am not sure if the whole series were computer-animated but surely there were such elements together with classic animation. The style of the series was quite dark and cool for teenage boys.",
"How to use -exec option in find command I wanna solve some problems in compiz with my brain and hands. By the way I entered following command to build compiz from source in Ubuntu 12.04 find /opt/compiz-built/share/gconf/schemas -exec gconftool-2 --install-schema-file={}; I referred that command at And following message is shown. How to use -exec option in find command, I guess that it's my mistake.",
"Unable to install \"\": snap \"\" has \"install-snap\" change in progress I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example \"vlc\"): unable to install \"vlc\": snap \"vlc\" has \"install-snap\" change in progress I hope somebody can tell me what I've done wrong.",
"Heathrow change in terminal flight UK Border control check? I am traveling from NYC to Mumbai via London. Assume my connecting flight belongs to different terminal. If I have to change terminal at Heathrow, do I need to go through UK Border control ?",
"Java: Sorting user-input array upon return",
"I got some new hard discs and would like to set my PC up in the following way: Ubuntu is currently installed on one drive I want to put Windows on a second drive I would like a third drive for shared content (music and stuff) that both OSes can access What I need to know is what format should the content drive be? How should I configure the drive order in my bios for GRUB to be boot manager and how to configure GRUB for multi-HDD booting?",
"On thanksgiving day a woman posted in a facebook group that her father had just passed away (left her money) and in good deed because it was thanksgiving she was offering to pay people’s debts. Well I inboxed her and she pretty much wants me to open up a bank account with First Tech Credit Union and give her my log in and password info. Ofcourse its sketchy! So I questioned her and asked why she wanted that instead of her sending me the money directly from her bank to mine. She then responded because she wants to keep records of my debts. (She asked for proof and I sent her screenshots ONLY of my outstanding balances) I heard about the depositing checks scam so I questioned her about how she would deposit the funds and she said cash. Her facebook page is 100% legit, I screenshotted her pics and family profiles etc. We came to an agreement that I would only accept her help if she sends me a picture of her ID before me sending this info. She literally just wants to deposit the money to me, She isn’t asking me to send nobody money from that account or anything. Of course the account will be empty when I provide it to her. When she does deposit the money I am planning to immediately change the password and obviously stay watching my account activity while she deposits the funds. She actually also provided pics of other accounts she funded. My question is, is this a scam? And if so how could she possibly scam me? Specially if i have her information and A pic of her ID. She is a christian lady and looks like she has a good heart, We talked about my struggles and she actually looked into why I needed to be assisted with the money. By no means was she pushy or anything. I want to believe that she just wants to help me but I am also too skeptical.",
"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}",
"Is it true that if $A$ is a nonnegative primitive matrix, then $AA^T$ is also primitive? Obviously $A^T$ is primitive but in general product of primitive matrices is not primitive. Any hint?",
"Skype window problem in Ubuntu 14.04"
] | medi_sts_stackexchange_dupe |
Mirroring 2 out of 3 HDMI displays (2 monitors and 1 TV) | How can I mirror one of the screens in a 3-monitor setup? | [
"From the : -exec command ; There are unavoidable security problems surrounding use of the -exec action; you should use the -execdir option instead. -execdir command {} + Like -exec, but the specified command is run from the subdirectory containing the matched file, which is not normally the directory in which you started find. This a much more secure method for invoking commands, as it avoids race conditions during resolution of the paths to the matched files. What does this mean? Why are there race conditions with running it from the starting directory? And how are these security risks?",
"Quick Look support for non-native video files (.avi, .mkv) on Mavericks In the past, we've been able to get codecs for DivX/XviD/MPEG4 and support for containers like AVI, MKV in Mac OS X's Quick Look feature using (as per ). As noted on the Perian site, development has ceased, and future versions may or may not continue to work. It seems with the upgrade to OS X 10.9 \"Mavericks\", the OS or Quick Look API has changed sufficiently that Perian no longer works. Are there any alternatives? Ideally a one-app-does-all like Perian, but even a list of individual codecs and/or plug-ins for video container files would be useful. NB: This question isn't about video players—there are many that support more than those playable via the built-in QuickTime player. This question is about codecs/plug-ins for QuickTime on OS X to allow it and Quick Look (and apps which rely on the OS to play videos) to open/play video files/formats lacking native support.",
"Create a new cmd.exe window from within another cmd.exe prompt",
"How to change default user in WSL Ubuntu bash on Windows 10",
"How to import Illustrator swatch libraries into InDesign - Adobe Indesign Mac? I have a very reach swatch library in adobe-illustrator like food colors and.... But in adobe-indesign I don't have many colors. Why? Can I import them to indesign?",
"Breitbart today: What is the source for the term nothing-burger?",
"Variation of the Kempner series – convergence of series $\\sum\\frac{1}{n}$ where $9$ is not a digit of $1/n$. It is easy to argue that the converges: $$ \\sum\\limits_{\\substack{n \\text{ s.t. 9 is}\\\\\\text{ not a digit} \\\\\\text{ of } n}} \\frac{1}{n} < \\infty$$ Let $E \\subset \\Bbb N_{>0}$ the subset of the positive integers such that $9$ is not a digit of the decimal expansion of $1/n$ (the decimal expansion is not allowed to have a trailing infinite sequence of \"$9$\"s. For instance $0.24999...$ is not allowed). Here are the that don't belong to $E$ : $11,13,17,19,21,23,29,31,34,38,41,…$ (not known by the OEIS, by the way). My question is: Does the series $$ \\sum\\limits_{n \\in E} \\frac{1}{n} \\tag 1$$ converge? My attempt is : Let $1/n = 0,a_1 a_2 \\dots a_k \\overline{b_1 b_2 \\dots b_m}$ with $n \\in E$. Since $1/n$ has no digit \"9\", we have at most $9^{k+m}$ possibilities for the $a_i$'s and $b_j$'s. Moreover, $1/n ≥ 0,00...0\\overline{00...01}≥1/10^{k+m}$. But then I can only bound my series $(1)$ from below, by some real number. So, this is not a clue for the divergence of the series. Apparently, the numbers of the form $n=10k+1$ don't belong to $E$. Maybe we can find sufficiently many numbers that have $9$ in the decimal representation of their reciprocals, so that $(1)$ could converge... Any comment will be appreciated !",
"cgi and tomcat im trying to run a cgi script (.cgi) with tomcat. I am getting the below error and cant find out whats wrong. I know i should really use apache and mod proxy but this really isnt my area of expertise so im taking the easy way out! Thanks for any help. java.io.IOException: Cannot run program \"perl\" (in directory \"C:\\Java\\tomcat\\webapps\\my_app_name\\WEB-INF\\cgi\"): CreateProcess error=2, The system cannot find the file specified java.lang.ProcessBuilder.start(ProcessBuilder.java:459) java.lang.Runtime.exec(Runtime.java:593) java.lang.Runtime.exec(Runtime.java:431) org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1705) org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:597) javax.servlet.http.HttpServlet.service(HttpServlet.java:627) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416)",
"I try to create a common extent for rasters in QGIS 2.99. Here is my script: import processing processing.runalg(\"script:unifyextentandresolution\", \"/qgis_data/rasters/Image2.tif; /qgis_data/rasters/Image1.tif\", -9999,\"/qgis_data/rasters\",True) However, processing.runalg is being used for QGIS 2.99. I need it for QGIS 2.99",
"In Avatar: The Last Airbender, Aang's eyes glow when he goes into the Avatar State. This seems to be the case with all Avatars, but Aang and the other airbending Avatars tattoos glow too. Is there any reason for why airbending Avatars tattoos glow as well as their eyes?",
"How many times can I benefit from Advantage if I attack multiple times while not seen? A hidden ranger with Extra Attack attacks a surprised creature. Do both attacks benefit from Advantage, or just the first one? If the ranger used Horde Breaker on another creature, would this attack benefit from Advantage?",
"How do I install the latest OpenOffice?",
"Is it possible to automatically \"add\" \\left and \\right commands in front of all brackets? The source code should be left intact, but LaTeX should interpret every pair of brackets as if they were preceded by such commands. This is because adding \\left and \\right commands is time consuming and makes source code longer and less readable. I considered defining new commands such as \\lb and \\rb for \\left( and \\right), but it doesn't seem very elegant to me: what if I also want to add square brackets for example? Any ideas? Thanks.",
"When I compile with LuaLaTeX and TL2016 this MWE \\documentclass{article} \\usepackage[no-math]{fontspec} \\usepackage{luatex85} \\usepackage{shellesc} \\setmainfont{Minion Pro} \\begin{document} \\huge{huge} \\textbf{\\huge{huge}} \\Huge{Huge} \\textbf{\\Huge{Huge}} \\end{document} I have this .pdf. Any help? With TL2015 all is correct. Thanks",
"How can I listen to communication between a process and a serial port? On a Gentoo Linux machine, a process is communicating with another computer via serial port (/dev/ttyS1). I want to listen to this communication (i.e. what is being sent/received by the process) without further interfering. How can I achieve this with just basic Linux tools? I even can change the serial port the process is communicating with, so maybe I can 'shortcut' two devices (/dev/ttyS1 and /dev/xxx) listen to all communication, when all output to /dev/ttyS1 is forwarded to /dev/xxx and vice versa. But how do I do it? Something with socat?",
"Why does default auto.arima stop at (5,2,5)? The function auto.arima in the forecast package of R is a powerful tool to identify the best ARIMA(p,d,q) model for a given data series. In the of the function, they report the following: auto.arima(y, d=NA, max.p=5, max.q=5, max.order=5, max.d=2, start.p=2, start.q=2, ...) According to the above function it seems that, by default, auto.arima tries to find the best model among all the combination having: p equal or lower than 5 q equal or lower than 5 d equal or lower than 2 order equal or lower to 5, i.e. p + q + d ≤ 5. However, why does the default code stops at these conditions? Is there any particular reason why p, q and d should be equal or lower than 5, 5 and 2 and their sum lower than 5?",
"What is the importance of the Diophantine inequality $\\frac{1}{p} + \\frac{1}{q} + \\frac{1}{r} > 1$? In Humphreys' book Introduction to Lie algebras and Representation Theory(3rd printing, p.62), the Diophantine inequality $$\\frac{1}{p} + \\frac{1}{q} + \\frac{1}{r} > 1$$ appeared while classifying all Coxeter graphs of irreducible root systems. Under the assumption $p \\geq q \\geq r \\geq 2 $, the possible triples turn out to be $(p,2,2), (3,3,2),(4,3,2),(5,3,2)$, which correspond to the Coxeter graph $\\text{D}_{p+2}, \\text{E}_6, \\text{E}_7, \\text{E}_8$, respectively. It seems quite straightforward to solve the inequality in positive integers, but Humphreys said that This inequality, by the way, has a long mathematical history. without further comment. So I want to know if this Diophantine inequality has any important significance, or if it has appeared in other context (maybe relevant history) before.",
"Parsing input with scanf in C I've been having a lot of problems trying to figure out how to use scanf(). It seems to work fine with integers, being fairly straight forward scanf(\"%d\", &i). Where I am running into issues is using scanf() in loops trying to read input. For example: do { printf(\"counter: %d: \", counter); scanf(\"%c %c%d\", &command, &prefix, &input); } while (command != 'q'); When I enter in a validly structured input like c P101, it seems to loop again before prompting me. This seems to happen even with a single: scanf(\"%c\", &c) in a while loop. It'll do the loop twice before prompting me again. What is making it loop twice, and how do I stop it? When I enter in less amount of input that programmatically wouldn't have another character or number such as q, pressing enter seems to prompt me to enter more. How do I get scanf() to process both single and double character entries?",
"Generalization of Hölder inequality",
"What is the difference between implication symbols: $\\rightarrow$ and $\\Rightarrow$? I do not understand the difference between $\\rightarrow$ and $\\Rightarrow$. Sometimes I see implication truth tables labeled with the former, sometimes with the latter. Aren't they synonyms of logical implication or is there any difference?"
] | medi_sts_stackexchange_dupe |
Button in fragment gives null pointer for no reason | What is a NullPointerException, and how do I fix it? | [
"Last seen not updating when using Android app This isn't directly related to the app, but probably more on the APIs it's using. The last seen on the profile page doesn't seem to reflect that I'm actively using the Android app, or taking actions. I was able to vote on items and the last seen property on the profile page said I was last seen 50 minutes ago, when I was using a computer. I'm assuming it won't count as a visit for the Enthusiast and Fantic badges either. I don't want someone angrily posting on Meta swearing they used the app for a day, yet they lost the consecutive days and has to prove it by showing they voted for something (we're probably far from this situation since it's alpha...)",
"How to model non-negative zero-inflated continuous data? I'm currently trying to apply a linear model (family = gaussian) to an indicator of biodiversity that cannot take values lower than zero, is zero-inflated and is continuous. Values range from 0 to a little over 0.25. As a consequence, there is quite an obvious pattern in the residuals of the model that I haven't managed to get rid of: Does anyone have any ideas on how to solve this?",
"How does PK know better than Jaggu? In , PK knows about Jaggu's boyfriend that he didn't cheat/left her in Belgium. But PK only read the mind of Jaggu. PK didn't know about Tapasvi's lies. How does he know that Sarfaraz still loves Jaggu in the ending?",
"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.",
"Author information column wise I am using authblk package and I want to achieve following output using this package.",
"I don't understand, because if 'don't' is 'do not' then wouldn't the sentence without conjunctions be 'do not you dare' which I'm pretty sure isn't grammatically correct. Like, when we say the term it means something else, certainly not 'do not you dare' anyway. Any ideas on why? I am so glad English is my first language.",
"Post for clarifications on the updated pronouns FAQ",
"Cannot install R-forge package using install.packages",
"Is there a single word or very short phrase to describe the act of contemptuously referring to someone by using a diminutive \"nickname\", with which that person is not normally associated? For example, referring to Henry Wadsworth Longfellow as Hank Longfellow? Or William Penn as Billy Penn?",
"I want to get the following: I tried the following \\[ a(i,k) \\leftarrow \\min\\Big\\{0, r(k,k) + \\sum_{i^{'} | i^{'}\\notin \\{i,k\\}}\\max\\{0, r(i{'},k)\\}\\Big\\} \\] and got How can I make the part under the summation extend to left and right without making a space between plus and max as in the first figure?",
"Var[A+B+C] = Var [A] + Var [B] + Var [C] I know that this relationship is correct when A,B and C are pairwise independent. However, I'm finding it difficult to calculate it. Let's say that: Var [A] = Var [B] = Var [C] = 0.25. How can I prove that Var[A+B+C] = 0.75? I started to work with the formula: Var[A+B+C] =E[(A+B+C)^2]−(E[A+B+C])^2 but I got stuck. Thanks!",
"Let's say I have 1m of 2,5mm² copper wire, insulated with H07V-K. The wire carries 40A and environment temperature is 25°C. The wire is suspended in free air. How hot will the wire get? And how can I calculate it for other values? The use case is a 12V-230V AC converter I want to hook up to my car and determine the minimum wire thickness required. Because it's only used from time to time and not buried in a wall I suspect I can use thinner wires. This is a temporary thing and doesn't need to be up to code.",
"\"See somebody do\" and \"see somebody doing\"",
"I know what you're thinking: \"of course it has, for example, it can be used to tell you how many times you can go around a circle\". But that isn't really true, now is it? You'd be dead or the world would go under long before an infinite amount of loops had been reached. Are there any practical applications for the concept of infinity? Is it a useful concept in maths at all? I know that Donald E. Knuth has argued that for all practical purposes, a very, very large number has the same effect as infinity, in his book \"Things a Computer Scientist Rarely Talks About\" (can't remember the exact quote, nor find it online, unfortunately). Examples are appreciated.",
"How to evaluate the integral $$\\int_{25\\pi / 4}^{53\\pi / 4}\\frac{1}{(1+2^{\\sin x})(1+2^{\\cos x})}dx\\ ?$$",
"Hidden fields though inheritance",
"Using ArcPy to convert .txt to shapefile with coordinate system? I tried to define my coordinate system on creating the shapefile but when I zoom to layer I don't see my features and ArcGIS crashes. I know it's not in the coordinate system I defined for it but it shows the coordinate under properties but doesn't reflect when I zoom to layer. Here is my python code: import arcpy newfcName =\"newfc.shp\" outpath = r\"C:/FLOOD/IKEJA AND KOSOFE\" # Declaration arcpy.env.overwriteOutput=True arcpy.env.workspace= outpath # Create new Shapefile and add FIELDS newfc = arcpy.CreateFeatureclass_management(outpath, newfcName, \"Point\") # get the coordinate system by describing a feature class dsc = arcpy.Describe(\"newfc.shp\" ) coord_sys = dsc.spatialReference try: # run the tool arcpy.DefineProjection_management(newfcName , coord_sys) # print messages when the tool runs successfully print(arcpy.GetMessages(0)) except arcpy.ExecuteError: print(arcpy.GetMessages(2)) except Exception as ex: print(ex.args[0]) arcpy.AddField_management(newfc, \"X\", \"STRING\", field_length = 50) arcpy.AddField_management(newfc, \"Y\", \"STRING\", field_length = 50) arcpy.AddField_management(newfc, \"Z\", \"STRING\", field_length = 50) arcpy.AddField_management(newfc, \"I\", \"FLOAT\", field_length = 50) # Reference Cursors cursor=arcpy.da.InsertCursor(newfc, [\"X\", \"Y\", \"Z\", \"I\"]) # Read File a = open(\"C:/FLOOD/IKEJA AND KOSOFE/DEM/532722.txt\",\"r\") inputF = a.readlines() for line in inputF: xCoordinate, yCoordinate, zValue, iValue = line.split(\" \") newRow = (str(xCoordinate), str(yCoordinate), str(zValue), float(iValue)) cursor.insertRow(newRow) a.close()",
"Would the One Ring have stayed hidden if Bilbo hadn't turned up?",
"I've been studying the Huddleston and Pullum book for four months now. So far only one thing confuses me: the identity of gerund. Is it a noun or a verb? His constant smoking upset me. smoking seems noun because of adjective constant. Him/His constantly smoking upset me. smoking seems to be verb because of adverb constantly. Him/His smoking cigars upset me. smoking seems to be a verb because of object cigars. \"His smoking upset me.\" So is this smoking gerund a noun or verb? Because there is no differentiation, is it both verb and noun? Maybe it's new word category? Also his seems to be both sometimes a subject and at other times a possessive determiner. Is that correct?",
"How symbol lookup actually works"
] | medi_sts_stackexchange_dupe |
Using trigonometric identities to simply the following expression $\tan\frac{\pi}{5} + 2\tan\frac{2\pi}{5}+ 4\cot\frac{4\pi}{5}=\cot\frac{\pi}{5}$ | To prove $ \tan(A) + 2 \tan(2A) +4\tan4A + 8 \cot8A =\cot(A) $ | [
"Subscribe to a particular question by email (not RSS)",
"How can I permanently enable cheating?",
"Let $a>0$ and $f: \\mathbb R \\rightarrow \\mathbb R$ with a property $\\forall x,y \\in \\mathbb R;$ such that $0\\;<\\;y\\;-\\;x\\;<\\;a$ $$f(x)\\;<f(y).$$ Prove if the statements are true or false: $1)$ $f$ must be injective. $2)$ $f$ must be surjective. I tried to use a quarter of a circle with radius $r=a$ or a right-angled triangle and translate it. When I moved it, I saw new values of $f$. I concluded the maximum value in the previous interval can't appear again in another interval when the distance between one point in the first interval and one point in the second is less than $a$. I also considered using an absolute value function, but I haven't done anything. I think, but I haven't proven it, that the function must be bijective.",
"Often (via Google Now, or when searching for a solution to some problem), I'll open a question from a non-favourite site in the app. Sometimes, I'd like to see what else is going on in the site where the question was posted. Currently, I have one of two ways: Via tag icon: Click one of the tag icons beneath the title Delete the [tag] text (at which point, thankfully, the sorting changes to Active from Votes). Via manually searching for the site, which is more cumbersome. I type in hard and Hardware Recommendations is the fourth entry (below Ask Different, Raspberry Pi and Arduino)! This more annoying for meta sites, where I have to pick Meta from the dropdown menu. Can I pretty please have a way to head to the site directly from the question? Maybe: the site name in the top bar could become clickable and lead to the site, or an option in the More menu? This would be especially useful for Meta sites, where questions posted around the same time could be related. Interestingly enough, most questions that Google Now are for metas of sites I visit on occasion, but haven't pinned to the list.",
"What the #$@&%*! is that called?",
"Lucia is gone. Just gone Skyrim problem here. I've finally found a house mod that will support a family (as in allow them to move there). I'm excited to install it, but it says that a new save game is highly recommended unless you haven't adopted any kids yet. I recently adopted Lucia. I have two saves in my game, a quick and a full. I know that the full save has Lucia as adopted, but I'm not sure if the quick does. If it does not, then my reasoning is that I can install the mod and load that save, rather than having to work all the way back through eighteen levels. And here's the problem. I loaded the quick save and searched for Lucia, in an attempt to see if she was adopted or not. She is nowhere to be found. She is not sitting under the tree in the middle of Whiterun, she is not in Breezehome, and she is not in the inn. I tried to use console commands. both the moveto and placeatme commands do not work. I used both the refid and the baseid. Neither worked. I used help Lucia, thinking maybe the wiki was wrong on her ID. it gave me a different ID, which also didn't work. Every time, the console says either that it can't find the objectbaseid, or that the id is invalid. This has led me to the conclusion that Lucia has been entirely erased from the game's memory, and I KNOW that hasn't happened. Can someone tell me what is going on? Additional details: I am using a Breezehome overhaul mod. When I adopted Lucia, she moved in perfectly with no trouble though, so I can't really see how that would be the problem.",
"Who is the Community user?",
"Size in bytes is significantly less ( half the size) then size in MB in get info window In the get info window it says 387,037,139 bytes which is 387 MB whereas the size on disk is 716.9MB which is 716,900,000 bytes. du -sh paramgen result (in MiB) 684M paramgen Why is there such a large difference?",
"GParted can't resize partition, but unallocated partition is available",
"Is there a word or phrase for something that one might wish exists, but most certainly doesn't?",
"Do you need to take the Hide action when you are Invisible, make no noise and leave no traces? The Situation: Lets say you are under the effect of Invisibility. An invisible creature is impossible to see without the aid of magic or a special sense. For the purpose of hiding, the creature is heavily obscured. The creature's location can be detected by any noise it makes or any tracks it leaves. And you are wearing the Boots of Elvenkind While you wear these boots, your steps make no sound, regardless of the surface you are moving across. You also have advantage on Dexterity (Stealth) checks that rely on moving silently. Now your groups ranger or druid casts Pass Without Trace on you. [...] can’t be tracked except by magical means. A creature that receives this bonus leaves behind no tracks or other traces of its passage. My Question(s): I know that when you are Invisible and you did not hide, you are still detectable because of the noise and the track you leave behind. But the Boots of Elvenkind and Pass Without Trace take care of that. So: Are you still required to take the hide action in this situation if you don't want enemies to know your location/presence? If so, why? What gives away your location? If not and you are under the effect of greater Invisibility do you get the benefits of "Unseen Attackers and Targets" for every attack you make when you move between attacks? (You would give away your location, but are not detectable, so completely hidden again when you move)",
"String representation of an Enum",
"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",
"How to replace text in the body of an incoming message with a hyperlink in Outlook 2010?",
"How can I remove myself from India's visa blacklist?",
"How can I find $\\lim_{n\\to \\infty} a_n$ Let $$a_n=\\left(1-\\dfrac{1}{\\sqrt2}\\right)\\dots \\left(1-\\dfrac{1}{\\sqrt{n+1}}\\right),n\\ge1$$ Then find $\\lim_{n\\to \\infty} a_n$. How can I proceed? I am stuck at the first step. Please help.",
"How to compute $\\lim _{x\\to 0}\\frac{x\\bigl(\\sqrt{3e^x+e^{3x^2}}-2\\bigr)}{4-(\\cos x+1)^2}$? I have a problem with this limit, I don't know what method to use. I have no idea how to compute it. Is it possible to compute this limit with the McLaurin expansion? Can you explain the method and the steps used? Thanks. (I prefer to avoid to use L'Hospital's rule.) $$\\lim _{x\\to 0}\\frac{x\\bigl(\\sqrt{3e^x+e^{3x^2}}-2\\bigr)}{4-(\\cos x+1)^2}$$",
"Sort file by group of lines If I have a file with contents similar to: FirstSection Unique first line in first section Unique second line in first section SecondSection Unique first line in second section Unique second line in second section ... NthSection Unique first line in Nth section Unique second line in Nth section Is it possible to use unix commands (e.g. sort, awk) to sort the file alphabetically by the first non-indented line in each three line group, whilst keeping the indented lines under their existing group?",
"Can the Ubuntu logo be used for a commercial website? Is there an Ubuntu logo that can be used on a commercial website to indicate that Ubuntu can be installed for customers?",
"In Cocoa KVO, why doesn't a change on a NSMutableArray proxy notify observers?"
] | medi_sts_stackexchange_dupe |
How to copy text from PDF and paste into word without keeping the source format and linebreaks? | Is there an efficient way to copy text from a PDF without the line breaks? | [
"parallel thermostat I have a venter room heater in a cabin. It uses a milivo;t thermostat. I am hooking it up to a wifi thermostat using a relay and 24 volt power supply. My concern is that if the power goes off that the thermostat will not power the unit on. I currenty have a digital thermostat that controls the unit and works great. can I wire the current thermostat to the wifi in parallel so if power goes off it will still allow the heater to turn on. If I can how do I wire it?",
"We have a SQL Server 2012 instance that contains a database with data for many product lines. We are looking for a way to take subsets of this data into another database on the same instance. This doesn't have to be continuous as we are looking for ways to make it easy to export backups of the subsets that we can send out to vendors (we have a company that loads this data into their own sql server to produce a product we sell, naturally its huge and we want to trim it down to just the product lines they work with on a regular enough basis) or use to load SQLite DB's for use with offline applications. ProductDB - the superset of all product line data. ProductLine1DB - A subset identical in structure to ProductDB, but with data only relevant to product line 1. ProductLine2DB - A subset identical in structure to ProductDB, but with data only relevant to product line 2. This can be done nightly, weekly, as often as we need to but not a continuous replication. We don't want to add in distributor servers or even extra subscriber servers. We would like the replication to happen on the same server with the subscriber databases being on the same server. Is this a good candidate for transactional replication? Why or why not? We obviously have other options to load this data, but it seems like this might be a good case to use something like transactional replication. I've heard its powerful but prone to issues when not setup optimally. Note: I am not a DBA, simply a developer, but we are currently looking for a new DBA and some of us are taking over duties like this temporarily.",
"I have encountered this question while tring to figure out why every sequential space $X$, is a quotient spaces of a metric space. If I understand correctly, given a sequential space, every sequence (including it's limit) can be identified with the space $Y=\\{0\\} \\cup \\{\\frac1{n+1}|n \\in N\\}$. So The space $X$ can viewed as a quotient space of $\\bigoplus_{(x_n) \\in C} \\{(x_n) \\} \\times Y$ where $C$ is the set of all converges sequences in $X$. My question is, How can I show that this space is metrizable? Thank you! Shir",
"Validationengine jquery not working properly for localization",
"When reviewing flags, either from the queue or from the flagged post, I often want to know what the flagger could have done in addition to, or instead of, flagging for mod attention. Does he have the rep to downvote? To comment? To vote to delete? Knowing this doesn't necessarily affect how I handle the flag, but if there's a possible teaching moment there I use the flag response to point it out. But I can't find this out unless I click through to the user's profile (unless I already know this user, of course). Would it be possible to get the flagger's reputation in a tooltip, like what's already done for comments?",
"There are many beings that have very big powers. There are beings that are worshipped as gods (Asgardians; and I would lump Azazel into that as well since Marvel seems to imply that he's - while a mutant - someone people consider to be \"Devil\"). There are mutants whose power would clearly have been considered as \"god like\" by people worshipping Greek or other polytheistic pantheons where the threshold to what made you a god was pretty low. But are there any actual major \"Gods\" in Marvel universe? Since there are many different definition of what a \"god\" is, the one that is pertinent to this question: Power wise, being able to create Universe(s); e.g. gods more in a sense of Christianity/Judaism scale rather than \"Pan\" or \"Hestia\" in Greek pantheon who merely have some limited supernatural powers over small domain of natural events. Effectively immortal, at least excluding specific exotic attacks. Origin-wise, be \"supernatural\", not merely a human mutant or a powerful alien with advanced technology. Desire/demand/like followers' worship or prayers.",
"How do I get: $$\\cos{\\theta} \\lt \\frac{\\sin{\\theta}}{\\theta} \\lt 1$$",
"Let $a_n$ be a sequence such that $\\forall n\\in \\mathbb n: 0<a\\le a_n\\le b <\\infty.$ Prove: $\\displaystyle\\limsup_{n\\to\\infty}\\frac 1 {a_n}=\\frac 1 {\\displaystyle\\liminf_{n\\to\\infty}a_n}$ $\\displaystyle\\limsup_{n\\to\\infty}a_n\\cdot \\limsup_{n\\to\\infty}\\frac 1 {a_n} \\ge 1$ and there's an equality iff $a_n$ is converging. Suppose there are two subsequences: $a_{n_l}, \\ a_{n_k}$ such that $\\lim a_{n_k} = k, \\ \\lim a_{n_l}=l$ and suppose $l\\le k$, so $\\lim \\frac 1 {a_{n_k}}=\\frac 1 k , \\ \\lim \\frac 1 {a_{n_l}}=\\frac 1 l$ so clearly: $\\frac 1 k\\le \\frac 1 l\\le l\\le k$ so it's easy to see once the largest limit (supermum) is 'inverted' it has to become the smallest limit (infimum). I realize this doesn't show equality, I don't know how to do the other way and I'm not even sure if what I did is good. If $a_n$ converges, suppose to $L$ as its limit then we have: $L\\cdot \\frac 1 L=1$. If it does not converge then $a_n$ may tend to infinity or won't have a limit. From 1 we can change it to $\\displaystyle\\limsup_{n\\to\\infty}a_n\\cdot \\frac 1 {\\displaystyle\\liminf_{n\\to\\infty}a_n} \\ge 1$ and from BW, every sequence has a converging subsequence, and since for converging subsequences: $\\liminf a_n\\le \\limsup a_n$ we have $\\frac {\\limsup a_n} {\\liminf a_n}=\\limsup a_n\\cdot \\limsup\\frac 1 {a_n} \\ge 1$. This should probably be in absolute value since one of those subsequnce limits can be negative, but it isn't in absolute value in the question.",
"Starting scheduled task by detecting connection of USB device",
"Does a wireless-N (802.11n) network have poor performance when in b/g \"mixed\" mode? It seems to be an \"old\" wives tale that, when using a wireless-N router in \"mixed mode\" to support legacy 802.11b or 802.11g devices, the performance of 802.11n clients will suffer. claim that when running in mixed-mode, all (some?) N clients run at G speeds. make the same claim, but say it only happens when a G client is connected. say N clients run faster, but still run about 30% slower than if the router were in N-only mode, even if there are no legacy B/G clients connected. claim there is no speed drop for N clients when running on a mixed-mode network. They say the only issue is that overall network throughput will be lower, because only one client can be transmitting at any time, so some of that transmission time must be shared with the legacy B/G clients running at lower speeds, reducing the overall throughput from what it would be if there were only N clients connected. So, which is it? Will running in mixed-mode slow down my network, even if there are no B/G clients? If I'm running N, will having another client connected at B/G slow me down substantially vs. if they were running N?",
"When you energise a taut string, the following resonant modes of vibration occur: Plotting on the frequency domain, you can see their corresponding frequencies: But what is the underlying physical principle? Why does this happen? Is there any way of explaining it that could be understood by a smart 15 year old? EDIT: I'm going to give my best attempt so far. Here goes: We can start with sympathetic resonance. Sounding a particular frequency, a pure sinewave. And noticing the string resonates sympathetically at the frequency of each harmonic. Say this is explained and understood. Now imagine that plucking a string is equivalent to a burst of white noise, which contains frequencies all the way through the spectrum. This could be approached backwards, by starting with random frequencies and noticing that resultant wave produced looks like white noise. If the above is scientifically correct, then it restricts the domain of the question. I would really like to be able to understand it scientifically and also be able to explain it intuitively. PS Images from",
"How to fix missing characters from font after awakening from suspend? I find that often after awakening from suspend on Ubuntu GNOME 16.04 with GNOME 3.20 (I have only found this issue on the latest version, though I have not tried with GNOME 3.18 on 16.04) that I get this strange font issue which can't be fixed by restarting gnome-shell and seemingly only by restarting my entire machine: I do not believe that this is a theme issue as I have tried all the built-in themes (including the dark and light versions) and it is the same for them all. Though it does not seem to affect gnome-shell areas, that is the top-bar, the Activities Overview, etc, are not affected for some reason. So what could this issue be caused by and how can I fix or workaround it? Information Update: I have had a look at but the only options in the gnome-tweak-tool for Antialiasing are Rgba, None, and Grayscale, but none of them seem to have any affect on the issue. Is there something I'm missing?",
"How do I set the default program? How do I set the default program that I use? I have tried to open System Info → Default Program → change my program, but it won't work, Any idea? Or should I use Terminal? I want to replace the default movie player with VLC media player, because the current movie player is useless to me.",
"What is CTAN.org now?",
"I'm looking for one word which describes what a student who missed classes needs to do in order to complete his missing. For example if he missed biology class he needs to seat with the teacher and study this missed class together with her and then he get the mark for this missed class. Someone -who isn't native English speaker- told me that it's called \"rework\". But I looked for it in some dictionaries (such as ) and I didn't find such definition. : \"SCHEDULE of reworks of missed classes\"",
"How can I add a folder to the launcher for quick access to it. In this particular case I wish to drag it to the launcher.",
"How do you safely encode a URL using JavaScript such that it can be put into a GET string? var myUrl = \"http://example.com/index.html?param=1&anotherParam=2\"; var myOtherUrl = \"http://example.com/index.html?url=\" + myUrl; I assume that you need to encode the myUrl variable on that second line?",
"I am looking for a YA book about a boy who learns to use powers from a mind-adept, in a seemingly abandoned house. The adept helps him open his mind by using a cube. One of his powers, I believe, is to go into dreams of people that he knows. He helps his young female neighbor friend by doing this, opening a door in her mind. He tries to open the mind-door of a local older bully, but finds out the young man can't be helped because he has been abused mentally and physically. I don't believe the book I read is past 1995. It might have the word \"adept\" in it.",
"Partial adb restore ICS devices support creating backups using adb backup, and restoring them using adb restore. Using adb backup, one can select that everything should be backed up, or only a certain package. However, adb restore lacks all the options of adb backup. When I call adb restore backup.ab, where backup.ab is only the backup of a single package, the phone shows me a warning dialog saying that all settings are going to be lost after restoring the backup. Is it true that restoring a single package backup wipes all data on the phone? If yes, is it somehow possible to restore a single package using adb restore?",
"How should I use a possessive apostrophe when a name is between commas?"
] | medi_sts_stackexchange_dupe |
What is the right SE site for Kuali apps related questions? | Which computer science / programming Stack Exchange sites do I post on? | [
"$E(|X-Y|)$ for $X$, $Y$ i.i.d and uniform on $[0,1]$ What is $E|X-Y|$ when $X$, $Y$ are i.i.d and uniform on $[0,1]$? I want to do something like $$ E(|X-Y|)=\\iint_{x>y}(x-y)\\;dxdy+\\iint_{y>x}(y-x)\\;dxdy=2\\iint_{x>y} (x-y)\\;dxdy $$ But am not sure how to solve that last double integral or if this setup is right.",
"How does RNA transcription determine which half of the DNA to use? I feel that I might have a complete misunderstanding here. If DNA has two strands, how does the machinery of RNA transcription determine which one to transcribe?",
"Can't access my home directory \"Encrypted private directory is not setup properly\" Hi I'm trying to access my home directory on my laptop hard drive through a live usb. I cannot boot into the OS on the hard drive and the home and root directory is encrypted. I have the encryption key but when I try to run the tool to gain access it pops up for a second then disappears and when I run the command in Terminal it says \"Encrypted private directory is not setup properly\". What are my options on getting into the directory? I really need to get the data off my laptop.",
"Can the Force be used to fly?",
"Configure long table caption",
"Is \"this Monday\" or \"next Monday\" the correct way to refer to the very next Monday in the future? Possible Duplicate: When I refer to the very next Monday that will occur in the future, I say \"next Monday\". Some colleagues refer to it as \"this Monday\", with \"next Monday\" meaning the second Monday which will occur in the future (I would refer to that as \"Monday week\", \"this Monday\" to me would mean the most recent Monday in the past). Are these both acceptable usages, or is one more correct than the other?",
"What's a word like \"disregard\" or \"bypass\" that means \"hides\"?",
"I frequently need to do the following things in MySQL: Create a non-root user Set that user's password Grant that user all privileges Make a database with the same name as the new user Allow usage only for users from the localhost. Previously I did this using PHPmyadmin, but I would prefer doing it directly from BASH. Is there a CLI way to execute these steps?",
"Does the cross-entropy cost make sense in the context of regression? Does the cross-entropy cost make sense in the context of regression (as opposed to classification)? If so, could you give a toy example through TensorFlow? If not, why not? I was reading about cross-entropy in by Michael Nielsen and it seems like something that could naturally be used for regression as well as classification, but I don't understand how you'd apply it efficiently in TensorFlow since the loss functions take logits (which I don't really understand either) and they're listed under classification",
"How to appeal to undelete an answer deleted by moderator? How can someone make an appeal to un-delete an answer that was deleted by a moderator? There should at least be an appeal/vote process, if the deletion was unfair. Moderators are humans like rest of us, and they can be unjust.",
"LaTeX baffled by BOM---Unicode's byte order mark. Unicode applies the convention of using a as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: EF BB BF, identifies this file as a UTF8 file. Vi and most text editors gracefully ignore this signature. Open office does that as well, but it adds this signature at the beginning. Now, if I open a TeX file with OpenOffic.org, and I do that quite a lot (for mixed directionality editing), the signature is added, and baffles LaTeX, which produces an error message such as: ! LaTeX Error: Missing \\begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.1 ��\\documentclass{article} whereas a simple dump of the file does not show the problem. Is there a way to eliminate this problem, while staying in the realm of latex?",
"How to figure if it is safe to travel to the area I am interested in? When planning a trip, I like to make sure I will feel safe enough (I am talking about war/terrorism risk, not pickpockets), or at least I like to have an idea about the risks. I know the risk could be subject to political views (for example the political stability of a region might not be acknowledged by every country) and therefore I am mostly interested in a Western country view. In order to figure that, I thought about checking travel operators offers. I suppose if they do not organise trips to a specific region, it might be due to political instability risks. But it might be due to a lack of tourist interest too. As I tend to travel without their help, I am not really considering this kind of source as very helpful. So I am interested in one (or two, for cross-checking) source(s) of information with a western view (I mean I understand the view could be biased) regarding the security of ideally any area in the world. My expectation is that, the same way I can browse a tour operator's catalog of visited areas, I could browse through the areas and see if it is recommended or not to travel there.",
"How to line up the pieces at the coast near the shipwreck? In The Witness, I was walking along the coast, and I came upon this: Now, since I've learned that mazes can be embedded in the environment, I see the puzzle here, but I just can't get the pieces to line up well enough. Standing on the couch and walking all around it doesn't seem to get me a functional maze. Where do I need to stand to activate the puzzle successfully?",
"Derivation of $E=pc$ for a massless particle? In classical mechanics, massless particles don't exist because for $m=0$, $p=0$. The relativistic relation between energy, mass and spatial momentum is: $E^2= (pc)^2 + (mc^2)^2$ . So it is said that setting $m=0$ in the first equation you get $E=pc$. How could setting $m=0$ in that equation give you $E=pc$ whilst $p$ appears in the equation and we know $p=γmu$? If you set $m=0$ you will have indeterminacy due to \"$γm$\". It seems to me like we are doing a \"trick\" in order to get the $E=pc$. Perhaps there is another proof for this relation?",
"In java SSL over https without certificate",
"Is it possible to Pivot data using LINQ? I am wondering if it is possible to use LINQ to pivot data from the following layout: CustID | OrderDate | Qty 1 | 1/1/2008 | 100 2 | 1/2/2008 | 200 1 | 2/2/2008 | 350 2 | 2/28/2008 | 221 1 | 3/12/2008 | 250 2 | 3/15/2008 | 2150 into something like this: CustID | Jan- 2008 | Feb- 2008 | Mar - 2008 | 1 | 100 | 350 | 250 2 | 200 | 221 | 2150",
"How do I change how executable files are handled by the file manager? When I double click on text files, nautilus asks me what I would like to do with them. I find this to be intrusive, as I just want them to open. How can I fix this? Note: This question is a \"canonical\" question on the subject; edit if needed. Note 2: Text files can be HTML, CSS, TXT, and more.",
"How can I boot with an older kernel version? The latest kernel is causing problems with my sound, which worked fine with an older version. As I have only Ubuntu installed, Grub is not getting displayed while booting. How can I manually choose my kernel version while booting?",
"Children's fantasy series with a symbol consisting of a circle divided into quarters I read this book series as a kid back in the late 1970s, so it's an old series - and my memories are similarly old, and vague. I know it's a fantasy series. I think there are 4 books in the series. Or perhaps 7. There's a central boy character who has to get a collection of magical objects (every fantasy needs a quest!), each of which represents a different magical 'element': wood, stone, fire, etc. I definitely remember there was a wooden object. He lives in our normal world. The whole series takes place \"here & now\". I have a feeling he's a \"chosen\" person of some kind... But, the strongest memory I have is of a symbol: a circle which is divided into quarters (a vertical bar and a horizontal bar). I know it's vague, but does anyone recognise this?",
"How to not count blank pages in frontmatter of two-sided document"
] | medi_sts_stackexchange_dupe |
How could I catch an exception from the default initialization of members in a constructor? | Catching exceptions from a constructor's initializer list | [
"The dimension of the Hilbert space is determined by the number of independent basis vectors. There is a infinite discrete energy eigenbasis $\\{|n\\rangle\\}$ in the problem of particle in a box which can be used to expand a general state $|\\psi\\rangle$ as: $$|\\psi\\rangle=\\sum\\limits_{n=0}^{\\infty} C_n |n\\rangle$$ Here, the basis implies that the Hilbert space has countably infinite number of basis vectors. But one could well expand $|\\psi\\rangle$ in any other basis as well, say the continuous position basis. Then that superposition, $$|\\psi\\rangle=\\int dx \\psi(x)|x\\rangle$$ is also possible. But this basis $\\{|x\\rangle\\}$ is continuous and uncountably infinite. Such sets cannot be equal because they have different cardinality. Then my questions is how many independent basis vectors are really there in this Hilbert space?",
"Without using Axiom of Choice, prove that $$\\forall\\alpha\\geq\\omega,~~|L_\\alpha|=|\\alpha|,$$ in which $\\alpha$ is an ordinals, $\\omega$ is the set of natural numbers, $L_\\alpha$ is the $\\alpha$-th constructiable set, $|x|$ is the cardinals of $x$. I am learning a set theory, and I have read a proof by using AC. The AC is used only when $\\alpha$ is a limit ordinals during the transfinite inductive method for $\\alpha$ . I wonder if there is a proof without AC. THANKS!",
"Something weird is going on with my login on at least one site",
"I must be missing something with regards to setting up PostgreSQL. What I'd like to do is create multiple databases and users that are isolated from each other so that a specific user only has access to the databases I specify. However, from what I can determine, any created user has access to all databases without any specific grants being given. Here is what I do on an Ubuntu Server 12.04: apt-get install postgresql sudo -u postgres createuser -DRSP mike1 (Specifying the password for the new user) sudo -u postgres createdb data1 psql -h localhost -U mike1 data1 (Specifying the password for the user mike1 to login) It seems that new user \"mike1\" has no problem connecting to database \"data1\" and creating tables etc. And this without running any GRANT command at all (and the owner of \"data1\" is \"postgres\" since I didn't specify an owner in step 3). Is this really how it is supposed to work? What I'd like to do is grant mike1 full access to data1 and then repeat this for more users and databases, making sure that the users only have access to one (or possibly several) databases of my choice.",
"Does Windows still rely on MS-DOS? I am just about to start an OS course and as an Apple user I am not very familiar with the underlying details of Windows OS. I was wondering, is MS DOS still used with Windows running on top or is ONLY Windows used now as the OS? I was a little confused because I read somewhere that MS-DOS is used for booting but Windows has all other OS capabilities built into it and thus is used for all other OS operations...",
"Arduino-controlled slot cars - alternative to MOSFETs for speed control? I'm attempting to control the speed of two slot cars in a set using Arduino. Each car is controlled by a controller with a variable resistor that looks like this: They're wired in parallel to the same 17V DC power supply: Simplified: For Arduino control, I experimented with manipulating a single car's speed using a MOSFET. It worked really well. Using a PWM output on the Arduino, I was able to pulse the MOSFET on and off to throttle the current and change the car's speed. The behavior of the MOSFET seemed to be exactly the same as the variable resistor controller; the resistance, voltage, and current fluctuated the same way on various parts of the circuit. Enter car B. I added a MOSFET to the setup and mimicked the MOSFET wiring for car A, grounding them both to the Arduino ground. The result looks like this: Here's a sketch: Close up, MOSFET A: MOSFET B: At first, all seemed well. I sent signals to MOSFET A and successfully changed Car A's speed. I stopped Car A and pulsed MOSFET B, and I was able to control Car B's speed just fine. Then, I turned Car B to a constant speed, and sent a signal to MOSFET A while Car B was still running. Car A started, but Car B's speed immediately dropped as a result of running Car A. I hooked a multimeter up across the rails of Car B and watched its voltage while it ran on its own. Then, sure enough, when Car A started running alongside it, Car B's voltage dropped dramatically. I figured this was because of my wiring configuration, so I left the multimeter on Car B, and made one change. I replaced MOSFET A with the original slot car controller: I started running Car B again using its MOSFET. The multimeter showed a steady voltage, so I began to squeeze Car A's controller (the variable resistor), and Car A's speed increased. This time, however, unlike using a MOSFET to control Car A, the variable resistor did not affect Car B's voltage at all. Car B remained at a steady speed the whole time. Any idea why this happens? The MOSFET seemed to function the same as the variable resistor (empirically) with a single car, but had totally different behavior with two cars in parallel. Is it because the MOSFET is not really changing resistance to current, but just switching it on and off, so it opens up another path for current to flow fully every time it closes? Is there an Arduino-controllable alternative to a MOSFET that would fluctuate actual resistance like the variable resistor? Digital potentiometer? Servo hooked up to a potentiometer? ;) I'm really curious what the difference is and what causes the major differences in behavior.",
"How to draw line through group plots in pgfplots?",
"$ echo $(( 255 )) 255 $ echo $(( 33 )) 33 $ echo $(( ~33 )) -34 $ echo $(( ~255 )) -256 $ and my kernel is: $ uname -a Linux HOSTNAME 3.2.0-40-generic-pae #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC 2013 i686 i686 i386 GNU/Linux QUESTION: ~ is for negating the number AFAIK. But why does ~33 produce -34 and why does ~255 produce -256?",
"I see many posts on both this forum and elsewhere the discuss the use of a wide angle on a crop sensor. For example, they discuss how at 14mm lens is 14mm on a 35mm film or full frame, but with a 1.6x crop sensor it is an effective 28mm. My question is, is a 14mm on a crop sensor the same image as a 28mm on a full frame. Or does \"effective\" include some other conotation. I read that a 14mm can create distortion on a full frame and some vignette, so people seem to say using it on a crop takes out some of those edge problems. My confusion is how the lens is actually taking in the extra image. Reading kenrockwells blog I learned that wide angle keeps lines straight, while fish eye actually skews the lines. So with this as my understanding, I am still a bit confused how a lens that is curved in order to get a greater angle of view, will be the same as a cropped version of a less curved lens. Or does \"effective\" only refer to the objects to the sides but not to the distortion of the image. Or, if it is different, is it so small that for photography it does not matter? A technically description would be welcome as long as a basic understanding of the situation. Thanks! Edit: To be more clear after the comments, I am specifically talking about the end resulting 2d projection from 3d space. I have read both those previous answers. the first one is closer to what I am talking about. However, it is still confusing for me. I have experience with 3d modeling and projection matricies, which might be confusing me with this. But for example, i dont understand the images having a 50 mm lens being drawn Starting from the sensor, so it shows a different fov for crop and full frame . If the lens is the same, it takes the same amount of information from the world, which makes a ray from a certain degree off the last lens projected into a smaller space, there is no projection from the sensor, so drawing the line from the sensor doesnt make sense to me. The distance of the sensor to the rear of the lens must have some impact on the light projected but is not represented in the images. Further, again from that first answer it says cropping is the same as zoom, but from what i understand from how perspective works, it is different, since a wide angle will project lines differently than a small fov to the same size, so cropping the center of a wide angle and zooming into something is very different. This is easily recreated in an opengl application with varying fov projection matrix, i imagine in painting class people learn this as well. A fisheye would be a good example, since if cropping was the same as zooming, a fish eye lens would keep the center exactly like a normal lens and then a gradient weighted towards the outside would rapidly create a warped perspective, but from what I see, it is even. To me those images just look like its comparing cropped with full frame in regards to orthogonal projections.",
"opengl storing multiple indices into indices buffer After parsing collada files I found out that we have to load two(or more) indices each pointing to say a vertex or normal etc. like this (<p>3 0 2 0 0 0</p>) Is there a way to load (and use)these indices to indices buffer(ELEMENT_ARRAY_BUFFER) like this (vnvnvn...) ; where v is vertex pointer, n is normal pointer from the above. with vertices loaded to VBO1 like (vvvv...) and in VBO2 like (nnnn...). So that we dont have to repeat the normals in VBO2. VBO like (vnvnvn...) is also ok. (and not something like this ), I'm not trying to use multiple indices buffer. I'm trying to put all the given indices into one index buffer and use them alternately. (If I wasnt clear i will try for more clarification.)",
"How to use a special character as a normal one in Unix shells?",
"Check out the below program. try { for (String data : Files.readAllLines(Paths.get(\"D:/sample.txt\"))){ String[] de = data.split(\";\"); System.out.println(\"Length = \" + de.length); } } catch (IOException e) { e.printStackTrace(); } Sample.txt: 1;2;3;4 A;B;; a;b;c; Output: Length = 4 Length = 2 Length = 3 Why second and third output is giving 2 and 3 instead of 4. In sample.txt file, condition for 2nd and 3rd line is should give newline(\\n or enter) immediately after giving delimiter for the third field. Can anyone help me how to get length as 4 for 2nd and 3rd line without changing the condition of the sample.txt file and how to print the values of de[2] (throws ArrayIndexOutOfBoundsException)?",
"I've been working on some animations recently, and I've noticed that I'm having poor luck with certain things, namely the fact that I don't really use Blender's graph editor very well. One of the major issues that I have is pretty widespread among 3D graphics programs; when I create an animated object, it defaults to using a curved graph instead of a linear graph, which means that the most movement is at the middle of the animation, and stuff just practically stops near the beginning or the end. While this helps with organic camera movements or such, it's also not what I usually want. Can I set animation curves to default to linear?",
"In the 3d viewport I am using a border region to only render things inside the selected region. I did this with CtrlB. I cannot get rid of the region. How can I make the border disappear?",
"How to add a gif file to my LaTeX file? Related: I have an image file -- a gif file, which is the graph of a function. How do I add it to a LaTeX file? Will it come out OK in the subsequent pdf file?",
"I recently purchased a MacBook Pro 13" with the M1 chip and transferred all my data over using a Time Machine backup. Homebrew packages are currently installed in /usr/local/opt/ but it is my understanding that they should be under /opt/homebrew for Apple Silicon Macs. How can I: Get the list of packages I currently have installed Remove those from /user/local/opt Reinstall them under /opt/homebrew I kind of assumed Homebrew would be clever enough to do this automatically but apparently it needs some manual maintenance. Here's my Homebrew config if it helps: HOMEBREW_VERSION: 2.7.2 ORIGIN: https://github.com/Homebrew/brew HEAD: dad7dc6a1498b80770d98f2d7cd6fb927c300bbb Last commit: 3 days ago Core tap ORIGIN: https://github.com/Homebrew/homebrew-core Core tap HEAD: 2b1d79d038bffdbfcee93283051d48919a4caf3d Core tap last commit: 16 hours ago Core tap branch: master HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local/Homebrew HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit arm_firestorm_icestorm Clang: 12.0 build 1200 Git: 2.30.0 => /usr/local/bin/git Curl: 7.64.1 => /usr/bin/curl macOS: 11.1-arm64 CLT: 12.3.0.0.1.1607026830 Xcode: N/A Rosetta 2: false Thanks in advance!",
"phpinfo() and php -v shows different version of PHP I wanted to know which php version I am using so I wrote the standard script: phpinfo(); Which gives me PHP version 5.6.10 The correct PHP version needed for my application. When I tried in terminal: php -i or php -v It shows me: PHP version 5.3.2 Which I don’t need. Then I tried with: which php It shows me: /usr/bin/php Now I am confused which version of PHP I am using. The files are uploaded to the hosting website and I cannot make any changes to the config files like httpd.conf or php.ini.",
"running rmi server, classnotfound",
"How to tell Max CP?",
"What are XML namespaces for? This is something that I always find a bit hard to explain to others: Why do XML namespaces exist? When should we use them and when should we not? What are the common pitfalls when working with namespaces in XML? Also, how do they relate to XML schemas? Should XSD schemas always be associated with a namespace?"
] | medi_sts_stackexchange_dupe |
Cancellation property in groups | How to prove $b=c$ if $ab=ac$ (cancellation law in groups)? | [
"Is it permissible to use somebody else's words (without quotations) to describe a concept once their work is cited? Quite often one comes across a really succinct and precise explanation of a concept. I'm wondering if it is permissible to use this explanation verbatim, if the source work is cited in your paper (next to the explanation)? What's in question here is at most 3 sentences.",
"Let $A$ and $B$ be two fixed points on a fixed straight line. Two circles touch this line at $A$ and $B$ respectively and tangent to each other at $M$. When the circles vary, what does the locus of $M$ form?",
"Oscillation of air particles and speed of sound wave A sound wave is essentially air particles oscillating parallel to the direction of travel of the wave. We learnt that $v = f\\lambda$, where $v$ is the speed of the wave, $f$ is the frequency of the wave and $\\lambda$ is the wavelength of the wave. Suppose the air particles oscillate with a frequency of $f_{particle}$. Is there any relationship between $f_{particle}$ and $v, f, \\lambda$ of the entire sound wave? I thought about this because intuitively, if the air particles vibrated faster, then the wave should travel faster, but I am unable to come up with any formula that describe this relationship (if it is even true!).",
"Prove that in a triangle $$r^2+r_1^2+r_2^2+r_3^2=16R^2-(a^2+b^2+c^2)$$ where the symbols have their usual meanings. I am looking for a smaller or elegant proof using trigonometry. A geometric proof would be super cool. I did prove it but it took me ages to do the calculation. Thanks.",
"Is it standard to say $-i \\log(-1)$ is $\\pi$? I typed $\\pi$ into Wolfram Alpha and in the short list of definitions there appeared $$ \\pi = -i \\log(-1)$$ which really bothered me. Multiplying on both sides by $2i$: $$ 2\\pi i = 2 \\log(-1) = \\log(-1)^2 = \\log 1= 0$$ which is clearly false. I guess my error is $\\log 1 = 0$ when $\\log$ is complex-valued. I need to use $1 = e^{2 \\pi i}$ instead. So my question: is it correct for WA to say $\\pi = -i \\log(-1)$? Or should be they specifying \"which\" $-1$ they mean? Clearly $ -1 = e^{i \\pi}$ is the \"correct\" value of $-1$ here.",
"What is this triangle icon [Samsung Galaxy S9+]?",
"I have just had my broadband upgraded to which means my router has had to change. Previously I was using a Thomson TG585v7 ADSL thingy provided by my ISP. One nice thing about that router was that it would act as a local DNS and allow me to find my other machines on the network by using <hostname>.lan instead of IP addresses. I've now switched to a Linksys WRT320N ethernet router which connects to my fibre modem, and which I've updated to the latest firmware (1.0.04). I have 2 machines on the network which I regularly want to connect to each other; one is running Windows 7 and the other is running OS X Lion. The problem I'm having is that I'm unable to connect to my Win7 machine from the OS X machine using the Win7 machine's name. However, I'm able to ping the OS X machine from my Win7 machine using the hostname.",
"Switching from MTB to road handlebars",
"So, I'm working creating a lamp... yes, newbie here. After modeling for a bit, I noticed that my point of origin was no longer the center of my object: How to I reset an object origin point to the center of it's geometry?",
"Isomorphisms preserving integral domains and fields Let $R \\simeq S$ be isomorphic commutative rings with unity. Prove the following: a). If $R$ is an integral domain then $S$ is an integral domain. For this, I said that If I let $f: R \\to S$ be an isomorphism and $(R, + , \\circ), (S, \\oplus, \\ast)$, then let $x, y\\in R$, such that $x \\circ y = 0_R$, because $f$ is an isomorphism, $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$. If I let $R$ be an integral domain then, as per the definition $R$ is commutative, has unity, and no zero divisors. So $f(x \\circ y) = f(x) \\ast f(y) = f(0_R)$ where we have either $f(x \\circ y) = f(0_R) \\ast f(y) = f(0_R)$ or $f(x \\circ y) = f(x) \\ast f(0_R) = f(0_R)$. Since $f$ is an isomomorphism, let $s = f(x), t = f(y)| s,t \\in S$. Then $s \\ast t = f(0_R)$. By definition, $S$ also has unity so $0_S$ exists. If we map $0_R \\to 0_S$. Then either $s = 0_S$ or $t = 0_S$. So then, since $S$ has unity, is commutative, and has a no zero divisors as we showed above, it is also an Integral domain. I'm not sure I have this correctly. b). If $R$ is a field then $S$ is a field. I don't really understand how to do this one. Since $S$ is an integral domain, it has a $0_S$. So I need to show that $S$ distributes $\\ast$ over $\\oplus$. Any help with these is appreciated",
"I like some of the features provided by the Vim-LaTeX suite, but not all of them. In particular, I dislike all of the mappings like [[ = \\left[ \\right] and the automatic placeholder stuff with <++>. I am a very fast typist but with that comes more typing mistakes, which I correct almost instantly by pressing backspace. Unfortunately, if something has automatically added a bunch of place-holders or expanded some expression, I then have to move around the document and remove more characters than necessary. For example, if I accidentally press [ twice, instead of only having to delete one character, I have to delete 10. Having already looked through the documentation, and some of the source, I have managed to disable some of these \"features\", but not all of them: In particular: let g:Tex_SmartKeyBS = 0 let g:Tex_SmartKeyQuote = 0 let g:Tex_SmartKeyDot = 0 (Turn off maps for backspace, double quote and triple dot.) let g:Imap_UsePlaceHolders = 0 (Turn off <++> placeholder insertion.) But I can't seem to find a way of turning off the other stuff. Anyone have any suggestions? Edit: I was able to \"disable\" some more things by setting: let g:Tex_Leader = '`tex' let g:Tex_Leader2 = ',tex' (Which stops some expansions but still not all. It's not really disabling it but just making it less likely that you're going to type in `texa as opposed to the potentially more common `a, for example.) PS: Personally, I think it is very poor practice to make an optional package that, when installed, greatly changes the default handling of your system. I don't mind some intelligent source highlighting etc, or some new commands (that don't clobber any old ones), but it seems unhelpful to enable this drastic kind of key remapping by default.",
"Is free for business platforms? Has Ubuntu changed its conditions about using the OS for profit purposes?",
"Are there rules about using \"that\" to join two clauses? He will understand that I was not joking. He will understand I was not joking. Which of the sentences is correct? Are there any specific rules about the use of "that" in the sentences I reported as example?",
"Trying to figure what language this PDA (pushdown automata) accepts I have the following PDA and I can't figure our what words it accepts, would like to get some help with figuring this out. Of course it only accepts if that stack is empty in the accepting state.",
"When electric dipole placed in non uniform electric field, what is the approach to calculate torque acting on it? Can it be zero?",
"QuickStart basic layout/template for web development? I'm looking for a quick start or template, or something, to get a web site's basic layout done quickly and looking fairly professional, and then let me do the coding. I don't want a CMS, as this is for a highly customised reporting application, but I need something like frame header and two columns and frame footer. I can design the pretty reports for the wide right hand column myself, as the left hand column menu.",
"Run a batch file in a completely hidden way",
"This question is inspired by I see these constructs for file in `find . -type f -name ...`; do smth with ${file}; done and for dir in $(find . -type d -name ...); do smth with ${dir}; done being used here almost on a daily basis even if some people take the time to comment on those posts explaining why this kind of stuff should be avoided... Seeing the number of such posts (and the fact that sometimes those comments are simply ignored) I thought I might as well ask a question: Why is looping over find's output bad practice and what's the proper way to run one or more commands for each file name/path returned by find ?",
"With no good reason I had a look at my computer's storage going on the apple and About this Mac. Here is the display: The pink bar doesn't make much sense. It obviously does not represent the 80.67GB of free storage. Two sections correspond to pink; \"Photos\" and \"Backups\". I obviously don't have 140.76TB of backups. And probably not on this computer that has only 320GB of storage. What is going on here?",
"How do I select all the columns in a table that only contain NULL values for all the rows? I'm using MS SQL Server 2005. I'm trying to find out which columns are not used in the table so I can delete them."
] | medi_sts_stackexchange_dupe |
Windows 8: connected to the Wi-fi but not loading any page | The Wifi is working fine but no internet connection in Windows 8 | [
"When $f(x+1)-f(x)=f'(x)$, what are the solutions for $f(x)$? The question is: When $f(x+1)-f(x)=f'(x)$, what are the solutions for $f(x)$? The most obvious solution is a linear function of the form $f(x)=ax+b$. Is this the only solution? Edit I should add that $f:\\mathbb R\\to\\mathbb R$ to the question.",
"Reason for Subject-Verb Inversion: Only in cases where A is B, shall the Company do X",
"Pgfplots: how to fill bounded area under a curve using addplot and fill?",
"Custom blocks created as a plugin in a module not showing for Block::load() I have a couple of blocks that have been created using the ... extends BlockBase syntax in my module. They work perfectly fine, and I can add them on the blocks layout page, can add them into DS as a field, etc. They definitely exist fine. However, when I try and render them using Block::load(), they won't show up, unlike other blocks that work fine. For example, if I have the following docblock: /** * Provides a 'Cute Cats' Block. * * @Block( * id = \"cute_cats\", * admin_label = @Translation(\"Cute cats yo\"), * ) */ class CuteCats extends BlockBase { ... } ... and then try and call it like this: $block = \\Drupal\\block\\Entity\\Block::load('cute_cats'); return render(\\Drupal::entityTypeManager() ->getViewBuilder('block') ->view($block)); Any idea why? Thanks in advance.",
"Was Daenerys actually trying to hatch the eggs? I was reading @Aegon' s response and I realized that I've never been clear on whether Dani was intentional in her pyre building to do blood magic and wake the dragons, or if she was just grieving Drogo and killing Mirri and her statement about \"only death can pay for life\" was a slap in the Maegi's face, since in the end she sacrificed her unborn child for the husk of Drogo. I know she had tried baking the eggs previously and had felt like they could hatch then, but was clearly disappointed and chastised herself for foolishness when they did not. I don't recall inner monologue or statements after that where she said, \"ya know what I should have done...\" I guess what I'm asking is whether there is evidence outside her statement to the Maegi that she was intentional in her blood magic rite or if the miracle was a happy accident?",
"I would like my JSON output in Ruby on Rails to be \"pretty\" or nicely formatted. Right now, I call to_json and my JSON is all on one line. At times this can be difficult to see if there is a problem in the JSON output stream. Is there way to configure to make my JSON \"pretty\" or nicely formatted in Rails?",
"Simplifying the integral $\\int\\frac{dx}{(3 + 2\\sin x - \\cos x)}$ by an easy approach",
"What should I do if a user posts sensitive information as part of a question or answer?",
"Power supplies are available in a wide range of voltage and current ratings. If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify? What if I don't know the device's specs, but am replacing a previous power supply with particular ratings? Is it OK to go lower voltage, or should it always be higher? What about current? I don't want a 10 A supply to damage my 1 A device.",
"Migrate hard drive with Windows 7 to new laptop? I have a Dell D630 laptop that has Windows 7 Professional on it that was in dire need for replacement so I recently picked up an HP G62 laptop that comes with Windows 7 Home Premium. I don't need both laptops and I'd rather spare myself the time reinstalling all my programs and making sure I didn't forget to migrate any of my data over by simply swapping hard drives from the Dell to the HP. Well, I tried just that and my HP laptop instantly BSOD'd on startup. I'm currently running 'Startup Repair' but it's been sitting there for over 20 mins saying "Attempting repairs..." and nothing is really happening so I don't have much faith in this. The good news is that before I swapped the drives I made an Acronis image of the Dell drive and stored it on my NAS so I can pretty much try anything with this drive and still get back to where I was if need be. I find it hard to believe that what I want to do would be rather difficult, although it sure is looking that way. I'd appreciate any advice in making this happen. Thanks Edit All the answers were great, so thank you. I accepted djechelon's answer because the Win7 migration tool saved me quite a bit of time.",
"Can a child enter the UK on an accompanied visa and then leave the country alone? My daughter who is just under 18 has a child accompanied visa to the UK. I am traveling with her to the UK for a few days. We return from UK on the same day except that she returns to India and I am heading to San Francisco an hour later on the same day. Is that okay or will we have an issue at immigration into the United Kingdom?",
"I am looking at collecting spatial information from a range of stakeholders to identify opportunities within a landscape. However, the data that we are collecting are not presently mapped and so we wish to use an interactive method to get this information onto a map. Which online websites/methods would people recommend for circulating to a non-technical audience to try and get them to map what they know? Where the emphasis is on ease of use by the stakeholder.",
"Error sending edittext in java server. See code",
"iPhone asks for Mac password (or Mac asks for iOS password) During iPhone update to iOS 10.3.1, I was asked for my password using the correct machine name for my Mac mini. To be clear, the request was not for my iCloud password, my actual local user account password for macOS. This can also happen in the other direction - setting up a Mac may ask for verification for you to enter your iPhone / iPad passcode (and not your iCloud password) I could not find any information about this kind of access. I was thinking it was security for iCloud and possibly related to two step authorization or two factor authorization. This is the first time I can think of that I entered a desktop password outside of that actual desktop. I don't have a screen shot but I recall an implication that some files in my Mac are encrypted and need my password. '... need to enter the password for .' Are there settings I can I control this assuming it's a legitimate part of iCloud setup process or iOS setup process?",
"'undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' while compiling bochs I'm trying to compile bochs with this command: ./configure --with-x11 --with-wx --enable-ne2000 --enable-iodebug --enable-disasm --enable-debugger --enable-e1000 --enable-usb --enable-pci it works, but then when I run make I got: usr/bin/ld: gui/libgui.a(gtk_enh_dbg_osdep.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line Any Help ? :/",
"How do I pre-populate a jQuery Datepicker textbox with today's date?",
"I've completed 20 suggested edits reviews today. Then, I came across a and I approved it. Then, I had a doubt that whether the review count has incremented or not, oh! it's not incrementing. System works fine. But, take a look at review page, The edit was already reviewed by one reviewer and then I reviewed it. As I'm the Owner of the post it's enough to approve the edit. But, the review history doesn't show the detail that I had approved it. It's misleading that only one vote of a reviewer who is neither the community user nor the OP nor the moderator, is enough. So, what should we do in this type of situation? Is it correct to make OP to review the suggested edit after completing daily limit? Should we need to display/hide the OP has approved the edit in the review history?",
"Tools for automating document compilation A lot of people write makefiles that say something like paper.pdf: paper.tex pdflatex paper bibtex paper pdflatex paper pdflatex paper To handle re-running TeX to get new/changed references and so forth. Is there a better way to do this?",
"How to prevent going to next row after editing a DataGridViewTextBoxColumn and pressing EnterKey?",
"Let be $V$ a vector space over the complex numbers with inner product. Let be $T$ and $S$ linear operators in $V$ with adjoint operators $T^*$, and $S^*$ respectively. I know that it satisfies this: $\\left< T(x),y \\right>=\\left< x,T^{*}(y) \\right>$ $\\left< S(x),y \\right>=\\left< x,S^{*}(y) \\right>$ $\\forall x,y \\in V$ But, How can I prove that the adjoint operator of $ST$ is $(ST)^{*}$? And how can I prove that $(ST)^{*}=T^{*}S^{*}$?"
] | medi_sts_stackexchange_dupe |
Cruise embarks in Rome, visits mainly Greece ports and disembarks in Athens where I am flying out of also, which country to apply Schengen Visa in? | Does a multiple-entry Schengen visa allow visiting other Schengen countries later, without going via the issuing country? | [
"Does the shebang determine the shell which runs the script? This may be a silly question, but I ask it still. If I have declared a shebang #!/bin/bash in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash [my@comp]$bash my_shell_script.sh or can I use e.g. [my@comp]$sh my_shell_script.sh and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX.",
"How do I bulkify queries for directly or indirectly related records? This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, navigate to the tag. This question and answer is owned by the community! If you can improve it and make it more useful, you're welcome to edit it. I have a collection of records, like a List<sObject> or the Trigger.new context variable. I need to query other records that are related to these records either directly or indirectly, and I want to use the related data to make further updates. When I write a query in a loop, like for (Account a : Trigger.new) { Account parent = [SELECT Name FROM Account WHERE Id = :a.ParentId]; // ... } I keep hitting Salesforce query limits, and I know this is not best practice. What can I do to avoid this problem and bulkify my code?",
"If $A$ is a non-empty set, then $A \\notin A$ Exercise 3.2.2 Use the axiom of regularity and the singleton set axiom to show that if $A$ is a set then $A \\notin A$. Axiom of Regularity: If $A$ is a non-empty set, then there is at least one element x of A which is either not a set, or is disjoint from A. Singleton Set Axiom: If $a$ is an object, then there exists a set $\\{a\\}$ whose only element is $a$, we refer to $\\{a\\}$ as the singleton set whose element is $a$ Furthermore, if $a$ and $b$ are objects, then there exists a set $\\{a,b\\}$ whose only elements are $a$ and $b$ I think I can give the proof when A is the non-empty set which contains finite elements. However, can anyone give any hint for the general case? Suppose $A \\in A$ Then eixsts $x$ such that either $x$ is not a set or $x \\cap A$=$\\emptyset$ Then it is clear thar $x \\ne A$ (if $x = A$, then $x \\cap A \\ne \\emptyset$) We observe that as an element, $A$ $\\ne$ $x$, $A$ $\\in$ $A$ Then $A$ $\\in$ $A-x$ Define the new set $A-x$ as $A_1$ then exists $x_1$ such that $A \\in A_1-x_1$ After finite steps we find that $A \\in \\emptyset $ which leads to contradiction.",
"Script failing with \"command not found: ^M\" When I try to run the following script in zsh, via the command /bin/zsh ~/.set_color_scheme.sh I get the following error: command not found: ^M The script has u+x permissions and it used to work on another machine that also had zsh. Any clues why? Note: This question is related to (where I am trying to adapt the script for tcsh) #!/bin/zsh # Contents of set_color_scheme.sh export LS_COLORS=$( \\ ( grep '\\w' | grep -v '^#' | sed 's/#.\\+//' | perl -lane 'printf \"%s=%s:\", shift @F, join \";\", @F;' ) <<< \" # HUMAN_FORMATTED_DATA # list one per line # these are basic filesystem items no 00 # normal fi 00 # file di 01 34 # directory ln 00 36 # link pi 40 33 # pipe so 00 35 # bd 40 33 01 cd 40 33 01 or 01 05 37 41 mi 01 05 37 41 ex 00 91 # executable ow 01 34 # other writables *.cmd 00 32 *.exe 00 32 # archive, compressed things etc *.gz 00 90 *.bz2 00 90 *.bz 00 90 *.tz 00 90 *.rpm 00 90 *.rar 00 90 *.zip 00 90 *.iso 00 90 *.cpio 00 31 # perl & CODE *.c 33 *.h 33 *.sh 33 *.t 33 *.pm 33 *.pl 33 *.cgi 33 *.pod 33 *.PL 33 *.js 33 *.php 33 #*.xs # strikethrough *.off 00 9 *.bak 00 9 *.old 00 9 # documents misc, html webstuff # really TEXT *.htm 94 *.html 94 *.txt 94 *.text 94 *.css 94 # MOVIE *.avi 96 *.wmv 96 *.mpeg 96 *.mpg 96 *.mov 96 *.AVI 96 *.WMV 96 *.mkv 96 # images & pdf *.jpg 96 *.jpeg 96 *.png 96 *.xcf 96 *.JPG 96 *.gif 96 *.svg 96 *.eps 00 96 *.pdf 00 96 *.PDF 00 96 *.ps 00 96 *.ai 00 91 # adobe ill *.doc 00 91 # msword # data, such as .db, .csv *.csv 95 *.dsv 95 *.db 95 *.sql 95 *.meta 95 # CONFS *.xml 95 *.yaml 95 *.yml 95 *.conf 95 # [a-z0-9]*rc \")",
"How to change camera movement speed on Path during animation Im making a animation in blender that requires the camera to change speeds while moving along a path. I'm using the Curve/Path for the path. I need the camera to move at a certain speed going between 2 places, and then slow down while moving around something its focusing on.",
"Sending an E-mail to all addresses of all contacts in a contact group in Gmail I'm trying to send an E-mail message using Gmail to a contact group where some of the contacts have more than one E-mail address and I want to send the mail to all of them. Is there a way for me to do that?",
"A diffeomorphism whose tangent map preserves dot products is an isometry. I'm having trouble solving the following problem. If $F:\\mathbb{R^3} \\to \\mathbb{R^3}$ is a diffeomorphism such that $F\\ast$(the tangent map of $F$) preserves dot products, show that $F$ is an isometry. (Hint: Show that $F$ preserves lengths of curve segments and deduce that $F^{-1}$ does also.) I'm trying to proceed as in the hint, but I'm stuck on the first step, showing the $F$ preserves lengths of curve segments. Moreover, how does showing that both $F$ and its inverse preserves length of curve segments show that it is an isometry. And how do I characterize the curve segments. I would appreciate any solutions, hints or suggestions.",
"What is the value of lim$_{n\\to \\infty} a_n$ if $\\lim_{n \\to \\infty}\\left|a_n+ 3\\left(\\frac{n-2}{n}\\right)^n \\right|^{\\frac{1}{n}}=\\frac{3}{5}$? Let $\\{a_n\\}$ be a sequence of real numbers such that $$\\lim_{n \\to \\infty}\\left|a_n+ 3\\left(\\frac{n-2}{n}\\right)^n \\right|^{\\frac{1}{n}}=\\frac{3}{5}.$$ What is the value of $\\lim_{n\\to \\infty} a_n$?",
"Should we improve time to first byte or Page Speed Insights score for SEO? Google posted last summer that \"page speed\" will impact the search result rankings also on mobile devices. But I think there is a little confusion about the term \"page speed\". The test tool which Google offers is called \"Page Speed Insights\". Many people we are talking with, are thinking that the overall score of this tool for a particular site for example Desktop: 46/100 and Mobile: 45/100 is used for the ranking algorithm. BUT I found a very interesting article in German language which states that only the TTFB (time to first byte) value is used and this should be optimized not all suggestions which \"Page Speed Insights\", further called PSI offers. Here is the link to the German article: In short terms it says that a very large site in this case \"The New York Times\" has a low overall score of Mobile:41 and Desktop:45. As they are used to sell reader memberships they should offer a great user experience. So, they should optimize their site. But when I call this site it is amazing fast. The overall PSI score does not reflect this behaviour. But when I believe this article the TTFB for this site is perfect. Also when I call it here from Austria it states 0.881sec. I really like to know on which value we should focus our work for optimization not to fall in the ranking. Because as many of you already said it is not useful to implement all suggestions from the PSI site for one domain. So, it would be real if you could clarify things here or post links to official posts from Google. What I found about this, Google always is talking about \"page speed\" but what exactly is this?",
"How to compare the strings using < (Greater than symbol) Below is my input file: PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:16:46.523.177, 2 PS Sensor Value = -5.501000 , Min = -5.583000 , Max = -5.319000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:16:46.523.210, 3 PS Sensor Value = 15.996000 , Min = 15.814000 , Max = 16.078000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:16:46.523.231, 4 PS Sensor Value = -16.505000 , Min = -16.587000 , Max = -16.323000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:16:46.523.263, 5 PS Sensor Value = 6.509000 , Min = 6.327000 , Max = 6.591000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:16:46.523.302, 6 PS Sensor Value = 4.002000 , Min = 3.820000 , Max = 4.084000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.481.557, 1 PS Sensor Value = 6.199000 , Min = 6.017000 , Max = 6.281000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.518.691, 2 PS Sensor Value = -5.503000 , Min = -5.585000 , Max = -5.321000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.523.156, 3 PS Sensor Value = 15.996000 , Min = 15.814000 , Max = 16.078000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.523.195, 4 PS Sensor Value = -16.505000 , Min = -16.587000 , Max = -16.323000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.523.221, 5 PS Sensor Value = 6.509000 , Min = 6.327000 , Max = 6.591000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:17:46.523.240, 6 PS Sensor Value = 4.002000 , Min = 3.820000 , Max = 4.084000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.480.644, 1 PS Sensor Value = 6.199000 , Min = 6.017000 , Max = 6.281000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.522.615, 2 PS Sensor Value = -5.501000 , Min = -5.583000 , Max = -5.319000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.522.729, 3 PS Sensor Value = 15.996000 , Min = 15.814000 , Max = 16.078000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.522.765, 4 PS Sensor Value = -16.505000 , Min = -16.587000 , Max = -16.323000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.522.788, 5 PS Sensor Value = 6.509000 , Min = 6.327000 , Max = 6.591000 PA43410-2,1,3,/vobs/atlas-idc/src/utils/logger/IDCLogger/IDC.cpp,48,19:18:46.522.810, 6 PS Sensor Value = 4.002000 , Min = 3.820000 , Max = 4.084000 I need to compare the PS Sensor Value, Min and Max value. (Min greater than PS Sensor greater than Max) I'm expecting the output like below and here I should have only the normal lines. What is normal lines? : If Min value greater than PS Sensor value && PS Sensor value is greater than Max value then the line is normal lines and that should removed. Expected Output: PA43410-2 PS Sensor Value = 6.509000 , Min = 6.327000 , Max = 6.591000 PA43410-2 PS Sensor Value = 6.199000 , Min = 6.017000 , Max = 6.281000 Eg: If Min < PS sensor value < Max, // Don’t care the normal lines. Throw this line away. Else Pull this line to consolidated new file. //Only focus on abnormal lines.",
"Why can't I destroy or place blocks? I'm playing on a Survival world with cheats on, \"easy\" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it. This only happens on this world. How do I fix it? If I know I'm in the correct game mode, what else can cause this? Are there different causes in multiplayer?",
"How to force nginx to resolve DNS (of a dynamic hostname) everytime when doing proxy_pass?",
"Why is my SSH login slow? I'm seeing delays in SSH Logins. Specifically, there are 2 spots where I see a range from instantaneous to multi-second delays. Between issuing the ssh command and getting a login prompt and between entering the passphrase and having the shell load Now, specifically I'm looking at ssh details only here. Obviously network latency, speed of the hardware and OSes involved, complex login scripts, etc can cause delays. For context I ssh to a vast multitude of linux distributions and some Solaris hosts using mostly Ubuntu, CentOS, and MacOS X as my client systems. Almost all of the time, the ssh server configuration is unchanged from the OS's default settings. What ssh server configurations should I be interested in? Are there OS/kernel parameters that can be tuned? Login shell tricks? Etc?",
"I want Ctrl+Alt+B bring up a browser. Ctrl+Alt+Delete is handy. Can I set up Ctrl+Alt+B to bring up a browser (either default or specific)?",
"The energy of a moving object is $E = mv^2\\;.$ That is it increases with velocity squared. I walk at say 3 miles per hour, or lets round that down to 1 meter per second for a slow walk. I weigh less than $100~\\mathrm{kg}\\;,$ but lets just round that up to $100~\\mathrm{ kg}$ for convenience (it is just after Christmas). So when I walk along the pavement, I have $100~\\mathrm{kg\\; m^2 s^{-2}}$, 100 joules of kinetic energy. Now I get on a passenger jet, which is cruising at around 500 knots, call that 250 meters per second. In my seat I have $100\\times 250^2 = 6250000$ joules of kinetic energy. But when I walk down the aisle I have $100\\times 251^2 = 6300100$ joules of kinetic energy. The difference between these is: 50100 joules. It feels the same to me, walking down the pavement as walking down the aisle of the plane. I didn't have to make some huge effort to get up to speed on the plane, yet I needed 500 times the energy to do it. How is this possible, and where did the energy come from?",
"The cardinality of the set of all finite subsets of an infinite set",
"I created a bitmap with transparent background but in the Windows Picture Viewer I see the white background and even if I reopen it in Photoshop CS3. how do I make sure the white colour in bitmap is really transparent or see if contain any transparent colour?",
"CS0120: An object reference is required for the nonstatic field, method, or property 'foo' Consider: namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { //int[] val = { 0, 0}; int val; if (textBox1.Text == \"\") { MessageBox.Show(\"Input any no\"); } else { val = Convert.ToInt32(textBox1.Text); Thread ot1 = new Thread(new ParameterizedThreadStart(SumData)); ot1.Start(val); } } private static void ReadData(object state) { System.Windows.Forms.Application.Run(); } void setTextboxText(int result) { if (this.InvokeRequired) { this.Invoke(new IntDelegate(SetTextboxTextSafe), new object[] { result }); } else { SetTextboxTextSafe(result); } } void SetTextboxTextSafe(int result) { label1.Text = result.ToString(); } private static void SumData(object state) { int result; //int[] icount = (int[])state; int icount = (int)state; for (int i = icount; i > 0; i--) { result += i; System.Threading.Thread.Sleep(1000); } setTextboxText(result); } delegate void IntDelegate(int result); private void button2_Click(object sender, EventArgs e) { Application.Exit(); } } } Why is this error occurring? An object reference is required for the nonstatic field, method, or property 'WindowsApplication1.Form1.setTextboxText(int)",
"Where can I find Obsidian in the Pocket Edition? I have looked everywhere for lava or obsidian in 0.7.1. I've looked all the way from top to bottom and all around, in about a 100 block diameter, but I can't find any. Where can I get some?",
"Java equivalent of unsigned long long? In C++, I enjoyed having access to a 64 bit unsigned integer, via unsigned long long int, or via uint64_t. Now, in Java longs are 64 bits, I know. However, they are signed. Is there an unsigned long (long) available as a Java primitive? How do I use it?"
] | medi_sts_stackexchange_dupe |
Will I still be able to log in with my google account after April 20, 2015? | "OpenID 2.0 for Google Accounts is going away"; will this affect Stack Exchange? | [
"Positive correlation and negative regressor coefficient sign Is it possible to obtain a positive correlation between a regressor and a response (+0,43) and, after that, obtain a negative coefficient in the fitted regression model for this regressor? I'm not talking about changes in the sign of the regressor among some models. The coefficient sign always remains. Could the remaining variables of the fitted model influence the changing of the sign?",
"tabular input by columns (i.e. transpose a table) I would like to be able to transpose a tabular(x) table like in the following example. It is not necessary to be completely automated, but I don't want to change the data order, which is a painful and stupid. By \"not completely automated\" I mean that e.g. the headers can be done seperately etc. Let's see the MWE: \\documentclass{article} \\usepackage{booktabs} \\def\\Midrule{\\midrule[\\heavyrulewidth]} \\begin{document} \\centering \\begin{tabular}{*6c}\\toprule \\bfseries Name & Alice & Bob & Chuck & Dave & Eve\\\\\\Midrule \\bfseries Sex & Female & Male & Male & Male & Female\\\\\\midrule \\bfseries Age & 18 & 19 & 20 & 21 & 22\\\\\\bottomrule \\end{tabular} \\bigskip Which I want to look like \\bigskip \\begin{tabular}{*3c}\\toprule \\bfseries Name & \\bfseries Sex & \\bfseries Age\\\\\\Midrule Alice & Female & 18\\\\\\midrule Bob & Male & 19\\\\\\midrule Chuck & Male & 20\\\\\\midrule Dave & Male & 21\\\\\\midrule Eve & Female & 22\\\\\\bottomrule \\end{tabular} \\end{document} Note: I know that , but I would like to get it without expl3 (mostly because people would might use my code quite often have an old LaTeX installed and I cannot be convincing them to change this).",
"strictly positive elements in $C^*$-algebra Let $A$ be a $C^*\\text{-algebra}$ and $A_+$ denote the positive elements. An element $a\\in A_+$ is called strictly positive if $\\overline{aAa}=A$. Want to find the following:a)What are the strictly positive elements of $C_0(\\Omega)$ where $\\Omega$ is locally compact Hausdorff space, and $C_0(\\Omega)$ is the space of continuous complex valued functions that vanishes at $\\infty$.b)If $A$ is unital, then $a\\in A_+$ is strictly positive iff $a$ is invertible.c)if $(e_n)$ is an approximate identity of $A$, then $a:=\\sum_{n=}^{\\infty}\\frac{1}{2^n}e_n$is strictly positive.What I tried and know:a) I know that positive elements in this space are functions with positive images, and thus, strictly positive elements are functions with positive images and now real root. is this correct? and how can I show that the positive elements are these kind of functions.b) I figures out that if $a$ in invertible then $a$ is strictly positive, but no idea how to do the other direction.c)I did this but using another characterization of strictly positive elements but want to do it with this one, and I don't know how.Thank you for your help.",
"How can I monitor my Samba traffic?",
"How to set the fully qualified hostname on CentOS 7.0? How do I set the fully qualified hostname on CentOS 7.0? I have seen a few posts online for example using: $ sudo hostnamectl set-hostname nodename.domainname However, running domainname returns nothing: $ domainname (none) Also: $ hostname nodename.domainname However, $ hostname -f hostname: Name or service not known $ hostname -d hostname: Name or service not known Some debug output: $ cat /etc/hostname nodename.domainname $ grep ^hosts /etc/nsswitch.conf hosts: files dns",
"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?",
"How can I insert a newline in a framebox? I have several frameboxes in my document, using the following command: \\framebox(115,115){ R-Sq: \\newline For example} I want to force a new line, but neither \\newline or \\\\ appear to work. Is there any other way of doing this?",
"Two numbers are chosen randomly and independently from the unit interval $(0,1)$. What is the probability that they differ by more than $\\frac{1}{2}$? Hint: Think of the $2$ numbers chosen as coordinates in the Cartesian plane. Draw a square with vertices at $(0,0)$,$(1,0)$,$(1,1)$, and $(0,1)$. Allowable choices for the $2$ points lie below the line $y=x-\\frac{1}{2}$ or the above $y=x+\\frac{1}{2}$. Find the combined area of these regions. I need help on this. I know what $y=x-\\frac{1}{2}$ and $y=x+\\frac{1}{2}$ looks like but I am not understanding the problem as a whole",
"Spin or rotate an image on hover",
"Hi i want to put this simbol \"%\" in the tick labels only in the x axis how can i do?",
"Write-only permission for a directory doesn't allow to rename (move) files inside? In fact, I would like to ask more general question -- "what does write permission for a directory allow you to do exactly?" -- but let's approach it with a concrete example. It is a long question, if you are in a hurry read the bold -- it should cover the main part. Different sources (, , ) say something similar to the following on the directory permissions: r, read -- reading of the directory's content (filenames inside) w, write -- changing the directory's attributes (e.g. modification time) and creating/renaming/removing entries inside x, search -- accessing files inside, you have access to the inode of the file, hence you can reach it's actual content My problem is with the description of w. What directory's attributes does it give you access to? I cannot create/rename/remove a file inside a directory with only write permission: I make a directory (tdir/) and a file inside (afile), chmod -x-r tdir/, mv tdir/afile tdir/af, rm tdir/afile, touch tdir/newfile -- all fail with permission denial, unless I set x permission to the directory as well. And x alone doesn't give you the permission to create/rename/remove files inside the directory. In order to do that you need both x and w. But touch tdir does change the modification time of the directory with w only. I would rephrase the sources above this way for the compliance with the issue: a directory's r allows you to see the filenames inside, but no access to the actual file (to the inode); x gives you access to the inodes of the files (which means you can see their permissions and, according to it, have access to the contents), but you still cannot change anything in the directory; directory is actually some sort of a file and to change something in it you need the w permission. Thus, when you are changing something in the directory you need w permission. If your change requires inodes of the files in the directory -- you need x as well. It explains why you cannot remove a file inside a directory with w only: when removing a file you need to reduce the link count of the inode by 1 -- you need to know the inode -- thus you need x for the directory. But why do you need x for creating (you could ask the system to create a file without exposing the inode?) and renaming/moving the file (when you move a file you don't change it in any way, you only change the records inside the directories and their inode counts?)? Maybe it is just an implementation thing? I.e. indeed you don't need the inode for renaming/creating files -- you need only filenames and w permission; but inode and filename constitute one record in the directory; thus changing the filenames = changing the records = kind of accessing the inodes. And also what attributes do directories have besides modification time, permissions and files records? What else in the directory can you change with w only?",
"In C, is it possible to forward the invocation of a variadic function? As in, int my_printf(char *fmt, ...) { fprintf(stderr, \"Calling printf with fmt %s\", fmt); return SOMEHOW_INVOKE_LIBC_PRINTF; } Forwarding the invocation in the manner above obviously isn't strictly necessary in this case (since you could log invocations in other ways, or use vfprintf), but the codebase I'm working on requires the wrapper to do some actual work, and doesn't have (and can't have added) a helper function akin to vfprintf. [Update: there seems to be some confusion based on the answers that have been supplied so far. To phrase the question another way: in general, can you wrap some arbitrary variadic function without modifying that function's definition.]",
"Find the Galois group of $x^3-5$ over $\\mathbb{Q}$. In this case, the roots of $x^3-5$ are $\\{\\sqrt[3]{5},\\omega\\sqrt[3]{5},\\omega^2\\sqrt[3]{5}\\}.$ I think $\\mathbb{Q}(\\sqrt[3]{5},\\omega\\sqrt[3]{5})$ is the splitting field of $x^3-5.$ Then, $[\\mathbb{Q}(\\sqrt[3]{5},\\omega\\sqrt[3]{5}):\\mathbb{Q}]=3,$ I think the automorphisms are: $$id$$ $$\\sigma:\\sigma(\\sqrt[3]{5})=-\\sqrt[3]{5}$$ $$\\tau:\\tau(\\omega\\sqrt[3]{5})=-\\omega\\sqrt[3]{5}$$ I'm not sure about what I have done. But how to determine the Galois group based on this? And how to determine the solvability of this polynomial?",
"Why is $\\frac{1}{2\\pi i}\\int_{\\gamma}\\frac{f'(z)}{f(z)}dz$ an integer? Let $f$ be holomorphic in an open $\\Omega \\subset \\mathbb{C}$ and $\\gamma$ a closed curve in $\\text{int}(\\Omega)$, along which $f$ is never zero. Are these hypotheses enough to claim $\\frac{1}{2\\pi i}\\int_{\\gamma}\\frac{f'(z)}{f(z)}dz$ is an integer? If not, what are the necessary and sufficient conditions for that? I can prove that's an integer for some particular cases, for example when $\\Omega$ is convex and $\\gamma$ is a circle. But I've seen people claming this in many other contexts, like when $\\Omega$ is an annulus around $0$ and $\\gamma $ is an arbitrary curve inside it. This isn't obvious to me at all. Thanks!",
"Is it possible to have connecting loop lines (like algorithm2e) in algorithmic?",
"What are the zero divisors of $C[0,1]$? Suppose you have a ring $(C[0,1],+,\\cdot,0,1)$ of continuous real valued functions on $[0,1]$, with addition defined as $(f+g)(x)=f(x)+g(x)$ and multiplication defined as $(fg)(x)=f(x)g(x)$. I'm curious what the zero divisors are. My hunch is that the zero divisors are precisely the functions whose zero set contains an open interval. My thinking is that if $f$ is a function which is at least zero on an open interval $(a,b)$, then there exists some function which is nonzero on $(a,b)$, but zero everywhere else on $[0,1]\\setminus(a,b)$. Conversely, if $f$ is not zero on any open interval, then every zero is isolated in a sense. But if $fg=0$ for some $g$, then $g$ is zero everywhere except these isolated points, but continuity would imply that it is also zero at the zeros of $f$, but then $g=0$, so $f$ is not a zero divisor. I have a hard time stating this formally though, since I'm only studying algebra, and not analysis. Is this intuition correct, and if so, how could it be rigorously expressed?",
"In Rey's vision, whose voice says \"These are your first steps\"?",
"Why did the command \":(){ :|: & };:\" make my system lag so badly I had to reboot? Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. I was in my Virtualbox running 12.04 trying to compile an app, and while waiting I happened to chance upon a forum where a comment said: Try :(){ :|: & };: Fun, too, and doesn't need root. Without thinking, I ran it in my gnome-terminal. It made my 12.04(in Virtualbox) lag so badly, I had to shut it down. My question is what does this command do? :(){ :|: & };:",
"The Help Vampire problem",
"Does Sheldon Cooper have Asperger's Syndrome?"
] | medi_sts_stackexchange_dupe |
Clicking on tags in global search results is broken | New global search doesn't like tags | [
"Elastic net penalty",
"How could the Fremen do what they did to the empire in Dune Messiah? How could, and why would, the Fremen's jihad kill 61-Billion people and conquer the known universe? Their leader Paul was already emperor. What was left to conquer? And how could they force this onto Paul when they had no relationship with the Spacing Guild except thru Paul? If Paul didn't arrange for transportation then how would they get off Arrakis? And how does a small population of hardened, rugged, but not technologically advanced people do that much conquering in that time? Also, is there any explanation about how Ix, Tleilex planet and Bene Gesserit planets hold off the wave of jihad?",
"A rubber viewfinder cover is connected to my camera strap. What's it for, and when do I use it? What happens to a photo if I don't use it?",
"My code follows: \\documentclass{book} \\usepackage{color,colortbl} \\begin{document} \\begin{tabular}{ll>{\\color{red}}p{20pc}} a &1 &Test \\end{tabular} \\end{document} The output was: Some unnecessary vertical space came before the last column. If I remove the tag \\color{red} then everything works fine, how can I fix this? Above said issue was fixed based on the suggestion given by David Carlisle and CarLaTeX, but the same problem was there if I use the supertabular environment, I used supertabular package for auto breaking table and the code follows: \\documentclass{book} \\usepackage{color,colortbl,supertabular} \\begin{document} \\begin{supertabular}{ll>{\\leavevmode\\color{red}}p{4pc}>{\\leavevmode\\color{black}}l>{\\leavevmode\\color{black}}l>{\\leavevmode\\color{red}}p{4pc}} a &1 &Test &a &1 &Test\\\\ a &1 &Test &a &1 &Test\\\\ \\end{supertabular} \\end{document}",
"I am wondering how to recreate some kinds of effects (you can easily do in Photoshop) in Blender. I want to create the gradient textures like ones pictured below, should I render objects and blur them in compositor? Or can I achieve it using only material nodes?",
"How did the writers not notice that the mailbox of Leela's parents says \"Turanga,\" and not \"Leela\"? Turanga Leela is Leela's proper name, with Leela being her surname, so shouldn't it follow that her folks would be the same?",
"What exactly is the cause of RAM incompatibility? I'm looking at rather short QVL lists from manufacturers, and I'm wondering what is the underlying cause of RAM incompatibility aside from the obvious: Obvious Reasons for Incompatibility RAM Generation (DDR, DDR2, DDR3, DDR4) Form Factor / pin count RAM Type (ECC vs Non-ECC, Registered vs not, Buffered vs not) Minimum speeds on a board that cannot adjust the memory frequency Non-standard voltage range on a board that cannot adjust the memory voltage Channel count (single vs dual vs quad) Bad or inoperable module Mismatched set Not Obvious Reasons Brand SKU Max Capacity Speed too high As in, why can't motherboard manufacturers just list the specifications of the RAM they will accommodate, and support every memory chip of that category instead of listing specific SKUs from specific brands? What happens electrically/physically that causes boards to fail to POST / operate with RAM that is otherwise 'compatible' with all of the specifications of RAM that is on the QVL?",
"Email from IOS with attachments larger than 7.5Mb gets stuck in outbox and constantly tries to resend. Costs us hundreds in data fees",
"A man enters a comatose author's dreams to wake him up This is a short story, I think, but I might be wrong. A man is recruited to enter an authors' dreams to try & bring him out of a coma & finds himself in a hackneyed barsoom type world where the coma victim is a muscle bound hero, it's a desert world with two suns, the damsel in distress is the typical scantily clad princess trope. The \"hero\" basically spoils the authors' dreams by manifesting a pistol & simply shooting the monsters dead at one point & the author tries to write him out of the \"story\" by simply jumping forward several chapters & is both surprised & peeved to find him still there. The author eventually comes out of his coma & immediately assaults the man when he recognizes him from his dreams, he tries to strangle him if I remember right. He enters the authors' dreams with some kind of experimental dream imaging tech, basically a two ECG sort of set up linked through a computer with him put to sleep with drugs I think.",
"disable clickable landmark on google map",
"Changing my Apple ID's email: address is not available",
"What license to use while putting papers on the Arxiv? I am new to this and not sure what to make of all the options available. I am interested in putting a machine-learning-related preprint, which will potentially be submitted to places like NIPS/ICLR/ICML in the future. arXiv.org perpetual, non-exclusive license to distribute this article (Minimal rights required by arXiv.org) Creative Commons Attribution license (CC BY 4.0) Creative Commons Attribution-ShareAlike license (CC BY-SA 4.0) Creative Commons Attribution-Noncommercial-ShareAlike license (CC BY-NC-SA 4.0) Creative Commons Public Domain Declaration (CC0 1.0)",
"The value of $\\lim_{n \\to \\infty}\\int_{0}^{1}nx^ne^{x^2}dx$",
"Show that $\\partial_\\nu T^{\\mu\\nu} = - j_\\nu F^{\\mu\\nu}$ In a theoretical physics homework problem, I have to show the following: $$\\partial_\\nu T^{\\mu\\nu} = - j_\\nu F^{\\mu\\nu}$$ Where $T$ is the Energy-Momentum-Tensor, $j$ the generalized current and $F$ the Field-Tensor. We use the $g$ for the metric tensor, I think in English the $\\eta$ is more common. I know the following relationships: Current and magnetic potential with Lorenz gauge condition: $$\\mathop\\Box A^\\mu = \\mu_0 j^\\mu$$ Energy-Momentum-Tensor: $$T^{\\mu\\nu} = \\frac1{\\mu_0} g^{\\mu\\alpha} F_{\\alpha\\beta} F^{\\beta\\nu} + \\frac1{4\\mu_0} g^{\\mu\\nu} F_{\\kappa\\lambda} F^{\\kappa\\lambda}$$ Field-Tensor: $$F^{\\mu\\nu} = 2 \\partial^{[\\mu} A^{\\nu]} = \\partial^{\\mu} A^{\\nu} - \\partial^{\\nu} A^{\\mu}$$ d'Alembert operator: $$\\mathop\\Box = \\partial_\\mu \\partial^\\mu$$ Bianchi identity: $$\\partial^{[\\mu} F^{\\nu\\alpha]} = 0$$ So far I have set all the definitions into the formula I have to show, but I only end up a lot of terms from antisymmetrisation and product rule. I also drew all what I have in , but I still cannot see how to tackle this problem. Could somebody please give me a hint into the right direction?",
"\"A quarter past five\" or simply \"Quarter past five\"? I usually say “It’s a quarter past” (for instance) “five”. But I think I’ve heard (or read) “It’s quarter past ...”, too, with no indefinite article: is that correct? Which is more common (if both constructions are in use)? Is the omission of the article more colloquial (informal, popular, whatever)? Is there a difference between British and American English? Thank you very much.",
"Print only the Nth line before each line that matches a pattern I'm trying to print only the <N>th line before a search pattern. grep -B<N> prints all the <N> lines before the search pattern. I saw the awk code that can print only the <N>th line after the search pattern. awk 'c&&!--c;/pattern/{c=N}' file How to modify this to print only the <N>th line before each line that matches pattern ? For example, here is my input file ... ... 0.50007496 0.42473932 0.01527831 0.99997456 0.97033575 0.44364198 Direct configuration= 1 0.16929051 0.16544726 0.16608723 0.16984300 0.16855274 0.50171112 ... ... 0.50089841 0.42608090 0.01499159 0.99982054 0.97154975 0.44403547 Direct configuration= 2 0.16931296 0.16553376 0.16600890 0.16999941 0.16847055 0.50170694 ... I need a command that can give me back the 2nd line before the search string Direct configuration. I'm trying to run this in SUSE-Linux",
"Spacing issue for newenvironment wrapper of equation environment If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin. Example code: \\documentclass{article} \\begin{document} \\newenvironment{myenv}{\\begin{equation}}{\\end{equation}} \\noindent $| \\leftarrow$ this is the left margin. \\begin{myenv} e ^{i \\pi} + 1 = 0 \\end{myenv} $| \\leftarrow$ this isn't the left margin. \\end{document} Output: Removing the newline after \\end{myenv} solves the spacing problem, but the resulting code is not readable. Of course, in this example I could just use the equation environment itself. My real issue involves a more complex custom environment that suffers from the same problem, and which also includes an equation environment within it.",
"Volume calculation of truncated cones with elipses as base and top I wish to calculate the volumes of a truncated cone whith asymetry over all axes and ellipses as base and top - how do I do that? I have height and radii of the corresponding ellipses. (I assume correctly I need the geometric means of the 2 radii describing the ellipsis.) Kind Regards",
"\"Die from cancer\" vs. \"die of cancer\" Is there a difference between those expressions: \"Die from cancer\" or \"Die of cancer\"? Are they both correct?",
"What is a current replacement of gnome-open command (generic open of files based on the type)? Before: gnome-open mydoc.pdf # opened PDF in default application Now: gnome-open The program 'gnome-open' is currently not installed. You can install it by typing: sudo apt-get install libgnome2-0"
] | medi_sts_stackexchange_dupe |
Dell T7400 won't boot Ubuntu unless the live USB is connected | Can't boot without Flash Drive plugged in | [
"Proving the geometric sum formula by induction $$\\sum_{k=0}^nq^k = \\frac{1-q^{n+1}}{1-q}$$ I want to prove this by induction. Here's what I have. $$\\frac{1-q^{n+1}}{1-q} + q^{n+1} = \\frac{1-q^{n+1}+q^{n+1}(1-q)}{1-q}$$ I wanted to factor a $q^{n+1}$ out of the second expression but that 1- is screwing it up...",
"How can I prove that every prime except 2 and 5 divide infinitely many of the following integers $11, 111, 1111, ...$ ?",
"Why does Skynet take prisoners? In the Terminator franchise, extermination camps are often mentioned. But from a machine-logic POV, wouldn't it make more sense to just kill all humans on sight, period? Or herd them into small areas and nuke them? (even today's military electronics are hardened against EMPs and Skynet wouldn't care about the environment.) IIRC, the reasoning behind ghettoization / concentration camps / extermination camps / gas \"showers\" is to misdirect or mislead people both inside and outside the country as to what was really going on. But Skynet doesn't have to worry about bad publicity, and can manufacture all the free labor it needs. Is there any in-universe explanation for keeping large groups prisoners?",
"Prove that $\\mathcal{P}(A)⊆ \\mathcal{P}(B)$ if and only if $A⊆B$. Here is my proof, I would appreciate it if someone could critique it for me: To prove this statement true, we must proof that the two conditional statements (\"If $\\mathcal{P}(A)⊆ \\mathcal{P}(B)$, then $A⊆B$,\" and, If $A⊆B$, then $\\mathcal{P}(A)⊆ \\mathcal{P}(B)$) are true. Contrapositive of the first statement: If $A \\nsubseteq B$, then $\\mathcal{P}(A) \\nsubseteq \\mathcal{P}(B)$ If $A \\nsubseteq B$, then there must be some element in $A$, call it $x$, that is not in $B$: $x \\in A$, and $x \\notin B$. Since $x \\in A$, then $\\{x\\} \\in \\mathcal{P}(A)$; moreover, since $x \\notin B$, then $\\{x\\} \\notin \\mathcal{P}(B)$, which proves that, if $A \\nsubseteq B$, then $\\mathcal{P}(A) \\nsubseteq \\mathcal{P}(B)$. By proving the contrapositive true, the original proposition must be true. To prove the second statement true, I would implement nearly the same argument, so that isn't necessary to write. So, does this proof seem correct? Also, was the contrapositive necessary? Or is there another way to prove the initial statement?",
"Asked again to review a paper, when the authors don't wish to modify it I have received a manuscript to review for a journal. The interesting thing is, I had already reviewed this article (exact same title, abstract and author list, almost exact same content) for another journal a few weeks ago where I recommended that it be published, but only after major revisions of both form and content. When I first reviewed it, I wrote a two-page review, listing some questions and several “actionable” comments, ranging from some concerns about exactness of the text (some conclusions didn't seem fully backed by the results) all the way down to trivial stuff (grammar, a few typos, graphic issues with the figures, etc.). Now, the manuscript has come to me for review again, but it is almost unchanged from the first version. None of the serious stuff has been addressed, and even most of the trivial stuff was not fixed (there's at least one remaining typo, and the figures still aren't fully legible). However, I think this behavior from the authors is clearly a bad signal, which should be somehow conveyed to the editor: they're not willing to amend their work, and would rather do some journal-shopping. What would you suggest me to do? Should I just re-send my earlier review? Add a note to the editor about my knowledge of the “history” of the paper? Or maybe even include it in my review, so the authors are aware that people know of their behavior, and maybe feel bad enough to change their ways? PS: I wrote it in the present tense, but it's actually a story from my past. I'm not sure I did the right thing at the time, and I think it's better to actually formulate it as an open question…",
"What is the benefit of launching a satellite \"a few days before the monthly report\" I've seen this hint in the game as well as on this site and I've been wondering if there is any specific advantage to launching satellites closer to the monthly report rather than any time during that month. The way I see it, monthly maintenance costs are taken out during the reports (correct me if i'm wrong), so regardless of when you launch it during the month it would cost the same. Is the benefit of holding on to them longer simply a safety net in case some countries go into the red during that time?",
"When going to any page of with a new reputation gain, the achievements dropdown keeps showing a new badge green highlight: And then trying to dismiss the notification by clicking on it gets rid of the green badge notification, but the +5 remains even after I've clicked away from the dropdown.",
"Implementing a PIVOT query",
"A fellow player is uncooperative with the group and gets GM favoritism. How do I handle this? I actually have two situations but they are interconnected. Our group is currently playing a Dresden game. The GM and one of the players are married. Along with that, he is a new member to the group. I can understand her (the GM) wanting to make him feel welcome but it has gone into the the realm of blatant favoritism. A few examples: Every idea he has is deemed fantastic, wonderful, awesome and is always successful. Most of the time he doesn't have to roll to see if he succeeds; he just does. After a series of major setbacks to the other player's characters, I joked that her husband was the only one left to mess with. Her answer to that was that she would absolutely not be messing with him in the game. He and his character were safe from that. In the last session, he and another player had to make the same roll using the same skill for the same information. He needed a fair to succeed. The other player needed a great. Not the first time that has happened. The second part of this has to do with him as well. As I said, he is new to the group. When we were discussing a game to play, it was made clear that it would be cooperative. We would all be working together to a common end. However, he will not- I mean ever- share any information with the rest of the group. No matter how vital or needed that information is to advance the story, he just smiles and says he's got nothing. To try and get around this problem, a group aspect was created. That way if a situation or information that everybody needed to know came up, a fate chip could be played and anyone who wanted to be a part of it could be present. He is totally abusing it. Now, instead of just not telling us anything, he adds give me a fate chip and maybe I'll tell you something. It's like he is trying to beat us at the game and that is not the way it was set up. So, the question to these two situations is what do I do? How do I handle this in a rational and sensitive way? To complicate things further, the GM is my best friend. He is her husband. I don't want to put her in the middle but I am about ready to quit the game. I am tired of it being his game and everyone else being bit players. Should I talk to her or should I talk to him? If anyone has had experience with this, any advice would be appreciated.",
"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?",
"When electric dipole placed in non uniform electric field, what is the approach to calculate torque acting on it? Can it be zero?",
"Proving $(A\\le B)\\vee (B\\le A)$ for sets $A$ and $B$",
"Override a single JavaScript file from a module",
"Incorrect icons on hot network questions I see the same problem has occurred in the past, the most-linked one being Is this happening for anyone else? I've marked the icons I could recognize as incorrect. This exists on every page, is on both chrome and firefox (from Ubuntu 16.04), and persists after hard-refreshes in each. Edit: The icons in Meta's Hot Network Questions tab appear to be consistently accurate. Every other page I checked (including Unix, Workplace, English Language & Usage, Money, and Sci-fi) have a handful of incorrect ones, even for some of the same questions that are displayed correctly in Meta. Further note: if it matters, the icons are also incorrect in the drop down community-search feature on the right end of the header. Again, they appear correct on this Meta page, and incorrect on all other pages I've checked. Some of the ones that are consistently incorrect: computational science constructed languages movies and TV raspberri pi rpg russian language science fiction and fantasy sitecore skeptics super user latex workplace That distribution seems skewed, but I may just be disproportionately familiar with the sites at the end of the alphabet. Many others could be wrong, those are just the ones I could recognize. Last edit: apparently my Google skills were lacking - was asked an hour prior.",
"How can std::make_heap be implemented while making at most 3N comparisons?",
"\"I couldn't but laugh\" - correct or not?",
"Prove that for any piecewise smooth curve it is possible to find the parametrisation",
"RSA when N=pq and p = q",
"How to get object size in memory? I need to know how much bytes my object consumes in memory (in C#). for example how much my Hashtable, or SortedList, or List<String>.",
"Understanding the length extension attack I have been trying to understand exactly how a length extension attack works on SHA-1. I'll detail below what I've understood so far, so that I can convey my understanding of the same and hopefully get advice on where I'm going wrong. Lets assume that for a message $m$, a secret $s$ is appended to it and the SHA-1 hash is calculated. If $\\textrm{len}(m) + \\textrm{len}(s)$ is not a multiple of the block size, a certain amount of padding is added to it to make it a multiple, and the hash is generated using what is essentially $s || m || \\textrm{padding}$. Now SHA-1 internally uses 5 registers — it takes in an block, generates new register values, turns the crank, takes in another block, generates new register values, turns the crank ... and so on till the end. When all blocks are exhausted, the register values are concatenated and spit out. Assume that an attacker knows a certain value of $m$, for which he also knows the hashed key. In such a case, he knows the state of the 5 registers when $(s || m || \\textrm{padding}$ was processed. Lets also assume that the attacker knows the length of $s$, so that he can predict how much padding was added. Here is where I get confused. From what I've read so far, the attack involves taking the known hash, adding a certain amount of padding and then the value that we want. However, isn't the padding already used up in creating the hash? Why are we using padding in our attack?"
] | medi_sts_stackexchange_dupe |
"Access is Denied" on contentDocument in IE9 on same domain | "Access is denied" JavaScript error when trying to access the document object of a programmatically-created (IE-only) | [
"Auto confirm when running bash scripts?",
"Get the equation of a circle when given 3 points",
"How to use GROUP BY to concatenate strings in MySQL?",
"If I inherit from a base class and want to pass something from the constructor of the inherited class to the constructor of the base class, how do I do that? For example, if I inherit from the Exception class I want to do something like this: class MyExceptionClass : Exception { public MyExceptionClass(string message, string extraInfo) { //This is where it's all falling apart base(message); } } Basically what I want is to be able to pass the string message to the base Exception class.",
"Wires do not connect in Circuitikz I've been trying to use relative coordinates to make my drawings more precise but it seems I don't know how the command \\node works since I've been having this problem while connecting a circuit element to another: I'm trying to eliminate the blank between the two wires. This is the minimal code: \\documentclass{book} \\usepackage[siunitx,RPvoltages]{circuitikz} %Circuit Schematics/Diagram \\usetikzlibrary{arrows,shapes,calc,positioning} \\begin{document} \\begin{circuitikz} \\path (0,0) coordinate (C); % Comparatore \\path (C) + (0,-1) + (1,0) coordinate (com) node[above]{}; \\path (com) + (1.5,-1) node[op amp] (comp) {}; % Collegamenti Comparatore \\node (G1) at ([shift=({-1.3cm,0cm})]comp.-) {}; \\draw (G1) -- (comp.-); \\node (G2) at ([shift=({-1.3cm,0cm})]comp.+) {}; \\draw (G2) -- (comp.+); \\draw (C) -- (G1); % Collegamento Rettificatore - Comparatore \\end{circuitikz} \\end{document} Thanks for any help!",
"Does anyone know of any interesting subsets of the Cantor set? When I first started thinking about this, I thought that since the Cantor set $C$ is the intersection of disjoint unions of closed sets, those particular closed sets would be subsets of $C$. Those sets, however, happen to be intervals! The Cantor set contains no isolated points nor (open) intervals, so then what subsets does it contain besides $\\varnothing$ and itself?",
"Merging two xml files in C# without appending and without deleting anything (example given)",
"I accidently ran sudo chmod 755 -R / instead of sudo chmod 755 -R ./ I stopped it after few seconds, but now there is some problems such as sudo: must be setuid root How can I revert permissions back?",
"How to start a background process in Python?",
"Setting background-image using jQuery CSS property",
"I'm trying to compile a document that only works with an up-to-date distribution, so I'd like to know: how do I update my distribution? Please provide screenshots where appropriate. List of answers To keep an eye on what’s going on at CTAN you may subscribe to the or the RSS feed feed://www.mail-archive.com/[email protected]/maillist.xml",
"How do I make Ubuntu not require a password to supend?",
"Visiting two Schengen countries, coming back home in between, do I apply for single-entry or multiple-entry visa?",
"Why are z-values replaced with zero after in_memory use in Python?",
"Let $L,M$ two subspaces of the vector space, $V$ such that both $L,M \\ne V$. Prove: $L\\cup M \\ne V$. I think this is a case of a proof by contradiction. Lets assume $L \\cup M = V$. Hence, $$\\dim(V) = \\dim(L) + \\dim(M) - \\dim(L\\cap M)$$ How to proceed?",
"We've never had an explicit policy around downvoting -- users are free to, if they like, cast all their votes as downvotes. Whether this behavior is desirable or not is another matter. Now, we do discourage downvoting by making downvotes cost -1 rep to the casting voter. But, there's nothing in our policy that says continual downvoting is bad or wrong or inappropriate. However, my thoughts on this are changing. I no longer think it is community friendly behavior to cast an extreme number of downvotes, and I am considering an explicit policy forbidding it. Some data points (as of today): Total SO upvotes cast: 45,555,530 Total downvotes cast: 365,192 users with more than 100 downvotes cast: 596 users with > 100 downvotes and the lowest ratio of upvotes to downvotes: | | | up:down user id | downvotes | upvotes | ratio --------+-----------+---------+--------- 187712 | 201 | 37 | 0.18 2525 | 580 | 149 | 0.25 136829 | 137 | 43 | 0.31 55943 | 438 | 140 | 0.31 19405 | 236 | 94 | 0.39 5640 | 3299 | 1337 | 0.40 180659 | 126 | 66 | 0.52 78613 | 348 | 198 | 0.56 39892 | 181 | 109 | 0.60 432 | 310 | 197 | 0.63 238704 | 198 | 132 | 0.66 12643 | 170 | 116 | 0.68 18256 | 219 | 152 | 0.69 122428 | 167 | 118 | 0.70 118854 | 120 | 86 | 0.71 105662 | 273 | 201 | 0.73 187690 | 135 | 101 | 0.74 1782 | 573 | 430 | 0.75 (this is a complete list, there are no more below this threshold.) Based on this data I am leaning towards enforcing a \"no more downvotes may be cast\" if You have at least (n) votes cast total Your upvote to downvote ratio is lower than ~ 0.5",
"Order of an element in a finite cyclic group Let $G$ be a cyclic group of order $m$ generated by an element $a$. I want to show that the order of $a^k$ is $m/d$, where $d:=\\gcd(k,m)$. I have a simple proof, but want to make sure I haven't overlooked anything since the other proofs I've seen (such as in Dummit and Foote) look more complicated. The order of $a^k$ is the cardinality of the set $\\{a^{ks}: s \\in \\mathbb{Z}\\}$, which equals the cardinality of the set $\\{a^{ks} a^{mt}: s,t \\in \\mathbb{Z} \\}$ since $a^m$ is the identity. But the set $\\{ks+mt: s,t \\in \\mathbb{Z} \\}$ is the set $d \\mathbb{Z}$ by the basic properties of integers. So we have that the cardinality of the set is $| \\langle a^k \\rangle| = |\\{1, a^d, a^{2d}, \\ldots, a^{m-d} \\}| = m/d$.",
"How to prove $|a^k|=n/\\gcd(n,k)$ whenever $|a|=n$?",
"How does Hextech Crafting work? How do you earn free loot? What's the deal with essences and why are they so important? What do the different options mean when dealing with Redeeming Rerolling Disenchanting and Upgrading? How does it all work?",
"I have 2 1tb hard drives on my computer with Windows 8 on the first hard drive and nothing on the other. I want to install Ubuntu 14 on the second hard drive. I've looked up some guides and they all say to install Ubuntu on the sdb partition when booting off a usb stick. I have also seen some say to unplug the Windows HDD and then install Ubuntu onto the second HDD, and Ubuntu will automatically detect Windows and ask what you want to boot into upon boot. I am really concerned about this - Will it ask me to choose what OS I want to boot into? Is there something like rEFInd(Mac) for Windows? Can anyone please give me a guide on how to do it without ruining my computer? Thanks"
] | medi_sts_stackexchange_dupe |
Regarding next LTS upgrade - 20.x | Ubuntu non LTS to LTS in the future | [
"My question was closed for being a \"shopping list question\", even though it was very much related to the topic of the site. Why?",
"What are post-installation triggers? These are executed when upgrading software.",
"What would be the effects of warp collisions? Triggered by a I was wondering what actually would happen to a ship (e.g. the Enterprise-D NCC-1701) that collides with a stationary object such as a) another ship of a similar configuration or b) a gigantic structure like a moon or even a planet. We know the deflector is supposed to keep interstellar dust (not to be confused with ordinary dust, which is a different thing) from ripping large holes in the ship. At first, one thinks \"Obvious. .\" But does it really? Would the deflector manage to actually deflect both masses? If not, where is the threshold of what a deflector can handle? Would the ship maybe tunnel right through the object, because of wibbly-wobbly space wobblification by the warp field? It does do some weird things to the space right in front and behind the vessel. Important remark: We cannot approach this with what we know about physics at all. For all intents and purposes, both ships must measure the other ship travelling faster than light, resulting in it having infinite (or rather undefined) mass and by extension momentum. If we start with that reasoning any ship jumping to warp would suck in the entire universe (it takes a moment, but think about it). So, obviously we cannot apply our intuition (even our relativistic intuition) here.",
"Proving that $G$ is a group if $a*x=b$ and $y*a=b$ have solutions.",
"What is the final price if the bid price exceeds the ask price in an order driven market?",
"Why is it true that $\\mathrm{adj}(A)A = \\det(A) \\cdot I$?",
"I have 2-3 different column names that I want to look up in the entire DB and list out all tables which have those columns. Any easy script?",
"Chrome and IE 11 are fine, I'm only able to reproduce this in Firefox. Using version 27.0.1 on Windows 7. Meta as well as all the other sites are affected. I can still see the hover effect, but the image is gone. I see this in Firebug: The image doesn't show up in the Network tab. I am able to see the image by visiting which goes to I've done Ctrl-F5, I've cleared the cache and I've tried Private Browsing. Possibly related to ?",
"Timeout for Always On Synchronous Commit Mode For SQL Server Enterprise's Always On availability groups, how can you configure the timeout for Synchronous Commit mode? Is there a maximum? Can it work, for example, between continents? Thanks",
"Can I access constants in settings.py from templates in Django? I have some stuff in settings.py that I'd like to be able to access from a template, but I can't figure out how to do it. I already tried {{CONSTANT_NAME}} but that doesn't seem to work. Is this possible?",
"The left-nav is great - I like it, users who don't can disable it. Perfect world. Now it's stickied it's always there too, which is really useful. When I'm navigating in areas not directly linked to in the left nav and have scrolled down, I often want to re-use the other navigation. This means scrolling up. Which is fine, of course it's how websites work. However, if the left-nav had a \"Top\" link which took the user to the very top of the page it would be great for getting back to specific contextual menus and things that are not linked to in the left-nav. For example, if I'm viewing questions on a specific tag and I've scrolled down, I sometimes want to get back up to the top to remove a tag, or change from \"Latest\" to \"Featured\" etc. Although clicking the \"Questions\" link in the left-nav takes me back to the top, it removes the tag(s) I was searching with. There are other use cases where this would be useful, like long questions and answers (Etc). So I think a \"Top\" link in the left nav would be very useful. I think this is different to the as it doesn't mention the left-nav, and my question is suggesting this idea because we have a good place to put it and it'll be a useful addition to the left-nav.",
"Why does my minecraft server disconnect the internet when it crashes?",
"Down arrow button for choosing the desired site When searching for the desired SE site, the down arrow key (down) should work in order to choose the site one is looking for and hit enter to visit it, instead of using the mouse point to choose it. Would be pretty convenient.",
"I have a question. I have been given this proof: \"For any $n$ in the integers where $n>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?",
"Accessing my Windows 7 files from my Ubuntu account I have just installed Ubuntu on my computer and I have windows 7 as my other operating system. is there a way that I can access my windows 7 files from my Ubuntu installation?",
"Suppose that $S_0$ and A are positive numbers, let $$S_{n+1} = \\frac{1}{2}\\left(S_n +\\frac{A}{S_n}\\right)$$ with $n \\geq 0 $. (a)Show that $S_{n+1} \\geq \\sqrt{A} $ if $n \\geq 0$ (b)Show that $S_{n+1} \\leq S_n $ , if $n \\geq 1$ (c) Show that $s= \\lim\\limits_{n \\rightarrow \\infty} S_n$ exists (d) find s (a) Show that $S_{n+1} \\geq \\sqrt{A} $ if $n \\geq 0$ Given $$P_n: S_{n+1} = \\frac{1}{2}\\left(S_n +\\frac{A}{S_n}\\right) \\geq \\sqrt{A}$$ $$P_0: S_{1} = \\frac{1}{2}\\left(S_0 +\\frac{A}{S_0}\\right) \\geq \\sqrt{A} $$ We assume that $P_n$ is true $$P_{n+1}: S_{n+2}= \\frac{1}{2}\\left(S_{n+1} +\\frac{A}{S_{n+1}}\\right)$$ by assumption $$S_{n+2}= \\frac{1}{2}\\left(S_{n+1}\\left(1 +\\frac{A}{(S_{n+1})^2}\\right)\\right) \\geq \\frac{1}{2}\\left(\\sqrt{A}\\left(1 +\\frac{A}{(\\sqrt{A})^2}\\right)\\right)$$ $$ S_{n+2}= \\frac{1}{2}\\left(S_{n+1} +\\frac{A}{S_{n+1}}\\right) \\geq \\sqrt{A} $$ It follows that $S_{n+1} \\geq \\sqrt{A} $ (b) Show that $S_{n+1} \\leq S_n $ , if $n \\geq 1$ $$S_{n+1} \\leq S_n$$ $$\\frac{1}{2}\\left(S_n +\\frac{A}{S_n}\\right) \\leq S_n $$ Dividing by $S_n$ $$\\frac{1}{2}\\left(1 +\\frac{A}{S_n^2}\\right) \\leq 1 $$ $$\\frac{A}{2S_n^2} \\leq \\frac{1}{2}$$ $$A \\leq S_n^2$$ $$S_n \\geq \\sqrt{A}$$ As $S_{n+1} \\leq S_n$ yields a true statement, it follows $S_{n+1} \\leq S_n$ is true. (c) Show that $s= \\lim\\limits_{n \\rightarrow \\infty} S_n$ exists Since $S_{n+1} \\leq S_n$, the sequence is non-increasing, using the non-increasing theorem stating that if $\\{S_n\\}$ is non-increasing then $$\\lim\\limits_{n \\rightarrow > \\infty} S_n = \\inf\\{S_n\\} $$ (d) find s Is the argumentation in (a) and (b) appropriate? Also, I have to admit I m getting less confident in my argumentation (c) and (d). How to proceed in (c) and (d)? Much appreciated for your input or help.",
"As far as I understand, one of the main claimed problems with initializing e.g. a feed-forward neural network (with several $\\text{tanh}$ or $\\text{ReLU}$ layers) with $W=0$ is that it doesn't break \"network symmetry\", meaning, backpropagation would propagate the same error through all such units (i.e. \"nudging all weights in the same direction\"). This is, I presume, undesirable because we would not be learning \"different\" calculations through different paths of the network. However, I'm confused why that even matters in this case given the fact that if $W$ ever drops to 0, we will effectively be propagating no gradients at all through the network, since W=0 would multiply all errors from the output and prevent any learning. Put another way, even if $W=0$ does not break network symmetry (wasting calculations and paths in the network) is it correct to say that if $W=0$ (e.g. by initialization) we are effectively killing gradients in a neural network, and thus no learning can take place?",
"Convince grep to output all lines, not just those with matches Say I have the following file: $ cat test test line 1 test line 2 line without the search word another line without it test line 3 with two test words test line 4 By default, grep returns each line that contains the search term: $ grep test test test line 1 test line 2 test line 3 with two test words test line 4 Passing the --color parameter to grep will make it highlight the portion of the line that matches the search expression, but it still only returns lines that contain the expression. Is there a way to get grep to output every line in the source file, but highlight the matches? My current terrible hack to accomplish this (at least on files that don't have 10000+ consecutive lines with no matches) is: $ grep -B 9999 -A 9999 test test If grep can't accomplish this, is there another command-line tool that offers the same functionality? I've fiddled with , but it doesn't seem to have an option for it either.",
"Tony's suit is an engineering marvel, and they explain many facets of the technology to help give legitimacy to the special powers, abilities and weapons it has. I never read the Iron Man comics, but in the movie they really don't have a technological explanation for how he miraculously seems to be unaffected by crushing G-forces of sudden acceleration, the inertia of sudden stops and hair-pin turns, and especially the blunt force trauma from getting smashed in the face with Thor's hammer. Certainly it appears the suit takes punishment, but Tony always remains unscatched, never a collapsed lung, broken bone or even a bloody nose. In my infantile understanding of theoretical physics, the same technology that would be used to counter G-forces and sudden blunt force trauma to the body inside would be the very same technology used for which in my honest opinion would be a much more stunning technological achievement than his heralded Arc Reactor. Was their ever an explanation proferred for this and if so was it indeed attributed to Anti-Gravity?",
"Changing units of measurement in a simple regression model"
] | medi_sts_stackexchange_dupe |
Any rules regarding button order? | Order of items in a context menu | [
"What medium should be used for long term, high volume, data storage (archival)?",
"Should form 'Continue' button be disabled if validation is incomplete? In forms we often see the 'continue' button inactive until all the required fields are complete: – Wireframes created with Is this actually a help to the user, or a hindrance? I imagine the Pro for this is that it's a visual indicator to the user that they haven't finished filling in the form or dealing with errors (because even with inline validation a user won't be informed if they've never actually interacted with a field so won't show any errors for those at that point). But then the main Con for this (which I've also seen borne out in usability testing) is that users will be confused why they can't click the button. Is the pattern of disabling the Continue button until validation is complete actually providing a negative user experience?",
"How a module can override theme suggestion? Basically it was but I'll reword it, as I don't want to define a new theme (reason was already given). What I want to do: in my module I have a file node--attach.tpl.php which is a modifed version of node.tpl.php. Now I want that, if view_mode = 'attach' then this file is used. Also, theme should be allowed to override it with its own node--attach.tpl.php in theme folder.",
"Err 80 appears when I turn on my Canon EOS 5D Mark II",
"Continuously Differentiable Curves in $\\mathbb{R}^{d}$ and their Lebesgue Measure Show that the image of the curve $\\Gamma\\in\\mathscr{C}^{1}\\left([a,b]\\to\\mathbb{R}^{d}\\right)$ has d-dimensional Lebesgue measure zero (of course, $d\\geq2$). This can be proved using the absolute continuity of $\\Gamma'$ (since $[a,b]$ is compact and $\\Gamma'$ is assumed continuous, hence in $L^{1}([a,b])$) together with the fundamental theorem of calculus to obtain an $\\epsilon$-small cover of $\\Gamma$ by balls. But I am trying to prove this using more elementary means (i.e. without integration). Intuitively, since $\\Gamma$ is smooth, we ought to (for fine enough partitions) be able to cover $\\Gamma$ by boxes which arise from its tangent line. And by taking the partition of $[a,b]$ to be finer and finer, the \"tangent box\" cover ought to also get smaller and smaller. More rigorously, the vector-version of the mean value theorem can be applied: $$|\\Gamma(t_{i-1})-\\Gamma(t_{i})|\\leq(t_{i}-t_{i-1})|\\Gamma'(t_{i}^{\\star})|\\leq M_{i}\\Delta t$$ where $t_{i}^{\\star}\\in(t_{i-1},t_{i})$ and $M_{i}=\\sup_{t\\in[t_{i-1},t_{i}]}|\\Gamma'(t)|$ which exists and is finite since $\\Gamma'$ is continuous. But to me, it's not quite clear how to rigorously construct a cover by boxes from here. NOTE: In the proof I mentioned (using integration), essentially you sum the left hand side over all partition intervals of uniform length $\\delta$ (which depends on the $\\Gamma'$), and \"integrate\" the right hand side. Actually, to be more specific, for each $\\epsilon>0$ there exists a $\\delta>0$ such that $||P||<\\delta$ implies $\\int_{t_{i-1}}^{t_{i}}|\\Gamma'(t)|dt<\\epsilon$ (e.g. absolute continuity). This allows you to define numbers $\\epsilon_{i}=\\sup_{t,\\bar{t}\\in[t_{i-1},t_{i}]}|\\Gamma(t)-\\Gamma(\\bar{t})|\\leq\\epsilon$ so that $\\sum_{i=1}^{\\#P}\\epsilon_{i}\\leq||\\Gamma'||_{L^{1}([a,b])}$. Then you can use these $\\epsilon_{i}$ to put balls at each point $\\Gamma(t_{i})$ of radius (say) $2\\epsilon_{i}$, thus giving you an $\\epsilon$-small cover. Again though, this is harder to establish without integration theory.",
"How to change the chapter number to display as text (One, Two, ...)?",
"mysql select distinct rows into a comma delimited list column",
"When should I use \"didn't\" instead of \"haven't\"? Is haven't supposed to mean something I may still do and didn't not? Can I use didn't for something I might still do?",
"After the DEM creation, I wanted to create slope layer. However, the result has not satisfied me. I don't think the slope map is correct. Have you ever encountered false calculated terrain map? This is the DEM: And this is the slope layer.",
"I'm working from the URL I found here: My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 bit. I have followed the directions. I still get a password prompt on ssh. I'm not sure what to do next.",
"Find equation of a plane that passes through point and contains the intersection line of 2 other planes Find equation of a plane that passes through point P $(-1,4,2)$ that contains the intersection line of the planes $$\\begin{align*} 4x-y+z-2&=0\\\\ 2x+y-2z-3&=0 \\end{align*}$$ Attempt: I found the the direction vector of the intersection line by taking the cross product of vectors normal to the known planes. I got $\\langle 1,10,6\\rangle$. Now, I need to find a vector normal to the plane I am looking for. To do that I need one more point on that plane. So how do I proceed?",
"Who are the clients of my shared iTunes library? Is it possible to see who is currently connected and listening to a shared iTunes library? Is it possible to see which songs they listen to and how many/often? It's not really important; I'm just curious about it. Would be nice to know which colleagues love my music…",
"When a body lies on the surface of the Earth it is under the influence of gravity. The force on the body due to gravity causes it to exert a force on the ground and the normal reaction acts in the opposite direction causing the resultant force on the body to be zero. However, how can the body exert a force on the ground when it does not have any acceleration? Since force equals mass times acceleration how does a body without acceleration experience a force?",
"This occurs in the released recently to the public. When someone posts a code block in their question or answer, the code block is cut off on the right hand side, and I can't scroll to the right to view the rest of it. How can I view these code blocks?",
"Why do video cables (DVI, VGA) still screw in? I guess I could imagine that there was a time when accidentally disconnecting the monitor would have been catastrophic, though I don't see that being the case today. Is it just a legacy holdover that they are still secured with screws? Also, why is it that the video connection is really the only one that is still secured this way? It seems like the power cable would be a better candidate to be secured with screws. That really could be catastrophic. In the end, the reason this question occurred to me is that I've never had a video cable come out when not screwed in, so why the significant security?",
"Core Data - Storing Images (iPhone)",
"MicroSD card is set to Read-only state. How can I write data on it?",
"Looking for sci-fi short story anthology with a particular story of an Earth/Mars war children inheriting the surface I read this in the early to mid 80's. It was a textbook sized hardcover anthology with color illustrations throughout. Each story had a few images, some were full page illustrations. The particular story I remember the most involved Earth survivors living underground. Robots controlled the war from the surface. A teenage girl and boy decided to sneak away to the surface as no one had been up there in a long time. The kids discover greenery and a healthy environment, with rusted robot guardians. The robots had been keeping the humans fooled that the war was still going on, and had kept them under the surface. Mars had been wiped out from nearly the first volleys of missiles. The robots judge the teenagers as worthy and let them remain on the surface. The kids had silver jumpsuits that dissolved when they got wet. The robot illustrations were blocky, almost weathered stone-like statues. They had nearly spherical feet and square simple heads. The faces had eyes and simple mouths. -edit- The robots were similar in shape to the one in this picture, but smoother, and no arms. The illustrations with them had the robots being several stories tall. I kind of remember that the kids emerged from the belly of one or something like that.",
"List of apps ever downloaded",
"Show that $\\arctan(n)$ is irrational for all $n \\in \\mathbb{N}$"
] | medi_sts_stackexchange_dupe |
Auto login to SSH without keys? | Shell Script for logging into a ssh server | [
"Projectile/orbital motion over very long distance We know the optimum angle for greatest horizontal displacement when launching an object with projectile motion is 45 degrees. How to solve the angle when it is real long distance around the earth where we cannot assume that gravity is constant but is given by $F=\\frac {-GMm}{r^2}$. I use differetial equation to solve it and obtain 45 degrees. First, for the vertical distance $y$, change $v=u-gt$ to $y'=u-y''t$. Then solve it to obtain a function $y(t)$. When $y'(t)=0$ we have the time for maximum vertical distance. Then insert the value to horizontal equation. Can anyone guide me through this problem because I am not confident with my working",
"Galaxy S not detected, how do I make it work? Can anyone please provide the necessary steps to connect a Samsung Galaxy S with Ubuntu 10.10 please? I was thinking that perhaps it could detect something, but it doesn't, Anyone succeeded ? Thanks",
"Edit Mode buttons for selecting vertices and edges vanished When I am in Edit Mode for my project, the Mesh Select Mode buttons have disappeared! I loaded the default project and the buttons are where they are supposed to be; the issue is only in my project.",
"From all the hard drives I have bought, they never seem to be as large as the advertised size; from 320 GB down to 290 GB, from 500 GB down to 450 GB, etc. Is there a technical reason for this?",
"What intuitively is \"bias\"? I'm struggling to grasp the concept of bias in the context of linear regression analysis. What is the mathematical definition of bias? What exactly is biased and why/how? Illustrative example?",
"Is there anything canon in the Terminator Universe that picks up where Terminator: The Sarah Connors Chronicles leaves off? So, Terminator canon is pretty twisted, given all that time-travel stuff. But in the canon that includes the T:SCC, does anything pick up where the show left off that is considered canon?",
"Let $A$ and $B$ be $n\\times n$ matrices. Suppose $A$ is similar to $B$. Prove $\\operatorname{trace}(A) = \\operatorname{trace}(B)$. I'm not sure where to go on this. So far I have this: If $A$ is similar to $B$, then $B=P^{-1}AP$ and $A=PBP^{-1}$ This implies that: $\\operatorname{trace}(B) = \\operatorname{trace}(P^{-1}AP)$ and $\\operatorname{trace}(A) = \\operatorname{trace}(PBP^{-1})$ Not sure where to go from here",
"Structure of groups of order $pq$, where $p,q$ are distinct primes. I don't know about the Sylow Theorems. But I have been wondering about a proof of the fact that a group or order $pq$ where $p$ and $q$ are distinct primes must be cyclic. I can't quite work out the details, but here is the general idea. I would like help with filling in details. I assume that it is already known that $G$ has subgroup(s) of order $p$ and subgroup(s) of order $q$. If $G$ is a group of order $pq$ ($p\\neq q$), then I know that $G$ has a subgroup $H$ of order $p$ and a subgroup $K$ of order $q$. Then $H\\simeq \\mathbb{Z}_p$ and $K\\simeq \\mathbb{Z}_q$. But then $H\\oplus K \\simeq \\mathbb{Z}_{pq}$, so I would think that $H\\oplus K \\simeq G$. I guess one could do an internal direct product instead of an external direct product, but I don't know that $H$ and $K$ are normal subgroups. I am asking for help completing this argument. Edit: I see from the comments below that I might need to assume that the smaller prime does not divide the larger prime minus $1$. Or maybe it is enough to assume that the primes are greater than or equal to $3$ (Still distinct).",
"What's the difference between Kage Bunshin no Jutsu and Tajuu Kage Bunshin no Jutsu? While the Kage Bunshin no Jutsu seems to be taught, the Tajuu Kage Bunshin no Jutsu is sealed, so nobody can learn the jutsu. Does that mean that there's a difference between these jutsus, aside from the number of Kage Bunshin created? Or, why was the Tajuu Kage Bunshin no Jutsu sealed away? If there's no other difference, everybody could use this without reading the sealed scroll.",
"Flash Player works on Firefox, but not on Chromium? I want to play online games, and other online stuff that requires Flash Player on the internet. Flash Player works just fine under Firefox, but in Chromium I just get a blank page. I don't know what is the exact problem or know to fix it.",
"Landscape figure in LaTeX I have a figure I'm trying to insert which is in landscape and I'm using the following (snipped) code: \\documentclass[12pt, oneside]{book} \\usepackage{graphicx} \\usepackage{wrapfig} \\usepackage{lscape} \\usepackage{rotating} \\usepackage{epstopdf} \\begin{document} \\begin{figure}[ht] \\includegraphics{../figures/pics/DivLibPropProfile} \\caption{Property profile of the diverse library compared to the compound pool.} \\label{fig:PropProf} \\end{figure} \\end{document} When I compile this with pdfLaTeX the output behaves as I'd expect – page in portrait with the caption at the bottom but the figure in the \"wrong\" orientation. However when I compile using LaTeX, the page is turned landscape with the figure now in the correct orientation but with the caption at what is now the left of the page rather than under the figure, which you should get using \\begin{landscape}. When I do use the landscape environment and compile with LaTeX the caption the whole page is turned upside-down and everything is wrong. Any ideas how I can get the correct orientation of landscape figure on landscape page with the caption under the (attached for reference)? I also need to use LaTeX rather that pdfLaTeX for another package to function.",
"Multiplicative inverse questions This is my first time posting on Math exchange. I have been self-teaching myself Mathematics and recently started learning some Algebra. I was posed the following questions, in which I would like to answer before I proceed, but having some trouble finding proper solutions. So the format will be question, and my answer. What name do we give an element $a \\in \\mathbb{Z}_n$ that has a multiplicative inverse? A modular multiplicative inverse of an integer $a$ is an integer $x$ such that $ax \\cong 1 (\\mod m)$. This means that the remainder after dividing $ax$ by integer $m$ is equal to $1$. Give an example, for some $n \\in \\mathbb{N}$, of an element of $\\mathbb{Z}_n$, that does not have a multiplicative inverse? This question is throwing me off because - does the $n$ we speak of matter for both $n \\in \\mathbb{N}$ and $\\mathbb{Z}_n$ ot solely $n$? My guess here would be $0$ because we cannot have an inverse of $0$. Prove that multiplicative inverse are unique; an element $a \\in \\mathbb{Z}_n$ cannot have two multiplicative inverses. Suppose that an element $a\\in\\mathbb{Z}_n$ has an inverse $a'$. Next, suppose that $a^*$ is also an inverse of $a$. Then, $a'$ is a solution to $a \\cdot_n x=1$, and similarly $a^*$ has a solution to $a \\cdot_n x=1$. Lemma: Suppose $a'$ is multiplicative inverse of $a$ in $\\mathbb{Z}_n$, then for any $b \\in \\mathbb{Z}_n$ the equation $a \\cdot_n x=b$ has a unique solution, such that $x = a' \\cdot_n b$. By Lemma, equation $a \\cdot_n x = 1$ has a unique solution, namely $x=a'=a^*$. Therefore, an element $a\\in \\mathbb{Z}_n$ cannot have two multiplicative inverses. Thank you for the help. I would love any constructive feedback for these. If you can help me elaborate on some ideas, that would be really helpful also. Thank you very much!",
"Beamer, page/frame numbers, buttons and Appendix slides",
"Geometric interpretation of Electromagnetism For gravity, we have General Relativity, which is a geometric theory for gravitation. Is there a similar analog for Electromagnetism?",
"A groupoid is defined to be a category where every morphism is an isomorphism. So sometimes a group is said to just be a groupoid with one object. When I try to make sense of this, I denote the single object as $G$. I view the morphisms as the analogue of \"elements.\" The identity $1_G$ is the analogue of the usual identity $e$, we can compose any two morphisms since they are all arrows on $G$, and for any arrow $f$, we have some $f^{-1}$ such that $f\\circ f^{-1}=f^{-1}\\circ f=1_G$, so the idea of inverses is still there. So I informally associate the elements of the group in the usual definition to be the arrows in the groupoid. But what does the sole object $G$ in the groupoid \"correspond to\" if I were to try to informally make sense of a group in the usual sense? Does it even correspond to anything?",
"How do you get vim to display wrapped lines without inserting newlines? I'm getting back in touch with my inner (g)vim due to an unscheduled MacBook mother(board) of a meltdown (my emergency backup Linux box won't run TextMate). All told I'm happy with vim's efficiency and power, but I'm mortified at how hard it is to get the kind of word wrap that even stupid HTML textareas achieve with no apparent effort. Consider the text Etiam ornare mollis tortor. Suspendisse sed neque. Nullam in elit. Cum sociis nullam. By default, with an 80-character width vim displays this as Etiam ornare mollis tortor. Suspendisse sed neque. Nullam in elit. Cum sociis nu llam. This wrapping doesn't care about whitespace, so sometimes it just slices words into pieces (nullam in this case). Of course, you can turn on word wrap, and get this: Etiam ornare mollis tortor. Suspendisse sed neque. Nullam in elit. Cum sociis nullam. The problem is that vim inserts a newline at the linebreak, which I most emphatically do not want. In other words, I want the text to display exactly as vim displays it with word wrap turned on, but without inserting a newline. (This way it can be pasted into HTML textareas and email programs, among other places.) Web searches have yielded nothing of use, despite diligent effort; I hope StackOverflow can succeed where my Google-fu has failed.",
"How do I upgrade to a newer version of Ubuntu? What are the different ways I can use to upgrade Ubuntu from one release to another?",
"Show that if $n$, $a$, $b$, and $c$ are positive integers with $\\gcd(a, b) = 1$ and $ab = c^n$, then there are positive integers $d$, and $e$ such that $a = d^n$ and $b = e^n$. I know that (by Bezout) $\\gcd\\left(a,b\\right) = 1$ implies $ax + by = 1$ for some integers $x$ and $y$, and also that $\\gcd\\left(a^n,b^n\\right) = 1$, but this does not help me.",
"Dimensioning of a technical drawing in TikZ Is there is an easy way to mark dimensions in a technical drawing with TikZ? Is there a library or something? Edit I am using XeLaTeX. Update I chose Martin's answer because it serves me well for the moment. Ultimately the best solution would be a library that, in an easy and consistent manner, would allow to change the arrow/dimension lines styles, would support polar coordinates, would allow to choose 2 nodes and the vertical distance that you want the dimension to be typeseted etc.",
"After Google Play Service update to version 13 I got an error"
] | medi_sts_stackexchange_dupe |
Convert string to int in C++ | How can I convert a std::string to int? | [
"Why Objective-C,PHP do not support method overloading?",
"DNS settings on managed switches in LAN We have a Windows 2008 server that is connected to a managed switch with about 15 Cat5e connections and three fiber branches that go to different parts of campus. At each of these parts there is another managed switch that branches out to the LAN. Our cable Internet comes into one of these locations, goes through the supplied modem and into a Sonicwall. Question: Under DNS settings on all the switches, should I list the LAN Server IP and/or just the Gateway IP (Sonicwall)?",
"The speed of light is the same in all inertial frames. Does it change from a non-inertial frame to another? Can it be zero? If it is not constant in non-inertial frames, is it still bounded from above?",
"Using the Pigeonhole Principle to show that $2$ of any $n+1$ numbers from $\\{1,2,\\ldots,2n\\}$ sum to $2n+1$",
"I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose \"Replace Windows 8 with Ubuntu\", do I lose the other partition too? And are there other ways to leave the other partition as it is, and install ubuntu in the partition where windows was installed.",
"Printing an array to a file with each element of the array in a new line in bash",
"What is the concept of erasure in generics in Java?",
"Discovering transformations and interactions I am teaching myself regression using Regression Modeling Strategies by Harell and the author goes at quite the length to showcase the importance of modeling interactions and transformations of the initial variables. I can't help but wonder how to approach this in a more structured/automated way when dealing with a lot of potential variables. Can we use recursive partitioning, for example, to somehow to do the work for us and then use the output as variables, shrink the estimates with LASSO to deal with colinearity and do a final step where we use some sort of filtering for feature importance. In my mind this will leave us with a well specified model which can be manually inspected and improved if need be, but is this reasonable? Are there other ways to approach this? Are there some resources that deal with problems like this?",
"How do I check if a list is empty?",
"Cannot log into Area 51 with OpenID I recently tried many times to log into Area 51 with my Stack Exchange OpenID. Each time, I got this: Then, I went to my OpenID account, and I saw this: ...what is going on?? I have chrome, and extensions that block 3rd party cookies... is that the problem?",
"How could Thranduil have met a dragon?",
"Pointer to class data member \"::*\" I came across this strange code snippet which compiles fine: class Car { public: int speed; }; int main() { int Car::*pSpeed = &Car::speed; return 0; } Why does C++ have this pointer to a non-static data member of a class? What is the use of this strange pointer in real code?",
"I have a bunch of views/reports built for my client. The reviewers then click download csv for the excel file. They asked if the views could download themselves daily to a folder. Is that possible? And could you share links or knowledge how to handle this. I have been trying to figure it out. Note: Right now the user is downloading CSV's from Drupal 7, an install of Moodle 1.9 in a Drupal 6 Shell and Survey Monkey. After they download and combine using Excel, the user creates reports that way for the users we have come to our events. Being a Front-end developer, coding is not my strength.",
"Note: this is intended to be a canonical question about summoning sickness. \"Summoning sickness\", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects? For example, if I'm trying to figure out how a creature is affected: Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost? (These examples are primarily taken from questions about summoning sickness that have already been asked on the site)",
"Taking the * of these two large shapefiles locally using ArcMap takes appr. 10 min. Over the last few weeks, I've tried to obtain the same results using other, open-source approaches without success. I am curious why only ArcMap seems to generate results in a reasonable amount of time without errors. The approaches I've tried so far: QGIS The most straight-forward alternative. There are two \"union\" functions available in QGIS. One default (part of vector overlay), one based on SAGA. Both functions create the desired results on smaller samples but fail to run (or take forever) on my shapefiles. I tried running union for 30 minutes after which the progress bar was at appr. 4% PostGIS I've ingested the shapefiles on an AWS RDS instance running postGreSQL with PostGIS enabled. The approach is not so straight forward and requires a hideous long SQL query to obtain the same result. Most importantly, the query did not create a meaningful result on the full datasets. It did run properly on a sample though. See separate question CREATE TABLE test.sqlislelijk AS -- input data with polys1 AS ( SELECT pfaf_id as df1, geom as g FROM hybas06_v04 ), polys2 AS ( SELECT aqid as df2, geom as g FROM y2018m11d14_rh_whymap_to_rds_v01_v01 ), -- intersections intersections AS ( SELECT df1, df2, ST_INTERSECTION(a.g, b.g) i, a.g AS g1, b.g AS g2 FROM polys1 a, polys2 b WHERE ST_INTERSECTS(a.g, b.g) ), -- per-row union of intersections with this row diff1 AS ( SELECT df1, ST_UNION(i) i FROM intersections GROUP BY df1 ), diff2 AS ( SELECT df2, ST_UNION(i) i FROM intersections GROUP BY df2 ), -- various combinations of intersections pairs AS ( SELECT df1, df2, i AS g FROM intersections UNION ALL SELECT p.df1, NULL, CASE WHEN i IS NULL THEN g ELSE ST_DIFFERENCE(g, i) END FROM polys1 p LEFT JOIN diff1 d ON p.df1 = d.df1 UNION ALL SELECT NULL, p.df2, CASE WHEN i IS NULL THEN g ELSE ST_DIFFERENCE(g, i) END FROM polys2 p LEFT JOIN diff2 d ON p.df2 = d.df2 ) SELECT df1 as pfaf_id, df2 as aqid, g as geom FROM pairs WHERE NOT ST_IsEmpty(g); Google BigQuery Google's GIS extension for BQ looks promising but I experienced weird behavior and internal errors, probably due to mixing of GEOMETRY and GEOGRAPHY objects. Also, the syntax is similar to PostGIS and a command of 1 line in geopandas takes >20 lines in SQL. GeoPandas Probably my favorite approach. The out-of the box approach does't give any results after running it for several hours. My latest approach includes tiling the shapefiles, use multiprocessing on each tile and merge them. Not very straight forward and one 10x10 degree tile till takes 40+ minutes to calculate. See It is the first time in my career that I am impressed by the performance of ArcMap. It seems that ArcMap handles this use-case much, much better than anything else. The issue seems persistent over all solutions I've tried so far. Is there something wrong in the underlying libraries of the open-source/alternative solutions? Note that Union in ArcMap means something different than in the Shapely / PostGIS world.",
"Improving how suggested edits are displayed in your activity history Issue 1: I find it a bit irritating that when I click the Improve button and further edit it, even if I mark it as helpful, only Community takes the credit for the approval. I know the topic itself will contain the link to the suggested edit, but my activity history only says that I made an edit, and not approved a suggested edit. The same holds true for marking one as unhelpful. The activity history should say I rejected an edit, and then made an additional edit. I know it's not often, but sometimes I do try to go back to a suggested edit I've rejected, but when I improved and rejected, it's not traceable for me as it doesn't show in my history or in the question's revision history. So if I don't remember what user suggested it, it's lost to me. This issue also plagues the which are awarded for approving and rejecting suggested edits, which essentially you have done, you're just not receiving credit for it. I suggest that when I mark an edit as helpful or not helpful, both me and Community be listed as the approvers or rejecters, unless another user is already listed in the appropriate place. Update: Here is of the confusion this causes. Update 2: Also, when improving a post and marking it as \"not helpful\", it would be nice to be able to along with it. Issue 2: Expanding off the idea that users need more notice for suggested edits that get rejected, the activity history page is much too useless when it comes to listing the suggested edits a user has made. Literally all it does is list them. A user still has to click through to each one in order to find out if it was approved or rejected, or even if it's still pending. Take, for example, this screen shot of the suggested edit history: Is it really necessary to say I suggested a suggested edit? Really? Of course I suggested it, it's a suggested edit. This isn't ! A good way to fix this would be to change the second \"suggested\" word into one of: pending, approved, or rejected. This would be a quick way to tell which edits have been approved or rejected and which ones are still pending. Users would be able to target out rejected edits and review them for the reasons. Something like this:",
"C# 3.0 auto-properties — useful or not? Note: This was posted when I was starting out C#. With 2014 knowledge, I can truly say that auto-properties are among the best things that ever happened to the C# language. I am used to create my properties in C# using a private and a public field: private string title; public string Title { get { return title; } set { title = value; } } Now, with 3.0, we got auto-properties: public string Title { get; set; } I know this is more a philosophical/subjective questions, but is there any reason to use these auto-properties except from saving five lines of code for each field? My personal gripe is that those properties are hiding stuff from me, and I am not a big fan of black magic. In fact, the hidden private field does not even show up in the debugger, which is OK given the fact that the get/set functions do nothing. But when I want to actually implement some getter/setter logic, I have to use the private/public pair anyway. I see the benefit that I save a lot of code (one vs six lines) without losing the ability to change the getter/setter logic later, but then again I can already do that by simply declaring a public field \"Public string Title\" without the need of the { get; set; } block, thus even saving more code. So, what am I missing here? Why would anyone actually want to use auto-properties?",
"How is the derivative of $\\mbox{Trace}\\left\\{ X^T A X B\\right\\}$ with respect to matrix $X$ equal to $AXB + A^TXB^T$? \\begin{align} \\nabla_X \\ \\textrm{Trace}\\left\\{ X^T A X B\\right\\} = AXB + A^TXB^T \\end{align} where $A$ and $B$ matrices are given.",
"How much set theory and logic should typical algebraists/analysts/geometers know? (soft-question) I know enough amount of set theory and logic to study grad-level math. However, I don't know more advanced set theory and logic, such as the ones on Kunen's or Shoenfield's texts. Although it's good to learn such advanced topics, I may not have enough time to do so, since I will probably put my emphasis on algebra, analysis or geometry as well as mathematical physics. Although how much set theory and logic I should learn is totally up to what sort of analysis, algebra or geometry I will study, I want to know how much of them typical competitive algebraists/analysts/geometers know. If you are one of them, how much do you know?",
"How to find patches with data in Raster and then how to extract those patches? I have a single band raster file as drawn in the labeled image attached. The size of raster is around 4k pixel in each x and y axis. Large part of this raster is empty. Only in small portions of the raster contains data as labeled. Is there any efficient way I can extract rectangular patches around the data portions of the large tif raster file? Any pythonic way using gdal or rasterio or some other package. What I have done so far: I have followed from sklearn.feature_extraction.imageway to extract 2D patches where there is data as follows. from sklearn.feature_extraction.image import extract_patches_2d im = imageio.imread(largeFilePath) # reading the large image x, y = np.nonzero(im) # taking xy locations with non zero values # determining xleft, xright, yleft and yright of the non zero area in raster xl,xr = x.min(),x.max() yl,yr = y.min(),y.max() #Extraing the non zero area from my original raster only_desired_area = im[xl:xr+1, yl:yr+1] # my desired window to extract window_shape = (480, 480) # 2D Ptaches extraction B = extract_patches_2d(only_desired_area, window_shape, max_patches=100) Issue: This doesn't have georeference information because I haven't used gdal or rasterio"
] | medi_sts_stackexchange_dupe |
How to construct a homomorphism from an abelian group to $\mathbb{Q}$ | Show $\text{Hom}_{Ab}(A,\mathbb{Q}) = \{0\}$ for finite $A$ | [
"Workaround for Android 4.4 not being able to write to SD cards? Yesterday I upgraded my Samsung Galaxy S4 to Android 4.4 KitKat and had the bad surprise that it cannot write to my SD card anymore... I know this problem is widely documented everywhere, but has any workaround been found for it yet? (Other than removing the card physically from the phone and opening it on my PC) Also, because of the KNOX flag I can't downgrade to 4.3... (PS: Rooted or not, it makes no difference)",
"Find $|(\\mathbb{Z} \\oplus \\mathbb{Z}) / \\langle(3,6)\\rangle|$ and determine if its cyclic",
"The Most Efficient Way To Find Top K Frequent Words In A Big Word Sequence Input: A positive integer K and a big text. The text can actually be viewed as word sequence. So we don't have to worry about how to break down it into word sequence. Output: The most frequent K words in the text. My thinking is like this. use a Hash table to record all words' frequency while traverse the whole word sequence. In this phase, the key is \"word\" and the value is \"word-frequency\". This takes O(n) time. sort the (word, word-frequency) pair; and the key is \"word-frequency\". This takes O(n*lg(n)) time with normal sorting algorithm. After sorting, we just take the first K words. This takes O(K) time. To summarize, the total time is O(n+nlg(n)+K), Since K is surely smaller than N, so it is actually O(nlg(n)). We can improve this. Actually, we just want top K words. Other words' frequency is not concern for us. So, we can use \"partial Heap sorting\". For step 2) and 3), we don't just do sorting. Instead, we change it to be 2') build a heap of (word, word-frequency) pair with \"word-frequency\" as key. It takes O(n) time to build a heap; 3') extract top K words from the heap. Each extraction is O(lg(n)). So, total time is O(k*lg(n)). To summarize, this solution cost time O(n+k*lg(n)). This is just my thought. I haven't find out way to improve step 1). I Hope some Information Retrieval experts can shed more light on this question.",
"Corrupt MXD Causes?",
"In is a proof of Stirling's formula. I really like most of it, but at a crucial step he uses the integral identity $$n! = \\int_{0}^{\\infty} t^n e^{-t} dt$$ , coming from the Gamma function. I have a mathematical confession to make: I have never \"grokked\" this identity. Why should I expect the integral on the right to give me the number of elements in the symmetric group on $n$ letters? (It's not that I don't know how to prove it. It's quite fun to prove; my favorite proof observes that it is equivalent to the integral identity $\\int_{0}^{\\infty} e^{(x-1)t} dt = \\frac{1}{1 - x}$. But if someone were to ask me, \"Yes, but why, really?\" I would have no idea what to say.) So what are more intuitive ways of thinking about this identity? Is there a probabilistic interpretation? What kind of random variable has probability density function $\\frac{t^n}{n!} e^{-t}$? (What does this all have to do with Tate's thesis?) As a rough measure of what I'm looking for, your answer should make it obvious that $t^n e^{-t}$ attains its maximum at $t = n$. Edit: The kind of explanation I'm looking for, as I described in the comments, is similar to of the beta integral.",
"Acces VBA code combination not working, issue with exit sub? I'm very new at VBA and I can't seem to solve this problem. It seems like it should be an easy problem to fix, I just don't know how. So what the code does: In the main form is a record. This record will be copied to another table bij pressing a button on the form. Before the copying begins, the code checks first if the 'OMnummer' has been filled in in the subform. If not, a message box appears saying that the user should fill in the subform and the code stops running. Secondly the code checks if the record is allready present in the other table. If so, a messagebox appears and the record will not be copied. If not, the record will be copied to the other table. Both pieces of code work ok seperately. However, when I try to include both pieces in the same private sub, only the first one works. It may be something with the 'Exit Sub' code or I am not using the If - Then right. Hope you can help me! Monika Private Sub KnopProjectVersturen_Click() On Error GoTo ErrProc If IsNull(Me!Subform_OMnummers.Form!Omnr) Then If MsgBox(\"Vul het OMnummer in. Je kan het project niet exporteren zonder OMnummer.\") Then Exit Sub DoCmd.OpenQuery \"Qry_Depo_ControleAanwezig\" If DCount(\"Deponering.projectnummer\", \"Qry_Depo_ControleAanwezig\") = 0 Then DoCmd.SetWarnings False DoCmd.OpenQuery \"Qry_projectnaarDepot\" DoCmd.OpenQuery \"Qry_ToevoegProjectDepot\" DoCmd.OpenForm \"Depot_uitvoer\", , , \"[Projectnummer] = '\" & Me![Projectnummer] & \"' And [subID]=[subID]\" Me.Status = 8 DoCmd.Close acQuery, (\"Qry_Depo_ControleAanwezig\") DoCmd.SetWarnings True Else MsgBox \"Dit project bestaat al in de Depot_Uitvoer, verander de status in het projectformulier\", vbInformation, \"Example\" DoCmd.Close acQuery, (\"Qry_Depo_ControleAanwezig\") End If End If End If 'Als er fouten zijn laat deze code een messagebox zien met het nummer en de melding. ExitProc: Exit Sub ErrProc: Select Case Err.Number Case Else MsgBox Err.Number & \"--\" & Err.Description Resume ExitProc End Select End Sub",
"Is $\\sqrt{64}$ considered $8$? or is it $8,-8$? Last year in Pre-Algebra we learned about square roots. I was taught then that $\\sqrt{64}=8$ and $\\sqrt{100}=10$, which I understood and accepted. I was also taught that $\\pm\\sqrt{64} = 8,-8$ because both of those numbers squared is 64, which I also get. But this year, with a new school and teacher in a different state, our teacher is telling us that: $\\sqrt{64}=8,-8$ and $\\pm\\sqrt{64}$ also is $8,-8$. The way to get the positive root of something is: $+\\sqrt{64}=8$ And these seem to contradict each other. I was always taught that a regular square root returned a positive number and only a positive number, but now my teacher is saying a regular square root gives two numbers, and considering the square root of a number $n$ is defined as $y^2=n$ I see where he is coming from. Upon researching this Wikipedia says: For example, $4$ and $−4$ are square roots of $16$ because $4^{2} = (−4)^{2} = 16$ And Wolfram MathWorld says: Note that any positive real number has two square roots, one positive and one negative. For example, the square roots of $9$ are $-3$ and $+3$ But on the other side, Wolfram Alpha, when given "The square root of 9" gives only 3. So, which is right? Is $\\sqrt{64}$ considered $8$? or is it $8,-8$?",
"Evaluate $\\lim_{n\\to \\infty} \\sum_{r=1}^n \\frac {1}{2^r}\\tan \\left(\\frac {1}{2^r}\\right)$ Evaluate $$\\lim_{n\\to \\infty} \\sum_{r=1}^n \\frac {1}{2^r}\\tan \\left(\\frac {1}{2^r}\\right)$$ I tried to create a telescoping sum but I couldn't. The last step I could reach was turning the limit into $$\\lim_{n\\to \\infty} \\sum_{r=1}^n \\left(\\frac {1}{2^r(1-\\tan (2^{-r+1})} -\\frac {1}{2^r(1+\\tan (2^{-r+1})}\\right) $$ But couldn't proceed further. Also I thought about Riemann sums but it was a pure dead end. Any help would be greatly appreciated",
"Taking the second derivative of a parametric curve",
"How to set JAVA_HOME to point to a JDK installation? I installed sun-java6-jdk. I need to find its home directory. JAVA_HOME must point to a JDK installation, not JRE.",
"Why does my front derailleur not work when it is cold? When it is warm outside my front derailleur works just fine. But when it gets colder (40F) the lever on the handle bar does not catch and I can move it without any resistance the whole way without the derailleur shifting. Update: The wire is not moving and the shifter is a Shimano Deore. Any idea what can cause that and how to fix it?",
"Is Java's default value for Boolean 'true'?",
"Equivalent of cURL for Ruby?",
"What is going on with pgfpages and page labels? I’m using a feature of beamer that shows notes beside slides, but the page numbers that are coming out are crazy, making it impossible to extract specific slides into other documents with \\includegraphics[page=n]{presentation.pdf}. For example, in this MWE, there are two frames that are each 1 slide, and then one frame that is four slides. The PDF page labels that show up in Acrobat are, as indicated, 2, 3, 3, 3, 3, and 7. It starts at page 2 instead of 1, and then there are four page 3s, but they don’t even all belong to the same frame! \\documentclass{beamer} \\usepackage{pgfpages} \\setbeameroption{show notes on second screen=left} \\setbeamertemplate{note page}{frame \\insertframenumber \\\\ \\insertnote} \\def\\pg#1{pgfpages says this is page #1 but it is really page \\arabic{page}} \\begin{document} \\setcounter{page}{0} \\frame{hi \\note{\\pg{2}}} \\frame{there \\note{\\pg{3}}} \\frame{how \\pause are \\pause you \\pause today \\note<1-3>{\\pg{3}} \\note<4>{\\pg{7}}} \\end{document} Here’s what the output looks like: I know that the manual says, “pgfpages will produce wrong page numbers in the .aux file” and gives a manual workaround. But the page counter still works, so shouldn’t there be some way to pass that through to the PDF? I’d like to fix this, but don’t know where to start. Specifically, when the manual says that “TeX instantiates the page numbers when writing an .aux file only when the physical page is shipped out,” what exactly is it talking about? Where is the source code for that?",
"Symmetric encryption construction (meet-in-the-middle attack) This is a question I had from an exercise session. First we do DES in CBC encryption mode using a key $K_1$ and $IV_1 = O^n$. Then we do DES in ECB decryption mode using $K_1$. And then DES in CBC decryption mode with a secret $IV_2$ and key $K_2$. Is this construction safe against meet-in-the-middle attack? Wouldn't the first two operations negate themselves because $C_1$ would decrypt into $P_1$?",
"When running 'screen ls' the screen stops with the text [screen is terminating]. I would like screen to keep the session alive and reattach to it to see the output of ls. Of course the real thing is that I don't run screen ls, but rather a screen fsck ..., so I would like to ensure that the screen is not terminating when this command is finished. I would love to have an answer that is useful for an already existing running screen session, so some interactive keys like C-a ... or C-a : (Enter command line mode)",
"Virtual member call in a constructor",
"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",
"Avoiding \"(Not Responding)\" label in windows while processing lots of data in one lump I occasionally need to process a large amount of data from one package off the network, which takes sufficiently long that when the user tries to interact with the application windows adds the \"(Not Responding)\" string to the window title. I am aware this is because the processing is being done within a call to handle a message (some way up the stack) and therefore is blocking the message pump. I'm also aware the ideal way to deal with this is to process the data asynchronously in a separate thread so the pump can continue running, however this is a LARGE desktop application which is single threaded from top to toe and safely spinning this processing off is not feasible in our time frame. So with that in mind, is there by any chance a way I can at least avoid the \"not responding\" moniker (which to most users reads as \"has crashed\") by telling windows my application is about to be busy before I begin the work? I believe there is something along these lines when responding to a request to close, one can keep asking windows for more time to avoid it proclaiming that your not \"closing in a timely fashion\" I should add this is a C++ MFC application.",
"There has been quite a few times that I wished I could send a message to another user on SO - not ask a question for everyone to see, but just a short message informing them of something or requesting them to do something. Are there any plans to allow this to happen in the future? Related:"
] | medi_sts_stackexchange_dupe |
Two normal subgroups and isomorphism theorem | Showing that $G/(H\cap K)\cong (G/H)\times (G/K)$ | [
"Canonical Post #2: What is the perfect, and how should I use it?",
"Will Determinism be ever possible?",
"Data extension values in the \"Update Contact\" activity in Journey Builder I'm looking for a way to use fields from a data extension (that is the entry source for a journey) in the \"Update Contact\" activity. I want to create a sort of log in a different data extension. Let's say I have a sourceDEthat is used by the journey and a journeylogDE where I would like to write the email of contact that's currently in the journey. What should I write in the value field to get a value from the currently used record in the sourceDE? I tried {{Contact.Attribute.sourceDE.email}}, but it did not return any values. I would appreciate it if you could give me any tips how to fix this issue.",
"How to disable pylint 'Undefined variable' error for a specific variable in a file?",
"Figure subfigure layout with different numbers",
"What is the black thing on the circuit What is the black thing on the below circuit? Is it used to hide the IC (or other components) that is used on the circuit? What material is it?",
"How to wrap lines correctly inside algorithmic I am having problems displaying algorithms. The wrapping is really ugly and I can't, for the life of me, find a fix that doesn't involve manually tweaking the hell out of everything, to the point that I might as well scrap the crappy algorithm packages and write everything out in TeX. Is there any way to properly indent the following \\documentclass{article} \\usepackage{algorithm} \\usepackage{algpseudocode} \\begin{document} \\begin{algorithm} \\caption{My pseudo code.} \\begin{algorithmic}[1] \\While{this line is sooooooooooo long and boring and too much for algorithmic to handle} \\State look at this state, this state is just too long for algorithmic to display it properly \\While{again this line is sooooooooooo long and boring and too much for algorithmic too handle} \\State look at this state again, this state is just too long for algorithmic to handle, I'm just going to switch to Word \\EndWhile \\EndWhile \\end{algorithmic} \\end{algorithm} \\end{document} so that the output is similar to",
"We have to shift our web-site to a new domain due to some unavoidable circumstances. The portal has been up and running there since 2009. It has good index in various search engines and we are getting a good number of page hits on daily basis. Losing the search hits and index are our big concern. We are not sure how best we can handle this. What all can be done to preserve as much as possible while shifting to new domain name.",
"Reasons not to use a 741 op-amp? Simple enough question. Why not use a in a target circuit or anyone's target circuit? What are the reasons not to use it? What might be the reasons to still choose this part?",
"If I see an answer that involves some illegal activity, such as breaking license agreements, should I then mark this as Offensive or should I simply down-vote it?",
"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.",
"As the title, I was asked to show that $2^{44}-1$ is divisible by $89$. My first attempt is to change the expression into $(2^{22}-1)(2^{22}+1)$. Then further simplified it into $(2^{11}-1)(2^{11}+1)(2^{22}+1)$, I used my calculator and was able to show that $2^{11}-1$ is divisible by $89$ but then I don't know how to show it with modular arithmetic. I do think that it is quite similar to the form where we can use the Fermat's little theorem. $(\\sqrt{2})^{88}-1$. (Though I do understand Flt can only be applied to integer.) Can someone tell me whether I can take square root in modular arithmetic as well? I am still pretty new to the modular arithmetic. Thank you very much.",
"Example of non-isomorphic structures which are elementarily equivalent",
"Are Tolkien Elves taller or shorter than Men? In general fantasy, elves are frequently smaller than humans. But I seem to recall that in Tolkien they aren't. Based on",
"I want to enable GPU rendering, but there is no option in User Preferences > System: Why is this? How can I get cycles to render using my GPU?",
"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.",
"How to read numbers separated by space using scanf",
"How many physical degrees of freedom does the $\\mathrm{SU(N)}$ Yang-Mills theory have?",
"Why cant I navigate to lightning component in communities? Im on a lightning community, i have a lightning component and i want to open another component with this code: navigateToMyComponent : function(component, event, helper) { console.log('1'); var evt = $A.get(\"e.force:navigateToComponent\"); console.log('2'); evt.setParams({ componentDef : \"c:CompetenciaComponent\" }); console.log('3'); evt.fire(); console.log('4'); } this its the console log: NOTHINGS HAPPEND AND I DONT KNOW WHY",
"Why doesn't the tilde (~) expand inside double quotes?"
] | medi_sts_stackexchange_dupe |
loop throgh all the data to search particular string | Find a value anywhere in a database | [
"How do I add myself into the sudoers group? Possible Duplicate: I've added myself back into the admin's group I think, by following But I still can't do commands like: sudo aptitude update I get the message oshirowanen is not in the sudoers file. This incident will be reported. How do I add myself into the sudoers group now that I am in the admin group?",
"Scheduling a Batch job at a particular time I have a Apex batch class which I would like to schedule at a particular date time. The date time is stored in a variable and changes dynamically. ex Datatime scduleDateTime = datetime.now() ; I want to schedule the apex batch file to run at this datetime variable value. How can I do that using system.scheduleBatch() I started with this but could'nt see how I can specify a datetime variable in here: datetime d = datetime.now(); sampleapexbatch b = new sampleapexbatch(d); System.scheduleBatch(b,'Sample Job',XXXXXXXX) Any help is appreciated!",
"Get total duration of video files in a directory I have a list of .ts files: out1.ts ... out749.ts out8159.ts out8818.ts How can I get the total duration (running time) of all these files?",
"How to make a jquery click event fire only on first click",
"Taken from : Show that it cannot be the case that $U=X+Y$ where $U$ is uniformly distributed on [0,1] and $X$ and $Y$ are independent and identically distributed. You should not assume that X and Y are continuous variables. A simple proof by contradiction suffices for the case where $X$, $Y$ are assumed discrete by arguing that it always possible to find a $u$ and $u'$ such that $P(U\\leq u+u') \\geq P(U\\leq u)$ while $P(X+Y \\leq u) = P(X+Y \\leq u+u')$. However this proof does not extend to $X,Y$ being absolutely continuous or singular continuous. Hints/Comments/Critique?",
"When I create a new Date object, it is initialized to the current time but in the local timezone. How can I get the current date and time in GMT?",
"What do you call a person who is never content with anything that is given to him? I am looking for an adjective for a person who, no matter what you give him/her (materially or otherwise), is never content and always expects more.",
"Simple bijection $\\mathbb N_0 \\times \\mathbb N_0 \\to \\mathbb N_0$ I'm looking for a 'simple' bijection $$ \\pi \\colon \\mathbb N_0 \\times \\mathbb N_0 \\to \\mathbb N_0, $$ where 'simple' in this context means that it should be as easy as possible to define and it should be self-evident that said function is in fact a bijection. It's a quest for convenience - not minimal complexity in any rigorous sense. Here are a couple of examples I came up with - none of which satisfy both requirements: Let $\\pi(m,n) = c(2^m3^{n+1})$, where $c \\colon \\{2^m3^{n+1} \\mid m,n \\in \\mathbb N_0 \\}\\to \\mathbb N_0$ is the order isomorphism (or in fact Mostowski collapse) of its domain under the natural ordering, Let $\\pi(m,n) = \\langle n,m \\rangle$ - Gödel's pairing function, Let $\\pi(m,n) = m \\oplus n$ - the number resulting from '' $m,n$ (where we imagine both $m$ and $n$ as in infinite decks of cards whose $i$th element is labeled with its respective $i$th digit). ...",
"Spacing before and after section titles",
"How to add existing user to an existing group? I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio www-data useradd: user 'www-data' already exists If I leave out the -G option, bash, prints the help info for useradd: $ sudo useradd audio www-data Usage: useradd [options] LOGIN Options: -b, --base-dir BASE_DIR base directory for the home directory... It's not clear to me from the man page what options I should use to make this work.",
"Why do I need 50 reputation to comment? What can I do instead?",
"What is a loss function in decision theory? My notes define a loss function as the 'cost' incurred when the true value of $\\theta$ is estimated by $\\hat\\theta$. What kind of cost is it talking about? monetary cost? or is it something related to errors?",
"How to format a disk/sdcard as FAT32 in windows 10",
"Getting random row through SQLAlchemy",
"I read (or do I say \"have read\"?) many rules for when to use the present perfect. I found them complex and hard to understand (or do I say \"have found\"?). I am finding it hard to apply these rules in real sentences. Is there a simple and clear way to explain the difference between past simple and present perfect? If there is a simple explanation, please tell it! If there is no simple explanation, please tell why it is so complicated. Maybe if I knew why there is no simple explanation, that would help me understand what work I need to do in order to learn the difference.",
"\"Heard me [infinitive]\" vs. \"heard me [present participle]\" At that time, you wouldn't have heard me talk about it. At that time, you wouldn't have heard me talking about it. At that time, you wouldn't have heard me condemn it. At that time, you wouldn't have heard me condemning it. Which one of the above sentences are incorrect and why?",
"How to rename a group of files with what looks like a Windows file path in their names I got a bunch of files with the filename messed up. All the file names have the same beginning which appear to be windows file directories. The problem is there are 700+ files and I really don't want go through and manually rename all of them. These are examples of the file names (Note: None of these have file directories): G:some\\really\\long\\file\\path\\then\\the\\name1.jpg G:some\\really\\long\\file\\path\\then\\the\\name2.png G:some\\really\\long\\file\\path\\then\\the\\filename.txt G:some\\really\\long\\file\\path\\then\\the\\file_name.mov ... The important take away is that each file has G:some\\really\\long\\file\\path\\then\\the\\ before the file name that I would like. So I would want the above files to look like: name1.jpg name2.png filename.txt file_name.mov I've tried the rename command and was not successful. I am still new with Linux and really am not sure on how to go about it or really what to google. Any help would be appreciated.",
"Modern electronics industry has developed very efficient LEDs with nice and fancy colors (“true green” , “cyan”, and “blue”) based in InGaN technology, or similar. Some of these LEDs are specified as having forward voltages of 3.2 to 4.2 V. Here are examples of such LEDs, , or surface-mount . But the usual MCUs are powered from 3.3 V supply, and the GPIO output is usually at 3.1-3.2 V, which seems to be barely enough to drive these LEDs . How can I use these LEDs as indicators of some signal statuses, or power rail status? Do I need a series resistor R1 here? If yes, how do I choose its value? DISCLAIMER: This \"question-answer\" comes as elaboration of the original question , to address the particular use case of LEDs as logic state indicators.",
"Does anyone know what this probability question is asking?",
"Tor browser not opening"
] | medi_sts_stackexchange_dupe |
Null pointer Exception Error Using getters and setters | What is a NullPointerException, and how do I fix it? | [
"A formula for the roots of a solvable polynomial Let $F$ be a field and $p(x)\\in F[x]$ a separable polynomial, denote $K$ as the splitting field of $p$ and assume that $K/F$ is Galois with a solvable Galois group. I don't understand if this imply of any formula (in radicals) for the roots of $p$ (however, I do understand how a formula would imply that $p$ is solvable by roots). Is there some kind of a way to obtain the roots of a solvable polynomial ?",
"cant install or remove anything on 18.04 cause of DPKG error",
"Word or Phrase for \"Easily Swayed\" What word or phrase best communicates the idea that a human (or other sentient being) is easily swayed, particularly between moral good and evil? Words I have found that are close are: Impressionable - Easily influenced because of a lack of critical ability. Implies that the subject lacks critical skills, and misses the concept of good and evil. Gullible - Easily persuaded to believe something Misses the concept of good and evil I created a typical angels and demons scenario to demonstrate the polar extremes of the the spectrum. In this scenario, I lack the word to describe the humans, who can be influenced towards either end of the spectrum if impressed upon by an external entity. The angels are devoted to good, and are immovable in their ideals. The demons are wicked, and will feign morality only to manipulate others. Both prey upon the humans, who are ____________. I think that the key here is the spectrum of good an evil. Here are examples of other spectra and their associated words, for comparison. Easily pushed from calm to angry: Temperamental Easily moved from determined to hopeless: Weak-willed Easily influenced by propaganda:",
"How can I verify a Google authentication access token? I need to somehow query Google and ask: Is [given access token] valid for the [[email protected]] Google account? Short version: It's clear how an access token supplied through the can be used to then request data from a range of Google services. It is not clear how to check if a given access token is valid for a given Google account. I'd like to know how. Long version: I'm developing an API that uses token-based authentication. A token will be returned upon provision of a valid username+password or upon provision of a third-party token from any one of N verifiable services. One of the third-party services will be Google, allowing a user to authenticate against my service using their Google account. This will later be extended to include Yahoo accounts, trusted OpenID providers and so on. Schematic example of Google-based access: The 'API' entity is under my full control. The 'public interface' entity is any web- or desktop-based app. Some public interfaces are under my control, others will not be and others still I may never even know about. Therefore I cannot trust the token supplied to the API in step 3. This will be supplied along with the corresponding Google account email address. I need to somehow query Google and ask: Is this access token valid for [email protected]? In this case, [email protected] is the Google account unique identifier - the email address someone uses to log in to their Google account. This cannot be assumed to be a Gmail address - someone can have a Google account without having a Gmail account. The Google documentation clearly states how, with an access token, data can be retrieved from a number of Google services. Nothing seems to state how you can check if a given access token is valid in the first place. Update The token is valid for N Google services. I can't try a token against a Google service as means of verifying it as I won't know which subset of all Google's services a given user actually uses. Furthermore, I'll never be using the Google authentication access token to access any Google services, merely as a means of verifying a supposed Google user actually is who they say they are. If there is another way of doing this I'm happy to try.",
"Address is invalid on local machine [on windows 8 only]",
"How to add an image to a JPanel? I have a to which I'd like to add JPEG and PNG images that I generate on the fly. All the examples I've seen so far in the , specially in the use ImageIcons. I'm generating these images as byte arrays, and they are usually larger than the common icon they use in the examples, at 640x480. Is there any (performance or other) problem in using the ImageIcon class to display an image that size in a JPanel? What's the usual way of doing it? How to add an image to a JPanel without using the ImageIcon class? Edit: A more careful examination of the tutorials and the API shows that you cannot add an ImageIcon directly to a JPanel. Instead, they achieve the same effect by setting the image as an icon of a JLabel. This just doesn't feel right...",
"popping to root view in navigation controller",
"Does assigning objects to null in Java impact garbage collection?",
"Merging two incoming broadband lines for faster Internet",
"Why do some badges appear white in color and others are dark?",
"How can I press \"Insert\" on a keyboard without that key?",
"Unloading classes in java? I have a custom class loader so that a desktop application can dynamically start loading classes from an AppServer I need to talk to. We did this since the amount of jars that are required to do this are ridiculous (if we wanted to ship them). We also have version problems if we don't load the classes dynamically at run time from the AppServer library. Now, I just hit a problem where I need to talk to two different AppServers and found that depending on whose classes I load first I might break badly... Is there any way to force the unloading of the class without actually killing the JVM? Hope this makes sense",
"I'm trying to convert some LaTeX into HTML but my code listings don't preserve their code coloring. Why is that and how do I fix it? This is what it looks like: Side note: I'm also wondering why the caption on the table was removed. Edit Here is an example listing with colors: \\documentclass{article} \\usepackage{color} \\usepackage{listings} \\lstset{ basicstyle=\\footnotesize\\ttfamily, language=[Sharp]C, keywordstyle=\\color[rgb]{0,0,1.0}\\bfseries, commentstyle=\\color[rgb]{0.133,0.545,0.133}\\bfseries, } \\begin{document} \\begin{lstlisting} int x = 10; // This is a comment string str = \"hello\"; \\end{lstlisting} \\end{document} This produces the following HTML when doing: htlatex myfile.tex: <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\"> <html > <head><title></title> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"> <meta name=\"generator\" content=\"TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)\"> <meta name=\"originator\" content=\"TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)\"> <!-- html --> <meta name=\"src\" content=\"LaTeX4.tex\"> <meta name=\"date\" content=\"2012-07-20 12:30:00\"> <link rel=\"stylesheet\" type=\"text/css\" href=\"LaTeX4.css\"> </head><body > <!--l. 12--> <div class=\"lstlisting\" id=\"listing-1\"><span class=\"label\"><a id=\"x1-2r1\"></a></span><span class=\"cmtt-8\">int</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">x</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">=</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">10;</span><span class=\"cmtt-8\">&#x00A0;</span><br /><span class=\"label\"><a id=\"x1-3r2\"></a></span><span class=\"cmtt-8\">&#x00A0;</span><br /><span class=\"label\"><a id=\"x1-4r3\"></a></span><span class=\"cmtt-8\">//</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">This</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">is</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">a</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">comment</span><span class=\"cmtt-8\">&#x00A0;</span><br /><span class=\"label\"><a id=\"x1-5r4\"></a></span><span class=\"cmtt-8\">string</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">str</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">=</span><span class=\"cmtt-8\">&#x00A0;</span><span class=\"cmtt-8\">\"</span><span class=\"cmtt-8\">hello</span><span class=\"cmtt-8\">\"</span><span class=\"cmtt-8\">;</span> </div> </body></html> Which looks like this: I would want the HTML result to look like this:",
"Homomorphism between compact Hausdorff spaces.",
"I'm currently working on building a predictive model for a binary outcome on a dataset with ~300 variables and 800 observations. I've read much on this site about the problems associated with stepwise regression and why not to use it. I've been reading into LASSO regression and its ability for feature selection and have been successful in implementing it with the use of the \"caret\" package and \"glmnet\". I am able to extract the coefficient of the model with the optimal lambda and alpha from \"caret\"; however, I'm unfamiliar with how to interpret the coefficients. Are the LASSO coefficients interpreted in the same method as logistic regression? Would it be appropriate to use the features selected from LASSO in logistic regression? EDIT Interpretation of the coefficients, as in the exponentiated coefficients from the LASSO regression as the log odds for a 1 unit change in the coefficient while holding all other coefficients constant.",
"I'm working on a VAR model and am doing a log transformation of the raw data. x = log(x) After differencing, running various tests and running a VAR(2) model, I add the predicted differences cumulatively to the original time series (logged) like this: prd.diffs <- as.ts(prd$mean$d.x1) U <- tail(undiff,2) cumu <- cumsum(prd.diffs) + U[1] However, while the output now looks as it should, it is still in logged values. My question is as follows: How does one return the logged output to original values? I'm under the impression that using exp() will not give the correct results, and having tried some variations it hasn't worked for me. Does the fact that it is a VAR($p$) model (and possibly what lag it has) influence the method, and how should that be implemented to get the correct output? P.S. I realise that the above code does not constitute a replicable example as I didn't deem that necessary for the question, but should that be desired I can add some more code.",
"What is the name of an 80s TV movie where a man acquires endurance powers and quick self-healing ability after a crash with a vehicle containing radioactive material?",
"Regular expression to match balanced parentheses",
"Product of binomial coefficient as a basis",
"What does outputting to /dev/null accomplish in bash scripts?"
] | medi_sts_stackexchange_dupe |
Passing request parameters as UTF-8 encoded strings | How to pass Unicode characters as JSP/Servlet request.getParameter? | [
"Is some of my internal memory missing?",
"How do you get the root namespace of an assembly? Given an instance of System.Reflection.Assembly.",
"Let $a_n$ be a sequence such that $\\forall n\\in \\mathbb n: 0<a\\le a_n\\le b <\\infty.$ Prove: $\\displaystyle\\limsup_{n\\to\\infty}\\frac 1 {a_n}=\\frac 1 {\\displaystyle\\liminf_{n\\to\\infty}a_n}$ $\\displaystyle\\limsup_{n\\to\\infty}a_n\\cdot \\limsup_{n\\to\\infty}\\frac 1 {a_n} \\ge 1$ and there's an equality iff $a_n$ is converging. Suppose there are two subsequences: $a_{n_l}, \\ a_{n_k}$ such that $\\lim a_{n_k} = k, \\ \\lim a_{n_l}=l$ and suppose $l\\le k$, so $\\lim \\frac 1 {a_{n_k}}=\\frac 1 k , \\ \\lim \\frac 1 {a_{n_l}}=\\frac 1 l$ so clearly: $\\frac 1 k\\le \\frac 1 l\\le l\\le k$ so it's easy to see once the largest limit (supermum) is 'inverted' it has to become the smallest limit (infimum). I realize this doesn't show equality, I don't know how to do the other way and I'm not even sure if what I did is good. If $a_n$ converges, suppose to $L$ as its limit then we have: $L\\cdot \\frac 1 L=1$. If it does not converge then $a_n$ may tend to infinity or won't have a limit. From 1 we can change it to $\\displaystyle\\limsup_{n\\to\\infty}a_n\\cdot \\frac 1 {\\displaystyle\\liminf_{n\\to\\infty}a_n} \\ge 1$ and from BW, every sequence has a converging subsequence, and since for converging subsequences: $\\liminf a_n\\le \\limsup a_n$ we have $\\frac {\\limsup a_n} {\\liminf a_n}=\\limsup a_n\\cdot \\limsup\\frac 1 {a_n} \\ge 1$. This should probably be in absolute value since one of those subsequnce limits can be negative, but it isn't in absolute value in the question.",
"I am trying to find all the Sylow 2 subgroups of S4 using Sylow’s theorems. Now, I know that a Sylow 2 subgroup of S4 has size 8, and that there are either 1 or 3 of them (as the number of of Sylow 2-subgroups has form 1+2k and divides 3, the index). Now my lecturer states “stabilisers of the 3 different bisections of {1,2,3,4} yield 3 distinct Sylow 2 subgroups” Now my questions are: 1) What does it mean by stabilisers of 3 different bijections of {1,2,3,4}? Is that to say the elements of S4 which send {1,2} and {3,4} to {1,2},{3,4} i.e. by (12)(34)? 2) How does he know that there are 8 elements of this set? Perhaps this will become clearer after the 1st question is answered. Many thanks, group theory is hard.",
"How to create a GUID / UUID I'm trying to create globally-unique identifiers in JavaScript. I'm not sure what routines are available on all browsers, how "random" and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around.",
"Does deleting iCloud photos affect them on devices?",
"How would gravity change on a planet rotating around itself very fast? Let's take a planet identical to Earth, but with rotation speed multiplied by ten thousand. What would happen with the gravity if it was spinning madly around itself? Would the centrifugal force make objects seem lighter than on normal Earth? Would the people on that planet be able to jump higher?",
"Do I need quote marks when I quote myself? Hello language lovers, English isn't my first language and I would like to know if I need to use quotation marks when I quote something I said in the past.",
"Performance impact of updating target columns with same values ON CONFLICT This is a question about the inner-workings of Postgres (v10) and performance. Given a table, github_repos, with a multi-column unique index on org_id and github_id columns, is there any performance difference (or other issues to be aware of) between the two bulk upsert operations below? The difference is that in the first query, the org_id and github_id columns are included in the UPDATE, whereas in the second query they are not. Since the UPDATE runs ON CONFLICT, the updated values of org_id and github_id will be the same as the old values, but those columns are included in the UPDATE because the underlying library I am using is designed that way. I'm wondering if its safe to use as-is or whether I should be explicitly excluding those columns in the UPDATE. Query #1: INSERT INTO \"github_repos\" (\"org_id\",\"github_id\",\"name\") VALUES (1,1,'foo') ON CONFLICT (org_id, github_id) DO UPDATE SET \"org_id\"=EXCLUDED.\"org_id\",\"github_id\"=EXCLUDED.\"github_id\",\"name\"=EXCLUDED.\"name\" RETURNING \"id\" Query #2: INSERT INTO \"github_repos\" (\"org_id\",\"github_id\",\"name\") VALUES (1,1,'foo') ON CONFLICT (org_id, github_id) DO UPDATE SET \"name\"=EXCLUDED.\"name\" RETURNING \"id\" github_repos table: Column | Type | Collation | Nullable -------------------+-------------------+-----------+----------+ id | bigint | | not null | org_id | bigint | | not null | github_id | bigint | | not null | name | character varying | | not null | Indexes: \"github_repos_pkey\" PRIMARY KEY, btree (id) \"unique_repos\" UNIQUE, btree (org_id, github_id)",
"Exactly half of the elements of $\\mathcal{P}(A)$ are odd-sized Let $A$ be a non-empty set and $n$ be the number of elements in $A$, i.e. $n:=|A|$. I know that the number of elements of the power set of $A$ is $2^n$, i.e. $|\\mathcal{P}(A)|=2^n$. I came across the fact that exactly half of the elements of $\\mathcal{P}(A)$ contain an odd number of elements, and half of them an even number of elements. Can someone prove this? Or hint at a proof?",
"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) & = \\tan^{-1}\\biggl[\\frac{(2i+1) - (2i-1)}{1+(2i+1)\\cdot (2i-1)}\\biggr] \\\\\\ &= \\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.",
"How to add keyboard shortcuts? I want Ctrl+Alt+B bring up a browser. Ctrl+Alt+Delete is handy. Can I set up Ctrl+Alt+B to bring up a browser (either default or specific)?",
"Question of an isomorphism of $\\epsilon_ 0$ and a subset of the rationals. I don't know if this question is appropriated for this site. Anyway, I'm searching for an isomorphism of order $f:K \\longrightarrow \\epsilon_o $, such that $(K, \\leq)$ is a subset(proper or not) of $(\\mathbb{Q}, \\leq)$ and $\\epsilon_o = \\sup\\{\\omega, \\omega^{\\omega}, \\omega^{\\omega^{\\omega}}, ... \\}$. Actually, I'm not finding neither an isomorphism between $K$ and $\\omega^{\\omega}$. Thanks in advanced.",
"Names of some months don't make sense I'm not a native English speaker but I'm always trying to do my best. Unfortunately I have a real problem with dates for some odd reason, I couldn't learn when was my birthday until I was 12 years old. Anyway, as I was learning names of the months on English, and since I know some Latin from high school I noticed that English months don't match up with their Latin numeral counterparts. For example: September - 9. month October - 10. month November - 11. month December - 12. month While on latin septem, octo, novem and decem are words for 7, 8, 9 and 10. So, does anyone know why is that. At first I thought it had something to do with switch from Julian to Gregorian calendar but I figured it's too small of a difference. Anyone? :)",
"I would like to solve the beginner's standard exercise which claims that a point of $\\mathrm{Spec} \\ R$ is closed iff it is a maximal ideal. The reverse implication is easy. The direct one seems much subtler. If $P = V(I)$ then, since there exist a maximal ideal $M$ containing $P$, it would follow that $\\{P, M\\} \\subseteq V(I) = P$, whence $P=M$. In order to show the existence of $M$ I applied Zorn's lemma to the set of ideals containing $P$. The question is the following: is there any other proof of the above implication that does not (indirectly) use the axiom of choice? My concern is that I may be using a cannon to shoot a fly. Also, it would be the first time that I see closedness of points to require the axiom of choice. If the axiom is indeed needed in general, are there \"nice\" classes of rings for which we could get away without it?",
"Set a global policy for floats positioning I have a document with many floats (figures, specifically). I want to be able to change the global floats positioning policy from htbp to just h (or even H with the floats package). For my-own reasons, I don't want to do this by appending the [h] argument to each float env. One option that I can think of is using a macro: \\newcommand{\\mypos}{h} % or htbp \\begin{figure}[\\mypos]... I also prefer not to do that - It is cumbersome. Is there a way to set the global float positioning argument globally?",
"Choosing C++ debugger on linux",
"how to represent geography or zip code in machine learning model or recommender system? I am building a model and I think that geographic location is likely to be very good at predicting my target variable. I have the zip code of each of my users. I am not entirely sure about the best way to include zip code as a predictor feature in my model though. Although zip code is a number, it doesn't mean anything if the number goes up or down. I could binarize all 30,000 zip codes and then include them as features or new columns (e.g., {user_1: {61822: 1, 62118: 0, 62444: 0, etc.}}. However, this seems like it would add a ton of features to my model. Any thoughts on the best way to handle this situation?",
"if $a,b$ are nilpotent elements of a commutative ring $R$, show that $a+b$ is also nilpotent",
"How to Identify Overfitting in Convolutional Neural network? I understand that dropout is used to reduce over fitting in the network. This is a generalization technique. In convolutional neural network how can I identify overfitting? One situation that I can think of is when I get training accuracy too high compared to testing or validation accuracy. In that case the model tries to overfit to the training samples and performs poorly to the testing samples. Is this the only way that indicates whether to apply dropout or should dropout be blindly added to the model hoping that it increases testing or validation accuracy"
] | medi_sts_stackexchange_dupe |
Have the physical properties of Kryptonite been discussed? | Is kryptonite made of the element krypton? | [
"A user just posted his question a second time here on meta after the first was closed as a duplicate. I wrote a comment on the second post, explaining that the answer to his question is in the linked duplicate and that he shouldn't circumvent the closure process by asking a second identical question. When the second post was closed as a duplicate my comment was automatically deleted. As far as I understand this is a heuristic that removes obsolete comments, which it considers every comment that contains a link to one of the duplicates. This heuristic is too aggressive and removes comments that go beyond \"Duplicate here: link\". I suggest that it should be changed to only remove the default duplicate comment, and not any comment that was edited by the owner nor any free-form comment that happens to include a link to the duplicate. This also triggers for any comment that contains the word \"duplicate\" and link to any question, not only the question being chosen as duplicate, which makes this much worse.",
"Why use the Conjure Minor Elemental spell when its results are so unpredictable? The spell states: You summon elementals that appear in unoccupied spaces that you can see within range. You choose one the following options for what appears: One elemental of challenge rating 2 or lower Two elementals of challenge rating 1 or lower Four elementals of challenge rating 1/2 or lower Eight elementals of challenge rating 1/4 or lower. It seems like the only two things a player can select are the maximum CR of the elemental conjured, and, arguably, the location its summoned in. I am confused as to why you would want to use this spell given that its results are so unpredictable. Why would a wizard cast a spell that's essentially an open invitation to whatever elemental from a list decides to show up? You can't strategize around the spell very much because, as written, you don't choose what gets summoned, and you can easily end up with something you weren't counting on. It won't be useless, but why would you cast a spell that has such an unpredictable result? It's like the difference between the chromatic orb and chaotic bolt - if the chaotic bolt didnt have the chance to bounce. You'd never pick a random damage type over a damage type of choice. Why would you choose a spell that might do something you want over something that does exactly what you intend it to do? What are the situations in which you would use this spell that wouldn't be better solved by a spell of equal or lower level that has more predictable results?",
"Why don't all Jedi stick around as force ghosts? In many of the Star Wars movies, Jedi come back as Force ghosts. Why don't they stick around forever, giving advice to new generations, as well as countless knowledge from thousands of years?",
"Riemann integrabilty of an indicator function Consider the following function on $[0,1]$: $$f(x)=\\begin{cases}1&x\\in\\{a_1,a_2,\\dots,a_n\\}\\\\0 &\\text{otherwise}\\end{cases}$$ The $a_i$ are fixed and all in $[0,1]$. Determine whether $f$ is Riemintegrable or not. By the Riemann–Lebesgue criterion $f$ is Riemann integrable. How to prove directly?",
"How to split the output and store it in an array? This is the output: 3,aac-lc, 93.8, aaclc, 77.3, h.264, 1024.6, h.264, 1029.1, 31, 31, 0,0,0.000000,31,31,0,0,0.000000,7,0,0,0.000000,30,1280 720,10,0,0,0.000000,30,1280 720 I tried with 2 scenario: Storing in an array @arr=split(',',$stats); echo \"statistics: $stats\" Storing in a variable echo $stats | cut -d ',' -f | read s1 echo $s1 But neither scenario is working.",
".NET - How can you split a \"caps\" delimited string into an array? How do I go from this string: \"ThisIsMyCapsDelimitedString\" ...to this string: \"This Is My Caps Delimited String\" Fewest lines of code in VB.net is preferred but C# is also welcome. Cheers!",
"Why doesn't Java allow to throw a checked exception from static initialization block?",
"I normally dual-boot with 12.04 and Win XP pro sp3 on a Thinkpad R60. I needed to reinstall windows because of problems piling up, so I ran the computer's built-in hard-disk recovery software. I told it not to mess with the other partitions, but somehow it deleted the Linux partition. That's what I was using to backup all of my windows files, so now everything I have is gone. I just ran the USB setup with linux, and the partition is deleted - it just shows it as empty space. Is there ANY way to get all of my files back?",
"Is this statement \"Every element in the empty set is greater than itself.\" true or its negation is true? $p$ : Every element in the empty set is greater than itself. $\\neg p$ : Some element in the empty set is smaller than or equals to itself. I do not have the answers to this exercise, but it came out in my exams. I simply do not understand. There is nothing in an empty set! How can nothing be greater/equals/smaller/ to itself? If I had to choose an answer, it has to be $\\neg p$ since nothing is equals to nothing... What is the answer?",
"Change the order of integration in: $$\\int_0^{2a}\\int_0^\\sqrt{2ax-x^2}\\frac{\\phi'(y)(x^2+y^2)x }{\\sqrt{4a^2x^2-(x^2+y^2)^2}}dxdy$$ and hence evaluate it. I changed the order of integration and got the limits $y=0$ to $a$ and $x=a-\\sqrt{a^2-y^2}$ to $a+\\sqrt{a^2-y^2}$. I then tried changing to polar coordinates, but it is only making the integrand more complex.",
"\"To delete\" is to \"deletion\" as \"to discard\" is to what? \"To delete\" is to \"deletion\" as \"to discard\" is to what?",
"Why didn't all the Jedi at the Jedi Temple sense Anakin and his legion of Clones’ thoughts? If you go back to Attack of the Clones, Anakin and Obi-Wan sensed that poisonous alien worms were about to kill Padme. Back in Revenge of the Sith, the Jedi could take on the legion or if there were too many, they could at least escape.",
"I installed the ubuntu 12.04 server edition for my server pc . i had installed lamp server. i need to change the var/www location to my secondary hard disk location. i was configured so many time to at gedit /etc/apache2/sites-available/default here is my code <VirtualHost *:80> ServerAdmin webmaster@localhost #DocumentRoot /var/www DocumentRoot /media/myserver/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> #<Directory /var/www/> <Directory /media/myserver/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory \"/usr/lib/cgi-bin\"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ \"/usr/share/doc/\" <Directory \"/usr/share/doc/\"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> and also used sudo chown -R var/www /media/myserver/ and chmod -R 755 /media/myserver/ still i was not able to connect my /media/myserver and my browser show the following message Forbidden You don't have permission to access / on this server. Please tell anyone how to mount myserver at my var/www, thanks advance",
"How can I combine two plots?",
"How to reverse name and first name?",
"In Harry Potter and the Philosopher's Stone, Hermione is in the toilets when Harry and Ron lock in the troll. She lies and says that she went looking for the troll. Why? She could have just said that she was in there because she needed the toilet (she was allowed to be, it's a girls' bathroom) and Harry and Ron came to save her. Is there a reason she lied?",
"What is this agglomeration of pink cells I found attached to a stone?",
"Why don't virtual particles violate conservation of mass/energy?",
"How do I find the right size of filters for a lens?",
"What does env x='() { :;}; command' bash do and why is it insecure? There is apparently a vulnerability (CVE-2014-6271) in bash: I am trying to figure out what is happening, but I'm not entirely sure I understand it. How can the echo be executed as it is in single quotes? $ env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\" vulnerable this is a test EDIT 1: A patched system looks like this: $ env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test EDIT 2: There is a related vulnerability / patch: which uses a slightly different test: $ env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable' bash -c \"echo test\" unpatched output: vulnerable bash: BASH_FUNC_x(): line 0: syntax error near unexpected token `)' bash: BASH_FUNC_x(): line 0: `BASH_FUNC_x() () { :;}; echo vulnerable' bash: error importing function definition for `BASH_FUNC_x' test partially (early version) patched output: bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' bash: error importing function definition for `BASH_FUNC_x()' test patched output up to and including CVE-2014-7169: bash: warning: x: ignoring function definition attempt bash: error importing function definition for `BASH_FUNC_x' test EDIT 3: story continues with:"
] | medi_sts_stackexchange_dupe |
Is there a shortcut to minimize just the selected window in Ubuntu? | Keyboard shortcut to minimize a window on Ubuntu 18.10 | [
"Impact of denied entry to Croatia on trying to enter a Schengen country with a valid visa",
"How to put Json inside asynctask - Android",
"I'm having trouble editing this file on Windows 7: C:\\Program Files (x86)\\CMake 2.8.7\\share\\cmake-2.8\\Modules\\FindJNI.cmake If I edit it in Cygwin (vi) or TextPad, those two programs see the changes, so it's getting written to disk somewhere. But if I \"type\" the file in a DOS cmd shell, it looks like the file hasn't been changed at all. One thing I noticed is that in the cmd shell, the owner is Administrators, but in Cygwin's bash shell, the owner is Dan: C:\\Program Files (x86)\\CMake 2.8.7\\share\\cmake-2.8\\Modules>dir /Q FindJ* Volume in drive C is Windows7_OS Volume Serial Number is 92CA-8707 Directory of C:\\Program Files (x86)\\CMake 2.8.7\\share\\cmake-2.8\\Modules 12/30/2011 09:45 AM 1,480 BUILTIN\\Administrators FindJasper.cmake 12/30/2011 09:45 AM 7,951 BUILTIN\\Administrators FindJava.cmake 12/30/2011 09:45 AM 10,632 BUILTIN\\Administrators FindJNI.cmake 12/30/2011 09:45 AM 1,669 BUILTIN\\Administrators FindJPEG.cmake 4 File(s) 21,732 bytes 0 Dir(s) 132,524,654,592 bytes free Dan@home /c/Program Files (x86)/CMake 2.8.7/share/cmake-2.8/Modules $ ls -al FindJ* -rwx------+ 1 Dan None 10636 Jan 30 13:57 FindJNI.cmake -rwx------+ 1 Administrators None 1669 Dec 30 09:45 FindJPEG.cmake -rwx------+ 1 Administrators None 1480 Dec 30 09:45 FindJasper.cmake -rwx------+ 1 Administrators None 7951 Dec 30 09:45 FindJava.cmake How can this be? It's like there are two different files with the same name in the same directory.",
"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¹. 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². 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³. 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? ¹Half-Blood Prince - chapter 3, Will and Won't and Order of the Phoenix - chapter 37, The Lost Prophecy ²Half-Blood Prince - chapter 3, Will and Won't ³Order of the Phoenix - chapter 37, The Lost Prophecy",
"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 .",
"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 have an Optimus Elite, and it has a minimum brightness setting. In certain apps, I can reduce the brightness below the safe minimum, but when I leave the app, the brightness is increased to the system-wide minimum. Using , I can permanently set the brightness below the safe amount, and it will stay even after going to other apps. Or using , I can accomplish almost the same thing even without needing root (it displays a translucent 'filter' over the whole screen, reducing brightness/contrast but not actually changing the backlighting power amount). What I want to know is where the minimum screen brightness is stored. I have a rooted phone with CyanogenMod 9, so I have permissions to edit anything and could change a config or sqlite entry, but I don't know where this value is stored. What I would like to do is use the status bar brightness slider to be able to slide to the actual minimum of the screen, rather than the OS-controlled minimum. Having an app is useful, but having the functionality without the app seems to be within reach, if only I knew where the OS is getting it's safe minimum setting. Where is this \"safe minimum brightness\" setting stored? If I can change it, I can remove my apps and use native controls.",
"Quake-style terminal with splitting in Gnome other than Yakuake The most common Quake-style terminal in Gnome seem to be Guake and Tilda, but they can't split to show several shells in single tab like Yakuake can. Is there any alternative which can do so?",
"How to clone a Windows 10 dell onto an SSD I've recently bought a Dell Inspiron 3650, and would like to clone the disk onto a samsung SSD I have bought for it, in order to speed up boot times etc. Samsung provide a clone tool called \"Samsung data migration\", which I've had success with in the past for cloning a system from a HDD to SSD. Having tried it on the dell, the disk is not bootable, Leaving me with an error that no bootable media can be found. I've tried using a recovery usb to fix any boot system errors, but this fails with an error. Booting into windows on the old HDD, the system recognises the disks have the same ID and disables the SSD, so it looks like the clone was successful. I've tried disabling secure boot in the bios and then doing the clone, but this doesn't make a difference. What else should I try? The system has Windows 10 home installed and is brand new, straight out of the box.",
"Given $E[Y]=1$ , $E[Y^2]=2$ and $E[Y^3]=5$, Y non negative integer random variable, find min of $P[Y=0]$",
"In the Peter Jackson movie, once the One Ring is thrown into the volcano in Mount Doom, why does the mountain and tower collapse, and the ground disappears everywhere where the orcs are standing but not where the humans are? Where are all the orcs running to, what do they do next?",
"I am trying to do kriging by gstat package through R. Here is my Code: krg<-krige(var ~ 1,data,grid,model=vgm,nmax=30) But each time I recive this warning: 1: In predict.gstat(g, newdata = newdata, block = block, ... : Warning: Covariance matrix (nearly) singular at location [1,4501,0]: skipping... and when I try to plot it by spplot this error appears: Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) : 'from' cannot be NA, NaN or infinite In addition: Warning messages: 1: In asMethod(object) : complete map seems to be NA's -- no selection was made 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf Here is the full code: You can download my data through this link: and here is my full code: library(gstat) library(sp) library(raster) coordinates(Mydata) <- ~East + North proj4string(Mydata) <- CRS(\"+proj=utm +zone=10+datum=WGS84\") ext <- as(extent(Mydata), \"SpatialPolygons\") r <- rasterToPoints(raster(ext), spatial = TRUE) proj4string(r) <- proj4string(Mydata) v1 <- variogram(cpue_female ~ 1, Mydata) vgm_mod_omni <- vgm(psill = 0.0003, model = \"Mat\", range = 50000, nugget = 33, kappa = 0.5) G1 <- krige(cpue_female ~ 1, Mydata, r, vgm_mod_omni, nmax = 30) gridded(G1) <- TRUE spplot(G1)",
"How do I backup ssh keys? I am planning to do a fresh install of ubuntu 11.10 in my system. Before that i have setuped key based ssh authentication in this machine. Is it possible to take backup of those ssh keys, so that i can use that in my new installation. Or else i must setup keybased ssh authentication again? If i can take backup, what are the files i need to copy? Can someone explain it in detail pls. Thanks in advance.",
"Previous question: That was when my buttons died. On other days, my text dies. And some times it's just italics. Now, I like blaming @skiwi for this, and he's often nearby when it happens. But today, he's not here, and it happened again. I'm running Windows 8 and using Chrome 40.0.2214.94 m. Refreshing and such does not fix the issue. Inspect element -> console -> error log: http://chat.stackexchange.com/chats/8595/messages/new Failed to load resource: the server responded with a status of 409 (Conflict) http://i.stack.imgur.com/2ZJdJ.png?s=128&g=1&g&s=16 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/boUZp.jpg?g&s=16 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/U8P3C.jpg?s=128&g=1&g&s=32 Failed to load resource: the server responded with a status of 502 (Bad Gateway) http://i.stack.imgur.com/boUZp.jpg?g&s=16 Failed to load resource: the server responded with a status of 504 (Gateway Time-out) http://chat.stackexchange.com/messages/19891816 Failed to load resource: the server responded with a status of 409 (Conflict) What's going on here? I should note, I can view italics by selecting, then alt-tabbing: So it reeks of a client-side issue. What's hiding the text from me? EDIT: 30 april 2015 it happened again =/",
"Best technique to create oldschool (fake 3D) racing game? What would be a good approach to develop the render system for an oldschool type racing game that uses a pseudo 3D scenery, like for example Outrun or Lotus Esprit Turbo Challenge? There's an endless scrolling road and scenery graphics are placed like billboard items, etc. I think you get the idea. Are these developed in a similar way like or is there a different technique behind it? Does the technique has a specific name I could search for on the web? I need to develop something like that in Flash.",
"Sometimes I want to underline some text, and it extends past the end of a line. Why does \\underline{} not automatically wrap my text for me ? Also, how can I underline text so that it will still wrap ?",
"I recently re-watched Contact for the first time since my childhood, and while I thoroughly enjoyed it, I realized that there was something I'd never understood: why couldn't they corroborate Ellie's account of her journey? As far as I could tell, the pod fell harmlessly through the machine. That is, it didn't break anything, and the machine wasn't destroyed. I don't recall any dialogue about circuits being fried or the system shutting down, so presumably it wouldn't be hard to simply hoist the pod up and go again. I imagine the energy draw was substantial on the local Japanese power grid, but given the amount of effort and money already invested in the machine, surely \"Round 2\" wasn't out of the question? I mean, they almost certainly expected that this machine would get more than one good use out of it, anyway! So given Ellie's vehement insistence that the machine had worked, the public nature of the controversy surrounding her testimony, and the government's (secret) findings that her device had recorded 18 hours of static, why wasn't it the obvious choice to have someone else suiting up the next day, ready to drop through the machine and corroborate her story?",
"I've been living in Ireland for almost a year now and I start noticing they use the word \"mens\" a lot. I can see it used in: Shops, to denote the area where you can find men's clothes In sport, when they talk about \"mens team\". My guess is just that they are lazy about the use of quotes, so that mens should actually be men's. However, there may be some rule I'm not aware of. So, is \"mens\" only limited to Irish English? When I'm allowed to use it?",
"Notation for infinite product in reverse order This question is related to notation of infinite product. We know that, $$ \\prod_{i=1}^{\\infty}x_{i}=x_{1}x_{2}x_{3}\\cdots $$ How do I denote $$ \\cdots x_{3}x_{2}x_{1} ? $$ One approach could be $$ \\prod_{i=\\infty}^{1}x_{i}=\\cdots x_{3}x_{2}x_{1} $$ I need to use this expression in a bigger expression so I need a good notation for this. Thank you in advance for your help.",
"Why have my email notifications stopped?"
] | medi_sts_stackexchange_dupe |
PhD vs EngD - Perception | Differences among Doctoral Degrees/titles | [
"I know the usage of This is a new car. This is singular. These are some books for you. These is plural. Shall we use There exists some people who agree with me. There exist some people who agree with me. Which one is the correct usage and why?",
"Weird http -> https redirection although not configured I am running Apache 2.2.15 (CentOS 6.6) with a HTTP-only domain demo.xml-director.info Using wget I can retrieve the content properly wget -S http://demo.xml-director.info --2015-01-05 13:31:41-- http://demo.xml-director.info/ Resolving demo.xml-director.info (demo.xml-director.info)... 176.9.146.28 Connecting to demo.xml-director.info (demo.xml-director.info)|176.9.146.28|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Mon, 05 Jan 2015 12:31:41 GMT Server: Zope/(2.13.22, python 2.7.6, linux2) ZServer/1.1 Content-Length: 20227 Expires: Sat, 01 Jan 2000 00:00:00 GMT Content-Type: text/html;charset=utf-8 X-Ua-Compatible: IE=edge,chrome=1 Content-Language: en Vary: Accept-Encoding Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Length: 20227 (20K) [text/html] Saving to: 'index.html.4' However Chrome/Firefox always change the request from http to https because of HTST. However for this particular domain there is no HSTS configured. The server runs SSL for www.xml-director.info with enabled HSTS support. However there is further alias here that would map demo.xml-director.info to www.xml-director.info. How can this problem be resolved. VHOst for www.xml-director.info: <VirtualHost *:443> ServerName www.xml-director.info ServerAlias xml-director.info SSLEngine on SSLCertificateFile /etc/httpd/certs/15742445repl_2.crt SSLCertificateCHainFile /etc/httpd/certs/15742445repl_2.ca-bundle SSLCertificateKeyFile /etc/httpd/certs/zopyx.com.key CustomLog /var/log/httpd/xml-director.info.log combined DocumentRoot /var/www/xml-director/landing-v1 Header always set Strict-Transport-Security \"max-age=63072000; includeSubDomains\" <location \"/\"> Options +Indexes Header set Access-Control-Allow-Origin \"*\" Header set Access-Control-Allow-Methods \"GET,PUT,POST,DELETE\" Header set Access-Control-Allow-Headers \"X-Requested-With,Content-Type\" </location> </VirtualHost> <VirtualHost *:80> ServerAlias www.xml-director.com ServerAlias www.xml-director.info ServerAlias www.xml-director.de ServerAlias xml-director.com ServerAlias xml-director.info ServerAlias xml-director.de RedirectPermanent / https://xml-director.info/ </VirtualHost> and for demo.xml-director.info <VirtualHost *:80> ServerName demo.xml-director.info RewriteEngine On RewriteRule ^/(.*) http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P] RewriteRule ^/$ http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P] CustomLog /var/log/httpd/demo.xml-director.info.log combined AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript CacheRoot /tmp/cache CacheEnable disk / CacheIgnoreCacheControl on KeepAliveTimeout 15 KeepAlive on ExpiresActive On ExpiresByType image/gif \"access plus 10 day\" ExpiresByType image/jpg \"access plus 10 day\" ExpiresByType image/jpeg \"access plus 10 day\" ExpiresByType image/png \"access plus 10 day\" ExpiresByType text/javascript \"access plus 10 day\" ExpiresByType text/html \"access plus 1 hour\" ExpiresByType text/html \"access plus 1 hour\" ExpiresByType text/css \"access plus 10 days\" <Location \"/\"> Order allow,deny Allow from all </Location> </VirtualHost>",
"How to use java.util.Scanner to correctly read user input from System.in and act on it?",
"Today I was cut off in the middle of the following sentence: Between Cook, Strauss, and Pietersen— My friend said I was wrong. He said that for more than two entities, among/amongst are used, and that between is only for two entities. I vaguely remember some rule like this, but I asked him to hear the whole sentence, which was: Between Cook, Strauss, and Pietersen, they’ve notched up 56 centuries in Test cricket. Should I have used among here? Seems correct to me to use between, but my friend was certain. Another friend pointed out the following sentence: I’m still choosing between Harvard, Yale, and MIT. Certainly among doesn’t seem to fit here, and she, to me, was correct in using between.",
"After my lie down, I posted on SO. As I suspected would happen, it got moved to programmers. Unfortunately, the kind of people I'm interested in getting answers from (litb,skeet et al - the top SO programmers in their respective disciplines) don't frequent Programmers much. So my question is, where to ask somewhat non-specific questions of high-powered users?",
"Solutions of $x^2 \\equiv 1 \\pmod N$ I am stuck with this exercise: Show that $\\forall s >0 \\quad \\exists N >0$ such that $$x^2 \\equiv 1\\pmod N$$ has more than $s$ solutions. I think I cannot use the theory if quadratic residues, because the modulus is not prime, so maybe I must prove it with square roots or roots of unity, but I don't know how to approach it at all. Thanks for any help.",
"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.",
"Screen Resolution Problem with Ubuntu 14.04 and VirtualBox Environment: Lenovo T530 running Windows 7. Have installed Ubuntu 14.04 on a virtual machine using VM Virtual Box. Have installed all the updates from both Virtual Box and Ubuntu. Problem: While in Ubuntu's desktop and other Ubuntu initiated programs, the window is reduced to about 3x4 inches showing in the middle of the rest of my regular Virtual Box window. I am seeing only the upper right hand of the screen output of what I would normally see. Please help. I've seen But, none of these answers works in 14.04.",
"Isn't finding the inverse of $a$, that is, $a'$ in $aa'\\equiv1\\pmod{m}$ equivalent to solving the diophantine equation $aa'-mb=1$, where the unknowns are $a'$ and $b$? I have seem some answers on this site (where the extended Euclidean Algorithm is mentioned mainly) as well as looked up some books but there is no mention of this. Am I going wrong somewhere or is this a correct method of finding modular inverses? Also can't we find the Bézout's coefficients by solving the corresponding diophantine equation instead of using the extended Euclidean Algorithm?",
"Moving an already-running process to Screen My office job routinely sees me connected to a Linux box via VNC. Sometimes I start a remote job on the console, and realize later that it runs much longer than expected. (Should have started that one under Screen in the first place...) I don't want to keep my workstation running overnight just to keep the VNC session open; I would like to move that already-running remote job into a Screen session (on the remote box), so I can power down the workstation (and reconnect next morning). How can this be done, if at all?",
"How to re-install http windows service I replaced apache webserver with http(WINHTTP windows service) for use virtual hosts feature. But I was missing http(WINHTTP windows service) which I previously removed.I now want to reinstall this service for use print spooler.",
"Can a wizard use his familiar's senses to enlarge his \"you can see\" area?",
"How to use XMLHttpRequest to download an HTML page in the background and extract a text element from it?",
"Windows file system is case insensitive. How, given a file/folder name (e.g. \"somefile\"), I get the actual name of that file/folder (e.g. it should return \"SomeFile\" if Explorer displays it so)? Some ways I know, all of which seem quite backwards: Given the full path, search for each folder on the path (via FindFirstFile). This gives proper cased results of each folder. At the last step, search for the file itself. Get filename from handle (as in ). This requires opening a file, creating file mapping, getting it's name, parsing device names etc. Pretty convoluted. And it does not work for folders or zero-size files. Am I missing some obvious WinAPI call? The simplest ones, like GetActualPathName() or GetFullPathName() return the name using casing that was passed in (e.g. returns \"program files\" if that was passed in, even if it should be \"Program Files\"). I'm looking for a native solution (not .NET one).",
"New \"[tag:\" syntax interferes with Markdown links Links in [link text][number] format don't work properly if they follow a tag using the new [tag:tagName] format. Here's the result of [tag:python] [gold badge page][1]: [gold badge page] Putting the tag inside the link is worse. Here's the result of [[meta-tag:bug] some text][2], where [2] is google.com: The part of the link outside the tag just disappears silently. EDIT: To be more precise, the entire link to [2] disappears. The markup that is produced contains (invalid) nested anchor tags, as shown here from Firefox's \"View Source\": <a href=\"http://google.com\" rel=\"nofollow\"><a href=\"/questions/tagged/bug\" class=\"post-tag required-tag\" title=\"show questions tagged 'bug'\" rel=\"tag\">bug</a> some text</a> So the tag is still a link, but it is a link to the tag page, which is the behavior it would have if the link to [2] didn't exist at all. The user's desired behavior in this case is... ambiguous, to be charitable. EDIT 2: I briefly included markup from Firebug here, but it turned out to be irrelevant. It has now been removed to improve readability. See if you're interested.",
"Random point uniform on a sphere",
"Billing Information Required for App Updates I'm trying to update 3 apps on my iPad and 3 things happen that never usually happen. It asks me to sign in. It asks for my billing information. My card gets denied. Now I know my card still works fine so that isn't the problem. The same thing happens when I try to install previously downloaded apps (that cloud button) or install new free apps. I have no outstanding payments (is it even possible to have outstanding payments with Apple?) so why is this happening? In case it's needed, I'm using an iPad Air running the latest version. 16GB Harddrive and Wi-Fi only. I should also make it clear that \"None\" isn't an option for payment.",
"How do you deal with missing players?",
"That's really embarrassing, however I need to ask it. I could not prove that the normed space $\\langle \\mathscr{C} [0, 1], \\| \\cdot \\|_1 \\rangle $ is complete (as a metric space), where $\\| f\\|_1 = \\int_0^1 |f(x)|dx$. I don't really know how to explicit a continuous functions as a limit of a Cauchy sequence. I tried to prove that the pointwise limit (of the Cauchy sequence) have just a finite number of discontinuities (I don't know if it's true) and then approximate it by a continuous function. Thanks in advance.",
"How would I prove there is no smallest positive rational number? what is the best method to prove this statement?"
] | medi_sts_stackexchange_dupe |
Need help with grammatical problem | Can anyone tell me the name of these sentences? | [
"Parse v. TryParse What is the difference between Parse() and TryParse()? int number = int.Parse(textBoxNumber.Text); // The Try-Parse Method int.TryParse(textBoxNumber.Text, out number); Is there some form of error-checking like a Try-Catch Block?",
"Real analysis derivate problem. How can I prove this? Let $f$ be differentiable in $[a,b]$ and $f(a)=0$. If $\\exists M \\in R$ such that $\\vert f'(x) \\vert \\leq M \\vert f(x)\\vert \\ $, $\\forall x \\in [a,b]$, then $f(x)=0, \\ \\forall x \\in [a,b]$. $\\\\$ I have an idea, but I can´t see it clear. I have arrived to the inequality $\\vert f(x)\\vert \\leq K\\vert f(y)\\vert $ for $y \\in (a,x)$, supposing $k>0$ and repeating the process $\\vert f(x)\\vert \\leq K^n\\vert f(z)\\vert$ for $a<z<y<x$. If $K<1$, then if $n \\rightarrow \\infty \\ $, $f(x)=0$. That´s a sort of intuitive idea.",
"This problem comes from another equation on another question (. I tried to split it in half but I found out that $$\\sum_{k=0}^\\infty \\frac{k}{2^k}$$ can't be divided. Knowing that $$\\sum_{k=0}^\\infty x^k=\\frac{1}{1-x}$$ I wrote that $$\\sum_{k=0}^\\infty \\frac{k}{2^k}=\\sum_{k=0}^\\infty \\left(\\frac{\\sqrt[k] k}{2}\\right)^k=\\frac{1}{1-\\frac{\\sqrt k}{2}}=\\frac{2}{2-\\sqrt[k] k}$$ But that's not what I wanted. Could anyone help me?",
"iBooks preview not working? I recently converted one of my books into an iBooks format using Author. However when I connected to my iPad and went into 'preview', I saw my device, clicked it, but the 'preview' button to enable the previewing process was faded and I could not click it. Has anyone actually used the preview feature enough to give me some help? Thanks!",
"Is there a specific reason for having a very short window for passengers to get to the boarding gate before closing it? I am not a frequent traveler but it's been like this with all the flights I have been on. Here is the most recent example: Below is my boarding pass As you can see Gate Closes at 20:20 Here is the departures board at 18:32, clearly it says that they will announce the boarding gate at 20:10 ?! I was hoping they will do that earlier but at 19:41 it's still the same In fact they announced it at 20:11 but since I was freaking out and had to leg it to the gate I didn't have the time to take a photo. You might think 9 minutes is enough, well below are the times required to reach the gates from the closest place to them And that's for a healthy young person, no way my grandmother could be able to be at the gates within 9 minutes. Is there a specific reason? it's not like they allocate the gate dynamically! The staff must have known about the gate hours ago as I don't expect the pilot to drive the airplane from the garage to the gate within 9 minutes?",
"Save an entire webpage, with all images and css, into just one folder and one file, with wget?",
"What is the relationship between the focal length and field of view for an equal-area (\"equisolid\") projection fisheye lens? Alternatively, what is the relationship between the 180-degree image circle size and the focal length for such a lens? Ultimately I want to find the field of view of a Tokina 10-17 mm fisheye zoom at focal lengths other than 10 mm on APS-C ().",
"I tried Office 2013, but now wish to uninstall it. I tried to uninstall it but it always hangs at step 2 out of 4. It uses no CPU and no disk activity. So basically it's just idle. Does anyone have a solution to this problem?",
"What are badges? How do users get badges? How can users get tag badges? Can badges be lost/revoked/taken away after they are awarded? If so, how and when? How can I suggest a new badge? For more information, see "" and the in the .",
"Find lost device without Gmail account configured and without SIM card I recently misplaced a phone that did not have gmail account configured and did not have a SIM card in it either. Is there any way I can track it ? All of the tracking apps either require sending an SMS (needs SIM card) or OTA install(needs Gmail account). I do have the IMEI number of the phone.",
"the least possible value for :$ \\lfloor \\frac{a+b}{c}\\rfloor +\\lfloor \\frac{b+c}{a} \\rfloor+\\lfloor \\frac{c+a}{b} \\rfloor $ If we know that for every $a,b,c>0$ ,how we can find the least possible value for : $$ \\lfloor \\frac{a+b}{c}\\rfloor +\\lfloor \\frac{b+c}{a} \\rfloor+\\lfloor \\frac{c+a}{b} \\rfloor $$",
"I've got a huge list of date-times like this as strings: Jun 1 2005 1:33PM Aug 28 1999 12:00AM I'm going to be shoving these back into proper datetime fields in a database so I need to magic them into real datetime objects. This is going through Django's ORM so I can't use SQL to do the conversion on insert.",
"Which repository source do I need to add to my sources.list to access the package firmware-linux-nonfree? I am using Deb 6 testing 32 bit.",
"\\xymatrix undefined",
"Proper Way to Combine Feature Selection and Hyperparameter Tuning?",
"Why did the Ministry of Magic choose an ax for carrying out a death sentence?",
"How do you configure an OpenFileDialog to select folders? In VS .NET, when you are selecting a folder for a project, a dialog that looks like an OpenFileDialog or SaveFileDialog is displayed, but is set up to accept only folders. Ever since I've seen this I've wanted to know how it's done. I am aware of the FolderBrowserDialog, but I've never really liked that dialog. It starts too small and doesn't let me take advantage of being able to type a path. I'm almost certain by now there's not a way to do this from .NET, but I'm just as curious how you do it from unmanaged code as well. Short of completely reimplementing the dialog from scratch, how do you modify the dialog to have this behavior? I'd also like to restate that I am aware of the FolderBrowserDialog but sometimes I don't like to use it, in addition to being genuinely curious how to configure a dialog in this manner. Telling me to just use the FolderBrowserDialog helps me maintain a consistent UI experience but doesn't satisfy my curiosity so it won't count as an answer. It's not a Vista-specific thing either; I've been seeing this dialog since VS .NET 2003, so it is doable in Win2k and WinXP. This is less of a \"I want to know the proper way to do this\" question and more of a \"I have been curious about this since I first wanted to do it in VS 2003\" question. I understand that Vista's file dialog has an option to do this, but it's been working in XP so I know they did something to get it to work. Vista-specific answers are not answers, because Vista doesn't exist in the question context. Update: I'm accepting Scott Wisniewski's answer because it comes with a working sample, but I think Serge deserves credit for pointing to the dialog customization (which is admittedly nasty from .NET but it does work) and Mark Ransom for figuring out that MS probably rolled a custom dialog for this task.",
"Here's an example question from the : On the last day of a one-week sale, customers numbered 149 through 201 were waited on. How many customers were waited on that day? Possible answers: 51, 52, 53, 152, 153. The correct answer here is 53, which is the result of (201-149) + 1 = 53. What's the reasoning in adding the +1?",
"What happens if a person can't die of a heart attack?",
"If we pick randomly two points inside a circle centred at $O$ with radius $R$, and draw two circles centred at the two points with radius equal to the distance between them, what is the expected area of the intersection of the two cirlces that contain the origin $O$."
] | medi_sts_stackexchange_dupe |
Why can't moderators see who flagged a comment? | Show us who submitted offensive and comment flags | [
"Data defined label position for more than one scale in one layer I'm looking for a better labeling-solution for my projects. It seems to be difficult - but maybe I'm just blind? My projects: I build printed bike-hike-books. The main scale is 1:75k and there are a city scale of 10k and a overview scale of 200k. Because I like to have a \"cartographic\" quality of labels placements, I touch every single label and move it to it's best position. I have to do this for every single scale so my labeling columns for 3 scales look like this ('scale 1' stands for 10k 'scale 2' for 75k and 'scale 3' for 200k): But before I try to explain in detail, I build this simple Example-Project where you can see and test my (old) labeling solution for 3 scales: Well, it is working but: You need labeling columns for every scale You need a layer for every scale I'm looking for a much better solution without duplicate layers and tons of columns. I count on your creative minds! EDIT: I added this two very dense map as examples: There is only one single possible position for \"St. Paulus Dom\" and it's not any quadrant: Every label has to be moved manually. Some of the labels are not in a quadrant.",
"Chosing a reference frame in which the Earth is at rest and doesn't rotate",
"I have searched this for hours but still no luck, obviously doing something wrong. The journal (Risk Analysis) wants \"Reference style is based on the National Library of Medicine (NLM) style guide. In-text citations are numbered, superscripted and in parentheses, and the reference list is numbered in order of appearance within the manuscript. Footnotes are superscripted without parentheses\". Could someone please suggest an appropriate .bst file to use that will produce this? Thanks, J",
"Is it possible to call a non-exported function that resides in an exe?",
"Fix corrupt NTFS partition without Windows MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed). I'm putting the debug output of fdisk and blkid . At the same time, any OS is unable to mount my root partition, which is located next to my NTFS partition. I'm not sure if this has anything to do with it, though. I get the following error while trying to mount my root partition (sda5) mount: wrong fs type, bad option, bad superblock on /dev/sda5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so ubuntu@ubuntu:~$ dmesg | tail [ 1019.726530] Descriptor sense data with sense descriptors (in hex): [ 1019.726533] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [ 1019.726551] 1a 3e ed 92 [ 1019.726558] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed [ 1019.726568] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 1a 3e ed 40 00 01 00 00 [ 1019.726584] end_request: I/O error, dev sda, sector 440331666 [ 1019.726602] JBD: Failed to read block at offset 462 [ 1019.726609] ata1: EH complete [ 1019.726612] JBD: recovery failed [ 1019.726617] EXT4-fs (sda5): error loading journal When I open gparted (using live CD), I get an exclamation next to my NTFS drive which states Is there a way to run chkdsk without using windows ? My attempt to run fsck results in the following : ubuntu@ubuntu:~$ sudo fsck /dev/sda fsck from util-linux-ng 2.17.2 e2fsck 1.41.14 (22-Dec-2010) fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> Update: I was able to fix the NTFS partition running chkdsk off Hiren's BootCD, but it seems that the superblock problem still remains. Update 2: Fixed superblock issue using e2fsck -c /dev/sda5",
"How can wifi penetrate through walls when visible light can't? I did search the question on Physics S.E considering it would be previously asked. I found this But in this question , the answers are w.r.t to or in comparison with microwaves , their absorption and certain other things. I didn't find a sort of general answer that could be the answer to the question. So the question is - wifi or radio waves reach us through concrete walls . They also reach us through the ceiling (if some one is using it in the flat above ours ). Even through the air they travel such a lot , bending around corners or doors . Now I would not compare them to microwaves (because I don't want the answer in terms of properties of the material but physics). Visible light which is so much powerful than them can't penetrate black opaque paper leave alone the walls. Same is true for gamma rays (penetration through a very thick wall). So why then radio waves being so very less powerful than light waves are able to travel through walls? There should be a general concept as to why the radio waves are able to pass through walls but microwaves or light waves cannot ! A linked question is also that sound travels much faster in solids(walls) but is not audible in it though it is in air. After reading @BillN's answer, it would be really helpful if any one could explain it in terms molecular resonance or crystalline structure or electrical conductivity or how does molecular resonance or crystalline structure or electrical conductivity cause this.",
"I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be <apex:inputField> or <apex:outputField>) preferably query-able from apex (via the database, a describe or whatever) and then again the actual symbol, meaning € for Euro, $ for dollar, and so on... There must surely be some sort of mapping hidden in the code somewhere salesforce does this via the input/outputfields if bound to an sobject of type currency Can anyone point me in the right direction?",
"Is the phrase \"it's just a matter of semantics\" meaningless? I hear this phrase from time to time, and I really don't know what it means. Two people are debating, and one says \"the difference between your position and mine is just a matter of semantics.\" This would seem to me to be quite an important difference. That is, if one person means one thing, and the other person means something else, then they really do have different positions. If they said \"it is just a matter of terminology\" or \"just a matter of phrasing\" I would get it. But if someone says \"we differ only what we mean\" ... it kinda makes me chuckle because it seems to be saying that their meaning is not important, as if the argument was primary and the positions they take a secondary consideration. So I started looking around for examples of this. I guess it seems that there is a popular notion that semantics is about very fine distinctions, such as: Another interpretation seems to be that semantics is the difference between two ways of saying the same thing: Maybe it is just a way of stopping an annoying conversation: And then there is some usage that I simply don't understand: And also: Still, to me it is just a meaningless phrase. Am I missing an important meaning here?",
"Infinite series $\\sum _{n=2}^{\\infty } \\frac{1}{n \\log (n)}$",
"Not able to install Win Xp on Lenovo Ideapad z570 I want to install Win Xp on my Ideapad Z 570 laptop but i always get blue screen with message with some drive related problem which asks me to run CHKDSK command. I tried with that but no luck. Is there any way i can install Win Xp with SP 2 ? Edit: i searched across the sites and came to know there could be some Compatibility problems, and i could fix it by setting HDD mode to IDE; will it solve the problem?",
"Are C-style macro names subject to the same naming rules as identifiers? After a compiler upgrade, it is now emitting this warning for a legacy application: warning #3649-D: white space is required between the macro name \"CHAR_\" and its replacement text #define CHAR_& 38 This line of code is defining an ASCII value constant for an ampersand. #define DOL_SN 36 #define PERCENT 37 #define CHAR_& 38 #define RT_SING 39 #define LF_PAR 40 I assume that this definition (not actually referenced by any code, as far as I can tell) is buggy and should be changed to something like \"CHAR_AMPERSAND\"?",
"Upon realizing it is a sarcophagus, he decides to sacrifice himself (I think by disconnecting his air) and exist in it for eternity along with the original creature. It may have been in an old Omni magazine, or some other periodical. I thought it may have been in the anthology \"Dead Astronauts\" but I did not find the story in there.",
"Can a function be differentiable at the end points of its (closed interval) domain? Assume $f$ has a domain of $[a,b]$. Is it possible that $f$ is differentiable on the closed interval $[a,b]$, or must the maximal domain for $f'$ be $(a,b)$?",
"I installed Dev C++ using Wine on Ubuntu 18.04 and the program is compiling but it not showing any output screen.",
"When using sudo to allow edits to files, I regularly get 'permission denied'. For example, my mouse is jittery and sluggish, so I want to disable polling: sudo echo \"options drm_kms_helper poll=N\">/etc/modprobe.d/local.conf I'm prompted for a password, and then get: bash: /etc/modprobe.d/local.conf: Permission denied So I tried to do a temporary change to disable polling by using: sudo echo N> /sys/module/drm_kms_helper/parameters/poll Yet again the system responded with: bash: /sys/module/drm_kms_helper/parameters/poll: Permission denied Any ideas?",
"How can one prove the Bohr-Sommerfeld quantization condition $$ \\oint p~dq ~=~2\\pi n \\hbar $$ from the WKB ansatz solution $$\\Psi(x)~=~e^{iS(x)/ \\hbar}$$ for the Schroedinger equation? With $S$ the action of the particle defined by Hamilton-Jacobi equation $$ \\frac{\\partial S}{\\partial t}+ \\frac{(\\nabla S)^{2} }{2m}+V(x)~=~0 .$$",
"Today, after returning from vacations, I started my QGIS 1.7 and got this terrible message: Help, anyone?",
"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?",
"The is minimal and clean on a fresh installation of Windows. Install a bunch of applications and soon the context menu is loaded with all kinds of opening options from various applications. How do I remove items from the right click (context) menu? I find that there are different types of right click menu items: Global items that appear in all context menus. Items that appear only on folders. Items that appear only on files. Items that appear only on special folders (Ex: Right clicking a folder of MP3s shows up a context menu with items like Play with Windows Media Player.) Items that appear only on certain file types (Ex: Right clicking a MP3 file shows up a context menu with items from Windows Media Player/Foobar2000/VLC/your-favorite-media-player begging to open this file.) I want to be able to delete all these kinds items from the right click (context) menu.",
"Adding related resources or hyperlinks in edits So, I've been rejecting the addition of resources/hyperlinks to posts simply because I had no idea that this was an acceptable practice. Today, I was browsing through the edits page and saw: Some common reasons to edit are: to fix grammatical or spelling mistakes to clarify the meaning of a post without changing it to correct minor mistakes or add addendums / updates as the post ages to add related resources or hyperlinks Why is this an acceptable practice? I can see adding links to official documentation, but the quality of outside resources is (potentially) subjective. I see the merit in adding resources, but it seems to me that these additional resources should be placed in comments, not inserted into the post via an edit. Anyone have thoughts on this?"
] | medi_sts_stackexchange_dupe |
Do the rules speak to buying partially charged wands, one way or another? | Are partially charged wands generally purchasable? | [
"Term for words like Snowmageddon, Nipplegate and even cheeseburger?",
"Why do only two sexes exist for animals?",
"I am currently running Ubuntu 11.10 off of a SanDisk 16GB USB. I installed it using a Live USB with the following partition configuration: 6GB Primary /dos FAT32 5GB Logical / ext4 5GB Logical /home ext4 I don't have a hard disk, and don't see myself getting one anytime soon. I rely solely on this 16GB, and two other 4GB USBs, one of which I used as the LiveUSB. I bring the USBs around, and even use the install at work. I previously used an install that used a swap file. It functioned fine for the most part, save for a few slow moments, but I came across , and it got me thinking about my USB's life, so I reinstalled with the current config. My problem now is that it is slower. Applications like Firefox would hang more often. In my previous setup (the automatically partitioned setup), Firefox would start hanging if I was running an unzip or install task on the same partition as /. Now however, it would hang if I had another window open i.e. the system settings window. My guess is that it may have something to do with the swap file or the install being on a Logical partition rather than a Primary partition, but I don't know. Any insight as to why it has slowed down?",
"What color would you see if you place 2 mirrors in opposit when one is a one way mirror",
"Is there any reason to use this-> I am programming in C++ for many years, still I have doubt about one thing. In many places in other people code I see something like: void Classx::memberfunction() { this->doSomething(); } If I need to import/use that code, I simply remove the this-> part, and I have never seen anything broken or having some side-effects. void Classx::memberfunction() { doSomething(); } So, do you know of any reason to use such construct? EDIT: Please note that I'm talking about member functions here, not variables. I understand it can be used when you want to make a distinction between a member variable and function parameter. EDIT: apparent duplicate:",
"How do Android tablets use magnet to auto-lock the device?",
"Hibernate JPA Sequence (non-Id) Is it possible to use a DB sequence for some column that is not the identifier/is not part of a composite identifier? I'm using hibernate as jpa provider, and I have a table that has some columns that are generated values (using a sequence), although they are not part of the identifier. What I want is to use a sequence to create a new value for an entity, where the column for the sequence is NOT (part of) the primary key: @Entity @Table(name = \"MyTable\") public class MyEntity { //... @Id //... etc public Long getId() { return id; } //note NO @Id here! but this doesn't work... @GeneratedValue(strategy = GenerationType.AUTO, generator = \"myGen\") @SequenceGenerator(name = \"myGen\", sequenceName = \"MY_SEQUENCE\") @Column(name = \"SEQ_VAL\", unique = false, nullable = false, insertable = true, updatable = true) public Long getMySequencedValue(){ return myVal; } } Then when I do this: em.persist(new MyEntity()); the id will be generated, but the mySequenceVal property will be also generated by my JPA provider. Just to make things clear: I want Hibernate to generate the value for the mySequencedValue property. I know Hibernate can handle database-generated values, but I don't want to use a trigger or any other thing other than Hibernate itself to generate the value for my property. If Hibernate can generate values for primary keys, why can't it generate for a simple property?",
"Corrupt Backupt GPT Table",
"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.",
"Contraction of quotient ideal is quotient of contractions?",
"Can't we compute $\\lim_{n \\to \\infty}\\frac{1+ \\cdots +n}{n^2}=\\lim_{n\\to\\infty}\\frac{1}{n^2}+\\cdots +\\lim_{n\\to\\infty}\\frac{n}{n^2}=0$? I just learned the definition of limits, and I learned that if $\\{a_n\\}, \\{b_n\\} $ converges, then $$\\lim_{n\\to \\infty} (a_n+b_n)=\\lim_{n \\to \\infty} a_n+\\lim_{n \\to \\infty}b_n$$ holds. And my teacher said that $\\lim_{n \\to \\infty}\\frac{1+2+3+ \\cdots +n}{n^2}=\\lim_{n\\to \\infty}\\frac{\\frac{n(n+1)}{2}}{n^2}=\\frac{1}{2}$. But can't we compute like $$\\lim_{n \\to \\infty}\\frac{1+2+3+ \\cdots +n}{n^2}=\\lim_{n\\to\\infty}\\frac{1}{n^2}+\\lim_{n\\to\\infty}\\frac{2}{n^2}+\\lim_{n\\to\\infty}\\frac{3}{n^2}+\\cdots +\\lim_{n\\to\\infty}\\frac{n}{n^2}=0+0+\\cdots+0=0$$?",
"What is the closed form for $\\sum_{n=1}^\\infty \\frac1n - \\frac1{n+1/p}$? A while ago, I started to look at expressions of the following form: $$ S_p:=\\sum_{n=1}^\\infty \\frac1n - \\frac1{n+1/p}, $$ where $p$ is prime, because otherwise things get too complicated for me at the moment. What I found so far is the following: $$ S_p= p -\\log(2p) - \\frac12 \\pi \\cot\\left(\\frac\\pi p\\right) + T_p, $$ where $T_p$ contains $\\frac{p-1}2$ terms $t_{p,k}$ of the form: \\begin{cases} \\pm 2 \\sin\\left(\\frac{k\\pi}{2p}\\right) \\log\\left(\\sin\\left(\\frac{k\\pi}{2p}\\right)\\right) \\\\ \\pm 2 \\cos\\left(\\frac{k\\pi}{2p}\\right) \\log\\left(\\sin\\left(\\frac{k\\pi}{2p}\\right)\\right)\\\\ \\pm 2 \\sin\\left(\\frac{k\\pi}{2p}\\right) \\log\\left(\\cos\\left(\\frac{k\\pi}{2p}\\right)\\right) \\\\ \\pm 2 \\cos\\left(\\frac{k\\pi}{2p}\\right) \\log\\left(\\cos\\left(\\frac{k\\pi}{2p}\\right)\\right) \\end{cases} An example can be found . How does the closed form for $\\sum_{n=1}^\\infty \\frac1n - \\frac1{a+n}$ look like? (EDIT: where $a=1/p$)",
"Here is the script to create my tables: CREATE TABLE clients ( client_i INT(11), PRIMARY KEY (client_id) ); CREATE TABLE projects ( project_id INT(11) UNSIGNED, client_id INT(11) UNSIGNED, PRIMARY KEY (project_id) ); CREATE TABLE posts ( post_id INT(11) UNSIGNED, project_id INT(11) UNSIGNED, PRIMARY KEY (post_id) ); In my PHP code, when deleting a client, I want to delete all projects posts: DELETE FROM posts INNER JOIN projects ON projects.project_id = posts.project_id WHERE projects.client_id = :client_id; The posts table does not have a foreign key client_id, only project_id. I want to delete the posts in projects that have the passed client_id. This is not working right now because no posts are deleted.",
"Creating shapefile from current dataframe extents in layout view of ArcMap? Where is the ArcGIS 10 tool for creating a shapefile from current dataframe extents in layout view? Have looked around and the closet thing i can find is Toolbox's Grid/Strip Map Index tools under Data Drive Pages. I just want to be able to create a single polygon rectangle shp file based on the data frame (in layout view) for any given scale / page setup.",
"Bibtex true unsort",
"Assume $\\bar A\\cap\\bar B=\\emptyset$. Is $\\partial (A \\cup B)=\\partial A\\cup\\partial B$, where $\\partial A$ and $\\bar A$ mean the boundary set and closure of set $A$? I can prove that $\\partial (A \\cup B)\\subset \\partial A\\cup\\partial B$ but for proving $\\partial A\\cup\\partial B\\subset \\partial (A \\cup B)$ it seems not trivial. I tried to show that for $x\\in \\partial A\\cup\\partial B$ WLOG, $x\\in \\partial A$ so $B(x)\\cap A$ and $B(x)\\cap A^c$ not equal to $\\emptyset$ but it seems not enough to show the result.",
"I am attempting to install Ubuntu on a box which was previously running Windows 7. I have also experienced the dreaded \"Unable to install GRUB\" error. I am not attempting to dual boot. I have previously run a Windows boot disk and removed all existing partitions. If I run the Ubuntu 12.04 install CD and click install after the config screens, I get the error Executing 'grub-install /dev/sda' failed. This is a fatal error. (It is the same error as this question: ) All the questions I've read while looking for a solution are related to dual boot. I'm not interested in dual boot, I'm after a clean out the box Ubuntu install. How can I achieve this? (For my sanity, please use very simple instructions when responding. I don't claim to have any talent either for linux or as a sysadmin) Additional details copied from comments dated: 2012-05-29 ~15:19Z After booting from the CD, clicking Try Ubuntu, and then sudo fdisk /dev/sda I get fdisk: unable to seek on /dev/sda: Invalid argument sudo fdisk /dev/sdb gives Device contains neither a valid DOS partiion table, nor Sun, SGI or OSF disklabel. Building a new DOS disklabel with disk identifier 0x15228d1d. Changes will remain in memory only until you decide to write them. After that of course, the previous content won't be recoverable. Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite). Command (m for help): I should add the Live CD desktop is graphically bad. I've got missing parts of programs and the terminal occasionally reflects to the bottom of the screen. But I can't imagine this is related.",
"My two main questions: Are all URLs that include your User Id tracked? Can the visitors who use the tracked URLs have Stack Exchange accounts? Specifically: Recently the ability to earn badges for sharing links to posts on Stack Exchange sites . I'd like to know when and how this tracking works. It's clear that if you go to a question, and make use of the link button, you will get a URL with your User ID that will be tracked if a visitor uses it to get to SO. For example, let's use as an example. It's regular URL is: https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible If you go to that page and use "save link as" in the link section of the question you will be given a tracked url with your User ID: https://stackoverflow.com/q/309300/[USER ID] My question is, are there other URLs that would be tracked? All of the following URLs take you to the Question / Answer, but are they tracked? For example what if I just tack my User ID onto the long url? https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible/[USER ID] What if I add my User ID to an answer URL? https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible/309622#309622/[USER ID] or even https://stackoverflow.com/q/309622/[USER ID] Is there a way to know that a URL is being tracked? Is there some sort of format to follow? Are the only tracked URLs the ones provided in the Question links? Finally, does this sentence from the blog post mean that visitors cannot have an account? Also, the tracked IPs must originate from outside our existing network.",
"How can I efficiently drive an LED? I understand that I can not connect an LED directly to a battery because it will draw too much current. Thus, there must be something else in the circuit to limit the current. What options are there? Are some methods more efficient than others?",
"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!"
] | medi_sts_stackexchange_dupe |
Ubuntu download ISO for my computer? | Is the 64-Bit version of Ubuntu only compatible with AMD CPUs? | [
"Hilbert, Gödel, and \"God equations\" - a 19th century lesson for 21st century physicists? It seems there are a lot of respected physicists appearing on pop-sci programs (discovery channel, science channel, etc.) these days spreading the gospel of Three examples, quickly: 1) Many programs feature Michio Kaku saying that he is on a quest to find an equation, \"perhaps just one inch long,\" which will \"describe the whole universe.\" 2) Max Tegmark has come out with in which he expresses the gut feeling that \"nothing is off-limits\" to science. The subtitle of this book is My Quest for the Ultimate Nature of Reality. 3) In the series there is talk about a search for the \"God equation.\" (A good counter-example would be Feynman, but his self-described \"non-axiomatic\" or \"Babylonian\" approach does not seem popular with physicists today.) Is there any sense among physicists that it might be impossible to articulate the \"ultimate nature of reality\" in equations and formal logic? It seems to me that physicists are following in the footsteps of the 19th century mathematicians (led by Hilbert) who were on a similar quest which was put to rest by Gödel's incompleteness theorems in 1931. Is there any appreciation for how the Incompleteness Theorems might apply to physics? Has any progress been made on for the 20th century? Shouldn't this be addressed before getting all worked up about a \"God equation?\"",
"I think the term \"back and forth\" gets thrown around a lot without much thought. From Dictionary.com: [fawrth, fohrth] adverb 1. onward or outward in place or space; forward: to come forth; go forth. Wouldn't the term be more meaningful if \"forth\" was used first since you have to have a starting place before you can go \"back\"? Examples: I've been going back and forth from Houston to New York. I've been going forth and back from Houston to New York. Which is more correct?",
"Git command to show which specific files are ignored by .gitignore I am getting my feet wet with Git and have the following issue: My project source tree: / | +--src/ +----refs/ +----... | +--vendor/ +----... I have code (currently MEF) in my vendor branch that I will compile there and then move the references into /src/refs which is where the project picks them up from. My issue is that I have my .gitignore set to ignore *.dll and *.pdb. I can do a git add -f bar.dll to force the addition of the ignored file which is ok, the problem is I can not figure out to list what files exist that are ignored. I want to list the ignored files to make sure that I don't forget to add them. I have read the man page on git ls-files and can not make it work. It seems to me that git ls-files --exclude-standard -i should do what I want. What am I missing?",
"The keyboard on my laptop seems to be typing by itself: It sometimes types characters like 134, whether by itself or when I hit certain keys. Repeating characters may appear unexpectedly. The system volume may change by itself, or windows like the Print dialog or Web browser may appear. This can happen without any input or as I type, and may occur more often when certain keys are pressed. Sometimes, the keyboard fails to respond altogether. This is happening regardless of the software involved. Is there a ghost in my keyboard—is my keyboard broken? A sample of text from the keyboard might look like this (normal QWERTY...ASDF...ZXC... sequence is expected): QWERTYUIOPASDF)(G@*HKLZXCVBN QWERTYIOPASDFGL!#ZXCVB13 QWERTYUIOPASDFGHJKLZXCVB!#N qwertyu41iopasdf19g13h28j113k4113zxcvb4n qwerty4u1iopasdf0g7h1jklzxcvb13m qwert13uuuuuuuuuuuuuuuiopasdf87091134ghhhhhhhhhhhhhhhhhhhhhhh13jk13zxcvb14 This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.",
"Why do we use GLM?",
"What can a soldier requisition and for how long? In the military rank feature it says the soldier can \"requisition simple equipment or a horse for temporary use\". What qualifies as simple equipment, any simple weapon or something less complex than a catapult? Additionally, which part of the sentence is the \"for temporary use referring to, the simple equipment and the horse or just the simple equipment?",
"I'm looking for a class in java that has key-value association, but without using hashes. Here is what I'm currently doing: Add values to a Hashtable. Get an iterator for the Hashtable.entrySet(). Iterate through all values and: Get a Map.Entry for the iterator. Create an object of type Module (a custom class) based on the value. Add the class to a JPanel. Show the panel. The problem with this is that I do not have control over the order that I get the values back, so I cannot display the values in the a given order (without hard-coding the order). I would use an ArrayList or Vector for this, but later in the code I need to grab the Module object for a given Key, which I can't do with an ArrayList or Vector. Does anyone know of a free/open-source Java class that will do this, or a way to get values out of a Hashtable based on when they were added? Thanks!",
"on the premise that it \"wasn't getting any attention\" and now it has gotten a bunch of helpful answers which all help me in some ways making it impossible for me to decide which one to award the bounty to. Shouldn't there be an option to award the bounty equally among selected answerers, especially in this case where was getting no answers whatsoever before the bounty, or am I overthinking it and should award it to the first answer?",
"Do I need a transit visa for a layover in the United Arab Emirates? Do I need a transit visa for a layover via airports in the UAE, such as Dubai International Airport or Abu Dhabi International Airport? If so, what are the requirements for such a visa? Can I get the transit visa on arrival?",
"I had a problem with disappearing marker as the data sum up to more than 100 while xmax was set to 100. See . As written in the answer to the cited question I tried to avoid the problem by normalizing the value to 100. But this lead to (much smaller) rounding errors in previously correct rows and now the marker disappear there. See the following example. Before the normalisation the column F ist affected, after the column B. How can I in a reliable way avoid this rounding problem? Or at least get a clear error message. I have quite a number of this plots and I don't want to have to check them all the time for missing markers. \\documentclass{scrreprt} \\usepackage{pgfplots} \\pgfplotsset{compat=1.13} \\usepackage{pgfplotstable} \\pgfplotsset{ my stackbar plot/.style={ xbar stacked, xmin=0,xmax=100, symbolic y coords={A,B,C,D,E,F,G}, ytick=data, nodes near coords={xxx},}} \\begin{document} \\pgfplotstableread[col sep=space]{ text -- - + ++ A 0.0 1.7 13.8 84.5 B 0.0 0.6 20.1 79.3 C 0.0 1.9 13.2 84.9 D 0.0 1.6 27.9 70.5 E 1.3 3.9 19.5 75.3 F 0.0 1.4 15.0 83.7 G 0.3 1.7 24.8 73.2 }\\data \\pgfplotstablecreatecol[create col/expr={\\thisrow{--}+\\thisrow{-}+\\thisrow{+}+\\thisrow{++}}]{sum}\\data % \\pgfplotstablecreatecol[create col/copy=--]{--o}\\data \\pgfplotstablecreatecol[create col/copy=-]{-o}\\data \\pgfplotstablecreatecol[create col/copy=+]{+o}\\data \\pgfplotstablecreatecol[create col/copy=++]{++o}\\data \\pgfplotstablecreatecol[create col/expr={100/\\thisrow{sum}*\\thisrow{--o}}]{--}\\data \\pgfplotstablecreatecol[create col/expr={100/\\thisrow{sum}*\\thisrow{-o}}]{-}\\data \\pgfplotstablecreatecol[create col/expr={100/\\thisrow{sum}*\\thisrow{+o}}]{+}\\data \\pgfplotstablecreatecol[create col/expr={100/\\thisrow{sum}*\\thisrow{++o}}]{++}\\data \\pgfplotstablecreatecol[create col/expr={\\thisrow{--}+\\thisrow{-}+\\thisrow{+}+\\thisrow{++}}]{sumnew}\\data \\pgfplotstabletypeset[columns={text,sum} ,precision=10,columns/text/.style={string type}]\\data \\quad \\pgfplotstabletypeset[columns={text,sumnew},precision=10,columns/text/.style={string type}]\\data %\\pgfplotstablesave{\\data}{pgfplotstempout.dat} \\begin{tikzpicture} \\begin{axis}[my stackbar plot] \\addplot table [x expr = \\thisrow{--o},y=text] {\\data}; \\addplot table [x expr = \\thisrow{-o}, y=text] {\\data}; \\addplot table [x expr = \\thisrow{+o}, y=text] {\\data}; \\addplot table [x expr = \\thisrow{++o}, y=text] {\\data}; \\end{axis} \\end{tikzpicture} \\quad \\begin{tikzpicture} \\begin{axis}[my stackbar plot] \\addplot table [x expr = \\thisrow{--},y=text] {\\data}; \\addplot table [x expr = \\thisrow{-}, y=text] {\\data}; \\addplot table [x expr = \\thisrow{+}, y=text] {\\data}; \\addplot table [x expr = \\thisrow{++}, y=text] {\\data}; \\end{axis} \\end{tikzpicture} \\end{document}",
"The number of labelled graphs with all vertices of even degree I have a graph exam tomorrow, and there is a problem that said number of graph with labeled vertices and all of them of even degree is $ 2^{n-1 \\choose 2} $. According to that topic, it means the number of cut spaces is $ 2^{n-1} $. Well, I don't understand what is cut space yet, and why its count is $ 2^{n-1} $ And don't know why we should divide the total number of graphs by this!",
"The table cards were A,K,K,8,3. All four suits were on the board. Player one had A,8. Player two had A,3. Is this a split pot?",
"When should I use \"a\" vs \"an\"? In the following example, is it appropriate to use a or an as the indefinite article, and why? He ate __ green apple. I know that in the case of just \"apple\", it would be \"an apple,\" but I've heard conflicting answers for \"green apple,\" where the noun is separated from the article by an adjective. Also, which is more appropriate in this case: He ate __ enormous Pop-Tart.",
"Can I make any injective function bijective by patching the codomain?",
"Is there a robust command line tool for processing csv files? I work with CSV files and sometimes need to quickly check the contents of a row or column from the command line. In many cases cut, head, tail, and friends will do the job; however, cut cannot easily deal with situations such as \"this, is the first entry\", this is the second, 34.5 Here, the first comma is part of the first field, but cut -d, -f1 disagrees. Before I write a solution myself, I was wondering if anyone knew of a good tool that already exists for this job. It would have to, at the very least, be able to handle the example above and return a column from a CSV formatted file. Other desirable features include the ability to select columns based on the column names given in the first row, support for other quoting styles and support for tab-separated files. If you don't know of such a tool but have suggestions regarding implementing such a program in Bash, Perl, or Python, or other common scripting languages, I wouldn't mind such suggestions.",
"Where can I get a Thunderbolt hub or splitter? Apple has just announced the new MacBook Airs, Mac mini, and Thunderbolt display. One of the features of the Thunderbolt display that caught my eye was its ability to daisy-chain two displays together from one Thunderbolt port (on a MacBook Pro). I already have two 24\" monitors and I don't feel like paying for two £900 displays. I worked out that all I need is a Thunderbolt hub/splitter so that I can plug the two cables that emerge into mini DisplayPort-to-DVI adapters. Does anyone know of any Thunderbolt hubs or splitters? Or does anyone know of an alternative method?",
"How do I bypass \"this connection is not private\" warnings in safari?",
"A finite summation of double binomial coefficients I find the following identity and have checked on Mathematica, while I have no idea how to prove it: $$\\sum_{j=0}^n(-1)^{n-j}\\binom{p+j}{j}\\binom{n+\\beta}{n-j}=\\binom{p-\\beta}{n}, \\quad \\beta>-1, \\quad p>\\beta-1.$$ It seems that proof by induction does not work and because of the gamma function, the transform technique does not work either.",
"How to execute file I'm editing in Vi(m)",
"For example: Ever wish you could share information broadly Could it be rewritten to: Ever wish you could broadly share information Are there any rules for the position of the adverbs."
] | medi_sts_stackexchange_dupe |
What's the cheapest SIM card with Internet for smartphone in Czech Republic? | How can I find the cheapest prepaid SIM card for a given country? | [
"How does damage dealt increase as you level up I've recently taken over as GM in my group. We are all new to RPGs except for our original GM, so they decided to run an adventure path so it would be easier to change GMs if they had to stop playing. Along this path, we had one CR 4 encounter that took us an hour, almost killed our bloodrager and knocked our brawler unconscious. When we leveled up, our GM told us to increase the damage we did by \"one level,\" so my 1d6 became 2d6 and my friend's 2d6 became 4d6. I saw no problem with this as a player, but I was looking over the adventure path and later encounters that also have a CR of 4 could be ended in one turn by our bloodrager. This would make encounters really boring, and my goal is to avoid boredom. My question is: As you level up, how does the damage you do increase? Does it go up like my GM said so that at level 3 my rapier does 3d6 and the bloodrager's earth breaker does 6d6, or does it go up by some other method? I have read the PHB and I don't think that what the GM was saying is correct, but being a first-time player I wasn't sure if had just missed something, so I figured I should ask elsewhere.",
"I am wondering if there is a modifier or tool that will essentially undo a subsurf or subdivide command.",
"Autosegmental Representation in tikz-qtree This is what I want to achieve and this: But all I've been able to make with tikz-qtree is the following: \\documentclass[12pt,a4]{article} \\usepackage[utf8]{inputenc} \\usepackage{tipa,tikz,tikz-qtree} \\begin{document} \\begin{tikzpicture} [baseline] \\tikzset{frontier/.style={distance from root=90pt}} \\Tree [.$\\sigma$ [.O [ p ] ] [.R [.$\\mu$ a ] [.$\\mu$ : ] ] ] \\end{tikzpicture} \\begin{tikzpicture} [baseline] \\tikzset{frontier/.style={distance from root=90pt}} \\Tree [.$\\sigma$ [.O [ p ] ] [.R [.$\\mu$ a ] ] ] \\end{tikzpicture} And this: \\begin{tikzpicture}[baseline] \\tikzset{frontier/.style={distance from root=90pt}} \\Tree [.$\\sigma$ [.O [ l ] ] [.R [.$\\mu$ a ] [.$\\mu$ l ] ] ] \\end{tikzpicture} \\begin{tikzpicture} [baseline] \\tikzset{frontier/.style={distance from root=90pt}} \\Tree [.$\\sigma$ [.O [ : ] ] [.R [.$\\mu$ a ] [ l ] ] ] \\end{tikzpicture} \\end{document} Which renders: and The important part here is the linking from the leaves to more than one parent (it would be nice if I had the option of making the line dashed too). Now, pst-asr doesn't quite achieve what I want it to. It's important that I have the moras ('mu's). (Also it's a pstricks package, which means I must typeset it in DVIPSPDF.) I have tried a bit of the forest-package (especially forest-GP1), but I can't make that work as I want either. Lastly, some have recommended xyling, but I find that package very difficult to use. Any recommendations? Thanks.",
"$ d_1,d_2\\mid n\\iff {\\rm lcm}(d_1,d_2)\\mid n\\ $ [LCM Universal Property]",
"How to use inotifywait to watch a directory for creation of files of a specific extension I have seen . You should consider using inotifywait, as an example: inotifywait -m /path -e create -e moved_to | while read path action file; do echo \"The file '$file' appeared in directory '$path' via '$action'\" # do something with the file done My question is that, the above script watches a directory for creation of files of any type, but how do I modify the inotifywait command to report only when a file of certain type/extension is created (or moved into the directory) - e.g. it should report when any .xml file is created. WHAT I TRIED: I have run the inotifywait --help command, and have read the command line options. It has --exclude <pattern> and --excludei <pattern> commands to EXCLUDE files of certain types (by using regEx), but I need a way to INCLUDE just the files of a certain type/extension.",
"If I have $10$ apples, but you have $5$ apples, then I have $2$ times more apples than you. But what if I have $10$ apples, but you don't have any apples? If you look at the graph $f(x)=\\frac{10}{x}$, it shows that when $x$ approaches $0$, $f(x)$ approaches infinity. So it means I have infinity times more apples than you?",
"Noncoalescing and bouncing droplets if you set a dish filled with water onto a loudspeaker or other vibrator and make vibration, When it oscillates, it is possible to hold small droplets on its surface for a long time. I mean, when you put a droplet of water on vibrating water surface, it doesn't coalesce with the water and bounce on the surface of water.( see this video ) As we know, drop reaches its minimal potential when coalescing with water ( that's why drops coalesce) what exactly cause this? why doesn't the drop coalesce with the water?",
"What is the limit of series $\\frac{1}{2 \\cdot 3 \\cdot 4} + \\frac{1}{4 \\cdot 5 \\cdot 6} + \\frac{1}{6 \\cdot 7 \\cdot 8} + \\cdots $? The $n$th summand is $\\frac{1}{(2n)(2n + 1)(2n+2)} = \\frac{1}{4} \\frac{1}{n(2n+1)(n+1)}$. I have tried expressing this as a telescoping sum, or as the limit of Riemann sums of a partition (the usual methods I normally try when doing this type of question- what are some other strategies?)",
"I can't think of a decent reason to allow editing audit messages (like or ). I have abused it for fun before but it really has no purpose other than joking or obfuscating your actions. For that I think that such messages should be untouchable. Please make them so.",
"How to run Visual Studio post-build events for debug build only How can I limit my post-build events to running only for one type of build? I'm using the events to copy DLL files to a local IIS virtual directory, but I don't want this happening on the build server in release mode.",
"Difference between Hashing a Password and Encrypting it",
"Check whether an array is a subset of another Any idea on how to check whether that list is a subset of another? Specifically, I have List<double> t1 = new List<double> { 1, 3, 5 }; List<double> t2 = new List<double> { 1, 5 }; How to check that t2 is a subset of t1, using LINQ?",
"What should one look for when buying a used film camera? I'm planning to buy a used Nikon F5. I have no experience with a film camera and I want to know what all should one be careful of before buying a used film camera and more specifically a Nikon F5.",
"Subsetting a 2D numpy array",
"`apt update` failed on Debian Linux Attempting to upgrade testing/stretch Debian Linux: $ sudo apt update Ign:1 http://dl.google.com/linux/talkplugin/deb stable InRelease Hit:2 http://dl.google.com/linux/talkplugin/deb stable Release ... Get:25 http://mirror.vorboss.net/debian unstable/main i386 Packages 2016-03-25-1456.28.pdiff [15.0 kB] Fetched 686 kB in 7s (89.5 kB/s) Reading package lists... Done W: gpgv:/var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release.gpg: The repository is insufficiently signed by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 (weak digest) W: gpgv:/var/lib/apt/lists/deb.opera.com_opera_dists_stable_InRelease: The repository is insufficiently signed by key 419D0ACF314E8E993F7F92E563F7D4AFF6D61D45 (weak digest) W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release No Hash entry in Release file /var/lib/apt/lists/dl.google.com_linux_talkplugin_deb_dists_stable_Release, which is considered strong enough for security purposes E: Some index files failed to download. They have been ignored, or old ones used instead. What's wrong? How to fix it?",
"Why is \"union\" an exception to the \"a/an\" rule?",
"How can I attach a file to a question? I want to attach a code file to my question, but I am not able to find a link to do it. Is attaching files possible at all?",
"If $f \\in \\mathcal{L}^1(\\mathbb{R})$ then $\\lim_{h\\rightarrow 0}\\int_{-\\infty}^\\infty |f(x+h)-f(x)|dx\\rightarrow 0$ I am working on some past prelim problems and one of them is the following: If $f \\in \\mathcal{L}^1(\\mathbb{R})$ then $\\lim_{h\\rightarrow 0}\\int_{-\\infty}^\\infty |f(x+h)-f(x)|dx\\rightarrow 0$ Update: Following Jackie Chong's advice, I am attempting this problem with the dominated convergence theorem. Since $f\\in L^1(\\mathbb{R})$, $f$ can be approximated from below by a sequence of continuous functions $f_n$. Then, I believe I can say that, for all $n$ sufficiently large, $|f_n(x+\\frac{1}{n})-f_n(x)|\\le 2|f(x)|$. (I'm not sure of this part thought). Then $2|f(x)|$ is integrable and hence a dominating function for $|f_n(x+\\frac{1}{n})-f_n(x)|$. So by the dominated convergence theorem we can take the limit inside $\\lim_{n\\rightarrow \\infty}\\int|f_n(x+\\frac{1}{n})-f(x)|dx=\\int \\lim_{n\\rightarrow \\infty}|f_n(x+\\frac{1}{n})-f(x)|dx=0$ Is this on the right track? Another approach that I thought may work, but which I'm less certain of is the following: If $f$ can be approximated by $C^1$ functions (I have no real justification for this, so please correct me if its wrong), then for each $n$ and each $x$ there is some $y(x,n)\\in B_{1/n}(x)$ such that $|f(x+\\frac{1}{n}-f(x)|=\\frac{1}{n}|f'(y(x,n)|$ but from here I don't see how to proceed, because just because $|f|$ is integrable, I can't justify $|f'|$ being integrable, but if there is some way to fix this approach, hints would be appreciated. Another thing I was thinking was to first approximate $f$ from below by continuous functions $f_n$ then to define $g_{m,n}=|f_n(x+\\frac{1}{m})-f_n(x)| \\chi_{[-m,m]}$. Then, for each $n$, the function $g_{m,n}$ is continuous on its support, and since it support is compact, it is uniformly continuous there. Can this be used to justify bringing the limit $\\lim_{n\\rightarrow \\infty}$ inside the integral? Then apply the monotone convergence theorem? I know this idea is probably even more sketchy than my previous one, but if it can be fixed please let me know :) Thanks!",
"Are there any tools for merging CSS? I have a couple CSS files with overlapping CSS selectors that I'd like to programmatically merge (as in not just appending one file to the end of the other). Is there any tool to do this online? or a Firefox extension perhaps?",
"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."
] | medi_sts_stackexchange_dupe |
How to concatenate multiple rows into one field in sql server | How to concatenate text from multiple rows into a single text string in SQL server? | [
"Problem with sudo apt update in Ubuntu 18.04: Post-Invoke-Success if /usr/bin/test -w /var/lib/command-not-found/ The terminal gave me these errors when updating the software with sudo apt update. Hit:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:5 http://archive.canonical.com/ubuntu bionic InRelease Traceback (most recent call last): File \"/usr/lib/cnf-update-db\", line 8, in <module> from CommandNotFound.db.creator import DbCreator ModuleNotFoundError: No module named 'CommandNotFound' Reading packages list... Done E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' E: Sub-process returned an error code These are the results of sudo apt install --reinstall command-not-found Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/5.188 B of archives After this operation, 0 B of additional disk space will be used. (Reading the database ... 225797 files and directories currently installed.) Preparations for extracting ... / command-not-found_18.04.4_all.deb ... Extracting command-not-found (18.04.4) on (18.04.4) ... Configuring command-not-found (18.04.4) ... libdvd-pkg: Package libdvdcss2-1.4.2-1 was removed, stop processing... When I tried the command sudo apt update again after reinstalling command-not-found, the results were the same as described in the first text block.",
"What's the difference between semicolon and double ampersand && What is the difference between echo \"Hello \" ; echo \"world\" and echo \"Hello \" && echo \"world\" Both seems to run the two commands after each other.",
"grep a file, but show several surrounding lines?",
"How can I check the existence of an element in jQuery? The current code that I have is this: if ($(selector).length > 0) { // Do something } Is there a more elegant way to approach this? Perhaps a plugin or a function?",
"Let $A∈\\mathscr{M}_{3×2}(\\mathbb{R})$ and $B∈\\mathscr{M}_{2\\times3}(\\mathbb{R})$ be matrices satisfying $AB =\\begin{bmatrix} 8 &2 &−2\\\\ 2 &5 &4\\\\ −2 &4& 5 \\end{bmatrix}$. Calculate $BA$. (Golan, The Linear Algebra a Beginning Graduate Student Ought to Know, Exercise 426.) Maybe it can be solved by solving a system of equations, but I think there is a shorter way since this problem was in my exam. Thanks.",
"What is the difference between linear regression and logistic regression? What is the difference between linear regression and logistic regression? When would you use each?",
"Anime about a boy and a girl who ride ostrich-like creatures through a valley I can not remember much but I have had this film in my head for years I searched everything I can remember on every website I can think of. I don't remember the exact story but I'll list everything about it can Apocalyptic future possibly Two main characters: a boy and a girl riding ostrich-like creatures through a valley An old blind lady that senses things Crashed spaceship looking like a submarine Giant creatures looks like yaks with blue eyes, whose eyes turn red when something is about to happen The old lady says \"Some say they went to the stars\" while looking at the spaceship The two main characters do something and their eyes turn blue in the distance and the village cheers This film is at least ten years old and I would appreciate it so much if you knew anything about it, or could help me find the title.",
"What's the opposite word for \"sin\"? I would like to know if there is an opposite word for sin in English. I mean, how could I say the opposite of I committed a sin other than using a negation?",
"Background info: I am planning on making a filehost with which one can encrypt and upload files. To protect the data against any form of hacking, I'd like not to know the encryption key ($K$) used for a file, so the user will have to asymmetrically encrypt $K$ and send it as well. The reason for this double encryption is that you can still share (individual!) files with other accounts by encrypting $K$ with the public keys of those users, too. My problem is: How can a user can get a public and private key without the server saving/knowing the private key and without the user having to remember a passphrase of 250 hex characters? Question: Is there a way to derive a key pair from a password, like PBKDF-2 does for symmetric encryption? Suggestions on rearranging the cryptographic steps in an easier way are welcome, too. Alternatively: It is also possible to encrypt the private key with a PBKDF-applied password and store it on the server, but I'd like to keep things 'simple'. ;) Note: At this point I don't care if it requires RSA, ECC or an obscure cryptography scheme.",
"How to prove $n^5 - n$ is divisible by $30$ without reduction",
"Out of Bag Error makes CV unnecessary in Random Forests?",
"Why is the multiplicative group of a finite field cyclic?",
"\"Do you want to continue[Y/n]?\" Why the upper case? I am new to Ubuntu and some little thing start to bug me. Such as when trying to install a program, Ubuntu asks, Do you want to continue[Y/n]? What is bugging me is why the letter \"Y\" is upper case and \"n\" is lower case. Do they have any significant reason why one is upper and the latter is lower? Whatever case I enter it doesn't change the outcome: it either continues or not. Are they trying to notify us that we can enter both and it won't change anything?",
"A switch that is only ON if the reference voltage is matched -+ 0.1 volts Im a beginnerish will electronic and im looking for a switch that is only ON if the reference voltage is matched -+ 0.25 volts. So if i have a reference of 2.7v to match and i feed the switch a 2.75v the switch would be ON. But if i feed it 2.5v or 2.85v the switch would is OFF. This might be a simple google search, but i am lacking the correct terminology.",
"Many browsers and Internet companies have recently claimed that SSL Certificates with a signature algorithm of SHA1 will imminently no longer be considered secure. Most notably, . Yet I've read that since the SSL/TLS negotiation and Cipher Suite don't make use of plain SHA1 (or even MD5), and instead use SHA1 within an ; that using a Cipher Suite with SHA1 is still an acceptable security practice. Is this the case? While we're on it, is it also the case of using MD5 in a cipher suite?",
"When running apt-get -y install <packages ...> on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y as I understand it) and but not prompt me about overwriting configuration files, instead assume to keep the existing ones always (which is usually the default). Unfortunately --trivial-only seems to be the inverse of -y and not affect the prompt that is shown, according to the man page. In particular packages auch as samba, nullmailer, localepurge and lighttpd have forced me to interact with the terminal, even though the whole procedure was scripted and meant to be non-interactive.",
"In Windows, one can create a new file using Right Click -> Add New -> Type of File. Is there an analogous action in Lion? I just want to create a new blank file on my Desktop.",
"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}$?",
"Function $f(z)$ such that $|f(z)| > |z|$ for every $z\\in\\mathbb{C}, 1/f(z)$",
"string.format format string containing {"
] | medi_sts_stackexchange_dupe |
At which point are the constructors of base classes called in a constructor | Order of calling base class constructor from derived class initialization list | [
"How to combine paths in Java? Is there a Java equivalent for in C#/.NET? Or any code to accomplish this? This static method combines one or more strings into a path.",
"Name of mean absolute error analogue to Brier score? Yesterday's question got me curious about probability scoring. The $$\\frac{1}{N}\\sum\\limits _{i=1}^{N}(\\text{prediction}_i - \\text{reference}_i)^2$$ is a mean squared error measure. Does the analogous mean absolute error performance measure $$\\frac{1}{N}\\sum\\limits _{i=1}^{N}|\\text{prediction}_i - \\text{reference}_i|$$ have a name, too?",
"Javascript mechanism to autoscroll to the bottom of a growing page?",
"The recent question made me realize that I don't have any understanding of why one would upload to a preprint site. (I don't work in a field where they seem to be common.) Why would one be concerned about getting a manuscript on arXiv, if it's already under review with a journal? Is it because of the long publishing timeline of journals? (That could explain why computer science — which publishes much more in conferences — doesn't seem to do much with them.)",
"I have been trying to solve this problem for quite a while. I am still unsure of whether any of the avenues I have pursued have been of any use. Any advice will be much appreciated. Question: Let $V$ be a finite-dimensional inner product space, and let $E$ be an idempotent linear operator on $V$. Prove that if $EE^* = E^*E$, then $E$ is self-adjoint. (This is essentially exercise 5(a) in sec. 80 on p.162 of Paul R. Halmos, Finite-Dimensional Vector Spaces, but Halmos didn't assume that the dimension of $V$ is finite.)",
"What is the difference between old style and new style classes in Python? When should I use one or the other?",
"Post hoc test after ANOVA with repeated measures using R",
"In the neural network literature, often we encounter the word \"tensor\". Is it different from a vector? And from a matrix? Have you got any specific example that clarifies its definition? I'm a bit confused about its definition. Wikipedia doesn't help and sometimes I have the impression that its definition depends on the specific machine learning environment used (TensorFlow, Caffee, Theano).",
"I have created multiple objects, while testing I applied a drop shadow style on one object and its looking very good. Now I want to apply the same style to all other objects (around 20). Is there any way like global color to create a style once and apply to other objects with single click automatically? Or I have to apply that drop shadow effect on each object one by one manually?",
"Creating fishnet grid Shapefile in QGIS? How do I create a fishnet shapefile using QGIS? The equivalent task of \"Create Fishnet\" in ArcGIS.",
"How can I connect two different DC power sources together? How can I connecting two different DC power sources together? for example 15Vdc(5Amp) with 5Vdc(2Amp). I want to make one DC source (20Vdc,7Amp) by more powerful supplies.",
"Why $\\sqrt{-1 \\times -1} \\neq \\sqrt{-1}^2$? We know $$i^2=-1 $$then why does this happen? $$ i^2 = \\sqrt{-1}\\times\\sqrt{-1} $$ $$ =\\sqrt{-1\\times-1} $$ $$ =\\sqrt{1} $$ $$ = 1 $$ EDIT: I see this has been dealt with before but at least with I'm not making the fundamental mistake of assuming an incorrect definition of $i^2$.",
"Must $k$-subalgebra of $k[x]$ be finitely generated?",
"The probability that an initial quantum state $|\\psi_i\\rangle$ becomes the final quantum state $|\\psi_f\\rangle$ is given by \\begin{eqnarray} P(i \\rightarrow f) &=& |\\langle\\psi_f|\\psi_i\\rangle|^2 \\tag{1}\\\\ &=& \\langle\\psi_f|\\psi_i\\rangle^*\\langle\\psi_f|\\psi_i\\rangle \\\\ &=& \\langle\\psi_i|\\psi_f\\rangle\\langle\\psi_f|\\psi_i\\rangle. \\end{eqnarray} Equation (1) seems to show that the probability for the transition ($i\\rightarrow f$) can be interpreted as the system both moving forward in time ($i\\rightarrow f$) with amplitude $\\langle\\psi_f|\\psi_i\\rangle$ and backward in time ($f\\rightarrow i$) with amplitude $\\langle\\psi_i|\\psi_f\\rangle$ simultaneously. Does this reasoning help to explain the Born rule? (Is it like the Transactional Interpretation of QM?) I guess we must experience the macroscopic direction of time ($i\\rightarrow f$) in accord with increasing entropy in an expanding universe whereas microscopically QM works both forwards and backwards in time. Addition This is an improved version of the argument including time-evolution operators. The probability that an initial quantum state $|\\psi_i\\rangle$ evolves to become the final quantum state $|\\psi_f\\rangle$ is given by \\begin{eqnarray} P_{i \\rightarrow f} &=& |\\langle\\psi_f|U_{i \\rightarrow f}|\\psi_i\\rangle|^2 \\tag{2}\\\\ &=& \\langle\\psi_f|U_{i \\rightarrow f}|\\psi_i\\rangle^*\\langle\\psi_f|U_{i \\rightarrow f}|\\psi_i\\rangle \\\\ &=& \\langle\\psi_i|U^\\dagger_{i \\rightarrow f}|\\psi_f\\rangle\\langle\\psi_f|U_{i \\rightarrow f}|\\psi_i\\rangle \\\\ &=& \\langle\\psi_i|U_{f \\rightarrow i}|\\psi_f\\rangle\\langle\\psi_f|U_{i \\rightarrow f}|\\psi_i\\rangle \\end{eqnarray} where $U_{i \\rightarrow f}$ is the forward-time evolution operator and $U_{f \\rightarrow i}=U^\\dagger_{i \\rightarrow f}$ is the corresponding backward-time evolution operator. Equation (2) seems to show that the probability $P_{i\\rightarrow j}$ can be interpreted as the system first evolving forwards in time and then evolving backwards in time. Perhaps this is an example of Murray Gell-Mann's that \"Everything not forbidden is compulsory\"? At the quantum level, below observable probabilities, there is nothing to stop time flowing both forwards and backwards.",
"Cant install via Ubuntu Software- \"apt transaction returned result exit-failed\" 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 && 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 && 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:~$",
"When looking at most sites (including SO), most of them use: <input type=\"button\" /> instead of: <button></button> What are the main differences between the two, if any? Are there valid reasons to use one instead of the other? Are there valid reasons to use combine them? Does using <button> come with compatibility issues, seeing it is not very widely used?",
"Prove that the $\\lim_{(x,y) \\to (0,0)}h(x,y)$ Does not Exist using Polar Coordinates Let $h(x,y)=\\frac{x^5y}{2x^{10}+y^2}$. How would I prove that the $\\lim_{(x,y) \\to (0,0)}h(x,y)$ Does Not Exist? I think that we might use polar coordinates, but I am not sure.",
"Let $(X,d)$ be a metric space and for $x,y \\in X$ define $$d_b(x,y) = \\dfrac{d(x,y)}{1 + d(x,y)}$$ a) show that $d_b$ is a metric on $X$ Hint: consider the derivative of $f(t)$ = $\\dfrac{t}{1+t}$ b) show that $ d$ and $ d_b $ are equivalent metrics. c) let $(X,d) $ be $(\\mathbb{R}, |\\cdot|)$ Show that there exists no $ M>0$ such that $ |x-y| $ $\\leq$ $Md_b$ $(x,y)$ for all $ x,y$ $\\in$ $\\mathbb{R}$ I have calculated $f(t)$ and $f'(t)$ and from this I know $f(t)$ is an increasing function as $f'(t)$ is strictly positive. But I don't know where to go from here or how to do parts b) and c)",
"How to connect RDS from a different account with allowed IP in AWS?",
"This problem has been seen on mid-2012 MacBook Pros on Mavericks and on late-2014 Retina MacBook Pros on Yosemite. One day while using iMessage on the Mac, all the contacts turned red and messages failed to send, immediately returning a \"not delivered\" error. It also reported when trying to resend the messages that the contacts were no longer associated with an iMessage account. Things that didn't fix this behavior: Deleting the com.apple.ids.madrid Removing the Apple ID information from my phone, turning off iMessage on both of the devices, and placing my iPhone in airplane mode for several minutes before turning it on logging in again. Could someone help me figure out how to solve this?"
] | medi_sts_stackexchange_dupe |
Is it possible to save session in Ubuntu? | How to enable hibernation? | [
"proof by induction: sum of binomial coefficients $\\sum_{k=0}^n (^n_k) = 2^n$",
"Proper use of the IDisposable interface I know from reading that the \"primary\" use of the IDisposable interface is to clean up unmanaged resources. To me, \"unmanaged\" means things like database connections, sockets, window handles, etc. But, I've seen code where the Dispose() method is implemented to free managed resources, which seems redundant to me, since the garbage collector should take care of that for you. For example: public class MyCollection : IDisposable { private List<String> _theList = new List<String>(); private Dictionary<String, Point> _theDict = new Dictionary<String, Point>(); // Die, clear it up! (free unmanaged resources) public void Dispose() { _theList.clear(); _theDict.clear(); _theList = null; _theDict = null; } My question is, does this make the garbage collector free memory used by MyCollection any faster than it normally would? edit: So far people have posted some good examples of using IDisposable to clean up unmanaged resources such as database connections and bitmaps. But suppose that _theList in the above code contained a million strings, and you wanted to free that memory now, rather than waiting for the garbage collector. Would the above code accomplish that?",
"PHP Session Security What are some guidelines for maintaining responsible session security with PHP? There's information all over the web and it's about time it all landed in one place!",
"What program can be used to package software into one executable?",
"What is $\\int_0^1 \\frac{\\log \\left(1-x^2\\right) \\sin ^{-1}(x)^2}{x^2} \\, dx$?",
"What is the current state of apple device (iPhone, iPod, etc.) support? What ubuntu applications provide support? (guides, how to's, status) Also, specifically, details on support for syncing music to iPhone's and iPod's with the latest OS version: Can you sync music to apple devices using >iOS4? (iPhone & iPod) What applications allow you to do this and how? (guides, how to's, status) What has already been established is: Apple does not support Linux and has no plans to. provides some support, however it currently does not support music/video synchronization with devices >iOS4. Go to and scroll to the section titled \"\" to see if your device version is supported.",
"Interscholastic Mathematics League Senior B Division #2",
"Proving that a normal, abelian subgroup of G is in the center of G if |G/N| and |Aut(N)| are relatively prime.",
"Given, $\\{x_n\\}$ and $\\{y_n\\}$ are two real valued sequences such that $\\lim_{n\\to\\infty} (x_{n}^{3}-y_{n}^{3})=0 $ Then is it always true that $\\lim_{n\\to\\infty} (x_n-y_n) =0 $ ? I tried by splitting $ (x_{n}^{3}-y_{n}^{3}) $, but that didn't help as $\\lim_{n\\to \\infty} (x_{n}^{2}+x_{n}y_{n}+y_{n}^{2}) $ can be $0$ or non zero or doesn't exist.",
"Old Budrys(?) end-of-world/alien invasion of NYC story This one, from the late 1950s or early 60s (I think), features the last girl in NYC, who drives her jeep up the stairs of the main library (with the lions). She feels bad about breaking the lock, but what's a girl to do, if she wants something to read? In summertime, she drives topless and, the author writes, her bosom dances enchantingly on the steps. She lives in the boathouse on the lake in Central Park. Mysterious insect-like aliens are eating the buildings in the City.... I didn't recognize a title in Budrys or Bester's isfdb bibliogs, so I may be wrong about the author. But not about the story details: it's a memorable one. Thanks in advance for helping ID this one!",
"What is the JavaScript version of sleep()?",
"How to make hair material different from the plane itself? In Cycles Render, I added hair to a plane (as I was making a grass field) and I don't seem to know how to make the actual flat plane's material different from the hairs themselves, because I'd like to make the plane have an image texture and the hairs have a yellow-like color to them, but of course, if I attempt to make the material yellow-ish, the plane AND the hairs will become yellow. I'm done with the plane, I just want to control the hairs' materials.",
"What does each SPECIAL stat in Fallout Shelter do?",
"I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries: SELECT * FROM story_category WHERE category_id NOT IN ( SELECT DISTINCT category.id FROM category INNER JOIN story_category ON category_id=category.id); I tried to delete them executing: DELETE FROM story_category WHERE category_id NOT IN ( SELECT DISTINCT category.id FROM category INNER JOIN story_category ON category_id=category.id); But I get the next error: #1093 - You can't specify target table 'story_category' for update in FROM clause How can I overcome this?",
"Is the set of all unitary matrices in $M_2(\\mathbb{C})$ is compact? I can show that as determinant map is continuous so unitary matrices are closed but how to show they are bounded? Please help.",
"Clarify or visualize the parameters involved for receiving the Curious badge",
"Matching a sentence with grep",
"When I entered the -al attribute with the command, I got the following: anupam@JAZZ:~/blog$ ls -al total 76 drwxrwxr-x 13 anupam anupam 4096 Aug 28 21:45 . drwxr-xr-x 34 anupam anupam 4096 Aug 28 20:52 .. drwxrwxr-x 8 anupam anupam 4096 Aug 28 12:19 app drwxr-xr-x 2 anupam anupam 4096 Aug 28 12:19 bin drwxrwxr-x 5 anupam anupam 4096 Aug 28 12:19 config -rw-rw-r-- 1 anupam anupam 154 Aug 28 12:19 config.ru drwxrwxr-x 3 anupam anupam 4096 Aug 28 12:37 db -rw-rw-r-- 1 anupam anupam 1339 Aug 28 12:19 Gemfile -rw-rw-r-- 1 anupam anupam 2871 Aug 28 12:19 Gemfile.lock drwxrwxr-x 7 anupam anupam 4096 Aug 28 21:45 .git -rw-rw-r-- 1 anupam anupam 466 Aug 28 12:19 .gitignore drwxrwxr-x 4 anupam anupam 4096 Aug 28 12:19 lib drwxrwxr-x 2 anupam anupam 4096 Aug 28 12:29 log drwxrwxr-x 2 anupam anupam 4096 Aug 28 12:19 public -rw-rw-r-- 1 anupam anupam 249 Aug 28 12:19 Rakefile -rw-rw-r-- 1 anupam anupam 478 Aug 28 12:19 README.rdoc drwxrwxr-x 8 anupam anupam 4096 Aug 28 12:19 test drwxrwxr-x 6 anupam anupam 4096 Aug 28 12:33 tmp drwxrwxr-x 3 anupam anupam 4096 Aug 28 12:19 vendor What does each column mean, and what does the total 76 signify here?",
"Why is the edit button disabled?",
"Find the area where dog can roam A dog is tied to circular pillar by a rope. Radius of this pillar is $1m$ and length of rope is $\\pi m$. What is an area where dog can roam? I tried to find the area of all semicircles and then to find its sum. It is easy to find an area at front side of the pillar. It is $\\displaystyle\\frac12\\pi^2\\pi=\\frac{\\pi^3}{2}$. Problem is how to find remaining area. I tried to write this area using compass and straightedge, but I couldn't. Then I wrote this in AutoCAD and it looks like this: Is it possible to find the exact value of this area?"
] | medi_sts_stackexchange_dupe |
is it possible to replace a ms-dos command with another one? | Replace Builtin commands with Custom Commands for CMD.exe | [
"Sum of (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on)",
"When can we use 'much' in affirmative clauses? I found the below in web-site: We use much in questions and negative clauses to talk about degrees of something. We don’t use much in affirmative clauses. Also, it the same web-site, I found the following: She runs much faster than he does. also I noticed that some web-sites use much with affirmative clauses: May we all be having this much fun and getting this much exercise when we're his age! Is it Okey to use much in affirmative clauses? If yes, when can we use it? and what is the rules? Update: Here is another example on how often the word \"much\" is used in informal style: After much consideration I will NOT be performing at the Inauguration with my improv group Capitol Hill-arious",
"I'm writing a simple bash script, but I need it to check whether it's being run as root or not. I know there's probably a very simple way to do that, but I have no idea how. Just to be clear: What's a simple way to write a script foo.sh, so that the command ./foo.sh outputs 0, and the command sudo ./foo.sh outputs 1?",
"Valid US visa on expired passport. Can I travel to the US?",
"In reading through the original GCM specification (), the composition of the 128 bit Initialization Vector as a concatenation of a 96b nonce and a 32b unsigned wrapping counter seems arbitrary and forces the scrambling pattern to repeat every 232 16-byte block. Is the algorithm expected to be secure for significantly longer stream lengths if for example the IV were a 128b nonce XORed with a 64b or 128b counter, or are there known cryptanalysis issues that begin to arise?",
"Is there a way to get the name of the currently executing method in Java?",
"How to create a bootable USB with multiple ISO images in it What I want is to create a bootable pen drive that shows GRUB menu and I can select any of the several bootable systems from there to install/run. I have several ISO images that I want to install in the USB like Ubuntu, Fedora, System Rescue CD, Windows XP and Windows 7 (The windows versions are optional, mostly am looking for a multi installer for Linux distros, specially Ubuntu version) The default Startup Disk Creator only works with Linux Images and only 1 at a time (At least for the mean time. If it allows more systems and multiple ISOs it would be awesome) What method exists that I can use step by step to create a bootable USB Drive with multiple images than can be booted from the USB and selected from GRUB. It must support Windows Images and Linux Images. Alternatively, is there also a way to have multiple versions of the Ubuntu installation ISO on same USB Drive, such as, when booting from it, I get to choose what Ubuntu version and architecture to install, for example: BOOT MENU Ubuntu 12.04 32 Bit Ubuntu 12.04 64 Bit Ubuntu 12.10 32 Bit Ubuntu 12.10 64 Bit UPDATE: Wanted to add that the English version for the post mentioned by daithib8 is here:",
"Is there a free or open source library to read Excel files (.xls) directly from a C# program? It does not need to be too fancy, just to select a worksheet and read the data as strings. So far, I've been using Export to Unicode text function of Excel, and parsing the resulting (tab-delimited) file, but I'd like to eliminate the manual step.",
"From the article on Wikipedia, the following with regard to the Coriolis Effect on a rotating sphere: By setting vn = 0, it can be seen immediately that (for positive φ and ω) a movement due east results in an acceleration due south. Similarly, setting ve = 0, it is seen that a movement due north results in an acceleration due east. In general, observed horizontally, looking along the direction of the movement causing the acceleration, the acceleration always is turned 90° to the right and of the same size regardless of the horizontal orientation. My intuitive (but possibly incorrect) understanding is that if there are two points, Point A and Point B, at different latitudes in the Northern hemisphere, the Eastward velocities of these points are different because they are at different distances from the Earth's axis of rotation, and this causes the Coriolis effect for a rotating sphere. If a projectile is fired due North from Point A near the Equator towards Point B near the North Pole, the projectile will start off with the higher Eastward velocity of Point A, and will land to the East of Point B, which is moving East at a slower velocity than the projectile. Firstly, is that correct? If that IS correct, that brings me to the quote off Wikipedia. The quote implies that, if a projectile is fired due East, it will experience a Coriolis force to the South. My intuitive explanation based on differences in velocities between origin and destination does not account for a Southwards movement at all, since the Point A and Point B velocities are identical if the points are on the same latitude. What am I missing? Would a projectile fired due East or due West experience any North or South drift caused by the Coriolis effect (or anything else for that matter)? Why?",
"What is wrong with this query? (Unknown error parsing query) When I run the following query in query editor I get this error. Error Unknown error parsing query Query SELECT Id, OwnerId,Account.OwnerId FROM Contact where OwnerId = Account.OwnerId limit 100 Does anybody know what the problem is?",
"Why aren't my guide and other dead NPCs respawning in Terraria? I am currently in hard mode and during a blood moon, several of my NPCs including my guide and my healer died. it's been several in game \"days\" now and they have yet to respawn. Is there a way to check why they aren't respawning? Is there a list of reasons for the NPCs to not respawn? Edit in reponse to lunbok's answer: 1. They don't have appropriate housing - There is an in-game housing query function (changes your cursor into a ?) that lets you click on your house to see if it is still a suitable house and I clicked in every room in my house and they are all listed as \"This housing is suitable\" or \"This housing is already occupied\". 2. Their spawn conditions aren't met anymore. - This doesn't explain why my guide isn't respawning since they don't need a condition to respawn (other than having a suitable housing which the point above already prove isn't the problem). 3. There's a goblin invasion going on. - Do the invasions last that long? It has been about two reals days and a lot more in-game \"days\" now. As far as I can tell there shouldn't be an invasion going on. 4. It could be because you built your house in a part of the world that is now corrupted",
"Class imbalance strategies When dealing with the class imbalance problem in a binary classifier, there are three ways I know of to address it: over-sampling, under-sampling and using cost-sensitive methods. Are there any guidelines, rules of thumb or general strategies to choose among these methods? A possible answer would be: over-sample when the positive class has more than 100 instances (I just made it up).",
"Can I put 700c tires on rims made for 27 x 1.25\"?",
"Peer to Peer: Methods of Finding Peers Are there any known methods of finding peers without using a dedicated central server? ie: If I have peers which are disconnecting and reconnecting to the internet but getting a new IP address each time, and I want to connect to them without setting up a dedicated server to register with. I was thinking about using peers email address to send a manifest of connected peers periodically, with some sort of timecode, negating the need for a dedicated server. This would be a fallback if none of the peers could be connected to after trying all the previously known peer addresses. But existing models of finding peers would be preferable.",
"In the absence of a signal handler, does SIGTERM behave identically to SIGKILL?",
"One-dimensional vector space and it's subspaces",
"LLC-SCorp to self - actually, does the corp pay payroll taxes? In the USA. Here are the two common scenarios for the self-employed: A. Joe makes 100,000 over the year. It's paid to him as 1099 payments from his various clients. Joe pays the many taxes on that. B. Joe makes 100,000 over the year. He has an LLC as SCorp (or maybe an SCorp per se). The clients pay $100,000 to the entity JoeCorp. JoeCorp pays Joe a certain salary (it might be the whole 100,000, or, it might be (let's say) half of that and the rest is taken as profit distribution, not relevant here). So, JoeCorp (his LLC) pays Joe say $50,000. In fact: does JoeCorp have to pay \"payroll taxes\" on that?? Does it perhaps make a difference if it is an LLC with S-Corp election v. S-Corp? (I realize there are many questions on here about \"1099 v. corp\" .... but I've never really understood this and can't seem to google it up.)",
"Why can I modify a read-only file? Short Question: Why can we manipulate a read-only file in Vim using : + w + q + ! even without being an administrator? Long Question: I have a text file (myFile.txt) which is read-only for everyone: navid@navid-ThinkPad-T530:~/ubuntuTest$ ls -l myFile.txt -r--r--r-- 1 navid navid 26 Aug 22 21:21 myFile.txt I can open it with Vim without having admin privileges: navid@navid-ThinkPad-T530:~/ubuntuTest$ vi myFile.txt I modify it and press: Esc + : + w + q + Enter and I see this error message: E45: 'readonly' option is set (add ! to override) So far, everything makes sense. But when I press: Esc + : + w + q + ! + Enter, Vim saves the changes. I'm using Ubuntu 16.04 and VIM 7.4.",
"Method always returns true?",
"I dont need this vertices and/or edge. What is the best way to get rid of them?"
] | medi_sts_stackexchange_dupe |
List of TikZ Editor | What GUI applications are there to assist in generating graphics for TeX? | [
"What's the difference between magnetic fields $H$ and $B$? As per : "The term (Magnetic Field) is used for two distinct but closely related fields denoted by the symbols $B$ and $H$, where $H$ is measured in units of amperes per meter in the SI. $B$ is measured in teslas in the SI." So, the two are closely related. Why do we need two, then? Could just one be used? As I remember from the university, for vacuum the Maxwell's equations are written usually in terms of $B$, while for media in terms of $H$ (and $B=\\mu H$).",
"So I have a Palm Pre (original P100EWW) model that I enabled developer mode on, and installed a Debian Squeeze chroot. Works great. I have plans to use this for ANYTHING (bittorrent peer, web server) but a phone. I noticed if I do a cat /dev/urandom > /dev/fb0 it actually writes random pixels to the screen until a No space left on device error is generated. Awesome, now I can use the display. So what kind of utilites are there that will either A) let me use /dev/fb0 as a console I can output text to or B) render text on /dev/fb0 from the command line. I don't know about recompiling the kernel for this yet (I'd love to eventually strip WebOS off entirely and turn this into a minimal ARM server) so userspace tools if they exist is what I'm asking about. Also would prefer to render directly to /dev/fb0 and not use X.",
"How do I disable the screensaver/lock? When I'm watching a film in Mythtv the screen turns to black every 10 - 15 mins and I have to log back into Ubuntu. Very annoying! How do I disable the black screen / screensaver / logout in Unity? There no longer seems to be any options to turn the screen saver off as there were in Ubuntu prior to Unity.",
"How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page?",
"I have a large external with many subfolders that I want to move all videos, pictures, and music to another hard-drive, what would be the best way to do this?",
"Are there infinitely-many numbers that are both square and triangular? I just started to read \"Friendly Introduction to Number Theory\" but I am getting stuck in the first exercises. 1.1. The first two numbers that are both squares and triangles are 1 and 36. Find the next one and, if possible, the one after that. Can you figure out an efficient way to find triangular–square numbers? Do you think that there are infinitely many? I found how to find out the number which is both square and triangle. (don't know if this is effective way) However how can I answer \"Do you think that there are infinitely many?\"? I think I need to find the formula but no idea yet. Can you please help me?",
"Do I have to enter the UK on my UK passport?",
"Should I wait for a recession to buy a home? I am currently renting, but am considering buying a house in the future (1-3 years). I want to know if I should even consider waiting for a future recession to buy a home at a better price. Some would argue that we are due for a recession (seems common enough to not need a reference), though none of us can know this is imminent with certainty. I would not mind waiting to buy if it means my money would go further. However, if I wait and the market does not come down, I risk the inverse as the cost of homes in my area is rising faster than inflation. All other considerations aside, should I wait for a recession to buy a home and what other risks does this carry?",
"Flying EU to UK to EU. Can I get duty free alcohol? On the 20 of March this year I will be flying from Ireland to the UK and then on the another EU country. Can I buy duty free alcohol (as in alcohol with no tax) leaving the UK ?",
"Zero to the zero power – is $0^0=1$? Could someone provide me with a good explanation of why $0^0=1$? My train of thought: $x>0$ $0^x=0^{x-0}=0^x/0^0$, so $0^0=0^x/0^x=\\,?$ Possible answers: $0^0\\cdot0^x=1\\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined PS. I've read the on mathforum.org, but it isn't clear to me.",
"I have a psd that has rounded rectangle. I need to create a new rounded rectangle with the same radius. How do I determine the radius used on that said rounded rectangle? I feel like this is such an awful question but thanks in advance for answering.",
"To my (British) ear, it never sounds correct to say you have a doubt about something. I expect that doubt to be pluralised, even if there's only one specific thing that I'm doubtful of, in one specific way, so I would always say \"I have doubts about something\". Answers to say that using doubt as a synonym for question is \"Indian English\". That seems to be the case in which starts with \"I have a doubt on my construction\", because the OP really is saying \"I have a question\" (which he goes on to actually ask). Okay, it should have been a question/doubt about something, not on, but I'm not concerned with that detail here. But in the OP says \"...there is a doubt that can I use [some construction]\". In that case it's not easy to see how the word doubt can be replaced with question. I don't have a problem with, for example, , because there I interpret it as doubt=uncertainty (a state of mind, syntactically equivalent to words like happiness, agitation, sorrow, etc.). But you certainly can't \"have a happiness about something\". So my question is... Is it acceptable today to use singular noun doubt in any contexts where it means something other than state of mental uncertainty? If so, what are those contexts?",
"I'm very new to the GIS world, so my problem could be very stupid, but I'm going to try anyway. Objective Given a list of coordinates in longitude/latitude, stored as a .csv file, I want to create a buffer with distance of x km around those coordinates. (In case this is relevant, these coordinates are locations of the societies in the . These societies scatter all around the world.) Problem I'm only able to create buffers with distance in radial degrees, but I want to do them in (kilo)meters. I'm aware of the following Q&A's, but following what's suggested therein doesn't seem to solve my problem: What I have tried... I start QGIS (v2.4), and Add delimited text layer choose my .csv file and the x/y fields, click OK select WGS 84 as my CRS (also tried NAD83 but didn't make a difference), click OK right-click on layer and select Save As..., in the dialog box, choose the following and click OK: add sccs_meter.shp as layer to the current project Select Vector > Geoprocessing Tools > Buffers > set buffer distance as 10 The result is a buffer with radius of approximately 1068km, which suggests that buffer distance is 10 degrees rather than 10 meters. What did I do wrong here?",
"Title does not appear when LaTeX code is compiled",
"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",
"On the left is the normal map generated by the Bevel node. On the right is an unbeveled cube with the Bevel node in action. I wish to convert this to a BW map where The edges/gradients are highlighted and the rest isn't. Does anyone know if this can be achieved with more nodes?",
"What are all the member-functions created by compiler for a class? Does that happen all the time?",
"What are neutral density filters and how do I use them to create long exposures in daylight? I've seen a few related posts on the site but nothing specifically on this point: I'd like to be able to take long exposure photos during daylight (like the examples in ). I'm told that you can do this by using a neutral density filter. So my question is: what is a neutral density filter exactly, and how is it used to achieve that smooth long exposure effect?",
"How widely accepted are Euros in Hungary and how bad is the exchange rate practiced by shops/hotels? The official currency of Hungary is the Forint but so far everything I have looked for prices online, such as trains, buses and taxis, are quoted in Euros and Forints. Hotel reservation asked that I pay in Euros at the hotel. Considering that I will only spend a few days in Budapest, are Forints necessary? Or can I pay for transport, admissions and food in Euros? In such a case, how is the conversion rate set?",
"Connection pools being reset with Error: 18056, Severity: 20, State: 46. & Perfmon Counters not showing We are using SQL Authentication (to reduce the number of connection pools) & .NET 4.0 connection strings to connect to SQL Server Enterprise Edition 2012 SP1 on a Windows 2008 R2 Enterprise Server: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) We use about 50 servers split into 8 different groups different parts of a website. Our website is using this SQL Server to log visit tracking data. Over the last few days it has spat out the following messages about the resetting connection pools: The client was unable to reuse a session with SPID 1327, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message. Error log reads: Error: 18056, Severity: 20, State: 46. The client was unable to reuse a session with SPID 959, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message. Login failed for user 'xxxx'. Reason: Failed to open the database 'xxxxxxxx' configured in the login object while revalidating the login on the connection. [CLIENT: 10.xx.xx.xxx] After some digging, I found this document on the CSS blog: and this one by Aaron Bertrand: . I know the error number is different but the failure ID is the same with a number of the messages are identical). Failure ID 46 suggests that the login did not have permissions. Our logins default to the master database and the db name is specificied in the connection string. I wanted to check the number of connection strings pools, etc. and checked all the counters in Perfmon for .Net Data Provider for SqlServer. It only gave me the option of defaultdomain9675 for the instance, so I selected that assuming that is a system generated ID name for our Datacentre network. Unfortunately all of the counters are reading zero. On one of our other main servers the connection pools are hovering around 10 which is what I expected to see on a healthy server with that kind of load. My question is 3 fold Can anyone suggest why the Windows 2008 R2 Server is not showing .Net Data Provider for SqlServer? Has anyone experienced this as I obviously believe that the login not having permissions is a red herring ? If different groups of web servers have the same connection string syntax but with slightly different whitespace, would this cause the server to use another connection pool? Min & max memory settings are 20GB & 58GB respectively. The server is a dedicated database server with 64GB of RAM. I don't think memory is the issue as the box seems to have a decent page lfe expectancy. Auto close is not enabled. The server is always up: this is a 24x7 website with heavy usage."
] | medi_sts_stackexchange_dupe |
what happens with commanders and o ring effects? | How does the Commander interact with Banishing Light or Oblivion Ring? | [
"I can enter U+0008 (backspace character) into a chat message I typed . I believe I tab-completed @rumtscho and fully typed @MarthaF (since she doesn't tab complete). However, other people tell me that a Unicode character was inserted into the message; I can't see it: Originally, I abandoned this bug report for a lack of reproducibility. But on another machine, I can see the character and managed to reproduce it: press tab, then press backspace. It works anywhere in a message, not just in a @-ping. (Actually, it seems that you just need to un-focus the input box; clicking elsewhere then hitting backspace works, too) First machine is Firefox 12 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts. Greasemonkey is installed, but disabled in the extension manager Second machine is Firefox 10 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts, Greasemonkey not even installed Third machine (just tested) is Firefox 11 (Iceweasel) on Debian GNU/Linux AMD64. Greasemonkey installed and enabled, and there is a global userscript. Does not happen on Chromium 18.0.1025.151, running on machine #3. So far, that's all the machines I've tested on, and it happens on all of them. It only happens in chat. Easiest way to produce it is to click on the page background, somewhere outside the text box, to un-focus the text box. Then press backspace. Note that not all browsers will display the character, even if its there (check to see if yours does)",
"Occasionally, I get part of an application lingering behind on my desktop: This is part of a context menu for an application. It is always top-most, meaning that it is always on the screen, and I cannot click on it (it just clicks through it). It has happened before, sometimes with whole windows. It remains on screen even if the application it originated from is no longer running. How do I get rid of it without rebooting?",
"Why is it called an “Indian file”?",
"Using Illustrator CS6 to create shape out of multiple paths I am very new to Illustrator, in fact I am only experimenting with it in an attempt to help my friend develop a logo for a new business venture. I managed to draw out the shell of the logo using the line tool and modifying the lines with the anchor tool to get the shape I wanted. However, I would like to somehow take all of these paths and create one object, or symbol which I can then apply a drop shadow, fill and various other effects too. Currently when I try to do this I get unwanted effects... I'd appreciate any help on the subject.",
"I had one batch class in which i am passing some data required for creating object record.But when i call that batch class from parent class variables are initialized but start method are not called as there is no record to query i also tried with iterable object but not able to do that.My code is as below global class testBatchClass implements Database.Batchable<SObject>,Database.Stateful{ public List<sObject> sObjectList; public string objectName; public String dataList; public testBatchClass(String objectName,String inputdata){ String listType = 'List<'+objectName+'>'; system.debug('list type value is'+listType); List<SObject> castRecords = (List<SObject>)Type.forName(listType).newInstance(); this.sObjectList = castRecords; this.objectName = objectName; this.dataList = inputdata; } global Iterable<SObject> start(Database.BatchableContext batchableContext) { return new sObjectList{}; } global void execute(Database.BatchableContext batchableContext, List<sobject> scope){ List<OpportunityRenewal__mdt> mdtList = new List<OpportunityRenewal__mdt>([Select id,Api_Name_of_Fields__c,Sobject_Name__c from TestFileUploadCustomSetting1__mdt where Sobject_Name__c=:objectName]); List<String> fieldName = new List<String>(); for(OpportunityRenewal__mdt md : mdtList){ if(md.Sobject_Name__c == objectName){ fieldName = md.Api_Name_of_Fields__c.Split(','); break; } } List<String> dataRowsSplit= dataList.split(','); dataRowsSplit.remove(0); for(String eachRow: dataRowsSplit){ List<String> splitString = eachRow.Split(','); sObject sobj = Schema.getGlobalDescribe().get(objectName).newSObject(); for(Integer i=0; i <= splitString.Size(); i++){ sobj.put(fieldName[i],splitString[i]); } scope.add(sobj); } if(scope != Null && scope.Size() > 0){ upsert scope; } } global void finish(Database.BatchableContext batchableContext) {} } Thanks",
"Chat related privileges are not site specific",
"Let $A$ be an $n\\times n$ complex nilpotent matrix. Then we know that because all eigenvalues of $A$ must be $0$, it follows that $\\text{tr}(A^n)=0$ for all positive integers $n$. What I would like to show is the converse, that is, if $\\text{tr}(A^n)=0$ for all positive integers $n$, then $A$ is nilpotent. I tried to show that $0$ must be an eigenvalue of $A$, then try to show that all other eigenvalues must be equal to 0. However, I am stuck at the point where I need to show that $\\det(A)=0$. May I know of the approach to show that $A$ is nilpotent?",
"I have been told [Warning: I leave this because it's what I asked and allows to understand the dialogues in the comments, but Azad, whom I thank, has pointed that the formula does not hold in general in the form it is expressed] that the angular momentum of and rigid body with respect to any point $P$ can always be expressed as $$\\mathbf{L}_{P}=\\mathbf{r}_{cm}\\times M\\mathbf{v}_{cm}+\\big(\\sum_im_iR_i^2\\big)\\boldsymbol{\\omega}$$ where $\\mathbf{r}_{cm}$ is the position of the centre of mass with respect to $P$, $M$ the mass of the body, $R_i$ the distance of the $i$-th point, having mass $m_i$, composing the body, and $\\sum_im_iR_i^2=I$ its moment of inertia with respect to the instantaneous axis of the rotation around the centre of mass of angular velocity $\\boldsymbol{\\omega}$. I know that the velocity $\\mathbf{v}_i$ of each point $P_i$, having mass $m_i$, of a rigid body of mass $M$ can be see as the sum of a translation velocity of one of its points $C$ plus a rotation velocity around that point: $\\mathbf{v}_i=\\mathbf{v}_{C}+\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i}$. If we chose $C$ as the centre of mass I see that $$\\mathbf{L}_{cm}=\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_{i}=\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_{cm}+\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})$$$$=\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i}) $$because, if I am not wrong, $\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_C=(\\sum_i m_i\\overrightarrow{CP_i})\\times\\mathbf{v}_C=\\mathbf{0}$ since $\\sum_i m_i\\overrightarrow{CP_i}$ is the position of the centre of mass with respect to itself, which is $\\mathbf{0}$. How can it be proved that $\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})=(\\sum_im_iR_i^2)\\boldsymbol{\\omega}$? I have searched a lot on the Internet and on books, but I find nothing. To give some background of mine, I have studied nothing of analytical mechanics. I find the formula very, very interesting both in itself and because, if the moment of inertia does not depend upon time, $\\forall t\\quad I(t)= I(t_0)$, the above expression can be differentiated to get the formula of the resultant torque with respect to the centre of mass $\\sum\\boldsymbol{\\tau}_{cm}=\\frac{d\\mathbf{L}_{cm}}{dt}=I\\boldsymbol{\\alpha}_{cm}$ where $\\boldsymbol{\\alpha}$ is the angular acceleration around the centre of mass. I heartily thank you for any answer! Some unfruitful trials: by using the \"BAC CAB identity\" as suggested by Azad, whom I heartily thank, $\\mathbf{a}\\times(\\mathbf{b}\\times\\mathbf{c})=(\\mathbf{a}\\cdot\\mathbf{c})\\mathbf{b}-(\\mathbf{a}\\cdot\\mathbf{b})\\mathbf{c}$, I can see that$$\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})=\\sum_im_i\\|\\overrightarrow{CP_i}\\|^2\\boldsymbol{\\omega}-m_i(\\overrightarrow{CP_i}\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}$$which, by decomposing every $\\overrightarrow{CP_i}$ into an axial component $\\mathbf{A}_i$ and a radial component $\\mathbf{R}_i$, whose norms respectively are $A_i$ and $R_i$, with $R_i$ as the distance from $i$ to the axis of rotation, becomes $$\\sum_im_iR_i^2\\boldsymbol{\\omega}+\\sum_i m_i A_i^2\\boldsymbol{\\omega}-m_i(\\mathbf{A}_i\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}$$but I cannot prove that $\\sum_i m_i A_i^2\\boldsymbol{\\omega}-m_i(\\mathbf{A}_i\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}=\\mathbf{0}$.",
"Different ways to prove there are infinitely many primes?",
"VMware Linux Server -- how can you tell if you are a vm or real hardware?",
"How many irreducible polynomials of degree $n$ exist over $\\mathbb{F}_p$? 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 ?",
"\"compare with\" or \"compare to\" Please check both sentences and let me know, which one is correct and why? She compares me with her boyfriend. She compares me to her boyfriend.",
"Does $1^{\\infty}=e$ or $1^{\\infty}=1$?",
"Setting Blend Width on Mosaic Dataset using ArcMap",
"How can I remap a keyboard key?",
"Specifying latest revision of a particular branch with bower",
"Is there a test for the different styles within maths mode? What I really want is to be able to save the current style to reinvoke it later on, but a \\if along the lines of \\ifmmode would work just as well. In the specific example, I want to measure how big something will be when displayed in maths mode, so I do: \\settoheight{\\mathheight}{some bit of maths} except that it complains because the some bit of maths gets put in a box and measured, and the box doesn't know that it's maths. So instead I put: \\settoheight{\\mathheight}{\\(some bit of maths\\)} except that then I get the wrong answer if this is used in displayed maths. So ideally, I want: \\ifdisplaystyle \\let\\currentstyle\\displaystyle \\else \\iftextstyle \\let\\currentstyle\\textstyle ... \\fi \\fi \\settoheight{\\mathheight}{\\(\\currentstyle some bit of maths\\)} and then I'll be happy. Is there such a test? Okay, so \\mathchoice is clearly the way to go (thanks Martin!), but its behaviour is a little odd and since I want to use it to define a macro depending on which mode I'm in, this oddity is quite important. Here's the code: \\newcommand{\\mathtest}{% \\gdef\\name{a}% \\mathchoice{% \\name \\gdef\\name{b}% }{% \\name \\gdef\\name{c}% }{% \\name \\gdef\\name{d}% }{% \\name \\gdef\\name{e}% }% \\name} \\[ \\mathtest \\] If \\mathchoice behaved like \\if, this ought to print ab. But it prints ae. All the options to \\mathchoice get processed (which makes me wonder a bit how it works, but that's by-the-by). So, is there an obvious way to make \\mathchoice behave a little more like \\if?",
"Give moderators the option to select a deletion reason when removing posts",
"What would be the Slater's determinant representation for an excited state? Setup Introducing this spinorbital notation: \\begin{align} \\Psi_1=\\chi_{(r1)}\\alpha_{(\\omega1)} = 1 \\\\ \\Psi_1=\\chi_{(r1)}\\beta_{(\\omega1)} = \\bar{1} \\end{align} and the Slater's determinant, for a system of two electrons, is: \\begin{align} |\\Psi\\rangle = \\frac{1}{\\sqrt{2}} \\Big| \\begin{array}{cc} 1 & \\bar{1} \\\\ 2 & \\bar{2} \\\\ \\end{array} \\Big| = \\frac{|1\\bar{2}\\rangle-|\\bar{1}2\\rangle}{\\sqrt2} \\end{align} Question Based on the example, what would be the Slater's determinant representation for an excited state like $\\Psi_a^r$ (i.e. with parallel spins like: $|\\bar{1}\\bar{2}\\rangle$) and $\\Psi_{ab}^{rs}$ (feel free to use any number) ?",
"Suddenly Okular will not open any more I have made my laptop double boot a few months again, with Ubuntu 18.04.1 . I have been working with okular to open pdf files (for the commenting option) but suddenly okular doesn't work anymore. When trying to open okular I get the following error: Unable to find the Okular component: Cannot load library /snap/okular/39/usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so: (libKF5JSApi.so.5: cannot open shared object file: No such file or directory) I don't understand how to solve this problem. Okular was working fine until today and I didn't change anything to my ubuntu system in the mean time. Perhaps the problem comes from the fact that I have been working on windows the last few days and also used the windows ubuntu app. How can I make okular work again?"
] | medi_sts_stackexchange_dupe |
Do location services work in iOS simulator? | Set the location in iPhone Simulator | [
"Define the sequence $aₙ=20+n²$ and $dₙ=\\gcd(aₙ , aₙ₊₁)$ Find with proof the values dₙ takes.",
"Connect external hard drive to Ubuntu I have an NTFS external hard drive that contains only Windows XP data. How do I connect it to Ubuntu?",
"Can I run a second wordpress site as a subdomain without using multisite?",
"Is the Stack Exchange engine that powers Stack Overflow available to download or install internally for an enterprise or company? I think Stack Exchange's engine is very great and could be very cool to use for internal enterprise patterns and practices, like the engine of Wikipedia.",
"Massive spam users and spam entries despite triple layer protection",
"Simulating group_concat MySQL function in Microsoft SQL Server 2005? I'm trying to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but that's life). In the original app, we used almost entirely ANSI-SQL compliant statements, with one significant exception -- we used MySQL's group_concat function fairly frequently. group_concat, by the way, does this: given a table of, say, employee names and projects... SELECT empName, projID FROM project_members; returns: ANDY | A100 ANDY | B391 ANDY | X010 TOM | A100 TOM | A510 ... and here's what you get with group_concat: SELECT empName, group_concat(projID SEPARATOR ' / ') FROM project_members GROUP BY empName; returns: ANDY | A100 / B391 / X010 TOM | A100 / A510 So what I'd like to know is: Is it possible to write, say, a user-defined function in SQL Server which emulates the functionality of group_concat? I have almost no experience using UDFs, stored procedures, or anything like that, just straight-up SQL, so please err on the side of too much explanation :)",
"How did Montague Apparate into the Hogwarts bathroom? In year 5, Fred and George jam Montague into the Vanishing Cabinet. He's found weeks later in a toilet. ‘He never managed to get all the words out,’ said Fred, ‘due to the fact that we forced him head-first into that Vanishing Cabinet on the first floor.’ […] ‘They’ve found Montague, sir, he’s turned up jammed inside a toilet on the fourth floor.’ ‘How did he get in there?’ demanded Snape. ‘I don’t know, sir, he’s a bit confused.’ In year 6 Malfoy expands on that. ‘I had to mend that broken Vanishing Cabinet that no one’s used for years. The one Montague got lost in last year.’ […] ‘The other’s in Borgin and Burkes,’ said Malfoy, ‘and they make a kind of passage between them. Montague told me that when he was stuck in the Hogwarts one, he was trapped in limbo but sometimes he could hear what was going on at school, and sometimes what was going on in the shop, as if the Cabinet was travelling between them, but he couldn't make anyone hear him ... in the end he managed to Apparate out, even though he’d never passed his test. He nearly died doing it. What happened here? Did he Apparate out into Hogwarts, Apparate into Borgin and Burkes and somehow wander back to Hogwarts and get stuck into a toilet?",
"What areas of physics depend on the sum $1 + 2 + 3 + 4 + 5 + 6+ 7+\\ldots= -1/12$? This youtube video from Numberphile, shows how the value is derived. In the video, one interviewee claims that \"this result is used in many areas of physics\". In the video, only string theory is mentioned. Which areas of physics use or depend on the sum $$1 + 2 + 3 + 4 + 5 + 6+ 7+\\ldots= -1/12?$$",
"Why does ( exit 1 ) not exit the script? I have a script, that does not exit when I want it to. An example script with the same error is: #!/bin/bash function bla() { return 1 } bla || ( echo '1' ; exit 1 ) echo '2' I would assume to see the output: :~$ ./test.sh 1 :~$ But I actually see: :~$ ./test.sh 1 2 :~$ Does the () command chaining somehow create a scope? What is exit exiting out of, if not the script?",
"How to make a bootable ISO image from a bootable DVD?",
"How to set a letter to the margin of the page and position it vertically according to alphabetical order?",
"\"There is/are more than one\". What's the difference? While adding to an Answer to question, I needed to use the above phrase, and I suddenly realised I was unsure whether to write \"is\" or \"are\". There is more than one way to skin a cat. If there are more than one species of cat, we will flay each species differently. I don't think that second example above sounds quite right to me (disregarding the meaning - sorry!), but in my original Answer I felt \"is\" would have been even worse. Is \"are\" always wrong here? If so, what exactly is the rationale? If not, is there a case where it's unquestionably preferred – and why is that? Note that in both the problematic Answer and my example attempting to mimic the same context more briefly, the writer doesn't know how many there are. There may be one, more, or even none. Getting even more specific, the writer might have an opinion on how many there might be, and wish to convey his leanings by choice of verb form if language allows this to be done succinctly.",
"How to schedule a cron job to run a video fill every 5 minute?",
"Trying to identify a short sci-fi story about a human that is \"resurrected\" by malignant aliens",
"SF novel about one-way scientific expedition to inhabited planet, where telepathic aliens \"talk\" sort of ++like this++ and ~*~this~*~ I'm looking for a novel I read in the mid-to-late 1990s. It was a science fiction novel about an expedition of scientists sent at sub-light-speed (maybe in cryo-sleep?) to investigate a star system. Once there they set up a permanent scientific outpost. There was at least one inhabited planet in the system, with a sentient species that communicated telepathically. The aliens' speech was represented with various symbols instead of quotation marks, with each named character having (I think) its own characteristic set of symbols, as in the title of the question. The scientists are eventually able to communicate with these (generally friendly) aliens. The thing I remember most clearly is the end of the book. This was a one-way trip for the scientists, so gradually they all die off from various causes. When the next-to-last member of the crew dies of old age, the survivor is looking for an epigraph for her funeral, and (ironically, considering my current plight) can't find it in his search of the electronic library. He finally discovers it under \"humor\" because it's by Mark Twain: \"Wherever she was, there was Eden.\" (This quote, of course, I found immediately in and many other sources; it's from Eve's Diary.) Other pieces of information I'm less sure of: I don't think the planet was hospitable to humans; it may have been something like a gas giant, with the aliens \"swimming\" through the gas. I think the scientists stayed in an orbital space station, though they may have made expeditions to the planet in vehicles or protective suits. There may have been a \"twin\" planet, or a moon in an eccentric orbit, that caused periodic \"flares\" of some sort on the aliens' planet. There might have been some conflict between the crew early on, maybe because there was a non-scientific (military) commander, or perhaps just because people have conflict. I think the author was of sort of middling fame; respected and known by SF enthusiasts, but not a superstar like Asimov or Clarke. Almost certainly male, and probably with a professional science background. I think the science was fairly authentic, although the first-contact bit was obviously highly speculative.",
"Cannot locate Ubuntu Software Center via Firefox to open APT links",
"Let $F,G,H$ be groups such that $F\\trianglelefteq G \\trianglelefteq H$. I am asked whether we necessarily have $F\\trianglelefteq H$. I think the answer is no but I cannot find any counterexample with usual groups. Is there a simple case where this property is not true?",
"Consider a hypothetical situation: In which a time traveler travels in a spaceplane at close to speed of light circling the earth and I get a live telecast of inside of that plane to my television. How time dilation will effect him and what will I observe sitting next to the tv seeing him live. Considering time runs slower at speed of light, will he be looking like a slow motion video? (Or let he also watching live streaming of us at earth, what it will look to him) P.S. I'm not sure if it even makes some sense but if it does kindly explain in logical details. Sorry for the the bad english, I'm not a native speaker.",
"Is it possible to build a .dmg file (for distributing apps) from a non-Mac platform? And if yes, how?",
"If I add a comment but navigate (by mistake) to another page, I lose my unfinished comment (ok, depends on browser etc). On the other hand, when formulating a question, and I click on a link by mistake, I'm asked if I really want to leave. It would be nice to have this warning for comments as well."
] | medi_sts_stackexchange_dupe |
Return of getProperty() can't be used in if statement whereas same value as String variable works | How do I compare strings in Java? | [
"I'm trying to display models that have shading drawn or baked directly on the textures, but I can't figure out how to disable Blender's default scene lighting. If there are no lights in the scene, everything is black, but I want to see the textured objects fully bright. How do I disable the lighting? NOTE: Just before posting this, I found the \"Shadeless\" material property, which does more or less what I want. However, is there a way to globally toggle the default lighting?",
"I have seen this a lot but i ran into this question today: And the answer (while good) has 83 upvotes which seemed a little over the top. I see dozens of answers of this caliber every week that only seem to get a few upvotes. Was there some sort of SO policy that encouraged people to upvote more during this period? Am I just imagining that answers from this period received more votes than comparable ones now?",
"How to delete Windows.old in Windows 8 It seems to be a common thing that a Windows Update creates a Windows.old folder under C:\\Windows.old My question is now, can it be deleted with Windows 8 and how can I do that? If I try to manually delete it in Windows Explorer it does not let me, a permissions issue.",
"The actual question was to find the area bounded by the curve $y=\\int_{-1}^{1}(1-x^2)^ndx$ and coordinate axes. But I haven't came across these type of problems with power $n$.",
"Embedding DLLs in a compiled executable Is it possible to embed a pre-existing DLL into a compiled C# executable (so that you only have one file to distribute)? If it is possible, how would one go about doing it? Normally, I'm cool with just leaving the DLLs outside and having the setup program handle everything, but there have been a couple of people at work who have asked me this and I honestly don't know.",
"I know I'm asking for the close-to-impossible -- as a real full-backup certainly requires root permissions. But still there are many folks around not wanting to root their devices -- afraid of voiding their warranties or bricking their devices, or just not having their devices supported by any rooting method. I also know there were a lot of questions asked already on this topic, and I checked all of them having the backup tag -- none covers the entire topic, all just have pieces, and especially people new to Android (but other non-power-users as well) would have a hard time figuring out the best way. So I want a detailed canonical answer to the question: Not involving root-solutions, how to achieve a backup as close as possible to a full backup? Please do not give simple one-liner answers like \"Use app xyz [full-stop].\" If mentioning an app (and I doubt a single app would be the answer here), include what parts are covered by it -- as well as ideas on how to fill the gaps it leaves. (And to make it absolutely clear: I know the first thing coming to mind is Titanium Backup -- I use it myself, but this does not apply here: This question is strictly about methods for non-rooted devices!) Moreover, the answer should be as generic as possible in terms of applying to a wide range of devices (i.e. it should not be restricted to one device or manufacturer). I already mentioned having investigated all questions here tagged backup. These will certainly be helpful providing details for answers here, so I will list up the topmost ones concerning my question: All these provide some details for my question (so feel free to get inspired by them) -- but I feel there are still details missing. Also it would be helpful to have a summary -- say, an answer including the full description of \"the maximum possible\". A last criterium: While I'd consider cloud-based solutions legit, I'd favour local solutions. If you can provide both: all the better. But some people value privacy quite high (I'm one of them), and thus would not trust their data to some cloud service. Thanks to Ryan, we now have a solution for a really complete backup of all apps and their data -- which I didn't dare to hope for! The only disadvantage: His solution only works for less than 10% of all Android users; namely those whose devices are running at least with Android 4.x. So again, I ask the close-to-impossible: Any solutions applicable at least on Gingerbread (2.3.x) or, better, even Froyo (2.2.x) -- so they cover the majority of current devices? These solutions may involve multiple tools (try to keep it as simple as possible though; think of your mother to follow your instructions ;) And keep in mind: NO ROOT! To further motivate high-quality answers (and hopefully avoid low-quality ones), I will be a harsh one here: As I rarely do, I will down-vote answers not fitting the mentioned criteria on one end -- but on the other end, I will setup a bounty for the best answer (which cannot be done immediately, but earliest after 2 days).",
"Proving the AM-GM inequality for 2 numbers $\\sqrt{xy}\\le\\frac{x+y}2$",
"Polynomial degree 3 Equation",
"How to get remote host DNS address from a super-slim host (docker) without ping or bind-utils?",
"Improving Review Queues - Design overview II: Changing review bans and other new features",
"Do fontsize environments exist? Without any doubt there are fontsize switches in the form of control sequences (described for instance.) But, from time to time I ran into code examples where environment versions of those were used, e.g. \\begin{small}...\\end{small}. After testing those successfully I began to incorporate them into my TeX vocabulary. A few days ago @GonzaloMedina commented on one of my answers that those environments do not exists and constructions relying on them work by pure coincidence. Then I tried to find out more about those ominous environments. Ominous because they don't seem to be somehow documentated. (The only thing I found that tried to explain them in a somehow systematical manner was some Wikibooks resource.) Are these environments real or not?",
"How to search only unanswered questions with an open bounty ?",
"I have a Python script that will need to be given to a client. We are currently evaluating what license level the client will need in order to run the script for their software acquisition purposes. We all have ArcGIS 10.1 Advanced license in our company. I checked all the tools and extensions used in the script against the web help and found that they should work on the Standard license level. Is there a way I can test the script against the Standard license level, when we have no Standard license level in or company (only the higher Advanced level)?",
"Started new job. Rollover previous employer 401k to new 401k, IRA or Roth IRA?",
"The correct omission of the definite and indefinite articles",
"General system specs for large scenes in blender What are the system requirements for working with complex geometry in Blender? Things like RAM, GPU, CPU etc.?",
"I have this, in D1: =sum(D3:D) I want D1 to always be the sum of the rest of column D (D2 is a header) I sometimes move a row, from eg 8 to 3, and that causes D1 to change to sum(d4:d). I want D1 to stay as my sum of the column.",
"Installing MinionPro fonts on Ubuntu 10.04 running TexLive 2012 I followed the instructions to install MinionPro fonts from this website. However, when I tried to run the tex file at the bottom, I have this error message: ! LaTeX Error: File `MinionPro.sty' not found. Running the command kpsewhich MinionPro.sty gives the following output: /usr/local/share/texmf/tex/latex/MinionPro/MinionPro.sty So the system knows where MinionPro.sty is, so why can't the file compile?",
"How to enable automatic update in wordpress running on IIS7 and Windows 2008? I have a dedicated server using Windows 2008 and IIS7 running 5 blogs with Wordpress. I can't use the autoupdate feature of the wordpress neither the automatic plugin instalation. I believe I must set writing permissions in some temporary folder, the question is which one. Do you have any idea?",
"Does there exist a laser that is tunable over the whole visible spectrum? Does there exist a laser that is tunable over the whole visible spectrum? If so does there exist one that is solid state? This is to settle a score with my dumb workmates."
] | medi_sts_stackexchange_dupe |
How to change the Postgres hostname in pgadmin 4? | How to edit `postgresql.conf` with pgAdmin 3? | [
"How can I make a bluish \"white\" LED less blue?",
"What are the guidelines for using version-specific tags? I believe that some of my questions were asked before but I didn't find any satisfying guidance. I just found only . I hope senior members will help me to understand the situation and use tags correctly. I have several questions which are related to following explanation: What is current community's attitude towards version specific tags on Stack Exchange? How to correctly use version specific tags? When is it good to create version specific tag? Should any version specific tags be at least marked as synonyms to version unspecific tags? Should I use version specific tags if I re-tagging questions? Should I re-tag questions if I think that incorrect version specific tag is used? For example, I mainly visiting questions related to two main topics: WCF and Entity framework. Tagging questions in these topics follow very different rules. WCF uses single main tag sometimes combined with currently proposed as synonym to WCF, whereas Entity framework currently have: - version 2 and 3 never existed - I started this tag myself but now I think it was a mistake and two ridiculous tags (both for CTP5 of EF 4.1 – their meaningful lifetime was about 3 months): I've already several times retagged questions introducing tag for EF 4.1 RC. Separate problem is in Code-first approach related strictly to where 5 other tags are used to describe the same: I asked for merging these tags in . As you can see that EF topic currently contains too many tags to describe the same. There are other related tags to EF but they are mainly used as supporting tags for specific features. First I thought this is a common situation because ASP.NET MVC uses also new tag for each version even questions usually asks for general problems related to any version but then I was informed by @Richard in that EF is probably tag polluted. I regularly retag questions in EF topic. Currently I'm using: as general topic's tag because I was already informed by @Slauma that people usually have only this tag between their favorites and I should not remove it. It was a good point. for questions related directly to EFv4 features for questions related directly to EF 4.1 features for questions related to fluent and annotations mapping from EF 4.1 But still I think that and are somehow redundant but I'm not sure if my opinion is shared by other participants in these tags. WCF also has 3 versions and almost twice as more questions than EF and it still uses only single main tag without any problem. I think the used version should be information included in a question. Are there any general rules? What about version related tags to C#, .NET and ASP.NET MVC? I first thought that it is common and accepted approach to create version specific tags just because users around ASP.NET MVC (strong tag) do the same. Sometimes I think I received privileges too early and I don't use them correctly. I need some guidance.",
"How do I calculate spoke length?",
"Updating VS Code in ubuntu 18.04",
"Tikz: shading region bounded by several curves I know that my effort below can be improved upon considerably. In particular, there must be a way of shading the region in a single scope, as opposed to subdividing as I have done (thus necessitating a hidden gray boundary). Neither am I fond of sample points, but this is where my research has led me. Your constructive criticism is appreciated. \\documentclass{article} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} %graph \\draw[draw=gray!50!white,fill=gray!50!white] plot[smooth,samples=100,domain=0:1] (\\x,{0}) -- plot[smooth,samples=100,domain=1:0] (\\x,{1}); \\draw[fill=gray!50!white] plot[smooth,samples=100,domain=1:2.71828] (\\x,{ln(\\x)}) -- plot[smooth,samples=100,domain=2.71828:1] (\\x,{1}); \\draw[domain=0:4] plot (\\x,{1}); \\draw[samples=100,domain=.25:4] plot (\\x,{ln(\\x)}) node[above left]{$y=\\ln x$}; %coordinate grid \\draw (-.5,0)--(4.5,0) node[right]{$x$}; \\draw (0,-1.5)--(0,2.5) node[above]{$y$}; \\foreach \\x in {1,2,3,4} \\draw (\\x,2pt)--(\\x,-2pt) node[below] {$\\x$}; \\foreach \\y/\\ytext in {1,2} \\draw (2pt,\\y)--(-2pt,\\y) node[left] {$\\y$}; %labels \\node at (.75,.5) {$\\mathcal{D}$}; \\end{tikzpicture} \\end{document}",
"How can I draw a dot under a symbol in math mode?",
"I have a list of Line_item__c which is storing my line items as List<Line_Item__c> toInsertList = new List<Line_Item__c>(); I am inserting these records in database using the below statement : List<Database.Saveresult> insertResults=Database.insert(toInsertList, false); Now the result is stored in insertResults which is of Database.Saveresult type but i want the result in a list of Line_Item__c. How do i do this. If anyone has a idea, it will be of great use.",
"Does this exist: software for noise cancellation",
"In the TV show Quantum Leap Sam Beckett would travel history and \"right\" wrongs, temporarily displacing someone native to that timeline in the process. Would the memories of what Sam did transfer to the person he displaced upon his leaping out, or would they wind up with amnesia for the time Sam was there?",
"Why are year, pound and mile in the singular form in the phrases below? five-year-old children 20 pound note 10 mile run Is that because they're acting as adjectives, which are always invariable in English? Is it incorrect to say... five-years-old children? 20 pounds note? 10 miles run?",
"GLR Test for 2 samples from exponential distributions",
"For a continuous function $f$ show $\\exists c\\in (0,1)$ s.t $f(c)=3c^2$ Let $f: [0,1] \\to \\mathbb{R}$ be a continuous function such that $$\\int_0^1 f (t) dt =1 .$$ Show that there exists a point $c \\in (0,1)$ such that $ f(c)=3c^2$. I tried using mean value theorem of integrals on $f (x)$, so $$\\int_0^1 f (t) dt = f (c) =1,$$ but it should be $3 c^2$. What is going wrong?",
"Can I deduct a contribution to a traditional IRA if I am also contributing to a 401(k) in the same tax year?",
"Is there a way to give promo/coupon codes for people to download your app for free?",
"How to install Ubuntu 18.04 alongside Windows 10 How to install Ubuntu 18.04 alongside Windows 10? I have tried different process to install Ubuntu 18.04 in my PC in dual boot mode alongside Windows 10. But it turned out that most of the process didn't worked for my PC. My PC's configuration is 500 HDD, 3.5GHz Intel processor, 4GB RAM, 1GB Intel graphics & supports both BIOS & UEFI.",
"What could be the reason, that private keys are not unlocked? Since I updated to Ubuntu 17.10 a while ago, my private keys – the which I use for example to access my server via ssh – are not unlocked programmatically after login anymore. My understanding is, that usually the seahorse client should take care of this, by asking you whether or not to store the key's password when typing them in for the first time. My first guess was, that seahorse-daemon wasn't running for some reason, but it is: user@Zeus:~$ ps aux | grep seahorse user 19170 0.0 0.1 432636 26564 ? Ss 00:07 0:00 seahorse-daemon My second guess was, that for some reason I have to delete all related passwords stored in seahorse under »Passwords->login«: I was hoping to force the client to ask me again and then storing them again. But this didn't help either. The client does not pop up to ask me... Then I found this question, which could be related, but did not help me: As the management of other passwords work as expected (for example passwords for nautilus, Chromium, Nextcloud etc.) I assume the problem has to do something with ssh-agent... Can anybody hint me in the right directions, how to solve this problem? Has anything changed in the way how GNOME handles passwords? Maybe some new fancy program failed being installed during the upgrade process? UPDATE When I add the private key to the authentication agent again with: ssh-add ~/.ssh/id_rsa and try to log in, I will be asked to unlock the key only once, after that the key gets unlocked programmatically. But this works only until the next reboot. After a fresh start, I have to add the key again...",
"I have hundreds of figures with filenames containing \"#\" to include using \\includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so that I don't need to change hundreds of file names? Thanks. Update: 1. I'm using Windows. 2. When I compile it, it shows \"Illegal parameter number in definition\"",
"I'm currently going through notes on a physics course and I'm having trouble understanding the difference between a tensor, a vector, and a matrix. I know that a vector is a kind of tensor and that a matrix is also a form of tensor, but what I'm having trouble understanding is how they differ, and how a vector is related to a matrix.",
"Getting a random object from NSArray without duplication",
"Can you filter out certain SE sites from the hot questions list? Is it possible to filter out Stack Exchange sites from the hot questions list?"
] | medi_sts_stackexchange_dupe |
How does the Appraise feature's results correlate with IVs? | What does Pokémon Appraisal actually tell you in Pokémon Go? | [
"Is there a way to make a fullscreen on VirtualBox? I tried many ways to make a bigger screen in VirtualBox because I do not like the small size of the guest window? Is there is a way to make it big?",
"Evaluating this integral $ \\small\\int \\frac {x^2 dx} {(x\\sin x+\\cos x)^2} $ The question: Compute$$ \\int \\frac {x^2 \\, \\operatorname{d}\\!x} {(x\\sin x+\\cos x)^2} $$ Tried integration by parts. That didn't work. How do I proceed?",
"What word describes random unfitting accusations I really dont know how to describe this. Im having a discussion with someone, I was sharing information that I found on a topic. Randomly im called out as being rude when nowhere was there evidence of rudeness exchanged. This person seems to have a history of claiming people have a problem or are being rude out of the random blue. Is there a word to describe these random accusations that dont connect to anything?",
"Prove : $p$(n│even number of ODD parts)=$p$(n│distinct parts ,number of ODD parts is even )",
"Nikkor f/1.8G 35mm or 50mm? I'm new to photography. I got a Nikon D3100 with the 18-55 kit lens. I was looking to buy a f/1.8 prime lens, and I found two options: AF-S DX NIKKOR 35mm f/1.8G AF-S DX NIKKOR 50mm f/1.8G How should I go for choosing one or the other?",
"Unique (non-repeating) random numbers in O(1)?",
"leaflet geojson coordinate problem I just started to play with leflet/geojson a little. But my coordinates are not rendered properly and I have no clue what is going on. My coordinates are: 52.23943, 4.97599. They work correct with the setView function. var map = L.map('leaflet_map').setView([52.23943, 4.97599], 15); But using a geojasonFeature they are, hmmm, 'projected', somewhere east of Somalia. var geojsonFeature = { \"type\": \"Feature\", \"properties\": { \"name\": \"Coors Field\", \"amenity\": \"Baseball Stadium\", \"popupContent\": \"This is where the Rockies play!\" }, \"geometry\": { \"type\": \"Point\", \"coordinates\": [52.23943, 4.97599] } }; var myLayer = L.geoJson().addTo(map); myLayer.addData(geojsonFeature).bindPopup(\"I am a gjson point.\"); Anyone who knows what is happening here? EDIT Out of pure curiosity I changed the coordinates around [4.976143930893815,52.23925499011473] and the point appears at its correct location. A known bug!?",
"Why can the last block contain a full block of padding in CBC Encryption? I'm trying to understand the SSL Poodle Attack and I'm wondering why the last block of a CBC Record can be full of padding? Wouldn't that mean that the useful data was already a multiple of the key size? Maybe I'm misunderstanding something else here, as it would seem like you can pad by any number of full blocks of padding. Just don't see why an SSL Library would do that. Thanks!",
"how to get the last character of a string?",
"Why can't a Federation Starship's transporter history be used to bring someone back to life? I've always been a little confused by the fact that when a crew member dies they don't just use the transporter history to bring that person back. I'm aware that this wouldn't make for good TV, but I was wondering if there was a more technical reason.",
"Highlighted source code inline with Latex/Minted?",
"Knowing the interface of ubuntu and editing them Where are the files for the desktop or the interface that appears on the screen stored? And how can we edit them. How are they programmed? What programming language is used to built the interfaces?",
"Migrated question's answers can be upvoted twice by the same user was created on Server Fault, answered on Server Fault, I upvoted some of those answers on Server Fault, and then moved by consensus to Super User. Now that the question is on Super User, I can upvote the same answers I previously upvoted on Server Fault.",
"As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since: Both Harry and the Weasleys use Platform 9¾ to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys. The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this?",
"Windows update doesn't progress beyond 0 KB 0% I have Windows 7 64-bit and the isn't working properly. What can I do?",
"My keyboard is typing by itself, could there be a ghost in it? The keyboard on my laptop seems to be typing by itself: It sometimes types characters like 134, whether by itself or when I hit certain keys. Repeating characters may appear unexpectedly. The system volume may change by itself, or windows like the Print dialog or Web browser may appear. This can happen without any input or as I type, and may occur more often when certain keys are pressed. Sometimes, the keyboard fails to respond altogether. This is happening regardless of the software involved. Is there a ghost in my keyboard—is my keyboard broken? A sample of text from the keyboard might look like this (normal QWERTY...ASDF...ZXC... sequence is expected): QWERTYUIOPASDF)(G@*HKLZXCVBN QWERTYIOPASDFGL!#ZXCVB13 QWERTYUIOPASDFGHJKLZXCVB!#N qwertyu41iopasdf19g13h28j113k4113zxcvb4n qwerty4u1iopasdf0g7h1jklzxcvb13m qwert13uuuuuuuuuuuuuuuiopasdf87091134ghhhhhhhhhhhhhhhhhhhhhhh13jk13zxcvb14 This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.",
"In the recently launched trailer of Fantastic Beasts: The Crimes of Grindelwald, there are people Apparating inside Hogwarts grounds. As these people later question Professor Dumbledore, it seemed they were Ministry officials. Have we ever encountered such Apparition before? Or, was this anti-Apparation charm put into place in recent times?",
"Why does std::getline() skip input after a formatted extraction?",
"Defaults to true. If set to true replaces all instances of known swear words with replacements (comical or * based). If false renders the content as originally presented. Benefits: Reduces moderation requirements necessary to ensure that people behind corporate firewalls are not blocked by an errent swear word. Stops idiots like me complaining about it.",
"limit: $u_n=\\frac{1+2^2+3^3+...+n^n}{n^n}$. Let $u_n=\\dfrac{1+2^2+3^3+...+n^n}{n^n}$. Prove that : $$\\lim u_n=1$$ I tried to prove that $u_n< something$ have limit is 1 ; but I can't"
] | medi_sts_stackexchange_dupe |
Powershell: Create stored-procedure on multiple SQL server | Execute a large SQL script (with GO commands) | [
"How to estimate $P(x\\le0)$ from $n$ samples of $x$? Suppose, we have $n$ samples $x_i$ of a random variable: $$x \\sim \\mathcal N(\\mu,\\sigma^2) $$ Based on the samples, we want to estimate the probability that $x$ is negative: $$P(x\\le0)$$ Intuitively, I would first estimate: $$\\hat \\mu=\\frac 1 n \\sum x_i$$ $$\\hat \\sigma^2={\\frac 1 {n-1} \\sum (x_i-\\hat \\mu)^2}$$ and then calculate: $$P(x\\le0)=\\frac1{\\sqrt{2\\pi\\hat\\sigma^2}} \\int_{-\\infty}^0 e^\\frac{x-\\hat\\mu}{\\hat \\sigma} dx$$ However $\\hat \\mu$ and $\\hat \\sigma$ have variance! If I use this method, I suspect I am ignoring that variance and making an incorrect estimation. Is this reasoning right? If so, how can I estimate $P(x\\le0)$ more correctly, taking $\\text {VAR}[\\hat \\mu]$ and $\\text {VAR}[\\hat \\sigma]$ into account?",
"Cannot sort on numeric field with SOQL in Custom Metadata Cannot sort on a soql-request in a custom meta data type. When i perform SELECT .. FROM x__mdt WHERE ... ORDER BY x. Then field x cannot be numeric to get a correct order. Change it to a string-field ordering works ok. Playing with ASC/DESC makes no difference!",
"Systems of linear differential equations - eigenvectors",
"Need rtl8814au driver for kernel 5.3 on Ubuntu 19.10",
"Examples of a non-commutative division ring",
"Why isn't \"Column ordering\" available in my list settings? I want to change the column order visible when viewing or editing a list item. I have accessed the \"Column ordering\" interface via the list settings page on other lists in the past, but it isn't visible in this list's settings.",
"Using a non-centralized structure for tex files - similar to \\graphicspath",
"Evaluation order of Button's action",
"The following question is on my homework assignment that I cannot figure out: Let U and V be independent random variables, each having a normal distribution with mean zero and variance one. Find the moment generating function of the random variable W = UV . I have looked around online, and cannot find an answer to this question. In fact, the only answers I can find that even relate to the product of standard normal random variables are using techniques that we never covered in my class. We covered in class how to find the MGF for linear combinations of random variables, by W isn't linear, its a product of two normals. So that technique won't work. What am I supposed to do? I am completely at a loss. I have tried multiplying the MGFs of U and V together, but that leaves me with something ugly that I can't reduce.",
"How can I get admin access to a Mac without knowing the current password? My Father died last year and I inherited his Mac Mini. My wife has retired and we are trying to set up the mini for her use but the changes we want to make require admin access and we do not have the information my father used to set up the machine. Is it possible to reset the admin information without having the old information? If so, how would I go about it? I am not a Mac user usually so any guidance will have to be pretty simple!",
"How can I recover from deleting the /usr/share/themes directory?",
"I need the cs_CZ.ISO8859-2 locale to exist on Ubuntu 12.04 so a specific unit test can pass. The test makes the following call: std::locale(\"cs_CZ.ISO8859-2\") On my OS X Lion install, this locale does exist, so the call to std::locale should work: $ locale -a | grep cs cs_CZ cs_CZ.ISO8859-2 cs_CZ.UTF-8 $ However, on my Ubuntu 12.04 install, there is only a UTF8 variant, and no ISO8859-2 version of the cs_CZ locale, despite having installed language-pack-cs: $ dpkg -l | grep language-pack-cs ii language-pack-cs 1:12.04+20120417 translation updates for language Czech ii language-pack-cs-base 1:12.04+20120417 translations for language Czech $ locale -a | grep cs_ cs_CZ.utf8 $ The unit test fails on this machine. Running the unit test under strace shows that it really is looking for the ISO8859-2 variant and not finding it anywhere: open(\"/usr/lib/locale/cs_CZ.ISO8859-2/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/lib/locale/cs_CZ.iso88592/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/lib/locale/cs_CZ/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/lib/locale/cs.ISO8859-2/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/lib/locale/cs.iso88592/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/lib/locale/cs/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs_CZ.ISO8859-2/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs_CZ.iso88592/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs_CZ/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs.ISO8859-2/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs.iso88592/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open(\"/usr/share/locale-langpack/cs/LC_CTYPE\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) I know absolutely nothing about locales, i18n, etc. However, I would like to get this test passing, and changing the test is not an option. If anyone can offer any insight into how to make this locale exist on Ubuntu 12.04 I would appreciate it greatly.",
"What is the significance of a mostly blank user card?",
"Installing QGIS with ECW support on Mac?",
"How much to store luggage at SFO for 24 hours?",
"Uniform continuity of $f(x) = x \\sin{\\frac{1}{x}}$ for $x \\neq 0$ and $f(0) = 0.$",
"LINQ on a LinkedList - iterate over LinkedListNode, not T",
"I'm using python in QGIS. I have a layer of polygons (its a result of some earlier dissolving and has no overlapping polygons but some holes and islands in holes etc). I want to build a new layer which contains one polygon representing a bbox of the first layer with each polygon cut from it. Essentially I want to \"invert\" the layer I have so that where the was polygon, now there is not, and where there was not polygon now there is. All inside a bounding box of the original layer. I can build a bbox easily and I tried to \"subtract\" the polygon layer from my new bbox polygon layer but the process slows to a stop and then crashes my PC. Here's the algorythm processing.runalg(\"qgis.difference\",\"path/to/polygon.shp\",\"path/to/bbox.shp\",\"path/to/result.shp\") I dont care about attributes (obviously). I just need to cut one set of polygons from one larger polygon. It seems so simple, I wish I could find a simple command or script to acheive this. As stated at the top I'm looking for a solution in python in QGIS.",
"How do I read / convert an InputStream into a String in Java? If you have a java.io.InputStream object, how should you process that object and produce a String? Suppose I have an InputStream that contains text data, and I want to convert it to a String, so for example I can write that to a log file. What is the easiest way to take the InputStream and convert it to a String? public String convertStreamToString(InputStream is) { // ??? }",
"Is the set of all possible binary strings countable? Determine whether the given sets are countable or uncountable. Justify your answers either with bijections or using results/methods. The set of all possible binary strings. Note a binary string is a sequence of 0s and 1s. If a binary string consists only of 0s and 1s, then is it even possible to find a bijection for it?"
] | medi_sts_stackexchange_dupe |
python: select a tab in the Tool Shelf | Get current editor toolbar tab via Python? | [
"Examples of topologies in which all open sets are regular? An open subset U of a space X is regular if it equals the interior of its closure, as we learn from the Wikipedia . Furthermore, the regular open subsets of a space (any space) form a complete Boolean algebra. I'm coming to this from logic and algebra, with not much background in topology. I can't figure out which topologies have \"interesting\" collections of regular open sets. For example, in the trivial topology and the discrete topology, every open set is regular, if I'm not mistaken. Those are not \"interesting\" topologies. I assume there are other topologies in which the space X and the null set are the only regular open sets. If so, those aren't \"interesting\" either, at least not with regard to their regular open ets. I believe what I'm looking for is topologies in which every open set is regular, other than the ones I've just described. Thanks for any help.",
"I am using the below script to move two days back when script runs at starting two days of the year and also check first and second days of every month and move two days back. if [$month="01"] && [$day="01"]; then date="$last_month/$yes_day/$last_year" fulldate="$last_month/$yes_day/$last_year" else if [$month="01"] && [$day="02"]; then date="$last_month/$yes_day/$last_year" fulldate="$last_month/$yes_day/$last_year" else if [ $day = "01" ]; then date="$last_month/$yes_day/$year" fulldate="$year$last_month$yes_day" else if [ $day = "02" ]; then date="$last_month/$yes_day/$year" fulldate="$year$last_month$yes_day" else date="$month/$yes_day/$year" fulldate="$year$month$yes_day" fi fi fi fi But my bad am getting the below error message Etime_script.sh: line 19: [06=01]: command not found Etime_script.sh: line 24: [06=01]: command not found",
"What is the correct way to create a single-instance WPF application?",
"What's the Best Way to Shuffle an NSMutableArray? If you have an NSMutableArray, how do you shuffle the elements randomly? (I have my own answer for this, which is posted below, but I'm new to Cocoa and I'm interested to know if there is a better way.) Update: As noted by @Mukesh, as of iOS 10+ and macOS 10.12+, there is an -[NSMutableArray shuffledArray] method that can be used to shuffle. See for details. (But note that this creates a new array, rather than shuffling the elements in place.)",
"Why do corn flakes clump together in milk when stirred? The Cheerios Effect is the name the scientific community has given to this phenomenon. When cornflakes or oats are mixed with milk and stirred, they tend to clump together. Why does this happen? Can physics explain this?",
"Is there a standard naming convention for XML elements? Is there any standard, de facto or otherwise, for XML documents? For example which is the \"best\" way to write a tag? <MyTag /> <myTag /> <mytag /> <my-tag /> <my_tag /> Likewise if I have an enumerated value for an attribute which is better <myTag attribute=\"value one\"/> <myTag attribute=\"ValueOne\"/> <myTag attribute=\"value-one\"/>",
"Regression - How do I know if my residuals are normally distributed?",
"What's the value of $\\sum\\limits_{k=1}^{\\infty}\\frac{k^2}{k!}$? For some series, it is easy to say whether it is convergent or not by the \"convergence test\", e.g., ratio test. However, it is nontrivial to calculate the value of the sum when the series converges. The question is motivated from the simple exercise to determining whether the series $\\sum\\limits_{k=1}^{\\infty}\\frac{k^2}{k!}$ is convergent. One may immediately get that it is convergent by the ratio test. So here is my question: What's the value of $$\\sum_{k=1}^{\\infty}\\frac{k^2}{k!}?$$",
"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?",
"One of the great 'coincidences' in physics is that the Sun happens to shine most brightly at exactly the wavelengths our eyes can see; it's an easy explanation that our eyes evolved to make the most out of what was available. However, this spectral window is also , with Rayleigh scattering and the ozone layer protecting us from the UV and strong water vapour absorption in the IR until way into the radio range. My question is: is this a coincidence? Were there geological factors that made it so? Or is it just lucky chance? (I also notice other planets in our neighbourhood weren't quite so lucky.) Or had atmospheric absorption been different our eyes would have tuned to whatever spectral window were brighter as a whole?",
"I have a speed-reading program I purchased with uses dotnet2. However, dotnet2 doesn't run on 64 bit wine. How would I install dotnet2?",
"How are the age restrictions followed by ICC for under 19 cricket tournaments? I have some doubts under this topic, Can a player aged 19 play under 19 international cricket match? (Since 19 is not under 19) Consider a player having birthday during the series/tournament. How the age will be calculated for him?",
"Given $f(x) = x + |x|$ for what values of $x$ is $f$ differentiable",
"What can a soldier requisition and for how long? In the military rank feature it says the soldier can \"requisition simple equipment or a horse for temporary use\". What qualifies as simple equipment, any simple weapon or something less complex than a catapult? Additionally, which part of the sentence is the \"for temporary use referring to, the simple equipment and the horse or just the simple equipment?",
"I've just installed Ubuntu 16.04 LTS on dual boot. I've looked for many solutions and tried them all but Chrome never starts; the logo appears on the left but no window opens. I downloaded the deb file on google chrome website and installed it through Ubuntu Software, but it doesn't start. I have tried installing it through the command line with sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb sudo apt-get install -f I have checked with uname -a and my system is 64 bit. I have also tried gdebi with the same result. My repository universe is up to date. I only have one display in settings>displays> so I can't turn off built-in display nor check the mirror display (I read it could be the problem as I also have a graphic card but it seems it is not in my case). Here is what I get in the command line when I try to run Chrome from it ( the message is the same, whatever the method I used to install Chrome): ~$ google-chrome [11831:11831:1122/114854.195473:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195493:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195508:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195515:ERROR:process_singleton_posix.cc(280)] Failed to create /home/basil/.config/google-chrome/SingletonLock: Permission denied (13) [11831:11831:1122/114854.195538:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195564:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195622:ERROR:chrome_browser_main.cc(1498)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. [11831:11868:1122/114854.209297:ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU process. Any new approach will be much appreciated",
"How to include a PDF image into a PDFLaTeX document",
"Why is rabies incurable? I'm still not sure about the mechanics that lead to rabies being incurable. I know that it can be treated before any symptoms show up, but why is it that once symptoms show the person is a dead man walking?",
"How do I install a different Python version using apt-get?",
"Probability that $m$ balls will fall into first box Suppose we have $n$ balls that are randomly distributed into $N$ boxes. Find the probability that $m$ balls will fall into the first box. Assume that all $N^m$ arrangements are equally likely. Attempt: First, we notice that for the first box, we have $n$ choices, and for the second box we also have $n$ choices, and so on. Thus, we have $n^N$ ways to place the balls into the boxes. Pick $m$ balls out of the total $n$ balls, that gives ${n \\choose m}$. In how many ways can these $m$ balls go into the first box? Well, in just ${1 \\choose 1 }= 1 $ ways. Thus, $$ P = \\frac{ {n \\choose m } }{n^N } $$ Is this correct?",
"How do I loop through or enumerate a JavaScript object?"
] | medi_sts_stackexchange_dupe |
Recurrence problem with a game of probability | Gambler's ruin and coin toss | [
"A dollar amount $\\${-}67.9{-}$ is divisible by 72. What is this number? A client buys 72 turkeys. On the receipt, 2 digits are missing, the first and the last. So, the total price is $\\${-}67.9{-}$. Find a way to make the price of each turkey round at the second digit without trial-and-error method. So, the answer is obviously $\\$5.11$/turkey, so $\\$367.92$ total. I found that with with 2-3 trial-and-error. I bypassed his problem by using python and made a script that tries every combination and assures it is divisible by 0.01. Please help me find a mathematical way of solving this problem.",
"Calling C/C++ from Python? What would be the quickest way to construct a Python binding to a C or C++ library? (I am using Windows if this matters.)",
"Retrieving Maxwell's equations from the minimum action principle I'm currently working at the start of Alexei Tsvelik's book Quantum Field Theory in Condensed Matter Physics. I'm kinda stumped on a few essential steps. Starting with the action: $$S = \\int dt \\int d^3 x \\mathcal{L}_{\\mathrm{EM}} = \\int dt \\int d^3 x \\left( -\\frac{1}{4} F_{\\mu \\nu} F^{\\mu \\nu} + j_\\mu A^{\\mu}\\right).$$ In the absence of any sources $j_\\mu = 0$ and $c=1$, which after pulling in the negative sign implies $$S = \\frac{1}{2}\\int dt \\int d^3 x \\,\\,\\left(E^2 - B^2\\right)$$ The next step is to take $\\vec{E} = -\\vec{\\nabla} \\phi + \\partial_t \\vec{A}$ and $\\vec{B} = \\vec{\\nabla} \\times \\vec{A}$. Letting $\\phi = 0$ and directly inserting these into the above yields: $$S = \\frac{1}{2} \\int dt \\int d^3 x \\,\\left( (\\partial_t \\vec{A})^2 - (\\vec{\\nabla} \\times \\vec{A})^2 \\right) $$ Now considering $\\vec{A} = \\vec{A}_0 + \\delta \\vec{A}$ as some minimal change in our vector potential, with $\\vec{A}_0$ gives a minimum for the action and putting this into the above expression we have: $$\\delta S = \\int dt \\int d^3 x \\left(\\partial_0 \\vec{A}_0 \\partial_0 \\delta \\vec{A} + \\left(\\vec{\\nabla} \\times \\vec{A}_0\\right)\\cdot\\left(\\vec{\\nabla} \\times \\delta \\vec{A} \\right) \\right)+ \\mathcal{O}(A^2)\\,\\,\\,\\,\\,\\,\\, (1)$$ where I have the term $$\\mathcal{O}(A^2) = \\int dt \\int d^3 x \\left( (\\partial_0 \\vec{A}_0)^2 + (\\partial_0 \\delta \\vec{A})^2 - (\\vec{\\nabla}\\times\\vec{A}_0)^2-(\\vec{\\nabla}\\times \\delta\\vec{A})^2\\right)$$ The next step is where I lose our author and go from \"Oh ok I get this\" to \"completely clueless\". He rewrites $\\delta S$ as: $$\\delta S = \\int dt \\int d^3 (\\delta x) \\vec{A} \\mathcal{F(\\vec{A}_0)}+ \\mathcal{O}(A^2)$$ where $\\mathcal{F} = \\frac{\\delta S}{\\delta A}$. What is the purpose of $x\\to \\delta x$ in the above expression? Is the functional derivative $\\mathcal{F}$ a vector quantity? He has it bolded with a bolded $\\vec{A}$ in the above expression. One last question takes the above expression further. We assume $\\delta \\vec{A}$ vanishes at infinity, as it should, and integration by parts yields: $$\\delta S = -\\int dt \\int d^3 x \\left( \\partial^2_0 \\vec{A}_0 - (\\vec{\\nabla} \\times \\vec{\\nabla})\\times \\vec{A}_0 \\right)\\delta \\vec{A}\\,\\,\\,\\,\\,\\,\\,\\, (2)$$ How exactly did we go from (1) to (2)? Thanks I appreciate your time!",
"I am curious if it is possible to have a VPS that has data on it that is not readable by the hosting provider, but is still usable on the VPS. Obviously there are some things that you could do to prevent them from reading anything... You could change all the passwords, including root. But then, they could still use some alternate boot to reset the password, or they could just mount the disk another way. So, you could encrypt the disk or at least some of the contents on the disk. But then it seems that if you decrypted the content, they could still \"peer in\" to see what you were doing at the console, because after all, the virtualization platform should allow this. And even if you could stop that, it seems they could just read the RAM of the VPS directly. Of course, the VPS can store data on it and as long as the key is not on the VPS and the data is never decrypted there, then the host cannot get the data. But it seems to me that if any point the data on the VPS is decrypted...for use on the VPS...then the hosting provider can get the data. So, my two questions are: Is this correct? Is it true that there is no way to 100% secure data on a VPS from a host from seeing it, while keeping it accessable by the VPS? If it is possible to make it 100% secure, then how? If it is not possible, then what is the closest you can get to hiding data from the web host?",
"In my team, we use Selenium for automation of functional testing. We also do a lot of manual regression testing to make sure the appearance of the rendered web pages is ok. I would like to develop a framework, that would allow comparing screenshots of the \"base\" live web page, and the web page on the test server after applying the software update. I believe this will drastically reduce the amount of manual regression testing we need to do. I would like the framework to be able to detect portions of web pages that were rendered differently from each other. An example of such functionality can be (first image in the article) I have never worked with image processing and would need ideas on what algorithms are already publicly available that would help me with the task. From what I can see, the simple pixel-by-pixel comparison would not work well, because it does not account for the concept of elements. Or am I approaching this problem from a completely wrong direction?",
"What EXACTLY happens when I ask to delete my account? I have meticulously read through similar questions, answers and their comments but I still do not understand how the deletion is done. From what I understand I email the customer service and then they do what exactly? 1) They disable my account so that I can no longer use it? 2) They reassign all of my questions and answers to some other account? To which one? 3) They delete all my questions and answers so that they go away from public view? What is the flexibility (if it exists) of the deletion procedure? Is it possible to erase the traces of my former association with the site. Can I request any of the following be done? 4) All of my questions and answers be deleted from public view? 5) Some of my questions and answers be deleted? If yes what criteria? 6) Can I have all of my contributions be assigned to some other account which runs as sort of a \"collective account\" and already has tons of content so that it doesn't happen like my contributions just move to some other url but still stay grouped under that location and therefore that location can be discovered as representing my account? 7) Can I have my contributions dispersed through several \"collective accounts? 8) Can my current public name be removed from any comments to my posts so that my posts cannot be identified later as once belonging to me? Please be polite with me. I wouldn't have asked if I have found the answer in the other questions. The other questions are also old and it is not clear what the situation is as per 05/2012. UPDATE (for those interested): I asked the Stackoverflow team about the procedure. Apparently none of the points 2-8 I asked above are possible, only 1 will take place. The link to my user page from my contributions is going to be removed and replaced with non-clickable text of an anonymized user name like \"user1234\". Whether this number is the same as my current user_id is not clear. That's all the information I got. I'm going now to rename myself to \"Anonymous\" then request the account deletion. Those interested in the procedure will witness the exact result on this page. Farewell.",
"Ok, so PHP isn't the best language to be dealing with arbitrarily large integers in, considering that it only natively supports 32-bit signed integers. What I'm trying to do though is create a class that could represent an arbitrarily large binary number and be able to perform simple arithmetic operations on two of them (add/subtract/multiply/divide). My target is dealing with 128-bit integers. There's a couple of approaches I'm looking at, and problems I see with them. Any input or commentary on what you would choose and how you might go about it would be greatly appreciated. Approach #1: Create a 128-bit integer class that stores its integer internally as four 32-bit integers. The only problem with this approach is that I'm not sure how to go about handling overflow/underflow issues when manipulating individual chunks of the two operands. Approach #2: Use the bcmath extension, as this looks like something it was designed to tackle. My only worry in taking this approach is the scale setting of the bcmath extension, because there can't be any rounding errors in my 128-bit integers; they must be precise. I'm also worried about being able to eventually convert the result of the bcmath functions into a binary string (which I'll later need to shove into some mcrypt encryption functions). Approach #3: Store the numbers as binary strings (probably LSB first). Theoretically I should be able to store integers of any arbitrary size this way. All I would have to do is write the four basic arithmetic functions to perform add/sub/mult/div on two binary strings and produce a binary string result. This is exactly the format I need to hand over to mcrypt as well, so that's an added plus. This is the approach I think has the most promise at the moment, but the one sticking point I've got is that PHP doesn't offer me any way to manipulate the individual bits (that I know of). I believe I'd have to break it up into byte-sized chunks (no pun intended), at which point my questions about handling overflow/underflow from Approach #1 apply.",
"The thing with these tags is, you can always (or almost always) use a specific product/technology/language tag which would render the company-name tag completely redundant (see Appendix C for sloppy non-proof). For example, what relevant information would tag add to already tagged with ? What would tag add to already tagged with ? Another way of looking at this: how much useful information do you lose if you don't tag a question with a company name? Note: I'm not talking about brand/company/organizations like , , , because those names also refer to websites/web services with which you can interact via API or from which you can extract data. Appendix C: The "about" test The relationship between a tag and a question can be expressed as such This question is about [tag] In case of , This question is about [microsoft] Fair enough. But in reality people are using these company-name tags like this This question is about something developed by or related to [microsoft] But if that's the case, you might as well just go with This question is about [something developed by or related to microsoft] where can be , , ... you get the idea.",
"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",
"iPhone Apps section not showing up in iTunes",
"There are a number of services that will scan a website for vulnerabilities and allow the display of a trustmark image if the site passes their tests. This allegedly increases the level of trust a potential client feel toward the website and therefore makes them more likely to complete a purchase. McAfee claims it has studies which show significant increases in sales. Should I take their word for it? What sort of increase should I really expect, if any? Are these types of services worth the prices they charge?",
"Does anyone know how to remove this dead bolt that has no screw heads to use a screw driver? Here's a picture below.",
"I want to show that any two disjoint compact sets in a Hausdorff space $X$ can be separated by disjoint open sets. Can you please let me know if the following is correct? Not for homework, just studying for a midterm. I'm trying to improve my writing too. My work: Let $C$,$D$ be disjoint compact sets in a Hausdorff space $X$. Now fix $y \\in D$ and for each $x \\in C$ we can find (using Hausdorffness) disjoint open sets $U_{x}(y)$ and $V_{x}(y)$ such that $x \\in U_{x}(y)$ and $y \\in V_{x}(y)$. Now the collection $\\{U_{x}: x \\in C\\}$ covers $C$ so by compactness we can find some natural k such that $C \\subseteq \\bigcup_{i=1}^{k} U_{x_{i}}(y)$ Now for simplicity let $U = \\bigcup_{i=1}^{k} U_{x_{i}}(y)$, then $C \\subseteq U$ and let $W(y) = \\bigcap_{i=1}^{k} V_{x_{i}}(y)$. Then $W(y)$ is a neighborhood of $y$ and disjoint from $U$. Now consider the collection $\\{W(y): y \\in D\\}$, this covers D so by compactness we can find some natural q such that $D \\subseteq \\bigcup_{j=1}^{q} W_{y_{j}}$. Finally set $V = \\bigcup_{j=1}^{q} W_{y_{j}}$, then $U$ and $V$ are disjoint open sets containing $C$ and $D$ respectively. What do you think?",
"When you hit up a site, such as cnn.com, does the TCP/IP packet contain the MAC address of your network card? Could cnn.com theoretically record my MAC address?",
"I add video files to the video editor, Both audio and video channels appear but only the audio plays. The video is just a white box. Anyone know what is wrong. Added video in WMV. Also tried MP4 same thing.",
"Can I check if the C# compiler inlined a method call? I'm writing an XNA game where I do per-pixel collision checks. The loop which checks this does so by shifting an int and bitwise ORing and is generally difficult to read and understand. I would like to add private methods such as private bool IsTransparent(int pixelColorValue) to make the loop more readable, but I don't want the overhead of method calls since this is very performance sensitive code. Is there a way to force the compiler to inline this call or will I do I just hope that the compiler will do this optimization? If there isn't a way to force this, is there a way to check if the method was inlined, short of reading the disassembly? Will the method show up in reflection if it was inlined and no other callers exist? Edit: I can't force it, so can I detect it?",
"Zero-pad digits in string I need to cast single figures (1 to 9) to (01 to 09). I can think of a way but its big and ugly and cumbersome. I'm sure there must be some concise way. Any Suggestions",
"When is it appropriate to use SQL Server Developer Edition? Do you use SQL Server Developer Edition on server-class machines in DEV and STAGING environments? I am working on a large project where (if it passes the proof of concept stage) we will have several large geographically distributed enterprise class database servers running SQL Server 2012 Enterprise Edition. We will have a production environment will initially have 3 servers, our Staging environment will have a minimum of 3 servers, and our Development environment will have 1 server (hosting three instances). I was under the impression that we would only need to acquire Enterprise licences for the actual production servers, and we could get by with developer edition in our developer and staging environments because they are not \"production\". Other sources have told me that we need to have an enterprise licence on all of the above mentioned machines, and that the developer edition is only meant for a single developer on their workstation. Since developer edition has all the sexy features of Enterprise, I can't really see the value of it on a workstation class machine, especially for developing and testing the type of high availability system we are building. If we have to fork out Enterprise licences for a dev server, that will just about kill our proof of concept stage, thus killing the project. Forcing an enterprise licence on a staging environment will make management just want to skip staging altogether.",
"Program does not wait before output",
"Tony's Private life in Spider-Man: Homecoming I really don't know how to do this in terms of spoilers, but here goes... After watching the end of Homecoming, it appears that Tony and Pepper are very much back together. Is there any in-universe explanation for this change from the way the universe seemed to be in Civil War?"
] | medi_sts_stackexchange_dupe |
Need a javascript the cheks the checkbox if it 'checked' | Javascript to check whether a checkbox is being checked or unchecked | [
"Pressing \"W\" turned my cursor into a circle",
"How do I install Python 3.6 using apt-get?",
"Arbitrary precision spline interpolation",
"I have two separate Armatures that I want to join together. I have no problem combining the meshes, but the problem is the bones/rigs. When you do the Object mode > join, I lose all of my weight paint on one of my armatures. Is there any way I can join two separate armatures and keep all the weight paint. I turn my models into XPS and use XNA Lara to view them, but XNAlara cannot use both armatures at once.",
"Old TV mini-series with a living brain in a lab",
"Removing trailing newline character from fgets() input",
"Does the OP of a flagged post get comment notifications if the post is deleted by mods?",
"What is a wave?",
"I am using a local (company) network which provides some servers which are also available from the outside (through one public static IP and port forwarding). And there are some domains which are pointing to the public IP. What I want is my domains pointing to the local IPs when being inside the local network. I know I will need a local (internal) DNS server which changes the domains to the IPs. I am able to setup the DHCP server to deliver the DNS to the local clients (so this won't be any problem). What kind of DNS server software can I use to: repeat all domains like a DNS would do that but for only my domains use the local values",
"Sending a JavaScript variable to a PHP function I am trying to send a value in JavaScript variable to Drupal. I am calling an external js file in hook_nodeapi(). I want to send a value from this external js file to Drupal, and want to use this value in Drupal in hook_block. For example hook_nodeapi() { // call(external.js) } external.js var sendData =10; hook_block { case view: // need to access sendData value } I tried this using cookies, but I think that is not the best way. How can this be done?",
"Deleting elements from std::set while iterating",
"different font while using url I'm having troubles while using the url command in my bibliography. I mean: 1) \\bibitem{[8]} {\\url{http://projects.webappsec.org/w/page/13246989/Web20Application20Security20Statistics\\#Tableofcontent}} 2) \\bibitem{[5]} Justin~Clarke ``SQL Injection Attacks and Defense'', Syngress Publishing, Inc.2009 Unfortunately font 1) is different from 2). What should I do in oder to get the same font for both items? I'd like the font used in 1) to be identical to the one displayed in 2)",
"Get polynomial interpolation formula",
"Any command that starts with $ returns command not found How can I fix this? I am using 16.10 Ubuntu.",
"Get lists of dependent picklist options in Apex",
"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...",
"\"Looking forward to hearing from you\" - May I omit \"I am\" at the beginning?",
"bases and binary I can not figure this out. I started off by making a table and putting the base(2) on one side, the number in the middle and the remainder in the third row and for 2010 I got 11111011010 but I cant find the next two numbers please help and please explain in detail. Thank you =) to express 2010 in base 2, we use exactly 8 ones and 3 zeros. find the next two integers in base 2 that use the same number of ones and zeros",
"Find all functions $ f : \\Bbb R \\to \\Bbb R$ which satisfy $f(x)f(y) = f(x + y) + xy$ for all $x, y ∈ \\Bbb R$. Find all functions $f : \\Bbb R \\to \\Bbb R$ which satisfy $f(x)f(y) = f(x + y) + xy$ for all $x, y \\in \\Bbb R$.",
"VirtualBox: using physical partition as virtual drive Background: I am using VirtualBox installed on Windows 7. From within VirtualBox I am using Xubuntu as a virtual OS. The reason I chose this approach is so that I don't have to keep turning off Windows and rebooting from Xubuntu every time I needed to switch OSes. And VirtualBox's seamless mode is pretty amazing to allow me see Xubuntu and Windows 7 all in one screen. Issue: Now I am thinking of a way to have Xubuntu more integrated into my system. By this I mean I want to have a physical partition for Xubuntu. But I want to still have the feeling of the seamless mode. Question: So finally, my question is: is it possible to load a partition in VirtualBox as a virtual OS? Case examples: Ideal scenario would be: I physically boot up and login to Windows 7. Now I want to access Xubuntu, so I load VirtualBox and access my Xubuntu partition without rebooting. And the other way around too, i.e. I boot up the system, login to Xubuntu, and can access the actual Windows 7 partition through VirtualBox. Other info: Please note that I am not talking about getting access to files, as I have a completely separate partition for my files, and am very familiar with VirtualBox's Shared Folders option."
] | medi_sts_stackexchange_dupe |
Did I comprimise this server? | How do I deal with a compromised server? | [
"literally as a hyperbole Possible Duplicate: I have seen a lot of backlash in internet media against people using the word literally to mean something not literal. Something like \"he was literally as big as a house\" to mean someone was very big I think this comic sums up the anti literal movement well Is this actually grammatically incorrect or can the word \"literally\" be a hyperbole strengthening a metaphor?",
"The Many Memes of Meta Catchphrases and concepts that spread from person to person are known as [memes], which, courtesy the Internet, can now explode across the Earth like a highly contagious virus (hence "going viral"). As with their real-life counterparts, some infectious diseases are global (pandemic), while others are endemic to specific regions. Stack Overflow, and now even more predominantly Meta Stack Exchange, have seen more than their fair share of these pathological social constructs spread through the user base. They are now ingrained units of our collective culture as SOpedians (a term which I hate, by the way). Just as travelers' immune systems can be assaulted by new diseases in new places, new users are increasingly likely to be miffed by an ingrained meme and left sitting scratching their heads. I therefore propose that this space be used to document the memes endemic to Stack Exchange's culture. Each meme should be listed in a separate answer and I hope that we as a community will be able to provide greater context to each one. Please actually explain each meme in a way understandable to those not already in the know. Especially considering that a lot of these memes aren't really understandable to newer users who weren't around in the early years of the network, or are based on system features that no longer exist. On other Stack Exchange sites [memes]:",
"Fixed page header overlaps in-page anchors",
"I want to change the default location of \"Save a screenshot to Pictures\" to save it to Desktop. If that is not possible, is there any other way to do it? I am using Ubuntu GNOME 17.04. NOTE: I don't want to change the location with dconf-editor as it changes the location of screenshot applet and not of the shortcut I require.",
"What units does the rotation argument expect when creating objects? I want to create a lamp in blender using python. I want to give the lamp some rotation. As per the I can set the initial rotation using a tuple of numbers in the function call like this rotation=(0.0, 0.0, 0.0) this is the specifc documentation for the rotation parameter: rotation: (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object What units is this parameter specified with? It does not seem to be in degrees or radian. When I try with my example code here where I use rotation=(0, 1, 0) to get 1 degree on the y axis. I end up getting 57.296 degrees after running the code. import bpy bpy.ops.object.lamp_add(type='AREA', view_align=False, location=(0, 0, 0), rotation=(0, 1, 0), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False))",
"Apply a string replacement on the citation as returned by \\cite I have biblatex with options \\usepackage[backend=bibtex, style=authoryear]{biblatex} The citations made with \\cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need \\cite{SmithsPaper} % --> Smith, 2019 \\cite{MyPaper} % --> Manny, 2019 %%% \\newcite{SmithsPaper} % --> Smith, 2019 \\newcite{MyPaper} % --> MC, 2019 I have tried with the package xstring to do something like \\newcommand{\\newcite}[1]{% \\begingroup \\edef\\@temp{\\cite{#1}}% \\StrSubstitute{\\@temp}{Manny}{MC} \\endgroup } The problem is that I can't figure out how to tell LaTeX to expand \\cite{#1}. As a result the citation comes out without the replacement. If I change \\cite{#1} by simply #1 and I call \\newcite{bla Manny bla} it gives bla MC bla as expected. It shouldn't be relevant but I'm using this within the beamer documentclass.",
"If I press the \"include alpha-button\" in the Mix-Color-Node, I get white borders. Otherwise i've got a perfect alpha but no blue background.",
"What does \"Meta\" mean? I am fairly new to Stack Overflow and just stumbled across Meta Stack Overflow. I can't seem to figure out what the purpose of the \"Meta\" site is. Can someone please explain it to me?",
"The following example must be compiled with XeLaTeX to reproduce the issue. % arara: xelatex \\documentclass{article} \\usepackage{fontawesome} \\begin{document} Text Text \\faMobilePhone\\ Text Text \\end{document} Normally I am using TeXworks to compile and view the output. With the internal viewer I am getting the desired result. The following image demonstrates it: However if I open the pdf with Preview (viewer of Mac) the scaling of the icon fails. If I open the pdf file with Adobe Acrobat Reader the icon is still scaled correctly. If I print the page my printer is also not able to scale the icons correctly. If I use LuaLaTeX everything seems to work correctly. Can you reproduce the issue and do you know a solution?",
"A message may be accompanied with a digital signature, a MAC or a message hash, as a proof of some kind. Which assurances does each primitive provide to the recipient? What kind of keys are needed?",
"How to re-enable the systray (indicator panel) after latest updates",
"Find the volume of rotation about the y-axis for the region bounded by $y=5x-x^2$, and $x^2-5x+8$ Here is an image: Normally I can do this question, but this one is tricky because since we are rotating about the y-axis, and we are quadratic, when I solve for $x$ I get two answers, one positive and one negative. What I mean is that if you look at the graph $5x-x^2$, then there are two halves, and if you look at the green line, that's one half of the curve (positive one), and the red half is the negative one. Since we can see both the negative and positive sections in this graph, and both are being rotated, I wasn't sure how to create the equation that I can later integrate. Usually in the problems I do, the negative doesn't exist, and so it's trivial. In this case I am not sure.",
"quick selection of a random row from a large table in mysql",
"Help with creating a symbolic link I'm confused with how symbolic links work. I hope someone can guide me in the right direction. I want to put a demo online from our software, which normally only runs locally on a Mac Mini. So I put all the files in the var/www from my Ubuntu 12.04 server installation. There are a lot of hardcoded links in the software which point to /Applications/XAMPP/xamppfiles/htdocs/narrowcasting Of course, I could change all these code on my html/php files in /var/www, but that would be quite annoying. I hope I can fix this by creating a symbolic link. For example, I have a directory called thumb in /var/www/thumb. The PHP code is trying to put an image in /Applications/XAMPP/xamppfiles/htdocs/narrowcasting/thumb. Can anyone give me a tip how to achieve this with a symbolic link?",
"Similes and Metaphors - are similes a subset of metaphors?",
"Is it safe to put a clothes washer outdoors? I will be short on usable indoor space for a while, but want to be able to wash clothes on site. Are there any issues with putting a washer (and perhaps, a dryer) outdoors? Perhaps it needs to be protected from the rain. Would an EZ-UP style canopy be sufficient?",
"How many triples $(x,y,n)$ are there such that $x^n - y^n = 2^{100}$",
"A thin-walled container of mass $m$ floats vertically at the separation surface of the two liquids of density $ρ_1$ and $ρ_2$ . The whole mass of the container is concentrated in the part of height $h$. The question is to determine the immersion depth $h'$of the container in the lower liquid if the bottom of the container has a thickness $h$ and an area $S$ and if the container itself is filled with the liquid of density $ρ_1$. I applied the fundamental principle of the statics on the container $Balance$ $Sheet$: The weight of the container ($-mg$) The buoyancy force applied by the fluid with density $ρ_2$ ($ρ_2gSh$) The weight of the fluid with density $ρ_1$ (-$ρ_2gSh'$) I summed up the forces and set them to zero and find my $h'$ but then realised that the fluid with density $ρ_1$ applied also a buoyoncy force on the top of the container , and the fluid with density $ρ_2$ applied a buoyoncy force on the other fluid. Where's the problem ?",
"Cannot see files in my external HDD",
"Forge CBC-MAC by creating a new message, given the MAC of two messages"
] | medi_sts_stackexchange_dupe |
For continuous distribution $P(X_3<X_2<\max(X_1,X_4))$ equals? | Probability of $p(x_1<x_2<\max(x_3,x_4))$ | [
"Why can't the Polynomial Ring be a Field? I'm currently studying Polynomial Rings, but I can't figure out why they are Rings, not Fields. In the definition of a Field, a Set builds a Commutative Group with Addition and Multiplication. This implies an inverse multiple for every Element in the Set. The book doesn't elaborate on this, however. I don't understand why a Polynomial Ring couldn't have an inverse multiplicative for every element (at least in the Whole numbers, and it's already given that it has a neutral element). Could somebody please explain why this can't be so?",
"Possible Duplicate: On Windows I am able to switch between keyboard layouts by pressing Alt+Shift. Is there a similar keyboard shortcut in Ubuntu?",
"How to understand the Ubuntu file system layout?",
"Run cmd.exe in Administrator mode without explorer.exe I've recently had trouble with explorer.exe not working. I found a possible solution , using . The problem is that I cannot \"right-click Command Prompt, and then click Run as administrator\", since explorer.exe does not work for even a second without crashing. I tried to use the to open cmd as administrator, but I get an error 1327 because I have a blank password. My question is, is there any other way to run cmd.exe with admin privileges? If not, is there any way to run sfc.exe without admin privileges? If not, does anyone have solution to my original problem of explorer.exe stopping and restarting ad nauseam?",
"How does the \"this\" keyword work?",
"So basically as it stands I have a laptop which has no cd/dvd drive, and I don't have a usb drive. The laptop has windows 7 installed with ubuntu 11.04 installed through wubi. What I want to do is remove windows completely, and make ubuntu the only OS installed on the system. Is there a way to do this without re-installing ubuntu? (i.e. can I take my wubi install away from windows?) or is there a way to from inside ubuntu have it run the ubuntu iso somehow so I can just wipe the system and install it fresh? (even if it means I need to have an e.g. 2gb partition just for the image to reside in).",
"Add leading zeroes to number in Java?",
"Powers of infinite cardinals in the generic extension",
"Prevent Windows 7 from sleep + power button hook I'm used to not shutdown Windows but to sleeping it. I set up power button (PB) action to do it. When I want to shutdown I must go to start -> Shutdown. That's OK. Now I think of a mechanism that will be hooked up to a PB. Should be started after I press PB but before OS will go to sleep. Something that will check few conditions (i.e. running backup, running AV scan, ...) and if true (something is running) prevent go to sleep. Optionally: It would be nice to start the same \"mechanism\" before restart and shutdown (invoked not only from Start menu, but also by other software (i.e. installers) but with option to allow some sources (i.e. UPS software) Generally: How to run something after PowerButton but before Sleeping. How to code (C#.NET, vbs, batch (preferred)) sleep prevention (cancellation).",
"Series as an integral (sophomore's dream) I need help with this exercise. I need to prove $$\\int_{0}^{1}x^{-x}\\ dx=\\sum_{n=1}^{\\infty}n^{-n}$$ I think I should use some convergence theorem, but I'm stuck. Thanks a lot!",
"I am trying to integrate one Salesforce org to other org by using Oauth setup, I wanted to use use consumer key and consumer secret key in my REST class to connect with the org, after connection part completion, I want to access Get(), Put(), Post(), etc. Including the ability to set Oauth and Authorization headers needed for Salesforce Rest API calls. Actually I'm new in REST implementation so can you please explain me by using code samples.",
"Why does the following code sometimes causes an Exception with the contents \"CLIPBRD_E_CANT_OPEN\": Clipboard.SetText(str); This usually occurs the first time the Clipboard is used in the application and not after that.",
"A closed ball in a metric space is a closed set",
"Why $¬¬\\bot \\not\\in PROP$? I'm reading Dalen's Logic and Structure. He gives the definition of the set $PROP$: Definition $\\bf2.1.2$ The set $PROP$ of propositions is the smallest set $X$ with the properties $\\begin{array}{rl} \\rm(i)&p_i\\in X(i\\in N),\\bot\\in X,\\\\ \\rm(ii)&\\varphi,\\psi\\in X\\Rightarrow(\\varphi\\wedge\\psi),(\\varphi\\vee\\psi),(\\varphi\\to\\psi),(\\varphi\\leftrightarrow\\psi)\\in X,\\\\ \\rm(iii)&\\varphi\\in X\\Rightarrow(\\neg\\varphi)\\in X.\\\\ \\end{array}$ Then there are some examples: And he says that $¬¬\\bot \\not\\in PROP$, but I don't understand it. Isn't $¬¬ \\bot=\\bot$ due to the property of double negation? Considering this is true, $\\bot\\in PROP$. Of course, in this question, I'm pressuposing some kind of evaluation, that $¬¬ \\bot$ becomes $\\bot$ due to the law of the double negation, but perhaps it should be hold in an unevaluated form. Ex:. $1+1=2$ because we presupose the $1$ merges with $1$ and then becomes two. If the merge (evaluation) does not happen, then I guess: $$1+1=1+1$$ $$2=2$$ $$2\\neq 1+1$$ $$1+1\\neq 2$$ Perhaps it's something like that, I took the idea from Mathematica. Sometimes it does treats things as different in the absence of full evaluation.",
"I am a beginner to python coding in GIS. I want to calculate the total number of counts in raster attribute table. In order to do that: I would like to build a attribute table of raster data use a loop through attribute table using ARCPY.SearchCursor() Therefore, I wrote a code to build an attribute table. However, I am getting an error while running the code and not able to figure out the error in the code. Code: import arcpy # Create the geoprocessing object import arcgisscripting gp = arcgisscripting.create() #To overwrite output arcpy.env.overwriteOutput = True #Set environment settings gp.workspace = \"C:/Subhasis/Test/raster-read\" #Build Raster Attribute Table gp.BuildRasterAttributeTable_management(\"sti-9\", \"Overwrite\") Error Message: Traceback (most recent call last): File \"C:/Subhasis/Test/raster-read/test.py\", line 15, in <module> gp.BuildRasterAttributeTable_management(\"sti-9\", \"Overwrite\") ExecuteError: ERROR 000049: Failed to build attribute table Failed to execute (BuildRasterAttributeTable).",
"I have this value How to read that in English? translating from my native language, I would say Ten base of nine. but is that really correct?",
"Trying to rig a Map I'm trying to make a \"simple\" accordion map in Blender 2.79, for animated and still render purposes. I will map graphics onto each face, and I don't want the faces to get stretched/distorted. I do however, want to be able to create a hinge-type rig, to be able to fold open and close the map like an accordion without having to manually position each face edge (which would distort the faces anyways). I looked into using an Armature, but the faces got distorted. I tried to use a Hinge constraint, but I if understand correctly, it would require each flap of the map to be a distinct element - I don't want that. I found solutions involving Weight painting, but I don't think I want any of the map's flaps to be anchored - also there is only one face per element and I don't know if Weight Painting is appropriate. How can I rig this map properly to open it and close it without any distortion?",
"Group theoretic meaning of natural isomorphisms between certain functors So imagine you have a group $G$ and we consider the set of group homomorphisms from $\\mathbb{Z}$ to $G$ specified by $\\forall g$ $\\in G$ $\\exists$ $\\phi(1)=g$. Each of these homomorphisms is in 1-1 relation with the elements of $G$. Consider groups for a moment in the context of category theory, viewing the groups as one object categories and thereof group homomorphism as functors. What would a natural isomorphism mean in group theory terms for G? My thoughts are that the natural transformations equate to maps between homomorphisms and since the homomorphisms are in 1-1 relation with the elements of G, then a natural transformation is a map between group elements, i.e another element of the group. I'm not entirely convinced by this. Anyway continuing my reasoning a natural isomorphism is a map between the homomorphisms that has an inverse, the thing is in relation to the elements of G this is every element? Furthermore I'm looking to find an equivalence class defined by this natural isomorphism, is this just a collection of the elements that are each others inverses? Thanks in advance for any assistance.",
"if command in find -exec I was just trying to list all directories and files under current directory and also write if they are file or directory with the following command: find -exec echo `echo {} : ;if [ -f {} ]; then echo file; else echo directory;fi` \\; I know it is a silly command, I can use other things like -type f or -type d, but I want to learn why that piece of code did not work as I expected. It just prints directory to all of them. For example while output of find is: . ./dir ./dir/file output of my code is : . : directory ./dir : directory ./dir/file : directory And output of echo `echo dir/file : ;if [ -f dir/file ]; then echo file; else echo directory;fi` is dir/file : file I am working on Ubuntu 14.10 and using find (GNU findutils) 4.4.2",
"Having trouble with Windows XP Read Only Settings on a folder I am having trouble with a folder that needs to be read-write for iTunes to open. For a while it was read-write, but it seemingly inexplicably changed to read-only now. When I try to change it back from that, it says it does it, but as soon as I try to open iTunes or the properties for the folder it will be listed as read-only again. If anyone knows how I can change the folder from read-only so that it will be permanently read-write it would be incredibly helpful. How can one change the properties of a file/folder from read-only to read-write in Windows XP?"
] | medi_sts_stackexchange_dupe |
How do I find the first case of a word being present in a string using and change it LINQ? | How do I replace the *first instance* of a string in .NET? | [
"Proof that $1729$ is the smallest taxicab number",
"php/mysql with multiple queries",
"In MySQL, how do I get a list of all foreign key constraints pointing to a particular table? a particular column? This is the same thing as , but for MySQL.",
"I'm wondering a point about N'Zoth. He will summon my dead deathrattle minions, but will he do it in a specific order (death order, mana cost order, ...) ? Or randomly ? If there is already a few minions on my side of the board, I'd like to predict which minions will be summoned and which ones will not (because board is full). If it's by death order, this generally means lower cost minions (like fire bat) will be summoned before the interesting big drops (sylvanas, highmane or so).",
"Why does locking the rear tires on a vehicle cause it to spin? are often used in motor-sports and stunt driving to turn around tight corners. Essentially, the driver applies the handbrake as he enters the turn, in order to \"kick out\" the back end and slide the vehicle around the corner. However, applying the handbrake hard enough to lock the rear wheels while traveling straight will cause the rear of the vehicle to \"kick out\". Given enough speed, the vehicle will spin 180 degrees. Why do sliding wheels on a car want to \"get in front\" of rolling wheels?",
"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.",
"If $p,q$ are positive quantities and $0 \\leq m\\leq 1$ then Prove that $$(p+q)^m \\leq p^m+q^m$$ Trial: For $m=0$, $(p+q)^0=1 < 2= p^0+q^0$ and for $m=1$, $(p+q)^1=p+q =p^1+q^1$. So, For $m=0,1$ the inequality is true.How I show that the inequality is also true for $0 < m < 1$. Please help.",
"Cannot upgrade unsupported version of Skype for Linux (v5)",
"Is there a way to enable/disable a wireless network interface via the command line (so I can put it in a bat file)? When I'm in the office I use a wired connection, but Windows still occasionally bugs me about my wireless connection not being connected (even though I turned off the option for notifying me when there's no connectivity). I'm guessing the only way to stop it from bugging me is to disable the interface, but I'd rather not have to go into the network settings every time I need to do so. I'd like to set up a bat file or a shortcut that I can use to enable/disable the wireless (preferably a single one that toggles the current state), and then just set up a keyboard shortcut for that. I just have no idea how to do so from the command line.",
"How do electromagnetic waves travel in a vacuum? This is perhaps a total newbie question, and I will try to formulate it the best I can, so here it goes. How does an electromagnetic wave travel through for example, the vacuum of space? I usually see that waves are explained using analogies with water, pieces of rope, the strings of a guitar, etc, but it seems to me that all those waves need a medium to propagate. In fact, from my point of view, in those examples the wave as a \"thing\" does not exist, it's just the medium that moves (involuntary reference to The Matrix, sorry). But in space there is no medium, so how does a wave travel? Are there free particles of some sort in this \"vacuum\" or something? I believe , so supposedly there isn't a medium for the wave to travel through. Moreover, I've seen other answers that describe light as a perturbation of the electromagnetic field, but isn't the existence of the field, potential until disturbed? How can it travel through something it does not exist until it's disturbed by the traveling light in the first place? (this last sentence is probably a big misconception by me).",
"Best practices for catching and re-throwing .NET exceptions",
"Listing multiple compound words",
"Quick question: what is the compiler flag to allow g++ to spawn multiple instances of itself in order to compile large projects quicker (for example 4 source files at a time for a multi-core CPU)?",
"Will taking a gap year after my Master's degree improve or degrade my potential of doing a PhD?",
"Do Inverters change the lithium-ion batterie's mA capacity and wattage? let me say if I have a pack of lithium batteries connected in series and parallels, and i want to connect it to an Inverter, BUT...BEFORE I connect it to inverter, lets say it gives out 12 volts \"hypothetically\" some informations like 3.7 volt batteries, and 2500 mAh, lets say then the pack gives 12 volts in DC and hypothetically again I calculate it ((still in DC)) is ..... W = V* Amp ... then it means wattage = 11.1 V * 5 Ah which is 55.5 W. then we got 55.5 watts, THEN....after we want to change the dc into ac it gives you 120 volts \"please hypothetically\" just answer me this, ARE the Wattage And Ampere are remains the same as DC? what would it be the result after AC?",
"How to prove $b=c$ if $ab=ac$ (cancellation law in groups)?",
"What is the difference between `grep`, `egrep`, and `fgrep`? Can anyone tell me the technical differences between grep, egrep, and fgrep and provide suitable examples? When do I need to use grep over egrep and vice versa?",
"What ultimates can be damage boosted by Mercy? What ultimates can be damage boosted by Mercy? We already know that , but are there other ultimates that can be damage boosted by Mercy? Can all ultimates be damage boosted by Mercy?",
"Windows 8 removes Grub as default boot manager I have a Sony VAIO S series with Windows 8 preinstalled, and I installed Ubuntu 12.10 on a new partition. When the PC boots Grub is display, and I can choose between Windows 8 (didn't worked at the beginning, had to change Grub settings) and Ubuntu 12.10. When I select Ubuntu 12.10 everything is OK, but when I use Windows 8, and I restart Grub isn't displayed anymore (Windows 8 boots immediately). I booted a Ubuntu 12.10 LiveUSB, used efibootmgr, and found out that Windows 8 (each time it boots) changes EFI default bootloader from Grub to Windows Boot Manager. How do I change this in Windows 8? I read something about bcdedit, but it does not work or I don't know how to use it...",
"Why does the Stern–Gerlach quantum spin experiment conflict with classical mechanics? My understanding of the Stern–Gerlach experiment is that neutral (0 total charge) particles are sent through a non-homogeneous magnetic field, with the expectation that the field will push that particle's path higher or lower on a detector because of the collective spin of that particle. While the detector can detect particles in a two-dimensional surface, the results of the experiment are that particles appear in only two localized areas directly above the path of the particle stream, or directly below the path of the particle stream - spin up or spin down. The conclusions from these measurements are that the particle, when measured, will always have about the same magnitude. Why does this not follow from classical mechanical theory related to magnetism? If you shot a magnet through a similar apparatus, I would expect the magnet to be rotated to align with the magnetic field in some way which, at high enough field strengths relative to the mass of the magnet, would cause us to measure basically the same magnitude as if the magnet entered the apparatus pre-aligned with the field. How is my explanation incorrect?"
] | medi_sts_stackexchange_dupe |
How can I fix a "no such partition Grub Rescue" error? | error: no such partition. Grub rescue | [
"Bridged adapter in Virtual Box - cannot obtain IP I have virtual box with RHEL installed. My virtual box is running on windows 7 64 -bit. I configured bridged connection, but when I am restarting network interfaces, I receive following error: Determining IP information for eth1... failed On Windows XP it works without problems. I disabled Windows Firewall and installed latest Virtual Box, still without success. NAT is working without any problems. What did I missed? UPDATE Ouput of ifconfig -a is: eth0 Link encap:Ethernet HWaddr 08:00:27:B6:FC:69 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:feb6:fc69/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:430 errors:0 dropped:0 overruns:0 frame:0 TX packets:346 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:36520 (35.6 KiB) TX bytes:31455 (30.7 KiB) eth1 Link encap:Ethernet HWaddr 08:00:27:C3:84:4A inet6 addr: fe80::a00:27ff:fec3:844a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1464 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:135419 (132.2 KiB) TX bytes:4230 (4.1 KiB) 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) Output of route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 0 eth0 Output of dhclient -v eth1 is: Listening on LPF/eth1/08:00:27:c3:84:4a Sending on LPF/eth1/08:00:27:c3:84:4a Sending on Socket/fallback DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6 (xid=0x6afb6c4c) DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9 (xid=0x6afb6c4c) DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15 (xid=0x6afb6c4c) DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18 (xid=0x6afb6c4c) DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13 (xid=0x6afb6c4c) No DHCPOFFERS received. No working leases in persistent database - sleeping. Moreover the same machine with the same configuration works well on Windows XP. The problem is only on Windows 7.",
"In the Landau theory of phase transitions, is the order parameter a thermodynamic variable of state? In the Landau theory of phase transitions, one typically considers a \"free energy\" $F$ as a function of the temperature $T$ and the \"order parameter\" $\\psi$: $F(T, \\psi)$. For the sake of clarity, let's consider the liquid-gas transition, in which the order parameter is usually taken to be the difference of densities between the ordered phase and the disordered phase. In this case, it looks that the order parameter $\\psi$ is closely related to the the volume $V$, a global variable of state. What is the correct interpretation of $\\psi$ as a thermodynamic variable? I consider several logical possibilities, but all interpretations look troublesome to me: $\\psi$ is a variable of state replacing the volume. In this case I have a few related concerns: Is the \"free energy\" $F$ the Helmholtz or the Gibbs free energy? If $F$ is the Gibbs free energy, $F$ should depend on the temperature $T$ and the pressure $p$ (the conjugate variable of the volume), so it shouldn't depend on $\\psi$. If it is the Helmholtz free energy, it's ok that it depends on $\\psi$, but the experiments are usually carried out at constant pressure, not constant volume. Usually, state variables are something one can select at will [for instance, think of the phase diagram $(p, T)$]. However, the order parameter $\\psi$ is not selected at will, but it is selected by the system as a result of the minimization process according to the Landau theory. $\\psi$ is yet another variable of state in addition to volume and temperature. Why the pressure is not usually taken into account as a variable of state, and only the temperature is considered? What is the conjugate variable to $\\psi$? Can really $\\psi$ and $V$ be taken as independent? $\\psi$ is not a variable of state, is something else. What else can $\\psi$ be from the thermodynamic point of view? Same question as above, why is pressure not usually taken into account in Landau theory?",
"\"Have you seen her?\" or \"Did you see her?\" I already knew that we use the present perfect for an action in the past with a result now. Consider the following questions: \"I'm looking for Paula. Have you seen her?\" \"I'm looking for Paula. Did you see her?\" Is there any difference between these two questions for this specific action (verb)? What is the result of \"seeing\" action which can't be represented by simple past?",
"How to write conditional equations with one-sided curly brackets",
"Torus and Elliptic curves In a conference on elliptic curves (an introduction to the subject), the speaker said that an elliptic curve (I.e. an equation of the form $y^2=x^3+ax+b $ where the RHS has distinct roots) is, in the complex space, a torus/Riemann surface of genus 1. What is meant by that? Are we talking about a 2-dimensional manifold the 4D space?",
"Schengen visa validity start date My Chinese in-laws intend to visit us in one month from now. Their visa is valid from Nov 23rd. Would it be possible for them to take the airplane on November 22nd in China and arrive in Schengen area on November 23rd? Or does the visa already have to be valid upon departure? In our particular case, they still need to transfer in Beijing first. The actual flight to Schengen zone effectively only departs on the 23rd so I guess that should be completely fine then?",
"how to get the original entity on hook_entity_presave? i actually need it for the content_moderation_state entity function hook_entity_presave(Drupal\\Core\\Entity\\EntityInterface $entity) { if ($entity->getEntityTypeId() !== 'content_moderation_state' ) { return; } $moderation_state = $entity->get('moderation_state')->getString(); //code to get the original entity moderation state",
"Trigonometric fraction Inequality question",
"How do I determine the size of an object in Python?",
"Can you nest html forms? Is it possible to nest html forms like this <form name=\"mainForm\"> <form name=\"subForm\"> </form> </form> so that both forms work? My friend is having problems with this, a part of the subForm works, while another part of it does not.",
"What ingredients can I add to no-knead bread to extend its life? Is there anything I can add to a standard no-knead bread recipe to allow the bread to stay softer for longer? Bread baked the night before, while still edible, is not as pliable the next midday. I currently use bread flour, yeast, salt and water but was thinking of adding milk, butter or eggs. If there is a single food additive I can add I would consider this, but I don't want to adulterate the recipe too much.",
"Finding plane equation given two lines Determine an equation of the plane containing the lines $\\frac{x-1}{2}=\\frac{y+1}{-1}=\\frac{z-5}{6}$; $r=\\lt1,-1,5\\gt+t\\lt1,1,-3\\gt$. I calculated the cross product between the directional vector of both lines to find the normal vector $n$, but when I looked for an intersection point $r_0$ to apply the formula: $\\lt r-r_0\\gt \\bullet \\ \\ n$, I did not find any. Can I use the point $\\lt1,-1,5\\gt$ given in the line $r$? Or is it not possible to find an equation of the plane containing two lines that do not intersect?",
"I am trying to remove all files and subdirectories in a directory. I used rm -r to remove all files, but I want to remove all files and subdirectories, excluding the top directory itself. For example, I have a top directory like images. It contains the files header.png, footer.png and a subdirectory. Now I want to delete header.png, footer.png and the subdirectory, but not images. How can I do this in linux?",
"Basically I would like to use on website a \"Norasi\" font, that was bundled with Ubuntu, but I cannot find any license. Am I allowed to distribute that font through website? What is its license?",
"In my scene I have a camera sitting at the origin. I would like to contraint it so that it always looks at the center of a given object. But the camera should not change its position. I found some answers using a \"TrackTo\" or \"LockedTrack\" constraint but could not manage to make it work. Could I probably use a Driver for this and if yes, how can I adjust it? Thanks in advance!",
"Raspberry Pi + IRFZ44N to control a 5050 RGB LED strip: current seems to be limited",
"Calculationg base-resistor between microcontroller and transistor I'm curious, when connecting my 2N2222 transistor's base to a PWM output pin on my Arduino, I know the Arduino can deliver a maximum of 40mA current. The 2N2222 only requires around 5 to 10 mA on it's base to switch the collector and emitter. Now, when calculating the base-resistor under \"normal\" conditions where I'm merely switching it directly from Vcc, the following applies: However, when putting in a 500 ohm or 1K resistor in (1K for 5mA) directly it works great. But putting it in between the Arduino and the transistor, the transistor doesn't switch. I suspect thus, that the resistance is too high of the base-resistor. Therefore, we may very well not need a base-resistor. But, according to spec, the Arduino can deliver 40mA. So, am I correct in assuming the folling: 1) I should calculate the perceived resistance that the Arduino is giving, if it goes high to 5Volt and only gives 40mA, and then 2) Subtract that from the 500ohm resistor needed to make the transistor operate optimally. Example: So, I'm theorising that I have to then put in a 375 ohm resistor in to make the total resistance between the Arduino and the base resistor 500 ohm. Somehow this doesn't feel right. Keep in mind, I'm not an electronic engineer, so I might have the cat by the tail here :P",
"Is it legal to copy Stack Overflow questions and answers? I just found http://programmingfaq.w3ec.com/faq/4761/whats-the-hi-lo-algorithm which has an exact copy of this Stack Overflow question, , with all its answers and no difference in a single character. There is no reference to Stack Overflow. Is this legal, or at least tolerated? Is this impertinent theft of information? I just can't see any sense in copying whole pages, particularly when not referencing the source.",
"access controller variable in javascript Is there any way to access controller variable set in a Method in Javascript. In the example above the value is set in constructor. But when I set it in a method it is showing as NULL in Javascript In controller: public class abc { public string varA { get;set; } public void fn(){ varA='hello'; } } In VFPage: function hello(){ var bool = '{!varA}'; alert(bool); } The alert statement in the VF Page(i.e bool) is displayed as null. Can you please help how to access a variable set from a method instead of constructor?",
"What is the probability that a shuffled standard deck of 52 cards has no two cards of the same rank together ? I am unable to get a handle on this problem, and wonder whether there is an analytical solution ?"
] | medi_sts_stackexchange_dupe |
What is the oldest science fiction story? | What is the earliest work considered to be Science Fiction? | [
"I am beginning with Abstract Algebra and I'm trying to understand Lagrange's Theorem. The theorem reads For any finite group $G$, the order of every subgroup $H$ of $G$ should divide the order of $G$. It seems simple and I've used it to solve some exercices but I believe I'm missing the essence of it. Is there an example that can help me understand it better, or visualize it? Is there a geometric interpretation?",
"Does it make sense to say, \"The speed of light varies?\" Some may say right off the bat \"Yes, it changes as a wave passes through a different medium.\" However, I'd like to say no, because when I hear someone say the speed of light, I always think of the constant $c$ (unless the medium is specified to not be a vacuum, but then it isn't $c$ anymore), not the speed of a particular wave. To me, it makes more sense to say something like, \"The speed of a particular wave varies.\" What is the correct way to state this in the professional world? And in general, when professional physicists say \"the speed of light,\" are they referring to the constant or the actual speed of the wave?",
"My regex is matching too much. How do I make it stop? I have this gigantic ugly string: J0000000: Transaction A0001401 started on 8/22/2008 9:49:29 AM J0000010: Project name: E:\\foo.pf J0000011: Job name: MBiek Direct Mail Test J0000020: Document 1 - Completed successfully I'm trying to extract pieces from it using regex. In this case, I want to grab everything after Project Name up to the part where it says J0000011: (the 11 is going to be a different number every time). Here's the regex I've been playing with: Project name:\\s+(.*)\\s+J[0-9]{7}: The problem is that it doesn't stop until it hits the J0000020: at the end. How do I make the regex stop at the first occurrence of J[0-9]{7}?",
"Why does node not evaluate Math.tan(Math.PI/2) to Infinity but Chrome V8 does?",
"Show that $x^{n-1}+\\cdots +x+1$ is irreducible over $\\mathbb Z$ if and only if $n$ is a prime.",
"Stirling's Approximation Proof I was searching for the reason why Stirling's Approximation holds true. I found the website which apparently shows why this is the case. Does this part of the equation make sense in the proof? If so why? $$\\int_{1}^{n}\\ln(x)dx\\approx\\sum_{k=1}^{n}\\ln(k)$$",
"Can Hydrogen Fusion via CNO Cycle Occur in First Generation Stars CNO cycle requires the presence of carbon, nitrogen and oxygen to undergo hydrogen fusion. Does this mean that for first generation stars, no matter how big they are, can't undergo hydrogen fusion by CNO cycle because there is no carbon, nitrogen and oxygen present? I can't seem to find any website which mentions this. All they say is if a star is large enough, it will undergo hydrogen fusion via CNO cycle, they don't specifically mention it having to be a second generation star.",
"Find what packages are installed from a repository",
"Beamer: How to Disable `\\pause` Temporarily",
"I've recently updated to Ubuntu 15.04 and after installing the latest nvidia drivers (346.59) which worked on ubuntu 14.10 seems to have caused some trouble on boot. All I get is the following when booting: A purple screen for about a second and then [0.514409] ACPI PPC Probe failed. Starting version 219 A black screen with a message of my monitor saying : No Signal detected. I am using a GTX 970.",
"Currently look after 3 websites. I changed one of them to be HTTPS as it's ecommerce, however have seen a huge drop in organic traffic since this was implemented. Went from around 800 impressions to 400. Any ideas as to why? Very concerning as I expected it to improve if anything! I set up 301 redirects to carry through to old pages to http://www.example.com/product1 would go to https://www.example.com/product1 I also set up a separate webmaster account for the HTTPs version as our integration wasn't working well with Google Merchant Centre, and data is flowing correctly but unsure why/if this would cause conflict. Very confused!",
"How to Update Multiple Array Elements in mongodb",
"I've just begun to work learn Linear Algebra on my own through Hoffman and Kunze's book and the first problem set already has a question that I can't solve: Prove that if two homogeneous systems of linear equations in two unknowns have the same solutions, then they are equivalent. I can't seem to figure out how to prove this without resorting to case work where you account for the cases where one of the coefficients are zero and when both are. Is there an elegant way to prove in general that when two systems of linear equations have the same solutions, they are equivalent? The converse is obvious enough though. Definition of equivalence from the text : Let us say that two systems of linear equations are equivalent if each equation in each system is a linear combination of the equations in the other system.",
"As the title say, I want to prove that $C_c^{\\infty}(\\mathbb R^n)$ is dense in $W^{k,p}(\\mathbb R^n)$ i.e. $\\displaystyle{ W^{k,p} (\\mathbb R^n) = W_0^{k,p}(\\mathbb R^n) \\quad (\\star)}$. In a book I found that in order to prove it, we need the following claim: Claim: Let $\\displaystyle{\\zeta \\in C^{\\infty} ([0, \\infty)) }$ such that $\\zeta (t) =1 $ for $ t \\leq 1 $ and $\\displaystyle{ \\zeta (t) =0 }$ for $ t \\geq 2$. For $R>0$ and $x \\in \\mathbb R^n$ define $\\displaystyle{ \\eta_R (x) = \\zeta \\left( \\frac{|x|}{R} \\right)}$. If $ \\displaystyle{ u \\in W^{k,p} ( \\mathbb R^n) }$ with $1 \\leq p < \\infty $ then, $\\displaystyle{ \\eta_R u \\to u }$ in $W^{k,p}(\\mathbb R^n) $ as $ R \\to \\infty$. If I prove the claim then the $(\\star)$ follows using mollifiers. But unfortuently I have stuck, with the proof of the claim. Any ideas?",
"Why does the multi-paragraph quotation rule exist?",
"Let G be a finitely generated abelian group and M a compact manifold, I want to prove that $H_r(M,G)$ is finitely generated for $r\\ge 0 $. First I was thinking if I could do induction over $r$ because for $r=0$, $H_0(M,G) \\cong \\bigoplus_{i=1}^nG$ where $n$ denotes the number of connected components of M.But for $r>0$ I can't see a way to relate $H_r(M,G$) and $H_{r+1}(M,G)$. Then I tried to use the fact that for every compact surface there exists a finite cover $\\{A_i\\}_{i=1}^m$ such that the finite intersections of $A_i$'s are contractile.Let $\\{A_i\\}_{i=1}^m$ such cover for $M$.Then,using induction on $m$, we have : -For $m=0$, $M$ is contractile and $G$ finitely generated then $H_r(M,G) $is finitely generated. -For $m=r$ it's true by induction hypothesis. -For $m=r+1$ now putting $A_{r+1}=B$ and $\\cup_{i=1}^r A_i=A$, and using Mayer Vietoris we get: $$ ...\\rightarrow H_{r+1}(A\\cap B,G)\\rightarrow H_{r+1}(A,G) \\oplus H_{r+1}(B,G) \\rightarrow H_{r+1}(M,G)\\rightarrow H_{r}(A\\cap B,G) \\rightarrow...$$ Here I don't know what to do, maybe I'm missing some algebraic argument It's easy to see that $H_{r+1}(A\\cap B,G)$ and $H_{r+1}(A,G) \\oplus H_{r+1}(B,G)$ are finitely generated.But how can I argue that $H_{r+1}(M,G)$ is finitely generated? Any idea would be aprecciated.",
"Why do all the planets of the solar system orbit in roughly the same 2D plane?",
"Is cross-posting wrong (to an external site)? I made a question at Stack Overflow long ago and also posted the same question in a non-Stack Exchange website (Xtreme VB Talk). The question . According to the answer, I shouldn't have cross-posted between Stack Overflow and XtremeVBTalk, because it increases the probability that wires will get crossed and everyone will waste time. But I'm not sure why is that wrong. You see, I simply see Stack Overflow and XtremeVBTalk as two different communities with different users. So posting the question in both sites would just give me more answers. And if I got the answer in one of them, I would report back to the other site and let everyone know (and perhaps someone else would be benefited as well). I really doubt it is a waste of time - the more input, the better. The fact that someone was a user in both websites is simply a coincidence. I realize that Meta Stack Exchange question exists, but apparently it involves cross-posting within Stack Exchange sites, but this is about external websites instead. I also realize that I was told that as \"advice\" (since my question was not flagged or anything), but well, I am now curious: Why would anyone consider this a bad practice?",
"RESTful Authentication What does RESTful Authentication mean and how does it work? I can't find a good overview on Google. My only understanding is that you pass the session key (remeberal) in the URL, but this could be horribly wrong.",
"The screen of my phone is physically broken, so it doesn't display anything, but the touch aspect does seem to be working, as I can unlock my phone, and get haptic feedback. Before I go to get it replaced, I'd like to back up some personal data from the built-in memory to the SD card. I'm fairly certain that if I can get adb to recognize the device, then I can use to see where I am touching the screen and do what I need to do. Problem is, when I plug it in, it's not recognized, while my emulator is. I suspect that I might not have USB debugging enabled, which I think is necessary for adb to work. If this is the case, can someone give me screenshots of their Droid X (running 2.3.X) going from the home screen, through all the menus, to activating debug mode? Hopefully I can do it by dead reckoning and adb from there. Edit: I haven't changed anything about the ROM or launcher; it's all stock."
] | medi_sts_stackexchange_dupe |
How to print content of an array | What's the simplest way to print a Java array? | [
"When installing user applications, where do \"best practices\" suggest they be located? Occasionally I install applications manually, rather than using apt or another package manager. What location (/usr/, /usr/local/, /opt/, /home/, etc.) is suggested by \"best practices\" for the installation of user applications?",
"I am trying to identify the general case algorithm for counting the different ways dice can add to a given number. For instance, there are with two 6-dice. I've spent quite a bit of time working on this (for a while my friend and I were using Figurate numbers, as the early items in the series match up) but at this point I'm tired and stumped, and would love some assistance. So far we've got something to this effect (apologies for the feeble attempt at mathematical notation - I usually reside on StackOverflow): count(x): x = min(x,n*m-x+n) if x = n 1 else some sort of (recursive?) operation The first line simplifies the problem to just the lower numbers - where the count is increasing. Then, if we're looking for the count of the minimum possible (which is also now the max because of the previous line) there is only one way to do that so it is 1, no matter the n or m.",
"I was writing test classes for my apex Rest Service that I had built for an Ipad app. I noted some very interesting things while experimenting. Before doing anything, I just did a google search and found an interesting blog post by Jeff. @RestResource(urlMapping='/v.9/member/*/results/*') global with sharing class MemberRestSvc { @HttpGet global static ReturnClass doGet() { String[] uriKeys = RestContext.request.requestURI.split('/'); // get the member name from the uri String memberName = uriKeys.get(uriKeys.size()-3); // do awesome programming stuff here & catch any exceptions try { List<Contact> contacts = [Select Id From Contact where member_name__c = :memberName]; return new ReturnClass('true', 'Query executed successfully.', contacts); } catch (Exception e) { return new ReturnClass('false', e.getMessage(), null); } } global class ReturnClass { global String success; global String message; global List<Contact> records; global ReturnClass(String success, String message, List<Contact> records) { this.success = success; this.message = message; this.records = records; } } } And here is the test class @isTest private class Test_MemberRestSvc { static { // setup test data } static testMethod void testDoGet() { RestRequest req = new RestRequest(); RestResponse res = new RestResponse(); req.requestURI = 'https://cs9.salesforce.com/services/apexrest/v.9/member/me/results/today'; req.httpMethod = 'GET'; RestContext.request = req; RestContext.response = res; MemberRestSvc.ReturnClass results = MemberRestSvc.doGet(); System.assertEquals('true', results.success); System.assertEquals(10, results.records.size()); System.assertEquals('Query executed successfully.', results.message); } } I just commented a few lines and ran and it. I still achieved enough test coverage so my question is why do I need to simply instantiate the Rest request and response objects since I am directly calling the class? @isTest private class Test_MemberRestSvc { static { // setup test data } static testMethod void testDoGet() { /*RestRequest req = new RestRequest(); RestResponse res = new RestResponse(); req.requestURI = 'https://cs9.salesforce.com/services/apexrest/v.9/member/me/results/today'; req.httpMethod = 'GET'; RestContext.request = req; RestContext.response = res; */Commented the code meant for REST apex intialization and merely calling the method!! MemberRestSvc.ReturnClass results = MemberRestSvc.doGet(); System.assertEquals('true', results.success); System.assertEquals(10, results.records.size()); System.assertEquals('Query executed successfully.', results.message); } } Can someone explain this behavior? Also what are the best practices for writing Test classes for apex Rest services?",
"Do systemd unit files have to be reloaded when modified? Let's say I write a mine.service file. Then I use systemctl enable mine.service. If I later decide to edit mine.service, do I have to tell systemd that mine.service was changed? If so, how do I do that?",
"How to make a blank page in Google Chrome at start-up?",
"Print xml with php",
"Detecting Color of iPhone/iPad/iPod touch?",
"How to panelize gerber files? I am planning on ordering a panel with four different designs on it. Two were made in Altium, while the other two were made in Eagle. Altium has a great tool for panelizing boards designed in it, but I don't believe it can put designs from other programs on the panel. How can I panelize these PCBs?",
"Arithmetic of continued fractions, does it exist? I'm interested in the arithmmetic of continued fractions and specially in multiplication. Consider $$ f(x)=\\cfrac{f_{0}(x)}{1-\\cfrac{f_{1}(x)}{1+f_{1}(x)-\\cfrac{f_{2}(x)}{1+f_{2}(x)-\\cfrac{f_{3}(x)}{1+f_{3}(x)-\\cdots}}}} $$ and $$ g(x)=\\cfrac{g_{0}(x)}{1-\\cfrac{g_{1}(x)}{1+g_{1}(x)-\\cfrac{g_{2}(x)}{1+g_{2}(x)-\\cfrac{g_{3}(x)}{1+g_{3}(x)-\\cdots}}}} $$ Are there arithmetic rules (algorithms) for the multiplication of continued fractions? Specifically, is it possible to obtain a continued fraction $h(x)=f(x)\\cdot g(x)$ where $$ h(x)=\\cfrac{h_{0}(x)}{1-\\cfrac{h_{1}(x)}{1+h_{1}(x)-\\cfrac{h_{2}(x)}{1+h_{2}(x)-\\cfrac{h_{3}(x)}{1+h_{3}(x)-\\cdots}}}} $$ I've found , but I'd like more. Does anyone here knows of papers, algorithms, etc? Thanks. Update 1: Another .",
"pgfplots - draw boxplot without outliers I am creating a boxplot with pgfplots, using the builtin statistics library. I load the input data from a table file. \\usepackage{pgfplots} \\usepgfplotslibrary{statistics} ... \\begin{tikzpicture} \\begin{axis}[boxplot/draw direction=y] \\addplot+[boxplot] table[ col sep=tab, x expr=\\coordindex, y=aColName] {aFileName}; \\end{axis} \\end{tikzpicture} Is it possible to draw the plot without outliers? Or hide them? I don't want to pre-calculate the boxplot values by hand.",
"gain admin access to sql express 2008",
"I have the formula $x! + y! = z!$ and I'm looking for positive integers that make it true. Upon inspection it seems that x = y = 1 and z = 2 is the only solution. The problem is how to show it. From the definition of the factorial function we know $x! = x(x-1)(x-2)...(2)(1)$ So we can do something like this: $$ [x(x-1)(x-2)...(2)(1)] + [y(y-1)(y-2)...(2)(1)] = [z(z-1)(z-2)...(2)(1)]$$ we can then factor all of the common terms out on the LHS. $$ [...(2)(1)][x(x-1)(x-2)... + y(y-1)(y-2)...] = [z(z-1)(z-2)...(2)(1)]$$ and divide the common terms out of the right hand side $$[x(x-1)(x-2)...] + [y(y-1)(y-2)...] = [z(z-1)(z-2)...]$$ I'm stuck on how to proceed and how to make a clearer argument that there is only the one solution (if indeed there is only the one solution). If anybody can provide a hint as to how to proceed I would appreciate it.",
"Login screen resolution So I just installed Ubuntu 16.04 on my Dell XPS 13. When I get to the login screen it starts at 3200x1800 for a quick second, then I get a way lower resolution like 800x600 but as soon as I login it adjusts to 3200x1800. How would I get 3200x1800 permanently on my login screen? I didn't have this issue on 14.04.",
"What causes 5 pink bars on 27\" iMac (2011)? I've got a 27 inch iMac made in 2011 that displays 5 pink vertical bars on the screen. It won't boot properly. I ran the Apple Hardware Test and it came up clean. Machine Specs: Apple Subfamily: Mid-2011 Apple Model No: A1312 (EMC 2429) Model ID: iMac12,2",
"Short story collection about Transporter \"Doors\" I'm looking for a short story collection about different uses/inventions of transporter doors. I think it was just a single author collection, that I read in the early 2000s. In each story these Transporter Doors exist, I seem to remember them being described as blank grey sheets. You step through them and come out somewhere else. The forward to the book talked about early Rocket stories where the launch of a spaceship would be the end of the tale. Plots of the individual stories: Two men one of whom's home is inside an asteroid are discussing the use of Base12 in their society and if it is because they have 12 fingers, one says that \"people\" used to use base10. The implication is that a different species arrived through the doors and replaced humans. A man puts the code for his home into a door and is instead transported to prison where he's accused of murdering his wife, which he strongly denies. Two scientists and a pilot take a probe ship deep into Jupiter's atmosphere, the will return to base via a door that they need to construct while they are down there. The scientists dislike each other and don't work well together. When they finish the door, the hamsters seem woosy out the other side, but the scientists insist it is ready. The pilot says he will go first as he can't fix it if it's wrong. When he arrives on the far side he's mentally damaged and the scientists have to get along without him acting as a buffer while the try to save themselves.",
"ID for Contact portion of Person Account 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.",
"Why does the dock appear on the left when my screen is locked? The dock doesn't work correctly after I enter my password, either.",
"Blank white desktop icons on new Windows 7 install",
"xdg-open on debian 9 fails to open browser I decided to try lxdm (was using fluxbox and xfce), and discovered that for many programs the url handler was failing, producing this error message; Quite strange as you can see, it's prepending the user directory to the url. The example here is from telegram, but it happens in discord, as well as when executing from the command line; xdg-open https://www.google.com produces a similar error. xdg-settings get default-web-browser output's firefox.desktop which works as a link in both xfce and lxdm. More information; I ran bash -x on it and... $ bash -x /usr/bin/xdg-open http://www.google.com + check_common_commands http://www.google.com + '[' 1 -gt 0 ']' + parm=http://www.google.com + shift + case \"$parm\" in + '[' 0 -gt 0 ']' + '[' -z '' ']' + unset XDG_UTILS_DEBUG_LEVEL + '[' 0 -lt 1 ']' + xdg_redirect_output=' > /dev/null 2> /dev/null' + '[' xhttp://www.google.com '!=' x ']' + url= + '[' 1 -gt 0 ']' + parm=http://www.google.com + shift + case \"$parm\" in + '[' -n '' ']' + url=http://www.google.com + '[' 0 -gt 0 ']' + '[' -z http://www.google.com ']' + detectDE + unset GREP_OPTIONS + '[' -n LXDE ']' + case \"${XDG_CURRENT_DESKTOP}\" in + DE=lxde + '[' xlxde = x ']' + '[' xlxde = x ']' + '[' xlxde = x ']' + '[' xlxde = xgnome ']' + '[' -f /run/user/1000/flatpak-info ']' + '[' xlxde = x ']' + DEBUG 2 'Selected DE lxde' + '[' -z '' ']' + return 0 + case \"${BROWSER}\" in + case \"$DE\" in + open_lxde http://www.google.com + pcmanfm --help -a is_file_url_or_path http://www.google.com ++ file_url_to_path http://www.google.com ++ local file=http://www.google.com ++ echo http://www.google.com ++ grep -q '^file:///' ++ echo http://www.google.com + local file=http://www.google.com + echo http://www.google.com + grep -q '^/' ++ pwd + file=/home/nesmerrill/.local/share/applications/http://www.google.com + pcmanfm /home/nesmerrill/.local/share/applications/http://www.google.com + '[' 0 -eq 0 ']' + exit_success + '[' 0 -gt 0 ']' + exit 0 The important part seems to be pcmanfm --help -a is_file_url_or_path http://www.google.com but, that command if that's how it was used, doesn't seem to do much of anything? $ pcmanfm --help -a is_file_url_or_path http://www.google.com Usage: pcmanfm [OPTION…] [FILE1, FILE2,...] Help Options: -h, --help Show help options --help-all Show all help options --help-gtk Show GTK+ Options Application Options: -p, --profile=PROFILE Name of configuration profile -d, --daemon-mode Run PCManFM as a daemon --no-desktop No function. Just to be compatible with nautilus --desktop Launch desktop manager --desktop-off Turn off desktop manager if it's running --desktop-pref Open desktop preference dialog --one-screen Use --desktop option only for one screen -w, --set-wallpaper=FILE Set desktop wallpaper from image FILE --wallpaper-mode=MODE Set mode of desktop wallpaper. MODE=(color|stretch|fit|crop|center|tile|screen) --show-pref=N Open Preferences dialog on the page N -n, --new-win Open new window -f, --find-files Open a Find Files window --role=ROLE Window role for usage by window manager --display=DISPLAY X display to use",
"Is “all women who are mothers of daughters” right? Is the expression All women who are mothers of daughters are here. correct? I mean every woman who has at least one daughter is here."
] | medi_sts_stackexchange_dupe |
Send an email after register | What is the format for e-mail headers that display a name rather than the e-mail? | [
"I'm trying to write a shell script that, when run, will set some environment variables that will stay set in the caller's shell. setenv FOO foo in csh/tcsh, or export FOO=foo in sh/bash only set it during the script's execution. I already know that source myscript will run the commands of the script rather than launching a new shell, and that can result in setting the \"caller's\" environment. But here's the rub: I want this script to be callable from either bash or csh. In other words, I want users of either shell to be able to run my script and have their shell's environment changed. So 'source' won't work for me, since a user running csh can't source a bash script, and a user running bash can't source a csh script. Is there any reasonable solution that doesn't involve having to write and maintain TWO versions on the script?",
"How to create two classes in C++ which use each other as data?",
"How to get permission number by string : -rw-r--r--",
"How to choose a circle for default stream in Google Plus? How can I choose a specific circle for the default stream in Google+ ? Many extensions don't work, and are not comfortable if using another PC.",
"Java reflection: how to get field value from an object, not knowing its class",
"How do I work recursively through a directory tree and execute a specific command on each file, and output the path, filename, extension, filesize and some other specific text to a single file in bash.",
"Merging two files, one column at a time",
"Volume control on asus zenbook 3 Using Ubuntu 16 LTS I installed ubuntu on my new asus zenbook3 ux390. Nearly everything works fine except the volume controls don't work. The volume is either on or off. I can adjust volume in specific apps or websites (like youtube) successfully, but the internal volume control either wants to be muted or at 100%.",
"In a modern SPFx Web Part, how do I check if a URL exists?",
"Valid US visa on expired passport. Can I travel to the US? My old passport is in my maiden name and has already expired. My B1/B2 visa to travel to United States is still valid but is stamped in my old passport with my maiden name. My new passport has my new name (old name got changed after marriage) but has details (like old passport number, father and mother's name) related to my old passport. Will I be allowed to travel to US as long as I carry the my old as well as new passport? Or Do I need to again get the visa stamped on my new passport?",
"What is the difference of closing for duplicate and flagging for duplicate? When I encounter a duplicate, I have two choices: Vote closing because it is a duplicate, or flag it as a duplicate. What is the difference and should I do both?",
"How to debug an unmet dependencies problem?",
"Decode JWT Token in Apex",
"Avoiding if statement inside a for loop?",
"How to space columns evenly in a table with multicolumns?",
"Miktex Package Installation I recently installed MiKTeX with the texmaker editor and cannot figure out how to update the packages. When I attempt to use the subfigure package with the following preamble \\documentclass[a4paper,12pt]{article} \\usepackage[english]{babel} \\usepackage{graphicx} \\usepackage{subfigure} I then get a prompt to install a new package, which I then set to the online directory at ctan. I then get the following error: ! LaTeX Error: File `subfig.sty' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: sty)Enter file name:! Emergency stop.<read > How do I properly install packages to miktex? I'm absolutely confused. Thanks in advance for any help.",
"How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page?",
"Cycle Normal Pass in Camera Space",
"In this to a question about a series, a theorem was stated: If $A= \\{a_i \\}$ is a set such that $\\sum_{i = 1}^{\\infty} \\frac{1}{a_i}$ converges, then $d(A) = 0$, where $d(A)$ is the of the set. My background in number theory is basically zero and all my attempts to prove this have been utterly unseccessful; would anyone please help me, or at least provide me with a hint to prove it?",
"Java. Splitting a multiple word string into two word strings every space"
] | medi_sts_stackexchange_dupe |
How to parse a date? | Java string to date conversion | [
"What is a good algorithm for estimating the median of a huge read-once data set?",
"From the TV Show Krypton, Dru-Zod is the son of Seg-El and Lyta-Zod. In S02E05 'A better yesterday', Lyta-Zod's throat gets slit by Jax-Ur leading to Lyta's death. How is Dru-Zod still alive? Shouldn't he be wiped from existence?",
"Why is the gradient of implicit surface the normal vector (i.e. parallel to the normal line)? If we have an implicit surface $g(x, y, z)=...$, the gradient is a normal vector. But why? Do I have to start with tangent vectors and then show the gradient is perpendicular? Not sure how to approach this.",
"Is it feasible to compile Python to machine code?",
"mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource",
"I am going through Shankar's Principles of Quantum Mechanics and am having trouble finding the free particle propagator $U(t)$ that satisfies $$\\lvert\\psi (t)\\rangle = U(t)\\lvert\\psi (0)\\rangle$$ due to the degeneracy of the $E$ eigenkets. Shankar says that if the Hamiltonian has degenerate eigenvalues, we change the propagator equation from $$U(t) = \\sum_{E} \\lvert E\\rangle\\langle E\\rvert e^{-iEt/{\\hbar}}\\tag{4.3.13}$$ to $$U(t) = \\sum_{E} \\sum_\\alpha \\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar} $$ where $\\lvert E, \\alpha \\rangle $ are the orthonormal eigenkets for the $E$ eigenspace. This makes sense to me, because it seems like whenever we deal with degeneracy to use a projection. He also says for a Hamiltonian with no degeneracy to change the sum into an integral, so I imagine that for a Hamiltonian with a continuous, degenerate spectrum we would have this propagator: $$ U(t) = \\sum_\\alpha\\int_\\Re dE\\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar}$$ I tried applying this to the free particle and had some trouble. In the book, after solving for the eigenkets and eigenvalues, $\\lvert E\\rangle = \\lvert p\\rangle$ and $p = \\pm\\sqrt{2mE}$, he chooses the propagator as a function of the momentum eigenvalues $p$ so that $$U(t) = \\int_\\Re dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m).\\tag{5.1.9}$$ I understand how he got to this, but I'm having some trouble because this doesn't appear to be the same expression that I have above. Splitting the integral up, we have $$U(t) = \\int_{-\\infty}^0dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m) + \\int_0^\\infty dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m)$$ The left integral can changed to an integral over $-p$, and the bounds switch from $0$ to $\\infty$ such that: $$U(t) = \\int_{0}^\\infty d(-p)\\lvert -p\\rangle\\langle -p\\rvert \\exp(-ip^2t/2m) + \\int_0^\\infty dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m)$$ Now we can substitute and interchange $\\lvert p\\rangle = \\lvert E, + \\rangle$, $\\lvert -p\\rangle = \\lvert E, - \\rangle$, $E = p^2/2m$, and $dp = \\pm mdE/\\sqrt{2mE}$ to get: $$U(t) = \\sum_{\\alpha = \\pm} \\int_0^\\infty dEm/\\sqrt{2mE}\\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar}. $$ This is the result that we are asked to prove in Exercise 5.1.1. Why is this not the same as the first expression for the propagator? Where did the extra $ m/\\sqrt{2mE} $ come from? Am I just wrong in assuming that that is the general expression for a Hamiltonian with continuous and degenerate eigenvalues?",
"How to design the attack class in an RPG game?",
"How can I automatically download lyrics in iTunes? Is there a way to automatically download lyrics in iTunes?",
"Prove that $f'(a)=\\lim_{x\\rightarrow a}f'(x)$. Let $f$ be a real-valued function continuous on $[a,b]$ and differentiable on $(a,b)$. Suppose that $\\lim_{x\\rightarrow a}f'(x)$ exists. Then, prove that $f$ is differentiable at $a$ and $f'(a)=\\lim_{x\\rightarrow a}f'(x)$. It seems like an easy example, but a little bit tricky. I'm not sure which theorems should be used in here. ============================================================== Using @David Mitra's advice and @Pete L. Clark's notes I tried to solve this proof. I want to know my proof is correct or not. By MVT, for $h>0$ and $c_h \\in (a,a+h)$ $$\\frac{f(a+h)-f(a)}{h}=f'(c_h)$$ and $\\lim_{h \\rightarrow 0^+}c_h=a$. Then $$\\lim_{h \\rightarrow 0^+}\\frac{f(a+h)-f(a)}{h}=\\lim_{h \\rightarrow 0^+}f'(c_h)=\\lim_{h \\rightarrow 0^+}f'(a)$$ But that's enough? I think I should show something more, but don't know what it is.",
"How can I speed up combat with a large number of enemies? I'm DMing for a campaign where the player characters will sometimes face small squads of creatures, most recently six ground troops and two archers helping out. In this setting, these creatures dominate the land the PCs are in and have an organised military, hence squads of enemies. Combat tends to go quite slowly, however. Eight enemies and three players means the players spend a lot of time waiting between their turns! Without reducing the number of enemies in the encounter, how can I speed up combat when the players are fighting many enemies?",
"Reputation misaligned in new topbar",
"LLC-SCorp to self - actually, does the corp pay payroll taxes? In the USA. Here are the two common scenarios for the self-employed: A. Joe makes 100,000 over the year. It's paid to him as 1099 payments from his various clients. Joe pays the many taxes on that. B. Joe makes 100,000 over the year. He has an LLC as SCorp (or maybe an SCorp per se). The clients pay $100,000 to the entity JoeCorp. JoeCorp pays Joe a certain salary (it might be the whole 100,000, or, it might be (let's say) half of that and the rest is taken as profit distribution, not relevant here). So, JoeCorp (his LLC) pays Joe say $50,000. In fact: does JoeCorp have to pay \"payroll taxes\" on that?? Does it perhaps make a difference if it is an LLC with S-Corp election v. S-Corp? (I realize there are many questions on here about \"1099 v. corp\" .... but I've never really understood this and can't seem to google it up.)",
"Active vs passive voice with inanimate object as the subject I have asked the in ELL Stackexchange forum. There all the answers and comments I received was really helpful, but still I was looking for something more. So I have decided to ask this same question here also. I have seen some sentences like this - The film was announced to be released on this coming Friday. The film was announced to release on this coming Friday. Both the sentences are used, and I know they are interchangeable and does bear the same meaning. But I have some doubt about the second sentence - why is it \"to release\", when the film cant release itself. Some other sentences of similar structure that arises my confusion - The product sells well. The book reads well. The glass broke. The sentences are understandable, but in each of the sentences the subjects can't perform any job, as they all are inanimate object. The verbs are active, but they acts like they are used as passive. Now my question is how to decide which verb to use this way and which not?",
"How do I merge two dictionaries in a single expression (taking union of dictionaries)?",
"Running two MySQL servers that use the same data directory",
"Chrome and Firefox cannot add specific URL to home screen",
"Typsetting the Ponny Today, once again, the came to my attention and I have decided to try to using XeLaTeX. The result is far from perfect, worse even than Chrome's rendering. Is there a way I can improve the result? Is XeLaTeX and LuaLaTeX incapable of handling the Ponny? : \\documentclass[]{article} \\usepackage{lmodern} \\usepackage{amssymb,amsmath} \\usepackage{ifxetex,ifluatex} \\usepackage{fontspec} \\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \\IfFileExists{upquote.sty}{\\usepackage{upquote}}{} \\IfFileExists{microtype.sty}{\\usepackage{microtype}}{} \\usepackage[normalem]{ulem} \\setmainfont{Doulos SIL} \\title{html - RegEx match open tags except XHTML self-contained tags - Stack Overflow} \\date{} \\author{StackOverflow} \\begin{document} \\maketitle Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow \\emph{it is too late it is too late we cannot be saved} the trangession of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) \\emph{dear lord help us how can anyone survive this scourge} using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes \\emph{using rege}x as a tool to process HTML establishes a brea\\emph{ch between this world} and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but \\emph{more corrupt) a mere glimp}se of the world of reg\\textbf{ex parsers for HTML will ins}tantly transport a p\\emph{rogrammer's consciousness i}nto a w\\emph{orl}d of ceaseless screaming, he comes\\sout{, the pestilent sl}ithy regex-infection wil\\textbf{l devour your HT}ML parser, application and existence for all time like Visual Basic only worse \\emph{he comes he com}es \\emph{do not fi}ght h\\textbf{e com̡e̶s, ̕h̵i}s un̨ho͞ly radiańcé de\\emph{stro҉ying all enli̍̈́̂̈́ghtenment, HTML tags \\textbf{lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liq}uid p}ain, the song of re̸gular expre\\sout{ssion parsing} will exti\\emph{nguish the voices of mor\\textbf{tal man from the sp}here I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful t}he f\\texttt{inal snuf}fing o\\emph{f the lie\\textbf{s of Man ALL IS LOŚ͖̩͇̗̪̏̈́T A}}\\textbf{LL IS L}OST th\\emph{e pon̷y he come}s he c̶̮om\\sout{es he co}\\textbf{\\sout{me}s t\\emph{he} ich}or permeat\\emph{es al}l MY FAC\\emph{E MY FACE ᵒh god n\\textbf{o NO NOO̼}}\\textbf{OO N}Θ stop t\\emph{he an*̶͑̾̾̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨ}e̠̅s\\texttt{ ͎a̧͈͖r̽̾̈́͒͑e} n\\textbf{ot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ T}O͇̹̺ͅƝ̴ȳ̳ TH̘\\textbf{Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝}S̨̥̫͎̭ͯ̿̔̀ͅ \\end{document} UPDATE Using the Doulos SIL font gets me something closer to what Firefox renders but still far from perfect.",
"Return matched elements' attribute ar array using jQuery",
"Deleting a comment (mine) shouldn't count as a comment vote",
"Difference between \"little\" and \"small\" Is there a difference between them? If so, how and when are they used? For example: I fixed a little/small typo."
] | medi_sts_stackexchange_dupe |
Is SHA-256 a one way permutation when restricting the domain to {0,1}^256? | Are common cryptographic hashes bijective when hashing a single block of the same size as the output? | [
"Drop Table and recreate Permissions So we followed an best practice by Andreas de Ruiter () The Idea behind it is, that you write SQL Views which are easy to maintain and deploy. You use stored procedures to use these views and create tables from it. He suggests dropping or truncating the tables to maintain consistency over the data. I think it's the easiest approach without writing any complex update logic. On these tables we have the need to set specific user permissions. By dropping the table we would lose them. So for us the question is, how could we drop the table and recreate the existing permissions on the newly created table?",
"There does not exist any integer $m$ such that $3n^2+3n+7=m^3$ I have this really hard problem that I am working on and I just don't seem to get it. The question is: let $n$ be a positive integer; prove that there does not exist any integer $m$ such that $3n^2+3n+7=m^3$. Please explain in detail otherwise I might not understand. I am also open for any methods that might help. Thank you. Please help.",
"Using jQuery, how do I change the elements html value? (div) Using a ajax request I want to change content of my div. <div id=\"d1\">202</div> 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?",
"After I saw that post i wanted to solve the first one which is $a\\mid b^2,b^2\\mid a^3,a^3\\mid b^4,b^4\\mid a^5\\cdots$ Prove that $a=b$ Now i started by proving that $a$ and $b$ have same prime divisors,proving that is trivial,after doing so I checked do those factors have to have the same power.I tried with $$a=p^2,b=p^3$$ I noticed it exactly goes for 3 terms,or that $a^3\\mid b^4$ doing $$a=p^{n-1},b=p^n\\\\p^{n-1}\\mid p^{2n}\\\\p^{2n}\\mid p^{3n-3}\\\\p^{3n-3}\\mid p^{4n}\\\\p^{4n}\\mid p^{5n-5}\\\\\\cdots\\\\p^{n(n-1)}\\mid p^{n(n-1)}\\\\p^{n(n-1)}\\mid p^{n(n+1)}\\\\p^{n(n+1)}\\not\\mid p^{(n-1)(n+1)}$$ Now yeah I guess that would be a proof,but wouldn't setting $n=n+1$ infinitely many times make every term dividable?",
"I've been looking for the name of a sci-fi romance book about space travel but haven't been successful so far. I came across it a few years ago, read the plot on its back cover but didn't read the book. It is about two spacecraft pilots, a man and a woman, who travelled at light speed (or maybe FTL, I can't remember) in separate ships. Every time they return to Earth, centuries have passed on Earth because of time dilation. They meet each other for a few times on Earth in different eras, but don't know when, if ever, they will meet again. I don't know how it ends. If anyone knows which book I'm talking about, could you please tell me the name? Thanks a lot!",
"Is it possible to install Steam games to two different locations? I want to build a new PC with a smallish SSD. I'd like to be able to install some of my games onto the drive (those I care about loading quickly or I play frequently), but have the rest of them on a larger, slower drive. Anybody know if this is possible? I'm kind of guessing it's not, but figured I'd ask anyway.",
"Explicit formula for Bernoulli numbers by using only the recurrence relation It is not hard to show, by induction on $m\\in\\mathbb N$, that there exist a sequence $(B_n)_{n\\geq0}$ of rational numbers such that $$\\sum_{k=1}^nk^m=\\frac1{m+1}\\sum_{k=0}^m\\binom{m+1}kB_k\\,n^{m+1-k},\\ \\style{font-family:inherit;}{\\text{for all}}\\ n\\geq1\\,.$$ These are the Bernoulli numbers of the second kind, that is, $B_1=+1/2$. A corollary of the proof (by induction) of the fact above is a recurrence formula for such numbers $B_n$, which are known as Bernoulli numbers: $$\\sum_{k=0}^{n-1}\\binom nkB_k=0\\,.\\tag{$\\ast$}$$ On the other hand, there are a number of explicit formulae for $B_n$, which are obtained using the equality $\\frac x{e^x-1}=\\sum_{n=0}^\\infty B_n\\,\\frac{x^n}{n!}$; see and . For example: $$B_n=\\sum_{k=0}^n\\frac1{k+1}\\sum_{r=0}^k(-1)^r\\binom krr^n\\,.\\tag{$\\ast\\ast$}$$ Is there some clever way to manipulate the recurrence $(\\ast)$ in order to obtain $(\\ast\\ast)$?",
"The class will be over in 10 minutes. The class will be over after 10 minutes. I know the first is correct but why?",
"Is it possible to add multiple materials to a text object? I know that for a mesh you can go into edit mode and select vertices and assign a specific material to them quite easily. I want to know if it is possible to do this with a Text object (which has no vertices).",
"How to get the current time in Python",
"Find the general solution of $y'= a^{x + y}$ where y is the function",
"why __getitem__ cannot be classmethod?",
"How to find a whole word in a String in java",
"Lightsaber blade \"weight\" in-universe",
"What makes a Feynman diagram real or virtual? Simple question: as the title says, what makes a real Feynman diagram real, and what makes a virtual diagram virtual? Or in other words, how do I tell whether any given diagram is real or virtual? I've never gotten a really satisfying explanation of this. I would imagine it has something to do with virtual particles, but all internal propagators are virtual particles and I know for a fact that having internal lines doesn't make a diagram virtual.",
"How do you secure wood framing to a concrete basement floor?",
"Trace map from finite surjective morphism of normal irreducible varieties",
"Sum of points and rank according to points",
"Why doesn't the Sun appear green to our eyes?",
"Illustrator Vector Graphics Appearing Pixellated"
] | medi_sts_stackexchange_dupe |
What control is being used in the Settings app to edit signature | Using iOS 5 rich text editor | [
"What causes the expansion of space?",
"Opposite of \"trendy\" without a negative meaning I am looking for an opposite to the word trendy without giving a meaning that those who adopted the trend are old-fashioned in hindsight. For example, Service Oriented Architecture is the trend as of now. But what is trendy in 2014 can become ______ in 2015. So in 2015, the trend becomes widespread to the extent that it is no longer trendy, but not necessarily old-fashioned. Edit: I am currently thinking of using mainstream. But still any other thoughts are welcome!",
"Salesforce, Oracle and the Seven Dwarfs Over my time as a Salesforce developer, I've written some code which on occasion managed to surface Oracle plsql exceptions and curiously the error text contains the name of one of Disney's . I've teased out Doc, Grumpy, Happy, Bashful and Sneezy. I'm sure the other two are not far away. What is the underlying \"thing\" on the database platform that is named after a Dwarf? Why were these named after Dwarves? java.sql.SQLException: ORA-30006: resource busy; acquire with WAIT timeout expiredORA-06512: at \"DOC.CAPEX\", line 2200ORA-06512: at line 1: SQLException while executing plsql statement: {call cApex.update_sysmodstamp(?)}([ java.sql.SQLException: ORA-30006: resource busy; acquire with WAIT timeout expiredORA-06512: at \"GRUMPY.CAPEX\", line 2563ORA-06512: at line 1: SQLException while executing plsql statement: {call cApex.update_sysmodstamp(?)}([ java.sql.SQLException: ORA-30006: resource busy; acquire with WAIT timeout expiredORA-06512: at \"HAPPY.CAPEX\", line 2715ORA-06512: at line 1: SQLException while executing plsql statement: {call cApex.update_sysmodstamp(?)}([ java.sql.SQLException: ORA-30006: resource busy; acquire with WAIT timeout expiredORA-06512: at \"BASHFUL.CAPEX\", line 2715ORA-06512: at line 1: SQLException while executing plsql statement: {call cApex.update_sysmodstamp(?)}([ java.sql.SQLException: ORA-30006: resource busy; acquire with WAIT timeout expiredORA-06512: at \"SNEEZY.CAPEX\", line 2718ORA-06512: at line 1: SQLException while executing plsql statement: {call cApex.invalidate_agc(?,?)}([ Error: ORA-20000: ORA-06512: at \"SNEEZY.SIMPORTLOOKUP\", line 850 ORA-06512: at \"SNEEZY.SIMPORTLOOKUP\", line 823 ORA-06512: at line 1 : SQLException while executing plsql statement: {call sImportLookup.get_by_ext_id_text(?,?,?,?,?,?,?)}([",
"Prove that the additive group $ℚ$ is not isomorphic with the multiplicative group $ℚ^*$. Prove that $ℚ^*_{>0}$ is not isomorphic with $ℚ$.",
"What does env x='() { :;}; command' bash do and why is it insecure? There is apparently a vulnerability (CVE-2014-6271) in bash: I am trying to figure out what is happening, but I'm not entirely sure I understand it. How can the echo be executed as it is in single quotes? $ env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\" vulnerable this is a test EDIT 1: A patched system looks like this: $ env x='() { :;}; echo vulnerable' bash -c \"echo this is a test\" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test EDIT 2: There is a related vulnerability / patch: which uses a slightly different test: $ env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable' bash -c \"echo test\" unpatched output: vulnerable bash: BASH_FUNC_x(): line 0: syntax error near unexpected token `)' bash: BASH_FUNC_x(): line 0: `BASH_FUNC_x() () { :;}; echo vulnerable' bash: error importing function definition for `BASH_FUNC_x' test partially (early version) patched output: bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' bash: error importing function definition for `BASH_FUNC_x()' test patched output up to and including CVE-2014-7169: bash: warning: x: ignoring function definition attempt bash: error importing function definition for `BASH_FUNC_x' test EDIT 3: story continues with:",
"Is there a backquote on the iPhone keyboard? Is there a backquote (backtick `) on the iPhone keyboard, and if so, where is it? When I'm writing a post on a site in the SE family (especially SO), I want to use the backquote for inline code blocks. Under the single quote key, I've found two curly/angled quotes, but those (’ and ‘) don't seem to do the trick...",
"Auto size image to page size in InDesign I've got an InDesign document with 100 A4 pages. I've got 100 assets (a mixture of .jpg and .pdf files) and I want to place 1 per page. If an image is not the proportion of the A4 page I would like to get it as big as it can be on the page before it hits into the margin. Ex. if it's a portrait image it should be as large as it can be before hits the top/bottom margin. If it's a landscape image it should be as large as it can be before hits the left/right margin. At the moment I'm dragging each file across and resizing them manually. Is it possible just drop them on the page and get them auto resized ?",
"Does the lens I just bought have a fungus?",
"I was reading a blogpost here: () One thing that threw me off was that after the first four large displayed equations, there is the statement "it is sufficient to prove that if the theorem holds for $n=m+1$, then it holds for $n=m$." How is this type of induction valid? I browsed around for things like backward induction, reverse induction, and Cauchy induction, but couldn't find a justification for how this is valid. With the usual forward induction of verifying a base case and proving $P(n)\\implies P(n+1)$, it's easy to intuitively understand how induction will show a property holds for all natural numbers (or at least starting at the base case). But with this reverse induction, it seems to me that if you prove $P(m+1)\\implies P(m)$, then if you were able to verify a specific case like $P(15)$, then you would only know it's true for numbers up to $15$. How does it actually prove the property for all naturals?",
"After MiKTeX update: suddenly all fonts (incl. existing path-referenced ttf files) are not found by fontspec / LuaLaTeX anymore",
"How to sort lines by float number I've such a file: name: xxx --- time: 5.4 seconds name: yyy --- time: 3.2 seconds name: zzz --- time: 6.4 seconds ... Now I want to sort this file by these float numbers to generate a new file as below: name: yyy --- time: 3.2 seconds name: xxx --- time: 5.4 seconds name: zzz --- time: 6.4 seconds ... I've tried the command awk '{print $5}' myfile | sort -g but this will show me ONLY the float numbers.",
"Custom first page with fancyhdr I'm using the package fancyhdr to format my footers and headers, with my name in the header and a n of m pages format for the footer. Like so: \\pagestyle{fancy} \\fancyhf{} % clear all header and footer fields \\fancyhead[C]{Name} \\fancyfoot[C]{\\footnotesize Page \\thepage\\ of \\pageref{LastPage}} By default, the fancy page style only affects the pages after the first page. I know I can set the first page to the fancy page style using \\thispagestyle, but I only want the first page to use the footer, not the header. Is there a way to create a custom style that just the first page will use?",
"I'm trying to process some data in Excel. The data includes numeric account numbers and other long numeric strings (like cell phone MEIDs). I am not doing math operations on these strings, so I want Excel to treat them as plain text. Here is what is making me nuts (this is Excel 2010): Take a long number like 1240800388917 and paste it in a cell in a new worksheet. Excel's default cell format is general, so the string is presented in scientific notation as 1.2408E+12 Right click on the cell, select Format Cells, set the format to Text The cell is still displayed in scientific notation, even though the format has been set to text. Now, if I do the steps in a different order: Format an empty cell as text. Right click on the cell, select Format Cells, set the format to Text Take a long number like 1240800388917 and paste it in to the text formatted cell Now, the cell is displayed as a string and not in scientific notation. The results remaining in scientific notation even though the cell is formatted as text just seems broken to me. I've seen suggested work-arounds like: use CSV import and set the format to text, add a space character to the beginning of each numeric string, and others. Is there a simple good work around to easily keep these strings formatted as text? Why on earth does Excel do this? Related SU questions I found: and",
"Transfer subtype Descriptions form long integer value into a string at new diffrent field",
"I'm trying to make a page where a user provides an ID of a attachment and the site will set the headers and deliver that file instead of a 404 page. so /download/1754 would lookup the attachment with that Id and output it for viewing/download depending on the file type. I just can't think of a wordpress friendly way to do this from inside a plugin. I considered using add_rewrite_rule but couldn't see a good way around it, also considered checking $_SERVER['REQUEST_URI'] to deliver the content before any HTML but then I'd have to stop the page from rendering a 404 and I was not sure of a Wordpress friendly way to do this. My current idea was to have my plugin make a download page, assign a template and have that template run the logic instead of my plugin class. while I have used this before for another situation it was very messy as I had to write a lot of code to force users to be unable to update or edit the file and recreate/delete it on activation.deactivation. so ideally I'd like to avoid that.",
"Evaluate $\\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n) dx$ Let $f$ be a real, continuous function defined for all $0\\leq x\\leq 1$ such that $f(0)=1$, $f(1/2)=2$, and $f(1)=3$. Show that $$\\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n) dx$$ exists and compute the limit. Attempt: Since $f$ is real-valued continuous on $0\\leq x\\leq 1$ and the boundaries $f(0)=1$ and $f(1)=3$, $f$ is bounded on the interval and the integral $\\displaystyle\\int_0^1 f(x^n)dx$ exists for any positive $n$. Thus, we can interchange the limit and the integral and compose the limit, \\begin{align*} \\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n)dx&=\\int_0^1\\lim_{n\\rightarrow\\infty}f(x^n)dx\\\\ &=\\int_0^1 f\\left(\\lim_{n\\rightarrow\\infty} x^n \\right)dx\\\\ &=\\int_0^1 f(0)dx=1. \\end{align*} Questions: So, my first question concerns whether interchanging the limit and the integral is correct. It seems it would be justified by the dominated convergence theorem, where $f(x^n)$ is dominated by a function $g(x)=\\displaystyle\\sup_{0\\leq x\\leq 1} f(x^n)$ and $f_n(x^n)$, on $0\\leq x\\leq 1$, converges pointwise to a function $f$ that takes value 1 for $x\\neq 1$ and 3 for $x=1$. My next question is whether the interchange between the limit and composition of the function is allowed. Since the function is continuous and the limit exists at that point, it seems the interchange would be justified.",
"Boggle: What is the dice configuration for Boggle in various languages? This is the dice configuration for the English Boggle: Other variants and discussions concerning letter distributions for English can be found here: , , , (Wikipedia). I am interested in the 16 dice configurations for also other languages (Spanish in particular) and I am unable to find it anywhere online. Versions I have managed to find so far: , English 25 dice version: Spanish 25 dice version: Italian 25 dice version:",
"Asymptotic expansion for Fresnel Integrals If you take the fresnel integrals to be $$S(x) = \\int_{0}^{x}\\sin \\left(\\frac { \\pi \\cdot t^2}{2} \\right) dt$$ How do you find the asymptotic expansion? I know it begins with a $1/2$ but how?",
"Is Dyson Sphere a stable construction? Suppose that a star is encompassed by a . Do we need a position control system for the Dyson Sphere to keep its origin always aligned with the center of the star? Will it stay aligned itself and automatically neutralize small perturbational forces? Or will a small perturbation remove it out of the orbit of the star, so that it will be eventually destroyed and swallowed by the star?",
"Use Outgoing SSH to receive incoming SSH My ISP does not allow me to have a static IP address. As such I am unable to remotely SSH in my home machine. Is there a way I could SSH from my home machine to a server and SSH into the server from my remote laptop and bridge the two connections? Cheers!"
] | medi_sts_stackexchange_dupe |
Two Apple Developer Accounts | Multiple Apple Developer Accounts | [
"Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop We all know you can't do the following because of ConcurrentModificationException: for (Object i : l) { if (condition(i)) { l.remove(i); } } But this apparently works sometimes, but not always. Here's some specific code: public static void main(String[] args) { Collection<Integer> l = new ArrayList<>(); for (int i = 0; i < 10; ++i) { l.add(4); l.add(5); l.add(6); } for (int i : l) { if (i == 5) { l.remove(i); } } System.out.println(l); } This, of course, results in: Exception in thread \"main\" java.util.ConcurrentModificationException Even though multiple threads aren't doing it. Anyway. What's the best solution to this problem? How can I remove an item from the collection in a loop without throwing this exception? I'm also using an arbitrary Collection here, not necessarily an ArrayList, so you can't rely on get.",
"Academic rank equivalence between the UK and the US systems",
"What are good advanced LaTeX books? I've been using LaTeX for about 3 months, and I'm hooked. My background is programming, so for the basic, google is sufficient. I did some research on amazon.com and found these two books with many positive feedback: However, most of people said they are more like references than a real book. And if they really are, then I think I'd rather look up at CTAN. What I'm looking for is a book that can teach me how to program in LaTeX, for example: Write my own package Create animation Create and using macro in LaTeX .... I know there are many options around, however to pick the right one is not an easy task. Any advice or suggestion would be greatly appreciated. Thank you.",
"What happens when a caster targets an object that looks like a creature with a spell that targets only creatures? There are many spells which explicitly target creatures: Choose one creature within range The target creature is normally supposed to make a saving throw in this case. What happens when the caster chooses a creature, that is actually an object? For instance, a scarecrow, a mannequin, an illusion, or a corpse. Examples: An evil mage is hiding in the bushes. He casts an illusion of himself on the road, using the Silent Image spell. A PC sorcerer walks down the road, sees the illusion and casts Magic Missile on it. A cleric is standing near a pile of dead bodies. He has suspicions that a few corpses are actually undead creatures. He casts Sacred Flame on every corpse, see which if them succeed, hence, reveals the undead. A wizard casts Acid Splash on a mannequin, trying to damage it with acid. Possible outcomes I can think of are: The caster cannot even try to cast the spell, regardless of their information about what the target actually is. The caster tries to cast the spell, the casting fails, not expending the spell slot. The caster casts the spell, it expends the spell slot, then fails. The caster casts the spell, but it hits the original and not the illusion. The caster casts the spell, it flies to the target illusion but deals no damage to it (passes through it). References in the rules and Sage advice I was trying to investigate, but it didn't make things clearer: has an answer, that Magic Missile won't hit. It says nothing about if it can be targeted at all, it leaves it up to the DM. Magic Missile automatically finds the original, even when the caster targets an illusion. At least . Now . This supports the counter-intuitive option 4. on the other hand , if there were no perceivable effects (let's say you can try to cast the Command spell on an illusion). That assumes that casters can waste their spells on illusion, which means they at least can target it. This supports options 3 and 5.",
"Finding the derivative of $x\\uparrow\\uparrow n$ I am trying to find a general derivative for the function: $f(x)=x^{x^{x^{...^{x}}}}$however to do that I must find $f^{\\prime }$ and $f^{\\prime \\prime}$...etc. I am now trying to write down a general expression for $f^{\\prime \\prime}$ and I have stumble opon the series in the picture below, I wonder, do anyone have an idea of what sort of expantion it migth be ? I have tried breaking it down into three different sums, but I wasn't very successful! EDIT So since this post has gotten some attention and the title has been change I will tell you what I am on about, although I already have a post just for the question in the title from before. I am as I said earlier trying to find a general derivative for the function $f(x)=x^{x^{x^{...^{x}}}}$ where $n$ is an arbitrary number, natural number and greater or equal to 2. I have already made success when I tried to find the first derivative, and I have also found some interesting pattern emerge when the derivatives as well as n incresses. But my question here was if anyone knew what this expation might be or look similar to be, since I have yet to be lernt series etc. I did not know that the question needed such background since it's straight a forward question.",
"Format not available in tag wiki excerpt For example, : Format like bold or italic are not available , so it leaves ugly text there: **This tag is *extremely* ambiguous. Consider using other tags instead.** Does this need to get fixed, or it's not supported and the tag-wiki needs to be format-free?",
"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}",
"Possible Duplicate: I have seen in SQL. I wonder how would you approach the opposite problem: splitting coma delimited string into rows of data: Lets say I have tables: userTypedTags(userID,commaSeparatedTags) 'one entry per user tags(tagID,name) And want to insert data into table userTag(userID,tagID) 'multiple entries per user Inspired by question EDIT Thanks for the answers, actually more then one deserves to be accepted but I can only pick one, and the with recursions seems pretty clean to me. It works on SQL Server 2005 and above. For earlier version of SQL Server the solution can be used. For working with text data type will be helpful. Thanks again.",
"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' => 'Drupal Webform (PHP/' . phpversion() . ')', ); return $headers; } changing it with function MYTHEME_webform_mail_headers($variables) { $headers = array( 'CC' => '[email protected]', 'X-Mailer' => '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.",
"Closure of the set of degree $n$ polynomials with $n$ real roots A very beautiful (but maybe classic) exercise: Consider the set $\\Omega_n$ of polynomials of degree $n$ with real coefficients and $n$ distinct real roots. What is the closure of $\\Omega_n$ in $R_n[x]$? ($R_n[x]$ denotes the set of polynomials with real coefficients of degree at most $n$) The answer is the set of polynomials in $R_n[x]$ all of whose roots are real, plus the constant polynomials. Showing that this set is contained in the closure is not too hard, however the reverse implication is more difficult and I'm wondering what is the most elementary method to prove it (without talking about holomorphic functions for example).",
"URL to create a new Google document What is the current URL to create a new Google Document please? Since Google last updated their Docs the old URL does not work.",
"Story about a deadly alien creature on another planet that has some chemical in its body that makes it faster I can not remember if it was a short story or a novel, but I am leaning towards it being a novel. There is a colony of humans and I can't remember if they crash-landed or not. There is a creature that they come to discover after it has killed a few people. The creature has some kind of chemical in its body that is like a super-adrenaline. One part is I remember is one of these creatures getting very hot from using up its reserve of this chemical and it dived into a river or pond and it started to steam. Something like that. It has to be at least 10 years since I read the story.",
"How to make a series of rectangles follow a pen path I am trying to get a series of shapes (rectangles) to follow a path (sine wave) that I made with the pen tool, but I have no clue how to do that or if it is possible. I have tried warping a rectangle into the sine wave path, but it takes many different warped rectangles and it isn't smooth. I thought might work for rectangles, but it only works for text.",
"equirectangular rendering for Blender Internal? Can such frames/videos be rendered in Blender Internal as well? If not, how indirectly? EDIT: The below solution is great as long as you can write your own Python script and only render solid objects. When you need things like particles/hair, it won't work as those won't be reflected.",
"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.",
"In the United States, we say that someone lives on a street, whereas I've noticed that British people say in. For instance: Bubba lives on Washington Street. Colin lives in Cavendish Avenue. I believe we both would use at when a number is given. For instance: Bubba lives at 16 Washington Street. Colin lives at 7 Cavendish Avenue. I don't think it matters if it's a road, avenue, street, circle, or lane — as far as I know, in America, we always live on a street. Does it vary in British English, or is it always in? If it varies, what are the rules?",
"Why do people risk death by joining Starfleet if not for money or preservation of their homes? Watching Star Trek made me think of a few \"deeper\" questions about Starfleet, which are all related to the Star Trek TV series. So, let's take for example the Dominion War: people are dying every second, ships get destroyed and cadets are still joining although they know they are probably going to die unless they are with Picard or Sisko. As I read and got to understand, money has no value anymore, latinum is the general trading currency in the universe. But people on Earth don't trade and don't earn their paychecks. Earth is a much better place than today and yet young boys and girls from every culture/civilization are joining Starfleet as they are willingly signing their death note. Why are they joining, what motivates them? They might know that they're probably going to die. They don’t earn paychecks. They could be doing any other job, yet they choose this. And what's more interesting how many died on battlefields must be lined up in front of StarFleet every day? What do they receive after service? Why are they doing it other than preserving their homes?",
"Accessing the index in 'for' loops?",
"In the paper \"Beautiful Code Compelling Evidence\", by J.R. Heard -- Code is formated in a particular way which includes margin comments. I am looking for a way to do this as I think it is a very clear way to comment comment code in a literate programming style.",
"It seems Microsoft has tried to solve this problem . In Windows 7, there is no boundary between monitors and the mouse can move freely across the top of the screen between my 3 monitors, provided I had set their heights equal in display settings. Windows 8 introduced sticky corners. See . Windows 10 got sticky corners as well. There are a few pixels at the top corners of each display where the mouse cannot cross over onto the other display. One must move the cursor down to avoid this region in order to get to the next display. The image shows roughly the region where mouse movement is not permitted in Windows 10, but is allowed in Windows 7. Personally, I had no problem with unrestricted mouse movement across the top of my screens - I got used to \"aiming\" for the x, and the convenience of unrestricted cursor movement. Like all the people who wanted to disable it in W8, I'm wondering if there is a way to disable it in W10. Edit to address possible duplicate: Although the problem is identical to the one in , solutions to solve the problem in W8 involving editing the registry key MouseCornerClipLength do not work in W10, since that registry key is not present in W10. Also adding that key and setting the value doesn't work. I searched the entire registry and couldn't find it in another location. No other W10 keys in the node referenced in the W8 solution are obvious replacements. Edit to address possible solutions in comments harrymc's and that worked for for Windows 8.1 do not work in Windows 10."
] | medi_sts_stackexchange_dupe |
What does the first colon-separated number in a Debian/APT package version number like 1:2.10.1-4 mean? | understanding Debian dpkg package version numbers | [
"\"Can't find Project or Library\" for standard VBA functions",
"How to make Table of Contents manually I'm trying to make table of contents manually, I mean I set the page of each of sections one by one. Here's my target: and I'm using book class here. Here's the code that I found \\documentclass[oneside]{book} \\renewcommand\\contentsname{CONTENTS} \\renewcommand\\listtablename{LIST OF TABLES} \\renewcommand\\listfigurename{LIST OF FIGURES} \\addtocontents{toc}{{\\bfseries Contents\\hfill Page No.\\bigskip\\par}} \\addtocontents{lot}{{\\bfseries No.\\hfill Title\\hfill\\hfill Page No.\\bigskip\\par}} \\addtocontents{lof}{{\\bfseries No.\\hfill Title\\hfill\\hfill Page No.\\bigskip\\par}} \\usepackage[titles]{tocloft} \\usepackage{xcolor,xpatch} \\renewcommand\\cftbeforechapskip{0ex} \\renewcommand\\cftchapfont{\\mdseries} \\renewcommand\\cftchappagefont{\\mdseries} \\renewcommand\\cftchappresnum{Chapter~} \\renewcommand\\cftchapaftersnum{. } \\newlength\\tocindent \\settowidth\\tocindent{\\cftchapfont\\cftchappresnum9\\cftchapaftersnum} \\edef\\cftchapnumwidth{\\the\\tocindent} \\edef\\cftsecindent{\\the\\tocindent} \\advance\\tocindent2.3em \\edef\\cftsubsecindent{\\the\\tocindent} \\advance\\tocindent3.2em \\edef\\cftsubsubsecindent{\\the\\tocindent} \\renewcommand\\cftsecdotsep{\\cftnodots} \\renewcommand\\cftsubsecdotsep{\\cftnodots} \\renewcommand\\cftsubsubsecdotsep{\\cftnodots} \\newcommand\\tocmainmatter {\\renewcommand\\cftchappagefont{\\color{white}}% } \\xapptocmd\\mainmatter{\\addtocontents{toc}{\\protect\\tocmainmatter}}{}{} \\newif\\ifschaptertoc \\makeatletter \\renewcommand\\@makeschapterhead[1]% {{\\parindent \\z@ \\centering \\normalfont \\interlinepenalty\\@M \\Large \\bfseries #1\\par\\nobreak \\vskip 20\\p@ }% \\@mkboth{\\MakeUppercase{#1}}{\\MakeUppercase{#1}}% \\ifschaptertoc \\addcontentsline{toc}{chapter}{#1}% \\fi } \\makeatother \\usepackage{blindtext} \\begin{document} \\frontmatter \\tableofcontents \\schaptertoctrue \\chapter*{ACKNOWLEDGEMENTS} \\blindtext \\chapter*{ABSTRACT} \\blindtext \\listoftables \\listoffigures \\chapter*{ABBREVIATIONS} \\Blindtext \\chapter*{NOTATIONS} \\Blindtext \\mainmatter \\chapter{INTRODUCTION} \\blindtext \\section{General Background} \\blindtext \\section{Objective} \\blindtext \\subsection{Objective 1} \\blindtext \\subsection{Objective 2} \\blindtext \\subsection{Objective 3} \\blindtext \\section{Scheme} \\blindtext \\end{document}",
"Analogue of the Cantor-Bernstein-Schroeder theorem for general algebraic structures The Cantor-Bernstein-Schroeder theorem states that if there are two sets $A$ and $B$ such that there exist injective (alternatively, surjective, assuming choice I think) maps $A \\to B$ and $B \\to A$, then $A$ and $B$ are in bijection. It then seems natural to try to strengthen the result to other structures. If $A$ and $B$ are, say, groups (or rings, modules, etc) such that there are injective homomorphisms from each to the other, then $A$ and $B$ are isomorphic. I'm wondering if there are any results on this, or if there are known counterexamples. The theorem for sets alone is nontrivial, so I feel like any results about how it holds for other structures would be quite interesting.",
"How to replace a character by a newline in Vim I'm trying to replace each , in the current file by a new line: :%s/,/\\n/g But it inserts what looks like a ^@ instead of an actual newline. The file is not in DOS mode or anything. What should I do? If you are curious, like me, check the question as well.",
"Why app updates download entire app instead of only \"updates\"?",
"What are some alternatives to \"hover\" on touch-based devices? Came up recently in a 37signals podcast: The straightforward, \"brute-force\" solution is to just use the first touch on a UI object as the hover. It works. But are there other, more elegant solutions? For instance, could the hardware ever be made to support actual finger hovering?",
"Display current layout (language code/country flag) in keyboard indicator Just upgraded from 10.04 to 10.10, and the keyboard indicator applet no longer displays the two-letter country code for the active layout. This is terrible. Is this the default behaviour? Anyone using two layouts can't tell which language they're in. I can't seem to find the setting for this, it used to be in the preferences for keyboard layout. Update 1: In case this wasn't obvious - I have two keyboard layouts - English and Hebrew. I just upgraded form 10.04, where the country code (USA/IL) was displayed, overlaid on the flag. Now all I get is a vague keyboard icon, and can't find the settings for this. Update 2: this seems to be a , and is now back in Maverick",
"Is it allowed/desirable to post code snippets? Instead of asking a question I would love to share the one or other code snippet I have created that is too small to make a full article on e.g. CodeProject.com or CodePlex.com. Question: Would it be a good idea to post it as a Stack Overflow question? Or are there any other suggestions how to share it? (Of course I could post it on my own weblog and then twitter about it, but I would love to put it in more of a programming context)",
"Special event cards and timing",
"What's the difference between <b> and <strong>, <i> and <em> in HTML/XHTML? When should you use each?",
"Prove that if $n$ is not the square of a natural number, then $\\sqrt{n}$ is irrational.",
"Embed .mov file via 'Add Media' not working I know since WP 3.6 we've been able to upload and embed various file formats and that the 'Add Media' button effectively implements the correct media embed shortcode for us. I'm having a problem in WP4.0 using 'Add Media' to embed quicktime (.mov) files. The embed works fine for the other supported video MIME types but I'm not offered 'Embed Media Player' when I try adding a .mov file to a post. See screen grabs/explanation: See how .mov embed has reverted to a simple hyperlink (recorders) at Does anyone have any suggestions as to why this is, or to a possible fix so I can embed .mov as easily as .mp4 - seems to be the preferred format of the client. For the moment we're having to manually add the [video] shortcode ourselves in the text editor. How do I check that embed is supported/enabled for .mov?",
"Let us go is a correct construction in the English language and definitely not: Let we go However, the question is: since us is an object-case pronoun, what is the subject of this sentence?",
"What is the inverse of the $\\mbox{vec}$ operator? There is a well known operator $\\mbox{vec}$ in matrix analysis. I've vectorized my matrix equations, did some transformation of vectorized equations and now I want to get back to the matrix form. Is there special operator for it?",
"Increasing spacing between section number and title in the table of contents I'm using the simple ordinary \\tableofcontents command to produce a table of contents, and I find that the resulting spacing between the section number and the section title is too small: Can someone tell me how to fix this, please. My documentclass is memoir, if that matters.",
"I just notice it now as I am new to Illustrator. When I am in RGB mode, blending transparency seems to be easier as mode such as Screen, Multiply or Overlay looks good naturally. If I switch the document mode to CMYK then the image is getting messed up. I'd like to know, if CMYK is not ideal for blending options?",
"Why is SQL Server consuming more server memory?",
"View/edit ID3 data for MP3 files What's a quick and easy way to view and edit ID3 tags (artist, album, etc.) using C#?",
"Blog showing up as mobile, won't exit",
"What is the best way to clone/deep copy a .NET generic Dictionary?"
] | medi_sts_stackexchange_dupe |
How long before Ubuntu version no longer works? | How to install software or upgrade from an old unsupported release? | [
"Rank of the $n \\times n$ matrix with ones on the main diagonal and $a$ off the main diagonal I want to find the rank of this $n\\times n$ matrix \\begin{pmatrix} 1 & a & a & \\cdots & \\cdots & a \\\\ a & 1 & a & \\cdots & \\cdots & a \\\\ a & a & 1 & a & \\cdots & a \\\\ \\vdots & \\vdots & a& \\ddots & & \\vdots\\\\ \\vdots & \\vdots & \\vdots & & \\ddots & \\vdots \\\\ a & a & a & \\cdots &\\cdots & 1 \\end{pmatrix} that is, the matrix whose diagonals are $1's$ and $a$ otherwise, where $a$ is any real number. My first observation is when $a=0$ the rank is $n$ and when $a=1$ the rank is $1.$ Then I can assume $a\\neq 0, 1$ and proceed row reduction to find its pivot rows. I obtain \\begin{pmatrix} 1 & a & a & \\cdots & a \\\\ 0 & 1+a & a & \\cdots & a \\\\ 0 & a & 1+a & \\cdots & a \\\\ \\vdots & \\vdots & \\vdots & \\ddots & \\vdots \\\\ 0 & a & a & \\cdots & 1+a \\end{pmatrix} by subtracting the first row multiplied $a$ for each row below the first, and then divides the factor $(1-a)$, and stuck there. Any hints/helps?",
"Enumerations on PHP I know that PHP doesn't yet have native Enumerations. But I have become accustomed to them from the Java world. I would love to use enums as a way to give predefined values which IDEs' auto-completion features could understand. Constants do the trick, but there's the namespace collision problem and (or actually because) they're global. Arrays don't have the namespace problem, but they're too vague, they can be overwritten at runtime and IDEs rarely know how to autofill their keys without additional static analysis annotations or attributes. Are there any solutions/workarounds you commonly use? Does anyone recall whether the PHP guys have had any thoughts or decisions around enumerations?",
"Images for Area51 proposal community promotion on imgur.com? For each proposal on Area51, a promotional image is automatically generated and it shows the current state, e.g. number of followers/supporters or comitted. Example: They’re obviously useful for on existing sites. Alas, the current requirements for those say that the image needs to be hosted on imgur.com. I can easily provide the URL https://area51.stackexchange.com/ads/proposal/{proposal-number}.png in the image upload dialog, to get a cryptic imgur address back, but I’m afraid that it won’t update dynamically. Please note that I was able to use the area51 URL on some sites until right now, when the poster generator seems to be broken or off-line, but on other sites the software stopped me from posting any image not hosted on imgur. Can we please have the dynamic posters working everywhere (and in “HiDPI”) or be assured that the external service will update them regularly?",
"Prove using natural deduction $((P \\land Q) \\rightarrow R) \\vdash (P \\rightarrow R) \\lor (Q\\rightarrow R)$ How do I prove the following using Natural Deduction? $$((P \\land Q) \\rightarrow R) \\vdash (P \\rightarrow R) \\lor (Q\\rightarrow R)$$ My current approach: So instead of proving $(P \\rightarrow R) \\lor (Q\\rightarrow R)$, I figure I just need to prove $(P \\rightarrow R)$ and use disjunction introduction. The problem is my hypothesis requires $P$ and $Q$. How do I \"create\" this Q? I tried using the Law of the Excluded middle, but it does not seem to work. Any help or insights is deeply appreciated.",
"Preventing itemize environment to insert initial vertical space I'm using itemize and tables like the following \\begin{tabularx}{\\textwidth}{>{\\ttfamily}llX} \\toprule \\textbf{\\rmfamily Operator} & \\textbf{Typen} & \\textbf{Regel} \\\\ \\midrule = & Alle Typen & \\begin{itemize} \\item This is how we roll \\item Maybe we can talk? \\end{itemize} \\\\ \\bottomrule \\end{tabularx} But it keeps inserting a vertical space before the itemized list. How can I prevent it from doing so?",
"Programming language books explain that value types are created on the stack, and reference types are created on the heap, without explaining what these two things are. I haven't read a clear explanation of this. I understand what a stack is. But, Where and what are they (physically in a real computer's memory)? To what extent are they controlled by the OS or language run-time? What is their scope? What determines the size of each of them? What makes one faster?",
"How to synchronize systemd stop order from one service? Suppose I have a.service which I cannot modify, and b.service which I can modify, I want to see this stop order: Stopping b.service ... Stopped b.service Stopping a.service ... Stopped a.service instead of this: Stopping b.service ... Stopping a.service ... Stopped b.service Stopped a.service Assume that b.service may take at least 20 seconds to finish.",
"How do I increase my code coverage, or why can't I cover these lines?",
"How to find all subgroups of a direct product? I am wondering how do we find all subgroups of a direct product? Is there a method to find it? For example, how can we find all the subgroups of $\\mathbb{Z}_2\\times\\mathbb{Z}_2$? There is the answer: $\\{(0, 0), (1, 0)\\}, \\{(0, 0), (0, 1)\\}, \\{(0, 0), (1, 1)\\}$, and the improper and trivial subgroup. But I do not know the method how to find it. All I can think about is the following: since the order of $\\mathbb{Z}_2\\times\\mathbb{Z}_2$ is $4$, the order of a subgroup of it can be $1,2$ or $4$. If order is $1$, then it is trivial, and if order is $4$, it is proper. Then, the order of a subgroup is $2$. We know all the elements of $\\mathbb{Z}_2\\times\\mathbb{Z}_2$, so we try all the pairs. Is that the method? But what if we are given a bigger order product, such as $\\mathbb{Z}_2\\times\\mathbb{Z}_8\\times\\mathbb{Z}_3\\times\\mathbb{Z}_9$? It looks very long to try all possibilities. Can anyone help? Thanks",
"Abstraction VS Information Hiding VS Encapsulation Can you tell me what is the difference between abstraction and information hiding in software development? I am confused. Abstraction hides detail implementation and information hiding abstracts whole details of something. Update: I found a good answer for these three concepts. for several citations taken from .",
"I am buying a new desktop PC in early 2013, anyway this question should apply to someone intending to buy a new laptop/ultrabook as well. This machine is not meant for gaming, and if I ocasionally do it, I can survive with minimum graphics. However I may need some heavy multimedia edition or multitasking at times, so basically my greatest priority is a good processor, after that perhaps average graphic card (if onboards are not enough, I am still not informed enough about that), at least 4GB of RAM with possibility of expansion. I know there are some PC models specially designed to ship with Ubuntu, which is the OS I use the most these days. However, most people around me use Windows and some software with unsupported versions for Linux and not having a Windows license becomes a bit problematic. Given that, I would like to find information about which PC models or even manufacters currently on the market have the best compatibility with Ubuntu, I am still undecided between building my own desktop or buying a pre-made model, so I would like to find information both for certified models and certified hardware or even Ubuntu partners that may work closely with Canonical. Where to find this information in order to make sure that I will have a good experience with Ubuntu on my new PC in the years to come?",
"Sort order issue I'm having an issue sorting data in ascending order. Right now the sort order is: 1.0.0 10.0.0 10.0.1 11.0.0 2.0.0 2.0.1 3.0.0 3.0.1 3.1.0 What I want is: 1.0.0 2.0.0 2.0.1 3.0.0 3.0.1 3.1.0 10.0.0 10.0.1 11.0.0 How can I achieve this? The datatype can't be number or currency because of the 2 decimals, so I used text-field.",
"How can I evaluate $\\int_{-\\infty}^{\\infty} e^{-x^2} dx$ without using polar coordinates",
"Use the triangle inequality to show that $|a|+|b| \\leq |a+b|+|a-b|$ How would I go about proving that $$|a|+|b| \\leq |a+b|+|a-b|$$ Using the triangle inequality? I tried squaring both sides, yielding: $$|a|^2 +|b|^2 +2|a||b| \\leq 2|a|^2+2|b|^2+2||a|^2-|b|^2|$$ Is it correct to move the terms to the other side? I tried $$2|a||b| \\leq |a|^2+|b|^2+2||a|^2-|b|^2|$$ Then it is obvious that $$0\\leq |a|^2+|b|^2-2|a||b| +2||a|^2-|b|^2|$$ $$0\\leq (|a|-|b|)^2 +2||a|^2-|b|^2|$$ $$0\\leq ||a|-|b||^2 +2||a|^2-|b|^2|$$ But I have neither used the triangle inequality, nor it looks mathematically rigorous for my real analysis class. Any tips and tricks for solving these problems?",
"I am nearing the end of my PhD and I would quite like to buy a \"thank you\" gift for my supervisor (although, she's the socially awkward type who I'm sure will be greatly embarrassed to receive one). I'm just wondering whether a gift is the done thing? And if so, what sort of gift seems appropriate? I suppose a bottle of wine would be a safe choice?",
"I want to initialize a struct element, split in declaration and initialization. This is what I have: typedef struct MY_TYPE { bool flag; short int value; double stuff; } MY_TYPE; void function(void) { MY_TYPE a; ... a = { true, 15, 0.123 } } Is this the way to declare and initialize a local variable of MY_TYPE in accordance with C programming language standards (C89, C90, C99, C11, etc.)? Or is there anything better or at least working? Update I ended up having a static initialization element where I set every subelement according to my needs.",
"Error: Can't open display: 0 I installed WSL2 and I want to access WSL2 GUI apps from Windows 10. For this, I installed Xming and start it in \"No client\" mode. Xming startes, ok. After I open the WSL2 terminal and there execute these commands export DISPLAY=:0 And after xeyes And get error Error: Can't open display: :0 X11Forwarding checked, yes.",
"Claim: Let $X$ be a metric space. If $A,B\\in X$ are disjoint, if A is compact, and if B is closed, then $\\exists \\delta>0: |\\alpha-\\beta|\\geq\\delta\\;\\;\\;\\forall\\alpha\\in A,\\beta\\in B$. Proof. Assume the contrary. Let $\\alpha_n\\in A,\\beta_n\\in B$ be chosen such that $|\\alpha_n-\\beta_n|\\rightarrow0$ as $n\\rightarrow \\infty$. Since A is compact, there exists a convergent subsequence of $\\alpha_n\\;(n\\in\\mathbb{N})$, $\\alpha_{n_m}\\;(m\\in\\mathbb{N})$, which converges to $\\alpha\\in A$. We have $$|\\alpha-\\beta_{n_m}|\\leq|\\alpha-\\alpha_{n_m}|+|\\alpha_{n_m}-\\beta_{n_m}|\\rightarrow0 \\;\\;\\;as\\;\\;m\\rightarrow\\infty.$$ Hence $\\alpha$ is a limit point of B and since B is closed $\\alpha\\in B$, contradiction. Is my proof correct? I feel as though I am missing something simple which would trivialize the proof.",
"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?",
"What is \"all\" in isset($wp_filter['all']) I'm a newbie in WordPress. I'm trying to understand how it generates the XHTML pages. I guess it's the function of do_action( 'hook-name' ) , but I'm stuck with the understanding of the instruction isset( $wp_filter['all] ) when reading the function do_action because I don't understand what is the meaning of the word all. Is it a PHP feature or a WordPress one?"
] | medi_sts_stackexchange_dupe |
Transform right skewed distribution to normal | Appropriate data transformation | [
"\"Above\"/\"below\" before/after a noun I have seen sentences similar to the following: (1) See the reference above. (2) See the reference below. And, (3) See the above reference. But not, (4) See the below reference. Are all these forms acceptable? Which is/are preferred in formal writing?",
"How do I start a process from C#? How do I start a process, such as launching a URL when the user clicks a button?",
"Suppose $X$ is infinite and $A$ is a finite subset of $X$. Then $X$ and $X \\setminus A$ are equinumerous Suppose that $X$ is infinite and that $A$ is a finite subset of $X$. Then $X$ and $X \\setminus A$ are equinumerous. My attempt: Let $|A|=n$. We will prove by induction on n. It's clear that the the theorem is trivially true for $n=0$. Assume the theorem is true for all $n=k$. For $n=k+1$, then $|A \\setminus \\{a\\}|=k$ for some $a \\in A$. Thus $X \\setminus (A \\setminus \\{a\\}) \\sim X$ by inductive hypothesis, or $(X \\cap \\{a\\}) \\cup (X \\setminus A) \\sim X$, or $\\{a\\} \\cup (X \\setminus A) \\sim X$. We have $\\{a\\} \\cup (X \\setminus A) \\sim X \\setminus A$ since the theorem is true for $n=1$. Hence $X \\setminus A \\sim \\{a\\} \\cup (X \\setminus A) \\sim X$. Thus $X \\setminus A \\sim X$. This completes the proof. Does this proof look fine or contain gaps? Do you have suggestions? Many thanks for your dedicated help! Update: Here I prove that the theorem is true for $n=1$. Assume that $A = \\{a\\}$ and consequently $X \\setminus A= X \\setminus\\{a\\}$. It's clear that $|X \\setminus A| \\le |X|$. Next we prove that $|X| \\le |X \\setminus A|$. Since $X$ is infinite, there exists $B \\subsetneq X$ such that $B \\sim X$ (Here we assume Axiom of Countable Choice). Thus $|X|=|B|$. There are only two possible cases. $a \\in X \\setminus B$ Then $B \\subseteq X \\setminus \\{a\\}=X \\setminus A$ and consequently $|X|=|B| \\le |X \\setminus A|$. Thus $|X| \\le |X \\setminus A|$ and $|X \\setminus A| \\le |X|$. By Schröder–Bernstein theorem, we have $|X \\setminus A| = |X|$. It follows that $X \\setminus A \\sim X$. $a \\in B$. Let $b \\in X \\setminus B$. We define a bijection $f:X \\setminus \\{a\\} \\to X \\setminus \\{b\\}$ by $f(x)= x$ for all $x \\in X \\setminus \\{a,b\\}$ and $f(b)=a$. Thus $X \\setminus \\{a\\} \\sim X \\setminus \\{b\\}$. Since $b \\in X \\setminus B$, it follows from Case 1 that $X \\setminus \\{b\\} \\sim X$. Hence $X \\setminus \\{a\\} \\sim X \\setminus \\{b\\} \\sim X$. Thus $X \\setminus \\{a\\} = X \\setminus A \\sim X$. To sum up, $X \\setminus A \\sim X$ for all $|A|=1$.",
"Do professors get paid for supervising students?",
"Ubuntu 16.10 Dual Boot error - 'grub-efi-amd64-signed' package failed to install",
"View approximate number of users online Is there any way to view the number of users online at any given time (or even an approximation)? This could be really useful to provide an indication of whether your question is likely to get answered any time soon. It could also provide a bit of an indication for why your question is getting very low views - if there are only a few users online, then that could be the reason for little interest in a question, whereas if there are lots of users online and the question still doesn't garner many views, then maybe it needs to be rephrased or something. I know that this can't be used definitively, but it could be used as a rough guide, and could also just be an item of interest. Perhaps it could show the number of users that have been seen in the past 5 / 10 minutes? (Shouldn't be too hard, since each user page already shows the last time that they were seen).",
"Vector. Properties It is given in a question that $\\vec x+\\vec a=(\\vec a\\cdot \\vec x)\\vec b$ and it is stated that $\\vec a$, $\\vec b$ and $\\vec x$ are vectors. It is also stated that $\\vec a\\cdot \\vec b\\ne 1$. The question asks to express $\\vec x$ in term $\\vec a$ and $\\vec b$. How do you this?",
"Is there a way to buy SO reputation?",
"Viewer-independent copyable spaces at the beginning of a line? I need to include a couple of Python code listings, where the indentation of the lines (using some number of spaces) is significant. I would like for the code listings to be copyable, so the spaces at the beginning of the line need to be be copied along with the text. This question has been asked in various ways before (e.g. , or ). Those questions focus on making line numbers uncopyable, though. Making the spaces at the beginning of a line copyable seems to be harder: \"I am not sure it is possible to specify in the PDF (at least in a viewer-independent way) that the indentation should be copied too\" (). At , Philippe Goutet suggests a solution (turning the spaces into visible spaces, and coloring them in the background color so that they appear invisible) that works using Acrobat Reader, but not all readers. He says \"It works under Acrobat Reader and it's extremely pleasant to be able to quickly copy/paste code without problem (perhaps the problem can be circumvented by writing direct PDF code to tell that it's a space, I've never had the time to try)\". Is it possible to produce a PDF with a code listing with copyable real spaces at the beginning of a line? Minimal example: The line return x should start with four spaces. \\documentclass{article} \\begin{document} \\begin{verbatim} def myfunction(x): return x \\end{verbatim} \\end{document} I know that I could attach the code to the PDF as a file, but that's not what I want.",
"Do eyeballs exhibit chromatic aberration? Fairly straightforward question. If not, why not? I suspect that if they do, it is not perceived due to the regions of highest dispersion being in one's region of lowest visual acuity.",
"I'm trying to build a datapack that lets you craft xp bottles from glass bottles at the expense of 7 xp per bottle (because they drop 3 to 11 xp so the average is 7). I have almost everything working except for a check for if they have too little xp. If they have 7 or less xp, I would like to remove one bottle of enchanting from their inventory and give them one glass bottle, because the function for removing xp is called after they've crafted one and a scoreboard has counted it. My remove function currently looks like this: #create dummy scoreboard to multiply bottles crafted by seven to get xp to be removed scoreboard objectives add 7xp dummy scoreboard players set @s 7xp -7 scoreboard players operation @s xpCrafted *= @s 7xp #how do I get the value in xpCrafted into the command to remove xp? xp add @s -7 points #cleanup scoreboard players reset xpCrafted scoreboard players reset 7xp scoreboard players set @e xpCrafted 0 scoreboard objectives remove 7xp And my tick function like this: execute as @e[scores={xpCrafted=1..}] at @s run function craft_xp:removexp As the inline comment says, how do I get that value in xpCrafted into my xp removing command, and also how should I check to make sure the player has enough xp for the operation in the tick command (or elsewhere)? Presumably I would run a different command to remove the extra bottle if they didn't have enough xp, but I don't know how because there doesn't seem to be any type of if/else structure in commands. Finally, should a question like this be in two different questions or is one ok on this forum?",
"Algorithm to detect overlapping periods",
"How to integrate $\\int x^2 \\sin^2(x)dx$ I don't know how to integrate $\\int x^2\\sin^2(x)\\,\\mathrm dx$. I know that I should do it by parts, where I have $$ u=x^2\\quad v'=\\sin^2x \\\\ u'=2x \\quad v={-\\sin x\\cos x+x\\over 2}$$ and now I have $$ \\int x^2\\sin^2(x)\\,\\mathrm dx = {-\\sin x\\cos x+x\\over 2} x^2 - \\int 2x{-\\sin x\\cos x+x\\over 2}\\,\\mathrm dx\\\\ ={-\\sin x\\cos x+x\\over 2} x^2 - \\int x(-\\sin x\\cos x+x)\\,\\mathrm dx\\\\ $$ so I have to calculate $$ \\int x(-\\sin x\\cos x+x)\\,\\mathrm dx=-\\int x\\sin x\\cos x\\,\\mathrm dx+\\int x^2\\,\\mathrm dx$$ I know that $\\int x^2\\,\\mathrm dx = {1 \\over 3}x^3+C$ but I don't know what should I do with $$\\int x\\sin x\\cos x \\,\\mathrm dx$$ Should i use parts again or what? Please help.",
"I need to analyse data and am unsure whether or not I should use a multinomial logistic regression analysis or a binary logistic regression analysis. I have just conducted a latent class analysis and am interested in seeing if my variables can predict class membership. There are only two classes and so my response variable only has two categories; however the variables range from having 2 to 3 to 4 and are mostly nominal categorical data.",
"How to show $\\lim_{n \\to \\infty} a_n = \\frac{ [x] + [2x] + [3x] + \\dotsb + [nx] }{n^2} = x/2$?",
"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}$?",
"Solve $$\\int \\limits_{0}^{\\infty} \\frac{\\cos(x)}{\\cosh(x)} dx$$ without complex integration. This integral can be very easily solved with contour integration, but how can you solve it without taking a tour in the complex plane?",
"File upload to Heroku not working",
"How to find the id of the last added feature using pyQGIS? Is it possible to programmatically (in python) access the attribute info of the last added feature in QGIS 2.0 before edits are saved? I'm failing to find a way to get the ID and subsequently other attributes of my feature of interest (the one most recently added). idx = layer.fieldNameIndex('myField') myList = [] lastEdited = ID THAT I'D LIKE TO RETRIEVE for feature in layer.getFeatures(): if feature.id() == lastEdited: print feature.attributes()[idx] From this I'd like to get 'myField' of my most recent addition. UPDATE: Following lead of this , I was able to achieve my goals via the Python console, but am failing to get it to work for my plugin. def updateTableWidget(self, fid): idx = layer.fieldNameIndex('myField') myList = [] for feature in layer.getFeatures(): if feature.id() == fid: myList.append(feature.attributes()[idx]) Via the python console, I was able to connect to my layer like so: layer.featureAdded.connect(updateTableWidget) After adding a QgsMessageLog to my function, the attributes were correctly identified. I now have a beginner python issue, however. Calling the function in my plugin as shown below gives me TypeError: updateTableWidget() takes exactly 2 arguments (1 given): self.updateTableWidget() The function was called from feature form python file.",
"\"Baggage\" versus \"luggage\""
] | medi_sts_stackexchange_dupe |
Unique Factorization Domain: Factorization | Why is $\mathbb{Z}[\sqrt{-n}], n\ge 3$ not a UFD? | [
"How do I disable the profiles button in Chrome? Since Chrome version 38, there's a pretty ugly button in the title bar of the Chrome window that allows you to switch profiles quickly. Since I'm the only one that uses my computer, this is not really useful to me, and I'd rather reclaim the space for more open tabs. I've looked in the settings but don't see a way to disable it. How can I get rid of the button?",
"How is Anti Aliasing Implemented in Ray Tracing? After reading a few articles online I can confidently say I am clueless on how Anti-Aliasing works when using Ray Tracing. All I understand is that A Single Pixel/Ray is split into 4 sub-pixels and 4 rays rather than 1. Could somebody please explain how this is done (preferably with code)?",
"I'm trying to crack a cypher that I believe is Vigenère encrypted and I'm currently stuck. I calculated the key length by finding repeated sequences in the cypher and calculating the the common factors. Word distance factors agzd 16 2,4,8,16 zna 92 2,4,23,46,92 zdc 54 2,3,6,9,18,27,54 csio 44 2,4,11,22,44 omy 46 2,23,46 zab 5 5 I assume the key-length is 4 as these are the once that are common factors, but from here on trying to map the correct caesar shiffre for each position I'm stuck. Can somebody confirm that my key-length calculation has no errors which would explain why I can't solve the cypher. Here is the cypher: jD 2GSA 7HNA ZNA w.m. V7KXA 36HBM MKE5 /H SGP9 +R GKKJ 2I A4OTC KDBCUR. 19+R 8Y TKJ JG4 IGO6 6U4T OJ hH/BIK. 196 qFKT+9 BNJK ZD6+Q AGZD. kJ'R EaOP6 4NCR ZK 36 / AGZD6C/HOIE2D. x0ZNAC2S8IO8DI HB xX8D4D 0XK O66M 0Y MN62S 8TZABBD2Za8BI. lBJ HA+DF 6UU/ 2J /FOZDC6S8I OJ kDC8G OO 2BLCYZ O66M 0Y G 925F4 UL J2JHCTGH FHH3K",
"What is integration by parts, really? Integration by parts comes up a lot - for instance, it appears in the definition of a weak derivative / distributional derivative, or as a tool that one can use to turn information about higher derivatives of a function into information about an integral of that function. Concrete examples of this latter category include: proving that $f \\in C^2(S^1)$ implies that the Fourier series of $f$ converges absolutely and uniformly, and the Taylor series expansion with the integral formula for remainder. However, I don't feel like I really understand what integration by parts is really doing. To me, it is just an algebraic trick that follows from the fundamental theorem of calculus and the product rule. Is there some more conceptual way to think about it? How do you think about this useful idea?",
"Converge or diverge? : $\\sum_{n=1}^{\\infty}\\frac{\\tan{n}}{2^{n}}$",
"Allow the creation of links in formatted code through markdown or the GUI As pointed out in it is possible to create a link in formatted code. But, only by using explicit HTML. Since I think creating a link to documentation within a code block is a fairly common use case, it should be possible to do this using the GUI. I should be able to highlight some code. Press the code formatting button. Then highlight some code within that and press the link button and create a link. Today this results in: [parseInt][3](\"01\", 10); it should result in: (\"01\",10);",
"\"Goose\"–\"geese\" vs. \"moose\"–\"moose\" Why is it that the plural of goose is geese but the plural of moose is moose? The same goes for mouse and house. Mouse becomes mice, yet house becomes houses.",
"I have a shapefile with 3800 polygons representing the smallest administrative areas in Ireland. Many of these, in rural areas, have tiny populations, under 100 people. In urban areas, all would have adequate populations. For each area I have a population figure, and various other attributes, all of which can be intelligently summed to give valid results for areas produced by combining the smaller areas. I need to merge the areas to get say, 500 or 600 areas of reasonable population. I need to leave the larger (in population) areas alone, where possible. I would greatly prefer to do this automatically. This is necessary for model fitting purposes, primarily. I've looked at a number of the dissolve questions here: 'Batch Dissolve Polygons based on Attributes in QGIS or FWTools' I think would require me to know which areas to merge, when this is what I need to calculate. 'Practical way of managing polygons and unions of them' and 'How do dissolve polygons from shapefile using open source tools?' have the same issue. Any suggestions?",
"What Android emulators are available? I will like to know some of the android emulators that work really well with Ubuntu 11.10 and above. I want to try 'whatsapp' on Ubuntu through an android emulator. Thanks in advance",
"How can metagaming retries on poor skill checks be prevented?",
"Non numbered chapter* header issue",
"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?",
"Pgfplots with custom axis markers Assume you have a trigonometric function, say for simplicity sin(x). When plotting the function, how can one place the x-axis markers on 0, pi/2, pi, 3pi/2, 2pi, instead of the default numeric values that pgfplots uses?",
"How to automatically generate a stacktrace when my program crashes",
"Remove Indentation for a Single Paragraph Is there a way to remove the indentation at the beginning of a paragraph for a single paragraph. I know I could do \\setlength{\\parindent}{0cm} This is my paragraph. Blah blah blah. \\setlength{\\parindent}{default} Where default is whatever the default indentation is for the document class I am using (part of the problem is that I don't know what this default value is). I feel as if there should be a better way to accomplish this than by the above method. I am looking for a solution of the form: \\noindent This is my paragraph. Blah blah blah. Is there a way to do this, or will I have to resort to the former method? If I have to resort to the former method, what is the default indentation value for the amsart document class?",
"How handicapped am I in graduate admissions if I graduated from a lower tier university? Due to a combination of factors, I ended up going for my undergraduate studies to a relatively unknown university that was close to me geographically. Let's say that I have a relatively standard background for someone trying to apply to top tier schools for graduate studies (some research experience, some low to medium quality publications, very strong grades, good recommendation letters). Then how much does the alma mater have an impact for someone like me? I obviously know that it is still possible to be accepted, but how much of a disadvantage am I looking at exactly?",
"I am trying to find a story where a children's nursery turns into a jungle I read this short story(I believe it was under novella length, but I could be mistaken) a while back, and I am trying to identify the title for a friend. Plot: Parents(male and female) get a computer aided/holographic nursery for their children. The mother becomes increasingly agitated as the children withdraw more. The children are barely even featured in the story, and the ending concludes with lions possibly eating the parents. Publishing date: Years ago. Tech level: Seemingly functional AI, not much more.",
"Can I move Xcode and Android Studio to SD card I'm planning to buy a 64GB SD card to supplement the storage on my MacBook Air 128GB (early 2015) I wanted to know if I can move my Xcode and android studio to it as both have them take a significant part of the memory. If this can happen, I wanted to know how can I move these two to the SD card. I'm fairly new to macOS and have no idea how to do this.",
"During Thor's interrogation, Agent Coulson exits the room and Loki enters and informs him that his father Odin had passed away and that he cannot undo his banishment. Not only does he communicate with Thor, but he goes to the area where Mjölnir is embedded in the rock and attempts to lift it, with SHIELD scientists and agents completely oblivious to his presence. Loki shows a similar ability when he converses with 'The Other' and when he manipulates Erik Selvig. Is this a part of Loki's illusion powers or another one of his abilities that has not been addressed? How was he able to visit Earth without using the Bifrost?",
"Comprehensive list of tools that simplify the generation of LaTeX tables"
] | medi_sts_stackexchange_dupe |
Why do I always have to xelatex twice to make references work properly? | I get double question marks when referring to labels inside figures | [
"When I go to any github.com page in Chrome, I get a big ugly error: You attempted to reach github.com, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications. You cannot proceed because the website operator has requested heightened security for this domain. The same thing happens (in Chrome and with curl) when I go to too. This strange problem started about a week and a half ago. Here's what I see when I click the broken lock icon in the address bar: But gist.github.com works just fine: It doesn't work with curl either: Everything works fine in Firefox. How can I fix my root CA problem? Here's what it looks like in Firefox: Update: I noticed that the first certificate in the chain is different in my broken Chrome/Safari as compared to Chrome on my other computer. (There's no nasty red X anymore because I trusted it in Safari.) See how the issuers are different? What can I make of that?",
"Ckeditor toolbar not entirely showing up",
"In Windows, 'removable' drives cannot be partitioned, without the partitions not appearing and receiving drive letters, apart from the first partition. Partitioned flash drives work fine in Linux. What I want to do is partition a 8GB flash drive into two, with the first partition containing various boot disc images, which can be selected to boot from, and have various portable apps, documentation, utilities, scripts, etc, on the other partition. I currently do this using two separate flash drives, but I want to be able to use a single flash drive for everything, which I keep on my keyring. It is not possible to do this without having at least two partitions, as the ISO boot selector for the boot disc images will not work otherwise. I know there is a method where you can flip a bit, using Lexar's USB Format Tool, which fools Windows into thinking that the partitions are on a fixed hard drive. However, this apparently makes it difficult to eject the flash drive. Flash drives with from SanDisk had two partitions, presenting itself to the host system as a USB hub with a CD drive and standard USB mass storage device attached. This is what I would like to emulate, if possible.",
"Removal of statistically significant intercept term increases $R^2$ in linear model",
"Backtrack, Wi-Fi not working I've installed Backtrack 5R3 KDE, and I realized that my wireless is not working, but wired is working fine. Here's the lshw output: *-network description: Ethernet interface product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 logical name: eth0 version: 05 serial: 04:7d:7b:b7:46:f8 size: 100MB/s capacity: 100MB/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.2.2 latency=0 link=yes multicast=yes port=MII speed=100MB/s resources: irq:42 ioport:2000(size=256) memory:f0404000-f0404fff memory:f0400000-f0403fff lspci output: 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 00:14.0 USB Controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04) 00:1a.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4) 00:1d.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA AHCI Controller (rev 04) 00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)",
"Recently, my iPhone 5 was stolen, and while I have a new iPhone 6, I received a message from a number of someone claiming to be in possession of the device, with a new number. All images, contacts, Outlook mail, you name it, are still on the device. While I realize it's my fault for not having it connected to iCloud to wipe manually, is there anything I can do to have this sensitive information wiped from the device?",
"What is the relation between electromagnetic wave and photon?",
"Elliptic Coordinates - Inverting the transformation The standard way to transform elliptic coordinates $(\\mu, \\nu)$ $\\ to$ Cartesian coordinates $(x,y)$: $x = a \\cosh(\\mu) \\cos(\\nu)$ $y = a \\sinh(\\mu) \\sin(\\nu)$ Is there any way to get the transformation $(x,y)$ to $(\\mu,\\nu)$? Meaning is there a way to find: $\\mu = f(x,y)$ $\\nu = g(x,y)$ I'm guessing that it would involve $\\sinh^{-1}$'s and $\\cosh^{-1}$'s, if it was possible to do this at all.",
"Prove that if $n$ is not the square of a natural number, then $\\sqrt{n}$ is irrational.",
"It is quite easy to calculate the total number of functions from a set $X$ with $m$ elements to a set $Y$ with $n$ elements ($n^{m}$), and also the total number of injective functions ($n^{\\underline{m}}$, denoting the falling factorial). But I am thinking about how to calculate the total number of surjective functions $f\\colon X \\twoheadrightarrow Y $. The way I thought of doing this is as follows: firstly, since all $n$ elements of the codomain $Y$ need to be mapped to, you choose any $n$ elements from the $m$ elements of the set $X$ to be mapped one-to-one with the $n$ elements of $Y$. This results in $n!$ possible pairings. But the number of ways of choosing $n$ elements from $m$ elements is $\\frac{m!}{(m-n)!\\,n!}$, so the total number of ways of matching $n$ elements in $X$ to be one-to-one with the $n$ elements of $Y$ is $\\frac{m!}{(m-n)!\\,n!} \\times n! = \\frac{m!}{(m-n)!}$. Now we have 'covered' the codomain $Y$ with $n$ elements from $X$, the remaining unpaired $m-n$ elements from $X$ can be mapped to any of the elements of $Y$, so there are $n^{m-n}$ ways of doing this. Therefore I think that the total number of surjective functions should be $\\frac{m!}{(m-n)!} \\, n^{m-n}$. Is this anything like correct or have I made a major mistake here?",
"What is the integral of 1/x? What is the integral of $\\frac{1}{x}$? Do you get $\\ln(x)$ or $\\ln|x|$? In general, does integrating $f'(x)/f(x)$ give $\\ln(f(x))$ or $\\ln|f(x)|$? Also, what is the derivative of $|f(x)|$? Is it $f'(x)$ or $|f'(x)|$?",
"How many solutions $X^{10} - I=0$ has in $M_2(\\mathbb{R})$? How many solutions $X^{10} - I=0$ has in $M_2(\\mathbb{R})$? Where $M_2(\\mathbb{R})$ denotes the set of $2 \\times 2$ real matrices. I absolutely have no idea of where I should start from. $I$ and $-I$ solve the equation, but are there any other non-trivial solutions? Are there infinitely many solutions?",
"In the Law of Reflection, the angle of incidence is equal to angle of reflection. Why is this true? This is clearly true experimentally, but how does one prove this true mathematically?",
"I've imported several shapefiles which where exported from a Mapinfo .tab. Several .tab-files are imported resulting in 20+ layers. Afterwards I want to export it to GeoJSON; but I'm reluctant to select each layer and export it manually. Is there a way to merge all the layers into one using QGIS?",
"In the , if I select any site in the site switcher it will be set as Stack Overflow or some random site in the drop down list's selected site name. For the Stack Overflow, Super User, Server Fault and Meta Stack Exchange, the site switcher is set to the selected site name, but the remaining do not retain the selected site name. For English Language and Usage, it changes to Physical Fitness for some reason. All the others I've tried switch to Stack Overflow. It can be replicated in Chrome and Firefox. GIF for the same:",
"Parse JSON with R",
"How can I make my laptop boot automatically from the hard drive without having to press F10 each time? I followed the instructions in to Once I installed Windows I found that I have to press F10 to select the hard drive every single time to make it boot into Windows. I tried re-enabling Secure Boot but then I am unable to find the hard drive in the bootable devices list. What should I do? my labtop is sumsang core i3 i mean that when i wanted to change my windows i can not find cd-rom in the list of F10 i saw the Instructions of this link i Succeeded to do that and i changed my windows but then i can not go to windows automatically I had to press F10 to select hard drive and i can go to windows i want To what it was before so I make secure boot (enabled) but I can't find hard drive on the list of F10. maybe i Erred in doing my new windows If i changed my windows again i can go to windows automatically or not please i wait your advice and Instructions",
"sum of polynoms of given property",
"Small Caps and Bold Face I can't seem to have both the small caps and boldface styles on a line: \\huge\\sc\\bf Hello This will generate bold text, and if the \\sc is placed after, it will generate small caps text but not bolded. They seem to override each other, so is there any way to apply them both?",
"Make Javascript do List Comprehension"
] | medi_sts_stackexchange_dupe |
How to post code in this website? | What can I do when getting “This question body does not meet our quality standards”? | [
"Java date format conversion - getting wrong month",
"I want to run a script to simply change the current working directory: #!/bin/bash cd web/www/project But, after I run it, the current pwd remains unchanged! How can I do that?",
"How to get first N elements of a list in C#? I would like to use Linq to query a bus schedule in my project, so that at any time I can get the next 5 bus arrival times. How can I limit my query to the first 5 results? More generally, how can I take a slice of a list in C#? (In Python I would use mylist[:5] to get the first 5 elements.)",
"Using FFmpeg and IPython",
"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 are extra dimensions necessary? Some theories have more than 4 dimensions of spacetime. But we only observe 4 spacetime dimensions in the real world, cf. e.g. Phys.SE post. Why are the theories (e.g. string theory) that require more dimensions taken seriously by scientists? Is there any proof that these extra dimensions exist? Is there a simple layman's explanation for the need [or strong hint] for extra dimensions?",
"Is there a missing definite article before caliph in 'the group's leader, XYZ, as (the) caliph'?",
"With the Taylor series representation of $\\sin$ or $\\cos$ as a starting point (and assuming no other knowledge about those functions), how can one: a. prove they are periodic? b. find the value of the period?",
"Is the convex hull of closed set in $\\mathbb R^{n}$ is closed? Is convex hull of closed set in $\\mathbb R^{n}$ closed?",
"How do I grep for multiple patterns on multiple lines?",
"What is an example of a transformation on a posterior distribution such that the MAP estimate will be non-invariant? Suppose that we have a posterior distribution $p(\\theta\\mid y)$ and we wish to define a transformation on $\\theta$ such that $\\phi = f(\\theta)$. I know that generally such transformations will not affect the MLE as it is on the data space, but will result in non-invariance on the Maximum A Posteriori (MAP) estimate as it is a function of the parameter space. I am wondering if there is an example to illustrate this? Thanks.",
"How should I successfully hibernate Ubuntu 16.04? I've tried almost every solution on the web but non of them was actually helpful. I found my problem almost completely similar to",
"I recently upgraded from QGIS 3.2 to 3.4 using the standalone installer (Windows 64 bit), and uninstalling 3.2 beforehand. When I open 3.4 it goes the background behind all my other open programs and clicking its icon on the taskbar does nothing, nor does Alt-Tab. To use QGIS I have to minimize all my other open programs. Is this a Windows issue, a QGIS issue, or something else entirely?",
"Electrodynamics textbooks that emphasize applications Please recommend undergraduate-level textbooks on electrodynamics which emphasize practical applications and real life examples. Please describe the book's level and contents and its intended audience in as much detail as possible. Please provide both applications from everyday life for curious students as well as engineering applications from a physics perspective.",
"16.04 Cannot install anything from Ubuntu Software center Whenever I double click a deb file, it'd be opened in software center. However, when I click \"install\" button, it'd change to \"installing\" for a second but then turn back to \"install\" and nothing happens. It also says \"This software comes from a 3rd party and may contain non-free components\" at the bottom. I have enabled all the options in Software & Updates and also tried reinstalling software center but nothing helped.",
"What's the easiest way to run GUI apps on Windows Subsystem for Linux as of 2018?",
"How to force Windows 7 to ask for a \"fresh\" IP address from DHCP server? I'm troubleshooting a certain issue with my DHCP configuration, and need my Windows machine to ask for a \"fresh\" IP address, so I can see which address DHCP server gives by default. When I do ipconfig /release followed by ipconfig /renew, Windows \"proposes\" its old IP address to the DHCP server (just checked with Wireshark, initial \"DHCP Discover\" message has Option-50 (requested IP address) with Windows machine's old IP). Tried disabling/enabling network adapter. Same behavior. Question: How can I force Windows to just ask for a new IP address, without proposing its old IP address.",
"I am using a Collection (a HashMap used indirectly by the JPA, it so happens), but apparently randomly the code throws a ConcurrentModificationException. What is causing it and how do I fix this problem? By using some synchronization, perhaps? Here is the full stack-trace: Exception in thread \"pool-1-thread-1\" java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(Unknown Source) at java.util.HashMap$ValueIterator.next(Unknown Source) at org.hibernate.collection.AbstractPersistentCollection$IteratorProxy.next(AbstractPersistentCollection.java:555) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) at org.hibernate.engine.Cascade.cascade(Cascade.java:130)",
"Is there any way to find out if a file is a directory? I have the file name in a variable. In Perl I can do this: if(-d $var) { print \"it's a directory\\n\" }",
"food safety regarding re freezing twice cooked chicken I am defrosting a cooked chicken to use in a curry it will be thoroughly heated at a high temperature. If I have too much curry will i be able to freeze it, as the cooked chicken was frozen before?"
] | medi_sts_stackexchange_dupe |
Delete lines in a txt file by taking patterns from another file | How to remove lines included in one file from another file? | [
"Please Join Us in Welcoming Our New Meta Stack Exchange Moderators!",
"Can someone give me some example code that creates a surface with a transparent background in pygame?",
"I'm aware there are been several similar questions, and some great answers with hints on how to prove this, for example and . But I've never really seen a detailed proof of the absolute convergence of the Riemann zeta function in the half-plane $\\Re(s)> 1$. I hope there's interest on a detailed proof of this for reference. Here is my attempt. Please, fill in any detail that might be missing, or point out any mistake! On $\\Re(s)=\\sigma> 1$, we have $$\\sum_{n=1}^{\\infty}\\bigg|\\frac{1}{n^s}\\bigg|=\\sum_{n=1}^{\\infty}\\frac{1}{n^\\sigma}$$ and $$\\frac{1}{n^\\sigma}\\leq\\frac{1}{n^{1+\\epsilon}}$$ for any $\\epsilon >0$, so by the direct comparison test, if $$\\sum_{n=1}^{\\infty}\\frac{1}{n^{1+\\epsilon}}$$ converges absolutely, then so do $\\sum_{n=1}^{\\infty}|1/n^s|$ and $\\zeta(s)$. By the integral test, the convergence of $\\sum_{n=1}^{\\infty}1/n^{1+\\epsilon}$ is equivalente to the finitude of the integral $$\\int_1^\\infty \\frac{1}{n^{1+\\epsilon}}=\\bigg[-\\frac{1}{\\epsilon x^\\epsilon}\\bigg]=\\frac{1}{\\epsilon}$$ which holds for any $\\epsilon < \\infty$. Any correction or improvement is welcomed! Thanks in advance.",
"Is better healthcare a bane to the long-term survival of the human race? The theory of natural selection has it that individuals with better genes tend to survive and reproduce, passing their genes to their offspring. This gradual process results in a population more adapted at survival. However, due to the advancement in medical science, humans with poorer genes tend to survive and reproduce just as well. For example, in the past, many people, excluding those with natural immunity due to some genetic mutations, would have succumbed to illnesses such as malaria and typhoid. But with better hygiene and medical treatment, these patients tend to survive. Now, imagine a future where all illnesses including cancer can be treated. How would it impact the survival of the human race? Would we become more and more vulnerable such that our survival hinges heavily on medical technology, analogous to how an astronaut's survival is dependent on his spacesuit?",
"How to increase label size of OpenLayers plugin basemap layers?",
"How to change a default application in Ice Cream Sandwich? I used the ADWLauncher EX by default while having Gingerbread 2.3.6. Today I have manually updated my Nexus S to Ice Cream Sandwich 4.0.3, and I wanted to give the new default launcher a shot, but I cannot find anymore where to select / forget the default application for an action. I've turned the settings of my phone inside out, googled and crawled the forums, but without success. If anybody can tell me how to change a default application in ICS, I'd be grateful! Yeah, I never thought I'd want to see that Complete action using... window again! :D",
"I am going through Shankar's Principles of Quantum Mechanics and am having trouble finding the free particle propagator $U(t)$ that satisfies $$\\lvert\\psi (t)\\rangle = U(t)\\lvert\\psi (0)\\rangle$$ due to the degeneracy of the $E$ eigenkets. Shankar says that if the Hamiltonian has degenerate eigenvalues, we change the propagator equation from $$U(t) = \\sum_{E} \\lvert E\\rangle\\langle E\\rvert e^{-iEt/{\\hbar}}\\tag{4.3.13}$$ to $$U(t) = \\sum_{E} \\sum_\\alpha \\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar} $$ where $\\lvert E, \\alpha \\rangle $ are the orthonormal eigenkets for the $E$ eigenspace. This makes sense to me, because it seems like whenever we deal with degeneracy to use a projection. He also says for a Hamiltonian with no degeneracy to change the sum into an integral, so I imagine that for a Hamiltonian with a continuous, degenerate spectrum we would have this propagator: $$ U(t) = \\sum_\\alpha\\int_\\Re dE\\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar}$$ I tried applying this to the free particle and had some trouble. In the book, after solving for the eigenkets and eigenvalues, $\\lvert E\\rangle = \\lvert p\\rangle$ and $p = \\pm\\sqrt{2mE}$, he chooses the propagator as a function of the momentum eigenvalues $p$ so that $$U(t) = \\int_\\Re dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m).\\tag{5.1.9}$$ I understand how he got to this, but I'm having some trouble because this doesn't appear to be the same expression that I have above. Splitting the integral up, we have $$U(t) = \\int_{-\\infty}^0dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m) + \\int_0^\\infty dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m)$$ The left integral can changed to an integral over $-p$, and the bounds switch from $0$ to $\\infty$ such that: $$U(t) = \\int_{0}^\\infty d(-p)\\lvert -p\\rangle\\langle -p\\rvert \\exp(-ip^2t/2m) + \\int_0^\\infty dp\\lvert p\\rangle\\langle p\\rvert \\exp(-ip^2t/2m)$$ Now we can substitute and interchange $\\lvert p\\rangle = \\lvert E, + \\rangle$, $\\lvert -p\\rangle = \\lvert E, - \\rangle$, $E = p^2/2m$, and $dp = \\pm mdE/\\sqrt{2mE}$ to get: $$U(t) = \\sum_{\\alpha = \\pm} \\int_0^\\infty dEm/\\sqrt{2mE}\\lvert E, \\alpha\\rangle\\langle E, \\alpha\\rvert e^{-iEt/\\hbar}. $$ This is the result that we are asked to prove in Exercise 5.1.1. Why is this not the same as the first expression for the propagator? Where did the extra $ m/\\sqrt{2mE} $ come from? Am I just wrong in assuming that that is the general expression for a Hamiltonian with continuous and degenerate eigenvalues?",
"Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found: $ sudo apt-get install vlc Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package vlc",
"Lower bounds for ${{2n} \\choose {n}}$ What are common lower bounds for ${{2n} \\choose {n}}$? Edit: I made a mistake in my original question. It doesn't change my question but there is no reason for me to include the mistake.",
"Game Theory and Uniform Distribution question? In an Auction , two players are bidding. Their bids will be a unknown fraction of their valuations. The valuations come from a uniform distribution $$[0,1] $$ If Player 2 bids $$ v/2 $$ and Player 1 bids $$b1<1/2$$ What is the probability player 1 wins ? Clearly for player 1 to win,players 2 bid has to be less than player 1 bids. $$P(v/2 < b1)$$ $$P(v < 2b1)$$ I follow the question up to this stage. Now it says since its uniformly distributed the probability player 1 wins is $$2b1$$ Im confused how can you just get 2b1 from the inequality ? Thanks in advance",
"Background: I'm giving a presentation to colleagues at work on hypothesis testing, and understand most of it fine but there's one aspect that I'm tying myself up in knots trying to understand as well as explain it to others. This is what I think I know (please correct if wrong!) Statistics that would be normal if variance was known, follow a $t$-distribution if the variance is unknown CLT (Central Limit Theorem): The sampling distribution of the sample mean is approximately normal for sufficiently large $n$ (could be $30$, could be up to $300$ for highly skewed distributions) The $t$-distribution can be considered Normal for degrees of freedom $> 30$ You use the $z$-test if: Population normal and variance known (for any sample size) Population normal, variance unknown and $n>30$ (due to CLT) Population binomial, $np>10$, $nq>10$ You use the $t$-test if: Population normal, variance unknown and $n<30$ No knowledge about population or variance and $n<30$, but sample data looks normal / passes tests etc so population can be assumed normal So I'm left with: For samples $>30$ and $<\\approx 300$(?), no knowledge about population and variance known / unknown. So my questions are: At what sample size can you assume (where no knowledge about population distribution or variance) that the sampling distribution of the mean is normal (i.e. CLT has kicked in) when the sampling distribution looks non-normal? I know that some distributions need $n>300$, but some resources seem to say use the $z$-test whenever $n>30$... For the cases I'm unsure about, I presume I look at the data for normality. Now, if the sample data does looks normal do I use the $z$-test (since assume population normal, and since $n>30$)? What about where the sample data for cases I'm uncertain about don't look normal? Are there any circumstances where you'd still use a $t$-test or $z$-test or do you always look to transform / use non-parametric tests? I know that, due to CLT, at some value of $n$ the sampling distribution of the mean will approximate to normal but the sample data won't tell me what that value of $n$ is; the sample data could be non-normal whilst the sample mean follows a normal / $t$. Are there cases where you'd be transforming / using a non-parametric test when in fact the sampling distribution of the mean was normal / $t$ but you couldn't tell?",
"Is it acceptable to edit (correct) grammar or spelling? Some individuals may be sensitive to edits of their posts on the basis of spelling or grammar. Some editors may be concerned about what to put in as a reason/explanation for the edit. New editors, in general, are likely uncertain of what the accepted \"etiquette\" is, on these sites, for such corrections.",
"What are the use cases for different scoping constructs?",
"What is the difference between \"twenty-four-hour shift\" and twenty-four hour shift\"? Just read somewhere about this puzzling puzzle: What is the difference between: I'm doing a twenty four-hour shift tonight. I'm doing a twenty-four hour shift tonight. I'm doing a twenty-four-hour shift tonight. I know number 1 is 20 x 4 hours. Number 2 and 3 is the same as far as I know. Is this true?",
"ACPI error when trying to make dual boot with Ubuntu 18.04 and Windows 10",
"When do exactly we choose to use have or take? They look sort of having similar context I have a bath I take a bath And by the way, I saw that I take a chance Can't be transformed to I have a chance Can it? *Moreover, If there's a verb used like the bath, it means the bath is no more a verb but a noun right? Also very important is that , can they be applied randomly to *a verb or a noun? Like : * - I take a choose Or I take an option ( this one makes sense but I mean in the context of delexical verb) ? *EDIT: My mistake , bath is actually not \"a verb transformed to a noun, but its absolutely a noun.\" So my concerns would be if they can be used interchangeably? And be applied to random noun?",
"I have downloaded and installed the newest for my Windows 7 (64-bit OS), but when I want to install 64-bit Linux, the New->Create Virtual Machine only displays 32-bit option, no 64-bit option. Could anyone give any clues about this issue? Thanks very much in advance!",
"How to install a \"pdf printer\"? Is there a way to install a printer that prints to pdf? There's a lot of discussions about this in the web foruns, but none seens to work.",
"I'm looking for a symbol for skeptical consequence so that I can write that something, B, is a skeptical consequence of something else, A. In a book I read it's written like \\(A \\vdash B\\) or \\(A \\sststile{}{} B\\) but the horizontal line is wavy like \\sim, has the same width as the vertical line and does not vary in width. So, what I'm looking for is a binary relation symbol that is similar to the combination of the first two and the last relation in the following image: That is, something similar to the following mockup but the wavy line should be such that it has a constant width and the same width as the vertical line: I've tried without success.",
"How can I prove that the Cartesian product of two countable sets is also countable?"
] | medi_sts_stackexchange_dupe |
Deadlock with a thread-safe std::cout | C++ iostream Corruption using stringstream | [
"Does gravity affects on electrons in a noticeable way? Is there a way to force a free electron move in a low speed in order to observe it actually hitting 'on the floor'?",
"Preventing robots from crawling specific part of a page",
"Air friction at supersonic velocities",
"Evaluate $\\lim_{x \\to 0} (x\\lfloor\\frac{1}{x}\\rfloor)$",
"$(\\mathbb R, \\oplus)$ is a group. Define a multiplication with which we get a field. Where $a \\oplus b = a + b +1$ I have this problem from the book Real Analysis of Miklos Laczkovich (): Let $\\oplus : \\mathbb R \\times \\mathbb R\\to \\mathbb R $, where $(a,b) \\mapsto a + b +1$. Then, $(\\mathbb R, \\oplus)$ is a group. Define a multiplication with which we get a field. But in the exercise there are no hints. Could anyone help me?",
"Easiest process for me to apply textures, created externally, to my models For the first time I'm working with an artist who is going to be creating the textures for the models I create in Blender. Up till now I had been building the models and the texturing them myself using pre-built textures from websites. My question is: What is the easiest process for me to apply the textures our artist creates to my model? Should I give the artist the UV Map from my model, or should I just get textures from the artist and fit them to the UV Map? Basically I have no idea how this process works in a professional environment.",
"I'm looking to get the result of a command as a variable in a Windows batch script (see for the bash scripting equivalent). A solution that will work in a .bat file is preferred, but other common windows scripting solutions are also welcome.",
"Sorry for the bad English. I'm trying to use the tikz-cd package to make commutative diagrams. My code \\documentclass{article} \\usepackage[brazil]{babel} \\usepackage{tikz-cd} \\begin{document} \\begin{tikzcd} A \\ar[r, \"x\"] & B \\end{tikzcd} \\end{document} The problem occurs when putting a name under the arrow, the syntax \"x\" is incompatible with the brazil option of the babel package. When exchanging brazil for english it works normally. I already tried using \\usepackage[main=brazil, english]{babel}, \\usepackage[brazil, english]{babel} e \\usepackage[brazil, main=english]{babel} But it did not work. I also tried to use \\usepackage[english, brazil]{babel} \\usepackage{polyglossia} \\setmainlanguage{brazil} \\setotherlanguages{english} And finally \\selectlanguage{english} However, it only works if I remove the option brazil",
"Prove that the expression is a perfect square Let $m$ be a natural number. Define $f(m) = m + \\lfloor\\sqrt{m}\\rfloor$. Prove that at least one of the number among $m, f(m), f^2(m), \\ldots$ is a perfect square. Here $f^k(m)$ denotes the composition of $f$ over itself $k$ times. I tried the question, but the greatest integer along with square root is creating trouble.",
"Where did the disco repos go, or what is going on?",
"How to remove the handles from this faucet My bathroom faucet is leaking around the base of my right handle. With previous faucets I've been able to use a set screw to loosen the handle and replace the washer. With these, though, I can't seem to pop off the faucet handle. Does anyone know how to remove this handle? Does anyone know the brand of this faucet? Update -- Nov 29th I've already tried to get those cap ends off. I tried to use some pliers and unscrew them, but couldn't remove it. I tried taking a small flat head and popping off the ends. Still nothing. It doesn't seem like the come off. I also tried unscrewing the handles, but they just don't see to turn for me. Also there is definitely no set screw on the handles. I've searched all around the faucet and found nothing indicating a set screw.",
"Does a family of a distribution have a different definition for statistics than in other disciplines? In general, a is a set of curves, each of which is given by a function or parametrization in which one or more of the parameters is varied. Such families are used, for example, to . For statistics, a family according to is the result of varying the shape parameter. How then can we understand that the gamma distribution has a shape and scale parameter and only the generalized gamma distribution has, in addition, a location parameter? Does that make the family the result of varying the location parameter? According to @whuber the meaning of a family is implicitly A \"parameterization\" of a family is a continuous map from a subset of ℝ$^n$, with its usual topology, into the space of distributions, whose image is that family. What, in simple language, is a family for statistical distributions? A question about relations among of the statistical properties of distributions from the same family has already generated considerable controversy for a so it seems worthwhile to explore the meaning. That this is not necessarily a simple question is born out by its use in the phrase , which has nothing to do with a family of curves, but is related to changing the form of the PDF of a distribution by reparameterization not only of parameters, but also substitution of functions of independent random variables.",
"Using crawl rules to exclude Allitems.aspx, DispForm.aspx Is anyone having any idea on how to exclude List Forms from Search result. I tried lot many things suggested on google, but none of them seems to be working.",
"Show that the union $\\bigcup A_n$ has empty interior in $X$",
"Why are local variables not initialized in Java?",
"What is the order of $(\\mathbb{Z} \\oplus \\mathbb{Z})/ \\langle (2,2) \\rangle$ and is it cyclic? Evidently, $(\\mathbb{Z} \\oplus \\mathbb{Z})/ \\langle (2,2) \\rangle$ has order $4$, but I think it's infinite. The four cosets are listed as $(0,0) + \\langle (2,2) \\rangle$, $(0,1) + \\langle (2,2) \\rangle$, $(1,0)+ \\langle (2,2) \\rangle$ and $(1,1) + \\langle (2,2) \\rangle$. However, $(2,0)$ doesn't appear to be in any of these cosets. Maybe the answer I'm being told is wrong.",
"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&W TV back in the day...",
"A sequence $\\{x_j\\}$ is said to be fast-Cauchy if $\\sum_1^\\infty d(x_j,x_{j+1})<+\\infty$. Show that every Cauchy sequence has a fast-Cauchy subsequence. **My attempt:**Argue by contradiction, suppose there is no such subsequence. Then for any subsequence $\\{{x_j}_k\\}$, $\\sum_1^\\infty d({x_j}_k,{x_j}_{k+1})$ diverges. Vaguely recall from an analysis course, if a series diverges, it doesn't not satisfy the Cauchy criterion. That is to say, there exists $\\epsilon>0$ such that for all $k$ and all $p\\ge1$, $d({x_j}_{k+1},{x_j}_{k+2})+...+d({x_j}_{k+p}+{x_j}_{k+p+1})\\ge\\epsilon$. Then I intuitively think that this is a contradiction, since if the original series is Cauchy, then after a large $N$, since $d(x_m,x_n)$ has to be very small, so that their sum should be smaller than given $\\epsilon$, which is a contradiction. But I don't know how I can write down the concrete proof?",
"Jquery validation not working with ckeditor",
"\"The following\" vs. \"Following\" I wrote \"Following examples show ...\" and my colleague revised it as \"The following examples show ...\" Why do we need \"the\" here even though the examples have not been mentioned before?"
] | medi_sts_stackexchange_dupe |
How can I read input from a file line by line in java? | How can I read a large text file line by line using Java? | [
"An example of a norm which can't be generated by an inner product I realize that every inner product defined on a vector space can give rise to a norm on that space. The converse, apparently is not true. I'd like an example of a norm which no inner product can generate.",
"How to use -exec option in find command I wanna solve some problems in compiz with my brain and hands. By the way I entered following command to build compiz from source in Ubuntu 12.04 find /opt/compiz-built/share/gconf/schemas -exec gconftool-2 --install-schema-file={}; I referred that command at And following message is shown. How to use -exec option in find command, I guess that it's my mistake.",
"How to make a different font and color of text in labels?",
"Interpreting the Kretschmann scalar",
"Does the alarm work when my phone is turned off? Will the alarm still go off if I turn off the phone before? Example: when I have low battery, I have to go to sleep and wake up at X o'clock, and there is no charger around. Should I turn off the phone? Note: If it makes any difference my phone is Galaxy S running froyo",
"Cooking steak in frying pan, problem with oil splatter I was using canola oil and put the stove top setting on \"high - 9\". I read plenty of guides suggesting there will infact be oil splatter, but it was pretty excessive and burning my arm with one drop getting near my eye before I stopped. I turned the heat setting down to \"medium - 4\", where the oil splatter seemed to drop substantially. Before I try to make steak again I'd like to get some clarification So my questions are: Which heat setting am I supposed to use? Is that type of oil splatter normal or should I try using a different oil, and if so, what oil? Should oiling the meat instead of the pan help the problem?",
"Can anybody explain the UNABLE_TO_LOCK_ROW error?",
"When I search for similar questions that I am going to ask, I usually can't find anything through the search box on Stack Overflow. But when I enter my question on the "Ask Question" page, the questions suggested through the "Questions with similar titles" box are usually relevant. Do you experience the same thing?",
"Mobile phones and mobile internet in Italy Buongiorno! Suppose I step down from the plain in Fiumicino. What is the fastest way to get hold of Italian SIM-card with some talking minutes and some Internet? The latter is more important than the former. So, my requirements: Good coverage in main cities (Rome, Venice, Milan, Florence) Good for 2 weeks (after that I'm going to leave the country, the SIM is going to lose its value anyway) Good for massive internet usage is in store for maps, orientation, etc. Cheap. :) Now, I know that there are 3 main communication providers in Italy: Vodafone, Wind and the third one. :) Which one? Which one won't leave me destitute and won't sue me over the border months after for some unknown reasons? What I have to look for?",
"homemade chilli oil I am making chilli oil using light olive oil, crushed chilli, dried garlic, dried fennel seeds and parsley. I have been making this for years. I am concerned about this Botulinum business. Should I be concerned? And what can i do to avoid this? Currently, I heat the olive oil before putting it into the mixture, jar it, and normally keep it in the cupboard for months, with no problems with taste. Another thing I am wondering is, how does one measure the expiry date on homemade chilli oil? Can someone help?",
"Don't you think people need to know what they did wrong exactly so they can fix it and get unbanned from asking questions or posting answers?",
"Identifying which part of a large document is being compiled",
"If I'm floating in space and I turn on a flashlight, will I accelerate?",
"Significant predictors become non-significant in multiple logistic regression",
"Showing $\\int_{\\mathbb R} \\mid F(x)-G(x)\\mid dx = \\int_0^1 \\mid F^{-1}(u)-G^{-1}(u)\\mid du$ with $F$, $G$ CDF functions Let's $X$ and $Y$ have CDF functions admitting moment of order $1$. Let's be $F$ cdf of $X$ and $G$ cdf of $Y$. I want to show that $$\\int_{\\mathbb R} \\mid F(x)-G(x)\\mid dx = \\int_{0}^{1} \\mid F^{-1}(u)-G^{-1}(u)\\mid du\\,.$$",
"Should we improve time to first byte or Page Speed Insights score for SEO? Google posted last summer that \"page speed\" will impact the search result rankings also on mobile devices. But I think there is a little confusion about the term \"page speed\". The test tool which Google offers is called \"Page Speed Insights\". Many people we are talking with, are thinking that the overall score of this tool for a particular site for example Desktop: 46/100 and Mobile: 45/100 is used for the ranking algorithm. BUT I found a very interesting article in German language which states that only the TTFB (time to first byte) value is used and this should be optimized not all suggestions which \"Page Speed Insights\", further called PSI offers. Here is the link to the German article: In short terms it says that a very large site in this case \"The New York Times\" has a low overall score of Mobile:41 and Desktop:45. As they are used to sell reader memberships they should offer a great user experience. So, they should optimize their site. But when I call this site it is amazing fast. The overall PSI score does not reflect this behaviour. But when I believe this article the TTFB for this site is perfect. Also when I call it here from Austria it states 0.881sec. I really like to know on which value we should focus our work for optimization not to fall in the ranking. Because as many of you already said it is not useful to implement all suggestions from the PSI site for one domain. So, it would be real if you could clarify things here or post links to official posts from Google. What I found about this, Google always is talking about \"page speed\" but what exactly is this?",
"Failed to resolve version for org.apache.maven.archetypes",
"Recovering from forgotten lock pattern My son has an impression tablet 10 and has forgot the lock pattern. How can we reset it without knowing the code?",
"Why does copying the same amount of data take longer if spread across many separate files? I noticed that copying 24Mb worth of data from one folder to another took about 30 seconds because (I'm assuming this is the reason) it was over 1,000 separate files. Copying 24Mb shouldn't take so long. Why does the number of files make a different? I'm running Windows 7 on a MacBook (4GB ram, Intel(R) Core(TM)2 Duo CPU P7450 @ 2.13GHz, 32-bit Operating System) EDIT: NTFS is the file system used on the drive",
"How to read dash files How can I read a dash file from the terminal other than delimiting it with ./ For example to read a - file we can read it by cat ./-file_name Q: Is there an alternative way to achieve the same thing?"
] | medi_sts_stackexchange_dupe |
apt-get install [package] gets error | cant install or remove anything on 18.04 cause of DPKG error | [
"What is the memory layout of a .NET array? Take for instance this array: Int32[] x = new Int32[10]; I understand that the bulk of the array is like this: 0000111122223333444455556666777788889999 Where each character is one byte, and the digits corresponds to indices into the array. Additionally, I know that there is a type reference, and a syncblock-index for all objects, so the above can be adjusted to this: ttttssss0000111122223333444455556666777788889999 ^ +- object reference points here Additionally, the length of the array needs to be stored, so perhaps this is more correct: ttttssssllll0000111122223333444455556666777788889999 ^ +- object reference points here Is this complete? Are there more data in an array? The reason I'm asking is that we're trying to estimate how much memory a couple of different in-memory representations of a rather large data corpus will take and the size of the arrays varies quite a bit, so the overhead might have a large impact in one solution, but perhaps not so much in the other. So basically, for an array, how much overhead is there, that is basically my question. And before the arrays are bad squad wakes up, this part of the solution is a static build-once-reference-often type of thing so using growable lists is not necessary here.",
"In Windows 10 how can we change the name of this folder under C:\\Users? I'm using Windows 10 on my personal computer (HP Pavilion Laptop) and you can see in the Screen Shot under C:\\Users there are two folders. The name of the first folder is C:\\Users\\SINGHA, however, the correct spelling of my last name is SINHA. I need to change the name of this folder to C:\\Users\\SINHA so that it shows the correct name. Under User Account, the spelling of my name is correct - it's only under C:\\Users\\ where the name is spelt incorrectly. Consequently, if I open/edit a Word or Excel document, the name of the owner being shown is the incorrect one (i.e it's shown as C:\\Users\\SINGHA instead of C:\\Users\\SINHA) If I right-click on this folder, I won't get the Rename option; How can I change the name of this folder?",
"I am trying to setup a trace flag to debug. When I select User in the dropdown and try to find System in there. It doesn't show up. What can I do ?",
"Broken blog link on pages with lists of moderators The page has a link like this: which doesn't seem to exist anymore. This is the same on And also on",
"What's so special about standard deviation?",
"Given a convergent sequence $x_{n}$ and bounded sequence $y_{n}$ I need to prove that $\\limsup (x_{n}+y_{n})=\\lim x_{n}+\\limsup y_{n}$, when $n$ tends to $\\infty$. I chose $z_{n}=x_{n}+y_{n}$, we know that $z_{n}$ is bounded as being sum of two bounded sequences, so from the Bolzano-Weierstrass Theorem, we know that there is a subsequence of $z_{n}$, let's call it $z_{n_{k}}$, that converges to $\\limsup (x_{n}+y_{n})$. $y_{n_{k}}$ is bounded as well, so there is a convergent subsequence $y_{n_{k_{j}}}$. All this gives me that $\\limsup (x_{n}+y_{n})\\leq \\lim x_{n}+\\limsup y_{n}$, What can I do for getting the other inequality? Thank you and Good evening.",
"I'm running CentOS 7.0 build 1503. I'm trying to search for commands I don't know the name of by searching the man descriptions for multiple keywords using AND (e.g. search for a command containing the both words \"create\" and \"group\" in the description). So I came across the command apropos (which is an alias for man -k). The default behaviour when given multiple keywords is to return any command matching any of the keywords, which isn't what I want. According to the man page the option -a specifies using AND, to return matches only when all words match. But this isn't what I'm seeing in practice, so I need some help here - e.g. using Centos 7, if I do: apropos create user I see a huge list of commands, seemingly matching any command with create or user in the description, as expected. Noting the list includes an entry for the command 'useradd (8) - create a new user...'. If I do: apropos -a create user I only get 2 commands (environ and open). This is what I'm confused by - I would expect it to return the command 'useradd (8) - create a new user', because i can see from the previous search that command does contain those words in the description. Also the 2 returned commands don't obviously seem to be anything about creating users. What am I doing wrong? I'm sure it's something embarrassingly obvious, for that I apologise in advance. Thanks",
"SF short story ID, written 40s—60s, primitive aliens who are much smarter than us I'm looking for a story that was probably written somewhere from the 1940s to the 1960s. I think I read it in an anthology, possibly in the 1970s. A group of human explorers landed on a planet with primitive aliens, living in hunter-gatherer villages. They hoped to make a profit from trading our goods for—well, I'm not clear on what they wanted from the aliens. The native people learned the human language before the explorers could learn theirs. Then the natives suddenly started producing technological innovations far beyond what they originally used. I remember that wooden sailing ships suddenly replaced their canoes. All the natives had to do was hear a story once from the explorers before copying the technology in the story. Finally, the explorers realized that the natives were much, much smarter than us and that Earth faced a serious problem. I'm fairly certain that it wasn't a Heinlein story, but I remember that it had some qualities similar to his work.",
"If a run the watch command containing an alias, it will not expand the alias. I have tried both with single quote and double quotes, in fact given the following alias: # alias ll alias ll='ls -l --color=tty' The following command will fail # watch ll sh: ll: command not found Shouldn't command line expansion work in this case?",
"Event button as a module or as user program?",
"Is there a website with historical temperatures and weather data? I am interested in hiking this fall in France and camping along the way. In order to figure what gear I need to pack to camp (particularly for the sleeping bag), I would like to know what temperatures to expect. I am interested in historical temperatures to figure the usual temperature and I might look at them for other seasons. If that matters, I am thinking about hiking in the Pays Basque (South West of France), the mountainous part. Where (ideally online and for free) can I find such data? Are there resources that cover Europe, or even the whole world?",
"example of not surjective isometry on a bounded not closed set.",
"Bijection from $\\mathbb R$ to $\\mathbb {R^N}$ How does one create an explicit bijection from the reals to the set of all sequences of reals? I know how to make a . I have an idea but I am not sure if it will work. I will post it as my own answer because I don't want to anchor your answers and I want to see what other possible ways of doing this are.",
"Adding tags to files in OS X: How to use, where are tags stored, and will they work on a network? 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 – not Spotlight (Command+Space) – 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!",
"My Sophix tablet was working without the SD card, but now the camera will not work. I get the following error message: Insert a SD card before using.",
"16.04 LTS upgrade alert- How to handle it? I am running Ubuntu 14.04 LTS. Today when I logged into my computer I got an update alert saying that I could upgrade to Ubuntu 16.04 LTS. The other options were not now or do not upgrade. If I chose to upgrade will it delete my /home directories and the installed software under /opt and /usr/local ?",
"I am sketching out my 2012 programming project, and Im planning to make a classic fantasy RPG game. The world design, plots, characters and all that I can make, but being a avid tabletop role-player, I would love to use a stable and tested rpg system like Pathfinder, since its balanced and interesting. Would there be a problem if I make a game (indie dev, but still planning on selling it) using the pathfinder license ? Do I have to purchase a license? And would I able to say that it's based on the Pathfinder ruleset, or should i keep that under wraps. All big official D&D games boast with that they are official, so doesn't this mean that unofficial games can exist too ? It's not because I wan't to jump the lowest fence, and all storylines and the game setting will be by my own hand. But I love the Pathfinder system and actually think it could use some publicity as well. If not, I guess I could make a Pathfinder-like system, with a few measely differences... But I would rather not, since it would feel a bit of a rip...",
"I am trying to create a beamer animation using tikz, but I can't even get basic rotating of a tikz image working as desired. I have a rectangle specified by \\draw[rounded corners,dotted] (-3.5,0) rectangle (-0.5,2); I would like to rotate this rectangle about the point (-1,.5) (which is near the bottom right corner of the rectangle). I've tried: {\\rotatebox[origin=c,x=-1,y=.5]{130}{ \\draw[rounded corners,dotted] (-3.5,0) rectangle (-0.5,2);}} But this produces an error. If I just use the origin=c option, it compiles, but it rotates the rectangle about the point (0,0). I've also tried it with just the x=-1,y=.5 (without the origin option), and it fails to compile. I have searched the documentation, which is where I learned about the options x=xdim and y=ydim. However, I can't find a single example demonstrating how these options should be used. Any suggestions would be greatly appreciated. Also, if there is a better command for rotating things that will be more suitable for use in a beamer animation, please let me know. Thanks!",
"How to Add Background Images in 2.8 and later 2.81a here. I am trying to add a \"background image\" similar to how , so that I see a screen that looks something like this: However I can't figure out how/where to access this screen in 2.81a as the UI is wildly different. Any ideas? I am new to Blender so if you can provide a click-by-click list of instructions it would be enormously appreciated!",
"Why we can't implement AES 512 key size? Out of curiosity why we can't implement AES 512 key size? Please explain somehow i can understand! I'm not an expert."
] | medi_sts_stackexchange_dupe |
Query Feature License total count | Query Feature and Usage based entitlements license | [
"Use dynamic variable names in JavaScript",
"This afternoon I set up a Win Server 2008 R2 system for use with Team Foundation source code control. In order to give my team-mates the right to connect, I had to create a user account for each person, 10 in total. (I can't, and I don't want to create a domain). Now, after doing this, all user accounts are displayed in the login screen. What can I do so that all the accounts are not displayed there?",
"Background process of subshell strange behaviour I wonder why some similar bash commands behave the way they do. I have a bash script foo: #!/usr/bin/env bash while true do echo \"reading\" read data echo $data echo \"stderr msg\" >&2 sleep 1 done It's an infinite loop which reads one line at a time from stdin and outputs that same line. I also have a bash script bar: #!/usr/bin/env bash ./foo & The following commands were run in bash (v. 4.4.19) in a terminal on Ubuntu 18.04 (let's assume the scripts reside in the working directory): ./foo & Stops when it tries to read from stdin, in accordance with . Killed when controlling terminal is killed, as expected. (./foo &) Appears to be automagically continuously fed with new input from stdin. Shouldn't it too stop when attempting to read from stdin? Whatever it's getting it doesn't show when echoed, thus I'm guessing it's EOF characters. Continues running even after the controlling terminal is killed. Looking at the output of ps, the controlling terminal changes from pts/x to ?. How did this happen without the use of either disown or nohup? (However, after killing the originally controlling terminal, it yields a \"write error: Input/output error\" on every write, which I suppose is because its stdout was tied to the now closed terminal. Correct?) bash -c \"./foo &\" Appears to behave exactly like 2). ./bar Appears to behave exactly like 2) and 3). Adding bash -c \"~/foo\" (no &) as a startup application Behaves similarly to 2), 3) and 4), with the differences: Its controlling terminal is the desktop ttyx. You can't (can you?) kill its controlling terminal. None of those differences seem odd to me, just the fact that it's continuously fed with new input. My guess is that 2) - 5) all use a subshell of sorts whose stdin is redirected to something like /dev/null, though I'm very unsure and seek a more exact answer.",
"For $a, b \\geq 0$, $0 < x < 1$, show $(a+b)^x \\leq a^x + b^x$ Let $a, b$ be positive real numbers. Let $0 < x < 1$. Show that $(a+b)^x < a^x + b^x$. The function $f(x) = (a+b)^x -a^x - b^x$ has $f(0) = -1$, $f(1) = 0$ and it seems to be an increasing function. But I am unable to show that it is increasing function.",
"Solve $x=y\\frac{dy}{dx}-\\left(\\frac{dy}{dx}\\right)^{2}$",
"so I am trying to show that $f(x)$ divides $g(x)$ for all polynomials $g(x)$ satisfying that $g(A)=0$ where $f(x)$ is the minimal polynomial of a square matrix $A$. I know from my professor that $f(x)$ is the minimal polynomial of $A$ so $f(A)=0$ so then $g(A)=0$. Therefore, $f(x)$ divides $g(x)$, i.e. $g(x)=f(x)h(x)$ where $h(x)$ is some other polynomial. My prof told us to solve this question we need to let $b(x)=gcd((f(x),g(x))$ and by using Bezout's Identity, we need to show that $b(A)=0$. I am just having a little trouble trying to prove this. I know that this identity says: For two polynomials $f_1(x)$ and $f_2(x)$, there exist polynomials $g_1(x)$ and $g_2(x)$ such that $g_1(x)f_1(x) + g_2(x)f_2(x) = > gcd(f_1(x), f_2(x))$. And the uniqueness of minimal polynomial theorem is: For a square matrix $A$, if $f_1(A) = f_2(A) = 0$ for two polynomials $f_1(x)$ and $f_2(x)$, then $g(A) = 0$ for $g(x) = gcd(f_1(x), > f_2(x))$. So the minimal polynomial of $A$ is unique up to a scalar. So since $f(x)$ is already the minimal polynomial, I know that the $deg(b(x))=deg(f(x))$. I know how to prove the Bezout identity using the Euclidean algorithm, I'm just not exactly sure how I would show all of this using the notation he gave us of $b(x)=gcd((f(x),g(x))$. Any help at all would be appreciated.",
"I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?",
"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?",
"Let $H$ be a subgroup of a group $G$ such that $x^2 \\in H$, $\\forall x\\in G$. Prove that $H$ is a normal subgroup of $G$. I have tried to using the definition but failed. Can someone help me please.",
"System Load Indicator only shows as a line unless hovered I installed the GNOME extension on my Ubuntu 18.04, but for some reason, instead of showing a proper graph for CPU usage, it only shows a very thin line that seems to be a small portion of the actual graph. If I hover over it, the proper graph shows. How to make it show the whole graph all the time?",
"What's the difference between and , and ? What's the difference between <b> and <strong>, <i> and <em> in HTML/XHTML? When should you use each?",
"Performance impact of updating target columns with same values ON CONFLICT This is a question about the inner-workings of Postgres (v10) and performance. Given a table, github_repos, with a multi-column unique index on org_id and github_id columns, is there any performance difference (or other issues to be aware of) between the two bulk upsert operations below? The difference is that in the first query, the org_id and github_id columns are included in the UPDATE, whereas in the second query they are not. Since the UPDATE runs ON CONFLICT, the updated values of org_id and github_id will be the same as the old values, but those columns are included in the UPDATE because the underlying library I am using is designed that way. I'm wondering if its safe to use as-is or whether I should be explicitly excluding those columns in the UPDATE. Query #1: INSERT INTO \"github_repos\" (\"org_id\",\"github_id\",\"name\") VALUES (1,1,'foo') ON CONFLICT (org_id, github_id) DO UPDATE SET \"org_id\"=EXCLUDED.\"org_id\",\"github_id\"=EXCLUDED.\"github_id\",\"name\"=EXCLUDED.\"name\" RETURNING \"id\" Query #2: INSERT INTO \"github_repos\" (\"org_id\",\"github_id\",\"name\") VALUES (1,1,'foo') ON CONFLICT (org_id, github_id) DO UPDATE SET \"name\"=EXCLUDED.\"name\" RETURNING \"id\" github_repos table: Column | Type | Collation | Nullable -------------------+-------------------+-----------+----------+ id | bigint | | not null | org_id | bigint | | not null | github_id | bigint | | not null | name | character varying | | not null | Indexes: \"github_repos_pkey\" PRIMARY KEY, btree (id) \"unique_repos\" UNIQUE, btree (org_id, github_id)",
"How do we know the Taylor expansion for $e^x$ works for all $x$? Or that it's analytic?",
"What is the value of $\\sum\\limits_{i=1}^\\infty\\frac{1}{p_{p_i}}$ where $p_{i}$ is the $i$th prime? What is the value of $\\sum\\limits_{i=1}^\\infty\\dfrac{1}{p_{p_i}}$ where $p_n$ is the nth prime (and so $p_{p_n}$ is the $k$th prime, where $k$ is the $n$th prime) ? Thus $\\frac{1}{3}+\\frac{1}{5}+\\frac{1}{11}+...=$ ?? How do I efficiently decide if $\\sum_{i=1}^\\infty\\dfrac{1}{p_{p_i}}\\gt1$ is true without using a computer ? I assume this infinite sum is an irrational number. Has this already been proven ?",
"General closed form of $\\int_{0}^{\\theta_0} \\frac{1}{\\sqrt{\\cos \\theta-\\cos \\theta_0}} d\\theta$ I once asked a about how to integrate the reciprocal of the square root of cosine. Is there a general closed form for the integral $$\\int_{0}^{\\theta_0} \\frac{1}{\\sqrt{\\cos \\theta-\\cos \\theta_0}} d\\theta$$ in terms of the gamma function? Thank you.",
"Drawing a square root spiral",
"How to display all the tables with more information (create date, size,...) in a MySQL database?",
"How to put legend below the chart? I have the following code that produces a line chart: \\begin{figure}[p] \\centering \\begin{tikzpicture} \\begin{axis}[ use units, cycle list name=exotic, %This defines the color. It produces nicer colors width=15cm, height=8cm, % size of the image grid = major, grid style={dashed, gray!30}, %xmode=log,log basis x=10, %ymode=log,log basis y=10, xmin=0, % start the diagram at this x-coordinate ymin=0, % start the diagram at this y-coordinate %/pgfplots/xtick={0,5,...,60}, % make steps of length 5 %extra x ticks={23}, %extra y ticks={0.507297}, axis background/.style={fill=white}, ylabel=Time, xlabel=Number of Datapoints (n), y unit=s,y unit prefix=m, tick align=outside] % import the correct data from a CSV file \\addplot table [col sep=comma,trim cells=true,y=Best Case (Ascending)] {datasets/time_mergesort.txt}; \\addplot table [col sep=comma,trim cells=true,y=Average Case (Random)] {datasets/time_mergesort.txt}; \\addplot table [col sep=comma,trim cells=true,y=Worst Case (Descending)] {datasets/time_mergesort.txt}; \\legend{Ascending,Random,Descending} \\end{axis} \\end{tikzpicture} \\caption{Mergesort Run Time for Sorting Random Data} \\label{fig:merge_sort_from_csv} \\end{figure} And at the moment the legend appears on the chart on the upper right corner. I need to move that below the chart, or even to leave that on the chart but to move that on the upper left corner. I have tried the solution mentioned at , but it did not work for me. How can I move the axis in a different position?",
"In my profile my hat is on the correct position, but not in the top-bar. This is new. It worked until now. Works neither in Chrome nor in Firefox.",
"I know that non-married lovers address each other by saying “This is my girlfriend/boyfriend.” I know that married couples address each other by calling “my wife/husband”. I also know that gay lovers who are not married (yet?) address each other by saying \"my boyfriend\" (for gays) and \"my girlfriend\" (for lesbians). But if they are married, how do they address each other? And how do we describe them? I mean if they are gays, are they “husband and husband” or “husband and wife” (one of them acts like the wife)? And if they are lesbians, are they “wife and wife” or “husband and wife” (one of them acts as the husband)? I know they can be referred to as a gay couple or gay lovers from , but I couldn't find the answer to address each of the two."
] | medi_sts_stackexchange_dupe |
Extension of Schengen visa, or apply for a new visa? | Is it possible to extend a tourist Schengen visa (12 more days)? | [
"Securely erasing all data from a hard drive I am about to sell my old desktop PC and I am cautious about some of my sensitive information being available to the purchaser, even after reformatting the hard-drive, using data recovery software. How can I securely wipe the hard drive so that the data on it cannot be recovered? Although I specifically want help with my Windows PC, it wouldn't hurt if there were suggestions for Macs as well.",
"Transpose of inverse vs inverse of transpose",
"Show that every uncountable set of real numbers has a point of accumulation.",
"How do I download a YouTube video?",
"When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.",
"$\\max(\\{n: n+5 | n^5 + 5\\})$ What is the maximum value of $n$ if $n + 5$ divides $n^5 + 5$, $n$ being a natural number? I tried to solve by binomial theorem but it failed.",
"Will Google punish me if I import a story from my own blog to content sharing sites such as Medium.com? I've heard that Google punishes sites with duplicate content. If I write an article on my blog then import it on Medium (basically a copy/paste) will Google regard it as a duplicate? Medium.com is a blog platform (sort of).",
"what is the difference between \"yet\" and \"still\"? When we can use \"still\"? and when we can use \"yet\"? Are they synonyms or not? \"The plan could yet succeed.\" Can I use \"still\" in that sentence instead of \"yet\"? \"I still don't understand.\" Can I use \"yet\" in that sentence too?",
"How to fully backup non-rooted devices?",
"Proving by induction that $ \\sum_{k=0}^n{n \\choose k} = 2^n$",
"This is a variation of the questioned some time ago. For a complex Hilbert space $H$ let $T: H \\rightarrow H$ be a bounded operator. We call that $T$ is a trace-class operator if the following sum $$\\sum_{i}{\\langle |T|e_{i}, e_{i} \\rangle} < \\infty$$ converges, where $|T| = (T T^{*})^{\\frac{1}{2}}$ is the absolute value of the operator. Assume that $$\\sum_{i}{\\langle Te_{i}, e_{i} \\rangle}$$ converges for any basis in the space $H$. How to prove that if the aformentioned property holds then the operator is a trace class operator? The progress on the problem is the following: Given an arbitrary bounded operator $T: H \\rightarrow H$, one can use the following decomposition $$T = \\big( \\frac{T + T^{*}}{2} \\big) ^{*} + i \\big( \\frac{T^{*} - T}{2i} \\big) ^{*}$$ The latter line gives the decomposition $$T = A + i B$$ where $A, B$ are normal operators. For the normal operators we can apply the spectral theorem that proposes that $T$ is unitary equivalent to $$(UT U^{-1})(f(x)) = g(x) f(x)$$ where $$U: H \\rightarrow L^{2}(X, \\mu)$$ $$g \\in L^{\\infty}(X, \\mu)$$ Though this decomposition classify the operator in a broad sence, i see no direct way to conclude the statement. Are the any hints that may extend the previous argument? If not, are there any ways to conclude the statement?",
"Do the automatic success and failure rules apply to skill checks? We had a rule check tonight that we couldn't answer. On the Pathfinder wiki I could only find info on natural 20s and 1s in regards to attack rolls and saves in combat. Do they also apply to skill checks?",
"So I noticed that many cards with tap-effects ship with a clause specifying that they can only be used on untapped permanents, such as and . So here's my question: Doesn't that imply that, given the right situation, one can legally tap an already tapped permanent? I'll give an example of the kinda scenarios this is relevant for: Can activate her first ability when no untapped cards are around? Or, thinking untap-effects, could I bounce a forest with even when there isn't a tapped creature available? Notice that, unlike the previous batch of examples, the wording on these lacks the clause restricting their use to un/tapped permanents - does that mean that they aren't? Any kind of clarification would be greatly appreciated here.",
"Objects, shadows and reflections not rendering in EEVEE I started to work with EEVEE short time ago and I was amazed by the capabilities of this engine. However, I noticed something strange when I was rendering some tests. Some objects/reflections/shadows dissapear when they're off canvas. I imagine that maybe this is for save memory data, but it can be not suitable to some projects. To make my point graphical, I made a simple scene with simple objects. The main object is the sphere with a mirror-like shader. Out of focus there are different objects with different shaders. A yellow cone, a blue cylinder and a white cube light. But surprisingly, those objects dissapear when the composition is rendered. See the rendered animation below: Notice that the blue cylinder is not even showing at all in the final render. And the blooming effect from the light cube also dies. I would like to improve this bahaviour and render the objects that are still out of canvas using EEVEE. Do I missing something like memory configuration or reflection/shadow tweaks? Is this caused by the EEVEE engine or by my GPU config (GTX1060)? Thank you in advance!",
"Do I end up richer paying down a mortgage or contributing to an IRA? I have $10,000 extra cash that I can either use to pay down my 5% mortgage, or contribute to my IRA. I'm 30 years old. I hope to pay off the mortgage in about 5 years. I'm stymied, because: Paying $10,000 into my mortgage earns me $500 a year (in interest savings) for the life of the mortgage -- hopefully 5 years. Paying $10,000 into my IRA earns me roughly a $3000 lowering of my tax bill now (plus CD ROI of about 1% at retirement time.) So I can get $2500 ($500 a year over 5 years), after which I will have paid my mortgage off with other money; or I could get $3000 in cash right now plus a bit of extra money when I retire. Even ignoring the future benefits of the IRA contribution, it feels like I should put the money into my IRA: it's an immediate 30% return on investment, as opposed to a 5% return for 5 years. But if I always make that decision, I won't be paying off my mortgage early, and that $500 will stretch out over 30 years, costing me $15,000! Which actually leaves me with more money in the end? What basic principle of math am I missing? Update: The principle of math I was missing is that, assuming I'm taxed at the same rate when I retire as I am taxed now, I end up with exactly as much money as if I had invested the $10k and not received a $3k tax reduction. (Of course, my income level and tax laws will have changed by then, but let's ignore that.) So the question simplifies to, \"Should I put $10k toward eliminating a 5% debt or toward a 1% investment?\" in which case I should clearly put it toward the mortgage. I was confused by the government incentive into thinking that retirement investment was a sweeter deal than it actually is. This is probably their goal, and probably a noble one :)",
"Use XeLaTeX in Texmaker instead of pdfLaTeX",
"iPhone screen randomly turns on",
"I have always believed that it was ok to replace a capacitor with a slightly higher voltage rated one. eg 16v with 25v.Going higher than this would risk the capacitance value being out at the working voltage. However I just read the following quote from this Electrolytic capacitors are non-ferroelectric with a very low dielectric constant. Their capacitance is derived from a very high surface area and nanometer thick dielectric layers. Their capacitance is not a function of applied voltage.‐Design Solutions For DC Bias In Multilayer Ceramic Capacitors (August 2010 Electronic Engineering Times) So does this rule not apply to aluminum electrolytics? Eg will I have no issues replacing an electrolytic 25v 100uf with a 50v 100uf assuming both are low esr, similar footprint and good quailty?",
"The topic which haunted me for two years until I gave up on it. But now I am doing engineering and this topic suddenly popped out of my textbook from nowhere. I seriously need to understand this topic because I wasn't able to do so in the past. I have read many book on 'energy' and it came to nothing. Maybe just because the many books I have read all said 'energy' is something which doesn't 'exist'! It is 'abstract'! It is just a number which represents the state or orientation of a system. But then I see so many examples that 'uses' energy to do 'work'. But the question here is that if anything doesn't exist in this universe, then how can the same thing be used to do something that exist? My problem is that I didn't understood the topic 'energy' and all the other topics related to it (work, power etc.)",
"\"Being\" or \"to be\"? Which is better structured? \"She loves to be herself instead of showing off\" or \"She loves being herself instead of showing off\" or \"She loves being and not appearing\""
] | medi_sts_stackexchange_dupe |
Function print in one line | How to print without newline or space? | [
"OpenLayers low resolution and/or shifts in QGIS print composer?",
"How do I kill a process that won't die? I'm unable to kill a process using any of the techniques I'm aware of (\"Force Quit\" in Activity Monitor, top, killall from the Terminal) and wonder if there are some additional steps I can take. ~ $ sudo killall -KILL 77439 Password: No matching processes were found ~ $ killall -KILL 77439 No matching processes belonging to you were found ~ $ killall 77439 No matching processes belonging to you were found ~ $ killall Mathematica No matching processes belonging to you were found FWIW the process is \"Mathematica\" which I cannot relaunch, Quit, or Force Quit, or sample, either by name or PID, and it appears to have some odd side effects (screenshots don't appear, can't empty trash, and can't even shut down the system). Are there additional steps that can be taken to really really kill a badly behaved process?",
"Area enclosed between the curves $y=x^2$ and $y=60-7x$ Find the area enclosed between the curves $y=x^2$ and $y=60-7x$. I am completely new at this but I have tried and I believe that it should be between the numbers $0$ and $60$ is this right?",
"Does Hard reboot damage my Ubuntu",
"Python program to calculate harmonic series Does anyone know how to write a program in Python that will calculate the addition of the harmonic series. i.e. 1 + 1/2 +1/3 +1/4...",
"I am using VC++. Is assert(false) ignored in release mode?",
"Double integral with transformation; possible error in limits I'm asked to show that the following integral is true with the transformation $u = x+y$ and $y=uv$: $$\\int_0^1 \\int_0^{1-x} e^{y/(x+y)} dx dy = \\frac{e-1}2 $$ I found the determinant of the jacobian of the transformation is $-u$, and the exponent is just $v$ so the integral becomes $$\\iint_R |-u|e^v du dv = \\frac {u^2}2 e^v|_R$$ $$=\\frac{(x+y)^2}2e^{y/(x+y)}|_{x=0}^{1-x}\\;|_{y=0}^1$$ And plugging it all in doesn't work (AFAICT). For one, the x's don't all cancel. I've looked at it 100 times. It's definitely written dxdy not dydx even though there is definitely an x in the integral. Maybe this is a typo and why my calculation isn't working out? I tried reversing the order to dydx and it didn't work. I tried changing the limit of integration to $1-y$ and it didn't work out. I'm not even sure how to figure out the domain of integration in the uv-plane. Flipping things around yields y=uv and x=u-uv. But if my domain is bounded by x=0 and y=0 and y=1 (ignoring the last limit for now), then I have uv=o=u and uv=1. !?! Am I just making an algebra mistake plugging everything in? Is there a way to handle a variable in it's own integral that I'm unaware of?",
"My months and days in my File Manager are in German, how do I change that? On the photo you see 'Dez' : It means Dezember (German for December). I also saw one day Mittwoch (German for Wednesday). How do I change that German issue? This is only my File Manager and not completly but partially. Weird.",
"Series $\\frac{x^{3n}}{(3n)!} $ find sum using differentiation Find sum of the series $$\\sum_{n=1}^{\\infty}\\frac{x^{3n}}{\\left(3n\\right)!}$$ using differentiation. So far I found that $$S(x)+1=S'''(x)$$ but it does not help. Then I tried different interesting ideas like $$S(x)+S'(x)+S''(x)=e^x-1\\,.$$Maybe if I get the third equation it will allow me to construct a kind of differential equation. Then, by solving it, obtain $S(x)$.",
"Someone mentioned that \"veiling glare\" or \"veiling flare\" was to blame for reduced contrast in a photo. What does this mean exactly? What causes veiling glare, and how can it be avoided? How does it relate to those floating polygonal lens flares one often sees in movies?",
"Scorched3d worked then stopped. Unistalled and reinstalled did not help. Running Ubuntu 16.04.04LTS. I think it was after installing new release. I think the problem is the Ubuntu 16.04.4LTS. The newer version has no Scorched3d in the Ubuntu Software Center. I have 3 systems. After updating to new version. Scorched3D will not install and work after updating. ron@RonsComputer:~$ sudo objdump -p $(type -p scorched3d) | grep NEEDED NEEDED libwx_gtk2u_adv-3.0.so.0 NEEDED libwx_gtk2u_core-3.0.so.0 NEEDED libwx_baseu-3.0.so.0 NEEDED libfreetype.so.6 NEEDED libz.so.1 NEEDED libSDL-1.2.so.0 NEEDED libSDL_net-1.2.so.0 NEEDED libexpat.so.1 NEEDED libstdc++.so.6 NEEDED libm.so.6 NEEDED libgcc_s.so.1 NEEDED libpthread.so.0 NEEDED libc.so.6 ron@ron-desktop ~ $ objdump -p $(type -p scorched3d) | grep NEEDED | awk '{print $2}' | xargs -n 1 dpkg -S libwxgtk3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0.2.0 libwxgtk3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0 libwxgtk3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0.2.0 libwxgtk3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0 libwxbase3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0.2.0 libwxbase3.0-0v5:amd64: /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0 libfreetype6:amd64: /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1 libfreetype6:i386: /usr/lib/i386-linux-gnu/libfreetype.so.6 libfreetype6:amd64: /usr/lib/x86_64-linux-gnu/libfreetype.so.6 libfreetype6:i386: /usr/lib/i386-linux-gnu/libfreetype.so.6.12.1 zlib1g:i386: /lib/i386-linux-gnu/libz.so.1.2.8 zlib1g:amd64: /lib/x86_64-linux-gnu/libz.so.1 zlib1g:i386: /lib/i386-linux-gnu/libz.so.1 zlib1g:amd64: /lib/x86_64-linux-gnu/libz.so.1.2.8 libsdl1.2debian:amd64: /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0.11.4 libsdl1.2debian:i386: /usr/lib/i386-linux-gnu/libSDL-1.2.so.0 libsdl1.2debian:i386: /usr/lib/i386-linux-gnu/libSDL-1.2.so.0.11.4 libsdl1.2debian:amd64: /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 libsdl-net1.2:amd64: /usr/lib/x86_64-linux-gnu/libSDL_net-1.2.so.0 libsdl-net1.2:i386: /usr/lib/i386-linux-gnu/libSDL_net-1.2.so.0 libsdl-net1.2:amd64: /usr/lib/x86_64-linux-gnu/libSDL_net-1.2.so.0.8.0 libsdl-net1.2:i386: /usr/lib/i386-linux-gnu/libSDL_net-1.2.so.0.8.0 libexpat1:i386: /lib/i386-linux-gnu/libexpat.so.1.6.0 libexpat1:amd64: /lib/x86_64-linux-gnu/libexpat.so.1 libexpat1:amd64: /lib/x86_64-linux-gnu/libexpat.so.1.6.0 libexpat1:i386: /lib/i386-linux-gnu/libexpat.so.1 libstdc++6:amd64: /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21-gdb.py libstdc++6:i386: /usr/lib/i386-linux-gnu/libstdc++.so.6 libstdc++6:amd64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++6:amd64: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 libstdc++6:i386: /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21 libstdc++6:i386: /usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.21-gdb.py libc6:amd64: /lib/x86_64-linux-gnu/libm.so.6 libc6:i386: /lib/i386-linux-gnu/libm.so.6 libgcc1:amd64: /lib/x86_64-linux-gnu/libgcc_s.so.1 libgcc1:i386: /lib/i386-linux-gnu/libgcc_s.so.1 libc6:i386: /lib/i386-linux-gnu/libpthread.so.0 libc6:amd64: /lib/x86_64-linux-gnu/libpthread.so.0 libc6:i386: /lib/i386-linux-gnu/libc.so.6 libc6:amd64: /lib/x86_64-linux-gnu/libc.so.6 ron@ron-desktop ~ $",
"Is there a option to search within manpages?",
"Difference between projection and datum? What's the difference between a projection and a datum?",
"Let $\\gamma:[0,1] \\to \\mathbb R^n$ be a smooth closed curve, such that $\\gamma(0)=\\gamma(1), \\gamma'(0)=\\gamma'(1), |\\gamma'(a)|=1$ and let $B_r=\\{x| \\exists t, |\\gamma(t)-x|<r\\}$. How can i show that the volume of $B_r$ is equal to $br^{(n-1)}$ for $r <\\varepsilon$ for some $\\varepsilon>0$. And how can I find $b$? It is intuitively obvious. But how can one prove it? I have no idea.",
"Center text in color box I wanto to center a text in a colorbox which is scaled horicontal over the complete site. How is this possible? \\documentclass[ ]{scrreprt} \\usepackage[ ]{scrpage2} \\usepackage[ngerman]{babel} %% Deutsches Sprachpaket \\usepackage[utf8]{inputenc} %% Eingabezeichensatz UTF-8 \\usepackage[T1]{fontenc} %% Kodierung für Umlaute \\usepackage[ngerman]{translator} %% Für Abkürzungsverzeichnis benötigt \\usepackage{lmodern} %% Moderne Version von Computer Modern \\usepackage{setspace} %% Zeileabstand anpassen \\usepackage{xcolor} %% Definieren von Farben \\begin{document} \\chapter{} \\definecolor{lightgray}{gray}{0.5} \\newcommand \\colbox [1]{\\par\\noindent\\colorbox{gray}{\\begin{minipage}{\\textwidth}{ {#1}} \\hfill \\end{minipage}}} \\colbox{TEXT} \\end{document} Moreover I want to avoid the overfull hbox.",
"I read a story--the first part of one, at any rate--years ago, and haven't tracked it down since. It started with a man been sent to a planet under attack to pose as a monk--he arrived in the middle of an assault, but still had to do penance for being late. So he wore a hair shirt, that created an agonising reaction. He was captured by the attackers (who took him for the man he was posing as), who then stood off the planet in their starships and watched as a 'hell burner' weapon tumbled out of deep space and torched the planet. The attackers then explained that they weren't responsible for the hell burner, but every time they arrived at a planet, a hell burner turned up afterwards, at shorter and shorter intervals. As the story developed, there was some kind of time travelling dimension, and a character turned out to have his organs reversed. I may have got some details wrong, but this was the shape of it. Anyone know this story, and the author?",
"Suppose that a box contains 10 red balls, 20 green balls, and 30 blue balls. Suppose also that balls are drawn from the box one at a time at random. What is the probability that all the red balls are drawn before the blue or green balls are themselves exhausted. What is the probability that as the last red ball is drawn, there remains at least one blue and one green left in the box. The answer I was given is $\\dfrac{7}{12}$ and a general equation is: $$ \\dfrac{b g}{1-b}+\\dfrac{b g}{1-g} $$ where $$ g=\\dfrac{20}{60},b=\\dfrac{30}{60} $$ but why?",
"Trying to show that $\\ln(x) = \\lim_{n\\to\\infty} n(x^{1/n} -1)$ How do I show that $\\ln(x) = \\lim_{n\\to\\infty} n (x^{1/n} - 1)$? I ran into this identity on . I haven't been able to find any proof online and my efforts to get from $\\ln(x) := \\int_1^x \\frac{\\mathrm dt}t$ to that limit have been a failure.",
"The list view of Nautilus 3.6 shows the dates files were modified in a variety of ways: the hour and minute if modified on the current day, and the month and day if modified during the current year, and the year tacked on if modified during a previous year. I would like to see the entire date and time consistently on all the files (e.g.: Sat 20 Apr 2012 01:28:34 PM EDT). I had this set up before, but I can't figure out how to do so with version 3.6. I did find this question, but the answers no longer apply to Nautilus 3.6: How can I do so in Nautilus 3.6+?",
"This is probably a silly question but I need some help. I opened a file that I've been working on for about a month in the new 2.8 version of Blender. However when I tried to reopen the file in version 2.79, the scene is completely empty. Here is where the problem lies for me, I accidentally saved over the original file save while in version 2.8 . Please help. Thanks!"
] | medi_sts_stackexchange_dupe |
Understanding modifiers in Java | What is the difference between public, protected, package-private and private in Java? | [
"Partial Sums of Geometric Series",
"In .NET, what's the best way to prevent multiple instances of an app from running at the same time? And if there's no \"best\" technique, what are some of the caveats to consider with each solution?",
"I am trying to prove: $a\\mid b \\land b\\mid c \\Rightarrow a\\mid c $ $a\\mid b$ means that a divides b if there is an integer k, that $b=k\\cdot a$ Please give me a hint on how to start, because I have no idea.",
"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>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>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>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$.",
"Prove that functions map countable sets to countable sets One of my homework problems asks to prove that if $f:X\\to Y$ is a function and $A$ is a countable subset of $X$, then $f(A)$ is countable. I believe I have a valid proof by partitioning the set A into equivalency classes based in image under $f$. Then using that partition as domain for a choice function $C_f$ back to $A$. So now the function $f$ restricted to the domain (range $C_f$) $f|_{range(C_f)}$ maps to $f(A)$ 1-1 and onto. Therefore $$|f(A)|=|range(C_f)|\\leq |A|=\\aleph_0$$ $\\therefore f(A)$ is a countable set. $\\quad \\blacksquare$ My problem is that I used the axiom of countable choice $AC_\\omega$ in my proof but that isn't a part of the course I am taking. Does anyone have a simpler proof or one that does not involve Choice?",
"Why modules with no variables?",
"I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big database for report generation. The client POS is based on PHPPOS, and I have implemented a module that uses the standard XML-RPC library to send sales data to the service. The server system is built on CodeIgniter, and uses the XML-RPC and XML-RPCS libraries for the webservice component. Whenever I send a lot of sales data (as little as 50 rows from the sales table, and individual rows from sales_items pertaining to each item within the sale) I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 54 bytes) 128M is the default value in php.ini, but I assume that is a huge number to break. In fact, I have even tried setting this value to 1024M, and all it does is take a longer time to error out. As for steps I've taken, I've tried disabling all processing on the server-side, and have rigged it to return a canned response regardless of the input. However, I believe the problem lies in the actual sending of the data. I've even tried disabling the maximum script execution time for PHP, and it still errors out.",
"Switching languages in bibliography with biblatex I would like to have a bibliography with both Cyrillic and Latin and the main document language being English. How can I make biblatex to automatically switch between languages? (without using XeTeX as suggested by some) The minimal example returns an error if the main language is English. However, with the main language being Russian the document works. \\documentclass{article} \\usepackage[utf8]{inputenc} \\usepackage[russian,english]{babel} \\usepackage[backend = biber,babel=other]{biblatex} \\usepackage{csquotes} \\addbibresource{library.bib} \\begin{document} %\\selectlanguage{russian} %if the main document language is Russian the bibliography is compiled without any problem. This is a test. \\parencite{Bara2006,Baranov2001} \\printbibliography \\end{document} The .bib entries are @book{Bara2006, address = {New York}, author = {Bara, Judith}, publisher = {Routledge}, title = {{English Citation entry}}, year = {2006} } @book{Baranov2001, address = {Санкт-Петербугр}, author = {Баранов, Николай А}, title = {{Эволюция взглядов}}, year = {2001} }",
"I need to print an image at a certain size. What dimensions and resolution should I use? (This question is meant to be a resource to direct others to given that this is a common question.) Given the task of creating an image that will be printed at a certain size, what pixel dimensions and resolution should I be setting my file at?",
"When a/an precedes a parenthetical aside (sometimes seen in informal/conversational writing), should the vowel rule depend on the first word in parentheses, or the next word in the \"regular\" flow of the sentence? I need a (memorable) idiom (preceding an m word; use a) or I need an (memorable) idiom (preceding an i word; use an)",
"What are the rules about using an underscore in a C++ identifier? It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background, you'll probably use m_foo. I've also seen myFoo occasionally. C# (or possibly just .NET) seems to recommend using just an underscore, as in _foo. Is this allowed by the C++ standard?",
"Making an invisible pressure plate I'm trying to build a teleporter. I want the player to be teleported from the first sign(left) to the right sign(right). So, when the player steps on the red wool on the left, he will automatically be teleported to the red wool on the right. I do not want to use any pressure plats.It might work with the testfor comment, but I didn't figure out, put that only works with a radius. BTW I'm in 1.10.2 bou I could probably change the version if necessary. The testfor command block should activate the teleport command block,when the player is detected. Now, I'm not really the expert, so I know non of the commands that you would need to build this construction. Please help, I would highly appreciate it! If you need any more details, ask me!",
"Program counter goes to the end of code and 8051 Restarts I have an 8051 MCU which I use keil to program it with C. My problem is that the micro-controller restarts at the end of some functions while they should return. Using a debugger I tried to check it line by line. And I figured out the the MCU is not restated right after the end of the function. The PC(progam counter) goes to somewhere else (sometime somewhere that there is not any code to execute) and then it increases one by one until the end of code. It is very strange for me because I write my code in C and never seen the type of error previously. I think this problem might be related to the compiler settings and thus I post the settings here: Assembler settings: XR GEN DB EP NOMOD51 Compiler settings: DB OE BR LARGE OPTIMIZE(11, SIZE) DEFINE(SILABS_PLATFORM_WMB912) DEFINE(SILABS_WMCU_SI106x) Linker settings: CODE REMOVEUNUSED CLASSES(BIT(0x20.0-0x2F.7), DATA(D:0-D:0x7F), IDATA(I:0-I:0xFF), XDATA(X:0-X:0xFFF), CODE(C:0-C:0xFBFF), CONST(C:0-C:0xFBFF)) I tried both large and small settings but the problem remains. Kindly help me if you know the reason.",
"I downloaded the Upwork desktop App on ubuntu 18.04. When I open it with Gdebi package installer I saw this error: I tried to install gksu manually via sudo apt install gksu but I got this error Building dependency tree Reading state information... Done Package gksu 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 'gksu' has no installation candidate How can I install this software on ubuntu 18.04 (I download it yesturday so it is the most recent version on upwork website) ?",
"I am using ArcMap 10.2 and I'm looking for a way to add a table containing certain fields from select elements from a featureclass to my map. Ive tried the add table option from the attribute table, but it doesn't quite give what I want (the table must be editable to look a certain way). Are there any options out there for 10.2 like arcpy.mapping.tableview or will upgrading to 10.3 so I can get access to the \"graphic table element\" function be best?",
"I want to install the latest Firefox on my Ubuntu (64bit) box. What is the best way to do this? Is there a specific update site or should I download the binaries manually? If doing manually, in which directory should I put the files? In my home directory, or is there a better place?",
"Can I get a rebate after using my HSA?",
"How to prove $a^3 + b^3 +c^3 - 3abc =1 $, If a,b,c are infinite series as given in the description box below? How do I prove that $$ a^3+b^3+c^3−3abc = 1 $$ if $ a = 1+\\frac{x^3}{3!}+\\frac{x^6}{6!}......$ , $b=x+\\frac{x^4}{4!}+\\frac{x^7}{7!}....$ , $c=\\frac{x^2}{2!}+\\frac{x^5}{5!}+\\frac{x^8}{8!}......$ ? I have tried the following :- I discovered that $a+b+c=e^x$ and that $a=\\frac{d(b)}{dx}$, $b=\\frac{d(c)}{dx}$, $c=\\frac{d(a)}{dx}$ . But I am unable to proceed further with these information.",
"Why do physicists think that the electron is an elementary particle? When we first discovered the proton and neutron, I'm sure scientists didn't think that it was made up of quark arrangements, but then we figured they could be and experiments proved that they were. So, what is it about the electron that leads us to believe that it isn't a composite particle? What evidence do we have to suggest that it it isn't?",
"I get double question marks when referring to labels inside figures I have some charts embedded in figures, and I want to be able to refer to them easily using the \"Figure x\" notation. I'm doing it like this (in this order): \\documentclass[12pt,letterpaper]{article} ... \\section*{Results} ...we performed a linear regression to obtain a standard curve (Figure~\\ref{0:stdcurve}).... \\pagebreak \\section*{Results (Graphs)} \\subsection*{Construction of Standard Graph for PNP} \\begin{figure}[h] % Figure 1 \\centering \\includegraphics[scale=1]{kinematics-res/graph0-1} \\caption{The standard curve for PNP.} \\label{0:stdcurve} \\end{figure} However, instead of getting the output \"...to obtain a standard curve (Figure 1)...\", I just get \"...to obtain a standard curve (Figure ??)...\" I also noticed that the PDFLaTeX compiler is generating warnings saying that it couldn't find the reference of the name 0:stdcurve. Why am I getting these warnings?"
] | medi_sts_stackexchange_dupe |
Fixed In-line Indentation | Signature/date line with fixed width | [
"Rewriting Triple Integral in different order How can I rewrite, say: $$\\int^1_0\\int^{z^2}_0\\int^y_0{f}dxdydz$$ In the orders $dzdxdy$ and $dydzdx$? Would I have to solve this triple integral all the way or is there a simple way to do this?",
"Creating all possible line segments between all points using QGIS",
"How do you prove that $\\sqrt{2} + \\sqrt{5}$ is irrational? I tried to prove it by contradiction and got this equation: $a^2/b^2 = \\sqrt{40}$.",
"How does the two slit experiment work? Whilst going through 'A brief history of time', I faced difficulty in understanding the . How can an individual electron cause fringes on screen? I was unable to understand it? Please explain it simply.",
"Character Limit in HTML",
"Is it possible to use multiple here-docs in bash? Can one use multiple here-docs to provide input to a command in bash? $ cat <<<foo <<<bar bar $ cat <<EOF1 <<EOF2 > foo > EOF1 > bar > EOF2 bar Obviously, in both cases, the second here-doc is used as stdin, and replaces the first reference. Is the solution to use echos instead? $ cat <(echo -n foo) <(echo bar) foobar Also, for some reason, using a combination didn't work for me. Why would that be? $ cat <<<foo <(echo bar) bar $ cat <(echo -n foo) <<<bar foo",
"Swapping right shift and delete key using xmodmap I'm unsure how to swap these 2, this is the thought process I had but am unsure how to get it working: remove sh = Shift_R remove dl = Delete keysym Delete = Shift_R keysym Shift_R = Delete add sh = Delete add dl = Shift_R This is based on the code I use to swap caps lock and control. Any thoughts? xmodmap output: dan@lantea:~$ xmodmap -pke | grep Shift_R keycode 91 = Shift_R NoSymbol Shift_R keycode 119 = Shift_R NoSymbol Shift_R dan@lantea:~$ xmodmap -pke | grep Delete keycode 62 = Delete NoSymbol Delete",
"How to send emails and avoid them being classified as spam?",
"How can I tell if a CVE has been fixed in Ubuntu's repositories?",
"Every subspace of a vector space has a complement I want to see if my proof is true or I thought very trivially? If $H$ is a subspace of a finite dimensional vector space $V$, show there is a subspace $K$ such that $H\\cap K=0$ and $H+K=V$ So far I have tried : $H\\subseteq V$ is a subspace $\\Rightarrow\\,\\exists\\;K=(V-H)\\subseteq V$ $K$ is a subspace because it's the sum of two subspace $V$ and $(-H)$ Now we should prove that $H\\cap K=0$ We assume $H\\cap K\\neq0\\Rightarrow\\exists\\,\\vec u\\neq0\\,,\\,\\vec u\\in H\\cap K$ $\\vec u\\in H\\cap K\\Rightarrow \\begin{cases}\\vec u\\in H\\\\\\vec u\\in K\\,\\Rightarrow\\vec u\\in V-H\\Rightarrow\\vec u\\in V,\\,\\vec u\\notin H\\end{cases}$ That's a contradiction so our hypothesis was wrong and $\\vec u=0$",
"Is there a way to insert Keyboard Glyphs in Google Docs? Here on the StackExchange framework we have a nice feature, which is apparently called \"Keyboard Glyphs\" (cf. ): CTRL+Z Is there a way (e.g. with an Add-On) to do the same in Google Docs? I browsed the Add-Ons but did not find anything, maybe it's hidden somewhere different (e.g. in a Code Formatting Plugin).",
"How to customize my titlepage?",
"How to remove duplicate entries in dash?",
"What is a \"DIE\" package? In a list of ICs, along with the familiar package names such as QFN32, LQFP48, etc., I've seen a few ICs to be listed as DIE for the package size. I've never seen that description before as an IC package size, and does not list it either. What can it be? I assume it's some kind of chip-scale package, but it does not reveal the silicon size or any other properties, like number of pins, etc.",
"I read it in Reader's Digest in the seventies. Archaeologists interpreted everyday objects as the TV set and the toilet seat to be sacred and precious.",
"Let $H$ be a subgroup of $G$ with $[G:H]=n$ and $G$ finite. Let $G$ act on left cosets of $H$ by left multiplication. Let $N$ be the kernel of the action. Show that $[G:N]$ divides $n!$. Ok so I have a theorem that says that if $G$ is simple then it embeds into $S_n$. So if $G$ is simple than I'm done because $G$ divides $n!$ and thus $N$ divides $n!$ and hence $[G:N]$ divides $n!$. Now I also know that $N$ is the largest normal subgroup of $G$ contained in $H$. Thus if $G$ isn't simple then it contains some non-trivial normal subgroup $K$ and thus $K\\cap H$ is normal in $H$ and by the 2nd Iso Theorem $H/K\\cap H\\cong KH/H$... As you can see I'm not sure where to go from here. I was hoping to prove that $K\\cap H$ wasn't trivial and thus that $N$ couldn't be trivial since it must contain $K\\cap H$, but I'm not sure I can, and even if I could I'm not sure that would help me in showing that $[G:N]$ is small enough to divide $n!$. Can anyone give some guidance? Thanks.",
"I was working on a worksheet for class and came across this problem: Let $\\varphi:R\\to S$ be an onto ring homomorphism with the property that every ideal of $R$ is principal. Show that the same must be true for $S$. I honestly do not know how to do this one!",
"Is it possible to assign numbers generated in an Error-Message?",
"I don't have administrator account on my mac On my mac I have 2 accounts and the both are normal account. So in this moment I don't have a Administrator account, only one that was in the past a administrator, but now is not. How I can have again a Administrator account?",
"Ignored users still appear in the 'other rooms you're in' message preview Well it might not be a huge issue to some (I suppose it depends on how you use the chat system) but when I \"Ignore this user everywhere\", their messages still appear on the sidebar for the 'other rooms you're in' if they say something. Albeit I can ignore this feature and the text within it, I just find it odd that I can still see it. This is only a nuisance when you truly are annoyed by a user and ignoring them in the chat was the best possible alternative to leaving the room or starting an argument (no references here, but any long time chat user has been annoyed by some help vampire at one point in time or another and would just prefer to ignore them for good). If you have no clue to the sidebar or preview I'm talking about: this is for you, I have chosen to Ignore this user everywhere (Neal) and then switched to a new room, yet that users response appears in my 'preview' for the 'other rooms you're in' if he is also talking in them. Note: My ignore of Neal was mostly due to jest, this in no way is to reflect on Neal but the chat feature (I hate to ever single anyone out here)."
] | medi_sts_stackexchange_dupe |
Photoshop CS6 - Is there anyway to apply gradient overlay on multiple layers at once? | How to apply layer style to one object and apply it to multiple layers | [
"Uniform convergence of $f_n(z)=nz^n$ in the set $|z|<\\frac{1}{2}$",
"How to set up USB for Virtualbox?",
"I read a story once about a man who escapes from his pursuers by doing an uncontrolled jump into hyperspace. If I'm not mixing my stories up he was blind but could see through the eyes of other sighted people/animals nearby. He was able to see through his pet but it dies and he thinks he's finished - he's blind and lost in hyperspace but there's a rat on board which he eventually catches by turning off gravity and then he can see through the rat's eyes. He works out how hyperspace operates and can hop back to where he came from. Can anyone remember the name of the story and the author? I enjoyed it when I was a kid and would like to read it again.",
"Why are integer literals with leading zeroes interpreted strangely? This prints 83 System.out.println(0123) However this prints 123 System.out.println(123) Why does it work that way?",
"Is it possible to prove a null hypothesis?",
"How do I create a permanent Bash alias?",
"The title says it all. If I was on a bus at 60 km/h, and I started walking on the bus at a steady pace of 5 km/h, then I'd technically be moving at 65 km/h, right? So my son posed me an interesting question today: since light travels as fast as anything can go, what if I shined light when moving in a car? How should I answer his question?",
"How do the PHP equality (== double equals) and identity (=== triple equals) comparison operators differ?",
"Is abstract algebra (mostly?) restricted to $2$-ary operators?",
"Proving $\\, a^b = (a\\bmod n)^b\\, \\pmod{\\!n}\\ $ [Congruence Power Rule] I am working on a problem I am pretty close to solving but I can't figure out the last part. I used some algebraic manipluation to break the problem down. The problem is: Show that the following congruence is true a^b = ((a mod n)^b) (mod n) for any positive integers a, b, and n. Hint: Number a can be written as a = q*n + r, where q = floor brackets a/n, and r = a mod n. My attempt it: (q*n +r)^b = ((a mod n)^b) * (mod n) (q*n)^b + (a mod n)^b = ((a mod n) ^b) * (mod n) (a)^b -(r)^b = ((a mod n) ^b) * (mod n) (a)^b = modn ----> divided by ((a mod n)^b) Am I doing this correctly and if so how can I prove this is true? Is there a trick I am missing? I think that by simplifying it further I would just keep going in a loop. Thanks!",
"Images instead of radio buttons or dropdown list?",
"I have a hard time formulating proofs. For this problem, I can see that if $n$ is equal to $8,$ this statement is true. $(\\mathbb{Z}/8\\mathbb{Z})^{\\times}$ includes elements: $1,3,5,7$, and all of these are roots of $1-x^2 \\pmod 8.$ And obviously $8$ divides $24.$ But how do I prove this without depending on number calculations and only using theorems? Help Please? I need a step by step walk through of how to do this proof and what theorems would be appropriate to use.",
"I don't have complex analysis at my beck and call, and I only have a low level of knowledge in topology, but I need to prove that this metric space (for any real $r$ and $R$ with $r < R$)$$ X = \\{ (x, y) \\in \\mathbb{R}^2 \\ | \\ r \\leq x^2 + y^2 \\leq R \\}$$ with the Manhattan metric $d((x_1, y_1), (x_2, y_2)) = |x_1-x_2| + |y_1-y_2|$ is not simply connected. I've already prooven that it's path connected, and now I need to show there are some points $P$ and $Q$ with two paths between them such that one cannot be continuously 'morphed' into the other. $ \\ $ What I have so far is as follows: I take $P = (0, r)$ and $Q = (0, -r)$, with $f_0$ being a path from $P$ to $Q$ going clockwise around the circle radius $r$ and $f_1$ being much the same but going counterclockwise. Now I assume there is a function $g : [0, 1]^2 \\to X$ such that: $g(s, 0) = f_0 (s)$ $g(s, 1) = f_1 (s)$ $g(0, t) = P$ $g(1, t) = Q$ To get the final result, I need to show that this function cannot be continuous, but for the life of me I cannot. For some context, these are the topics which have been visited during the course, roughly in order of recentness. Multiple connectedness Simple connectedness Pathwise connectedness Interior points Boundary points Open sets Compactness Complete metric spaces Bounded metric spaces Totally bounded metric spaces Closed sets Closure of a metric space Limit points Cauchy sequences Convergence Continuity Metric space quivalence Metric equivalence Edit: I might have an argument that works, though it's far from rigourous. We can shrink $R$ to be as close to $r$ as we want, so we can essentially constrain the annulus down to a circle and thus force any path from the left side of the circle to the right side to go through $P$ or $Q$. So holding $s \\in (0, 1)$ constant and varying $t$ must produce a path through $P$ or $Q$ for any $s$. If for some $s$ it passes through $P$ and for some other $s$ it passes through $Q$, then there must be $s_0$ such that $\\forall \\epsilon >0 \\ \\exists \\delta \\leq \\epsilon$ st. $s_0$ produces a path through $P$ and $s_0 + \\delta$ produces a path through $Q$. Now we can consider the path $g(s, \\frac{1}{2})$, and note that it must have a discontinuity at $s_0$. Now consider the case where all $s$ produce paths through only one of $P$ or $Q$. WOLOG: $P$. Now, at $t = \\frac{1}{2}$, $s$ arbitrarily close to $1$ are mapped away from $Q$, but $1$ is always mapped to $Q$ by definition, so $g(s, \\frac{1}{2})$ has a discontinuity at $s=1$. Therefore $g(s, t)$ is not continuous. This argument is definitely iffy to me, if no one has their own argument (using sufficiently low level concepts), then criticism on the above would be appreciated.",
"Do parts of a hash carry the properties of the entire hash? When I need to generate unique id's based on some information hashing is typical choice. However, sometimes that id needs to be of a particular size. I've seen a lot of schemes (HMAC-MD5-96 in SSH, CGA in SeND for IPv6) that use a portion of a hash, so I'm thinking it might be alright to use it that way. Which properties of a hash are preserved and which do not apply anymore? Obviously, with less bits, the chance of collision goes up, but can I still rely on the partial hash for uniform character distribution? What about the ? I'm guessing that if a hash modifies the entire hash upon the smallest change to the input, that would imply that a portion of that hash would be equally well changed. Am I thinking about this correctly? Also, would these behaviors be different for different hashing algorithms?",
"How to tell if a certain item is in a player inventory? I am trying to create a challenge world where a certain item (e.g. a Netherite Sword) must be collected. How can I check automatically if a player has it (using commands), and then congratulate the winner? This question is specific to Bedrock Edition 1.16. I have tried other solutions so many times and they don't seem to work. See also:",
"jQuery - regexp selecting and removeClass()?",
"When looking for the path to an executable or checking what would happen if you enter a command name in a Unix shell, there's a plethora of different utilities (which, type, command, whence, where, whereis, whatis, hash, etc). We often hear that which should be avoided. Why? What should we use instead?",
"Interesting tab on StackOverflow One day I directed to SO and was met with the awesome Interesting page, which I really like. But when I travel away from it, I have to re-enter the query string to get it back. Is there a plan to make this tab visible so I can click to it anytime?",
"What do all those cryptic number and letter codes in a lens name mean?",
"This might be a stupid question, but nonetheless, it has been bothering me. If you take a photon, make it go through some atoms in a solid, liquid or whatever, then you have the chance of this photon being absorbed by an electron, and thereby exciting the electron. This requires the photon to have enough energy to actually excite the electron to another energy level. My question is then: How does the photon know if it has enough energy or not? Do they interact very quickly to determine if it's okay or not, or is it just something it \"knows?\""
] | medi_sts_stackexchange_dupe |
Proof of G being a cyclic group? | Finite group for which $|\{x:x^m=e\}|\leq m$ for all $m$ is cyclic. | [
"Where is the operator panel in Blender 2.8? The tutorial I read is based on 2.79. So I'm not sure if it's still the same name in 2.8. But I can't find anything providing similar functionalities.",
"Adding table of certain attributes to map layout? I am using ArcMap 10.2 and I'm looking for a way to add a table containing certain fields from select elements from a featureclass to my map. Ive tried the add table option from the attribute table, but it doesn't quite give what I want (the table must be editable to look a certain way). Are there any options out there for 10.2 like arcpy.mapping.tableview or will upgrading to 10.3 so I can get access to the \"graphic table element\" function be best?",
"Do electrical devices \"take what they need\" One concept of electronics I have a hard time understanding is if things like motors, actuators, solenoids etc. use as much power as they need or what you give them. If a motor needs 12 volts and 500ma and I supply it with 12 volts and 3000ma will it only consume 500ma? Also, if I supply it with 15volts and 500ma what will happen? It seems logical that an LED and a DC motor are way different when it comes to requiring/using electric where as an led has to be completely regulated and (I assume) a DC motor doesn't. Is my understanding wrong?",
"Windows 7 booting fail with error code 0xc0000225 I have an HP laptop Pavilion DV4. Last night, I installed Ubuntu and there was an problem about partitioning the hard disk, and I think I deleted the Windows boot record. I didn't burn a recovery disc but there is built-in recovery partition on the hard disk. All I want to do is to perform a Factory Restore but I need recovery disc. I could burn that disc from the recovery partition using HP recovery manager, but can't burn now. I can't also boot HP recovery manager using F11 key, because it has the same boot error. I want to boot Windows 7 and want to burn recovery disc. How can I boot into my old windows 7. If I can boot it, I can burn Recovery Disc and I will make Factory Restore if it's needed. I didn't make any changes to windows 7 partition but I did a problem about Boot Record. There is a system partition on hard disk with the size of about 200 MB.There is BOOT folder too. Installation of Ubuntu also failed, so I'm booting from Live Ubuntu USB.",
"What counts as a 'large' raid 5 array?",
"In several different contexts we invoke the to justify whatever statistical method we want to adopt (e.g., approximate the binomial distribution by a normal distribution). I understand the technical details as to why the theorem is true but it just now occurred to me that I do not really understand the intuition behind the central limit theorem. So, what is the intuition behind the central limit theorem? Layman explanations would be ideal. If some technical detail is needed please assume that I understand the concepts of a pdf, cdf, random variable etc but have no knowledge of convergence concepts, characteristic functions or anything to do with measure theory.",
"Mock a service while running a BrowserTest? I am trying to test the output of a controller that returns some information in a given page. This controller has a custom http client injected into it. I want to create a BrowserTest that can navigate to a fake node, and then test for certain text or values. I also want to change the mock to return different values, so I can further test the output to account for those cases. I tried: $client = $this->getMockBuilder('\\Drupal\\mymodule\\Client\\AuthorizeClient') ->disableOriginalConstructor() ->getMock(); $client->expects($this->any()) ->method('request') ->with('w12345', FALSE) ->willReturn([]); $this->container->set('mymodule.auth_client', $client); But I get errors in the test that refer to the original class, and not the one I am trying to replace. I looked around in the core but wasn't really able to find what I was looking for. Does it make sense to do this? Is there a way to do a Kernel test to test responses from the route in question?",
"How do I install Guest Additions in a VirtualBox VM? I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions. I started up my Ubuntu guest OS, clicked \"Devices\" and chose \"Install Guest Additions\". Nothing happened, and I don't see the CD icon on my desktop. How can I make this work?",
"Is there any SCP program available for Ubuntu that does not require SFTP on a remote host? I need a program that can manage files on a remote device running Linux using SCP. The remote device runs OpenWrt. On Windows there is a perfect one WinSCP. it is weird that there is no native program that can be used. The program should be able to: list files copy and move files to/from the device and within the device. delete files on the device view and edit files change file permissions I have found only one alternative, except using CLI and installing WinSCP with wine. It is Midnight Commander with fish. It works really poor. The problems are: It mixes up ~ on a remote device and on the computer. It can't edit files. I can open and edit, but they are saved to a wrong place. There is a lot of other annoying problems that makes it almost unusable. I gave up using mc and now I am using pure shell on the remote device. Please do not tell me that Nautilus, etc support these features. They don't!!! Linux native file managers require SFTP that is not available on the remote device. Maybe it is possible to get nautilus use SCP, but I did not find a way of doing it without changing sources. THIS IS NOT A DUPLICATE !!! I have a specific requirement that is not covered in the duplicate question. If it is not possible on Ubuntu, then this could be an answer.",
"I no longer need an answer to a question; what should I do to the question?",
"Types in MySQL: BigInt(20) vs Int(20)",
"How to hide password input from terminal in ruby script",
"What was Mr. Anderson (Neo) selling on discs to Choi?",
"Local hyperlinks broken after PDF processing with Ghostscript I usually compress my tex PDFs with ghostscript: pdflatex -shell-escape file.tex gs -sDEVICE=pdfwrite \\ -dCompatibilityLevel=1.4 \\ -dPDFSETTINGS=/prepress \\ -dNOPAUSE -dQUIET -dBATCH \\ -sOutputFile=file_compressed.pdf \\ file.pdf Normally that works well, but if I have relative links to local files, the links don't work afterwards. Minimal example: \\documentclass{beamer} \\usepackage{hyperref} \\begin{document} \\begin{frame} \\href{run:./audio.mp3}{test} \\end{frame} \\end{document} The link works in file.pdf but not in file_compressed.pdf. Is there any pdflatex or ghostscript setting that retains the link in the compressed version? I use Acrobate Reader 10.1.14 for viewing, Ghostscript 9.10 and pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2014) on OS X 10.9.5. Update: The breakage of hyperlinks had nothing to do with compressing the PDFs. The breakage happened for all re-processing of PDFs containing hyperlinks in its input PDF.",
"Prove that every idempotent element is not nilpotent element. Let $R$ be a ring. Prove that every idempotent element is not nilpotent element. I've got a problem with proving this question. I was be grateful, if somebody would be help me.",
"How do I convert html page to SharePoint 2013 master page? There is functionality provided in SP2013 for converting html page to SharePoint master page. I have tried this functionality but each time it convert nothing. Is there any specific method that I need to follow? Or is there any specif layouts of html page need to be converted into SP 2013 master page?",
"Application always show in the third position in Ubuntu 16.04 After I update my ubutu to 16.04, I got a problem with Unity launcher. Whenever I open an application which is not listed in launcher, it will take the third position instead of last position. Has anyone the same problem?",
"How can I get exactly 5 logarithmic divisions of an interval?",
"Which command should I use for textual subscripts in math mode? Textual subscripts like in W_{total} should be typeset in an upright text font (so that code isn't good practice), as has been in . Now there are several ways to achieve this, and I'm somewhat confused which I should use: W_{\\rm total} is nice and short, and appears to work in all circumstances, but I expect LaTeX people will frown upon it :-) Is there any good reason against this? W_{\\mathrm{total}} – is this the LaTeX equivalent of the \\rm approach? W_{\\textnormal{total}} as total is text and not math ... In , Ulrike Fischer suggests a more complicated approach. Even W_{\\operatorname{total}} appears to work, but it seems inappropriate. Note: I always assume here that amsmath is loaded. I've already asked some questions above, but my main question is: which of these options is the best practice for textual subscripts? Let me point out why I haven't mentioned \\text, \\textrm or \\textup above. Those commands (mostly) keep the font of the context they're used in, e.g., in an italic context, \\text and \\textrm would give italic subscripts, and all three yield bold subscripts in a bold context. Final note: This question is similar to, but not the same as all those about the between , , , , that have been asked before. Maybe it's still a duplicate ...",
"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?"
] | medi_sts_stackexchange_dupe |
Start application in certain Ubuntu workspace | How to automatically start programs in specific workspaces on start up | [
"Why is the potential energy equal to the negative integral of a force?",
"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.",
"Switch command output language from native language to english",
"Combinatorial proof of an identity with squared binomial coefficients Is it true that $\\sum_kk\\binom{n}{k}^2=n\\binom{2n-1}{n-1}$? (I proved it using generating functions). Could you help me to prove it combinatorially? please",
"́╗┐' is not recognized as an internal or external command When executing certain files (mainly batch) using PsExec I get these weird ́╗┐' symbols before my command. My initial thought was, that I were using wrong encoding, but after checking, I realized that all my files were using UTF-8.",
"Editing and manipulating tables with ArcPy? I’m new to ArcMap and was wondering if anybody could help me out. I have a shapefile with counties and wells in that county. In the table I’m trying edit it so that for each county calculate the total numbers of wells that fall into that county, and update the county table with the total count. I also want to calculate how many wells there are per area unit, and update the table with that value as well. import arcpy featureClass = \"C:/Lesson5_Data/Colorado_cities.shp\" fieldList = \"*\" with arcpy.da.SearchCursor(featureClass, fieldList) as cursor: for row in cursor: print row[4 population = 10000 whereClause = '\"POP2007\" >= ' + str(population",
"Pointwise convergent and total variation I'm preparing for a test for real analysis and I came across this problem in Royden's book: Let $\\{f_n\\}$ be a sequence of real valued functions on $[a,b]$ that converges pointwisely on $[a,b]$ to the real valued function $f$. Show that $TV(f) \\leq \\liminf ~TV(f_n)?$ This looks quite similar in form to Fatou's Lemma to me, but can't find any way to establish TV with integration, can anybody please help? (TV is short for total variation)",
"I use tikz (and tikzpicture) a fair bit, but files that used to compile fine before the latest slew of updates to pgf, and pstricks, no longer seem to do so (at least, on my MikTeX installation). The MWE (below) seems to compile correctly, but the DVI can't be rendered using yap, and dvi -> ps -> pdf fails (the dvi -> ps seems to be ok -- to the extent it isn't throwing errors), but ps2pdf fails miserably, with the following errors: Error: /undefined in XC@. Operand stack: --nostringval-- --nostringval-- --nostringval-- --nostringval-- - -nostringval-- --nostringval-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- -- nostringval-- 2 %stopped_push --nostringval-- --nostringval-- -- nostringval-- false 1 %stopped_push 2045 1 3 %oparray_pop 2044 1 3 %oparray_pop 2025 1 3 %oparray_pop 1884 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval- - --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:979/1684(ro)(G)-- --dict:1/20(G)-- --dict:87/200(L)-- -- dict:182/300(L)-- --dict:58/200(L)-- Current allocation mode is local Current file position is 99615 GPL Ghostscript 9.26: Unrecoverable error, exit code 1 Here is the MWE: \\documentclass[12pt,letterpaper,oneside]{article} \\usepackage{tikz} \\usetikzlibrary{decorations,shapes,arrows,matrix,positioning} \\begin{document} \\begin{center} \\begin{tikzpicture}[x=0.175cm,y=0.175cm,scale=1] % set up maximum and minimum x- and y-coordinates \\def\\xmin{0} \\def\\xmax{23.5} \\def\\ymin{0} \\def\\ymax{23.5} % draw and label axes \\draw[->,thick] (\\xmin,0) -- (\\xmax,0) node[below=8pt,near end] {\\small{abundance ($N$)}}; \\draw[->,thick] (0,\\ymin) -- (0,\\ymax) node[above=12pt,near start,rotate=90] { \\small{birth rate ($b$)}}; % draw vertical reference line at K/2=50 \\draw[color=black, thick, smooth] (0,20) -- (20,0) node[below=6pt,midway,rotate=-45] {\\small{slope~$=a$}}; % draw circle around point where function intersects x-axis \\draw [red] (0,20) ellipse (0.2cm and 0.2cm) node[right=3pt,black] {$b_0$}; \\end{tikzpicture} \\end{center} \\end{document}",
"Elegantly determine if more than one boolean is \"true\"",
"Record Animation In BGE I am having trouble getting the Record Animation setting to work in the BGE. Is it possible to record animated characters that are controlled using BGE's logic bricks with some script? In my script I change the positions of the characters bones.",
"How do I find out what tool a shortcut is triggering? I used to have problem with connecting two objects, because when I smooth the final object, there was a darker line on the connected parts (for example when I was making head, I've had eyes darker this way). Then I found out that I can get rid of it by hitting Ctrl+N, but I don't realy know what it does. I can just see that the lines are gone. So, what does Ctrl+N do?",
"where does lspci gather its information from? In I found \"[The latest version of this document \". There I says: \"… lspci is a synonym for cat /proc/pci\". Which isn't the case here, on a Crunchbang 10 system (Debian based). No such directory. I do get the basic idea and, as far as I know, the content of proc is (mainly) created during runtime. (Wrong?). This made me curious: Question: Where does lspci gather it's information from? And where is this documented? (Where did I miss something?) Another difference I found: In kernel.org's documentation, under \"Table 1-5: Kernel info in /proc\" pci Deprecated info of PCI bus (new way -> /proc/bus/pci/, decoupled by `lspci)",
"My Mac Book Pro 13.-\" doesn´t get past the grey booting screen with the apple and the spinning wheel (The loading bar appears but when it´s done nothing happens) I have 220 GB in one single Partition (Macintosh HD) and there is all my work my music and the only copy of ALL MY PHOTOS. I´m so stupid I don´t have a backup of anything but know I have an external HD with 300GB space. I would like to repair my HDD but more important I need to save my files but I don´t know how to do it in Disk Utility Mode. I read there is a Diskwarrior but I don´t know how to install it without booting the mac. Please help!!! When I start on Single User mode and enter /sbin/fsck -fs this appears Executing fsck_hfs (version diskdev_cmds-557-393) Checking Journaled HFS Plus volume. The volume name is Macintosh HD Checking extents overflow file. Checking catalog file Incorrect number of thread records (4, 23745) Checking multi-linked files. Checking catalog hierarchy Invalid volume directory count (It should be 175703 instead of 175701) Checking extended attributes file. Incorrect number of extended attributes (It should be 340062 instead of 340064) Checking volume bitmap. Checking volume information. The volume Macintosh HD could not be repaired after 3 attempts. *****The volume was modified ***** What are the next steps if fsck fails to repair a drive?",
"Problem: James has a pile of n stones for some positive integer n ≥ 2. At each step, he chooses one pile of stones and splits it into two smaller piles and writes the product of the new pile sizes on the board. He repeats this process until every pile is exactly one stone. For example, if James has n = 12 stones, he could split that pile into a pile of size 4 and another pile of size 8. James would then write the number 4 · 8 = 32 on the board. He then decides to split the pile of 4 stones into a pile with 1 stone and a pile with 3 stones and writes 1 · 3 = 3 on the board. He continues this way until he has 12 piles with one stone each. Prove that no matter how James splits the piles (starting with a single pile of n stones), the sum of the numbers on the blackboard at the end of the procedure is always the same. Hint: First figure out what the formula for the final sum will be. Then prove it using strong induction. The formula I came up with is $n(n-1) / $2. It could be totally wrong... My (Partial) Solution: 1) Base Case: (n=2) James has one pile of 2 stones. Suppose he takes the top-most stone and puts in one pile A, which now has size 1. He takes the remaining stone and places it into another pile B, which now has size 1. Then the product of the sizes is 1. The sum of all the products on his board is 1. Now, if he were to start again, and take the bottom stone first and put it in pile A, he has a pile of size 1, and then takes the top stone and puts it in pile B, he has a pile of size 1, and the product is 1, with sum of all products on the board is 1. 2) Inductive Hypothesis (Strong Induction): Suppose for some $k \\geq 2$, $n$ stones can be split in $ 2 \\leq n \\leq k $ stones and $k-n$ stones. 3) Inductive Step: Consider $n=k+1$. What do I do now?",
"Parse error in sudoers file",
"I use the term \"100% crop\" to mean a portion of a picture that has been cropped but not resized, but I have also seen some confusion around that term. Is there an accepted definition for \"100% crop?\" What is its opposite called? Here's what I think it means: If I'm right, what is the proper name for \"something else?\" If I'm wrong, please include illustrations. Either way, what evidence supports the definitions?",
"Merge two arrays as key value pairs in PHP I've got two arrays of the same size. I'd like to merge the two so the values of one are the key indexes of the new array, and the values of the new array are the values of the other. Right now I'm just looping through the arrays and creating the new array manually, but I have a feeling there is a much more elegant way to go about this. I don't see any array functions for this purpose, but maybe I missed something? Is there a simple way to this along these lines? $mapped_array = mapkeys($array_with_keys, $array_with_values);",
"Why the names Type 1, 2 error?",
"Don't heavier objects actually fall faster because they exert their own gravity?",
"GNU find and masking the {} for some shells - which?"
] | medi_sts_stackexchange_dupe |
Linear Function: f(ax + by) = af(x) + bf(y) vs y = ax+b. | Why is a linear transformation called linear? | [
"The problem I am given is finding a solution to the following pair of equations: $3x + 4y$ $\\equiv$ $5$ $mod$ $13$ $2x + 5y$ $\\equiv$ $7$ $mod$ $13$ By reading the methodology here: Since the modulos in my problem are also the same, I am able to use substitution, but this leaves fractions in my expressions. I then used matrix multiplication as follows: $\\begin{bmatrix} 3 & 4\\\\ 2 & 5\\end{bmatrix}$ $\\begin{bmatrix}\\ x\\\\ y\\end{bmatrix}$ = $\\begin{bmatrix}\\ 5\\\\ 7\\end{bmatrix}$ And solving this also gives me a matrix with fractions, so I am a bit lost on how to solve this problem. Any help is appreciated. Thank you very much.",
"Counting buffer overlap in QGIS For my thesis I'm modeling the identification of recreation areas. Therefore, there has been a survey where people were asked to specify where they recreate. They had to indicate this place on a map and give a radius. Now I have to analyse which areas were most visited, and afterwards use the data to give a weighted rating with the travel distance. So, I use QGIS to Buffer the data points by using the given radius. Now, I want to calculate for every point in the country how many times it was visited. Any thoughts how to do this in QGIS?",
"Dealing with bundle/omnibus/list-of-questions question that consists of rather distinct questions I have looked at the various help pages but I couldn't find a clear guideline for the following issue: often enough someone will ask in the same post (i.e. in the same SE-question) a whole bunch of questions (in the plain English sense of the word), which while may be about the same topic are nevertheless sufficiently distinct that each may require several paragraphs of text to answer adequately. I can see an upside for leaving related questions grouped together from the asker's perspective: \"there's a thread (on SE) answering all my questions about topic T!\" On the other hand, from the perspective of organizing questions by having a clear heading/title for each (actual) question and so forth, i.e. from the perspective of SE being a fairly structured database of Q&As instead of being a more like a collection of forum threads \"I'm confused about topic T\", the omnibus question-list approach seems clearly sub-optimal. The omnibus approach also makes the issue of accepting answers (and perhaps reviewing such actions) difficult: if two different users give replies to different parts/sub-sets of the question-list, which one is the most adequate one? Even upvoting all partial answers seems iffy because it actually penalizes the user(s) who provides(s) the most complete answer to the question-list: since a user can only give at most one upvote to another user's answer, if user X provides answers to A & B in the same SE-answer, he can only get at most one upvote from user Y, whereas if these were two different SE-answers, he could get two upvotes from user Y. So, given the above problems, which I think are real enough, is there anything in the SE system addressing list-of-questions question splitting?",
"What is the status of pdfsync? The pdfsync homepage states that: At the end of this summer (2007), pdfsync is slowly migrating to pdftex itself. We are working at giving pdftex all the pdfsync ability and more... The pdfsync README file discourages people from using pdfsync: pdfsync uses extremely sensible code. You should not use pdfsync on final documents because it can change the layout rather significantly. From your knowledge and experience, what is the actual status of pdfsync? Is it safe to use pdfsync? Is there an alternative for pdfsync that is built into pdftex? Is there a different tool for pdflatex that offers DVI-like functionality (forward and backward search)?",
"The gluing lemma for closed sets states: Given a finite closed cover $\\{A_i\\}$ of a topological space $X$, together with continuous maps $\\{f_i : A_i \\to Y\\}$ into some other topological space $Y$, there exists a unique continuous map $f : X \\to Y$ whose restriction to each $A_i$ is equal to $f_i$. Question: What is a good and simple counter-example when the gluing lemma fails in the case that $\\{A_i\\}$ is infinite, but countably so. My attempt: I have only been able find a silly counter-example: let $\\{A_\\alpha\\}$ be the collection of all points of $X = [0,1] \\subset \\mathbb{R}$, and let $f_\\alpha = 0$ for all $\\alpha$ except for $\\alpha = \\alpha_0$, for which $A_{\\alpha_0} = \\{0\\}$ and $f_{\\alpha_0} = 1$.",
"First quick glance at a dataset Please pardon my ignorance, but... I keep finding myself in a situation, where I'm faced with a bunch of new data I managed to find. This data usually looks something like this: Date Number1 Number2 Category1 Category2 20120125 11 101 Dog Brown 20120126 21 90 Cat Black 20120126 31 134 Cat Brown (...) Usually at first glance I can't really tell if there are any trends here. The correlations between the various columns may not be very significant, but I would be delighted if I didn't have to manually create a plot for every possible combination of columns/categories. Is there a tool out there which would accept a table of data along with information which columns should be treated as numbers, dates and categories and then proceed to plot: correlations between each two numerical columns correlations between each two numerical columns, with separate trend lines for each category each number column as a time series, each number column as a time series, separated by category, etc. In the end this would generate a large number of plots, most of which would show only noise. Ideally, the tool could score the plots by correlation and in the end display a slideshow starting with the highest scoring plots. This would be a very imperfect, but useful first glance at the dataset. So? Is there a tool everyone uses for this and I just don't know about it, or is this something we need to make?",
"Parsing date/time string with timezone abbreviated name in Python?",
"Could gravity accelerate light? Gravity causes anything with energy to accelerate toward the source. Black holes, for example, have such strong gravity that they pull in light and don't let any escape. But can acceleration still apply to light? The speed of light is constant, of course, but why are photons affected by gravity yet aren't accelerated by it? Edit: My main question is why photons aren't affected in the same way as most other particles. I'm perfectly aware that it cannot surpass lightspeed, but I want to know what makes it unaffected by acceleration while other particles are affected.",
"How can I stop the Devel module from generating blog/forum entries for Anonymous user? I'm using Devel's generate content feature to generate Blog/Forum entries for a site I'm working on and funny enough, I get to have a blog post by an anonymous user or forum topic by an anonymous user. How can I stop Devel from doing this? I've only given Authenticated Users/ Administrators the permission to create a blog post or forum topic but still it generate for anonymous user. How can correct this?",
"In my textbook it is given that 'The wave function describes the position and state of the electron and its square gives the probability density of electrons.' Can someone give me a very simple example of a wave function with explanation? (Note: This question is not a duplicate. I have searched for other questions of this type but the answers were overwhelmingly difficult to understand.)",
"I'm curious why PCBs have one square pad in row for 0.1\" headers. What is purpose of putting one square pad? What it indicates? Can you push more amps through square pad than round?",
"Is GTA Online cross-platform?",
"This question is about cosmology and general relativity. I understand the difference between the universe and the observable universe. What I am not really clear about is what is meant when I read that the universe is infinite. Does it have infinite mass or is it dishomogeneous? How can the universe transition from being finite near the big bang and infinite 14 billion years later? Or would an infinite universe not necessarily have a big bang at all?",
"Show that holomorphic $f_1, . . . , f_n $ are constant if $\\sum_{k=1}^n \\left| f_k(z) \\right|$ is constant. While studying for an exam in complex analysis, I came across this problem. Unfortunately I was not able to solve it. Any help would be greatly appreciated. Let $U ⊂ \\mathbb{C}$ be a domain and $f_1, . . . , f_n : U \\rightarrow \\mathbb{C}$ holomorphic functions, such that $\\sum_{k=1}^n \\left| f_k(z) \\right|$ is constant on $U$. Show that $f_1, . . . , f_n$ are constant.",
"Storing the original document class page layout with geometry Is it possible, using the geometry package, to store (and restore) the original layout specified by the document class (in my case, the class is report)? Here is some context. I have been editing a long document in the default page layout for the report document class. Now I found out that I need a title page. There is a particular title page layout, and in fact, it works perfectly if I just load the geometry package with its default and change just two settings. But then I want the rest of the document back in the original page layout! I can't do something like \\restoregeometry, since I think geometry just overrides the class options... i.e. there doesn't seem to be anything to restore. Similarly, it seems I can't use \\savegeometry or \\loadgeometry. So how can I get back to my original layout for the rest of the document without painstakingly hard-coding in all of the specific page layout variables? Here is a minimum working example: \\documentclass[a4paper,10pt]{report} \\RequirePackage[a4paper,dvips]{geometry} % g1 \\geometry{top=2.5cm,bottom=2.3cm} % g2 \\begin{document} \\input{the_title_page} \\SomeGeometryCommandsHere % g3 \\input{the_rest} \\end{document} If I run the above code with the lines labeled \"g\" commented out, then the title page does not have the correct page layout, but the rest of the document is formatted perfectly. If I leave lines g1 and g2 uncommented, then the title page has exactly the correct layout, but no matter what I put for g3 (e.g. \\loadgeometry, \\restoregeometry, etc.) I can't recover the original layout that I had when g1 and g2 were commented. Of course, I could completely specify the original layout exhaustively in line g3, and this should in principle work. However, I spent almost one hour on this last night and when I still couldn't get it formated correctly I decided I really needed a smarter solution.",
"Calculate the display width of a string in C#? A Java version of this question was just answered, and, well, I don't know how to do this in .net. So how do you calculate the display width of a string in C# / .net?",
"The limit of $((1+x)^{1/x} - e+ ex/2)/x^2$ as $x\\to 0$",
"What is the importance of the Diophantine inequality $\\frac{1}{p} + \\frac{1}{q} + \\frac{1}{r} > 1$? In Humphreys' book Introduction to Lie algebras and Representation Theory(3rd printing, p.62), the Diophantine inequality $$\\frac{1}{p} + \\frac{1}{q} + \\frac{1}{r} > 1$$ appeared while classifying all Coxeter graphs of irreducible root systems. Under the assumption $p \\geq q \\geq r \\geq 2 $, the possible triples turn out to be $(p,2,2), (3,3,2),(4,3,2),(5,3,2)$, which correspond to the Coxeter graph $\\text{D}_{p+2}, \\text{E}_6, \\text{E}_7, \\text{E}_8$, respectively. It seems quite straightforward to solve the inequality in positive integers, but Humphreys said that This inequality, by the way, has a long mathematical history. without further comment. So I want to know if this Diophantine inequality has any important significance, or if it has appeared in other context (maybe relevant history) before.",
"What are the main differences between performing principal component analysis (PCA) on the correlation matrix and on the covariance matrix? Do they give the same results?",
"Proof of Convergence: Babylonian Method $x_{n+1}=\\frac{1}{2}(x_n + \\frac{a}{x_n})$ a) Let $a>0$ and the sequence $x_n$ fulfills $x_1>0$ and $x_{n+1}=\\frac{1}{2}(x_n + \\frac{a}{x_n})$ for $n \\in \\mathbb N$. Show that $x_n \\rightarrow \\sqrt a$ when $n\\rightarrow \\infty$. I have done it in two ways, but I guess I'm not allowed to use the first one and the second one is incomplete. Can someone please help me? We already know $x_n \\rightarrow \\sqrt a$, so we do another step of the iteration and see that $x_{n+1} = \\sqrt a$. Using limit, $x_n \\rightarrow x, x_{n+1} \\rightarrow x$ (this is the part I think it's incomplete, don't I have to show $x_{n+1} \\rightarrow x$, how?), we have that $$x = \\frac x 2 (1 + \\frac a {x^2}) \\Rightarrow 1 = a/x^2 \\Rightarrow x = \\sqrt a$$ b) Let the sequence $x_n$ be defined as $x_{n+1}= 1 + \\frac 1 {x_n} (n \\in \\mathbb N), x_1=1$. Show that it converges and calculate its limit. "Tip: Show that sequences $x_{2n}$ and $x_{2n+1}$ monotone convergent to the limit." I didn't understand the tip, how can this help me? Does it make a difference if the number is odd or even? Thanks in advance!"
] | medi_sts_stackexchange_dupe |
What qualifies a dragon as "ancient"? | How long are the life phases of a dragon? | [
"Consolidate tag wiki excerpt and body contents with regards to suggested edits At the moment, in major part because they are two separate post objects in the system, the excerpt and the body of a tag wiki count as two separate posts with regards to suggested edits in the queue. Mechanically, this is sane, but when it comes to handling the actual queue, it can be confusing. A body edit might consist of little more than a bed of links, which looks bad. But then an excerpt is shown that includes the rest of the data, and since excerpts can be included on the actual wiki page, it makes a lot more sense when they're taken in the same space. And this is how they are composed, too. The actual edit interface for working on tag wikis has both the excerpt and the body on the same page. In a sense, the excerpt behaves a lot like the \"title\" of the wiki, if we make a parallel to normal post edits. Thus, my suggestion (which is to say a suggestion that I repossessed from Robert Cartaino) is that when suggested edits are reviewed for tag wikis, that they be presented in a single unit, treating the excerpt the same as how a title is treated in a question edit. This way, relevant information that is crossed between the two isn't lost because they are reviewed separately.",
"$(K[x,y,z]/(x^2+y^3+z^7))_{(x,y,z)}$ is a UFD.",
"Does Google use the Meta Description Tag for Description of Page? When you do a Google search, there is typically a snippet of sample content from the page. I seem to recall that the Meta Tags can influence this choice of descriptive sentences. Is that correct(?) and if so, is it the Meta Description Tag? Also, how many characters is Google's descriptive sentences limited to?",
"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?",
"Windows 10 Search not loading, showing blank window",
"If $f(x)=x-\\int^{\\frac{\\pi}{2}}_0f(x)\\sin(x)dx$ find the explicit function for $f(x)$ in its simplest form",
"How to replace plain URLs with links?",
"Find $\\lim_{n\\to\\infty}2^n\\underbrace{\\sqrt{2-\\sqrt{2+\\sqrt{2+\\dots+\\sqrt2}}}}_{n \\textrm{ square roots}}$. Find $\\displaystyle \\lim_{n\\to\\infty}2^n\\underbrace{\\sqrt{2-\\sqrt{2+\\sqrt{2+\\dots+\\sqrt2}}}}_{n \\textrm{ square roots}}$. By geometry method, I know that this is $\\pi$. But is there algebraic method to find this ? Thank you.",
"How do I design a user friendly survey with more than 150 questions? I am designing UI/UX for a survey webapp which has more than 150 questions. Right now they are using 5 radio buttons for each question. Similar to the image below: So the question is, how to make it super user friendly, easy and fun to do? Further I am looking for a solution from responsive web design perspective too. I hate designing it like the following image below but what are some other options.",
"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.",
"Some people (me) would prefer the straight GNOME experience as opposed to the Unity style desktop offered in Ubuntu 17.10. How can I get the standard GNOME desktop and interface?",
"When studying weak border conditions (in Sobolev Spaces), the usual motivation for the weak meaning of inequalities is that the boundary of most open sets in $\\mathbb{R}^n$ has zero Lebesgue measure. But is there any open set $U\\subseteq\\mathbb{R}^n$ such that it's boundary has positive Lebesgue measure? I really can't think of anything like that.",
"For a Google account, you are allowed to sync Contacts and People details. What is the difference between these two?",
"At some point in (I think) the 90s, I saw an episode of something like Outer Limits or Twilight Zone where nobody was allowed to have more than average intelligence. Smarter children had to wear headsets which inhibited them from being too intelligent, administering minor electric shocks if intellectual thought was detected. I can remember a final (or near final) scene of somebody watching his suicide and being upset but not remembering why because of the headset. Can anybody identify the show and episode?",
"Can't install wine from winehq.org on Ubuntu (actually Lubuntu) 18.04 LTS I have followed all the instructions on . In particular, I have run the following commands: sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' The first three of the above seemed to work fine. However, the last command gives me the following error: 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: winehq-stable : Depends: wine-stable (= 5.0.0~bionic) E: Unable to correct problems, you have held broken packages. I'm running Lubuntu 18.04.3 on a USB live stick. (However, if I remember correctly, a couple days ago I got the exact same error on a normal hard disk Lubuntu 18.04.3 installation.) I've read that a lot of people get similar errors. Unfortunately I haven't found any solutions online that worked. Any help would be much appreciated. Thanks! EDIT: Thanks for the comments and suggestions everyone. I'll try them out later today. In the mean time, here's something I don't understand. Ubuntu 18.04 has been around for almost two years now. In all that time, surely somebody has successfully installed wine, right? What did they do to get it working?",
"I have something like that how do I convert this to a YouTube playlist?",
"Can't login with Google using Internet Accounts",
"If $ \\langle G, \\star \\rangle $ is an abelian group, then for all $a, b \\in G$, show that $(a \\star b)^{n} = a^{n} \\star b^{n}$. If $ \\langle G, \\star \\rangle $ is an abelian group, then for all $a, b \\in G$, show that $(a \\star b)^{n} = a^{n} \\star b^{n}$. I am stuck at the first step, unable to figure out how to start. I am just beginning on group theory, and know that an abelian group obeys commutativity, associativity, has an identity element, and each element is invertible. I am unable to figure out how to apply this for the proof. Any hints on how I should get started?",
"My earliest PhD graduation date is 10 months away. Funding permits me to stay 1–3 months longer, so the final date is still uncertain. It is never too early to make contacts for possible post-docs. But how long in advance is too early to formally apply to post-doc job openings or funding opportunities? Depending on the bureaucracy, the path from applying to starting can probably be anything from a week up to a year — someone I know is applying with which had the opening advertised in August, application deadline in October, will have interviews in December/January, and the commencement of work only in September, 13 months after the initial job advertisement. My personal guess is that the long time between interviews and starting is to create a level playing field between those who do and those who don't need to go through a visa application procedure. If I'm too early in applying for a post-doc, a hosting institution might prefer someone who can start earlier and where the graduation date is more certain. For example, in my case the graduation date is still uncertain, so there is a risk in accepting even if they are willing to wait. Project funding might also require the money to be spent rather soon. If I wait too long, there might be a considerable period where I'm between jobs. Having a long (>6 months) period between jobs is a disadvantage for me. Maybe it's also a disadvantage for a hosting institution (I'm not sure). How do I find the balance? For example, considering the duration of funding and visa applications, does it make sense to apply e.g. ? Or is it in any case virtually inevitable to have at least several months before my PhD graduation and the start of a post-doc?",
"How can wifi penetrate through walls when visible light can't? I did search the question on Physics S.E considering it would be previously asked. I found this But in this question , the answers are w.r.t to or in comparison with microwaves , their absorption and certain other things. I didn't find a sort of general answer that could be the answer to the question. So the question is - wifi or radio waves reach us through concrete walls . They also reach us through the ceiling (if some one is using it in the flat above ours ). Even through the air they travel such a lot , bending around corners or doors . Now I would not compare them to microwaves (because I don't want the answer in terms of properties of the material but physics). Visible light which is so much powerful than them can't penetrate black opaque paper leave alone the walls. Same is true for gamma rays (penetration through a very thick wall). So why then radio waves being so very less powerful than light waves are able to travel through walls? There should be a general concept as to why the radio waves are able to pass through walls but microwaves or light waves cannot ! A linked question is also that sound travels much faster in solids(walls) but is not audible in it though it is in air. After reading @BillN's answer, it would be really helpful if any one could explain it in terms molecular resonance or crystalline structure or electrical conductivity or how does molecular resonance or crystalline structure or electrical conductivity cause this."
] | medi_sts_stackexchange_dupe |
Logistic regression with unbalanced sampling | Does an unbalanced sample matter when doing logistic regression? | [
"What should my Objective-C singleton look like?",
"Integration of $\\frac {1}{1+\\sin x}$ For $\\int \\frac {1}{1+\\sin x} \\mathrm{d}x$, my calculus textbook told me to multiply the integrand by $\\frac {1- \\sin x}{1- \\sin x}$ to obtain: $$ \\int \\frac{1-\\sin x}{1-\\sin^2 x} \\mathrm{d}x= \\int \\frac{1-\\sin x}{\\cos^2 x} \\mathrm{d}x$$ From here, it is a matter of breaking up the integral to two very trivial integrals, $\\int \\sec^2x \\mathrm{d}x$ and $\\int \\sec x \\tan x \\mathrm{d}x$, which are easily found via commonly known rules. My question is whether there exists a way of finding $\\int \\frac {1}{1+\\sin x} \\mathrm{d}x$ without having to perform the multiplication by $1- \\sin x$ in the numerator and denominator.",
"I have an iPhone 5 running iOS 9.1 and a Macbook Pro running Yosemite. Both devices are set up to sync photos to and from iCloud. When I take a photo on the iPhone (for further processing on the Macbook), it takes an inordinate amount of time until the photo shows up in the Macbook's photos library - sometimes up to 10-20 minutes. Sometimes it seems to work faster if I quit the Photos app on both devices, and start it again. I often end up sending myself photos through E-Mail because it's quicker. That seems ridiculous! Is there a way to force a sync on the iPhone, or to speed up the process some other way?",
"Indirectly access environment variable Given I have in a bash script ev=USER How can I get the environment variable value for $USER using ev? Tried naively doing: echo ${\"$\"$ev} which results in bad substitution. I'd expect to get back whatever the value of $USER is.",
"I was told that the following does not work: Employees having children will be granted a day off. However, this sounds better: Having children, those employees will be granted a day off. What is wrong with the first clause?",
"PHP: Return all dates between two dates in an array",
"If photons have no mass, how can they have momentum?",
"Prove that the multiplicative inverse of $a$ modulo $m$ exists if and only if $a$ and $m$ are coprime. Can someone help me with this?",
"Does gravity affects on electrons in a noticeable way? Is there a way to force a free electron move in a low speed in order to observe it actually hitting 'on the floor'?",
"How to prove that the sum and product of two algebraic numbers is algebraic? Suppose $E/F$ is a field extension and $\\alpha, \\beta \\in E$ are algebraic over $F$. Then it is not too hard to see that when $\\alpha$ is nonzero, $1/\\alpha$ is also algebraic. If $a_0 + a_1\\alpha + \\cdots + a_n \\alpha^n = 0$, then dividing by $\\alpha^{n}$ gives $$a_0\\frac{1}{\\alpha^n} + a_1\\frac{1}{\\alpha^{n-1}} + \\cdots + a_n = 0.$$ Is there a similar elementary way to show that $\\alpha + \\beta$ and $\\alpha \\beta$ are also algebraic (i.e. finding an explicit formula for a polynomial that has $\\alpha + \\beta$ or $\\alpha\\beta$ as its root)? The only proof I know for this fact is the one where you show that $F(\\alpha, \\beta) / F$ is a finite field extension and thus an algebraic extension.",
"Is there any way to hide your Steam status from others? Is there any way to prevent others from seeing your Steam status without removing them as a friend? Let's say I want to play Borderlands 2 without letting some friends know. Is there any way to hide my status to prevent them from knowing I'm playing it? Basically, what I'm asking if Steam has an \"Appear Offline\" option.",
"Closed form for the sequence defined by $a_0=1$ and $a_{n+1} = a_n + a_n^{-1}$",
"In linear regression, when is it appropriate to use the log of an independent variable instead of the actual values? Am I looking for a better behaved distribution for the independent variable in question, or to reduce the effect of outliers, or something else?",
"Java socket/serialization, object won't update",
"Can bosons that are composed of several fermions occupy the same state? It is generally assumed that there is no limit on how many bosons are allowed to occupy the same quantum mechanical state. However, almost every boson encountered in every-day physics is not a fundamental particle (with the photon being the most prominent exception). They are instead composed of a number of fermions, which can not occupy the same state. Is it possible for more than one of these composite bosons to be in the same state even though their constituents are not allowed to be in the same state? If the answer is \"yes\", how does this not contradict the more fundamental viewpoint considering fermions?",
"Let $(X, d(x,y))$ be a complete metric space. Prove that if $A\\subseteq X$ is a closed set, then $A$ is also complete. My attempt: I tried to prove that every Cauchy sequence $(b_n)$ of points of $A$ converges to a point $b\\in A$. However could not figure out the exit way. Maybe I am on the wrong track. Could you please help me? edit: More from my attempt: Suppose $A$ is a closed set and let $(x_n)$ be a sequence of points $A$ such that $\\lim_n x_n\\to b$. Suppose now that $A$ has the property that $b\\in A$, whenever $x_n$ converges to $b$. We know that every element of $x_n$ which is convergent in $X$ also converges to a point in $A$. Since $x_n$ is a Cauchy sequence in $A$, it must converge to a point $y\\in A$. But the limit of a convergent sequence is unique. Take $x\\in A$ and select an appropriate $n$, which enables $x_n$ to converge to a point $x$ in $X$. Since the limit is unique, it must follow that $x=y$. Thus $x\\in A$ and $A$ is closed. If $A$ is a closed subset of $X$, then any Cauchy sequence of a point in $A$ is convergent in $X$ and hence converges to a point in $A$. Thus $A$ is complete.",
"What is the difference between read() and fread()?",
"What is the best symbol to use for the d'Alembertian? Normally, most people use the symbol $\\Box$ to represent the (including the linked to Wikipedia page). Recently I wanted to use \\hat\\Box and \\tilde\\Box, but they do not render very well. What is the \"best\" way to create such symbols? Aside: The above image is rendered using my local install of pdflatex: pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian). The symbols seem to render fine on some online services: e.g. \"\" produces from \\begin{align*} \\Box &= \\sum_a \\partial^a\\partial_a \\,, & \\hat\\Box &= \\sum_a \\mathcal{D}^a\\mathcal{D}_a \\end{align*}",
"How to partition a list in a specific way",
"Install ffmpeg in Ubuntu 12.04 LTS Background : I used ffmpeg to merge two videos side by side. First I install ffmpeg by following command as it suggest by Ubuntu itself. sudo apt-get install libav-tools or sudo apt-get install ffmpeg But then I realize it is not the correct version since it doesn't support for -filter_complex and few other functions. After a few hours researcher I found and I succeed with video conversion as well. As per that article, it is suggesting we need to build it our own. Question : What is easiest way to install that ffmpeg version (which is support for -filter_complex ) without following all those steps ?"
] | medi_sts_stackexchange_dupe |
PHP mail() fails to send mail to same domain name as server | can't send email to addresses at my own domain | [
"In terms of UX what do you guys think is the best approach when integrating a trial period for subscriptions? My application offers a 15 day trial, at the minute the user can sign up without providing any payment information (Paypal Subscription). The account is then set to trial status and after 15 days the user will be redirected to an upgrade page. Do you think this is the best approach? I am unsure whether or not to let Paypal manage the trial, this however means that the user will need to go through the Paypal payment system during signup. I think this may put some people off signing up. On the other hand this approach may increase the number of conversions to a full account.",
"Should you use \"who\" or \"that\" when talking about multiple people doing something? Which of the following is correct? There were 10 people that went to the store. There were 10 people who went to the store. Edit: Which of the following is correct? There were 10 people that had brown hair. There were 10 people who had brown hair.",
"CAST and IsNumeric Why would the following query return \"Error converting data type varchar to bigint\"? Doesn't IsNumeric make the CAST safe? I've tried every numeric datatype in the cast and get the same \"Error converting...\" error. I don't believe the size of the resulting number is a problem because overflow is a different error. The interesting thing is, in management studio, the results actually show up in the results pane for a split second before the error comes back. SELECT CAST(myVarcharColumn AS bigint) FROM myTable WHERE IsNumeric(myVarcharColumn) = 1 AND myVarcharColumn IS NOT NULL GROUP BY myVarcharColumn Any thoughts?",
"If $p\\in\\Bbb Z[X]$ show that: $ \\max\\limits_{x\\in [0,1]}\\left|p(x) \\right| > \\frac{1}{e^{n}}. $ This is problem 10 from the International Mathematical Competition for University Students of 2015, from day 2, in Bulgaria. I think it is an interesting problem! Let $n$ be a positive integer, and $p(x)$ be a polynomial of degree $n$ with integer coefficients. Prove that $$ \\max_{x\\in [0,1]}\\left|p(x) \\right| > \\frac{1}{e^{n}}. $$ Proposed by Géza Kós, Eötvös University, Budapest.",
"Solve Euler Project #9 only mathematically - Pythagorean triplet The \"Euler Project\" problem 9 () asks to solve: $a^2$ + $b^2$ = $c^2$ a + b + c = 1000 I find answers solving it with brute-force and programmatically, but is there a way to solve the problem ONLY mathematically? Can someone help, please? Problem as explained in Project Euler website: A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc.",
"Now that the , I've been seeing tag-only suggested edits from 1500-rep users. For example, one had the summary of 'burninating [tagThatWasRemoved]'. It's very tempting to reject these as Too Minor, but I know that these users used to have a Retag privilege (and are obviously trying to participate in a burnination.) What should we do for tag-only edits from high(er) rep users?",
"This is a generic inquiry on the common practice/standard for determining the acceptable values of RMS when georeferencing topographic maps. Is there an absolute value? Some literature suggests that it should be \"less than or equal to 1/2 of the side of a cell which make up the total resolution of the image.\"",
"markdown doesn't work properly",
"Is $[0,1]$ a countable disjoint union of closed sets?",
"Executing SSIS 2012 package that has script components from external application",
"OS keyboard shortcuts conflict with apps keyboard shortcuts in GNOME 3",
"Is gravitational time dilation different from other forms of time dilation? Is gravitational time dilation caused by gravity, or is it an effect of the inertial force caused by gravity? Is gravitational time dilation fundamentally different from time dilation due to acceleration, are they the same but examples of different configurations? Could you recreate the same kind of time dilation without gravity using centrifugal force?",
"Conventional parenting wisdom tells us to drive the fear of talking to strangers into our kids. Is this at all harmful though? Is there any adverse impact to a child's social development by doing this? How can you balance safety against fear?",
"Instantiate a class with or without parentheses?",
"Quickest way to rename files, without retyping directory path",
"I have a land cover classification derived from Landsat TM imagery - I created this classification using ENVI. I would like to edit individual and groups of cells in some areas of the classification in order to improve the accuracy of the output by comparing it with aerial imagery. Is there a way, using ArcGIS Desktop, to manually edit large groups of cells by selecting them and assigning them to a new or existing class? I am aware of merging methods based on class statistics, but the area I'm classifying has a high amount of spectral confusion due to thin cloud cover - it seems like a manual edit is the only way to go.",
"Why, microscopically, is the voltage drop across a resistor affected by the current through it? If voltage is a potential difference, describing how much energy will be lost per unit charge as charge carriers pass through the resistor, why would the rate at which charge flows (i.e. current, $=dq/dt$) affect the amount of energy lost per unit charge? I suppose I am asking why a quasi-\"extensive\" property of the system (current) would affect a quasi-\"intensive\" property of the system (voltage drop across the resistor). Apologies if the answer is obvious; I was having trouble understanding why the rate of charge flow would factor into voltage drop whilst trying to rationalize Ohm's law for myself.",
"How do I add a launcher for .sh applications? I have installed ubuntu (11.04). I installed phpstorm which is simply an archive for you to extract and shove in your /opt directory. To run it you would use /opt/PhpStorm-103.243/bin/PhpStorm.sh In unity I had created a launcher on my desktop. Now I have installed gnome-3(gnome-shell), And I have nothing in my desktop. So how do I run phpstorm quickly? Can I get it to show up in \"applications\"?",
"I tried to write , but I couldn't find any simple explanation page to link to. I ended up garbling a home-spun description of my own with a not-terribly-helpful image from 2012. This puts it better than I can: As a new user in 2015 can there please be more information about what is WinterBash. The link took me to a bunch of stick figures running around making (I think) numbers (I think its a countdown clock). It doesn't explain the event or even what a hat is. – Ian Miller Dec 4 at 2:58 All I found on Meta was dead links. For example, was downvoted to -2 and answered with a link to an FAQ page that no longer exists.",
"How to hide TabPage from TabControl"
] | medi_sts_stackexchange_dupe |
Is there any certain chronological order of all of Isaac Asimov's series, novels and short stories that Isaac Asimov himself specified? | What order should Asimov's Foundation series be read in? | [
"Why is filling a balloon from your mouth much harder initially? Why is it that when you first fill up a balloon, it's hard to get air through, but after inflating it a bit, it becomes much easier to further inflate the balloon?",
"I’m going to Germany for a semester exchange and I have a long-stay visa from Germany. Can I travel to the other Schengen states during this period with this visa or do I have to apply for a separate short stay Schengen visa? My visa is German national visa type D. It is for a duration of 4 months, i.e., longer than 90 days. It says on the visa that the long stay visa is valid in Deutschland, which is different from my earlier visa, which I had when I visited Germany earlier; that one was a short stay visa and said it was valid in Schengen Staten. Perhaps my current visa means that I can stay in Germany for a period of longer that 90 days can visit the other Schengen states if I don’t exceed the 90 day period.",
"Old phone cannot connect to computer, the \"computer connection\" icon appears on phone I would like to get some pictures and audio out of an AT&T SGH-a687 phone onto my Mac computer. I first tried connecting it to a New PC Studio on a PC, but there was a problem after transfer 2 photos, so I tried again. But the PC could no longer detect the phone, even though the \"connected to computer\" icon appears on the phone. I tried a different cable, different USB ports. No use. So I downloaded the Samsung Kies on my Mac. Same thing, it tries to search for the phone once I connect the phone, but the computer doesn't detect anything. The phone still shows the \"connected to computer\" icon. There is also Bluetooth (no internet on the phone) on the phone, but it failed to send the picture each time I tried. What can I do at this point? Please also suggest data extraction software for either Mac or PC, if that's the easier route.",
"$x^y = y^x$ for integers $x$ and $y$",
"How do I evaluate these fork() calls with the && and || operators in C?",
"Brand new laptop, two years in storage, will the battery be ok? I have an opportunity to buy a brand new (sealed box) EliteBook 8470p laptop for a good price. The date of manufacture goes back to around March 2013, which is bang on two years ago. Given that it's been two years, what state will the supplied Lithium-Ion battery be in? Still usable?",
"I tried to install WPS Office on my laptop (ubuntu 16.10 Gnome, 64 bit) with Gdebi installer but it said Dependency is not satisfiable: libpng12-0 Then I tried to open this library as follows sudo apt-get install libpng12-0 But I encountered an error: Reading package lists... Done Building dependency tree Reading state information... Done Package libpng12-0 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 'libpng12-0' has no installation candidate Can anyone help? Thanks a lot",
"What is \"summoning sickness\" and how does it affect my creatures? Note: this is intended to be a canonical question about summoning sickness. \"Summoning sickness\", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects? For example, if I'm trying to figure out how a creature is affected: Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost? (These examples are primarily taken from questions about summoning sickness that have already been asked on the site)",
"How do you implement Coroutines in C++",
"What can cause \"Discovered - currently not indexed\" in the new GWT",
"Prove that $A^*A + I$ is invertible Let $A$ be an $m\\times n$ matrix. Prove that $A^*A + I$ is invertible. I'm not sure what to do because everything I try ends up at $A^*A$ again and not $AA^*$.",
"Display Blank when Referencing Blank Cell in Excel 2010",
"Use of Website Category Landing Pages OK, here's the situation: A reasonably simple website with a primary navigation menu including drop-down list of sublevels on hover. Each navigation level may have 3 - 6 sublevels below it, none more important than the other. For example see this mockup: My question is: What should happen if the user Clicks on one of the primary navigation options (such as 'News') instead of just hovering over and choosing a sublevel? My instinct tells me that I should allow a click of this navigation option; it's expected user behavior to be able to click navigation options. If clicked then a landing page of some sort will be present listing all the sublevels (latest news, blog posts, case studies'). However there is no content to add to this landing page other than presenting a list of links, which is pretty useless. I could pad it out by adding iconography and descriptions of the sublevels, but that's just content for the sake of it; does 'Latest News' really need a description in order to understand what it is? If I don't include a landing page then clicking this primary navigation will have to open something but if I open the 'Latest News' page that risks the user not knowing about the other sections of the site. (The landing page will be useful for breadcrumb navigation too, so I don't really want to do away with it). Is my thinking that a landing page showing the list of sublevels actually useful even though there is no actual content to display, or is there a better alternative to go with?",
"How to extract BibTeX entries (as DOI, abstract, etc.) I want to automate personal reading notes generation, I'd like to be able to automatically extract a field's content from a BibTeX entry (other than year or author). E.g. given a BibTeX entry @article{einstein05, author={Albert Einstein}, title={Zur Elektrodynamik bewegter K{\\\"o}rper}, abstract={Interesting article, which claims that time is relative.}, journal={Annalen der Physik und Chemie}, volume={17}, year={1905}, pages={891--921} } I want to have a macro in my TeX file (e.g. \\citeabstract) that will return the string Interesting article, which claims that time is relative. (the same for DOI, etc.) I've found the \\printfield command that might help me, but I'm not smart enough to know how to use it. I don't know if it has any influence on the answer, but I'm using BibLaTeX+BibTeX.",
"How to prevent page breaking for lstinputlistings?",
"I have created some search entries in Google Chrome using 'Edit search engines'. How can I share some of these entries with my colleagues?",
"'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all? When I'm doing something that requires root be typed in dozens of times in a row, I prefer to switch my session to a root session. In the various tutorials and instructions I have used on the Internet, I see sudo su, sudo su -, sudo -i and sudo /bin/bash being used to open a root session, but I'm not clear on the difference between these and when or if that difference matters. Can someone clear this up for me?",
"Factorial Inequality problem $\\left(\\frac n2\\right)^n > n! > \\left(\\frac n3\\right)^n$",
"Is there a test to determine whether solder is leaded or lead-free? Perhaps conductivity/resistance?",
"Custom Tools not Saving in Toolbar on Startup/ Normal.mxt? I am trying to save some tools that I have created into the default toolbar layout that is present when ArcMap 10.1 is launched. It is possible to change the arrangement of toolbars, add new ones and even add in existing tools, but any custom tools I set in the commands category \"geoprocessing tools\" are gone and do not appear in the toolbar. How can I save these custom tools to the default layout that appears on startup? Update: Saving a document with the custom tools added and reopening it preserves the tools, but opening a template (10.1 mxd) containing the tools, then opening and older document will cause the tools to disappear. Oddly enough, any other changes made after the custom tools were added are preseved. Update (03/18/2014): I have upgraded to 10.2 and this has still not been fixed. I did not see this issue in the 10.21 changelog so I doubt it will address it. For those interested in this issue, I have started a forum post on the ESRI forums ."
] | medi_sts_stackexchange_dupe |
Python Variable Character Split | Is there a function in python to split a word into a list? | [
"'Guest' vs 'Guest User License' in sites?",
"I would like to make a sum of all dropdown values into a label text box. I am using following formula, but I do not understand where am I going wrong. Can anyone assist? I have also added a screenshot if that helps anyhow. Note: scores is the table name the dropdown values feed from. Sum(scores, Dropdown3.Selected.Value + Dropdown3_1.Selected.Value + Dropdown3_2.Selected.Value)",
"What is \"%AppData%\"?",
"Casting two cantrips, both modified by metamagic? Can you cast one cantrip, modifying it with \"Twinned Spell\" (Fire Bolt) to target 2 creatures, and then cast another cantrip as a Bonus Action (Fire Bolt), using \"Quickened Spell\" to target one of the previous creatures or another creature?",
"What is strain? Why does DNA coil upon itself? I have been reading Lehninger's Principles of Biochemistry to understand DNA supercoiling (pg-). Supercoiling is the twisting of a DNA upon itself and this happens when the two helically wound strands of DNA are either underwound or overwound. The book says that this act of underwinding or overwinding generates a structural strain which is then accommodated by coiling of the DNA upon itself (supercoiling). Here the word strain has been used in the way stress of mechanical physics would be used. I wonder if it means stress. Besides I would like to know how underwinding or overwinding cause the DNA to coil upon itself. Excerpts from the book: DNA supercoiling is generally a manifestation of structural strain. Most DNA are negatively supercoiled (which means that the supercoiling is left handed). In almost every instance, the strain is a result of underwinding of DNA double helix. Supercoiling is not a random process; the path of the supercoiling is largely prescribed by the torsional strain imparted to the DNA.... Torsional strain, again is it talking about ? P.S. The description of the question has been changed recently.",
"Java Reflection Performance Does creating an object using reflection rather than calling the class constructor result in any significant performance differences?",
"How to find the build / version of Windows 10 During the beta of Windows 10 it was hard know what version you were running unless it had it posted to the desktop. Once that wasn't there - how do you tell what version / build you are running? This will become more of an issue as Microsoft starts releasing more builds with the new update mechanism.",
"SharePoint 2013 Jan 2016 Updates Is anyone here experience problems in SharePoint after installing the latest JAN 2016 on 13th Jan 2016 (Western Australian Time) updates for SharePoint 2013. I am guessing it could be KB3114503 update giving me problems. I am getting the same problem on other machines after running the same updates too. The problem I am receiving is, on every list view I get this error message below: TypeError: Unable to get property 'replace' of undefined or null reference TypeError: Unable to get property 'replace' of undefined or null referenceSys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null. Parameter name: element",
"Suppose $f$ is a differentiable function over $\\mathbb{R}$ satisfying $f(0) = 0$. Show that if $f'$ is strictly increasing, then $\\frac{f(x)}{x}$ is increasing over $(0,\\infty)$. Attempt: Since $f'$ is increasing we know that $f'' > 0$ for all $x$. Now let $g(x) = \\frac{f(x)}{x}$ and thus $f(x) = xg(x)$. Then we wish to show that $g'(x) > 0$ on $(0,\\infty)$ and so since $f'(x) = xg'(x)+g(x)$ and $f''(x) = xg''(x)+2g'(x) > 0$, we have $g''(x) > \\frac{-2g'(x)}{x}$. I am not sure how to use this though to prove the statement.",
"How do I tell if matrices are similar?",
"Why does Javascript getYear() return 108? Why does this javascript return 108 instead of 2008? it gets the day and month correct but not the year? myDate = new Date(); year = myDate.getYear(); year = 108?",
"Given a file L with one non-negative integer per line and text file F, what would be a fast way to keep only those lines in F, whose line number appears in file L? Example: $ cat L.txt 1 3 $ cat F.txt Hello World Hallo Welt Hola mundo $ command-in-question -x L.txt F.txt Hello World Hola mundo I'm looking for a command that can handle a file L with 500 million or more entries; file L is sorted numerically. Note: I'm halfway through an implementation for a command-in-question but I just wondered, whether one might be able to use some Unix tools here as well. Update: Thank for all the answers, I learned a lot today! I would like to accept more one answer, but that's not possible.",
"Fixed page header overlaps in-page anchors",
"What does this notation mean? $f(x) \\equiv A$? If $\\lim_{x\\rightarrow\\infty}f(x) = A$, prove that $f(x)\\equiv A$. Any help would be appreciated! I just don't even understand the question.",
"Application of Complex Numbers I was just wondering how complex numbers can be applied in electrical engineering and why we use complex numbers over regular, real numbers for this application (e.g what capabilities does the complex number have that real numbers do not in electrical engineering)? I have done some research concerning impedances and understand how they are written in complex form, however I am still confused why complex numbers are necessary in this field over regular numbers.",
"Windows Spotlight Source and Save locations? Where are the images from coming from? Where are they being saved on my system? Is there any way for me to point this at my own source of images?",
"Is there a way to test an application where you simulate a hundred different clients connecting to a IIS server and asking the same data? At the customer where our project is running they have 400 computers and they often do stress tests with all computers. I on the other hand have only got my laptop... (and a development server). (In my case the data is asked through a WebORB Gateway).",
"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!",
"Extracting extension from filename in Python Is there a function to extract the extension from a filename?",
"Code working in jsFiddle but not in browser"
] | medi_sts_stackexchange_dupe |
South African on a charity visa in the UK. I need a Schengen visa. What would be the easiest to get the visa? | What's the quickest Schengen consulate to issue a visa in London? | [
"How to be granted root rights while browsing files/directories with Nautilus I'd like to know if there a way to be granted root rights while using Nautilus 2.30 ? For example I'd like to move some old folders of long unused users from the home directory - remains of previous distros (Debian). Of course I can open a terminal, but I want to know if it is possible to do that with a mouse in Nautilus.",
"Data Not Backed Up, Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF I was trying to install Linux on my MacBook for class when I bricked my computer, which now in an unbootable state. I made my partition too small, so I was going to delete and create a larger one. However, Disk Utility did not allow me to delete the small partition. I followed the instructions from However, not only was I still unable to delete it, but upon restarting I realized my primary partition (located on the same disk) changed into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF, and I had no options to boot. (I am sure I performed the command on the correct disk and partition) I saw some similar threads, but my main bootable drive is the one that got corrupt. I don't want to lose any data. I'm not the most terminal savvy, so ANY help is appreciated, and I will kindly provide any additional information! (Disk 0, partition 2 is my main partition, and that only one I care about) Below are the results of $ diskutil list and $ gpt -r show disk0. UPDATE: : I have followed @klanomath 's instructions. At the last step I received the following error: Checking prerequisites Checking the partition list Checking for an EFI system partition Checking the EFI system partition's size Checking the EFI system partition's file system Problems were found with the partition map which might prevent booting Error: -69766: The partition map needs to be repaired because there's a problem with the EFI system partition's file system Underlying error: 8: POSIX reports: Exec format error FINAL UPDATE: SUCCESS! I just wanted thank @klanomath for helping me through this entire process. He spent 11 hours TeamViewing with me until not only my files were accessible, but until I could access my computer as could before this whole debacle (and this was after 5 hours of email correspondence). To any future reader with this problem: PLEASE don't give up, it can be fixed!",
"Our high-school teacher told us that the Earth pulls us with some force $F$ and we pull the Earth with the same force $F$. Within Newtonian physics this is true because of , but let’s consider . My mass is small; so I don’t warp space-time much. But Earth’s large mass warps space-time to a far greater extent. So do I pull Earth with the same force it pulls me? If yes, how?",
"describes the first-order vs. second-order logic as follows: First-order logic uses only variables that range over individuals (elements of the domain of discourse); second-order logic has these variables as well as additional variables that range over sets of individuals. It gives $\\forall P\\,\\forall x (x \\in P \\lor x \\notin P)$ as an SO-logic formula, which makes perfect sense to me. However, in a , the poster claimed that $\\forall x\\forall y(x=y\\leftrightarrow\\forall z(z\\in x\\leftrightarrow z\\in y))$ is an FO formula. I think this must not be the case, since in the above formula, $x$ and $y$ are sets of individuals, while $z$ is an individual (and therefore this must be an SO formula). I mentioned this as a comment, but two users commented that ZF can be entirely described by FO logic, and therefore $\\forall x\\forall y(x=y\\leftrightarrow\\forall z(z\\in x\\leftrightarrow z\\in y))$ is an FO formula. I'm confused. Could someone explain this please?",
"Difference between pts and tty",
"If I chose \"Replace Windows with Ubuntu\", do I lose the other partition too? I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose \"Replace Windows 8 with Ubuntu\", do I lose the other partition too? And are there other ways to leave the other partition as it is, and install ubuntu in the partition where windows was installed.",
"How and why do normalization and feature scaling work? I see that lots of machine learning algorithms work better with mean cancellation and covariance equalization. For example, Neural Networks tend to converge faster, and K-Means generally gives better clustering with pre-processed features. I do not see the intuition behind these pre-processing steps lead to improved performance. Can someone explain this me?",
"Question Let $X_n\\geq 0$ be independent for $n\\geq 1$. The following are equivalent. $\\sum_{n=1}^\\infty X_n<\\infty$ a.s. $\\sum_{n=1}^\\infty[P(X_n>1)+E(X_nI(X_n\\leq 1)]<\\infty$ $\\sum_{n=1}^\\infty E(X_n/(1+X_n))<\\infty$ My attempt I was able to prove $(1)$ implies $(2)$ and $(2)$ implies $(3)$ but not $(3)$ implies $(1)$. For $(1)$ implies $(2)$, observe that by Borel-Cantelli $\\sum_{n=1}^\\infty P(X_n>1)<\\infty$, else $X_n>1$ infinitely often w.p.1 so that $(1)$ is violated. To see that $\\sum_{n=1}^\\infty E(X_nI(X_n\\leq 1)]<\\infty$, apply Kolmogorov three-series theorem (I think). For $(2)$ implies $(3)$ we can write that $$ \\begin{align} \\frac{X_n}{1+X_n}& =\\frac{X_n}{1+X_n}I(X_n\\leq 1)+\\frac{X_n}{1+X_n}I(X_n>1)\\\\ &\\leq X_nI(X_n\\leq 1)+ I(X_n>1). \\end{align} $$ Now take the expectation of both sides and sum on $n$ using $(2)$ to conclude $(3)$. For the last implication $(3)$ implies $(1)$, I tried to use Kolmogorov three series theorem. To this end put $Y_n=X_nI(X_n\\leq 1)$. First note that $\\sum_{n=1}^\\infty P(X_n>1)<\\infty$ since $$ P(X_n>1)\\leq P\\left(\\frac{X_n}{1+X_n}>\\frac{1}{2}\\right)\\leq 2E\\frac{X_n}{1+X_n} $$ by Markov's inequality. But I am unable to show that $\\sum EY_n<\\infty$ and $\\sum\\text{Var}(Y_n)<\\infty$. Any help is appreciated.",
"Deferring admission to a computer science graduate program",
"How do I integrate the Poisson equation to determine the electric potential along a particular direction (e.g., $z$)? This question is a sequel of sorts to my about . In the paper, the authors performed molecular dynamics (MD) simulations of parallel-plate supercapacitors, in which liquid resides between the parallel-plate electrodes. The system has a \"slab\" geometry, so the authors are only interested in variations of the liquid structure along the $z$ direction. In my previous question, I asked about how particle number density is computed. In this question, I would like to ask about how the electric potential is computed, given the charge density distribution. Recall that in CGS (Gaussian) units, the Poisson equation is $$\\nabla^2 \\Phi = -4\\pi \\rho$$ where $\\Phi$ is the electric potential and $\\rho$ is the charge density. So the charge density $\\rho$ is proportional to the Laplacian of the potential. Now suppose I want to find the potential $\\Phi(z)$ along $z$, by integrating the Poisson equation. How can I do this? In the paper, on page 254, the authors write down the average charge density $\\bar{\\rho}_{\\alpha}(z)$ at $z$: $$\\bar{\\rho}_{\\alpha}(z) = A_0^{-1} \\int_{-x_0}^{x_0} \\int_{-y_0}^{y_0} dx^{\\prime} \\; dy^{\\prime} \\; \\rho_{\\alpha}(x^{\\prime}, y^{\\prime}, z)$$ where $\\rho_{\\alpha}(x, y, z)$ is the local charge density arising from the atomic charge distribution of ionic species $\\alpha$, $\\bar{\\rho}_{\\alpha}(z)$ is the average charge density at $z$ obtained by averaging $\\rho_{\\alpha}(x, y, z)$ over $x$ and $y$, and $\\sum_{\\alpha}$ denotes sum over ionic species. The authors then integrate the Poisson equation to obtain $\\Phi(z)$: $$\\Phi(z) = -4\\pi \\sum_{\\alpha} \\int_{-z_0}^z (z - z^{\\prime}) \\bar{\\rho}_{\\alpha}(z^{\\prime}) \\; dz^{\\prime} \\; \\; \\; \\; \\textbf{(eq. 2)}$$ My question is, how do I \"integrate the Poisson equation\" to obtain equation (2)? How do I go from $\\nabla^2 \\Phi = -4\\pi \\rho$ to equation (2)? In paricular, where does the $(z - z^{\\prime})$ factor come from? Thanks for your time.",
"How to monitor disk activity? How do I view my Disk Activity on Ubuntu? For example, How can I monitor what is being written and read from disk as well as the percentage of disk usage? I am looking for an application similar to the Resource Monitor in Windows.",
"X,Y,Z missing in F3",
"Straighten Vertices Along a Line On a line, I need to line up the bottom vertex points in relation to a top reference vertex point. How could I reset the X Y and Z coordinates of these vertex points to essentially line them up all through use of the vector of the reference point vertex. I do not have access to Mesh -> Transform -> Scale on Axis for aligning vertices along a line.",
"Column line overshooting the horizontal line in table \\begin{tabular}{|m{3.5cm}|m{5.5cm}|m{4.5cm}|} \\hline \\emph{Category of Benefits} & \\emph{General Benefit} & \\emph{Operational Advantages} \\\\ \\hline \\multirow{3}{*}{\\pbox{3.5cm}{Robust operational performance}} & \\multirow{3}{*}{\\pbox{5.5cm}{One sensor can contribute information while other are unavailable, denied(jammed), or lack coverage of a target or event}} & -Allows continued operation despite jamming \\\\ & & -Graceful degradation \\\\ & & -Increased probability of detection \\\\ \\hline \\multirow{2}{*}{\\pbox{3.5cm}{Extended spatial coverage}} & \\multirow{2}{*}{\\pbox{5.5cm}{One sensor can look where another cannot}} & -Increased survivability \\\\ & & -Probability of detection increased \\\\ \\hline \\label{tab1.1} \\end{tabular} For the LateX code mentioned above the table which comes looks like this ![enter image description here][1] In the resulting table, column 1 vertical line overshoots the last horizontal line. What is the problem?",
"\"Distribution not supported\" when trying to install Intel Graphics Installer in Ubuntu",
"I've upgraded from 4.4.0 to 4.4.8 and then 4.5.2 on Ubuntu 16.04 LTS 64-bit, and it's still happening. At 4.5.2 it's even more frequent, and mainly in Chrome (haven't tried firefox or opera just yet). Every time I open a new web page. Any way to fix that, or is it a bug? 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev 81) Cheers.",
"\"Thus\" vs. \"so\" in formal English",
"su command + authentication failure I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure. So I checked on the internet and then went into recovery mode and changed my username's password to what I was entering before. Even now entering the same password on su gives me authentication failure. Please suggest what am I doing wrong??",
"X forwarding from Ubuntu Server Ed to Windows 7 The Goal: I would like to open a program from my ubuntu server in my windows 7 desktop. Steps Taken: Putty > SSH > X11 check 'enable port forwarding' I have started VNC Viewer in listening mode started putty ssh session apt get install xinit startx & geany (it's a c language ide; it uses the GUI so I\"m using it to test x forwarding) Error Messages: geany returns \"cannot open display\" startx returns \"setversion 1.4 failed\" I'm working on Windows 7 and headless Ubuntu Server 12.04 LTS Obviously I forgot something, but I'm having difficulty figuring out what. The goal is to not use sudo apt get install desktop, since I only want to use one program at a time, and anyway my server isn't hooked up to a monitor. Any ideas? Questions? Thanks for your help! Curios",
"Use parameter expansion to modify output of another expansion 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 "bad substitution" 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?"
] | medi_sts_stackexchange_dupe |
What is a good alternative to Remastersys/UB/UCK? | What are the Alternatives For RemasterSys? | [
"Creating checkbox parameter in Python script tool for ArcGIS Desktop? I am working on creating an ArcGIS tool from a Python script I am writing. I am wondering if it is possible to have a checkbox parameter. I want to have a parameter where the user selects a feature class, then from the feature class the user will choose the field for the upper most layer in their model, then I want the user to be able to choose what layers they want the script to run on with a checkbox structure derived from the upper most layer field. Is this possible with python, and ArcGIS Desktop?",
"How come Mortarboard is bronze and Enthusiast is silver? : Silver Enthusiast Visited the site each day for 30 consecutive days 56.9k awarded Bronze Mortarboard Earned at least 200 reputation in a single day 15.4k awarded It would seem that earning Enthusiast requires almost no effort while Mortarboard is highly non-trivial. This appears to be reflected in the award count (almost 4:1 in favor of enthusiasts). So, why is the first one silver and the second one bronze? (A similar question can be asked about Epic vs Fanatic and probably many other).",
"Question Staging SE Been a few blogs on , and I get the point. However, would a staging SE help solve some of these issues like community overlap. I understand , but how can someone not yet a part of a community know to do so. Some of the point of SO is that you often don't know what to ask exactly, and we help clear that up. So, I wonder, rather than "playing hot potato" would it be useful to have a site that's simply for temporarily holding questions and such. It would be the alternative to migrating to another site where you dump all responsibility on that site. This area, all communities are responsible for. It would be a good place to ask a question if you don't know where to ask. The blog I linked talks about phrasing to a specific audience. For someone that doesn't know, the audience is better at selecting which questions are directed at them. As SE grows, the amount of communities will mean more overlap. Right now it may be reasonable to expect people to be able to predict the best community, but will it always be that way? Some restrictions: It would be accessible by all communities. The question could be edited, but not answered. The question could be exposed to more easily tracked/understood/etc. automated janitorial work. Just a helpful thought.",
"Few days back while attending a thesis defense, one Professor was asking the defender why does he think, he deserves the degree. I was wondering since then, is there really any general answer for that? or the answer should be given describing my own work and then emphasis them how it is important for research field? I asked the question here to know your opinion about it and to list down what could be the possible answers to this question.",
"At the end of . the author states that Suppose we have $n \\times n$ matrix $A$ having only positive elements and satisfying the property $a_{ij}=1/a_{ji}$ (a matrix satisfying this property is called a reciprocal matrix). If its largest eigenvalue $\\lambda_{max}$ is equal to $n$, then the matrix $A$ satisfies the property (consistency property) $a_{ij} a_{jk} = a_{ik}$ where $i,j,k=1,2,...,n$. I'm not convinced this theorem is true. Could anyone help?",
"Creating label in QGIS? I am using QGIS 2.18.16 on Windows 10. What I want is a label to appear within the boundaries of a polygon. I select a layer, then select command Layer>Labelling, and I get: From here, I can change \"No Labels\" to \"Show labels for this layer\". But I can't actually create label text. I find a clue in a prior question: “Labelling polygon using QGIS?” The answer was: The layer you are trying to label must have at least one attribute field populated with data. You can then turn on labelling in Layer Properties and select which attribute field to use for your labels. I can enter command Layer>Open Attribute Table, and what I get is: If I need something in the attribute table in order to apply a label, how do I accomplish that?",
"How to prove or disprove following statement : There are infinitely many primes of the form : $\\lfloor \\sqrt {3} \\cdot n \\rfloor $ Note: This is a problem I made myself. There is a theorem that states : $\\lfloor nx \\rfloor = \\begin{cases} n\\lfloor x \\rfloor, & \\text{if } 0 \\leq \\{x\\} < \\frac{1}{n} \\\\ n\\lfloor x \\rfloor +1, & \\text{if } \\frac{1}{n} \\leq \\{x\\} < \\frac{2}{n} \\\\ n\\lfloor x \\rfloor +2, & \\text{if } \\frac{2}{n} \\leq \\{x\\} < \\frac{3}{n} \\\\ \\vdots \\\\ n\\lfloor x \\rfloor +n-1, & \\text{if } \\frac{n-1}{n} \\leq \\{x\\} < 1 \\\\ \\end{cases}$ where $\\{x\\}$ is a non-integer part of $x$ . Hence : $\\lfloor \\sqrt{3}\\cdot n \\rfloor = \\begin{cases} n, & \\text{if } 0 \\leq \\sqrt{3}-1 < \\frac{1}{n} \\\\ n +1, & \\text{if } \\frac{1}{n} \\leq \\sqrt{3}-1 < \\frac{2}{n} \\\\ n +2, & \\text{if } \\frac{2}{n} \\leq \\sqrt{3}-1 < \\frac{3}{n} \\\\ \\vdots \\\\ 2n-1, & \\text{if } \\frac{n-1}{n} \\leq \\sqrt{3}-1 < 1 \\\\ \\end{cases}$ How can I proceed from here ?",
"Where can you find the quantities of each amino acid of a particular protein or food?",
"Time complexity of nested for-loop",
"I am calculating the Intraclass Correlation coefficient (ICC) as per the method of Shrout-Fleiss (1979), using the (3, 1) model in which the judges are fixed as are the targets. Some of my ICC values are negative. Is this to be expected? How to interpret this? I understand that the maximum ICC is 1.0, but is there a minimum value? How are negative values interpreted?",
"Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found: $ sudo apt-get install vlc Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package vlc",
"Video editing. Audio and Video strip have different length",
"Setting page numbering on Word I have a word document. The first four pages are title and index. After that, the “Chapter 1” starts. I want page numbers to begin from the “Chapter 1” onwards only. The first 4 pages should not have any page number. How do I achieve this?",
"Fixing scrolling in nano running in tmux in mate-terminal The problem: I open a terminal (in Linux Mint, so mate-terminal) zsh is the shell Then I run tmux Edit a file with nano Scroll up and down that file with the cursor Issue: When scrolling down in nano, only the bottom half of the terminal window gets refreshed Issue: When scrolling up in nano, only the top half of the terminal windo gets refreshed The complete nano view of file does not get refreshed in my terminal window when scrolling. Any tips? Edit: my .tmux.conf It seems that this line specifically is the culprit (as commenting it out fixes the problem): set -g default-terminal \"xterm-256color\" I'm pretty sure I added that line because I have issues even running nano during an SSH session. Here is the full file: set-option -g default-shell /bin/zsh # Make sure tmux knows we're using 256 colours, for # correct colourised output set -g default-terminal \"xterm-256color\" # The following were marked as \"unknown\", so # I do know what I'm doing wrong. #set -g mode-mouse on #setw -g mouse-select-window on #setw -g mouse-select-pane on # Attempting to stop \"alert\" sound upon startup # but none of these are working... set-option bell-on-alert off set-option bell-action none set-option visual-bell off",
"Is there any reason to not complete the game? Would there be anything in Skyrim where you wouldn't want to complete the main story? (Yes, I know the game continues after that) Like something you can no longer access, or do after beating the game?",
"I'm talking about at least two juvenile sci-fi novels, read between second and fourth public grades (U.S.A.) which for me places them around 1956-9. The protagonists are a brother and sister, presumably my (then) age. They are friends with a single man, a scientist who has built a rocket ship. The scientist is little fey, physically; a (relatively) large, round head, balding, short in stature and striking long, thin hands and fingers. The rocket ship's final preparation is to slop a viscous, clear gloop over EVERYTHING, inside and out from a pail with a paintbrush. In flight, there is an encounter with the moon, and a very small planet with (non-threatening) inhabitants not physically unlike the fey rocket scientist. The planet orbits either the moon or the earth, not the sun, and strangely, some kind of mushroom(!) theme runs through the books. Really. That's it. That's all I got (I was nine at the most, fer chrissake). My recollection tells me there was concealment from parents, a particular name for the planet and people and flight through a spatial fog. I mention these things separately because I am less sure of them than the previous two paragraphs. The author was blissfully unrepentant of the laws of physics: Earth gravity on a micro-planet, fog in space and super-gloop to ready the ricketiest rocket. Worked for me. I'm guessing even Richard, my previous mentor/savior might not be familiar with these. Anybody? Author, titles? Or do you just recognize one of these?",
"X,Y,Z missing in F3",
"Identifying pin numbers from PCB",
"Starcraft Installation asks for a mythical Disk 2",
"Customize newform save button - Save and redirect to another form What is the best way to add redirect function into the save button on a newform in SharePoint 2013. When the user create a list item, he/she should be redirected to another form. Is it possible to get and parse the new generated item ID? Start - Newform URL: End - Editform URL: Thanks"
] | medi_sts_stackexchange_dupe |
Entry into Canada for Candian citizens during COVID-19 period | Will Canadian citizens be denied entry to Canada during COVID-19 border closure? | [
"Combined flair is showing hidden accounts The combined flair started to display in this week site icons from hidden accounts. For example, this is my current flair: The freehand red circle shows a hidden community that you can't see in my . This issue looks to me as a privacy issue. Being associated with a SciFi community or Arqade is not a bad thing for my serious work-only profile, but it could be indeed an issue for people trying to hide association with a religious community due to the dark times that we are living on. I know that this question is similar to , but I'm posting this as of Adam Lear",
"Determine which circuits are parallel and which are in series I need to find the Equivalent Resistance across A and B. The problem is, I don't know which one's are in series and which ones are in parallel. How do I identify which ones are parallel or series?",
"What is a tainted kernel in Linux?",
"Why aren't variable-length arrays part of the C++ standard?",
"Is Linux a Unix? So, there are lots of different versions of Unix out there: HP-UX, AIX, BSD, etc. Linux is considered a Unix clone rather than an implementation of Unix. Are all the \"real\" Unices actual descendants of the original? If not, what separates Linux from Unix?",
"How do I create a Java string from the contents of a file? I've been using the idiom below for some time now. And it seems to be the most wide-spread, at least on the sites I've visited. Is there a better/different way to read a file into a string in Java? private String readFile(String file) throws IOException { BufferedReader reader = new BufferedReader(new FileReader (file)); String line = null; StringBuilder stringBuilder = new StringBuilder(); String ls = System.getProperty(\"line.separator\"); try { while((line = reader.readLine()) != null) { stringBuilder.append(line); stringBuilder.append(ls); } return stringBuilder.toString(); } finally { reader.close(); } }",
"Convert a Bitmap to GrayScale in Android",
"Is it mandatory to have published papers while applying for PhD? I've heard from people saying that while applying for PhD, you need to have past experience in researching something and should have international publications. I was like more concentrated towards practical experience and have't had any publications. If I am aspiring to do PhD and want to apply, it would be impossible if such a criteria exists!",
"problems installing mathtools",
"What would I do if I want to have a generic method that only accepts types that have overloaded an operator, for instance the subtraction operator. I tried using an interface as a constraint but interfaces can't have operator overloading. What is the best way to achieve this?",
"Money transfer from India to USA My daughter is a US Citizen. We (parents)are also planning to permanently settle in US. We will go their as Permanent Resident,as per US Law. We have a house here in India worth Rs.2 Crores. We want to sell it and take money with us. We have ordinary savings Bank account here in India. My US Citizen Daughter is a Income Tax payer. Now your advises are required as under: What are the routes to take money from India to US and our tax liabilities Can I gift this whole amount to my US Citizen Daughter or what is the maximum limit of Gift amount. What will be the tax liability on me and on my Daughter in case of Gift Whether I have to show it in my Income Tax Return or in my Daughter's Tax Return. What US Income Tax Laws says. What will be the procedure to send money as Gift to my Daughter. Will the money will go directly from my Bank Act.to my Daughter's Bank Account. Will there will be wire transfer from bank to bank Can I send money through other money sender Certified Companies also. Please advise. If there is something more on the subject to make me understand, please advise. Thanks,",
"Why don't the colonists wear spacesuits in Alien: Covenant? In the beginning of the Alien: Covenant movie, a group of colonists from the main ship make a landing on an unknown planet, which they found out accidentally after ship has been bombarded by an unknown wave from a star collapse and what bothers me, is that they don't wear any spacesuits, any protective gear, any air filter systems, just nothing. Is that really the way future space expeditions gonna explore new possible planets presumed as possible habitable homes for humanity? Every 5th grader knows, from the biology school lessons, that water, air, and even earth itself contains and gives life to a thousands of viruses, bacteria, and microorganisms. You can breathe in bacteria, or virus, and be dead in a seconds. Do film makers really suppose we will take it as realistic depiction of extraterrestrial expedition? Reality check just screams out loud. What do you think can be their motivation for such a decision?",
"setting up apache2 webserver -- differences between behaviour within my intranet and outside",
"Run a Windows Service as a console app",
"What happens if I do not honor a futures contract? I have little knowledge about futures contracts. The recent negative price of crude oil spurred my curiosity about this stuff. I read this post about . According to this post, when I buy a futures contract, I enter into a contractual agreement to buy some commodity on some future date, and I only need to pay a 2% initial margin. Suppose the price of the commodity does not fluctuate but I change my mind and decide not to buy the commodity at maturity. What punishment could be exerted on me? I do not want the 2% initial margin back because that is a little money compared to the real value of the commodity. If there is no extra penalty, it would be unfair for the seller — imagine the seller transports 1000 barrels of crude oil to your front door and you say \"I do not need it any more, please take it away, thank you!\" Update: I did more research about this and have more questions. If I buy a futures contract at $10 and the price of the contract drops to -$37 at the last trading day, at which price should I buy the commodity at the delivery day, $10 or -$37? There seems not just one contract I enter into when I buy a futures contract: the original futures contract between me and the seller of the commodity(or the exchange?), the contract between me and my brokerage, the contract between the brokerage and the exchange. I'm not clear about the exact entities of each contract and the obligations involved in each contract. The contracts seem contradictory with each other, e.g., my brokerage may forcefully sell my futures contract if my account balance is not enough, which will prevent me from fulfilling the obligations in the futures contract, i.e., receiving the commodity on future date. If I(or an institutional trader) trade directly (not via a brokerage) with an exchange(does CME accept individual traders?), does the exchange have the rights to forcefully sell my contracts at the last trading day at any price or close my position at the settlement price(say -$37)? If the exchange does so thus letting me own $5,000M to it, is it more justice for me to sue the exchange rather than let the exchange sue me? If I could hold the position, the loss caused by my not executing the delivery/receipt of the commodity may be less than $5,000M. Of course, the loss will be determined by the court, not by the exchange according to the settlement price formed by itself or a few possible conspirators.",
"Can there be only one extension to the factorial? Usually, when someone says something like $\\left(\\frac12\\right)!$, they are probably referring to the Gamma function, which extends the factorial to any value of $x$. The usual definition of the factorial is $x!=1\\times2\\times3\\times\\dots x$, but for $x\\notin\\mathbb{N}$, the Gamma function results in $x!=\\int_0^\\infty t^xe^{-t}dt$. However, back a while ago, someone mentioned that there may be more than one way to define the factorial for non-integer arguments, and so, I wished to disprove that statement with some assumptions about the factorial function. the factorial is a for $x\\in\\mathbb{C}$ except at $\\mathbb{Z}_{<0}$ because of singularities, which we will see later. is a monotone increasing function that is concave up for $x>1$. satisfies the relation $x!=x(x-1)!$ and lastly $1!=1$ From $3$ and $4$, one can define $x!$ for $x\\in\\mathbb{N}$, and we can see that for negative integer arguments, the factorial is undefined. We can also see that $0!=1$. Since we assumed $2$, we should be able to sketch the factorial for $x>1$, using our points found from $3,4$ as guidelines. At the same time, when sketching the graph, we remember $1$, so there can be no jumps or gaps from one value of $x$ to the next. Then we reapply $3$, correcting values for $x\\in\\mathbb{R}$, since all values of $x$ must satisfy this relationship. Again, because of $1$, we must re-correct our graph, since having $3$ makes the derivative of $x!$ for $x\\in\\mathbb N$ undefined. So, because of $1$ and $3$, I realized that there can only be one way to define the factorial for $x\\in\\mathbb R$. Is my reasoning correct? And can there be only one extension to the factorial? Oh, and here is a to how I almost differentiated the factorial only with a few assumptions, like that it is even possible to differentiate. Putting that in mind, it could be possible to define the factorial with Taylor's theorem?",
"When defining a method on a class in Python, it looks something like this: class MyClass(object): def __init__(self, x, y): self.x = x self.y = y But in some other languages, such as C#, you have a reference to the object that the method is bound to with the \"this\" keyword without declaring it as an argument in the method prototype. Was this an intentional language design decision in Python or are there some implementation details that require the passing of \"self\" as an argument?",
"Can I make an ender portal on creative? I've updated Minecraft PE, and in the update notes it states that they've added the End. But when I made a new creative world and built a portal, it didn't work. I've been looking online at tutorials, but cannot get the portal to open. So how do you create an Ender Portal?",
"When should \"farther\" and \"further\" be used?",
"Bug? LaTeX misparses nested optional arguments LaTeX seems to be having problems handling nested optional arguments. I've included a minimal code example that generates the error: \\documentclass[12pt,oneside]{book} \\begin{document} \\newcommand{\\termbad}[2][]{#2#1} \\newcommand{\\termgood}[2][]{#2#1} \\newcommand{\\up}[1]{#1} \\newcommand{\\dd}[1][]{#1} \\termgood{\\up{Tart}}{Pop} \\termbad[\\up{Tart}]{Pop} \\termgood{\\dd[Tart]}{Pop} \\termbad[{\\dd[Tart]}]{Pop} %\\termbad[\\dd[Tart]]{Pop} \\end{document} If you run this code, it works. If you remove the % in the second to last line, it fails with: Runaway argument? Tart{Pop} \\par \\par \\end {document} !File ended while scanning use of \\dd. After further tinkering, I have discovered the problem: LaTeX is reading the ] for the inner optional argument as the end of the outer optional argument and then passing a malformed argument in. So it is passing in \\dd[Tart as the optional argument to \\termbad instead of \\dd[Tart]. This still feels like a bug to me. Nesting braces in arguments works, brackets should as well. The following are workarounds: Enclose the inner optional argument in braces (as in the line before %). Redefine your inner function to require its argument instead of using optional arguments. Redefine your outer function to require its argument instead of using optional arguments. Any one of the three works around the issue. (Reposted here; question was originally posted to stackexchange and then closed instead of being migrated.)"
] | medi_sts_stackexchange_dupe |
Placing Unicode character in CSS content value | Adding HTML entities using CSS content | [
"Communicating with all potential clients as a multi niche photographer This may be seen as a bit off topic, but I'm hoping it's a question that some photographers can associalte with and clear up for me. I'm an amateur wanting to get more serious in the new year, and aiming to build up a portfolio of work that I will showcase on my own website, which will hopefully build up a client base. I figured that a good way to get started would be to create a few 365 style projects that I can publish on my site and on social media. However, my interests vary a great deal, and therefore my photography will more than likely range from nature and local events, to more NSFW style topics. My problem is, how to successfully communicate with people who will be interested in certain aspects of my work, without losing touch with those interested in others. In theory, I'd like to set up a single social media presence, preferably Twitter, where I can freely post anything I want, and connect with anyone I want. Essentailly pointing people in the direction of whatever content they will be interested in. Problem is, social media sites like Twitter publicise ALL of your posts to ALL of your followers, so people who are following for nature/local photography will possibly unfollow me for my NSFW content. At the same time, some SFW followers may be potential clients in other areas, and vice versa. So as a multi niche photographer, how can you engage with all potential clients, and showcase all portfolio peices ( in my case all 365 project shots ) via a single or limited number of social networks? How are you doing it?",
"When can we find holomorphic bijections between annuli?",
"I have just updated (through Software Update) to Ubuntu 16.04 LTS from 15.10. There are random instances of screen flickering throughout usage. After noticing this issue, I installed Compiz Config Settings Manager, selecting Force fulls screen redraws (buffer swap) on repaint, which did nothing. Is there any way this could be related to compiz settings or is this another issue? EDIT: not fixed after clean install, upgrade to kernel 4.5.2, however screen flickering is reduced, it is every now and then (10 minutes apart). I will see if upgrading to kernel 4.6.0-994-generic will fix this. EDIT: fixed as of kernel 4.6.2 generic, currently running 4.7.2 without any issues.",
"If I multiclass into 2 or more spellcasting classes, how do I determine my known/prepared spells?",
"Showing OSM source acknowledgment on the map in QGIS? I am using OpenStreetMap as a base layer via XYZ tiles in QGIS 3.01. I can't seem to find a way of having source acknowledgement appear on the lower right corner of the map. Can somebody point me in the right direction?",
"It's essential that the documents (should)/(ought to) be destroyed immediately. Which one is more suitable one as I know \"ought to\" and \"should\" are synonyms.",
"Wake-on-LAN quit working with latest kernel (Bionic)",
"How to switch between tty and xorg session",
"We have been using Notes and Attachment to store files related to the record. I also read about Files in salesforce. How are Files different from Attachment? Are there any limitations or benefits of using Files instead of Attachments? Are Files available for all editions of Salesforce? Is it possible to link Files to particular records so they are visible as related list? I tried looking into the content version but cant seem to find anything to relate to a record",
"How to test API integration in marketing cloud? I have created a API package under Setup -> Installed Packages. I have created API Integration component for the package .I have the below basic details for the component. Client Id Client Secret Authentication Base URI REST Base URI I want to test the created API package using any tool( Postman or other API testing tools). I was able to find API integration testing links for SFDC but not for the Marketing Cloud. What is the redirect URL to be used in the API package? I have created an API integration package of Integration type ( Web APP) In web app properties, what is the redirect URL to be provided?",
"Minecraft launcher could not connect to server? What do I do? I looked at a similar question to mine and there was an answer saying to make sure Java is allowed past the firewall. So I checked and it already is. I've tried uninstalling and installing both Minecraft and Java but nothing has changed. says that all services are fine, so what's going on? I bought a 2nd account to use as an alternative in-game account and now I can't log in. (I cleared the email and password boxes for obvious reasons in this screenshot: security purposes)",
"Lost reputation after answering my own question with bounty Timeline: Asked a question, no (interesting) answers for two weeks Set bounty on it this morning Found the answer to my question two hours later. Answered my own question. Bounty reputation is lost. It was not awarded to me, it was not returned to me (the 100 I invested). Right now, I feel really stupid for answering my own bounty question. If this is accepted behavior, then user should be warned - you are answering your own bounty question, your bounty reputation will be LOST.",
"What are the “spam” and “rude or abusive” (offensive) flags, and how do they work? When flagging, there are two special case options: spam and rude or abusive. What is spam, and when should I flag content as such? What is considered offensive, rude or abusive content? How does the spam flag differ from the rude or abusive flag? What is the effect of these special flags? When are these flags removed?",
"Invariant Subspace of Two Linear Involutions I'd love some help with this practice qualifier problem: If $A$ and $B$ are two linear operators on a finite dimensional complex vector space $V$ such that $A^2=B^2=I$ then show that $V$ has a one or two dimensional subspace invariant under $A$ and $B$. Thanks!",
"How to make all polygons into triangles",
"Splash Screen waiting until thread finishes I still have a problem with the splash screen. I don't want to use the property SC.TopMost=true. Now my application scenario is as follows: in progeram.cs: [STAThread] static void Main() { new SplashScreen(_tempAL);// where _tempAL is an arrayList Application.Run(new Form1(_tempAL)); } in SplashScreen class: public SplashScreen(ArrayList _Data) { DisplaySplash() } private void DisplaySplash() { this.Show(); this.TopMost = true; this.CenterToScreen(); this.SetTopLevel(true); _allServerNarrators = new string[10]; for (int i = 0; i < _allServerNarrators.Length; i++) _allServerNarrators[i] = null; GetFromServer(); this.Hide(); _serverData = new ArrayList(); _thisData.Add(_allServerNarrators); _thisData.Add(_serverNarrators); } private void GetFromServer() { _serverNarrators = new ArrayList(); string _file = \"Suras.serverNar\"; if (!Directory.Exists(\"c:\\\\ASGAQuraan\")) Directory.CreateDirectory(\"c:\\\\ASGAQuraan\"); while (counter < 4 && _serverFiles == null) { if (Download(\"c:\\\\ASGAQuraan\", _ftpServerIP, _file)) { StreamReader _strReader = new StreamReader (\"c:\\\\ASGAQuraan\\\\\"+_file,System.Text.Encoding.Default); string _line = _strReader.ReadLine(); string _word; while (true) { while (_line != null) { _word = _line.Substring(0, _line.IndexOf(\"*\")); int _narId = Convert.ToInt32(_word); _line = _line.Substring(2); int k = 0; _serverNarratorNode = new ArrayList(); while (true) { int ind = _line.IndexOf(\"*\"); if (ind > 0 && ind < _line.Length) { string str = _line.Substring(0, (ind)); if (k == 0) { _allServerNarrators[_narId] = str; _serverNarratorNode.Add(str); } else { _serverNarratorNode.Add(str); } _line = _line.Substring(ind + 1); k++; } else { _line = null; break; } } _serverNarrators.Add(_serverNarratorNode); _serverFiles = \"added\"; } _line = _strReader.ReadLine(); if (_line == null) { break; } } } else counter++; } } What I want is something in the splash screen class which waits until the thread finishes. For more details, please tell me what I need to tell you.",
"When is an Integer a Rational Number, and are All Ratios Rational, Even $\\frac{\\sqrt{7}}{2}$? $$\\Bbb{Q} = \\left\\{\\frac ab \\mid \\text{$a$ and $b$ are integers and $b \\ne 0$} \\right\\}$$ In other words, a rational number is a number that can be written as one integer over another. For an integer, the denominator is $1$ in that case. For example, $5$ can be written as $\\dfrac 51$. Is $5$ a rational number? Or is $\\dfrac 51$ a rational number? I'm not able to figure out what the definition is actually saying. What are the numbers that cannot be written as one integer over another? Irrational numbers are the numbers that cannot be written as one integer over another. Roots of numbers that are not perfect squares are examples of irrational numbers. However, what is this then: $\\dfrac {\\sqrt 7} {2}$?",
"I have a DSLR (Canon 550D) and since I'm taking my first steps in the world of RAW photography I don't know which would be a good program to use to edit these files. I've tried and but wasn't satisfied. I'm sure there must be better software out there...",
"Let $A,B \\subset \\mathbb{R}$. Show that $\\sup(A \\cup B) = \\max\\{\\sup A, \\sup B\\}$ Let $A,B \\subset \\mathbb{R}$. Show that $\\sup(A \\cup B) = \\max\\{\\sup A, \\sup B\\}$ Here's what I did so far: Let $\\sup A, \\sup B$, and $\\sup (A \\cup B)$ denote upper bounds of $A,B$, and $A \\cup B$, respectively. If $x \\in A$, then $x \\le \\sup A$. If $x \\in B$, then $x \\le \\sup B$. In either case, $x \\in (A \\cup B)$. So either $x \\le \\sup A$ or $x \\le \\sup B$. In either case, $x \\le \\max \\{\\sup A, \\sup B\\}$. So $\\max \\{\\sup A, \\sup B\\}$ is the upper bound of $A \\cup B$, which means $\\sup (A \\cup B) \\le \\max\\{\\sup A, \\sup B\\}$. I do not know if there's a better way to go at it, but all I did was show the inequality. Can I do this, and show the reverse inequality? If so, how can I go about doing that?",
"Undefined reference to static class member Can anyone explain why following code won't compile? At least on g++ 4.2.4. And more interesting, why it will compile when I cast MEMBER to int? #include <vector> class Foo { public: static const int MEMBER = 1; }; int main(){ vector<int> v; v.push_back( Foo::MEMBER ); // undefined reference to `Foo::MEMBER' v.push_back( (int) Foo::MEMBER ); // OK return 0; }"
] | medi_sts_stackexchange_dupe |
What does ?= mean in a regular expression? | Reference - What does this regex mean? | [
"How to echo a bang! I tried to create a script by echo'ing the contents into a file, instead of opening it with a editor echo -e \"#!/bin/bash \\n /usr/bin/command args\" > .scripts/command The output: bash: !/bin/bash: event not found I've isolated this strange behavior to the . $ echo ! ! $ echo \"!\" bash: !: event not found $ echo \\#! #! $ echo \\#!/bin/bash bash: !/bin/bash: event not found Why is bang causing this? What are these \"events\" that bash refers to? How do I get past this problem and print \"#!/bin/bash\" to the screen or my file?",
"Does the verb \"unvelcro\" exist or what can we use instead? I know that the following word pairs exist: button – unbutton tie – untie Can we use an analogous process with the verb "velcro"?",
"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",
"Do Cantrips use your character level or class level? Cantrips seem to be the only type of spell that cares only about your class level. However, in the multiclassing section they are not mentioned, does this mean that cantrips use your character level, instead of your class level? Does this mean a Warlock 2 / Fighter 15 can cast an Eldritch Blast with 4 beams just like a level 17 Warlock?",
"What is the relative speed of two near-light speed particles headed towards each other? I understand that nothing can move faster than light due to time dilation. I want to build upon my understanding of Einstein's theory of Special Relativity, so I came up with this hypothetical problem for myself: If both particles are moving at 0.9c towards each other (according to an observer on Earth), what speed does each particle have relative to the other? I'm stumped since I am only familiar with Newtonian classical mechanics to solve this (which would be wrong). I am aware of Lorentz' factor $\\gamma =\\frac{1}{\\sqrt{1 - \\frac{v^2}{c^2}}}$ and the time dilation equation $t_m = \\frac{t_o}{\\sqrt{1 - \\frac{v^2}{c^2}}}$, but I'm not sure how to apply it in this instance. I'm just looking for a gentle push in the right direction. Edit: My prior research: This article, , talks about the effect of a baseball thrown at 0.9c would have as it traveled towards a batter. This is not what I'm looking for since it doesn't explain the math behind finding the collision speed between two high velocity entities. This question on Yahoo, , asks a similar question to mine, but no math is involved to demonstrate the calculations behind the reasoning. This question on Physics.SE, , does not answer my question either. I have not been able to find a similar Physics.SE question which can provide me to clues to my own hypothetical question. I have also Googled the following phrases: i. "collision faster than the speed of light" ii. "collision of high speed particles" iii. "lorentz transformation in a collision" iv. "collision analysis at light speed"",
"\\bordermatrix with brackets [ ] instead of parentheses ( ) I have the following code: \\documentclass{article} \\begin{document} $ M = \\bordermatrix{~ & x & y \\cr A & 1 & 0 \\cr B & 0 & 1 \\cr} $ \\end{document} But this code makes a matrix with () and i would like it to be with [] How do i do this?",
"Prove that if $\\mathcal P(A) \\cup \\mathcal P(B)= \\mathcal P(A\\cup B)$ then either $A \\subseteq B$ or $B \\subseteq A$.",
"I'm making an app with a custom list in multiple languages. Is there an easy way so that I only have to create the site columns, content type and list once? So I don't have to create them for each language? My app will be in English, French and Dutch. My lists elements.xml looks like this <?xml version=\"1.0\" encoding=\"utf-8\"?> <Elements xmlns=\"http://schemas.microsoft.com/sharepoint/\"> <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. --> <ListTemplate Name=\"List1\" Type=\"10000\" BaseType=\"0\" OnQuickLaunch=\"TRUE\" SecurityBits=\"11\" Sequence=\"410\" DisplayName=\"List1\" Description=\"My List Definition\" Image=\"/_layouts/15/images/itgen.png\"/> <Field Name=\"Adres\" ID=\"{2a32d9eb-ad3b-4dbb-abba-66dd01ca7c6e}\" DisplayName=\"$Resources:Adres\" Type=\"Text\" Required=\"TRUE\" /> <Field Name=\"Naampje\" ID=\"{ac47be45-2f43-4d16-9a06-162c85945ec9}\" DisplayName=\"$Resources:Naampje\" Type=\"Text\" Required=\"FALSE\" /> <Field Name=\"Nickname\" ID=\"{6B0A2CD7-A7F9-41ca-B932-F3BEBB603793}\" DisplayName=\"$Resources:Bijnaam\" Type=\"Text\" Required=\"FALSE\" /> </Elements> Well if i change my language in Sharepoint (Office 365) it's not changing the titles from dutch to the other languages i have added.",
"Recover files from hard drive that has been formatted thrice I have a situation. I got married 6 months ago and stored some very important pictures on my laptop which was running Linux. Later I formatted the whole hard drive, installed Windows and a hacked version of Mac (just to play around) and I have been using the laptop for last 8 months or so after that. Is there any software that can recover the files for me? I am happy to pay money!",
"Why are springs shaped the way they are? Why are springs coiled the way they are? Why not some other shape? Is the shape due to its elasticity or something?",
"Sound of a next scene starts one moment earlier than video I saw this several times in different movies, but I don't understand what is this supposed to mean. The main idea is when the scene is about to change, for one second or so we still see the picture from the old scene, but the sound is already coming from from the upcoming scene. Why do they do this? What's the purpose of this technique?",
"Troubleshooting \"Windows cannot be installed to this disk. The selected disk has an MBR partition table\" I recently bought a desktop computer with Windows 7 Home Premium x64 preloaded (OEM). I tried to install Windows 7 Ultimate x64 on this computer but I was presented with the following error message: Windows cannot be installed to this disk. The selected disk has an MBR partition table. On EFI systems, Windows can only be installed to GPT disks. The 1TB HDD on this computer has three partitions: SYSTEM 100 NTFS - Healthy (System, Active Primary Partition) OS (C:) 9148.04 GB NTFS - Healthy (Boot, Page File, Crash Dump, Primary Partition) HP_RECOVERY (D:) 13.37 GB NTFS - Healthy (PrimarynPartition) I'm trying to install a clean copy of Windows.",
"I'm a Georgian national holding a multiple entry Schengen visa. Last summer I was traveling to Hungary, spent a few days there, then flew to the UK. The Hungarian border official did NOT stamp my passport on exiting the Schengen area. I had to enter it again a few days later and the German border guards were confused by what had happened. Finally they let me enter. Now I have one more entry stamp into Schengen than exit stamp and run into problems EVERY time at a Schengen border. Is there a way to fix this?",
"How to sort an array of integers correctly",
"Some fields like Economics and Maths have their work in progress published as \"working papers\" with notes like \"work in progress, do not cite or quote without the author's permission.\"Sometimes they upload these to their own websites or to their universities websites. I don't see much of this going on in my own field (sociology). I have heard from people that are afraid of having their work scooped or that fear that work published in this way will not be considered as \"unpublished\" by journals and conferences. What are the advantages of making work in progress available in this way?",
"Make window always on top?",
"I'm trying to draw a rounded rectangle with round \"holes\" using but I need the rectangle borders to be thick and \"holes\" borders to be thin. Is there a better way to do so than: \\begin{tikzpicture}[x=1mm, y=1mm] % Background \\fill[fill=black!10] (1.5, 1.5) rectangle (15, -15); % Fill \\fill[fill=black!2, even odd rule, rounded corners=0.5mm] (0, 0) rectangle (10, -10) (2, -2) circle[radius=1.25mm] (2, -5) circle[radius=1.25mm]; % Rectangle border \\draw[thick, rounded corners=0.5mm] (0, 0) rectangle (10, -10); % Holes borders \\draw[thin] (2, -2) circle (1.25mm); \\draw[thin] (2, -5) circle (1.25mm); \\end{tikzpicture} The result image should look like this:",
"What causes a \"Java Hotspot 64-Bit Server VM Warning\"? I get this warning: Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release What does it mean?",
"How to tell a wlan card supports RFMON mode Can someone please tell me how to check if a wlan card supports promiscuous mode",
"How do you force Chrome pages/tabs to crash using JavaScript?"
] | medi_sts_stackexchange_dupe |
Using SFINAE to detect a static constexpr | Detecting constexpr with SFINAE | [
"How can a file be copied? How do I copy a file in Python? I couldn't find anything under .",
"How do I mount shared folders in Ubuntu using VMware tools?",
"How can I add four spaces before each lines of programs code in terminal",
"postfix - how to prevent users from sending with another users name Even though my postfix server cannot be used without authentification (open relay), sending mail in another users name after logging in is still possible like this: EHLO domain.org auth plain eW91IGxpdHRsZSBkaXJ0eSBiYXN0YXJkIDstKQ== 235 2.7.0 Authentication successful mail from: [email protected] 250 2.1.0 Ok rcpt to: [email protected] 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> Please send me your account info. . 250 2.0.0 Ok: queued as D40692A61AA quit How can this be prevented?",
"Attempting to create a tag wiki when a user has hit the suggested edit limit should alert the user that no more edits can be suggested at this time I ran into an issue on Gaming.SE where I attempted to create a tag wiki and wiki excerpt for a tag which did not have one already while I already have the maximum of five suggested edits in the queue. Navigating to the tag page for the provides a link to for this tag. This link redirects to the for this tag, without telling me that I can't submit an edit because I've reached the maximum number of suggested edits. Instead of silently redirecting, the page should alert me that I can't suggest any more edits until my suggestions are reviewed.",
"new array.sty and colortbl.sty incompatibility?",
"Is there an exact command for restarting GNOME Shell in Ubuntu 20.04 corresponding to Alt + F2 + 'r' + Enter? Is there a way to restart GNOME Shell other than by using Alt + F2, R + Enter? With respect to the question, I have gone through , but I didn't get what I was looking for. I am looking for a command which exactly does what Alt + F2, r + Enter do. Please note that I am not willing to do the gnome-shell -- replace command... I did check both the things Alt + F2,r Enter and gnome-shell --replace... There is a lot of difference, I found...",
"Integrated circuits seem to have standard voltages of 5 V, 3.3 V, 2.5 V, 1.8 V, etc. Who decides these voltages? Why do smaller devices require lower voltages?",
"When I format a drive to NTFS under Windows and plug it into the Ubuntu machine it is perfectly usable, but when I format it under Ubuntu using Disks (delete all partitions and create one single partition with NTFS) it does not show up when plugged into the Windows machine. Please note that in both cases the USB drive contains only one, primary partition formatted to NTFS, for example: /dev/sdb - the actual device /dev/sdb1 - the only, primary partition I've observed this behaviour both with a solid state USB pen-drive as well as an external USB magnetic HDD. How to (re)format a USB HDD or a stick to NTFS under Ubuntu so it is usable under Windows?",
"I just visited Ask Ubuntu (askubuntu.com) while logged into Stack Exchange, and noticed that \"join this community\" doesn't appear: It is similarly broken on Math Overflow (mathoverflow.net). It works, however, on all sites that are subdomains of stackexchange.com, like Mathematics (math.stackexchange.com) and Academia. I'm using Google Chrome version 46.0.2490.86 on Windows 8.1 Update 1. (I don't know if this can actually be fixed, given how cookie security works, but I figured Stack Exchange should be aware of the issue.)",
"Override route helper methods",
"I have a problem , i can't open synaptic >:( root@dopeboy:~# synaptic No protocol specified ** (synaptic:6940): WARNING **: Could not open X display No protocol specified (synaptic:6940): Gtk-WARNING **: cannot open display: :1 I have try to Re-install it but is not working, any idea how to fix?! VPS Ubuntu 14.04 LTS.",
"Persistent live drive with a partition for persistence There are some web sites describing new tools new features in [new versions of] old tools that can create a persistent live drive from an iso file with Ubuntu 19.10 and the corresponding Ubuntu family flavours. Why and how does it work? How is it different from earlier methods for persistent live drives? Isn't live the default for a cloned drive?",
"subsurf splits the mirrored model into two objects I tried to subsurf this model that I mirrored but when I use subsurf it splits the model into two objects. Before Subsurf: After Subsurf: Any help would be appreciated.",
"Why are my villagers attempting to breed (they have the red hearts) but then stop breeding suddenly and gray \"angry\" particles pop up? I set up a villager breeder and set down 4 beds with 2 villagers in the middle and a carrot farmer supplying them with carrots. The first time both of those villagers bred the breeder worked perfectly fine. After that, however, the gray angry particles popped up every time they would try to breed (they would engage in breeding at a normal pace, just could not actually produce a baby). I even killed the one villager they produced in case it took a bed and even then, the two villagers would not breed anymore. Is there something I have done wrong? This seems odd considering they were only able to breed once and even by eliminating their offspring the villagers could not breed again. Edit: version is 1.16.4",
"Creating a gradient-based legend I have a map with graduated symbology, with 328 unique values. I would like to add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I have done this in ArcGIS before. Is there a way to do this in QGIS as well?",
"Easy way to earn money on Pokemon Omega Ruby/Alpha Sapphire? I've recently been attempting to complete the Hoenn pokedex. I need a lot of pokéballs and ultra balls to catch em' all. If anyone knows an easy way to do this please simply explain it. I believe that repeatedly challenging the Elite Four may work, but I don't really want to do that.",
"How to clone ArrayList and also clone its contents?",
"How to check if installing a package will require a reboot? I often install packages and updates for them, although sometimes it is not convenient to do a reboot if one of the packages needs it, so is there any way of telling BEFORE installing the package/update whether or not it will require you to do a reboot? I have already looked and the solutions there don't solve my problem, nor the more or less same one described there.",
"I accidentally \"always ignore\"d a wrong wrong word. How do I undo it and make the old dictionary clean again?"
] | medi_sts_stackexchange_dupe |
Using IN correctly with SQL | Parameterize an SQL IN clause | [
"How to get the Duke O' Death? I was watching some videos on YouTube showing how to get the Duke O' Death in GTA 5, however what I have seen is sort of unclear. Some people say you must be a returning player on GTA 5 to get it (what does this mean too BTW?), some people don't say that. Some people say you have to be Trevor, some people don't. Some say the time of day matters, some don't. And apparently you can buy it from Warstock website (I can't). Can someone please tell me how to get it?! GTA 5 came with my PS4 (I didn't play it on PS3) if that helps.",
"How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's What's a Windows command line statement(s) I can use to get the current datetime in a format that I can put into a filename? I want to have a .bat file that zips up a directory into an archive with the current date and time as part of the name, for example, Code_2008-10-14_2257.zip. Is there any easy way I can do this, independent of the regional settings of the machine? I don't really mind about the date format, ideally it'd be yyyy-mm-dd, but anything simple is fine. So far I've got this, which on my machine gives me Tue_10_14_2008_230050_91: rem Get the datetime in a format that can go in a filename. set _my_datetime=%date%_%time% set _my_datetime=%_my_datetime: =_% set _my_datetime=%_my_datetime::=% set _my_datetime=%_my_datetime:/=_% set _my_datetime=%_my_datetime:.=_% rem Now use the timestamp by in a new ZIP file name. \"d:\\Program Files\\7-Zip\\7z.exe\" a -r Code_%_my_datetime%.zip Code I can live with this, but it seems a bit clunky. Ideally it'd be briefer and have the format mentioned earlier. I'm using Windows Server 2003 and Windows XP Professional. I don't want to install additional utilities to achieve this (although I realise there are some that will do nice date formatting).",
"I am currently working my way through \"A Concise Introduction to Pure Mathematics\" by Martin Liebeck, and have been stuck on an excersise for a couple of days now. The question reads: \"Show that for an integer n $\\geq2$, the period of the decimal expression for the rational number $\\frac{1}{n}$ is at most $n-1$.\" I've been trying to solve this without making any substantial progress. And yes, I have seen explanations that when performing a long division the decimal expression either terminates to $0$ or eventually repeats. But I haven't seen any proof of this that I've been satisfied with, even less do I know how to formalise this type of proof. I've tried to write out long division with arbitrary digits, but that obviously turns out to be too much of a hassle and basically impossible to draw any conclusions from.",
"Consider this: \\documentclass{article} \\usepackage[framemethod=TikZ]{mdframed} \\begin{document} \\begin{mdframed}[innerrightmargin=0pt] TEXT\\end{mdframed} \\end{document} This produces a frame that is much wider than its content: I know this is not a bug: the mdframed documentation mentions a userdefinedwidth parameter that defaults to \\linewidth. But how can I get a mdframed frame that has the same width as its content? (What I actually need is a box with rounded corners and shading options; breaking over multiple pages isn't necessary. mdframed seemed like the easiest way to get the box, but if it's too much hassle to make it size to content, it would be useful to know so I can try pure tikz.)",
"My floating point number has extra digits when I print it",
"I have these two CREATE TABLE statements: CREATE TABLE GUEST ( id int(15) not null auto_increment PRIMARY KEY, GuestName char(25) not null ); CREATE TABLE PAYMENT ( id int(15) not null auto_increment Foreign Key(id) references GUEST(id), BillNr int(15) not null ); What is the problem in the second statement? It did not create a new table.",
"Windows 8 disk usage is 100%",
"htaccess subdomain",
"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!",
"What does \"javascript:void(0)\" mean?",
".bash_history does not update in Git for Windows (git bash)",
"Create directory if it does not exist",
"Is there a way to recover deleted data from a SSD / USB Flash drive? All I could find were recovery for damaged drives, but I want to recover deleted data. So how do I do this?",
"Adding boolean yes/no field in ArcGIS Desktop? How does one add a field to an ArcGIS feature class with a boolean data type? That is an attribute where the allowed value is only one of a pair such as 1/0, Yes/No, On/Off, Present/Not-present, etc. A boolean data type is not available in the Data Type pick-list.",
"Many introductory quantum mechanics textbooks include simple exercises on computing the de Broglie wavelength of macroscopic objects, often contrasting the results with that of a proton, etc. For instance, this example, taken from a textbook: Calculate the de Broglie wavelength for (a) a proton of kinetic energy 70 MeV (b) a 100 g bullet moving at 900 m/s The pedagogical motivation behind these questions is obvious: when the de Broglie wavelength is small compared to the size of an object, the wave behaviour of the object is undetectable. But what is the validity of the actual approach of applying the formula naively? Of course, a 100g bullet is not a fundamental object of 100g but a lattice of some $10^{23}$ atoms bound by the electromagnetic force. But is the naive answer close to the actual one (i.e. within an order of magnitude or two)? How does one even calculate the de Broglie wavelength for a many body system accurately?",
"How do I detect a click outside an element? I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area. Is something like this possible with jQuery? $(\"#menuscontainer\").clickOutsideThisElement(function() { // Hide the menus });",
"Why cannot fermions have non-zero vacuum expectation value? In quantum field theory, scalar can take non-zero vacuum expectation value (vev). And this way they break symmetry of the Lagrangian. Now my question is what will happen if the fermions in the theory take non-zero vacuum expectation value? What forbids fermions to take vevs?",
"Why not to extend the set of natural numbers to make it closed under division by zero?",
"Inexact measurement and wavefunction collapse",
"Can I apply for a Schengen visa at a country where I'm not a citizen? If so, under what conditions? I'm a citizen of country A who would like to apply for a Schengen visa at a consulate in country B. When is this possible?"
] | medi_sts_stackexchange_dupe |
SQL: get min and max value along with another respective column for each value | How can I SELECT rows with MAX(Column value), PARTITION by another column in MYSQL? | [
"Counting files in leaves of directory tree",
"interpreting scatter plots I have plotted my predictors versus my response variable in order to be able to fit a good Poisson model to my data. However i am getting those scatter plots for nearly all predictors which make me rather worried since including these predictors is making my residual deviance a value of 575 on 571 df(high enough) Thanks",
"Relationship between (algebraic) vector bundle and (topological) vector bundle on $\\mathbb{RP}^{1}$($\\mathbb{P}^{1}$)",
"Recently I've been messing around with making a few minigames, and have used a few plugins to help make it easier to create and run them. However, a newer one I'm making requires me to use the /summon command in order to spawn zombies. However, no matter what I put in, I can't spawn hostile mobs. All other entities still spawn perfectly fine. Strangely, the /spawnmob command which comes with Essentials can summon hostile mobs fine. I would rather use /summon since it's more customizable though. Here's a list of plugins I have installed. Essentials EssentialsChat HolographicDisplays PermissionsEx setspawn [A plugin I have made, just a simple timer] Vault VoxelSniper WorldEdit WorldGuard Please let me know if you have any ideas on what I'm doing incorrectly or isn't functioning the way it should.",
"Iterating each character in a string using Python In C++, I can iterate over an std::string like this: std::string str = \"Hello World!\"; for (int i = 0; i < str.length(); ++i) { std::cout << str[i] << std::endl; } How do I iterate over a string in Python?",
"Does a single photon's energy depend on frequency? (photoelectric effect)",
"How do I add a .sty file to my MacTeX/TeXShop installation? I've searched online, but I have not found any clear instructions how to permanently add .sty files to my TeXShop installation. I'm using a Mac with OSX (TeXShop is a mac only program). What is the best way of doing this? The one comprehensive set of instructions I found . I've got as far as extracting the files (running LaTeX on the .ins and . dtx files) but after that I don't know what to do. I also don't understand how to update the index of my distribution, and whether there are particular OSX specifics (the instructions are for Windows).",
"Checkout subdirectories in Git? Is it possible to check out subdirectories of a repository in Git? Imagine I am setting up a new WordPress installation. I will create two new directories for my plugin and theme customization: wordpress/wp-content/plugins/myplugins/ wordpress/wp-content/themes/mytheme/ I want to maintain these directories via Git. In Subversion, I would accomplish this by having trunk/myplugins/ and trunk/mytheme/ directories and checking out subdirectories. Does Git have a way to accomplish the same task using a single repository? I could just be missing the boat on some Git paradigm, as a long time SVN user with little exposure to Git. Edit: storing different content is an interesting way to handle this.",
"how to extract multiple zipped and rar files recursively? I have a folder ExampleFolder which contains many zipped folders. These zipped folders also contains multiple zipped folders. How to go through ExampleFolder and extract all of its zipped folders recursively? Note that ExampleFolder itself, is not zipped, it's just a normal folder Okay now I know what's happening Rinzwind and nux answers are both correct (except that I have to keep pressing Y or A forever) But it's seems that some of the zipped files, contained zipped files and rar files as well, the rar files will not be extracted by while [ \"`find . -type f -name '*.zip' | wc -l`\" -gt 0 ]; do find -type f -name \"*.zip\" -exec unzip -- '{}' \\; -exec rm -- '{}' \\;; done or whatever Edit 2 Some files are named .r00 and r01, .r02 up to r14, they are rar files, but not .rar",
"Remove Background in Inkscape",
"Comprehensive list of tools that simplify the generation of LaTeX tables",
"Seeking appropriate statistic to measure spatial autocorrelation of points with binary values I am trying to determine the level of spatial autocorrelation in a point dataset. The attribute I'm interested in is binary (presence/absence of a species), for which Moran's I is not appropriate. On the other hand, Joint Count statistics, which are typically recommended for binary or categorical data, apparently are not appropriate for point data. What is an appropriate statistic to measure global and/or local spatial autocorrelation of points when the attribute of interest is binary?",
"I have looked up various sites online. They only explain it in a very basic arithmetic way. Would someone explain to me why is $\\displaystyle\\frac{x}{\\frac{1}{2}}$ is $\\displaystyle\\frac{2x}{1}$?",
"How can I enable Ctrl+Alt+Backspace? Ctrl+Alt+← can usually be set to restart X, however I can't find the option to allow this (it is disabled by default). I have looked in System->Preferences->Keyboard and System->Preferences->Keyboard Shortcuts but I can't find an option to enable it. Where can I change this setting?",
"Carrying confidential corporate data into US on laptop/Drive/device - how to prevent data theft? If I travel to the US and had privacy concerns (for instance may be I was afraid that a rogue customs official may steal said data) what is the current recommended best practice to avoid this?",
"Convert bytes to a string I'm using this code to get standard output from an external program: >>> from subprocess import * >>> command_stdout = Popen(['ls', '-l'], stdout=PIPE).communicate()[0] The communicate() method returns an array of bytes: >>> command_stdout b'total 0\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2\\n' However, I'd like to work with the output as a normal Python string. So that I could print it like this: >>> print(command_stdout) -rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1 -rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2 I thought that's what the method is for, but when I tried it, I got the same byte array again: >>> binascii.b2a_qp(command_stdout) b'total 0\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2\\n' How do I convert the bytes value back to string? I mean, using the \"batteries\" instead of doing it manually. And I'd like it to be OK with Python 3.",
"What were Luke's lessons? Luke tells Rey that there are three lessons he will teach her as he trains her as a Jedi What are the lessons?",
"Why can rm remove read-only files? If I create a file and then change its permissions to 444 (read-only), how come rm can remove it? If I do this: echo test > test.txt chmod 444 test.txt rm test.txt ...rm will ask if I want to remove the write-protected file test.txt. I would have expected that rm can not remove such a file and that I would have to do a chmod +w test.txt first. If I do rm -f test.txt then rm will remove the file without even asking, even though it's read-only. Can anyone clarify? I'm using Ubuntu 12.04/bash.",
"I am looking for idioms or informal/slang/colloquial expression for some people that make you think that they are able of building a skyscraper, constructing a spaceship, playing the piano better than Mozart or something very fancy that requires remarkable skills, but when it comes to practice they prove to be completely inadequate.",
"How to deal with perfect separation in logistic regression?"
] | medi_sts_stackexchange_dupe |
What is the importance of the concept of probability space? | Why do we need sigma-algebras to define probability spaces? | [
"Kernel of a substitution map",
"Why is disk usage greater than the size of all files on it?",
"How to add a matrix to a LaTeX document How do we add a matrix to a LaTeX document?",
"More homework help. Given the function $f:A \\to B$. Let $C$ be a subset of $A$ and let $D$ be a subset of $B$. Prove that: $C$ is a subset of $f^{-1}[f(C)]$ So I have to show that every element of $C$ is in the set $f^{-1}[f(C)]$ I know that $f(C)$ is the image of $C$ in $B$ and that $f^{-1}[f(C)]$ is the pre-image of $f(C)$ into $A$. Where I'm stuck is how to use all of this information to show/prove that $C$ is indeed a subset. Do I start with an arbitrary element (hey, let's call it $x$) of $C$? and then show that $f^{-1}[f(x)]$ is $x$? I could use a little direction here... Thanks.",
"Story about workers repeatedly doing trivial work I'm trying to remember a (short) story I read in school some time ago. I don't have much, but here it is: Numbers of workers are assigned to trivial task, like changing broken lightbulbs (or something similar). Once they finished their daily work, another group of workers are putting the broken lightbulbs in again, allowing for an endless, trivlal working circle. I know that isn't much, but maybe someone has an idea, thanks.",
"How to replace an old version of Ubuntu with a newer one from USB/DVD? I dual booted ubuntu 11.04/11.10 a while ago with a USB stick and i want to uninstall it. I would like to completely uninstall the old version and get 12.04. I have a 64 bit laptop. Please help!",
"Why does camera this tracking fail completely even when the solution value is very low?",
"Restarting with new account on iOS/GameCenter",
"Add something to crontab programmatically (over ssh) I have a deployment script, it must add something to a user crontab (trigger a script that clean logs every XXX days), however this must only be done during the first deployment, or when it needs to be updated. (I can run xxx.py deploy env or xxx.py update env) so I have to do this: Check if my cronJob already exist Put my cronJob if it does not already exist or update my cronjob if one of the parameter of the command is different I don't see how to add/check/remove something to the crontab without using crontab -e or editing the crontab file (download it, rewrite it, re-upload it) PS : this is a user specific cronjob, \"webadmin\" is going to do it and he should not use sudo to do it.",
"Dual boot. How do I reinstall the Ubuntu partition?",
"Could the Horcruxes be destroyed with Avada Kedavra? In The Deathly Hallows Hermione says this about destroying Horcruxes: “It doesn’t have to be a basilisk fang,” said Hermione patiently. “It has to be something so destructive that the Horcrux can’t repair itself. Basilisk venom only has one antidote, and it’s incredibly rare—\" \"That’s a problem we’re going to have to solve though, because ripping, smashing, or crushing a Horcrux won’t do the trick. You’ve got to put it beyond magical repair.” Mad-Eye Moody from The Goblet of Fire tells us this about Avada Kedavra, ...there's no countercurse. There's no blocking it. but also that, Avada Kedavra's a curse that needs a powerful bit of magic behind it - you could all get your wands out now and point them at me and say the words, and I doubt I'd get so much as a nosebleed. Harry is also seen once attempting to use Crucio on Bellatrix Lestrange in The Order of the Phoenix out of anger at the death of Sirius, but he fails. She tells him, \"You need to mean [Unforgivable Curses], Potter! You need to really want to cause pain - to enjoy it - righteous anger won't hurt me for long - I'll show you how it is done, shall I? I'll give you a lesson -\" Even if Harry and company are not powerful enough to perform the curse themselves, they know several powerful wizards (Kingsley, Lupin, et al.) who could likely perform the curse. Lastly we know that Voldemort himself destroyed the last bit of his soul that was inside Harry with Avada Kedavra. Could the Horcruxes be destroyed with Avada Kedavra as well?",
"How much Valyrian steel is there that is unused for link making and why aren't people making weapons out of it? I was reading that stated Maesters can have Valyrian steel links: Valyrian Steel links (for the study of Magic + the Occult) are exceedingly rare and held by less than one Maester in a hundred. Ironically, they aren't seen as especially prestigious but rather viewed with suspicion. This made me wonder how much Valyrian steel there is lying around for Maesters to be adding them to their chains. It seems like such resource like this would be used for crafting weapons not being kept as ingots ready for Maesters to make links. Indeed the Wiki I linked above claims: the amount of Valyrian steel in the world is finite and extremely rare How much of his extremely rare resource is being kept in reserve for link making and why hasn't it been used for more useful stuff like making weapons?",
"How to shift EXIF date/time created by time in days, hours, minutes? I have two camera bodies, I was shooting while on vacation, when I downloaded the photos to lightroom, one body was set to the correct date/time, the other was off by 722 days, 4 hours, 32 minutes. Is there a tool available that can help me fix the date/time so that they appear in sequence while browsing my lightroom library? I'd like for them to be as close to the right time. I was able to adjust created year, month, date, but it doesn't appear lightroom will allow me to adjust increments (only hour increments). Many thanks if you can help me in this task!",
"Remap Caps Lock to Ctrl-b",
"I would like to align the view straight on to a face, perpendicular to the normal. How do I align the 3D viewport to the face of a mesh?",
"In the Ubuntu dock on Ubuntu 18.04, multiple windows of the same application are grouped and orange dots are shown to tell you how many windows of the application are opened. When you click on the icon, a small screen capture of each of the windows is shown. However, these screen captures are shown in an order that's based on which window was last active on the desktop. This is something that clashes with the way I use the dock. I'm used to mentally mapping the windows to their dock positions. As such, I will often be trying to get to \"the top one\" and then I end up needing several clicks before I actually get to the terminal (or some other application) that I was looking for. Is there some way to make sure that the order of these screen captures does not change whenever a window becomes active?",
"How can I best describe \"making a new discovery\"?",
"Let $T$ and $T^{'}$ be topologies on set $X$ such that $T \\leq T^{'}$. If $(X,T^{'})$ is path-connected, is $(X,T)$ path connected? Let $T$ and $T^{'}$ be topologies on set $X$ such that $T \\leq T^{'}$. If $(X,T^{'})$ is path-connected, is $(X,T)$ path-connected? I think it is, and I tried to prove it by contradiction, but I got stuck. Any hint helps!",
"I have snippets of Html stored in a table. Not entire pages, no tags or the like, just basic formatting. I would like to be able to display that Html as text only, no formatting, on a given page (actually just the first 30 - 50 characters but that's the easy bit). How do I place the \"text\" within that Html into a string as straight text? So this piece of code. <b>Hello World.</b><br/><p><i>Is there anyone out there?</i><p> Becomes: Hello World. Is there anyone out there?",
"Play a Sound with Python"
] | medi_sts_stackexchange_dupe |
Programatically add CC addresses to the webfom | How to add CC to a webform email? | [
"Calling C/C++ from Python? What would be the quickest way to construct a Python binding to a C or C++ library? (I am using Windows if this matters.)",
"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...",
"Can we get some consensus on what flag to use for link only answers? Related: (not a dupe, that's a feature request and was closed as a dupe of another one) (old) post does indeed say that Link-only answers can be flagged as NAA, but there are a lot of posts like which define Not An Answer is a way that it doesn't apply to link-only answers. Can we get some up-to-date consensus on this? That link only answers are not allowed is .",
"Can't Use /Summon Command",
"I am having a hard time with the following real analysis qual problem. Any help would be awesome. Suppose that $f \\in L^p(\\mathbb{R})$, where $1\\leq p< + \\infty$. Let $T_r(f)(t)=f(t−r)$. Show that $\\lim_{r \\to 0} \\|T_rf−f\\|_{L_p} =0$, that is $$ \\lim_{r\\to 0} \\left( \\int_{\\mathbb R} |f(t-r) - f(t)|^p \\mathrm d t\\right)^{1/p} =0.$$",
"I am looking for a way to identify primitives types in a template class definition. I mean, having this class : template<class T> class A{ void doWork(){ if(T isPrimitiveType()) doSomething(); else doSomethingElse(); } private: T *t; }; Is there is any way to \"implement\" isPrimitiveType().",
"Editing a post during review doesn't show an \"edit not possible\" message While reviewing First Posts on Super User, I noticed that I couldn't edit this question (see below). Clicking the "edit" link simply does nothing. Editing is not possible for me right now because I have already five suggested edits pending. It used to be the case that the link would've been grayed out (and the reason shown as a popover). , and while I'm not sure it's an improvement, the current implementation needs some fixing at least. This bug appears regardless of the actual reason that the edit isn't possible; for instance, is another user experiencing the same bug who couldn't suggest an edit because of an already pending one. Apparently, I'm far from the only one who experiences this issue. As of last Sunday morning, have been posted networkwide (and are still alive) and is #16.",
"Simulating data to fit a mediation model",
"$\\mathbb Z[\\sqrt 3]$ contains infinitely many units",
"How can I get the Cartesian product (every possible combination of values) from a group of lists? Input: somelists = [ [1, 2, 3], ['a', 'b'], [4, 5] ] Desired output: [(1, 'a', 4), (1, 'a', 5), (1, 'b', 4), (1, 'b', 5), (2, 'a', 4), (2, 'a', 5) ...]",
"SSH welcome message on 17.04 shows notice about 12.04 I just did a do-release-upgrade going from Ubuntu 16.04 to 17.04. However, now when I login via SSH I have the following message Welcome to Ubuntu 17.04 (GNU/Linux 4.10.0-20-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Ubuntu 12.04 LTS end-of-life was April 28, 2017 -- Upgrade your Precise systems! $ sudo do-release-upgrade -m server 0 packages can be updated. 0 updates are security updates. My question is, how can I remove the Ubuntu 12.04 LTS end-of-life was April 28, 2017 -- Upgrade your Precise systems! $ sudo do-release-upgrade -m server it wasn't there prior the release-upgrade I checked and I am on Zesty lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty My question is not, how can I remove this message, this I found. My question is more, is there a reason why this appears after a release-upgrade? Is this message something generic not taking into consideration the current version of Ubuntu? Or maybe my system is not updated properly?",
"Help with proof of $|x+y| \\geq |x|-|y|$",
"Heroes of Might and Magic VI seems to have installed a program called \"Uplay\", which it uses to launch (in addition to Steam, mind!) What exactly is Uplay supposed to be? I notice that when I stop playing, it captchalogs the highlights of my past session (achievements earned, etc.) - which is kinda cool, but also kinda creepy and big-brotherish. Given that I value my privacy, is there anyway to play Uplay games without using Uplay? Is this just Ubisoft's infamous \"always-on\" DRM?",
"Make gnome-terminal show the command running as title I want the name of command running , e.g unzip to be visible through the title bar of gnome-terminal , but it seems to be impossible , if the application running doesn't set a title explicitly , even though I choose 'Replace initial title' option in the profile dialog.",
"Expected time to roll all 1 through 6 on a die What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die? The order in which the numbers appear does not matter. I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation. We were given the answer $(1-(\\frac56)^n)^6 = .5$ or $n = 12.152$ Can someone please explain this to me, possibly with a link to a general topic?",
"Why is using a wild card with a Java import statement bad? It is much more convenient and cleaner to use a single statement like import java.awt.*; than to import a bunch of individual classes import java.awt.Panel; import java.awt.Graphics; import java.awt.Canvas; ... What is wrong with using a wildcard in the import statement?",
"In ideal gas model, is the measure of average kinetic energy of the gas molecules. If by some means the gas particles are accelerated to a very high speed in one direction, KE certainly increased, can we say the gas becomes hotter? Do we need to distinguish the random vibration KE and KE in one direction? Furthermore, if we accelerate a block of metal with ultrasonic vibrator so that the metal is vibrating in very high speed with cyclic motion, can we say the metal is hot when it is moving but suddenly become much cooler when the vibration stop?",
"For $V$ vector space of dimension $n$ under $\\mathbb C$ and $T: V \\to V $ linear transformation , show $V= \\ker T^n \\oplus $ Im $T^n$",
"A two way String hash function",
"Algorithm faster than Newton's for calculating $\\sqrt{2}$"
] | medi_sts_stackexchange_dupe |
Why is power transmission carried out at low current high voltage? | High Voltage Powerlines - clarification of energy loss | [
"How to redirect output of an entire shell script within the script itself? Is it possible to redirect all of the output of a Bourne shell script to somewhere, but with shell commands inside the script itself? Redirecting the output of a single command is easy, but I want something more like this: #!/bin/sh if [ ! -t 0 ]; then # redirect all of my output to a file here fi # rest of script... Meaning: if the script is run non-interactively (for example, cron), save off the output of everything to a file. If run interactively from a shell, let the output go to stdout as usual. I want to do this for a script normally run by the FreeBSD periodic utility. It's part of the daily run, which I don't normally care to see every day in email, so I don't have it sent. However, if something inside this one particular script fails, that's important to me and I'd like to be able to capture and email the output of this one part of the daily jobs. Update: Joshua's answer is spot-on, but I also wanted to save and restore stdout and stderr around the entire script, which is done like this: # save stdout and stderr to file # descriptors 3 and 4, # then redirect them to "foo" exec 3>&1 4>&2 >foo 2>&1 # ... # restore stdout and stderr exec 1>&3 2>&4",
"Get OS-level system information I'm currently building a Java app that could end up being run on many different platforms, but primarily variants of Solaris, Linux and Windows. Has anyone been able to successfully extract information such as the current disk space used, CPU utilisation and memory used in the underlying OS? What about just what the Java app itself is consuming? Preferrably I'd like to get this information without using JNI.",
"How to properly indent PHP/HTML mixed code?",
"hard self collision: make particles occupy space",
"Is there any way to get the ID of the element that fires an event? I'm thinking something like: $(document).ready(function() { $(\"a\").click(function() { var test = caller.id; alert(test.val()); }); }); <script type=\"text/javascript\" src=\"starterkit/jquery.js\"></script> <form class=\"item\" id=\"aaa\"> <input class=\"title\"></input> </form> <form class=\"item\" id=\"bbb\"> <input class=\"title\"></input> </form> Except of course that the var test should contain the id \"aaa\", if the event is fired from the first form, and \"bbb\", if the event is fired from the second form.",
"Is it possible to make abstract classes in Python?",
"Stack Exchange iOS app nearing beta We're getting very close to releasing our iOS app on the App Store. Since the , we have taken on hundreds of users, fixed a lot of bugs, and we have approached feature completion for v1.0. We're still working on finishing touches and fixing crashes - but there aren't too many of those these days. We believe we'll have this out in . Current Alpha Testers: We want to extend to you a huge thank you for using our app and giving us feedback. We've made a ton of improvements that filtered through here on meta. We're pretty greedy, though, and we want more of your feedback as we get close to beta. If you've been using the app, please leave an answer to tell us how you think we've done so far. Don't go easy on us - we want to get this as right as we can before hitting the App Store. You might even consider telling us how many stars you would give us if we were in the store. Also, we created a room called for more casual discussion about the app. Everyone Else: The alpha will continue in the interim, and we still . The invitations are sent out once a week (usually), so if you don't get an invite right away, don't panic. We'll get to you. Bugs or feature requests should be reported here on meta and tagged . Update, 5/1/2014 As of today, the app is submitted for review. A great big thanks to all our alpha testers! Your feedback has been invaluable and has truly helped us make the app much better than it would have been without you. So what now? Well, we intend to keep the alpha test group around, except now we're considering it the \"beta channel\". It's still important to us, particularly since the update cycle through the AppStore is slow. We'll still roll out updates in the same way that we have been. We will also from time ask for targeted feedback on specific features. And, lastly, if you're just now getting here and wished you had signed up for the alpha, feel free to sign up now anyway. The form is still there, and we may still let in additional users to the beta channel depending on what our \"active users\" count looks like.",
"Figure reference \\ref{fig:result} renders as ?? in PDF",
"How to sum data.frame column values?",
"Difference of $R^2$ between OLS with individual dummies to panel fixed effect model? Based on my understanding, panel fixed effect model is equivalent to OLS with individual dummies. However, when I ran the two models in R, the $R^2$ from the two models were quite different: 0.8 for OLS with individual dummies and 0.06 for fixed effect model. Is it the case that in fixed effect model, the fixed effects (individual dummies) are excluded from the calculation of $R^2$?",
"Lines appear on the texture in render I am trying to learn Blender. While trying to render a subdivided plane with an image texture applied to it, the subdivision edges are not removed in the rendered result. Kindly, advise, why these edges appear in the render.",
"How to prevent system applications (like the Software Center) from asking for password?",
"Nginx installation error in Ubuntu 16.04 :~$ sudo apt-get remove nginx* && sudo apt-get install nginx-full* Reading package lists... Done Building dependency tree Reading state information... Done After this operation, 5,579 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nginx-full-dbg amd64 1.10.0-0ubuntu0.16.04.1 [3,789 kB] Fetched 3,789 kB in 33s (112 kB/s) Selecting previously unselected package nginx-common. (Reading database ... 189767 files and directories currently installed.) Preparing to unpack .../nginx-common_1.10.0-0ubuntu0.16.04.1_all.deb ... Unpacking nginx-common (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full. Preparing to unpack .../nginx-full_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full-dbg. Preparing to unpack .../nginx-full-dbg_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full-dbg (1.10.0-0ubuntu0.16.04.1) ... Processing triggers for ufw (0.35-0ubuntu1) ... Rules updated for profile 'Apache Full' Rules updated for profile 'Nginx HTTP' Processing triggers for systemd (229-4ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up nginx-common (1.10.0-0ubuntu0.16.04.1) ... Setting up nginx-full (1.10.0-0ubuntu0.16.04.1) ... Job for nginx.service failed because the control process exited with error code. See \"systemctl status nginx.service\" and \"journalctl -xe\" for details. invoke-rc.d: initscript nginx, action \"start\" failed. dpkg: error processing package nginx-full (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nginx-full-dbg: nginx-full-dbg depends on nginx-full (= 1.10.0-0ubuntu0.16.04.1); however: Package nginx-full is not configured yet. dpkg: error processing package nginx-full-dbg (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: nginx-full nginx-full-dbg E: Sub-process /usr/bin/dpkg returned an error code (1)",
"What is the difference between the dashed and solid attack bars? I was flipping through my Pokemon list to see which kind of attacks they had, and I notice there was a small different between the attacks. Some attacks contained a dashed blue bar where as others contained a solid blue bar. What is the difference and significance between the two?",
"Motivation for Ramanujan's mysterious $\\pi$ formula The following formula for $\\pi$ was discovered by Ramanujan: $$\\frac1{\\pi} = \\frac{2\\sqrt{2}}{9801} \\sum_{k=0}^\\infty \\frac{(4k)!(1103+26390k)}{(k!)^4 396^{4k}}\\!$$ Does anyone know how it works, or what the motivation for it is?",
"Why can't an enum value be fully qualified in a switch statement?",
"My request is simple: Many times, there will be a question where some people feel like it should be closed. At the same time, I'll feel like it's a perfectly legit question, and it should therefore NOT be closed. Right now, I have to wait till it gets enough close votes (which it always does for some reason, as soon as 1 or 2 people vote to close, e/o else decides to vote as well) and then vote to re-open. How about, as soon as there's one vote to close, there should be an option to counter the close vote, something like \"vote not to close\" or whatever. This would then bring the \"Vote to close\" number down by one. Only when the vote to close outnumbers the vote not to close by 5, that's when a question is indeed closed. Any thoughts?",
"Would a fast interstellar spaceship benefit from an aerodynamic shape? Some (generous) assumptions: We have a spaceship that can reach a reasonable fraction of light speed. The ship is able to withstand the high energies of matter impacting at that speed. Given the amount of matter in inter-stellar space, at high speed, would it encounter enough of it and frequently enough that an aerodynamic shape would significantly reduce its drag (and thus save fuel)?",
"Unless I missed something key during Descent 1/2, how is it that the Borg are once again a collective?",
"How to specify font size less than 10pt (or more than 12pt)?"
] | medi_sts_stackexchange_dupe |
Uniform convergence of $f_n(x) = \frac{nx}{1+n^2x^2}$ on $[a,\infty), a>0$ | Uniform convergence on two separate intervals | [
"How to avoid becoming stressed while playing endurance games? Although I am asking for Super Hexagon, I've noticed there is a multitude of games (rhythm games in particular) where the more stressed I am, the worse I play and/or are more likely to make a mistake. Often then the games are designed in such a way to induce stress, such as various ways of telling me how far I am, which also is telling me just how much it would suck if I were to fail right now. This leads to a stress cycle, where I am noticing I am stressed, and I am aware of this being a bad thing, which makes me more stressed, over and around until I eventually fail. This often means that I probably could've done <some new level I just unlocked> just fine, except I saw that it was new, got stressed about it and started the stress cycle. So how can I: Avoid getting stressed while playing Defuse the stress cycle once it has inevitably started One thought I had for this is simply taking deep breaths, but particularly in Super Hexagon, there is no way to pause and taking deep breaths is distracting enough to make me fail.",
"I've recently run into a proof that claims that $1 - 1 + 1 - 1 + 1 - 1 ... = \\frac{1}{2}$ that proceeds as follows: Let $S = 1 - 1 + 1 - 1 + 1 - 1 + ...$. Then $$S = 1 - (1 - 1 + 1 - 1 + 1 - 1 ...) = 1 - S$$ Therefore, $2S = 1$, so $S = \\frac{1}{2}$. QED I was under the impression that this sum doesn't converge, and therefore this step of the proof is invalid: Let $S = 1 - 1 + 1 - 1 + 1 - 1 + ...$ That is, it's not even valid to suppose that the sum is equal to some (implicitly real or complex) number $S$, and therefore the reasoning that follows is meaningless because $S$ doesn't exist and therefore has any properties we want it to have. Is the reasoning I've given above correct? That is, is it correct for me to claim that the proof fails because $S$ doesn't exist? (I've heard that there are techniques for evaluating divergent integrals by using complex analysis and Taylor series, so perhaps there's another way to prove that the summation is $\\frac{1}{2}$; I just wanted to see whether my reasoning is sufficient to explain why this particular proof is incorrect. If the proof actually is correct, then I stand corrected!) Thanks!",
"Can I get more than 1000 records from a DirectorySearcher? I just noticed that the return list for results is limited to 1000. I have more than 1000 groups in my domain (HUGE domain). How can I get more than 1000 records? Can I start at a later record? Can I cut it up into multiple searches? Here is my query: DirectoryEntry dirEnt = new DirectoryEntry(\"LDAP://dhuba1kwtn004\"); string[] loadProps = new string[] { \"cn\", \"samaccountname\", \"name\", \"distinguishedname\" }; DirectorySearcher srch = new DirectorySearcher(dirEnt, \"(objectClass=Group)\", loadProps); var results = srch.FindAll(); I have tried to set srch.SizeLimit = 2000;, but that doesn't seem to work. Any ideas?",
"I want to make a JavaScript application that's not open source, and thus I wish to learn how to can obfuscate my JS code? Is this possible?",
"Light emission from the vicinity of a black hole The photograph of the black hole, at the centre of galaxy M87, is now a part of human history. We are told that the red-colour is caused by hot gas, matter & radiation around the \"edge\", the Event Horizon. Given the power of the gravitational forces emanating from black hole, why aren't these three things drawn into the abyss? If light is bent/ drawn into the BH, how does this red image arise? The logic, here, would be that a body, on the Event Horizon, is immune from the gravity--which sounds pretty fatuous?",
"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?",
"How do I see a C/C++ source file after preprocessing in Visual Studio?",
"Probability density and distribution function I am new to probability course and find concepts very confusing. I am learning maximum likelihood estimation and as a starting point for that do we find the density or the distribution? In general, do we find the distribution from density or is it vice versa and how does one find it? For example, for Gaussian distribution do we find the density of a variable or the distribution so as to estimate unknown parameter A in the case x[n] = A + w[n] where w[n] are uncorrelated gaussian noise. This may sound too trivial but I am really confused. In many contexts I have come across where pdf = prob. density function and in some areas I find pdf = prob distribution function !!",
"Mechanism of Screenshot Basically I with my team are figuring out a way to block screenshots taken on our corporation's computers (Mac mostly). I have searched it extensively and found that there is something called Screen buffer which is being accessed by any screenshot taking software (eg. Snipping Tool etc). I tried to find the exact mechanism and the actual implementation of such softwares but with no luck. Also I found out that Netflix uses some kind of technology which corrupts screenshot image and blackens it. I did not find any actual mechanism or implementation to study it further. I also came across something called Hardware overlays but did not understand it properly in order to use it for actual implementation. I have considered a way to edit scancode maps in registry but I am looking for a more general way. I read a few articles for apple's FPS though. Can somebody please guide me through this? Some good resources for the same would be highly appreciated. Any particular or relevant forums or subs to discuss this are also welcome",
"Local Coordinate to Geocentric The ultimate question, I need a transformation matrix to take a point in local space representing a roughly 500m x 500m place in New Mexico centered at -108.619987456 long 36.234600064 lat. The final output needs to be in geocentric coordinates and I can during initialization get any number of points on the map such as the corners, center, western most along the center etc. During run time I would like to have a transformation matrix that can be applied to a position in local space expressed in meters and get back an approximate GCC coordinate. The center of the point in GCC: -1645380 -4885138 3752889 The bottom left corner of the map in GCC: -1644552, -4881054, 3749220 During run time I need to be able to multiply (-250, -250, 0) with the transformation matrix and get something close to (-1644552, -4881054, 3749220). I've spent more than a week trying to research a solution for this and so far nothing. Given an identity matrix as our starting position and orientation. Then using geotrans and the known lat, long, and height of the starting position I get an x,y,z geocentric coordinate. A vector from the origin of (0,0,0) gives both the up and translation for the matrix. However, I need the forward and right so that I can pass a distance in meters from the origin into the transformation matrix and get a roughly accurate GCC. Do I have all of the inputs I need to calculate the right and forward? Inputs Origin: 0, 0, 0 Global: -1645380, -4885138, 3752889 Up (Normalized): Global - Origin Desired Outputs Right: ? ? ? Forward: ? ? ? So with the right and forward added to the up and translation I already calculated I would have a transformation matrix. I could then apply the matrix to a vector of say (50, 50, 0) and get something within about 0-3 cm of the output if I feed the lat/long back into geotrans. This matrix would only ever be used small maps of about 500m x 500m so the curvature of the earth is negligible. In reply to whuber, I don't know your level of experience so I will start with the very basics. An identity matrix is a 4x4 matrix that you can multiply by a vector and it returns the vector unchanged. Such as below. 1 0 0 x=0 0 1 0 y=0 0 0 1 z=0 0 0 0 1 The x, y, and z of the matrix are how much to translate the vector by and the first 3 rows and columns are the rotation. Below is a tranformation matrix that does nothing to the orientation of a vector but does translate. This is what you would want for two axis aligned worlds in different locations. 1 0 0 13 0 1 0 50 0 0 1 -7 0 0 0 1 If you were to multiply a vector of (10, 10, 10) with the above transformation matrix you would get an output of (23, 60, 3). My problem is the axes are not aligned and the \"plane\" of the world I am trying to get the local coordinate converted to is projected on the ellipsoid of the earth. Geotrans is library that you can use to pass a coordinate from one system such as geodetic or GDC (lat, long, height) and get back another such as geocentric or GCC (x,y,z). For example: If my game world was representing a map centered exactly on the prime meridian and equator the transformation matrix would look something like below. I am just guesstimating the Y and Z rotations and might have them flipped and/or the wrong sign. 0 0 1 6378137 0 1 0 0 1 0 0 0 0 0 0 1",
"Is there any way to automatically get notified of property changes in a class without having to write OnPropertyChanged in every setter? (I have hundreds of properties that I want to know if they have changed). Anton suggests . I've actually used the \"Castle\" library for something similar in the past, and while it does reduce the amount of code I've had to write, it added around 30 seconds to my program startup time (ymmv) - because it's a runtime solution. I'm wondering if there is a compile time solution, maybe using compile-time attributes... Slashene and TcKs give suggestions which generates repetitive code - unfortunately, not all my properties are a simple case of m_Value = value - lots of them have custom code in the setters, so cookie-cutter code from snippets and xml aren't really feasible for my project either.",
"How do I tell if matrices are similar?",
"Javascript Date: next month",
"How much memory can a 32 bit process access on a 64 bit operating system?",
"In English, especially in a poetic description, ships and cars are referred to as \"she\". Maybe their owners compare their beauty and elegance with those of women, but what if a female owner wanted to describe her yacht or car? Would she also say, \"She is a real beauty\", or it might be \"he\" then? Does the choice of a pronoun depend on whom she is giving the description of it to — a man or a woman? What about a man-o’-war or a merchantman? Being ships, are they also referred as \"she\"? P.S. on the use of \"she\" in reference to ships, but there seems to be no answer to my question there. P.P.S. My question wasn't pulled out of a thin air. I came across a book by a prominent Russian linguist, G.Veichman, written in 1990, (Novelties in The English Grammar is my translation of the title), where I read that the rule of personification of vehicles may be added regarding a female owner talking about her car using the preposition \"he\". Period. No further explanation or reference examples.",
"Compute $\\int_{0}^{\\infty}\\frac{x\\sin 2x}{9+x^{2}} \\, dx$",
"I'm a committer for the . It went to the private beta phase sometime in the last 12 hours, but yet to have been invited. When I visit I get the standard \"To log in, you must have commited to the Area 51 site proposal and received the invitation email.\" message. However, when I navigate to the Pets site via the Android app, I'm able to view the site in it's entirety (questions, answers and comments). When I attempt to post, I get a message saying my user token isn't allowed to take action on this site. Same behavior is observed when using the iOS app.",
"What I want is to create a bootable pen drive that shows GRUB menu and I can select any of the several bootable systems from there to install/run. I have several ISO images that I want to install in the USB like Ubuntu, Fedora, System Rescue CD, Windows XP and Windows 7 (The windows versions are optional, mostly am looking for a multi installer for Linux distros, specially Ubuntu version) The default Startup Disk Creator only works with Linux Images and only 1 at a time (At least for the mean time. If it allows more systems and multiple ISOs it would be awesome) What method exists that I can use step by step to create a bootable USB Drive with multiple images than can be booted from the USB and selected from GRUB. It must support Windows Images and Linux Images. Alternatively, is there also a way to have multiple versions of the Ubuntu installation ISO on same USB Drive, such as, when booting from it, I get to choose what Ubuntu version and architecture to install, for example: BOOT MENU Ubuntu 12.04 32 Bit Ubuntu 12.04 64 Bit Ubuntu 12.10 32 Bit Ubuntu 12.10 64 Bit UPDATE: Wanted to add that the English version for the post mentioned by daithib8 is here:",
"How do I add a Pokestop to an area that has none? It is an area where there are tons of businesses but unless I drive about a mile from my work area there are no Pokestops. I want to add one since we have 1000's of people in the work area, a lot of them play Pokemon Go, and we all can't leave work to drive a mile away to get to a Pokestop area. Plus it would be nice to be able to capture Pokemon on our breaks.",
"Now, that Ubuntu 17.10 is out, and Unity 7 is replaced with Gnome 3, is there a way to install and use Unity7? I know Unity is still in the repositories, so it should be possible, right?"
] | medi_sts_stackexchange_dupe |
C# returning from inside a using block | Is it a good approach to call return inside using {} statement? | [
"How come such different methods result in the same number, $e$? I guess the proof of the identity $$ \\sum_{n = 0}^{\\infty} \\frac{1}{n!} \\equiv \\lim_{x \\to \\infty} \\left(1 + \\frac{1}{x}\\right)^x $$ explains the connection between such different calculations. How is it done?",
"How can I combine two render layers? I would like to know which nodes can I combine this two render layers width? I've made this with alpha over node and transparent rendering. I want such an image but I don't want to lose the background (Sky texture). Thanks for helping! :)",
"Why does Li-Po battery voltage drop under load? I have very low background in electronics. I have a Li-Po battery connected to an electric motor. The question is: Why does battery voltage drop under load? Why is each cell of a Li-Po battery limited to 3.0 V (discharging)? Why is each cell of a Li-Po battery limited to 4.2 V (charging)?",
"Using QGIS 3 graphical modeler I created a model with a variety of input parameters (> 10). When starting the model, a nice user interface is generated. But the arrangement of the GUI elements is totally confused and apparently unpredictable during creating the model. It does neither seem to depend on the arrangement of input parameters in the graphical modeler nor on the chronological order in which the input parameters are added to the model. Is there a way that let's me arrange the GUI elements in the order I desire?",
"What is the limit of: $$\\lim_{n\\to \\infty} \\frac{n^1+\\dots+n^n}{1^n+\\dots+n^n} = ?$$ I did some computation with big numbers, I guess it is in the interval $\\left(\\frac{1}{2},1\\right)$.",
"Can I get notification when event occur? SQL Servers has Traces and XEvents. These are used to capture and analyze what is going on with our SQL Server Instances. Events are stored in the stack for later analysis. For example, If I decide to monitor any dead lock in the database, I just query the trace file to see the history of deadlock for a period of time. Here is my question: While events occur, in our example deadlock event, is there a way to get an email notification using msdb.dbo.xp_send_dbmail?",
"How to zoom in/out an UIImage object when user pinches screen?",
"When will L1 regularization work better than L2 and vice versa?",
"Can someone please give me some intuition as to when to choose either SVM or LR? I want to understand the intuition behind what is the difference between the optimization criteria of learning the hyperplane of the two, where the respective aims are as follows: SVM: Try to maximize the margin between the closest support vectors LR: Maximize the posterior class probability Let's consider the linear feature space for both SVM and LR. Some differences I know of already: SVM is deterministic (but we can use Platts model for probability score) while LR is probabilistic. For the kernel space, SVM is faster (stores just support vectors)",
"I am using gdal_rasterize to create a raster of a huge file containing polygons. I managed to generate the raster file with the right color and with the minimum size to tile it after with the gdal2tile. gdal_rasterize -of GTiff -co COMPRESS=DEFLATE -b 1 -b 2 -b 3 -burn 136-burn 46 -burn 17 -co PREDICTOR=2 -co ZLEVEL=9 -ot Byte -a_nodata 255 -a Niveau -ts 500000 500000 -l layer W:/layer.shp W:/layer.tif Tile will be used to overlay Google Maps so the polygon must be transparent. Has anybody experimented with this usage of gdal_rasterize and succeeded in setting the opacity of the output raster?",
"biblatex and autonum don't work together",
"Tree level QFT and classical fields/particles",
"Let $(a_n)_{n}\\in\\ell^2:=\\ell^2(\\mathbb{R})$ be a fixed sequence. Consider the subspace $$C=\\{(x_n)_{n}\\in\\ell^2 : |x_n|\\le a_n\\text{ for all }n\\in\\mathbb{N}\\}.$$ According to the book [Dunford and Schwartz, Linear operators part I, page 453] $C$ is compact in the $\\ell^2$-norm, but there is no proof. How can I show that $C$ is indeed compact in $\\ell^2$ ?",
"I remember a story I have read buy could not remember the author the name or anything apart from the basic plot. The story is about some future where humanity has to fight with some aliens (not 100% sure). The story tells about a guy who was some kind of activist and who was in a prison two or more times and somehow helped humanity by being held in a prison (can't remember details). I think the story starts by saying that there is a statue in his honor that is not very well known but he did more to help humanity than famous politicians. The story is most likely written by some famous English-speaking author, though I read it in a translation.",
"I am married to a UK citizen. What type of visa do I need to travel to the UK for tourism? I am a Bangladeshi citizen married with my husband who is a British citizen by birth. Currently, we both live in Bangladesh and my husband works at a university. We, are planning to visit UK for about 3 weeks. Just to be clear, we have no intention to settle down in the UK. Do I need to apply for a visa? If so, then what type of visa should I apply for? N.B. I've been searching on the internet (including the UK border agency website) for hours now but couldn't get a definite answer.",
"What is the difference between \\big[ (or equivalently \\big() and \\bigl[? Is it always necessary to mention l (left) and r (right)?",
"Sort and count number of occurrence of lines I have Apache logfile, access.log, how to count number of line occurrence in that file? for example the result of cut -f 7 -d ' ' | cut -d '?' -f 1 | tr '[:upper:]' '[:lower:]' is a.php b.php a.php c.php d.php b.php a.php the result that I want is: 3 a.php 2 b.php 1 d.php # order doesn't matter 1 c.php",
"Is it worth getting a suspension seat post as a cheap alternative to full suspension bike? I'm planning a ride from Birmingham to London on the Grand Union Canal (UK), which will be quite bumpy for most of the 145 mile distance. I have a front suspension bike and can't afford a new full suspension bike. Do suspension seat posts actually work? If so, I'll get one of them. Can anyone recommend a good model?",
"C# Textreader and TextWriter are the another way to read and write file respectively... I added a text box and button I called tbUpdate and btUpdate respectively... In the right hand column, we’ll use three TextBlocks; the first and third as fixed labels (with the values Likeability: and % respectively)... WorkerSupportsProgress and WorkerSupportsCancellation which hold true/false values that let the backgroundworker report progress or cancel an async progress respectively... While learning many the many different aspects of development, I have not come across a book or series where the word respectively is not used in explaining an example. Honestly I guess it's implied that we know what it means. To me I always kind of skim over it because I can usually figure out what they're saying through the surrounding context. Can anyone explain this?",
"Web designer's link back to own website (rel=\"designer\" / rel=\"nofollow\")"
] | medi_sts_stackexchange_dupe |
Distribution Function of ln(x) | Distribution of $-\log X$ if $X$ is uniform. | [
"How to substantiate the claim that something is not known? I am writing a master's thesis (in Number Theory) and there are multiple places where I need to claim that something is not yet known. Since I am not an expert (and even if I were) I would like to reference some more authoritative source than myself or, say, Wikipedia. For example, consider the following statement: In 1980 Schmidt proved that [some property holds]. No other necessary or sufficient conditions are currently known, though. For the first sentence I can cite Schmidt's original paper, but how can I substantiate the second claim?",
"Query to list number of records in each table in a database",
"Can't format / delete locked partition from GParted?",
"We have an Always On \"cluster\" that consists of 2 servers (there will be more), so one is PRIMARY and other(s) is(are) SECONDARY. The idea was to dedicate SECONDARY as a readonly replica, so it would be a somewhat search-server. I do know how to set ConnectionString in the C# so it will use SECONDARY replica - just add ApplicationIntent=ReadOnly. But I don't understand how to address the SECONDARY from stored procedure if I'm using distributed query. Is there a way to set some parameters to the query (like WITH statements or something), so query would use only replica and not the PRIMARY node? The thing is, obviously from the start server1 is PRIMARY and server2 is SECONDARY, but when server1 fails then server2 is PRIMARY and server1 will be SECONDARY after it get fixed. So I cannot just use the static server2's name. So far I've managed to get current replica's server name as a variable and use it in EXEC: -- find first available replica DECLARE @replicaServer nvarchar(50) SELECT TOP 1 @replicaServer = RCS.replica_server_name FROM sys.availability_groups_cluster AS AGC INNER JOIN sys.dm_hadr_availability_replica_cluster_states AS RCS ON RCS.group_id = AGC.group_id INNER JOIN sys.dm_hadr_availability_replica_states AS ARS ON ARS.replica_id = RCS.replica_id INNER JOIN sys.availability_group_listeners AS AGL ON AGL.group_id = ARS.group_id WHERE ARS.role_desc = 'SECONDARY' AND connected_state = 1 -- and query it DECLARE @cmd nvarchar(MAX) = 'SELECT * FROM [' + @replicaServer + '].[somebase].[someschema].[sometable]' EXEC (@cmd) But that's a shame, I guess.",
"Problem working fontspec, babel and datetime with cyrillic I have discovered that fontspec with russian babel settings doesn't work with datetime package. I tried to compile such code: \\documentclass[a4paper,11pt]{article} \\usepackage[T2A]{fontenc} \\usepackage[utf8]{inputenc} \\usepackage[main=russian,english]{babel} \\usepackage{datetime} \\usepackage[cm-default]{fontspec} \\begin{document} \\today \\end{document} with a xelatex and got an error: Command \\cyri unavailable in encoding EU1. Is there any way to handle it? UPDATE: I really bungle with charset in XeLateX. Thanks to egreg. I have removed fontenc and inputenc and used some cyrillic font, so my MWE now looks this way: \\documentclass[a4paper,11pt]{article} \\usepackage[main=russian,english]{babel} \\usepackage{fontspec} \\setromanfont{PT Sans} \\usepackage{datetime} \\begin{document} \\today \\end{document} and I've got another error, if I used russian as a main language in babel: Undefined control sequence. \\\\monthnamerussian ...cyrm \\cyra \\cyrya \\or \\cyri \\cyryu \\cyrn \\cyrya \\or \\c... Is it still because of XeLaTeX?",
"Bibtex style for \"Statistics and Computing\" I would like to create a bibtex style which answers the requirements of Statistics and Computing journal. How could I do that? Here is an example of how the bibliography should look like: Journal article: Hamburger, C.: Quasimonotonicity, regularity and duality for nonlinear systems of partial differential equations. Ann. Mat. Pura Appl. 169, 321–354 (1995) Book: Geddes, K.O., Czapor, S.R., Labahn, G.: Algorithms for Computer Algebra. Kluwer, Boston (1992) Book chapter: Broy, M.: Software engineering — from auxiliary to key technologies. In: Broy, M., Denert, E. (eds.) Software Pioneers, pp. 10–13. Springer, Heidelberg (2002) In the text, the references should be as follows: Negotiation research spans many disciplines (Hamburger 1995). Thank you for your help!",
"VHDL Transition Function",
"While browsing I have received notification on Google \"Unusual traffic from your computer network\" We're sorry...\"your computer or network may be sending automated queries. To protect our users, we can't process your request right now.\" See Google Help for more information. Right now I am using the \"Ubuntu 12.04\" 32 bit version. Any suggestion, why this is happens & How it resolve? Thank you for your worthy suggestion.",
"We have to shift our web-site to a new domain due to some unavoidable circumstances. The portal has been up and running there since 2009. It has good index in various search engines and we are getting a good number of page hits on daily basis. Losing the search hits and index are our big concern. We are not sure how best we can handle this. What all can be done to preserve as much as possible while shifting to new domain name.",
"Determining the dimension of span$\\{AB-BA : A,B \\in M_{n \\times n}(\\mathbb R) \\}$ Let $S$ be the subspace , of $M_{n \\times n}(\\mathbb R)$ (the vector space of all $n \\times n$ real matrices ) , generated by matrices of the form $AB-BA$ , where $A,B \\in M_{n \\times n}(\\mathbb R)$ , then how do we prove that $\\dim S=n^2-1$ ? The only thing that I can determine is that the trace of all matrices of $S$ is $0$ . Please help",
"Show all comments if there is just \"1\" extra comment to show When looking at a question or answer with comments, I think it would be better to just show that one extra comment if the threshold is \"Show 1 more comment\". In other words, if there are 6 comments, show all 6 comments. If there are 7 comments, then show 5 comments and the link \"Show 2 more comments\". Etc for more comments.",
"How can I rotate about an arbitrary point in 3D (instead of the origin)? I have some models that I want to rotate using quaternions in the normal manner, except instead of rotation about the origin, I want it to be offset slightly. I know that you don't say, in 3d space, that you rotate about a point; you say you rotate about an axis. So I'm visualizing it as rotating about a vector whose tail is positioned not at the local origin. All affine transformations in my rendering / physics engine are stored using SQT (scale, quaternion, translation; an idea borrowed from the book Game Engine Architecture.) So I build a matrix each frame from these components and pass it to the vertex shader. In this system, translation is applied, then scale, then rotation. In one specific case, I need to translate an object in world space, scale it, and rotate it about a vertex not centered at the object's local origin. Question: Given the constraints of my current system described above, how can I achieve a local rotation centered about a point other than the origin? Automatic upvote to anyone who can describe how to do this using only matrices as well :)",
"Novel(s) based on humanity fleeing from Earth and regressing to a pre-industrial state on a Colony so as to escape detection Shortly before his death, my father spoke to me about a series of novels that he had just finished reading which had a fascinating concept. However I soon forgot the title(s) and author and I've been absolutely desperate to find out what they were. The premise (as I understood) was that humanity had expanded out from the solar system into the local star systems before coming into contact with an incredibly aggressive species which was focused on wiping out the entire species. Earth and her colonies were lost as remnants of the species fled. Eventually it was decided by the military leadership to set up a colony in order to rebuild the human race. However, in order for this colony to escape detection and to keep humanity from going back out into space and thus potentially running into this hostile alien race again, a series of satellites were set up around the planet chosen that would lock onto and destroy any form of technology (and usually the surrounding city) that went beyond pre-industrial standards. One of the series protagonist is a long living android who possesses the consciousness of a human who was present at the original founding of the colony (and who seems shielded from detection) which observes as civilization is repeatedly regrown and torn down again and who attempts to try and reverse humanities self imposed lot in life. From what I understood this was a series of novels, but I could be wrong. I've been trying to find this for years on my own with only a rough plot line as a guide and it's gotten me nowhere.",
"I currently have a Yongnuo YN560-TX trigger and a Yongnuo YN-560 Mark III. I would like to get a iTTL flash that also works with remote triggering. How compatible are are different flash brands (Neewer, Yongnuo, etc.) when it comes to things like setting zoom, etc. ?",
"How to pipe the result of 'date' command to 'mv' command I want to rename my file to the current timestamp.I know how to get the current timestamp(\"date +%s\") but how can I pipe it to 'mv' command?",
"Why should the substitution be injective when integrating by substitution? I made a silly mistake in evaluating some integral by using a non-injective $u$-substitution. But why should $u$-substitutions be injective in the first place? I reasoned in the following way: the formula $$ \\int_{\\phi(a)}^{\\phi(b)}g(x)\\ dx = \\int_a^b g(\\phi(t))\\phi^\\prime(t)\\ dt $$ holds for a general $C^1$ function $\\phi$, even if it is not injective. When you calculate an integral of the form $\\int_a^b f(\\phi(t))\\ dt$, to use the formula above from right to left, you should find a function $f$ such that $$ f(\\phi(t)) = g(\\phi(t))\\phi^\\prime(t), $$ which do not exist if $\\phi$ is not injective, i.e., $\\phi(t) = 0$ for some $t$. This is why substitutions should be injective. Is my reasoning correct? If so, I believe that if $\\phi^\\prime(t) = 0 \\Rightarrow f(\\phi(t)) = 0$, a function $g$ that satisfies the formula above may exist and $\\phi$ should not necessarily be injective. Is this right? I am often confused about the fact $\\phi$ should be injective. Is there an intuitive way to interpret this fact, so that I always remember to take a $\\phi$ that is injective? I would be grateful if you could help me understand this matter.",
"More than one optional argument for newcommand The \\newcommand macro allows to use an optional argument for the first parameter #1 with: \\newcommand{\\mycommand}[3][defaultfor1]{blah blah blah} Is it possible to have more than one option with \\newcommand?",
"How did Google find my unlinked newly created pages? I am building a new site, but creating the content using a subdirectory on an existing site. I have never posted a link to this subdirectory anywhere, yet searching Google reveals that Google has found these pages on my site and indexed them. Further, I updated the site with a robots.txt file that WMT reports as being read, and testing the blocked pages using the WMT test tool indicates that the pages will not be indexed. Apparently this does not remove the pages from existing results, though I submitted a request to do so. How did Google find these pages to begin with? Is it because I used a common subdirectory name and Google guesses at common subdirectories?",
"I recently upgraded to Ubuntu 20.04 lts from 18.04 lts. After reboot audio is not working. I tried to reinstall pulseaudio and alsa but still not working. sudo apt-get install --reinstall alsa-base pulseaudio sudo alsa force-reload still not working. output └─▶ inxi -SMA System: Host: Wizard Kernel: 5.4.0-26-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa) Machine: Type: Portable System: Dell product: Vostro 2520 v: N/A serial: <superuser/root required> Mobo: Dell model: 0V1NDP v: A11 serial: <superuser/root required> BIOS: Dell v: A11 date: 02/24/2014 Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-26-generic output └─▶ lspci 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4) 00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM75 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04) 07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01) 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)",
"Finding a basis for a certain vector space of periodic polynomials I am having a little bit of trouble solving an homework question. I found that $S={ p(x) \\in R_4[x]} \\big| p(x)=p(x-1) $ is a vector space. Now I need to find some set, K that holds ${span(k)=S}$ My idea was to substitute: $ a+bx+cx^{2}+dx^{3}+ex^{4}=a+b(x-1)+c(x-1)^{2}+d(x-1)^{3}+e(x-1)^{4}$ But here I get something that seems a little bit weird, I'd like to look if I have any mistakes that I did not notice. and if I had mistakes, how to make my answer right. I calculated the right side of the equation and I got to : $a+b(x-1)+c(x-1)^{2}+d(x-1)^{3}+e(x-1)^{4}=a+bx-b+cx^{2}-2cx+c+dx^{3}-3dx^{2}+3dx-d+ex^{4}-4ex^{3}+6ex^{2}-4ex+e= (a-b+c-d+e)+(b-2c+3d-4e)x+(c-3d+6e)x^{2}+(d-4e)x^{3}+ex^{4} $ From here, $ (a-b+c-d+e)+(b-2c+3d-4e)x+(c-3d+6e)x^{2}+(d-4e)x^{3}+ex^{4}=a+b(x-1)+c(x-1)^{2}+d(x-1)^{3}+e(x-1)^{4}\\Rightarrow $ $(-b+c-d+e)+(-2c+3d-4e)x+(-3d+6e)x^{2}+(d-4e)x^{3}=0+0x+0x^{2}+0x^{3}+0x^{4}$ And the solution to this equation is only whan $a=b=c=d=e=0$. I think that I am maybe not in the right direction. Do you have any Idea how to find a set $K\\Rightarrow span(K)=S$ ? Thanks in advance."
] | medi_sts_stackexchange_dupe |