query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
listlengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Function split in C++? | How do I iterate over the words of a string? | [
"Write this equation I want to write this equation in this way down but I have been unsuccessful. How can I improve this codes in order to get the equation below? \\[ DeltaC{t} = \\left\\{ \\begin{array}{ll} -1.40- 0.588w_{t-1} - 0.5351\\DeltaC_{t-1}+ 0.169\\DeltaBC_{t-1} & \\mbox{ if $w_{t-1}<- 0.62$} \\\\ -1.40 - 0.588w_{t-1} - 0.5351\\DeltaC_{t-1} + 0.169\\DeltaBC_{t-1} & \\mbox{$w_{t-1}>0.62$} \\end{array} \\right. \\]",
"How do I extract an ISO on Linux without root access",
"Selecting the right crank length What is the best way to determine the correct crank length for my height and more specifically my leg length?",
"Connected compact covering space of torus is homeomorphic to $S^1\\times S^1$",
"Ubuntu 14.04, problem when install gstreamer1.0-libav, unmet dependencies",
"Why are useful questions on StackOverflow being closed as non-constructive? Useful threads are being closed as \"not constructive:\" This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the . For example, was very useful for me since I am new to obfuscation and the question gave me a start. Also that question has lots of votes and bookmarks - these alone are the markers of usefulness. The question is closed anyway. No idea why. Same happened to my question, , which received one bookmark immediately. I was waiting for an answer with the two products downloaded and installed. I desired that experienced people would share their thoughts and point me to the better one. No. Closed. I.e. I must go to some other forum and ask there or I must search on Google and write down the pros and cons of each myself. I am not asking questions just because I have tons of time and want to chat; I need an answer, that's why I am asking. I am asking because I think that SO has the most professional people to answer and because I didn't find a good answer in Google. I saw other questions closed which I myself found to be useful and I bookmarked some of the closed questions. UPDATE If I want people who have an experience which I do not have with some software products and I want to see which product is better in the terms of usability and reliability, not just better in terms of the price or has a better official website or better described on the official website, how do I ask this question? Or is this a question which I cannot ask on SO? I.e. this sort of information is not available on SO? Is this one breaking the rules as well: ?",
"I've googled and also searched the answers here but couldn't find my problem so here goes: I know how to bevel a curve using another object and when I try it with a normal circle it's fine. But I'm trying to use this flat oval shape to bevel a larger curve of the same shape and it's not following the curve at the correct rotation. I've tried everything, rotating the bevel object, clicking random options in the object data menu.. I can't seem to budge it from looking how it is in the screenshot. In the screenshot you can see the curve I've failed to bevel correctly and also the bevel object in the bottom right. Basically, I want the flat part of the oval to be above and below the curve, not on the sides as it is. I hope that makes sense. Anyone know what I need to do?",
"Rational solutions of $y^2 = x^3 - x$",
"I tried to install Xubuntu 13.10 on an older computer. I noticed some difficulties during installation that may be relevant to my problems. Notably: The screen resolution was extremely low. The windows were much larger than the screen and I had to move them around to get to the \"Next\" button. The mouse cursor was a blur of colours that was flashing all the time. The installation finished and I tried to reboot the computer. Immediately I got: error: attempt to read or write outside of disk 'hd0'. Entering rescue mode... grub rescue> I made a USB disk, booted it and chose the default repair. The application told me that the problem is repaired and that If this does not solve my problem I should show to someone who can help me. What should I do next? I already tried to install Ubuntu and Xubuntu, both with no success. EDIT: I found a workaround. Insert the Xubuntu live USB Select \"try Xubuntu\" In the settings menu select \"install Xubuntu\" This fixed the problem for me. Since it is solved I cannot test the answer.",
"Laplace transform of $1/t$",
"Let's disallow moderator nominations from people who've been suspended in the past year",
"How to make crontab email me with output? How can I make crontab email me with the output of its jobs? I have [email protected] above the jobs, but it doesn't work. I know I need to use something like Postfix or Sendmail but for the life of me I cannot find out how to achieve this. I've searched and searched for a simple guide on setting up Postfix but they're all insanely complicated and expect you to be setting up a whole server to send and receive email and to know all the terms (like, what is a domain name for outgoing emails?). All I want to do is have crontab email me. Why is this so difficult?? Additional Info: My crontab file looks like this: [email protected] 1 0 * * * ~/Desktop/toskymesh.sh 59 6 * * * ~/Desktop/tooptus.sh 0 3 * * * snapraid sync More Additional Info: The output of ps -ef | grep '[s]endmail' root 6840 1370 0 10:26 ? 00:00:00 sendmail: MTA: accepting connections I know for sure cron is working, but I'm testing the mail command with echo Test | mail -s Test [email protected] anyway.",
"Virtual functions and performance - C++ In my class design, I use abstract classes and virtual functions extensively. I had a feeling that virtual functions affects the performance. Is this true? But I think this performance difference is not noticeable and looks like I am doing premature optimization. Right?",
"I have a few satellites and stations orbiting my planets, but I'd like to add onto them. I've seen numerous videos on using docking clamps to attach my new ship to the existing station, but can I do that on a part-by-part basis? For example, I take an extra fuel tank up there, can I attach just the tank to my station, then send my vessel back to Kerbin? I'm not talking about refueling, but rather transferring individual parts from my ship to the station in orbit. I'd prefer to not have to use an unmanned probe and jettison everything but the desired part in space after docking if possible, but if that's the only way I guess I don't have a choice.",
"No association bonus for Area51? My Area51 account crossed 200 rep today, but still other accounts don't reflect the change in reputation. When will the changes be applied? or is there no association bonus for Area51 account?",
"Schengen visa in US without H1B stamp",
"I'm very new to latex, and I've noticed that using a book class causes the text on one page to be on the right and then left on the next and so on. I'd like for it to all to be on the left or centered. How can I change this?",
"Potential energy of an infinitesimal length of elastic rod",
"Prove $n\\mid \\phi(2^n-1)$ If $2^p-1$ is a prime, (thus $p$ is a prime, too) then $p\\mid 2^p-2=\\phi(2^p-1).$ But I find $n\\mid \\phi(2^n-1)$ is always hold, no matter what $n$ is. Such as $4\\mid \\phi(2^4-1)=8.$ If we denote $a_n=\\dfrac{\\phi(2^n-1)}{n}$, then $a_n$ is , but how to prove it is always integer? Thanks in advance!",
"Why is variance squared?"
]
| medi_sts_stackexchange_dupe |
Generic extending class AND implements interface | How can I require a generic parameter to be an enum that implements an interface? | [
"How do I iterate over cin line by line in C++?",
"How to find bases for a subspace defined by an equation",
"OS keyboard shortcuts conflict with apps keyboard shortcuts in GNOME 3 I have Ubuntu 16.04 with GNOME shell. I set ctrl+shift for the \"Modifiers-only switch to next source\" option. This shortcut conflicts with apps hot-keys. I can't use ctrl+shift+i to open devtools in Chrome, it just switches the layout. In VS code IDE if I press shortcuts with ctrl+shift (for example ctrl+shift+f), shortcuts work but always switch a keyboard layout. When I used Windows this problem didn't exist. Can I set the ctrl+shift shortcut in such a way that it causes a switch action only after the keys are released and only if this 2 keys were pressed (without additional keys)?",
"Is there a way to convert number words to Integers? I need to convert one into 1, two into 2 and so on. Is there a way to do this with a library or a class or anything?",
"Poisson Distribution of sum of two random independent variables $X$, $Y$",
"Do I need a visa to transit (or layover) in the Schengen area?",
"Understanding complete separation for logistic regression Why does logistic regression not converge for a linearly separable data set? For linear separable data sets the model parameters go to infinity when mimizing the error function (according to Bishop2006, Pattern recognition and machine learning, section 4.3.2). I don't understand why. It must be connected to setting the score function, i.e. the derivative of the error function, to zero. The error function is given by $E(\\mathbf{w})$ as shown in the figure below. Where $\\mathbf{t}$ is the target variable vector of the training set and $\\mathbf{w}$ the parameter / coefficient vector. The posterior probabiltiy for class 1 is given by $$y(n) = p(C_1|\\mathbf{x}_n) = \\sigma(\\mathbf{w}'\\mathbf{x}_n).$$ Where sigma is the logistic sigmoid function and $\\mathbf{x}_n$ is the feature vector for instance $n$ including the predictors. My second question to logistic regression is if the to posterior probabilities $p(C_1|\\mathbf{x}_n)$ and $p(C_2|\\mathbf{x}_n)$ sum to one?",
"Is this a capacitor start motor and can I start it with a microwave capacitor I salvaged an old motor out of a air conditioner and I want to know if it's a capacitor start motor if I can start it with the capacitor I have and how to start it. I included pictures of the motor and capacitor btw i have never worked with capacitive start motors so i need details on exactly how to wire it up with out ruining it",
"What does the '=>' syntax in C# mean? I just came over this syntax in some of the questions in this forum, but Google and any other searchengine tends to block out anything but letters and number in the search so it is impossible to search out \"=>\". So can anyone tell me what it is and how it is used?",
"It's a really simple question. However I didn't see it in books and I tried to find the answer on the web but failed. If I have two independent random variables, $X_1$ and $X_2$, then I define two other random variables $Y_1$ and $Y_2$, where $Y_1$ = $f_1(X_1)$ and $Y_2$ = $f_2(X_2)$. Intuitively, $Y_1$ and $Y_2$ should be independent, and I can't find a counter example, but I am not sure. Could anyone tell me whether they are independent? Does it depend on some properties of $f_1$ and $f_2$? Thank you.",
"What is the smallest convex set includes all smooth unit curves? I try to understand: is there a smallest in area convex set that every smooth curve with length 1 can be placed inside it by translation and rotation? I only have a upper bound $S \\leq \\frac14+\\frac{\\pi}{16}$ because of convex hull of two circles radius $\\frac14$ and simple lower bound $S\\geq\\frac1{4\\pi}$. Does this set exist and what is its length?",
"Used the internet and deleted history (Internet Explorer). Can anyone find out still that I used it? What can they still find out? As the question states: I used the internet on a shared machine and deleted history (Internet Explorer), which deletes all of the following: I do not want anyone to know that I used the internet or the Internet Explorer application. Can anyone with access to the computer find out still that I used the internet? Could they even find out what sites I visited? Or what could they find out, and how? As to the \"anyone\" I'm talking about, I mean I used a university computer, that are not suspicious but just in case they decided to take the computer and check to see if I used the internet, I want to make sure they can't find anything out. How can I cover my tracks to minimize the chances that they find out I used the internet on the machine? And by use, I mean even cover up the tracks that I opened the Internet Explorer application.",
"\"All I need (is/are) cigarettes and alcohol\": which one is correct? In one of Oasis's songs — Cigarettes and Alcohol — there are two sentences that make me confused: All I found was cigarettes and alcohol ...and... All I need is cigarettes and alcohol Why would is and was be correct in these sentences instead of are and were, since they're referring to more than one thing?",
"A bounce-rate attack to manipulate SEO? This is a question to experienced people that might help us shed some light on the issue. We noticed a very strange behavior on our site, in Google Analytics. Some dude from Finland, namely, from Kouvola city is hitting one of our pages - only one page on our site, 'bout a hundred times per day, all with an average bounce rate of 90%+... This is causing our overall bounce rate to go up by 1 to 3% per day... which is very disturbing.. since we're trying to do our best in order to keep it as low as possible. And obviously having it jumped from ~24% to 27%, just because of that crazy dude is not making us happy at all... We tried implementing a geo-targeted script in order to catch this particular visitor and deliver him a juicy message, and it seemed like it helped in the beginning, it has stopped for a day or two, but now he's back... The geo-targeted script was also logging all IP addresses for page requests originating from Finland in order to find out more details and (in order to block them on the server level, later).. but thing is, it was all mainly cable or DSL connections with various, but not constantly repeating IPs... we are all wondering what is he up to really ? I think that this page should be kept updated with ideas on how to combat this and perhaps someone could also shed light on what it might be ? What is the reason for doing this \"bounce-rate attack\", as I call it? There was a similar question asked on stackoverflow earlier, with no meaningful answer - here -",
"Prove that $\\int_0^{\\infty} \\frac{\\sin x}{x^p}\\, dx$ converges for $0<p<2$",
"I'm trying to to execute a script, which uses the command rename. When I execute it, I get a message rename: command not found. Any ideas? if [[ -z '$3' ]]; then shopt -s dotglob rename \"$EXPRESSION\" ./* else rename \"$EXPRESSION\" \"$3\" fi",
"How can I record demos of my gameplay? I remember seeing a lot of cool Counter Strike videos back in the day. How do you go about recording your gameplay (any game) into an easy to edit format? Do you need special software? How much does it cost?",
"How to enable touchpad? Yesterday, suddenly my touchpad on my MSI Laptop started to not respond. In other words, in Login screen, touchpad is working as expected. However, in Desktop screen, after I have logged in, touchpad is not working. How can I enable touchpad in Desktop?",
"Explain what is a transistor in plain English!",
"Declare local variables as late as possible or at the nearest curly brace they belong?"
]
| medi_sts_stackexchange_dupe |
I have a printer it do not print HP 2600 from Ubuntu 20.04. I have connected with a USB cable | How to install HPLIP on my Ubuntu to support my HP printer and/or scanner? | [
"How to calculate the correct focal length needed for a subject of a given size and distance? I need to purchase my first ever lens. So far I've only used lenses that were built into a camera. This specific lens is for the BlackMagic Deign Pocket Cinema Camera (a video only camera, but one that uses photography lenses). I would prefer this to be a prime lens. I have tried to find the exact way to calculate the focal length of the lens I need but I have not been able to find a good resource to make this simple enough for my limited optics knowledge. Can you please explain a simple way to calculate the focal length of a lens given the following inputs as an example: I would prefer a simplified mathematical explanation so that I may use it to make similar determinations in the future using a \"\" method. I have . Using that method, I came up with: Required lens focal length = 7.02mm sensor height x (77in / 36in) = 15mm Is that correct?",
"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.",
"How to use getElementsByClassName in javascript-function?",
"Let $A,B$ be real symmetric matrices, and for any $n\\in \\Bbb N^{+}$, and for all $x,y\\in \\Bbb R$, we have $$tr(xA+yB)^n=x^ntr(A^n)+y^ntr(B^n).$$ Show that $AB=0$. My try:since $$(xA+yB)^n=x^nA^n+\\binom{n}{1}x^{n-1}A^{n-1}yB+\\cdots+\\binom{n}{n-1}xA(yB)^{n-1}+y^nB^n$$ so $$tr\\left(x^nA^n+\\binom{n}{1}x^{n-1}A^{n-1}yB+\\cdots+\\binom{n}{n-1}xA(yB)^{n-1}+y^nB^n\\right)=x^ntr(A^n)+y^ntr(B^n)$$ then $$tr\\left(\\binom{n}{1}x^{n-1}A^{n-1}yB+\\cdots+\\binom{n}{n-1}xA(yB)^{n-1}\\right)=0$$ so $$\\binom{n}{1}x^{n-1}ytr(A^{n-1}B)+\\cdots+\\binom{n}{n-1}xy^{n-1}tr(AB^{n-1})=0$$ then I can't I found this is a nice result, maybe this is an odd problem, and I can't solve it. Thank you.",
"In Elias Stein and Rami Shakarchi's Complex Analysis textbook, we have the following exercise: Show that if $\\{a_n\\}_{n=0}^\\infty$ is a sequence of complex numbers such that $$\\lim_{n\\to\\infty}\\frac{|a_{n+1}|}{|a_n|}=L,$$ then $$\\lim_{n\\to\\infty}|a_n|^{1/n}=L.$$ I've been trying to prove this with no luck. The only thing I've thought of doing is $$\\lim_{n\\to\\infty}\\left(\\frac{|a_{n+1}|^n}{|a_n|^n}\\right)^{1/n},$$but this hasn't lead me anywhere except dead ends. Will someone provide a hint for me about how to proceed? Thanks! Minor update: I don't know if it's helpful yet, but I know we can write the limit as $$\\lim_{n\\to\\infty}\\left(\\frac{|a_{n+1}a_n\\cdots a_0|}{|a_n\\cdots a_0|}\\cdot\\frac{1}{|a_n|}\\right).$$This reminds me a lot of the geometric mean, which even has the exponents I'm trying to get...",
"Which stats / gear can get the best our of wasteland exploration? Trying to get the best out of wasteland exploration here! I get it that you'd obviously need a big gun for survival out there, but apart from that, I'm wondering which stats / gear can get the best out of exploration. How would you choose who to send out exploring from your dwellers. Which stat is the most important to choose explorers? Strength or endurance maybe? Does it make much of a difference equipping combat outfits? If so, whats the most important stat to boost through outfits?",
"\"Can’t help but\" vs. \"can help but\"",
"I asked about it on and they told me to post it here. Probably need to add the :active to the :hover meta class or something like that. Example: Hammer Time",
"How to return multiple objects from a Java method? I want to return two objects from a Java method and was wondering what could be a good way of doing so? The possible ways I can think of are: return a HashMap (since the two Objects are related) or return an ArrayList of Object objects. To be more precise, the two objects I want to return are (a) List of objects and (b) comma separated names of the same. I want to return these two Objects from one method because I dont want to iterate through the list of objects to get the comma separated names (which I can do in the same loop in this method). Somehow, returning a HashMap does not look a very elegant way of doing so.",
"Books for a beginner I am a student of 11th grade and i have completed the syallabus of both 11th and 12th grade maths with complete understanding and it was possible coz of the love for this subject that i have. I don't want to sound \"larger than life\" here, but my curiousity has now increased to learn maths at a deeper level. As of now i am reading \"Linear algebra done right\" by Axler. Thats an amazing piece of work and now i truly understand what \"matrix\" is all about. I also want to extend my knowledge on the following topics : 1) Algebra (groups,subgroups,homomorphisms etc) 2) Analysis 3) Geometry/Topology Why i am here is because i wanted you guys to recommend a book on each of the above topic that would be appropriate for a beginner like me (I must mention here I have been working on Apostol's volume 1 calculus, thats a great text, but for a beginner, its best if the concept is explained in a broad manner and in as simple and easy words as possible) . I just want a book which explains the concept broadly rather than coming to the conclusion directly (which is not a great sight for a beginner like me) . Having said that, no book is complete i understand. Thats why i am asking your recommendation as you guys are aware which text would be the best to start with for a beginner. I have searched on the net about this, but there are dozens of works available, and out of them all , i want the one which is the best (approximation) for a beginner . Please don't misunderstand me in any way. I am just confused which text to go for, and i understand the books which u may suggest may be for undergraduate level course as these topics are for undergraduate level courses, thats not a problem at all . I need a easy to learn (i mean easy in terms of \"broad\" explanation) book. I hope you guys don't mind me questioning such a question on this forum . Thanks for all the help you guys have been providing me on this forum . Maths Maths Maths... the world is beautiful coz of u! :))",
"If $a \\cdot a = 1$ then $a = 1$ or $a = -1$ Let $F$ be a field. And let $a \\in F$ such that $a \\cdot a = 1$. Claim: $a = 1$ or $ a = -1$ Before, I begin with the proof I cannot understand what $ a = -1$ represents... Is $a = -1$ representing the inverse of $a$? I am capable of getting to $a = 1$ with no trouble, but how do you get the $-$ sign to show up in your proof? Proof: This is my attempt at getting to $a=-1$. If $a = 0$ then we have $0 \\cdot 0 = 0 \\neq 1$. Then this implies that $a \\neq 0$ which implies that $ \\exists b \\in F,$ s.t. $a \\cdot b = 1$, i.e. $b$ is the multiplicative inverse of $a$. Knowing this fact prove as follows...: $a \\cdot a = 1 \\implies$ $ (a \\cdot a) \\cdot b = 1 \\cdot b \\implies$ $a \\cdot (a \\cdot b) = 1 \\cdot b \\implies$ $a \\cdot 1 = 1 \\cdot b \\implies$ $ 1 \\cdot a =1 \\cdot b \\implies$ $a = b$. But since $b$ is the multiplicative inverse of $a$ is this enough to say that $a = -1$?",
"I did an upgrade today to the latest version of ubuntu. Everything looked good and fine only for me to discover that I cannot find my applications after clicking the 'Show Applications' icon. The same applies when I search for an application in the search bar, I do not see it. It shows me an endless search. These are the screenshot images of the problem: In the meantime, I access my applications from the menu at the top bar and also use the terminal to run applications with CLI.",
"Aligning equations within multline I have this really long equation and I have used multline to break it up. I also want to align the broken bits of the equation to the left. When I use align, for some reasons it aligns to the right when I want it to be on the left. How can I align to the left? \\begin{multline} \\begin{align} \\mathcal{H}_{q1} \\mathcal{H}_{q2} \\mathcal{H}_{q3}...\\mathcal{H}_{qn}0=\\frac{1}{2}H_{q1}\\{\\mathcal{H}_{q2}\\mathcal{H}_{q3}...\\mathcal{H}_{qn}0\\}+\\frac{1}{2} h_{q1} \\\\ =\\frac{1}{2}H_{q1}\\{\\frac{1}{2} H_{q2}[\\mathcal{H}_{q3}...\\mathcal{H}_{qn} 0]+\\frac{1}{2}h_{q2}\\} +\\frac{1}{2}h_{q1}=\\\\ \\frac{1}{2}H_{q1} \\frac{1}{2} H_{q2} [\\frac{1}{2}H_{q3}(\\mathcal{H}_{q4}..\\mathcal{H}_{qn}0)+\\frac{1}{2}h_{q3}]+ \\frac{1}{2}h_{q2}+\\frac{1}{2}h_{q1}=...\\\\ =(\\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn}0+ (\\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-1}h_{q1}\\\\+(\\frac{1}{2^n})H_{q1}H_{q2}H_{q3}..H_{qn-2}h_{qn-1}+.. \\\\+ (\\frac{1}{2})h_{q1}=\\sum^n_{j=1} (\\frac{1}{2^j}) H_{qo}H_{q1} H_{q2}H_{q3}..H_{qj-1} h_{qj} \\end{align} \\end{multline}",
"I accidentally killed a noble, now every guard wants to kill me. Is there any way I can get rid of the bounty?",
"Pagenumbers aligned raggedleft in scrartcl with tocstyle? When trying to typeset a table of contents with KOMAscriptand tocstyle(alpha 0.2d), I finally managed to change the font of the pagenumbers (like the rest of the document to CMSS) with \\settocfeature{pagenumberhook}{\\changefont{cmss}{m}{n}}, however now the page numbers are aligned at the left and not at the right side! So how can I change that back to an alignment on the right side of the page numbers like that, but with the sans serif font? Example: \\documentclass[11pt, a4paper]{scrartcl} \\usepackage[ngerman]{babel} \\usepackage{blindtext} \\newcommand{\\changefont}[3]{ \\fontfamily{#1} \\fontseries{#2} \\fontshape{#3} \\selectfont} \\usepackage[]{tocstyle} \\usetocstyle{classic} %\\settocstylefeature[1]{entryvskip}{10pt} %\\settocstylefeature[2]{entryvskip}{3pt} %\\settocstylefeature[1]{entryhook}{\\bfseries} \\settocfeature{pagenumberhook}{\\changefont{cmss}{m}{n}} \\begin{document} \\changefont{cmss}{m}{n} \\tableofcontents \\newpage \\blinddocument \\blinddocument \\blinddocument \\end{document}",
"Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop, but instead come on the Launcher.",
"Increase close vote weight for gold tag badge holders In order to increase the efficiency with which poor quality questions are closed, it could make sense to have weighted close votes for a small subset of qualified users. A very good way to measure the qualified users would be to leverage the tag badges. However, it needs to be rationally limited to a set of users that are knowledgeable with the subject. A very good way to measure the top users in a tag would be to look at those who have a gold badge in the tag. If two users who have a gold tag badge pertinent to a question issue a close vote, the question should probably be closed (or probably will be very soon under the current system). I think it would make sense to allow users with a gold tag badge to have a 3x weight for close votes in those tags. Please keep in mind, this isn't suggesting full moderator one click closure. It only adds weight to the vote. A single user could not do it on their own. These singular users cast close votes all the time, so that aspect would not change. Some will vote to close, some wont, but the ones who do should have a stronger weight to their vote. Even with 3x it will require 2 of said votes to accomplish, or still 2 other users (meaning 3 agreed it should be closed - which is the same amount of high rep users it takes to delete a question and that has a much greater impact than closure). tldr; Allow gold tag badge users to have a weighted close vote in their tag",
"How to remove local (untracked) files from the current Git working tree How do you delete untracked local files from your current working tree?",
"Can it be assumed a evaluation order of the function parameters when calling it in C ? According to the following program, it seems that there is not a particular order when I executed it. #include <stdio.h> int main() { int a[] = {1, 2, 3}; int * pa; pa = &a[0]; printf(\"a[0] = %d\\ta[1] = %d\\ta[2] = %d\\n\",*(pa), *(pa++),*(++pa)); /* Result: a[0] = 3 a[1] = 2 a[2] = 2 */ pa = &a[0]; printf(\"a[0] = %d\\ta[1] = %d\\ta[2] = %d\\n\",*(pa++),*(pa),*(++pa)); /* Result: a[0] = 2 a[1] = 2 a[2] = 2 */ pa = &a[0]; printf(\"a[0] = %d\\ta[1] = %d\\ta[2] = %d\\n\",*(pa++),*(++pa), *(pa)); /* a[0] = 2 a[1] = 2 a[2] = 1 */ }",
"how to left justify comments to indent same as other text in Algorithmic How do I left justify my comments in the algorithm. I am using algorithmicx package. What I want is: to pull the comment to left as shown in the attached snapshot. The code for my algorithm is \\documentclass[a4paper]{article} \\pagestyle{empty} \\usepackage{algorithm} \\usepackage{algpseudocode} \\usepackage[caption=false,font=footnotesize]{subfig} \\begin{document} \\begin{algorithm} \\label{algoQ} \\caption{Algorithm to check quality of methods} \\begin{algorithmic} \\For{\\textbf{each} $msd$ in$msdList$} \\Comment { \\% for each MSD \\%} \\Statex \\Comment { \\% get MSDs referenced method service \\%} \\EndFor \\textbf{endFor} \\end{algorithmic} \\end{algorithm} \\end{document}"
]
| medi_sts_stackexchange_dupe |
Selecting with LEFT OUTER JOIN and return as comma-separated list | Simulating group_concat MySQL function in Microsoft SQL Server 2005? | [
"Help Text not showing on I have a table inside of a pageblocksection and then inside of that I have an that I am trying to utilize the default help text for but it's not showing up. <apex:pageBlockSection columns=\"1\"> <apex:outputPanel> <table> width=\"100%\"> <tr> <td> <apex:pageBlockSectionItem helpText=\"test text\"> <apex:inputCheckbox value=\"{!searchBySKU}\" /> <apex:outputLabel value=\"Search for this SKU or text in the SKU name\" /> </apex:pageBlockSectionItem> </td> </tr> </table> </apex:outputPanel> </apex:pageBlockSection> Any ideas why this doesn't work as I expect? EDIT: So, I just did some more testing and it creates the text if it's a direct child of the pageBlockSection. Is there any way to get around this restriction without going the fully custom route to do so?",
"\"How big of a problem\" vs. \"how big a problem\" Quite a few phrases in English are constructed like so: How [adjective] a [noun]...? This is the question form of the construction, which is often answered with the negative: Not that [adjective] a [noun]. or the positive: Quite [adjective] a [noun]. However, from time to time I'll hear the word 'of' inserted before the 'a', e.g.: Not that [adjective] of a [noun]. This usually sounds wrong to me, with the exception of the case where the adjective 'much' is used. So, this sounds fine to my ear: Not that much of a problem. whereas this doesn't: Not that loud of a noise. Why is it that 'much' should be used with 'of', and other adjectives not? Is it because 'much' is seen as measuring a quantity (of something), whereas other adjectives that may be used in this construction are seen as measuring the quality of a whole thing?",
"Understanding divison by monic polynomial in $R[x]$ where $R$ is an arbitrary ring I read \"Algebra: Chapter 0\" by P.Aluffi. I encountered a topic where it says you can divide any polynomial in $R[x]$($R$ is any ring) by a monic polynomial(that is, a polynomial of the form $x^d + \\sum\\limits_{i=0}^{d-1} a_i x^{i}$). It says if $g(x)$ is any polynomial and $f(x)$ is a monic polynomial. Then $\\exists \\ \\ \\ q(x), r(x) \\in R[x],\\: \\deg r(x) < \\deg f(x): g(x) = f(x)q(x) + r(x).$ I have two questions regarding this: 1) Why $f(x)$ needs to be monic? 2) How can we prove it? The book talk about induction and that if $\\deg g(x) = n > d = deg \\ f(x)$, then $\\forall a \\in R$ we have $ax^n = ax^{n-d}f(x) + h(x)$ for some $h(x): \\deg \\ h(x) < n$. It's true, but how do I take it from here?",
"How do I install drivers for Realtek RTL8812BU? So I've been experimenting with Ubuntu on and off for a while, but I honestly have no idea what the hell I'm doing. So I have a realtek RTL8812bu WiFi dongle that I'm hoping to get working. I did some research, and came across that a couple people across two threads said worked for them: At the bottom it said there is a new version . So somewhere it said it was confirmed to work on kernels up to 4.16, so I checked and I'm on 4.15.0. But the problem I'm having, is what am I supposed to do? There is some installation guide at the bottom that is about as clear as mud to me since I don't know much.",
"What programming languages can I use in Blender? What version of Python does Blender use and are other languages available? Also, does Python work the same in Blender as when you write console applications or when working with Pygame or are there any differences? If so, what are the main differences?",
"We are sponsoring a family to visit us in UK as friends from Madagascar for two weeks. They have a 6 year old and a 16 month old. Do the kids need their own visas, and are they the standard visitor visa or a special child visa? Also, when I try and apply on the website I can only apply for one person so how do I apply for all the individuals in the family? I have looked on the Immigration website and can't find the answers I need.",
"In sysctl, the /proc/sys/net/ipv[46]/conf/ keys have the following subkeys: all, default, and a key for each network interface. For example, on a machine with a single network interface eth0, it will look like this: iserv ~ # ll /proc/sys/net/ipv[46]/conf/ /proc/sys/net/ipv4/conf/: insgesamt 0 dr-xr-xr-x 0 root root 0 12. Sep 23:30 all/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 default/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 eth0/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 lo/ /proc/sys/net/ipv6/conf/: insgesamt 0 dr-xr-xr-x 0 root root 0 12. Sep 23:30 all/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 default/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 eth0/ dr-xr-xr-x 0 root root 0 12. Sep 23:30 lo/ All the respective settings exist in each key separately. For example, if I want to disable IPv6 Router Advertisements with the accept_ra value, this value exists four times: iserv ~ # sysctl -a 2>/dev/null | grep \"accept_ra \" net.ipv6.conf.all.accept_ra = 1 net.ipv6.conf.default.accept_ra = 1 net.ipv6.conf.lo.accept_ra = 1 net.ipv6.conf.eth0.accept_ra = 1 My question now is: which of these values do I need to change? I figured all (to change all existing interfaces) and default (to change all new interfaces that may appear later), but changing these still leaves the value at 1 for lo and eth0: iserv ~ # sysctl -w net.ipv6.conf.all.accept_ra=0 net.ipv6.conf.all.accept_ra = 0 iserv ~ # sysctl -w net.ipv6.conf.default.accept_ra=0 net.ipv6.conf.default.accept_ra = 0 iserv ~ # sysctl -a 2>/dev/null | grep \"accept_ra \" net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.default.accept_ra = 0 net.ipv6.conf.lo.accept_ra = 1 net.ipv6.conf.eth0.accept_ra = 1 Will the machine now accept Router Advertisements on eth0, or will it not?",
"Hi im new to Blender and i want to know when im in edit mode if i can copy or cut a selections of polygons faces and paste to another mesh. Thanks in advance for any help",
"How to get new answers to old/popular questions read/voted on? If a question has more than one page of answers then a new answer is not likely to get much attention. I think the stackoverflow engine should give some more weight to newer answers to old questions but I'm not sure how. Maybe a tweaked UI to get access to newer answers. NB. In the related questions this popped up, I hadnt realised either that these tools existed.",
"Please explain the meaning of \"otherwise than\" in this sentence Please explain the meaning of the second part and explain \"otherwise than\" in part b a person’s UK property business consists of: (a) every business which the person carries on for generating income from land in the United Kingdom; and (b) every transaction which the person enters into for that purpose otherwise than in the course of such a business.",
"I was working with a new C++ developer a while back when he asked the question: \"Why can't variable names start with numbers?\" I couldn't come up with an answer except that some numbers can have text in them (123456L, 123456U) and that wouldn't be possible if the compilers were thinking everything with some amount of alpha characters was a variable name. Was that the right answer? Are there any more reasons? string 2BeOrNot2Be = \"that is the question\"; // Why won't this compile?",
"general solution sum of two uniform random variables aY+bX=Z? is there a general solution to that? I have seen simple examples for Y+X=Z but I was wondering how this would be with rescaling?",
"The following question is from Artin's Algebra. If $A$ and $B$ are two square matrices with real entries, show that $AB-BA=I$ has no solutions. I have no idea on how to tackle this question. I tried block multiplication, but it didn't appear to work.",
"How to mount an image file without root permission?",
"Problem applying L'Hopitals rule.",
"Is it possible to construct a multi-colored double-bladed lightsaber? I was just watching video of some SW dueling at the 2015 World Fencing Championship, and wondered if it's actually possible in the SW universe to construct a multi-colored double-bladed lightsaber? Are there any accounts of such a thing? If not, would it at least be theoretically possible to make one, or, are there obvious limitations?",
"Managing Metered Connections on OSX",
"I'm having a difficulty in finding one way car rentals from Alaska, which I can return in Seattle. Do all the main rental agencies restrict such one-way rentals, as they involve crossing through Canada, before entering the lower 48 states?",
"What does functools.wraps do? In a comment on this , someone said that they weren't sure what functools.wraps was doing. So, I'm asking this question so that there will be a record of it on StackOverflow for future reference: what does functools.wraps do, exactly?",
"When water climbs up a piece of paper, where is the energy coming from? Take a glass of water and piece of toilet paper. If you keep the paper vertical, and touch the surface of the water with the tip of the paper, you can see the water being absorbed and climbing up the paper. This climbing up is intriguing me. Where is the energy coming from? Supposedly, a lot of water molecules are moving up and gaining potential energy. This has to be balanced by something. I can think of a few possibilities, but I can't tell which one it is. When the water molecules dilute into the paper, they are at a state of lower potential binding energy. Some molecular interaction (van der Waals?) is at lower energy when you have a water+paper solution, compared to a water-only solution. This compensates the gain in gravitational energy. The surface between the paper and the water is at lower pressure than the atmosphere. This causes the water to be pushed into the paper by the atmospheric pressure, up until the point that the column of water above the surface is heavy enough to counterbalance. The potential energy would be a result of work done by the atmosphere. Some water molecules climb up randomly and loose kinetic energy going up, and somehow get \"stuck\" up there. Something else?"
]
| medi_sts_stackexchange_dupe |
show a specific view when application returns to foreground | redraw GUI on didreceivelocalnotification when come from lock screen iphone | [
"How can I convert audio from MP4 or FLV video files to mp3? Is there an application that allows me to extract the audio from a MP4 or FLV video file and store it as an MP3 file for use in a portable media player?",
"PXE Boot Server Installation Steps in Ubuntu Server VM",
"Linux genisoimage Batch",
"Where can I safely store my stuff?",
"When two phrases are pronounced alike but have different spelling and meaning, can we call them homophones? e.g. \"ice-cream\" and \"I scream\", \"nitrate\" and \"night rate\", \"that's tough\" and \"that stuff\". Or is there another term for them? What linguistic phenomenon distiguishes these near homophones? I've checked the putative duplicate at but it isn't exactly what I'm asking here.",
"Does every holomorphic function $f$ defined on an open set $U$ have a primitive?",
"Three inches of snow is/are expected? I'm thinking that the singular verbs \"is\" and \"has\" are correct below because we're referring to a singular lump of precipitation. Although the subject \"inches\" is plural, I think the singular verbs are correct below. We wouldn't say, \"Fifty dollars are a lot of money.\" I think this is basically the same concept. Good for the singular verbs below? One to 3 inches of snow \"is\" expected. (Not: ... are expected.) Ten inches of snow \"has\" fallen. (Not: ... have fallen.)",
"I just broke the screen of my (unrooted) Galaxy S. How do I get back my SMS and contacts? PS: I tried Kies but it won't detect my phone for some reason. (Kies works fine with another Galaxy I possess but not this one)",
"Windows Media Player 12 shows wrong cover art when playing",
"I'd like to determine the function corresponding to the following power series: $$x + \\sum_{n=1}^\\infty (-1)^n\\frac{1\\cdot3\\cdot5\\cdots(2n-1)}{2\\cdot4\\cdot6\\cdots2n} \\frac{x^{2n+1}}{2n+1}, $$ where $|x|<1$.",
"In Windows, if you right-click a .bat file, there's an \"Edit\" option, which opens the .bat file with notepad. How do I make Windows use Notepad++ instead? Note that this is different from the question . In that question, user asks for a way to make Notepad++ the default opener for specific file types. This is not what I want here, since I expect that double-clicking on .bat files executes them.",
"When do we use \"at\" and \"in\" with \"arrive\" talking about place, not time?",
"If $(X,d)$ is a complete metric space and $A$ is closed then show that for $x \\in X$ there exists an element $a_0 \\in A$ such that $d(x,A)=d(x,a_0)$",
"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?",
"I have a PDF with 100 pages. How can I make a new PDF that displays 4 pages on one? I know that I can do it with Chrome by printing the PDF to new PDF and change this in the options. But I want to make it for a lot of files and put it as a script.",
"What does the , operator do in C?",
"Intuitive explanation for formula of maximum length of a pipe moving around a corner? For one of my homework problems, we had to try and find the maximum possible length $L$ of a pipe (indicated in red) such that it can be moved around a corner with corridor lengths $A$ and $B$ (assuming everything is 2d, not 3d): My professor walked us through how to derive a formula for the maximum possible length of the pipe, ultimately arriving at the equation $L = (A^{2/3} + B^{2/3})^{3/2}$. The issue I have is understanding intuitively why this formula works, and exactly what it's doing. I understand the steps taken to get to this point, but there's an odd symmetry to the end result -- for example, is the fact that $\\frac{2}{3}$ and its inverse are the only constants used just a coincidence, or indicative of some deeper relationship? I also don't quite understand how the formula relates, geometrically, to the diagram. If I hadn't traced the steps myself, I would have never guessed that the formula was in any way related to the original problem. If possible, can somebody give an intuitive explanation as to why this formula works, and how to interpret it geometrically? Here's how he found the formula, if it's useful: The formula is found by finding the maximum possible length of the pipe by expressing the length in terms of the angle $\\theta$ formed between the pipe and the wall, and by taking the derivative to find when $\\frac{dL}{d\\theta} = 0$, which is the minimum of $\\frac{dL}{d\\theta}$ and is therefore when $L$ is the smallest: $$ L = \\min_{0 \\leq \\theta \\leq \\frac{\\pi}{2}} \\frac{A}{\\cos{\\theta}} + \\frac{B}{\\sin{\\theta}} \\\\ 0 = \\frac{dL}{d\\theta} = \\frac{A\\sin{\\theta}}{\\cos^2{\\theta}} - \\frac{B\\cos{\\theta}}{\\sin^2{\\theta}} \\\\ 0 = \\frac{A\\sin^3{\\theta} - B\\cos^3{\\theta}}{\\sin^2{\\theta}\\cos^2{\\theta}} \\\\ 0 = A\\sin^3{\\theta} - B\\cos^3{\\theta} \\\\ \\frac{B}{A} = \\tan^3{\\theta} \\\\ \\theta = \\arctan{\\left( \\frac{B}{A} \\right)^{\\frac{1}{3}}} \\\\ $$ At this point, we can substitute $\\theta$ back into the original equation for $L$ by interpreting $A^{1/3}$ and $B^{1/3}$ as sides of a triangle with angle $\\theta$ and hypotenuse $\\sqrt{A^{2/3} + B^{2/3} }$: $$ \\cos{\\theta} = \\frac{A^{1/3}}{ \\sqrt{A^{2/3} + B^{2/3} }} \\\\ \\sin{\\theta} = \\frac{B^{1/3}}{ \\sqrt{A^{2/3} + B^{2/3} }} \\\\ \\therefore L = A^{2/3} \\sqrt{A^{2/3} + B^{2/3} } + B^{2/3} \\sqrt{A^{2/3} + B^{2/3} } \\\\ L = (A^{2/3} + B^{2/3}) \\sqrt{A^{2/3} + B^{2/3} } \\\\ L = (A^{2/3} + B^{2/3})^{3/2} \\\\ $$ The equation for the formula for the maximum length of the pipe is therefore $L = (A^{2/3} + B^{2/3})^{3/2}$.",
"What is the \"continue\" keyword and how does it work in Java? I saw this keyword for the first time and I was wondering if someone could explain to me what it does. What is the continue keyword? How does it work? When is it used?",
"Why can mathematical equations describe this world? Since I want to understand the world, I learn physics from textbooks. But I feel there is a gap between the textbook and the world. I do not know why the equations in the textbook can control the whole world? How can I bridge the gap? In research, how can one distinguish whether what we do is meaningful in reality or not? Any help or suggestions or comments will be appreciated.",
"What is $\\sum_{n=1}^{\\infty} \\frac{n}{2^{\\sqrt{n}}}$?"
]
| medi_sts_stackexchange_dupe |
Movie about a man trapping his soul in a box thus making him immortal | Sci-Fi Movie/Show Where a Soul is Captured in a Glass Vessel | [
"A man sits on a bench considering his woeful burden. He looks up at the stars and compares the distance from here to his house and here to the furthest visible star Deneb. Suddenly his problems seems pitifully faint and untroubling. He laughs and relaxes in his seat, staring at the ducks. Look again at that dot. That's here, that's home, that's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every \"superstar,\" every \"supreme leader,\" every saint and sinner in the history of our species lived there—on a mote of dust suspended in a sunbeam. ~Carl Sagan I really believe that if the political leaders of the world could see their planet from a distance of 100,000 miles their outlook could be fundamentally changed. That all-important border would be invisible, that noisy argument silenced. The tiny globe would continue to turn, serenely ignoring its subdivisions, presenting a unified façade that would cry out for unified understanding, for homogeneous treatment. The earth must become as it appears: blue and white, not capitalist or Communist; blue and white, not rich or poor; blue and white, not envious or envied. ~Michael Collins, astronaut I'm looking for a noun or verb that describes this positive enlightening experience.",
"Intuitive explanation for dividing by $n-1$ when calculating standard deviation? I was asked today in class why you divide the sum of square error by $n-1$ instead of with $n$, when calculating the standard deviation. I said I am not going to answer it in class (since I didn't wanna go into unbiased estimators), but later I wondered - is there an intuitive explanation for this?!",
"EntityFieldQuery display pager How do I display pager using EntityFieldQuery for fetch results? I can't find complete example. I am doing simmilar to: But I miss part to output simple pagination links (1,2,3... for every next page).",
"Can I start a new Clash of Clans village on my iPhone separate from my account on my iPad? If I download Clash of Clans on my iPhone, can I start a new village despite my account on my iPad? I want to make a village for my younger brother.",
"Using VHDL code to design a JK Flip Flop I'm using quartus II to design a JK Flip Flop. However, my results show unknown output. Why is it? Intended design circuit: VHDL code: library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity JKFlipFlopGate is port( J,K,Clk : in std_logic; --JK Flip-Flop gate input 1 & 2 Q,Qbar : out std_logic --JK Flip-Flop gate output ); end JKFlipFlopGate; architecture result of JKFlipFlopGate is signal out1,out2,out3,out4 : std_logic; begin out1 <= NOT(J AND Clk AND out4); out2 <= NOT(K AND Clk AND out3); out3 <= out1 NAND out4; out4 <= out2 NAND out3; Q <= out3; Qbar <= out4; end result;",
"How to convert a unix timestamp (seconds since epoch) to Ruby DateTime?",
"I was working on a tower and painted my own texture for it. I saved halfway though and took a break. When I returned to my little project, I could paint on the image and it shows up in the material view but not the render. I did everything in my power but still couldn't understand why? I have used: Nodes, including mapping and insert UV coordinates. Unwrap UVs Used lights Deleted and replace nodes Deleted and replace Mat Removed image and replace it Reload image Painted on mesh Even though use blender, I am not a programmer. So I find it really helpful if someone could give me an answer.",
"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?",
"Let f be an r-cycle in $S_n$. Given any $h \\in S_n$, show that $hfh^{-1} = (h(x_1), h(x_2), \\dots, h(x_r))$",
"What is the difference between a homepage link with or without a trailing slash?",
"series of young adult science fiction books from early 1980s about last of a race of martial experts that sees the destruction of his home planet",
"I had the following two problems: Find a counterexample for $f_*(A \\cap B) \\supseteq f_*(A) \\cap f_*(B)$ and $ f_*(A-B) \\subseteq f_*(A) -f_*(B).$ Where $f_*(X)$ is the image of $X$ under $f$ for some function $f:A \\rightarrow B $ and some subset $X \\subseteq A$. I came with the following answer: Let $ f: \\mathbb{Z} \\rightarrow \\mathbb{Z} $, where $f: x\\mapsto 0$; let $A=\\{1,2\\}$, and $B=\\{3,4\\}$. For $f_*(A \\cap B) \\supseteq f_*(A) \\cap f_*(B)$, $$ f_*(A \\cap B) = f_*\\{ \\varnothing\\} = \\varnothing \\hspace{1cm} \\text{and} \\hspace{1cm} f_*(A) \\cap f_*(B)=\\{0\\} \\cap \\{0\\} = \\{0\\}. $$ It follows that $ \\varnothing \\nsupseteq \\{0\\} $. For $ f_*(A-B) \\subseteq f_*(A) -f_*(B)$, $$f_*(A-B)=f_*(\\{1,2\\})=\\{0\\} \\hspace{1cm} \\text{and} \\hspace{1cm} f_*(A) - f_*(B) = \\{0\\} - \\{0\\} = \\varnothing$$ It follows that $ \\{0\\} \\nsubseteq \\varnothing $. Now (assuming my answer is correct), let's say I want to find more counterexamples or maybe a more general answer (e.g. all the conditions under which the inclusion fails). Other than by trial and error or just intuition, how would I do that? I know this is a broad question, so I'm specifically asking for methods or advice on how to build counterexamples in elementary set theory (for example, tips on where to begin or rules that apply in general that may be unobvious).",
"Ok, so at my school, everybody was supplied with a Macbook Pro. I set up the Messages app and it was all great until the county decided to block it. Now, instead of receiving text messages on my phone they go to my Mac. I have no idea how to fix this because I can't open the Messages app. Please help?!",
"Method defined as testMethod do not support web service callouts, test skipped",
"A better serial voting trap",
"Identify GoogleTv from Android app",
"Get DOS path instead of Windows path",
"Polygonizing a raster yields lots of little squares? I have a pdf with the area of a county that I want to separate into multiple shapefiles (polygons) based on color. As shown in the first picture there are 4 colors so I would need to separate based on color between those four. But first, I need to convert it into a vector (unless there is an easier way). Doing so, I get the second image as an output by using the polygonize tool which when zoomed in very close, has a lot of tiny squares where color should be different. I was wondering if there is a way to break a raster up by color even though the image isn't smart.",
"Proving $\\mathbb{Q}$ isn't homeomorphic to $\\mathbb{Z}$",
"Rotate (group) objects outwards on spherical particle system?"
]
| medi_sts_stackexchange_dupe |
What happen if an electron meets another electron? | What happens in electron-electron collisions? | [
"Which stats / gear can get the best our of wasteland exploration? Trying to get the best out of wasteland exploration here! I get it that you'd obviously need a big gun for survival out there, but apart from that, I'm wondering which stats / gear can get the best out of exploration. How would you choose who to send out exploring from your dwellers. Which stat is the most important to choose explorers? Strength or endurance maybe? Does it make much of a difference equipping combat outfits? If so, whats the most important stat to boost through outfits?",
"What exactly is tested when a fire extinguisher is tagged? I am just curious: the obvious is that the pressure mass can be inspected /measured to ensure that the device has not been discharged. Is there anything else that is measured \\ checked?",
"Around 3 months ago, I submitted a paper to a Math journal for peer-review through an online submission system. The same day I received in my e-mail an acknowledgement saying that the paper had been received. The problem is that the status of the paper on the online submission system is still \"Manuscript submitted\". I think this means that the paper has not even been assigned to an editor yet (once this happens, the editor will probably start looking for reviewers), but as far as I know submissions are assigned to editors within a few weeks (I once submitted a paper to another journal and when an editor had been assigned, the status on the online system changed to \"Editor handles\" or something like that). I know that publishing is a long and complicated process and I'm not trying to rush anybody, but sometimes manuscripts are lost in the system. In fact, this has once happened to me, so I just want to make sure that the paper was not lost in the system. Should I send an e-mail asking for the status of the paper? PS: I think that, at the time of submitting the paper, I didn't choose any specific editor to submit the paper to.",
"Discriminant analysis vs logistic regression I found some pros of discriminant analysis and I've got questions about them. So: When the classes are well-separated, the parameter estimates for logistic regression are surprisingly unstable. Coefficients may go to infinity. LDA doesn't suffer from this problem. If number of features is small and the distribution of the predictors $X$ is approximately normal in each of the classes, the linear discriminant model is again more stable than the logistic regression model. What is stability and why is it important? (If logistic regression provides a good fit that does its job, then why should I care about stability?) LDA is popular when we have more than two response classes, because it also provides low-dimensional views of the data. I just don't understand that. How does LDA provide low-dimensional views? If you can name more pros or cons, that would be nice.",
"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!",
"A number of questions \"has been\" or \"have been\" asked? Formally, is it correct to write: A number of questions has been asked here. or: A number of questions have been asked here. As a non-native speaker of English, I would prefer the former: the subject seems to be \"number\", therefore the verb ought to be singular, I'd say. However, the latter seems more common, and therefore I believe that my gut feeling is just plain wrong — but I would really like to have a definite answer. Moreover, is it the same for \"a myriad of\", \"a plethora of\", and so on?",
"Methods to compute $\\sum_{k=1}^nk^p$ without Faulhaber's formula",
"Is there evidence of \"think tank\" meaning \"the brain\"? The Random House Dictionary defines the expression as: a research institute or organization employed to solve complex problems or predict or plan future developments, as in military, political, or social areas. According to the above connotation is an extention of an earliar sense which referred to \"the brain\": also think-tank, 1959 as \"research institute\" (first reference is to Center for Behavioral Sciences, Palo Alto, Calif.); it had been colloquial for \"the brain\" since 1905. : shows usage of \"think tank\" only from the late '50s. Is there evidence of earlier usages of \"think tank\" meaning \"the brain\"? Despite its colloquial usage I assume the expression was quite widespread before it was adopted by the Stanford University.",
"Disable ClearType (blurry fonts) in Internet Explorer 10 on windows 7 I've installed recently the latest Internet Explorer 10 and found out again what was my issue with the previous upgrade -- blurry fonts aka ClearType! Unfortunately there are some apps that use IE engine and thus all content there is blurry too :/ I know about but unfortunately it seems that it is only for IE9. Is there any other solution to disable CT in IE10? (and for clarity - I don't like CT, I've tried tweaking it but for me it's just blurry and case pain in my eyes no matter what I do... it's probably related to the low dpi of my monitor)",
"I have a valid B1/B2 visa valid to US till March 2019 on Indian passport, I changed my citizenship to Australian. Is my B1/B2 visa on Indian passport valid?",
"How can I monitor all and any Internet traffic from my home PC? I would like to monitor all and any Internet traffic from my home PC to see what programs installed on my home machine are accessing the Internet. I thought I could use for this, but I noticed Firefox traffic doesn't show up by default; you need . What options do I have to monitor all traffic?",
"Joda Time: How to get dates of weekdays on some date interval?",
"Why didn't Gimli know Moria had fallen?",
"Maximize window shortcut What is the keyboard shortcut to maximize a window on OSX? I'd like to know the shortcut that is equivalent to double clicking on the window title. I do not want to make the window full screen.",
"How do I invoke a Java method when given the method name as a string?",
"I'm developing a application, and I'm using constant NSStrings as ways to store key names for my preferences. I understand this is a good idea because it allows easy changing of keys if necessary. Plus, it's the whole 'separate your data from your logic' notion. Anyway, is there a good way to make these constants defined once for the whole application? I'm sure that there's an easy and intelligent way, but right now my classes just redefine the ones they use.",
"Uninstalling Ubuntu from Windows Dual Boot if I don't have Windows recovery CD I installed Ubuntu (I had already had Windows 8.1) from USB (I still have live Ubuntu on it). Is there a way I can uninstall Ubuntu in a way that my Windows will remain bootable? All the tutorials I have seen say that uninstalling ubuntu will delete GRUB also so I will need a Windows recovery CD to boot into it, but I don't have one. Is there a solution?",
"Can I set max_retries for requests.request?",
"How do you select elements based on their style? Using jQuery, how would you find elements which have a particular style (eg: float: left), regardless of whether it's an inline style or one defined in a CSS file?",
"Can you use a readied action to teleport out of the way of a weapon attack? Let's say that a player uses the ready action and says \"If a character aims at me with a weapon, I'll use Teleport to move behind cover.\" What happens? Does this work? If not, please cite the rules to explain why not."
]
| medi_sts_stackexchange_dupe |
How do I encrypt a VirtualBox VM? | How to run an encrypted virtual machine? | [
"CSS two divs next to each other I want to put two <div>s next to each other. The right <div> is about 200px; and the left <div> must fill up the rest of the screen width? How can I do this?",
"In Java, I'm dynamically creating a set of files and I'd like to change the file permissions on these files on a linux/unix file system. I'd like to be able to execute the Java equivalent of chmod. Is that possible Java 5? If so, how? I know in Java 6 the File object has setReadable()/setWritable() methods. I also know I could make a system call to do this, but I'd like to avoid that if possible.",
"What expression would be the opposite of \"Deal Breaker\"? I understand that \"Deal breaker\" is an expression used for a feature/characteristic that would make one not go for a deal (or terminate a contract), even if the deal's other features are great. What expression would be the opposite of \"Deal Breaker\"? I'm looking for an existing expression that would describe a feature that would make one go for the deal, even if there are other not so great characteristics. The expression could fill the sentence below: I know this phone carrier has higher rates and everything, but if they are offering free iPhone to us if we switch, that would be a <expression here>! We would totally go for it.",
"Upgrade to the latest PHP version in ubuntu 16.04",
"^x^y unix trick for all instances in last command? One of my favorite Unix tricks is ^x^y, which will take the last command and replace the first instance of \"x\" with \"y\". However, I'm wondering if a similar trick works to replace all instances of \"x\" with \"y\" in the last command?",
"How to prove $x^{n}$ is not uniformly continuous How to prove $x^{n}$ is not uniformly continuous on the interval $[0, +\\infty)$?",
"Is this a capacitor start motor and can I start it with a microwave capacitor I salvaged an old motor out of a air conditioner and I want to know if it's a capacitor start motor if I can start it with the capacitor I have and how to start it. I included pictures of the motor and capacitor btw i have never worked with capacitive start motors so i need details on exactly how to wire it up with out ruining it",
"Can I have too many mods? I found a lot of mods that make thinks lighter, and add mark and recall, and a basement I like. They are all on Steam, and what I want to know is if I can have too many? Will they all work together? Or should I just leave them alone?",
"Eclipse Optimize Imports to Include Static Imports Is there anyway to get Eclipse to automatically look for static imports? For example, now that I've finally upgraded to Junit 4, I'd like to be able to write: assertEquals(expectedValue, actualValue); hit Ctrl + Shift + O and have Eclipse add: import static org.junit.Assert.assertEquals; Maybe I'm asking too much.",
"It seems that containing lava in solid glass, stone and iron blocks may not be sufficient to prevent wool from burning, even if the lava is completely encased. After some delay, it seems that fire will jump onto the wool above the iron. Are solid blocks more effective than airspace, or not? If so, Does it matter whether the corner block is filled in? What are the exact rules on distance that I need, and how can I prevent flammable blocks from being eliminated by nearby lava? Bonus: Does a flowing lava block behave differently than a lava source block when it comes to fire creation?",
"Am I eligible for hats if I join a Stack Exchange site after the start of Winter-Bash?",
"We're injecting records into a journey using a Salesforce data event. I also want to advance the people in the journey based on updates that happen in Salesforce (e.g., as an Opportunity record advances through the sales process), but I can't figure out how to do that. I've read all the documentation I can find, but there doesn't seem to be a Journey Builder widget that will wait to be prompted by an event in Salesforce before continuing someone on a journey. At the moment, I'm completely stuck. I'd greatly appreciate any advice or information on how I can make journeys event-driven in this way. Thanks very much!",
"I get a long list of such arrays { \"id\": \"byu6g6c4cjys5mdkg5znh8ju8c\", \"create_at\": 1511875272294, \"update_at\": 1511875272294, \"delete_at\": 0, \"display_name\": \"BMA\", \"name\": \"BMA\", \"description\": \"\", \"email\": \"[email protected]\", \"type\": \"O\", \"company_name\": \"\", \"allowed_domains\": \"\", \"invite_id\": \"gdgz1tbxuinntx1fbr1ax7kehy\", \"allow_open_invite\": false, \"scheme_id\": null } I want to get by JQ only the ID where the name is BMA. At the moment I parse \" jq -r '.[][\"name\"]\" and I can filter the output from curl by name and I will get \"BMA\" and also 100 other names, but I need to filter only the ID where name is =BMA. Any ideas?",
"What are the basis for co-countable and co-finite topologies",
"What should I look for when shopping for my first DSLR? I am thinking of buying a digital SLR camera. What things should I be looking for?",
"50 hertz sine wave in oscilloscope when I touch it I bought a new PicoScope USB oscilloscope and noticed that when I touch the tip of the probe with my hand I see a 50 Hz signal of 2 volts on the screen. What is causing this? (Or rather, how is the mains 50 Hz sine wave getting through me to the scope?)",
"In episode 10 of Full Metal Alchemist: Brotherhood, during the events in the Research Lab 5, Edward Elric is severely hurt. Later in the hospital, he writes down everything he had come to know, and he discusses with Alphonse, Hughes, and Armstrong about what to do with the information to continue the investigation. At this point, King Bradley arrives with lemon into the room. He finds out what they are doing but acts very calm and chilled out and allows them to continue investigation while being careful. Why did he not get Hughes and Armstrong killed at that point? Or at least tell them to not investigate at all?",
"how to prove the chain rule? I have just learnt about the chain rule but my book doesn't mention a proof on it. I tried to write a proof myself but can't write it. So can someone please tell me about the proof for the chain rule in elementary terms because I have just started learning calculus.",
"If there are two twins. such that one of them goes on a space voyage maintaining a constant velocity, and that one never returns to earth, and the twins decide to never meet but send information about their age to each other by some light pulse or any other method. If then one knows that he is younger, won't he know he is the one travelling thus violating the postulate of relativity that all inertial frames are equal w.r.t. all phenomena and that one can never know if he is moving with a constant velocity.",
"If a user is the type of person to consecutively get downvoted to potential negative reputation, so be it. What's the reasoning to maintain a minimum of one? One reason that may justify this is of trying to not deter new users from the site who haven't read the FAQ and unknowingly and wrongly ask or answer a question. But most of us acknowledge this and not downvote in such a scenario. So what's the reasoning behind this lower bound of 1?"
]
| medi_sts_stackexchange_dupe |
Are deep nested HTML tags bad for SEO? | Does excessive markup affect SEO? | [
"When is a gerund supposed to be preceded by a possessive adjective/determiner?",
"Is there a graceful way to handle passing a list of ids as a parameter to a stored procedure? For instance, I want departments 1, 2, 5, 7, 20 returned by my stored procedure. In the past, I have passed in a comma delimited list of ids, like the below code, but feel really dirty doing it. SQL Server 2005 is my only applicable limitation I think. create procedure getDepartments @DepartmentIds varchar(max) as declare @Sql varchar(max) select @Sql = 'select [Name] from Department where DepartmentId in (' + @DepartmentIds + ')' exec(@Sql)",
"How to add something to PATH ? I have added like PATH=$PATH:/home/example export PATH and it works until I restart , after that when I type env in PATH there is no /home/example.",
"Second-order non-linear ODE $2tx'-x=lnx'$ I differentiated both sides with respect to x: $x'+2tx''=\\frac {x''}{x'}$ Substituting $p=x'$, $p+2tp'=\\frac{p'}{p}$ But I have no clue what can I do from here on. EDIT: $t$ is the non-dependent variable.",
"What is the fallacy that privileges one person over another? I see this a lot, someone in a category of people attempts to shut down anyone with an opinion that is not from the same category. For example, people without children weighing in on parenting; the parent may say something like \"well, since you don't have kids and I do, my position is of more validity than yours.\" Another example: a drug user (of some kind) telling someone who has never done drugs and does not care to, \"until you tried it, you have no right to judge me.\" People frequently try to limit the consideration on opinions to those in their same group, while it is perfectly reasonable that the non-drug user, especially if they are a chemist or well read on the subject, may have an equally valid opinion, or even more valid. In fact some might even say that someone NOT in the category has a better chance of being objective and seeing the forest for the trees. So what is the fallacy of trying to shut down opinions when the source of the opinion is not someone who has personally had the experience under discussion?",
"Does white whole wheat flour need to be refrigerated? I know that regular whole wheat flour needs to be refrigerated, but does white whole wheat flour also need refrigeration? I hate to use up the space in the refrigerator if I don't have to. I have 5 lb. (2.3 kg), and it would probably take me a month or so to use it all.",
"I am in the process of creating a LaTeX template for a conference submission, and up until now I've been working only with the anonymous submissions. Now I need to create the \"camera-ready\" version, which means I need to add authors to the document. The template is based on article.cls, with some tweaks to meet the font and formatting specifications. The following image contains the examples from the Word template for the conference: Basically, I need to be able to bold the author's name (which could I suppose be done manually in the document rather than in the template) and more importantly: divide the authors into two columns, with an optional centered last column with an odd number of authors. The font size of the author block corresponds to my \\LARGE defined in the class file. Are there any packages that facilitate this type of conditional formatting, either in a document, or in a .cls file? How can I use those packages to achieve the formatting I require?",
"Makeindex error when ! used in \\index in align environment See MWE below. The symbol ! in the \\index causes an error. This is only the case in align environments (not in equation). So it seems to have to do something with amsmath. If ! is put in an \\mbox there is no error. But then of course the font size is not adjusted to subindices. Curiously enough, \\index{$C_{K!!}$} (two exclamation marks) doesn't cause any error. \\documentclass{article} \\usepackage{amsmath} \\usepackage{imakeidx} \\makeindex \\begin{document} \\begin{align} y\\index{$C_{K!}$} \\end{align} \\printindex \\end{document} Any solutions suggested?",
"How to understand the Ubuntu file system layout?",
"Show that $\\gcd\\left(\\frac{a^n-b^n}{a-b},a-b\\right)=\\gcd(n d^{n-1},a-b)$ How to show that $$ \\gcd\\bigg( {a^n-b^n \\over a-b} ,a-b\\bigg )=\\gcd(n d^{n-1},a-b ) $$ $a,b\\in \\mathbb Z$ where $d=\\gcd(a,b)$? Note $\\ $ Some of the answers below were merged from . The answers (and their comments) may depend on context provided in that question.",
"How does the Schengen 90/180 rule work?",
"How to run a complete GUI as root? I don't care if I mess up the system (which is likely if I do things like this), or the potential security issues that this could imply. Note, that I don't just want to \"\", but run my GUI from bottom-up as root. I don't want to type my password for anything but just for login and have total control over it. Of course, I want any application running as root, like Firefox, LibreOffice, etc. without having to mess up with the terminal. So, how do I do this? This question tries to address users that do not like the current permission system with root being separated from normal users. I do not endorse such behaviors, but if a user wants to, for whatever reason, this question should fit their corncerns. Not advisable for new users",
"I am being flown out by a company for an on-site visit. Will I earn miles for this trip, or will the company?",
"How do I start DMing a new game after the Red Box?",
"How do I decrease first byte time with GoDaddy and GitHub pages?",
"Is there a word for someone who won't think critically? Is there a word for someone who won't think through issues and instead comes to others hoping that they will think for them and solve problems for them? A word that is more specific to a lack of critical thinking skills than \"lazy\"?",
"What is the number of invertible $n\\times n$ matrices in $\\operatorname{GL}_n(F)$? $F$ is a finite field of order $q$. What is the size of $\\operatorname{GL}_n(F)$ ? I am reading Dummit and Foote \"Abstract Algebra\". The following formula is given: $(q^n - 1)(q^n - q)\\cdots(q^n - q^{n-1})$. The case for $n = 1$ is trivial. I understand that for $n = 2$ the first row of the matrix can be any ordered pair of field elements except for $0,0$. and the second row can be any ordered pair of field elements that is not a multiple of the first row. So for $n = 2$ there are $(q^n - 1)(q^n - q)$ invertible matrices. For $n\\geq 3$, I cannot seem to understand why the formula works. I have looked at Sloane's OEIS A002884. I have also constructed and stared at a list of all $168$ $3\\times 3$ invertible matrices over $GF(2)$. I would most appreciate a concrete and detailed explanation of how say $(2^3 - 1)(2^3 - 2)(2^3 - 2^2)$ counts these $168$ matrices.",
"What's a better way to define individual link colours for a url in a macro? I've got a document where I'd like two colours of links - cyan for links in headers that since it's brighter, and navy blue for links in the main body which is more subtle/less distracting. I already tried using the xcolor package and changing the text colour with textcolor, like \\textcolor{cyan}{\\href{url.com}{link name}}, but it doesn't override whatever link or url colour I have defined in hypersetup. So this is what I've done: I've defined the colour navy: \\definecolor{navy}{HTML}{2F729C} And also imported the hyperref package and defined commands to set the global link/url colours to cyan / navy. \\usepackage{hyperref} \\hypersetup{colorlinks=true,linkcolor=navy,urlcolor=navy} \\newcommand{\\navylinks}{\\hypersetup{linkcolor=navy,urlcolor=navy}} \\newcommand{\\bluelinks}{\\hypersetup{linkcolor=cyan,urlcolor=cyan}} Then I've defined another command specifically for the header links, where I turn on cyan links globally, include the header text and link, and then turn on navy links again: \\newcommand{\\headerlink}[1]{\\bluelinks\\href{#2}{#1}\\navylinks} My issue with this is that I feel like there could be a better way to do it than to set the global link colour every time I use a link macro; is there a way to define the link colour just for one link, like one would do with \\textcolor{...}, that would be able to override hypersetup?",
"My code runs inside a JAR file, say foo.jar, and I need to know, in the code, in which folder the running foo.jar is. So, if foo.jar is in C:\\FOO\\, I want to get that path no matter what my current working directory is.",
"Uncountable well ordered set in $Z^-$ theory. I want to build an uncountable well-ordered set within the theory $Z^\\textbf-$. So, I take $A=\\omega$ (exists by infinity axiom) and define $$W:=\\{(X,R)\\in\\mathcal{P}(A)\\times\\mathcal{P}(A\\times A):\\langle X,R\\rangle\\ \\text{is a well-ordered set}\\}$$ With this I consider the set $T:=W/\\cong$ (where $\\cong$ is isomorphism relation). Note that $W$ and $T$ are sets by power set axiom. So I define for each equivalence class $[x],[y]\\in T$ the order $$ [x]\\leq_T[y]\\Leftrightarrow \\text{type}(x, R_x)\\leq \\text{type}(y,R_y) $$ Here, $R_x$ means the order of $x$ that make it belongs to $[x]$. So, $T$ is well ordered by $\\leq_T$ and it is uncountable. Question: I don't pretty sure if I can build $\\leq_ T$ without replacement axiom. Another doubt is, Can I take the $R_x$ without AC?"
]
| medi_sts_stackexchange_dupe |
Don’t break words in the title | On sites with new responsive theme, word wrap on long titles breaks in the middle of a word | [
"This actually triggered me in my mind from . After some playing around I notice that the relation $a^{\\log_b x} = x^{\\log_b a}$ is true for any valid value of $a,b$ and $x$. I am very inquisitive to see how this holds ?",
"How do I prevent mouse movement from waking up a suspended computer?",
"How to filter a dictionary according to an arbitrary condition function?",
"Big floor symbols When I write \\lfloor\\dfrac{1}{2}\\rfloor the floors come out too short to cover the fraction. How can I lengthen the floor symbols?",
"Evaluate the integral $\\int^{\\frac{\\pi}{2}}_0 \\frac{\\sin^3x}{\\sin^3x+\\cos^3x}\\,\\mathrm dx$. Evaluate the integral $$\\int^{\\frac{\\pi}{2}}_0 \\frac{\\sin^3x}{\\sin^3x+\\cos^3x}\\, \\mathrm dx.$$ How can i evaluate this one? Didn't find any clever substitute and integration by parts doesn't lead anywhere (I think). Any guidelines please?",
"In popular science books and articles, I keep running into the claim that the total energy of the Universe is zero, \"because the positive energy of matter is cancelled out by the negative energy of the gravitational field\". But I can't find anything concrete to substantiate this claim. As a first check, I did a calculation to compute the gravitational potential energy of a sphere of uniform density of radius $R$ using Newton's Laws and threw in $E=mc^2$ for energy of the sphere, and it was by no means obvious that the answer is zero! So, my questions: What is the basis for the claim – does one require General Relativity, or can one get it from Newtonian gravity? What conditions do you require in the model, in order for this to work? Could someone please refer me to a good paper about this?",
"How do i convert a binary int into a string?",
"Given a Java InputStream, how can I determine the current offset in the stream? I'd like something like a generic, re-usable getPosition() method that will tell me the number of bytes read from the starting point of the stream. Ideally, I would prefer this to work with all InputStreams, so that I don't have to wrap each and every one of them as I get them from disparate sources. Does such a beast exist? If not, can anyone recommend an existing implementation of a counting InputStream?",
"Post apocalyptic journey in search of knowledge from fallen society (ours) I'm racking my memory for a post-apocalyptic novel that I borrowed from a library maybe 15 years ago, but I'm sure it was published a few years before that though (maybe early 90s?). I remember a party of people travelling across the flooded USA after some kind of apocalypse (climate change/flooding?). Towards the end of the book the group makes their way to New York(?) and finds a partially flooded library, discovering a set of books that gives hope for the return/rebuilding of society.",
"Are you less likely to down-vote someone whose gravatar is a photograph of them? I know this is hard to answer since, to the extent that anyone does this, they likely don't do it consciously. In the spirit of Richard Wiseman and I just wondered what were people's thoughts on it. Please bear in mind that that's me in the picture, and if you down-vote this, that'll be a real person hurtin', not some abstract symbol.",
"If $I$ is a non-zero proper ideal of a commutative integral domain, is it possible for $I$ to be its own square?",
"Why is the application of probability in (QM) fundamentally different from its application in other areas? QM applies probability according to the same as in other areas of physics, engineering, etc. Why is there a difference? Naively one would assume one of these possibilities: It is not the same probability (theory?) It is a matter of interpretation (of the formalism?) Something else? Many answers (which I am still studying) focus on the fact that the combined probability of two mutually-exclusive events in QM is not equal to the sum of the probabilities of each event (which holds classically by definition). This fact (appears to) makes the formulation of another probability (a quantum one) a necessity. Yet this again breaks down to assumed independent, if this is not so, the \"classic probability\" is applicable (as indeed in other areas). This is one of the main points of the question.",
"Counting the number of propagating degrees of freedom in Lorenz Gauge Electrodynamics How do I definitively show that there are only two propagating degrees of freedom in the Lorenz Gauge $\\partial_\\mu A^\\mu=0$ in classical electrodynamics. I need an clear argument that involves the equations of motion for just the potentials $A^0$ and $\\mathbf{A}$, and not the electric and magnetic fields. includes sources $\\rho$ and $\\mathbf{J}$ in the equations of motion. This is to justify the assertion that there are degrees of freedom that decouple from the rest of system. does not critically rely on quantum field theoretic arguments (although any supplementary remarks are welcome). To illustrate the level of clarity I expect, I provide an argument in the Coulomb gauge $\\nabla\\cdot \\mathbf{A} = 0$: Of the four field degrees of freedom, the gauge condition $\\nabla\\cdot \\mathbf{A} = 0$ removes one degree of freedom (the longitudinally polarized EM waves). To show that among the remaining three degrees of freedom only two are propagating, consider the field equations of motion in the Coulomb gauge: \\begin{align} \\nabla^2 A^0 &= -\\rho/\\epsilon_0,\\\\ \\big[\\frac{1}{c^2}\\frac{\\partial^2}{\\partial t^2}-\\nabla^2\\big]\\mathbf{A}&= \\mu_0 \\mathbf{J}-\\nabla \\frac{1}{c^2}\\frac{\\partial}{\\partial t}A^0. \\end{align} The first equation is NOT a wave equation for $A^0$, and thus does not propagate. The final equation IS a wave equation, and describes the propagation of two degrees of freedom (Gauss' law in first eq. can be solved, and then inserted into the second equation to show that $\\mathbf{A}$ only couples to the Solenoidal part of the current).",
"Seatpost Overextension I've been riding with my very short seat post extended well past its maximum extension line for quite a while now. Looking at the seat post itself I don't see any signs of deformation or damage other than some very minor surface rust. Could my bike frame have been damaged? Could the lever force have damaged the frame? I can post some pictures of the frame if needed. My bike is all aluminum.",
"Where are some good places to find royalty free stock images? I'm always on the hunt for free stock images to use while I design, what are some good resources for images that are under a a royalty free or creative commons licence?",
"How to change default window background color in Windows 10?",
"copy ssh private keys to another computer",
"What does the bracketed capital letter indicate in the revised version below? Is it essential, per the rules of proper punctuation, to do so? Are the ellipsis points (i.e., the spacing of the dots) spot on in that sentence to indicate the omission of one or more sentences? Original quotation \"It need hardly be said that shortness is a merit in words. There are often reasons why shortness is not possible; much less often there are occasions when length, not shortness, is desirable. But it is a general truth that the short words are not only handier to use, but more possible in effect; extra syllables reduce, not increase, vigor.\" Revised quotation \"It need hardly be said that shortness is a merit in words. . . . [S]hort words are not only handier to use, but more possible in effect; extra syllables reduce, not increase, vigor.\" Thank you.",
"How to make the window full screen with Javascript (stretching all over the screen)",
"How should I use \"eponym\", \"eponymous\" and \"namesake\"? I was in London and visited the Tower Bridge. Afterwards, I went to a pub called The Tower Bridge. Just to be clear, the pub is named after the bridge. Which of the following are correct? The bridge is the eponym of the pub. The pub is the eponym of the bridge. From the pub, I could see the eponymous bridge. After I saw the bridge, I went to the eponymous pub. The bridge is the namesake of the pub. The pub is the namesake of the bridge."
]
| medi_sts_stackexchange_dupe |
Is it cold inside a black hole? | Can there be temperature inside of a massive Black Hole? | [
"How to sum data.frame column values?",
"Coloring a black and white PDF graphic I have a graphic in PDF format (originally converted from an SVG) that is monochromatic (black on white). Is it possible using TikZ or PSTricks but not (Illustrator or Inkscape) to include this image in a different color? Example: While it lasts (there seems to be no long term way to host a pdf), you can . Edit: Simple was perhaps a bit of a misnomer - the pdfs are cropped and monochromatic, but to intricate to redraw on my own. The above example is a character from a font (which I can recolor), but it gives a good example of what shapes I am talking about.",
"I've just recently started playing D&D 4e through the Red Box, and I am confused about how to fill in the power cards. So, take Nimbus of Holy Shielding for instance. I understand the Target and Hit components as well as the effect, but my question is about the Attack component. It reads: Attack: Wisdom vs Will. Does the mean whatever my Wisdom score is, without the modifier, is compared to the Will score of the enemy? Would I then not even have to roll a d20 to see if it works?",
"How do I copy a file in Python? I couldn't find anything under .",
"In Star Trek canon, what's the range of operation of Transporters? By \"range of operation\" of the transporter, I mean \"distance up to which it could transport\" or \"distance from which it could transport something to its own location\". The range of operation would have increased with time without a doubt but I want to know the average range at any period. It'll be better if you provide full stats of all times.",
"Is Ubuntu an open source software? Is Ubuntu an open source software (OSS)?",
"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.",
"Transparency/Masking : See through an Outer Sphere and see Inner Sphere in true colours Summary I want to be able to look through an outer sphere - BlueSphere, and see another sphere inside - RedSphere This is the target goal I'm trying to get to: Issues Here is what I have tried, and the problems I'm having: 1) If I set the spheres transparency alpha values to 0.75 - then the inner RedSphere does not take on its \"true\" colour and shows as blue instead of red. 2) If I set the spheres transparency alpha to lower values of 0.5 the spheres lose their crispness which I don't want and the inner RedSphere still does not take on its \"true\" colour { can't paste a 3rd sample - need more reputation points } Background I am animating two spheres, one inside the other, superimposed about a common origin. At the start: the outer BlueSphere is at full radius the inner RedSphere is at zero radius As time progresses: the outer BlueSphere shrinks the inner RedSphere expands So what happens is the expanding inner RedSphere \"bursts through\" the contracting outer BlueSphere. So the effect I am looking for is to see the RedSphere appearing as Red as it expands inside the BlueSphere. Thinking/Logic So I figure that transparency is not the way to go. The transparency settings are behaving correctly - as one would expect, in a \"real world\" situation - the inner sphere (Red) takes on the colour of the outer sphere (Blue) seeing as we are looking through a (transparent) Blue material. Any ideas on what approach to take ? It's almost as if I should be \"removing\" the part of the BlueSphere that the RedSphere \"occupies\" so that we see the RedSphere directly without any BlueSphere between us and the RedSphere. Some sort of masking ?? Advice, comments, suggestions welcome. Thanks. [requested edit] Using internal render. [ My End Solution - Thanks for the guidance ] Right, so here is the way I got to my final result: 1) I created python drivers for each sphere I used the frame_current scene property for input Passed that to a scripted expression which used sin() as the scaling factor Used some if / elif conditionals against frame_current to make the spheres visible only when I needed them 2) I created 3 layers On Layer-1 - background I put RedSphere AND BlueSphere with drivers driver_Outer_RedSphere() & driver_Outer_BlueSphere() limiting the display of each sphere to show only where each radius > halfway On Layer-2 - foreground-1 I put RedSphere ONLY with driver driver_Inner_RedSphere() limiting the display of RedSphere to show only where its radius <= halfway On Layer-3 - foreground-2 I put BlueSphere ONLY with driver driver_Inner_BlueSphere() limiting the display of BlueSphere to show only where its radius <= halfway 3) I rendered each layer to .PNG sequence [RGBA] (alpha channel for transparency) Render Layer-1 - background background : [sky] Render Layer-2 - foreground-1 background : [transparent] Render Layer-3 - foreground-2 background : [transparent] 4) I brought all 3 sequences into the Video Sequence Editor Strip-1 - background blend [cross] opacity [1.00] Strip-2 - foreground-1 blend [alpha-over] opacity [0.50] Strip-3 - foreground-2 blend [alpha-over] opacity [0.50] 5) Rendered the 3 layer final sequence to H.264 So the \"aha moment\" struck me right at the end when I was in the Video Sequence Editor: \"Don't try to make the Outer Spheres transparent, and see through to the Inner Spheres\" \"Instead overlay the Inner Spheres over the Outer Spheres, and limit the opacity of the Inner Sphere overlay\" So now I see my Inner Spheres in their true colours, but the colours are muted due to the .75 opacity - and hence it gives the visual impression that the Inner Spheres are in fact inside the Outer Spheres. Thanks all for the input - it got me going in the right direction.",
"Why is the top bar not changed on Stack Exchange, Area 51 and Ask Ubuntu?",
"Irreducibility check for polynomials not satisfying Eisenstein Criterion. My Question is to check Irreducibility for polynomials not satisfying Eisenstein Criterion. As an Illustration, to check whether $x^{p-1}+.....+x+1$ for p a prime is irreducible or not, we replaced $x$ by $x+1$ and by using Eisenstein's Criterion for the resulting polynomial we conclude that resulting polynomial is irreducible and so is the original polynomial. In general, for a given irreducible polynomial $f(x)$ with coefficients in a known U.F.D, is there some element $a$ such that we can apply Eisenstein's criterion to $f(x+a)$? I am sure there would be no general structure for this but I expect there to be at least some special cases. Any Reference/suggestion would be appreciated. Thank You.",
"I understand if you travelling in or to the US, you can lock your luggage using the TSA Luggage Lock. (Immigration is still able to open your luggage using their own special keys) How about Europe? Especially Heathrow + Charles de Gaulle? If the TSA Lock is not acceptable in Europe, are there any other alternative precautions I could use instead? (FYI, information about the )",
"How to copy symbolic links?",
"Can the milky way actually be photographed ? I know the image is manipulated, and is probably a composite, but how do you capture such contrast in the milky way? Is an equitorially mounted scope required? Any advice or pointers are welcome, thanks. I'm heading out towards much less light polluted areas middle of next week and I want to try some nighttime sky captures with my 7D. Additional info: I just found on wikipedia that says: 54s, tripod mounted 5D, 16mm lens, f/2.8, ISO800. What else do I need to be aware of? My 7D is only an APS-C and the widest lens I have is 19mm. I'm thinking that might not be wide enough to capture an interesting shot?",
"How to derive variance-covariance matrix of coefficients in linear regression I am reading a book on linear regression and have some trouble understanding the variance-covariance matrix of $\\mathbf{b}$: The diagonal items are easy enough, but the off-diagonal ones are a bit more difficult, what puzzles me is that $$ \\sigma(b_0, b_1) = E(b_0 b_1) - E(b_0)E(b_1) = E(b_0 b_1) - \\beta_0 \\beta_1 $$ but there is no trace of $\\beta_0$ and $\\beta_1$ here.",
"Groups of order $pq$ without using Sylow theorems If $|G| = pq$, $p,q$ primes, $p \\gt q, q \\nmid p-1 $, then how do I prove $G$ is cyclic without using Sylow's theorems?",
"If anonymity is so important, why is it not universal? A frequent argument brought up in support of voting anonymity is that it can lead to potential grudges. Certainly the review system is of the same nature. I cannot wrap my mind around the fact that voting is anonymous and reviewing is not. Either both should be public--and this would be fine since public reviewing has been successful--or both should be anonymous--and I assume this would be the desired option since this community holds anonymity so dear. One could say that voting rates the posts, the actual meat of the site, while reviewing is based on clarifying the purpose of the site and cleaning it up. answer makes the point that the community can trust that votes are a good measure of quality for the very reason that they do not know who cast them; the mentality that a high-ranking member may have supported something could blur the line between \"science\" and \"politics/religion.\" Reviewing, then, can be seen as a judgment of specific members rather than quality of edit/questions, which seems to fall precisely under the \"politics/religion\" umbrella--the review system is much more vulnerable to grudges due to this. So let's discuss the differences and the implications of these disjointed anonymity policies.",
"IBM Slack links broken",
"Last digits, numbers Can anyone please help me? 1) Find the last digit of $7^{12345}$ 2) Find the last 2 digits of $3^{3^{2014}}$. Attempt: 1) By just setting the powers of $7$ we have $7^1 = 7$, $7^2=49$, $7^3=343$, $7^4 = 2401$, $7^5 = 16807$, $7^6 = 117649$, $\\dots$ After the power of $4$, the last digits will repeat. Then by noticing the pattern the digits will end in $7,9,3$ and $1$. Then we can divide the exponent $(12345)$ by $4$ since this is the cycle that makes it repeat. Then $12345 : 4$ has remainder $1$. So $7^1 = 7$ is the unit digit to $7^{12345}$. So the last digit is $7$. I know how to do it like this, the problem does not state how to find the last digit, but I know it has something do do with Euler's theorem. for part $2$) I don't know how to start. Can anyone please help me? Thank you for the help.",
"In , I used quotes to demark specific terms, but after I posted the question, I wondered if I'm doing it right. Usually, when quoting something a person says, the quotation mark goes after the comma or period, like so: \"This is my opinion,\" she said. However, I sometimes use quotes not to represent something said by anyone, but instead for delineating a set term or phrase to make it clear that those words go together and none of them should be mistaken for a part of the rest of the sentence. Like this: Should I say \"stand up\", \"standup\", or \"stand-up\"? This looks weird to me: Should I say \"stand up,\" \"standup,\" or \"stand-up\"? ... but maybe I'm wrong about the rules. Is it correct to use quotes in this way? And if so, are the quotes positioned correctly relative to the other punctuation marks? Are there other alternatives for delineating terms without the use of quotes?",
"Is there a subtle difference between \"somebody\" and \"someone\", \"anybody\" and \"anyone\"? Are there any subtle differences between \"somebody\" and \"someone\", or can they be used completely interchangeably? Similarly, can you imagine a situation in which you would prefer \"anybody\" to \"anyone\" or vice versa?"
]
| medi_sts_stackexchange_dupe |
Rack app: can't activate rack, already activated | You have already activated X, but your Gemfile requires Y | [
"Irreducible Components of the Prime Spectrum of a Quotient Ring and Primary Decomposition",
"Why getting this error tlmgr Unknown directive? I haven't used tlmgr for a while but when I tried to install any package with it today, It returned following message: (running on Debian, switching to user mode!) Unknown directive ...containerchecksum c59200574a316416a23695c258edf3a32531fbda43ccdc09360ee105c3f07f9fb77df17c4ba4c2ea4f3a5ea6667e064b51e3d8c2fe6c984ba3e71b4e32716955... , please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 210, line 5579. I've tried to use fix specified on : You have to download update-tlmgr-latest.sh from the tlpretest repository and run it. Afterwards you will be able to work with tlmgr as usual (announced by Norbert a few hours ago). I've downloaded it from , but it returned another error: Verifying archive integrity... All good. Uncompressing TeX Live Manager Updater............................................................................................................................................................................ ./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT. ./runme.sh: Please set your PATH as needed, otherwise it's hopeless. Minimum example Install cleanly vanilla TeXLive 2016 with tmlgr after having old TeXLive in the system successfully: there is no errors/warnings in /usr/local/texlive/2016/*.log, complete log example . Run the following but you get the same output as above when trying to update the system root@masi:/home/masi/Downloads/t/install-tl-20161019# tlmgr update --self (running on Debian, switching to user mode!) Unknown directive ...containerchecksum c59200574a316416a23695c258edf3a32531fbda43ccdc09360ee105c3f07f9fb77df17c4ba4c2ea4f3a5ea6667e064b51e3d8c2fe6c984ba3e71b4e32716955... , please fix it! at /usr/share/texlive/tlpkg/TeXLive/TLPOBJ.pm line 210, <$retfh> line 5579.",
"Paging using ldapsearch I am searching an LDAP directory that has a much larger number of results than the sizelimit currently set,500, by slapd.conf that for all intents and purposes cannot be changed) My idea was to keep running ldapsearch but from a different offset each time (501, 1001, etc.) until all results have been obtained. I have seen the , and it appears that this is handled for you using the -E options: -E [!]<ext>[=<extparam>] search extensions (! indicates criticality) [!]domainScope (domain scope) [!]mv=<filter> (matched values filter) [!]pr=<size>[/prompt|noprompt] (paged results/prompt) [!]subentries[=true|false] (subentries) [!]sync=ro[/<cookie>] (LDAP Sync refreshOnly) rp[/<cookie>][/<slimit>] (LDAP Sync refreshAndPersist) So i tried: ldapsearch -h $HOST -p $PORT -x -L -b \"$BASE\" '*' '+' -E pr=$SIZE However when the results (even paged results with size = 50 for example) hit 500, I get the same error as if the results were not paged: Size limit exceeded (4) I have seen in the man pages there is another option for virtuallistview but have been unable to find examples for it, and as well I dont think my version of ldapsearch has this option. The goal here is to create a backup using ldapsearch and the -L option to create an ldif file that is suitable for restoring the database. A few google searches show up with the same problem I'm having, but none have an applicable solution..",
"What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it?",
"Newton's Law of Graviation: Why $G$ and not e.g. $\\dfrac{1}{4\\pi G_0}$?",
"Enumerated description list How can a list be created, whose items are both enumerated (a,b,c,d,...) and allow for setting a description via \\item[texthere] ? Im am using MikTex on Windows.",
"I have a very strange behavior on an Android device (Nexus 7) when trying to access local network applications. Instead of getting the actual IP of the machine on LAN, the Android device gets the public IP, which means that Chrome, Firefox or any other browser simply shows the web page of the router. I have an internal DNS server which handles the local networks. Doing ping from a PC works correctly: $ ping s.pelicandd.com PING pelicandd.com (192.168.1.15) 56(84) bytes of data. 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=0.524 ms 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=0.578 ms ^C On an HTC One device (accessed with adb shell), it works well too: shell@m7:/ $ ping s.pelicandd.com PING pelicandd.com (192.168.1.15) 56(84) bytes of data. 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=2.56 ms 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=27.8 ms ^C However, this is what I get when doing the same ping from Nexus 7: shell@flo:/ $ ping s.pelicandd.com PING pelicandd.com (90.78.26.42) 56(84) bytes of data. 64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=1 ttl=64 time=2.56 ms 64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=2 ttl=64 time=8.63 ms ^C Instead of resolving to the internal IP, it resolves to the public one. The network configuration is—except the IP address of the device—exactly the same on both devices: IP settings are set to Static, and DNS servers are the internal ones. Both Android devices are connected through Wi-Fi (unlike the PC). A major difference, however, is that Nexus 7 is using Android 6.0.1, while HTC One uses Android 5.0.2. There is no nm-tool, dig or nslookup on Nexus 7. The device is not rooted. The problem existed since I bought the device a few weeks ago, so it could hardly be the issue with DNS cache. What can I do to further inspect this issue?",
"$A_n$ is the only subgroup of $S_n$ of index $2$.",
"I have to use a particular web site for work, but this web site checks to see whether I'm using Internet Explorer and, if not, won't allow me to log in. I can switch my User-Agent header using the Firefox plugin and the web site works fine, but I really don't want to switch the header every time I go to the site and also don't want my User-Agent header to perpetually say I'm using IE. I'm on Linux, so actually switching to IE unfortunately isn't an option. Is there any way to define a particular User-Agent for a particular web site in either Firefox or Chrome?",
"If $A$ is a non-square matrix with orthonormal columns, what is $A^+$? If a matrix has orthonormal columns, they must be linearly independent, so $A^+ = (A^T A)^{−1} A^T$ . Also, the fact that its columns are orthonormal gives $A^T A = I$. Therefore, $$A^+ = (A^T A)^{−1} A^T = (I)^{-1}A^T = A^T$$ Thus, $A^+ = A^T$. Am I correct? Thank you.",
"\"ImportError: No module named _struct\" configuring python-minimal When I run sudo apt-get upgrade, the dpkg error appears and interupts the process. Error details: Setting up python-minimal (2.7.3-0ubuntu7.1) ... Traceback (most recent call last): File \"/usr/local/lib/python2.7/runpy.py\", line 162, in _run_module_as_main \"__main__\", fname, loader, pkg_name) File \"/usr/local/lib/python2.7/runpy.py\", line 72, in _run_code exec code in run_globals File \"/usr/local/lib/python2.7/compileall.py\", line 16, in <module> import struct File \"/usr/local/lib/python2.7/struct.py\", line 1, in <module> from _struct import * ImportError: No module named _struct dpkg: error processing python-minimal (--configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of python: python depends on python-minimal (= 2.7.3-0ubuntu7.1); however: Package python-minimal is not configured yet. And this problem leads to a series of dependency problems when processing the following packages: python gwibber-service libgwibber3 libgwibber-gtk3 gwibber gwibber-service-facebook gwibber-service-identica gwibber-service-twitter python-all python-dev python-all-dev python-apt python-problem-report python-apport python-libxml2 unity-lens-gwibber unity-scope-video-remote Finally, nothing I can do for this problem. And several days later, the root directory is full and I even could not uninstall any software because of this problem.",
"Random plot based on a specific random seed",
"Adding materials to more than one object",
"Alternate moves, first one to roll a 6 wins: what's the probability of winning? Question: Players A and B play a sequence of independent games. Player A starts and throws a fair die and wins on a \"six\". If she fails then player B throws the same die and wins on a \"six\" or fails otherwise. If she fails then player A gets the die and throws again, and so on. The first player to throw a \"six\" wins. Find the probability that player A wins. Here is what I have done: A wins right away: $\\dfrac{1}{6}$ A fails B wins: $\\dfrac{5}{6}\\times \\dfrac{1}{6}$ A fails B fails A wins: $\\dfrac{5}{6}\\times \\dfrac{5}{6}\\times \\dfrac{1}{6}$ Unlike another similar question which the player B can win on \"five\" and \"six\" after player A fails on the first throw, in this case, the games do not seem to have an endpoint. How should I calculate the probability that player A wins then?",
"Why do we have no enzyme to digest cellulose? As we know, cellulose is the most abundant polysaccharide in nature. Why don't we have an enzyme to digest cellulose?",
"When signing in with Google (OAuth), it shows a list of accounts it already knows about. How can I remove some accounts from this list? I know I can nuke all of them by deleting all cookies, but I'd prefer to remove one account that I don't want there, rather than all of them. There used to be an ability to edit this list in the older version of this screen, but in 2018 redesign Google has removed [×] buttons next to the accounts.",
"Main page of StackOverflow на Русском Meta gives error The data for the tag search is still loading; please retry in a moment.",
"I am rendering my scene with only one sample but all the renders of the same picture have a different seed value. How can I combine them correctly? I wrote a java-program that loads all the images and takes the average pixel color for each pixel of the images. Is that a correct way of combining the images? It doesn't reduce the noise very much so I am not happy with it. What can I do?",
"LaTeX template for typesetting a novel",
"What are the left and right ideals of matrix ring? How about the two sided ideals?"
]
| medi_sts_stackexchange_dupe |
apt-get remove messages (triggers for shared-mime-info): Unknown media type in type '...' | How to remove warnings like `Unknown media type ...` | [
"Photoshop CS6 Resize Rectangle with Rounded Corners This question is about Photoshop CS6. Hopefully the feature was added in this version. Before posting I looked up Google and and but didn't find an answer for CS6. So the question is: Is there a feature within CS6 or a script that allows to resize a vector element with rounded corners without using the Direct Selection Tool (white arrow tool) and not changing the border radius? What would be great would be something like simply using the transform tool or something like a grid resize tool.",
"I converted a raster image to vector in Illustrator CS6 using Image Trace then the Expand option, though when I save as an svg the image looks embossed. I suspect it's due to the layer background being white and the paths not lining up, but I'm unsure how to fix it or prove that theory without manually having to adjust every path. This is how it looks in Illustrator before I export it: The image looks like this when saved/exported with art optimized option:",
"Why does the wire-frame material fades across the object? Why does the wire-frame material fades across the object? Here is what I did - I created a new material and I selected on \"Wire\" and I made it shadeless. Then, I created a new material and assigned the new material on the on the object. However, doing it that way, it allows me to render both materials - \"Wire\" and \"Surface\". Then I get a fading result like this - But I want all of the edges to be shown, not a fading result. How can I make that? Here is the blend file if anybody wants to check it out -",
"What do you call snow that has collected between a car body and the tire?",
"Is there a way that I can configure Visual Studio 2008 to understand CamelCase? Specifically, I'd like to be able to get Ctrl + right or left cursor to take me to a subsection of a variable or type name. i.e., if my cursor was at the start of this line: LongNamedExampleClass longNamed = new LongNamedExampleClass(); and I hit Ctrl + right, I'd like to jump to "Named" in the class name, rather than the start of the variable name. If I hit it again, I'd like to go to "Example". I hope that makes sense. I used this navigational feature in Eclipse quite a lot, and find it difficult to unlearn something so ingrained.",
"I'm having a heck of a time trying to disable the option \"Check for updates Automatically\" I ran composer to see what plist was being modified and it looks like ~/Library/Preferences/com.oracle.javadeployment.plist <?xml version=\"1.0\" encoding=\"UTF-8\"?> <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"> <plist version=\"1.0\"> <dict> <key>/com/oracle/javadeployment/</key> <dict> <key>deployment.macosx.check.update</key> <string>false</string> </dict> </dict> </plist> So I experimented with changing that value to true or false and it would not effect the checkbox under the Java Control Panel > Update > Check for Updates Automatically Your assistance would be much appreciated. Initially I was looking @ /Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin",
"Show a connected metric space (X,d) is $\\epsilon$-chainable for $\\epsilon >0$ $\\epsilon$-chainable Definition (X,d) is $\\epsilon$-chainable if given any two points $a,b \\in X$, $\\exists$ a finite set $\\{ x_0,x_1,...,x_n\\}$ of points in X with $x_0 = a$, $x_n=b$ and $d(x_{n-1},x_n)<\\epsilon$, $\\forall$ n Clopen Definition A set is clopen $iff$ its boundary is empty Connected Metric Definition Let $(X,d)$ be a metric space. It is connected $iff$ it has no proper subsets which are clopen The following are equivalent: $X$ is connected The only subsets of $X$ that are clopen are $\\emptyset$ and $X$ $\\nexists$ non-empty, disjoint, open sets $A$ and $B$ such that $X=A\\bigcup B$ $\\nexists$ non-empty, disjoint, closed sets $A$ and $B$ such that $X=A\\bigcup B$ Theorem Let $(X,d)$ be a metric space, and let $S$ be any subset of $X$. Then $S$ is closed $iff$ $S^c$ is open. So how would someone show this exactly? Let the set $A$ be the set of all elements in $(X,d)$ that can be reached from $a\\in X$ in a finite number of steps with length less than $\\epsilon$. Does this mean that there should be no isolated points? (an isolated point would be at distance infinity from any other point, or distance zero from itself, since $\\epsilon >0$ we don't want this?) Knowing that $X$ is connected $\\implies$the only subsets of X that are clopen are $\\emptyset$ and $X$ Also, by construction of A; A is the set of all $\\epsilon$-chains between any element and $a$ And, so $A^c = \\emptyset$ if $A$ was $\\epsilon$-chainable (because A has to have a path from all elements to a, for this to be true, the complement wouldn't have anything in it) Leaving only $A$ as the remaining clopen set Does this make any sense? Or should an alternative be used, and how to formalize it. Thanks.",
"How do I get evolution items like King's Rock?",
"What are the big differences among the D&D editions? I've been out of the loop for a while, and I used to play AD&D 2nd ed, but today I find there are a lot of different versions that have fairly different gameplay. Can anyone summarize the really big differences, the ones (maybe top three?) that are the 'killer features' of the different editions? What makes each edition play differently than the others?",
"Can I publish parts of the Ph.D thesis as a paper in a journal?",
"Importing only certain rows between spreadsheet documents Document 1 has many rows of data. How do I import into document 2 only those rows that have a certain value in column C?",
"Minor grid in pgfplot not showing when specifying ticks manualy Firstly I would like a minor tick between every major tick in my pgfplots graph (and minor grids). I wrote minor tick num=1 but it doesn't work. I am not using a logarithmic axis so it is unrelated to other questions. Secondly, why is the tick label \"1\" missing for each axis? How do I get that to display? \\documentclass{standalone} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture} \\begin{axis}[% footnotesize, width=4in, height=4in, axis equal, scale only axis, separate axis lines, grid=both, every outer x axis line/.append style={black}, every x tick label/.append style={font=\\color{black}}, xmin=0, xmax=1, xlabel={X}, every outer y axis line/.append style={black}, every y tick label/.append style={font=\\color{black}}, ymin=0, ymax=1, ylabel={Y}, minor tick num=1, xtick={0,0.1,...,1}, ytick={0,0.1,...,1}, axis background/.style={fill=white}, legend style={at={(0.97,0.03)},anchor=south east,legend cell align=left,align=left,fill=white} ] \\end{axis} \\end{tikzpicture}% \\end{document}",
"Show *realtime* mouse cursor coordinates? (Cursor mod / overlay) Also, copy to clipboard? I'm looking for a solution that would display the current mouse cursor coordinates in realtime (i.e. NOT xdotool and NOT xev). I need to move the mouse to a certain position, then press Alt-Tab to flip to another window and record the coordinates there. (This would not move the mouse, so the coordinate display would stay the same). There's a Windows program that works BEAUTIFULLY for this purpose - ...but it doesn't even start up in Wine. Alternately, instead of displaying the coordinates, if this solution could copy the coordinates (in XXX,YYY format) to the clipboard, upon pressing a hotkey, that would be even better. Any suggestions would be much appreciated! P.S. I'm running Ubuntu 12.04 LTS.",
"How to Deserialize XML document",
"ꕺ (U+A57A Vai Syllable Kpoo) is allowed in character names as the last character I believe this should be changed so ꕺ can not be the last character of a name at minimum. This could be a bug in my opinion because it provides confusion with diamond mods. Although other symbols are blocked from what I understand but this does technically look different. I have changed my name to such to demonstrate the confusion at least temporarily. They say imitation is the greatest form of flattery so maybe this should be accepted because to anyone who is familiar with SO I doubt this would cause an issue.",
"novel with psi slavery Name the novel, 197x. Setting is a world of human(oid)s most of whom have the psi ability to enslave weaker others. (Maybe the word slave and its derivatives are not used.) Masters and slaves form a tree rather than a dichotomy; everyone delegates as much as they can. The protagonist is an outworlder on a mission, maybe simply doing a survey. He wears the green robe of a native subculture who lack the power (or maybe they renounce it?) and are immune to it – by law or custom, I think, rather than by nature. His host or primary contact is Jael Forty of Lant, the number being how many slaves he can control; it can fluctuate.",
"Is there a way to make IE8 honour opacity on an `:before` pseudo element?",
"Let's say we have $x^2=25$ So we have two real roots ie $+5$ and $-5$. But if we were to differentiate on both sides with respect to $x$ we'll have the equation $2x=0$ which gives us the only root as $x=0$. So does differentiating on both sides of an equation alter it? If it does, then how do we conveniently do it in Integration by substitutions? If not then what exactly is going on here ?",
"Block of equations with only some being subequations I'm trying to make a block of equations where the first two are standalone equations, and the second two are subequations, ie X=XXXX (1) X=XXXX (2) X=XXXX (3a) =XXXX (3b) I'm using the amsmath package, with align and subequation, but I can't figure out how to do this without making a separate block for Eqs 1-2 and one for Eqs 3a-3b. That solution is unsatisfactory, because then there is a big vertical gap between the two blocks, and I want them to appear all as one. Here's the code I have so far, in case it's unclear. \\begin{align} T(x) &= \\frac{m}{2{k_{B}}} \\left\\langle \\mathbf{\\tilde{v}}{(\\mathbf{x}_{i},t)}^{2} \\right\\rangle\\\\ \\mathbf{u}(x) &= \\left\\langle \\mathbf{v}_{i}(\\mathbf{x}_{i},t) \\right\\rangle \\end{align} \\begin{subequations} \\begin{align} P_{xy}(x) &= \\frac{1}{A} \\left\\langle \\sum\\limits_{i} {m \\tilde{v}_{i,x} \\tilde{v}_{i,y}} + \\frac{1}{2} \\sum\\limits_{i} {\\sum\\limits_{j\\ne i} {r_{ij,y} F_{ij,x}}} \\right\\rangle \\\\ \\begin{split} &=\\frac{m}{A} \\Bigg\\langle \\sum\\limits_{i}{{{{\\tilde{v}}}_{i,x}}{{{\\tilde{v}}}_{i,y}}} + \\frac{a^3\\omega _{pd}^2}{4} \\\\ &\\quad \\times \\sum\\limits_{i}{\\sum\\limits_{j\\ne i}{r_{ij,y}{\\left\\{ \\frac{e^{(-{{r}_{ij}}/\\lambda )}}{{{r}_{ij}}}\\left( \\frac{1}{r_{ij}}+\\frac{1}{\\lambda} \\right) \\right\\}_{x}}}} \\Bigg\\rangle \\end{split} \\end{align} \\end{subequations} Any suggestions would be greatly appreciated!",
"There a who has no valid parent user. It is indicated that his chat account is associated to a Maths.SE account, which does not appear to exist. The user was still able to chat. Is it normal? If it's a bug, could someone look into it? Edit: if you browse the Google cache for users named Skullpatrol, it turns out a single series of associated accounts. The user is now named . I don't know what went wrong, maybe an account merge or something like that, but it needs someone from staff looking into it with some superpowers. I also tried to update the parent user of the chat account to this "Rob" profile, but the interface goes all buggy on me (works for other users, fails only for this one):"
]
| medi_sts_stackexchange_dupe |
Javascript Regex object and the dollar symbol | Why do regex constructors need to be double escaped? | [
"Suppose that $$f(x)=1+\\sum_{n=1}^\\infty a_n \\frac{x^n}{n!}\\ \\ \\forall \\ x\\in \\mathbb{R}$$ where $\\sup_{x>0}\\left|e^xf(x)\\right| < \\infty$ and $\\sup_{n\\in\\mathbb{N}} |a_n|< \\infty$. Prove that $a_n = (-1)^n$ , $\\forall n\\in \\mathbb{N}$ It seems amazing to me. What we need to prove is $f(x)=e^{-x}$. It seems insufficient to prove this strong conclusion, but actually it is true and all the \"counterexamples\" I found were wrong. My attempt Put $g(x)=e^x f(x)$. $$\\left|g^{(n)}(0)\\right|=\\left|\\sum_{k=0}^n \\binom{n}{k} f^{(k)}(0)\\right|\\le 2^n\\sup_{n\\in\\mathbb{N}} |a_n| $$ Put $h(x)=g(\\frac{x}{2})$. Thus $$h^{(n)}(0)=\\frac{1}{2^n}g(0) \\le \\sup_{n\\in\\mathbb{N}} |a_n|$$ which implies that $$h(x)=1+\\sum_{n=1}^\\infty b_n \\frac{x^n}{n!}\\ \\ \\forall \\ x\\in \\mathbb{R}$$ where $$|b_n|\\le \\sup_{n\\in\\mathbb{N}} |a_n| \\ \\ \\forall \\ n\\in\\mathbb{N} \\,\\,\\,\\,\\,\\& \\,\\,\\,\\,\\, \\sup_{x>0}\\left|h(x)\\right| < \\infty $$ And hence if $b_k<0$, then there exists $l>k$ such that $b_l>0$. I want to yield a contradiction by supposing this, but I failed. Any hints or other new ideas? Thanks in advance! (I heard that this problem can be solved by complex analysis. This is the reason why I attach the complex-analysis tag.)",
"How to Join Games with Minecraft Pocket Edition 0.7",
"Showing the sequence converges to the square root For any $a > 0$, I have to show the sequence $x_{n+1}$ $=$ $ \\frac 12$($x_n+ $ $ \\frac {a} {x_n}$) converges to the square root of $a$ for any $x_1>0$. If I assume the limit exists ( denoted by $x$) then, $x$ $=$ $ \\frac 12$($x+ $ $ \\frac {a} {x}$) can be solved to $x^2 = a$ How could I show that it does exist?",
"how can i display the latest items from another site collection I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are the available approaches which i can follow? Thanks in advance for any help. Regards",
"How to get git-completion.bash to work on Mac OS X? I have followed to add git-completion.bash to my /opt/local/etc/bash_completion.d/git-completion and I put PS1='\\h:\\W$(__git_ps1 \"(%s)\") \\u\\$ ' in my .bashrc_profile But now I am getting this -bash: __git_ps1: command not found everything I do a cd. Can you please tell me what am I missing?",
"What is polarisation, spin, helicity, chirality and parity? Polarisation, spin, helicity, chirality and parity keep confusing me. They seem to be related, but exactly how they are related is unclear to me. Can someone maybe give a short overview about what these quantities mean and how they are related? What are the values for e.g. basic particles like electron or photon?",
"Man/Tree Symbiosis It was an old book... I'm pretty sure it was a book, and pre-1990's I think. The basic plot was this man somehow interacted with this tree, and as a result he became a carrier of the tree's 'seed'. They were in a symbiotic relationship: the man got a much longer life, more strength, etc.; but when he did die the tree would grow up from his body.",
"I am new to linux, but had a question. I am getting in the business of buying old computers, putting Linux on them, then donating them to students who don't have their own computer at home. I have gone through and installed Xubuntu on my system, installed/uninstalled all the software that I want/need, and now want to know if there is a way that I could make an ISO of my system, and put it onto ANOTHER computer, and still have all of my tweaks, and programs ready to go after the ISO has installed. That way I don't need to go through and spend an hour or two on every computer. What programs would you recommend for creating an ISO like this? Thanks, Tobin",
"How to import a module given its name as string? I'm writing a Python application that takes as a command as an argument, for example: $ python myapp.py command1 I want the application to be extensible, that is, to be able to add new modules that implement new commands without having to change the main application source. The tree looks something like: myapp/ __init__.py commands/ __init__.py command1.py command2.py foo.py bar.py So I want the application to find the available command modules at runtime and execute the appropriate one. Python defines an __import__ function, which takes a string for a module name: __import__(name, globals=None, locals=None, fromlist=(), level=0) The function imports the module name, potentially using the given globals and locals to determine how to interpret the name in a package context. The fromlist gives the names of objects or submodules that should be imported from the module given by name. Source: So currently I have something like: command = sys.argv[1] try: command_module = __import__(\"myapp.commands.%s\" % command, fromlist=[\"myapp.commands\"]) except ImportError: # Display error message command_module.run() This works just fine, I'm just wondering if there is possibly a more idiomatic way to accomplish what we are doing with this code. Note that I specifically don't want to get in to using eggs or extension points. This is not an open-source project and I don't expect there to be \"plugins\". The point is to simplify the main application code and remove the need to modify it each time a new command module is added.",
"If $G$ has no proper subgroup, prove that $G$ is cyclic of order $p$, where $p$ is a prime number. I know that since $G $is a group with no proper subgroups, $g \\in G$ is not just the identity. I don't know where to go from there.",
"Show Capslock on Windows 8",
"Books on cosmology I have finished Carroll's general relativity book, Spacetime and Geometry. I am specifically interested in cosmology, so is there any book which goes more in depth into cosmology? I prefer a mathematically rigorous book, which goes beyond the cosmology chapter in Carroll's book. The Big Bang and inflation theory should be dealt with in depth.",
"In Python, how do I get a function name as a string, without calling the function? def my_function(): pass print get_function_name_as_string(my_function) # my_function is not in quotes should output \"my_function\". Is such function available in Python? If not, any ideas on how to implement get_function_name_as_string, in Python?",
"'both in terms of' or 'in terms of both'?",
"Setting a document in MS Word-12pt (12bp) Warning If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical nature, as it results in tiny differences, which will most likely not be noticed by someone who doesn't allow the use of LaTeX. Questions that might be more helpful for this matter are: Question I learned that MS Word uses a slightly different version of the unit \"point\" (pt) than TeX does: The 12 point of Word will be PostScript point, which in TeX would be called 12bp. A TeX pt is slightly smaller: it's 1/72.27 inch, while a bp/PostScript point is 1/72 inch. See also ( in ) I'm writing a paper that would usually be expected to be \"typeset\" in MS Word, thus I want to use the same font size as Word would. How do I set a document e.g. in the \"12pt\" font size that MS Word would use? In case it matters, I'm using the article document class, Latin Modern (lmodern) as a font with the T1 font encoding and compile with pdfLaTeX, but input on different set-ups is more than welcome.",
"Will higher temperatures damage a computer over time, even when not reaching the maximum temperature? For example, if the maximum is 105 degrees celcius, will the computer break faster when continually having it on 80 degrees celsius instead of, for example, 60 degrees celcius.",
"How to show $\\lim_{n \\to \\infty} a_n = \\frac{ [x] + [2x] + [3x] + \\dotsb + [nx] }{n^2} = x/2$? This question came from the prelim exam I took last month. I have a proof that seems a bit unwieldy to me (posted as an answer), so I'm opening it up to ask if there are other ways of showing this. Let $x$ be any positive real number, and define a sequence $\\{a_n\\}$ by $$ a_n = \\frac{ [x] + [2x] + [3x] + \\dotsb + [nx] }{n^2} $$ where $[x]$ is the largest integer less than or equal to $x$. Prove that $\\displaystyle{\\lim_{n \\to \\infty} a_n = x/2}$.",
"Closed form for $\\int_0^\\infty\\frac{1}{(1+x^2)^s}\\,dx$ when $s\\in (0.5,\\infty)\\setminus\\mathbb{N}$ I know that the improper integral $$ \\int_0^\\infty\\frac{1}{(1+x^2)^s}\\,dx $$ is convergent for $s>0.5$ and divergent otherwise. Furthermore, it has a closed form for $s \\in \\mathbb{N}$ (this can be obtained using the Residue Theorem). My question is to know whether it has a closed form for any non-integer $s >0.5$.",
"If I was at point $A$ and I wanted to walk directly to point $B$, I would have to walk half way to point $B$, but before that I would have to walk half way to halfway to halfway to point $B$ and half of that again and so on and so fourth. if I halved this distance an infinite amount of times then there would be an infinite amount of actions I would need to perform in order to cross from $A$ to $B$. Therefore, if each action took any quantity of time at all, then it would take me an infinite amount of time to cross from $A$ to $B$, even if $A$ and $B$ were only a few centimetres apart! Because I am not infinitely old and I can move, there must be a flaw in this logic. Where is it?",
"I posted this question but for some reason I can't get back into my account: Most things I see with 220V have both hot legs going through the switch or relay, current \"returns\" through the switch. Is it against code to wire one leg directly to the equipment and the other leg is switched as opposed to having both legs switched. It seems useless and a waste of wire to switch both legs. Basically vs (minus the GFCI as I'm not allowed to have that) As a bonus question. I assume I need a \"motor rated switch\" as standard switches can weld due to the high startup current. Is one legal\\safe?"
]
| medi_sts_stackexchange_dupe |
How to Programmatically Detect Interop-unlocked Windows Phone devices? | How To check Windows device is rooted/jailbrake or not programatically? | [
"Removing the Bracket from the First Line of bmatrix How can I write a matrix with a header line that is not bracketed? I have used the following code to produce the results below. In addition of being ugly, it is impractical when I need to align the first row, n1, ..., n6 with the matrix columns. \\documentclass{book} \\usepackage{amsmath} \\begin{document} \\[ \\ \\ \\ \\ \\ \\ \\ n_1\\ \\ \\ \\ \\ \\ \\ \\ n_2\\ \\ \\ \\ n_3\\ \\ \\ \\ \\ \\ \\ \\ \\ n_4\\ \\ \\ \\ n_5\\ \\ \\ \\ n_6\\] \\[ \\begin{bmatrix} 1 & -1 & 0 & 0 & 0 & 1\\\\ 0.960 & -0.977 & 0 & 0 & 0 & 0.983\\\\ 0 & 1 & -1 & -1 & 0 & 0\\\\ 0 & 0.977 & 0 & -0.983 & 0 & 0\\\\ 0 & 0 & 0 & 1 & -1 & -1\\\\ 0 & 0 & 0 & 0 & 0 & 1\\\\ \\end{bmatrix} \\begin{bmatrix}n_1\\\\n_2\\\\n_3\\\\n_4\\\\n_5\\\\n_6\\end{bmatrix} = \\begin{bmatrix}0 \\\\ 0 \\\\ 0 \\\\ 0 \\\\ 0 \\\\ 100\\end{bmatrix} \\] \\end{document}",
"Background Video is shown in Rendered mode but not when szene is rendered i have a 3D Object and want to add a background image( if possible even a movie) to this 3D Object. I use Cycles to render and tried a plane with the image as texture. When i go into render mode, it looks like this(picture with background) and when rendered, it has no background. The key also looks into a different direction. Should i even use Cycles for this or use motion tracking? i tried to use that but had several problems. Rendered mode When scene is rendered",
"Analog voltage level conversion (level shift) I have a joystick that puts out analog voltage somewhere between 1.5V and 3.5V. I want to transform this range of voltage to control a motor controller that takes analog voltage between 0V and 5V. How do I level shift and amplify properly?",
"Delete files older than X days + I have found the command to delete files older than 5 days in a folder find /path/to/files* -mtime +5 -exec rm {} \\; But how do I also do this for subdirectories in that folder?",
"Can I travel to Canada with valid visa on old/expired passport?",
"Label equations arbitrarily When I have equations, as in \\begin{equation} ... \\end{equation} Can I arbitrarily assign the numbers to the equations? Instead of the usual order (1), (2), (3), ..., I'd like something like (1), (2.1), (2.2), (2.3), (3.1), (3.2), (4), ...",
"Should I be offered the option to upgrade to 18.04.1?",
"Please show changed titles separately in edit diffs In an edit diff, when the revision changes the title, removed words are shown struck out in red and added words are shown with a green background. This is fine when there are only removed words, or only added words, but when there are both, the result is difficult to read. Getting default accessible fields of… No. Getting accessible fields of an object in a Salesforce object… No. Getting accessible fields of a Salesforce object using REST API. Phew. Yeah, ok. Program causes run. Time error? Oh, Program causes run-time error … when run on specific machine. Yeah, sounds sensible. What was the old title? Oh dear… Please show both the old title and the new title, one below the other.",
"Find the nilpotents in $\\mathbb{Z}_3[x]/(x^2-1)$",
"What is tail recursion?",
"A complete residue system from an arithmetic progression I'm solving a problem, and the solution makes the following statement: \"The common difference of the arithmetic sequence 106, 116, 126, ..., 996 is relatively prime to 3. Therefore, given any three consecutive terms, exactly one of them is divisible by 3.\" Why is this statement true? Where does it come from? Is it generalizable to other numbers?",
"Loop-cut won't go all the way around",
"How do I Sort a Multidimensional Array in PHP I have CSV data loaded into a multidimensional array. In this way each \"row\" is a record and each \"column\" contains the same type of data. I am using the function below to load my CSV file. function f_parse_csv($file, $longest, $delimiter) { $mdarray = array(); $file = fopen($file, \"r\"); while ($line = fgetcsv($file, $longest, $delimiter)) { array_push($mdarray, $line); } fclose($file); return $mdarray; } I need to be able to specify a column to sort so that it rearranges the rows. One of the columns contains date information in the format of Y-m-d H:i:s and I would like to be able to sort with the most recent date being the first row.",
"8 AWG solid EGC in raceway for 100 amp subpanel I'm adding a 100 amp subpanel to my detached garage and have a question about the EGC I've already pulled through the underground LFNC-B raceway. Taking the advice from a similar post on this forum, I decided to use a 8 AWG bare solid copper conductor for my EGC in the underground raceway back to the main house. The other 3 conductors are 3 AWG THWN-2 stranded copper. I did double check the NEC tables to ensure these were appropriately sized for the underground feed portion of my run and ensured the conduit fill was less than 40%. What I failed to realize though (until after I won the good battle of pulling this set though the raceway) was that there is a section in the NEC that prohibits the use of solid conductors 8 AWG or larger in raceways: "310.3 Stranded Conductors. Where installed in raceways, conductors of size 8 AWG and larger shall be stranded." Dangit! Now I'm questioning why I didn't just use insulated green THWN-2 - it would have made my pull much easier! Rookie mistake. So how bad have I goofed up here? Let's say the inspector fails to call this out. Is this a safety issue? What's the rationale for the rule anyways? To prevent numskulls like myself from trying to pull larger gauge solid wire through a raceway and possibly damaging the other conductors? Or is there more to it? Interestingly, there seem to be several exceptions in the NEC that do allow for using 8 AWG solid EGC in raceways (690.46 for Array Equipment Grounding Conductors for example). I'm just trying to get a feel for the severity of this goof-up and if it's worth fixing if not required by the inspector. Any feedback from the experts would be much appreciated!",
"Breakthrough at the Large Hadron Collider -Leptoquarks skepticism?",
"Deleting photos on the phone - does it affect them on iCloud?",
"I really tried hard to do this on my own, but I keep failing ... Using multi-column and multi-row commands confused me. I know some of you might frown upon such a request but I really need help getting this table implemented .. So I'm sorry if I upset anyone. My preamble has : \\documentclass[12pt,a4paper]{report} \\usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \\linespread{1.5} Is there a way I can convert this from excel to LaTeX form ? I tried an add-in before but it didn't work for me. Also online generators cannot combine cells the way I want them (unless I didn't find a better table generator ? )",
"How to run find -exec? I'd like to find the files in the current directory that contain the text \"chrome\". $ find . -exec grep chrome find: missing argument to `-exec' What am I doing wrong?",
"LaTeX Editors/IDEs",
"Tips for getting latte or soda out of your keyboard?"
]
| medi_sts_stackexchange_dupe |
$n=\dim V$. Then $V=\ker(T^n)\oplus\mathrm{range}(T^n)$ | 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$ | [
"Probability Math Question...? Bag A contains 3 white and 2 red balls. Bag B contains 6 white and 3 red balls. One of the two bags will be chosen at random, and then two balls will be drawn from that bag at random without replacement. What is the probability that the two balls drawn will the be the same color? Express your answer as a common fraction.",
"resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX. \\documentclass{article} \\usepackage{graphicx} \\newsavebox\\IBox \\savebox\\IBox{\\includegraphics[scale=1]{koala.jpg}} \\begin{document} \\the\\wd\\IBox \\end{document} How to force pdfTeX and XeTeX to produce the same measurement for the imported image?",
"Are The Lazarus Effect and Dune in the same universe? There are similar aspects between Dune, and the technology in The Lazarus Effect. Noticeable similarities: Lasguns - this weapon exists in both of the books, and has similar architecture in both books. Merman and Ixians - are both technologically sophisticated in similar ways. Rely on mechanical technology as opposed to organics or similar. Is this merely Herbert sticking to his original style?",
"Tiny white very hard cell bug! Please help to identify! I found these bugs walking on the floor/ wall and on my laptop. And unfortunately I think they could be in my bed, too, since I bring my laptop to bed sometimes. I live in a big city in the Netherlands without pets. My house has humidity issues. I have noticed that the bugs are very tough to exterminate; meaning that when trying to squeeze them it really needs a lot of effort for their size. Their size is about 1 - 2 mm and their color is whitish. Please note that my lightbulb is having a yellow color.so it makes it look darker than normal. It's more white than looks in the picture This is a pic of it walking on my screen...",
"cd to previous directory without echo of directory name This gave me cd - as shorthand to change to my previous directory in Bash. It does have a major problem: it prints the directory it changes to, wasting my screen space, as that directory is then repeated in the prompt on the next line. I know I can do cd $OLDPWD, also mentioned in that answer, and cd - >/dev/null but that is much more typing. In the bash man page it says: ... or if - is the first argument, and the directory change is successful, the absolute path name of the new working directory is written to the standard output. How can I make - not to be the first argument? By using any of the cd optional arguments? Any other way to suppress the echo or minimise typing without the need for defining functions/aliases on every machine I work with?",
"When we find the electric field between the plates of a parallel plate capacitor we assume that the electric field from both plates is $${\\bf E}=\\frac{\\sigma}{2\\epsilon_0}\\hat{n.}$$ The factor of two in the denominator comes from the fact that there is a surface charge density on both sides of the (very thin) plates. This result can be obtained easily for each plate. Therefore when we put them together the net field between the plates is $${\\bf E}=\\frac{\\sigma}{\\epsilon_0}\\hat{n}$$ and zero everywhere else. Here, $\\sigma$ is the surface charge density on a single side of the plate, or $Q/2A$, since half the charge will be on each side. But in a real capacitor the plates are conducting, and the surface charge density will change on each plate when the other plate is brought closer to it. That is, in the limit that the two plates get brought closer together, all of the charge of each plate must be on a single side. If we let $d$ denote the distance between the plates, then we must have $$\\lim_{d \\rightarrow 0}{\\bf E}=\\frac{2\\sigma}{\\epsilon_0}\\hat{n}$$ which disagrees with the above equation. Where is the mistake in this reasoning? Or more likely, do our textbook authors commonly assume that we are in this limit, and that this is why the conductor behaves like a perfectly thin charged sheet?",
"Sending a value to JavaScript I have set theme handler for a form in Drupal and this handler has a template file. What is the easiest way to send a value from PHP to JavaScript in that include file?",
"Show that $C[a,b]$ is a complete space under the metric $d(f,g)=\\sup_{t\\in [a,b]}|f(t)-g(t)|$.",
"How many stickers do I need to complete my FIFA Panini album? I'm playing the , which is an Internet adaption of the classic Panini albums that are usually published for the soccer world cup, European championship, and possibly other tournaments. The album has placeholders for 424 different stickers. The purpose of the game is to collect all 424. The stickers come in packs of 5, which can be obtained through codes found online (or, in case of the classic printed album, bought at your local newsstand). I make the following assumptions: All stickers are published in the same quantity. One pack of stickers does not contain duplicates. How can I find out how many packs of stickers I need to acquire in order to be reasonably sure (let's say 90%) that I have all 424 unique stickers?",
"I use Ubuntu 18 and have little experience with Linux commands. I have two files: file 1: a,txt1,v1 b,txt2,v2 c,txt3,v1 d,txt4,v2 file2: a,txt5,v2 b,txt6,v1 c,txt7,v1 d,txt8,v2 I want to print the 1st and 3rd column values where the the 1st column value is identical and the 3rd column value has changed from v1 to v2. So my expected output should be: a The second query is for the 3rd column values that has changed from v2 to v1. So my expected outcome: b",
"How to copy some, but not all files?",
"I'm hoping someone can give me a nudge in the right direction... Let $F$ be a finite field, and let $f(x)$ be a nonconstant polynomial whose derivative is the zero polynomial. Prove that $f$ cannot be irreducible over $F$. I've got that every root of $f$ is a multiple root and that for $F=\\mathbb{F}_{p^r}$, the exponent of every term of $f$ is a multiple of $p$.",
"See , page 2: the internal logic diagram for the MM74HC138. The diagram shows logic inverters with bubbles at the input or at the output. Is there an actual difference between them?",
"Find a recurrence relation for the number of $n$-digit binary sequences with no pair of consecutive $1$s. I know my base case:$$a_1 = 2$$ for either $1$ or $0$. Normally to construct the recurrent relation I would say fill in $n-1$ spaces then add a $1$ or $0$, which is simply:$$a_n = 2\\cdot a_{n-1}$$However, I don't believe this is right, because this doesn't take into account that there can't be any consecutive $1$s. Even when I use the base case of $2$ digits:$$a_2 = 3$$for either $01$, $10$, or $00$, I still get the recurrence relation of:$$a_n = 3\\cdot a_{n-2}$$which also does not account for $01$ and $10$ occurring consecutively. So how would I express this?",
"Suspending with root on USB I have a laptop running Ubuntu 14.04 from a root file system on USB storage. This is not working well, because after wake up from suspend, ext4 will frequently try to write to the root file system before USB is ready. Here is what I see in the kernel log when this happens, notice how I get a bunch of I/O errors on sda1, and then one second later the USB storage drive is finally detected by the kernel. [ 2826.517419] wlan0: associated [ 2826.517452] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 2827.575371] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 1733735 (offset 0 size 0 starting block 12629950) [ 2827.575380] Buffer I/O error on device sda1, logical block 12629694 [ 2827.575400] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 3148603 (offset 0 size 8192 starting block 12844470) [ 2827.575404] Buffer I/O error on device sda1, logical block 12844212 [ 2827.575411] Buffer I/O error on device sda1, logical block 12844213 [ 2827.575448] EXT4-fs warning (device sda1): ext4_end_bio:317: I/O error -5 writing to inode 3015015 (offset 0 size 90112 starting block 6588832) [ 2827.575453] Buffer I/O error on device sda1, logical block 6588576 [ 2827.575461] Buffer I/O error on device sda1, logical block 6588577 [ 2827.575465] Buffer I/O error on device sda1, logical block 6588578 [ 2827.575469] Buffer I/O error on device sda1, logical block 6588579 [ 2827.575473] Buffer I/O error on device sda1, logical block 6588580 [ 2827.575477] Buffer I/O error on device sda1, logical block 6588581 [ 2827.575481] Buffer I/O error on device sda1, logical block 6588582 [ 2828.857284] sd 0:0:0:0: [sda] No Caching mode page found [ 2828.857293] sd 0:0:0:0: [sda] Assuming drive cache: write through At first there is no visible indication outside of the kernel log, that the problem has triggered, but if I let Ubuntu stay running beyond this point, then the file system will get errors and eventually switch to read only mode. At that point I have to reboot into recovery mode and run fsck.ext4 manually from a root shell in order to repair the file system. Is there some setting I can change such that access to the root device after waking from suspend can be delayed until the USB drive is ready?",
"What are Alternative's \"some\" and \"many\" useful for?",
"Is there a simple and clear way to explain the difference between past simple and present perfect? 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.",
"Let $a,b,c$ real numbers. Prove the inequality $|a-b| \\leq |a-c| + |c-b|$. Prove that equality holds if and only if $a \\leq c \\leq b$ or $b \\leq c \\leq a$. I've tried starting with just $a \\leq c$ and using field properties to reconstruct the inequality, however I haven't been able to make it work. I also tried making the negatives positive and stripping the inequalities and making something happen but again I don't know if that's a proper rule and it didn't seem to get me anywhere.",
"How can I drive 12v LEDs from my Arduino Nano? Background I am building a scale RC helicopter and ordered a bunch of 3mm LEDs to give it some nice navigation and strobe lights which I plan to drive with an Arduino Nano. Problem is that I goofed and didn't notice that the LEDs are 12v until they arrived. I know that the Arduino Nano can accept 12V on pin 30, but I think the voltage output on any of the "D" or "A" pins is always 5v (correct??). Question If the voltage output of the Arduino pins is 5v, then how can I drive the 12v LEDs using the Arduino, or is it impossible?",
"If router is off for a few days, do you have an ip address as far as ISP is concerned? I have an ISP which assigns IP addresses dynamically. If I go out and turn my router off I am always assigned a new one once I turn it back on. Does that mean that... 1) my previous IP goes elsewhere when my router is turned off? 2) i dont actually have an IP address if my router is off for a day or more?"
]
| medi_sts_stackexchange_dupe |
If you cast a spell with different effect options twice on the same creature, do multiple castings of the spell stack? | If you cast Blindness/Deafness as a 3rd level spell, can you target one creature with both effects? | [
"What is the difference between local and global sequence alignments? There are a bunch of , and I don't want to get bogged down in the maths behind them as this not only between software but varies from software version to version. There are two main divides in the programs; some use local alignments and others use global alignments. My question is threefold: What are the fundamental differences between the two? What are the advantages and disadvantages of each? When should one use either a global or local sequence alignment?",
"How do we prove that $\\operatorname{rank}(A) = \\operatorname{rank}(AA^T) = \\operatorname{rank}(A^TA)$ ? Is it always true?",
"Using a naked black hole as a mirror? The YouTube video is a good example how the gravity of this merging binary black holes bend light around themselves.",
"Do the non-zero eigenvalues of AB and BA have the same algebraic multiplicity (for AB and BA not square)? I know that if A and B are square nxn matrices, then AB and BA have the same characteristic polynomial and thus the same eigenvalues (and same algebraïc multiplicity). I'm wondering though if this can be generalized: if A is a nxm matrix and B a mxn matrix, then AB is a nxn matrix and BA a mxm matrix. So my question is: will the eigenvalues of AB and BA, that differ from zero, have the same algebraïc multiplicity?",
"I'm using OSX 10.9. I'm trying to set up Internet Sharing to connect my Android to my Mac directly over Wi-Fi. Every tutorial I've come across (including ) mentions checking a box for \"AirPort\" in a \"To computers using\" list. However, the option is simply not available on my machine: I have a few related questions: Why isn't the AirPort option available? Is there anything I can do to make it available? If there isn't, how can I work around it to finish setting up Internet Sharing so I can connect my Android and my Mac directly over Wi-Fi?",
"Convergence of cos, sin, tan functions In Radian mode, continually pressing the $\\cos$ function of a number causes the result to converge to $x=0.739085133$, a fixed point of $\\cos(x)$. Repeating this behavior with the $\\sin$ function causes the result to converge to $x=0$, a fixed point of $\\sin(x)$. What happens if this is done using the tan function? It seems that $x=0$ is a repelling fixed point with no convergence in this case. What would be the best way to explain these results mathematically?",
"Proof that the Euler characteristic is additive I'm reading through a set of notes which assumes that the Euler characteristic is additive, but doesn't give a proof, so I would like to understand why this is. Let $A_n$ be a finitely generated Abelian group, non-zero for $0<n<k$. Consider the long exact sequence $ \\cdots \\rightarrow A_n \\rightarrow B_n \\rightarrow C_n \\rightarrow A_{n-1} \\rightarrow B_{n-1} \\rightarrow C_{n-1} \\rightarrow \\cdots $ where $B_n$, $C_n$ defined similarly to $A_n$. I know that the Euler characteristic of $A$ is given by $\\chi(A) = \\sum_0^k (-1)^n \\text{rank}(A_n)$, with similar definitions for $B$ and $C$. I want to prove that $\\chi(B) = \\chi(A) + \\chi(C)$. The notes say that for an exact sequence $0 \\rightarrow X \\rightarrow Y \\rightarrow Z \\rightarrow 0$ of finitely generated Abelian groups $X,Y,Z$, we have the result rank($Y$) $=$ rank($X$) + rank($Z$), and that the additivity of the Euler characteristic follows from this fact, but I can't see how.",
"Need help identifying a comic book about a wizard I need help with identifying the comicbook, what follows is my best effort to gather whatever I remember from reading it years ago (circa year 2000, but I'm positive it was older than that): The main character was a guy with white hair, who wanted to become powerful. Through some training and a deal of some kind he was able to become a mage of sorts. The training was set on some other world, or possibly even parts were happening in different dimension. His powers might have had something with travelling between dimensions, but I'm not 100% sure. Also, I seem to recall there was a hard limit of how many times he could use them. Then followed a part where he was famous, but someone framed him into a scandalous plot (it was a sexual scandal, I think) using his clone or a doppelganger. At the end of the issue the main character is seen trapped in some strange state, unable to move or escape using his powers (this might have to do something with the deal he made earlier). I remember the scene at the end as this: he is suspended in mid-air, his friends look at him in disbelief while some malevolent figure explains to them that he is now trapped forever. His name was the title of the comic. The second and third parts were set on futuristic-looking planet. Rings any bells? I'd like to read it again only I can't google it out.",
"Resetting crontab file to default",
"What makes frictional force the centripetal force of a car turning along a curve? As friction is the opposing force and acts anti-parallel so there is no component of frictional force towards the center,right? Then how can frictional force be centripetal force?",
"Testing pointers for validity (C/C++) Is there any way to determine (programatically, of course) if a given pointer is \"valid\"? Checking for NULL is easy, but what about things like 0x00001234? When trying to dereference this kind of pointer an exception/crash occurs. A cross-platform method is preferred, but platform-specific (for Windows and Linux) is also ok. Update for clarification: The problem is not with stale/freed/uninitialized pointers; instead, I'm implementing an API that takes pointers from the caller (like a pointer to a string, a file handle, etc.). The caller can send (in purpose or by mistake) an invalid value as the pointer. How do I prevent a crash?",
"Have you used any of the C++ interpreters (not compilers)? I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their experience.",
"Evaluation of $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} = $$ $\\bf{My\\; Try::}$ I have solved Using Direct formula:: $$\\sin \\frac{\\pi}{n}\\cdot \\sin \\frac{2\\pi}{n}\\cdot......\\sin \\frac{(n-1)\\pi}{n} = \\frac{n}{2^{n-1}}$$ Now Put $n=7\\;,$ We get $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7}\\cdot \\sin \\frac{4\\pi}{7}\\cdot \\sin \\frac{5\\pi}{7}\\cdot \\sin \\frac{6\\pi}{7}=\\frac{7}{2^{7-1}}$$ So $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} =\\frac{\\sqrt{7}}{8}$$ Now my question is how can we solve it without using Direct Formula, Help me Thanks",
"Get steam to realize I have games already installed I uninstalled and re-installed steam. I didn't uninstall my games, and they still exist on my hard drive (I checked). I have an SSD and a HDD, and to save space I install programs (including steam) to C:\\Program Files (x86)\\Steam drive (SSD) and games to D:\\Games\\SteamApps (HDD). How to I let steam know the programs are installed there?",
"When I take the pth root, the bottom of the p comes very close to the \\sqrt symbol. In the New Century Schoolbook font (which I am using), the p actually intersects the \\sqrt symbol, which looks even more terrible. Is there a clean way to fix this? \\documentclass{article} \\usepackage{fouriernc} % use the New Century Schoolbook font \\begin{document} When I write $a^{(1/p)}$ as $\\sqrt[p]{a}$, the bottom of the $p$ touches the top of the root symbol, which looks ugly. Even when the root symbol is larger, such as with $\\sqrt[p]{\\frac{1}{n}}$, it still looks bad (since the tail of the p almost hits that line). \\end{document}",
"Warning or confirmation on new tag creation In retrospect of this , I would like to ask the community how they feel about a warning or confirmation (or just special highlighting) on new tag creation. Everybody hates stock \"are you sure?\" confirmation, but a lot of tags get created by mistake (and then used ad nauseam). For example, I think I might have created the tag by accident. Assuming the right tag was , there would be two tags for c# 4.0, until they are made synonyms. With a warning, some accidental tags could be prevented.",
"Nearby objects won't move independently?",
"In my cover letter I want to write that I am a graduate student in statistics. But I am not sure about the \"in\". So what is correct? I am a graduate student in statistics. I am a graduate student of statistics.",
"Variance of the distribution of difference scores",
"help displays information about builtin commands. What is the source of help? Does it maintain a database for builtin commands, or does it read some files of each builtin commands (similar to the manpage of each utilities)? Sometimes I find its information seems to expand that by --help $ cd --help bash: cd: --: invalid option cd: usage: cd [-L|[-P [-e]]] [dir] $ help cd cd: cd [-L|[-P [-e]]] [dir] Change the shell working directory. Change the current directory to DIR. The default DIR is the value of the HOME shell variable. The variable CDPATH defines the search path for the directory containing DIR. Alternative directory names in CDPATH are separated by a colon (:). A null directory name is the same as the current directory. If DIR begins with a slash (/), then CDPATH is not used. If the directory is not found, and the shell option `cdable_vars' is set, the word is assumed to be a variable name. If that variable has a value, its value is used for DIR. Options: -L force symbolic links to be followed -P use the physical directory structure without following symbolic links -e if the -P option is supplied, and the current working directory cannot be determined successfully, exit with a non-zero status The default is to follow symbolic links, as if `-L' were specified. Exit Status: Returns 0 if the directory is changed, and if $PWD is set successfully when -P is used; non-zero otherwise. I thought help extract the help part of the executable, but for a python script , it isn't $ help ./pdf-merge.py bash: help: no help topics match `./pdf-merge.py'. Try `help help' or `man -k ./pdf-merge.py' or `info ./pdf-merge.py'. $ ./pdf-merge.py --help usage: pdf-merge.py [-h] [-v] [--ask] [--output OUTPUT] [--title TITLE] [--author AUTHOR] [--keyword KEYWORD] [--pdftk PDFTK] [--gs GS] [--pdfmarks PDFMARKS] [--unicode] PDF [PDF ...] Merge PDFs preserving bookmarks. Thanks to Larry Cai for suggesting that Unicode be supported and for discussion about the `--pdfmarks` option. positional arguments: PDF an input PDF to merge optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit --ask pause for manual pdfmark tweaking --output OUTPUT name of the output PDF --title TITLE title of output PDF --author AUTHOR author of output PDF --keyword KEYWORD keywords for the output PDF --pdftk PDFTK path to the pdftk executable --gs GS path to the gs (Ghostscript) executable --pdfmarks PDFMARKS path to pdfmarks file. If not given, a temporary file is used. If given and the file is missing, execution will stop after the file is created (before the Ghostscript run). If given and the file exists, no attempt will be make to use pdftk to generate the mark file (I assume your input file is what you want). --unicode instead of merging PDFs, convert PDF-formatted unicode strings. For example `--unicode '<FEFF03B103B203B3>' \\u03b1\\u03b2\\u03b3`"
]
| medi_sts_stackexchange_dupe |
Correct regalia when collecting a masters degree but you already hold a doctorate | What graduation gown should a PhD-holder wear when later receiving a Master's in another field? | [
"Suppose we are in $\\mathbb R^n$. What can we say about the sign of $\\Delta u(\\vec x)$ if u($\\vec x$) has a local max/min at $\\vec x$? I've tried looking at the reverse of the second partial derivative test and it seems to suggest that $\\Delta u(\\vec x) \\leq 0$ if $\\vec x$ is a min and $\\Delta u(\\vec x) \\geq 0$ if $\\vec x$ is a max. However, I'm not convinced of this result. Can somebody point me towards a statement (theorem, etc.) involving the above. I appreciate the help.",
"Java Round up Any Number",
"I'm having some trouble proving that the Gaussian Integer's ring ($\\mathbb{Z}[ i ]$) is an Euclidean domain. Here is what i've got so far. To be a Euclidean domain means that there is a defined application (often called norm) that verifies this two conditions: $\\forall a, b \\in \\mathbb{Z}[i] \\backslash {0} \\hspace{2 mm} a \\mid b \\hspace{2 mm} \\rightarrow N(a) \\leq N (b)$ $\\forall a, b \\in \\mathbb{Z}[i] \\hspace{2 mm} b \\neq 0 \\rightarrow \\exists c,r \\in \\mathbb{Z}[i] \\hspace {2 mm}$ so that $\\hspace{2 mm} a = bc + r \\hspace{2 mm} \\text{and} \\hspace{2 mm} (r = 0 \\hspace{2 mm} \\text{or} \\hspace{2 mm} r \\neq 0 \\hspace{2 mm} N(r) \\lt N (b) )$ I have that the application meant to be the \"norm\" goes: $N(a +b i) = a^2 + b^2$, and I've managed to prove the first condition, given that N is a multiplicative function, but I can not find a way to prove the second condition. I've search for a similar question but I have not found any so far, please redirect me if there's already a question about this and forgive me for my poor use of latex.",
"How was the Cloak of Invisibility Created?",
"Is is possible that a software issue could be causing spotty USB-C connections on 2017 MacBook Pro? I have a 2017 MacBook Pro. It has 2 USB-C ports on the left side and I use an Aukey hub to provide more ports (4 USB, 1 HDMI, 1 USB-C) and always to connect two monitors. I connect one monitor through the hub with the HDMI port and another directly to the MBP with a USB-C adapter. Sometimes when I connect the hub to the Mac and the 2nd monitor to the Mac, it works as it should with no problem...but more than half the time I have to connect, disconnect, jiggle, jangle, switch ports, reconnect HDMI, etc. and hopefully they will both work. OFTEN, I can only get one monitor to fire up. Is there any kind of software fix or reset that might solve this issue? Any other thoughts welcome. Thanks.",
"How gently could a comet/asteroid/meteorite “hit” Earth?",
"What are \"Community Wiki\" posts?",
"Whats this white stuff on my board? I'm not an engineer, but my monitor stopped working yesterday (it just wouldn't display anything but still gets power) so I figured I'd like to take it apart and see what went wrong. At the very least I'd get to see what the inside of a monitor looks like :). Anyway, I took it apart, and also read around about my issue and it seems the capacitors have gone bad, at least some of them. However, I also noticed some white elastic stuff all over the board. Some of them are sticking two capacitors together and to the board, but I also see some from where power socket connects to the board. My question is, what is the white stuff? Should I replace all capacitors that have white stuff around it, and should I also replace the power socket part? Or should I just replace the bulging capacitors and leave it at that? UPDATE:",
"What is the exact difference between fluid and responsive design?",
"Java: how to parse double from regex",
"Evaluate the integral $\\int^{\\frac{\\pi}{2}}_0 \\frac{\\sin^3x}{\\sin^3x+\\cos^3x}\\,\\mathrm dx$. Evaluate the integral $$\\int^{\\frac{\\pi}{2}}_0 \\frac{\\sin^3x}{\\sin^3x+\\cos^3x}\\, \\mathrm dx.$$ How can i evaluate this one? Didn't find any clever substitute and integration by parts doesn't lead anywhere (I think). Any guidelines please?",
"This gives this comparison chart for the four Windows 8 Editions (Core is usually just called Windows 8). I notice specifically, about half-way down, the max physical processors is listed as 1 for \"Core\" and 2 for all other. In the second image i see physical processors listed as 8 in a Windows 8 Task Manager. My question is, what is the limit then? Can anyone verify the article or the screenshot? Was this a mock-up? Another Edition? (Server perhaps?) To clarify, i am looking for links to official microsoft.com articles detailing these specifications. I have been unable to find any.",
"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?",
"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$",
"From SL Loney Trigonometry: Prove that $$r^2+r_1^2+r_2^2+r_3^2=16R^2-a^2-b^2-c^2$$ for a triangle with sides $a$, $b$, $c$, circumradius $R$, inradius $r$, and exradii $r_1$, $r_2$, $r_3$. This one is a really dirty question. I have tried a lot of stuff like $r=4R\\times \\Pi(\\sin\\frac{A}{2}$) and $r_1=4R\\times\\sin\\frac{A}{2}\\cos\\frac{B}2\\cos\\frac{C}2$ etc.. There are other ways like $-r+r_1+r_2+r_3=4R$, but all these are way too cumbersome or clumsy. Anything more intuitive?",
"Let $\\{s_n\\}$ and $\\{t_n\\}$ be sequences. I've noticed this inequality in a few analysis textbooks that I have come across, so I've started to think this can't be a typo: $\\limsup\\limits_{n \\rightarrow \\infty} s_n + \\liminf\\limits_{n \\rightarrow \\infty} t_n \\leq \\limsup\\limits_{n \\rightarrow \\infty} (s_n + t_n) \\leq \\limsup\\limits_{n \\rightarrow \\infty} s_n + \\limsup\\limits_{n \\rightarrow \\infty} t_n$. I understand the right two-thirds of the equation, and can prove it. I'm stuck on the far-left third. I don't understand how that is true.",
"unbalaced data set in classification tasks",
"I just stumbled upon a : My wife and I's seafood collaboration dinner. How does it look? Sure enough, the top comment immediately points out that it should be \"my wife's and my\". However, a cross-post to the Grammar subreddit produced : It's fine as it is written. \"my wife and I\" is a noun phrase, functioning as a subjective pronoun in the singular and made possessive with the apostrophe. It is exactly the same as \"our\". It seems weird because you would never use \"I's\" on its own but it is not on its own here - it is part of a noun phrase. That's a rather intriguing argument. Does it hold any water?",
"Recovering broken or deleted NTFS partitions",
"Keeping the time stamp when syncing with Ubuntu One? I would like to keep the original time stamp of a file when synchronizing with Ubuntu One. Now Ubuntu One is messing with my time stamps, and I no longer know when I last worked on the file. Ubuntu One also seem to mess up time stamps on the original source host. This really is a show stopper, and we are just about to implement Ubuntu One across the many users in the organization."
]
| medi_sts_stackexchange_dupe |
Get HANDLE to the memory region and what HANDLE actually is | What is a Windows Handle? | [
"Symmetry condition for continuous coordinate transformations",
"Show $a^p \\equiv a \\mod 2p$ I've stucked at the following problem: Let $p$ be an odd prime number. Show that for all $a\\in\\mathbb{Z}$ $$a^p \\equiv a\\ (\\mathrm{mod}\\ 2p)$$ How can I prove it? I know within Fermat's theorem that $a^p \\equiv a\\ \\mathrm{mod}\\ p$.",
"What does \"What are you up to?\" mean? I overheard my manager asking \"What are you up to?\" What does that idiom mean? Is it an informal/negative way of asking??",
"Groups of order $56$ Let $G$ be a group of order $56$. (We do NOT assume the Sylow-$7$ subgroup to be normal.) Then either the Sylow-$2$ subgroup is normal or the Sylow-$7$ subgroup is normal. How to prove? My idea: consider the case $n_2=7,n_7=8$. Then the number of elements in all Sylow $2$ -subgroups and Sylow $7$-subgroups is at most exactly $(7-1)*8+(2-1)*7+1=56$. This cannot give a contradiction. We need to prove that $G$ is simple. Then $|G||(8!/2)$. To prove $G$ simple, we need to prove there does not exist normal subgroups of order $2$ and order $4$. But I do not know how to prove.",
"Convergence of sequence given by $x_1=1$ and $x_{n+1}=x_n+\\sqrt{x_n^2+1}$ Be $(x_n)_n\\ge 1 $ such that $x_1=1$ and $x_{n+1}=x_n+\\sqrt{x_n^2+1}$ for every $n\\ge 1$. Prove that the sequence $y_n=(2^n/x_n)_n \\ge 1$ is convergent and find it s limit. Being positive and decreasing, $y_n$ is clearly convergent. But finding it's limit really put me intro trouble. Any help? Thank you!",
"How to copy text out of a PDF without losing formatting?",
"Selecting all objects that have been specified in Modifiers Could anyone help in making a script for selecting all objects that are specified in the different modifiers that an object has stacked? For example if my object has a Boolean modifier and an Array modifier, which both refer to an empty or another object (in the Array modifier there is for example an Object offset you can specify). Would it be possible to select all those object with one click? Thanks.",
"input() error - NameError: name '...' is not defined",
"What is the difference between \"why are you worried\" and \"why you are worried\"?",
"Continuous function positive at a point is positive in a neighborhood of that point Pretty much the problem asks if a function is continuous at the point $c$ and $f(c) > 0$ then there exists a $d > 0$ such that $\\forall x$, $f(x) > 0$ with $|x-c| < d$. I can understand what the problem means. That if a function is positive at a point then there is another point that's really close that'll also be positive. I can not prove this in a formal way though. I've tried using the intermediate value theorem and I do not know hot to implement it. Any ideas?",
"How to create a timer using tkinter?",
"My phone was stolen last night. I made sure it was in Lost Mode in iCloud and it was immediately in Offline status when I open iCloud. I am positive the thief switched it off. Now I am 100% certain the Find my iPhone option was turned on on my iPhone, but will the \"Lost Mode\" be of any help if it was not turned on on the iPhone? Would it be showing \"Offline\" if I did not turn on the option?",
"\"All our X\" vs. \"all of our X\" Is the word \"of\" optional in this instance? Is either of these considered preferable to the other? Taste all our delicious treats. Taste all of our delicious treats.",
"Is it grammatical to omit the subject from \"I did my work\"?",
"Probability that a quadratic polynomial with random coefficients has real roots",
"Replacing walls in basement due to flooding. Contractor installed sump and drain pipe around the inside of the cinder block wall. I want to put in new wall, concerned that TapCon or other hammer/gun attachments will compromise the cement cover over that pipe. Can I just use liquid nails?",
"It seems that OTP encryption is unbreakable. I have read some articles (Wikipedia, Blogpost, etc.), but I could not find any information about how they are used. If I wanted to create a messenger service, how would I distribute the OTP keys? Both the sender and the receiver need this key before the message is sent, right? And how do I make sure no one else gets these keys?",
"Question. Let $M = \\left\\{ \\begin{bmatrix} a & b \\\\ -b & a \\end{bmatrix} \\,\\middle\\vert\\, a, b \\in \\mathbb R \\right\\}$. Show that $(M,+)$ and $(\\mathbb C,+)$ are isomorphic. Show that $(M^{*},*)$ and $(\\mathbb C^{*},*)$ are isomorphic. (Here, $M^{*}$ is defined as excluding the zero-element) I understand that there exists an isomorphism $\\phi:M \\rightarrow\\mathbb C$ defined by $\\begin{bmatrix} \\alpha & \\beta \\\\ -\\beta & \\alpha \\end{bmatrix}\\mapsto \\alpha+i\\beta$, ie. I can show that $\\phi(M_{1}+M_{2}) = \\phi(M_{1})+\\phi(M_{2})$ and $\\phi(M_{1}*M_{2}) = \\phi(M_{1})*\\phi(M_{2})$. However, I'm unsure how to go about the two subquestions seperately.",
"How do I create my own URL protocol? (e.g. so://...) I have seen: http://www... ftp://blah.blah... file://blah.blah... unreal://blah.blah... mailto://blah.blah... What is that first section where you see http and the like called? Can I register my own?",
"Can git be integrated with Xcode?"
]
| medi_sts_stackexchange_dupe |
The difference between $F(a)$ and $F[a]$ when considering fields | $F(x)$ versus $F[x]$ where $F$ is a field | [
"Booking a flight without passport info I have been looking to book a bundle (hotel and flight) with Expedia to Puerto Vallarta MX. When I get to the booking section it does not ask for my passport number. Do they ask for my passport after I book? Or later when the date gets near? My passport is currently being renewed and I want to book my hotel and flight before they sell out but I am afraid it'll ask me for my passport number. Can anyone inform me about this situation?",
"How do I change the computer name?",
"If you have a glass of water, say, three quarters full and you pour it at an angle of say, $45^{\\circ}$ with respect to the the table, the water comes out of the glass and goes directly down towards the floor. However, when the glass is more full, or even three quarters full and the 'angle of pouring' is far less with respect the table, when the water comes out of the glass, rather than going straight down it kind of stays stuck to the glass and travels down the outside of it. Why does this happen? (I'm sure many of you have observed it yourself by accident and ended up making a mess).",
"For a polynomial $p(z)$, prove there exist $R>0$, such that if $|z|=R$, then $|p(z)|\\geq |a_n|R^n/2$",
"Google chrome is reading characters backwards",
"How to use siunitx with non numerical values?",
"Find the sum of angles without trigonometry?",
"Is it possible to mark the same tag as \"Interesting\" and \"Ignored\"? Can you mark the same tag as both interesting and ignored? If you can, what is the resulting appearance of a question with that tag?",
"Proof that $A_n$ the only subgroup of $ S_n$ index $2$. I have what seems to me a very simple proof that $A_{n}$ is the only subgroup of $S_{n}$ of index 2. Since I've seen other people prove it with what feel like really complicated methods (), I'm wondering if I've overlooked something. Proof: Let $H$ be any subgroup of index 2 in $S_{n}$. Then $H\\cap A_{n}$ is a normal subgroup of $A_{n}$ and since $A_{n}$ is simple, $H$ is either the trivial or the improper subgroup of $A_{n}$. If it's the trivial subgroup it doesn't have index 2 in $S_{n}$, and otherwise the theorem is proved.",
"Does the Mordenkainen's Magnificent Mansion spell's mansion exist on a separate plane of existence? In particular: the spell (PHB, p. 281) states: [...] The creature can be anywhere on the same plane of existence as you. The spell ends if you or the target are no longer on the same plane. [...] Can telepathy connect two characters, one inside the extradimensional dwelling created by the spell and the other in the same plane as the portal to the magnificent mansion?",
"Install on usb external hard drive I am new to ubuntu and i would like some help. I have a laptop with windows 7 installed but i would love to have ubuntu too because it's a great OS. So i would like to install ubuntu on an external usb hard drive (320 - 500 GB) and i have some questions about that : Do i need a usb external hard drive which will be compatible with ubuntu - linux ? or i can do it with any hard drive If i make a partition on it for ubuntu staff will i be able to use it and save other staff in the usb hard drive (movies,songs,documents etc) ? If i have ubuntu installed on the usb hard drive will i be able to boot ubuntu from any pc ? Are my changes going to be saved normally or my settings will be lost after shut down ? Waiting for your answers, if something is not explain well tell me to try explain it better . Thank you!",
"I would like to have an app include a custom font for rendering text, load it, and then use it with standard UIKit elements like UILabel. Is this possible?",
"9 rows is just way too small by default. Is this a text-editor for ants?",
"Flagging summary improvement: filters Here is my flagging summary on SU: Your flagging history 32 posts flagged as requiring moderator attention 2 are waiting for review 3 were marked valid 1 were marked invalid (older flags were not recorded valid/invalid) 2 posts marked as spam It is too complicated to look for invalid flags. Would it be possible to make filters on the top of the page (like on favorites for example) with: By date, By type (off-topic, spam, dupes), By status (accepted, pending, rejected) It would make it easier for reviewers to check their flagging and eventually know what to improve on. Or is there another easy way to audit this?",
"Geometric meaning of the determinant of a matrix What is the geometric meaning of the determinant of a matrix? I know that \"The determinant of a matrix represents the area of a rectangle.\" Perhaps this phrase is imprecise, but I would like to know something more, please. Thank you very much.",
"Why is setTimeout(fn, 0) sometimes useful?",
"Logins with only HTTP - are they as insecure as I'm thinking? Recently I was thinking about how websites like gmail and amazon use HTTPS during the login process when accessing your account. This makes sense, obviously, since you're typing in your account username and password and you would want that to be secure. However, on Facebook, among countless other websites, their logins are done with simple HTTP. Doesn't that mean that my login name and password are completely unencrypted? Which, even worse, means that all those people who login to their facebooks (or similar sites) at a wifi hotspot in public are susceptible to anyone getting their credentials using a simple packet sniffer (or something similar)? Is it really that easy? Or am I misunderstanding internet security? I'm a software engineer working on some web related stuff, and although at the current time I'm not too involved with the security aspect of our software, I knew I should probably know the answer to this question, since it's extremely fundamental to website security. Thanks!",
"Implement numbering scheme like A,B,C... AA,AB,... AAA..., similar to converting a number to radix26 I want to implement numbering scheme like Microsoft Word uses for numbering. first one gets = A,next is B, next is C, .... then AA, then AB,....and so on. as shown below A B C . . AA AB AC . . AAA AAB .... '=>' here means converted to. some examples: 1 => A 26 => Z 27 => AA 52 => AZ 53 => BA and heres the code for it: var convertToNumberingScheme = function(n){ var x = n-1, r26 = x.toString(26), baseCharCode = \"A\".charCodeAt(0); var arr = r26.split(''), len = arr.length; var newArr =arr.map(function(val,i){ val = parseInt(val,26); if( (i === 0) && ( len > 1)){ val = val-1; } return String.fromCharCode(baseCharCode + val); }); return newArr.join(''); } It seems to work fine, but any ideas if there are some potential bugs or ways to optimize this.",
"Badge icons missing in Achievements of mobile view The badge icon followed by the site icon in the Achievements dialog is missing in the mobile view. But the same is available in the full site view. Screenshots for reference: Achievements - Full site view: Achievements - Mobile view:",
"How to keep vehicles upgrades equipped in Jetpack Joyride? I have Jetpack Joyride for Android, but every time I start the game I have to equip the magnetic upgrades to all vehicles, except the teleporter, which is the only one already equipped. I had once a game crash that undid my last 2 magnets purchases, so I ended up with only the teleporter and 20k less in cash. After that, I've bought every vehicle magnet, but still the only one that will remain equipped is the teleport. Anyone already found some similar bug? How could I fix this, it's kinda annoying have to mannually enable 5 different upgrades every time I want to play."
]
| medi_sts_stackexchange_dupe |
Did Harry ever have classes with Ravenclaws? | What Hogwarts classes are taught to two houses at once? | [
"Relating the union of the power set of a set to the set itself",
"What is appropriate to use here, who or which? There are around 50 companies who/which deliver scanning services to private and business consumers.",
"A very easy probability problem but opinions diverge greatly. Need some help. The question itself is a very easy one: Somebody has got two kids, one of whom is a girl. Then what's the probability that he's got at least one boy? My answer is that, since he's already got a girl, then \"he's got at least one boy\" amounts to \"the other kid is a boy\", whose probability is apparently $\\frac{1}{2}$. But my friends argue that the probability should be $\\frac23$: they say this is a binomial distribution, all the possible cases are (girl,girl),(girl,boy),(boy,girl) which yields that the probability is two cases out of three and is thus $\\frac23$. But I think this is totally unacceptable. I don't think it is a binomial distribution at all, at least not what my friends explained to me. However, I just can't disuade them of their opinion, nor can I prove that I am wrong. So what on earth is the probability? and why? Any help is appreciated. Thanks in advance. Esp. Can anybody show why my explanation is wrong? Isn't it that whether the other kid is a boy or a girl a 50/50 event? EDIT: Thanks for all the help you provided for me, and special thanks will go to @HammyTheGreek and @KSmarts, who have made it clear to me that there is in fact some ambiguity in my statement in this problem. As is pointed in ,two distinct interpretation of the statement \"one of whom is a girl\" that gives rise to ambiguity: From all families with two children, at least one of whom is a boy, a family is chosen at random. This would yield the answer of 1/3. From all families with two children, one child is selected at random, and the sex of that child is specified to be a boy. This would yield an answer of 1/2.",
"How do I technobabble without sounding like technobabble? On occasion, I've had reason to describe obviously fictional technical processes in-character. I'd like to be able to describe on these occasions without sounding like I'm saying utter gibberish. But it's not straightforward to do, particularly if I have to make stuff up on the spot. How do I do it?",
"Typesetting linguistic rewrite rule I'm trying to (more or less) replicate this phonological rewrite rule: I'm using the package , and what I manage to accomplish is this: \\documentclass{article} \\usepackage{phonrule} \\begin{document} \\phonc {\\phonfeat{$-$cnt\\\\ +hi}} {[$\\alpha$grv]} {\\oneof{% \\phonfeat{$-$cnt\\\\ $\\alpha$grv}\\phold\\\\ \\phold\\phonfeat{$-$cnt\\\\ $\\alpha$vce}% }} \\end{document} My main problem here is what appears after the \"when\" slash: (1) The package only provides a left curly bracket - how can I add a right one as well? (2) The two options within the curly brackets are not well aligned. I think comparing the two pictures themselves says it better than what I could do with words.",
"‘It’ – ambiguous antecedent?",
"Is it possible to show our custom message in QGIS Status bar using python? Is there any way to show our custom message in Qgis Status bar using python? Just like in arcgis IApplication.statusbar.message(0) = \"Please wait...\" like that is there any option to show progressbar in Qgis like IApplication.progressbar.show()",
"Get top results for each group (in Oracle)",
"Efficient computation of $\\sum_{k=1}^n \\left\\lfloor \\frac{n}{k}\\right\\rfloor$ I realize that there is probably not a closed form, but is there an efficient way to calculate the following expression? $$\\sum_{k=1}^n \\left\\lfloor \\frac{n}{k}\\right\\rfloor$$ I've noticed $$\\sum_{k=1}^n \\left\\lfloor \\frac{n}{k}\\right\\rfloor = \\left\\lfloor\\frac{1}{2}\\sum_{k=1}^{\\left\\lfloor\\frac{n}{2}\\right\\rfloor} \\left\\lfloor\\frac{n}{k}\\right\\rfloor\\right\\rfloor + \\sum_{k=1,\\ odd(k)}^n \\left\\lfloor \\frac{n}{k}\\right\\rfloor$$ But I can't see an easy way to let the second term enter in a recursion.",
"hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent",
"1970s scifi/horror novel where protagonist is used by a crablike creature to feed its larvae, goes mad, and is defeated by retraumatising him I read this book once as a teenager, I think it might have been written in the 1970s but could be late 1960s or early 1980s. The protagonist is left to die hideously by enemies. He is paralysed and left on some planet (I don't believe it was earth) in the habitat of some kind of crablike creature, which injects him with its young, and periodically returns to force nutrient and a paralytic agent down his throat, as the larvae grows inside him. He is rescued, and his body rebuilt to some kind of superhuman abilities, but he is traumatised and bent on indiscriminate revenge for his suffering. He proves hard to defeat. He is eventually defeated by trickery, when he is shown (or demands to see) something by some kind of video link or remote TV/monitor - perhaps he is told that people he wants revenge on, are held captive for him, I can't be sure. I think maybe he takes hostages or makes a severe threat, and his demands relate to the people he wants revenge on. But he can't be physically reached, so what can be done? They set up a video feed, to negotiate, or more likely, to purportedly show him they have what (or who) he wants, and he looks to see. When he looks at the video stream, it's actually an image of the crablike creature. The shock of repressed memories flooding back, renders him re-traumatised and perhaps catatonic, and defeats him.",
"Native Youtube app suddenly stopped working on iPad 1 It's been some weeks now, whenever I try to used my Youtube app, it tells me it's impossible to connect to Youtube. Since it's an iPad 1, I have had trouble finding information online. Did Google or Apple stop supporting the app? Is it finally obsolete? Is there another app I could use that works on iOS 5? Just to be clear, I did not tinker with my device. I did not change its parameters, I did not jailbreak it, it connects to the Internet just fine and I've tried the app on different Internet connections. Also, this is not a login problem, the app just refuses to let me browse videos, whether I'm logged in or not. Thanks for your help.",
"How do I connect to a WPA wifi network using the command line? So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?",
"$\\operatorname{rank}(T^3) + \\operatorname{rank}(T) \\geq 2\\operatorname{rank}(T^2)$ for finite-dimensional $V$ Consider a finite-dimensional vector space $V$ over the field $\\mathbb{F}$ with a linear operator $T.$ Prove that we have $\\operatorname{rank}(T^3) + \\operatorname{rank}(T) \\geq 2 \\operatorname{rank}(T^2).$ First, let us assume that $\\dim_{\\mathbb{F}}(V) = n.$ Our immediate observations include that $T^3(V) \\subseteq T^2(V) \\subseteq T(V)$ so that $\\operatorname{rank}(T^3) \\leq \\operatorname{rank}(T^2) \\leq \\operatorname{rank}(T)$ and $\\operatorname{rank}(T^3) \\geq \\operatorname{rank}(T) + \\operatorname{rank}(T^2) - n$ by Sylvester's Rank Inequality. Can we do some manipulations with what we have to get the desired inequality, or do we require something else?",
"Difference between \"I'm home\" vs \"I'm at home\" What's the difference between these two sentences? And which one's grammatically correct?",
"It started happening today... all of a sudden, no apparent reason! Here's the output from df: assp:~# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/simfs 6291456 1378384 4913072 22% / tmpfs 8202680 0 8202680 0% /lib/init/rw tmpfs 8202680 0 8202680 0% /dev/shm assp:~# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/simfs 55781934 83005 55698929 1% / tmpfs 2050670 2 2050668 1% /lib/init/rw tmpfs 2050670 1 2050669 1% /dev/shm assp:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 6.0G 1.4G 4.7G 22% / tmpfs 7.9G 0 7.9G 0% /lib/init/rw tmpfs 7.9G 0 7.9G 0% /dev/shm Here's an actual entry from /var/log/mail.warn: Dec 11 17:55:37 assp postfix/smtpd[30614]: warning: not enough free space in mail queue: 0 bytes < 1.5*message size limit Dec 11 17:55:37 assp postfix/cleanup[30617]: warning: 4361D850D54: write queue file: No space left on device .",
"Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and then do a rough word count of my pdf file, sometimes even copying the contents of the pdf file and pasting in Word to get a mostly correct Word count. Is there any tool (maybe even an online tool), package, script or software to do that directly from my .tex document and still get the right word count (i.e., ignore commands, equations, etc)?",
"This poor creature is taken aboard the spaceship and the humans do not know that it is intelligent. The alien can repeat what it hears, e,g, \"pass the sugar\". It is able to escape at night and it communicates messages to its fellow aliens. It directs that they turn up the heat of the atmosphere (somehow they can do this) so as to force the humans to leave. The alien protagonist states that it will die w/ the humans or leave with them.",
"Today a couple of buffer overflows in NTP were announced , . It looks like updating my system to fix these issues is in order. How can I find out if they have been fixed in the Ubuntu repositories, such that if I were to run: sudo apt-get update sudo apt-get upgrade then the fix would get installed and the vulnerability closed? Edit: The selected answer specifically addresses the question of how to identify if a given CVE has been fixed or not, \"Does Ubuntu generally post timely security updates?\" is certainly related but not identical",
"How do you uninstall wine 1.5?"
]
| medi_sts_stackexchange_dupe |
How do I access my previous StackExchange myOpenId account? | myOpenID shuts down February 1, 2014; add an alternative login method to your account | [
"Revision history & community wiki links show the same page",
"Calculating proportional area of polygon within another layer's polygon using QGIS?",
"Well, this might be a really simple one. But still... What will be the soln. to --- \\begin{aligned} \\int\\frac{1}{1+x^n} dx \\end{aligned} Is substituting \\begin{aligned} 1+x^n \\end{aligned} by tan z the correct step? Thanks for the Help.",
"Continuous bijections and their inverses Are there any theorems characterizing the continuity of the inverses of bijections between certain classes of particular spaces. E.g. it seems to me the inverse of any continuous bijection between connected subsets of $\\mathbb{R}$ is continouos. It seems that most counterexamples require highly specific spaces. I'm thinking there might be something along the lines of any continuous bijection between homeomorphic spaces has a continuous inverse. Any of this make sense?",
"How can you profile a Python script? and other coding contests often have a maximum time to run or people boast of how fast their particular solution runs. With Python, sometimes the approaches are somewhat kludgey - i.e., adding timing code to __main__. What is a good way to profile how long a Python program takes to run?",
"Is it possible to make macros give different results at the beginning of a new sentence? Suppose that I want the macro \"\\secname\" to write \"Section\" at the beginning of a new sentence, and \"section\" anywhere else. How can I do so?",
"Add anchors to the how-to-ask and how-to-answer pages",
"sed one-liner to delete everything between a pair of brackets? I am working with some text that is full of stuff between brackets [] that I don't want. Since I can delete the brackets myself, I don't need the one-liner to do that for me, but I do need a one-liner that will remove everything between them. What about parentheses () instead of brackets?",
"Suppose I look at a parallel plate capacitor in its rest frame and calculate the electrostatic energy, $E$. Next, I look at the same capacitor in a primed frame boosted in the direction perpendicular to the plane of the plates. In this frame, the $E$-field is the same strength, there is no magnetic field, and the volume over which the $E$-field extends is less by a factor $1/\\gamma$. This suggests $E' = \\frac{1}{\\gamma} E$, but relativity states that energy transforms as $E' = \\gamma E$. Where is the missing energy?",
"For example, if the ex-dividend date is next Monday, and I buy the stock on next Monday, would I get the dividend? Or would the person who sold the stock to me get the dividend?",
"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.",
"Sometimes it is convenient to refer to a group of equations by a letter and a number. For example: 2+1 (A1) 2+4 (A2) x^4 (B3) x^e (B4) Placing \\tag{A\\theequation}\\label{eqn:thisone}\\stepcounter{equation}} instead of just \\label{eqn:thisone} works, but seems hacky (especially manually stepping the counter). Is there a better way?",
"Continuously invertible operators",
"Can we apply for a Schengen tourist visa while visiting another country on a short-stay visa?",
"Why do PBX systems use -48 V?",
"What is the optimum button size of touch screen applications? There was a not so recent blog post about the ideal button size of touch screen control sizes (sorry there is no link, the website is now a spam trap) that was based on the form the MIT touch lab that gives some measures of the size and sensitivity of the finger. If found that averages for finger pads are between 10–14mm and fingertips are 8–10mm. This would make 10mm x 10mm a good minimum touch target size. As the author of the blog pointed out, this ideal contact size is much larger than the suggested size for Windows and Apple devices that is in their design guides. I am wondering why there is such a difference, and whether it makes more sense to increase the size of controls on touch screen applications, or if this is not really a usability issue at all? Also, it seems that many mobile websites and apps seem to completely ignore these principles. I am sure the screen size poses a limitation to how big the interface controls can be, so is this simply a trade-off between being able to fit in as much information versus how easy it is to interact with the control? It feels as if the stylus is not something that is in much use. A similar question has been raised on the minimum/smallest size that you can get away with, but I would consider this to be a different question to what the optimum size should be, because the smallest size accommodates the minimum usability requirement, whereas the optimum size caters for the best usability requirement. Archived link of the blog (original domain shows spam) And here is another reference it to (just to show that it is not the problem with the link but the website () UPDATE #1: another new reference that has a very precise figure of a minimum of 44 x 44 points, not sure how it is derived exactly but interesting (). Read Section 2. Provide Large Clickable Elementss. UPDATE #2: another reference, this time from citing touch target size to 9 mm square or greater (48x48 pixels on a 135 PPI display at a 1.0x scaling plateau). They also suggest avoid using touch targets that are less than 7 mm square. UPDATE #3: something from the that I referenced recently citing 44 x 44 points. UPDATE #4: NN/g has published an article on and the information/conclusion remains unchanged. UPDATE #5 A really nice write-up on the need to enhance the of common UI elements, citing the that the "minimum target size for touch or mouse should be 44×44 pixel" (2.5.5 - Target Size - Level AAA).",
"Do shots fired before the match starts count towards your end-of-game statistics? In Overwatch, there is short countdown for a few minutes before the match begins. During this time, the defending team is allowed to roam the map to set up their defenses, while the attacking team sits in a small lobby until the game starts and the doors open. (Or in KotH-type maps, both teams wait in a lobby.) While players wait, it's not uncommon for them to fire off random shots, especially since a lot of the environment is destructable (it's entertaining to watch plush onions sail through the air in the arcade). Do shots fired before the match starts count towards accuracy statistics at the end of the game?",
"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",
"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",
"Why does this stream return no element?"
]
| medi_sts_stackexchange_dupe |
If-else irritating? | How do I compare strings in Java? | [
"Notify more frequently than once a day? Is there a way to subscribe to a question and be notified more frequently than once a day? I'd like to be notified immediately on any posts to a question.",
"$$T(n) = \\sqrt{n} T \\left(\\sqrt n \\right) + n$$ Master method does not apply here. Recursion tree goes a long way. Iteration method would be preferable. The answer is $Θ (n \\log \\log n)$. Can anyone arrive at the solution.",
"How to tell the difference between linear and non-linear regression models? I was reading the following link on non linear regression . My understanding from reading the first section \"Nonlinear Regression vs. Linear Regression\" was that the equation below is actually a linear regression, is that correct? If so why? $$y = b_1x^3 + b_2x^2 + b_3x + c$$ Am I also to understand that in non linear regression multicollinearity isn't an issue? I know that multicollinearity can be an issue in linear regression so surely if the model above is in fact a linear regression there would be multicollinearity?",
"In Google Sheets how do I duplicate a sheet along with its permission In a Google Spreadsheet called Attendance there is a sheet called Template. The user duplicates this sheet, renames the sheet with current date and uses this sheet to mark attendance for students. The Template sheet contains protected cells and the attendance is marked by entering Student's ID number in the space given (unprotected cells). I use the following script to duplicate multiple sheets and rename them everyday: function createDailyAttendance() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var refss = ss.getSheetByName(\"DataPointers\"); // Get the range Row and Column information. var dataRangeRow = refss.getRange(\"K2\").getValue(); //var dataRangeCol = ss.getRangeByName(ColName).getValue(); // Get the range of cells that store Duplicate sheet name. var AttendanceDataRange = refss.getRange(dataRangeRow); var AttendanceObjects = AttendanceDataRange.getValues(); var template = ss.getSheetByName('Template'); for (var i=0; i < AttendanceObjects.length; i++) { // Put the sheet you want to create in a variable var sheet = ss.getSheetByName(AttendanceObjects[i]); // Check if the sheet you want to create already exists. If so, // log this and loop back. If not, create the new sheet. if (sheet) { Logger.log(\"Sheet \" + AttendanceObjects[i] + \"already exists\"); } else { template.copyTo(ss).setName(AttendanceObjects[i]); } } return; } This script helps me create multiple copies of sheets from Template but the duplicate copies do not retain the Cell/Range permissions. Is there a way to add a loop function which extracts permission from Template and applies it every time the loop template.copyTo creates a sheet?",
"How to find effects of magical items? Similar to this , but specific to D&D 5e, how are players meant to find out the effects of items/potions/scrolls/weapons/armor? Say, they find a potion in some chemist's chest. It is red and smells nice. Should they perform an investigation/perception check? Or an arcana/nature check? If I tell the players specifically to do an Arcana check, then I am already hinting at the fact that this potion will have some magical effect. It could just be a natural elixir concocted by Druids to help your health regen. Same goes for weapons. They find the legendary bow of X, which has a +3 to hit and a 10% chance of striking other enemies near the target. I describe the bow as unique, glowing, made from dragon scales and hovering on air. Would they investigate their properties? Or just I just let them fire at a wall until something happens? Our playstyle so far has been to use active checks for a quick understanding of the item (drink a little bit of Potion as an Investigation check to find whether it heals or not, sensing magical properties of the bow with Arcana checks). When time is available, and experimentation is necessary, allow the PCs to do some creative testing and, based on their ideas, \"After Y time, you realize that the bow sometimes hits several points of the wall instead of just your target\". According to the RAW, is there a specific way of checking the stats/effects of such items?",
"After booting I ran systemd-analyze blame and here are the results: 21.596s systemd-journal-flush.service 18.658s dev-sda8.device 15.099s dev-loop33.device 15.034s dev-loop19.device 15.012s dev-loop34.device 14.989s dev-loop21.device 14.877s dev-loop15.device 14.866s dev-loop26.device 14.773s dev-loop27.device 14.684s dev-loop30.device 14.677s dev-loop32.device 14.649s dev-loop35.device 14.590s dev-loop25.device 14.267s dev-loop23.device 14.192s dev-loop24.device 14.156s dev-loop29.device 14.133s dev-loop16.device 14.065s dev-loop31.device 14.059s dev-loop28.device 13.821s dev-loop20.device 13.531s dev-loop22.device 13.495s dev-loop14.device 13.364s dev-loop18.device What are these dev-loopxx.device (xx denotes numbers) services and why are they taking so much time? Are they related to the mounting of snaps? Can I reduce the boot time by disabling them? I'm running Ubuntu 18.04 alongside Windows 10.",
"Can Raise Dead revive a character with zero maximum Hit Points? So, a character died from Draining Kiss of a succubus and his Max HP is 0. Can he be restored by Raise Dead, or does he need a higher level spell? Or a Greater Restoration cast on his lifeless body before Raise dead? I'm probably interested in RAW interpretation, since the character is in Adventurerer's league.",
"Imagine that a pebble is placed on a uniformly rotating, frictionless disk. What will happen to this pebble? Will the disk slide under it and the pebble stay as is? Or will there be a centrifugal force on the pebble and it'll be thrown off the disk?",
"iCloud Drive is stuck uploading items and no longer syncs I got the macOS Sierra update when it went into public beta, and I've been trying to use the automatic . I've enabled the feature, however since September 7 no files have been uploaded. By this point, the bottom of my Finder windows say: 15.78 GB available on iCloud, uploading 156,106 items (543.2 MB of 543.2 MB) However the files are never actually uploaded. I keep my screenshots folder on my desktop and I take a lot of screenshots, so I can see that September 7 was the last date any file was actually uploaded. What should I do? Is there a way I can disable and re-enable the feature without risking loss of data? Are there any solutions to this problem? What should I try? So far I've tried rebooting, and tried software update to macOS 10.12.2 public beta.",
"All I want to do is to check whether an element exists in the vector or not, so I can deal with each case. if ( item_present ) do_this(); else do_that();",
"Texmaker GUI is messy with high resolution screen",
"What does 'Ign' , `Get` or 'Hit' mean when running an apt-get update?",
"How do I prove this using question using Cauchy-Schwarz inequality?",
"Recurrence relation for the integral, $ I_n=\\int\\frac{dx}{(1+x^2)^n} $ Express recurrence relation of the integral $$ I_n=\\int\\frac{dx}{(1+x^2)^n} $$ [My Answer] $$ I_n = \\int\\frac{1+x^2}{(1+x^2)^n}dx-\\int\\frac{x^2}{(1+x^2)^n}dx $$ $$ I_n=I_{n-1}-\\int x\\cdot\\frac{x}{(1+x^2)^n}dx $$ $$ I_n=I_{n-1}-\\frac{x}{2(1-n)(x^2+1)^{n-1}}+\\frac{1}{2(1-n)}I_{n-1} $$ $$ I_n=\\frac{2n-3}{2(n-1)}I_{n-1}+\\frac{x}{2(n-1)(x^2+1)^{n-1}} \\ \\ \\ \\ (n>1) $$ $$ I_1=\\arctan(x) $$ Is my answer correct?",
"I know this may be a tough or confusing question, but I have numerous existing materials I created and reuse for a project, which were all prepared for Blender Internal. Now, I want to start the transition to Cycles, but I've hit a roadblock. How can I transition my materials without completely starting over? Or should I just forget it and start with fresh materials?",
"When a star becomes a black hole, does its gravitational field become stronger?",
"Since the Earth has a magnetic field, can it, in theory, be run through a conductive metal coil to create electricity?",
"Does installing and using Wine open up your Linux platform to Windows viruses?",
"Does umount calls sync to complete any pending writes We have BBB based custom board with kernel 3.12 running on it. I have doubt regarding umount and & sync. Lets say a script is umounting a partition, Does it require to run sync command before umount to complete pending writes. ?",
"Find path of standard executable for a given file type in Windows Suppose I am running cmd and I open an application by typing for example start document.pdf I want to get the exact path of the executable that opens .pdf files Of course I could search the entire system for the executable but I suppose it would be faster this way because the path is already stored somewhere I don't know if it makes a difference but I am using Windows 7"
]
| medi_sts_stackexchange_dupe |
Trying open a specific folder in android using intent | Android: How to open a specific folder via Intent and show its content in a file browser? | [
"How can i change formatting of the table of contents to avoid section numbering and section title to overlap? Document: \\documentclass[10pt,oneside,notitlepage]{book} % Use Heuristica Font \\usepackage{heuristica} \\usepackage[heuristica,vvarbb,bigdelims]{newtxmath} \\renewcommand*\\oldstylenums[1]{\\textosf{#1}} \\begin{document} \\tableofcontents \\part{Part one} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\chapter{Chapter Oh} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\section{Chapter Hi} \\end{document} Example output:",
"I want to know a proof of an alternative form of Fermat-Euler's theorem $$a^{\\phi (n) +1} \\equiv a \\pmod n$$ when $a$ and $n$ are not relatively prime. I searched some number theory books and a cryptography book and internet, but there were only proofs of the original theorem $a^{\\phi (n)} \\equiv 1 \\pmod n$ or in case n=pq which is used for RSA. So I would be very thankful if someone show me a proof or book I should read.",
"RAM not clearing, alway in standby I'm having a problem with my ram on windows 7. The ram is clearing or programs are using and dumping it faster than it can clear. I have 8gb of ram I'm only using 4gb and the rest is in Standby. At best time I can get 100mb of free but its mostly at 15mb or less. I suspect a memory leak but I have no way to figure out what program it is. I have not installed any new hardware recently and newly installed programs have bin closed. Does any one have an idea of what is going on and how to fix it? I'm sorry this is so little information but that is all I have as well. Edit: I tried RamMap and found out the my \"Mapped File\" has 3,291,784k ram in standby how do I figure out what program and how do I limit it's ability to set ram in standby? Edit: I keep getting a problem when I will have 0 free ram and my computer will stop working properly. It will become outrageously slow where it will take 3-4 minutes to start task manager so I can close some programmes. When I free up some ram by closing some programmes every thing runs normally. It does not matter which programs I closes only that I free up some ram. I know a lot of you say it's supposed to be like that and that's how windows works. But its obviously a problem and my computer has never worked that way neither has any of my other computers. I would like to fix this please help me.",
"I have a number of tiff files named: sw.001.tif sw.002.tif ... and I want to remove the .tif at the end of each of the files. How can I use the rename command to do this?",
"Letter class alternatives with support for figures, tables, and labels",
"What’s (not) spam? Somebody asked the following : Clearly this is just a troll post so I (and other users) flagged it as spam. The spam flag was subsequently disputed (which I think simply means that a moderator rejected it): Huh? Puzzled, I took another look at the list of possible flagging reasons: I am flagging this question because it is spam This question is effectively an advertisement with no disclosure. It is not useful or relevant, but promotional. it is offensive, abusive, or hate speech This question contains content that a reasonable person would deem inappropriate for respectful discourse. it is a duplicate... This question has been asked before and already has an answer. it should be closed for another reason... This question does not meet this site's standards and should be closed. it is very low quality This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed. other (needs ♦ moderator attention) This question needs a moderator's attention. Please describe exactly what's wrong. Of these, only a few are applicable at all: “spam”, “should be closed for another reason”, “low quality” and “requires moderator attention”. But: it shouldn’t be closed (it has no value – it should be deleted), it’s not “low quality” (the description seems to fit actual, albeit bad, questions), and it doesn’t require moderator attention (I certainly didn’t want to bother a mod with this worthless post). So I still think “spam” is the most fitting reason. Maybe it would help to have a more apt reason “troll post”, or maybe we could explicitly subsume this under one of the other points?",
"This is about a step in a derivation of the expression for the relativistic Doppler effect. Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\\lambda_s$. The frequency $f_0$ and wavelength $\\lambda_0$ received by the observer will be different. Some textbooks now argue that the wavelength received by the observer is given by $\\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive \"crests\" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\\sqrt{\\frac{c-u}{c+u}}$ is obtained. But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\\lambda_0$ mathematically?",
"Im trying to craft a regex that only returns <link> tag hrefs Why does this regex return all hrefs including <a hrefs? (?<=<link\\s+.*?)href\\s*=\\s*[\\'\\\"][^\\'\\\"]+ <link rel=\"stylesheet\" rev=\"stylesheet\" href=\"idlecore-tidied.css?T_2_5_0_228\" media=\"screen\"> <a href=\"anotherurl\">Slash Boxes</a> thank you",
"I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ... What I'm wondering is, at a core level, what does bit-shifting (<<, >>, >>>) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness.",
"On OpenBSD and with OpenBSD's and , is it possible to store the of a user in a repository of the same user? What would be the proper way to accomplish something like this? (To steer the answer into the correct direction, I would not be opposed to changing some permissions in the system, although I'd rather not have to recompile the binaries, nor violate any good security paradigms.)",
"An invalid argument, the conclusion of which is a tautology Why it is not possible to have such argument? I found some textbook Introduction to Formal Logic and this is from one of the first excercises. This is marked as impossible, but I do not understand why.",
"Can't get armature to move mesh!",
"How do I fix a NoSuchMethodError? I'm getting a NoSuchMethodError error when running my Java program. What's wrong and how do I fix it?",
"apt-get install vs pip install I am a bit confused about the cases in which the above commands must be used when downloading python packages. I was trying to download a package named pyudev in accordance with an answer with this . I executed this command : sudo pip install python-pyudev but received the following message : Downloading/unpacking python-pyudev Could not find any downloads that satisfy the requirement python-pyudev Cleaning up... No distributions at all found for python-pyudev Storing complete log in /home/vineet/.pip/pip.log However the following worked fine : sudo apt-get install python-pyudev When is apt-get supposed to be used to install packages and when is python-pip used?",
"What's in \"standard system utilities\" in the server install? My googlefu has failed me. What packages are part of the \"standard system utilities\" that is preselected during install? TIA! (-:",
"how to pass a value to a variable that in a other variable I am getting a \"bad substitution\" error while running this code. I want to print the values in h_1, h_2, h_3with a for loop. #/!/bin/bash h_1=12 h_2=13 h_3=14 for ((i=1; i<=2; i++)) do echo \"${h_$i}\" done",
"Plotting bell shaped curve in TikZ-PGF I want to create some bell shaped curves for demonstrating hypothesis testing in statistics. Can anybody help me drawing curves like shown in the following picture?",
"Command substitution: splitting on newline but not space I know I can solve this problem several ways, but I'm wondering if there is a way to do it using only bash built-ins, and if not, what is the most efficient way to do it. I have a file with contents like AAA B C DDD FOO BAR by which I only mean it has several lines and each line may or may not have spaces. I want to run a command like cmd AAA \"B C DDD\" \"FOO BAR\" If I use cmd $(< file) I get cmd AAA B C DDD FOO BAR and if I use cmd \"$(< file)\" I get cmd \"AAA B C DDD FOO BAR\" How do I get each line treated a exactly one parameter?",
"It is fine to say that for an object flying past a massive object, the spacetime is curved by the massive object, and so the object flying past follows the curved path of the geodesic, so it \"appears\" to be experiencing gravitational acceleration. Do we also say along with it, that the object flying past in reality exeriences NO attraction force towards the massive object? Is it just following the spacetime geodesic curve while experiencing NO attractive force? Now come to the other issue: Supposing two objects are at rest relative to each other, ie they are not following any spacetime geodesic. Then why will they experience gravitational attraction towards each other? E.g. why will an apple fall to earth? Why won't it sit there in its original position high above the earth? How does the curvature of spacetime cause it to experience an attraction force towards the earth, and why would we need to exert a force in reverse direction to prevent it from falling? How does the curvature of spacetime cause this? When the apple was detatched from the branch of the tree, it was stationary, so it did not have to follow any geodesic curve. So we cannot just say that it fell to earth because its geodesic curve passed through the earth. Why did the spacetime curvature cause it to start moving in the first place?",
"Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any unplaced floats?"
]
| medi_sts_stackexchange_dupe |
How come sizeof(array)/sizeof(int) does not give me proper length of the array? | How to find the 'sizeof' (a pointer pointing to an array)? | [
"Suppose we have functions $f:A→B$ and $g:B→C$. Prove that if $f$ and $g$ are invertible, then so is $g \\circ f$. Suppose we have functions $f:A→B$ and $g:B→C$. Prove that if $f$ and $g$ are invertible, then so is $g \\circ f$. Is the converse true? I.e., if $g \\circ f$ is invertible, does it follow that $f$ and $g$ are both invertible? I know that if $f$ and $g$ are invertible, then they are both injective and surjective. Therefore, I assume from this that I have to show $g \\circ f$ is injective and surjective as well, thus proving it is invertible. However, I don't know how to show $g \\circ f$ is bijective based only on the information I have.",
"How do I root my Android device?",
"Table cells larger than they are meant to be I've created a map system for a game that runs on the principle of drawing the picture of the map from tiles. There are many reasons for this which I won't go into here but if you really want to know then I'm sure you can find out how to contact me ;) I have so you can see exactly where the problem lies and the source. The issue is the line between the top 2 tiles and the bottom 2 tiles, I can't figure out why it's gone like this and any help would be appreciated. In the source is a marker called \"stackoverflow\", if you search for \"stackoverflow\" when viewing source then it should take you to the table in question. I have also uploaded an .",
"There have been several discussions regarding code-only answers (answers that contain only code blocks with no textual explanation whatsoever): Personally, I can't see why the quality filter should let such answers through at all. The main problem I have with code-only answers, especially once they're flagged as not an answer or very low quality, is that we can't determine at a glance whether these answers are: Genuinely attempting to answer the question answers Trying to correct an error in the question without actually answering it Random code dumps that may or may not relate to the question even by programming language or keyword(s) in the question In particular, what exactly is an \"informative code-only answer\"? Does it mean the code is self-documenting? Does it mean the code substitutes code comments for a proper write-up? This is all very fuzzy. From to the last question above: I have never seen a code-only answer that couldn't be made better with the addition of appropriate text. They are of lower-quality than the same answer with some text. This text makes all the difference, IMO, between an answer and a non-answer. Without it, it's often needlessly difficult to tell. Existing code-only answers that are good-faith attempts to answer the question should be edited or downvoted, yes. But if the quality filter already tries to block code-only questions, why not block code-only answers too? These answers are often low quality, and (almost) always have ample room for improvement, just like questions.",
"permission error when installing ttf-mscorefonts-installer/Can't drop privileges as file couldn't be accessed by user '_apt'",
"Prevent Photos app on OSX from launching when plugging in device The Photos app opens whenever I plug in my phone. How can this be prevented? I have seen many solutions for the old iPhoto app that involve changing the \"Connecting camera opens\" option, but the new app has no such option.",
"Custom kernel: fails to load firmware when module built-in I'd like to have all my modules built-in, but this fails with iwlagn: iwlagn 0000:03:00.0: request for firmware file 'iwlwifi-6000-4.ucode' failed. iwlagn 0000:03:00.0: no suitable firmware found! The microcode file exists in /lib/firmware and the whole thing works just fine if I compile iwlagn as module. I have no idea where it's looking for the file or what's wrong - any ideas?",
"I have to design a circuit in which I have to transfer data through lasers (serial transmission of data). Now what I was thinking was to check if the laser light is on then '1' is passed and when the laser is off '0' would be passed. Now I need to check if a 1 or a 0 was passed. How would I check for this and another problem I'm facing is if it's on it may keep on passing 1's. How would I check for this? I though of using LDR's (Light Dependent Resistors)? Would this be okay or it there a better method?",
"Normal subgroup of prime index Generalizing the case $p=2$ we would like to know if the statement below is true. Let $p$ the smallest prime dividing the order of $G$. If $H$ is a subgroup of $G$ with index $p$ then $H$ is normal.",
"How do you keep user.config settings across different assembly versions in .net? Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a different version number as the name) How can I keep the same settings when upgrading versions, since using ini files or the registry seem to be discouraged? When we used Clickonce it seemed to be able to handle this, so it seems like it should be able to be done, but I'm not sure how.",
"Are getters and setters poor design? Contradictory advice seen I'm currently working on a simple game in Java with several different modes. I've extended a main Game class to put the main logic within the other classes. Despite this, the main game class is still pretty hefty. After taking a quick look at my code the majority of it was Getters and Setters (60%) compared to the rest that is truly needed for the logic of the game. A couple of Google searches have claimed that Getters and Setters are evil, whilst others have claimed that they are necessary for good OO practice and great programs. So what should I do? Which should it be? Should I be changing my Getters and Setters for my private variables, or should I stick with them?",
"I am a novice user and I am trying to install Oracle Java. The process calls for me to access /usr/local/java, but here is the problem. I get as far as /usr/local, then this is the message I get: leonard@leonard-MT6452:/usr/local$ dir bin etc games include java lib man sbin share src leonard@leonard-MT6452:/usr/local$ cd /java/ bash: cd: /java/: No such file or directory leonard@leonard-MT6452:/usr/local$ rm -r ~/java rm: cannot remove ‘/home/leonard/java’: No such file or directory Help?",
"I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due to some bad design decisions (made by someone else :) ) which lead to circular dependencies between C++ classes in different header files (can happen also in the same file). But fortunately(?) this doesn't happen often enough for me to remember the solution to this problem for the next time it happens again. So for the purposes of easy recall in the future I am going to post a representative problem and a solution along with it. Better solutions are of-course welcome. A.h class B; class A { int _val; B *_b; public: A(int val) :_val(val) { } void SetB(B *b) { _b = b; _b->Print(); // COMPILER ERROR: C2027: use of undefined type 'B' } void Print() { cout<<\"Type:A val=\"<<_val<<endl; } }; B.h #include \"A.h\" class B { double _val; A* _a; public: B(double val) :_val(val) { } void SetA(A *a) { _a = a; _a->Print(); } void Print() { cout<<\"Type:B val=\"<<_val<<endl; } }; main.cpp #include \"B.h\" #include <iostream> int main(int argc, char* argv[]) { A a(10); B b(3.14); a.Print(); a.SetB(&b); b.Print(); b.SetA(&a); return 0; }",
"Some GUI apps use OS X location services, but I want to retrieve a Mac's physical location from the . This could be useful for running scripts, switching settings etc. The mechanism should be , not a Geo IP service (data too low-res, needs online connection). Minimum requirement is output of longitude and latitude. Nice would be a number indicating the precision. Super nice: a geocoder that provides location names.",
"Planet where humans fight for access to algae",
"Fully transparent windows in Pygame? Is it possible to get a fully transparent window in Pygame (see the desktop through it)? I've found how to create a window without a frame, but there doesn't seem to be any obvious way to make it transparent. I'd be willing to tie into system-specific technology/frameworks as long as there are solutions for both Windows and Mac OS X, but I'm not sure which direction to be looking. The only topic I was able to find , which isn't something I can do for this particular project (needs to be Pygame).",
"How to remotely display my Android on my PC? There is a thing which is called miracast, it can mirror the display of the Android phone to another monitor, but my screen doesn't have this function, am I possible to do it in Ubuntu?",
"How can I reduce the ever-increasing time to push a subtree?",
"$ KC $ spaces imply $ US $ spaces , but vise versa is false.",
"Is it possible to accept the alternative hypothesis? I'm aware of several related questions here (e.g., , ) but I don't know the definitive answer for my question below. Suppose a hypothesis test where we want to test whether a coin is fair or not. We have two hypotheses: $H_0: p(head)=0.5$ $H_1: p(head)\\neq0.5$ Suppose we use 5% significance level, there are two possible cases: When we obtain the data and find that the p-value is less than 0.05, we say \"With significance level 5%, we reject $H_0$.\" p-value is greater than 0.05, then we say \"With 5% significance level, we cannot reject $H_0$.\" My question is: In case 1, is it correct to say \"we accept $H_1$\"? Intuitively, and from what I have learned in the past, I feel that \"accepting\" anything as a result of hypothesis testing is always incorrect. On the other hand, in this case, since the union on $H_0$ of $H_1$ covers the whole \"space\", \"reject $H_0$\" and \"accepting $H_1$\" look exactly the same to me. On another thought, I can also think of the following idea, which says it is incorrect to say \"we accept $H_1$\": We have an evidence strong enough to believe that $H_0$ is not true, but we may not have an evidence strong enough to believe that $H_1$ is true. Therefore, \"rejecting $H_0$\" does not automatically imply \"accepting $H_1$\" So, what is the right answer?"
]
| medi_sts_stackexchange_dupe |
When defining class method, why there an equals sign in argument e.g. func(foo=3) | What does ** (double star/asterisk) and * (star/asterisk) do for parameters? | [
"Asking distant cousins for DNA? In my family we have a DNA contradiction – two cousins (at about the 4th cousin level) took a Y-DNA test, but did not match and had two completely different haplogroups. Since then, I have traced living cousins with the same surname – the only ones left living that I am aware of – and I would love to pay to have them tested to see if we can figure out where the non-paternity event (NPE) or other event happened (i.e. this new cousin could help us determine which line the NPE occurred in depending on which cousin he matches). Does anyone have a sample letter, or know the best way to go about asking a distant cousin for DNA? I have their address and am planning to write a letter, but I can't imagine receiving such a letter, so I am not quite sure how to ask without scaring them off.",
"Should moderators be allowed to decline flags on their own comments?",
"So a company decides to raise money by selling shares of its stock. The stock is offered at an initial price of their determination. The stock is then traded in a market where forces of supply and demand, as well as speculation, affect its price. When a company performs well (or makes decisions that will likely increase the company's earnings in the future), more people want to buy that stock than do people wanting to sell it. This creates demand for that stock which causes its sell/bid prices rise. When a company performs poorly, the opposite occurs; more people want to sell the stock than want to buy. This creates a surplus that causes sell/bid prices to fall. Understanding this, people speculate over company performance to determine the future behavior of a stock, and attempt to \"buy low, sell high\" or \"borrow high, return low\" in order to make a profit. But my question is regarding the first part of that process. What is it about company performance that causes the perceived value of its stock to rise? This is especially perplexing since I would guess that most people don't exercise their voting rights, and many stocks don't pay dividends. It's not like a shareholder has any direct financial gains from increased company earnings (speculative stock pricing notwithstanding). What is the intrinsic value of the stock? It seems to me that all participants in a stock market tacitly agree that stock price will have a direct correlation with company performance. So another way of asking the question is, would an opposite agreement hold? What financially (this isn't a question about logistics, communication, or feasibility) stops all participants in a market from agreeing to value a particular company's stock inversely with respect to the company's performance? Since I feel like I can't quite nail down my question, another form of it would be, why is stock market behavior driven by company performance?",
"Is it safe to use oil at its smoking point? Teflon toxicity and second degree burns aside, are there any health issues related to cooking with oil at or past its smoking point? Googling a bit I found one article that went so far as to say you should always \"discard oil that's reached its smoke point, along with any food with which it had contact\". Other searches showed pages suggesting cancer risks. I've never given it a thought before and I often use peanut oil at smoking point to brown meat.",
"Proof that the real numbers are countable: Help with why this is wrong",
"Question about a bijection between $\\mathbb R$ and $\\mathbb R \\cup \\{\\infty\\}$ About a bijection between $\\mathbb R$ and $\\mathbb R \\cup \\{\\infty\\}$ If we'll take a line $f(x)=\\begin{cases} ax &, x\\in\\mathbb R\\\\ 0 &, x=\\infty \\end{cases}$ then we'll have a bijection. But about this function: $g(x)=\\begin{cases} x &, x\\in\\mathbb R\\setminus \\{0\\}\\\\ 0 &, x=\\infty \\end{cases}$ ? it appears to be a bijection and it's even simpler.",
"Similar to this question and an fellow up on this one What was the official reason by Canonical to axed the project when it was love by some many of their users and innovative?",
"I got a new laptop; it came with an existing Windows installation, but I wanted to migrate my current backup to the new machine. I dd-ed the new machine's partitions to an external drive: /dev/nvme0n1p1 /dev/nvme0n1p2 /dev/nvme0n1p3 /dev/nvme0n1p4 and afterwards move my current partitions to the new machine. What followed was a medium-sized nightmare. The new machine would boot, but the wireless network drivers were not recognized and later found out (to the best of my knowledge) they couldn't be installed. I tried: booting from the console and running: sfc /scannow chkdsk C: /f /r /x both seemed to have completed successfully, but now the machine would get stuck in a startup repair loop. I tried resetting the machine (whilst keeping my files), but this failed halfway through. now the machine's still stuck in the loop and decided to try and repair it externally using a bootable Windows 10 . It's likely that I'll need the new machine's Windows 10 key. I'm not sure if it's stored in the BIOS (it came with Windows 10 preinstalled) or somewhere on the partitions. How can I get the key from the partitions (if it's there at all) while booting from a Linux image?",
"Ring of rational-coefficient power series defining entire functions",
"Probability of Various Combinations of Weather There's a 10% chance it will rain today. There's a 15% chance it will snow today. What percentage chance is it that it will: Both rain and snow (it can both rain and snow at the same time)? Neither rain nor snow? - Raining and snowing are independent of each other. EDIT: (ADDED) Rain or snow but not both?",
"I have installed a vlc in centos 6.5. I want to run it as root. But I get the following error, \"VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use vlc-wrapper (make sure it is Set-UID root and cannot be run by non-trusted users first).\"",
"Functions Which are non differentiable on a Given Set. I have recently read the famous Weierstrass Non differentiable function which is continuous everywhere but nowhere differentiable. But now my question is: Given a countable set $S (\\subset \\mathbb{R})$ , can we construct a function which is continuous everywhere but non differentiable only at points of S..? My Attempt: If $S$ finite say, $S=\\{c_1,c_2,...,c_n\\}$ Then the following function is the desired one:$$f(x)=\\sum_{i=1}^{n}|x-c_i|$$ But I cannot construct the function for a arbitrary Enumerable set $S.$ Can we generalize the question for an arbitrary set $S$? Please Help. Thank you...!!",
"Let $a_n$ be a sequence s.t $a_1 > 0 \\land a_{n+1} = a_n + \\dfrac{1}{a_n}$. Prove that $a_n$ is increasing and tends to infinity Let $a_n$ be a sequence s.t $a_1 > 0 \\land a_{n+1} = a_n + \\frac{1}{a_n}$. Prove that $a_n$ is increasing and tends to infinity. Proof: Consider $a_{n+1} - a_n$: $a_{n+1} - a_n = a_n + \\frac{1}{a_n} - a_n = \\frac{1}{a_n}$ This is greater than $0$. Thus, $a_n$ is increasing. Now this is where I need some help. I would like to say that $a_n$ is unbounded and then conclude that monotone and unbounded implies tending to infinity. Maybe by contradiction?",
"Something I did in the first Animal Crossing was make a house on an alternate character solely to showcase bugs/fish I felt were too cool to only leave in the museum. However bugs can't be mailed or dropped, so I'm at a loss as to how to do this. Is there a way I can give bugs/fish to a second character or will that character have to find them themselves?",
"Normalizing point cloud data How I can get Digital Height Model (only object heights, DSM - DTM = DHM)? Many applications can do this, but they convert it to GRID or TIN format. I was wondering if it was possible to keep the data as point clouds.",
"How to install a deb file, by dpkg -i or by apt?",
"Short story about a crew finding an ancient alien ship filled with tons of artifacts from their society",
"How to address a professor in letter?",
"How can you accelerate without moving? I know this question has been asked in other forms, generally regarding the balance of forces. This time I want to focus on motion. I've got a laser accelerometer on my desk. It tells me that I'm accelerating at $9.8~\\rm m/s^2$. For the first experiment I'm travelling in space. I pick a nearby star and discover that I move about $490$ meters in $10$ seconds from that star. For the next experiment I'm on the surface of Earth. I measure the same acceleration with my laser accelerometer. I pick a spot (the center of the Earth) and discover I don't move at all in $10$ seconds. How is acceleration without motion possible?",
"I have a Minecraft 1.8.1 vanilla server and would like to reward certain users. I would like to /give some users a 99999/99999 durability renamed Diamond Pickaxe (with all enchantments on it). How do I use commands to change/repair the durability of items? If possible, using only one command and use /give."
]
| medi_sts_stackexchange_dupe |
Function Repeater JavaScript | Repeat String - Javascript | [
"Rows to column conversion of file Suppose I have a file: File1: PAPER TEAM MANISH NISHA GARIMA JYOUTI ........etc File2 I want: PAPER TEAM MANISH NISHA GARIMA JYOUTI Rows to column conversion of File1.",
"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?",
"Was Philip K. Dick able to watch a complete version of Blade Runner before his death or just unedited material? The Blade Runner release date according to and IMDb was 25 June, 1982. Philip K. Dick died a few months before, on March 2, 1982.",
"Matrices commute if and only if they share a common basis of eigenvectors?",
"The difference between with or without intercept model in logistic regression",
"If $\\lim_{x\\to+\\infty}[f(x+1)-f(x)]= \\ell,$ then $\\lim\\limits_{x\\to+\\infty}\\frac{f(x)}x=\\ell$. Let $f:[0,+\\infty)\\to\\Bbb R$ be a function bounded on each finite interval. I want to show that if $\\lim\\limits_{x\\to+\\infty}[f(x+1)-f(x)]= L,$ then also $\\lim\\limits_{x\\to+\\infty}\\dfrac{f(x)}x = L$",
"Prove that $x^2 + y^2 = 3(z^2 + m^2)$ has no solutions in integer",
"I can see that this works for any integer $n$, but I can't figure out why this works, or why the number $42$ has this property.",
"Is Dishonored an open-world game? I was considering whether or not to buy Dishonored, and watching gameplay of it on Youtube, when a thought popped into my head: is Dishonored free-roam? Can you go anywhere you want, similarly to Fallout or The Elder Scrolls?",
"Ring homomorphism and characteristic",
"Please describe direct products in the category Rel.",
"I just can't find a decent (and free) one. What can I use?",
"Who was flying the Y-Wing when the Death Star exploded? Near the end of Star Wars IV: A New Hope, we see four spacecraft flying from the Death Star just moments before it explodes. As you can see, there is the Millennium Falcon crewed by Han and Chewbacca, a pair of X-Wings which has to be Luke and Wedge, and then in the bottom corner, we see a Y-Wing. Who is this pilot and did he have any screen time to justify him actually existing in this moment? For as far as I can tell during the first trench runs, they were conducted by the Y-Wings and all of them seemed to have been destroyed during their run. So as I asked, who is flying this ship and how did survive to this moment?",
"By definition a matrix representing a Lorentz transformation is orthogonal, so that its inverse is equal to its transpose. Consider a pure boost in the t-x plane; $$\\Lambda_x=\\begin{pmatrix} \\cosh(\\gamma) && \\sinh(\\gamma) && 0 && 0\\\\ \\sinh(\\gamma) && \\cosh(\\gamma) && 0 && 0\\\\ 0 && 0 && 1 && 0\\\\ 0&&0&&0&&1 \\end{pmatrix}.$$ $\\Lambda_x$ has inverse $$\\Lambda_x^{-1}=\\begin{pmatrix} \\cosh(\\gamma) && -\\sinh(\\gamma) && 0&&0\\\\ -\\sinh(\\gamma) && \\cosh(\\gamma) && 0&&0\\\\ 0 && 0 && 1 &&0\\\\ 0&&0&&0&&1 \\end{pmatrix}$$ but tranpose $$\\Lambda_x^T=\\begin{pmatrix} \\cosh(\\gamma) && \\sinh(\\gamma) && 0&&0\\\\ \\sinh(\\gamma) && \\cosh(\\gamma) && 0&&0\\\\ 0 && 0 && 1&&0\\\\ 0&&0&&0&&1 \\end{pmatrix}.$$ These are not equal. Where have I gone wrong?",
"I want to remove the URL that gets printed on the bottom of the page. like: yomari.com/.../main.php?sen_n How can it be omitted or prevent from getting printed? To be more specific, is there any way I can prevent the page URL, date and the page title being printed along, while printing the web page?",
"Wall of Sand on Difficult Terrain Looking into prompted this inquiry: What happens when you move through a wall of sand on difficult terrain? This involves the understanding that wall of sand changes the cost of moving 1 foot to 3 feet and that difficult terrain typically changes the cost of moving 1 foot to 2 feet.",
"What is the safest way to clean up /boot partition? I have 200 MB assigned for the /boot partition. Whenever I try to update the kernel, I receive an error message that basically states /boot is full. What can I do to cleanup /boot and remove/backup the older kernels?",
"I'm curious whether I can find the overlap $\\langle q | p \\rangle$ knowing only the following: $|q\\rangle$ is an eigenvector of an operator $Q$ with eigenvalue $q$. $|p\\rangle$ is an eigenvector of an operator $P$ with eigenvalue $p$. $Q$ and $P$ are Hermitian. $[Q,P] = i \\hbar$. I'm asking because books and references I've looked in tend to assume that $Q$ is a differential operator when viewed in the $P$-basis, then show that it satisfies the commutation relation. (I haven't read one yet that proves that the form given for $Q$ is the only possible one.) I've heard, though, that we can work purely from the hypothesis of the commutation relation and prove the properties of $Q$ and $P$ from it.",
"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.",
"We consider the differential equation $y'=x+y^2$ and for any $\\eta \\geq 0$ we denote by $\\phi_\\eta:(\\alpha_\\eta,\\beta_\\eta)\\rightarrow\\mathbb{R}$ the unique saturated solution of the Cauchy Problem $y'=x+y^2$, $y(0)=\\eta$. I am required to do the change of variable $z(x)=y(-x)$ and I succeded here, obtaining $y'(-x)=y^2(-x)-x$ and so $z'(x)=x-z^2(x)$, then I was required to represent the $0-isocline$ and it was also simple as I obtained a parabolla and also I was required to write the equation of the tangent in the point $(0,\\eta)$ which was also pretty simple as I obtained $\\phi'_\\eta(0)=\\eta^2$ and the equation of the tangent is $y=\\eta+\\eta^{2}x$. Now, I am required to find $\\phi^{(5)}_0(0)$( that $5$ indicates the number of differentiations), which puzzles me as I don't know the form of the solution and if it can be found out and also I am told to show that $\\frac{1}{\\eta}\\geq\\beta_\\eta$ What I did not prove after the first edit : and that for $\\eta > 0$, $\\alpha_\\eta=-\\infty$ and for the Cauchy problem $z'=x-z^2,z(0)=\\eta$ the saturated solution is defined up to $+\\infty$. At this last ones I am lost. Any help, please? Edit: I have passed beyond finding $\\phi^{(5)}_0(0)$ and I think I did show that $\\frac{1}{\\eta}\\geq\\beta_\\eta$, now it remains to prove the last questions."
]
| medi_sts_stackexchange_dupe |
How to copy file/folder permissions and ownerships from one folder to another (recursively) | How to copy only file attributes (metadata) without actual content of the file? | [
"What's the difference between TRUNCATE and DELETE in SQL What's the difference between TRUNCATE and DELETE in SQL? If your answer is platform specific, please indicate that.",
"What are the meaning and possible origin of \"word!\" and \"word up\"?",
"Why does a neon lamp indicator on a power strip switch flicker in the dark? Neon lamp indicators embedded in power strip switches indicate whether the switch is ON or OFF. When the neon lamp is ON in a dark environment (lights of the room are off), the lamp begins flickering and it sometimes goes off for a few seconds. When I switch the lights of the room on, it stops flickering and remains bright. Even when I unlock my phone in the dark near the lamp, it stops flickering! Is the light-making-mechanism in neon lamps affected by the light intensity of the surrounding environment? UPDATE: I captured my observations with my iPhone and uploaded it to YouTube. Here is the link of the video: All the lights of my room were turned off. There were no plugs connected to the power strip. The only source of light was the screen of my MacBook Pro, which was not plugged in. I increased and decreased the brightness of the computer screen during the video. I then produced two additional light environments using my phone.",
"What are the current travel restrictions on individuals entering the United States from regions affected by Covid-19?",
"Reduce gap between subfloat and subcaption",
"Chatroom owners can star their own messages I was able to star my own message by pinning it and unpinning it. Pinning a message adds a star, even to your own messages, but when the pin is removed, the star remains.",
"$M= \\{ A \\in Mat_{2 \\times 2}{\\mathbb{R}}| \\det(A)=1 \\}$ is homeomorphic to $S^{1} \\times \\mathbb{R}^{2}$",
"Can I recover app data after the phone has been Factory Reset? Without remembering application data, I reset my Galaxy S3 to factory state. Now, I lost data for one expense manager app. Is there any way to recover the data?",
"My character has a bite attack from his race. What happens if he gains another bite attack from class abilities or spells? Does the damage increase? Can he make more than one attack? Or is it simply that only the better version applies? I would prefer answers from a Pathfinder context but 3.5e is also acceptable.",
"I just noticed that the user edited a ~1 year old of mine. As you can see, the method call was changed from getSfGuardUser to getGuardUser: Now I checked the documentation and it seems that the edit is correct. But how did Community know about that? As far as I know, it is an automated process. Does it have a reference of all possible APIs of languages/frameworks (which seems very unlikely) or is there a routine admins can trigger, for replacing content? Or is it a secret?",
"Could I have a hint for testing the convergence of the following series please? $$\\sum_{n=2}^\\infty\\frac{1}{(\\ln n)^{\\ln n}}$$ Edit The integral test does not work because $\\int_1^n\\frac{1}{(\\ln x)^{\\ln x}}dx$ has not an elementary primitive. Thank You.",
"I have a very large codebase (read: thousands of modules) that has code shared across numerous projects that all run on different operating systems with different C++ compilers. Needless to say, maintaining the build process can be quite a chore. There are several places in the codebase where it would clean up the code substantially if only there were a way to make the pre-processor ignore certain #includes if the file didn't exist in the current folder. Does anyone know a way to achieve that? Presently, we use an #ifdef around the #include in the shared file, with a second project-specific file that #defines whether or not the #include exists in the project. This works, but it's ugly. People often forget to properly update the definitions when they add or remove files from the project. I've contemplated writing a pre-build tool to keep this file up to date, but if there's a platform-independent way to do this with the preprocessor I'd much rather do it that way instead. Any ideas?",
"Lecturer with anxiety. How to survive in academia? I've been a long time member of academia.SE but I created this alt account because the question is a bit embarrassing. I finished my PhD 4 years ago and after a 2 year postdoc at a different university secured a contractual lecturership. During my PhD I never realised I had fear of public speaking, because I always felt secure presenting in front of my supervisor. Even at conferences, his presence in the audience was enough to keep me relaxed. Fast forward to my postdoc, I was mostly working and publishing by myself. So, even if I had to present something it was to my coauthors, with which I am okay. But as a lecturer doing research part of my time, I am involved in projects and seminars where I am expected to present my latest work. Being on my own has brought out my inner anxiety, so much so that I choked during a presentation, had to drink water to calm my nerves and apologise for my breathlessness and slurred speech. That was the most embarrasing thing in my life. Please note that the anxiety is not the result of me not publishing or doing research. I have published more than most in my department. Knowing that hasn't helped with the anxiety though. I am constantly making excuses to get out of project presentations and seminar talks. Fortunately, the anxiety is less intense in teaching and I am able to manage. How do I survive as an academic? Now even conference presentations seem daunting. I can publish exclusively in journals, but how do I get out of giving project and departmental presentations? How can I politely refuse to present without revealing my situation? Or better yet, how do I fix the whole thing? That one bad presentation has really messed me up.",
"Is there any difference between \"offense\" and \"offence\"? \"Offense\" vs. \"offence\", which is more correct? If both are correct, are there any differences in shades of meaning and/or usage?",
"I noticed that when I had a helium filled, latex balloon inside of my car, it moved forward in the cabin as I accelerated forward. The faster I accelerated forward, the faster the balloon went from the back of the car to the front of the car. The balloon didn't have a string. This became a game with my 4 year old as we drove home. We figured out where the balloon would go based on how fast I accelerated, turned corners etc. I expected that it would act a lot like the water in a cup does, but it was the total opposite it seemed. What forces caused this behavior? I assumed it has something to do with the fluid dynamics in the closed cabin, but I can't figure it out.",
"The question got me curious and thinking about the following: For which $n$ and $k$ are there nontrivial homomorphisms from the symmetric group $S_n$ to the cyclic group $\\mathbb{Z}/k\\mathbb{Z}$ of order $k$? I'm thinking it might be an open problem. Is this a problem with a known solution? If so, how can we prove it? Thanks!",
"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)",
"How to install (old) packages for Ubuntu 9.04? Based on some excellent feedback by Mark here (), today I was able to use the vmware converter to clone my production server for a staging server. However the nic won't come up no matter what I do. I attempted to inistall vmware tools, as I suspect that the fact that it is not installed might prevent the nic from working. (I have the nic set as a vmxnet3 card in the vm settings). The install failed because there were several dependencies missing as well as the Linux headers. Given that Ubuntu 9.04 has been EOL'd, the packages I need to install to get the vmware tools to install are no longer available. I doubt the ubuntu 9.04 install CD has the packages on it. What are my options? I'd rather not upgrade the version of Ubuntu yet, as the point of the vm right now is to maintain parity with the production server. Might I have better luck resetting the driver to use vmxnet2 instead of the vmxnet3? Thanks in advance! Chris",
"Why would a company care about the price of its own shares in the stock market?",
"Google App Engine: Is it possible to do a Gql LIKE query?"
]
| medi_sts_stackexchange_dupe |
In MCMC simulation, how to deal with very small likelihood values that couldn't be represented by computer? | Computation of likelihood when $n$ is very large, so likelihood gets very small? | [
"Strictly Upper Triangular $n\\times n$ Matrices form a Nilpotent Lie Algebra over $\\mathbb{C}$ for $n\\geq 2$ I have been attempting this problem for a while, it is an assignment problem so I don't want somebody to just post the answer, I'm just looking for hints. Let $\\mathfrak{u}(n,\\mathbb{C})$ be the Lie algebra of strictly upper triangular $n\\times n$ matrices over $\\mathbb{C}$. I am trying to show that $\\mathfrak{u}(n,\\mathbb{C})$ is a nilpotent Lie algebra for $n\\geq 2$. This is what I have looked at so far. I have done some explicit calculations (I shall omit the bulk of them and just summarise below) for $n=2,3,4$ and have come up with some ideas. Let $L=\\mathfrak{u}(n, \\mathbb{C})$. If $n=2$, $L^1 = [L, L] = <0>_{\\mathbb{C}}$ So $L$ is nilpotent. If $n=3$, $L^1 = [L, L] = <e_{13}>_{\\mathbb{C}}$ $L^2 = [L, L^1] = <0>_{\\mathbb{C}} = \\left\\{ 0 \\right\\}$ So, $L$ is nilpotent. If $n=3$ $L^1 = [L,L] = <e_{13},e_{14},e_{24}>_\\mathbb{C}$ $L^2 = [L,L^1] = <e_{14}>_{\\mathbb{C}}$ $L^3 = [L, L^2] = <0>_{\\mathbb{C}} = \\left\\{ 0 \\right\\}$ So, $L$ is nilpotent. So my hypothesis so far is that for an arbitrary $m\\in\\mathbb{N}$, $L^{m-1}=\\{0\\}$ My instinct is to do this by induction. My base case, $n=2$ has already been shown. Now I assume that $\\mathfrak{u}(n,\\mathbb{C})$ is nilpotent for $n=k$ ($k\\in\\mathbb{N}$) and consider the case for n=k+1. However, I have no idea how to link these two cases together. I have read in Introduction to Lie Algebras and Representation Theory - J.E. Humphreys that $L^k$ should be spanned by basis vectors $e_{ij}$ where $j-i=k+1$ - however in my calculations for $L^1$, I obtain an $e_{14}$ which does not satisfy 4-1=2. Am I missing something completely obvious? Or have I made a mistake somewhere? (I have checked my calculations numerous times, but cannot find any errors!) Thanks, Andy.",
"Suppose $n$ is an even positive integer and $H$ is a subgroup of $\\mathbb Z/n \\mathbb Z$. Prove that either every element of $H$ is... Suppose $n$ is an even positive integer and $H$ is a subgroup of $\\mathbb Z/n\\mathbb Z$. Prove that either every element of $H$ is even or exactly half of its elements are even. (Gallian, Contemporary Abstract Algebra, Exercise 24, Chapter 3.)",
"found a 1994 uncashed profit sharing retirement plan check I found an old un-cashed check dated 1994 for $487 from my Xerox Retirement plan with no expiration date. Can I still cash it?",
"Copy a DVD in Windows 7 Is there any built-in way of copying DVDs in Windows 7 or do I need to install a third party tool?",
"Is Cesaro convergence still weaker in measure?",
"I've got about a billion rows of data in a table with a name and an integer in the range 1-288. For a given name, every int is unique, and not every possible integer in the range is present--so there are gaps. This query generates an example case: --what I have: SELECT * FROM ( VALUES ('foo', 2), ('foo', 3), ('foo', 4), ('foo', 10), ('foo', 11), ('foo', 13), ('bar', 1), ('bar', 2), ('bar', 3) ) AS baz (\"name\", \"int\") I'd like to generate a lookup table with a row for each name and sequence of contiguous integers. Each such row would contain: name -- the value of the name column start -- the first integer in the contiguous sequence end -- the final value in the contiguous sequence span -- end - start + 1 This query generates example output for the above example: --what I need: SELECT * FROM ( VALUES ('foo', 2, 4, 3), ('foo', 10, 11, 2), ('foo', 13, 13, 1), ('bar', 1, 3, 3) ) AS contiguous_ranges (\"name\", \"start\", \"end\", span) Because I have so many rows, more efficient is better. That said, I only have to run this query once, so it isn't an absolute requirement. Thanks in advance! Edit: I should add that PL/pgSQL solutions are welcome (please explain any Fancy Tricks--I'm still new to PL/pgSQL).",
"Did this character even qualify for being Azor Ahai or The One Who Was Promised? In the books and to some degree in the show as well there is a prophesy about the legendary figure Azor Ahai. But in the latest Game of Thrones episode (S08E03) we see Arya killing the Night King. However in a we discussed all possible candidates but nobody thought about Arya. Does she even fulfill the prophecy? If she does, how?",
"Prevent mail being marked as spam",
"Why didn't (or did) I or some other user get a hat although the requirements were (or weren't) fulfilled? During Winter Bash, users can earn hats. But sometimes it seems that a hat was awarded even though its requirements weren't (yet) met, or vice versa. What could be the reason for this?",
"I'm trying to when I run into this: \"You have already deleted 5 of your own posts today; further deletes are blocked\" I found conflicting information on this very annoying limit: This post from May 25, 2010: . This is marked . If this is no longer the case, please edit that question and flag it as . Then , indicates that the problem has risen from the dead -- despite : Each time that I've seen it (pruning subpar answers), it's been a user who is deleting their own redundant zero-upvote answers. Can you tweak the algorithm slightly so answers with less than one upvote don't count towards tripping this flag? (Emphasis added.) : I don't mind it when cleaning up redundant answers on questions that have multiple alternate good answers cleaning up old, \"less awesome\" answers that are no longer reflective of the user's current skill level (Emphasis added.) So why do we have barriers in place, to making SO answers less, \"less awesome\"? Proposed Solution: Please let us (¿once again?) delete an unlimited number of our own answers, when they have zero up-votes and are not marked as the answer. Otherwise, please edit the linked questions to clear up the confusion.",
"Ill implement the some UI but its not working in the visualpage , can u know how implement jquery ui in viusalpage , Kindly tell the procedure , Im using this url its not working ,,,,,",
"MacBook Pro stuck in gray screen when booting I've got a Late-2011 15\" MacBook Pro stuck in the gray screen when booting AFTER login. I've tried removing the drive (it's non-retina) and booting from a working bootable Yosemite installer, no luck. (it sees the startup USB drive, the progress bar progresses, but stuck at the gray screen again even without a drive. Tried NVRAM reset (cmd option P R), it has reset (the login sound's volume changed) but nothing changed. Tried holding D on startup, AHT doesn't start, instead, it tries to boot into the OS. Tried Cmd V, it sometimes works and displays the verbose output, sometimes, it acts like I haven't even pressed. Again, stuck after login. Tried booting again from USB, I select USB (after seeing both drives correctly), but no luck, it's also stuck. I've stumbled upon this: I've tried booting into single user mode with Cmd S, it worked ONCE, I've disabled the graphics extensions just as shown at that post, restarted, but again, nothing changed. More weirdly, now the Cmd S doesn't work either. It just takes me to login screen without showing the terminal, just as I haven't pressed anything. Why would this happen? Why would a Mac refuse to enter hardware test mode, single user mode, or refuse to boot from a working bootable Yosemite drive both with or without the main drive installed? UPDATE: I've run the AHT and got an error: 4MEM/66/40000000: 0x84e0ec98 It looks like a memory issue, but I'm not sure. UPDATE 2: I've tried reinserting the RAMs and the the problem is not reported anymore. However, the Mac still won't boot.",
"Stars and pins are retained when chat messages are moved! In the chat system, stars and pins are retained when moved to another room. This is probably a bug. Here a picture: When a room owner pins a message, they can move it to another room, and they cannot unpin it. However when a starred message is moved to another room, the user can unstar it in the room it was moved to. Conversation source: * is irrelevant and does not have to do with this bug report. Many thanks to .",
"Series as an integral (sophomore's dream)",
"Why doesn't my flash fire from the hot shoe trigger? I have a Yongnuo YN-560 III and a pair of RF-603II (C3) triggers. I have a Canon Rebel T5i. I put one trigger on the hot shoe. When this trigger is in TX mode I get a blue comm light and I can fire a test flash using the large test button on the trigger. But when I press the shutter button to take a picture, there's no flash. The trigger and flash are on Channel 1. The trigger on the hot shoe is set to TRX. TX is fine, TRX gives me no flash. The flash and camera are in M mode. I don't have a trigger on the flash because the Mark III has a built-in trigger The problem seems to be the camera. The trigger can talk to the flash but the camera is not sending a flash command through the trigger in the hot shoe to the flash. Grateful for anything you could suggest.",
"I find I always have trouble scaling the amount of time the eggs should be boiled, cooled, etc. for different-sized batches of hard-boiled eggs. I've heard a variety of \"folk lore\"-type rules for how it should be done, but what's really the right way?",
"I want to run a daily incremental backup and append the day of the week to the file name so I end up with: backup_mon.bak backup_tue.bak etc. Not really bothered about what exactly is appended - 0 - 6 is fine. How do I go about this?",
"I will soon buy a new iPhone. If I log in with my Apple ID in my new phone could I still access my Clash of Clans village without starting from scratch?",
"How can I get a complete list of fields for a standard object?",
"I upgraded from 16.04 to 18.04. When I press Ctrl+Alt+F3 I get the terminal which prompts for the username. When I type my username and press Enter, it doesn't wait for my password (its as if I pressed Enter without entering anything). Even if I enter something, the text shown in plaintext and then it keeps on saying my password is wrong. After few times, the screen is cleared and it prompts for my username again and the same loop goes on."
]
| medi_sts_stackexchange_dupe |
How to freeze the editing of textfield? | Enable copy and paste on UITextField without making it editable | [
"How to logout an user from the connected app? NOTE: I am not interested in calling /secur/logout.jsp since it ends all the active salesforce sessions. I am developing a web application that is registered on salesforce as a connected app, so I am using salesforce credentials to authorize the user. Application is developed in REST API and the communication with salesforce is happening in restful manner. Auth url: Authorization: Method 1: If there is no salesforce session active, The user is taken to salesforce login page, where he enters his salesforce details to be authorized and after which he is taken to home page of my web application. Method 2: If there is already a salesforce session active in another tab, the user is directly authorized and is taken to home page of my web application. Now I am trying to implement logout button for my application, such that the following scenarios are covered, Scene 1: The user is authorized using method1, and the user press the logout. Upon trying to logback the user is prompted for credentials. Scene 2: The user is authorized using method2, and the user should use logout to logout of the web application (not from active sessions). Upon login, the user should be again able to login using method2. Can someone help me on how to implement the logout button such that it covers scenario 1 & 2. Thanks in advance.",
"Relative log file matching with linux?",
"How to append multiple lines of text to a file?",
"A new version of Ubuntu has been released. I still can't find it on ubuntu.com. Where can it be downloaded from, or is it the only way to install it using update-manager to upgrade an existing installation?",
"Disabled submit button on form vs allow submit then show errors?",
"Clothing store access in Pokémon X & Y Once the player obtains access to Lumiose City for the first time, they'll be able to visit Boutique Couture from the city's Vernal Avenue (South fork, connecting from South Boulevard). Upon entering the store without performing any other actions, the player will be turned away and informed they \"aren't stylish enough\" and that they should visit more places in Lumiose City before visiting again. This description is dubious, and doesn't inform the player of what they need to accomplish to gain access. Specifically: Even beating the game (completing the Pokémon League) fails to allow access, as does modifying the player's look, visiting most shops in all areas of Lumiose City, and performing all hair stylist, PR studio, and associated actions. Completing a set of triple battles in Restaurant Le Wow did set the event flag that allowed access in my copy of Y, but it is not clear if this is the only requirement for access. So other players may benefit, and so I know how to repeat this process if I obtain a copy of X or the future release of Z, what exact requirements yield access to this store for the first time?",
"I am trying to design a circuit and was wondering how to design it that the 12V 800mAH NimH battery I am using will not overcharge. I have researched trickle charging and as far as I understand, a zener diode that regulates the voltage down to about 13.3-13.7V should do. I chose a 14V Zener, taking into account the .6-.7V drop. I have heard that trickle charging is not the best for the battery, but am not sure how much more work designing a smart charger would take. I was also thinking of using another diode to prevent flow back to the panels from the battery. – Schematic created using The three voltage sources on the left represent the solar cells, with the NiMH battery on the right. I was wondering if I needed any additional components if I were to use three 5.5V solar cells in parallel outputting 40mA (16.5V total at 40mA, regulated to 13.3V by the zener) in order to prevent overcharging. A similar question to mine was asked at However, this dealt more with a larger lead-acid battery and used a voltage regulator with a schottky diode. This link discusses almost my exact same question, but I was confused to the answer given which said that up to 1.45V per cell could be charged, taking my max charge voltage up to 14.5V. Considering I am only outputting 40mA to an 800mAH battery, it seems that I may not need any more battery protection, but would love any input.",
"Unable to edit my response to a locked question The image is broken in my to the \"favorite programmer cartoon\" question. I'd be happy to fix this, but I can't (not enough rep? not a moderator?). Here's the image in the Internet Archive:",
"How would you go about finding out how much memory is being used by an object? I know it is possible to find out how much is used by a block of code, but not by an instantiated object (anytime during its life), which is what I want.",
"How to prevent iTerm2 from creating overlaps and broken lines after pasting multiline chunks of text? If I paste multiline chunks of text into iTerm2, I always a get mess of output. It seems limited to only some programs running interactively (such as Bash, IRB - Python / VIM work flawlessly). Using Apple's native Terminal, I can paste whatever I want wherever I want - it works. For example, this sample text (): echo Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. echo Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra nec consectetur ante hendrerit. echo Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. echo Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. echo Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ut gravida lorem. Ut turpis felis, pulvinar a semper sed, adipiscing id dolor. echo Pellentesque auctor nisi id magna consequat sagittis. Curabitur dapibus enim sit amet elit pharetra tincidunt feugiat nisl imperdiet. echo Ut convallis libero in urna ultrices accumsan. Donec sed odio eros. Donec viverra mi quis quam pulvinar at malesuada arcu rhoncus. [snip] pasted into IRB produces this in iTerm2: while it produces this in native Terminal: I am running the latest versions of OSX and iTerm2. What's going wrong here?",
"How do you prove the second law of thermodynamics from statistical mechanics? How do you prove the from statistical mechanics? To prove entropy will only increase with time? How to prove? Please guide.",
"I have an object already created in blender, a tree, or a human, or a pipe.. and I need this to be drilled with multiple holes. The holes are painted in an image, that is, it is an image that has a repeating an images pattern (they can be circles, squares, or any form). Here are some examples for drilling-pattern:",
"Install on, install in, install to When I say \"programs to install on a new PC\" it sounds alright to me, but I'm not sure if it's the correct usage. Which one of the following should I use? Programs to install on a new PC Programs to install in a new PC Programs to install to a new PC",
"What was missing in Dirac's argument to come up with the modern interpretation of the positron?",
"I'm working through Rotman (1994). It's the 2nd chapter where my curiosity lead me to a question that is not from the book. Here's the problem that inspired the question: 2.8. Imbed $S_n$ as a subgroup of $A_{n+2}$, but show, for $n\\ge2$, that $S_n$ cannot be imbedded in $A_{n+1}.$ Since the alternate subgroup has the property of even parity, I thought that a little investigation of parity for the second and third symmetric groups was in order. So I constructed a table for each of them, grouped by even and odd number of disjoint products. I'll forego writing the actual table and simply provide the answers. In symmetric groups with an even idegree, two even permutations come together under composition to produce an even permutation. Two odds also make an even. Two different parities produce odd elements. When the symmetric group has an odd degree, e.g. $S_3$, two odds make an odd, two evens make an odd, and two different parities make an even element. Exactly the opposite results from the symmetric groups with even index. Two questions: is this enough to prove the $A_{n+1}$ case? And can this be generalized modulo 2 e.g. $A_{2n+1}$?",
"solution :- $21= 3 \\times 7$ there is only one Sylow $3$ and Sylow $7$ subgroup so, Sylow $3$ and Sylow $7$ subgroup are normal in group $G$ so $G$ is cyclic group of order $21$. Am I right ? somebody told me that group of order $21$ is not cyclic. he gave me this . If group of order 21 is not cyclic, then can we understand it by Sylow method ?",
"input to pic with 12V and resistors I have 12V, Use these 12V to power a device (that has a 12V output signal) and to power a 7805. After the 7805 there is a pic microcontroller where I would have to connect the output from my device. I was thinking of having 2 resistors in a 3/1 ratio in order to have about 4V at the pin of the pic. Can this be done, given that the ground is common, or will it give some sort of problem with the lm7805?",
"Further customize color of hyperref links I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like to change the colors of various links. Any ideas or examples are much appreciated. \\documentclass{article} \\usepackage[backref=true]{biblatex} \\begin{filecontents}{refs.bib} @book{cit1, title = {The backreferences should be yellow}, author = {Last, First} } \\end{filecontents} \\bibliography{refs.bib} \\usepackage{color} \\usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \\usepackage[colorlinks=true, linkcolor=red, urlcolor=blue, citecolor=gray]{hyperref} \\begin{document} \\title{Title} \\maketitle \\tableofcontents \\listoffigures \\section{Table of content's links should be green} \\label{s1} All text, captions, and section headers after the list of figures should be black. The citation links should be gray.\\autocite{cit1} \\subsection{Table of content's subsections links should be orange} Internal links like this section link \\ref{s1} or this figure link \\ref{f1} should be blue. \\begin{figure}[h] \\caption{List of figures links red} \\label{f1} \\end{figure} \\printbibliography \\end{document}",
"I need to be able to compare some month names I have in an array. It would be nice if there were some direct way like: Month.toInt(\"January\") > Month.toInt(\"May\") My Google searching seems to suggest the only way is to write your own method, but this seems like a common enough problem that I would think it would have been already implemented in .Net, anyone done this before?",
"I understand that faster-than-light communication is impossible when making single measurements, because the outcome of each measurement is random. However, shouldn't measurement on one side collapse the wave function on the other side, such that interference effects would disappear? Making measurements on \"bunches\" of entangled particles would thus allow FTL communication, by making observed interference effects appear or disappear. How does such an experiment not: 1) Clearly imply that faster-than-light communication is possible? or 2) (if #1 is rejected) Imply that measurement of one half of an entangled pair does not cause the collapse of the other half's wave function. Why doesn't this thought experiment clearly show that if we maintain that FTL communication is ruled out, we must also rule out \"universal collapse\" in the Copenhagen interpretation? EDIT: Here is an example of an explicit experiment (though I think experts could come up with something better): You can entangle a photon with an electron such that the angle of the photon is correlated with the electron's position at each slit of a double slit experiment. If the photon is detected (it's outgoing angle measured), then which-path information is known, and there is no interference. If the photon is not detected, the interference remains. The experiment is designed such that the photon and electron go in roughly opposite directions, apart from the tiny deflection which gives which-path information. You set up a series of photon detectors 100 ly away on one side, and your double slit experiment 100 ly away in the opposite direction. Now you produce the entangled pairs in bunches, say of 100 entangled pairs, each coming every millisecond, with a muon coming between each bunch to serve as a separator. Then the idea is that someone at the photon detector side can send information to someone watching the double-slit experiment, by selectively detecting all of the photons in some bunches, but not in others. If all of the photons are detected for one bunch, then the corresponding electron bunch 200 ly away should show no interference effects. If all of the photons are not detected for one bunch, then the corresponding electron bunch 200 ly away would show the usual double-slit interference effects (say on a phosphorus screen). (Note that this does not require combining information from the photon-detector-side with the electron-double-slit side in order to get the interference effects. The interference effects would visibly show up as the electron blips populate the phosphorus screen, as is usual in a double-slit experiment when which-path information is not measured.) In such a way the person at the photon detectors can send '1's and '0's depending on whether they measure the photons in a given bunch. Suppose they send 'SOS' in Morse code. This requires 9 bunches, and so this will take 900 milliseconds, which is less than 200 years. The point is that such an experiment would only work if you assume that the measurement of the photon really does collapse the wave function nonlocally."
]
| medi_sts_stackexchange_dupe |
Read the output of a command into a variable | Storing output of command in shell variable | [
"How to test hypothesis of no group differences?",
"What to look for in a starter-level off-camera flash? I have zero experience with flash and want to learn how to use it from zero, for example by following the Strobist blog. What are the absolutely necessary specifications I should look for when shopping for a flash, and can I find something in a price range less than $200.00? My camera is a Nikon DSLR.",
"Batch jobs error emails report: The transaction log for database 'WebDB' is full. No, it isn't. Its 90% free. The transaction log backups run normally. My hardware guy tells me the hardware is running perfectly, with plenty of space. SQL Server 2008 SP3, but not R2. I'm a developer, we no longer have a DBA. So it falls to me to try and fix this.",
"What are \"first class\" objects? When are objects or something else said to be \"first class\" in a given programming language, and why? In what do they differ from languages where they are not? EDIT. When one says \"everything is an object\" (like in Python), does he indeed mean that \"everything is first-class\"?",
"Here is my question: Is a homeomorphism, that is, a continuos function whose inverse function is also continuous, always bijective?",
"Understanding complete separation for logistic regression Why does logistic regression not converge for a linearly separable data set? For linear separable data sets the model parameters go to infinity when mimizing the error function (according to Bishop2006, Pattern recognition and machine learning, section 4.3.2). I don't understand why. It must be connected to setting the score function, i.e. the derivative of the error function, to zero. The error function is given by $E(\\mathbf{w})$ as shown in the figure below. Where $\\mathbf{t}$ is the target variable vector of the training set and $\\mathbf{w}$ the parameter / coefficient vector. The posterior probabiltiy for class 1 is given by $$y(n) = p(C_1|\\mathbf{x}_n) = \\sigma(\\mathbf{w}'\\mathbf{x}_n).$$ Where sigma is the logistic sigmoid function and $\\mathbf{x}_n$ is the feature vector for instance $n$ including the predictors. My second question to logistic regression is if the to posterior probabilities $p(C_1|\\mathbf{x}_n)$ and $p(C_2|\\mathbf{x}_n)$ sum to one?",
"I currently have a valid Schengen tourist visa that expires next year, issued by the French Consulate in Saudi Arabia. I am going to a 60-day study abroad program in Italy and they require a student visa. I went to the Italian Consulate in Boston and they asked me to go to the French Consulate and cancel my visa. However, the French Consulate said that I needed to contact the French Embassy in Saudi to cancel the visa. How can I cancel my tourist visa if I am currently in the United States? My Italian student visa application is due tomorrow morning.",
"Are there solutions that can limit the CPU usage of a process? I am using an old laptop and doing heavy processing that needs high CPU usage for a long time (~30mins - 2hours). When the process puts heavy load on CPU for a long time, CPU overheats and computer shuts down. I don't want to use a cooler/stand because I am carrying this laptop around and working outside home. Is there a way/application that I can limit CPU usage of a process in Windows? Note: Setting the priority of the process from task manager does not work. Note 2: Fans are clean.",
"Cosine of the sum of two solutions of trigonometric equation $a\\cos \\theta + b\\sin \\theta = c$ Question: If $\\alpha$ and $\\beta$ are the solutions of $a\\cos \\theta + b\\sin \\theta = c$, then show that: $$\\cos (\\alpha + \\beta) = \\frac{a^2 - b^2}{a^2 + b^2}$$ No idea how to even approach the problem. I tried taking two equations, by substituting $\\alpha$ and $\\beta$ in place of $\\theta$ in the equation and manipulating them, but that didn't get me anywhere. Please help!",
"I just installed a new Ubuntu Server 18.04. I set my hostname hostnamectl set-hostname ****.openbayou.biz and I set /etc/hosts: 127.0.0.1 localhost [ip address] ****.openbayou.biz hostname # The following lines are desirable for IPv6 capable hosts [ip6 address] *****.openbayou.biz hostname ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters I also installed OSSEC to monitor for new files, errors and changes to my server and I'm now getting these alerts: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018- 0001, retrying transaction with reduced feature level UDP.` It's now repeating itself: systemd-resolved[3195]: message repeated 4 times: [ Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.] I've looked online for a solution and nobody is reporting this issue.",
"When studying systems of linear equations, it's nice to remind people that the last column of the coefficient matrix holds the constants. This is often done in books by putting a vertical line between the last column and the next to last column. What is a good way to do this in LaTex?",
"Impact of changing instances' passwords As part of a security policy, the company I work for has given me the task of changing the sa's and SQL Server Agent service accounts' passwords for several instances. What's the possible impact of doing this? Is there anything in particular I should watch out for? Is there any whitepaper, guide or even blog post about this kind of task? What kind of 'backup' plan should I have in place in case anything goes wrong? Any guidance is appreciated.",
"Where do ultra-high-energy cosmic rays come from? Physicists have detected an amazing variety of energetic phenomena in the universe, including beams of particles of unexpectedly high energy but of unknown origin. In laboratory accelerators, we can produce beams of energetic particles, but the energy of these cosmic rays far exceeds any energies produced on Earth. So my question is, from where do these come from?",
"Is it safe to put hot food in the fridge? I heard that putting really warm food in the fridge right after cooking it is not the right thing to do. It might cause bacterial growth? Is this true?",
"As generally acknowledged TeX offers superb formatting capabilities for math in an automated fashion. Nevertheless there are some areas with clear deficiencies that one either has to accept or manually improve on a case by case basis. One of the biggies in that respect is TeX's handling of sub-formulas (i.e., material inside a brace group, e.g., and index, but also any group on top-level). TeX sets such sub-formulas always in natural width even if the whole formula is subject to severe stretching or shrinking otherwise. As an example, consider the following (not very sensible) example: \\documentclass{article} \\newlength\\x \\begin{document} \\newcommand\\formula{$ a+\\mathbf{b+c}+d+e+f = \\sum_{i=1}^{n-x-y-z} x_{i+j}$} \\settowidth\\x{\\formula} \\hbox to \\x{\\formula} % natural width \\addtolength\\x{-20pt} \\hbox to \\x{\\formula} % now shrink it a lot \\addtolength\\x{100pt} \\hbox to \\x{\\formula} % now stretch a lot in the opposite direction \\end{document} The formula here has a number of obvious sub-formulas in the subscripts and superscript, but for illustration I also added a sub-formula via \\mathbf. Of course the usage of \\mathbf in this way is wrong!!! (it should not be applied to several symbols), but I'm sure you would find this in documents. In any case just {b+c} would have had the same effect here. Now what do you think happens if we run this? This: As one can see the naturally \"boxed\" sub-formulas are very wrong the moment the rest of the formula is subject to stretching or shrinking. Until recently no TeX engine successor addressed this issue. With LuaTeX opening up a lot of the internals of TeX I had some hope that this would be different. However, upon studying the manual my conclusion is that this area (sor far it least) has not been addressed (or considered). As far as I can see the only way something could be done in LuaTeX about this issue would be to use the mlist_to_hlist callback. However, this would really mean replacing the full math typesetting algorithm, which of course could be a way to solve the problem but ... but what is needed is not that (as 99% of this algorithm is next to perfect) but to add support to not simply box sub-formulas at their natural width. So long text ... here is the short question: Is this analysis correct, or did I overlook something? And in case anybody knows: are there plans to look into the sub-formula issue and provide support for it eventually? (it is not listed on the \"to-dos\" for math) In case somebody wonders that I talk about \"this sub-formula issue\" as if it is something like a known thing ... it is, it was already raised way back in which at the time a some thorough (if not say heated) discussions.",
"Page Object Model or External property file for Selenium Object Repository I am a beginner in Selenium WebDriver (Java with TestNg). I'm trying to create a framework of my own. My question here is what would be the better option to store my objects (basically all the webelements of my website under test), Page Object Model or External Property file? Why? Is there a better method than those? Please help.",
"Number of preimages of a group element under a homomorphism.",
"How to extract a floating number from a string",
"Active Directory: Is it required that the \"A\" record for a domain point to a Domain Controller?",
"Is starting a group with 5 newbies (DM included) possible? Some friends and I want to start playing D&D (5e), but none of us, DM included (not me) have played before to any great extent. The DM and I have some cursory experience with 4e, but have never been able to play to any great extent. Is this advisable, or should we play with existing groups first? We live in a relatively remote area, making it hard to find experienced players."
]
| medi_sts_stackexchange_dupe |
Xpath to select elements that has specific child | XPath - Get node with no child of specific type | [
"How to change boot priority?",
"How do you find time period as a function of time for a simple pendulum that is in the form of a hollow sphere that is filled with mercury and there is a hole in the bottom through which the mercury is constantly falling at a fixed rate? I tried creating a function for the time period to check how it varies with the mass of mercury, but I had too many variables. EDIT: This question was a concept based multiple choice question in my homework book. The option were time period becomes erratic, time period increases, time period decreases, time period first increases then decreases.",
"How to add tags to files in Windows 7 so that they appear in search results In Windows 7, I want to add tags to my files (PDF, Word, Images etc) so that they appear directly in the search results, regardless of their content, title etc. shows how to search by tag, but it does not tell how to add a tag in any file. In the long term, I'm planning to add such tags programmatically as well.",
"Children's book with \"square triangles\" in parallel universe?",
"Properties of p-adic valuations Let $n$ be a integer not equal to zero, $p$ a prime and $$|n|_p = p^{-\\operatorname{ord}_p(n)}; |0|_p=0$$ Proposition: $|xy|_p=|x|_p|y|_p$ We want to show: $\\operatorname{ord}_p(ab)=\\operatorname{ord}_{p}(a)+\\operatorname{ord}_p(b)$ So if we suppose there is a largest integral $v$ such that $p^{v}|(ab)$, then we can split up v such that $p^{v_1}|a,p^{v_2}|b$. If we suppose that there exist $v_1,v_2$ with them both being the largest integers such that $p^{v_1}|a, p^{v_2}|b$, with $v_1+v_2= : v $ then $p^v|ab$. (I don't believe this to be a formal proof but rather my best own \"idea\" I can come up with...) The script also mentions that the padic valuations' sums are bounded: $|x+y|_p\\le \\sup\\{|x|_p,|y|_p\\}$, how to show this? Edit: According to Robert Israel and Bill Dubuques answers, the first proposition is proven, if I understood correctly: Given $ord(a)= v$ and $ord(b) = u$ which is the same as $a:= p^{v}m, b:= p^{u}n$ with $gcd(m,p)=gcd(n,p)=1$, because $ab=p^{u+v}mn$ with $gcd(mn,p)=1$ it follows that $ord(ab)=ord(a)+ord(b)$ and so $|xy|_{p}=p^{-ord(xy)}=p^{-(ord(x)+ord(y))}=|x|_{p}|y|_{p}$ Now to show: $|x+y|_{p}\\le sup\\{|x|_{p},|y|_{p} \\}$ and the second can be tackled like this: set $a:=p^{v}m. b:=p^{u}n$, then checking two cases $1:(u=v)$ and $2:(v<u)$: $(a+b)=p^{v}m+p^{u}n= p^{v}(m+p^{u-v}n)$ so in case of (u=v) it follows that $ord(a+b)= u = sup\\{ord(a),ord(b)\\}$ and in case of $(v<u)$ because the biggest v is $v:= u-1$: $ord(a+b)\\le p^{u-1}(m+pn) \\le p^{u}(m+n)= sup\\{ord(a),ord(b)\\}$ It seems that I did something wrong in both cases...",
"Find index of nested item in python",
"Capitalization of explanation of abbreviations",
"How can I vertically align the numerators of two fractions? I am writing the following formula: % arara: lualatex \\documentclass{article} \\usepackage{mathtools} \\usepackage{unicode-math} \\begin{document} \\[y_\\mathup{COG}=\\frac{h}{3}\\frac{l_\\mathup{c,a}+2l_\\mathup{c,i}}{l_\\mathup{c,a}+l_\\mathup{c,i}}\\] \\end{document} which yields: I don't like the way, the h and l_\\mathup{index} is vertically aligned. Is that typical behavior? Good style? Could I avoid that?",
"What novel had an isolationist Earth and the rest of humanity in a war of attrition against aliens?",
"Importing google-play-services lib into Intellij IDEA 12 (and 13)",
"If every eigenvector of $T$ is also an eigenvector of $T^{*}$ then $T$ is a normal operator Let $V$ be a finite-dimensional inner product space over $\\mathbb{C}$ and $T: V \\to V$ a linear transformation. Show that if every eigenvector of $T$ is also an eigenvector of $T^{*}$ then $T$ is a normal. We need to show that $\\forall v \\in V,\\ TT^*v=T^*Tv$. I started by picking $v$ to be an eigenvector of $T$, hence $Tv=\\lambda_1 v$, and $T^*v=\\lambda_2 v$. Therefore: $$TT^*v=T(\\lambda_2 v)=\\lambda_2 Tv=\\lambda_1 \\lambda_2 v=...=T^*Tv$$ But I'm stuck when $v$ is not an eigenvector. (Also, this question is taken from a chapter about Jordan forms, but I can't see how it relates)",
"Finding the radius of a third tangent circle Sorry if this is a foolish question, but I'm having difficulty understanding how to solve for $r_3$ in the following diagram... According to WolframAlpha's page on tangent circles, the radius of $c_3$ can be calculated using the following formula $r_3=\\frac{r_1 \\times r_2}{(\\sqrt{r_1}+\\sqrt{r_2})^2}$, which can be simplified to $\\frac{1}{\\sqrt{r_3}}=\\frac{1}{\\sqrt{r_1}} + \\frac{1}{\\sqrt{r_2}}$. To be completely honest, I'm having a hard time understanding understanding how this formula works (as I'm a very visual person). What exactly is happening here?",
"Is there a function whose inverse is exactly the reciprocal of the function, that is $f^{-1} = \\frac{1}{f}$? Is there a function whose inverse is exactly the reciprocal of the function? That is $f^{-1} = \\frac{1}{f}$. We know that the inverse of a function is not necessarily equal to its reciprocal in general.",
"Executing .bat file",
"Children's book with \"square triangles\" in parallel universe? In the 1960s I read book--an older children's book, I think--which I loved, and still remember, roughly. I have no idea what the title is or who the author is, and I'm wondering if anyone knows this one: Scientists had invented a device which they didn't fully understand, and which had puzzling effects. For example, when a pencil was put into the machine, it disappeared, and then reappeared inside out: The lead was on the outside. When people went into the machine, they came back dead, having died from fright. Finally they sent a very open-minded person into the machine. She was an artist, I think. She was able to return alive, and described an alternate universe in which geometry was very different. I distinctly remember that there were supposedly square triangles or four-sided triangles--or was it three-sided squares? (This is, of course, a literally contradictory claim, but I didn't see the matter as clearly then.) Thanks!",
"Is there any physical or mental cost to casting spells?",
"How to use 'hover' in CSS",
"An equality involving the mean value property I am trying to establish that $$\\frac2{\\pi}\\int_0^{2\\pi} f(e^{i\\theta})\\cos^2\\left(\\frac{\\theta}{2}\\right)\\;\\mathrm d\\theta=2f(0)+f^\\prime(0)$$ for $f$ analytic on $|z| < R,\\; R > 1$ I think I am making a mistake somewhere, please point it out to me.Here's what I've done unsing the mean value property and Cauchy's integral formula: $$2f(0)+f'(0)=2(\\frac1{2\\pi}\\int_0^{2\\pi} f(e^{i\\theta})d\\theta + \\frac1{2\\pi i}\\int_0^{2\\pi}\\frac{f(e^{i\\theta})ie^{i\\theta}}{e^{i2\\theta}}=\\frac{1}{\\pi}\\int_0^{2\\pi} f(e^{i\\theta})d\\theta\\frac1{2\\pi}\\int_0^{2\\pi}\\frac{f(e^{i\\theta})}{e^{i\\theta}}\\quad\\text{(1)}$$ But when I develop the expression $\\frac2{\\pi}\\int_0^{2\\pi} f(e^{i\\theta})\\cos^2(\\frac{\\theta}{2}) d\\theta$ I get: $$\\frac1{\\pi}\\int_0^{2\\pi} f(e^{i\\theta})d\\theta+\\frac1{2\\pi}\\int_0^{2\\pi}f(e^{i\\theta})[{e^{i\\theta}}+e^{i-\\theta}]d\\theta \\quad\\text{(2)}$$ The second integral in (1) differs from the second integral in (2). Thanks.",
"In the beginning of the series, it's mentioned that Muggle-born wizards/witches are identified due to inadvertent spell-casting. However, it seems like later in the book, disarmed wizards/witches are completely helpless. What is the explanation for why some spells can be cast without a wand and is there an in-universe explanation for why this isn't done? Also, are there spells that can be cast non-verbally (with/without a wand)?",
"PHP Error - Uploading a file"
]
| medi_sts_stackexchange_dupe |
Installing windows 7 on virtual Box in my Ubuntu 18.04 | Install windows 7 through virtual box | [
"How to prevent applications from discovering my phone as being Rooted I have to install an application that has discovered my device to be rooted. So this is a two part question. How did it discover in the first place that my phone has been rooted How to prevent the application from discovering my phone as being rooted",
"HDMI/Displayport audio control for OS X",
"Spider Identification Illinois I noticed a really huge, beautiful web on my porch last week, and tonight, I discovered its resident. I'm thinking it's an Araneus diadematus (Cross Orbweaver), but I was hoping for some confirmation. Can anyone confirm this or offer a better suggestion?",
"Overdispersion and Underdispersion in Negative Binomial/Poisson Regression I was performing a Poisson regression in SAS and found that the Pearson chi-squared value divided by the degrees of freedom was around 5, indicating significant overdispersion. So, I fit a negative binomial model with proc genmod and found the Pearson chi-squared value divided by the degrees of freedom is 0.80. Is this now considered to be underdispersed? If so, how does one go about handling this? I have read a lot about overdispersion and believe I know how to handle this but information on how to handle or determine if there is underdispersion is scant. Can anyone assist? Thanks.",
"Is the ideal $(2,X+1)\\subset\\Bbb{Z}[X]$ prime, maximal or neither? I'm currently considering the ideal $(2,X+1)\\subset\\Bbb{Z}[X]$. I'm trying to figure out if this is a prime ideal, a maximal ideal, or neither. So far I have attempted to look at the quotient ring $\\Bbb{Z}[X]/(2,X+1)$. I know that if this quotient ring is a field, then our ideal is maximal, since $\\Bbb{Z}[X]$ is commutative. However I'm stuck on how I should be viewing this quotient ring.",
"Show that $3p^2=q^2$ implies $3|p$ and $3|q$",
"How to set up beamer to grey out past items but hide future items? I know about beamer's feature \\setbeamercovered{invisible} and \\setbeamercovered{transparent} to hide or grey out upcoming item's . But is there some way to have past items greyed (transparent) and future items hidden (invisible), so that only the current item is black/highlighted? And the best would be if on or 1 slide after the last all the item's could be visible highlighted. Something like this: [grey] past 1 [grey] past 2 current [hidden] future 1 [hidden] future 2 [hidden] future 3 Is there any easy way of doing this?",
"How could I write a command in LaTeX, so after compiling it will be shown as a text in PDF and not executed? For Example, I would write \\it This is how you write in italic and the compiled pdf would contain the exact same text between the quotation marks without \\it being executed.",
"I use the listings package for code listings and I turned the line numbers on. But they appear left of the paragraph. I want them inside the paragraph. In the documentation it looks just right. Here is my code: \\documentclass[12pt,a4paper]{scrartcl} \\usepackage{listings} \\lstset{numbers=left} \\begin{document} \\section{Test} Test \\begin{lstlisting} test() \\end{lstlisting} \\end{document}",
"\"Temporarily unreachable\" when using fetch as Googlebot from Webmasters Tools The page I'm trying to fetch is public. The server logs show no request. Google reports that any page on my site is \"Temporarily unreachable\". It won't even fetch the verification file, a static HTML file that was successfully used to verify with the webmaster tool application itself. My site is running on the . What is causing this?",
"\"Hope you won't\" vs \"Hope you don't\" What is the difference between \"Hope you don't mind\" and \"Hope you won't mind\"? What could be a contextual difference between the two? In a situation like the following, which one seems more appropriate? Expect me to knock on your door sometimes. Hope you don't mind -or- Hope you won't mind (my knocking on your door)",
"Are there any rules on when to use icons vs. icons with text vs. just text links in a web application? For example: vs. save vs. save Extra question: Is save -or- save preferable?",
"What do you call all the pieces of a song minus the lyrics I think there must be a good word for this, but can't think of what it might be. Harmony and Melody are pieces of it, beat seems simplistic, Instrumentation seems too scientific and dull. Any Ideas?",
"I am looking for a multivariable calculus book that is really physics oriented. Anyone know of any? EDIT: My wife is looking to brush up on multivariable at the same time she needs to brush up on the related physics.",
"Adding Basemaps from Google or Bing in QGIS",
"This is a spin-off question from . says this on the subject of storage order (clustered index) and the output order A lot of people believe that a clustered index guarantees a sort order on output. But that's not what it does; it guarantees a storage order on disk. See, for example, . I've read the blog post by Hugo Kornelis and understands that an index doesn't guarantee that the sql server reads the records in a specific order. Yet I have a hard time accepting that I can't assume this for my scenario? CREATE TABLE [dbo].[SensorValues]( [DeviceId] [int] NOT NULL, [SensorId] [int] NOT NULL, [SensorValue] [int] NOT NULL, [Date] [int] NOT NULL, CONSTRAINT [PK_SensorValues] PRIMARY KEY CLUSTERED ( [DeviceId] ASC, [SensorId] ASC, [Date] DESC ) WITH ( FILLFACTOR=75, DATA_COMPRESSION = PAGE, PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [MyPartitioningScheme]([Date]) My original query was this: SELECT TOP 1 SensorValue FROM SensorValues WHERE SensorId = 53 AND DeviceId = 3819 AND Date < 1339225010 ORDER BY Date DESC But I suggest that I could as well use this one (read below for my explanation): SELECT TOP 1 SensorValue FROM SensorValues WHERE SensorId = 53 AND DeviceId = 3819 AND Date < 1339225010 As you can see, my table rows are small (16bytes) and I've got only one index, a clustered. In my scenario, the table consists of 100.000.000 records at this moment (and this will most likely increase tenfold). When the database server queries this table it has two ways of finding my rows, either it seeks the primary key and thereby reading and returning my values in desc. order of Date, or it has to do a full table scan. My conclusion is that a full table scan on all those records will be way too slow and the database server will therefore always seek the table via its primary key and thereby returning the values sorted by Date DESC",
"Is there an easy way to add a hole into an object?",
"Prove that if 51 positive integers between 1 and 100 are chosen, then one of them must divide another. Given $51$ integers $a_1, a_2, \\ldots, a_{51}$ satisfying $1 \\leq a_i \\leq 100$. Prove that there exist $i$ and $j$ such that $a_i \\mid a_j$. I'm a little unsure how to approach this problem. Thanks for any help.",
"Let $A$ be the set of all functions $f:\\mathbb{R}\\to\\mathbb{R}$ that satisfy the following two properties. Let $A$ be the set of all functions $f:\\mathbb{R}\\to\\mathbb{R}$ that satisfy the following two properties: (1) $f$ has derivative of all orders, and (2) for all $x,y \\in \\mathbb{R}$, $f(x+y)-f(y-x)=2xf'(y)$. Which of the following sentences is true? (a) Any $f\\in A$ is a polynomial of degree less than or equal to 1 (b) Any $f \\in A$ is a polynomial of degree less than or equal to 2 (c) $\\exists f \\in A$ which is not polynomial (d) $\\exists f \\in A$ which is a polynomial of degree 4 It is a problem from TIFR GS-2018. I have found polynomials upto degree 2 hold this properties but have to exclude the possibility of (c) and (d). I also found out if $f'(x)$ has at most one real root and clearly graph of $f$ is symetric about that root. How can I proceed further?",
"Where is Jon going? At the end of S08E06 of Game of Thrones, Jon Snow along with Tormund and others of the Night's Watch leave the Night's Watch. and go into the woods. Where are they going? And why?"
]
| medi_sts_stackexchange_dupe |
If $p > 3$ is prime, then $12 $ divides $p^2 - 1$ | For any prime $p > 3$, why is $p^2-1$ always divisible by 24? | [
"Evaluate: $$\\lim_{x\\to{0}}\\bigg(\\frac{2}{x^3}.(\\arcsin{x}-\\arctan{x})\\bigg)^{2/x^2}$$ I can just expand $\\arcsin{x}$ and $\\arctan{x}$ using their taylor expansions, but is there any other method?",
"Privilege Notifications",
"How can i render the reflections i see in the Look Dev viewport in Blender 2.8 i'm finding blender 2.8 confusing and i'm relatively new to blender in general anyway. While looking at my model in the Look Dev view port i can see reflections. However, when i render my scene in eevee (and cycles), the reflections aren't rendered Is there something i'm doing wrong or an option i haven't enabled?",
"I'm referring to the colored circles with numbers next to them on the top of the page, to the right of my reputation counter. What do they represent?",
"How to merge vertices in Blender? I am attempting to create my first 3D character just for practice. Being one of my first 3d models I going through the learning curve needless to say. In doing so I find myself creating many extra vertices. Where we will say 10 vertices on a rounded shape are spaced out on the equator and on the other north pole end of the edges they are very close. The close end could all be one vertex. Is it possible to say merge all points to one point and delete the rest?",
"\"I'm right, aren't I?\" My dictionary reports that aren't is also an abbreviation for am not, when used in questions. Is this use of aren't common? If it is common, are there any differences between the different English dialects? Why aren't I being given a pay raise?",
"Consider a text file with the following entries: aaa bbb ccc ddd eee fff ggg hhh iii Given a pattern (e.g. fff), I would like to grep the file above to get in the output: all_lines except (pattern_matching_lines U (B lines_before) U (A lines_after)) For example, if B = 2 and A = 1, the output with pattern = fff should be: aaa bbb ccc hhh iii How can I do this with grep or other command line tools? Note, when I try: grep -v 'fff' -A1 -B2 file.txt I don't get what I want. I instead get: aaa bbb ccc ddd eee fff -- -- fff ggg hhh iii",
"The following (links to pdf) in the has no provided source. The book by Ash and Gross seems to use a similar style. Where can I find hints for typesetting publication standard articles/books as above in TeX. I looked around a bit but couldnt find much from else from keyword searches. Particularly, I am looking at the chapter headings, title page design, and the mirror effect. Sorry for the title, as I dont really know what its called.",
"How can I split an equation over two (or more) lines",
"Let $D \\subset \\mathbb{C}$ be the open unit disk, $f:D \\to \\mathbb{C}$ a holomorphic function and $d=\\sup \\{|f(z)-f(w)|:z,w\\in D \\}$. How can I show that $|f'(0)|\\leq \\frac{d}{2}$? I tried using Schwarz's lemma on the function $g:D \\to \\mathbb{C}$ defined by $g(z)=\\frac{f(z)-f(0)}{d}$, but I am only getting $|f'(0)|\\leq d$.",
"One word/phrase to describe the reaction when you eat a very spicy-hot food I've read the discussion here about . I've also read this one: . But I did not find any word or phrase that describes the reaction someone has when eating a too spicy-hot food. You know, they tend to sweat, catch their breath, and even sometimes shed tears; due to the spiciness of the food. So my questions: What do you say to describe the reaction someone has when being excitedly \"suffered\" by a very spicy-hot food? In Indonesian, we would call it kepedasan. What do you say when you get that thing [the answer to question 1] with you, other than the list I enclose below: Oh, spicy! My God, it's spicy-hot! Is that it?",
"Is there a standard idiom for comparing version numbers? I can't just use a straight String compareTo because I don't know yet what the maximum number of point releases there will be. I need to compare the versions and have the following hold true: 1.0 < 1.1 1.0.1 < 1.1 1.9 < 1.10",
"I have a quite wide monitor and it's quite annoying to see the login dialog in the login screen on the far left side of my screen. I literally have to turn my head around to look at it! Is there a way to center the login dialog?",
"In the new header could we please move the chat link back to where it was? (One click away) As a daily frequent to the JavaScript room that's the one link I'd love to have visible 100% of the time. Aside from that, I actually love the new header. (Maybe take it a step further an add a customizable header with (X) link spots for your most used links?) Just my thoughts",
"How do ${0##*/} and ${0%/*} work? I'm quite confused about the following regular expressions I found in a shell script: ${0##*/} ${0%/*} How do they work?",
"Windows XP INSTALL BSOD Recently I got a virus on my computer that completely wiped the hdd. I am trying to install windows xp to this: DV7-636bus laptop from HP, and I get the following BSOD: A problem...............and Then Select Safe Mode. Technical Information: ***STOP: 0x0000007E (0xC0000005,0xF73B9D66,0xF78D1EA0,0xF78D1B9C) acpi.sys - Address F72B9D66 base at F73AE000, Datestamp 480252b1 Does any one know of a solution for this?",
"Why can't I use Stack Exchange if I'm under 13 years old, or if I'm under 16 years old and from the EU?",
"How can the Xenomorph see? If you just look at a picture of one there are no eyes readily apparent but they clearly know where they are going. Could their screeching be some form of echo-location?",
"Multilingual careers CVs tl/dr : Is it/will it be possible to fill out our Careers CV with localized information ? Is it/will it possible to have different versions of the CV posted at careers (not totally different but just translated)? Being in non English oriented country, this can be very helpful if I send local companies a link to my Careers CV and they could read it in a language other than English. LinkedIn has an implementation of this feature where you can create your profile in another language and it's up to the user to fill in the information in that language (first and last name, past experiences, etc) The reason for this is primarily because my CV on careers contains more than just a list of bullet points, it reveals who I really am as a software developer (top tags, top answers, links to github projects, etc).",
"Looking for a YA book about a boy that learns to use powers from an adept in a weird house that appears abandoned from the outside 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."
]
| medi_sts_stackexchange_dupe |
Cut HTML Tags and wrap HTML tags again Part/2 | How do you parse and process HTML/XML in PHP? | [
"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?",
"In Radian mode, continually pressing the $\\cos$ function of a number causes the result to converge to $x=0.739085133$, a fixed point of $\\cos(x)$. Repeating this behavior with the $\\sin$ function causes the result to converge to $x=0$, a fixed point of $\\sin(x)$. What happens if this is done using the tan function? It seems that $x=0$ is a repelling fixed point with no convergence in this case. What would be the best way to explain these results mathematically?",
"I'm doing a bit of self study, but I'm uncomfortable with a certain idea. I want to show that $f(z)$ is analytic if and only if $\\overline{f(\\bar{z})}$ is analytic, and by analytic I mean differentiable at each point. Here $f$ is a complex valued function. What I do is write $f(z)=u(x,y)+iv(x,y)$, where $u$ and $v$ are real functions of two variables. Then $\\overline{f(\\bar{z})}=u(x,-y)-iv(x,-y)$. These two forms look very similar, in the sense the one function being differentiable should immediately imply the other is differentiable, since the only thing really changing might be a $-$ sign popping out due to the chain rule. How can I more rigorously express that $f(z)$ is analytic iff $\\overline{f(\\bar{z})}$ using this? Many thanks.",
"References for multivariable calculus Due to my ignorance, I find that most of the references for mathematical analysis (real analysis or advanced calculus) I have read do not talk much about the \"multivariate calculus\". After dealing with the single variable calculus theoretically, it usually directly goes to the topic of measure theory. After reading the wiki article \"\", I'd like to find the rigorous proof for this test. The first book comes to my mind is Courant's Introduction to Calculus and Analysis which includes the multivariate case in the second volume. Motivated by this, I'd like to put the question here: What are the usual references for the theoretical treatment for ?",
"The current top-voted to states: Another one that's not so much a security issue, although it is security-related, is complete and abject failure to grok the difference between hashing a password and encrypting it. Most commonly found in code where the programmer is trying to provide unsafe \"Remind me of my password\" functionality. What exactly is this difference? I was always under the impression that hashing was a form of encryption. What is the unsafe functionality the poster is referring to?",
"Tried to add a comment to a post today, which ended up looking rather weird. What I had typed was: On windows I believe you need to use `\\` instead of `/` As you can see in the first comment to this question, I don't exactly end up with what I thought I would... What's going on here? Tried various combinations of double \\\\ and double `` (which seems to be impossible to have in an inline code thing...?), but couldn't get a good result. Ended up putting a space after the slash, which at least made it readable. Problem then was that the space between the inline code and the word \"instead\" seems to disappear O.o",
"Coauthoring with a reviewer possible? I recently submitted an article to a math journal and got a response from a reviewer, with an attachment. In it, I have found some good advice that could improve my article tremendously. I am a bit suspicious of its accuracy since it could resolve what I have been working with for some months in a few sentences. But anyway, it was enough for me to ask the reviewer for coauthoring with me. My question would be, does it often happen that an author asks a referee for coauthoring during the review process? Or could it even be possible? I was given a month to revise my article, but the chance that I could revise successfully by myself seems to be fat. I would be looking forward to any advice. Thanks in advance.",
"Common screen resolution? I'm developing a web application which is quite information heavy. This means that every pixel available in the screen for display helps a lot, to avoid the UI looking too cluttered and to display relevant data. I was wondering: which is the \"common\" screen resolution? Years ago it was something like 1024×768, but nowadays it must be something much higher. I can't rely on what I use as I'm a developer and I probably have bigger screens and resolution than the average Joe user. So, where can I find the currently recommended resolution for webapps?",
"I am creating a custom form on a Salesforce Marketing Cloud Landing Page. This page will have information such as Email address, first name and last name pre-filled from an email, however there will be some cases where emails can be entered by the customer. What is the best way to validate email addresses on form submit? E.g. a regex to look at overall structure or is there a better way?",
"What's the easiest way to set up a LAMP stack?",
"How do I remove the LAMP stack so I can start over? I'd like to start over with my webserver and I'd like to reinstall all the LAMP packages, how do I do that?",
"I am trying to under stand how to build a barrel shifter using multiplexers. I understand how the barrel shifter works but I don't get how you decide the number of multiplexers to use, and how the shifting is done with the multiplexer basically. So far wikipedia doen't help much. And the best I have so far is But it does not really answer my question.",
"Error 404 : While using flag Recently on Stack Overflow I got privilege to flag a post. So when I try to flag a post as duplicate. The diaglog box is not properly loading. However I am easily able to use other flag option like \"other\",\"spam\" or \"offensive\". \"other\" \"spam\" \"offensive\" I am using Google Chrome Version 28.0.1500.71 and Win XP Operating System. I have tried in firefox as well but it is showing me same problem.",
"Probability of selecting an even natural number from the set $\\Bbb N$. I confirmed on thread that there are as many as even natural numbers as there are natural numbers. Question : Suppose I have selected a number $n \\in \\mathbb N$; what is the probability that $n$ is even? My Thought : $\\text{Probability} = \\dfrac{\\text{n(E)}}{\\text{n(S)}}$ Here $\\text{n(S)}$ is the set of all natural numbers i.e. $\\mathbb N$, and $\\text{n(E)}$ is set of all even natural numbers. Since it is proved that number of elements is the set $\\mathbb N$ is exactly the same as the number of elements in the set of natural numbers (it’s very easy to put the set of natural numbers, $\\Bbb N=\\{0,1,2,3,\\dots\\}$, into one-to-one correspondence with the set $\\text{E}=\\{0,2,4,6,\\dots\\}$ of even natural numbers; the map $\\Bbb N\\to \\text{E}:n\\mapsto 2n$ is clearly a bijection.) ; Thus, Probability $= \\boxed 1$ I know this is definitely wrong.Probability must be $0.5$. But where am I wrong? Can anyone explain ? Thanks!",
"FFMPEG video from images comes out same (yet incorrect) duration regardless of frame rate",
"I'm learning how to use the mirror modifier and I am having some trouble. When I apply the modifier to my object I don't see a mirrored version of it. What am I doing wrong?",
"Is there a noun that doesn't have a plural in any of its forms? While attempting to answer @ProgramFox has been trying to come up with an example of a noun with no plural. The best I've come up with is egotism and Judaism. () Some of the contenders I've already shot down are air, water, and money. (Airs, waters, and monies are all legitimate plurals.) My question is, a) Do my two examples have actual plurals? b) Are there any other non-ism nouns that don't have a plural?",
"Counting surjective functions",
"I'm making a game where you see a spaceship (in 3rd person) travelling at high-speed between planets (it takes 2-3 seconds move between them). What effect could I use to convey the effect of extreme speed? I already know about the usual effects, change in FOV, white lines around the subjects, etc.. I'm asking about some things that are more space-like, I mean even if it's not how it would be perceived in real physics, I need it to look like it's fast and it's in space. Don't hesitate to ask for clarification, my English is nowhere near being perfect, maybe I didn't convey my thought perfectly.",
"Is selenium webdriver capable of database testing? After reading so many answers and forums it makes me confused. Some people say: Selenium webdriver is a browser automation tool and it has nothing to do with the database. And some other showing JARs and code that how we can connect selenium to the database and we can test database using selenium webdriver. So I would really like to know if we can do database testing using selenium? If yes then which databases tool it supports like Mysql, SQL server, Oracle... And if selenium is not suitable for database testing then please recommend to me the best tool for database testing."
]
| medi_sts_stackexchange_dupe |
Cannot fetch using sqli inside function | Call to a member function on a non-object | [
"How do you set, clear, and toggle a single bit?",
"I have three different 1024-bit public keys with common exponent $e$ but different moduli. A message $m$ is encrypted (without padding) using the three keys, which results in three different encrypted messages. Given the three pairs of public keys $(N_i,e)$ and the encrypted messages $c_i=m^e\\bmod N_i$ , how do I decipher the original message $m$ ?",
"What does the Recycle Bin in Windows actually do? Is it just a glorified folder and a holding place for soon to be deleted files, or does it do something specific? Specifically, are files that are \"moved\" to the Recycle Bin actually moved on the hard disc, or are just the pointers to the files moved? I am a fairly experienced user, I just wanted a more depth explanation of the Recycle Bin.",
"How can reincarnated souls be summoned using Edo Tensei? Quoting , Reincarnation is the philosophical or religious concept that an aspect of a living being starts a new life in a different physical body or form after each biological death. It is also called rebirth or transmigration, and is a part of the Saṃsāra doctrine of cyclic existence. Then, since Ashura has reincarnated into Naruto, and Indra into Sasuke, how can Uchiha Madara and Senju Hashirama (their previous reincarnation) be summoned using Edo Tensei?",
"\"Calling dibs\" - what does it imply? The term \"to have dibs on something\" or \"to call dibs on something\" plays a recurring role in American film and television (e.g. ), so it gets exported a lot. describes \"dibs\" as [...] a common, \"informal\" convention to reserve or declare full or partial ownership of a community resource, such as a chair [...] From the usages in the media I have seen, this convention also seems to contain some moral concept which is not described in dictionaries. For me, it looks like by calling dibs (or ), the caller actually receives the (implicit, moral) right to that resource, and this typically goes undisputed by their rivals. Can you confirm the existence of this concept? Is this something that varies between groups of people (or maybe between regions), or is there a concensus on how to respond to this?",
"Upgrade Debian Jessie (8) to Buster (10) possible or need to go sequential in versions upgrades? Just started working with a Debian Jessie (8) in a production environnent. While presently deployed it is not seeing any heavy use yet. I was looking at the OS , and I was thinking about how convenient it would be to just upgrade it before is start seeing some more steady use in our environment and possibly making things more complicated with a later upgrade. I was looking for a procedure to upgrade from Debian v.8 to v.10 but most documented are sequential in order (e.g. 8 -> 9, or 9 -> 10). My question: should I upgrade sequentially, or there is some proper documented way to skip a main version while upgrading?",
"onClick to get the ID of the clicked button",
"For some reasons, homomorphism is a very hard area for me to make improvements. I've been hitting the brick wall for almost 2 hours. Prove that no homomorphism exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Assume a homomorphism $\\phi$ exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Then $\\phi$ is an isomorphism. Note that the $\\left | \\ker \\phi \\right |=2$ The $\\ker \\phi$ is also a normal subgroup for $Z_{16}\\oplus Z_{2}$. We want possible normal subgroup of order 2. I.e., 2 elements in each normal subgroups. By Lagrange's theorem, the order of each element in a group divides the order of a group so the possible order of the elements are 1 or 2. If the elements has order 1, then the Ker \\phi cannot have 2 elements. Hence, $\\ker\\phi$ = $\\left \\{ (0,0),(8,0) \\right \\}$ ,$\\left \\{ (0,0),(0,8) \\right \\}$,$\\left \\{ (0,0),(8,1) \\right \\}$, possibly. By the First isomorphism theorem: $\\phi: Z_{16}\\oplus Z_2 \\rightarrow Z_2\\oplus Z_2$ $\\Psi: G/\\ker \\phi \\rightarrow \\phi\\left ( Z_16\\oplus Z_2 \\right )=Z_2\\oplus Z_2$ $g\\ker \\phi \\mapsto \\phi(g)=\\Psi(g\\ker \\phi)$ Any help is appreciated. Edit: I know that $(2,0)$ has order $8$ in $Z_{16}\\oplus Z_{2}$ but any elements in $Z_{4}\\oplus Z_{4}$ does not have order $8$ which would have solved the question at the outset. But I would like a different route.",
"Is it possible to have a different background for each workspace? I normally use 4 different workspaces for different things, and they are always the same. Can I make a different background image for each one of them? I would like an answer that works for GNOME 3 desktop environment, Unity and the Classic desktop environment. This question has multiple answers covering different Ubuntu versions:",
"Which are the non Schengen countries that allow entry for Schengen visa holders? There are countries in the Balkan area that allow entry if you have a Schengen visa but am not able find a definite list of all those countries. Knowing that will save me getting a visa for all those countries when I do my mega Euro trip.",
"Is there a \"reasonable\" way to get a sense of \"how many\" measurable subsets there are of $\\mathbb{R}$?",
"Xubuntu live usb persistence - how to? I'm using Xubuntu 13.04 from live usb. I know that in order to be able to keep files/settings/etc after restart, USB live disk should be created with some storage reserved. However since I got this USB from a friend who created installation, I don't know if he reserved any space, and so my questions are: How can I find out amount of space reserved (if any)? If no space is reserved, can I manually chose USB/HDD location to store my settings in order to be able to boot into them the next time I log on? I'm currently running a very long session and it would help me if I could somehow be able to store my settings (firefox, apt-gets, xrandr screen conf. ... ) to not have to do it again after I reboot. Thanks, IR",
"What counts as \"observation\" in Schrödinger's Cat, and why are superpositions possible? So if I understood correctly, Schrödinger's Cat is a thought experiment that puts a cat inside a box, and there's a mechanism that kills the cat with 50% probability based on a quantum process. The argument is that the cat now must be in a superposition of dead and alive. This makes sense at first, but the state of the cat inside the box will affect the outside world in an observable way, right? For example if the cat dies, it might meow loudly which would be audible. If it didn't meow, it would produce a thud on the ground when it dies. And even if the ground was very solid, the redistribution of mass inside the box will affects its gravity field which means the whole universe theoretically immediately observe's the cat's death. So extending this argument to all superpositions, the different states would cause different effects on the rest of the universe, usually a slight change in the gravity field is the minimum. This gravity perturbation would propagate throughout the universe, and even all the experimenters go to sleep with thick, thick earplugs, somebody or something in the universe is going to inadvertently observe the event and the superposition immediately collapses. Thus superpositions cannot exist beyond an extremely short amount of time. What's wrong with my reasoning?",
"Query Which Profiles Have Read Access To Specific Object? Since I couldn't think of how to write this query off the top of my head, I thought it might be worth sharing. How can I query which Profiles have Read permission on a specific object? I knew it would have something to do with ObjectPermissions and PermissionSet, but had to look up the documentation for both to piece it together.",
"Assuming I have a Czech license and break a minor law in Germany which incurs me a certain number of \"violation points\" (e.g. speeding), would those points be eventually transferred to my Czech license? I would obviously have to pay the fine (either on the spot or by mail), but it's not clear if EU countries exchange data on traffic points. I would limit the scope to EU/EEA license holders driving within the EU/EEA, to avoid an overly broad question. Also assume that the person in question is resident in his home country and is only visiting other EU/EEA countries as a tourist.",
"Debian based system, only one gui program, nothing else I would like to make a debian system where you can only open one GUI program at boot, no other graphical interface, no minimize, or any X apart from that program, is there a way to do it on debian if possible, or any other custom distro? I just want to boot open the program and allow the user to only see and use that program.",
"Is there a fast way to get to the bottom of the Death Star? In Tiny Death Star, you can get to the top of your tower by tapping on the top of the screen while avoiding the \"Add Level\" button. However, the only way I can find to go to the bottom of the tower is to wait for someone to want an elevator ride, and tap on the button to give them that ride. Is there any other hot-spot for getting to the bottom of your Death Star?",
"number of prime ideals in algebraic integers",
"My processor is 64-bit - does that mean I need the amd64 image? My processor is an Intel Core 2 Duo P8600 (2.40GHz). As far as I know that's a 64-bit processor - I'm a bit confused as the architecture is called AMD 64, is this a generic name given to 64-bit architectures? I've heard of x64 but can't see a release labelled with this.",
"I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages. Then I created a child theme that uses load_child_theme_textdomain() to achieve the same thing for its strings. There are certain translated strings for a particular language on the parent theme that I'd like to replace/override in the child theme. I know if they were on a template file I could replace the file and simply change the textdomain for those strings, but unfortunately the ones I'm talking about are used in many places and also in the dashboard (so inside some filter/action functions). So my question is: is there a way to replace those translated strings inside the child theme without having to replace parent template files or functions? I don't know, maybe adding a parent-theme.mo file inside the languages folder of the child theme with only those strings translated, or something like that."
]
| medi_sts_stackexchange_dupe |
Word order with 'used to' | What's the negation of "I used to be"? Surely not "I didn't used to be"? | [
"What is the electric charge of the Sun and its corona?",
"LaTeX Editors/IDEs",
"I made up an idiom that I think describes what I want to say quite nicely: \"If one shoots enough arrows at the target, one is sure to hit the bull's eye.\" An actual English idiom I know of that is close in meaning is: \"Throw enough mud at the wall and some of it will stick\" However, the conceptual image is not as matching, and according to it has a second meaning: If enough (perhaps false or reckless) accusations are made against someone, his reputation will suffer, whether or not this is deserved. But I want the idiom to paint a positive image. For example, I would say the idiom when I help someone remember something by giving it a shot in the dark and getting it right miraculously after some guesses. What is the English idiom I'm looking for?",
"Why would you use an assignment in a condition? In many languages assignments are legal in conditions. I never understood the reason behind this. Why would you write: if (var1 = var2) { ... } instead of: var1 = var2; if (var1) { ... }",
"What is the best format to capture addresses for a universal user-base? What is the best and most usable format to capture address information from a universal user base? I was thinking to have the system detect the country by IP address and have that selected by default, and then state/province droplist would be populated accordingly. But the issue is some countries have states and provinces and some do not. Some have postal codes and some do not. Is there a universal standard to capture complete address info to ensure efficiency for most users? FYI: I did research on here and while there are some questions that are close, none are about this exact same question (unless I missed something)",
"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.",
"How to draw circle tangents and removing the inner lines? I'm new to Adobe Illustrator and I wanted to accomplish this task. How do I remove the inner lines in my drawings? I tried with all the pathfinders effect but it keeps removing my tangent lines (the lines connecting both my circles). It works like a charm as I followed the selected's answer guide: Here it is.",
"How much does it cost to have a custom ASIC made?",
"Why exactly do sometimes universal covers, and sometimes central extensions feature in the application of a symmetry group to quantum physics? There seem to be two different things one must consider when representing a symmetry group in quantum mechanics: The universal cover: For instance, when representing the rotation group $\\mathrm{SO}(3)$, it turns out that one must allow also $\\mathrm{SU}(2)$ representations, since the negative sign a \"$2\\pi$ rotation\" induces in $\\mathrm{SU}(2)$ is an overall phase that doesn't change the physics. Equivalently, all representations of the Lie algebra are what we seek. ($\\mathfrak{so}(3) = \\mathfrak{su}(2)$, but although every representation of the algebra is one of the universal cover, not every representation of the algebra is one of $\\mathrm{SO}(3)$.) Central extensions: In conformal field theory, one has classically the of infinitesimal conformal transformations. From the universal cover treatment one is used to in most other cases, one would expect nothing changes in the quantum case, since we are already seeking only representation of an algebra. Nevertheless, in the quantization process, a appears, which is often interpreted to arise as an \"ordering constant\" for the now no longer commuting fields, and we have to consider the instead. The question is: What is going on here? Is there a way to explain both the appearence of universal covers and central extensions in a unified way?",
"How to reset the terminal properties and preferences? I fooled around with the colors and stuff, in the terminal, and now want to go back to the maroon and white default config of the the terminal. What files do I have to delete?",
"Why couldn't the Jedi detect Senator Palpatine as having powers? In Return of the Jedi, when trying to sneak into the base on a shuttle, Luke said he senses Darth Vader's presence and said he shouldn't have come lest he jeopardize the mission. Darth Vader also sensed Luke, but let him in anyways. Also, Yoda and Obi-Wan could detect the Force in young Anakin. So if Jedi and Sith can detect each other, why couldn't they detect Senator Palpatine to begin with? It seems like a giant plot hole.",
"What is the difference between operator \"=\" and \"==\" in Bash?",
"Why redirect output to 2>&1 and 1>&2? I have come across several commands that use 2>&1 and 1>&2, but I quite can't get my head around the purpose of using it and when I should be using it. What I understand I know that 1 represents standard out and 2 represents standard error. I understand that 2>&1 combines the output of 2 to 1 and vice versa. What I don't get When should I be using it? What purpose does it serve?",
"Assuming $T_1$ is the force that acts on box $1$ and $T_2$ is the force that acts on box $2$. Exactly what causes the Tension? Why does $T_1 = T_2$? The problem is we are told to memorize that $T_1 = T_2$ for mass less ropes, but I do not understand why, especially in an Atwoods machine. When I think about it, I know it has something to do with the force $m_2g$ which causes the box with mass $m_1$ to rise, and vice versa. But I cannot apply physics terminology to this, or really understand whats going on.",
"Compare given date with today",
"There is a restriction on setting your birthday: Oops! There was a problem updating your profile: - Birthday must be after 1920/01/01 I realize the number of 90 year old users is small, but shouldn't the restriction be a bit more relaxed, such as larger than any ? Either 120 or 150 seems appropriate. For example, my grandfather turns 90 next year (and just barely misses the current cutoff), but I can't imagine he's the only one around that age who is computer literate and still active enough to be interested in (the increasingly broad range of) SE sites. I don't think he has contributed yet (mostly because of the comment restriction, I'd see him commenting before asking or answering), but I have emailed him with links that I know he's read. Incidentally, the error message is wrong: birthday must be after 1919/12/31 and using the next day is accepted.",
"Android: Overlay on Android Camera Preview",
"remove numbers from filenames in Mac OS X I have a directory full of files with names in this format (with numbers as the start of each filename): 102_file.txt 104_list.txt 242_another_file.txt I would like to rename them as follows (i.e. removing the numbers): file.txt list.txt another_file.txt Can anyone suggest a way to do this (presumably from the terminal)?",
"How to fake a package version installed? Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) versions of needed packages provide all the functionality of their older versions. If I use dpkg -i --force-depends-version to install dependent packages everything works fine, I've never seen a problem. Instead of manually downloading and installing every package, can I just make the system pretend there is a specific package version installed when there is a newer? Or is there a --force-depends-version key equivalent for apt-get?",
"Admin privileges requiring for installing a package build though Packages Using osx 10.9 and packages for making package installer. While installing a package made using Packages in /Applications location on a osx 10.9 machine, installer is asking for Admin password. Even though I had unchecked 'Require admin password for installation' while package making. So, how to avoid this i.e a non-admin user should install this package. Package should install in /Applications location, so that non-admin user can use the app. I check and"
]
| medi_sts_stackexchange_dupe |
My Java application crashes because of this method | Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop | [
"How can I undo git reset --hard HEAD~1?",
"Creating point features with exact coordinates in QGIS?",
"Deep Format of a Harddrive on a Linux System I've got an original Asus Eee PC Netbook that I'd like to sell. When I've sold old computers in the past, I've typically done a deep/secure/zeroing out style format. How can I do this on a Linux Netbook? I'm looking for The command that will let me do this Advice on how I can do this on a device with (seemingly?) non-removable media Thanks in advance!",
"Rethrowing exceptions in Java without losing the stack trace",
"MySQL Seems to be crashing quite often, I'd say every hour or so. The only thing running on this server that is using MySQL is a Drupal installation that I'm working on, there's only one person that's using it and it literally has around three pages - from what I can gather this seems to be a memory issue with innoDB? I'm not great at this stuff so I'm unsure. Any guidance? Here's the relevant parts from my error.log 140216 14:20:01 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:01 InnoDB: The InnoDB memory heap is disabled 140216 14:20:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:01 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:01 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:01 InnoDB: Completed initialization of buffer pool 140216 14:20:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:01 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:01 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:01 [ERROR] Aborting 140216 14:20:01 [Note] /usr/sbin/mysqld: Shutdown complete 140216 14:20:02 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:02 InnoDB: The InnoDB memory heap is disabled 140216 14:20:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:02 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:02 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:02 InnoDB: Completed initialization of buffer pool 140216 14:20:02 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:02 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:02 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:02 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:02 [ERROR] Aborting 140216 14:20:02 [Note] /usr/sbin/mysqld: Shutdown complete EDIT The server is the lowest-spec DigitalOcean Droplet with 512MB RAM. This particular Droplet is running NodeJS, MySQL and Apache. There's a low-traffic static site, a Ghost blog and this Drupal site I'm developing. Should I just upgrade the RAM, or is there something I can do to fix this?",
"Problem: Let $X$ and $Y$ be independent and suppose that each has a $\\text{Uniform}(0,1)$ distribution. Let $Z = \\min\\{X, Y\\}$. Find the density $f_Z(z)$ for $Z$. Hint: It might be easier to first find $\\mathbb{P}(Z > z)$. Attempted Solution: Given that $X, Y \\sim \\text{Uniform}(0,1)$, how do we not just have the following? $$ f_Z(t) = f_X(t) = f_Y(t) = \\begin{cases} 1 & \\text{if } 0 \\le t \\le 1 \\\\ 0 & \\text{otherwise} \\end{cases} $$ Of course I'm highly suspicious of this answer because it's not making use of the fact that $X$ and $Y$ are independent, nor is it making use of the provided hint.",
"Express $$\\forall\\ n\\in\\mathbb N\\ \\exists\\ m \\in\\mathbb N: \\ n^4 = m^2$$ in words without using the symbol $\\mathbb N$.",
"How to use Fermat's little theorem to find $50^{50}\\pmod{13}$?",
"This is a question from the book Methods of Real Analysis by R. R. Goldberg. If $(s_n)$ is a sequence of real numbers and if $$\\sigma_n=\\frac{s_1+s_2+\\cdots+s_n}{n}$$ then prove that: $\\operatorname{{lim sup}}\\sigma_n \\leq \\operatorname{lim sup} s_n$. I don't have any idea how to start working on this problem. Please help. Thanks.",
"Add year to question and answer dates",
"How to backup an Android device? Can anyone recommend a good way to backup Android devices? Ideally I would like to do this wirelessly and, not only backup my data, but also my user settings. Is it possible to backup an image of an Android device - so that one doesn't even need to reinstall apps? It would be particularly useful to hear from users that have restored backups, as to how easy, and complete, their processes were. Thanks",
"Why massless particles have zero chemical potential?",
"How to XZ a directory with TAR using maximum compression?",
"A two column loop with one lead post I got a loop from internet (I forgot the site) for two column post view. It has a nice CSS for it too. But skipping that for the question now. <?php $counter = 1; ?> <?php query_posts( 'cat=3&showposts=6' ); //Find whether the catID is 3 ?> <?php while ( have_posts() ) : the_post() ?> <?php /* Two Column Support get class */ ?> <?php $class = ( $counter % 2 ? ' one' : '' ) ?> <?php /* Two Column output open the div class */ ?> <div class=\"column<?php echo $class;// echo $first; ?>\"> <?php news_format(); ?> </div> <!-- End Two Column Support close div class --> <?php $counter++; //Update counter ?> It printed my posts into 2 columns like: ========= | 1 | 2 | --------- | 3 | 4 | --------- | 5 | 6 | ========= It's fine. But I want to print it like this: ========= | 1 | --------- | 2 | 3 | --------- | 4 | 5 | --------- | 6 | 7 | ========= What the modification I need to do? I can't pass any custom limit into the WordPress' custom loop <?php while ( have_posts() ) : the_post() ?>. It's for a custom theme. I did it, but the problem is, it's showing like: ========= | 1 | --------- | 1 | 2 | --------- | 3 | 4 | --------- | 5 | 6 | ========= is my whole bunch of code.",
"In the Harry Potter universe, there is a spell that unlocks things. In the books and movies, there are many occasions where the main characters use this spell to open doors in wizard buildings (such as the door leading to where the Philosopher's Stone is hidden, or a door in the Magical Congress Of USA headquarters). Hermione knows the spell in her first year, which seems to indicate it's pretty easy to learn/cast, especially for the average adult wizard. What I'm wondering, then, is why do wizards lock their doors when it's so easy to unlock them? And if it's so easy to unlock locked doors, why aren't there more doors locked with enchantments?",
"Is it acceptable to vote to close a question without leaving a comment? Although is obviously an exceptionally poor question, it still amazes me that 5 people can vote to close and yet not one of them leave a comment to help explain how the poster can improve their question. I see loads of similar examples where questions from new users are closed and heavily voted down without anyone taking any effort to explain why - not a pleasant experience for new users. Is there anything that can be done to encourage users to leave comments when voting to close?",
"Is sudo required for installing VMware Tools? I'm trying to install VMware Tools in Ubuntu 16.04. Should I do this by using sudo? Why?",
"How can I use an align environment flush left? Is there a way possible to imitate the align environment for math mode commands, without having all writing being placed toward the center on the output page? MWE: \\documentclass{article} \\usepackage{mathtools} \\begin{document} \\begin{align*} \\cos\\theta_1 \\cos\\theta_2-\\sin\\theta_1\\sin\\theta_2 &= \\cos(\\theta_1 +\\theta_2) \\\\ \\sin\\theta_1 \\cos\\theta_2 + \\cos\\theta_1 \\sin\\theta_2 &= \\sin(\\theta_1+\\theta_2) \\end{align*} \\end{document}",
"I have installed Ubuntu on my laptop and now I want to remove it and the Grub Loader. How I can do it without the Windows installation disk (I cannot use the Recovery Console).",
"The review system suggested something was probably spam, what should I do when I see this? While reviewing suggested edits and first posts by new users today, the review system did something new - an alert appeared that suggested that what I was reviewing was probably spam, and prompted me to take a careful look at it. Should I be doing anything differently than I otherwise do while reviewing when I see this? Additionally, are my actions contributing to helping the spam prevention systems learn?"
]
| medi_sts_stackexchange_dupe |
PDO: Show table keys fails to bindparam properly | Can PHP PDO Statements accept the table or column name as parameter? | [
"You see him for a split second in the final scene with the Final Order and he has kind of a white beard. I can't find any reference online except Nien Nunb from ROJ.",
"Killing thread after some specified time limit in Java",
"Android: View.setID(int id) programmatically - how to avoid ID conflicts?",
"0 ram free on ICS I'm new to the ICS os, coming from Gingerbread from another phone. The phone's quite nice and fast when I first used it, but just this morning it started exhibiting weird actions. Camera360 doesn't open up automatically when I click it, the Camera closes for no reason, Pocket restarts when an article has an image, and TTPod resets the song to the previous song on my widget in the middle of a new song I'm playing. I checked out the ram, and and was surprised to see 500+ mb used, 0 mb available. I looked at the list of programs and I see the usual culprits like Facebook, but the ram they're using doesn't add up to 500+ mb. Yeah, I know that the whole ram indicated isn't usable by the apps, but I don't think I've done anything to warrant the 0 mb. I close my apps. There are times when there's free 4 to 5 mb, but I think that too shouldn't be the case. I tried installing Advance Task Killer, it listed less than 10 apps, killed it, still the ram is what it is above. I did a reboot, and now it reads 300+ mb usage, 200 something free. What can I do? How do I ensure an app's closed on ICS? I installed GoLaucher because it has a handy task killer and I can see the ram freed in an instant, but I would like to know if there's a better way to handle the RAM.",
"Proving $v(s,p)=2^{p-1}(2s-1)$ is a bijection of natural numbers and $f(s)=2s-1$ is a bijection between natural numbers and odd numbers. How do I prove this function is bijective? $$ v(s,p)=2^{p-1}(2s-1). $$ The domain is natural numbers and the codomain is also the natural numbers. And this one: $$ f(s)=2s-1. $$ The domain is the natural numbers, and the codomain is the odd numbers in the natural numbers. With this one I would do this to show it's injective: $$ \\begin{align} v(s)&=v(s_1)\\\\ \\implies 2s-1&=2s_1-1\\\\ \\implies (2s_1)/2&=(2s_2)/2\\\\ \\implies s=s_1 \\end{align} $$ So it's injective since if $v(s)=v(s_1)$ then $s=s_1$. And to show it's surjective $f(s)=y$: $$ \\begin{align} y&=2s-1\\\\ \\implies s&=(y+1)/2 \\end{align} $$ Then the function must be surjective since every $y$ is the same as the codomain for $f$. Am I correct?",
"Is it possible to make an EXACT ISO of my system to put on other computers? I am new to linux, but had a question. I am getting in the business of buying old computers, putting Linux on them, then donating them to students who don't have their own computer at home. I have gone through and installed Xubuntu on my system, installed/uninstalled all the software that I want/need, and now want to know if there is a way that I could make an ISO of my system, and put it onto ANOTHER computer, and still have all of my tweaks, and programs ready to go after the ISO has installed. That way I don't need to go through and spend an hour or two on every computer. What programs would you recommend for creating an ISO like this? Thanks, Tobin",
"I have continuous problems of network dropping connections on wifi with ubuntu 16.04, I have an ASUS R510J, this is my network card: ##### lspci ############################# 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821] Subsystem: AzureWave RTL8821AE 802.11ac PCIe Wireless Network Adapter [1a3b:2161] Kernel driver in use: rtl8821ae 04:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12) Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f] Kernel driver in use: r8169 sudo service network-manager restart doesnt's help, as I never regain internet connection after it drops, and I have to restart the PC. On Ethernet cable I have no problem. What do you think is the issue? drivers? thank you",
"Why can't a class extend its own nested class in C#? For example: public class A : A.B { public class B { } } Which generates this error from the compiler: Circular base class dependency involving 'A' and 'A.B' I always figured a nested class behaved just like a regular class except with special rules concerning accessing the outer class's private members, but I guess there's some implicit inheritance occurring between the two classes?",
"How are classical optics phenomena explained in QED (Snell's law)? How is the following classical optics phenomenon explained in quantum electrodynamics? Reflection and Refraction Are they simply due to photons being absorbed and re-emitted? How do we get to Snell's law, for example, in that case? Split by request: See the other part of this question .",
"How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?",
"After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I'm wondering if there's anything wrong with using backticks around field names in MySQL. That is: SELECT `id`, `name`, `anotherfield` ... -- vs -- SELECT id, name, anotherfield ...",
"Custom entity datetime field in calendar",
"What happens when many neurons have same weights? Does it make any sense to have two (or more) neurons in a neural network with the same weights? (intuitively it makes no sense, since all the neurons would behave the same way). Please consider both the input and hidden layers. What if the weights are equal 0?",
"C# - Keyword usage virtual+override vs. new",
"Why does a window become a mirror at night? In day, when you look in the room through the window out, you can clearly see what happens outside. At night when it's dark outside but there's light inside you can look in the window but it becomes a mirror. Why?",
"If $q: E\\rightarrow X$ is a covering map that has a section (i.e. $f: X\\rightarrow E, q\\circ f=Id_X$) does that imply that $E$ is a $1$-fold cover?",
"I'm attempting a mass update on Contacts via Execute Anonymous. My code gives me the following error: System.LimitException: Apex CPU Time Limit Exceeded Here's my code: List <Contact> contactList = [select Id, Mass_Update_Checkbox__c from Contact Limit 1000]; for (Contact contact : contactList) { contact.Mass_Update_Checkbox__c = TRUE; } update contactList;",
"Most of the time, I use good and well interchangeably. However, on many occasions I would find well or good a misfit. Please suggest the proper usage.",
"I recently spilled water on my computers keyboard, and as a result the left shift key seems to be stuck in the on position. This means that the system always boots into safe boot unless I hold down the option key. I have managed to change my password to one which is all caps and once I login I use keyremap4mac but it is still very annoying. Is there anyway which I can remap the keyboard during boot? Possibly with a startup bash script or something similiar? If that is not possible is there any way to use a script to bypass safe boot? I was planning on installing a new bootloader anyway in order to dual-boot linux, I don't know if this will help. Advice is appreciated.",
"C++ vectors (instead of arrays)"
]
| medi_sts_stackexchange_dupe |
Q. If you compile and execute an application with the following code in its main() method: Why " s" is created two objects | How do I compare strings in Java? | [
"Let $\\mathbb{F}$ be a finite field. Let $a_1,\\dots,a_n \\in \\mathbb{F}$ be given. I want to know whether there exists $x_1,\\dots,x_n \\in \\mathbb{F}$ such that $$a_1 x_1^2 + a_2 x_2^2 + \\dots + a_n x_n^2 = 1.$$ My question: Can we characterize when this equation has a solution, i.e., by some criterion on $a_1,\\dots,a_n$? Is there a clean characterization, in terms of $a_1,\\dots,a_n$ and the properties of $\\mathbb{F}$? Here's what I can see immediately. First, if $n=1$, there is an easy answer (the equation has a solution iff $a_1$ is a square in $\\mathbb{F}$). Second, if any $a_i$ is a square in $\\mathbb{F}$, the equation has a solution (set all other $x_j$'s to $0$), so we can assume that all the $a_i$'s are non-squares and that $n \\ge 2$. Third, if $-1$ is a square in $\\mathbb{F}$, then the equation has a solution: we can take $x_2 = \\sqrt{-a_1/a_2} \\cdot x_1$. But what about the case where $-1$ is a non-square in $\\mathbb{F}$? Is it always guaranteed to have a solution in this case?",
"Extract date from a variable in a different format Let me explain you the problem $ date +%c -d \"$d\" Tue 31 Dec 2013 01:13:06 PM CET $ date +'Today is %F' -d \"$d\" Today is 2013-12-31 This solution corresponds to current date. But I have one variable which stores date other than current date $Prev_date=\"Wed Dec 25 06:35:02 EST 2013\" I am looking for solution to read this date as 2013-12-25 and store it in a variable. I have tried this: a=`date --date=$Prev_date '+%y/%m/d'` echo $a It's giving this error: date: illegal option -- date=Wed usage: date [-u] mmddHHMM[[cc]yy][.SS] date [-u] [+format] date -a [-]sss[.fff]",
"which analysis fit the best for the data? I am trying to work on the data of my master thesis. I have to create a model, but I don't know which analysis perform. My data look like this number ID sp ab alt SWdiv 1 A1 4 6 630 0.25802965 2 A2 9 16 750 0.29235324 3 A3 8 14 850 0.411620203 4 A4 9 22 950 0.444079553 5 A5 2 12 1050 0.294855765 6 A6 13 40 1130 0.298451014 7 B1 2 2 750 0.275329152 8 B2 5 6 850 0.043352118 9 B3 14 16 950 0 10 B4 17 58 1050 0.230358688 11 B5 7 9 1150 0.298759725 12 B6 8 68 1250 0.012192474 13 C1 12 20 830 0.467542842 14 C2 13 19 930 0.454480722 15 C3 6 30 1030 0.464584038 16 C4 7 14 1130 0.448191833 17 C5 5 15 1250 0.052045275 18 C6 2 7 1315 0.051767368 19 D1 3 3 650 0.294855541 20 D2 11 17 750 0.291717599 21 D3 9 46 850 0.084284864 22 D4 8 57 950 0.088574421 23 D5 4 32 1050 0.160873283 24 D6 13 22 1150 0.297638962 25 D7 6 22 1250 0.290733158 26 E1 11 23 800 0.250878932 27 E2 8 8 900 0.418021272 28 E3 10 13 1000 0.132159303 29 E4 5 10 1100 0.058487554 30 E5 5 15 1200 0.250310822 31 E6 10 19 1350 0.01600807 32 F1 6 20 800 0.462497319 33 F2 15 54 900 0.376552904 34 F3 6 13 1000 0.298264791 35 F4 6 13 1100 0.394736812 36 G1 14 22 830 0.391455956 37 G2 11 16 930 0.282922551 38 G3 5 10 1030 0.282398234 39 G4 10 15 1130 0.153502726 40 G5 13 18 1230 0.051586706 41 H1 10 11 700 0.3009609 42 H2 7 14 800 0.579228102 43 H3 5 11 900 0.528108703 44 H4 20 48 1000 0.28689587 45 H5 13 18 1100 0.264542772 46 H6 10 20 1250 0.29928462 47 I1 12 13 535 0.35326876 48 I2 3 5 635 0.273947657 49 I3 18 30 720 0.467208221 50 I4 16 188 835 0.276669711 51 I5 7 69 935 0.000867067 52 L1 6 10 435 0.36910895 53 L2 7 20 606 0.236700524 54 L3 14 33 697 0.111132519 55 L4 17 42 797 0.296757045 56 L5 5 7 910 0.27539552 57 L6 10 15 1000 0.29748451 58 L7 6 11 1101 0.276755556 58 sample points each has two value: altitude and diversity index related to habitat heterogeneity. What I sample are different insects and I have two values: sp = species (total number of different species for each sample point) and ab = abundance (total number of insects for each sample point). My question are are the species richness or the abundance affected by the altitude or the habitat heterogeneity? which is the best analysis to perform? and why? thank you for your help.",
"What is the result of $ \\lim_{n \\to \\infty} \\frac{ \\sum^n_{i=1} i^k}{n^{k+1}},\\ k \\in \\mathbb{R} $ and why?",
"On the blog post, nearly all the images are broken. I assume this is because they are all hosted on stackoverflow.blog/wp-content/uploads/ rather than zgab33vy595fw5zq-zippykid.netdna-ssl.com/wp-content/uploads/, and they got destroyed in the removal of Blog Overflow. I looked around at a few other blog posts, and this post seems to be the only one having an issue.",
"TestMethod do not support Web service callouts, test skipped",
"I want to run Notepad++ twice. Like in this paint printscreen. How I want it: Not what I want: Is this possible?",
"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?",
"How to fill a rectangular hole with an even amount of vertices on either side? I tried crating faces but it left missing edges. In the end I was left with all the right lines but there was no vertex in the center. Here's a follow up image in case you're wondering what I mean. Notice how there's no vertex in the center.",
"losing ligatures when switching font series or color in the middle of a word",
"Is it good English to say \"They have just left\", when talking about a single person (perhaps someone you don't know the gender of)? (I am a native English speaker, I'm looking for the view held by lexicographers).",
"I am trying to use the package. I have the following counters defined (hopefully this is the right way to do it!) \\newtheorem{thm}{Theorem}[section] \\newtheorem{lemma}[thm]{Lemma} \\newtheorem{cor}[thm]{Corollary} This works as I would like (i.e. Theorem 1.1, Corollary 1.2, Lemma 1.3, etc.) My problem is \\cref always returns Theorem 1.2, Theorem 1.3. I Perhaps this is not right? (In my preamble) \\crefname{thm}{theorem}{theorem's} \\crefname{lemma}{lemma}{lemma's}",
"Permission denied, are you root? I get this error whenever I try to install programs using the terminal: home@ubuntu:~$ apt-get install myunity E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? Also I'm unable to install updates using the terminal.",
"I've seen papers (e.g., in Science) where the first two authors are listed in non-alphabetical order, and yet there are asterisks behind their names to say that they contributed equally. It seems strange to me, because if the two authors are in alphabetical order, then it could be that the first author contributed more or the two contributed equally, and this can be made clear with asterisks in the paper if it's the latter case. When they're in non-alphabetical order, however, if someone only sees the author list without seeing the paper, he/she will likely assume that the first author contributed most. So my question is: Are there particular reasons why people do that? (This is related, but I don't think the answers there get to my question.)",
"Creating Two Executable Jars Using maven-assembly-plugin",
"The Node Editor won't work for the object selected I'm still learning, but I'm trying to follow a tutorial to apply texture to a model. I only want to apply the texture to one object in the scene, so I selected it, unwrapped it, and painted over it. Now I selected it in the Edit Mode (I can't select it in the Object mode because all is locked together) and went into Node Editor, but the nodes are greyed out. Why?",
"\"any other verbs then being located in VP\" -- is this acceptable? if the sentence you are analysing contains a modal verb, then it is positioned in ‘I’,any other verbs then being located in VP. (English Syntax and Argumentation - Bas Aarts) At first, I think the The bold clause should be \"...is located...\" but then I realize it might be in the form of a non-finite clause (ing clause with a subject) but I'm not sure. If it isn't, how you describe this usage? Is this common in English?",
"no wifi in Ubuntu 15.04 I cannot see WiFi option in my Ubuntu 15.04. What should I do? Revert asap lspci -nnk | grep 0280 -A2 output:- 03:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30) Subsystem: Foxconn International, Inc. Device [105b:e09a] rfkill list output:- 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no dmesg | grep ath [ 9.545199] ath10k_pci 0000:03:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0 [ 10.029684] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2 [ 10.029701] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-5.bin failed with error -2 [ 10.029704] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-5.bin': -2 [ 10.029711] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-4.bin failed with error -2 [ 10.029713] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-4.bin': -2 [ 10.029719] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-3.bin failed with error -2 [ 10.029721] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-3.bin': -2 [ 10.029726] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware-2.bin failed with error -2 [ 10.029728] ath10k_pci 0000:03:00.0: could not fetch firmware file 'ath10k/QCA9377/hw1.0/firmware-2.bin': -2 [ 10.029733] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA9377/hw1.0/firmware.bin failed with error -2 [ 10.029735] ath10k_pci 0000:03:00.0: could not fetch firmware (-2) [ 10.029737] ath10k_pci 0000:03:00.0: could not fetch firmware files (-2) [ 10.029739] ath10k_pci 0000:03:00.0: could not probe fw (-2)",
"How to show that $\\mathbb{Q}$ is not $G_\\delta$ I read a section of a book and it made mention of the set of rationals not being a $G_\\delta$. However, it gave no proof. I read on about using contradiction, but it made use of the Baire category theorem, which is unfamiliar to me. I was wondering if anyone could offer me a different proof; perhaps using the fact that the complement of $G_\\delta$ is $F_\\sigma$. Thanks.",
"How to remove the lines which appear on file B from another file A?"
]
| medi_sts_stackexchange_dupe |
A user program or a kernel module? | Event button as a module or as user program? | [
"What should be in the sources.list for Kali Rolling Linux? This is exact content from my sources.list: # # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free I couldn't install the Synaptic package manager and was told to modify sources.list. I googled a lot and added some repos into it and ran update and upgrade command only to see Kali crash... I had to recover it. Please mention the exact content that should be there to ensure that Kali Linux works.",
"Exporting 2D vector graphic from ArcScene to Illustrator How can I export 2d vector graphic from ArcScene so I can edit it with Adobe Illustrator? I've tried changing the options when I export 2D scene as AI file or PDF file, but they always remain as a unique image that does not allow me to edit the lines and polygons.",
"So one of this question's answers got me curious. What is the maximum damage a 20th level character can do with a 9th level Magic Missile by the rules to a single target. So my best I've been able to find is Aasimar or Goblin WLK 1/WIZ 19 9th Level slot (1D4+1)(11) [keep in mind you only roll once for damage not 11 times] per Empowered Evocation (+5)(11) (assuming 20 INT) Hexblade Curse (+6)(11) (Proficiency Bonus +6) Radiant Soul/Fury of the Small +20 (Level 20 Aasimar/Goblin) For a total of (D4+12)(11)+20 for (min-max)avg (163-196)179.5 Am I looking at this correctly? Are there other abilities out there that can increase this? Feel free to include non legendary magic items. NO TOMES PLEASE Only use things available on D&D Beyond please. Acceptable books are : Basic Rules DMG, MM, PHB Sword Coast Adventure's Guide The Tortle Package Volo's Guide to Monsters Xanathar's Guide to Everything and any officially released Adventure Book",
"How to add a script to Startup Applications from the command line?",
"As the title suggests, I have some kit which is 200m from our current infrastructure (outdoors). What is the cheapest way to establish a reliable connection across a 200m stretch (Cat 5e ethernet only works up to about 100m from our tests)?",
"Is AncestryDNA match of 1,655 cM a half sibling? Shared DNA: 1,655 cM across 46 segments. Can someone that shows this as one of my matches on AncestryDNA be a half sibling?",
"error: requested operation requires superuser privilege",
"Combine the first two commits of a Git repository? Suppose you have a history containing the three commits A, B and C: A-B-C I would like to combine the two commits A and B to one commit AB: AB-C I tried git rebase -i A which opens up my editor with the following contents: pick e97a17b B pick asd314f C I change this to squash e97a17b B pick asd314f C Then Git 1.6.0.4 says: Cannot 'squash' without a previous commit Is there a way or is this just impossible?",
"If $A$ and $B$ are positive definite, then is $B^{-1} - A^{-1}$ positive semidefinite?",
"How to show that $|D_{2n}| = 2n$ via the presentation?",
"Does Earth's Rotation Affect Its Shape?",
"Find a recurrence relation for the number of ways to arrange $n$ dominoes to fill a $2$ by $n$ checkerboard. I am having trouble with this question, please take a look at it: Find a recurrence relation for the number of ways to arrange $n$ dominoes to fill a $2$ by $n$ checkerboard. I have just started reading the topic and it is one of the starting problem. Please help. You can give me some hints, a complete answer is also appreciated. Thanks",
"Order of elements in $Z_n$ I have this question: Let $x, n$ be integers with $n \\geq 2$ and $n$ not dividing $x$. Show that the order o($\\bar{x}$) of $x \\in Z_n$ is $o(\\bar{x})= \\frac{n}{HCF(x, n)}$ I've been thinking about it for ages but I still don't get why. A hint would be appreciated.",
"Let $M$ be a smooth manifold and let $N$ be a manifold with boundary. If $dF_{p}$ is an isomorphism, then $F\\left(p\\right)\\in\\mbox{int}M $.",
"Is there a systematic way to obtain all conserved quantities of a system? I'd like to know whether, given a system, there's a way to obtain all the conserved quantities. For instance if the system consists of electric and magnetic fields, the fields must satisfy Maxwell's equations. These equations are invariant under many transformations (Lorentz transformation, rotations, spatial and temporal translations, etc. By the way is there a way, maybe from group theory, to find all the possible transformations that leaves the equation(s) invariant?) which imply as many conserved quantities thanks to Noether's theorem. In wikipedia I can see an equation that seems to give all the conserved quantities () but it involves the Lagrangian and I'm not sure whether the formula is valid for all systems whose Lagrangian is possible to obtain.",
"\"ImportError: No module named _struct\" configuring python-minimal When I run sudo apt-get upgrade, the dpkg error appears and interupts the process. Error details: Setting up python-minimal (2.7.3-0ubuntu7.1) ... Traceback (most recent call last): File \"/usr/local/lib/python2.7/runpy.py\", line 162, in _run_module_as_main \"__main__\", fname, loader, pkg_name) File \"/usr/local/lib/python2.7/runpy.py\", line 72, in _run_code exec code in run_globals File \"/usr/local/lib/python2.7/compileall.py\", line 16, in <module> import struct File \"/usr/local/lib/python2.7/struct.py\", line 1, in <module> from _struct import * ImportError: No module named _struct dpkg: error processing python-minimal (--configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of python: python depends on python-minimal (= 2.7.3-0ubuntu7.1); however: Package python-minimal is not configured yet. And this problem leads to a series of dependency problems when processing the following packages: python gwibber-service libgwibber3 libgwibber-gtk3 gwibber gwibber-service-facebook gwibber-service-identica gwibber-service-twitter python-all python-dev python-all-dev python-apt python-problem-report python-apport python-libxml2 unity-lens-gwibber unity-scope-video-remote Finally, nothing I can do for this problem. And several days later, the root directory is full and I even could not uninstall any software because of this problem.",
"Why is my text pixelated? Within my game I have some cubes with text which render fine. In addition to the cubes I want to display some static text, e.g. the current score. The score text has the camera as parent and a copy rotation constraint on the camera. While this concept works fine in principle, the score text is displayed very pixelated. I already increased the font size to 50 and made the text smaller by scaling it down, but it still doesn't show nicely. The score text is about 11 Blender units away from the camera. If I move the score text further away, it displays better, but then the text interferes (collides) with the cubes. What could I do to improve the quality of this text? Download . Open the SSCCE in Blender 2.70. Hover your mouse over the 3D viewport. Press P to start game engine.",
"What happens if you use a drone to build a building while he's carrying minerals? Kind of a basic question, but what happens? Do you lose it? Does it count as harvested? In a similar fashion, what happens when a drone/scv/probe goes harvesting gas when he's holding a mineral?",
"how to extend a basis",
"How do I upload a file to an SFTP server in C# (.NET)? Does a free .NET library exist with which I can upload a file to a SFTP (SSH FTP) server, which throws exceptions on problems with the upload and allows the monitoring of its progress?"
]
| medi_sts_stackexchange_dupe |
How to programmatically authenticate a user | How to programmatically login/authenticate a user? | [
"How to create a bootable USB with multiple ISO images in it",
"I recently changed my username to Undo. I was amazed when I pressed Submit and saw that it actually went through - surely someone somewhere was using this same username. Out of curiosity, I then search the SO user list for Undo - and found with Undo as thier name. They have 50 rep. I have around 1,500. Is there some kind of pecking order, I.e. a high-rep user can 'steal' a low-rep user's name? Or is this a bug? Or can two users have the same username without causing the SO servers to go down in a burning ring of fire?",
"Detecting the system DPI/PPI from JS/CSS? I'm working on a kind of unique app which needs to generate images at specific resolutions according to the device they are displayed on. So the output is different on a regular Windows browser (96ppi), iPhone (163ppi), Android G1 (180ppi), and other devices. I'm wondering if there's a way to detect this automatically. My initial research seems to say no. The only suggestion I've seen is to make an element whose width is specified as \"1in\" in CSS, then check its offsetWidth (see also ). Makes sense, but iPhone is lying to me with that technique, saying it's 96ppi. Another approach might be to get the dimensions of the display in inches and then divide by the width in pixels, but I'm not sure how to do that either.",
"Is it true that $A^A\\simeq P(A)$? Let $A$ be an infinite set and $$A^A=\\{f | f:A\\to A\\,\\,\\, \\text{is a function}\\}.$$ Is there any natural bijection between $A^A$ and $P(A)$?",
"Where to get the full offline-capable installer for macOS Mojave (.1 update)?",
"What are the limitations of a typical kit lens as a general purpose lens? I have a Canon EOS 550d with the 18-55mm IS kit lens. I have done (portraits, nature, night shots etc), and find the image quality to be pretty good. In fact most of the reviews have also been positive (at least in terms of image quality): Quote: indeed Canon's main concern may ultimately become whether users have as much incentive to upgrade to more expensive optics as they did before So, what are the key limitations of this lens (or any other similar kit lens) that would compel one to upgrade to a more expensive general purpose zoom lens (apart from the wanting to upgrade the zoom range)?",
"Normally Star Trek seems to based on some sort of logic, but the time travel in \"Star Trek: Enterprise\" seems to have no logic at all, or am I just missing it? Example: If they go back in time to change something it takes time until it has any effect in the future? I can't see any reason for this.",
"Reordering fields (permanently) in file geodatabase using ArcGIS Desktop? Using ArcGIS 10.0, is it possible to reorder the fields in a file geodatabase, and have the order persisted to the database? We considered exporting to XML, and writing a parser to change the field order, then re-creating a new database from the XML. This seems like a laborious process. Another idea is to import the existing field definitionss into Excel, re-order them, export to CSV, then write a Python script to create these fields in a new Geodatabase. Does a script like this exist, before we write it from scratch? Unfortunately the ArcGIS Diagrammer doesn't seem to support field re-ordering. Are there any scripts or hacks we could use to simplify this process?",
"Displaying equations, how to combine strings and values without evaluating everything.",
"How do I get the coordinates of a mouse click on a canvas element?",
"Clicking on tags in global search results is broken If you search for something on \"all sites\" (using the searchbox at the top of , you'll reach the search results, e.g. . If you click directly on a tag on that page, e.g. You get 404 Page Not Found error, e.g. Steps to reproduce Go to and enter e.g. \"keyforge\" into the \"Search all sites\" field. Arrive at Click on the \"keyforge\" tag below a search entry. Reach (404 page not found) Expected behaviour Reach System Info Happens in both Firefox and Vivaldi browsers on Windows 10.",
"Does Ubuntu follow the Linux Standard Base (LSB)?",
"How to determine if the specific time is between given time range in javascript",
"Sum over multiple indices",
"Search for all files with a .sql extension in folders and sub folders",
"Simple UV Mesh Unwrapping Scale issue I'm having problems using the UV mapping in blender 2.67. Specifically, I am trying to unwrap a really simple mesh, but the UV map is still giving me a net where some of the boxes are completely out of proportion to the others, which causes the texture to stretch horribly. Here is a picture to illustrate: The mesh only has those three faces you can see in the picture, and the single seam on the front corner. It's a trivially simple mesh, so I really don't understand why the two side faces are being stretched in the UV map to be the same size as the top face. I've tried clicking the average islands scale button as suggested by some of the answers to other questions but that has no effect. It's frustrating because it seems so simple. Hopefully someone can show me the presumably simple mistake I am making! Edit: Just to make this clearer, I have already added a seam as the first answer suggests i do. Hopefully this picture will make that clearer, the yellow arrow is pointing to the edge i seamed. The mesh is only three faces so should only need this single seam. The image shows the mesh from infront and behind/underneath so it should make more sense. Double Edit: One more picture for clarity on the seam issue. The mesh is unfolding correctly, it is just the scale of the unfolded map that is incorrect (in relation to one another)",
"Correlation with a constant",
"While moving custom profiles using eclipse from dev org to partner org found following errors",
"I am using a logit model. My dependent variable is binary. However I have an independent variable which is categorical and contains the responses: 1.very good, 2.good, 3.average, 4.poor and 5.very poor. So, it is ordinal (\"quantitative categorical\"). I am not sure how to handle this in the model. I am using gretl. [Note from @ttnphns: Although the question says the model is logit (because the dependent is categorical), the crucial issue - ordinal independent variables - is basically alike, be the dependent categorical or quantitative. Therefore the question is equally relevant to, say, linear regression too - as it is to logistic regression or other logit model.]",
"\"approach to address\" or \"approach to addressing\"? Depending on our point of view, we offer different approaches to address(ing?) a same issue. Should I use —ing in this context, and if yes, why?"
]
| medi_sts_stackexchange_dupe |
Escaping characters in command line search and replace | How to ensure that string interpolated into `sed` substitution escapes all metachars | [
"Can I set max_retries for requests.request?",
"Geometry with Trigonometry From the given figure, prove that $$\\cot\\ \\theta=\\cot\\ A+\\cot\\ B+\\cot\\ C$$ I could not even start to the first point. Please help me to solve this. Thanks in advance",
"Can druids Wild Shape into creatures other than beasts? Under Wild Shape it says \"assume the shape of a beast\" you have seen before. Does this mean they can only transform into creatures that have the beast type, such as bear, wolf, crocodile, etc.? Or can they turn into things with other types, like dragon, monstrosity, humanoid, fiend, etc.?",
"Difference in sentence meaning between present continuous and simple present constructions",
"Submitting ACM Conference papers to ArXiv I'm a little confused. The states: ACM authors hold the right to post copies of their own peer-reviewed accepted ACM works on any non-commercial repository or aggregation that does not duplicate ACM tables of contents, i.e., whose patterns of links do not substantially duplicate an ACM-copyrighted volume or issue. Non-commercial repositories are here understood as repositories owned by non-profit organizations that do not charge a fee for accessing deposited articles and that do not sell advertising or otherwise profit from serving articles. However, the site states: Can I publish the published version of my publication on arXiv? No. An ACM author cannot grant arXiv.org or any other publisher rights to distribute their works that have been published by ACM. SHERPA/Romeo shows ACM as being a \"Green Publisher\", which would support the case that I can upload to ArXiv. states that I can upload pre- or postprints under certain circumstances, but does not explicitly mention Arxiv, positively or negatively. So, what is it? Can I submit a paper I published with an ACM Conference (ACM WiSec, if that makes a difference) to ArXiv or not? As I understand it, ArXiv is a non-profit, so it would fit the terms of the publishing policy. Or is this related to the rights you have to grant ArXiv upon submission? If I can only publish a specific version of the paper, which one?",
"If I call finalize() on an object from my program code, will the JVM still run the method again when the garbage collector processes this object? This would be an approximate example: MyObject m = new MyObject(); m.finalize(); m = null; System.gc() Would the explicit call to finalize() make the JVM's garbage collector not to run the finalize() method on object m?",
"What happened to the Yin half of Kurama? Did Naruto get both halves of Kurama after fighting Sasuke, or did the other half of Kurama die when Minato was killed?",
"While I was looking at the values of the zeta function for the first natural numbers, I noticed that the sum of the values minus $1$, converge to $1$. Better put: $$\\sum_{n=2}^{\\infty} \\left(\\zeta(n)-1\\right) = 1 $$ Furthermore, if you use only the even numbers for the zeta function, the sum will converge to $\\frac{3}{4}$, or $$\\sum_{n=1}^{\\infty} \\left(\\zeta(2n)-1\\right) = \\frac{3}{4}$$ Leaving $$\\sum_{n=2}^{\\infty} \\left(\\zeta(2n-1)-1 \\right)= \\frac{1}{4}$$ This is probably common knowledge among mathematicians, but I couldn't find much about it on the internet. Is there a proof of this or perhaps even a simple explanation why this is so?",
"Why is transferring money online to someone else's bank account so difficult in the U.S.?",
"Using \"you\" and \"your\" as a representation for yourself and everyone in general Example sentence: I love when your dog just lets you sit there to pet them. You don’t necessarily know if they are enjoying it, but they love you enough to just sit there with you for a bit. Is this correct? We assume the words \"you\" and \"your\" refer to the speaker of the sentence, and not to the listener, as second-person usually does. But it also refers to dog owners in general. I have always been curious about this.",
"Fractional Laplacian on the torus",
"How do I set a custom resolution?",
"How to prove $|a+b|^k \\leq 2^{k-1} (|a|^k+|b|^k)$? Assume that you have any two real numbers $a$ and $b$, and $1\\leq k <\\infty$, $k \\in \\mathbb{R}$. How would you prove the inequality $|a+b|^k \\leq 2^{k-1} (|a|^k+|b|^k)$?",
"Prove that $T$ is an orthogonal projection Let $T$ be a linear operator on a finite-dimensional inner product space $V$. Suppose that $T$ is a projection such that $\\|T(x)\\| \\le \\|x\\|$ for $x \\in V$. Prove that $T$ is an orthogonal projection. I can't understand well. The definition of orthogonal operator is $\\|T(x)\\| = \\|x\\|$. But why that $\\|T(x)\\| \\le \\|x\\|$ for $x \\in V$ means orthogonal projection?",
"Matrices $B$ that commute with every matrix commuting with $A$",
"How do I replace the *first instance* of a string in .NET? I want to replace the first occurrence in a given string. How can I accomplish this in .NET?",
"Get list of ALL offers from Amazon Product Advertising API",
"What are the recommended textbooks for introductory calculus?",
"Compound Adjectives and -ed A colleague asked me this question, and I couldn't come up with an answer that satisfied him, so I'm wondering if anyone can help: Why does a man with a short temper become a short-tempered man? In other words, why do you need the -ed at the end? Are there any special rules for this?",
"Is there any lingual way to differentiate between the family that I’m a child of and the family that I am a parent of? (I.e., the first family consists of my parents, my siblings, and me; the second one consists of my spouse, my children and me.)"
]
| medi_sts_stackexchange_dupe |
Is there a way to launch Terminator when right clicking "Open in Terminal" for Ubuntu 18.04? | Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal | [
"Continuous function from $(0, 1]$ onto $(0, 1)$?",
"This question pertains to L1 & L2 regularization parameters in Light GBM. As per official documentation: reg_alpha (float, optional (default=0.)) – L1 regularization term on weights. reg_lambda (float, optional (default=0.)) – L2 regularization term on weights I have seen data scientists using both of these parameters at the same time, ideally either you use L1 or L2 not both together. While reading about tuning LGBM parameters I cam across one such case: Kaggle official GBDT Specification and Optimization Workshop in Paris where Instructors are ML experts. And these experts have used positive values of both L1 & L2 params in LGBM model. Link below (Ctrl+F 'search_spaces' to directly reach parameter grid in this long kernel) I have seen same in XGBoost implementations. My question is why use both at the same time in LGBM/XGBoost. Thanks.",
"I want to animate a character in a realistic but easy way. I was thinking that I could use videos of me performing the actions I want to have on my characters, however I can't find a way of placing the videos and make the character to follow my movements in an automated way, like motion tracking. How can I animate automatically using this technique? Are there any Plug-ins to work like this? Is this mehod actually more useful than standard animation techniques?",
"Prove that $i^i$ is a real number According to WolframAlpha, but I don't know how I can prove it.",
"IndentationError: unindent does not match any outer indentation level",
"How can I use Gmail (in Chrome) as the default email handler in Windows 8? I used to use GmailNotifier in Windows 7, but that doesn't seem to work anymore. Clicking on a mailto: link simply opens Chrome with a blank page. I am not interested in using the Mail app built into Windows 8.",
"Is my proof that $U_{pq}$ is not cyclic if $p$ and $q$ are distinct odd primes correct? Prove that $U_{pq}$ is not cyclic if $p$ and $q$ are distinct odd primes. I am a self taught person. I just learned this and tried this on my own and came up with this. $x \\equiv 1 \\pmod{p}$ and $x \\equiv -1 \\pmod{q}$ has a solution $[a]_{pq}$, since $p$ and $q$ are relatively prime. Because $q$ is an odd prime, $[-1]_{pq}$ is not a solution, so $[a]_{pq}\\neq [-1]_{pq}$. But $a^2 \\equiv 1 \\pmod{p}$ and $a^2 \\equiv 1 \\pmod{q}$, so $a^2 \\equiv 1\\pmod{pq}$ since $p$ and $q$ are relatively prime, and thus $[a]_{pq}$ has order 2. Can someone please tell me if this proof this correct? Please help with proof as I learned it just now as a self taught person.",
"I have experience where empty spaces cause unwanted effects. It is not easy to trace the cause of these unwanted effects. In order to eliminate any doubt, I often overuse % as follows. \\usepackage% [% left=3cm, right=3cm% ]% {geometry} or \\newcommand{\\mycommand}% {% This is my command.% } I got an extreme example that will break what Leo Liu said In fact, only spaces which would be output have to be removed by comment. The following code does not produce output, but we cannot remove the % and leave a blank line between two elements of a list below. \\newpsstyle{gridstyle} { gridwidth=0.4pt, % griddots=0 } Shortly speaking, where are the necessary places to be appended with % to remove unwanted spaces?",
"Why does a window become a mirror at night? In day, when you look in the room through the window out, you can clearly see what happens outside. At night when it's dark outside but there's light inside you can look in the window but it becomes a mirror. Why?",
"UBUNTU 14.04 cheese booth not detect webcam Cheese Booth shows an error: There was an error playing video from the webcam I test if webcam works fine or not by opening google hangout, its works fine. Please tell, what is the issue in cheese booth. Note: Sometimes the cheese booth works fine but most of time not",
"Random Gaussian Variables Is there a class in the standard library of .NET that gives me the functionality to create random variables that follow Gaussian distribution?",
"Most games build on other games' successes and many are downright clones. Where is the limit of imitation before legal issues come into play? Is it down to literary or graphic work like characters and storyline that cause legal problems, or can someone actually claim to own gameplay mechanics? There are so many similar clone games out there that the rules are probably very slack or nonexistent, but I'd like to hear the views of more experienced developers / designers.",
"Probability of a player winning before another Given a 7 sided dice, 2 players roll it independantly simultaneously and when a player rolls a '6' he gets a prize. What is the probability of the first player getting a prize before the second? So my solution is to sum over all the turns j in which player 1 could win, and make the second player lose all these turns: $$P(A) = \\sum_{i=1}^{\\infty}(6/7)^{j-1}*(1/7)*(6/7)^j = 0.461$$ My question is if my solution is correct, and if so, why is the probability so low? It seems to me that either player 1 wins before the 2nd or the other way around, and the probability of them playing forever is 0, so it should be 0.5?",
"Broken APT on WSL 18.04",
"I am looking for tutorials, articles or books containing theory of in context of mathematical physics. Please suggest.",
"I have two independent groups: from one I have drawn a sample of size less than 30 due to its small population, while the second group has sample size 100. Is it appropriate to use an independent samples t-test in this case?",
"How to ignore accent in SQLite query (Android)",
"How do I start skype in the system tray?",
"What does 'super' do in Python? - difference between super().__init__() and explicit superclass __init__() What's the difference between: class Child(SomeBaseClass): def __init__(self): super(Child, self).__init__() and: class Child(SomeBaseClass): def __init__(self): SomeBaseClass.__init__(self) I've seen super being used quite a lot in classes with only single inheritance. I can see why you'd use it in multiple inheritance but am unclear as to what the advantages are of using it in this kind of situation.",
"Why is the Earth so fat? I made a naive calculation of the height of Earth's equatorial bulge and found that it should be about 10km. The true height is about 20km. My question is: why is there this discrepancy? The calculation I did was to imagine placing a ball down on the spinning Earth. Wherever I place it, it shouldn't move. The gravitational potential per unit mass of the ball is $hg$, with $h$ the height above the pole-to-center distance of the Earth (call that $R$) and $g$ gravitational acceleration. Gravity wants to pull the ball towards the poles, away from the bulge. It is balanced by the centrifugal force, which has a potential $-\\omega^2R^2\\sin^2\\theta/2$ per unit mass, with $\\omega$ Earth's angular velocity and $\\theta$ the angle from the north pole. This comes taking what in an inertial frame would be the ball's kinetic energy and making it a potential in the accelerating frame. If the ball doesn't move, this potential must be constant, so $$U = hg - \\frac{(\\omega R \\sin\\theta)^2}{2} = \\textrm{const}$$ we might as well let the constant be zero and write $$h = \\frac{(\\omega R \\sin\\theta)^2}{2g}$$ For the Earth, $$R = 6.4*10^6m$$ $$\\omega = \\frac{2\\pi}{24\\ \\textrm{hours}}$$ $$g = 9.8\\ m/s^2$$ This gives 10.8 km when $\\theta = \\pi/2$, so the equatorial bulge should be roughly that large. , the Earth is 42.72 km wider in diameter at the equator than pole-to-pole, meaning the bulge is about twice as large as I expected. (Wikipedia cites diameter; I estimated radius.) Where is the extra bulge coming from? My simple calculation uses $g$ and $R$ as constants, but neither varies more than a percent or so. It's true the Earth does not have uniform density, but it's not clear to me how this should affect the calculation, so long as the density distribution is still spherically-symmetric (or nearly so). (Wikipedia also includes , without derivation, that agrees with mine.)"
]
| medi_sts_stackexchange_dupe |
Ring with maximal ideal not containing a specific expression | maximal ideal not containing some expression | [
"Add new JDBC Driver to connect Mathematica to SQL database",
"What do you call a person who is utterly independent and a loner?",
"Valid references on origins of Machine Learning, Statistical Learning and Data Mining",
"Proof for alternative definition of the derivative I read somewhere recently that you can define the derivative as follows: $$f'(x) = \\lim_{h, k \\to 0^+} \\frac{f(x +h) - f(x - k)}{h + k}$$ I have been trying to prove this for about 2 hours, and can't seem to get it done. How should I proceed? Edit: Assume $f$ is differentiable for all $x \\in (x - \\delta, x + \\delta)$ for some $\\delta > 0$.",
"We are doing the research about applying remote sensed data on hydro logical model . After delineating, the river basin from DEM data using Argis9.3, We have to map the remote sensed data derived from products like PERSIANN. Our task now is to create the grid with the same resolution with the available remote sensed data( for example 0.25degree x 0.25 degree). and have a certain corner that matches with the obtained data. Does anyone know how to deal with our problem?",
"How does some of the black hole (BH) mass escape the event horizon (EH) of either BH, or the merged EH of two merged BHs?",
"If $X$ and $Y$ are sets, their cartesian product $X\\times Y$ is a set. In ZFC set theory, every element object is a set. We know or feel that if $X$ and $Y$ are sets, their cartesian product $X\\times Y$ is a set. My question is: Why if $X$ and $Y$ are sets, their cartesian product $X\\times Y$ is a set?",
"Permanently blocking a domain in iptables Suppose I want to block Facebook permanently. To do this, I have followed following processes: #host -t a www.facebook.com Sample output: www.facebook.com has address 69.171.224.40 Find CIDR #whois 69.171.224.40 | grep CIDR Sample output: CIDR: 69.171.224.0/19 To prevent outgoing access to www.facebook.com Approach 1: #iptables -I FORWARD -p tcp -d 69.171.224.0/19 -j DROP Approach 2: #iptables -I FORWARD -p tcp -d www.facebook.com -j DROP Both Approaches work well. In approach 1, IP address may be changed so it will not block Facebook permanently. I don't know about approach 2 whether it will block Facebook permanently or not. If above approaches are not right way to block a domain permanently, how can I do it?",
"Computing $\\lim_{n\\rightarrow \\infty} \\frac{1+\\sqrt{2}+\\sqrt[3]{3}+\\cdots+\\sqrt[n]{n}}{n}$. I have a problem with the calculation of the following limit. \\begin{equation} \\lim_{n\\rightarrow \\infty} \\frac{1+\\sqrt{2}+\\sqrt[3]{3}+\\cdots+\\sqrt[n]{n}}{n} \\end{equation} I do not know where to start! Thank you very much",
"Switching motherboard without new install?",
"A topological space $X$ is said to be irreducible if it cannot be written as a union $X = A∪B$, where $A$ and $B$ are proper closed subspaces of $X$ I want to try the following: Show: $(i)$ That every set with the indiscrete topology is irreducible, and every infinite set with the finite complement topology is irreducible. $(ii)$ That an irreducible Hausdorff space contains at most one point. Can you give me any suggestions on how to try this?",
"Alternative proof that $(a^2+b^2)/(ab+1)$ is a square when it's an integer Let $a,b$ be positive integers. When $$k = \\frac{a^2 + b^2}{ab+1}$$ is an integer, it is a square. Proof 1: (Ngô Bảo Châu): Rearrange to get $a^2-akb+b^2-k=0$, as a quadratic in $a$ this has two values: $a$ and $kb - a = (b^2-k)/a$. (The second root is determined in two different ways from the expansion $(x-r_1)(x-r_2) = x^2 - (r_1 + r_2)x + r_1 r_2$.) Now suppose we have $a,b$ such that $k$ is an integer but not a square, by the investigation about roots we have that the second root is a nonzero integer since $k,b,a$ are integers and $k \\not = b^2$, futhermore it is positive which is easily seen from its defining equation. WLOG assume $a \\ge b$ so that the second root is strictly smaller than $a$. This leads to a decent, replacing $a$ with the second root. Proof 2 (Don Zagier): Apply reduction theory (specifically, Sätze 1 and 2 of Section 13 of my book on quadratic fields) to the quadratic form $x^2 + kxy + y^2$, which is the unique reduced quadratic form in its equivalence class. Note that Proof 2 is pretty much the same as Proof 1 when written out in explicit detail, but I could not read Zagier's book because I cannot read German. I would like to know more approaches to this and other alternative proofs of this result if possible! Thanks in advance. I would also be interested in related problems (especially easier ones of a similar nature) and texts which cover the reduction theory in English.",
"Require v8 only contrib module with v9 patch Given I have Drupal 9 composer installation with composer-patches plugin and given a contrib module with a stable v8 release, but no v9 release (not even dev branch) and given that contrib module has a working v9 patch in the issue queue is there any method to install that module + patch in composer? Even if I manually add both, the package and patch, to my composer.json, I still can't require or update this module with composer due conflicting versions. I really want to avoid duplicating /contrib code into my project's /custom codebase. My current workaround is: forking that module to my own, private git repo applying patch there creating a new composer.json in my private git, and changing the package vendor to my custom_private_vendor adding my private git as VCS repo in the D9 project's composer.json and then composer require custom_private_vendor/contrib_module This fulfills my goal of not duplicating the contrib module in my project's custom codebase, but every time I do this I feel the urge to wash my dirty hands. Is there something more elegant like composer require drupal/contrib_module --apply-patch-first or can I somehow target drupal.org's git with a specific patch included?",
"Speed of light in a gravitational field? How do I solve the speed of light in gravitational field? Should I just add gravitational acceleration in speed of light? $$c'=c_0+g(r)t~?$$",
"This doesn't work: tar xf /tmp/foo.tar.gz foo/bar tar: foo/bar: Not found in archive It's not obvious to me what would do this beyond extracting it in place and moving the files over.",
"What are imaginary numbers? At school, I really struggled to understand the concept of imaginary numbers. My teacher told us that an imaginary number is a number that has something to do with the square root of $-1$. When I tried to calculate the square root of $-1$ on my calculator, it gave me an error. To this day I still do not understand imaginary numbers. It makes no sense to me at all. Is there someone here who totally gets it and can explain it? Why is the concept even useful?",
"Create NSString by repeating another string a given number of times",
"I know that the product of two Gaussians is a Gaussian, and I know that the convolution of two Gaussians is also a Gaussian. I guess I was just wondering if there's a proof out there to show that the convolution of two Gaussians is a Gaussian.",
"This is similar to , except it's a bug report, not a feature request. Currently, the nominee's comments on his/her own post are not highlights, unless you click \"add / show more comments\" When the page is loaded it looks like: AfterI click \"add / show more comments\", it becomes: Could we have the blue highlighting on the post owner's comments there all the time? It becomes difficult to see the nominees responses to questions, especially on nominations where there aren't enough comments to enable the \"add / show more comments\" features, like Matt's.",
"Dot Product Intuition I'm searching to develop the intuition (rather than memorization) in relating the two forms of a dot product (by an angle theta between the vectors and by the components of the vector ). For example, suppose I have vector $\\mathbf{a} = (a_1,a_2)$ and vector $\\mathbf{b}=(b_1,b_2)$. What's the physical or geometrical meaning that $$a_1b_1 + a_2b_2 = |\\mathbf{a}||\\mathbf{b}|\\cos(\\theta)\\;?$$ Why is multiplying $|\\mathbf{b}|$ times $|\\mathbf{a}|$ in direction of $\\mathbf{b}$ the same as multiplying the first and second components of $\\mathbf{a}$ and $\\mathbf{b}$ and summing ? I know this relationship comes out when we use the law of cosines to prove, but even then i cant get a intuition in this relationship. This image clarifies my doubt: Thanks"
]
| medi_sts_stackexchange_dupe |
$f\in L^1(0,\infty)$ monotone, show $\lim_{x\rightarrow \infty} xf(x) = 0$ | If monotone decreasing and $\int_0^\infty f(x)dx <\infty$ then $\lim\limits_{x\to\infty} xf(x)=0.$ | [
"If you know what a number mod two different primes is (3 and 2) in this case, how can you tell what the mod is of the two products?",
"no match for ‘operator<<’ in ‘std::operator",
"How can I split multiple joined words? I have an array of 1000 or so entries, with examples below: wickedweather liquidweather driveourtrucks gocompact slimprojector I would like to be able to split these into their respective words, as: wicked weather liquid weather drive our trucks go compact slim projector I was hoping a regular expression my do the trick. But, since there is no boundary to stop on, nor is there any sort of capitalization that I could possibly key on, I am thinking, that some sort of reference to a dictionary might be necessary? I suppose it could be done by hand, but why - when it can be done with code! =) But this has stumped me. Any ideas?",
"How do I properly clean up Excel interop objects? I'm using the Excel interop in C# (ApplicationClass) and have placed the following code in my finally clause: while (System.Runtime.InteropServices.Marshal.ReleaseComObject(excelSheet) != 0) { } excelSheet = null; GC.Collect(); GC.WaitForPendingFinalizers(); Although this kind of works, the Excel.exe process is still in the background even after I close Excel. It is only released once my application is manually closed. What am I doing wrong, or is there an alternative to ensure interop objects are properly disposed of?",
"I am very new to LaTeX and I am writing my thesis. In a chapter, I want to show my codes, which are in Mathematica. I use the listings package as follows: \\documentclass{article} \\usepackage{listings} \\begin{document} \\lstset{language=Mathematica} \\begin{lstlisting} Do[i^j,{i,1,10},{j,1,10}] \\end{lstlisting} \\end{document} However, the output is much different to what the code looks like in the Mathematica IDE (even if I use other languages in \\lstset{language=<name>}): I read some questions on the site but, in some of them, the font or color of the codes were not the same. Could you please help me to display something like the picture below in LaTeX? If it is important, I am using the BiDi package.",
"Wrap Caption Around TikZ Figure",
"Graph with Cycle and Two-Colorable i think if the graph G has an odd cycle, it's not two-colorable, otherwise it can be two colorable. i read in one notes that the following is True: we couldent two-colorable any graph G that has cycle. anyone could clarify me ?",
"SQL function as default parameter value? I tried changing a default parameter value with this: ALTER PROCEDURE [dbo].[my_sp] @currentDate datetime = GETDATE() and all the SQL pre-compiler gave me was this error: Msg 102, Level 15, State 1, Procedure my_sp, Line 8 Incorrect syntax near '('. I have already created the procedure. (I'm not sure if that's relevant.) I was using a null default value and checking for that later, but that doesn't seem proper. Can I do this in one line? Update: I was going off of : [ = default ] Is a default value for the parameter. If a default value is defined, the function can be executed without specifying a value for that parameter. Note: Default parameter values can be specified for CLR functions except for the varchar(max) and varbinary(max) data types. When a parameter of the function has a default value, the keyword DEFAULT must be specified when the function is called to retrieve the default value. This behavior is different from using parameters with default values in stored procedures in which omitting the parameter also implies the default value. Am I reading this wrong? Many thanks.",
"Derivative of $x^{x^{\\cdot^{\\cdot}}}$?",
"Is tipping mandatory at Restaurants and Bars in Germany? In Bavaria, I paid for my drink, I asked her for \"Ruckgeld\", but only got the integer part of the money back, the rest of it, she kept it for tip! I looked her in the eye and she understood that I wasn't happy with that \"initiative\", but wouldn't blink an eye! My company advised me to let it go, mentioning that if I was going to ask for the change, she would swear. Notice how she didn't return me the correct amount back and then stare at me, demanding for tip, but she would decide for me! Since, I will be around for a week or so, I was thinking of paying the exact amount of money next time. Will I get in an uncomfortable situation of having the waiter stare at me, demanding a tip? In other words, is tipping mandatory in Germany? PS: Having experienced the tipping-cruelty in USA, and having tipped generously waiters across the Mediterranean for their supreme behavior, this Saturday night came as a shock, since I had the impression that this awful habit was only a USA-thing (you know, just like the fake audience laughing they have in USA TV series :) ).",
"Does xbox live gold membership stack when I purchase a new one? I currently have an Xbox Live Gold membership that will expire in March 2011. However the price of membership is increasing to $59.99 starting November 1, 2010. If I buy a 12 month membership now at the current price of $49.99, will the additional 12 months be added on to my existing membership or will I start a new membership which will expire 12 months after I buy it?",
"I have been hit with a homework problem that I just have no idea how to approach. Any help from you all is very much appreciated. Here is the problem Prove the equation: $a^{\\log_b c} = c^{\\log_b a}$ Any ideas?",
"Assume you have already completed your undergrad and have been working for a number of years. Does one need to be part of a university or a learning institution to publish papers?",
"80/90s UK children's drama series about an \"alien\" boy with radio weapon I've been trying to track down a live-action children's TV series (or short story perhaps) from the 1980s or 1990s, probably on CBBC or CITV. A few people I've spoken to IRL have suggested The Boy from Space or Sky, but I'm pretty sure it's neither as a lot of the details don't seem to match. The story was set on Earth (possibly England or Wales) and was about an \"alien\" boy who was being pursued by a group of people, though I don't remember who they were. Somehow he encountered siblings, a girl and a boy, and made friends with them. I think they lived on a farm with their parents, as I remember quite a large barn or other building, and they hid(?) the boy in a car which was inside or next to this building. He also slept in this car with a dog (which might have been a German shepherd). The \"alien\" boy had a portable \"radio\" (all silver, very 1980s) that repelled his pursuers by emitting a high-pitched sound when he turned a dial on it, and he used it when out and about with the other children whenever they encountered a pursuer. I seem to remember lots of hills and valleys, lots of green. In the end it turned out he wasn’t really an alien, but a human from the far future. He was pretending to be an alien as he was from 20000 years into the future and humans' appearance had changed by then, but he had the ability to make himself look like current-day humans. When he was in his car/bed he reverted to his normal appearance, so he would hide under the blankets until he was able to assume current-day human appearance. In the finale, it was revealed that he was never in any danger – the pursuers were testing him as part of a kind of coming-of-age thing. I remember a scene on a spaceship or something where his elders/parents where shown telling him that he was safe all along and that he \"passed\". I also seem to remember them referring to \"ancestors\" and making sure they didn't find out, so the either the girl or boy could well have been a direct ancestor.",
"Area 51 reputation changes do not show up in the new Top Bar",
"I can not see how mathematically one can divide the numerator and denominator by theta. Can some one explain this in a different way. When you divide two fractions you multiply the first fraction by the reciprocal of the second. This is not the case here. Divide numerator and denominator by $\\theta$. ($\\sin\\theta$ also works.) $$\\eqalign{\\lim_{\\theta\\to0}\\dfrac{\\sin\\theta}{8\\theta+\\tan\\theta}&= \\lim_{\\theta\\to0}\\dfrac{\\dfrac{\\sin\\theta}\\theta}{8+\\dfrac{\\sin\\theta}\\theta\\cdot\\dfrac1{\\cos\\theta}}\\\\&=\\dfrac{\\lim\\limits_{\\theta\\to0}\\dfrac{\\sin\\theta}\\theta}{8+\\lim\\limits_{\\theta\\to0}\\dfrac{\\sin\\theta}\\theta\\lim\\limits_{\\theta\\to0}\\dfrac1{\\cos\\theta}}\\\\&=\\dfrac1{8+1\\cdot1}\\\\&=\\dfrac19.}$$",
"Express $\\sqrt{3}\\sin\\theta - \\cos\\theta$ as: $a\\cos (\\theta + \\alpha) $ Express $\\sqrt{3}\\sin\\theta - \\cos\\theta$ as: $a\\cos (\\theta + \\alpha) $ Can someone please explain to me how to go about doing this?",
"How do I prove that 15462227 and 15462229 relatively prime?",
"The characteristic and minimal polynomial of a companion matrix",
"How can I return to the start of a line in a console? How can I return to the start of a line and overwrite what has already been output on the console? The following does not appear to work: System.out.print(mystuff+'\\r');"
]
| medi_sts_stackexchange_dupe |
Error com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure | com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure | [
"Tourist to F1 change of status within 60 days I have a PhD place at a US university starting Aug 21 but want to visit a different university for casual research for 6 weeks from July 1. This is longer than the 30 day grace period for the F1. Can I arrive on the visa waiver program or tourist visa in July and then just stay on for the PhD? I guess I might need to change status. Will this work? Please don’t suggest exiting and reentering, that’s too expensive. (British masters student in UK)",
"How can I change the margins for only part of the text? Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of the page for the four lines of my address, or if I am combining prose with poetry and want the poems to be indented relative to the rest of the work. What is the best way to change both left and right margins on the fly?",
"Profitable strategy in coin tossing?",
"todonotes: How to make multiple listoftodos? In this MWE, I made two commands to highlight parts of the text as a reviewer comment, while the comments are colored uniquely to indicate the author whose comment is typeset. If I want to make two listoftodos, each has the comments entries of one author, how can it be done? \\documentclass{article} \\usepackage{hyperref,lipsum} \\usepackage[textwidth=2.5cm,colorinlistoftodos]{todonotes} \\setlength{\\marginparwidth}{2.5cm} \\newcommand\\stR[2]{% 1st reviewer comment \\todo[% author=1st Reviewer,noline,caption={1st Reviewer #1 Comment},color=blue!20% ]% {#1 Comment}{\\color{blue}{\\bfseries#2}}} \\newcommand\\ndR[2]{% 2nd reviewer comment \\todo[% author=2nd Reviewer,noline,caption={2nd Reviewer #1 Comment},color=red!50!white% ]% {#1 Comment}{\\color{red}{\\bfseries#2}}} \\begin{document} \\listoftodos[Reviewers Comments] \\section{Section} Text \\stR{2nd}{2nd comment of the 1st reviewer} another text\\vspace{\\baselineskip} \\lipsum[1]\\vspace{\\baselineskip} Some text \\ndR{1st}{1st comment of the 2nd reviewer} continue text \\end{document}",
"In a USB cable, is it OK to swap the D+ and D- wires? I heard that D+ and D- are differential signals, does it matter if I swap them when connecting a USB device to the computer?",
"Why does Ubuntu fail to run .exe files? / How do I run .exe?",
"Can you grapple/shove with the Hunter Ranger's Whirlwind Attack? The states: You can use your action to make a melee attack against any number of creatures within 5 feet of you, with a separate attack roll for each target. The rules on \"\" state (the rules in shoving are effectively identical): When you want to grab a creature or wrestle with it, you can use the Attack action to make a special melee attack, a grapple. If you're able to make multiple attacks with the Attack action, this attack replaces one of them. I couldn't find any other features spells or abilities that allow a creature to make a flat \"melee attack\". If they had said \"melee weapon attack\" instead this would have meant the same thing but specifically have excluded grapple/shove as an option. I am unsure whether the rules on grappling/shoving mean that the only time you can grapple/shove are when you take the Attack action, which you are not doing when using the Whirlwind Attack feature. I would like answers to assume that the following ruling made in the is correct: Whirlwind Attack is unusual, in that it’s a single attack with multiple attack rolls...",
"Would fewer Jedi be more powerful?",
"How can I create or use a global variable in a function? If I create a global variable in one function, how can I use that global variable in another function? Do I need to store the global variable in a local variable of the function which needs its access?",
"I haven't been able to find my favorite questions in the official Stack Exchange Android app. Looking at my accounts page gives nothing on them.",
"Partial Fraction Decomposition?",
"Reputation and inbox notification shows up again after refresh This was asked before too. . Currently I am facing the issue of appearance of reputation notification in above toolbar. I can see the reputation notification, for every page refresh even after clicking and viewing the notification. current browser: Chrome Version 36.0.1985.143 m",
"After writing the FreeNAS IMG to a 16 GB USB flash drive, I can now only use 938 MB. I used the Win32 Disk Imager tool to write the IMG to the device. Then later, when I inserted the the USB drive into my Windows 7 computer it said that it had to be formatted, because it couldn't read it. I believe this is normal. So I formatted it inside Windows using the format option when prompted. So in Windows Explorer now, 938 MB is reported as capacity of this device. Also, when i check the properties dialog box I can see the same numbers. And when I check with diskmgmt.msc I can see there are several volumes I don't recognize and unallocated space of 12.79 GB. Now, I have another 2 GB USB flash drive with the same problem. It too was used for FreeNAS, and it too has a reported capacity of only 938 MB. I thought it was broken there for a while, until I saw the same problem with this 16 GB model. I tried using diskpart on the 2 GB model, and I saw that there were several partitions there (list partitions) just like on this one. So I used the clean option to try to wipe it, but that wiped off everything so it's totally useless now. I'm not sure how to rebuild it. Is this a standard routine, like part of the whole \"user experience\", that whenever you make a bootable USB falsh drive with FreeNAS, it messes up your device? I am new to FreeNAS, so i wouldn't know. But it sure looks like it. Maybe it is in fact the format operation in Windows that messes things up... I don't know. It's not very nice. How do I restore the capacity back to 16 GB-ish (14.9 GiB)?",
"I'm pretty sure this question has been asked, but I cannot find a solution. I use firefox allot more than chrome and I can't log into any stack website (including stack exchange) with firefox. I get no error in the developer console (not sure if I'm supposed to) and it is really frustrating. Is there any fix to this. What keeps happening is my page just refreshes again and again and again and it never ends.",
"Deleted downvotes should appear in Achievements dialog \"Good morning. Here is something awesome that you got last night!\", said the Top Bar: \"21? That must be two answer upvotes and, um, an answer that I downvoted that was deleted?\", I thought. Ok, let's look at the details and find out: The +20 on my egrep answer is new and I've seen the other Achievements on the list, so where did the extra +1 come from? In order to avoid confusion, the recent reputation changes in the dropdown should add up to the number in the notification. I suspect this particular case is a bug. Assuming the +1 is a downvote reversed by an answer deletion, I could see the argument for excluding it from the Achievements dropdown. After all, it's not exactly something you accomplished. Except it kinda is. Part of the reason for downvoting is to low-quality content. The ultimate sign that such content was deemed beneath community standards is when it gets deleted. I'm not sure that we should , but putting a note in your achievements in such cases seems like it would reinforce positive (albeit negative) behaviour. This question is a feature request that rep gains from deleted downvotes be listed in the Achievements dialog, without getting into broader issues of displaying other activity on deleted posts such as those discussed in . Thus, this is not intended to completely address the issue of the Achievements sum not adding up, but is intended to help encourage good community moderation by appropriate downvoting of low-quality content.",
"Does Forbidden Island usually need any rule variants for playing with 5+ people? I don't see any reason why Forbidden Island wouldn't be able to handle 5 or maybe even 6 players with some simple variants. Does anyone have any experience with different player numbers with some wisdom to pass on? It would be slightly harder to gather the required 4 treasure cards at one person, but there would be more people total to trade with. The island would sink faster and it would take longer for a certain critical player to have their turn, even though the navigator and helicopter can move anyone. How can these disadvantages be offset to keep the game strong and sufficiently difficult?",
"Which manga chapters correspond to the 2nd season (or \"Season 3\" on Netflix) of the anime, \"Revival of the Commandments\"?",
"I have a PDF with 100 pages. How can I make a new PDF that displays 4 pages on one? I know that I can do it with Chrome by printing the PDF to new PDF and change this in the options. But I want to make it for a lot of files and put it as a script.",
"Noun form of \"affected\", meaning things that are affected by X",
"Beamer - create subsubsection page"
]
| medi_sts_stackexchange_dupe |
sequence of bibliography items getting ramdomly altered | Bibtex true unsort | [
"Repeatedly rolling a six sided die four times and summing the highest three results gives you a distribution with what mean and standard deviation? I've only taken AP statistics, but I would like to learn how to do this.",
"Benefits & Practicality of Virtual Machines I have been living under a rock for the past 5 - 8 years, and am just now getting up to speed with virtualization, virtual machines and platforms like VMware or VirtualBox. I think I am starting to get them, but there are two concepts about VMs that I'm just choking on for some reason; one has to do with their intrinsic benefit to the enterprise, and the other has to do with their practicality when being used. So I understand that you can have multiple VMs running on the same physical machine, all doing their own \"thing\" as if they were separate machines. So let's say I want to make a nice little virtual network of servers in my home office so I can have a big sandbox to play inside of for all my projects. I set up 2 physical machines as servers, and on each of them I have, say, 4 virtual machines running (1 might be an app server, another might be a RDBMS, another might be a message broker, etc.). Besides saving me money (as I only have to provide 2 physical machines instead of buying 8 servers), what instrinsic benefit/purpose do these VMs serve here? I don't care how clever virtual machines are, if my computer only has 8GB of RAM, and I have 4 VMs running on it, those VMs only get 8GB of RAM to share between them. Putting 4 VMs on my server doesn't endow it with 4 times that amount of RAM! So, as far as I see it, VMs save you money on hardware, but just end up bogging down that hardware as you have multiple machines competing over the same pool of resources. What am I missing here? Can VMs communicate with each other over your network using high-level protocols like TCP/IP, HTTP, FTP, etc.? Otherwise, it just doesn't make sense to implement all these VMs if you have to feed them separate and independent chunks of data/requests to process.",
"Geodesics equations via variational principle I would like to recover the (timelike) geodesics equations via the variational principle of the following action: $$ \\mathcal{S}[x] = -m \\int d\\tau = -m \\int \\sqrt{-g_{\\mu\\nu}\\,dx^{\\mu}\\,dx^{\\nu}} $$ Using an arbitrary auxiliary parameter $\\lambda$, then one is able to rewrite the action and obtains: $$ d\\tau = \\sqrt{-g_{\\mu\\nu}\\, \\tfrac{dx^{\\mu}}{d\\lambda}\\tfrac{dx^{\\mu}}{d\\lambda}} d\\lambda $$ $$ -m \\int d\\tau = -m \\int (d\\tau / d\\lambda) d\\lambda = -m\\int\\sqrt{-g_{\\mu\\nu}\\, \\tfrac{dx^{\\mu}}{d\\lambda}\\tfrac{dx^{\\mu}}{d\\lambda}} d\\lambda $$ Now we can vary the paths $x^{\\mu}(\\tau) \\rightarrow x^{\\mu}(\\tau) + \\delta x^{\\mu}(\\tau)$. I need the following equation to be true, so i get the geodesics equations, but I don't know how one can say the following: $$ \\int d\\tau \\,\\delta g_{\\mu\\nu}\\frac{dx^{\\mu}}{d\\tau} \\frac{dx^{\\nu}}{d\\tau} = \\int d\\tau\\, g_{\\mu\\nu, \\rho} \\frac{dx^{\\mu}}{d\\tau} \\frac{dx^{\\nu}}{d\\tau} \\delta x^{\\rho} $$ I know there is a simpler action, which leads to the same equation of motion, but there one has to do the same manipulation, which I sadly don't understand. Thanks for helping me!",
"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.",
"What is the purpose of JNDI",
"Construction of $\\mathbb{CP}^2$ from $S^2\\times S^2$ Show that $\\mathbb{CP}^2$ is homeomorphic to the orbit space of $(S^2\\times S^2)/\\mathbb{Z}_2$. The action is given by $(x,y) \\mapsto (y,x)$. My attempt: I can see that $S^2\\times S^2$ is a subset of $S^5$. I am unsuccessfully trying to restrict the action of $S^1$ on $S^5$ to $S^2\\times S^2$ to get the required map.",
"Why is \"can I get\" replacing \"could I have\"? I noticed the other day when serving the public that when asking for something, people were saying \"Can I get an xyz, please\". The previous time I had such a job it was \"Could I have an xyz\", or \"May I have...\" if they were being very polite. Does anyone know when this trend started and what caused it?",
"I created the shiftcommandn shortcut for Firefox in Syst Prefs to match other browsers' behavior. It registers in the Firefox Menubar. But pressing the shortcut opens a new non-private window, and it loads there the first item in my \"Top Sites\". I imagine I could create another shortcut to override this behavior, but what is this behavior? I don't see anything highlighted in the Firefox Menubar when I hit the shortcut. Or might there be another solution (other than using a different shortcut to open new private windows)? Problem exists on both Mojave and High Sierra. Default Firefox shortcut (shiftcommandp) still opens a new private window.",
"Do I cast the result of malloc? In , someone suggested in a that I should not cast the result of malloc. i.e., I should do this: int *sieve = malloc(sizeof(int) * length); rather than: int *sieve = (int *) malloc(sizeof(int) * length); Why would this be the case?",
"Run Script on Wakeup?",
"I have a question about subsets $$ A \\subseteq \\mathbb R $$ for which there exists a function $$f : \\mathbb R \\to \\mathbb R$$ such that the set of continuity points of $f$ is $A$. Can I characterize this kind of sets? In a topological,measurable or in some way? For example, does there exist a function continuous on $\\mathbb Q$ and discontinuous on the irrationals?",
"Table of Contents with Chapter I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as 1 Introduction What I would like to see is Chapter 1 Introduction Seems like an easy enough thing to ask for, but can't seem to find a good way to do this. Any feedback would be most appreciative.",
"Around 3 months ago, I submitted a paper to a Math journal for peer-review through an online submission system. The same day I received in my e-mail an acknowledgement saying that the paper had been received. The problem is that the status of the paper on the online submission system is still \"Manuscript submitted\". I think this means that the paper has not even been assigned to an editor yet (once this happens, the editor will probably start looking for reviewers), but as far as I know submissions are assigned to editors within a few weeks (I once submitted a paper to another journal and when an editor had been assigned, the status on the online system changed to \"Editor handles\" or something like that). I know that publishing is a long and complicated process and I'm not trying to rush anybody, but sometimes manuscripts are lost in the system. In fact, this has once happened to me, so I just want to make sure that the paper was not lost in the system. Should I send an e-mail asking for the status of the paper? PS: I think that, at the time of submitting the paper, I didn't choose any specific editor to submit the paper to.",
"What is a polite substitute for badass (used as a noun)?",
"When I press Ctrl+Alt+T the Terminal opens after around 30 seconds. That's pretty annoying. If I open it with Alt+F2 and enter gnome-terminal the window appears instantly as usual. I'm using Ubuntu 16.04 with gnome3. Thank you for your help in advance!",
"Ubuntu 11.10 is installed, and I have updated my system via Ubuntu Software Centre, and after the update 3 updates remain in the list. But I am unable to select them, the tickboxes cannot be checked and Ubuntu Software Centre gives no error when I try to check. Also, below it says \"There is no update to be installed\" and even though there seems to be updates Install Updates button is unclickable. What should I do in order to install these updates?",
"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?",
"How to model effectively using exact measurements? I always struggle when trying to create a floor plan or furniture. How do I model using exact measurements.",
"Lower Semicontinuity Concepts",
"Indefinite articles used with plural nouns: It was AN amazing TWO DAYS"
]
| medi_sts_stackexchange_dupe |
$a_k = \mathrm{rank}(A^{k+1}) - \mathrm{rank}(A^k)$ is increasing | $\operatorname{rank}(T^3) + \operatorname{rank}(T) \geq 2\operatorname{rank}(T^2)$ for finite-dimensional $V$ | [
"These two operators commute...but their eigenvectors aren't all the same. Why? The Hamiltonian $$H = \\left[ \\begin{array}{cccc} a & 0 & 0 & -b \\\\ 0 & 0 & -b & 0\\\\ 0 & -b & 0 & 0\\\\ -b & 0 & 0 & -a \\end{array} \\right] $$ commutes with the qubit exchange operator $$ P = \\left[ \\begin{array}{cccc} 1 & 0 & 0 & 0 \\\\ 0 & 0 & 1 & 0\\\\ 0 & 1 & 0 & 0\\\\ 0 & 0 & 0 & 1 \\end{array} \\right] $$ So I would expect the two to have the same eigenvectors. The eigenvectors of $P$ are easily seen to be $(1,0,0,0)^T; (0,0,0,1)^T; (0,1,1,0)^T ; (0,1,-1,0)^T$. The latter two are also eigenvectors of $H$, but the first two are not. Why? I thought commuting operators shared the same eigenbasis?",
"regular expressions / pattern matching on ubuntu command line",
"What is the $\\sqrt{i^4}$? $i^4$ = $(i^2)^2$ So is $\\sqrt{i^4}$ = $\\sqrt{(i^2)^2}$ = $i^2$ = $-1$? Or is $\\sqrt{i^4}$ = $\\sqrt{1}$ = $1$? When I plug it into my TI-89 Titanium, I get $1$. Edit: I now see why $i^4 \\neq -1$. $$\\sqrt{x^2} = \\left|{x}\\right| $$ So$$\\sqrt{(i^2)^2} = \\left|i^2\\right| = \\left|-1\\right| = 1$$",
"Is there any event that fires when WPF animation ends?",
"How do we escape the cycle of bad college eating? Mouseover text: And yet I never stop thinking, 'sure, these ingredients cost more than a restaurant meal, but think how many meals I'll get out of them! Especially since each one will have leftovers!' Randall Munroe really hit the nail on the head with this comic and especially the mouseover text. There's this sort of cycle that I seem to follow when I try cooking, and I need to get my way out of it. It goes like this: Decide I should cook something. Thumb through my recipe books, find one or two recipes I like. Write down the ingredients for the recipes in a list. Go to the grocery store, stumble around for a while and eventually find exactly those ingredients. Go back home; at some point in time soon after, cook each recipe. Whew, that was a lot of work! Spend the next week or two eating junk again, until I decide I should cook something. (repeat) Very similar to the comic; sometimes I too let the leftovers go bad (usually not). And every time I rack up a huge bill at the supermarket and think to myself it's justified because of the leftovers or the amount of food. Not to mention, that's a lot of work for just a couple of meals, and a long list of ingredients. I love cooking fresh meals but that's just so much overhead and so time consuming! So I always resort back to Easy Mac, Ramen, frozen dinners and frozen pizza. Yuck. How can I escape this cycle and cut down on the overhead? How can I focus on more than 2 recipes at a time without buying giant lists of ingredients and spending tons of money? Is it really worth the trouble or should I just chock it up to being a college student and wonder about the years ahead of me where I'll have much more time to spend cooking one meal at a time?",
"future or present with when",
"Homology Groups of $S^n$",
"Virtualbox Windows 10 Guest installation is freezing up in 14.04 I've installed VirtualBox using the Software Centre and I'm running a system on Ubuntu 14.04 with 8gb RAM, 64-bit dual core processor. I want to run Windows 10, I've tried both 64 and 32 bit versions, in virtualbox. However, every time I start up windows 10 it gets to the point where the dots go round in a circle, then it freezes up and crashes back to the virtualbox manager. The only information it gives me is that the virtual machine was aborted. I've changed the settings around a lot and nothing is working. Any help would be appreciated. Oh, and I've run Windows 10 technical preview on this machine before, a while ago Thanks for any help in advance.",
"$R^2$ of 1 but RMSE > 0",
"Let $a\\ge1$ and define the sequence $(x_n)$ recursively by: $$x_1 = \\sqrt{a}$$ $$x_{n+1}= \\sqrt{a+x_n}$$ Here's what I did: Plugging in some values makes it seem as if the sequence is increasing. I first solve the equation $t=\\sqrt{a+t}$, equivalently $t^2 -t -a =0$, to get an idea what's going on. The roots are $$t_{1,2}= \\frac{1 \\pm \\sqrt{1+4a} }{2}.$$ Therefore, between the roots, that is for $$t\\in \\left( \\frac{1 - \\sqrt{1+4a} }{2}, \\frac{1 + \\sqrt{1+4a} }{2}\\right)$$ we have $t^2-t-a \\le 0 \\iff t \\le \\sqrt{a+t}$. Here's my attempt at showing inductively that $$\\forall n\\in \\mathbb{N}, \\ x_n \\le \\frac{1 + \\sqrt{1+4a} }{2}$$ For $n=1$, the statement is true (simple arithmetic). Suppose it's true for $n$. Consider $$x_{n+1}= \\sqrt{a+x_n}\\le \\sqrt{a+\\frac{1 + \\sqrt{1+4a} }{2}}=\\frac{1 + \\sqrt{1+4a} }{2},$$ because $\\frac{1 + \\sqrt{1+4a} }{2}$ satisfies $x=\\sqrt{x+a}$. So this establishes the sequence $(x_n)$ is bounded. Now, by induction again, I try to show it's monotonically increasing. The base case $x_1\\le x_2$ is obvious. Assume (strong induction) $x_{n-1}\\le x_n$ for all $n>1$. But since we have $$x_1\\le x_n \\le \\frac{1 + \\sqrt{1+4a} }{2}, $$ then $x_n$ lies in the appropriate interval, so $x_n \\le \\sqrt{a+x_n}=x_{n+1}.$ Is this proof correct? Can the condition on $a$ be relaxed to $a>0$? Maybe even small negative $a$? And could someone provide me with another proof of convergence of $x_n$? I absolutely hate this one!",
"I've had a promising Skype interview with a great professor from a top-level university in US. Our research interests are closely related and he encouraged me to apply BUT he says that all decisions are finally made by admission committee there. The question is \"Is a professor in such a high-level university able to affect admission committee if he really wants a student?\" or \"Does admission committee decision-making process become easier if a professor really wants an applicant?\" The main point is the difference between my transcript (which is a real catastrophe!) and my research background which is pretty good so the professor's decision might be different from admission committee.",
"How can I take a picture with my webcam in Windows 7? I know it existed as sort of a folder in Windows Explorer in at least Windows XP, but I just can't seem to find it in Windows 7... How can I take a picture with my webcam in Windows 7 without using any 3rd party tools?",
"Intuitive explanation of variance and moment in Probability While I understand the intuition behind expectation, I don't really understand the meaning of variance and moment. What is a good way to think of those two terms?",
"Remove ajax call from regular links with jQuery Mobile",
"Extend or remove Data Explorer timeout I know that we don't have automatic login for the Data Explorer, but what's with the automatic timeout/logout? There have been times that I am logged into the site, maybe I walk away for a little bit, and I come back to being logged out. Is there a reason for logging us out of Data Explorer? If so, is it possible to either remove the timeout or extend the period of time before timeout?",
"How do I make my program watch for file modification in C++?",
"I have just updated Windows 7 to Windows 10. My touchpad scolling (right-side) is not working anymore. I have no idea how to fix this in Windows 10. I have hit the start button and typed \"synaptic\", but have found nothing useful. I used to have an icon on the taskbar that showed where I was touching the touchpad. I used to be able to right-click that icon to change settings, but Windows 10 has not brought that icon over. Also, the asus website has no synaptic touchpad drivers available for Windows 10. I have tried the enaltech drivers, but upon the installation atempt I am told that my hardware is not correct.",
"Windows & Ubuntu dual boot.No menu to choose OS? I just installed Ubuntu alongside Windows 7. Now I cant boot Windows 7 because it automaticaly boots Ubuntu without displaying boot menu. How can I get menu with options to choose which Os to boot? Can anyone help?",
"Why Do Jedi Use One Lightsaber in Combat? While I've seen Ahsoko Tano, in The Clone Wars, fight with two lightsabers (one in each hand), this seems to be extremely rare for Jedi. We've seen Sith do this frequently, like Asajj Ventress, with two lightsabers. Darth Maul used a dual lightsaber against Qui-Gon Jinn and Obi-Wan Kenobi and then there's General Grievous, who uses multiple lightsabers with his multiple limbs. But most Jedi use just one blade, and their lightsaber hilts tend to be simple, just a straight cylinder without much adornment, while Sith sometimes use curved grips or other more exotic stylings. Is there a reason Jedi stick with the simplest lightsaber designs and why the vast majority (at least in the movies and in The Clone Wars series) use only a single lightsaber?",
"LuaLaTeX, TeXLive 2016, standalone: undefined control sequence"
]
| medi_sts_stackexchange_dupe |
Words that mean ''to inadvertently say something'' | Words that mean ''to say something unintentional'' | [
"How to choose a lens for my first DSLR? I am considering buying my first DSLR. How do I know whether I need a 18-200 lens, 17-85, or 18-55? Or something else?",
"Cross-referencing problem if counter of theorem-like environments is shared The problem is when i share numbering the \\cref can't show name, even by \\crefname and \\autoref show all name Equation. Here is an MWE: %&latex \\documentclass{amsart} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % If you want to insert other packages. Insert them here \\usepackage{amsthm} \\usepackage{hyperref} \\usepackage[nameinlink]{cleveref} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \\begin{document} \\numberwithin{equation}{section} \\newtheorem{The}[equation]{Theorem} \\crefname{The}{Theorem}{Theorems} \\newtheorem{Dfn}[equation]{Definition} \\newtheorem{Lem}[equation]{Lemma} \\newtheorem{Prs}[equation]{Proposition} \\newtheorem{Crl}[equation]{Corollary} \\newtheorem{Rmk}[equation]{Remark} \\begin{The}\\label{T1} Assume ... \\end{The} ... \\begin{Dfn}\\label{D1} Assume ... \\end{Dfn} ... \\begin{Lem}\\label{L1} Assume ... \\end{Lem} ... \\begin{Prs}\\label{P1} Assume ... \\end{Prs} ... \\begin{Crl}\\label{C1} Assume ... \\end{Crl} ... \\begin{Rmk}\\label{R1} Assume ... \\end{Rmk} \\begin{equation}\\label{E1} Assume ... \\bigskip \\end{equation} \\noindent \\cref{T1} \\\\ \\cref{D1} \\\\ \\cref{L1} \\\\ \\cref{P1} \\\\ \\cref{C1} \\\\ \\cref{R1} \\\\ \\cref{E1} \\\\ \\noindent \\autoref{T1} \\\\ \\autoref{D1} \\\\ \\autoref{L1} \\\\ \\autoref{P1} \\\\ \\autoref{C1} \\\\ \\autoref{R1} \\\\ \\autoref{E1} \\\\ \\end{document} How can I solve it?",
"Uk tourist visa - duration of stay My mother is given a UK tourist visa for 2 years with a duration of stay as 180 days. It is a c type multiple entry visa. Is this 180 days is the total stay she can take or is it duration of stay per visit. Thanks in advance for your reply.",
"Welcome back message suggests to upvote questions and answers even when questions are locked I just opened a URL to a question on programmers.SE and got the message: But the question was locked, so I couldn't do what it asked me to do. I consider this to be a very minor edge case bug and it's likely not worth investing developer time into it. But since this I guess it's worth reporting even if it's just for making you aware of it.",
"HP laptop F1-12 keys inverted with Fn I recently bought an HP laptop. I'm pleased with it, save for one thing. All the F1-12 keys are inverted. I mean the following: All the F-keys have a symbol on it. Normally you would press Fn + your to use it. On this laptop, it's reversed. The symbol is what you get when you press the button normally and you have to press Fn + F-key to get the usual action. So, if I want to refresh a webpage, instead of just F5, I have to do Fn + F5 I want to change this to regular behavior. Anybody know how I can do this? Running Win7 Home premium, 64-bit.",
"Is there a term for an issue or activity that occurs only until the moment that you ask someone else to watch? Is there a term for the coincidence that occurs when an issue ONLY occurs until the moment that you ask someone else to watch or help you resolve it? For example, having an issue with software until you try to show someone, then it stops being problematic. Or an issue with the computer/phone that resolves as soon as a help ticket is put in. The final example is when you have a problem with your car (funny noise, etc) - you hesitate taking it in for weeks because you know it will disappear as soon as the mechanic drives it...then it does. This is different than a , where the action of applying a debugger, for example, changes the behavior of the activity being watched. It's also different from a 'works on my machine' scenario, where only the original user has the problem. What is it called when a problem resolves itself just by the mention of it? Jinxing the issue? :) I see this every day supporting my software product -- the users are experienced and are not making mistakes at one time then doing something different when I watch. The problems also truly resolve (coincidentally) as soon as they ask for help - they do not reoccur. I guess it's a case of synchronicity?",
"How to reverse PCA and reconstruct original variables from several principal components? Principal component analysis (PCA) can be used for dimensionality reduction. After such dimensionality reduction is performed, how can one approximately reconstruct the original variables/features from a small number of principal components? Alternatively, how can one remove or discard several principal components from the data? In other words, how to reverse PCA? Given that PCA is closely related to singular value decomposition (SVD), the same question can be asked as follows: how to reverse SVD?",
"Substitute for onions and garlic I love the taste of onions and garlic and it seems lots of other people do too. But they upset my stomach so much that I can't really cook with them. What can I use in their place to give my food a similar flavour?",
"Using biblatex and Biber, I want my bibliography to say \"Ph.D. thesis\" (with periods) rather than \"PhD thesis\" (without). MWE: \\documentclass{article} \\usepackage{biblatex} \\addbibresource{refs.bib} \\begin{document} Hello \\cite{testphd} \\printbibliography \\end{document} and refs.bib: @thesis{testphd, title = {Thesis Title}, author = {Surname, Firstname}, date = {2010}, institution = {Faculty of X, University of Y}, type = {phdthesis}, location = {Somewhere}, } Output: What's the easiest way to do this? I don't want to change the .bib file ideally.",
"biblatex - issue number of journal in date I am building a bibliography using biblatex and biber (\\usepackage[backend=biber,minnames=2,backref,firstinits,sortcites]{biblatex}) with a lot of cited papers. Therefore I often have the case of a journal name, volume, issue, month and year, all necessary. Now the strange thing is, if I have a bibitem such as: @article{item, title = {Some Nice Scientific Title}, author = {Doe, Jane}, journal = {Important Journal}, volume = {50}, issue = {20}, pages = {1877--1879}, year = {1984}, month = {Jun}, publisher = {Important Society}, doi = {00.0000} } the bibliography looks like this: Can you spot it? The issue number 20 is in the brackets with the date. Now it looks like it is the day in the date. So, how do I get around this? Here's the full MWE: \\documentclass{scrartcl} \\usepackage[backend=biber,minnames=2,backref,firstinits,sortcites]{biblatex} \\usepackage{filecontents} \\begin{filecontents}{item.bib} @article{item, title = {Some Nice Scientific Title}, author = {Doe, Jane}, journal = {Important Journal}, volume = {50}, issue = {20}, pages = {1877--1879}, year = {1984}, month = {Jun}, publisher = {Important Society}, doi = {00.0000} } \\end{filecontents} \\addbibresource{item.bib} \\begin{document} \\printbibliography[title = {References},heading=bibintoc] \\nocite{*} \\end{document}",
"How are connections differentiated from behind NAT routers?",
"How can I play sound in Java? I want to be able to play sound files in my program. Where should I look?",
"Unable to format internal drive as APFS on 2018 MacBook Pro I’ve recently ran a semi-routine clean install on my 2018 MacBook Pro. This involves the following steps (in the given order): Creating a USB installer with the latest macOS Mojave 10.14.2. Booting into the USB (Pressing Option key on boot). Using the Disk Utility, erasing the Disk and formatting it as APFS with a GPT Partition scheme. Using the Terminal, unmounting the disk diskutil unmountDisk disk0, where disk0 is the internal NVME drive. Using the Terminal, running gpt destroy disk0 where disk0. Using the Terminal, running diskutil zeroDisk disk0. Once that process is complete, I use the Disk Utility application to reformat as APFS, and install macOS. Nothing super crazy, maybe a little redundant in steps, maybe a little overkill, maybe a little unnecessary. Recently, however, on the final step where I format it as a APFS drive, it fails in creating the APFS container and says Internal State Error. It appears to first format as Mac OS Extended (Journaled) then create an APFS container, then add a APFS Volume. It fails when adding a Volume with An internal error occurred. I have tried many things, including: Securely erasing the drive diskutil secureErase 0 disk0. Simply zeroing the disk again diskutil zeroDisk disk0 (I’m not sure what the actual difference between these two are). Reformatting the drive as other things, such as ExFAT / FAT / MacOS Journaled, then trying to format as APFS. Reformatting the drive through the command line instead: diskutil eraseDisk JHFS+ NAME disk0 → diskutil apfs createContainer /dev/disk0s2 → diskutil apfs addVolume disk0s2 APFS NAME (It fails here with Error starting APFS Container creation: The given disk is not an APFS Container Reference (-69630), even though I just made a container there. Also, trying to add a volume to where it actually made the container (i don't know what it does this) diskutil apfs addVolume disk24 APFS NAME also fails with Error: -69624: Unable to add a new APFS Volume to an APFS Container Reformatting the drive using this: diskutil eraseDisk APFS NAME disk0 Restarting and trying these again. Using a different installer than the USB (The one from Command + R, Command + Shift + R, and whatever the other combo is), and trying these again. All end up at the same thing - the final step fails. I would expect especially after a secure wipe that the drive would be removed from whatever state it was put in, or that if it was a bug with the 10.14.2 installer, that it still wouldn’t happen again in the High Sierra installer. In Disk Utility, I’m left with the following structure: - APPLE SSD AP(...) // “Container disk24” takes up all space - Container disk24 // or some other number. “Used” is 207.2MB and “Free” is 1TB. Please note even though I can format as JHFS+, it won’t let me install the OS to such a formatted volume. The installer tells me this computer forces me to only install on APFS formatted volumes. Any direction is greatly appreciated. I have never had such a silly problem before. Also, note that I have no Time Machine backup.",
"Can you attack with different weapons using Extra Attack?",
"Repeating (or not) \"to\" in a sentence involving infinitives set in parallel I googled it but I couldn't find the answer... maybe I didn't seek it in the proper way. My question is if "to" must be repeated in sentences such as the following ones: In the past, women used to do the housework and to take care of children. The aim of this meeting is to control their progress and to discuss the new working plan. If I had to bet, I would omit the second to... But I am not sure about it.",
"Regular Expressions: Is there an AND operator?",
"Why is the Apps flash storage so high and how can it be reduced? This is the disk storage info: This is the Applications folder info: Why is the storage usage so high and how can it be reduced? This is on a MacBook Pro Retina 13\" with OSX 10.9.5. Edit: I had tried all the suggestions made by @user3439894 in his answer but didn't mention it before posting.",
"I am trying to draw a partial box around one or more words within a paragraph--that is, a rectangle with one or more sides missing. I have read the documentation for the fancybox package and it doesn't seem to be able to do what I want. I was able to produce thus ugly hack: That's just a vertical bar | followed by a word with \\overline and \\uline. The trick is to connect the vertical and horizontal lines so that you have a rectangle missing just one side. Is there an easy, general way to do this, perhaps with Tikz? I don't know enough about that package to be able to do this myself, but I'm wondering if there might be other solutions too.",
"How do I summon a named mob? In Java Edition, I can name a mob by using NBT tags like this: /summon zombie ~ ~ ~ {CustomName:'{"text":"TheUndead"}'} But in Bedrock Edition, I've heard NBT is not accessible from commands. What can I do to summon a mob with a custom name tag using the /summon command?",
"Why do stars flicker? Why do stars flicker and planets don't? At least this is what I've read online and seen on the night sky. I've heard that it has to do something with the fact that stars emit light and planets reflect it. But I don't get it, isn't this light, just \"light\"? What happens to the reflected light that it doesn't flicker anymore? I was thinking that it has to do something with Earth's atmosphere, different temperatures or something (if this has any role at all)."
]
| medi_sts_stackexchange_dupe |
Start Foobar2000 with the play key | How to associate multimedia keys to Foobar2000? | [
"A lot of textbooks and exam boards claim that light incident at exactly the critical angle is transmitted along the media boundary (i.e. at right-angles to the normal), but this seems to violate the principle of reversibility in classical physics. How would a photon or ray travelling in the reverse direction \"know\" when to enter the higher refracting medium? It can't know, so I conclude that such light is simply reflected? Is this correct?",
"What's the canonical way to check for type in Python?",
"Why doesn't a commutator cause the rotation to reverse periodically or stop? I understand the field magnets attracting/repelling the armature/coil so that it turns one half-turn and then, because the commutator is turned, its contact with the brushes has switched sides, and the current goes in the opposite direction, reversing the electromagnetic polarity. Then, because the polarity is swapped, it attracts/repels to complete the second half-turn. The thing is, isn't it a bit of a gamble that it will turn in the same direction? Couldn't the it just be pulled/pushed back, more or less undoing the half-turn? I'm also a bit confused how the rotation doesn't just stop once the commutator is oriented so that the brushes are contacting both sides of the commutator. In other words, there's a brief period just as the commutator switches the current directions where each both the brushes are in contact with both sides of the commutator where the current is neutralized. Shouldn't this stop the motor? For reference, I'm just talking about a simple DC motor.",
"I want to install Skype, but I can't locate it in Software Center or by using Synaptic Package Manager. Can anyone help me?",
"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",
"Can there be a function that's even and odd at the same time?",
"If $x$ and $y$ are irrational, is $x + y$ irrational? Is $x - y$ irrational?",
"Named parameters in JDBC",
"Why does exclamation mark within double quotes cause a Bash error? Please look at these commands: $ notify-send SYNC TIME! $ notify-send 'SYNC TIME!' $ notify-send \"SYNC TIME!\" bash: !\": event not found $ The first two commands produce a notification bubble as expected. The third gives the error shown. and $ echo SYNC TIME! SYNC TIME! $ echo 'SYNC TIME!' SYNC TIME! $ echo \"SYNC TIME!\" bash: !\": event not found $ Here as well, the echo works for first two commands but not in the third. More problems here (although I was not planning on using this): both notify-send \"SYNC!TIME\" and echo \"SYNC!TIME\" give bash: !TIME\": event not found. But both notify-send and echo work with \"SYNC! TIME\" Can someone please explain why the bash: !\": event not found error appears?",
"When to use a linked list over an array/array list? I use a lot of lists and arrays but I have yet to come across a scenario in which the array list couldn't be used just as easily as, if not easier than, the linked list. I was hoping someone could give me some examples of when the linked list is notably better.",
"Why there is \"the\" before some names but not others Is there a rule beyond the common \"no the with proper nouns and names\" for the following problem? I saw the Empire State Building. We went to the White House. We saw the Golden Gate Bridge. but I went to Death Valley National Park. I crossed Brooklyn Bridge.",
"How do I find the right size of filters for a lens? I was looking to get a circular polarizing filter and an UV filter for my Canon 550D, 18-135mm lens. When I checked online I found these filters came in different sizes, like 62mm, 67mm, 72mm, 77mm. How do I know which is right? Also, will there be any degradation of photo quality if I put both these filters on the lens?",
"Solenoid Driving Circuit I'm trying to drive a 12v (14W) solenoid and have problems figuring out the components for the driving circuit. The solenoid draws about 1.166A and the MCU is being operated at 3.3V. I've seen many driving circuits and they all look something like this: – Schematic created using My questions: What datasheet parameters should I look for when designing this circuit? Is the IRF530PBF-ND a suitable MOSFET for driving this solenoid? Also, how do I calculate R1's value? I don't want to blindingly copy a circuit that may or may not work, I want to understand it. Thank you so much in advance!",
"Switching baselayers as user zooms in to map in OpenLayers?",
"Elements of $\\mathbb Q(2^{1/3})$",
"Is there some way to get explorer to generate thumbnails without actually having to navigate and scroll through every folder? All I could get was a command prompt script that would load an explorer window for all subfolders, however only images that were visible would have thumbnails created.",
"$\\lim_{n\\to\\infty}a_nb_n=? $ given that $\\lim_{n\\to\\infty}a_n=0$ and $\\lim_{n\\to\\infty}b_n=\\infty$ A. $\\lim_{n\\to\\infty}a_nb_n=?$ given that $\\lim_{n\\to\\infty}a_n=0$ and $ \\lim_{n\\to\\infty}b_n=\\infty$ B. $\\lim_{n\\to\\infty}{a_n \\over b_n}=?$ given that $\\lim_{n\\to\\infty}a_n=0$ and $\\lim_{n\\to\\infty}b_n=0$ C. $\\lim_{n\\to\\infty}{a_n \\over b_n}=?$ given that $\\lim_{n\\to\\infty}a_n=\\infty$ and $\\lim_{n\\to\\infty}b_n= \\infty$ These seem to be difficult situations I come across when I have to evaluate limits. Some examples, $\\lim_{n\\to\\infty}n^a\\sin(1/n^b)$ with $a,b>1$ $\\lim_{n\\to\\infty}{n^a\\over \\sin(1/n^b)}$ with $a,b>1$ $\\lim_{n\\to\\infty}{1/n^a\\over \\sin(1/n^b)}$ with $a,b>1$ $\\lim_{n\\to\\infty} nf(x_n)$ [where we only know that $\\lim \\ f(x_n) = 0]$ My first question is : Are the two situations A and B equivalent ? I feel that they are equivalent as $\\lim_{n\\to\\infty}b_n=\\infty \\iff \\lim_{n\\to\\infty}{1\\over b_n}=0$, The problem is that I'm not sure if we can apply the product rule for limits to take the limit inside. My second question is : What are some ways to solve such problems ? I only know that we can apply stolz- cesaro in some cases.",
"How do I move Steam games to a new computer without re-downloading them? I have just bought a new computer and I have everything migrated over except for my Steam games. I looked in Program Files/Steam/ and I found a folder full of the games I have downloaded, but I do not know if it is safe to just copy these folders from one computer to another (seeing as a lot of other applications will not work if you do this), or is there another recommended way? I don't really feel like re-downloading all my games. I don't have the time nor bandwidth to download 20GB over a 1.5mbps connection. Is it possible to contact Valve and get a disk with the games on it?",
"Fourier series of Log sine and Log cos",
"Why are continuous functions the \"right\" morphisms between topological spaces?"
]
| medi_sts_stackexchange_dupe |
Why did Kattappa kill Baahubali | Why did Kattappa kill Baahubali? | [
"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).",
"Open Mapping Theorem: counterexample The Open Mapping Theorem says that a linear continuous surjection between Banach spaces is an open mapping. I am writing some lecture notes on the Open Mapping Theorem. I guess it would be nice to have some counterexamples. After all, how can you appreciate it's meaning without a nice counterexample showing how the conclusion could fail and why the conclusion is not obvious at all. Let $\\ell^1 \\subset \\mathbb{R}^\\infty$ be the set of sequences $(a_1, a_2, \\dotsc)$, such that $\\sum |a_j| < \\infty$. If we consider the $\\ell^1$ norm $\\|\\cdot\\|_1$ and the supremum norm $\\|\\cdot\\|_s$, then, $(\\ell^1, \\|\\cdot\\|_1)$ is complete, while $(\\ell^1, \\|\\cdot\\|_s)$ is not complete. In this case, the identity $$ \\begin{array}{rrcl} \\mathrm{id}:& (\\ell^1, \\|\\cdot\\|_1)& \\to &(\\ell^1, \\|\\cdot\\|_s) \\\\ & x & \\mapsto & x \\end{array} $$ is a continuous bijection but it is not open. I want a counterexample in the opposite direction. That is, I want a linear continuous bijection $T: E \\to F$ between normed spaces $E$ and $F$ such that $F$ is Banach but $T$ is not open. This is equivalent to finding a vector space $E$ with non-equivalent norms $\\|\\cdot\\|_c$ and $\\|\\cdot\\|_n$, such that $E$ is complete when considered the norm $\\|\\cdot\\|_c$, and such that $$ \\|\\cdot\\|_c \\leq \\|\\cdot\\|_n. $$ The Open Mapping Theorem implies that $\\|\\cdot\\|_n$ is not complete. So, is anyone aware of such a counterexample?",
"I am trying to run a function from in ArcMap 10.1; Sink evaluation. But before it can finish it returns an error message, that, frankly, I don't understand at all. It goes System.runtime.interopservices.comexception (0x80004005): error hresult e_fail . Can anyone help me solve this? I have tried all I can think of. Run the function from the toolbox instead of dropdown menus, shorten paths, restart ArcMap, reinstall AHT, open new map documents, restart my computer, wait till next day and see if it automagically have fixed itself... After searching this forum I found a , although it's got no answers. Now I'm all out of ideas, can anyone please help me?! I'm using ArcMap 10.1 SP1 basic license and Windows 7. I think I have narrowed it down a bit, still not clear what's wrong though. Sink evaluation uses a series of functions in Arcmap, of which one is Zonal statistics as table. That's the one it gets stuck on. The input raster somehow does not exist, path unknown. I guess this is some intermediary raster. After consulting the Arc Hydro team, I got the advice not to use grids stored in a gdb (which I didn't). I have also tried to change target locations, thanks to @G.Oxsen. Unfortunately neither of those solved the issue. According to the Arc Hydro team, GPL0 that I asked about earlier is an in-memory grid, so probably no problem there. I am currently pursuing that it is related to the installation of SP1. Anyone out there using AHT with SP1 and got Sink evaluation working? Uninstalling SP1 did not change anything, unfortunately. Still working on this, but with less intensity. Seems like I'll have to find workarounds... By reducing the number of sinks in need of processing I managed to get Sink evaluation running. Having the files not stored in a gdb seem to help as well, as mentioned earlier, and using integer grids. Changing the \"Maximum number of unique values to render\" in ArcMap Options (Customize menu), tab Raster --> Raster dataset is another tip that I got (from the Arc Hydro Team). Restarting ArcMap after running every one or two functions also helps keeping things stable.",
"Does walking fast prevent eggs hatching? I have a couple of eggs that I've picked up from some Pokestops (I'm lucky enough to live above one). I walk a lot. I get to work through a 2 mile walk / train journey every day, so I should be picking up loads of steps for the eggs I have. However, because I'm normally always running late... for everything, I have to rush everywhere, so I walk at an above average pace. Today I've walked around 5 miles, but the game has registered 100 metres. Is this because I walk too fast, or because of something else? It's worth pointing out that I have the app open when walking... mostly because I have to catch them all. (This made me miss a train this morning... luckily I was early :D)",
"I recently traveled from India to USA. I am on H1B. I entered USA on 29th December 2016. As my Visa extension is due in August 2017, I was gathering documents for Visa Extension. It was required to provide a scanned copy of passport page with all entry and exit stamps. Myself and my wife both travelled back from India. My wife's passport has a entry stamp with date as 29th December 2016. But the same is missing from my passport. I guess the officer missed putting the entry stamp on my passport. My I 94 reflects the correct date of entry as 29th December. Somehow I still have my boarding pass from this trip (usually I throw them once trip is complete). Want to know what could be implications of missing entry stamp when I travel to India next time (somewhere towards early next year)? Does this impact my H1B Visa extension ? Also what can I do to correct this information on my passport?",
"Qualcomm Atheros AR9462 with Ubuntu 18.10 I can't enable the Wifi (nothing happens when press enable button) and in Wifi settings it says: \"No Wi-Fi Adapter Found\" I have tried several things from other questions/answers here but nothing worked. Here some information if this is helpful for the answer: Device: Lenovo Miix 2 11 sudo lspci: Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01) sudo lshw -C network: *-network DISABLED description: Wireless interface product: AR9462 Wireless Network Adapter vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:02:00.0 logical name: wlp2s0 version: 01 serial: 48:d2:24:8a:ea:e6 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=4.18.0-16-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11 resources: irq:18 memory:f0400000-f047ffff memory:f0480000-f048ffff sudo lsmod | grep ath: ath3k 20480 0 bluetooth 548864 12 btrtl,btintel,btbcm,bnep,ath3k,btusb ath9k 151552 0 ath9k_common 36864 1 ath9k ath9k_hw 475136 2 ath9k_common,ath9k ath 36864 3 ath9k_common,ath9k,ath9k_hw mac80211 794624 1 ath9k cfg80211 663552 5 wl,ath9k_common,ath9k,ath,mac80211 In system settings it shows the Wifi-Adapter Name: Qualcomm Atheros AR9462 Edit: lspci -knn | grep Net -A3; rfkill list: 02:00.0 Network controller [0280]: Qualcomm Atheros AR9462 Wireless Network Adapter [168c:0034] (rev 01) Subsystem: Lenovo AR9462 Wireless Network Adapter [17aa:3214] Kernel driver in use: ath9k Kernel modules: ath9k, wl 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: ideapad_wlan: Wireless LAN Soft blocked: no Hard blocked: yes 2: ideapad_bluetooth: Bluetooth Soft blocked: yes Hard blocked: yes",
"Usage of -n and -z in test built in - Bash",
"ZF: Difference between POW and SEP?",
"\"Thus\" vs. \"Thusly\" I read an article that used \"thusly\" and was wondering if there is any grammatical credence to it. The : The issue started when Sokolowski quickly ran out of storage capacity in his 32GB Surface after adding media files. After poking around, he realized that while the device has a 32GB drive, only 16GB of that capacity is available for users’ data. Thusly Microsoft is being sued for false advertisement, with the suit seeking class action status. Is thusly an outmoded form of thus, or does it have a different meaning altogether?",
"Usage in sentence: Person A: Ooh - look at that crow! Person B: Well, actually, as someone who is a scientist who studies crows, I am telling you, specifically, in science, no one calls jackdaws crows. They're not the same thing. If you're saying \"crow family\" you're referring to the taxonomic grouping of Corvidae, which includes things from nutcrackers to blue jays to ravens. It's not one or the other, that's not how taxonomy works. Person A: Are you always such an XXX? \"Pedant\" is close, but not quite. It would be a mix of \"know-it-all\", \"condescending\" and \"arrogant\".",
"How to drive multiple LEDs from a Li-ion battery (with varying voltage)?",
"How to see download count of an Android app on Google Play store?",
"Where can I safely store my stuff? I'd like to find a place to store stuff while I'm out adventuring, without spending 5000 on a house (at least, until I can afford that...). Where can I safely store items without worrying about them disappearing? There are two possible places that come to mind, (to which I have the key and was told I could stay), and the small bedroom given to me at the (which I was told was mine, despite seeing J'zaro sitting in it later). Can I store items safely in either of these places?",
"Grep: unexpected results when searching for words in heading from man page I'm running into weird behavior when trying to grep a man page on macOS. For example, the Bash man page clearly has an occurrence of the string NAME: $ man bash | head -5 | tail -1 NAME And if I grep for name I do get results, but if I grep for NAME I don't: $ man bash | grep 'NAME' $ man bash | grep NAME I've tried other uppercase words that I know are in there, and searching for SHELL yields nothing whereas searching for BASH yields results. What's going on here? Update: Thanks for all the answers! I thought it worth adding the context in which I ran into this. I wanted to write a bash function to wrap man and in cases where I've tried to look up the man page for a shell builtin, jump to the relevant section of the Bash man page. There might be a better way, but here's what I've got currently: man () { case \"$(type -t \"$1\")\" in builtin) local pattern=\"^ *$1\" if bashdoc_match \"$pattern \\+[-[]\"; then command man bash | less --pattern=\"$pattern +[-[]\" elif bashdoc_match \"$pattern\\b\"; then command man bash | less --pattern=\"$pattern[[:>:]]\" else command man bash fi ;; keyword) command man bash | less --hilite-search --pattern='^SHELL GRAMMAR$' ;; *) command man \"$@\" ;; esac } bashdoc_match() { command man bash | col -b | grep -l \"$1\" > /dev/null }",
"How do I enforce a password complexity policy?",
"Easiest way to sort DOM nodes? If I have a list like this: <ul id=\"mylist\"> <li id=\"list-item1\">text 1</li> <li id=\"list-item2\">text 2</li> <li id=\"list-item3\">text 3</li> <li id=\"list-item4\">text 4</li> </ul> What's the easiest way to re-arrange the DOM nodes to my preference? (This needs to happen automatically when the page loads, the list-order preference is gained from a cookie) E.g. <ul id=\"mylist\"> <li id=\"list-item3\">text 3</li> <li id=\"list-item4\">text 4</li> <li id=\"list-item2\">text 2</li> <li id=\"list-item1\">text 1</li> </ul>",
"For only my index pages, I am receiving this warning in Google Search Console: Duplicate, submitted URL not selected as canonical I know that this occurs because Google is attempting to track both the default landing \"page\" (i.e. www.domain.example/) and the page to which to which DirectoryIndex points (i.e. www.domain.example/index.html). They are, in fact, the same page, and so the warning is the result of a false positive. Two questions for our community: Why does Google not conflate these and count them as a single page? Alternately, is there something wrong with my set up if this has happened? I can easily force both pages to point to a single canonical URL. But which is preferable, \"/\" or \"index.html\"?",
"What is the actual mechanism behind the reflection of various colored light by material of different color? When light (composed of photons with different frequency and wavelength) falls on a material, some of it gets absorbed and some get reflected depending upon the color of the material on which it strikes. And the material reflects the light of its own color only, thereby absorbing all the other colored light. So, my questions are: How would a photon with certain wavelength (say 400 nm) decide to get reflected after striking the material of red color? What is the actual mechanism behind the reflection of various colored light by the material of different color?",
"Why doesn't calling a Python string method do anything unless you assign its output?",
"How many syllables are in the word 'hour'? Does the word 'hour' have 1 or 2 syllables?"
]
| medi_sts_stackexchange_dupe |
A question about a solution to an ODE problem | Comparison theorem for ODE | [
"If my account is already a member of the administrator group why do some functions on Windows 7 require me to run them as administator? I kind of thought that was implied?",
"If you copy the contents of httpd.conf and then paste it into a cat command.. such as this one.. #!/bin/bash cat > /test << EOF pasted here.. EOF you run into this error: -bash: command substitution: line 1: unexpected EOF while looking for matching `'' -bash: command substitution: line 4: syntax error: unexpected end of file perhaps the solution is to escape the dollar signs and maybe even quotes and so on.. but given that this is such a large file.. can dollar signs be automatically be escaped ? is my only option to escape them via another program and then give it to the cat command ?",
"How to know if Mac OS X machine is being remotely viewed?",
"Compute the (multiplicative) inverse of $4x+3$ in the field $\\frac {\\Bbb F_{11}[x]}{\\langle x^2+1 \\rangle}$? So I am finding a polynomial $px+q$ ($p,q \\in \\Bbb F_{11}$) which is multiplicative inverse of $4x+3$ in $\\frac {\\Bbb F_{11}[x]}{\\langle x^2+1 \\rangle}$. i.e. $[(4x+3)+\\langle x^2+1 \\rangle][(px+q)+\\langle x^2+1 \\rangle]=1+\\langle x^2+1 \\rangle$ $\\Rightarrow$ $(4x+3)(px+q)+\\langle x^2+1 \\rangle=1+\\langle x^2+1 \\rangle$ $\\Rightarrow$ $4px^2+(4q+3p)x+3q+\\langle x^2+1 \\rangle=1+\\langle x^2+1 \\rangle$. We see that the remainder,when $(4x+3)(px+q)$ is divided by $x^2+1$, is $1$. So by Division algorithm, $$ \\require{enclose} \\begin{array}{r} 4p \\\\[-3pt] x^2+1 \\enclose{longdiv}{4px^2+(4q+3p)x+3q} \\\\[-3pt] \\underline{4px^2+4p} \\\\[-3pt] (4q+3p)x+(3q-4p) \\\\[-3pt] \\end{array} $$ So I equate $(4q+3p)x+(3q-4p)=1$ and solve the simultaneous linear equations $4q+3p=0, 3q-4p=1$. I get $p=6,q=1$ Hence $6x+1$ is the required inverse. I am pretty sure that the answer is correct but is the method to achieve it right?",
"Can we exempt downvoted accepted answers from getting the top spot?",
"Customize equation numbering for Equation environment? I want to manually label equation number ? For example I want to label this equation 3.1 instead of (1) which automatically pops up. Is it also possible in split environment as well or not ? \\begin{equation} \\log \\mu_{ijk}= \\lambda + \\lambda_i ^I + \\lambda_j ^J+\\lambda_k ^K+\\lambda_{ij} ^{IJ}+\\lambda_{ik} ^{IK}+\\lambda_{jk} ^{JK}+\\lambda_{ijk} ^{IJK} \\label{eq:3.1} \\end{equation}",
"LED light fixture glows when not turned on This past week at Menards I bought 2 Smart Electrician® 3650 Lumens 46\" LED Linkable Shop Light Model Number: 0053-0011 | Menards® SKU: 3481400. The LED shop light fixture has a glow to it. Looked like the LEDs were turned on, but not all the way. The power switch is turned off. Don’t know why I did this but I took one of those three prong adaptors converters to two prong and to my surprise the light fixture didn’t light up. I unplug the cord with the adaptor and turned it around and it still didn’t light up. The power supply electronics inside the light fixture must be using the earth ground wire somehow. Using my volt meter. I measured to earth ground to the green wire that comes out of the adaptor and to my surprise depending how I plug in the adaptor. I’m getting 112 volts AC. That's because the adaptor isn't keyed and I'm switching the HOT and NEUTRAL around depending how I plug it in. I connected the LED light fixture to “Safety Analyzer tester”. When I press the “Open Ground” button, the fixture stops glowing (lightly lite LED’s). Looks like the power supply circuit inside the fixture has a connection to “Earth Ground”. I then switched the “Normal” on the polarity switch to “Reverse” and the LED’s were off. Switching the Neutral to open position has no effect. I'm thinking of taking them apart and see inside what's going on or take them back. I figured out the problem. In this light fixture you can clearly see the white wire (neutral/common) is connected to the light switch, turning the power off the LED light strip. Commonly we switch off the “HOT” to your light socket so when you change your bulb you have a less of a chance of getting electrocuted (that’s another story for later). Sometimes in Power supply circuits they place capacitors in there to help filter electrical noise out. Also known as suppressers (electronics to reduce unwanted noise or oscillation in a circuit or unwanted frequencies in a signal). Depending on how or where they are placed in the circuit it could possible cause some issue if not installed correctly or if the circuit isn’t designed correctly. Since the BLACK live wire is connected to the LED PCB all the time, anything connected to that line will potentially be LIVE voltage, that way when I disconnected the earth ground from the socket and measured 112 volts on it. My guess is they have capacitors connected to both LIVE and NEUTRAL to the earth ground wire. The current is flowing through capacitor C2, just enough to turn the LED’s on slightly. If the switch was on the hot side, this problem wouldn’t be happening. I still may use them just not connect the “earth ground” wire. Because that’s providing the return path for lighting the LED’s.",
"I would appreciate it if someone could refer me to a proof (or simply give one here) for the statement in the title. That is: If $k<n$, then every $k-$dimensional subspace of $\\mathbb{R}^{n}$ has $n-$dimensional Lebesgue measure zero. I've seen some proofs that use Sard's lemma but I'm not really familiar with that subject and I've never seen a proof of said lemma so I'd appreciate a proof that doesn't use it if possible. Thanks in advance!",
"recursion-consecutive numbers what is the number of subsets of the set {k∈N|1≤k≤n} with no two consecutive numbers? The answer says: $$a_n=a_{n-1}+a_{n-2}$$ with the starting conditions: $$a_0=1, a_1=2$$1. why does $a_1=2$? $$$$ 2. How does this recursion was created, I understand that if $a_n$ mean all the places with no consecutive numbers so, $a_{n-1}$ come from the fact that after the first place all those places satisfy this condition, but why there is need to \"look\" at what happen after the two places?",
"Baryons have charges that are the result of a polynomial calculation of their building blocks (quarks)'s fractional charges. But what gives these quarks electric charges? What interactions do they have with photons? And what about leptons, like muons and electrons? How do they get their -1 charge? And then, how do positrons and anti-muons get +1 charge? Same goes for quarks: how does up-antiquarks get -2/3 charge? Or I may want to formulate my question this way: How does any elementary particle interact with the EM-Force to get an electric charge?",
"I am not a native English speaker, I usually hear “something caught my eye” but never “something caught (both) my eyes”. This seems pretty strange to me. Cambridge Dictionaries Online provide these examples but without any explanation (i) to get someone's attention: A sudden movement caught my eye. (ii) to get someone's attention, especially by looking at them: I tried to catch the waiter's eye, so we could order. (iii) to be attractive or different enough to be noticed by someone: It was the unusual colour of his jacket that caught my eye. Why is only one eye ‘caught”? Doesn't something catch our sight? We normally see with both eyes, not with one.",
"If $f: D(0,1)\\to \\mathbb C$ is holomorphic, then there is a sequence $\\{z_n\\}$ in $D(0,1)$ such that $|z_n| \\to 1$ and $\\{f(z_n)\\}$ is bounded",
"Prove $\\int_0^\\infty \\frac{\\sin^4x}{x^4}dx = \\frac{\\pi}{3}$",
"Are delphi variables initialized with a value by default?",
"In Shakespeare's Macbeth, the Third Witch says to Banquo: \"Thou shalt get kings, though thou be none\" (1.3.65); if I want to quote that line and write it in the third person singular, how should I conjugate the verbs \"shall\" and \"be\" correctly?",
"Prove that if $n \\in \\mathbb{N}$, then $\\sum_{d|n}{(d(n))^3}=(\\sum_{d|n}{d(n)})^2$ where $d(n)$ is the divisor function.",
"Sort by author in Alpha bibliography",
"Question on groups of order $pq$",
"How to disable all Vim-LaTeX mappings? 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.",
"How do I handle the window close event in Tkinter?"
]
| medi_sts_stackexchange_dupe |
Is there an equivalent OCI-COLLECTION in php for PDO? | Best way to do multi-row insert in Oracle? | [
"\"What have you tried\" epidemic Statistics () In Q1 of 2012 - 0.0134 such comments per question (~1.33%) In Q2 of 2012 - 0.0167 such comments per question (~1.66%) In Q3 of 2012 - 0.0169 such comments per question (~1.68%) In Q4 of 2012 - 0.0193 such comments per question (~1.92%) In Q1 of 2013 - 0.0223 such comments per question (~2.22%) The vast majority of these questions need serious help. Unfortunately, there is a growing trend towards abuse Along with the good, comes some bad -- as usual in life. These comments are bad when Posting "what have you tried" multiple times per question is severely obnoxious Posting "what have you tried" when the user has clearly shown that they have tried to solve it on their own It is becoming increasingly common to see "what have you tried?" comments in these scenarios. Some examples Workarounds Flagging Comments - It is considered a good thing to be liberal with comment flagging -- that helps us clean up after the fact. "Too Chatty" is a no-brainer here. Unfortunately, that only cleans up after the damage has been done. All signs point toward the continued increase of the trend of using "what have you tried" comments. I spend a lot of time editing and cleaning up bad questions. This trend came up on my radar toward the end of last year and it is getting worse. So, I thought at the very least that I'd raise some awareness.",
"Will reformatting my hard drive fix bad sectors on it?",
"For some reasons my brush stroke suddenly looks like this: As the picture showed, the edges are jagged and pixelated. It doesn't happen before and it's just one of the built-in inking brush. I know there are a lot of similar questions here but please don't mark this as duplicate. I double checked all the thing the other answers suggested: It's brush tool, not pencil, and my mode of brush and layer is Normal, not Dissolve. It's pixelated even if I draw with mouse so it's not tablet driver issue. I disabled GPU render but nothing changed. How do I fix this?",
"C# Compiler should give warning but doesn't?",
"Possible Duplicate: I have tried changing my proxy settings in a terminal as: export HTTP_PROXY=http://10.1.3.1:8080 and export http_proxy=http://10.1.3.1:8080 but when I try to install a new package or update apt-get, apt-get starts displaying messages from which it seems it is trying to connect to a previously set proxy: sudo apt-get update 0% [Connecting to 10.1.2.2 (10.1.2.2)] [Connecting to 10.1.2.2 (10.1.2.2) I have tried setting the proxy via bashrc file but that din work either. As far as I remember 10.1.2.2 was set using GNOME GUI but I don't have access to the GUI right now so I am trying to set it from terminal.",
"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).",
"Stack Exchange releases \"data dumps\" of all its publicly available content roughly every three months , and also makes that information queryable over the Internet at the (SEDE) (updated weekly, on Sunday). Over time, as new features and other bits of data are introduced to Stack Exchange sites, the \"anatomy\" of the data dump is likely to change.",
"What is a pull up and pull down? Can some one explain this terminology please I think I understand it but not completely sure. I think pull down is where you place a resistor between +V and the other component and pull up is where you place the resistor between 0v and the component. If I am completely wrong then let me know!",
"Why do you cast downvotes on answers? This is a question which started off with a , then turned into an , and now it's a question in its own right (as suggested by Jeff). I'm not sure where it could go from here :) It's obvious that different people cast downvotes for different reasons. (Upvotes are less controversial, generally.) Here are some possible reasons: Answer is wrong Answer is misleading (may be technically accurate, but will lead to readers making mistakes) Answer doesn't match the question (e.g. a C# answer to a question about Java) Answer doesn't really address the question, e.g. suggesting a completely different solution, even if the question specifies that there are good reasons why the current approach has to be followed Answer is okay, but not as good as another one which currently has fewer votes Answer appears to be plagiarised from existing answers. Answer is by someone I don't like. Answer is abusive (profanity, spam etc). No reason, I just felt like it. I'm a , and prefer down to up. Have you considered down? Ideological grounds: answer suggests a technology I don't like, or expresses a negative opinion of a technology I do like Personally I go with 1, 2 and 8 - although I'll add comments suggesting changes in various other situations. Have I missed anything? What do you do, and why? What are the net benefits (to you, the world in general, and the answerer) from your approach?",
"Okami is now reborn in High Definition for PS3. The graphics are obviously better, sharper and yet preserves the gist of the original game, however I can swear some of the texts have changed as well. My PS2 console is no longer available to me so I can't test it myself, but does anyone know whether there are any changes to the game (aside from graphics) or not?",
"This question was prompted by . Notoriously, if you calculate the Schwarzschild coordinate time for anything, matter or light, to reach the event horizon the result is infinite. This implies that the universe ages by an infinite time before someone falling into the black hole reaches the event horizon, so could that person see the universe age by an infinite time? To be more precise, suppose the observer starts falling from rest at time $t = 0$ and some initial distance $r > r_s$. If we wait for some time $T$ then shine a light ray at the falling observer. Will the light ray always reach the falling observer before they cross the event horizon? If not, what is the formula for the longest time $T$ that we can wait and still be sure the ray will catch the observer? If $T$ is not bounded it implies that observer could indeed see the end of the universe. I can think of a qualitative argument for an upper limit on $T$, but I'm not sure how sound my argument is. The proper time for the observer to fall to the event horizon is finite - call this $\\tau$. The proper time for the light ray to reach the horizon is zero, therefore the light ray will reach the observer before they cross the event horizon only if $T < \\tau$. Hence $T$ is bounded and the observer won't see the end of the universe. I think a more rigorous approach would be to determine the equations of motion (in the Schwarzschild coordinates) for the falling observer and the light ray, and then find the condition for the light to reach the falling observer at some distance $\\epsilon$ from the event horizon. Then take the limit as $\\epsilon \\rightarrow 0$. In principle this seems straightforward, but in practice the algebra rapidly defeated me. Even for a light ray the radial distance:time equation isn't closed form (Wolfram claims it needs the $W$ function) and for the falling observer the calculation is even harder.",
"I know that an easy to handle formula for the CDF of a normal distribution is somewhat missing, due to the complicated error function in it. However, I wonder if there is a a nice formula for $N(c_{-} \\leq x < c_{+}| \\mu, \\sigma^2)$. Or what the \"state of the art\" approximation for this problem might be.",
"Does \"apropos\" take a preposition? How do you use this word, anyway? Which is more correct: Apropos of your earlier comment, I decided to.... or Apropos your earlier comment, I decided to... Actually, apropos is so fancy a word, even I, a word maven if I do say so myself, am not entirely sure when to use it. If I may add to my preposition question, are there any constructions where it would be appropriate to use something like with regard to and not apropos?",
"Probability of first actor winning a \"first to roll seven with two dice\" contest? Two players P and Q take turns, in which they each roll two fair and independent dice. P rolls the dice first. The first player who gets a sum of seven wins the game. What is the probability that player P wins the game?",
"Let $ P(x)=x^8 - x^7 +x^2 -x +15 $, Descartes' Rule of Signs tells us that the polynomial has 4 positive real roots , but if we group the terms as $$ P(x)= x(x-1)(x^6+1) +15 $$ we find that $ P(x) $ does not have any positive roots. Where did I err ?",
"Is there a standard place for placing custom Linux scripts?",
"Let $A$ be a ring that is not a field and $M$, $N$ modules over $A$. What conditions on $M,N$ (and maybe also on $A$) guarantee that $\\operatorname{Hom}_A(M,N)$ is finitely generated? Is it enough to assume $M,N$ finitely generated?",
"Is this study stating red algae reduces cold virus by 92% believable? I was using this spray meant to hasten recovery from the common cold. , sponsored by the pharmaceutical company that produces the spray, stated it reduced virus by 92%, and so shortens the duration of the common cold. Meanwhile a doctor told me that these kinds of things don't work. Does someone have some perspective on this? Is this a believable study? Was it well designed, and has it been duplicated? If so, why wouldn't the pharmaceutical produced a certified and expensive drug instead of a no-prescription drug?",
"Properties vs Methods Quick question: When do you decide to use properties (in C#) and when do you decide to use methods? We are busy having this debate and have found some areas where it is debatable whether we should use a property or a method. One example is this: public void SetLabel(string text) { Label.Text = text; } In the example, Label is a control on a ASPX page. Is there a principle that can govern the decision (in this case) whether to make this a method or a property. I'll accept the answer that is most general and comprehensive, but that also touches on the example that I have given.",
"What is the best class or classes in 3.5e to build a character that uses both a sword and either arcane magic or psionics which can be fluffed as arcane magic and focuses on fighting powerful individual creatures? I have a foundness for those that can sling spell along with blade, like Dak'kon from Planescape: Torment. So, given that, how do I make the best Gishy character I can? Specifically, the group is looking for a character focused on delivering high damage or other debilitating effects to an individual target. There is no need to balance sword and magic, though I would prefer to have the melee abilities remain at least relevant through at least mid-levels. This question: is related. But I am specifically looking to optimize for high targeted damage output and have no need to balance between sword and spell if focusing on one is more effective. I have considered the duskblade and that may be the best answer, but as I have limited experience with 3.5 I want to find out if I should use a pure duskblade, a duskblade which steps into other classes, or some other class I have not considered. In this particular case, the characters will start at level 7, and equipment rules are liberal as long as the characters can afford it. I'm not sure how long this will last so I am focused on the next few levels instead of trying to plan all the way out to 20. It will be a party of 5. Not all of the rest of the characters have been fully fleshed out, but we will have a cleric and a wizard. The other two are more up in the air but they one is looking at various rogue classes and the other is looking at some sort of melee class, with this gishy rounding out the team. The initial encounter is up in the air, but there is a definite fondness for gryphons. We do know that we will be working up to dragon in relatively short order, which is a factor in wanting to focus on large damage output to individual creatures as opposed to being able to deal with numerous weaker creatures. The setting is \"modified Forgotten Realms\". I personally own absolutely no 3.5 books, but we have access to a fair bit and just about anything from WoTC is permitted. I am new to 3.5, but I have a fair bit of roleplaying experience including AD&D. Thematically, I envision the character as a generally honorable, but working as a monster hunter and mercenary. I definitely favor swords though specifically which sword is flexible. Dak'kon from Planescape would be an excellent example of what I would like to build, as would The Witcher. Based on Kryan's excellent answer, it seems to be leading up to using duskblade and a specialist wizard to lead into Abjurant Champion."
]
| medi_sts_stackexchange_dupe |
Index like layout with dates instead of page numbers | Index with exercise numbers | [
"Coordinating conjunction immediately followed by parenthetical — Is a comma needed or not? states: If a dependent clause, or an introductory phrase requiring to be set off by a comma, precedes the second independent clause, no comma is needed after the conjunction. Strunk's example illustrates the point: The situation is perilous, but if we are prepared to act promptly, there is still one chance of escape. However, I would be tempted to put a comma after the \"but,\" like this: The situation is perilous, but, if we are prepared to act promptly, there is still one chance of escape. So, I know you're thinking, \"Well, Strunk's Rules of Usage says that you're wrong. No comma.\" But is Rules of Usage really the best source? I'd like to see this rule in a more contemporary and authoritative source, like the Chicago Manual of Style. There are many instances — — where the comma is included before a parenthetical comment that comes after a coordinating conjunction. Any authoritative source on the issue?",
"Is there a way of conditionally triggering a compile-time error in verilog? I have a parameterised module in verilog, where the parameters are a clock rate and refresh rate, which is used to calculate how many cycles of inactivity are inserted between instances of a repeating operation. However, it is very easy to set parameters that cannot be attained (because the operation takes a non-trivial length of time, so the repeat would have to occur before it had completed), and at the moment the design does not give any feedback on this. I was wondering if there was some way I could trigger an error during synthesis (or compilation prior to simulation) if the conditions cannot be met (i.e. if one localparam is less than another)? Some equivalent of the popular C/C++ compile-time-assert hack, perhaps.",
"Qt signaling across threads, one is GUI thread?",
"I have a DisplayPort based monitor, and a laptop with a DP out. I recently got a second laptop with HDMI out, and went looking for a HDMI -> DP converter. I was very surprised to find that such a thing effectively doesn't seem to exist. and the seem to imply that it's just not possible to go HDMI -> DP, without a very expensive converter box (not just an adaptor). However, I can't find anything that explains why this is the case. Is DP designed to be backwards compatible but can't interpret HDMI? Is it a case of HDMI-quality signal not being high enough quality to be convertible? Some other reason? Note that this question is not looking for an adaptor - I'm looking for the underlying cause of the lack of them.",
"Linux genisoimage Batch",
"How can I get Google to stop thinking I'm a Bot? So, I'm getting the occasional CAPTCHA message, which is irritating but fine, but occasionally Google just blocks my network wholesale. I've submitted automated requests to unblock it, but I have no idea who I can email directly to clarify the issue. I've run all manner of anti-virus, parsed my router's logs, combed through Fiddler to see if any errant packets were slipping by. Nothing. The only Google searches that happen are made by me through the web-browser. Who or what do I have to do to get Google to stop falsely flagging my network as a spam-bot?",
"What are the differences between Factor Analysis and Principal Component Analysis? It seems that a number of the statistical packages that I use wrap these two concepts together. However, I'm wondering if there are different assumptions or data 'formalities' that must be true to use one over the other. A real example would be incredibly useful.",
"Exercise $1.8$ of chapter one in Hartshorne. In exercise 1.8 of chap I in Hartshorne algebraic geometry, Let $Y$ be an affine variety of dimension $r$ in $\\mathbf A^n$. Let $H$ be a hypersurface in $\\mathbf A^n$, and assume that $Y \\nsubseteq H$. Then every irreducible component of $Y \\cap H$ has dimension $r-1$. I refered to a . In this solution, why $f$ is not a unit in $B$?",
"Indian Trains Wait List - will I get a seat? After the of registering an account to book train tickets online using my British VISA card, I finally got into a position of being able to book a ticket, but what it appears to be telling me is that I'm only being added to a wait list, which I assume means my tickets aren't confirmed. Can someone explain how the wait list works, and what my chances are of getting on the train successfully? It currently says the wait list is 7 The train is the Mandor Express, from Delhi to Jodhpur on the 18th of Nov Update: So I got the train! Although it didn't get confirmed until a few hours before it was due to leave.",
"Removing an Ubuntu installation I first had windwos 7, then I installed Ubuntu alongside and when my laptop starts I can choose between ubuntu and windows (the ubuntu boot screen) . Now I have installed another ubuntu inside the windows 7 using virtual box. I want to remove that first ubuntu installation and free up its partiotion. Can I do it without making any problems for the windows and boot screen?",
"What is the integral of 0?",
"Why \"hide\" Luke from his father somewhere Anakin knows?",
"How do I size a UITextView to its content? Is there a good way to adjust the size of a UITextView to conform to its content? Say for instance I have a UITextView that contains one line of text: \"Hello world\" I then add another line of text: \"Goodbye world\" Is there a good way in Cocoa Touch to get the rect that will hold all of the lines in the text view so that I can adjust the parent view accordingly? As another example, look at the notes' field for events in the Calendar application - note how the cell (and the UITextView it contains) expands to hold all lines of text in the notes' string.",
"The gravitational force on your body, called your weight, pushes you down onto the floor. $$W=mg$$ So, what is the weight equation through general relativity?",
"Bending of light - photon's inertia instead of mass Using classical mechanics, the formula for gravitational attraction is $$F = G\\frac{m_1m_2}{r^2}.$$ This formula does not work for photons, and we need to use Einstein's theory of gravity to account for that, as the photon is massless. What if, instead of using the mass of the photon, we rather used the inertia of it? The momentum of a photon is $$p=\\frac{h}{\\lambda}.$$ Thus, using that, we can calculate its supposed 'mass' (inertia) as momentum is also equal to mass times velocity. So 'mass' of a photon is $$m=\\frac{p}{v}=\\frac{h}{\\lambda c}.$$ If we use this mass as the mass of a photon, can we use Newton's equation for gravitational attraction?",
"Does anyone know of a nice (and preferably free) way to integrate Prolog and C#? Im looking to create a Prolog dll or similar to call from my managed code, and retrieve an answer once all the processing has been complete. Im looking for it to be predominantly one sided (c# calls Prolog). I have seen which talks about Prologs real world usage but I was wondering if anyone had either any experience with c# & Prolog? or a nice tutorial/article?",
"Show that $f(z) = cg(z)$ is valid for two analytic functions $f$ and $g$ given a certain relationship between them",
"How does vendor restocking work in Fallout 4?",
"How can I reset or revert a file to a specific revision?",
"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?"
]
| medi_sts_stackexchange_dupe |
How can I disavow or remove Redirected spam site link | How to Disavow Bad Backlinks Automatically? | [
"What are the complexity guarantees of the standard containers?",
"Why does water pouring from a glass sometimes travel down the side of the glass? If you have a glass of water, say, three quarters full and you pour it at an angle of say, $45^{\\circ}$ with respect to the the table, the water comes out of the glass and goes directly down towards the floor. However, when the glass is more full, or even three quarters full and the 'angle of pouring' is far less with respect the table, when the water comes out of the glass, rather than going straight down it kind of stays stuck to the glass and travels down the outside of it. Why does this happen? (I'm sure many of you have observed it yourself by accident and ended up making a mess).",
"Dependency is not satisfiable: libtiff4 when trying to install Lightworks on Ubuntu 14.04 I was trying to install Lightworks 11.5.1 (amd64) on Ubuntu 14.04(amd64) but there's a notice: Dependency is not satisfiable: libtiff4. Is there anyway to solve this dependency issue? Thanks in advance.",
"pgfplots: lines and markers in different colors With pgfplots, I am creating a simple coordinate plot with error bars like this: \\documentclass[crop,10pt]{standalone} \\usepackage[english]{babel} \\usepackage{pgfplots} \\begin{document}% \\setlength{\\linewidth}{246pt}% \\begin{tikzpicture} \\begin{axis}[ width=\\linewidth, ytick pos = left, xtick pos = left, clip=false, axis on top, tick align = outside, yticklabel style={% /pgf/number format/fixed, /pgf/number format/precision=1, /pgf/number format/fixed zerofill }, ytick scale label code/.code={}, xlabel={X}, ylabel={Y}, ] \\addplot[mark=*] plot[ error bars/.cd, y dir=both, y fixed=0.0001 ] coordinates{(1,0.0005) (1.1,0.0013) (5,0.0015)}; \\end{axis} \\end{tikzpicture} \\end{document} In the original plot I have a lot more points. I would now like the line and the markers (including the error bars) to have different colors to better distinguish the line from the error bars. Is that somehow possible? The only way I found so far is to plot the data just as a line in one color and then plot it again just as markers in another color. This works, but I guess there must be some better solution to this. Thanks for the support, John",
"How can I replace a string in a file(s)?",
"Show that $\\sum_{n=1}^{\\infty}(n^{3}\\sin\\left(\\frac{1}{n}\\right)-n^{2}+\\frac{1}{6})$ converges Let $t\\in \\mathbb R$. Prove that $\\displaystyle{\\sum_{n=1}^{\\infty}n^{3}\\sin\\left(\\frac{1}{n}\\right)-n^{2}+t}$ converges iff $t=\\frac{1}{6}$. While the $(\\Rightarrow)$ direction was fairly easy (as $a_n$ should converge to $0$, forcing $t=\\frac{1}{6}$), i'm facing some hard time trying to prove the second direction, that is $\\displaystyle{\\sum_{n=1}^{\\infty}(n^{3}\\sin\\left(\\frac{1}{n}\\right)-n^{2}+\\frac{1}{6})}$ converges. I did notice that $a_n=a_{-n}$ and tried to write this series as a Leibnitz series, but had no luck since the sequence doesn't decrease. I also tried to prove absolute convergence but then again, no luck. Thanks.",
"Maybe a stupid question but how can I tell if I have a static IP address or a dynamic IP address? Running Fedora-13",
"Automatically set description list `labelwidth` based on widest label? How do I create a description list where the item text is automatically indented to the width of the widest label? This is the same question as but I would like the width of the widest label to be automatically calculated. For example, I'd like the following output: to be produced by the following input: \\documentclass{article} \\usepackage{calc} \\usepackage{enumitem} \\usepackage{lipsum} \\usepackage[margin=1em,papersize={4in,2.2in}]{geometry} \\newenvironment{mydescription}{% \\begin{description}[ leftmargin=!, labelwidth=\\magicgoeshere, ]% }{% \\end{description}% } \\newcommand{\\text}{long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long text} \\begin{document} \\begin{mydescription} \\item[The longest label] text \\item[Short] \\text \\end{mydescription} \\hrule \\begin{mydescription} \\item[Medium label] text \\item[Short] \\text \\end{mydescription} \\end{document}",
"Use spray paint to make mask for pre-sensitised board? I'm about to etch my first simple board for a project. I have a pre-sensitised board that (as I understand the process) you expose to UV light, then develop the board in a sodium hydroxide solution, then etch. The UV light will negatively affect the protective lacquer and developing it after exposing washes away the lacquer, making the board ready to etch. I got the lye and I got sodium persulfate for the etching but I did not have any transparent paper as I thought I did! And it's impossible for me to get a hold of it in time (= this weekend, I live far from the city and it's a small one and I haven't found any place that stocks it so I have to order online and that's sometime next week I'd get it at the fastest). So I am looking for an alternative solution. What I am considering is printing the design to regular paper, cut out a mask carefully from this paper and place it over the board and paint a mask on. Spray paint most likely, then in theory I would have a UV mask. Anyone see any flaws in this plan?",
"I have 100 files with 57,816 rows each.I want to do an outer join of these files by merging on basis of the common column. I am using R programming for this but this is very slow. fileList <- list.files(, pattern=\".txt\") pm_list=lapply(fileList, read.table) merged_pm=merge_all(pm_list, by = \"gene_short_name\") Is there any quick way to do this in bash? The other method that I can use is SQL but I have to create 100 tables first and then load them up before join,which is not very efficient way to do. The number of rows are equal in each file, thats why I want to merge based on common column and can't use cbind from R as the constants in the common column are a bit up and down in different files and not present at same location in each file.Below are two sample files.I want to join based on 'gene_short_name' gene_short_name FPKM56 MT-TF 0.90 MT-TV 0 MT-RNR1 310.015 MT-TL1 0 MT-TM 0 File 2 is below: gene_short_name FPKM53 MT-TF 0 MT-TV 0.344 MT-TM 0.10 MT-TL1 0 MT-RNR1 0 MT-ND2 158.332",
"What's the derivative of: $ \\sqrt{x+\\sqrt{{x}+\\sqrt{x+\\cdots}}}$? let $ y=\\displaystyle \\sqrt{x+\\sqrt{{x}+\\sqrt{x+\\cdots}}}$, i'm really interesting to know how do I find : $\\displaystyle \\frac{dy}{dx}$ ?. Note: I have used the definition of derivative of the square root function but i don't succed . Thank you for any help",
"Sylow 2-subgroups of the group $\\mathrm{PSL}(2,q)$ What is the number of Sylow 2-subgroups of the group $\\mathrm{PSL}(2,q)$?",
"I have this alias set in my system /etc/bashrc file: alias root=\"sudo !!\" The intention of this being to run the last used command using sudo of course. When used, it of course appears to substitute the last command in history to the bashrc file upon shell initialization, and not the actual command that you would get if you were to run sudo !! in an interactive shell. I've also tried alias root=\"sudo fc -s\" to no avail. I realize this is probably something to do with how the BASH does command substitutions, but can someone explain why this is, and provide a usable substitute? I'm running BASH version 3.2.51(1)-release (x86_64-apple-darwin13).",
"How do I call one constructor from another in Java?",
"I was trying to fit my data into various models and figured out that the fitdistr function from library MASS of R gives me Negative Binomial as the best-fit. Now from the page, the definition is given as: NegBin(r,p) distribution describes the probability of k failures and r successes in k+r Bernoulli(p) trials with success on the last trial. Using R to perform model fitting gives me two parameters mean and dispersion parameter. I am not understanding how to interpret these because I cannot see these parameters on the wiki page. All I can see is the following formula: where k is the number of observations and r=0...n. Now how do I relate these with the parameters given by R? The help file does not provide much information either. Also, just to say a few words about my experiment: In a social experiment that I was conducting, I was trying to count the number of people each user contacted in a period of 10 days. The population size was 100 for the experiment. Now, if the model fits the Negative Binomial, I can blindly say that it follows that distribution but I really want to understand the intuitive meaning behind this. What does it mean to say that the number of people contacted by my test subjects follows a negative binomial distribution? Can someone please help clarify this?",
"Prove Borel Measurable Set A with the following property has measure 0. This question is exercise 4.10 of Richard F. Bass's Real Analysis for Graduate Students, 2nd edition. Let $\\epsilon \\in (0,1)$, let $m$ be Lebesgue measure, and suppose $A$ is Borel Measurable subset of $\\mathbb R$. Prove that if $$ m(A\\cap I)\\leq (1-\\epsilon)m(I)$$ for every interval $I$, then $m(A)=0$. Collection of my thoughts 1. Try to prove by contradiction, suppose $m(A)=a>0$ Borel Measurable Set satisfies the condition given. A property of any Borel Measurable Set on $\\mathbb R$ is $A$ contains a closed set $F$ and is contained in open set $O$, and the measure of $F$ and $O$ can be arbitrarily close to $a$. 2. Obviously $A$ contains no interval, but it does not lead to contradiction, because we can find an example of $m(A)>0$ that contains no interval(fat Cantor Set(remove middle 1/4 each time) has measure $1/2$ and contains no interval). 2'. For fat Cantor Set $C$ and given $\\epsilon>0$ how could we construct an interval I satisfies $m(C \\cap I)>(1-\\epsilon)m(I) ?$ Maybe try to write Borel measurable set as countable union/intersection of intervals. I'm stucked here and will appreciate any help, some examples/special case will be great too.",
"Keyboard shortcut for switching between different keyboard layouts in Ubuntu Mate Is there a pre-assigned keyboard shortcut for switching between different keyboard layouts in Ubuntu Mate?",
"What should I do if I have two libraries that provide functions with equivalent names?",
"Number of $n^2\\times n^2$ permutation matrices with a 1 in each $n\\times n$ subgrid I found the following question in a paper I was trying to solve: The following figure shows a $3^2 \\times 3^2$ grid divided into $3^2$ subgrids of size $3 \\times 3$. This grid has $81$ cells, $9$ in each subgrid. Now consider an $n^2 \\times n^2$ grid divided into $n^2$ subgrids of size $n \\times n$. Find the number of ways in which you can select $n^2$ cells from this grid such that there is exactly one cell coming from each subgrid, one from each row and one from each column. My try: Since we have $n^2$ rows, $n^2$ columns and $n^2$ subgrids in total, we have to choose one and only one cell from each of them. Let's choose them one at a time. We can choose the first cell in $n^4$ many ways. Then, we'll have to avoid that subgrid, that column and that row that we've chosen the first one from when choosing the second cell. So, we have $n^4-n^2-2n(n-1)$ choices. We can continue this to get the total number of possible ways. But, I think there's a hole. Say, we've chosen the first cell from the subgrid of the up-left corner and the second from the subgrid just right to it so that it doesn't violate any rules. Then, when finding the number of ways we can choose the third cell, we would have substracted some of the cells twice. I think you get it. Please, if anyone can help me solving this problem, it'd be greatly appreciated.",
"SQL Query; Admin Log System; Foreign Keys; Retriving multiple rows form different tables at once Table A (users) id | name | ip 52433 Yashas 1.1.1.1 512 Admin 5.6.7.8 Table B (admin_record) id | admin | time | date | reason | action 52433 512 2312352 1213213 Test WARN id is FOREIGN key Table B keeps a log of all actions an administrator takes on his users. And the table A stores the account information of the users & administrators. I am trying to display a list of actions taken by a administrators on a user. I want to write a query which gets me all the rows of table B where id = fixed number. Here is what I want to display: \"Administrator1 [Name]\" took action on \"User Name\" for \"[Note]\" on XX/XX/XXXX. \"Administrator2 [Name]\" took action on \"User Name\" for \"[Note]\" on XX/XX/XXXX. \"Administrator3 [Name]\" took action on \"User Name\" for \"[Note]\" on XX/XX/XXXX. All I have is the user's id using which I need to obtain all the entries in the log along with the administrator names. I need to obtain the admin's name, users name and all the contents of table B related to a particular user in one single query. If possible, I want the to change the field name(not literally change, but want the SQL server to send the data with new field names to separate admin name & user name) of the admin's name to admin_name and user's name as . I mean something like this SELECT users.name AS admin_name WHERE users.id = %i AND SELECT users.name AS user_name WHERE users.id = %i (the query isn't correct,it us just an example to show what I am trying) Progress so far: SELECT player.name, player.ip, admin.name, record.date, record.time, record.action, record.reason FROM admin_record AS record JOIN users AS player ON player.id = record.id JOIN users AS admin ON admin.id = record.admin WHERE player.id=%i where admin_record is table B & users is table A."
]
| medi_sts_stackexchange_dupe |
How to make PHP input methods(get and post) safe by a simple code? | How can I prevent SQL injection in PHP? | [
"Is there a way of finding a formula for $\\sum\\limits_{k=1}^n k^k$? Maybe I'm missing something really obvious, but I've looked around a bit on the Internet and I haven't been able to find anything. So, what I'm looking for is a formula in closed form to generate the sequence $1,5,32,288,3413,\\dots$",
"I'm looking for a word that can describe a person who does nice things for other people (e.g holding the door open, carrying someone's things) but only for self gain; this person only does nice things to make themselves look good in the eyes of others, but doesn't actually care about the well-being of the people they're helping.",
"Roots of polynomials in field of prime characteristic p Let $F$ be a field of characteristic $p$, and let $\\alpha \\in F$. Let $f \\in \\mathbb{Z}_p[x]$ be such that $f(\\alpha) = 0$. Apparently, we have $f(\\alpha^p) = 0$. This was mentioned but not proved in my lectures. Can someone explain why please? Thanks.",
"\"There are currently N bounties, worth X reputation\" dynamic ad and the new sidebar width You've probably seen this sidebar ad on one or more -enabled Stack Exchange sites over the years: The image is dynamically generated from a non-officially SE app that uses the Stack Exchange API to fetch the bounties from a given site. As far as I understand, the rendered image automatically scales to the allotted ad space - when the sidebar ads were 220x250, it would render in the sidebar as a 220x250 image while still looking quite oversized in the meta (as it does right here). With the new 2016 campaign starting, can we test whether this awesome dynamic ad works with the new sidebar width?",
"I'm hoping someone could check my work. I'm trying to simplify the equation for $x$. $$(\\frac{x}{a})^{3.2} + (\\frac{y}{b})^{3.2} = 1$$ $$\\frac{a}{b} = \\frac{174.1}{86}$$ Thus I began by substituting $a$ with: $$a = \\frac{174.1}{86}b$$ $$((\\frac{86}{174.1})(\\frac{x}{b}))^{3.2} + (\\frac{y}{b})^{3.2} = 1$$ $$((\\frac{86}{174.1})(\\frac{x}{b}))^{3.2} = 1 - (\\frac{y}{b})^{3.2}$$ $$(\\frac{x}{b})^{3.2} = \\frac{(1 - (\\frac{y}{b})^{3.2})(174.1)^{3.2}}{(86)^{3.2}}$$ $$x^{3.2} = \\frac{(1 - (\\frac{y}{b})^{3.2})(174.1)^{3.2}(b)^{3.2}}{(86)^{3.2}}$$ $$x^{3.2} = \\frac{(1 - (\\frac{y}{b})^{3.2})((174.1)(b))^{3.2}}{(86)^{3.2}}$$ $$x^{\\frac{16}{5}} = \\frac{(1 - (\\frac{y}{b})^{3.2})((174.1)(b))^{3.2}}{(86)^{3.2}}$$ $$x = [\\frac{(1 - (\\frac{y}{b})^{3.2})((174.1)(b))^{3.2}}{(86)^{3.2}}]^{\\frac{5}{16}}$$ Is my work correct, or am I completely off the board?",
"Generate random numbers uniformly over an entire range",
"Using find with grep, one can locate files that match a pattern: # find | grep error ./solr-modifiedSolr4/SolrPhpClient/phpdocs/errors.html ./error_log ./includes/classes/error_log However, using find alone the first file is not found: # find . -name error* ./error_log ./includes/classes/error_log Why doesn't find locate the errors.html file when not used with grep? How is find used to show this file as well?",
"Why we won't extract heat from air temperature?",
"How should I add users non-interactively? I have a set of users I need to add to a new system as part of a BASH script that preps my server. How can I non-interactively add the user, create their home directory, set the group, and enter a default password? For example, if I needed to add the following users, how would I go about that? user: node password: spoon group: ultraMegaPermissions user:serve password: spoot group: sortaNotMega user:watcher password: spoogle group: notMega",
"I know that there are questions asking like \"intersection of a infinite collection of sets\" and I can understand that the answer for that one is a null set, but I got a question here, in which all sets are finite and nonempty. Please take a look at the pic below. It's a True/False question. What I'm confused about is that the \"infinity\" sign in the interception. Since all sets are finite, does it mean that there are many sets in the chain are the same? (because the symbol used is for subsets not for proper subsets). Please give me some hints how I should think about this question. Thank you",
"How to study/prepare for the Salesforce Developer Certification I am fairly new to Force.com development (less than a year). I did not learn it from the ground up. So I think it will be good to study for the developer exam to strengthen my basics and improve my overall knowledge of Force.com + it will be great to have this certification. Now it's surprising that there is not a lot of great information on the web about how to go about obtaining this certification. Most other major certifications have dedicated study guide books available but there are few for Force.com and I don't think any of them are official. The official page has little information. The Study guide gives a broad description of the topics in the test. I see a lot of the esteemed members are here certified developers. I think if you guys could give us a little information, hints/tips and some advice on how to prepare for this exam, it will really be of great help. Also is DEV401 required/helpful? Also if we could get recommendations for great resources(books, online training etc) and practice tests it will be awesome.",
"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",
"Why is Ubuntu using so much memory? I have just turned on my PC and have two applications running; Thunderbird and Firefox. Whatever else is running is part of Ubuntu's feature set (as well as a few indicators). This has been ongoing for weeks, so I'm not sure if it's normal behaviour or not. Right now, my memory usage indicator says that Ubuntu is using 41% of my 6GB of RAM. I haven't even opened Gimp or my other day-to-day things. I'll be buying another 6GB of RAM, this week, so that I don't run out when using Gimp or Openshot, for example. An overview of my running applications shows that Nautilus is using the most, yet it isn't even open. This seems a little excessive, or am I missing something?",
"If $A|B$ and $B|A$ then prove $A=\\pm B$ If $A|B$ and $B|A$ then prove $A=\\pm B$ So far I have $A|B \\iff AX=B$ and $B|A \\iff BY=A$ with $X,Y \\in \\mathbb{Z}$ Not sure how to finish, any help.",
"HP Easy Scan - \"HP Scanner 3\" will damage your computer",
"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) ?",
"Power series of a function I am wondering if there are any functions $f(x)$ such that it cannot be expressed as a power series of $x$? This might turn out to be a silly question, but I can't think of one at the moment. Thanks!",
"Fibonacci combinatorial identity: $F_{2n} = {n \\choose 0} F_0 + {n\\choose 1} F_1 + ... {n\\choose n} F_n$ Can someone explain how to prove the following identity involving Fibonacci sequence $F_n$ $F_{2n} = {n \\choose 0} F_0 + {n\\choose 1} F_1 + ... {n\\choose n} F_n$ ?",
"Compound possessives and yours",
"Why can't we see the selected reasons when there are pending close votes for a question? When users vote to close a question, the original poster can't see the selected reason why until after the question is already closed. If they could see this information, they might be able to edit the question to make it more acceptable and averting the need to close it. For example, the owner of this cannot see the reason why his question is being voted to close:"
]
| medi_sts_stackexchange_dupe |
Existence of analytic function from A to B . | Non constant analytic function from $\{z\in\mathbb{C}:z\neq 0\}$ to $\{z\in\mathbb{C}:|z|>1\}.$ | [
"Extract all the polygon coordinates from a SpatialPolygonsDataframe? I want to do something relatively simply but it seems to be very difficult to do, though I am very new to using R for spatial data so apologies if I've missed something obvious. I have a list containing 161 shapefiles of bird distributions in the world, they are each in the format of a SpatialPolygonsDataFrame. I also have world climate data in a raster stack format for 8 variables. Both sets of files are in the same projection (lat and long WGS84). I want to create new columns for the climate data with 1's where the species polygon overlaps with the climate data and 0 where it doesn't. I tried various functions to do this, quite a few initial options didn't work, the best option appeared to be: pnt.in.poly(XY coordinates of climate data points, XY coordinates of species polygon) I changed my raster of climate data into points to get the XY coordinates. I unified the polygons for each species shapefile and then used: species@polygons[[1]]@Polygons[[1]]@cords to get the coordinates for my species polygons as a matrix. However, I discovered that: species@polygons[[1]]@Polygons[[1]]@coords wasn't actually getting all the coordinates of the polygons only some of them. I tried using fortify from the ggplot package, and it gives me a dataframe with coordinates but some of them are for holes in the polygons. I ran that with the pnt.in.poly function excluding the holes but it took an hour to run and when I looked at the output maps after it matched for some of the range but not all of it- there were holes in the distribution where there shouldn't be holes. I also tried this method that I found somewhere else: lonlat <- lapply(slot(species, \"polygons\"), function(x) lapply(slot(x,\"Polygons\"), function(y) slot(y, \"coords\"))) which gives me a list with 436 items- but I'm still not sure how to get the coordinates into a matrix form that will work in pnt.in.poly. I'm sure this should be easier to do! Does anyone know a better way?",
"How does the SQL injection from the \"Bobby Tables\" XKCD comic work? Just looking at: (Source: ) What does this SQL do: Robert'); DROP TABLE STUDENTS; -- I know both ' and -- are for comments, but doesn't the word DROP get commented as well since it is part of the same line?",
"Explanation behind Second Derivative of a Parametric Equation Formula I am looking to find out how the second derivative formula works. I can blindly apply it but I don't have a grasp of what is going on or why. The first derivitive has the formula $\\frac{dy}{dx} = \\frac{\\frac{dy}{dt}}{\\frac{dx}{dt}}$. I told this was because if you divide them you cancel out the dts and get dy/dx. The second derivative has the formula $\\frac{d^2y}{dx^2} = \\frac{d}{dx} \\left(\\frac{dy}{dx}\\right) = \\frac{ \\frac{d}{dt}\\left(\\frac{dy}{dx}\\right) }{\\frac{dx}{dt}}$. Is this something that can be explained with only a knowledge of calculus or is this something I would have to take on faith until I learn more. Any help would be greatly appreciated.",
"What is the difference between '/' and '//' when used for division?",
"Change date format [YYYYMMDD] to [MM/DD/YYYY]",
"Are there rules for disassembling a slain creature, especially dragon?",
"If $I_n=\\int _0^{\\pi }\\sin^{2n}\\theta \\:d\\theta $, show that $I_n=\\frac{\\left(2n-1\\right)}{2n}I_{n-1}$, and hence $I_n=\\frac{\\left(2n\\right)!}{\\left(2^nn!\\right)2}\\pi $ Hence calculate $\\int _0^{\\pi }\\:\\sin^4t\\cos^6t\\:dt$ I knew how to prove that $I_n=\\frac{\\left(2n-1\\right)}{2n}I_{n-1}$, but I am not very good at English, what does it mean Hence $I_n=\\frac{\\left(2n\\right)!}{\\left(2^nn!\\right)2}\\pi $ do we need to prove this part as well or is it just a hint to use? and for the other calculation to find $\\int _0^{\\pi }\\:\\sin^4t\\cos^6t\\:dt$ is there something in the first part that I can do to help me solve this question because otherwise it becomes very long and it's part of the question.",
"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?",
"Where do deleted items go on the hard drive?",
"Is \"connected, simply connected\" Redundant? Here are my definitions of "connected" and "simply connected." A topological space $X$ is connected if and only if it is not the union of two nonempty disjoint open sets. A topological space $X$ is simply connected if and only if it is path-connected and has trivial fundamental group (i.e. $\\pi_1(X)\\simeq\\{\\mathrm{e}\\}$ and $|\\pi_0(X)|=1$). It is a classic and elementary exercise in topology to show that, if a space is path-connected, then it is connected. Thus, if a space is simply connected, then it is connected. Yet, despite this implication, I've read several cases where the words "connected, simply connected" appear together. For example, in Kobayashi and Nomizu's Foundations of Differential Geometry, Volume 1, page 252, the following is written: "Let $M$ be a connected, simply connected analytic manifold with an analytic linear connection." In and (Links to Journal Storage, also known as JSTOR), they use "connected, simply connected" on their first page. The first of these takes it a step further, referring to "closed, compact, connected, simply connected $4$-manifolds," where a closed manifold (unfortunate terminology) is defined as a compact manifold without boundary. My question is simple: Why use the words "connected, simply connected" when being simply connected implies connectedness? Thank you.",
"Got a bunch of .mp4 videos (info shows H.264 Video + AAC Audio) that are chapters of a larger video. I'd like to merge them, but not sure which is the best way. I don't have Quicktime Pro, but I'll get it if that's the best way to do this. Edit: Just to clariify this is Mac OSX 10.6 I'm on.",
"I have a beamer frame with about 150 slides on it. I want article and handout mode to only show frame 92. Reading section 8.6.2 of the beamer manual it seems like I should be able to do something like \\begin{frame}<handout:92> ... \\end{frame} but that seems to have no effect--all 150 slides are set in handout mode, overlaying (making the result unreadable). I have gotten the effect I want by taking all commands within the frame that have an overlay specification and adding \"| handout:0\" to make them not appear in handout mode. Annoying, but works. But for my 150-slide frame the different slides are generated by a PGF \\foreach loop so I can't code slide 92 differently from the rest. But can I do this at the frame's overlay specification? It seems that the frame's overlay spec really acts differently from other commands. If I only do \\begin{frame}<92>...\\end{frame} then I get only slide 92 in beamer mode but all slides in article or handout mode.",
"I'm about to fly from Istanbul to Seoul and I have a useful amount of Turkish Lira (TRY) left but I don't have any South Korean Won (KRW) to pay for the metro to my hostel when I get there. Several times in the past I've ended up being stuck with currencies that are very difficult to exchange in the country I've arrived in. Can I buy KRW at the airport in Istanbul? (I've also asked , since Stack Exchange questions are meant more for the long tail than just for the original asker.)",
"Lebesgue integration: $f = g$ a.e. $ \\Rightarrow \\int_\\Omega f = \\int_\\Omega g$ Let $f,g : \\Omega \\subseteq \\mathbb R^n \\rightarrow [0,+\\infty]$ be measurable functions with $f(x) = g(x)$ a.e. . Then I have to show that $\\int_\\Omega f = \\int_\\Omega g$. I may not assume that $\\int_\\Omega (f+g) = \\int_\\Omega f + \\int_\\Omega g$. This task is from Tao Proposition 19.2.6.",
"Why does evolution not make our life longer? Why does evolution not make life longer for humans or any other species? Wouldn't evolution favour a long life?",
"When looking at my Apache2 access logs, I occasionally see GET requests asking my server for a page on a completely different server. For example: xx.xx.xx.xx - - [18/Jan/2012:07:12:10 -0500] \"GET http://someotherserver.com/?sometimesmorestuff=likethis HTTP/1.1\" 200 389 \"-\" \"Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12\" I remembered reading something about that in the past, but at the time I had never seen that on my server, so I didn't worry about it. Now that I am seeing it on my server, I just ran a test and it appears that my site does indeed serve requests for content from other servers. This seems like a bad thing. So, two questions: A) Is this something I should be worrying about? B) How can I fix it? I've tried a little Googling, but I don't even know what this sort of thing is called, and that makes it difficult.",
"How do I redirect command output to a file?",
"preventDefault when clicking bounty \"cancel\" link When you click \"start a bounty\" then \"cancel,\" href=\"#\" exiles you to the top of the page and you lose your spot near the end of the question's comments. Clicking anywhere else on the page simply closes the bounty popup; clicking \"cancel\" ought to do the same. In case that wasn't clear: Dramatization aside, it's a nuisance. Can the click event on that anchor be preventDefaulted?",
"UK Visa Refusal: Provenance of funds/parking I have applied recently for a general visitor visa to the UK to spend 10 days during Christmas with my British unmarried partner and it has been turned down. The Entry Clearance Officer stated on his refusal notice the following: I note that you have never previously travelled to the UK or any country with similar immigration requirements and you therefore do not have a history of travel and compliance to consider. You have submitted an employment letter to confirm your occupation in KSA but I am required to also assess your personal, domestic and economic circumstances in determining whether you are genuine visitor travelling to the UK for the period and purpose you state. You claim an income of SAR ........ per month which equal ........ GBP and from the evidence submitted this appears to be your sole source of income. I note that this monthly income is reflected on your bank statements. However, the bank statement you have presented show a recent large deposit that are in excess of your stated income and inconsistent with the account history. You haven't provided evidence toward the origin of this recent deposit and in the absence of reasonable evidence I am not satisfied that these bank statements accurately reflect your personal circumstances. In view of the above, I am not satisfied you have demonstrated that your circumstances are as you claim and therefore I am not satisfied that you're travelling to the UK for the period and purpose you stated. 41(i)and(ii). Its true that I have deposited that sum of money right before I apply and it was a commission I received from work earlier this month. So, could you please give me your advice on the above as I am planning to apply again soon. and how to avoid my application being refused again?",
"Can't do reviews after failing 1 audit"
]
| medi_sts_stackexchange_dupe |
Why did community user reject this edit? | Why does the Community User reject / approve edits? | [
"Using mask as a garbage matte to hide an object",
"Variation of Pythagorean triplets: $x^2+y^2 = z^3$",
"Explanation of seasons in \"A Song of Ice and Fire\"",
"Which textbook is good for introductory group theory?",
"How do I pipe colored diff output to less?",
"How can I set CSS only for specific IE browsers?",
"Is it possible to reconstruct the Hamiltonian from knowledge of its ground state wave function? Is it possible to \"construct\" the Hamiltonian of a system if its ground state wave function (or functional) is known? I understand one should not expect this to be generically true since the Hamiltonian contains more information (the full spectrum) than a single state vector. But are there any special cases where it's possible to obtain the Hamiltonian? Some examples would be really helpful.",
"How do I make Units efficiently? I just blew almost all my money on a really cool lookin' ship. How do I regain solvency without spending a lot of time fiddling around in my inventory? At the moment I've found a sequence of steps that'll turn 50 carbon and 100 Plutonium into ~5000 Units (by creating Suspension Fluid and then turning it into Electron Vapor). Are there better recipes or sequences of recipes I should look for? Or should I just drop the whole thing and go mine a particular mineral?",
"How is it possible in Eclipse JDT to convert a multiline selection to String. Like the following From: xxxx yyyy zzz To: \"xxxx \" + \"yyyy \" + \"zzz\" I tried the following template \"${line_selection}${cursor}\"+ but that way I only get the whole block surrounded not each line separately. How can I achieve a multiline processing like commenting the selected block?",
"Execute command from file in current shell I want to executed command from file (which is script) in current shell in terminal. Example: I have file ch_dir contains following: #!/bin/bash cd /usr Now if I execute file usually as following then it executes commands in different shell: pandya@pandya-desktop:~$ ./ch_dir pandya@pandya-desktop:~$ Here cd /user is executed in different shell. But I want to execute in Current shell. How do I do that? Note: Here cd is only used to explain. Question's aim is to execute any command in current shell",
"How to properly typeset multiletter quantities, e.g. Re or Nu (Reynolds, Nusselt numbers)",
"If we look at light as a collection of little particles, we can say that dimmer light has its photons more spread out. But if we look at light as a wave, then there no gaps unless specifically placed there on purpose. So how can one interpret the formation of gaps between the photons?",
"Axiom of Choice: Family of non-empty sets mutually disjoint or not?",
"In a topological space, why the intersection only has to be finite? I was wondering if there is a reason why in the definition of a topologic space, the reunion of any collection of open sets is also an open set but the intersection has to be finite to be a set. Is there because of the definition of an open set itself ? I have always seen it as a definition, but now I want to know why. Thanks for your help.",
"3D arrows with TikZ Asymptote does give 3D arrows when drawing three dimensional figures (they even have shade!). Could we fake it with TikZ? Here's an example, manually written, with just one arrow worked: \\documentclass{scrartcl} \\usepackage{tikz} \\usetikzlibrary{arrows.meta} \\begin{document} \\begin{tikzpicture}[->,scale=2] \\draw[>={Triangle[width=3pt,length=5pt]}] (0,0,0) -- (1,0,0); \\draw[>={Triangle[width=3pt,length=5pt]}] (0,0,0) -- (0,1,0); \\draw[>={Circle[sep=-.9pt,width=3.08pt,length=2pt]Triangle[width=3pt,length=5pt]}] (0,0,0) -- (0,0,1); \\end{tikzpicture} \\end{document} But that's (wrongly) manually calculated by trial and error (apart from the fact that it's not perfect, seeing how the other two axis —x and y— are oriented, it should have certain slant). It would be nice to have an interface like the other arrows >={3D[length=⟨real length⟩,width=⟨real width of the base⟩]} Which would then calculate from those values (and, of course, also taking into account x=⟨x vect⟩,y=⟨y vect⟩,z=⟨z vect⟩) Circle[sep=⟨value⟩,width=⟨value⟩,length=⟨value⟩,slant=⟨value⟩] Triangle[width=⟨value⟩,length=⟨value⟩] % And I'm not sure if `slant=⟨value⟩` % is necessary in this Triangle case Example Using the code from the answer (thanks to Symbol1), for instance, this code (taking the idea from another question, link in the comments) \\begin{tikzpicture}[x={(0cm,1cm)}, y={({cos(30)*1cm},{sin(30)*-1cm})}, z={({cos(20)*1cm},{sin(20)*1cm})}, thick, scale=3] \\pgfmathsetmacro{\\ax}{.4} \\pgfmathsetmacro{\\ay}{.6} \\pgfmathsetmacro{\\az}{-.6} \\pgfmathsetmacro{\\bx}{.4} \\pgfmathsetmacro{\\by}{-.7} \\pgfmathsetmacro{\\bz}{-.8} \\draw[densely dotted,thin] (\\ax,\\ay,\\az) -- (\\ax,0,\\az); \\draw[densely dotted,thin] (\\ax,\\ay,\\az) -- (0,\\ay,\\az); \\draw[densely dotted,thin] (\\ax,0,0) -- (\\ax,0,\\az) -- (0,0,\\az); \\draw[densely dotted,thin] (0,0,\\az) -- (0,\\ay,\\az) -- (0,\\ay,0); \\draw[densely dotted,thin] (\\bx,\\by,\\bz) -- (\\bx,0,\\bz); \\draw[densely dotted,thin] (\\bx,\\by,\\bz) -- (0,\\by,\\bz); \\draw[densely dotted,thin] (\\bx,0,0) -- (\\bx,0,\\bz) -- (0,0,\\bz); \\draw[densely dotted,thin] (0,0,\\bz) -- (0,\\by,\\bz) -- (0,\\by,0); \\draw[-{Cone3}] (0,0,0) -- (1,0,0) node[right] {$x$}; \\draw[-{Cone3}] (0,0,0) -- (0,1,0) node[above right] {$y$}; \\draw[-{Cone3}] (0,0,0) -- (0,0,1) node[below right] {$z$}; \\draw[-{Cone3}] (0,0,0) -- (0,0,-1) node[above left] {$-z$}; \\draw[thin] (0,0,0) -- (0,-.9,0); \\draw[-{Cone3}] (0,0,0) -- (\\ax,\\ay,\\az) node[below left] {source}; \\draw[-{Cone3}] (0,0,0) -- (\\bx,\\by,\\bz) node[above right] {sim}; \\end{tikzpicture} gives this figure",
"Determine if Type is a pointer in a template function",
"A 10th level Drow warlock (for instance) has the following Drow Magic racial trait (PHB p. 24), in addition to its warlock spellcasting abilities: You know the dancing lights cantrip. When you reach 3rd level, you can cast the faerie fire spell once per day. When you reach 5th level, you can also cast the darkness spell once per day. Charisma is your spellcasting ability for these spells. Can the Drow warlock cast faerie fire (which is not on the warlock spell list) using a warlock spell slot? Can it cast darkness (which is on the warlock spell list) using a warlock spell slot? The says this about the Magic Initiate feat: If you’re a spellcaster, can you pick your own class when you gain the Magic Initiate feat? Yes, the feat doesn’t say you can’t. For example, if you’re a wizard and gain the Magic Initiate feat, you can choose wizard and thereby learn two more wizard cantrips and another 1st-level wizard spell. If you have spell slots, can you use them to cast the 1st-level spell you learn with the Magic Initiate feat? Yes, but only if the class you pick for the feat is one of your classes. For example, if you pick sorcerer and you are a sorcerer, the Spellcasting feature for that class tells you that you can use your spell slots to cast the sorcerer spells you know, so you can use your spell slots to cast the 1st-level sorcerer spell you learn from Magic Initiate. Similarly, if you are a wizard and pick that class for the feat, you learn a 1st-level wizard spell, which you could add to your spellbook and subsequently prepare. But this specifically requires you to pick the feat for one of your classes to be able to cast the spell learnt using your class spell slots, and does not seem directly applicable. A Warlock can use warlock Pact Magic spell slots to cast spells learnt from levels of another spellcasting class, per the multiclass spellcasting rules (PHB p. 164): If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and you can use the spell slots you gain from the Spellcasting class feature to cast warlock spells you know. Similarly, if the warlock has learnt the invocation Mask of Many Faces (PHB p. 112)... You can cast disguise self at will, without expending a spell slot. ...Can the warlock cast disguise self using a spell slot, e.g. to decrease the chance it can be dispelled?",
"In statistical learning, implicitly or explicitly, one always assumes that the training set $\\mathcal{D} = \\{ \\bf {X}, \\bf{y} \\}$ is composed of $N$ input/response tuples $({\\bf{X}}_i,y_i)$ that are independently drawn from the same joint distribution $\\mathbb{P}({\\bf{X}},y)$ with $$ p({\\bf{X}},y) = p( y \\vert {\\bf{X}}) p({\\bf{X}}) $$ and $p( y \\vert {\\bf{X}})$ the relationship we are trying to capture through a particular learning algorithm. Mathematically, this i.i.d. assumption writes: \\begin{gather} ({\\bf{X}}_i,y_i) \\sim \\mathbb{P}({\\bf{X}},y), \\forall i=1,...,N \\\\ ({\\bf{X}}_i,y_i) \\text{ independent of } ({\\bf{X}}_j,y_j), \\forall i \\ne j \\in \\{1,...,N\\} \\end{gather} I think we can all agree that this assumption is rarely satisfied in practice, see this related and the wise comments of @Glen_b and @Luca. My question is therefore: Where exactly does the i.i.d. assumption becomes critical in practice? [Context] I'm asking this because I can think of many situations where such a stringent assumption is not needed to train a certain model (e.g. linear regression methods), or at least one can work around the i.i.d. assumption and obtain robust results. Actually the results will usually stay the same, it is rather the inferences that one can draw that will change (e.g. heteroskedasticity and autocorrelation consistent HAC estimators in linear regression: the idea is to re-use the good old OLS regression weights but to adapt the finite-sample behaviour of the OLS estimator to account for the violation of the Gauss-Markov assumptions). My guess is therefore that the i.i.d. assumption is required not to be able to train a particular learning algorithm, but rather to guarantee that techniques such as cross-validation can indeed be used to infer a reliable measure of the model's capability of generalising well, which is the only thing we are interested in at the end of the day in statistical learning because it shows that we can indeed learn from the data. Intuitively, I can indeed understand that using cross-validation on dependent data could be optimistically biased (as illustrated/explained in ). For me i.i.d. has thus nothing to do with training a particular model but everything to do with that model's generalisability. This seems to agree with a paper I found by Huan Xu et al, see \"Robustness and Generalizability for Markovian Samples\" . Would you agree with that? [Example] If this can help the discussion, consider the problem of using the LASSO algorithm to perform a smart selection amongst $P$ features given $N$ training samples $({\\bf{X}}_i,y_i)$ with $\\forall i=1,...,N$ $$ {\\bf{X}}_i=[X_{i1},...,X_{iP}] $$ We can further assume that: The inputs ${\\bf{X}}_i$ are dependent hence leading to a violation of the i.i.d. assumption (e.g. for each feature $j=1,..,P$ we observe a $N$ point time series, hence introducing temporal auto-correlation) The conditional responses $y_i \\vert {\\bf{X}}_i$ are independent. We have $P \\gg N$. In what way(s) does the violation of the i.i.d. assumption can pose problem in that case assuming we plan to determine the LASSO penalisation coefficient $\\lambda$ using a cross-validation approach (on the full data set) + use a nested cross-validation to get a feel for the generalisation error of this learning strategy (we can leave the discussion concerning the inherent pros/cons of the LASSO aside, except if it is useful).",
"Given fields $K\\subseteq L$, why does $f,g$ relatively prime in $K[x]$ imply relatively prime in $L[x]$?",
"What item bonuses apply to my follower? There are a lot of different side effects an item can have, and I assume that things like magic find have no influence on any of \"our\" found items at all. However, I'm not sure about other things. For example: Do followers get life-steal on weapons, too? Does increased orb healing make any difference? What about +experience after kills? Will my follower level up faster? and probably a lot more. Is there some general rule as to what effects of an item apply to followers, and which don't?"
]
| medi_sts_stackexchange_dupe |
Data handling in bit field | How do you set, clear, and toggle a single bit? | [
"\"The news is good.\" Why?",
"Views indicator inaccurate, shows one views on question with two close votes Two close votes and only one person has viewed the question? How did this happen?",
"How can I minimize Thunderbird 60.2.1 to tray after \"MinimizeToTray revived\" add-on stopped working? After update, my Thunderbird stopped getting minimized with the \"MinimizeToTray revived\" add-on. Is there any way to minimize my Thunderbird? Any other add-on that works with the new version?",
"How to change boot priority? I have a laptop with Ubuntu installed as the only OS. I also have a USB stick with a Windows 7 installation on it. I want to install Windows from the USB stick on my laptop but when I try to restart the laptop to get access to BIOS, I can't seem to find the command for it, its like it skips everything and just says Ubuntu and then takes me to the login screen. How do I change the boot priority to USB in Ubuntu?",
"Evaluate these infinite products $\\prod_{n\\geq 2}(1-\\frac{1}{n^3})$ and $\\prod_{n\\geq 1}(1+\\frac{1}{n^3})$ What is $\\prod\\limits_{n\\geq 2}(1-\\frac{1}{n^3})=?$ $\\prod\\limits_{n\\geq 1}(1+\\frac{1}{n^3})=?$ I am sure about their convergence. But don't know about exact values. Know some bounds as well. For example first one is in interval (2/3,1) and second one is in (2,3).",
"Access denied for user 'root@localhost' (using password:NO)",
"Understand the meaning of `$_` Could you explain the following sentences from Bash manual about $_, especially the parts in bold, maybe with some examples? At shell startup, set to the absolute pathname used to invoke the shell or shell script being executed as passed in the environment or argument list. Subsequently, expands to the last argument to the previous command, after expansion. Also set to the full pathname used to invoke each command executed and placed in the environment exported to that command. When checking mail, this parameter holds the name of the mail file.",
"jQuery doesn't submit a form",
"C++ copy-construct construct-and-assign question",
"How can angular velocity be constant even when there is a torque by friction? A cylinder at rest lying on a rough ground is given an impulse which imparts a translational velocity (no angular velocity) to it. The question goes ahead with finding time after which rolling starts etc. etc. But I have another question: The friction from the ground will decrease the translational velocity but increase the angular velocity (as the torque of friction will be in the direction of rolling). After some time, the translational velocity will become equal to angular velocity and hence pure rolling will start. After this time work done by friction will be 0 as the point of contact is not moving and hence translational velocity will be constant. Now my doubt is that, when translational velocity is constant, it implies angular velocity will also be constant (as translational velocity is a multiple of angular velocity). But the torque from friction (about the centre of mass) will not be zero which means angular velocity will not be constant. In some book where there was the same problem it was written friction will vanish. How can friction vanish? How can anguluar velocity be constant even when there is a torque by friction?",
"How to SEO a Single-Page website I am creating a new website for a client, and I think a single page website / layout will be pretty neat. There is not that much detailed content, it is a company that imports a lot of products from different companies. So it will be a bit of a showcase of the different types of products / equipment you can order. Of the whole catalog only maybe 10 products are actually shown. Now I have the basic structure with sections and links like: #home / #products / #equipment / #services / #contact. Now from what I understand is that Google does not index links containing #, so there will be no problem of duplicate content, everything will be indexed as the frontpage. Now what I want to optimize is searching. This company is agent of some product in the country, meaning only they have the permission to import and sell that product. This means that when somebody searches for product x, this website pops up as the first hit. Now can I make it that they will be automatically brought to the #products part of the website directly from google. I was thinking of something like having google index the different sections as different pages. Is something like that possible?",
"What is $\\lim_{n\\to \\infty}\\sum_{k=1}^n \\left(\\frac{k}{n}\\right)^n$? I'm asked to find $\\displaystyle\\lim_{n\\to \\infty}\\sum_{k=1}^n \\left(\\frac{k}{n}\\right)^n$. It seems that the sum converges. I managed to prove that $\\forall n,1<\\sum_{k=1}^n \\left(\\frac{k}{n}\\right)^n<e$ But I don't know how to prove convergence, nor find the value of the limit.",
"How can I find and replace specific words in a text file using command line?",
"A club has $12$ members. They need to choose a programming team of $3$ members and a hacking team of $4$ members. Members can be on both teams, but Jack only wants to be on at most one team. How many ways can both teams be chosen? I did two different ways. I solved if Jack chooses programming, $C(12,3)=220$ $C(11,4)=330$. In total there are $550$ different ways both teams can be picked. But, if Jack chooses hacking, I solved $C(11,3)=165$ and $C(12,4)=495$. In total there are $650$ ways both teams can be chosen. I was wondering if this is the correct method.",
"Dirac equation as Hamiltonian system Let us consider Dirac equation $$(i\\gamma^\\mu\\partial_\\mu -m)\\psi ~=~0$$ as a classical field equation. Is it possible to introduce Poisson bracket on the space of spinors $\\psi$ in such a way that Dirac equation becomes Hamiltonian equation $$\\dot{\\psi}~=~\\{ \\psi,H\\}_{PB}~?$$ Of course, such Poisson bracket would be graded (super Poisson bracket), but if it exists this would explain on classical level why $\\frac{1}{2}$-spinors correspond to fermions.",
"SHM with acceleration at mean position Suppose we have an equation of motion as $$\\frac{d^2x}{dt^2} = -kx + c,$$ then can it be called a SHM? Since acceleration is still proportional to displacement. But then, how will we define the mean position?",
"jQuery - regexp selecting and removeClass()?",
"Conformal transformation/ Weyl scaling are they two different things? Confused!",
"Distribution of range of Uniform $(0,1)$ distribution",
"How would one write object-oriented code in C? What are some ways to write object-oriented code in C? Especially with regard to polymorphism. See also this Stack Overflow question ."
]
| medi_sts_stackexchange_dupe |
UTF-8 form submit in JSF is corrupting data | Unicode input retrieved via PrimeFaces input components become corrupted | [
"How to effectively use the man pages? I am looking forward to mastering linux. I have been repeatedly told to refer to man pages when you are in doubt. Though I am very comfortable with the commandline, I find it very difficult to quickly and efficiently use man to find help with commands. Hence I end up googling up how to get things done. It is even more painful when the system I am using does not have internet access and I have to walk back to my office to get help from the internet. How does one master man pages? What are the most common tricks that can be used to quickly get whatever you want from the man page? What are the most commonly used keyboard shortcuts?",
"Capacitor Voltage Rating How to find the voltage rating of a capacitor after knowing the capacitance value. Example, For a power supply, If the input voltage is 60V and output is 5V. The input capacitor(C1) value is 100uf and output capacitor value is 1000uf. What is the voltage rating for both the capacitors and how to find them.",
"How to integrate $\\frac{1}{\\sqrt{1+x^2}}$ using substitution? How you integrate $\\frac{1}{\\sqrt{1+x^2}}$ using following substitution? $1+x^2=t$ $\\Rightarrow$ $x=\\sqrt{t-1} \\Rightarrow dx = \\frac{dt}{2\\sqrt{t-1}}dt$... Now I'm stuck. I don't know how to proceed using substitution rule.",
"What diagnostic plots (and perhaps formal tests) do you find most informative for regressions where the outcome is a count variable? I'm especially interested in Poisson and negative binomial models, as well as zero-inflated and hurdle counterparts of each. Most of the sources I've found simply plot the residuals vs. fitted values without discussion of what these plots \"should\" look like. Wisdom and references greatly appreciated. The back story on why I'm asking this, if it's relevant, is . Related discussions:",
"Does the shape of a containter affect the apparent mass of liquid inside it when measured by a scale? For both containers it is true that: $p_{bottom}=p_{atm}+\\rho gh$ and $F_{bottom}=a*p_{bottom} \\iff F_{bottom}=a*p_{atm} + a\\rho gh$ I do not know how a scale functions, but I guess that the only force it can count is the force by the liquid on the bottom of each container (the only surface that is in touch with the scale is the bottom of the container). Thus, if we measured the mass of these two masses of water (lets assume that the mass of the containers is negligible) it would appear to be the same in each case. Am I right?",
"Let's say I have the domain johnsmith.com and I want people to reach me via email, what is the best email username to use? Some examples: [email protected] - redundant [email protected] - redundant and looks kinda stupid [email protected] - makes sense, but looks very \"technical\" [email protected] [email protected] - for the geeks among us ;-) Of course, technically I can simply say that I will be able to receive *@johnsmith.com, however, for a better user experience I still just want one email address for public presence (website, business cards, etc.). Any suggestions?",
"Quite simply (and similarly to my other questions about previous versions of this feat and ) I want to know if this feat is balanced and if not then what should be done to improve it? Since the last iteration I have changed the wording as per David Coffron's answer, increased the time and monetary cost as well as added in the action requirement to activate the rune as per Ruse's answer and increased the costs as per linksassin's answer Rune Caster Prerequisites: ability to cast at least one spell of 1st level or higher When you take this feat you can imbue your spells of 1st level or higher into a rune by casting the spell as a rune, this means that you must have the object you want to put the rune on within reach for the entire duration of the casting as well as any tools required to make the rune. When casting a rune you add the time listed in the cost time table to the casting time and the cost listed in the cost time table to the components of the spell in accordance with the stored spell. \\begin{array}{|l|l|l|} \\hline \\text{Spell level} & \\text{Time (hrs)} & \\text{Cost (GP)}\\\\ \\hline 1 & 1 & 50 \\\\ \\hline 2 & 2 & 100\\\\ \\hline 3 & 4 & 500\\\\ \\hline 4 & 6 & 1,000\\\\ \\hline 5 & 8 & 5,000\\\\ \\hline 6 & 12 & 10,000\\\\ \\hline 7 & 16 & 50,000\\\\ \\hline 8 & 18 & 100,000\\\\ \\hline 9 & 24 & 500,000\\\\ \\hline \\end{array} When making a rune you choose a trigger which is touch and/or command word and can be specified to only a group of people/creatures or a body part. When defining creatures that can activate the rune you may be as specific or general as you want. The DM interprets the designated creatures as your character would have interpreted them when you made the rune. When you store a spell in a rune some of the ranges are altered, a range of touch becomes a range of self, a range and target keeps the same range and the person who activates the rune designates the target and range with an aoe sets the origin to the center of the rune, lastly a range of self stays the same. When a rune is activated the spell is released acting as if it had just been cast without requiring any components or concentration. The rune then disappears leaving no trace of its presence. To activate a rune you must complete the trigger, this means speaking any command words and physically touching the rune each if applicable, this requires the activator to use the object interaction action while within reach for touch runes and while within 60 ft for command words. If both triggers are used then they must both be fulfilled within the same turn.",
"Relationship between $\\operatorname{ord}(ab), \\operatorname{ord}(a)$, and $\\operatorname{ord}(b)$ Another homework problem from my Group Theory class. Let $a,b$ be elements of a group, $G$. Let $\\operatorname{ord}(a)=m$ and $\\operatorname{ord}(b)=n$. Let $a$ and $b$ commute. Prove: If $m$ and $n$ are relatively prime, then the $\\operatorname{ord}(ab)=mn$. So I am having trouble starting off on this problem. Here is what I believe I know: $a^m=e$ and $b^n=e$ [as defined by the order of the elements] which leads $a^m=b^n$ $\\operatorname{ord}(ab)=mn=\\operatorname{ord}(ba)=nm$ as defined by commuting. $\\gcd(m,n)=1$ as defined by $m,n$ being relatively prime. I don't know how to start this proof. Do I want to to go the route of $a^mb^n=e$? Then $(ab)^{mn}=e$? Any tips to start this would be greatly appreciated!!!",
"How to calculate hash value of a file in Java?",
"I'm trying to install Ubuntu 12.10 alongside Windows 7 on my ASUS laptop and I'm new to all of this. I'm using the Ubuntu 12.10 64-bit ISO burned onto a CD. The first time I tried to install it, Ubuntu said it did not detect any other OS, which meant I only had 4 options: Erase disk and install Ubuntu (I don't want to do this) Encrypt new Ubuntu. Use LVM. Something else. If I choose the Something else option, it brings me to the partition menu and says that I have 1 disk with free space of 750516Mb (750Gb), but that's not true because I have Windows 7. I've already read through several questions and people have mentioned that you could only have 4 primary partitions. So I got hold of partition magic and removed my D: and E:, leaving me with primary C: partition and System reserved partition and a lot of unallocated space. I restarted the laptop several times and booted the CD again and I got exactly the same as I did previously. How do fix this problem and install Ubuntu alongside Windows 7? EDIT 1 Here are my results for sudo fdisk -l; echo; sudo parted -l; echo; mount; echo; df -h WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x90050371 Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 146368214 73080683+ 7 HPFS/NTFS/exFAT Warning: /dev/sda contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table? Yes/No? After selecting YES Yes/No? yes Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel?",
"What is the English equivalent of gatasan?",
"Is there a way to give promo/coupon codes for people to download your app for free?",
"Lie bracket for Lie algebra of $SO(n,m)$ How does one show that the bracket of elements in the Lie algebra of $SO(n,m)$ is given by $$[J_{ab},J_{cd}] ~=~ i(\\eta_{ad} J_{bc} + \\eta_{bc} J_{ad} - \\eta_{ac} J_{bd} - \\eta_{bd}J_{ac}),$$ where $\\eta$ has is the definite symmetric form with signature $(n,m)$?",
"If a question is in all-uppercase or all-lowercase, our quality filters should automatically reject it Proposal If a question on an English-language Stack Exchange site does not contain at least one uppercase and one lowercase letter, our quality filter should reject it. (We can make exceptions for sites which don't use a mixed-case alphabet, such as .) Justification The quality filter currently rejects neither all-uppercase nor all-lowercase posts. I've checked. The best Stack Exchange users use mixed case. If an asker is too lazy to use their Shift key, their question tends not to be of very good quality. Don't take my word for it. You can see proof. Sam Saffron helped me write which lets you see with your very own eyes that what I am saying is true. Single-case askers tend to ask poor-quality questions such as: In addition, posts which use only uppercase or only lowercase — even if they aren't riddled with typos or grammatical errors — tend to be hard to read. Capitalization aids readability. Why is this proposal not a duplicate? This proposal is not a duplicate of the older proposal . This is because it also deals with all-lowercase questions. All-lowercase questions are 50 times more common than all-caps questions. Stack Overflow gets only about 100 all-uppercase questions per year; see . Yet it gets about 5,000 all-lowercase questions per year; see . (These statistics are for Stack Overflow only; the rest of our network wasn't considered.) I suspect that the older proposal was declined for two reasons: All-uppercase questions are rare. Therefore, the effort required to block all-uppercase questions is too much. This proposal is better. For just a bit more effort, the Stack Exchange developers can get a much richer reward. Conclusion What do you think of my proposal? Agree? Disagree? Thoughts? PS: This idea is modified and adapted from by Stack Exchange user Gilles. My dear sir Gilles, I thank you. Note There's even a which automatically detects questions with all-caps titles and alerts interested users and moderators.",
"Is && statement() the same as if() statement()?",
"How to understand a volatility based ETF like VXX The ETF VXX is based on the volatility index VIX. If volatility goes up, VIX goes up and VXX goes up. Similar thing for the downside. Now when I buy an ETF like SPY, I can conceptually understand that I am buying a small portion of each of the underlying companies. So if an underlying company stock makes a move, the ETF SPY makes a move in the same direction. But when I buy VXX, what exactly is the underlying? It is VIX. I am unable to grasp the concept of 'volatility' as the underlying. I can visualise only stocks and commodities as the underlying because in my understanding, the unerlying needs to be something physical (let us say stocks are physical commodities for this example). Can someone explain the concept of 'volatility' as the underlying? Is the word 'underlying' even appropriate in this case or is the word 'underlying' only to be used for derivative products?",
"Adjust sound notification per chat room At the top right of a chat room, just above the room title, there is a speaker icon. Clicking on this icon brings up the settings for \"Sound notifications\": Currently, a change to this setting affects all chat rooms. Selecting \"visible room\" means that an audio notification is given for any activity in any room that is currently open in a browser tab (regardless of whether that is the active tab). It would be useful to be able to adjust audio notification settings for individual rooms. For example, The Nineteenth Byte is quite a busy room, so I'd like to be notified only when mentioned. The Cornell Box is a much quieter room, and I'd like to be notified any time there is activity regardless of whether I am mentioned. Currently I can set all rooms to notify me of any activity, or I can set all rooms to notify me only when mentioned, but I can't choose a different setting for each room. This would also be particularly useful when setting up a room for a very specific purpose, such as discussion of a particular question.",
"I want to do an , then cross-validate model prediction accuracy with 80% data for training and 20% for validation, and calculate for predictions. Consider this dataset: X Y ---------- 2.3 1 3.1 2 3.5 2 10.0 5 6.8 4 5.0 3 5.4 2 3.2 1 I did this: x=c(2.3,3.1,3.5,10.0,6.8,5.0,5.4,3.2) y=c(1,2,2,5,4,3,2,1) myData=data.frame(cbind(x,y)) library(\"MASS\") reg=polr(as.factor(myData$y)~myData$x,data=myData,method=\"probit\") I saw , but I couldn't fully understand. Suppose myValidationData contains 20% of data which I want to use for validation. So, I would do: fit=predict(reg,type=\"probs\") x=c(5.6, 5.1) y=c(3,3) myValidationData=data.frame(cbind(x,y)) This is how I tried to predict, but is it correct, when I want to cross-validate? fit=predict(reg,data=myValidationData,type=\"probs\") How should I measure RMSE? And, how can I plot the prediction?",
"The advantages and disadvantages of using Kaiser Rule to select the number of principal components Is the Kaiser rule (choosing only PCs with eigenvalues >1, ) a reasonable method to select the number of principal components to retain? What are its pros and cons?",
"Animating eye texture in a head mesh I'm trying to animate a mesh with different eye textures but it's not working. This is a texture made by me to animate but I still couldn't figure out how to do it. I've seen tutorials on the internet but they don't work to me."
]
| medi_sts_stackexchange_dupe |
Declaring the same variable name in a loop | What is the scope of variables in JavaScript? | [
"Example of a group where $o(a)$ and $o(b)$ are finite but $o(ab)$ is infinite Let G be a group and $a,b \\in G$. It is given that $o(a)$ and $o(b)$ are finite. Can you give an example of a group where $o(ab)$ is infinite?",
"How do I set my wireless network to be private instead of public? Trying to maintain good security settings on my laptop, I want my home network to be interpreted as private and the university network at school to be interpreted as public. However, my home network is currently showing as public. Here is what my Network and Sharing Center looks like: How do I change my home network from public to private on Windows 8 Consumer Preview?",
"I always use lm() in R to perform linear regression of $y$ on $x$. That function returns a coefficient $\\beta$ such that $$y = \\beta x.$$ Today I learned about total least squares and that princomp() function (principal component analysis, PCA) can be used to perform it. It should be good for me (more accurate). I have done some tests using princomp(), like: r <- princomp( ~ x + y) My problem is: how to interpret its results? How can I get the regression coefficient? By \"coefficient\" I mean the number $\\beta$ that I have to use to multiply the $x$ value to give a number close to $y$.",
"How to add features to a PostGIS layer using Quantum GIS? I am using Quantum GIS and the PostGIS dbms. I am able to call the PostGIS layer into QGIS but i am unable to add feature to it. I am using the method of adding features to a Shapefile but still it is not getting reflected in the layer, and I don't know how to save it to the PostGIS database if I am able to add the feature to the PostGIS layer. I may not have used some technical term for this problem because i don't know what to call it, I am expressing the problem in my own terms.",
"Some websites and textbooks refer to $$\\Delta x \\Delta p \\geq \\frac{\\hbar}{2}$$ as the correct formula for the uncertainty principle whereas other sources use the formula $$\\Delta x \\Delta p \\geq \\hbar.$$ Question: Which one is correct and why? The latter is used in the textbook \"Physics II for Dummies\" (German edition) for several examples and the author also derives that formula so I assume that this is not a typing error. This is the mentioned derivation: $\\sin \\theta = \\frac{\\lambda}{\\Delta y}$ assuming $\\theta$ is small: $\\tan \\theta = \\frac{\\lambda}{\\Delta y}$ de Broglie equation: $\\lambda = \\frac{h}{p_x}$ $\\Rightarrow \\tan \\theta \\approx \\frac{h}{p_x \\cdot \\Delta y}$ but also: $\\tan \\theta = \\frac{\\Delta p_y}{p_x}$ equalize $\\tan \\theta$: $\\frac{h}{p_x \\cdot \\Delta y} \\approx \\frac{\\Delta p_y}{p_x}$ $\\Rightarrow \\frac{h}{\\Delta y} \\approx \\Delta p_y \\Rightarrow \\Delta p_y \\Delta y \\approx h$ $\\Rightarrow \\Delta p_y \\Delta y \\geq \\frac{h}{2 \\pi}$ $\\Rightarrow \\Delta p \\Delta x \\geq \\frac{h}{2 \\pi}$ So: Which one is correct and why?",
"How to reset the Xorg / xserver? Xserver keeps crashing on my general user account both in Unity 3D and 2D. It doesn't do it on the guest account. That's why I want to reset / rollback everything xserver related, hoping this is going to fix it. Most answers on this involve sudo dpkg-reconfigure xserver-xorg. However, this does nothing for me (generates no output) and I read in other forums, that it's deprecated. So, what's the current way to reset all xserver / xorg options; what's the alternative to sudo dpkg-reconfigure xserver-xorg? X crashes during work, not before login or so. And the effect of a crash is, that I get thrown out of the session, not a freeze or machine crash.",
"The book says: Concentration. Some spells require you to maintain concentration in order to keep their magic active. If you lose concentration, such a spell ends. So what happens if, for example, you are already concentrating on a spell, and cast Witch Bolt without concentrating. Would you get the initial arc of blue energy, or would it not even go off? I am asking if you can cast a spell that says concentration without concentrating for an immediate effect. This would be useful to avoid interrupting your existing concentration. In essence, if you are concentrating on thing A (doesn't have to be a spell since other things need concentration), can you cast a concentration spell getting an immediate effect without losing concentration on thing A? Since the definition of concentration is to keep the spell active (meaning it is already active) I would think that you would get the initial effect (if it had one) without the need to concentrate on it.",
"How can I use colours to separate texture node treatment?",
"I'm a bit confused about the concept of ground, and perhaps voltage as well, particularly when trying to analyze a circuit. When I learned about Ohm's law in grade school, I learned how to apply the law to calculate current, voltage, and resistance of simple circuits. For instance, if we were given the following circuit: We would be could be asked to calculate the current passing through the circuit. At the time, I'd simply compute (based on the rules given) 1.5V/1Ohms=1.5A. Later on, however, I learned that the reason the voltage of the resistor would be 1.5V is because voltage is really the difference in potential between two points, and that the difference of the voltage across the battery would be the same as that of the resistor (correct me if I'm mistaken), or 1.5V. I got confused, however, after the introduction of the concept of ground. The first time I tried to do the current calculation for a circuit similar to the previous circuit on a simulator, the program complained about not having a ground and \"floating voltage sources\". After a bit of searching, I learned that circuits need ground as a reference point or for safety reasons. It was mentioned in one explanation that one can pick any node for ground, although it's customary to design circuits so there is a \"easy place\" to pick ground. Thus for this circuit I picked ground at the bottom, but would it be okay to pick ground between the 7 ohm and 2 ohm resistor - or any other place? And what would be the difference when analyzing the circuit? I've read that there are 3 typical ground symbols with different meanings - chassis ground, earth ground, and signal ground. A lot of circuits I've seen used in exercises either use earth ground or signal ground. What purpose is there in using earth ground? What is the signal ground connected to? Another question: since the ground is at unknown potential, wouldn't there be current flowing to or from ground to the circuit? From what I've read we treat the ground as 0V, but wouldn't there be some sort of effect because of a difference in potential of the circuit and ground? Would the effect be different depending on what ground was used? Finally: In nodal analysis, one customarily picks a ground at the negative terminal of the battery. However, when there are multiple voltage sources, some of them are \"floating\". What meaning does the voltage of a floating voltage source have?",
"Is there a proof that the ratio of a circle's diameter and the circumference is the same for all circles, that doesn't involve some kind of limiting process, e.g. a direct geometrical proof?",
"In my preamble, you'll find: \\renewcommand{\\baselinestretch}{1} \\renewcommand{\\familydefault}{\\sfdefault} \\usepackage[sfmath]{kpfonts} \\usepackage[mathrmOrig]{sfmath} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{amsfonts} \\usepackage{animate} \\usepackage{anysize} \\usepackage{arcs} \\usepackage{array} \\usepackage[scale=0]{background} \\usepackage{blindtext} \\usepackage{calc} \\usepackage{cancel} \\usepackage{chngcntr} \\usepackage{CJK} \\usepackage{CJKspace} \\usepackage{CJKpunct} \\usepackage{colortbl} \\usepackage{enumitem} \\usepackage{epstopdf} \\usepackage{etoolbox} \\usepackage{fancybox} \\usepackage{fancyhdr} \\usepackage{float} \\usepackage{framed} \\usepackage{graphicx} \\usepackage{hyphenat} \\usepackage{ifthen} \\usepackage{latexsym} \\usepackage{lmodern} \\usepackage{multicol} \\usepackage{multirow} \\usepackage{mwe} \\usepackage{pgffor} \\usepackage{rotating} \\usepackage{tabularx} \\usepackage{textcomp} \\usepackage{tgheros,tgtermes,tgcursor} \\usepackage{tikz} \\usepackage{times} \\usepackage{tipa} \\usepackage{varwidth} \\usepackage{wasysym} \\usepackage{wboiboites} \\usepackage[abs]{overpic} \\usepackage[breaklinks,colorlinks=true,linkcolor=red,citecolor=red, urlcolor=blue]{hyperref} \\usepackage[framemethod=TikZ]{mdframed} \\usepackage[breakable, theorems, skins]{tcolorbox,empheq} \\usepackage[default]{gillius} \\usepackage[document]{ragged2e} \\usepackage[latin1]{inputenc} \\usepackage[spanish]{babel} \\usepackage[T1]{fontenc} \\usepackage[total={18.59cm,26.5cm},left=1.5cm,top=2.5cm]{geometry} \\usetikzlibrary{matrix,arrows, positioning,shadows,shadings,backgrounds,calc, shapes, tikzmark} \\usetikzlibrary{shadows.blur} \\usetikzlibrary{shapes.symbols} \\usetikzlibrary{patterns,fadings} \\tcbuselibrary{skins,breakable,listings,theorems} I'm trying to draw an arrow for X axis and Y axis. \\begin{tikzpicture} \\draw[yellow!10, fill=blue!5](-1, -1) rectangle (7, 5); \\draw[dotted] (-0.75,-0.75) grid (6.75,4.75); \\node[below] at (-0.25,0){$O$}; \\draw[->,black, thick] (-0.75,0)--(6.75,0); \\end{tikzpicture} But I get this error: Additionally, if I remove -> from the options of \\draw the tikz picture compiles normally.",
"Does anyone know how to make the character picker appear more quickly? I use it enough now in my German language studies that it has become second nature for the critical marks and much faster than using the alt+keypress shortcuts. Only problem is that it's so second nature that sometimes it doesn't pop up quickly enough so I end up typing the character and the number shortcut sometimes (IE u2 instead of ü). Anyone know how to make it appear with less delay? Ideally, I'd love if I could just hold the character and press the number but it appears that OSX insists on waiting for the menu to pop up.",
"Using The Terminal Command to Shutdown, Restart and Sleep My Mac? I'm getting more interested in using Terminal as an alternative way to address solutions on my Mac. I have seen this question entitled . I would therefore like to know: How to shut down, restart and sleep my Mac using the Terminal command exclusively ?",
"Let $\\mu(\\Omega)$ be a probability measure (i.e. $\\mu(\\Omega) = 1$), and let $f,g$ be non-negative measurable functions on $\\Omega$ such that $fg \\geq 1$. Show that $1 \\leq (\\int f^p )(\\int g^p)$ for all $0 < p < \\infty$ I'm a bit at a loss of what to do. I know that since $fg \\geq 1$, we may obtain: $$\\int_{\\Omega} d\\mu = \\mu(\\Omega) = 1 \\leq \\int_{\\Omega} fg = \\int_{\\Omega} |fg|$$ The right-most integral is true since $fg$ is positive and it is equal to $||fg||_1$. By Hölder's inequality, we obtain: $$1 \\leq \\int |fg| \\leq ||f||_p ||g||_q = (\\int f^p)^\\frac{1}{p}(\\int g^q)^\\frac{1}{q}$$ where $p$ and $q$ satisfy $\\frac{1}{p} + \\frac{1}{q} = 1$. Raising the left-most and right-most sides of this inequality to the power $p$, I may obtain: $$1 \\leq (\\int f^p)(\\int g^q)^\\frac{p}{q}$$ I now wish to show that $(\\int g^q)^\\frac{p}{q} \\leq \\int g^p$, but I've been at a loss of how to do it. Any tips or hints would be greatly appreciated.",
"Why does light in a room not form constructive and destructive interference patterns?",
"Compute Taylor error of $10^{-5}$ for $\\cos(\\pi/20)$",
"I use Ubuntu 18 and have little experience with Linux commands. I have two files: file 1: a,txt1,v1 b,txt2,v2 c,txt3,v1 d,txt4,v2 file2: a,txt5,v2 b,txt6,v1 c,txt7,v1 d,txt8,v2 I want to print the 1st and 3rd column values where the the 1st column value is identical and the 3rd column value has changed from v1 to v2. So my expected output should be: a The second query is for the 3rd column values that has changed from v2 to v1. So my expected outcome: b",
"Why don't metals bond when touched together?",
"What does Morgoth look like? Is Morgoth, the original enemy in J. R. R. Tolkien's Middle-earth ever visually described? I envisage him as a bigger, meaner version of the physical Sauron, but I cannot find any reference in The Simarillion.",
"Flag pop-up hidden beneath answer box (and it's still transparent!)"
]
| medi_sts_stackexchange_dupe |
Using Kaiser rule to select the best principal components: pros and cons | The advantages and disadvantages of using Kaiser Rule to select the number of principal components | [
"How to write a unit-test / test class for trigger? How do I write a unit-test / test class for a trigger? What are my options? Inline with the trigger? New Class?",
"I'm studying special relativity and saw the 2 postulates of Einstein. The most remarkable one for me is the universal speed of light. Einstein postulated that the speed of light in vacuum is the same for all inertial observers, regardless of the motion of the source. But what if we are accelerating and we are changing from one inertial frame to another, how will we observe the speed of light? Is it still the same? I suggest it's not? Because I alread saw a small introduction to general relativity where the light will bend in a gravitational field and therefore also when you accelerate. So does the speed of light change because it bends?",
"How to use \\graphicspath? I am using MikTex 2.9 and TeXstudio for my TeX preparation. I would like to set the path to my figures folder, which contains all the figures, plots etc. required for my work. I used \\graphicspath to set the directory, but it gives me an error message: \\documentclass[12pt]{article} \\usepackage{graphicx} \\graphicspath{D:/LATEX/Reports@IIT/figures} \\begin{document} \\includegraphics[width=4.5cm,height=4cm,angle=0]{logo.jpg} \\end{document} Error: Package pdftex.def Error: File `logo.jpg' not found However, when I prepend the filenames of the images with the same path in the \\includegraphics command, it works just fine: \\documentclass[12pt]{article} \\usepackage{graphicx} \\begin{document} \\includegraphics[width=4.5cm,height=4cm,angle=0]{D:/LATEX/Reports@IIT/figures/logo.jpg} \\end{document} Why is \\graphicspath not setting the path?",
"Is starting a group with 5 newbies (DM included) possible? Some friends and I want to start playing D&D (5e), but none of us, DM included (not me) have played before to any great extent. The DM and I have some cursory experience with 4e, but have never been able to play to any great extent. Is this advisable, or should we play with existing groups first? We live in a relatively remote area, making it hard to find experienced players.",
"What are reaching fouls in the NBA?",
"I have 20 to 3o computers on my network and I have a copy of the debian packages on /var/cache/apt/archives but when I take this downloaded copy to any other machine I need to hit an \"apt-get update\" , How do I avoid this ? Where is the list of packages which is updated by that command stored. I need to copy them as well, and use it on a computer which is completely offline.",
"A few months ago I was telling high school students about Fermat's principle. You can use it to show that light reflects off a surface at equal angles. To set it up, you put in boundary conditions, like \"the light starts at A and ends at B\". But these conditions by themselves are insufficient to determine what the path is, because there's an extra irrelevant stationary time path, which is the light going directly from A to B without ever bouncing off the surface. We get rid of this by adding in another boundary condition, i.e. that we only care about paths that actually do bounce. Then the solution is unique. Of course the second I finished saying this one of the students asked \"what if you're inside an elliptical mirror, and A and B are the two foci?\" In this case, you can impose the condition \"we only care about paths that hit the mirror\", but this doesn't nail down the path at all because any path that consists of a straight line from A to the mirror, followed by a straight line to B, will take equal time! So in this case the principle tells us nothing at all. The fact that we can get no information whatsoever from an action principle feels disturbing. I thought the standard model was based on one of those! My questions are Is this anything more than a mathematical curiosity? Does this come up as a problem/obstacle in higher physics? Is there a nicer, mathematically natural way to state the \"only count bouncing paths\" condition? Also, is there a \"nice\" condition that specifies a path in the ellipse case? What should I have told that student?",
"How to correctly post a Q&A style question (i.e.self answer) without it failing minimal understanding As I understand it Q&A style questions are but a self answered question should be judged independently of the answer. Often after I've solved a problem I would like to share the question and answer on stack overflow (and have on a couple of occasions) but how to show "minimal understanding of the problem" is always challenging. For example I have been looking into the following question How can I plot a straight line in the JMonkey Engine library I'm trying to plot straight lines between vertices that I specify using the JMonkey Engine 3D graphics library. So for example if I was to try to plot between: (2,0,0) (-1,0,1) (0,1,1) (1,1,1) (1,4,0) Then I would get: This is something I do (and forget how to do) relatively often and the answer is harder to find than you'd imagine ( provides everything needed to figure it out but its spread out over several posts and isn't a complete solution on its own). Therefore I want to provide a Q&A for it but at present this question feels like it would fail the minimal understanding test Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work Should I make up some imaginary problem? (Probably the final source code messed up a bit) Or mention in the question that I’m self answering to assuage some of the normal "This is not a do your work for you site" comments.",
"I am trying to send an email using a Visualforce template and I want that template to include an icon. Is this possible?",
"In a field that is the direct product of two fields, why isn't it a field? Suppose that we have the direct product of two fields, defined as: $\\mathbb{F}^2 = \\mathbb{F} \\ \\times\\ \\mathbb{F}$. Then, this is obviously not a field because we can take $(1,0)$, and this doesn't have a multiplicative inverse. However, I saw a mention to this today in a book, and the reasoning was: \"$\\mathbb{F} \\ \\times\\ \\mathbb{F}$ has the zero-divisor $(1,0) \\neq (0,0)$, hence it is not a field\". (Lectures on Rings and Modules by Joachim Lambek, pg. 17). I am not sure what they mean by zero-divisor here nor what $(1,0) \\neq (0,0)$ has anything to do with the direct product of fields not being a field. I always assumed there wasn't a multiplicative inverse, and that was it. Am I missing something deeper?",
"How can I create a /dev/null-like \"blackhole\" directory? I would like to create a \"/dev/null\" directory (or a \"blackhole\" directory) such that any files written to it are not really written, but just disappear. I have an application that writes out large temporary files to a directory. I have no control over the name of the files and I don't really care about the content of these files. I could write a script that periodically clobbers these files, but the files are written out very quickly and fill my disk. I'm looking for something cleverer. I want the application to \"think\" that it is writing out these files, when in fact, the writes are just being discarded at the other end. Also see old related thread.",
"Apt-get stuck at 0% [Working]",
"Really stuck with this, \\begin{cases} 2tx'(t)-1=x^2t \\\\ x(t=1)=1 \\\\ \\end{cases} I don't understand the variables. What does it mean that $x$ differentiated have $t$ as a function value, like this: $x'(t)$? Don't get it :(",
"How to create a bootable USB stick?",
"How to capture the scale of a scene? My framing in the following photo completely failed to capture the sheer height of the waterfall. If you don't know I was standing at the top of the waterfall, and the \"splinters\" at the bottom are full-size tree trunks 2 feet in diameter, you wouldn't have a clue how tall it is. It just looks like a smaller, shorter waterfall shot with a slower shutter speed. My question isn't about this picture or waterfalls in particular, but about framing to capture the scale of your subject in general. What are techniques to show just how big something really is? Or conversely, something really small? Especially things like rocks or water that look roughly the same at any size.",
"What constitutes protons? When I see pictures, I can't understand. Protons are made of quarks, but some say that they are made of 99% empty space. Also, in this illustration from Wikipedia, what's between the quarks?",
"How do you find all $n$ such that $\\phi(n)|n$",
"Prove that if a number $n > 1$ is not prime, then it has a prime factor $\\le \\sqrt{n}$.",
"Describing groups with given presentation? $\\langle x,y\\ |\\ xy=yx,x^5=y^3\\rangle$ and $\\langle x,y\\ |\\ xy=yx,x^4=y^2\\rangle$. I'm trying to describe the groups with presentations $\\langle x,y\\ |\\ xy=yx,x^5=y^3\\rangle$ and $\\langle x,y\\ |\\ xy=yx,x^4=y^2\\rangle$. I have some problems getting a good picture of what they look like... For the first one, $xy=yx$ allows us to say that any element in the group can be written as $x^iy^j$ for some $i,j$. More precisely, using $x^5=y^3$, we can always reduce $j$ to $0,1$ or $2$, whereas $i$ could have any value. So I was thinking about $\\mathbb{Z} \\times C_3$. But the other way around (reducing $i$ this time) it's also $C_5 \\times \\mathbb{Z}$. But then I should be able to prove that both descriptions are equivalent, which I can't do... For the second, I proceed similarly and get to the same kind of problem... Could you tell me where I'm going wrong? Thank you very much in advance!",
"I have one feature-request with the objective of having duplicate questions with no answers: To (try to) avoid people answering duplicate questions, add an alert that says the question has a probable duplicate if it has a close vote as Exact duplicate, asking the answerer to go to the original and answer there. What do you think? My objective is letting the duplicate question exist for search purposes, but the answers centralized in the root question."
]
| medi_sts_stackexchange_dupe |
Why locate is faster than find? | 'locate' command in terminal. Why is it so fast? | [
"Interpolation of multibeam bathymetry using ArcGIS Desktop? I'm trying to make a 3D map with multi-beam bathymetry (65536 features, xyz), but it seems that the interpolation methods are too rigid. I need to smooth the data so it looks more natural and realistic. Which parameters do I have to vary so I can get this?",
"How do I remember which units counter which in StarCraft 2?",
"Lots of questions in the reopen queue",
"Will links to images be kept permanently when added to a comment and nothing else? I assume, that Stack Exchange have some clean-up subsystem, which deletes all \"abandoned\" images (stored at i.stack.imgur.com), that is, all of them, that were initially uploaded, but no post is actually having link to them. Am I right? If such subsystem is implemented and is doing its job on regular basis, then what about following scenario: Start a new question or answer, anywhere. Hit button and upload an image. Copy generated image's URL to clipboard. Close tab and drop editing post. Go to question on answer, you actually planned to reply. Post a comment to it and paste copied image's URL from clipboard to comment's body. Will uploaded image, with URL pasted only to comment, be kept permanent? Does clean-up subsystem (if exitst) take care of checking for image's URLs in comments as well?",
"Editing older revision (not most recent) no longer includes older title and tags, and automatic rollback note",
"How can I install MonoDevelop v4 on 12.04? I am using Ubuntu 12.04. I can install v2.8.6.3 of Monodevelop from software center but I need at least v3 to use Monogame v3 or higher. Can anyone point me in the right direction please? Thanks",
"About compactness and completeness of set $X = \\mathbb{R}$ with the metric $d(x, y) = \\frac{|x-y|}{1+|x-y|}$",
"!! Do not use the future tense after unless [✓] I won't go unless you go [✘] [I won't go] unless you will go. [✘] Why not? Even if the above is prescriptive, what may be some reasons? In my separate question , I quote: unless = if not. If not can precede future tense; so why can't unless? Footnote: motivated this.",
"How to prove that: $\\tan(3\\pi/11) + 4\\sin(2\\pi/11) = \\sqrt{11}$",
"Copy files from a list to a folder",
"Stacks for Unity Launcher I'm looking forward to emulate the behavior of OS X Dock Stacks so that I can have, for instance, one stack for browsers and another one for IDES. People at ask ubuntu are doing a lot of cleaver stuff with custom Launchers and Quicklists (see ). So has anyone figured out how to have stacks in Unity? Anything fancier than a static Quicklist over a dummy folder icon?",
"I am wanting to find the correlation between two variables: a categorical vegetation variable (with categories 1-4) and a continuous variable of erosion (with values anywhere between 0.2 and 9). I think I would be required to use a non parametric test to find the correlation, but bit of a newby to stats so could anyone suggest the best test to use? I also wanted to know how sample size can affect these tests, ie with a sample size of 100 or 1000?",
"What is the smallest convex set includes all smooth unit curves? I try to understand: is there a smallest in area convex set that every smooth curve with length 1 can be placed inside it by translation and rotation? I only have a upper bound $S \\leq \\frac14+\\frac{\\pi}{16}$ because of convex hull of two circles radius $\\frac14$ and simple lower bound $S\\geq\\frac1{4\\pi}$. Does this set exist and what is its length?",
"Dataset collapsing/reducing",
"Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for applications? How do I keep permissions and my keys for various authentification (e.g. email, SSH, GPG and more)? What settings could possibly get lost if I changed my username?",
"Dual monitors not working with an Nvidia card Even my main monitor is shown as unknown. I have tried setting up dual monitors using Nvidia settings with no joy however it does recognize that I have 2 monitors. This was not an issue in 11.04. My problem with the Nvidia settings appears to be that my 2 monitors require different resolutions but even when I set them to a resolution that they both can handle, it is then only appearing in cloned mode. I really hope someone can help or I will have to roll back to 11.04. Why won't Ubuntu 11.10 recognize that I have 2 Monitors? Here is the contents of my xorg.conf: # nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 280.13 (buildd@rothera) Thu Aug 11 17:28:49 UTC 2011 Section \"ServerLayout\" Identifier \"Layout0\" Screen 0 \"Screen0\" 0 0 InputDevice \"Keyboard0\" \"CoreKeyboard\" InputDevice \"Mouse0\" \"CorePointer\" Option \"Xinerama\" \"0\" EndSection Section \"Files\" EndSection Section \"InputDevice\" # generated from default Identifier \"Mouse0\" Driver \"mouse\" Option \"Protocol\" \"auto\" Option \"Device\" \"/dev/psaux\" Option \"Emulate3Buttons\" \"no\" Option \"ZAxisMapping\" \"4 5\" EndSection Section \"InputDevice\" # generated from default Identifier \"Keyboard0\" Driver \"kbd\" EndSection Section \"Monitor\" # HorizSync source: xconfig, VertRefresh source: xconfig Identifier \"Monitor0\" VendorName \"Unknown\" ModelName \"CRT-0\" HorizSync 30.0 - 83.0 VertRefresh 50.0 - 76.0 Option \"DPMS\" EndSection Section \"Device\" Identifier \"Device0\" Driver \"nvidia\" VendorName \"NVIDIA Corporation\" BoardName \"GeForce 7025 / nForce 630a\" EndSection Section \"Screen\" Identifier \"Screen0\" Device \"Device0\" Monitor \"Monitor0\" DefaultDepth 24 Option \"TwinView\" \"1\" Option \"TwinViewXineramaInfoOrder\" \"CRT-0\" Option \"metamodes\" \"CRT: 1280x1024 +1024+0, DFP: 1024x768 +0+0\" SubSection \"Display\" Depth 24 EndSubSection EndSection\" ok I have tried disper -e. Problem is that Nvidia settings appear to be treating both monitors as the same one. so changing the settings to one has no effect, but change the other and it affects both screens identically. Results of disper -l as follows: carter@carter-desktop:~$ disper -l display DFP-0: HP vs17 resolutions: 320x240, 400x300, 416x312, 512x384, 576x432, 680x384, 640x480, 720x450, 640x512, 800x512, 840x525, 800x600, 960x540, 832x624, 960x600, 896x672, 1024x768, 1152x864, 1280x960, 1280x1024 display CRT-0: CRT-0 resolutions: 320x240, 400x300, 416x312, 512x384, 576x432, 680x384, 640x480, 720x450, 640x512, 800x512, 840x525, 800x600, 960x540, 832x624, 960x600, 896x672, 1024x768, 1152x864, 1360x768, 1280x960, 1440x900, 1280x1024, 1400x1050, 1600x1024, 1680x1050, 1600x1200, 1920x1080, 1920x1200, 1792x1344 carter@carter-desktop:~$",
"How to spawn a Giant with equipment? I really want to spawn Giant with armor and swords. Because Giants are strong, and great challenge if spawned with enchanted diamond armor and a diamond sword.",
"This has been a old live-action movie from Asia, most likely Japan. I've seen it some time in the late 80's and I think it's been black/white only. Earth is invaded by UFOs (small and round, like flying balls), coming from Mars. Japan (I think) built some kind of super spaceship, initially hidden within some secret port in some kind of island/mountain. The spaceship looks similar to a classic battleship, but with an added drill below the front. In the movie's finale it's revealed that this is some kind of super weapon/bomb that has to be manually piloted by someone. When launched it starts rotating and flies (formed like a bullet but with the drill/corkscrew head). To defend Earth, the ship is sent on a mission to Venus, where the UFOs seem to originate. I don't remember the specific reason or conclusion here. The ship starts underwater or launches from the mountain on the island, then taking off and fighting UFOs while leaving Earth's atmosphere.",
"Intervals are connected and the only connected sets in $\\mathbb{R}$ As the topic, prove that Intervals are connected and only connected in $\\mathbb{R}$. I know what is the definition of connected set. But not sure how to prove that.",
"Limit $\\frac{x^2y}{x^4+y^2}$ is found using polar coordinates but it is not supposed to exist. Consider the following 2-variable function: $$f(x,y) = \\frac{x^2y}{x^4+y^2}$$ I would like to find the limit of this function as $(x,y) \\rightarrow (0,0)$. I used polar coordinates instead of solving explicitly in $\\mathbb R^2 $, and it went as the following: $$ x = r \\cos \\theta, \\qquad y = r\\sin\\theta $$ Hence, $$\\lim_{(x,y) \\to (0,0)} \\frac{x^2y}{x^4 + y^2} = \\lim_{r \\to 0}\\frac{r^2\\cos^2\\theta(r\\sin\\theta)}{r^4\\cos^4\\theta + r^2\\sin^2\\theta}$$ This simplifies to, $$ \\lim_{r \\to 0} \\frac{r^3 \\cos^2\\theta\\sin\\theta}{r^2(r^2\\cos^4\\theta + \\sin^2\\theta)}$$ Simplifying $r^3/r^2$, we finally get; $$\\lim_{r \\to 0} \\frac{r (\\cos^2\\theta\\sin\\theta)}{r^2\\cos^4\\theta + \\sin^2\\theta}$$ Now from the above, we find that as $r \\to 0$ the limit is $0$. I wanted to verify this answer so I checked on Wolfram Alpha. Explicitly without changing to polar coordinates, it said that the limit does not exist at $(0,0)$ and rightly so. Then how is it that with polar coordinates, the limit exists and is $0$? Am I doing something wrong in this method? Also, what should I do in this situation, and when should I NOT use polar coordinates to find limits of multi-variable functions?"
]
| medi_sts_stackexchange_dupe |
How is bias added in a convolutional layer | Should the bias value be added after convolution operation in CNNs? | [
"Why can the row-reduced echelon matrix $R$ only be identity matrix? I'm reading Linear Algebra by Hoffman, Kunze where the authors explained that a $n\\times n$ matrix $A$ being invertible is equivalent to the fact that $A$ is row-equivalent to $n\\times n$ matrix $R$ which is an identity matrix. In the proof of the theorem, they wrote: $$R= E_k\\ldots E_2E_1 A$$ where $E_1,\\ldots,E_k$ are elementary matrices. Each $E_j$ is invertible, and so $$A = E_1^{-1}\\ldots E_k^{-1}~R\\,. $$ ... Since, $R$ is a (square) row-reduced echelon matrix, $R$ is invertible if and only if $R=I\\,.$ [...] I couldn't get the conclusion, since any row of $R$ can't be zero, it has to be identity matrix $I\\,.$ Why is it so? Isn't there any other row-reduced echelon matrix other than the identity matrix having no zero row and invertible? Why is it so?",
"Voltage Controlled Current Source integrated circuit? Exists? Does anyone know of a Voltage Controlled Current Source IC? Or do you know how I can build one with as few other components as possible taking up a minimal amount of space? current range needed is from 0mA to 350mA",
"How do I withdraw a paper from a journal after it was accepted but before it was fully published? On the advice of a senior colleague, I decided that I do not want to publish the paper anymore and with that journal. I wrote the editor several times; he has received the emails, but refuses to reply. I know he gets the emails because if its on other matters he has replied but not on the paper. I am ready to forfeit the processing fee I gave them but they refuse to reply and have already published the abstract of the paper to their site but not the full paper. Is legal action an option and do I have the right to sue? What are the guidelines in matters like these?",
"es.SO questions aren't excluded from the Hot Questions list As figured out in localized SE sites must not be displayed in the HNQ's. But actually is. Has to be fixed I guess?",
"If someone else is booking international ticket for me using his credit or debit card, does he need to be present physically at the time of check-in? Suppose I am coming back from Singapore to my home country and my ticket is booked by my friend for me, who lives in my home country. Do airlines in Singapore ask for the person to be present physically to check in?",
"Which wire is negative on this PC fan? I just got this PC fan and it has a 3 pin connector, I know the wire with the white stripe is positive but how can I find out which of the other two wires are negative? If you can't see the photo, here is a link to it:",
"If $H\\leq G$ and $[G:H]=2$, then $H$ is normal in $G$.",
"Show $$\\frac{(2n)!}{n!\\cdot 2^n}$$ is an integer for $n$ greater than or equal to $0$. Could anyone please help me with this proving? Thanks!",
"A specified Include path is not valid. The EntityType does not declare a navigation property with the name *",
"Nautilus bookmarks are missing since upgrade to 13.04 My bookmarks are not shown anymore after upgrading to 13.04 Raring ringtails and I can't add any new bookmarks. The function is not shown and the shortcut Ctrl+D isn't working either. Is this functionality just gone for some reason (as the split screen with F3) or is there something wrong with my upgrade? Thanks for any hints.",
"My last name is not the same on ticket as on passport; rest of details are same I'm traveling from JED Saudi Arabia to Singapore by Saudi airlines. My last name doesn't match the passport. But all other details are same, e.g. passport no., DOB, etc.",
"When am I entitled to participate in a stock split? — record date, split date, ex date Stock split announcements usually mention a few dates — record date ("date of record"), split date ("distribution date", "pay date", or "payment date"), ex date ("ex-split date"). Examples: : Each Apple shareholder of record at the close of business on August 24, 2020 will receive three additional shares for every share held on the record date, and trading will begin on a split-adjusted basis on August 31, 2020. : Each stockholder of record on August 21, 2020 will receive a dividend of four additional shares of common stock for each then-held share, to be distributed after close of trading on August 28, 2020. Trading will begin on a stock split-adjusted basis on August 31, 2020. In the case of the Tesla split, the record date is August 21, the split date is August 28 (Friday), and the ex date is August 31 (Monday). Apple's provides definitions of these dates: What is the effective date of the split? There are several key dates. The Record Date – August 24, 2020 - determines which shareholders are entitled to receive additional shares due to the split. The Split Date – August 28, 2020 - shareholders are due split shares after the close of business on this date. The Ex Date – August 31, 2020 - the date determined by Nasdaq when Apple common shares will trade at the new split-adjusted price. However, further down in the FAQ, there is an explanation that seems to contradict the definition of the record date given above: What happens if I buy or sell shares on or after the Record Date and before the Ex Date? [...] If you buy shares on or after the Record Date but before the Ex Date, you will purchase the shares at the pre-split price and will receive (or your brokerage account will be credited with) the shares purchased. Following the split, you will receive (or your brokerage account will be credited with) the additional shares resulting from the stock split. Judging by the Apple FAQ, the way the record date works for stock splits is completely different from the way the record date works for cash dividends. With cash dividends, people who become shareholders of record after the record date are not entitled to the dividends. With stock splits, however, people who purchase shares after the record date (but before the ex date) are entitled to the stock split. Furthermore, for stock splits, the record date comes before the ex date, whereas for cash dividends, the record date comes after the ex date. It appears that I am not the only one confused about this. A quick internet search reveals years and years of confusion regarding the record date for stock splits. An extremely common point of confusion is the apparently incorrect assumption that the record date for stock splits works in the same way as the record date for cash dividends. A few questions: Am I right that the record date for stock splits works differently from the record date of cash dividends? The only relevant dates for a stock split seem to be the split date (on which I will receive new shares after the market closes), and the ex date (on which I can sell the new shares on stock exchanges at a post-split price). It seems that the record date is completely irrelevant. What is the record date for? From my understanding, the price of the stock will be reduced at the instant the new shares are distributed (on the split date). Is this correct?",
"There does not exist group $G$ such that Aut$(G)\\cong \\mathbb{Z}_n$ (for odd $n$)",
"If a derivative of a continuous function has a limit, must it agree with that limit?",
"Remap Caps Lock to Ctrl-b",
"So I can start from len(collection) and end in collection[0]. I also want to be able to access the loop index.",
"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 !!",
"Suppose we have functions $f:A→B$ and $g:B→C$. Prove that if $f$ and $g$ are invertible, then so is $g \\circ f$. Suppose we have functions $f:A→B$ and $g:B→C$. Prove that if $f$ and $g$ are invertible, then so is $g \\circ f$. Is the converse true? I.e., if $g \\circ f$ is invertible, does it follow that $f$ and $g$ are both invertible? I know that if $f$ and $g$ are invertible, then they are both injective and surjective. Therefore, I assume from this that I have to show $g \\circ f$ is injective and surjective as well, thus proving it is invertible. However, I don't know how to show $g \\circ f$ is bijective based only on the information I have.",
"Trying to remember a book that had people (I think they turned white?) segregated into a compound",
"How to create a custom Windows 7 ISO file"
]
| medi_sts_stackexchange_dupe |
Unknown device on Play Store | Phantom device showing on Google Play | [
"Cannot expand asterisk without proper permission",
"Is it possible to set a DNS record to redirect all example.com/* traffic to www.example.com/*? I'm running a app on Heroku's . I set up , and the documentation discusses . I also read about how to do this with . However, I'm wondering if there's a way to do this via DNS, i.e., without hitting my app.",
"Pokemon keep running away and Pokestops don't drop anything when spinning. What is going on?",
"Let $f : \\mathbb{R}^n → \\mathbb{R}_∞$ be a function and let $C ⊂ dom f$ be a convex set. $$**Part I**$$ Prove that $f$ is a convex function if and only if $f$ is convex over every line $L_{v,x_0}$ where $L_{v,x_0} := \\{x_0 + tv : t \\in \\mathbb{R}\\}$. i.e. f is convex iff when restricted to any line, it be convex on that certain line. So essentially to handle this proof I need to show that convexity for $f$ holds when its convex over any arbitrary line, and on the converse it does not hold when $f$ is not convex over that arbitrary line. If $f$ is convex then, $$\\forall x,y \\in C, a \\in [0,1]$$ it holds that $$f(ax+(1-a)y) \\leq af(x) + (1-a)f(y) \\space \\space\\space\\space\\space\\space\\space\\space\\space\\space\\space\\space (1)$$ EDIT: $$**Part II**$$ Let $f : \\mathbb{R}^n \\to \\mathbb{R}_∞$ be a function. I want to prove that $f$ is convex over the line $L_{v,x_0}$ iff $\\psi : \\mathbb{R} \\to \\mathbb{R}_∞$ $\\psi(t) := f (x_0 + tv)$, is convex over $I (x_0, v )$. where $L_{v,x_0}:= \\{x_0 + tv : t ∈ \\mathbb{R}\\}$, and $I(x_0,v):=\\{t \\in \\mathbb{R} : x_0 + tv \\in C\\}$ Any help is very much appreciated",
"Does ReLU layer work well for a shallow network?",
"I received an email saying documents are /were",
"\"This question has been asked at Stack Overflow\" vs. \"on Stack Overflow\" How should I phrase it: This question has been asked at Stack Overflow. Or, This question has been asked on Stack Overflow.",
"Prove that T is diagonalizable if and only if the minimal polynomial of T has no repeated roots.",
"How do you make a test class for custom controller? My search results involves this but trying to apply it in my test class only create too many error that I don't understand. public static testMethod void testMyController() { PageReference pageRef = Page.success;//Observe how we set the Page here Test.setCurrentPage(pageRef); . Does my test class need those line of codes when my controller class is only very simple. public class ClientInfo_VFcontroller{ public Org_Info__c orgInfo {get; set;} public ClientInfo_VFcontroller(){ orgInfo = new Org_Info__c(); } public PageReference save(){ insert orgInfo; orgInfo = null; ScheduleRetrieve.ScheduleRetrieve(); return null; } }",
"Can EU citizens travel to UK after Brexit with just an identity card?",
"Compute integral $\\int_{-\\infty}^\\infty \\frac{x^4}{1+x^8} \\, dx$ Compute the integral. $$\\int_{-\\infty}^\\infty \\frac{x^4}{1+x^8} \\, dx$$ The answer at the back of the book is $$\\frac{\\pi}{4\\sin(\\frac{3\\pi}{8})}$$",
"How do I prove that a graph is a topological manifold I'm having problems with that: Prove that M is a topological manifold. $f:U \\to \\mathbb R^k$, U $\\subset \\mathbb R^{n}$ open, f continuous M = $\\{\\left(x,y\\right)\\in \\mathbb R^{n+k} \\mid x \\in U, y=f(x) \\}$ Can anyone help me please?",
"Integrating $\\int^{\\infty}_0 e^{-x^2}\\,dx$ using Feynman's parametrization trick",
"A smooth vector field on $S^2$ vanishing at a single point I need to find a vector field as described in the title. I was given a couple hints, and this is what I have so far. Let $\\varphi:S^2\\setminus\\{N\\}\\to\\mathbb{R}^2$ be stereographic projection ($N$ is the north pole). Let $Y$ be a smooth, non-zero vector field on $\\mathbb{R}^2$ that dies off to $0$ \"at infinity.\" Since $\\varphi$ is a diffeomorphism, we can push $Y$ forward along $\\varphi^{-1}$ to get a smooth vector field $(\\varphi^{-1})_*Y_{\\varphi(p)}$ on $S^2$. But this vector field is not zero at the north pole... it's undefined. So can I just define my vector field on $S^2$, call it Z, to be the pushforward of $Y$ (as above) away from $N$ but $0$ at $N$? And if so, do we still have smoothness?",
"I've seen this message several times whenever someone has a problem installing, upgrading or removing some piece of software, but I wonder, what does it mean, and more importantly, is possible to solve it? (Reading database ... 81657 files and directories currently installed.) Removing mongodb-10gen ... arg: remove invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found. dpkg: error processing mongodb-10gen (--remove): subprocess installed pre-removal script returned error exit status 100 invoke-rc.d: unknown initscript, /etc/init.d/mongodb not found. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 100 Errors were encountered while processing: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1) (the above is just an example, not my actual problem)",
"Sorry for posting such a simple problem but I'm having trouble understanding this concept. In the picture below, we have a force, $ \\vec F_{app}$ acting on two objects, A and B. Mass of block A: $ M_a = 4kg $ Mass of block B: $ M_b = 6kg$ The acceleration of the two blocks can be found using F=ma $$ 20N = 10kg * a $$ $$ a = 2m/s^2 $$ If we find the force Fba on block B from block A we get: $$ \\vec F_{ba} = 6kg * 2m/s^2 $$ $$ \\vec F_{ba} = 12N $$ What I am confused about here is why don't we say that the total force $ \\vec F_{app} $ applied onto block A is also applied to block B (20N). Is the force somehow distributed into the blocks?",
"How many times has the matter in our solar system been recycled from previous stars? I've got a basic understanding of these facts: The Universe is a little over 13 billion years old. Our galaxy is almost that old. Our solar system is roughly 4.6 billion years old. The heavier elements (Carbon, oxygen, etc...) are only produced by stars. When our solar system coalesced, the matter that makes up the planets came from a previous generation of stars. (Meanwhile our Sun is busy making its own slightly-heavier elements, but those aren't ours. Those belong to the next \"generation\" after our star dies.) So we're all sitting on a rock whose matter was spewed out of a star (or stars) that preceded this solar system. But what I want to know is: How many cycles of coalescing, fusing, nucleosynthesis, exploding -- and then repeating the cycle -- have this atoms in this ball of rock I'm standing on been through? How do you know this? Can you tell by the make-up of the matter in the solar system? Looking around the Orion arm to see remnants of our former home?",
"Paperback novel about a man who kills a birdlike alien on his balcony with a watering can",
"How to find basis of intersection of 2 vector spaces with given basis? Suppose we have vector spaces $\\mathbb W$ and $\\mathbb V$. A given basis for $\\mathbb W$ is $\\{(1, 1, 0, -1), (0, 1, 3, 1)\\}$, and a given basis for $\\mathbb V$ is $\\{(1, 2, 2, -2), (0, 1, 2, -1)\\}$. How to find a basis for $\\mathbb W\\cap\\mathbb V$?",
"Convergence of a sequence implies convergence of the norm of the sequence If $\\langle X_n \\rangle$ is a sequence in $\\mathbb R^n$ then $\\lim\\limits_{n\\to \\infty}X_n=A$. Show that $\\lim\\limits_{n\\to \\infty} \\| X_n \\| = \\| A \\|$ . My thought process, $\\| X_i \\|= (\\sum_{i=1}^n x_i^2)^{(1/2)}$ therefore be the multiplicative property of limits $x_i^2 = a_i^2$. Therefore the limit of norm of the components is equivalent to the limit of the corresponding limit of each component of the sequence."
]
| medi_sts_stackexchange_dupe |
-858993460 being output for an uninitalized variable | When and why will a compiler initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete? | [
"How do I completely reset network settings?",
"Which badges do not cause a notification for experienced users?",
"Why doesn't connecting a positive terminal of a battery to ground cause current?",
"The motivation for this question is in my answer to this post : (1) If I take $A$, $B$ and $C$ three groups such that $A\\times B$ is isomorphic to $A\\times C$ then do we have $B$ is isomorphic to $C$ ? In the post a counter example is given when $A$ is an infinitely generated group. However I cannot get a counter-example when $A$, $B$ and $C$ are assumed to be finite groups. Note that there is no reason a priori if $\\phi$ is an isomorphism from $A\\times B$ to $A\\times C$ that $\\phi(A\\times\\{1_B\\})=A\\times\\{1_C\\}$. In the case of finite groups it is true because of the Krull-Schmidt theorem : . A slightly more general question is the following : (2) If $B$ and $C$ are two finitely generated groups, can I always find a finitely generated group $A$ such that $A\\times B$ is isomorphic to $A\\times C$? If $A$ is not assumed to verify any property but to be a group we can take : $$A=B^{\\mathbb{N}}\\times C^{\\mathbb{N}} $$ Furthermore replacing :$ \\prod_{\\mathbb{N}}$ by $\\bigoplus_{\\mathbb{N}}$ (or more likely the restricted product for groups but I am not sure of a well known notation, it is the subgroup of the product with all but a finite number components being trivial) will give you the same result for countably infinite groups. $\\underline{\\text{Edit}}$ : To be clear about what I am asking. (1) is kown to be true for finite groups whereas (2) is known to be true when we are considering groups without restriction (even just for countably infinite groups). Let us pretend we are working on the smaller class of groups : the finitely generated groups. Is there any counter example to $(1)$? Is there any counter example to $(2)$? $\\underline{\\text{Edit 2}}$: Here is a partial answer, from the classification of finitely generated abelian groups $(1)$ is always true if all groups are assumed to be abelian finitely generated groups. Now assume that $A\\times B=G=A\\times C$. Then you have (derived groups) : $$D(G)=D(A)\\times D(B)=D(A)\\times D(C) $$ So the abelianizations verify : $$A^{ab}\\times B^{ab}=A^{ab}\\times C^{ab}$$ Because we are now in the realm of finitely generated abelian groups we get : $$B^{ab}=C^{ab} $$ So $(2)$ cannot be true in general for instance you can take $B:=\\mathbb{Z}$ and $C=\\mathbb{F}_5$, those two groups have different abelianizations. The new question can be found here :",
"I've a Skype interview for PhD application (it will make me miss today.) I've been asked, in advance, to prepare a short presentation and then there would be some discussion with the panel (I guess.) I expect that they will ask if I have some questions so, I'm wondering what are the best (type of) questions one might consider?",
"Entering U.S. exactly on the day of visa \"expiration date\"",
"Money making in Runescape",
"What can I do when getting “This question body does not meet our quality standards”?",
"Galois extension is (not) transitive Let $ K/ L /F $ be fields. If $K / L$ is Galois and $ L / F $ is Galois, then $ K / F$ is Galois. We mentioned this very quickly in today's class without justifying. But I have trouble seeing this. Any help is appreciated. Our definition for $ K / F$ being Galois is the $F$-automorphism group $G = G( K / F) : = \\{ \\sigma \\in aut (G) : \\sigma_F = id_F \\}$ fixes only $F$, i.e. $ \\{ x \\in K : \\sigma (x) = x \\text { for all } \\sigma \\in G \\} = F$. But we also showed that $ K /F$ is Galois if and only if $ K/F$ is normal and separable.",
"How can I change the Windows 7 Logon Screen wallpaper?",
"Prove that if $A$ is regular then $\\operatorname{adj}(\\operatorname{adj}(A)) = (\\det A)^{n-2} A$",
"Diagnostics for logistic regression?",
"Why can charges outside be ignored in Gauss's Law? In MIT's 8.02 course, it is shown in lecture 3 that we can derive Gauss's Law from Coulomb's to get $ \\phi = \\oint \\vec{E} \\cdot \\vec{dA} = \\frac{Q_{enc}}{\\epsilon_{0}} $ However, in the lecture, it was assumed that there were no charges outside the surface. Later, Gauss's Law was used and the charges outside the sphere were ignored. I've been thinking about it and came across . The first answer by user levitopher helped a bit. I think that the lecture's argument still holds when there are charges outside because $ \\vec{E} $ is added vectorially. Suppose we have $ Q_{enc} $ in a sphere and $ Q_{out} $ outside the sphere. Then, By definition, $ \\phi = \\oint (\\vec{E_{Q_{enc}}} + \\vec{E_{Q_{out}}}) \\cdot \\vec{dA} $ $ = \\oint \\vec{E_{Q_{enc}}} \\cdot \\vec{dA} + \\oint \\vec{E_{Q_{out}}} \\cdot \\vec{dA}$ $ = \\oint \\vec{E_{Q_{enc}}} \\cdot \\vec{dA} + 0 $ $ = \\frac{Q_{enc}}{\\epsilon_{0}} $ This assumes that $ \\oint \\vec{E_{Q_{out}}} \\cdot \\vec{dA} = 0 $ because any field lines that go in must come out (hand wavy but I'm just going to accept it for now). I'd just like to know if this argument is sound.",
"The div containing tags for a question doesn't reflow, causing layout issues for questions with long/many tags This appears to be a css bug which (I think) has recently been introduced. It's most visible when viewing questions on Stack Exchange sites using mobile devices (the full site with responsiveness, not the mobile site) but can easily be reproduced by resizing a browser window on a question where the combined width of the tags is large. A couple of example questions show this behaviour: On Meta Stack Overflow: On Meta Stack Exchange: Using the Meta Stack Overflow question to demonstrate (as the total width of the tags is larger): At 1100px, the tags just about fit into their containing div. At 800px, the tags appear on top of related questions: At 450px, the tags are now wider than the view (the last tag is completely off the screen), causing scroll bars to appear: This doesn't happen to lists of questions - the tags flow onto multiple lines: Reproduced on: { Firefox 81, Chrome 84, Edge 84 } on Windows 10, and Chrome 85 on Android 11.",
"Are all simple left modules over a simple left artinian ring isomorphic?",
"When is tension constant in a rope? Consider a massless rope with pulling forces applied at each end. How do we decide if tension is constant or not in a rope? Consider a few example scenarios: For example, if there is a knot in the rope the tension is not constant throughout (why?. Similarly, if the rope is hung over a cylindrical pulley of a non-negligible radius, the tension is not constant (why?). If there isn't anything touching the rope, for example, 2 people tugging on the rope at each end, the tension is constant (why?).",
"I know that we shouldn't being using the registry to store Application Data anymore, but in updating a Legacy application (and wanting to do the fewest changes), what Registry Hives are non-administrators allowed to use? Can I access all of HKEY_CURRENT_USER (the application currently access HKEY_LOCAL_MACHINE) without Administrator privileges?",
"Lebesgue integral uniform convergence Let $f_n, f \\colon [a,b] \\to \\mathbb{R}.$ Show that, if $f_n \\to f$ uniformly, then the Lebesgue integrals are equal, i.e. $\\int f = \\lim \\int f_n$. This is clearly true for continuous functions, but how do I handle the case of non-continuous functions?",
"is a wonderful freeware Windows swiss-army-knife for image viewing & editing. For me, the key features are fast viewing, simple editing (crop, contrast, brigthness, rotation, resampling), file operations (delete, copy to folder) and extended image information access (exif data) combined in the same interface. Versatile batch jobs are a very nice bonus. But unfortunately IrfanView is for Windows only, and isn't . What would be the nearest equivalent for linux?",
"Random Forest mtry Spit-to-Split Variable Sampling Procedure"
]
| medi_sts_stackexchange_dupe |
Integration By Parts (Continuos maths) | Integration of $e^{ax}\cos bx$ and $e^{ax}\sin bx$ | [
"Why can't I import a file in the init.m file?",
"What medium should be used for long term, high volume, data storage (archival)?",
"How to use manual partitioning during installation? I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures). I'd like to cover such situations: If your disk contains other systems:",
"Rough Smart objects problem in Photoshop I am using Adobe CC(2015) latest version and the behaviour of the smart objects isn't normal. When I paste a vector from Illustrator to Photoshop, the vector looks low quality or rough. ORIGINAL IN PHOTOSHOP However, if I click over the smart object layer(in Photoshop)and this is opened in Illustrator, the vectors looks as the original one. VECTOR OPENED IN ILLUSTRATOR FROM PHOTOSHOP SMART OBJECT How can I solve this?",
"Is zero input impedance good or possible when considering impedance matching? For RF applications, we are usually considering of impedance matching to choose load impedance as the conjugate of the source input impedance for the maximum transferred power. But how about design the source having zero input impedance? Is it even possible or good? A naive thought is that all the power will be on the load if so. I might think it is true for DC case and for amplifier design to have a small output impedance and big input impedance. I lack the knowledge to find the missed chain to put all the knowledge together. How do you think? Thanks!",
"When quoting a quotation, how do you handle the double quotes? Assume there is original source text: This restaurant is amazing with \"delicious lasagna\" and great service. Make sure you go 6-7pm for the quietest times. I want to quote \"delicious lasagna\" but not sure how to handle the outer double quotes. If I was quoting more than just that quotation (e.g. is amazing with \"delicious lasagna\" and great service) I'd just do: \"...is amazing with 'delicious lasagna' and great service.\" However, when quoting just that quotation, it looks like: \"'delicious lasagna'\" Is this the correct way or is there something better?",
"I have a registered StackOverflow account which I normally log into using OpenID. Recently I logged out in order to post a question anonymously (supplying a fake name and of my secondary email addresses). The problem now is that I'm logged in to StackOverflow as this \"dummy\" user, unable to see a way to log out. The top menu normally has a \"logout\" link, but when you aren't fully registered this link is replaced with \"register\". There is no \"logout\" link for me. :( So.. When logged out there is a \"login\" link. When logged in there is a \"logout\" link. When \"logged in\" with an unregistered account, there is only a \"register\" link (no \"logout\").",
"nginx config fails with SSL key/pem (unique case) I am trying to install SSL on my nginx reverse proxy with certified ssl keys but i get this message when i try to restart server: Restarting nginx: [emerg]: SSL_CTX_use_PrivateKey_file(\"/etc/nginx/conf.d/cert.key\") failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib) configuration file /etc/nginx/nginx.conf test failed everyfiles are root:root with 600 permissions i've tested the certificats and they are validated with this website: there are no trailing weird caracters in my keys, and has 64 caracter per line here is my config file server { listen 443; server_name my.domain.com; ssl on; ssl_certificate conf.d/cert.pem; ssl_certificate_key conf.d/cert.key; location / { proxy_pass http://upstream1; proxy_redirect off; proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } Any ideas? Thank you",
"Redirect all subsequent commands' stderr using exec",
"Will some parents be offended when being asked, \"Is it male or female?\" If I ask the parent about a baby's gender, will it be impolite or not appropriate to say, \"Is it male or female?\" Is there any subtle difference, in terms of politeness, among \"Is it a boy or girl?\" \"Is it he or she?\" \"is it male or female?\"",
"What is a historical lock, and what is it used for? Historical locks are sometimes applied to questions. What is a historical lock? What is the purpose of a historical lock? How are questions affected by historical locking? When is it appropriate to lock a question for historical reasons? When is it not appropriate? How do I request a historical lock for a question? What should I do if I notice a serious problem with a historically-locked question or one of its answers?",
"Having trouble indexing and executing a query in O (log n) time. The query includes an INNER JOIN, an ORDER BY, and an equality operation. If I understand the laws of databases correctly, a query can be indexed and executed in O (log n) time (or thereabouts) if a non-equality operator is not used on more than one column. In this case, I believe the INNER JOIN does count as an equality operator and the non-equality operator would be the ORDER BY portion of the query. This table has upwards of 10,000,000 rows and needs to handle several reads and writes per second. Using PostgreSQL. This is what the table looks like. As you can see, the column 'Names' is a list property and it is the column that the INNER JOIN goes against: Age Names Date 34 ['carla', 'john', 'sam'] 3/13/2011 26 ['json', 'cindy', 'joel'] 3/13/2011 72 ['beth', 'amber', 'susie'] 3/13/2011 14 ['john', 'jim', 'debie'] 3/13/2011 This is the query that we are trying to do: SELECT * FROM the_table WHERE Age==26 AND Names=='john' ORDER BY Date My background is from using App Engine's Big Table, so I've used equality operators here to indicate that 'john' should be one of the names in the Names column. This would be an acceptable query in GAE's big table, it would execute in O (log N) time as all Big Table queries are reqyured to do. I am assuming there is a way to do this in PostgreSQL as well since PostgreSQL accepts list data types as columns. Is this possible to do in PostgreSQL? If so, how should the index be set up (we can't figure out how to set up an index that takes into account the three properties)?",
"The new top bar is out on meta. Consider it a beta EDIT Dec 4 - We're doing it live! Please post bugs or concerns as questions tagged [top-bar] We have rolled out our 95% completed top bar for feedback. Note: We are still adding a few final features, so if you have a request for a feature that is not there you might hold off on that for a day or two Yes, the bar is black1. Also give that a day or two to sink in. I also want to specifically address the meta/main/chat links. I'm very aware that many of you like having the links at the top of the page and that this new version is different. The thought process behind moving these links is that the \"site switcher\" should be an automatic place to go when you are on a site and want to go to another one. If you haven't already developed the muscle memory for these links, getting between them required a bit of a cognitive load: You must first decide that you want to switch sites and then you have to decide which area to go to to switch. Also, we find that less familiar users aren't entirely clear what a standalone link that says \"main\" or \"meta\" actually does... Not to mention that it hurts my UX sensibilities that we are dynamically changing links in an element that should be fixed. It is true that we have added a click in the process, but we have also removed a lot of clicks for other common actions that are much more frequent than switching between main and meta. All I ask is that you give it a few days and see if the new \"switch sites at the top left\" paradigm grows on you. What do you think? 1. points out that technically it's not quite black.",
"Like many others, I commonly find myself ending a sentence with a preposition. Yes, it makes me cringe. I usually rewrite the sentence, but sometimes (in emails) I just live with it. To, with... you know who you are. Should I keep fighting myself on this one, or is it okay in some circumstances?",
"Redshifting of Light and the expansion of the universe So I have learned in class that light can get red-shifted as it travels through space. As I understand it, space itself expands and stretches out the wavelength of the light. This results in the light having a lower frequency which equates to lowering its energy. My question is, where does the energy of the light go? Energy must go somewhere! Does the energy the light had before go into the mechanism that's expanding the space? I'm imagining that light is being stretched out when its being red-shifted. So would this mean that the energy is still there and that it is just spread out over more space?",
"How to interpret the output of XGBoost importance? I ran a xgboost model. I don't exactly know how to interpret the output of xgb.importance. What is the meaning of Gain, Cover, and Frequency and how do we interpret them? Also, what does Split, RealCover, and RealCover% mean? I have some extra parameters Are there any other parameters that can tell me more about feature importances? From the R documentation, I have some understanding that Gain is something similar to Information gain and Frequency is number of times a feature is used across all the trees. I have no idea what Cover is. I ran the example code given in the link (and also tried doing the same on the problem that I am working on), but the split definition given there did not match with the numbers that I calculated. importance_matrix Output: Feature Gain Cover Frequence 1: xxx 2.276101e-01 0.0618490331 1.913283e-02 2: xxxx 2.047495e-01 0.1337406946 1.373710e-01 3: xxxx 1.239551e-01 0.1032614896 1.319798e-01 4: xxxx 6.269780e-02 0.0431682707 1.098646e-01 5: xxxxx 6.004842e-02 0.0305611830 1.709108e-02 214: xxxxxxxxxx 4.599139e-06 0.0001551098 1.147052e-05 215: xxxxxxxxxx 4.500927e-06 0.0001665320 1.147052e-05 216: xxxxxxxxxxxx 3.899363e-06 0.0001536857 1.147052e-05 217: xxxxxxxxxxxxxx 3.619348e-06 0.0001808504 1.147052e-05 218: xxxxxxxxxxxxx 3.429679e-06 0.0001792233 1.147052e-05",
"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.",
"So Black Holes Actually Merge! In 1/5th of a Second - How? I've read a lot of conflicting answers in these forums. However, today saw the awesome announcement of gravitational waves. Two black holes merged: Not only that, they merged FAST. In 1/5th of a second revolving around each other 250 times a second. The entire event was quicker than a heartbeat. Moreover, we observed this happening as distant outsiders. So now we can say for sure: Objects approaching the event horizon DO NOT appear to slow down Black holes CAN merge in a finite (and quick) amount of time And all this is wrt a frame of reference far, far away To quote the NYTimes article: One of them was 36 times as massive as the sun, the other 29. As they approached the end, at half the speed of light, they were circling each other 250 times a second. And then the ringing stopped as the two holes coalesced into a single black hole, a trapdoor in space with the equivalent mass of 62 suns. All in a fifth of a second, Earth time. However, everything I've read so far has let me to believe that an outside observer should never be able to measure the collision happening in a finite time. So what exactly is happening here? I must have read at lest 5 different versions of this so far everywhere in these forums over the past several years.",
"Permission for snap applications I have some trouble with the Ubuntu notepadqq package. After opening a file from my apache webroot I cannot see any content. Saving the file is also not possible. I thougt this would be a classic permission issue. Therefore, I changed the group of the webroot from root to www-data and added my user to this group. Permissions are 775, so in theory it should now be possible for me to edit files in my webroot. But nevertheless, when I open a file of this directory with notepadqq, it still only shows an empty file. When using gksudo notepadqq I get the following error message: No protocol specified QXcbConnection: Could not connect to display :0 I figured out that notepadqq is a so called snap application and I wonder if this is the reason for my problems. Can someone give me a hint how I could fix this issue (without using 777 permissions)?",
"For example: $$7x \\equiv 1 \\pmod{31} $$ In this example, the modular inverse of $7$ with respect to $31$ is $9$. How can we find out that $9$? What are the steps that I need to do? Update If I have a general modulo equation: $$5x + 1 \\equiv 2 \\pmod{6}$$ What is the fastest way to solve it? My initial thought was: $$5x + 1 \\equiv 2 \\pmod{6}$$ $$\\Leftrightarrow 5x + 1 - 1\\equiv 2 - 1 \\pmod{6}$$ $$\\Leftrightarrow 5x \\equiv 1 \\pmod{6}$$ Then solve for the inverse of $5$ modulo 6. Is it a right approach? Thanks."
]
| medi_sts_stackexchange_dupe |
Undirected graph contains a cycle | If a graph with $n$ vertices and $n$ edges there must a cycle? | [
"ViewPager and fragments — what's the right way to store fragment's state?",
"Im trying to understand the solution about this, and all the other solutions are.. a bit weird for me and dont answer all my questions! Reference : Im using the answer there as reference, but my understanding is a bit different! Find the error in the following proof that all horses are the same color. CLAIM: In any set of h horses, all horses are the same color. PROOF: By induction on h. Basis: For h = 1. In any set containing just one horse, all horses clearly are the same color. Induction step: For k > I assume that the claim is true for h = k and prove that it is true for h = k + 1. Take any set H of k + 1 horses. We show that all the horses in this set are the same color. Remove one horse from this set to obtain the set H1 with just k horses. By the induction hypothesis, all the horses in H, are the same color. Now replace the removed horse and remove a different one to obtain the set H2 . By the same argument, all the horses in H2 are the same color. Therefore all the horses in H must be the same color, and the proof is complete. Here's what i have come up with : Suppose a set of 1 horse. $H_a = { horse_{1} }$ Obviously, all the horses in set $H_a$ are the same, since theres just 1 horse. So using that as the Basis of the induction we can proceed and try to prove its true for $N$ horses. -- I dont fully understand the part below As an example : set $H_0$ : $H_0 = { horse_{1}, horse_{2}, horse_{3}... horse_{n} }$ In my understanding, its because, I can make a subset formed by 1 horse : $K_1 = {horse_{1}}$ $K_2 = {horse_{2}}$ ... I don't get it. I clearly know that this proof is a lie. And for me, its because you cant claim theres a relation on a set with size $>= 2$ , since : $H_1 = { horse_{1}, horse_{2}}$ Theres nothing that says $horse_{1}$ equals $horse_{2}$. The basis was for one horse. But that alone is not a proof. So what should I do ?",
"Where in Europe can I purchase a car without residency? I am not a resident anywhere and plan to travel for the foreseeable future, mostly in Europe. My country has good visa-free access to most of Europe, so it is conceivable I could remain without any residency for quite some time. I enjoy driving, and maintaining cars, and I would like to purchase a car somewhere in Europe. Where, if anywhere, in Europe (or outside of Europe, but with the ability to drive the car in Europe) can I legally purchase and insure a car as a non-resident? I am open to creative solutions like setting up a company to own the car, if the capital and ongoing paperwork requirements for the company are not too onerous. I am aware that I could save money, get places quicker, etc, by taking trains or flying. I have a passion for cars and driving. Suggesting that I not buy a car is out of scope of this question.",
"I believe that the set of all $\\mathbb{R\\to R}$ continuous functions is $\\mathfrak c$, the . However, I read in the book "Metric spaces" by Ó Searcóid that set of all $[0, 1]\\to\\mathbb{R}$ continuous functions is greater than $\\mathfrak c$: "It is demonstrated in many textbooks that $\\mathbb{Q}$ is countable, that $\\mathbb{R}$ is uncountable, that every non-degenerate interval is uncountable, that the collection of continuous functions defined on $[0,1]$ is of a greater cardinality than $\\mathbb{R}$, and that there are sets of greater and greater cardinality." I understand that (via composition with the continuous function $\\tan$ or $\\arctan$) these sets of continuous functions have the same cardinality. Therefore, which claim is correct, and how do I prove this?",
"Find an element by id and replace its contents with php",
"Fit a table into one page",
"Do gravitational lenses work on gravitational waves?",
"How does Wild Shape work with special ways to calculate your AC? Among the effects of Wild Shapes, these two: Your game Statistics are replaced by the Statistics of the beast, but you retain your alignment, personality, and Intelligence, Wisdom, and Charisma scores. You also retain all of your skill and saving throw proficiencies, in addition to gaining those of the creature. If the creature has the same proficiency as you and the bonus in its stat block is higher than yours, use the creature's bonus instead of yours. If the creature has any legendary or lair actions, you can't use them. You retain the benefit of any features from your class, race, or other source and can use them if the new form is physically capable of doing so. However, you can't use any of your Special senses, such as Darkvision, unless your new form also has that sense (PHB p.67, \"Wild Shape\") Seem to come into conflict with each other when things like Draconic Resilience: When you aren't wearing armor, your AC equals 13 + your Dexterity modifier. (PHB p.102, \"Draconic Bloodline\") and Barbarians: While you are not wearing any armor, your Armor Class equals 10 + your Dexterity modifier + your Constitution modifier. You can use a Shield and still gain this benefit. and Monks: Beginning at 1st level, while you are wearing no armor and not wielding a Shield, your AC equals 10 + your Dexterity modifier + your Wisdom modifier. and Stone Sorcerers: As an action, you can gain a base AC of 13 + your Constitution modifier if you aren’t wearing armor, and your skin assumes a stony appearance. This effect lasts until you end it as a bonus action, you are incapacitated, or you don armor other than a shield. How would these resolve?",
"How to mount ufs file system under Debian testing? In order to mount my /dev/sda4 under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie): modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount and: mount -t ufs -o ufstype=ufs2 /dev/sda4 /mnt/ufs_mount But i get this error: mount: /dev/sda4 is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. The output of: dmesg | tail : [ 1136.965142] ufs: ufs_fill_super(): bad magic number [ 1255.758946] ufs: ufs_fill_super(): bad magic number [ 2098.945757] ufs: ufs was compiled with read-only support, can't be mounted as read-write [ 2098.946045] ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old [ 2098.967212] ufs: ufs_fill_super(): bad magic number [ 2927.982112] perf: interrupt took too long (2504 > 2500), lowering kernel.perf_event_max_sample_rate to 79750 Edit My sources.list: deb http://httpredir.debian.org/debian/ stretch main deb-src http://httpredir.debian.org/debian/ stretch main deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main And uname -a: Linux debian 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux How to mount ufs file system under Debian testing?",
"I had the Facebook and Instagram apps installed on my iPhone (latest iOS). I deleted both apps and checked that there was no data from either app stored on iCloud (I went to Settings - iCloud - Manage storage and there was no mention of them storing anything on iCloud). Then I reinstalled Instagram, opened it, clicked on Login and the page still showed “Login as MYFACEBOOKNAME”. How is this possible? How can I delete my FB login info once and for all on my iPhone?",
"How to create a cross-browser sub document with iframe or shadow dom?",
"How can I programmatically force-stop scrolling in a UIScrollView?",
"How to make an ImageView with rounded corners?",
"Using the expression \"the same\" for a previously mentioned item",
"Detecting unused packages in LaTeX document I have quite a bad habit of copy-and-pasting my packages from one LaTeX document to another. Is there any way we can detect unused packages (i.e. \\usepackage commands) so that they can be removed from the LaTeX document?",
"Can we add a section in our vf page and add components to it Can we add a section in our vf page and add components to it. I mean split my vf page into two parts and then add components to it.",
"How to dismiss the Windows 8.1 Upgrade banner? As of today, my Windows 8 system is displaying a large banner covering about a quarter of the screen, demanding that I upgrade to Windows 8.1 for free. The banner helpfully informs me that that I can continue to use the computer while the upgrade is downloading. There's a button to go to the store for the upgrade, but no other choices, such as No Thanks, Maybe Later, or Absolutely Not. I can't find a way to dismiss the banner, and I can start programs but can't give them focus while the banner is present. So I'm dead in the water. How can I fix this? Bringing up Task Manager doesn't give me any options. My employer doesn't yet support Windows 8.1 (which is also an issue, but beyond my control) so I won't be able to connect to work if install the upgrade. So there is no way on God's green earth that I'm going to install this upgrade now. UPDATE: The banner went away after the second restart and I was able to run regedit as @magicandre suggested. The banner hasn't reappeared. So far, so good.",
"Why cannot a set be its own element?",
"Run multiple instance of a program in parallel",
"How can you combine all lines that end with a backslash character? Using a common command line tool like sed or awk, is it possible to join all lines that end with a given character, like a backslash? For example, given the file: foo bar \\ bash \\ baz dude \\ happy I would like to get this output: foo bar bash baz dude happy"
]
| medi_sts_stackexchange_dupe |
Not able to get response code for 401 with http url connection | Get Response header when 401 occurred | [
"Received an unexpected cashiers check for over $2K from another state - is this some scam? This is actually about my sister-in-law who lives in Georgia. She just received a \"cashiers check\" for $2395 from a company in Indiana. It looks like this: She said that she has been doing \"mystery shopper\" work for a company and thought that this would be payment for that, but that usually the payments she received for that work were just a couple of hundreds of dollars. She said she had not done that much of that \"mystery shopper\" work that she would have expected to receive anything close to the amount on this check. She was asking me about it but I thought that if she does not know the sender, perhaps this could be some kind of new scam and she should check with the local police (which she said she was going to do). Anyway I wanted to ask here if anyone knows of a scam like this? Considering that the check here seems to be a \"cashiers check\", how would a scam like this even work? Update: I just found out that there was indeed a letter included with the check (and it seems to have instructions similar to those mentioned in the answer by \"BrenBarn\"). This is indeed related to that \"mystery shopper\" work. Turns out the reason she was not sure was because the sender of that check has a different company name than the company she normally dealt with. Here is a part of the letter:",
"Is there a way to fix a small chip in a wall's paint? I'm not sure exactly with what I've bumped my wall and caused this this: Is there anything that can be done to fix this without repainting the entire room? I've been reading around a bit, and not sure exactly what to call this, hence the weird question title. The paint is a beige-ish colour, not exactly white. The hole is about 2 x 1.5 cm in size. I've read a bit about spackling paste, though I understand that's for small cracks and holes. Here are some picture with a better resolution: and Unfortunately, I don't have much experience with this sort of thing. Help please. Also, this is in the UK, so you can tell what stores I might have access to for materials.",
"Prevent iMac from sleeping, for VPN login? We have an iMac in the office, and I have been getting inconsistent access when trying to log in to it. The firewall isn't going down, since I can connect to the VPN. After discussing it with the people at the office, we suspect that the iMac is going to sleep. Is it possible to keep the iMac \"awake\" 24 hours a day? How do I instruct the people at the office to configure the iMac? What settings should be changed? The iMac is running OS X Lion 10.7.3.",
"Word for a person who continually tries to teach you when it's not necessary I've experienced this way too many times, and the best example I can give is a person who treats you like you have no idea how to do X and who keeps teaching you how to do it. I feel handicapped. Take for example how to play a card game. You know how to play the game because you've played it 5 times. However, there is a person always insists on explaining the game to you - like you are always new to the game - when you don't actually need any help and you just want to think for yourself. Another example situation is doing a repetitive task which you already have experience with, and yet the person continually tries to 'teach' you when you don't need help/already know how to do it. It almost makes you mad because you really don't need help. As an example which recently happened to me: "Hey, do you remember how to start the wood chipper?" "Yes I do" "Okay, well, let me show you one more time" Again, is there a term for someone who does this?",
"Support showing image in original size in overlay",
"How did Sauron remain in control of the Nazgûl? The One Ring gave Sauron control of the Nine, yet when it was taken from him he still possessed the power to control them (or, at least he regained it towards the end of the third age). Why is this? mentions that he drew the Nine to him, but not how.",
"My input file is, ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55 ami54 ami32 Using a single command line I need the output as, ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33 I used the command awk -vRS=ami '{$0=$0+1;ORS=RT}++n' inputfile > outputfile but I got the outputfile as ami21ami65ami67ami66ami88ami76ami29ami55ami54ami32 i.e. all strings are written in same line and without space. Could anyone suggext me some better command line.",
"I am completely new in Ubuntu. Just installed Ubuntu 14.04. On my other computer running Windows, I am using Avast, free edition. Do I need anti-virus protection at all?",
"Ubuntu 12.04 boots to TTY1",
"How to maximize any of the views in quad view? I am new to blender. Pressing ⎈ Ctrl⎇ AltQ opens the quad view. How to maximize any one of the four views of the quad view?",
"I'm having a heck of a time trying to disable the option \"Check for updates Automatically\" I ran composer to see what plist was being modified and it looks like ~/Library/Preferences/com.oracle.javadeployment.plist <?xml version=\"1.0\" encoding=\"UTF-8\"?> <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\"> <plist version=\"1.0\"> <dict> <key>/com/oracle/javadeployment/</key> <dict> <key>deployment.macosx.check.update</key> <string>false</string> </dict> </dict> </plist> So I experimented with changing that value to true or false and it would not effect the checkbox under the Java Control Panel > Update > Check for Updates Automatically Your assistance would be much appreciated. Initially I was looking @ /Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin",
"In email applications should the text of the cover letter be stated directly in the email or be attached in a separate file?",
"How to Deserialize XML document",
"Why does $\\sqrt{n\\sqrt{n\\sqrt{n \\ldots}}} = n$? Ok, so I've been playing around with radical graphs and such lately, and I discovered that if the nth x = √(1st x √ 2nd x ... √nth x); Then $$\\text{the \"infinith\" } x = x$$ Example: $$\\sqrt{4\\sqrt{4\\sqrt{4\\sqrt{4\\ldots}}}}=4$$ Try it yourself, type calc in Google search, hit then a number, such as $4$, and repeat, ending with $4$, (or press the buttons instead). I'm a math-head, not big enough though, I think this sequence is divergent or convergent or whatever, too lazy to search up the difference. However, can this be explained to me? Like how the Pythagorean Theorem can be explained visually.",
"Continuous v. per-chapter/section numbering of figures, tables, and other document elements Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)? And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering? \\documentclass{book}% for \"vice versa\" variant, replace `book` with `article` \\begin{document} \\chapter{foo}% for \"vice versa\" variant, replace `\\chapter` with `\\section` \\begin{figure} \\centering \\rule{1cm}{1cm}% placeholder for graphic \\caption{A figure} \\end{figure} \\end{document} Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class?",
"Prove that for any piecewise smooth curve it is possible to find the parametrisation",
"Can a druid in Ape wildshape use weapons?",
"Can newsletters take into account a user's ignored tags on that site? I have seen several questions that discuss using your \"Favorite\" tags to construct a newsletter. I'm looking for a similar request - but for ignored tags. I figure it might make sense to split this request from the \"favorite\" requests because it has different implementation. Can we exclude questions on the \"ignore\" tags lists in the newsletter? For example, I subscribe to the Board and Card Games newsletter. Currently (and frequently) 6 of the 7 questions are about magic-the-gathering, a tag I have in my ignored list. I now get a newsletter where at best 1/7 questions is interesting and worth clicking on. Related questions about using \"Favorites\":",
"I'd like to show/hide a column at runtime based on a particular condition. I'm using \"Print when expression\" to conditionally show/hide this column (and it's header) in my report. When the column is hidden, the space it would have occupied is left blank, which is not particularly attractive. I would prefer if the extra space was used in a more effective manner, possibilities include: the width of the report is reduced by the width of the hidden column the extra space is distributed among the remaining columns In theory, I could achieve the first by setting the width of the column (and header) to 0, but also indicate that the column should resize to fit its contents. But JasperReports does not provide a \"resize width to fit contents\" option. Another possibility is to generate reports using the Jasper API instead of defining the report template in XML. But that seems like a lot of effort for such a simple requirement.",
"How should I calculate $\\lim_{n\\rightarrow \\infty} \\frac{1^n+2^n+3^n+...+n^n}{n^n}$ How should I calculate the below limit $$\\lim_{n\\rightarrow \\infty} \\frac{1^n+2^n+3^n+...+n^n}{n^n}$$ I have no idea where to start from."
]
| medi_sts_stackexchange_dupe |
Html paragraph number | Can ordered list produce result that looks like 1.1, 1.2, 1.3 (instead of just 1, 2, 3, ...) with css? | [
"I don't want to do this through trial and error, and the best way I have found so far was to start dividing from 1. $n! = \\text {a really big number}$ Ex. $n! = 9999999$ Is there a way to approximate n or solve for n through a formula of some sort? Update (Here is my attempt): Stirling's Approximation: $$n! \\approx \\sqrt{2 \\pi n} \\left( \\dfrac{n}{e} \\right ) ^ n$$ So taking the log: $(2\\cdot \\pi\\cdot n)^{1/2} \\cdot n^n \\cdot e^{-n}$ $(2\\cdot \\pi)^{1/2} \\cdot n^{1/2} \\cdot n^n \\cdot e^{-n}$ $.5\\log (2\\pi) + .5\\log n + n\\log n \\cdot -n \\log e$ $.5\\log (2\\pi) + \\log n(.5+n) - n$ Now to solve for n: $.5\\log (2\\pi) + \\log n(.5+n) - n = r$ $\\log n(.5+n) - n = r - .5 \\log (2\\pi)$ Now I am a little caught up here.",
"WPF textblock binding with List does anyone know if there is a simple way to bind a textblock to a List. What I've done so far is create a listview and bind it to the List and then I have a template within the listview that uses a single textblock. what I'd really like to do is just bind the List to a textblock and have it display all the lines. In Winforms there was a \"Lines\" property that I could just throw the List into, but I'm not seeing it on the WPF textblock, or TextBox. Any ideas? did I miss something simple? Here's the code <UserControl x:Class=\"QSTClient.Infrastructure.Library.Views.WorkItemLogView\" xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\" Width=\"500\" Height=\"400\"> <StackPanel> <ListView ItemsSource=\"{Binding Path=Logs}\" > <ListView.View> <GridView> <GridViewColumn Header=\"Log Message\"> <GridViewColumn.CellTemplate> <DataTemplate> <TextBlock Text=\"{Binding}\"/> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> </GridView> </ListView.View> </ListView> </StackPanel> and the WorkItem Class public class WorkItem { public string Name { get; set; } public string Description { get; set; } public string CurrentLog { get; private set; } public string CurrentStatus { get; private set; } public WorkItemStatus Status { get; set; } public ThreadSafeObservableCollection<string> Logs{get;private set;} I'm using Prism to create the control and put it into a WindowRegion WorkItemLogView newView = container.Resolve<WorkItemLogView>(); newView.DataContext = workItem; regionManager.Regions[\"ShellWindowRegion\"].Add(newView); thanks",
"addplot3[surf] creates lines instead of a surface I have been trying to create a surface plot but I am unable to get it to work. Any help would be greatly appreciated. I've tried using surf which only produces lines instead of a surface (Fig. 1). Note: Although I was originally able to produce output, thesurf plot no longer compiles: \"Package tikz Error\". I've tried compiling with both pdflatex and lualatex with -shell-escape flag. Figure 1 I also tried to use the patch style plot. This produces gibberish (Fig. 2) Figure 2 MWE: \\documentclass{article} \\usepackage{pgfplots} \\usepgfplotslibrary{external} \\usepgfplotslibrary{patchplots} \\tikzexternalize \\begin{document} \\begin{figure}[t] \\centering \\tikzsetnextfilename{surface_plot} \\begin{tikzpicture} \\begin{axis} [ height=12cm, width=15cm, grid=major, grid style={dotted}, colormap/jet, mesh/ordering=x varies ] %\\addplot3[patch,patch type=biquadratic,shader=faceted interp,patch refines=3] coordinates { \\addplot3[surf] coordinates { (-6,-6,446.788) (-5,-6,423.361) (-4,-6,413.264) (-3,-6,402.349) (-2,-6,388.948) (-1,-6,391.747) (0,-6,386.874) (1,-6,423.778) (2,-6, 439.19) (3,-6,449.074) (4,-6,462.155) (5,-6,484.399) (6,-6,505.412) (-6,-5, 423.48) (-5,-5,392.382) (-4,-5,406.696) (-3,-5,392.592) (-2,-5,371.158) (-1,-5,384.142) (0,-5,394.666) (1,-5,408.105) (2,-5, 422.51) (3,-5,420.173) (4,-5,445.816) (5,-5,464.731) (6,-5,485.349) (-6,-4,402.646) (-5,-4,371.879) (-4,-4,376.239) (-3,-4,396.874) (-2,-4,382.761) (-1,-4,386.665) (0,-4,397.148) (1,-4,410.875) (2,-4,425.998) (3,-4,385.143) (4,-4,420.458) (5,-4,438.432) (6,-4, 458) (-6,-3,423.219) (-5,-3,370.582) (-4,-3,464.786) (-3,-3,443.921) (-2,-3,425.196) (-1,-3,427.138) (0,-3,438.002) (1,-3, 453.97) (2,-3,473.021) (3,-3,418.583) (4,-3,435.887) (5,-3,414.993) (6,-3,475.148) (-6,-2,401.995) (-5,-2,385.612) (-4,-2,438.956) (-3,-2,418.583) (-2,-2,400.093) (-1,-2,400.773) (0,-2, 410.58) (1,-2,426.024) (2,-2, 444.92) (3,-2,397.131) (4,-2,413.739) (5,-2,431.741) (6,-2,451.267) (-6,-1,382.978) (-5,-1,335.274) (-4,-1,416.598) (-3,-1,396.718) (-2,-1,378.348) (-1,-1,377.455) (0,-1,32.0089) (1,-1,400.683) (2,-1,419.918) (3,-1,377.371) (4,-1,393.286) (5,-1,374.648) (6,-1,429.077) (-6, 0,365.902) (-5, 0,350.965) (-4, 0,397.527) (-3, 0, 378.36) (-2, 0,360.454) (-1, 0,358.447) (0, 0, 363) (1, 0,381.147) (2, 0,401.177) (3, 0,362.155) (4, 0,378.174) (5, 0,395.513) (6, 0, 414.34) (-6, 1,372.511) (-5, 1,326.945) (-4, 1,407.215) (-3, 1,388.646) (-2, 1,371.945) (-1, 1,371.003) (0, 1,380.027) (1, 1,396.414) (2, 1,416.602) (3, 1,374.897) (4, 1,391.276) (5, 1, 373.32) (6, 1,428.284) (-6, 2,391.149) (-5, 2,376.191) (-4, 2,406.941) (-3, 2,369.633) (-2, 2,393.583) (-1, 2,394.184) (0, 2,404.263) (1, 2,420.588) (2, 2, 440.5) (3, 2,416.631) (4, 2,374.948) (5, 2,391.855) (6, 2,418.511) (-6, 3,375.967) (-5, 3,361.698) (-4, 3,357.421) (-3, 3,368.273) (-2, 3,377.106) (-1, 3,378.664) (0, 3,369.175) (1, 3, 382.42) (2, 3,397.821) (3, 3,377.942) (4, 3,384.944) (5, 3,387.862) (6, 3,424.429) (-6, 4,396.478) (-5, 4,381.554) (-4, 4,376.162) (-3, 4,388.843) (-2, 4,375.881) (-1, 4,378.384) (0, 4, 355.14) (1, 4,403.654) (2, 4,419.779) (3, 4,398.599) (4, 4,407.113) (5, 4,426.715) (6, 4,448.245) (-6, 5,409.364) (-5, 5,380.492) (-4, 5,387.843) (-3, 5,360.034) (-2, 5, 362.23) (-1, 5,364.909) (0, 5,358.321) (1, 5,363.226) (2, 5,379.325) (3, 5,397.152) (4, 5,410.086) (5, 5,433.909) (6, 5,460.548) (-6, 6, 423.99) (-5, 6,408.967) (-4, 6,400.475) (-3, 6,372.922) (-2, 6,371.116) (-1, 6, 373.92) (0, 6,384.778) (1, 6, 398.8) (2, 6, 415.62) (3, 6,420.127) (4, 6,436.064) (5, 6,461.957) (6, 6,491.123) }; \\end{axis} \\end{tikzpicture} \\end{figure} \\end{document} Thank you so much.",
"How can I get the page numbers only of a pattern in a pdf file, regardless if the pattern is multiline?",
"How can I make a special file that executes code when read from Most files on a Linux system are normal files, i.e. they are saved on disk and reading from them just reads from a specified chunk of memory on the disk. How can I make something that behaves like a file in terms of being able to read from it as one would a normal file, but is actually returning programmatically generated data instead? As a concrete example, a file that downloads the current google.com and returns it, such that cat ~/myspecialfile would output the contents of google.com to stdout?",
"Refreshing a question doesn't update the answer count properly In the Stack Exchange Android App v1.0.7 1.0.33 (with a HTC One running Android 4.4.2), the answer count for a question you're viewing is displayed in two places: In the label of the answer tab: At the bottom of the question tab: I've noticed that these counts don't reliably update when new answers arrive. If you refresh the question tab, neither count updates. If you refresh the answer tab, the second count will be updated, but the answer tab's count will not, leaving the two out of sync. Refreshing either tab should probably update both counts! Screenshots of the bug in action: I waited for it to be answered. A while later, the question now has an answer. The tab still says 0 answers though. Switching back to the question tab, , but the tab count still doesn't.",
"How does the drift velocity of electrons in a conductor depend on the temperature? How does the drift velocity of electrons in a conductor depend on the temperature? I have two contradicting views for this. First, we can say that increasing the temperature of the conductor will increase the kinetic energy of the electrons. Hence, their drift velocity should increase with increase in temperature. Or, from the relation $v_d = \\frac{eE}{m}T$ ($T$ is the relaxation time) we can say that the drift velocity is directly proportional to the relaxation time. Increasing the temperature will obviously decrease the relaxation time - as collisions will become more frequent - and thus decrease the drift velocity. Hence, an increase in the temperature will cause a decrease in the drift velocity. So which view is correct?",
"What's the simplest way to wrap extruded text around a cylinder? What's the simplest way to wrap extruded text around a cylinder that has a specific radius (for example, the label on a can of baked beans)? I've tried using the Simple Deform modifier, but that (a) doesn't allow you to choose a radius and (b) requires the text to be converted to a curve. I'm trying to model a cylinder with radius of 30, which has a line of embossed text that runs around the curved side, facing outward. Thanks!",
"Is it possible to programmatically stop and start ArcGIS Server map services using Python?",
"In the library, they are overloading the () operator. Is this a convention in C++? For callbacks, etc.? I have seen this in code of a co-worker (who happens to be a big Boost fan). Of all the Boost goodness out there, this has only led to confusion for me. Any insight as to the reason for this overload?",
"How can I delete my account? How can I delete my Stack Exchange account(s)? Also, What happens to my content? Can I request it be deleted as well? What if I'm suspended, rate-limited, or banned from posting questions or answers? What will happen to my votes? Will other users be impacted? Why wasn't my account deleted immediately after the timer expiring? What will happen to my pending bounties and close, reopen, delete, or undelete votes? I want my account deleted on all Stack Exchange sites. How do I do this? Will my profile on chat be removed once I delete my site account? For more information, see "" in the .",
"Prove by induction that $$(a_{1}+a_{2}+\\cdots+a_{n})\\left(\\frac{1}{a_{1}}+\\frac{1}{a_{2}}+\\cdots+\\frac{1}{a_{n}}\\right)\\geq n^{2}$$ where $n$ is a positive integer and $a_1, a_2,\\dots, a_n$ are real positive numbers Hence, show that $$\\csc^{2}\\theta +\\sec^{2}\\theta +\\cot^{2}\\theta \\geq 9\\cos^{2}\\theta$$ Please help me. Thank you!",
"How do you declare an interface in C++?",
"errors upgrading from 14.04 to 16.04 about Unknown Multi-Arch type for compiz, libkf5akonadisearch-bin packages I'm trying to upgrade my 14.04 machine to 16.04 using do-release-upgrade. After downloading the package lists for wily, I see the following errors: Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min Unknown Multi-Arch type 'no' for package 'libkf5akonadisearch-bin' Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation Ignoring Provides line with DepCompareOp for package php-psr-log-implementation Ignoring Provides line with DepCompareOp for package php-math-biginteger Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min Unknown Multi-Arch type 'no' for package 'libkf5akonadisearch-bin' Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' Unknown Multi-Arch type 'no' for package 'compiz-core' Unknown Multi-Arch type 'no' for package 'compiz-gnome' You may want to run apt-get update to correct these problems It then proceeds to abort the installation. The suggested run of apt-get update doesn't seem to do anything. Googling for the above error messages yielded others having similar problems when upgrading to other, previous releases, although I've not come across any apparent fixes. It's suggested that an apt upgrade could fix the problem, but I don't see a way to easily do that (it's up to date with the latest trusty package). What should I do in order to upgrade directly to 16.04?",
"What exactly is an environment variable?",
"What is the variance of the weighted mixture of two gaussians?",
"How do I display a decimal value to 2 decimal places?",
"Where can I find historical data on arrival and departure times of a particular flight? Where can I find historical data on flights, specifically Delta international flights? I need to find out about cancellations, diversions and any other flight data pertaining on particular route at a given time. This source has to be official and stand up to legal scrutiny.",
"What to do when witches appear early in the game? A long time ago I played an older version of Minecraft. Back then witches didn't spawn naturally, so you couldn't find them unless you found a hut. Now I'm playing again, but sometimes when I go down a cave I find one or two witches, and it's really hard to find them back. So, what is the best you can do to kill witches, specially when two spawn at the same time and you don't have milk?",
"Is it true that all numbers of the form $\\sqrt[b_1]{a_1}+\\sqrt[b_2]{a_2}+\\cdots+\\sqrt[b_k]{a_k}$ are not integers, where $a_i,b_i$ are positive integers such that none of the $k$ terms is an integer? I think this must be a theorem somewhere, probably a fundamental theorem in number theory, but not sure what it would be called."
]
| medi_sts_stackexchange_dupe |
Chance of getting UK Standard Visitor visa without booking flights for application? | Booking travel tickets for visa without paying? | [
"What's the best way to develop old, exposed film? A friend of mine just found 3 rolls of exposed 135 (i.e. 35mm) film. They are at least 10 years old. He'd like to know if it is even worth taking them to the local hour photo lab but also if he should give them any special instructions.",
"Encrypting/Decrypting a single file in Ubuntu 12.04 LTS I need to be able to encrypt/decrypt a single text file stored on my external HD in 12.04 LTS, preferably a GUI application, if any, or the command line otherwise. Thank you.",
"Topical example: 'There was a scuffle outside the local pub. There appears to be no connection with religious extremists.' ...but now you're wondering if there was. It's a nasty tactic used to raise fear and doubt - deliberately calling attention to something by explicitly denying it. What's the term for this?",
"Background: I'm making a retro style game for both fun, and an unofficial contest. I have bought a song, song X. However, I then found notation for song X, and all the instruments. So basically, it's a program recreating song X in a sense. I took the notation, and used another program to make it sound like a chiptune does (just for the fun of it, and it sounds good :P). However, I would like to use this in my game. It's non-commercial, but is this allowed? I would've said yes, because I'm not actually using the original, copyrighted song. I think the main point is can I: Use the music with no reference to the author Use the music with a reference, since it's non-profit. Not use the music at all since the melody and rhythm is copyright.",
"How to collapse unused parameters in moderncv? I am writing my CV using the moderncv package. I already have adjusted the CV to meet my needs. Therefore I amplified the maximum number of parameters possible in the \\cventry command. However, now I have some ugly spacing in case I do NOT use all parameters (see second \\cventry in the MWE for illustration): Any suggestions to make the spacing collapse in case not all parameters are occupied? As you can see from the MWE I already have adjusted for \\ifthenelse command. I use texlive 2014. \\documentclass[11pt,a4paper,sans]{moderncv} \\moderncvstyle{banking} \\moderncvcolor{blue} \\usepackage[scale=0.7]{geometry} \\name{John}{Doe} \\title{Resume title} \\address{street and number}{postcode city}{country} \\phone[mobile]{+1~(234)~567~890} \\renewcommand*{\\cventry}[9][.4em]{% \\begin{tabular*}{\\textwidth}{l@{\\extracolsep{\\fill}}r}% \\ifthenelse{\\equal{\\bfseries #4}{}}{}{{\\bfseries #4}} & \\ifthenelse{\\equal{\\bfseries #5}{}}{}{{\\bfseries #5}} \\\\% \\ifthenelse{\\equal{\\itshape #3}{}}{}{{\\itshape #3\\ifthenelse{\\equal{#6}{}}{}{, #6}}} & \\ifthenelse{\\equal{\\itshape #2}{}}{}{{\\itshape #2}}\\\\% \\ifthenelse{\\equal{#7}{}}{}{{#7}} & \\ifthenelse{\\equal{#8}{}}{}{\\\\ {#8} & \\\\}% \\end{tabular*}% } \\begin{document} \\makecvtitle \\section{Education} \\cventry{Grade}{Degree}{Institution}{year--year}{M.Sc.}{Majors}{Majors}{} \\cventry{}{Degree}{Institution}{City}{}{}{}{} \\cventry{year--year}{Degree}{Institution}{City}{Grade}{Majors}{Majors}{} \\end{document}",
"What does the word treats mean in this context? I don't think it means entertainment, food, drink etc.. Maybe it is an old usage of this word? Does it mean influencing factors or something like that? This is the first part of the title of the first chapter of the novel \"Oliver Twist\" by Charles Dickens. The whole title reads: Treats of the Place Where Oliver Twist was Born and of the Circumstances Attending His Birth",
"I have a 12-hour layover in Istanbul. Will I be able to leave the airport to do some sightseeing in the city? I'm flying to Barcelona from Israel via Istanbul. The layover in Istanbul is 12 hours, and I'm thinking about leaving the airport and entering the country for a couple of hours. Would that be possible? Are there any Border/Airline restrictions? I'm Traveling with Turkish airlines, and hold a passport which does not require a visa to enter Turkey. I've done this in the past, but only inside the Schengen area, so this question is Turkey-specific.",
"As far as I can tell downvoting is mostly useless. For questions the only people who get downvoted are lower rep users, or incredibly stupid questions most questions that are downvoted get closed anyway which should be sufficient downvoting doesn't have too much affect on your rep anyway a negative comment is more useful and more of a push too change or delete the question For answers downvoting is often used incorrectly as well people commonly competitively downvote (downvoting another answer to a question that you also answered) obviously not a good behavior downvoting (and upvoting) are contagious, meaning one downvote leads to a bunch of others even though downvotes don't effect rep that much they create a negative environment, no one wants their post downvoted, on the other hand criticizing comments, I think, are far more welcome So basically in a nutshell a downvote serves no real purpose even if a post deserves it. Flagging, closing and commenting are much more useful to everyone including the poster than downvoting so why have it. I now see from the answers and comments that downvotes do serve a purpose and would like to retract my request.",
"Resetting crontab file to default",
"How can I change the default date format? When I paste a date into Excel 2010 in the format \"2012-12-07 00:00:00.000\" I'd like it to be displayed by default as \"2012-12-07\", but it is actually displayed as \"00:00.0\". I know I can work around this by prepending a ' or changing the cell format, but I'm interested in changing the default format. An approach that almost works is going to Control Panel->Region and Language->Long Time format and changing it to something like \"h\". This results in Excel displaying the dates I paste in as \"2012-12-07 00:00:00.000\", but screws up times displayed outside of Excel. The dates I'm pasting in are from SQL Server.",
"Format SQL in SQL Server Management Studio In Visual Studio & other IDEs, you can easily auto format your code with a keyboard shortcut, through the menu, or automatically as you type. I was wondering if there is yet a way to enable this standard feature in SQL Server Management Studio? I'm working with some large-ish stored procs that are a mangled mess of poorly formatted SQL and it'd be nice if I could just go \"Select All -> Format SQL\"",
"Derivation of the formula for Ordinary Least Squares Linear Regression",
"What is average distance from center of square to some point?",
"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.",
"Statement of Purpose Template I am trying, loosely based on to make a template for my Statement of Purpose. How could I remove the empty extra line between the horizontal rule and the text? Moreover, how could be the first letter be of larger font in the title? Any other suggestion is more than welcomed. \\documentclass{article} \\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry} \\newcommand{\\HRule}{\\rule{\\linewidth}{0.5mm}} \\newcommand{\\Hrule}{\\rule{\\linewidth}{0.3mm}} \\makeatletter% since there's an at-sign (@) in the command name \\renewcommand{\\@maketitle}{ \\parindent=0pt% don't indent paragraphs in the title block \\begin{center} \\MakeUppercase{\\Large \\bf \\@title} \\HRule% \\end{center}% \\textit{\\@author \\hfill \\@date} \\par } \\makeatother% resets the meaning of the at-sign (@) \\title{Statement of Purpose} \\author{name} \\date{Ph.D. Applicant} \\begin{document} \\maketitle% prints the title block Emergency medicine has always been a passion of mine\\ldots \\end{document}",
"Fundamental particles identical or just differences very small? I have read that all electrons are identical and I assume the same for protons, etc. That is, all electrons are of the exact same mass and charge. But do we really know this? Could there be slightly heavier electrons with slightly higher charge or is there a reason why such particles could not exist or would be unstable?",
"What does echelon mean? When you solve a system of linear equations, you write down the augmented matrix and reduce this to reduced row echelon form. What is the meaning of the word echelon?",
"I'm looking for a true 360 degree camera, so that's both vertical and horizontal 360 degrees. I've seen some clip-ons for the iPhone, but am really not wanting to by an iPhone 4S for this. What I would like to see: - decent resolution: at least 1920x1080. - and 30fps I can't settle for an alternative that's not vertically 360 degrees (or at least much more than 180 degrees). I've seen the ball camera, which isn't out yet, but would be really well suited for my case, given it does video as well.",
"Position of a relative clause before/after a verb",
"\"Examine whether the given progressions converge (eventually improperly) and determine their limits where applicable. (a) $$(a_n)_{n\\in\\mathbb{N}}:=\\frac{n^n}{n!}$$ [...]\" I am having problems getting this homework done as I have no clue about convergency at all. Through Mathematica I know that $\\lim\\limits_{n\\to\\infty}a_n=+\\infty$ however I don't know how to proove it! During my research I found out that for sufficient big $n$ the inequality $x^n\\leq n!\\leq n^n$ for $x\\in\\mathbb{R}$ and $n\\in\\mathbb{N}$ is true. However this doesn't help me at all. Having a look at our lecture notes I developed the following statement: every $x^n$ with $|x| \\geq 1$ diverges as $x^n$ is unbounded and therefore has the improper limit $\\lim\\limits_{n\\to\\infty}x^n=+\\infty$. Furthermore it seems obvious to me that I need to express the terms in a simpler way, like fractions converging to 0 etc, but I don't know how. Neither some work with the $\\varepsilon$-definition of limits in combination with the triangle inequality helped me out. Any suggestions or hints? Information: This is \"Analysis for computer scientist\" and therefore we haven't \"officially\" learned any fancy tricks like L'Hôpital's rule etc. just basic properties of $\\mathbb{R}$ and some inequalities as this is an introductory lecture."
]
| medi_sts_stackexchange_dupe |
$f:[0,\infty)\rightarrow\mathbb{R}$ is differentiable and $\lim_{x\to\infty}f'(x)=0$, prove $\lim_{x \rightarrow \infty}[f(x+1)-f(x)]=0$. | If $f:\mathbb{R}\rightarrow \mathbb{R}$ is differentiable and $\lim_{x\to \infty } f^\prime(x)=0$ show that $\lim _{x\to \infty } (f(x+1)-f(x))=0$. | [
"Where is a good place to learn classical optics for high school competitions? I need to learn basic optics for a high school academic competition. Does anyone know any good places, preferably free and online, to learn the basics of optics, like lenses, angles of incidence, etc.? I can't seem to find an MIT OpenCourseWare course addressing the issue.",
"What Is Exponentiation?",
"Going through a text file line by line in C",
"When doing an apt-get update/upgrade I see that warning W: Conflicting distribution: https://downloads.plex.tv/repo/deb public InRelease (expected public but got ) I was upgrading to Ubuntu Zesty 17.04 before and do not know how to fix the above. Already have seen ? but there are no suggested fixes for that. Maybe one of you can give some hints? Thanks!",
"(Before anyone jumps to the conclusion that this is the same question as , please read it through. Also I am looking for more comprehensive and detailed data than the poster in .) Many years ago I used to use a tool called Line Speed Meter (or Monitor) by TCPIQ. This was a brilliant piece of software that would sit quietly in the background and several times a day (according to a selectable frequency) would reach out and test internet line performance against servers all over the world. In the course of a week (or more), thousands of servers would be tested and enough data would accumulate that one could analyze performance according to time of day, day of week, location of server, etc. Drill-down was possible to the point where you could see every server that was tested. This data was invaluable in determining if one really was getting the performance being paid for. It was also infinitely more valuable than spot checks you perform at sites like or even the better-regarded ones like or (both of which, incidentally, are biased toward USA users - which I am not one of anymore). Unfortunately Line Speed Meter is no longer supported and the company that made it now has instead a tool called isposure that is nowhere near as flexible or transparent - it is geared to supplying data to ISPs rather than to the consumers. For example, according to their FAQ, it usually runs only once a day automatically - I'd like to start with running it every couple of hours for a week or two - and scale back once I have a good basis so that I can notice when performance changes. Also, the details of the tests are no longer visible to the consumer-user. My question: is there a (preferably free) tool/service available today to automatically collect comprehensive line speed metrics so I can map out and analyze the performance I am getting on my Broadband internet connection? EDIT 2012-02-13: I left something out of the above. In my country, each ISP sells a package that implies performance beyond the borders of my small country. They own (or lease) the lines going across the ocean. They have full control of the bandwidth leading from their servers to the backbones in the USA and EU. Peformance through the cloud is very much relevant and although not entirely, certainly largely under the local ISP's control, since traditionally, the bottleneck has been traffic out of the country. As an example, at the moment, my ISP is advertising widely their new transatlantic cable and how their performance now outstrips everyone else's. I haven't \"felt\" it - so I want a tool to quantify it. Performance within my country is usually good. The problem is that almost all my work involves access to the Internet in North America, Europe, Pacific Rim and others. So I care about and want to document the end-to-end performance I am getting from my ISP - and if I switch, compare to what I get at a new ISP. EDIT 2013-03-07: As @harrymc pointed out I neglected to mention OS. All the machines on my home LAN are (sadly) Windows (XP or 7). If A tool requires *nix, I have a couple ancient machines in storage I could probably re-purpose - but my preference is for a Windows-based tool. Thanks. EDIT 2013-03-10: As a further clarification - a method to monitor speeds achieved during regular work provides half of what I'm looking for. What was nice about TCPIQ is that it would ferret out thousands of sites around the world and do brief d/l & u/l tests against them to check speed and then log the results. This gave a valuable statistical database for analysis of speed overall, as well as during times of day, days of week and according to geographical targets. That's the sort of functionality I'd like to achieve (again).",
"What's a big-vocabulary word for someone with a big vocabulary? What's a big-vocabulary word for someone with a big vocabulary? I'd like to say I'm looking for a \"_____\".",
"Lightning component scripts loading issues since Spring 17 update",
"Showing that a sequence is monotone and thus convergent Here's the original question: Let $(a_n)$ be bounded. Assume that $a_{n+1} \\ge a_{n} - 2^{-n}$. Show that $(a_n)$ is convergent. Okay, I know that if I can show that if the sequence is monotone, I can conclude that it is convergent. But I am not sure how to show that it is monotone. I know that $$a_n \\le a_{n+1} + \\frac{1}{2^n} < a_{n+1} + \\frac{1}{n}$$ It looks to me as if it is monotonically increasing but I'm quite not sure how to prove my claim. Any hints would be appreciated.",
"Find the subgroups of A4 I had a question I was hoping for some help on: Find all of the subgroups of $A_4$ Here is what I know: $A_4$ is the alternating group on 4 letters. That is it is the set of all even permutations. The elements are: $(1), (12)(34), (13)(24), (14)(23), (123), (132), (124), (142), (134), (143), (234), (243)$ which totals to 12 elements. Which means, the subgroups should have order 1,2,3,4,6 and 12. The groups of order 1 and order 12 are trivial. I also know the groups of order 2 which are: $[1,(12)(34)], [1, (13)(24)], [1, (14)(23)]$ but would someone be able to help me find the subgroups of order 3, 4 and 6 and be able to provide a good, easy explanation of how you got to them for me? I'm pretty sure there is no such groups of order 6, but I don't know how to explain why. Thank you so much for your help in advance, I really appreciate it!",
"Changing an element's ID with jQuery I need to change an element's ID using jQuery. Apparently these don't work: jQuery(this).prev(\"li\").attr(\"id\")=\"newid\" jQuery(this).prev(\"li\")=\"newid\" I found out that I can make it happen with the following code: jQuery(this).prev(\"li\")show(function() { this.id=\"newid\"; }); But that doesn't seem right to me. There must be a better way, no? Also, in case there isn't, what other method can I use instead of show/hide or other effects? Obviously I don't want to show/hide or affect the element every time, just to change its ID. (Yep, I'm a jQuery newbie.) Edit I can't use classes in this case, I must use IDs.",
"Adding values to a C# array Probably a really simple one this - I'm starting out with C# and need to add values to an array, for example: int[] terms; for(int runs = 0; runs < 400; runs++) { terms[] = runs; } For those who have used PHP, here's what I'm trying to do in C#: $arr = array(); for ($i = 0; $i < 10; $i++) { $arr[] = $i; }",
"Best way to clone an installation (copying to identical hardware) Kind-of like but slightly different (I think), in that I have 6 identical Acer Aspire Revo R3610 machines. One is (almost) configured to my requirements - when I'm done preparing it I'd like to make the other 5 machines absolutely the same. I'm very new to Ubuntu, what's the most straightforward (easiest) way of doing this? The machines are going to live on different networks if that might otherwise be a problem (eg with Windows you can clone disks but you then have to make registry changes afterwards if they're going to run on the same network etc). The hardware in all 6 machines is, I stress, the same! How can I efficiently clone one source image on to these identical machines? Please restrict one software/solution per answer",
"Is it possible to backup individual files with Deja Dup? In the Deja Dup preferences, it is possible to select certain folders to backup and certain folders to exclude. I would like to be able to backup individual files in my Home folder (Such as .vimrc and .bashrc), but I don't see any way to do this. So my question is, is it possible to either Select individual files (instead of whole folders) to backup, or backup my Home folder, but exclude all subfolders?",
"How can I selectively disable paste blockers",
"Too much whitespace in \"Thanks for the feedback\" While attempting to downvote something on a site I don't have an account on, I see this message, which has too much whitespace: The same thing happens with upvotes (and プラス票が): (I think it's safe to say that this is a network-wide bug, since I took these all on different sites.) However, it looks more reasonable when you are not logged into the network at all (e.g. in private browsing): An earlier version of this issue was reported at , but the difference is that there is no newsletter UI on the right anymore. (The extra space could have been justified before given the height of the newsletter; now it's definitely a bug.) Also, is newsletter supposed to be gone?",
"How to hook into the CPT's title placeholder?",
"MacBook Pro crashes randomly after dropping it on the floor A few days ago my MacBook Pro slipped out of my hands and fell onto the tile floor. The outside got banged up quite a bit and the Touch Bar no longer lights up but still responds to touches sometimes but not all the time. Anyway, since then it will randomly restart every once in a while with a kernel panic. I have the log posted below and wanted to know if anyone could tell me what is causing the panic?",
"Let $f$ and $g$ be entire functions and $g(z)\\neq 0$ for all $z\\in \\mathbb{C}$. If $|f(z)|\\le |g(z)|$, can we say $f$ is constant? Liouville theorem says that an entire bounded function is constant, but g is not given bounded here. So I think it should be false. What else can we say about $f$?",
"Representation of electromagnetic wave? In Representation of electromagnetic waves we show both electric and magnetic fields perpendicular to each other and having zero magnitude at one point and maximum at other point. This representation and understanding of EM waves violating law of conservation of energy...",
"I'm wondering what the preferred method is for dealing with AJAX calls. Should one use the same plugin php file to process the POST or a separate one? Which is cleaner or safer?"
]
| medi_sts_stackexchange_dupe |
Find the difference between two JavaScript objects | How to determine equality for two JavaScript objects? | [
"Space of bounded continuous functions is complete I have lecture notes with the claim $(C_b(X), \\|\\cdot\\|_\\infty)$, the space of bounded continuous functions with the sup norm is complete. The lecturer then proved two things, (i) that $f(x) = \\lim f_n (x)$ is bounded and (ii) that $\\lim f_n \\in \\mathbb{R}$. I don't understand why it's not enough that $f$ is bounded. I think the limit of a sequence of continuous functions is continuous and then if $f$ is bounded, it's in $C_b(X)$. So what is this $\\lim f_n \\in \\mathbb{R}$ about? Many thanks for your help.",
"Please explain the logic behind $d(xy) = y(dx) + x(dy)$ I've seen $d(xy) = y(dx) + x(dy)$, but I don't understand the principle behind it and memorizing it is lame. Can anyone explain what is going on here? For example from physics, $$F = {{dP} \\over {dt}}$$ $$F = {{d(mv)} \\over {dt}}$$ $$F = {{v(dm) + m(dv)} \\over {dt}}$$ Since $$dm = 0$$ $$F = {{m(dv)} \\over {dt}}$$ Since $$a = {{dv} \\over {dt}}$$ $$F = ma$$",
"I have a beautiful inequality, but I can only prove part of cases. Given any positive real numbers $a,b,c$, we have $$(a^{2}+2)(b^{2}+2)(c^{2}+2)\\geq 9(ab+bc+ca)$$ How can we prove this statement?",
"I own a Nikon D40X and just the kit lens and I'm considering buying either a macro lens or some extension tubes. I don't necessarily want to do true 1:1 macro, just some close ups of bugs, fungi and flowers.",
"$$ \\sum_{i=1}^N\\left\\lfloor\\frac{N}{i}\\right\\rfloor $$ Is there a closed form expression to the above sum? (Mathematica doesn't give me anything)",
"Is there a recursive version of the dict.get() built-in?",
"The limit is $$\\lim_{x\\rightarrow0} \\frac{x-\\sin_n(x)}{x^3},$$ where $\\sin_n(x)$ is the $\\sin(x)$ function composed with itself $n$ times: $$\\sin_n(x) = \\sin(\\sin(\\dots \\sin(x)))$$ For $n=1$ the limit is $\\frac{1}{6}$, $n=2$, the limit is $\\frac{1}{3}$ and so on. Can we define a recurrent relation upon that given hypothesis? Also, how do I involve $n$ into calculation, because the final limit will depend on it? Any suggestions on how to tackle this? Thank you!",
"Compare classifiers based on AUROC or accuracy? I have a binary classification problem and I experiment different classifiers on it: I want to compare the classifiers. which one is a better measure AUC or accuracy? And why? Raondom Forest: AUC: 0.828 Accuracy: 79.6667 % SVM: AUC: 0.542 Accuracy: 85.6667 %",
"When people are asked to match monchromatic violet light with an additive mix of basic colours, they (paradoxically) mix in red. In fact, the CIE 1931 color space chromaticity diagram shows this effect begins at about 510nm (greenish-cyan), where people mix in no red. From that point on, the higher the frequency of the light source, the more red they mix in. This effect is reflected by the red curve of the , which has an additional bump in the area of blue light. However, that curve does not match the actual spectral sensitivity of red cones. So where does this additional perception of red at higher frequencies come from?",
"How does Meta Stack Exchange work? Meta Stack Exchange seems to have different rules and user behavior than the \"regular\" Stack Exchange sites. How is it different? Individual questions answered below: Related",
"wrappers and JavaScript pop-up? Use Case: What i want is a list of records, and allow this user to choose 2 of those records, then click a button to go to a new VF page, if the user selects more than 2, i want him to get a notification of some kind saying you need to select 2 records, I do not want the page refeshed though. Strategy: I'm creating a wrapper class for the records like this: and i have that part going by creating a custonm controller... I need the notification part working. Problem: I don't know how to call methods from the customController in javascript Also, i do not want to refresh the entire page. I just want them to go back to where they were. I was thinking a pop-up notification but I'm flexible..",
"What is a good focal length for street photography? With a long lens you don´t disturb people but you are left \"out of the scene\", while with a short focal lens you are \"inside the scene\" but you may disturb people. What is a better alternative for street photography?",
"Say we have two integers $n$ and $k$, such that $0 < k < n$ and $gcd(n, k) = 1$. Why is it that if we take every integer $x\\in\\{0,\\dots, n-1\\}$ and compute $k\\cdot x \\ (mod \\ n)$, we get as remainders all numbers from $0$ to $n-1$, with no repeats? In other words, why is $\\ f:\\{0,\\dots,n-1\\}\\rightarrow\\{0,\\dots,n-1\\}$, $\\ f(x)=k\\cdot x\\ (mod\\ n)$ a bijection for $k,n\\in\\mathbb{N},\\ gcd(k,n)=1$?",
"Rails Previous Sunday in Relation to Any DateTime",
"Does Stack Exchange use caching and if so, how?",
"How can I send email attachment without using an additional library in Perl?",
"How to replace all occurrences of a string in JavaScript?",
"I'm level 10 on Pokemon Go. I've caught at least 150 Pokemon, and had no problems. Now, every time I try to catch a Pokemon, no matter the level, it just rolls twice in the pokeball, breaks free, then runs away. Can anyone provide some insight on how to fix this problem?",
"ERROR running force:source:pull: Entity of type 'CustomApplication' named 'Contact' cannot be found",
"Connecting MySql with Android without using PHP"
]
| medi_sts_stackexchange_dupe |
How to establish and prove causality between two variables? | Statistics and causal inference? | [
"Why are news headlines in present tense if they refer to past events? In news papers we see headings like this "India signs a pact with Russia" "Sachin hits another century" "Obama wins presidential election" These are completed events, aren't they? Then, why are these sentences not mentioned in past tense?",
"Is it true that $$\\int_a^b f(x) dx = \\int_{f(a)}^{f(b)} f^{-1}(x) dx$$ Just making sure. If not, how about: $$\\int_a^b f(x) dx = (f(b)-f(a))b - \\int_{f(a)}^{f(b)}f^{-1}(x)dx$$ I'm having a hard time concentrating right now, and I'm trying to figure out how to get the area under a curve when the function is inverted.",
"fp - How to keep running sum in variable? I have this code in my LaTeX: \\FPset{totalHours}{0} \\newcommand{\\entry}[5]{ \\FPeval{totalHours}{(totalHours)+#5} #1 & #2 & #3 & #4 & #5 \\\\ } Where \\entry is meant to be an entry in a time log. The 5th argument is a number representing the number of hours in that entry. I want to keep a running total of the hours in a variable I can print later on, totalHours. This seems to do the \\FPeval but then totalHours gets reset to 0 by the next time I write \\entry. What is the correct way to keep a running total? Thanks.",
"According to HTML specs, the select tag in HTML doesn't have a readonly attribute, only a disabled attribute. So if you want to keep the user from changing the dropdown, you have to use disabled. The only problem is that disabled HTML form inputs don't get included in the POST / GET data. What's the best way to emulate the readonly attribute for a select tag, and still get the POST data?",
"How to prove $a^2 + b^2 + c^2 \\ge ab + bc + ca$? How can the following inequation be proven? $$a^2 + b^2 + c^2 \\ge ab + bc + ca$$",
"My question is pretty simple. Since $n! \\gt n!!$, it's clear by the comparison test that $\\sum_{n=0}^\\infty \\frac {1}{n!!}$ converges. But what value does the sum converge to? How does one go about determining its value (if possible)?",
"If I design a PC for use as an NPC, how much XP should he give when killed?",
"So from what I understand transistors are one of the most important electronic elements for computers because of TTL (Transistors-Transistors Logic). Is this true? If so, how exactly does this work? I have heard the terms \"logic gate\" and \"logic block\" tossed around.",
"How to call a function in a Twig file Let's say I create a function in a module file: function _get_test() { return 'test'; } How can I call this in any Twig file? For example *.html.twig, page.html.twig, node.html.twig etc. OR How can I pass a variable from PHP to Twig and display in any Twig file. For example *.html.twig, page.html.twig, node.html.twig etc.",
"Movie/TV series with a scene of spiky, black goo growing out of a lab container? There was a scene from a sci-fi horror video, not animated, don't know if it's a movie or TV series, where there was this black goo in a glass container and some scientists were looking at it under a microscope. The pitch black goo grew and grew so fast, eventually breaking out of the inner box and the scientists that were inside the \"inner lab\" were begging to get out but the scientists outside that inner lab refused to open the door. The black goo was spiky (had spikes). It's not any of the \"Alien\" movies, \"The Blob\", \"Life\", or \"The Thing\". It's not vintage. It was made after 1990, I'm pretty sure.",
"This is a weird phenomenon. Consider the following code: \\documentclass{article} \\begin{document} $$Z^* \\frac{Z^*}{Z^*}$$ \\end{document} It produces the following picture: The asterisks appear in various places in comparison to the Z. This looks particularly bad in the denominator. Any idea what's behind this?",
"Why is that when I open up my file in blender, the reference picture is gone When you are using a reference picture in blender, do you have to keep it? Do the pictures have to stay in your computer? I sometimes delete my reference images, because I'm on my mother's computer and any file I download has to go away. When opening my blender file the pictures are gone. How can I get my reference images to stay in my blender file even if the original file is deleted?",
"Running \"sudo apt-get update\" returns connection errors After installing Ubuntu 18.04 from the Windows store I open Bash and want to run sudo apt-get update, but this returns the following errors: Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Connection failed [IP: 91.189.91.26 80] Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease Connection failed [IP: 91.189.88.162 80] Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Connection failed [IP: 91.189.88.161 80] Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Connection failed [IP: 91.189.88.162 80] Reading package lists... Done W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80] W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80] W: Some index files failed to download. They have been ignored, or old ones used instead. When I open 91.189.91.26 in a browser, it shows the site without a problem. Previously this worked without any problem, but I did a clean reinstall of Windows and now it doesn't work anymore. It seems some firewall or proxy issue, but I tried with the firewall disabled and I got the same result. Any idea why this is happening? Maybe it is a 18.04 issue? If so, is it possible to return to 16.04 on Windows 10? Becasue I don't see a uninstall option.",
"drupal 7 + services 3 - inserting nodes with select fields I'm using Drupal 7 + Services 3 to create nodes with POST and JSON. Everything works fine, except field types of select - entity reference select or plain text. The entity reference uses the autocomplete widget, while the text select is a plain radio button. This is the format I'm using: \"field_urgency\": { \"und\": [ { \"value\": 1 } ] }",
"Recommend MVVM or just answer the question?",
"Which is the best way to put function plots into a LaTeX document?",
"When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around it? \\documentclass{standalone} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} [sibling distance=100] \\node[rectangle, draw, rounded corners = 3]{ } child { node { } } child { node { } } ; \\end{tikzpicture} \\end{document}",
"ODBC and ADO connection to SQL Server: What protocol is used when connecting to \\?",
"Finding an expression for $\\tan (a+ b + y)$ which involves only $\\tan a, \\tan b,$ and $\\tan y$.",
"How do I ignore ampersands in a SQL script running from SQL Plus? I have a SQL script that creates a package with a comment containing an ampersand (&). When I run the script from SQL Plus, I am prompted to enter a substitute value for the string starting with &. How do I disable this feature so that SQL Plus ignores the ampersand?"
]
| medi_sts_stackexchange_dupe |
The using of has and have in question | Does it have or has? | [
"View a man page in a specific section I wanted to access man pages for command chmod. Command whatis chmod gave this output: chmod (2) - change permissions of a file chmod (1) - change file mode bits But I was actually looking for chmod(2). When I type man chmod, man pages for chmod(1) appears. Both man chmod(2) and man 'chmod(2)' commands show error. I tried running info coreutils 'chmod invocation', but output is some kind of documentation which doesn't look like a typical man page.",
"Do multi-use keys get discarded when finished with? As with many resident evil games, you sometimes needs to collect certain keys to open certain doors, and resident evil 7 has plenty of these around. Some keys are clearly single use, and get left in the lock in which you use them. However, there are a number of keys that can be used on multiple doors. For example, the Scorpion Key. I am concerned that I might end up carrying these around needlessly and using up valuable inventory space, so... Do these multi-use keys get discarded when you use them on all the doors they apply to? Or do you get a warning saying the key is no longer needed? (like previous games are known to do)",
"Exponent and abelian groups What exponent $e$ can guarantee the group to be abelian? Are there any known results except the case $e = 2$? Thanks for help.",
"Holmby Hall is a landmark site in Los Angeles. The Wikipedia page doesn't use \"the\" before Holmby Hall, but has used the before The Fox Theatre.",
"This story was in one of the first SF anthologies I ever read, in the mid-1960s. A meteor lands near to a house. The householder finds it and carries it into his house (meteor is grapefruit/football sized). It’s actually a crashed spaceship, crewed by beings the size of beetles or cockroaches. They emerge, and are spotted by the householder, who of course thinks they’re insects, but notices one seems to be holding a tiny tube. He reaches towards it and the alien shoots his hand (the tube being a gun, of course), stinging him. I can’t recall how the story ends, but I’d love to know what the story was called, and who its author was, as I’m trying to assemble a list of the early SF that fired my enthusiasm for the genre.",
"Show that $d_2$ defined by $d_2(x,y)=\\frac{|x-y|}{1+|x-y|}$ is a metric",
"I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is (Windows only). And open source ones are and . I haven't tried anyone, so I wanted to know which one is the best considering: Gives most details. I have to do least or no changes to my code.",
"display only 3 foreach result per row",
"Active login not recognized on Super User",
"What is the best regular expression to check if a string is a valid URL? How can I check if a given string is a valid URL address? My knowledge of regular expressions is basic and doesn't allow me to choose from the hundreds of regular expressions I've already seen on the web.",
"Is there a difference between \"think of something\" and \"think about something\"? I've also met \"have heard of/about something\".",
"Otherwise, is there any alternative command line utility that can achieve this?",
"Thick annulus (ring) in 3D",
"I have a machine running a couple of vagrant VM. The problem I have is that sometimes I forget to shutdown those VM before I shutdown or reboot my machine. Because of that my machine get stuck with this message: waiting for vboxnet0 to become free I searched about solutions and I found this page : I tried what they for shutdown, but it doesn't work. I wrote an sh file for that command: #!/bin/bash cd ~/workspace/git/mediaservice vagrant halt any suggestions?",
"find out which program pops up a command line window I have windows 10 home and from time to time I see a command line window popping up for less than a second. I want to find out which process is causing that. It's not very often that this window pops up so I need some tool that can run for a long time. Does anyone have a good idea? Regards Tobias",
"General integral to find resistance My question is: is there a simple and truly general equation for the resistance between two electrical equipotential surfaces?. Obviously, if so, what is it, and if not, why? It would be very difficult to solve, granted, but I just want to see a calculus equation that is fully descriptive. I have two frameworks under which this could be entertained, I'll write those out and then explain the motivation. To start with, we need propose that the volume separating the two surfaces has a volumetric resistivity, $\\rho$ in units of $(\\Omega m)$. Single Volume Framework We can limit the discussion to a defined volume, then the surfaces reside in that volume or on the surface of it. This volume may have a constant resistivity $\\rho$ while everywhere outside the volume is completely electrically insulating. Infinite Volume Framework An alternative to the above approach that might make the task more or less difficult would be to replace a constant resistivity with a spatial dependence $\\rho(\\vec{r})$ and no longer require a boundary condition. In that case we only have 3 mathematical inputs to the problem, which is the resistivity defined for all $\\vec{r}$ and a definition of the two surfaces, $S_1$ and $S_2$. Known Algebraic Analogs The that I find insufficient is: $$R = \\rho \\frac{\\ell}{A}$$ Where $l$ is the length of the restive material that is any shape which has translation symmetry over that length, and $A$ is the cross-sectional area. Obviously, this is a rather simple equation that won't apply to more complicated geometry. Even more seem to give equations that fall short of what I'm asking. For example: $$R = \\rho \\int_0^l \\frac{1}{A(x)} dx$$ I think it's obvious that an equation such as this is built upon a myriad of assumptions. For a thought experiment, imagine that the area starts out as very small and then pans out to very large quickly. Well, accounting for the larger area in the above sense underestimates the resistance, because the charge has to diffuse out perpendicular to the average direction of flow as well as parallel to it. I have some reasons to suspect this might actually be rather difficult. A big reason is that all the approaches I'm familiar with require the flow paths to be established beforehand, which can't be done for what I'm asking. So maybe this will result in two interconnected calculus equations. Motivation I had an interest in , and it occurred to me that I can't quickly and simply write down the equation for resistance between two points. The unique thing about Squishy Circuits is that it calls for two types of dough, one that conducts and one that is mostly insulating. However, the recipes aren't perfect and because of that, the young children who play with these circuits regularly encounter the limits of conductor and insulator definitions. If you make your conductor dough too long and/or too thin, you will encounter dimming of the light you connect with it. Similarly, a thin insulator layer will lead to a lot of leakage current which also dims the light.",
"Which is the easiest way to evaluate $\\int \\limits_{0}^{\\pi/2} (\\sqrt{\\tan x} +\\sqrt{\\cot x})$?",
"What is an effective way to level Archery?",
"Can the Earth's magnetic field be used to generate electricity?",
"How to remove configuration files completely Recently I uninstalled some software using sudo apt-get --purge autoremove, thinking that this would remove all traces of it including unused dependencies and configuration files. However I discovered that a configuration file was left behind in my home folder. Is there a more powerful command which would remove even that? Also, is it safe to delete the hidden files and folders under home, if they are merely configuration files, or are there other kinds of files?"
]
| medi_sts_stackexchange_dupe |
How to install Ubuntu alongside Windows 7/8 | "Install alongside" option missing. How do I install Ubuntu beside Windows using "Something Else"? | [
"My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back. I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M",
"I have been reading about depth-of-field and presume to have a sufficient understanding of what it means and how it is related to lens properties, lens aperture, focal length, sensor format size and probably even print dimensions in case the picture is being printed. I do have a question about how/if depth-of-field depends on the dimension of a pixel. Let me elaborate: Given two sensors with differing pixel sizes: x and 4x, the latter sensor integrates more light per-pixel than the former, however, it might have a lower resolution if the sensor dimensions remain fixed. Theory suggests that the depth of field is determined by those circles-of-confusion which are very close to being an in-focus point, and this perhaps also means that these very small CoCs fall within the integration area of the same pixel. Now when a CoC becomes larger than a pixel (like also in the case of diffraction blur), there is some spreading of intensities among neighboring pixels and this would clearly lead to blur. However, if one was using the 4X sized pixel, even with a slightly larger CoC, the intensity would still integrate into the same pixel area, and would thus perhaps be in-focus? Is this the right assumption? And if so, is there any analysis of pixel-area dependence of depth-of-field? Moreover, depth-of-field is in some sense independent of the integration medium as it clearly occurs in analog film devices as well, so is there a trade-off or a difference in depth-of-field between film and digital cameras? Please point me to the correct references for this question. Please correct me if there seems to be a fundamental issue with the assumptions made above.",
"SQLite parameter substitution problem Using SQLite3 with Python 2.5, I'm trying to iterate through a list and pull the weight of an item from the database based on the item's name. I tried using the \"?\" parameter substitution suggested to prevent SQL injections but it doesn't work. For example, when I use: for item in self.inventory_names: self.cursor.execute(\"SELECT weight FROM Equipment WHERE name = ?\", item) self.cursor.close() I get the error: sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 8 supplied. I believe this is somehow caused by the initial creation of the database; the module I made that actually creates the DB does have 8 bindings. cursor.execute(\"\"\"CREATE TABLE Equipment (id INTEGER PRIMARY KEY, name TEXT, price INTEGER, weight REAL, info TEXT, ammo_cap INTEGER, availability_west TEXT, availability_east TEXT)\"\"\") However, when I use the less-secure \"%s\" substitution for each item name, it works just fine. Like so: for item in self.inventory_names: self.cursor.execute(\"SELECT weight FROM Equipment WHERE name = '%s'\" % item) self.cursor.close() I can't figure out why it thinks I have 8 bindins when I'm only calling one. How can I fix it?",
"Given a message and DES encrypted form of said message, is it possible to efficiently compute the key used to encrypt the data?",
"Convert UTC/GMT time to local time We are developing a C# application for a web-service client. This will run on Windows XP PC's. One of the fields returned by the web service is a DateTime field. The server returns a field in GMT format i.e. with a \"Z\" at the end. However, we found that .NET seems to do some kind of implicit conversion and the time was always 12 hours out. The following code sample resolves this to some extent in that the 12 hour difference has gone but it makes no allowance for NZ daylight saving. CultureInfo ci = new CultureInfo(\"en-NZ\"); string date = \"Web service date\".ToString(\"R\", ci); DateTime convertedDate = DateTime.Parse(date); As per : UTC/GMT Offset Standard time zone: UTC/GMT +12 hours Daylight saving time: +1 hour Current time zone offset: UTC/GMT +13 hours How do we adjust for the extra hour? Can this be done programmatically or is this some kind of setting on the PC's?",
"My customers are eager to show news categorized in tabs. I recently developed it for them. In my experience in web designing, display:none is used widely in implementing tabs. I also know that it is not good for SEO. Is there any way to have tabs but without hurting SEO factors?",
"How to calculate $\\lim_{x\\to 1^+} \\log (x)^{\\log(x)}$? How to calculate $\\lim_{x\\to 1^+} \\log (x)^{\\log(x)}$ ? i know that its \"1\", but why? How can i calculate this? Thank you very very much =)",
"ArcPy importing error after setting path? This questions has been asked before too and I did go through most of the suggestions. Things I have tried so far: setting up correct path variable environment, installing anaconda 32 bits, python 2.7, or even switching to python 2.7 in cmd while initially using Anaconda 3 , adding Desktop 10.4.pth file with following path. C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\bin C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\ArcPy C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\ArcToolBox\\Scripts I also added those paths in environment variable These suggestions help me to reduce the error. But Now I am getting a different error. Looks like python can find arcpy but missing another package. Getting this error while trying to import arcpy in python 3.6. File \"C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\ArcPy\\arcpy\\__init__.py\", line 22, in <module> from arcpy.geoprocessing import gp File \"C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\ArcPy\\arcpy\\geoprocessing\\__init__.py\", line 14, in <module> from _base import * ModuleNotFoundError: No module named '_base' Any suggestions?",
"Show $\\sum\\limits_{n=0}^{\\infty}{2n \\choose n}x^n=(1-4x)^{-1/2}$ How do you prove that $\\sum\\limits_{n=0}^{\\infty}{2n \\choose n}x^n=(1-4x)^{-1/2}$? I tried to identify the sum as a binomial series, but the $4$ and the $-1/2$ puzzle me. (This series arises in studying the first passage time of a simple random walk.)",
"Let $G$ be a group and $c$ be a fixed element of $G$. Define a new operation $*$ on G by: $$x*y=xdy$$ for all $x$ and $y$ in $G$, where $d$ is the inverse of $c$. Prove that $G$ is a group under the operation $*$. If you want to check, this problem is in the book “A Course In Group Theory”, by John F. Humphreys (problem $3$, page $28$) I know what are the axioms that $(G,*)$ must obey in order to be a group and I did show that all the axioms where obeyed except the inverse axiom. My problem is that, whenever I try to verify what would the inverse be for some element $x$, I get an equation where the $x$ is cancelled in both sides. Can please someone guide me? Thank you! (P.S.: This is NOT a homework assignment, I’m studying Group Theory by this book and got problems solving this question)",
"I would like to capture the contents of AJAX requests using Greasemonkey. Does anybody know how to do this?",
"Implement multiple inheritance in Javascript",
"Content Assist for JSF2 + CDI (weld) beans + Eclipse Helios",
"I am using the 2D Animation preset and so far every new scene I made had the same bright white background. Now my two latest scenes (created with 'copy settings') have a light grey background even though they are set to white. There's also no difference in surface, nodes or strength. There are apparently exist different background shades with an off-white color but selecting the white one doesn't help either",
"Setup Apache in Amazon AWS I tried to setup apache 2.2 in amazon aws using amazon ami. i did installed httpd and php and congirue http.conf to use /var/www/html. Then put file index.html on that folder. But when i tried to use browser to browse my domain which is ec2-122-248-255-181.ap-southeast-1.compute.amazonaws.com, nothing was loaded. I did start httpd by running apachectl start, and i can see it listening on port 80. Does anybody know what is wrong?",
"Virtual vs Real image",
"How can I stop being prompted to unlock the 'default' keyring on boot?",
"How can I propose a new site?",
"Enable F1-F12 keys without Fn on Lenovo Ideapad S400u",
"I am looking for an Ubuntu version that consumes less Memory and CPU. I have read both Lubuntu and Xubuntu (The homepages, wikipedia, phoronix and other sites comparing both). But from experience, which one uses less memory and is less CPU intensive. I need to install them in very old hardware and want to persuade the owner of the hardware of the benefits of Ubuntu. in this case I want to install 11.10 or 12.04 when it comes out. How are each behaving in those versions? The 2 PCs I will be installing either Xubuntu or Lubuntu are: Granpa PC: CPU - Pentium 2 450Mhz RAM - 64MB DIMM Video - 16MB Used for - Documents and Internet. No listening to music, no looking at videos. Just using it for document writing. The other old meat: CPU - Pentium 3 550Mhz RAM - 128MB DIMM Video - 16MB Used for - Documents and Internet also but they want.. or maybe they are wishing for it to use it to see movies and listen to music. This one has internet. The other one does not. UPDATE Wanted to update this question with the test results for over 8 months worth of using Lubuntu and Xubuntu. When it comes to very old hardware, am talking about 64 MB, 128 MB or even 256 MB of RAM computers, Lubuntu is better than Xubuntu when comparing Memory usage. When it comes to CPU usage, both are the same. This will not improve I/O Disk performance which will be the bottleneck for old computers. Also the difference in performance between Xubuntu and Lubuntu is about 10% to 20% percent in memory usage. Again, CPU usage is the same. Now, when it comes to how responsive the Desktop is, LXDE (Lubuntu) has a much better response time than XFCE (Xubuntu). I would say about 50% or just simply noticeable to the eye. Lubuntu is similar to how Windows XP looks while Xubuntu is more like how Gnome 2 looked. The computers (The old ones mentioned here) and 2 more are still working in excellent conditions thanks to the Ubuntu family. I also want to add I am using 13.10 for both distros."
]
| medi_sts_stackexchange_dupe |
Is libc++'s implementation of `std::make_heap` nonconformant | How can std::make_heap be implemented while making at most 3N comparisons? | [
"C# and USB HID Devices",
"What does a \"< <(...)\" redirection mean? I've seen that rvm (ruby version manager) is installed using the following command: bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) So as I understand we get the script content and pass it to the bash (I believe < < and << is the same thing?) I am interested in the < < part, found following description on the net: << token Means use the current input stream as STDIN for the program until token is seen. This is somehow not clear for me, can someone make an example or explain it in more simple way?",
"Why do we use ./filename to execute a file in linux? Why not just enter it like other commands gcc, ls etc...",
"How do I stop sharing call history between two iPhones? My husband and I both just upgraded to iOS 8.3. Now I notice that if I have a missed call it shows up on his notice screen and all my calls show up in his recent call history (and vice versa). Both phones don't ring and they don't need to be near each other or connected by Wi-Fi. We do share an iTunes account. How do I stop sharing call history between the two phones?",
"Algorithm to see if two voxels are interconnected",
"Probability of first actor winning a \"first to roll seven with two dice\" contest?",
"Iridescence In Cycles? Is it possible to create an shader in Cycles? Specifically for something like , , , etc..",
"Children’s books, one in space setting, the other in a jungle When I was little I remember getting these two books from the library. Both books were paperback and flimsy. The pages were wide. Each book had full page illustrations with puzzles and mazes in them, but it was like you were immersed in this setting completely. They were also like choose-your-own adventure books, but only in the way that you go through the book in a different order based on your results in the puzzles/games. For example, there is a bridge to cross, or you can take this path. If you choose to cross the bridge you go to page x. On page x you have to pretend to cross the bridge but some planks are broken. You can't skip more than a certain number of planks, but you also cannot \"step\" on a broken plank. One book was in a jungle setting with rope bridges, alligators, quick sand, etc. The other was in space, with all kinds of aliens and weird stuff. I have faint memories of these books but I REALLY want to track them down because I remember loving them.",
"How I can create a graph of acceleration and speed - tikz? How can I create a graph of acceleration and speed like the one in the picture. Knowing that they are each other's consequence? \\documentclass{article} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} \\end{tikzpicture} \\end{document}",
"Here is what I do: restart machine with Windows 8.1 determine \"EFI System\" partition with the Disk Management utility run command prompt as administrator type diskpart type select disk 0 then select partition 2 then assign open windows explorer windows+e refresh if the drive is not showing F5 try to open drive by double clicking What I expected to happen: I can at least look at my EFI partition files. What happened: after clicking continue after clicking \"security tab\" link, no security tab What do I need to do to access my EFI partition on Windows 8.1?",
"Map display not filling window in QGIS on Mac?",
"How do I put a stencil-like texture across a sectioned object?",
"Relation Between Bayesian Estimation and Maximum a posteriori estimation Is maximum a posteriori estimation some kind of Bayesian Estimation? If yes, can you point out other Bayesian estimators? Edit: So I've come to know the following (don't know if they are correct): MAP finds the mode of the posterior, and Bayesian Estimator finds the distribution of that posterior with respect to the estimating parameters. And in order for Bayesian Estimator to find the optimal parameters, some particular risk function (like Mean Squared Error, 0/1 error etc.) must be defined. So it seems these two estimators have nothing in common except they both incorporate prior into their estimation. Or is it possible that MAP is some special case of Bayesian Estimator with some particular risk function.",
"Every finite group is isomorphic to some Galois group for some finite normal extension of some field.",
"How to change the desktop wallpaper to a photo of my own selection in Ubuntu 18.04? I'm not interested in downloading some wallpaper changer application, nor am I interested in coding something up. There has to be an easy way to select a photo as a custom wallpaper in Ubuntu 18.04.",
"For some reasons, homomorphism is a very hard area for me to make improvements. I've been hitting the brick wall for almost 2 hours. Prove that no homomorphism exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Assume a homomorphism $\\phi$ exists from $Z_{16}\\oplus Z_2$ onto $Z_4\\oplus Z_4$. Then $\\phi$ is an isomorphism. Note that the $\\left | \\ker \\phi \\right |=2$ The $\\ker \\phi$ is also a normal subgroup for $Z_{16}\\oplus Z_{2}$. We want possible normal subgroup of order 2. I.e., 2 elements in each normal subgroups. By Lagrange's theorem, the order of each element in a group divides the order of a group so the possible order of the elements are 1 or 2. If the elements has order 1, then the Ker \\phi cannot have 2 elements. Hence, $\\ker\\phi$ = $\\left \\{ (0,0),(8,0) \\right \\}$ ,$\\left \\{ (0,0),(0,8) \\right \\}$,$\\left \\{ (0,0),(8,1) \\right \\}$, possibly. By the First isomorphism theorem: $\\phi: Z_{16}\\oplus Z_2 \\rightarrow Z_2\\oplus Z_2$ $\\Psi: G/\\ker \\phi \\rightarrow \\phi\\left ( Z_16\\oplus Z_2 \\right )=Z_2\\oplus Z_2$ $g\\ker \\phi \\mapsto \\phi(g)=\\Psi(g\\ker \\phi)$ Any help is appreciated. Edit: I know that $(2,0)$ has order $8$ in $Z_{16}\\oplus Z_{2}$ but any elements in $Z_{4}\\oplus Z_{4}$ does not have order $8$ which would have solved the question at the outset. But I would like a different route.",
"Are the proofs for the properties of parallel lines, and that a triangle has 180 degrees, inherently tautological? I've noticed something while trying to prove the properties of parallel lines, and the properties that a triangle has 180 degrees. To prove the properties of parallel lines, such as alternate angles, you need to use the property that a triangle has 180 degrees. To prove a triangle has 180 degrees however, you need to use the properties of parallel lines. This really bothers me because of how circular it is. They are both reliant on each other to be true, and do not logically show, without being reliant on each other, why triangles have 180 degrees, and why parallel line properties are true. So what I hoping for here is a way to prove parallel line properties without using the fact that a triangle has 180 degrees, or a way to prove triangles have 180 degrees without using parallel line properties. This way, things will be logical to me, and make sense. Thanks in advance.",
"Difference between projection and datum?",
"If $\\sum_{n_0}^{\\infty} a_n$ diverges prove that $\\sum_{n_0}^{\\infty} \\frac{a_n}{a_1+a_2+...+a_n} = +\\infty $ I've tried to use the limit test: $\\lim_{n \\rightarrow \\infty} \\frac{a_n}{b_n} = C$ in the series of $a_n$ and $\\frac{a_n}{a_1+a_2+...+a_n}$ but it was inconclusive. The question does not especify the sign of $a_n$ but proving it for positives would already help. I think the sign can change as long as the partial sums never get to be zero. Like if the series has only negative numbers the result seems to stil hold.",
"Options for crowdsourcing GIS data? 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."
]
| medi_sts_stackexchange_dupe |
Maximizing likelihood function of continuous normal distribution | In MLE for continuous rv, why is it ok to evaluate a pdf at a point? | [
"Multiple Image in Canvas ItemsControl",
"How to derive variance-covariance matrix of coefficients in linear regression",
"I am looking for an adjective/noun for someone who is able to speak/ makes speeches very well and uses words effectively to influence/impress people.",
"How to modify a specified commit?",
"I believe I have solved a famous open problem. How do I convince people in the field that I am not a crank?",
"How can I find just the *.mp3 files with a recursive command like ls -R *.mp3 in a directory that contains several sub-directories and at the end copy these files in a directory that I choose. Thanks for your support.",
"I am kind of confused on the terminology of "space". From I am getting that In mathematics, a space is a set (sometimes called a universe) with some added structure. And from topological and metric spaces, I know that we a space is a a tuple of a set and a structure, e.g. $(X, \\tau)$, $(X, d)$, where $\\tau$ and $d$ are a topology and a metric respectively. On the other hand, in machine learning the term "features space" is used a lot for sets like $\\mathbb R^n$, e.g. and although it often refers to the set underlaying set itself, not the tuple of set plus the added structure. In fact, I have done the same in a previous publication (which the peer-reviewers accepted), but I would like to be both correct and precise in what I research, write, and submit. Is it just that machine learning researchers are imprecise in their terminology? Is it just an ? I think, what some people are doing, might be they consider a space to be a set, which is somewhat structured, instead considering the set with the structure (so, the tuple), to be the space. I am not sure how to think about this. How do I deal with this in my writing? Especially since, what happens a lot is that I need subsets and element out of the underlying sets of all kinds of spaces. Of course it would greatly help if there was a general name for a set that is the underlying set of a space, , but it seems that there is no dedicated name for such a set. Let's say there was a features space $(X, \\cdot)$, (where I am not even sure, what structure we would add). Then it would be great to have a name for the set, let's call it an asdf. So we could say the feature asdf. Afterthoughts: What makes it worse for me is that it seems ( and ) I am not even using the word "structure", right, since it is about operations, so we are talking about an "algebraic structure", while "geometric space" is... something else...? So apparently a "vector space" is actually not a "geometric space", but an "algebraic structure". I can understand that point, but the language gets even more confusing.",
"Chain-calling parent initialisers in python",
"How to set a shortcut for \"Always on Top\" for window? In 12.04 (Unity), I would like to assign a shortcut to the \"always on top option\" for a window. Probably something like Ctrl+Shift+Home to turn on and Ctrl+Shift+End to turn off, or whatever. Is there an option to do this somewhere in the Compiz Settings Manager? This (old) claimed that For compiz, Enable Extra WM Actions. Check the properties, and insert ALT+A to Key field for Toggle Always-On-Top action. But I couldn't find that.",
"Are there any disadvantages to unusual RAM amounts for virtual machines? This is going to seem like a silly question, but many many years ago I somehow got it into my head, perhaps from reading an article or speaking to people 'in the know' that a computer should not be run with 'odd' amounts of ram, such as 3, 5, 7 etc... Is there any truth in this whatsoever? I have a vmware environment with many servers in it. I want to go through and alter the amounts of ram to reduce the overall ram usage and in many cases I want to give a server 3gb of ram as opposed to 4 or 2.",
"How to Logout of an Application Where I Used OAuth2 To Login With Google?",
"I've been a Stack Exchange contributor for a couple of years now, currently most active on . One thing that keeps coming up is questions that would appeal to audiences on two different Stack Exchange sites but there are almost no features taking advantage of these questions. On travel.SE we have crossover questions most often with and possibly next most often with - but it can happen with almost any SE site. Today alone we had with and had . I am absolutely sure that this must happen all the time between arbitrary pairs of Stack Exchange sites but the only feature that takes advantage of it is the possibility of migrating off-topic questions which leaves the original question acting as a redirect across the two sites. I think there is a missed opportunity to build the network between sites where users of one site don't realize they could make valuable contributions to a sister site they have had so far little to do with. At the very least there could be a way to "advertise" a question on a second site that could be interested in it. Probably by listing it in the sidebar where there are also links to meta questions, linked questions, related questions, new blog posts, and But there could also be some kind of features that make some sort of acceptable crossposting. There could be gamification/badges added around building cross-site questions or whatever else you can think up. I think this is a great way for people to spread their expertise from their main site onto other sites, to make the network stronger and more cohesive, to bring more attention to questions that would have a divided audience between two sites. I can think only of positives and no negatives. Does anyone else have some ideas to add or think this is a bad idea for any reason? Example crossover questions: Here are some links to some crossover questions I've been finding in the Stack Exchange network here. (This was previously posted as an answer, but more people wanted it to be part of the question.) ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ : ▶ :",
"I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it. I want to call the help function on each one. In Ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in Python? eg. something like: from somemodule import foo print(foo.methods) # or whatever is the correct method to call",
"If $f(xy)=f(x)f(y)$ then show that $f(x) = x^t$ for some t",
"Goal: I have a function $f(x,y)=z$ (two variables for illustration only) which I know almost nothing about--it has a compact domain which I can determine, it is non-negative, and bounded above. My goal is to find the maximum value $f(x,y)$ takes on its domain. I can query the function and I know the values at a few points: $f(x_1, y_1)=z_1, f(x_2, y_2)=z_2,..., f(x_n, y_n)=z_n$. Optimization via Linear Regression: I have used linear regression (and related methods like the lasso) to model functions like this in the past; this is the method that I am very comfortable with. Typically, I might try to find a polynomial (of degree $k$) which relatively accurately models the data. The end result would be to say that: $$f(x,y)\\approx \\beta_1 + \\beta_2 x + \\beta_3 y + \\beta_4 x^2 + \\beta_5 xy + \\beta_6 y^2 + ... + \\beta_{m}y^{k}.$$ Determining the coefficients is done by solving the . The \"best degree\" for the polynomial might be determined using $k$-fold cross validation. Once the \"best\" polynomial has been determined, one can choose any of a number of methods to optimize it (Newton's method, gradient descent, hill climbing, etc). Then, if all goes well, the optimal value on the polynomial corresponds to an optimal value of $f(x,y)$. Bayesian Optimization: Recently, I was describing this technique (linear regression) to a colleague who asked: \"What is the difference between that and Bayesian Optimization?\" I've been attempting to answer this question for the last couple days, and so far I don't have anything really conclusive. After reading , trying to read and getting stuck reading I think I understand the following about BO: Start with a prior (a guess as to what family of functions the black box belongs to... or at least some family of functions which you believe might be able to describe $f$ well). It looks using a as a prior is popular. Specify whatever is needed to build your prior (for GP this is a covariance function). As you go along, you maintain two evolving functions, a \"mean\" function $m(x,y)$ and a \"confidence interval\" function $c(x,y)$. Basically, you can predict the value at any point by evaluating $m(x,y)$ and you are confident that $f(x,y)\\in [m(x,y)-c(x,y), m(x,y)+c(x,y)]$. Bayesian optimization provides a systematic way of updating/exploiting the model by alternatively selecting points where the confidence interval is wide (you are very uncertain about the value) or at optimal points on the model $m(x,y)$. My Question: Is it fair/correct to say that the major difference between Bayesian Optimization and simply optimizing the linear regression model is that Bayesian Optimization provides the systematic way of sampling with the goal of optimizing the model and reducing uncertainty whereas the linear regression model ignores the idea of uncertainty and doesn't explicitly provide a means of updating the model? Said another way, is the linear regression model an example of what might be a \"mean\" function $m(x,y)$ in Bayesian Optimization? If I stick with linear regression, specify how to compute the uncertainty, and provide a means of updating/improving the model (exploit/explore) am I just doing Bayesian Optimization (without calling it that)? Background: My background is in pure mathematics (graph theory) but my new job has me working with a lot of data (so I'm self learning statistics). With that in mind, my statistics vocabulary is somewhat limited (so I appreciate answers that either avoid technical terminology or briefly explain any technical terminology used)--for example, Monday was the first time I heard/read the word \"prior\" used in a stats sense and I'm still not 100% sure I understand that correctly.",
"Given an infinite number of monkeys and an infinite amount of time, would one of them write Hamlet? Of course, we've all heard the colloquialism \"If a bunch of monkeys pound on a typewriter, eventually one of them will write Hamlet.\" I have a (not very mathematically intelligent) friend who presented it as if it were a mathematical fact, which got me thinking... Is this really true? Of course, I've learned that dealing with infinity can be tricky, but my intuition says that time is countably infinite while the number of works the monkeys could produce is uncountably infinite. Therefore, it isn't necessarily given that the monkeys would write Hamlet. Could someone who's better at this kind of math than me tell me if this is correct? Or is there more to it than I'm thinking?",
"Why was a regular train used to transport students to Hogwarts?",
"I have an iPhone 6 128 GB which is not jailbroken. The current version of iOS on the phone is 8.1.3 and yesterday I wanted to update to iOS 8.2. The download went through without any problem but while installing, it gave the error: Unable to Install Update An error occurred installing iOS 8.2 Tried installing after switching Off and ON and also tried Hard Reset (Holding Home button and On/off switch). Same error displays every time. Also the Touch ID has stopped working and I find that the Settings - Touch ID & Passcode - iPhone Unlock is OFF. When I try to switch it ON, the system displays the error Failed Unable to complete Touch ID setup. Please go back and try again. Is anyone facing this problem? I live in India.",
"How do I identify SMD components? (or how do I identify any component) How do I identify the markings on an SMT component and match it up with a part number so I can be a good designer and actually look at a datasheet (and read the whole thing)? Or identify a part to replace an unknown part on a PCB?",
"I often find that I can zoom in to a point, but then cannot zoom any more, even when there is a lot of room to zoom to the meshes on the scene. This is particularly annoying in the following scenario: I often land up left clicking on the scene and the 3D cursor shifts there. I use Shift+C to shift the 3D cursor back to the origin. However, this also centers the view on the cursor and shifts the view to show all objects, and sometimes this zooms things way out – at this point, if I try to zoom in, I can zoom in to a point (using the pinch/zoom on trackpad), but then it stops zooming in. How do I zoom in after that? Is there anything else I am doing wrong in this case?"
]
| medi_sts_stackexchange_dupe |
what's the difference between the ls and `ls` in bash | What does $(command) & do? | [
"Why is `enjoy to [verb]` incorrect I can say: I love to read. I hate to read. But it must be: I enjoy to read. I enjoy reading. What is enjoy so different?",
"What do the supercharges in extended supersymmetry do? What do the supercharges in do? In ${\\cal N}=1$ supersymmetry there are a certain number of fermions and and equal number of bosons. You can transform all fermions to the bosons (and vice versa) in a 1 to 1 fashion using a single supercharge, $Q$. So what happens when you have, for example, ${\\cal N}=2$ supersymmetry with 8 supercharges? Since $Q$ is a generator of supersymmetry transformations, is it a linear combination of these supercharges that act on the particles? In which case could one particle be acted on by two separate linear combinations of $Q$? Or is it strictly one linear combination of $Q$ per fermion/boson? Also, what does ${\\cal N}$ mean physically? What difference does ${\\cal N}=2$ have to ${\\cal N}=1$ other than more supercharges? Or is that the only difference between the two theories?",
"Cancelling upvote on comment? As mentioned on : For something that can be done so easily by accident, there should be the ability to undo mistakes. I know that I have clicked several times on a comment up-vote without actually wanting to. I would suggest being able to cancel the up-vote (maybe only for a couple of minutes or even less than a minute, no problem, as long as I can undo a miss-click).",
"Order and degree of a differential equation Here is a question in my book Find the order and degree of the differential equation $$y=1+\\frac{dy}{dx}+\\frac{1}{2!}{\\left(\\frac{dy}{dx}\\right)}^2+\\frac{1}{3!}{\\left(\\frac{dy}{dx}\\right)}^3+\\cdots$$ At first sight we can conclude that the order is $1$ and the degree is undefined as as the power of $\\frac{dy}{dx}$ continues to increase and has no limit.However my book gives the following solution Rewrite the DE as $$y=\\exp\\left({\\frac{dy}{dx}}\\right)$$ $$\\implies \\frac{dy}{dx}=\\ln y$$ whose order and degree is 1 . Now ,I completely agree with this solution however I find it rather counterintuitive to my first line of thought .If the book is correct how can it be justified to prove my intuition was wrong?",
"Switching a DIV background image with jQuery",
"Unable to install rJava in R 3.0 in Ubuntu 13.04",
"I'm having trouble solving a Fitch Style Proof and I was hoping someone would be able to help me. Premises: p ∧ q Goal: q ∨ r Would be an assumption (p ∧ q => q ∨ r) in first step a correct one? Then, q ∨ r Implication Elimination: 2, 1 Why is it not correct? Thank you very much for any help!",
"Linux: clnt_create: RPC: Program not registered NFS mounts recently automatically got un-mounted. When I checked, the NFS service status it was shown to be running. [root@hsluasrepo]# service nfs status rpc.svcgssd is stopped rpc.mountd (pid 4083) is running... nfsd (pid 4148 4147 4146 4145 4144 4143 4142 4141) is running... rpc.rquotad (pid 4079) is running... [root@hsluasrepo]# service rpcbind status rpcbind (pid 4203) is running... [root@hsluasrepo common]# rpcinfo -p 10.80.3.154 program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper But showmount output was showing an error. [root@hsluasrepo ]# showmount -e 10.80.3.154 clnt_create: RPC: Program not registered After restarting the NFS service, showmount output displayed the NFS server's export list. Can anyone tell me the root cause of this issue and How to avoid this problem in future? /var/log/messages: Jul 7 03:22:01 hsluasrepo rsyslogd: [origin software=\"rsyslogd\" swVersion=\"5.8.10\" x-pid=\"1188\" x-info=\"rsyslog.com\"] rsyslogd was HUPed Jul 7 03:22:02 hsluasrepo rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with RHN. Please enter your Red Hat login to ensure your system is up-to-date. Jul 8 03:22:01 hsluasrepo rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with RHN. Please enter your Red Hat login to ensure your system is up-to-date. Jul 8 16:36:55 hsluasrepo kernel: nfsd: last server has exited, flushing export cache Jul 8 16:36:55 hsluasrepo rpc.mountd[4083]: Caught signal 15, un-registering and exiting. Jul 8 16:36:55 hsluasrepo rpc.mountd[24463]: Version 1.2.3 starting Jul 8 16:36:55 hsluasrepo kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jul 8 16:36:55 hsluasrepo kernel: NFSD: starting 90-second grace period Jul 8 16:37:32 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.208:1004 for /common/PROD (/common/PROD) Jul 8 16:38:09 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.181:869 for /common/PROD (/common/PROD) Jul 8 16:38:43 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.180:825 for /common/PROD (/common/PROD) Jul 8 16:39:12 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.176:688 for /common/PROD (/common/PROD)",
"Short story about a robot who wants to become a writer",
"Does a creature with Lifelink provide lifegain equal to its power, or the defender's toughness? I have recently began playing a deck that has a number of creatures with lifelink in it. I want to be certain I understand the mechanic and the following question occurred to me. Which damage total do you use to determine the life gain from lifelink? I had assumed that if a 3/3 creature with lifelink was blocked by a 2/2 creature that the life gain total would be 2, the maximum that the blocker can absorb before dying. This seems to be incorrect, as when I read the example attached to CR 119.4c [...] attacks with a 3/3 creature with wither and lifelink. It’s blocked by a 2/2 creature, [...]. The damage event starts out as [3 damage is dealt to the 2/2 creature, 2 damage is dealt to the 3/3 creature] Have I been short changing myself?",
"I'm trying to split text in a JTextArea using a regex to split the String by \\n However, this does not work and I also tried by \\r\\n|\\r|n and many other combination of regexes. Code: public void insertUpdate(DocumentEvent e) { String split[], docStr = null; Document textAreaDoc = (Document)e.getDocument(); try { docStr = textAreaDoc.getText(textAreaDoc.getStartPosition().getOffset(), textAreaDoc.getEndPosition().getOffset()); } catch (BadLocationException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } split = docStr.split(\"\\\\n\"); }",
"What are the differences between 32-bit and 64-bit, and which should I choose?",
"It looks like this issue has , but it just happened again on Travel.SE. Perhaps this is another corner case? These two questions are closed as duplicates of each other. I had the last vote on each, although in both cases, my vote was for \"Unclear what you're asking\", but the weight of votes in both cases were for the duplicate status. So if the existing checks are only in place at the time someone casts a close vote, that would explain how this one got in under the radar. Perhaps another check needs to be done when the question is actually closed, not just when close votes are cast? And as @gnat points out, low-rep/logged-out users get a Redirect loop when trying to load either question. NOTE: A moderator has already fixed this particular circular duplicate situation by closing one of the questions with a different close reason.",
"Can I stay overnight [15-hour layover] in Haneda airport without a Japan visa? I’m a Filipino citizen. My flight goes from Vancouver to Manila via Tokyo Haneda. I will arrive in Japan at 6pm then depart at 9am the next day. I'm not planning to go out of the airport during my layover, so I don't see a need to have a transit visa. However, I called the Consulate-General of Japan here in Canada, and they asked me to get a transit visa. Then I called the Ministry of Foreign Affairs in Japan and asked them the same question.. at first, they told me I don’t need a visa as long as I stay inside the airport, but when I told them that the Consulate-General of Japan in Canada asked me to get a visa, they also asked me to get one. I'm so confused. I would like to know your knowledge or experience regarding this.",
"Vertex groups can not be named in blender 2.70 For some reason the name text field doesn't appear for vertex groups in blender 2.70. I tried in 2.69 and it's there and works fine. Was this feature removed in 2.70 or am I missing something?",
"In Hitchcock's Vertigo, there is one part of the film that has never made sense to me and I believe that it was a cheap ploy to mislead the audience until the ultimate reveal (I won't spoil it here). In this scene Jimmy Stewart watches Kim Novak enter a rooming house and afterwards sees her standing by the window on the 2nd floor. When he enters the house and talks to the inn-keeper, she tells him that Kim Novaks's character positively never came in and even shows him her room key that is still behind the front desk. They go up to the room and find it empty. This scene seems to imply that the Kim Novak character may have had a ghost like quality. But given the reveal at the end she clearly does not and there was no way for her to enter the room without a key and without being seen by the inn-keeper. If this was done by some other director I probably wouldn't have given this much thought but Hitchcock was a perfectionist (especially for this film) so I never understood the significance of this scene other than to mislead the audience (with a cheap ploy IMO). Does anyone who is familiar with this film have a different explanation/perspective about this scene in an otherwise brilliant movie.",
"Would the latter be an issue with the funding body, when the project proposal and budget only covers the expenses for hiring one postdoc? Note: it is the supervisors who got the grants, not the postdocs themselves.",
"At some point in time (about a week ago) something happened to my Motorola Moto Z2 Play / Android 8.0 that caused my base apps to not have access to my media files (i.e. audio, photos etc.). Examples: all my custom ringtones (i.e. based on my own media files) were reset to default sound: Contact apps reset custom ringtones for contacts to default one, Alarms & Clock app reset custom alarm tone to default one, SMS (Messages) app reset custom message notification tone to default one, system-wide default notification tone (set by me to custom) was reset as well, system-wide default ringtone (set by me to custom one) was reset, because my contacts app keeps saying: "No pictures are available on the device". While first situation is resolved. I see my custom ringtone files in the list and I can go through my contacts and assign them again. But second situation is not resolved. I see this error all the time and I cannot change any contact's photo. This is verified as not a bug (tested three different contacts-like applications and all of them shows exactly the same message, when trying to change contact's photo). But still, it seems that problem is limited to contacts-related apps only. Other apps still has read and write access to my custom files. For example: : (read) I can pick any photo or other custom file and attach it to an e-mail, send it as MMS or share it in any other way or (read) upload it to OneDrive or Google Drive etc. or (write) my Camera app is still able to make new photos and store them in "DCIM" or (write) my sound recorder is able to record sound and write audio files. The only thing that has changed on my phone recently and that I suspect as the cause of above metioned situation was Android 7.1.2 --> Android 8.0.0 update. Is there anything I can do (since replacing contacts app didn't resolve the situation) or check in this case? Or resetting the phone to factory defaults is the only option that I am left with? EDIT: I have cleared cache and data of media app, as suggested in comment. It didn't help.",
"In chapter 2 section 7 (pg 151) of Hartshorne's algebraic geometry there is an example given that talks about automorphisms of $\\mathbb{P}_k^n$. In that example Hartshorne states that $\\mathcal{O}(-1)$ has no global sections. However, we know that $\\mathcal{O}(1)$ is generated by global sections. This is stated at the first of the section that if $\\mathbb{P}_k^n = Proj k[x_0,...,x_n]$ then the $x_0,...,x_n$ give rise to global sections $x_0,...,x_n\\in\\Gamma(\\mathbb{P}_k^n,\\mathcal{O}(1))$. I guess I don't understand this twisted structure sheaf very well, or to be honest I don't think I understand structure sheaves in general as well as I would like. The twisting part seems simple at first- you shift the grading of Proj over and then take the structure sheaf. Admittedly I don't feel comfortable using the structure sheaf other than using the basic facts about it that Hartshorne gives when it is introduced. If anyone could give some insight as to what's going on here or how I might be able to understand this better it would be much appreciated. Thanks.",
"How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure? I performed with R an ANOVA and I got significant differences. However when checking which pairs were significantly different using the Tukey's procedure I did not get any of them. How can this be possible? Here is the code: fit5_snow<- lm(Response ~ Stimulus, data=audio_snow) anova(fit5_snow) > anova(fit5_snow) Analysis of Variance Table Response: Response Df Sum Sq Mean Sq F value Pr(>F) Stimulus 5 73.79 14.7578 2.6308 0.02929 * Residuals 84 471.20 5.6095 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 df<-df.residual(fit5_snow) MSerror<-deviance(fit5_snow)/df comparison <- HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE) > comparison <- HSD.test(audio_snow$Response, audio_snow$Stimulus, df, MSerror, group=FALSE) Study: HSD Test for audio_snow$Response Mean Square Error: 5.609524 audio_snow$Stimulus, means audio_snow.Response std.err replication snow_dry_leaves 4.933333 0.6208034 15 snow_gravel 6.866667 0.5679258 15 snow_metal 6.333333 0.5662463 15 snow_sand 6.733333 0.5114561 15 snow_snow 7.333333 0.5989409 15 snow_wood 5.066667 0.7713110 15 alpha: 0.05 ; Df Error: 84 Critical Value of Studentized Range: 4.124617 Comparison between treatments means Difference pvalue sig LCL UCL snow_gravel - snow_dry_leaves 1.9333333 0.232848 -0.5889913 4.455658 snow_metal - snow_dry_leaves 1.4000000 0.588616 -1.1223246 3.922325 snow_sand - snow_dry_leaves 1.8000000 0.307012 -0.7223246 4.322325 snow_snow - snow_dry_leaves 2.4000000 0.071587 . -0.1223246 4.922325 snow_wood - snow_dry_leaves 0.1333333 0.999987 -2.3889913 2.655658 snow_gravel - snow_metal 0.5333333 0.989528 -1.9889913 3.055658 snow_gravel - snow_sand 0.1333333 0.999987 -2.3889913 2.655658 snow_snow - snow_gravel 0.4666667 0.994348 -2.0556579 2.988991 snow_gravel - snow_wood 1.8000000 0.307012 -0.7223246 4.322325 snow_sand - snow_metal 0.4000000 0.997266 -2.1223246 2.922325 snow_snow - snow_metal 1.0000000 0.855987 -1.5223246 3.522325 snow_metal - snow_wood 1.2666667 0.687424 -1.2556579 3.788991 snow_snow - snow_sand 0.6000000 0.982179 -1.9223246 3.122325 snow_sand - snow_wood 1.6666667 0.393171 -0.8556579 4.188991 snow_snow - snow_wood 2.2666667 0.103505 -0.2556579 4.788991"
]
| medi_sts_stackexchange_dupe |
Disable Drag-&-Drop in Windows Explorer (left column only) | Disable COPY drag and drop in Windows Explorer in Windows 7 | [
"Drawing wavy, wiggly lines in QGIS? Is there a QGIS function or plugin to draw wiggly line? I have used Spline Tool to manually draw some waves, but it is time consuming. If possible, I would like to draw something like: Inkscape Function Plotter ( sin(x) curve).",
"I've been wondering why I've never seen any official specifications of the maximum allowed torque that can be exerted upon lens mounts. It seems to me like a very useful specification, but I can't seem to find it from any manufacturer. indicates that there might be no specifications for Nikon mounts. Are there really no manufacturer that publish these specification of their mounts?",
"I use ps -ef | grep catalina | grep -v grep to print the tomcat process running on the system: kshitiz 7099 1 0 May11 ? 00:02:29 /usr/lib/jvm/jdk1.8.0/bin/java -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:38156 -Dcatalina.base=/home/kshitiz/Documents/workspaces/ggts/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 -Dcatalina.home=/opt/tomcat-7.0.42 -Dwtp.deploy=/home/kshitiz/Documents/workspaces/ggts/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps -Djava.endorsed.dirs=/opt/tomcat-7.0.42/endorsed -Dfile.encoding=UTF-8 -classpath /opt/tomcat-7.0.42/bin/bootstrap.jar:/opt/tomcat-7.0.42/bin/tomcat-juli.jar:/usr/lib/jvm/jdk1.8.0/lib/tools.jar org.apache.catalina.startup.Bootstrap start Then I use ps -ef | grep catalina | grep -v grep | awk -F' ' '{print $2}' to extract the process id: 7099 But when I alias the whole command alias tomcat_id=\"ps -ef | grep catalina | grep -v grep | awk -F' ' '{print $2}'\" and use it via alias, it prints the whole text and awk doesn't seem to work. type tomcat_id gives: tomcat_id is aliased to `ps -ef | grep catalina | grep -v grep | awk -F' ' '{print }''",
"One thing that made me curious while watching a football game on TV was the numbers that appear on the ground. For instance, there's a \"1st & 10\" beside one team, but there was a \"3rd & 6\" a few minutes prior (and I think it was beside the other team). What do these numbers mean?",
"I know that it does consider ' ' as NULL, but that doesn't do much to tell me why this is the case. As I understand the SQL specifications, ' ' is not the same as NULL -- one is a valid datum, and the other is indicating the absence of that same information. Feel free to speculate, but please indicate if that's the case. If there's anyone from Oracle who can comment on it, that'd be fantastic!",
"Electromagnetic waves in vacuum If there is no source then also there is electromagnetic waves described by Maxwell equation. how if there is no source then existence of EM waves. What gives energy to this EM waves. Is it vacuum fluctuation or something else?",
"Django: AppRegistryNotReady()",
"Why does a helium filled balloon move forward in a car when the car is accelerating?",
"Is there a terminal command that will log you out of your current desktop session and take you back to the login screen?",
"New tags page mangles tag wiki excerpts",
"Falsely accused witch befriends transforming dragon she was to be sacrificed to Story is in a medievalish setting and starts with a woman who has been falsely accused of being a witch being taken by 2 men to be sacrificed to a dragon. She ends up befriending the (male) dragon, who is able to transform into various forms, including human, and can speak only the language of whatever form he is in. e.g. can speak English in human form, but can't in dragon form. He needs to return to his dragon form every day at sunrise or he dies. Contact with iron or steel causes him pain and prevents him from transforming. Near the end of the book, he's been put in handcuffs by one of the two men from the start and the woman has to get the assistance of the other one (village blacksmith?) to remove them before sunrise, which they manage to do just in time. I think I read it maybe 10 years ago. I also remember it was a very short book, probably only about 100 pages.",
"How to correctly setup Ubuntu 18.04 LTS installed from mini.iso to use NetworkManager?",
"Can you add new statements to Python's syntax? Can you add new statements (like print, raise, with) to Python's syntax? Say, to allow.. mystatement \"Something\" Or, new_if True: print \"example\" Not so much if you should, but rather if it's possible (short of modifying the python interpreters code)",
"Transformations from n-sphere coordinates to cartesian coordinates. I was wondering how one would proceed to convert between coordinate systems in $ \\mathbb R^n $. For $ \\mathbb R^2 $ the conversion is easy and just basic trigonometry. Given $(r, \\theta)$ we can convert these polar coordinates to cartesian coordinates to $(x=r\\cos\\theta, y=r\\sin\\theta)$ The same follows for $ \\mathbb R^3 $. Given $(r,\\theta_1,\\theta_2)$ in spherical coordinates we can convert the spherical coordinates to cartesian coordinates with the following transformation $(x=r\\cos\\theta_2\\cos\\theta_1,y=r\\cos\\theta_2\\sin\\theta_1, z=r\\sin\\theta_2)$, just so my point of reference is clear:$\\theta_1$is the angle lying in the x-y plane, and $\\theta_2$ is the angle the vector makes with the x-y plane. So what about for four dimensions and up? For the sake of simplicity we can define the n-sphere vector as $(r,\\theta_1,\\theta_2,...,\\theta_n)$ and the cartesian vectors $(x_1,x_2,...,x_n)$ and maintain the same reference of $\\theta_1,\\theta_2$ as before. How do we define a transformation in $ \\mathbb R^4 $? A look into this wikipedia page under the gave me something that I don't believe is quite right. As according to the section $(x_1=r\\cos\\theta_1,x_2=r\\sin\\theta_1 \\cos\\theta_2,x_3=\\sin\\theta_1 \\sin\\theta_2\\cos\\theta_3,...)$ which is already in contradiction to my statement about $ \\mathbb R^3$ transformations. What is the general transformation rule? Am I missing something that I should know from linear algebra that I might be forgetting because my linear algebra is rusty? If so, please let me know what I should review or point me in the right direction.",
"Forgot which email I used, can't login I forgot what email I used for my other ploxtic id: how do you find out what my email was? The account is user:2078229.",
"\"An operator is hermitian\". Implications? Alastair Rae states that there are 4 postulates of Quantum Mechanics in his text on the subject matter. The first part of his second postulate can be stated as: Every dynamical variable may be represented by a Hermitian operator whose eigenvalues represent the result of carrying out a measurement of the value of the dynamical variable... My question is: just how much can we deduce from saying that the some of the operators involved in Quantum Mechanics are Hermitian? When I use the word Hermitian, I am referring to the property that $A=A^+$ where $A$ is an operator and $A^+$ is the adjoint of $A$. Does an operator being Hermitian automatically imply that there will exist eigenfunctions and eigenvalues corresponding to this operator? Does being Hermitian imply that, should there exist eigenfunctions corresponding to this operator, they will form a complete and orthonormal set? That any wavefunction can be expanded in terms of these eigenfunction? Just how much is hidden in the word \"Hermitian\"?",
"Can a single player build a clan dojo? Is it possible for an one-or-two-person clan to build a dojo? If so, what are the resources involved? I'd like to experience the whole Dojo building experience so I don't plan to join an existing Clan with a dojo already.",
"In the review page, it shows stats of recent reviewers. But it is showing wrong stats. Because today (on Monday) it shows week count 53 (on Meta Stack Overflow) which is impossible as there is a limit of 20 reviews per day. PS: This bug and . But the bug has occurred again.",
"Does \"FN\" stand for or mean anything?",
"Add 1Password extensions support to the SE iOS app Please implement the URL scheme to call 1Password for password lookups on the iOS app. a URL scheme for switching to 1Password to search item titles for a custom term, usually a service name like “twitter” or “evernote”. This speeds up the process for the user so they can copy something like their password and get back to your app That will ease sign up speed using long, complicated or unmemorable passwords for many users of both apps. In the two years since the above blog was published there are now updated instructions for implementation and code on github:"
]
| medi_sts_stackexchange_dupe |
Call a function from a stored string in Python | Calling a function of a module by using its name (a string) | [
"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.",
"Files list file for package missing -- dpkg warning I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is: Selecting previously unselected package oracle-java8-installer. dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed E: Sub-process /usr/bin/dpkg returned an error code (2) I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue?",
"How can I prove $\\sqrt{2} ^{\\sqrt{2}}$ is irrational?",
"Any class of a nonempty $X$ generates a base for a topology on $X$. Theorem Any class $\\mathcal{A}$ of subsets of a nonempty set $X$ is the subbase for a unique topology $\\tau$ on $X$. That is to say, the finite intersections of members of $\\mathcal{A}$ form a base for the topology $\\tau$ on $X$. Example Consider $X=\\{a,b,c,d\\}$ Let $\\mathcal{A}=\\{\\{a,b\\},\\{b,c\\},\\{d\\}\\}$ The finite intersection of members of $\\mathcal{A}$ give us: $$\\mathcal{B}=\\{\\{a,b\\},\\{b,c\\},\\{d\\},\\{b\\},\\varnothing,X\\}$$ How is it true that $X \\in \\mathcal{B}$ ? By definition of subbase, the finite intersection of members of $\\mathcal{A}$ are the members of some base $\\mathcal{B}$. But for $a_i \\in \\mathcal{A}, \\displaystyle\\bigcap a_i \\neq X$ for any finite intersection of $a_i$'s. Look: $\\{a,b\\}\\cap\\{b,c\\}\\cap \\{d\\} \\neq \\{a,b,c,d\\}$ nor do any other intersection of elements of $\\mathcal{B}$ result in $X$. Anybody know what's going on here? Why is $X \\in \\mathcal{B}$?",
"There is no or there was no I read a sentence in an exam: There is no child who did not bring his parents to the picnic. I think that the sentence does not have tense-agreement. Why is is used instead of was? Please explain it to me.",
"How do I reset an old iPod? My daughter gave her little brother her iPod Touch 8g. I have been trying to update the software and would like to get it rest to a factory clean state so I can linked it to the iTunes that already syncs to his iPad. How can I do a clean up and wipe of everything from an iPod?",
"Sci Fi action movie where an elite group of people control business through a game they play online I saw a movie where people are running from a group of powerful killers or a naughty company/organization. A woman was hired to find the entity/company. A very overweight Asian man talks to them on line at one point. (When I say overweight, I mean 400 pounds plus) He talks to a virtual dolphin and tells it he is sorry but he cannot play with the dolphin that day. Eventually, the people find the fat guy in real life. He is sitting on a Chinese style boat in a river (I think it was a river). (He is sitting in the rear of the boat. The boat is rather small. He is wearing a loin wrap like a sumo wrestler. In fact, I should most likely call him a sumo wrestler to describe the look.) He had implants and wires coming out of his head like the Borg Queen did. There is another part in the movie, where he replies to someones concern, saying, \"I live a life of wonder...\" (or something similar). By the time the movie is over, the evil force has caused his death. A team of Yakuza style (might actually be the Yakuza) commandos tear through everything trying to stop the truth from being discovered. The huge Asian man ends up leaving little messages, like parts of himself, to guide the woman to the truth. The ending reveals the naughty company/organization is a group of elite power brokers that control business by playing a game. Corporations lose or gain ground over nothing more than the turn of a game. (Including totally going out of business or making a fortune from nothing.) Do you have any idea what movie this was?",
"Find an element by id and replace its contents with php",
"URLs: Should I use hyphens, underscores or plus symbols? Which is better for search engines? example.com/my_cool_page.html example.com/my-cool-page.html example.com/my+cool+page.html",
"Showing $\\int_x^{x+1}f(t)\\,dt \\xrightarrow{x\\to\\infty}0$ for $f\\in L^2 (\\mathbb{R})$ Show that if $f\\in L^2 (\\mathbb{R})$ then $$\\lim_{x \\rightarrow \\infty} g(x)=0,$$ where $$g(x)=\\int_x^{x+1}f(t)\\,dt$$ Since $f \\in L^2 (\\mathbb{R})$ then $f \\in L^2[x,x+1]$ for every $x$. Then $$|g(x)| \\leq \\left(\\int_x^{x+1} f(t)^2 dt\\right)^{\\frac{1}{2}} \\int_x^{x+1} 1 dt$$ $$|g(x)|\\leq \\left(\\int_x^{x+1} f(t)^2 dt\\right)^{\\frac{1}{2}}$$",
"Generalized Second Borel-Cantelli lemma",
"Do questions about specific StackOverflow implementation details belong on SO or Meta? has several discussion comments going back and forth about whether the question belongs on SO or Meta. The question is asking about how a specific feature of the site is implemented from a coding perspective (so that the OP might duplicate it in their own implementation), which can make it a legitimate programming question. According to the Meta FAQ: \"If your \"question is about ... Stack Overflow / The core Stack Exchange engine\", it should be asked here. Here are some similar example questions on Meta: Where do these questions belong?",
"I can only move the origin point of the mesh that I selected in object mode, but not the whole mesh Did I set anything up by accident?",
"Why \"would\" instead of \"will\" in this sentence? The goal for these negotiations is to reach a mutually-agreed long-term comprehensive solution that would ensure Iranˈs nuclear program will be exclusively peaceful. what does would imply here? If it implies future, why will has not been used? A good link teaching would thoroughly would be really appreciated. Specially, distinguishing between the senses of would is not always easy.",
"What does the human body use oxygen for besides the final electron acceptor in the electron transport chain? My biology teachers never explained why animals need to breathe oxygen, just that we organisms die if we don't get oxygen for too long. Maybe one of them happened to mention that its used to make ATP. Now in my AP Biology class we finally learned the specifics of how oxygen is used in the due to its high electronegativity. But I assume this probably isn't the only reason we need oxygen. What other purposes does the oxygen we take in through respiration serve? Does oxygen deprivation result in death just due to the halting of ATP production, or is there some other reason as well? What percentage of the oxygen we take in through respiration is expelled later through the breath as carbon dioxide?",
"What is the definition and purpose of a pre-amplifier? I find in many places mentions of pre-amplifiers being used to boost audio signals prior to feeding to a power amplifier. Wikipedia's article on gives some hints at their usage, but it doesn't really explain why it would be necessary to have two amplifiers in series rather than a single one with greater gain. If a pre-amp is just a power amp with a smaller gain, what's the point, and why the distinction between the two kinds? Is the distinction in function, or simply purpose?",
"What does 'close invalidated' mean Recently I flagged as a duplicate. A few days later, when I checked it again to see if it was closed, I realized it wasn't. Searching in Meta brought me to , where a comment suggested checking the timeline. So I checked the and saw that the close flag was set as invalidated. Does this mean that it was disputed? When I click on it I see only \"This item is no longer reviewable.\" Do I need more reputation (3000+ ?) to view more detailed information?",
"What test can I use to compare slopes from two or more regression models?",
"$$f(x,y) = \\left\\{\\begin{array}{cc} \\frac{xy}{x^2+y^2} & (x,y)\\neq(0,0) \\\\ f(x,y) = 0 & (x,y)=(0,0) \\end{array}\\right.$$ In order to verify if this function is differentiable, I tried to prove it by the theorem that says that if $\\frac{∂f}{∂x}$ and $\\frac{∂f}{∂y}$ exist and are continuous at the point $(x_0,y_0)$, then the function is differentiable at this point. So I did: $$\\frac{\\partial f}{\\partial x}(0,0) = \\lim_{h\\to 0}\\frac{f(0+h,0)-f(0,0)}{h} = 0$$ $$\\frac{\\partial f}{\\partial y}(0,0) = \\lim_{h\\to 0}\\frac{f(0,0+h)-f(0,0)}{h} = 0$$ so we have that the partial derivatives at point $(0,0)$ is $0$. Now, if we take the derivative at $(x,y)\\neq (0,0)$ and then take the limit of it as $(x,y)\\to(0,0)$, we can see if the derivatives are continuous or not. So here it is: $$\\frac{\\partial f}{\\partial x}(x,y) = \\frac{y(y^2-x^2)}{(x^2+y^2)}$$ but $$\\lim_{(x,y)\\to(0,0)} \\frac{y(y^2-x^2)}{(x^2+y^2)} $$ does not exist (by wolfram alpha... but can anybody tell me an easy way to prove this limit does not exist? easier than taking the limit in different directions?), therefore the derivative is not continuous at $(0,0)$, so we can't say $f$ is differentiable at $(0,0)$, but for $(x,y)\\neq (0,0)$ the function is continuous, as it is a quotient of continuous functions. So $f$ is at least differentiable at $(x,y)\\neq (0,0)$. Now, to verify differentiability at $(0,0)$ I think we must use the limit definition of differentiablity: A function is differentiable at $(0,0)$ iff: $$\\lim_{(h,k)\\to (0,0)} \\frac{f(0+h,0+k)-f(0,0)-\\frac{\\partial f}{\\partial x}(0,0)-\\frac{\\partial f}{\\partial y}(0,0)}{\\|(h,k)\\|} = 0$$ Let's calculate this limit: $$\\lim_{(h,k)\\to (0,0)} \\frac{f(0+h,0+k)-f(0,0)-\\frac{\\partial f}{\\partial x}(0,0)-\\frac{\\partial f}{\\partial y}(0,0)}{\\|(h,k)\\|} = \\\\ \\lim_{(h,k)\\to (0,0)} \\frac{\\frac{hk}{h^2+k^2}}{\\sqrt{h^2+k^2}} = \\\\ \\lim_{(h,k)\\to (0,0)} \\frac{hk}{(h^2+k^2)\\sqrt{h^2+k^2}}$$ which I think, it's a limit that does not exist, therefore the function isn't differentiable at $(0,0)$",
"How can I delete Facebook messages I've sent to other Facebook users from their inbox? I have had a conversation with my friend but now I want to delete my messages from that conversation. Can I have them deleted from my friend's inbox?"
]
| medi_sts_stackexchange_dupe |
search function in mongoDB with case-insensitive query | case insensitive find in mongodb for usernames in php | [
"In Java, how do I call a base class's method from the overriding method in a derived class? I have two Java classes: B, which extends another class A, as follows : class A { public void myMethod() { /* ... */ } } class B extends A { public void myMethod() { /* Another code */ } } I would like to call the A.myMethod() from B.myMethod(). I am coming from the , and I don't know how to do this basic thing in Java.",
"Datasets constructed for a purpose similar to that of Anscombe's quartet I've just come across (four datasets that have almost indistinguishable descriptive statistics but look very different when plotted) and I am curious if there are other more or less well-known datasets that have been created to demonstrate the importance of certain aspects of statistical analyses.",
"Do natural weapons count for two weapon fighting? Do natural weapons such as those granted by being a Tabaxi or an Aarakocra count for the purposes of two weapon fighting? Would they have the light property to allow it and if not what about if you take the dual wielder feat that removes the restriction on them being light? From a logical perspective I would think claws or talons would be light enough to count and with them being \"natural weapons\" this means they are definitely weapons so it would make sense for them to be considered light and one handed.",
"I know that it can be done with graphics packages like TikZ, but it seems to be a bit of an overkill. And for those not already familiar with the TikZ system, learning it can be a bit of a barrier. So my question is Assuming the advanced graphics capabilities are not necessary, and I just need a bare-bones flow chart (which should be implementable just using the picture environment), is there a LaTeX package for simply making a flow chart?",
"How to find string position within another string in C recursively?",
"Printing a .NET DataGridView I am fairly new to .NET and C#, but I have a DataGridView that I would like to print. What would be the best way to go about doing so?",
"Maximum and Minimum values for ints",
"How To Get Notified When Hard Drives Fail In Dell PowerEdge Servers I have a Dell PowerEdge R415 and R515 and wondering how I can be alerted remotely when a hard drive fails in either server? Both are running RAID, so I need to be notified, so I can swap out the drive. Both servers only have the basic Baseboard Management Controller. Is this possible with a third party tool/software?",
"Blackboard bold variants for Greek letters It is common (or it used to be) to use a blackboard-bold variant of \\mu to denote roots of unity in some mathematical papers. However, despite searching (several times, periodically over several years) I have never been able to locate any package or technique that makes this possible, other than using Metafont or possibly hunting through the font definitions to see if it is something I can create a variant of (along the lines of the suggestions in Section 8 of the Comprehensive LaTeX symbol list). Thus far, I haven't been sufficiently motivated to learn how to do any of this (although it probably would have resulted in a net time savings), and I feel like I cannot be the only person who would have tried. Is anyone aware of an existing way to produce this character?",
"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.",
"removeClass and fade animation",
"Possible Duplicate: In the itemize environment, how do I use the ampersand symbol & without LaTeX trying to use it as a command?",
"Under which assumptions a regression can be interpreted causally? First, don't panic. Yes, there are many similar question on this site. But I believe none gives a conclusive answer to the question below. Please bear with me. Consider a data generation process $\\text{D}_X(x_1, ... , x_n|\\theta)$, where $\\text{D}_X(\\cdot)$ is a joint density function, with $n$ variables and parameter set $\\theta$. It is well known that a regression of the form $x_n = f(x_1, ... , x_{n-1}|\\theta)$ is estimating a conditional mean of the joint distribution, namely, $\\text{E}(x_n|x_1,...,x_{n-1})$. In the specific case of a linear regression, we have something like $$ x_n = \\theta_0 + \\theta_1 x_1 + ... + \\theta_{n-1}x_{n-1} + \\epsilon $$ The question is: under which assumptions of the DGP $\\text{D}_X(\\cdot)$ can we infer the regression (linear or not) represents a causal relationship? It is well known that experimental data does allow for such interpretation. For what I can read elsewhere, it seems the condition required on the DGP is exogeneity: $$ \\text{E}(x_1, ... x_{n-1}|\\epsilon) = 0$$ The nature of randomisation involved in experimental data ensures the above is the case. The story goes then to argue why observational data normally fails in achieving such condition, reasons including omitted variable bias, reverse causality, self-selection, measurement errors, and so on. I am however uncertain about this condition. It seems too weak to encompass all potential arguments against regression implying causality. Hence my question above. UPDATE: I am not assuming any causal structure within my DGP. I am assuming that the DGP is complete, in the sense that there must be some causality (an ontological position it could well be debated), and all relevant variables are included. The key is to identify the set of assumptions which ensure me causality goes from certain variables to the other, without assuming from the outset such direction of causality. Many similar posts on the site spend time mentioning why correlation does not imply causation, without providing hard arguments about when it does. That is the case, for instance, of very popular post. Additionally, in the on the site about the topic, the accepted answer gives the very vague answer: Expose all hidden variables and you have causation. I do not know how to translate that to my question above. Neither is the second most upvoted answer. And so on. That is why I believe this post does not have an answer elsewhere.",
"Consider the partial sum of the divergent Harmonic series $H_n = \\sum\\limits_{k = 1}^{n}\\frac{1}{k}$. I recently saw a question which required finding out the asymptotic bounds of $H_n$. Now, I could not find any bound closer than $O(n)$. So I looked up the series and found Wikipedia article which says that $H_n - \\ln n$ approaches a constant (the ). This clearly shows that $H_n = \\Theta(\\log n)$. However, considering the question was in an beginners undergraduate algorithms course in CS, I was wondering if there is a simpler proof of this? Is there some clever proof requiring elementary mathematics to show $H_n = \\Theta(\\log n)$? PS: This is not homework in the sense that it is not my homework, and the actual question does not ask for a proof, but rather asks a lot of functions to be arranged asymptotically.",
"Is there a fairly simple way to divide a circle into equal parts using Adobe Illustrator CC?",
"MAC addresses in JavaScript I know that we can get the MAC address of a user via IE (ActiveX objects). Is there a way to obtain a user's MAC address using JavaScript?",
"Why does a free-falling body experience no force despite accelerating?",
"Anonymous questions and Avatars Some Stack Exchange sites allow to ask an anonymous question by specifying a one-time user name and an email which is \"required, but never shown\". However the Gravatar attached to the email is shown anyway. Anonymous users do not want their picture to appear - someone can find their identity via google image search or someone that knows them. Example: open incognito window and :",
"How do you clear a stringstream variable? I've tried several things already, std::stringstream m; m.empty(); m.clear(); both of which don't work.",
"VBox on 14.04, Kernel driver not installed (rc=-1908) On Installing Virtual box on Ubuntu 14.04, I got following message: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a >permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root. If it is available in your distribution, you should install the DKMS package >first. This package keeps track of Linux kernel changes and recompiles the vboxdrv >kernel module if necessary. Then on following the I entered these commands: sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove --purge virtualbox-dkms sudo apt-get install virtualbox-dkms On Running the last command sudo apt-get install virtualbox-dkms I get an error: Reading package lists... Done Building dependency tree Reading state information... Done 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: virtualbox-dkms : Depends: virtualbox (>= 4.3.10-dfsg-1) E: Unable to correct problems, you have held broken packages. Just for reference, I checked the version of the Virtual Box, I got 4.3.16 r95972 It worked using the solution sudo apt-get install build-essential module-assistant sudo m-a prepare Second as mentioned in the error reinstall kernal module. sudo /etc/init.d/vboxdrv setup More Details are from"
]
| medi_sts_stackexchange_dupe |
Where is system default environment variable set in MAC OS? | How to set system-wide environment variables on OS X Mavericks | [
"Cannot select text in Safari address bar",
"How do I batch convert many Word documents and have them saved as [originalfilename].pdf?",
"Cross referencing between chapters of a thesis Hi I am new to the forum and fairly new to Tex, if I miss anything out please let me know and I will be glad to post it. I am writing up my PhD thesis using Texmaker on a windows system. I have my document organised with a main file and a sub-directory containing chapter 1 to 5. I want to be able to use the labels I created in chapter two for example in the appendix and vice versa. Is there an easy way to do this? I have tried following the advice of various posts of including the commands \\usepackage{xr} and \\externaldocument{Chapters/Chapter_2} in the individual chapters but this leads to an error when compiling. My Preamble is as follows: \\documentclass[12pt,hidelinks,twoside]{report} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage[greek,spanish,english]{babel} \\usepackage{textgreek} \\usepackage[version=3]{mhchem} \\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry} \\usepackage{amsmath, amsfonts, pifont, float, color, url} \\usepackage[pdftex]{graphicx} \\usepackage[style=numeric,backend=biber,sorting=none]{biblatex} \\addbibresource{references.bib} \\usepackage[pdftex, plainpages=false, pdfpagelabels, bookmarks=true]{hyperref} \\usepackage{fancyhdr} \\usepackage[center,font={it,small}]{caption} I then have a section such as this in the main document: \\begin{document} %%... Title page ... \\chapter{Theory and Methods} \\label{chap:Theory and Methods} \\include{Chapters/chapter_2} %%... Other chapters .... \\end{document} In Chapter 2 I have for example a label for a diagram which I may want to reference in other chapters: \\begin{figure}[H] \\centering \\includegraphics[height=10cm,width=\\textwidth]{RF_colour_hi_res.pdf} \\caption{Random Forest} \\label{fig:2.1 Random Forest} \\end{figure} How can I have this label show up in other chapters after I type \\ref ? Many thanks in advance. If any other information is required please let me know. This has been answered in the comments although the references do not appear in the auto complete if they are copied and pasted in they still work.",
"A Jamaican committed marriage fraud about 30 years ago by marrying a US citizen in a marriage where the groom was paid a certain amount of money to marry her. The groom got in legal trouble for an unrelated matter, and the marriage fraud was discovered and the family friend was deported back to Jamaica. She no longer has any paperwork involved with the deportation and she can’t remember any of the details. I do not know if she simply agreed to return to Jamica when the fraud was discovered, or if she made any attempts to mount any type of legal defense in the case. I do know that she was cooperative with the immigration authorities and that they did not have to come looking for her. She would like to come the USA for a two-week visit. The main purpose of the visit is for her to visit a friend (US citizen) who is terminally ill. I have been looking at 8 U.S.C. 1182 and from my reading of it, it would seem that she would not be admissible to the US because of the previous immigration fraud. My understanding is based on the section that says: In general.-Any alien who, by fraud or willfully misrepresenting a material fact, seeks to procure (or has sought to procure or has procured) a visa, other documentation, or admission into the United States or other benefit provided under this Act is inadmissible. What’s not clear to me is if this means that she would be inadmissible permanently or if this would be subject to the 10 year limit. Can anyone help provide some clarity on this? If the ban is not permanent are there any tips to being able to increase her chances of being able to get a visa. She intends to honestly answer all questions during her application process for a visa.",
"Make flash drive bootable with MULTIPLE Windows Installers I have seen many ways to make a USB an installer for about any Windows OS. But how can I (using grub or something like that) make it bootable to all editions on Windows XP and 7? I have tried Googling it and researching, I've even tried to do it, But I dont understand much about GRUB or linux at all. Please keep in mind that I am not very good with linux, so please use as many details as possible.",
"I am considering to create a wiki/blog for most of my study notes that I have made or taken digitally. Also, for the handwritten and rough ones I am thinking about storing them in my GitHub repository. Is this a good idea? How do professionals in academia and PhD students organise their notes? Also, should I keep my notes publicly available? Edit: The main purpose of keeping my notes public is to have them readily available and searchable of myself and my immediate peers in college. If that benefits someone else, I will be more than glad to have helped. Update regarding having a blog/wiki: I was thinking about having stuff regarding my take on a certain topic or similar rather than just straightaway putting mugged up lecture notes. (as I mentioned in a comment) So basically, as I go along a certain topic whatever interesting I find, I post it. Also I will put in links to papers, books and other interesting literature on the topic that might be helpful while studying the topic. This seems easier to deal with and also serves as a way to track my current interests and/or workflow.",
"mod Distributive Law, factoring $\\!\\!\\bmod\\!\\!:$ $\\ ab\\bmod ac = a(b\\bmod c)$ I stumbled across this problem Find $\\,10^{\\large 5^{102}}$ modulo $35$, i.e. the remainder left after it is divided by $35$ Beginning, we try to find a simplification for $10$ to get: $$10 \\equiv 3 \\text{ mod } 7\\\\ 10^2 \\equiv 2 \\text{ mod } 7 \\\\ 10^3 \\equiv 6 \\text{ mod } 7$$ As these problems are meant to be done without a calculator, calculating this further is cumbersome. The solution, however, states that since $35 = 5 \\cdot 7$, then we only need to find $10^{5^{102}} \\text{ mod } 7$. I can see (not immediately) the logic behind this. Basically, since $10^k$ is always divisible by $5$ for any sensical $k$, then: $$10^k - r = 5(7)k$$ But then it's not immediately obvious how/why the fact that $5$ divides $10^k$ helps in this case. My question is, is in general, if we have some mod system with $a^k \\equiv r \\text{ mod } m$ where $m$ can be decomposed into a product of numbers $a \\times b \\times c \\ \\times ...$, we only need to find the mod of those numbers where $a, b, c.....$ doesn't divides $a$? (And if this is the case why?) If this is not the case, then why/how is the solution justified in this specific instance?",
"npm commands not working on WSL with zsh",
"Preserving signatures of decorated functions Suppose I have written a decorator that does something very generic. For example, it might convert all arguments to a specific type, perform logging, implement memoization, etc. Here is an example: def args_as_ints(f): def g(*args, **kwargs): args = [int(x) for x in args] kwargs = dict((k, int(v)) for k, v in kwargs.items()) return f(*args, **kwargs) return g @args_as_ints def funny_function(x, y, z=3): \"\"\"Computes x*y + 2*z\"\"\" return x*y + 2*z >>> funny_function(\"3\", 4.0, z=\"5\") 22 Everything well so far. There is one problem, however. The decorated function does not retain the documentation of the original function: >>> help(funny_function) Help on function g in module __main__: g(*args, **kwargs) Fortunately, there is a workaround: def args_as_ints(f): def g(*args, **kwargs): args = [int(x) for x in args] kwargs = dict((k, int(v)) for k, v in kwargs.items()) return f(*args, **kwargs) g.__name__ = f.__name__ g.__doc__ = f.__doc__ return g @args_as_ints def funny_function(x, y, z=3): \"\"\"Computes x*y + 2*z\"\"\" return x*y + 2*z This time, the function name and documentation are correct: >>> help(funny_function) Help on function funny_function in module __main__: funny_function(*args, **kwargs) Computes x*y + 2*z But there is still a problem: the function signature is wrong. The information \"*args, **kwargs\" is next to useless. What to do? I can think of two simple but flawed workarounds: 1 -- Include the correct signature in the docstring: def funny_function(x, y, z=3): \"\"\"funny_function(x, y, z=3) -- computes x*y + 2*z\"\"\" return x*y + 2*z This is bad because of the duplication. The signature will still not be shown properly in automatically generated documentation. It's easy to update the function and forget about changing the docstring, or to make a typo. [And yes, I'm aware of the fact that the docstring already duplicates the function body. Please ignore this; funny_function is just a random example.] 2 -- Not use a decorator, or use a special-purpose decorator for every specific signature: def funny_functions_decorator(f): def g(x, y, z=3): return f(int(x), int(y), z=int(z)) g.__name__ = f.__name__ g.__doc__ = f.__doc__ return g This works fine for a set of functions that have identical signature, but it's useless in general. As I said in the beginning, I want to be able to use decorators entirely generically. I'm looking for a solution that is fully general, and automatic. So the question is: is there a way to edit the decorated function signature after it has been created? Otherwise, can I write a decorator that extracts the function signature and uses that information instead of \"*kwargs, **kwargs\" when constructing the decorated function? How do I extract that information? How should I construct the decorated function -- with exec? Any other approaches?",
"Context Around this Code: I am making a schedulable class run each Sunday to track a couple of metrics important to the team. Question: I am looking to consolidate DML operations and a big part of this is understanding pass by reference vs pass by value. I want to pass the salesOps user object to the method SDREfficiencyLastWeek. I made the return type void, because I figured that I will be passing this by reference and I can make all the updates in the method without having to anything. Why I am confused: I read the above article and am thrown off by the following statement: \"Non-primitive data type arguments, such as sObjects, are also passed into methods by value. \" If the object is indeed passed by reference, then the query for the salesOps user in my code should be sufficient enough to edit all fields on that object without actually having to state each field in the query. global class SDREfficientMetricsSchedulable implements Schedulable { global void execute(SchedulableContext sc) { User salesOps = [SELECT ID FROM USER WHERE id = '0056A000002Z3p9QAC']; List<String> queries = new List<String>(); String contactsWorked_lastWeek = 'select count(id) results from contact where LastActivityDate = last_week'; queries.add(contactsWorked_lastWeek); String demosSet_lastWeek = 'select count(id) results from form__c where CreatedDate = last_week'; queries.add(demosSet_lastWeek); String demosCompleted_lastWeek = 'select count(id) results from opportunity where (stagename = \\'Unqualified Demo Completed\\' OR stagename = \\'Qualified Demo Completed\\' ) and RecordTypeId = \\'0126A000000yudDQAQ\\' and CloseDate = last_week'; queries.add(demosCompleted_lastWeek); String qualifiedDemos_lastWeek = 'select count(id) results from opportunity where RecordTypeId = \\'0126A0000004Ao6QAE\\' and isclosed = false and SDR_Owner__c != null and CreatedDate = last_week'; queries.add(qualifiedDemos_lastWeek); String closedWon_lastWeek = 'select count(id) results from opportunity where RecordTypeId = \\'0126A0000004Ao6QAE\\' and iswon = true and SDR_Owner__c != null and CloseDate = last_week'; queries.add(qualifiedDemos_lastWeek); SDREfficiencyLastWeek(queries, salesOps); update salesOps; } public void SDREfficiencyLastWeek(List<String> queries, User salesOps ) { } }",
"How to prevent Windows 10 from automatically adding keyboard layouts (i.e. US keyboard) Update: this is a lengthy post, you can Note: The quick language list refers to the list in the screenshot below, accessible throught the shortcut Win + Space bar I have two languages for windows spell check in my system, English (United States) and French (Switzerland), but despite both languages being properly configured with \"Swiss French\" input keyboard, US Keyboard input keeps appearing on this list: Here's the settings for English (United States) language, you can see the only input is \"Swiss French\": Same for Français (Suisse), the only input is \"Swiss French\": In the Control Panel, both are also set as Swiss French: All my settings are set to use \"language list\": Here's a few things that I already tried: I already managed to remove it by some language configuration gymnastics, by adding and removing languages, it always eventually comes back I have already done this: There's no mention of US Keyboard in my registry settings either: Please help, I'm desperate, this is my third computer with Windows 10 and they all do the same thing.",
"Prove that the power set of an $n$-element set contains $2^n$ elements Theorem. Let $X$ denote an arbitrary set such that $|X|=n$. Then $|\\mathcal P(X)|=2^n$. Proof. The proof is by induction on the numbers of elements of $X$. For the base case, suppose $|X|=0$. Clearly, $X=\\emptyset$. But the empty set is the only subset of itself, so $|\\mathcal P(X)|=1=2^0$. Now the induction step. Suppose $|X|=n$; by the induction hypotesis, we know that $|\\mathcal P(X)|=2^n$. Let $Y$ be a set with $n+1$ elements, namely $Y=X\\cup\\{a\\}$. There are two kinds of subsets of $Y$: those that include $a$ and those that don't. The first are exactly the subsets of $X$, and there are $2^n$ of them. The latter are sets of the form $Z\\cup\\{a\\}$, where $Z\\in\\mathcal P(X)$; since there are $2^n$ possible choices for $Z$, there must be exactly $2^n$ subsets of $Y$ of which $a$ is an element. Therefore $|\\mathcal P(Y)|=2^n+2^n=2^{n+1}$. $\\square$ From the above explanation, I don't understand why the set that contains $\\{a\\}$ will contain $2^{|n|}$ elements when it should clearly be $2^{|1|}$. The construction of a new set $S$ is the union of the old set with cardinality $n$ and an new element $\\{a\\}$, therefore the set that do not contain $\\{a\\}$ still has cardinality $n$ and the set that contains $\\{a\\}$ is just $\\{a\\}$, one element... Can someone please elucidate?",
"Let $X$ be an infinite dimensional Banach space. Prove that every Hamel basis of X is uncountable. Let $X$ be an infinite dimensional Banach space. Prove that every basis of $X$ is uncountable. Can anyone help how can I solve the above problem?",
"How to run firefox and firefox ESR simultaneously The main reason I want to use firefox ESR is to use a proprietary database tool for work that only allows oracle-java based web logins for linux (or a windows only thin client). I also want to use the full version of the outlook web application which only works in firefox. I don't want to run the NPAPI plugins for normal web browsing and email. I have the repo version of firefox installed and firefox ESR installed in /opt/firefox and linked to /usr/local/firefox-esr When I run firefox any attempt to run firefox-esr either brings up a window without the NPAPI plugins. If I try running with the --new-instance or --no-remote options I receive the following error: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. Regardless which one I start first, I can only open that one, and get the above error if I attempt to sidestep. What makes this an especially annoying problem is that I often have to respond to emails that I need to access the database to deal with. So either I close and open many windows.",
"How to mount a remote (over SSH) directory to be available like a local directory (incl. in shell, not just in Gnome)?",
"Displaying verbatim content with \\tl_to_str:* \\documentclass{article} \\usepackage{expl3} \\ExplSyntaxOn \\begin{document} \\tl_to_str:n { testing _ things } \\par \\tl_set:Nn \\l_tmpa_tl { testing _ things } \\tl_to_str:N \\l_tmpa_tl \\end{document} gives a strange result (testing ̇things). How can I get testing_things? I basically want verbatim content (with line breaking).",
"Deep in my families history (1600's or there abouts) our family split in two. About three or four generations later two distant cousins got married creating a split / rejoin. G.G.G.Parents A +---------+---------------------------+ G.G.Grand Parent G.G.Grand Parent | | G.Grand Parent G.Grand Parent | | Grand Parent Grand Parent | | +------+-------+ +-------+-------+ Aunt Parent A - - -+- - - Parent B Uncle | +------+------+ Child A Child B ... ... So in this small example, the family splits in two at G.G.Grandparents and then rejoins later when Parent A and Parent B marry. About 8 years ago I tried to find a software package which could model this and failed. Has anything happened in the intervening time? Sorry I'm just asking in SE without doing much research, but I spent a lot of effort last time without any success and I am sure there is someone out there who can point me to an excellent package! @ColeValleyGirl: I'm looking for a piece of software that is able to print out such a tree/DAG (thanks @ACProctor) in high enough quality to display/frame. All software I tried before didn't seem to be able to display this as they seemed to support mainly variations of Ancestors / Descendants rather than an output of all the people that had been inputed. @AdrianB38: Essentially, I want to see \"everyone\". The tree I have was put together by my grandfather, who probably had a lot more data/people, but I've only got the hand written tree which highlights this split. It's essentially a tree of my grandparents ancestors (including this split which is joined at a common ancestor) and descendants (me + my family). I'd like to reproduce this in the computer (there is about 400 years - hundreds of people). @AdrianB38: Re your point about generations, yes, I have that issue. I think it's only one generation, might be two - i've not looked at the tree in a while. The split between families happened over about 150-200 years iirc. I can write an SVG generator if I really need to (I'm a Software Engineer) albeit I'm aware such a \"loop\"/\"dependency\" is painful to program for, but I was hoping that there was something which could handle this.",
"Rejecting a PhD offer after having accepted it. Advice?",
"How do I find out which folder an app is in in iOS 11? In older versions of iOS, if I searched for an app with Spotlight, it would tell me which folder the app was in. (E.g., this feature still works on my iPad, which is running iOS 9, but not on my iPod Touch, which is running iOS 11.) This feature seems to have been removed at some point. When I search for an app under iOS 11 using Spotlight, it will find the app and let me run it, but it doesn't tell me which folder it is in. How can I find out which folder an app is in now?",
"Let $W^{1,p}(U)$ be the Sobolev space. Suppose that $U$ is connected bounded domain in $\\mathbb{R}^n$ and $u \\in W^{1,p}(U)$ satisfies $Du=0$ a.e. in $U$. How can I prove that $u$ is constant a.e. in $U$?"
]
| medi_sts_stackexchange_dupe |
Change ereg_replace to preg_replace | How can I convert ereg expressions to preg in PHP? | [
"I am trying to automate these steps so that I don't need to do this on every machines manually. I need to install latest app server software (abc.tar.gz) on all the unix boxes. I need to do this in around 12 machines - \"machine1\" ... \"machine12\". I have a master machine \"machine0\" which has abc.tar.gz file so I was thinking to run my script from this machine only and install abc.tar.gz software by following below steps in all those 12 machines one by one. My unix account id is david and my process runs as golden user. This is the steps I follow if I am installing abc.tar.gz in \"machine1\": david@machine1:~$ sudo scp david@machine0:/home/david/abc.tar.gz . david@machine1:~$ sudo stop test_server david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ rm -rf * golden@machine1:/opt/process$ exit david@machine1:~$ sudo cp abc.tar.gz /opt/process david@machine1:~$ sudo chown -R golden /opt/process david@machine1:~$ sudo su - golden golden@machine1:~$ cd /opt/process golden@machine1:/opt/process$ tar -xvzf abc.tar.gz golden@machine1:/opt/process$ exit david@machine1:~$ sudo start test_server How can I automate this so that it can do the same steps in all 12 machines one bye one? I mean install abc.tar.gz in machine1 first, then install on machine2 and go on.. I want to run this script from machine0 only. Is there any way to automate this?",
"Determine the size of a pipe without calling read() I need a function called SizeOfPipe() which should return the size of a pipe - I only want to know how much data is in the pipe and not actually read data off the pipe itself. I thought the following code would work: fseek (pPipe, 0 , SEEK_END); *pBytes = ftell (pPipe); rewind (pPipe); but fseek() doesn't work on file descriptors. Another option would be to read the pipe then write the data back but would like to avoid this if possible. Any suggestions?",
"QGIS installation error",
"Why does cycle rendering only use one core from an AMD GPU?",
"php/mysql - foreign characters",
"How can I define a 3D version of the built-in VoronoiDiagram (VoronoiMesh in V10) function?",
"Moderator actions on items in the review queues don't count towards the review totals",
"How do I change the computer name?",
"Prove that the interval $(0, 1)$ and the Cartesian product $(0, 1) \\times (0, 1)$ have the same cardinality Prove that the interval $(0, 1)$ and the Cartesian product $(0, 1) \\times (0, 1)$ have the same cardinality using the SB theorem? Also how does one find a bijection on $f:(0, \\infty) \\to (0,1)$ such that they have the same cardiniality?",
"Repeatedly rolling a six sided die four times and summing the highest three results gives you a distribution with what mean and standard deviation? I've only taken AP statistics, but I would like to learn how to do this.",
"How many combinations are possible in the game tic-tac-toe (Noughts and crosses)? So for example a game which looked like: (with positions 1-9) A1 -- B1 A2 -- B2 A3 -- -- [1][3][4][6][7] would be one combination",
"Edge won't connect to internet, Skype for business won't screen-share, Windows Store won't update apps after Windows 10 version 1809 installed I ran into a problem after upgrading Windows 10 October 2018 to version 1809. After the Windows update I noticed the following problems with Microsoft applications: Microsoft Edge could no longer connect to the internet even though Chrome, Firefox and IE 11 still could. Skype for Business (formerly Lync) no longer allowed me to share my screen or view another person's shared screen. The Windows Store could not connect to the internet to update apps. The Microsoft Feedback portal could no longer connect to the internet. How can I resolve these network issues that seemed to cooincide with an upgrade to Win10 ver 1809?",
"How do I resize my partition in Ubuntu? I had Windows 8 installed on my system, which I screwed up, and now I run Ubuntu 12.04. While installing, Ubuntu used all the 461 GB of HDD space (one partition). Now I want to make a new partition of maybe 100 GB or so, in order to install Windows 7 alongside Ubuntu (with a dual-boot). But I can't even get a partition done. I can't change the partition in GParted either - the option is disabled.",
"Apparently I cannot count. I think there are three files in /media $ tree /media /media ├── foo ├── onex └── zanna 3 directories, 0 files However, ls -l finds 12. $ ls -l /media total 12 drwxr-xr-x 2 root root 4096 Jul 31 20:57 foo drwxrwxr-x 2 root root 4096 Jun 26 06:36 onex drwxr-x---+ 2 root root 4096 Aug 7 21:17 zanna And, if I do ls -la I get only . and .. in addition to the above, but the count is total 20 What's the explanation?",
"I'm planning a trip to recover a motorcycle from a distant city. The ideal trip would be flying to that location and coming back riding the bike, but that would require me to transport my riding gear with me in the plane: Leathers, boots, gloves, back protector and crash helmet. All this is bulky and expensive stuff, and a crash helmet may be damaged if dropped or hit hard. I don't expect any airline to allow me a crash helmet as hand luggage; and wearing it all the time is out of the question :-) To complicate things, I would be coming back riding the bike, so any hard suitcase would have to be left behind. How do people normally transport that kind of stuff?",
"$g\\in G$ maximal order in $G$ abelian then $G=\\left\\oplus H$ If $g\\in G$ is an element of maximal order in a finite abelian group $G$ then exists $H\\leq G$ such that $G=\\left<g\\right>\\oplus H$ Attempt: Using fundamental theorem I know that $G=C_{n_1}\\times\\cdots\\times C_{n_k}$ where $n_i|n_{i+1}$. With some work I proved $|\\left<g\\right>|=n_k$, so $C_{n_k}\\cong \\left<g\\right>$. Then $G\\cong H\\times \\left<g\\right>$, but this is not an equality.",
"What is the best way to clone/deep copy a .NET generic Dictionary?",
"What do the colors mean in htop?",
"When I gain control of a creature, do I also gain control of any auras or equipment attached to it?",
"99% of the time, I'm clear on when I should use \"a\" versus \"an.\" There's one case, though, where people & references I respect disagree. Which of the following would you precede with \"a\" or \"an,\" and why? FAQ FUBAR SCUBA [Note: I've read the questions and , but the rules given there don't necessarily apply here.] [Edited to add] Here's a shorter (and hopefully clearer) version of the question… In written English, which is correct (and why): \"a FAQ\" or \"an FAQ\"? Some references with differing opinions: an: the and a: the Microsoft Manual of Style for Tech Publications, 3e either: the and"
]
| medi_sts_stackexchange_dupe |
sudo apt update broke again | What can I do if a repository/PPA does not have a Release file? | [
"Is it grammatically wrong to say It's been too hot in the last / the past few days It's been too hot for the last / the past few days I saw this following sentence also, can we omit in it? He's had two new cars in the last / in the past three years as He's had two new cars the last / in the past three years Is there a strict rule in using of preposition or non-preposition when we use the last/past ? What is the structure when I refer to weeks, months ?",
"Dynamic SELECT TOP @var In SQL Server How can I have a dynamic variable setting the amount of rows to return in SQL Server? Below is not valid syntax in SQL Server 2005+: DECLARE @count int SET @count = 20 SELECT TOP @count * FROM SomeTable",
"I want to executed command from file (which is script) in current shell in terminal. Example: I have file ch_dir contains following: #!/bin/bash cd /usr Now if I execute file usually as following then it executes commands in different shell: pandya@pandya-desktop:~$ ./ch_dir pandya@pandya-desktop:~$ Here cd /user is executed in different shell. But I want to execute in Current shell. How do I do that? Note: Here cd is only used to explain. Question's aim is to execute any command in current shell",
"Is cancer caused by vitamin B17 deficiency?",
"How can I prove from first principles that $0!$ is equal to $1$?",
"1) How do I prove the following: Let A = {6a + 4b ∈ Z : a, b ∈ Z} and B = {2a ∈ Z : a ∈ Z}. Show that A = B. Thank you all for the help!",
"Dedicated mouse and keyboard for a virtual machine, is it possible?",
"The default in lyx is to have I. First part (roman number) Section 1 1.1 Subsection 1 and I'd like to have First part (arabic number) 1.1 Section 1 1.1.1 Subsection 1 etc. Any suggestion? Thanks a lot in advance!",
"Turn off text message (SMS) sync to Exchange email account I recently started using a Samsung Galaxy S4 and one of the features in a synchronization between text messages and email accounts. When a text message comes in it throws a copy into my Exchange email accounts that are one the phone. I want to turn this feature off but cannot find a setting for it anywhere. Any ideas?",
"How to Async.AwaitTask on plain Task (not Task)?",
"Obtaining knowledge from a random forest Random forests are considered to be black boxes, but recently I was thinking what knowledge can be obtained from a random forest? The most obvious thing is the importance of the variables, in the simplest variant it can be done just by calculating the number of occurrences of a variable. The second thing I was thinking about are interactions. I think that if the number of trees is sufficiently large then the number of occurrences of pairs of variables can be tested (something like chi square independence). The third thing are nonlinearities of variables. My first idea was just to look at a chart of a variable Vs score, but I'm not sure yet whether it makes any sense. Added 23.01.2012 Motivation I want to use this knowledge to improve a logit model. I think (or at least I hope) that it is possible to find interactions and nonlinearities that were overlooked.",
"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...",
"Give permission to debian-transmission to write into a www-data directory",
"I am trying to set multiple definition queries for one layer based on one field using python. ie. I have a City layer with a field that holds the city name. I want a copy of the layer in an MXD with the Definition query set for each value in the City field. So essentially, I have one source layer, with a copy of the layer as many times as there are values in the City field. The query would look like this: CITY = 'Atlanta'",
"Closed-loop function question How do I find the How do I find the transfer function of Gd(s)? I am able to find the transfer function of Gr(s) but I am not really sure about Gd(s)? and how do i determine which order is this closed system?",
"\"May I have a glass of water\" vs. \"Can I have a glass of water\": which is better, \"may I\" or \"can I\", when asking for something? What is the correct sentence when asking for something like while flying asking for a glass of water : May I have a glass of water or Can I have a glass of water",
"How can I know if my macbook is hacked?",
"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.",
"I understand that for resistors in series we need to add R for each resistor to get the equivalent resistance, where R is resistance. I also understand the mathematical manipulations that show that for resistors in parallel we need to add the 1/R for each resistor to get the equivalent resistance. However I have a couple of questions that have to do with the physical interpretation of the mathematical manipulations involved. First, I am trying to understand why in the case of parallel resistors we have to add 1/R's instead of adding R's as in the case of resistors in series i.e. could it be thought that the current in the wire is like a sort of water flow in the pipe that has two horizontal parallel pipes positioned one on top of the other and in between connected by a number of vertical pipes that have a tap each that could be adjusted to represent different resistances. Then at the top of each vertical pipe the water pressure P exists and at the bottom the pressure will be reduced by P*R. For example, suppose we have three vertical pipes, so then the pressure at the bottom of each (after the tap) is P*R for the total of 3*P*R so why is the equivalent resistance not 3*R*P but 1/R = (1/R1 + 1/R2 + 1/R3) and how can I be able to visualize this relation?",
"Let $R$ be a ring, where $a^{3} = a$ for all $a\\in R$. Prove that $R$ must be a commutative ring."
]
| medi_sts_stackexchange_dupe |
【Re-question】Is it possible to call future from batch? | Calling future method from Batch | [
"Proof that for $a,b,c\\in \\mathbb{R}$, hold that $\\left |\\sqrt {a^2+b^2}-\\sqrt {a^2+c^2} \\right |\\leq \\left |b-c \\right |$. Give me a clue, I don't have any idea to work with that inequality.",
"Doing a little reading over the break (The Probabilistic Method by Alon and Spencer); can't come up with the solution for this seemingly simple (and perhaps even a little surprising?) result: (A-S 1.6.3) Prove that for every two independent identically distributed real random variables $X$ and $Y$, $$Pr[|X-Y| \\leq 2] \\leq 3 Pr[|X-Y| \\leq 1].$$",
"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!",
"Do indexes work with \"IN\" clause If I have a query like: Select EmployeeId From Employee Where EmployeeTypeId IN (1,2,3) and I have an index on the EmployeeTypeId field, does SQL server still use that index?",
"Typically Apt packages are served over bare HTTP and the downloaded contents are verified with GPG signatures. This makes it easy for to proxy the HTTP connections and add the downloaded packages to its cache. apt-cacher-ng is unable to directly MITM an HTTPS connection created by Apt. It is possible to apt-cacher-ng, but then the contents are not cached--they are re-downloaded from the remote server every time. This quickly gets annoying when rebuilding Docker containers that install many packages from Apt repositories served over HTTPS. Is there a way to get apt-cacher-ng to cache packages downloaded from HTTPS repositories?",
"Where can I find Ghost/Poison/Psychic type Pokémon?",
"\"died from\" versus \"died of\" Why can't I say “She died from drinking 18 cans of Coca-Cola”? Instead, the correct sentence would be “She died of drinking 18 cans of Coca-Cola”. Why does that happen?",
"Please help solve 'oracle-java7-installer' missing. Error below dpkg: warning: files list file for package !['oracle-java7-installer' missing;][1] assuming package has no files currently installed (Reading database ... 302933 files and directories currently installed.) Removing linux-image-extra-3.8.0-19-generic ... /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postrm: 6: /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postrm: Syntax error: \")\" unexpected dpkg: error processing linux-image-extra-3.8.0-19-generic (--remove): subprocess installed post-removal script returned error exit status 2 Errors were encountered while processing: linux-image-extra-3.8.0-19-generic E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover:",
"I've tried almost any method to root my ASUS ZenFone Live, but no one seems to work. Also I only need root, no unlocked bootloader (don't want to wipe data) or custom recovery (not essential ATM).",
"This user is only displaying 56 rep. But surely (s)he has much more than that. The user has also never given out any bounties. Also, badges are missing:",
"I'm travelling from Madrid to Brisbane, but I have a 9 hours layover at Dubai Airport. I do not plan to leave the airport, and the connection is with the same airline (Emirates). I'm from El Salvador. Do I need a transit visa?",
"Minimum of $\\sqrt{\\frac{a}{b+c}}+\\sqrt{\\frac{b}{c+a}}+\\sqrt{\\frac{c}{a+b}}$ What is the minimum of $$f(a,b,c):=\\sqrt{\\dfrac{a}{b+c}}+\\sqrt{\\dfrac{b}{c+a}}+\\sqrt{\\dfrac{c}{a+b}}$$ where $a,b,c$ are positive real numbers? When $a=b=c$, we have $f(a,b,c)=\\dfrac{3}{\\sqrt{2}}\\approx 2.12$ When $a=1,b=c\\rightarrow\\infty$, we have $f(a,b,c)\\rightarrow 2$. So the minimum is at most $2$.",
"Harry was never a Horcrux of Voldemort I have heard this line on SE a lot & also vaguely read about that discussion. My question is if Harry was not Voldemort's Horcrux & if all the other 6 (5 inanimate objects & Nagini) were destroyed beyond repair & Harry tries to Avada Kedavra Voldemort, would he die? What would happen to Voldemort's soul inside Harry. I've asked this question keeping in mind Harry isn't a technical Horcrux but only a part of Voldemort's soul is in him. So can Voldemort resurrect from this soul? If its a duplicate, please mention the relevant discussion link in the comments",
"When will data.SE get updated data?",
"php Replacing multiple spaces with a single space",
"What are the differences in implementing interfaces implicitly and explicitly in C#? When should you use implicit and when should you use explicit? Are there any pros and/or cons to one or the other? Microsoft's official guidelines (from first edition ) states that using explicit implementations are not recommended, since it gives the code unexpected behaviour. I think this guideline is very valid in a pre-IoC-time, when you don't pass things around as interfaces. Could anyone touch on that aspect as well?",
"Are airlines in the EU obligated to provide water for passengers?",
"Evaluating $\\lim\\limits_{n\\to\\infty}(a_1^n+\\dots+a_k^n)^{1\\over n}$ where $a_1 \\ge \\cdots\\ge a_k \\ge 0$ Need to find $\\lim\\limits_{n\\to\\infty}(a_1^n+\\dots+a_k^n)^{1\\over n}$ Where $a_1\\ge\\dots\\ge a_k\\ge 0$ I thought about Cauchy Theorem on limit $\\lim\\limits_{n\\to\\infty}\\dfrac{a_1+\\dots+a_n}{n}=\\lim a_n$ and something like what happen if all $a_i=0$ or $a_1=\\dots=a_k$, but may be something I am thinking wrong? Maybe it is too simple but I am not getting it; please help.",
"Polar form to cartesian Let $\\Gamma$ be a circle that passes through the origin. Show that we can find real numbers $s$ and $t$ such that $\\Gamma$ is the graph of $r = 2s \\cos (\\theta + t).$ I know this has to be converted to a cartesian equation, but how do I do this, and what do I do after? Thanks",
"Proof that $\\suṃ̣_{k=1}^{n}k {n \\choose k}$ for $n \\in \\mathbb N$ is equal to $n2^{n-1}$. As a hint I got that $k {n \\choose k} = n {n-1\\choose k-1} $. I tried solving this by induction but, in the inductive step I'm not arriving to the correct result."
]
| medi_sts_stackexchange_dupe |
If $3\mid a$, then $3\mid a^2$ | Prove that for all integers $ a $ and $ b $, if $ a $ divides $ b $, then $ a^{2} $ divides $ b^{2} $. | [
"I am attempting to solve this counting problem through combinatorial argument. The following is the equation I am given: $$\\sum_{i=1}^n (i-1)(n-i) = \\binom{n}{3}$$ I understand that the right-hand side of this equation represents a set of $n$-elements out of which we choose 3. For example I believe we can say suppose we have a group of $n$ people and we want to choose 3 out of $n$ to be in a committee. However I'm not sure how to express the left-hand side in words. If forming a committee is an appropriate way to tackle this problem then I know the left-hand side must utilize the addition and multiplication principles, but I don't know how to put it into words. Also my intuition tells me that in solving this we should first flip $$(n-i)(i-1)$$ Thanks!",
"How to enable projection transformation in QGIS",
"Use physical harddisk in Virtual Box",
"I'm travelling from Madrid to Brisbane, but I have a 9 hours layover at Dubai Airport. I do not plan to leave the airport, and the connection is with the same airline (Emirates). I'm from El Salvador. Do I need a transit visa?",
"Check Constraint with Case Statement I want to add a check constraint on a column if entered value for column is greater than 3 than it should be saved as 1 else entered value. For that scenario I am using below query but on insertion of data it shows an error message. create table tblTestCheckConstraint ( id int, NewColumn int ) alter table tblTestCheckConstraint add constraint chk_tblTestCheckConstraint_NewColumn1 CHECK ( CASE WHEN NewColumn >4 THEN 1 ELSE NewColumn END = 1 ) Insert Statement: insert into tblTestCheckConstraint values ( 1,5) insert into tblTestCheckConstraint values ( 1,2) Error Message: Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the CHECK constraint \"chk_tblTestCheckConstraint_NewColumn1\". The conflict occurred in database \"DBName\" , table \"dbo.tblTestCheckConstraint\", column 'NewColumn'. The statement has been terminated.",
"Set keyboard caret position in html textbox Does anybody know how to move the keyboard caret in a textbox to a particular position? For example, if a text-box (e.g. input element, not text-area) has 50 characters in it and I want to position the caret before character 20, how would I go about it? This is in differentiation from this question: , which requires jQuery.",
"Find and replace text within a file using commands",
"So assume $Y$ and $X$ are exponentially distributed with parameters $y_1$, and $x_1$ respecitively. assume c is a constant. I am having huge trouble to understand the integration of the following expression. $P(Y<c/u(X))$ $=\\int_{t}^{\\infty}f_X(x)\\int_{0}^{c/u(x)}f_Y(y)dydx +\\int_{0}^{t}f_X(x)\\int_{c/u(x)}^{\\infty}f_Y(y)dydx$ where t is the cross-point that $u(x)$ change sign here $c/u(x)$ is given by the plot below, t is the point crossing the zero: Confusion: I don't understand the second integration of the second term \"$\\int_{c/u(x)}^{\\infty}f_Y(y)dydx$\", this isn't right because Y an X only defined for y>0, and x>0. So it's the first quadrant in this plot.",
"Is any aspect of the supernatural testable? What level of proof is possible for the supernatural?",
"Correlation coefficient between a (non-dichotomous) nominal variable and a numeric (interval) or an ordinal variable I've already read all the pages in this site trying to find the answer to my problem but no one seems to be the right one form me... First I explain you the kind of data I'm working with... Let's say that I have an array vector with several names of city, one for each of 300 users. I also have another array vector with scores response to a survey of each user or a continuous value for each user. I would like to know if exist a correlation coefficient that compute the correlation between these two variables so, between a nominal and a numeric/continuous or ordinal variables. I've searched on the Internet and in some pages they suggest to use the contingency coefficient or Cramer's V or Lambda coefficient or Eta . For each of this measure the just say that they could be applied for such data in which we have a nominal variable and interval or numerical variable. The thing is that searching and searching, trying to understand every one of them, sometime is written or watching the examples that they are reasonable to use them if you have dichotomous nominal variable, except for Cramer's V, other time is not written any requirement for the type of data. A lot of other pages say that is right to apply regression instead, that is right, but I would just simply like to know if there is a coefficient like pearson/spearman for this kind of data. I also think that is no so properly to use Spearman Correlation coeff since the cities are not sortable. I have also built the function of Cramer'sV and Eta by myself (I'm working with Matlab) but for Eta they don't talk about any p-value to see if the coefficient is statistically significant... In the matlabWorks site there is also a nice toolbox that says to compute eta^2 but the kind of input it needs is not understandable. Is here someone that have done a test like mine? If you need more detail to understand the kind of data I'm using just ask me and I'll try to explain you better.",
"What should I do if two libraries provide a function with the same name generating a conflict? What should I do if I have two libraries that provide functions with equivalent names?",
"Say a creature owns multiple items with wording similar to this: As an Action, you may speak the command word to [...] Say the creature has deliberately obtained such items, perhaps by creating them itself, to have the same command word. Can this creature use one action to speak the shared command word and activate multiple items at once? The purpose of this question is not to cheese my DM. I am writing a short story and like to keep my D&D fiction as close to rules-accurate as possible.",
"Using GParted to remove windows partition",
"Frequency count of two column in R",
"Minimize absolute values of errors instead of squares",
"Is there really no English equivalent to German's “Fachidiot”? There was the following paragraph in the article that came under the title, “GOP and the rise of Anti-knowledge” written by (October 29, 2015): “English unfortunately doesn’t have a precise word for the German “Fachidiot,” a narrowly specialized person accomplished in his own field but a blithering idiot outside it. In any case, a surgeon is basically a skilled auto mechanic who is not bothered by the sight of blood and palpitating organs. We need the surgeon’s skills on pain of agonizing death, and reward him commensurately but that does not make him a Voltaire.” In Japanese we have a word, 専門バカ, of which literal translation is “specialist idiot” meaning exactly same as defined the above - a narrowly specialized person accomplished in his own field but a blithering idiot outside it. I’m really curious about the absence of short descriptions of the specialist who knows nothing more than his specialty area in English like German “Fachidiot,” and Japanese \"専門バカ.\" Isn’t there really any short word counterpart to “Fachidiot,” specialist’s ignorance, for instance, in English? P.S. I found \"narrow-minded specialisit\" as a German-to-English translation of \"fachidiot\" in the web site, Interglot translation dictionary.",
"When I wake the laptop from the sleep I need to get the VPN state as I left it (turned on). Can't find the setting of autoconnect in VPN settings... Need some easy way to ask the system to autoconnect the VPN when the internet is available. Edit based on comments: Ubuntu 18.04 has no option to Always connect to VPN when using using this connection.",
"When clicking between \"Week\", \"Month\", \"Quarter\", \"Year\" and \"All\" on the users page, the name I have typed in to filter on disappears. I feel like it should stay there, so that I can type in my name, and see how I've done in a week/month/etc.",
"See my edit below, this is not totally a duplicate of My reverse-search function in the CLI is broken and I don't know how to fix it back... When I hit ctrl+r and search a command I did earlier, find it then press the right arrow key to use it, the output is broken. Here is an example: # I reverse-searched the word \"test\" then pressed right arrow yoshiji@x1carbon:~/path/to/git/folder (master) $ch)`test': rake test # ^^^^^^^^^^ weird output # ^ cursor right there It also \"shifts\" my cursor to a different position. If I press enter, the right command is executed (rake test in this case) so it means the text displayed is not the same as what is actually executed. I know this is most-likely related to my PS1 export in my ~/.bashrc, so here are the last lines of this file: # Git branch in prompt. git_branch() { branch=$(__git_ps1 2> /dev/null) if [ \"$branch\" = \" (master)\" ]; then echo -e \"\\033[33m${branch}\\033[00m\" # yellow elif [ \"$branch\" = \"\" ]; then echo -e \"\\033[90m (no git)\\033[00m\" # red else echo -e \"\\033[32m${branch}\\033[00m\" # green fi } PS1='\\u@\\h:\\w$(git_branch) \\$ ' This is something I wrote to displays the git branch in orange (if master branch) or else in green (or no git in gray). Do you guys have any idea on what is causing this weird behavior? Edit: This is a different problem from the in the way that I am using echo -e \"some string\" to return a string having color+name of the git branch from the function git_branch(). Using echo -e does not escape the characters \\[ and \\] (try it yourself in your CLI: echo -e \"\\[\\033[33m\\]test\"). Ideally, I would like to keep those conditional colors based on the branch's presence & name (gray if no branch, orange if master, else green).",
"Give an example about limits: $\\lim\\limits_{x\\to0}f(x^{2})$ exists but $\\lim\\limits_{x\\to0}f(x)$ does not."
]
| medi_sts_stackexchange_dupe |
Munkres lemma 13.1 and Axiom of Choice | Is the axiom of choice used in the proof that every open set is the union of basis elements (Mukres, Lemma 13.1) | [
"Integral of $\\sin x \\cos x$ using two methods differs by a constant? $$ \\int \\sin \\theta\\cos \\theta~d \\theta= \\int \\frac {1} 2 \\sin 2\\theta~ d \\theta=-\\frac {1} 4 \\cos 2\\theta$$ But, if I let $$ u=\\sin \\theta , \\text{ then }du=\\cos \\theta~d\\theta $$ Then $$ \\int \\sin \\theta\\cos \\theta~d \\theta= \\int u ~ du =\\frac { u^2 } 2 =\\frac {1} 2 \\sin^2 \\theta $$ Since $$ \\sin^2 \\theta =\\frac {1} 2 - \\frac {1} 2 \\cos 2\\theta$$ The above can be written as $$ \\int \\sin \\theta\\cos \\theta~d \\theta= \\frac {1} 2 \\sin^2 \\theta =\\frac {1} 2 \\left( \\frac {1} 2 - \\frac {1} 2 \\cos 2\\theta \\right)=\\frac {1} 4-\\frac {1} 4 \\cos 2\\theta $$ Why are the two results differ by the constant $1/4$? Thank you.",
"Proof of property of abelian group I want to show that $\\forall x$,$y\\in G$, $(xy)^2=x^2y^2 \\iff G $ is an abelian group. Proof of the backward direction seems easy enough: Assume $G$ is an abelian group. Then consider $(xy)^2=(xy)(xy)$. By associativity, $(xy)(xy)=xyxy$. Since $G$ is abelian, $xyxy=xxyy=x^2y^2$. Proof of the forward direction I attempt by contrapositive: That is, assume $G$ is not an abelian group. Then, consider $(xy)^2=xyxy$ as above. Yet, $xyxy\\neq xxyy=x^2y^2$ since we no longer have commutativity. Is this proof by contrapositive completely correct?",
"I'm using the package braket for my physics notes, and this speeds things up a great deal but I'm constantly writing \\ket{\\psi} or \\bra{\\psi}, and because this specific pair of bra and ket appears so often, this gets repetitive and I would like a macro to speed this up. However since the braket package works only in math mode, my attempt \\newcommand{\\ketp}{$\\ket{\\psi}}$ work when I'm writing in text mode, but when I'm writing in mathmode it breaks (unsurprisingly). Is there any way I can get this command to work in both mathmode and textmode without having to define two different macros, one for each? Thanks in advance for any help. P.S. I'm certain this is a very simple question but I could find little to no explanation of this feature.",
"Using \"align\" instead of \"array\" in an array of equations",
"How to add System.Windows.Interactivity to project?",
"How to fix the MBR for Windows 7?",
"Let $a_k:=(-1)^k$ where $k\\in\\mathbb{N}$. $\\mathbb{N}$ is the set of all non-negative integer. And we define the partial sum $S_n:=\\sum \\limits_{k=0}^{n}a_k$. Notice that the sequence $\\{S_k\\}$ diverges which also implies that the infinite series $\\sum \\limits_{k=0}^{\\infty}a_k$ cannot be defined. If I consider the infinite sum $1-1+1-1+1-1+\\cdots$, then this statement is equivalent that I just defined the infinite series $\\sum \\limits_{k=0}^{\\infty}a_k$, which is contradiction. But, suppose that the sum $1-1+1-1+1-1+\\cdots$ exists and let the value of the sum be $S$. Then, we can easily observe that $S=1-S$, therefore $S=1/2$. The supposition of this proposition already proved as false, but if I ignore the definition of infinite series, it holds. Which one is right? Or are these propositions depends on what we define?",
"Video lectures on graduate level Classical Electrodynamics This is a rather broad question. Does anyone know of good video lectures for graduate level classical electrodynamics?",
"How to put small numbers outside the pie slices without making a mess I'm new to LaTeX and need some help with my figures. I would like to to put small numbers outside the pie slices without making a mess. Having found this thread , I tried it out, but didn't get all the way through with it. Right now, my pie looks like this: I used the following code: \\usepackage{tikz,stackengine} \\makeatletter \\tikzstyle{chart}= [legend label/.style={font={\\scriptsize},anchor=west,align=left}, legend box/.style={rectangle, draw, minimum size=5pt}, axis/.style={black,thin,->}, axis label/.style={anchor=east,font={\\tiny}}] \\tikzstyle{bar chart}=[ chart, bar width/.code={ \\pgfmathparse{##1/2} \\global\\let\\bar@w\\pgfmathresult}, bar/.style={thin, draw=black}, bar label/.style={font={\\bf\\small},anchor=north}, bar value/.style={font={\\footnotesize}}, bar width=.75,] \\tikzstyle{pie chart}= [chart, slice/.style={line cap=round, line join=round, thin, draw=black}, pie title/.style={font={}}, slice type/.style 2 args={ ##1/.style={fill=##2}, values of ##1/.style={}}] \\pgfdeclarelayer{background} \\pgfdeclarelayer{foreground} \\pgfsetlayers{background,main,foreground} \\newcommand{\\pye}[3][]{ \\begin{scope}[#1] \\pgfmathsetmacro{\\curA}{90} \\pgfmathsetmacro{\\r}{1} \\def\\c{(0,0)} \\node[pie title] at (270:1.3) {#2}; \\foreach \\v/\\s in{#3}{ \\pgfmathsetmacro{\\deltaA}{\\v/100*360} \\pgfmathsetmacro{\\nextA}{\\curA + \\deltaA} \\pgfmathsetmacro{\\midA}{(\\curA+\\nextA)/2} \\path[slice,\\s] \\c -- +(\\curA:\\r) arc (\\curA:\\nextA:\\r) -- cycle; \\pgfmathsetmacro{\\d}{max((\\deltaA * -(.5/50) + 1) , .5)} %%% %\\pgfmathprintnumberto{#3}{\\fnum} %\\ifthenelse{\\lengthtest{#3 pt < 10pt}} %{\\path (O) -- ++ (\\midangle:\\radius) %node[inner sep=0,align=left,anchor=west,rotate=\\midangle](nums#3) {~~\\fnum};} %{\\path (O) -- ++(\\midangle:\\innerpos) %node {\\scalefont{#3}\\beforenumber\\fnum\\afternumber};} %%% \\begin{pgfonlayer}{foreground} \\path \\c -- node[pos=\\d,pie values,values of \\s]{$\\v\\%$} + (\\midA:\\r); \\end{pgfonlayer} \\global\\let\\curA\\nextA} \\end{scope}} \\newcommand{\\legend}[2][]{ \\begin{scope}[#1] \\path \\foreach \\n/\\s in {#2} {++(0,-5pt) node[\\s,legend box] {} +(2pt,0) node[legend label] {\\n}}; \\end{scope}} \\begin{document} \\begin{center} \\begin{figure}[H] \\centering \\begin{tikzpicture} [pie chart, slice type={A}{black!0}, slice type={B}{black!10}, slice type={C}{black!20}, slice type={D}{black!30}, slice type={E}{black!40}, slice type={F}{black!50}, slice type={G}{black!60}, slice type={H}{black!70}, pie values/.style={font={\\small}}, scale=2] \\pye{1994}{6.1/A, 2.9/B, 0.2/C, 54.3/D, 25.2/E, 1.4/F, 6.7/G, 3.2/H} \\pye[xshift=2.2cm,values of coltello/.style={pos=1.1}]% {2005}{6.8/A, 3.0/B, 0.5/C, 52.3/D, 25.6/E, 1.8/F, 7.1/G, 2.8/H} \\pye[xshift=4.4cm,values of caffe/.style={pos=1.1}]% {2015}{7.2/A, 3.1/B, 0.6/C, 50.6/D, 26.5/E, 2.3/F, 7.5/G, 2.2/H} \\legend[shift={(0cm,-1.5cm)}]{{A}/A, {B}/B} \\legend[shift={(1.4cm,-1.5cm)}]{{C}/C, {D}/D} \\legend[shift={(2.8cm,-1.5cm)}]{{E}/E, {F}/F} \\legend[shift={(4.2cm,-1.5cm)}]{{G}/G, {H}/H} \\end{tikzpicture} \\end{figure} \\end{document} This looks quite the way I want it to, only the small numbers should be placed outside the pies. Thanks in advance :)",
"Are there any rules in baseball which prohibit teams from \"borrowing\" players via trade? Every season near the trade deadline, we see teams that are out of it trading expensive players and/or free agents-to-be, typically for younger players or prospects. For example, Matt Garza, set to become a free agent after the season, was traded to the Rangers for a few prospects. It made sense for the Cubs to trade Garza, because he wasn't under contract any further than this season, and thus doesn't have much value to them. Compare Garza to someone like Mike Trout, who is likely the most valuable property in baseball, given his skill and inexpensive cost over the next several years. There's no way the Angels would trade him, because he'll be the cost-controlled centerpiece of the team for years to come. However, with the Angels out of it this year, what if they wanted to trade Trout to a contender (say the Pirates), but only for the remainder of this season? That is, they'd get several top prospects now, and would have an agreement with the Pirates that they'd trade him back in the offseason (for something pretty worthless, say for a journeyman minor leaguer). The Pirates get Trout for the stretch run and are happy to give up a few prospects. Trout doesn't have much value to the Angels this year, but he has a ton of value for next year. So they get a few prospects for him, in exchange for the part of his career which has very little value to them. So in effect, the Pirates are renting or borrowing him for the remainder of 2013. Why don't trades like this happen? Are there any rules prohibiting trades like this?",
"Inequality $\\left(a-1+\\frac{1}b\\right)\\left(b-1+\\frac{1}c\\right)\\left(c-1+\\frac{1}a\\right)\\leq1$",
"Automatically solve dependencies of deb packages while using dpkg -i Installing Deb packages on the command line, using dpkg -i, only installs the package in question and displays errors of unresolved dependencies (manually solved by apt-geting the packages it complains about). How do I automatically resolve dependencies when installing standalone packages?",
"Can I share my usb keyboard between two computers I love my Filco keyboard, I use it as primary keyboard for my Lenovo thinkpad all time. Now Im moving into the mac world and wonder: is it possible to split my USB keyboard between two USB ports, ie one at my lenovo and one at my new iMac. I was thinking that maybe there exists some kind of box with a switch to decide which port should receive the input, or preferable it would be possible to switch between the two via a keyboard shortcut.",
"I cannot find enable-interactive-search in gsettings set org.gnome.nautilus.preferences enable-interactive-search true. I searched using gsettings list-recursively | grep search and gsettings list-recursively | grep interactive but no such option. Can you help me disable this in Ubuntu 17.10 and later?",
"How to run firefox and firefox ESR simultaneously The main reason I want to use firefox ESR is to use a proprietary database tool for work that only allows oracle-java based web logins for linux (or a windows only thin client). I also want to use the full version of the outlook web application which only works in firefox. I don't want to run the NPAPI plugins for normal web browsing and email. I have the repo version of firefox installed and firefox ESR installed in /opt/firefox and linked to /usr/local/firefox-esr When I run firefox any attempt to run firefox-esr either brings up a window without the NPAPI plugins. If I try running with the --new-instance or --no-remote options I receive the following error: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. Regardless which one I start first, I can only open that one, and get the above error if I attempt to sidestep. What makes this an especially annoying problem is that I often have to respond to emails that I need to access the database to deal with. So either I close and open many windows.",
"Convert UTC/GMT time to local time",
"We have been using this result without proof in my class, but I don't know how to prove it. Could someone point me in the right direction? $$|1-e^{i\\theta}|\\le|\\theta|$$ I believe this is true for all $\\theta\\in\\mathbb{R}$. It is easy to show that the left side is bounded by 2 (triangle inequality), but I'm stuck otherwise.",
"Explaining what GIS is to 11 year old kid? Well, since it was one of the highest rated , hasn't been asked yet, and I would love to know the answer, I thought I'd ask it. How do I explain what GIS is for the 11 year old kid?",
"Prove that between any two different real numbers there is a rational number and an irrational number. My attempt at a proof: (Throughout this proof it is assumed without any loss of generality that $x < y$) 1.) $x$ is irrational and $y$ is irrational. In this case the arithmetic mean $\\frac{x+y}{2}$ is always an irrational number between $x$ and $y$. Also, if $y$ is irrational then it has a non-terminating decimal expansion and so we can always find a positive integer $n$ such that $x < y - 10^{-n}y < y$. The middle of the three numbers here will have a terminating decimal expansion, and hence it is rational. It also clearly lies between $x$ and $y$. These examples of rational and irrational numbers should also work in the cases: 2.) $x$ is irrational and $y$ is rational. 3.) $x$ is rational and $y$ is irrational. There is one last case to consider. 4.) $x$ is rational and $y$ is rational. In this case the arithmetic mean of $x$ and $y$ is rational. An irrational number for example could be the ratio $\\frac{ex + \\pi y}{e + \\pi}$ I'm not sure if this proof is a good method or if it is even valid, so some feedback would be appreciated.",
"TV series with pull out phone screens and pink/purple space ships I’m looking for a TV show where an alien race comes to Earth and sets up big purple/pink cylindrical or cone shaped spaceships in various cities around the world. The Aliens are not hostile but actually created peace and eliminated hunger on Earth. I believe the aliens had some human features and were wise and calm the main actor had a phone with a pull out screen I believe the main actor worked for or with the aliens I believe that in the last episode some humans and aliens go into some kind of pods and perhaps leave Earth? one of the space ships was located in a major US city. Maybe Washington DC or another East Coast city Could someone please tell me what TV series this is? I have been searching everywhere and cannot find it. Thanks!"
]
| medi_sts_stackexchange_dupe |
Can't boot into Windows 10 from GRUB menu, even though the option of Windows 10 is there? | Unable to boot into Windows after installing Ubuntu, how to fix? | [
"Natural deduction, Proof $\\vdash$ $P\\Rightarrow(Q\\Rightarrow P)$ So I have a question regarding natural deduction, are we allowed to \"copy\" our previous assumption inside a new assumption. I will use an example to illustrate. $\\vdash$ $P\\Rightarrow(Q\\Rightarrow P)$ So here are my steps. 1.) $P$ Assumption 2.)$Q$ Assumption 3.)$P$ Copy (1) 4.)$Q \\Rightarrow P$ Implication Introduction 5.)$P \\Rightarrow (Q \\Rightarrow P)$ Implication Introduction Is my proof correct, or is there something missing.",
"Equation of the locus of the foot of perpendicular from any focus upon any tangent to the ellipse ${x^2\\over a^2}+{y^2\\over b^2}=1$ Find the equation of the locus of the foot of perpendicular from any focus upon any tangent to the ellipse ${x^2\\over a^2}+{y^2\\over b^2}=1$. will it also be an ellipse?",
"Uniform Scattering with vector",
"Applying graduated renderer in PyQGIS? Just trying to run the following code already given in the pyqgis cookbook to create graduated colors symbology (as in example with 2 classes) I define the source info for the shapefile but when I run execute the code within my test-plugin, it just adds the layer without classifiying. Just adds as usual, all polylines appear same. Any solution or working code/method? link to code in cookbook from qgis.core import (QgsVectorLayer, QgsMapLayerRegistry, QgsGraduatedSymbolRendererV2, QgsSymbolV2,QgsRendererRangeV2) myVectorLayer = QgsVectorLayer('C:/my_test_shape_file.shp', 'test_shp_file', 'ogr') myTargetField = 'target_field' myRangeList = [] myOpacity = 1 # Make our first symbol and range... myMin = 0.0 myMax = 50.0 myLabel = 'Group 1' myColour = QtGui.QColor('#ffee00') mySymbol1 = QgsSymbolV2.defaultSymbol(myVectorLayer.geometryType()) mySymbol1.setColor(myColour) mySymbol1.setAlpha(myOpacity) myRange1 = QgsRendererRangeV2(myMin, myMax, mySymbol1, myLabel) myRangeList.append(myRange1) #now make another symbol and range... myMin = 50.1 myMax = 100 myLabel = 'Group 2' myColour = QtGui.QColor('#00eeff') mySymbol2 = QgsSymbolV2.defaultSymbol(myVectorLayer.geometryType()) mySymbol2.setColor(myColour) mySymbol2.setAlpha(myOpacity) myRange2 = QgsRendererRangeV2( myMin, myMax, mySymbol2, myLabel) myRangeList.append(myRange2) myRenderer = QgsGraduatedSymbolRendererV2('', myRangeList) myRenderer.setMode(QgsGraduatedSymbolRendererV2.EqualInterval) myRenderer.setClassAttribute(myTargetField) myVectorLayer.setRendererV2(myRenderer) QgsMapLayerRegistry.instance().addMapLayer(myVectorLayer) @Kelly's code works perfectly. However I noticed that both the code (one I have typed in my first message and yours in the 2nd message) DO NOT work in QGIS v1.7.3 but WORKS in QGIS v1.8.0. I think this was a bug(?) that already resolved in v1.8.0 And one more question; Do you have any sample code for (natural breaks, Jenks) classification of the \"numeric_attribute_field\" based on given number of classes (i.e. no of classes will be a variable in the code, say \"n\", and I will pass that from the plugin GUI i.e. n = spinBox.value() )",
"Deriving the Coulomb force equation from the idea of photon exchange?",
"How do \"pet\" Walkers help ward off other Walkers? In both the comics and the show, Michonne first appears with two walkers that she essentially keeps as pets. The comics sort of half-explain this - as per : She notices walkers don't attack one another and hacks off the arms and lower jaws of Mike and Terry. She chains them up by their necks to use them as escorts for an escape that was successful. In , we see that even if they still sort of smell like Walkers, the Walkers can smell/detect the living and will attack. In , We see Andrea effectively making a new \"pet\" so that she can use to deter the Walkers that she comes across on her trip to the prison. Along the trip, she is shown to come within close range of Walkers, but they give her space when she points the \"pets\" in the right direction. Why would the Walkers not just attempt to go around the \"pets\"? What about them creates an effective protective barrier?",
"If $S$ is a nonempty subset of group $G$, then $S^{|G|}$ is a subgroup of $G$. Let $G$ be a group with $|G| = n$ and let $ \\emptyset \\ne S \\subseteq G$. I want to show that $S^n$ is a subgroup of $G$ where by $S^n$ I mean the set $\\lbrace s_1\\cdots s_n \\; | \\; s_i \\in S\\rbrace$.",
"Using regex inside if clause in bash Look at this if block: #!/bin/bash str=\"m.m\" if [[ \"${str}\" =~ \"m\\.m\" ]]; then echo \"matched\" else echo \"not matched\" exit 1 fi exit 0 This should print \"matched\", but it doesn't. Where am I going wrong?",
"Floating sidebar can get too long and obscure footer Sometimes, when you create a question which returns a lot of similar questions, it makes the height of the floating \"Similiar Questions\" box too big to fit on the page. As a result, it blocks some of the footer on the right hand side. It's actually doing it as I type this question. I think a max height based on the view port - footerHeight should fix it.",
"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",
"Why do I have to say “want you to do” instead of “want you do”? I'm confused about 'want you to do (something)' and 'want you do (something)'. Example: \"I want you to eat fish\" instead of \"I want you eat fish\" or \"I want that you eat fish\". Can anyone explain what is the grammar rule for this?",
"Can I see things that I've said in chat that have been starred? I was reviewing the star on chat.SE list this morning and I noticed that quite a few of the items on the list were mine. I was curious as to how often people enjoy the things I post there enough to star them, but I can't seem to find statistics about this anywhere. Mana told me that no such feature exists. (the best we could come up with is ) So here's my request - can I filter/search the chat history for things I've said that other people have starred?",
"See dashboard as non logged user in community Is it possible, as a non logged user, to see report and dashboard in community when it is open to non logged user? And for analytic dashboards?",
"Scale Space Between Multiple Objects If I have multiple objects selected can I use scaling to make the objects closer together (without rescaling the objects)?",
"I'm using the listings package with this \\begin command: \\begin{lstlisting}[caption=blabla, label=amb] This yields a nice code listing with a caption like \"Listing 1.1 blabla\". Is there a way to change the caption and have something like \"Code 1.1 blabla\"? I saw the title command but it doesn't use a numbering system. Any hint will be greatly appreciated!",
"I need to make this equation in LateX but I get some errors when i try to do that. Can you help me please??",
"I'm running Bash scripting, but sometimes I get confused which of these commands I use belong to who. Sometimes man xxx works, sometimes doesn't, so I use --help or info, mostly one of these works to show description of the command. Can anyone tell me how I would know what command belongs to what? Bash builtin, GNU utility, etc.",
"I recently upgraded to 12.04 from 11.10 and since upgrading have been unable to log in to my user profile. The upgrade went okay and I can login to a guest session fine but whenever I try to login to my profile, after entering my password, I just return to the login screen. I've changed my password in Root (passwd <username>) and can log in to tty1 with no issues, it's just in GUI I'm having problems. I'm using a HP dv7 laptop, 32-bit Ubuntu install, Intel® Core™2 Duo CPU P7350 @ 2.00GHz × 2, Nvidia graphics. Any help would be appreciated.",
"Fastest way to convert string to integer in PHP",
"Plot $|z - i| + |z + i| = 16$ on the complex plane"
]
| medi_sts_stackexchange_dupe |
Why does an iPhone need software for Portrait Mode? | Why does a bigger sensor lead to a shallower depth of field? | [
"Another problem from quora. What can be said about $v =\\prod_{s=2}^{\\infty} \\zeta(s) $? Wolfy says that $v \\approx 2.294856591673313794183 $. The Inverse Symbolic Calculator () finds nothing. Here are the close values: $2294856391585950 = (0064) sum((7/6*n^3-3*n^2+65/6*n-3)/(Fibo(n)+1),n=1..inf)\\\\ 2294856397653578 = (0001) GAM(5/6)*BesI(1,2)^{GAM(7/12)}\\\\ 2294856469349552 = (0006) 1/4357571\\\\ 2294856473388934 = (0324) 1/10*(10+14^{1/2}*10^{1/4})^{1/2}*10^{3/4}\\\\ 2294856488490537 = (0001) BesJ(0,1)^{GAM(1/3)/GAM(5/12)}\\\\ 2294856524215021 = (0314) sin(Pi*8/45)-sin(Pi*14/51)\\\\ 2294856591673313 \\text{ would be here}\\\\ 2294856740350177 = (0011) sum((2*n^3-5*n^2+22*n-14)/(n!+2),n=1..inf)\\\\ 2294856991319600 = (0324) 23^{1/2}/(12^{3/4}-3^{2/3})^{1/2}\\\\ 2294857017919943 = (0001) Feig2*Li4(1/2)/GAM(5/6)\\\\ 2294857089879260 = (0248) F(11/26;27/50;1) \\\\ 2294857493303450 = (0404) Psi(1/21)+Psi(19/21)+Psi(13/14)\\\\ $ I tried using Euler's zeta product and partition sum, but this didn't seem to help. Here is what resulted: $\\zeta(s) =\\dfrac1{\\prod_p (1-p^{-s})} $. $\\begin{array}\\\\ v &=\\prod_{s=2}^{\\infty} \\zeta(s)\\\\ &=\\prod_{s=2}^{\\infty} \\dfrac1{\\prod_p (1-p^{-s})}\\\\ &=\\prod_{s=2}^{\\infty} \\prod_p\\dfrac1{ (1-p^{-s})}\\\\ &= \\prod_p\\prod_{s=2}^{\\infty}\\dfrac1{ (1-p^{-s})}\\\\ \\end{array} $ Euler's product identity states that $\\prod_{n=1}^{\\infty}\\dfrac1{1-zx^n} =\\sum_{n=1}^{\\infty} \\dfrac{x^nz^n}{\\prod_{k=1}^n(1-x^k)} $. Putting $x=z=\\dfrac1{p} $, $\\prod_{n=2}^{\\infty}\\dfrac1{1-p^{-n}} =\\sum_{n=1}^{\\infty} \\dfrac{p^{-2n}}{\\prod_{k=1}^n(1-p^{-k})} $. That's as far as I can go.",
"This is my first time using a LaTeX editor. I installed allowing it to use the default directory on the C drive. Software Versions Windows: 7 Ultimate 64-bit Texmaker 3.4.1 for Windows I then did A Local guide for using Texmaker (There use to be a link to this but it is now dead) Basically create a simple Hello World document and save it. When I went to process the file Tools -> PDFLaTeX I received Error: Log file not found! What I checked I checked the configuration (Options -> configure Texmaker) and found no option for log files. I checked for a log file under the C:\\Program Files (x86)\\Texmaker and found none. I checked for a log path in the Windows registry using regedit and found none. I checked the Texmaker issues and found but it does not help. Any ideas? After reading answer I installed MiKTeX as an administrator (didn't work as user) and chose the default options. After MiKTeX installed I was able to create a PDF file using Texmaker. Also, correctly setting the PDF viewer options Options -> Configure Texmaker -> Commands -> PDF Viewer Built-in Viewer and Embed I was able to preview the pdf in Texmaker View -> PDF Viewer What I learned is a LaTeX editor which generates a file containing LaTeX markup. is a program that converts the LaTeX markup into an output format such as PDF.",
"change thickness median line geom_boxplot()",
"about://(null) popup? I encountered a popup similar to this one this morning while checking the weather report at in Safari, though I have not been able to reproduce it. The title is \"about://(null)\" and the text \"Why you no play Candy Crush!!\" The popup occurred twice. I tapped Cancel both times. I suspect the source of this is rogue JavaScript in an ad network, judging from the fact that the screenshot below shows it in an ad-supported application, and when I saw it, I was on an ad-supported website. My phone is not jailbroken. I'm wondering if anyone is able to identify the source of the popup definitively. Speculation is running rampant on Apple's support communities and elsewhere, from push notifications (delete Facebook and all your games!) to carrier notifications (which don't work on iPod Touches…), and my gut tells me little of it is helpful. But I could also be very wrong. (This is not my screenshot; it comes from .) UPDATE 1: The Candy Crush people have this to say, but I'm not (yet) convinced there's actually something installed that is to blame: UPDATE 2: Just reproduced it in the iOS Simulator while clicking around woodtv.com, but I'm not sure how to track it down further from here.",
"How to install Chrome browser properly via command line? I am trying to install chrome browser via command line. I tried this: $ apt-cache search chrome browser The results show that the proper term is \"chrome-browser,\" so I tried that: $ sudo apt-get install chrome-browser And then \"Y\" for the Y/n question. But the installation threw errors. Does someone see anything wrong with the commands I issued?",
"Let $d=GCD(n^2+5,n^3-5n^2+6n)$ show that $d|630$",
"What would be the right position of \"substantially\" in the following: 1). Before verb: These optimal values substantially contribute to the success of the methodology. 2). After verb: These optimal values contribute substantially to the success of the methodology. Here is my issue: Fact1: When I use Google Ngram, I get , 0 occurrence of option 1. Fact2: I found an excellent Grammar book that discusses Adverbs, their types and prefered positions. The author defines some rules that I'll summarize as follows: Connecting adverbs, eg: however, then,..., Position: Beginning of clause. Indefinite frequency, eg: always, usually,..., Position: Mid position (after auxilary verb, before other verbs) sometimes beginning of clause. Focusing adverbs, eg: mainly, only,..., Position: Mid position. Adverb of certainty, eg: clearly, obviously, Position: Mid position. Adverb of completeness, eg: almost, nearly,..., Position: Mid position. Adverb of manner, eg: fast, slowly, nicely,..., Position: End clause, mid and beginning. Adverb of place, eg: upstairs, around, Position: End clause, sometimes beginning. Adverb of time, eg: daily, weekly, ... Position: Mostly end clause, sometimes beginning and mid position. I think that \"substantially\" is an adverb of completeness. Therefore, the right position is before the verb \"contribute\" (option 1). However, Google Ngam indicates that option 1 is not widely used. What do you think? Any suggestions?",
"There are many addons. Do you know how show it in two cloumns?",
"I installed blender for the first time, so I have the latest version, 2.78c. I played with it for a bit. Then I discovered I couldn't save my work. I uninstalled it and reinstalled it. Rebooted. Same problem. After a little testing, I realized I CAN save to my NAS storage drive. I cannot save on my C: drive. Any project. Any folder. C: always fails. If I run blender as Administrator, it will save to the C: drive. But not as my normal userid. So it sounds like a bug of some kind. I am running Windows 10. Bitdefender A/V. I use OneDrive. I have a 2TB drive installed. All clean and purring nicely. Is there a better way to install it? Or some change I can make (other than always running as administrator)? Sounds like a bug - but hopefully there's a proper solution. Thanks, Jerry",
"Add Word Limit to Posts",
"A word for something that is deeper, more compelling than what is obvious or visible",
"What packages do i need to install on an ubuntu desktop for it to \"become a server\"? Alright, so due to problems connecting to a wifi network on the ubuntu server distribution, i want to install the neccesary packages for a lamp, mail and ssh server on an ubuntu desktop 14.04 lte distribution(i am able to connect to the internet with the desktop version). what should i install from the command line? Thanks in advance!",
"Why cannot a set be its own element?",
"Is it common to review papers assigned to your supervisor?",
"How do I know which edition of Dungeons and Dragons (D&D) the books I'm looking at are for? , each of which has loads of rules, source, and splat books. But how do I know which edition the books I'm looking at are for? A lot of the time the ones in hobby stores are wrapped up, or you'll buy from elsewhere that doesn't say in the description, and the covers just say D&D. Is there a way to identify which edition of D&D the books I'm buying are for, either from the cover or some description in the book? For the purposes of this question I'm asking about core rule books only. Eg. PHB, MM, and DMG. Hopefully the answer to this can be carried over to other books.",
"Given $S \\in B(Y^{*}, X^{*})$, does there exist $T\\in B(X,Y)$ such that $S=T^{*}$?",
"Prove no solution to $x^2\\equiv3\\bmod5$ Show that there is no solution to the congruence $x^2\\equiv3\\bmod5$. I'm not sure if the fact that the only numbers divisible by $5$ are those ending in $0$ or $5$ will help…",
"How to change kernel at boot I installed the latest kernel (4.1) and want to boot into it instead of 3.9. How can i do this on ubuntu 15.04?",
"Reading/writing an INI file Is there any class in the .NET framework that can read/write standard .ini files: [Section] <keyname>=<value> ... Delphi has the TIniFile component and I want to know if there is anything similar for C#?",
"Reference to the Table of Contents page I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?"
]
| medi_sts_stackexchange_dupe |
Is there a built-in function to multiply each matrix line by an array? | Multiplying two dimensional data by a constant | [
"How do the Goodman-Kruskal gamma and the Kendall tau or Spearman rho correlations compare? In my work, we are comparing predicted rankings versus true rankings for some sets of data. Up until recently, we've been using Kendall-Tau alone. A group working on a similar project suggested we try to use the instead, and that they preferred it. I was wondering what the differences between the different rank correlation algorithms were. The best I've found was , which claims Spearman is used in place of usual linear correlations, and that Kendall-Tau is less direct and more closely resembles Goodman-Kruskal Gamma. The data I'm working with doesn't seem to have any obvious linear correlations, and the data is heavily skewed and non-normal. Also, Spearman generally reports higher correlation than Kendall-Tau for our data, and I was wondering what that says about the data specifically. I'm not a statistician, so some of the papers I'm reading on these things just seem like jargon to me, sorry.",
"Logitech LS21 recognized as 2.0 system - Windows 8.1 doesn't detect Subwoofer I got my dad a Logitech LS21 system for Christmas. It's a 2.1 system, but it's recognized in Windows 8 as a 2.0 system (it says there is no subwoofer connected). How would I go about getting the sub recognized? It plays some sound now, but it's so quiet you can't hear it without putting your ear right next to it.",
"Closed form for $\\int_0^1\\log\\log\\left(\\frac{1}{x}+\\sqrt{\\frac{1}{x^2}-1}\\right)\\mathrm dx$",
"Subgroups of $U(n)$ isomorphic to a direct sum of cyclic groups",
"TikZ externalization with absolute path and MiKTeX distribution This code: \\documentclass[11pt,openright]{book} \\usepackage[T1]{fontenc} \\usepackage[latin9]{inputenc} \\usepackage[british]{babel} \\usepackage{tikz} \\usetikzlibrary{external} \\tikzexternalize[prefix={\"C:/Users/MyName MySurname/Documents/LaTeX/Figures/\"}] %\\tikzexternalize[prefix={Figures/}] \\begin{document} \\begin{tikzpicture} \\draw (0,0) circle (1cm); \\end{tikzpicture} \\end{document} gives me the error: ! I can't write on file `\"C:/Users/MyName MySurname/Documents/LaTeX/Figures/MyMWE-figure0.md5\"'. I'm working with Windows 10, MiKTeX 2.9 distibution. Following the advice Tarass gave me on a comment of this question: and as indicated here: I've registered a user-managed TEXMF directory but I still get the same error. With \\tikzexternalize[prefix={Figures/}] all works perfectly but, since I'm using LyX, the files are stored in a LyX temp dir, hence I loose them when I close the program (making externalization useless), so I need to use an absolute path.",
"Definitions of connected space I have seen several definitions of connected space, but I would like to discuss those from . I am concerned about these: $X$ is disconnected, if it is the union of two disjoint nonempty open sets. What about $[0,1] \\cup [2,3] $ ? It is not the union of two disjoint nonempty open sets, so it is connected? $X$ is connected, when it cannot be divided into two disjoint nonempty closed sets. What about $(0,1) \\cup (2,3) $ ? It cannot be divided into two disjoint nonempty closed sets, so it is connected? Maybe I don't understand what \"divided\" means.",
"What is the most \"pythonic\" way to iterate over a list in chunks? I have a Python script which takes as input a list of integers, which I need to work with four integers at a time. Unfortunately, I don't have control of the input, or I'd have it passed in as a list of four-element tuples. Currently, I'm iterating over it this way: for i in range(0, len(ints), 4): # dummy op for example code foo += ints[i] * ints[i + 1] + ints[i + 2] * ints[i + 3] It looks a lot like "C-think", though, which makes me suspect there's a more pythonic way of dealing with this situation. The list is discarded after iterating, so it needn't be preserved. Perhaps something like this would be better? while ints: foo += ints[0] * ints[1] + ints[2] * ints[3] ints[0:4] = [] Still doesn't quite "feel" right, though. :-/ Related question:",
"Violation of linearity assumption in Logistic Regression I built a logistic model with 7 continuous independent variable and 8 categorical (dummy) variables in R. I tested for the linearity assumption using the Box Tidwell test and all my variables show high significance. I am wondering now, if the assumption is violated what it would mean for the coefficient estimates and if I still can run the model with caution. I read about the approach of using regression splines but I am confused how I would determine those and interpret the model then.",
"Is there an example of a ring $S$ with identity $1_S$ containing a non-trivial subring $R$ which itself has an identity $1_R$, but $1_R\\neq 1_S$ (or equivalently $1_S\\notin R$). I'd also like to know under what conditions the identities have to be equal. I know they must be equal if $S$ has no zero divisors, since for every $r\\in R$ we have $(1_S-1_R)r=0$ In other words: Is the category of unital rings with identity-preserving morphisms a full subcategory of the category of rings (where morphism are only required to respect addition and multiplication)?",
"How to detect existence of a class using SFINAE?",
"Is there any program to provide a consistent interface across multiple archive types? At the moment, if I download a compressed file, it could be any of a .tar.gz archive, a tar.bz2 arhive, a .zip archive or a .gz archive. And each time I do so, I have to remember what the command line options for that program are. Is there any CLI program where I can just go: undocompression somefile.?? and let it figure out what format the archive is in? (overly long name used to avoid conflicting with any real program)",
"“All you have to do is read” vs. “All you have to do is to read” I was speaking to an English learner and said, “All you have to do is read a lot.” And they thought that sentence wasn’t grammatically correct because I dropped the word to between is and read. They thought it should be “All you have to do is to read a lot.” That sounds weird to me. How do I explain to them the reason you drop the to? Or am I incorrect and it really should have a to?",
"I saw several bugs and error messages when I was looking by chance into the tool called \"logs\". Being a newbie in Ubuntu I have no idea how to deal with these bugs, where to report them or how to fix them. Any help to guide me here? The bug I have (which is listed under important) reads: [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)",
"Initializing a member array in constructor initializer",
"How to change the desktop wallpaper to a photo of my own selection in Ubuntu 18.04? I'm not interested in downloading some wallpaper changer application, nor am I interested in coding something up. There has to be an easy way to select a photo as a custom wallpaper in Ubuntu 18.04.",
"Calculate relative time in C# Given a specific DateTime value, how do I display relative time, like: 2 hours ago 3 days ago a month ago",
"Difference between static class and singleton pattern? What real (i.e. practical) difference exists between a static class and a singleton pattern? Both can be invoked without instantiation, both provide only one \"Instance\" and neither of them is thread-safe. Is there any other difference?",
"Do Triggered effects stack?",
"Is it true that $0.999999999\\ldots=1$?",
"How to set a shortcut for \"Always on Top\" for window? In 12.04 (Unity), I would like to assign a shortcut to the \"always on top option\" for a window. Probably something like Ctrl+Shift+Home to turn on and Ctrl+Shift+End to turn off, or whatever. Is there an option to do this somewhere in the Compiz Settings Manager? This (old) claimed that For compiz, Enable Extra WM Actions. Check the properties, and insert ALT+A to Key field for Toggle Always-On-Top action. But I couldn't find that."
]
| medi_sts_stackexchange_dupe |
Can I re-enter Thailand the day my permit expires, and get a new one? | Thailand visa exemption: any rule limiting number of entries per year? | [
"Complex differential equation How do I solve $$x'=e^{it}\\overline{x}?$$ This is a complex differential equation, but I don't see how to solve it. Edit: the original ODE is given by $$(x', y')=\\begin{pmatrix}\\cos t& \\sin t\\\\ \\sin t&-\\cos t\\end{pmatrix}(x,y)$$ I want to show that solutions of this ODE do not remain bounded for all $t$, and the idea was to solve the complex equation.",
"Why do the Jedi say \"May the Force be with you\"?",
"Adding Labels and arrows in Tikz graph",
"Item cannot be installed or removed until the package catalogue is repaired",
"So I'm going to be starting a Job here in a few weeks, I've been doing QA for about 6 years now. Pretty much your standard Test Plans/Testing with a little normal SysAdmin stuff that sometimes comes with the task. I've had some good ideas implemented in companies, as far as tracking requirements/test plans/issues differently, and they seem successful. However, this new position will be me laying down the foundation for QA. Right now things are done in what seems to be as needed as far as QA goes, requirements are gathered and sometimes kept in different locations, same with test plans (which are done by developers right now). So my job will be sort of centralizing this, or developing a Flexible way of QA'ing the Software (Web/Mobile development). So it seems the challenge will be centralizing everything, while creating test plans/ or ways of testing similar requirements that is flexible enough to span projects. I've had a few ideas, however, all my previous test work was windows based (So test plans in TFS or Microsoft Test Manager). I wanted to get some ideas from everyone here, or anyone that has started a QA department from scratch. I was also going to see if there were any books on the subject. My thoughts were mainly keeping projects separated for issue tracking (not sure of the software we will use yet). And keeping test plans for common I guess "actions/elements" that are repeated between different customers and executing those. Eventually maybe using selenium to save those "common" elements as test scripts. But I've never set something up like this before solo, so I've been doing quite a bit of reading. Any books/suggestions would be appreciated!",
"I have an uploaded video and I want to cut sections of audio (strong language) or add beeps on top without reuploading the video.",
"How long does it take to unlock another frame by playing one of the base frames? I'd like to get an advanced frame in Firefall. I've been told that I can use \"Pilot Tokens\" to unlock other frames without having to pay money. How soon would I be able to unlock an advanced frame? Do I have to level a base frame all the way to level 40? More than once?",
"mysqli bind_param for array of strings",
"I have added a custom/secondary query to a template file/custom page template; how can I make WordPress use my custom query for pagination, instead of using the main query loop's pagination? Addendum I have modified the main loop query via . Why isn't pagination working, and how do I fix it?",
"How to interpret regression coefficients when response was transformed by the 4th root? I'm using fourth root (1/4) power transformation on my response variable, as a result of heteroscedasticity. But now I'm not sure how to interpret my regression coefficients. I assume that I would need to take the coefficients to the fourth power when I back-transform (see below regression output). All of the variables are in units of dollar in millions, but I would like to know the change in dollar in billions. While holding the other independent variable constant, a billion dollar change in fees, on average, leads to a change of 32 (or 32,000 dollars) in collections. I take 0.000075223 * 1000 (to get to billions) ^ 4 = 0.000032. Now do I multiply this number by 1 million or 1 billion (the original unit of the dependent variable is in millions)? lm(formula = (Collections^(1/4)) ~ Fees + DIR) Estimate Std. Error t value Pr(>|t|) (Intercept) 2.094573355 0.112292375 18.653 0.0000000000000151 Fees **0.000075223 **0.000008411 8.943 0.0000000131878713 DIR 0.000022279 0.000004107 5.425 0.0000221138881913",
"I often get an error saying unable to update ICE authority. Is there a way out of this?",
"Compactness and Hausdorffness Is it possible to have a topological space having all compact subsets closed, but the space itselt is not Hausdorff? I couldn't find any counterexample. I tried $\\mathbb R$ with cofinite, point inclusion and point exclusion topologies, but these didn't work. Any suggestion in this context will be helpful for me.",
"Unable to locate package There are many about Unable to locate package. For example : if user try to install package by using apt-get then the following error shown. (Here package is used only as example for displaying error message): sudo apt-get install package Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package package What does this error mean? How do I solve it? provided General solution to understand and how to solve such type of error (which is helpful for new users that may unaware of repository-apt install mechanism) Note : For resolving unmet-dependencies, visit: .",
"Entropy of sum is sum of entropies",
"$E[e_te_s\\Delta B_t\\Delta B_s]$ for $\\Delta B_t$ Brownian motion increments and $e_t(\\omega)$ a measurable function.",
"Recently, I found this , that allows you to generate a 3D model from a 2D image. It works very well and you can download an OBJ file. Vertex are colored and when I import it using Blender, I can't see any Vertex color. Using Cycle (I prefer a internal solution if it exists) according to some answers I've found on Blender Stack Exchange, I patched some nodes : Attribute -> Diffuse BDSF -> Material Output. Unfortunately, I can't get it works, the model stills black. When I open the OBJ file, I see that color per vertex are there : v 43.747554 107.000000 69.000000 0.470588 0.380392 0.309804 v 43.780163 115.000000 64.500000 0.427451 0.337255 0.266667 v 43.782527 107.000000 68.500000 0.470588 0.380392 0.309804 v 43.801902 115.000000 65.000000 0.427451 0.337255 0.266667 v 43.806461 107.000000 69.500000 0.470588 0.380392 0.309804 v 43.821703 115.000000 64.000000 0.427451 0.337255 0.266667 v 43.838352 108.000000 68.500000 0.466667 0.376471 0.305882 v 43.854670 106.000000 69.000000 0.482353 0.392157 0.321569 v 43.856176 108.000000 69.000000 0.466667 0.376471 0.305882 v 43.873876 106.000000 69.500000 0.482353 0.392157 0.321569 v 43.888855 110.000000 68.000000 0.466667 0.376471 0.305882 v 43.891471 109.000000 68.000000 0.466667 0.376471 0.305882 v 43.892733 110.000000 67.500000 0.466667 0.376471 0.305882 v 43.895170 108.000000 68.000000 0.466667 0.376471 0.305882 v 43.900904 109.000000 68.500000 0.466667 0.376471 0.305882 v 43.907584 107.000000 68.000000 0.470588 0.380392 0.309804 v 43.917898 115.000000 65.500000 0.427451 0.337255 0.266667 v 43.925000 111.000000 67.500000 0.454902 0.364706 0.294118 According to some answers here, Blender import more easily the vertex color of a PLY file so I tried to convert to PLY with two different sites : 1. meshconvert .com : Give me a 3.5 Mo file 2. greentoken.de/onlineconv : Give me a 2.3 Mo file (Of course, if you know some other sites I could try, it interest me) I guess that color data are lost with greentoken (not sure). When I import the 3.5 Mo PLY file in blender, I need to be in textured display mode, then I think I see my vertex color value but in black & white instead of RGB, that is weird. Anyway, I can't get it work EDIT 1 : I opened PLY files and color vertex aren't there... I need to find a better converter EDIT 2 : I tried www.ofoct.com/3d-model-file-for-3d-printer-converter it doens't take vertex color into account. In fact, in each PLY files I converted with the various sites here, there is a common line : comment Created by Open Asset Import Library - (v3.2.0) (the version varies) EDIT 3 : In fact it seems that model converted by Green token, keep the vertex color. That is weird because that's the smallest file : ply format ascii 1.0 comment Created by Open Asset Import Library - http://assimp.sf.net (v3.1.187496374) element vertex 29793 property float x property float y property float z property float nx property float ny property float nz element face 59582 property list uint uint vertex_index end_header 82 103 6.37528 0.40963 0.0331735 0.911648 82 102 6.57043 0.272087 0.235193 0.933088 82.6603 103 6.5 -0.14071 0.043367 0.9891 82 103.935 6.5 0.201161 -0.136681 0.969976 81.5475 103 7 0.825371 0.0489484 0.562465 83 102 6.62244 -0.248588 0.147929 0.957247 83 103 6.56417 -0.411487 -0.0867124 0.907281 81.5819 104 7 0.787841 -0.0338904 0.614946 82 105 6.63886 0.0715144 -0.131383 0.988749 83 104 6.77321 -0.431167 -0.171652 0.885794 83.6781 102 7 -0.470137 0.061235 0.880467 83.6327 103 7 -0.543939 -0.0905203 0.834228 83 105 6.96709 -0.445324 -0.163091 0.880391 84 103 7.23724 -0.520118 -0.141377 0.842313 84 104 7.47775 -0.546517 -0.195833 0.814229 84 102 7.16782 -0.416323 -0.021798 0.908955 83.3508 101 7 -0.314426 0.156435 0.936304 84 101 7.22581 -0.280388 0.0301462 0.959413 84.9009 101 7.5 -0.339848 -0.0219793 0.940223 84.6939 102 7.5 -0.435242 -0.0925323 0.895546 As you can see, nx, ny and nz correspond to RGB values..",
"To prove that if $n$ is odd, then $8 \\mid n^2−1$, observe that as $n$ is odd either $n = 4k+1$ for some integer $k$ or $n=4k+3$ for some integer $k$. In the first case $n^2 -1=8(2k^2+k)$ and in the second case $n^2-1 = 8(2k^2 + 3k + 1)$. Given an odd integer $a$, establish that $a^2 +(a+2)^2 +(a+4)^2 + 1$ is divisible by $12$. Solve by consideration of six cases.",
"How can Obito use his Mangekyo so often?",
"Unable to cover get set in apex test class I am unable to cover the following class get set method. Need help in creating test class public class Aresult{ public class Parent { public String type {get; set;} public String id {get; set;} public String sequence_id {get; set;} public String etag {get; set;} public String name {get; set;} } } Please suggest @isTest public class CirriusGetItemsResultTest { public static void myUnitTest(){ Aresult.parent a = new Aresult.parent(); a.type='hello'; a.id='hello'; a.sequence_id ='hello'; a.etag ='hello'; a.name ='hello'; } }",
"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."
]
| medi_sts_stackexchange_dupe |
Understanding string constant \s! in ConTeXt typescript files | What does \s! do? | [
"A native speaker said: \"I have ever went to\" I heard a guy from Manchester, UK said — It was the best restaurant I have ever went to. And Google offers 23 million pages for the query \"have ever went to\", and only 3 millions for \"I have ever gone to\". Is this form correct? Has the grammar changed?",
"I have ran into some issues when it went down to install Steam on Debian. The console as well as Apper comes up with missing dependencies and the package isn't going to install.",
"PHP \"header (location)\" inside IFRAME, to load in _top location?",
"Consider the surface $S$ in $\\mathbb{R}^3$ given by the graph of $f(x, y) = xy^2 − 2y^2 + e^x$ . Calculate the intersection point of the tangent planes to $S$ above $(x, y) = (0, 0), (0, 1)$, and $(0, 2)$. Can someone guide me through solving this problem? I am confused on where to start because we didn't cover this in class. Thanks so much",
"Table of Contents for set of PDF files How to make Table of Contents for a set of PDF files? Here's my code! \\documentclass{book} \\usepackage{pdfpages} \\usepackage[pdfauthor={<somename>},pdftitle={<sometitle>},pdftex]{hyperref} \\usepackage{fancyhdr} \\usepackage{tocloft} \\usepackage[margin=0.5in,bottom=0.75in,top=0.75in]{geometry} \\pagestyle{fancy} \\renewcommand{\\headrulewidth}{0.4pt} \\fancyhead[L]{X Y Z} \\fancyhead[R]{} \\begin{document} \\tableofcontents \\newpage \\clearpage \\phantomsection \\includepdfset{pages=-,pagecommand=\\thispagestyle{fancy}} \\addcontentsline{toc}{chapter}{SAMPLE PDF 1\\\\ \\textit{description}} \\includepdf[pages=-]{template1.pdf} \\clearpage \\phantomsection \\addcontentsline{toc}{chapter}{SAMPLE PDF 2\\\\ \\textit{description}} \\includepdf[pages=-]{template2.pdf} \\clearpage \\phantomsection \\addcontentsline{toc}{chapter}{SAMPLE PDF 3\\\\ \\textit{description}} \\includepdf[pages=-]{template3.pdf} \\clearpage \\phantomsection \\addcontentsline{toc}{chapter}{SAMPLE PDF 4\\\\ \\textit{description}} \\includepdf[pages=-]{template4.pdf} \\clearpage \\phantomsection \\addcontentsline{toc}{chapter}{SAMPLE PDF 5\\\\ \\textit{description}} \\includepdf[pages=-]{template5.pdf} \\end{document} Here's the output. My problem is that the page number is not aligned with the title, it is aligned with the description. Also I'd like to put dots. My desired output looks like this:",
"Is there a problem with the ClearBits data dump?",
"Equidistant points across Bezier curves",
"reveals x2 code snippets. The first result is to which has a lot of documentation and explanation, along with some useful discussion underneath. However, , whilst not containing so much documentation, includes sample code for passing commands such as start, stop and restart. It also creates a PID file which can be handy for checking if the daemon is already running etc. These samples both explain how to create the daemon. Are there any additional things that need to be considered? Is one sample better than the other, and why?",
"How can I wrap text around a bottom-right div? Every time I try to do something seemingly-simple in CSS, it doesn't work. I have a content div that contains a 460x160 image. All I want to do is position the image at the bottom-right corner and wrap my text around it. <div id=\"contents\"> <img src=\"...\" /> text text text text text text ... </div> So I want it to look like: ------------------ | text text text | | text text text | | text text -----| | text text | | ------------------ Doing it with a top-left or top-right image is cake: #contents img { float:right; } ------------------ | text text | | | text text -----| | text text text | | text text text | ------------------ Now how do I push that to the bottom? The best I've come up with so far are: #contents img { float:right; margin-top: 90%} // really needs to be 100%-160px ------------------ | text text | | text text | | text text -----| | text text | | ------------------ In this case the text does not print in the margin, so there is white space above the image. #contents { position:relative; } #contents img { position:absolute; right:0; bottom:0; } -or- // move the img tag under the text in the html and: #contents img { float:right; margin-top:-160; } ------------------ | text text text | | text text text | | text text -----| | text text | te | ------------------ In this case the text prints over or under the image. So... how can I accomplish this?",
"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?",
"Why there isn't reputation points for successful flagging? By helping the site by flagging successfully (and therefore gaining higher flag weight), you typically inform that you are able to understand the system and be helpful. Similarly, when you are helpful by editing posts (not necessarily even understanding anything, just making it better), you gain 2 points for each edit. Good flagging may require even more understanding; while editing just fixing spelling and/or formatting gives reputation points. You don't have to understand whether question (or answer) is on-topic, or even meaningful. So, why there isn't for example 2 points for each flag that was acted on, in the same way flag weight increase is determined?",
"Why is the \"user was removed\" message so vague?",
"Make \"axis cs\" the default coordinate system in a PGFPlots plot I would like to know if there is a way to specify axis cs to be the default coordinate system inside a plot in PGFPlots, so I don't have to type axis cs: in front of every coordinate pair. Here's a MWE that shows what I mean (the actual plot is irrelevant). \\documentclass{article} \\usepackage{pgfplots} \\begin{document} \\begin{tikzpicture} \\begin{axis}[ xmin=0, xmax=80, ymin=0, ymax=80, grid=major, ] \\fill [green, opacity=0.5] (axis cs:14,14) -- (axis cs:80,47) -- (axis cs:80,80) -- (axis cs:47,80) -- cycle; \\fill [red, opacity=0.5] (0,0) -- (axis cs:80,0) -- (axis cs:80,47) -- (axis cs:14,14) -- (axis cs:47,80) -- (axis cs:0,80) -- cycle; \\draw [thick] (axis cs:47,80) -- (axis cs:14,14) -- (axis cs:80,47); \\end{axis} \\end{tikzpicture} \\end{document}",
"During my studying to integration I find this integration. So I tried to prove but I got stuk. So I need help in this integration. $$\\displaystyle\\int_{-\\infty}^{\\infty} \\frac{x \\sin (x)}{1+x^2} dx = \\frac {\\pi}{e} $$",
"Is there any uncountably infinite set that does not generate the reals? Does there exist an uncountably infinite set $X \\subseteq \\mathbb R$ such that $\\mathbb R \\neq \\left<X\\right>$? I can't think of any, but I'm also having trouble trying to prove that no such subset exists. For example: $\\mathbb R$ is uncountable and obviously $\\mathbb R = \\left<\\mathbb R\\right>$. The Cantor set $C$ is uncountable, and we know that $C - C = [0, 1]$, so then since $\\mathbb R = \\left<[0, 1]\\right>$ we know that $C$ also generates $\\mathbb R$. Also the set of irrationals $\\mathbb R \\setminus \\mathbb Q$ is uncountable, but we can generate all the rational numbers by fixing one irrational number $\\alpha$ and then saying the any rational number $x$ shall be $(\\alpha + x) - \\alpha$, since both $\\alpha + x$ and $\\alpha$ are irrational. So the examples that quickly come to mind all generate the reals. Is there a simple counterexample?",
"Split file into multiple small files, separate by the newline symbol Is there a utility that split file by newline symbol? e.g if a file contains the following lines, aa bbb cccc If I want to split it to 3 files, the desired output would be: aa, bbb And cccc (in 3 different files) I already checked the split command, it only cut file by file sizes, not what I want. If I don't wrote a utility myself, is there any standard tool to use?",
"What's the 1 inch square knob sticking out of the wall?",
". The has no sign of the user sharth The also does not have any sign of related activity I would like to know why the user's name is associated with the question. At least why their display name shows up as having modified the question timeline activity. Possible reason that I can think of is that, . Is this the reason? Is there a way (for normal users), to look for such details, other than looking at the user activity and the question's revision history.",
"How to send AT commands to modem once the connection is established? I have a zte 3g modem. I use carrier provided dialer for connection establishment. Once the ppp connection is active, i would like to send some AT commands(for ex. Query signal strength, AT+CSQ). But the dialer i use locks the /dev/ttyUSB0 port, which is the command port to send AT commands for my modem. So is there any way, to send the commands, once the connection is active? Edit: I also tried the additional port /dev/ttyUSB1. But the port is flowing with random data from the modem. A sample is given below. T^PREFMODE?? ^PREFMODE:8 OK TC ^DSDORMANT:1 +CSQ:19, 99 OK T^SYSINFO ^SYSINFO:2,3,0,4,255 OK TT^SYSINFO? ^SYSINFO:2,3,0,4,255 I tried adding my commands, i even got output. But the response is very poor. Most of the times, my AT commands went unnoticed.",
"This may be a generic OOP question. I wanted to do a generic comparison between an interface and an abstract class on the basis of their usage. When would one want to use an interface and when would one want to use an abstract class?"
]
| medi_sts_stackexchange_dupe |
How to bind to certain property in a list of Model object? | How to programmatically bind a (dependency) property of a control that's inside a DataTemplate? | [
"butt, bottom, buttock and ass? A woman's butt was allegedly touched by a man several times during a commute on the MRT. How to use butt, bottom, buttock and ass? I am confusing with these words.",
"Figure refs stop working after I added a new counter I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange post) \\newcounter{P} \\newcommand{\\plb}[1]{\\refstepcounter{P}\\label{#1} \\textbf{P-\\ref{#1}.}} \\begin{problem} \\plb{p1} A parallel-wire transmission line is constructed of \\#6 AWG copper wire (diameter $d=0.162$ in., conductivity $\\sigma_c=5.8\\times 10^7$ S/m) with a 12-inch separation in air. Assuming no leakage between the two wires, find $R'$, $L'$, $G'$, and $C'$. Assume a working frequency of 1 MHz. \\end{problem} \\begin{solution} Using Table.~\\ref{tab:tlparam} and Fig.~\\ref{fig:tlempl}, \\[ Rs = \\sqrt{\\pi f \\mu_c/\\sigma_c} = 2.61\\times10^{-4}~ \\Omega\\] \\[ R' = \\frac{2R_s}{\\pi d} = 4.04\\times10^{-2} ~\\Omega\\text{/m} \\] \\[ L' = \\frac{\\mu_0}{\\pi} \\ln{\\frac{2D}{d}}=2.0~\\mu \\text{H/m} \\] \\[ C' = \\frac{\\pi \\epsilon}{\\displaystyle\\ln{\\frac{2D}{d}}}=5.56 ~\\text{pF/m} \\] $G'=0$ because the problem states that there is no leakage between the two wires. \\end{solution} \\begin{figure}[ht] \\begin{centering} \\includegraphics{fig24} \\caption{(Fig.2-4 from FAE) A few examples of transmission lines.} \\end{centering} \\label{fig:tlempl} \\end{figure} \\begin{table}[ht] \\caption{(Table 2-1 from FAE)Transmission-line parameters $R'$, $L'$, $G'$, and $C'$ for three types of lines.} \\begin{tabular}{c} \\hspace{3cm}\\includegraphics{tb21} \\end{tabular} \\label{tab:tlparam} \\end{table} ... and more Now all the figure references stop working, I get \"Fig. \" instead of \"Fig. 1\". The table references are alright though. Any idea what the problem could be?",
"Why doesn't grep using pipe work here? I have the following command: find / -name libGL.so.1 Which returns lots of lines with \"Permission denied\". I want to exclude such lines, so I added the following: find / -name libGL.so.1 | grep -v 'denied' But the output is the same - my grep -v 'denied' is not filtering out the lines with Permission denied. I've tried many variations, looked over grep tutorials, but I cannot figure out the problem. Any suggestions?",
"Cannot access any files on Samsung Tab 4 7\"",
"[i] Susan married Ed. (RHD) [ii] My sister got married last fall. (COCA) Is there a passive implication in [ii]? That is, the families and so on arrange and perform the marriage ceremonies for two people, and through all this the two get married. Is this implied in the expression [ii], and not in [i]?",
"Hibernating Ubuntu on EC2 instance? I've got an application I'd like to move to EC2. It will likely spend more than half the day completely dormant, so I'm trying to come up with a good solution for starting and stopping it as needed. It takes a few minutes to start up from nothing, so it would be nice if i could hibernate the OS for quicker resumes. I've seen a couple forum discussions on the topic of hibernation within EC2, but never anything conclusive. Has anyone found a working solution to this, or at least some resources that could help me out?",
"How can I send mail from an iPhone application",
"Show a Form without stealing focus? I'm using a Form to show notifications (it appears at the bottom right of the screen), but when I show this form it steals the focus from the main Form. Is there a way to show this \"notification\" form without stealing focus?",
"Merge two arrays as key value pairs in PHP",
"In the double-slit experiment of electrons (observed by photons), is it correct to say the collapse is caused by the momentum of the photons? I'm working off the article, . I think it's well-written, but I'm not convinced about this part: So what is causing the change in the particle’s behaviour? In the example given above, when electrons are fired at a fluorescent screen, when we bombard the electrons with photons the interaction changes the state of the system catastrophically as, despite lacking mass, photons do carry momentum. Here the author strongly implicates the momentum of photons as being responsible for the collapse. But is that correct to say? I have read that the verified that obscuring which-way information restores wave-like behavior. So it feels to me it's more about some \"outer\" state (perhaps well-characterized as \"information\") that we don't yet understand that collapses the system, not per se the photon-electron interaction. Or am I wrong, and in fact for example, the process of obscuring in the quantum eraser experiments somehow \"undoes\" the photon-electron interaction or restores the quantum state through another interaction?",
"How to resolve BackgroundContainer.dll error on startup? When I start my desktop it gives me an error about BackgroundContainer.dll. How to get rid of it? I found nothing when i started regedit.exe and searched (F3 or CTRL+F) for BackgroundContainer.dll",
"apt-get cannot connect to Ubuntu archives I just installed a fresh version of Ubuntu 19.10 today, and the first thing I decided to do was to install GNU Screen, using sudo apt-get install screen. my output was: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package screen I figured the package archives were not quite updated as it was a clean install so I tried sudo apt-get update. This is what I got: Get:1 http://security.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB] Err:2 http://au.archive.ubuntu.com/ubuntu eoan InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out Err:3 http://au.archive.ubuntu.com/ubuntu eoan-updates InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Err:4 http://au.archive.ubuntu.com/ubuntu eoan-backports InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Fetched 97.5 kB in 31s (3,106 B/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan/InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) Could not connect to au.archive.ubuntu.com:80 (202.158.214.106), connection timed out W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-updates/InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) W: Failed to fetch http://au.archive.ubuntu.com/ubuntu/dists/eoan-backports/InRelease Cannot initiate the connection to au.archive.ubuntu.com:80 (2001:388:30bc:cafe::beef). - connect (101: Network is unreachable) W: Some index files failed to download. They have been ignored, or old ones used instead. I'm really not sure why it would be doing this, other than maybe some first-use hiccups? The computer is definitely connected to the internet, as I am writing this from that machine, and I have tried running the commands after rebooting and it still gives the errors. I can't seem to be able to connect to au.archive.ubuntu.com at all. ping au.archive.ubuntu.com just sits there without a response. If anyone could help, that would be great! If any extra information is required I'd be happy to edit it into the question.",
"My machine can't play encrypted DVDs on a fresh install. How do I add this capability? Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so. See the . Will I be able to play DVD movies from ?",
"I have some pages on my site that I want to keep search engines away from, so I disallowed them in my robots.txt file like this: User-Agent: * Disallow: /email Yet I recently noticed that Google still sometimes returns links to those pages in their search results. Why does this happen, and how can I stop it? Background: Several years ago, I made a simple web site for a club a relative of mine was involved in. They wanted to have e-mail links on their pages, so, to try and keep those e-mail addresses from ending up on too many spam lists, instead of using direct mailto: links I made those links point to a simple redirector / script running on my own site. This script would return either a 301 redirect to the actual mailto: URL, or, if it detected a suspicious access pattern, a page containing lots of random fake e-mail addresses and links to more such pages. To keep legitimate search bots away from the trap, I set up the robots.txt rule shown above, disallowing the entire space of both legit redirector links and trap pages. Just recently, however, one of the people in the club searched Google for their own name and was quite surprised when one of the results on the first page was a link to the redirector script, with a title consisting of their e-mail address followed by my name. Of course, they immediately e-mailed me and wanted to know how to get their address out of Google's index. I was quite surprised too, since I had no idea that Google would index such URLs at all, seemingly in violation of my robots.txt rule. I did manage to submit a removal request to Google, and it seems to have worked, but I'd like to know why and how Google is circumventing my robots.txt like that and how to make sure that none of the disallowed pages will show up in their search results. Ps. I actually found out a possible explanation and solution, which I'll post below, while preparing this question, but in case someone else might have the same problem. Please do feel free to post your own answers. I'd also be interested in knowing if other search engines do this too, and whether the same solutions work for them also.",
"What is a less offensive synonym for \"hypocrite\"? Is there a word that describe a person who doesn't \"practice what they preach\"? Basically, is there a synonym for \"hypocrite\" that carries less pejorative connotations? For example, let's say a friend of mine says he is a Christian. Yet he engages in behaviors considered sins by the Bible, making him a hypocrite. And I would like to tell him I think he is a hypocrite. What would be a good word to use here, so my criticism seems constructive rather than offensive? I tried using a , but the synonyms that came up were even worse (ie: they are more offensive than \"hypocrite\"). Related (but different) question: , which asks what to call someone who knows they are in the group of people they criticize.",
"pylab.ion() in python 2, matplotlib 1.1.1 and updating of the plot while the program runs",
"Is there Ubuntu's analogue of snapshot.debian.org?",
"Two \"if\"s in a row",
"Given that $a$~$\\mathcal{N}(\\mu, \\Sigma)$ and $\\mu$~$\\mathcal{N}(0, \\sigma^2 I)$, Is $p(a|\\Sigma, \\sigma)=\\int p(a|\\mu, \\Sigma)p(\\mu|\\sigma)d\\mu$ again a Normal distribution? And how to estimate the mean and variance respectively? Thanks a lot!",
"Example: I type man ls, than I want to get man only. By using !! I can get man ls but how do I get man?"
]
| medi_sts_stackexchange_dupe |
how can i read Arabic Language from phpmyadmin into html page | UTF-8 all the way through | [
"Is \"life\" a countable noun in English? I am a learner of English. Sometimes I see an article (a and the) before the noun (life) but sometimes I also see the noun without any article. So I am confused when should I use an article before the noun and when I should not. Please check the examples and let me know are they correct? Examples: His life is an awesome life. I want to get a beautiful life. I like the life he lived.",
"Any evidence that subdomain can help with domain authority and vice-versa?",
"limsup of intersection of events as a subset of intersection of limsups Let $A_1, A_2, \\ldots$ and $B_1, B_2, \\ldots$ be two sequences of events in some probability triple $(\\Omega, \\mathcal{F}, \\mathbf{P})$. Now, it is true that $\\left(\\limsup_n A_n\\right) \\cap \\left(\\limsup_n B_n\\right) \\supseteq \\limsup_n (A_n \\cap B_n)$, and I can think of many different cases where this relation holds true for equality (e.g., let $A_n = B_n$, or $A_n = B_n^c$, or $B_n = \\emptyset$, or $B_n = \\Omega$). However, I cannot think of any case where $\\left(\\limsup_n A_n\\right) \\cap \\left(\\limsup_n B_n\\right) \\supset \\limsup_n (A_n \\cap B_n)$ holds for strict inclusion. My proof for the relation is simple. Since $A_n \\cap B_n \\subseteq A_n$ and $A_n \\cap B_n \\subseteq B_n$, then we can perform some set algebra as follows: $$\\bigcup_{k=n}^\\infty (A_k \\cap B_k) \\subseteq \\bigcup_{k=n}^\\infty A_k$$ $$\\bigcap_{n=1}^\\infty \\bigcup_{k=n}^\\infty (A_k \\cap B_k) \\subseteq \\bigcap_{n=1}^\\infty \\bigcup_{k=n}^\\infty A_k$$ Then we can use the same logic for $B_n$, and come to the conclusion as stated in the beginning.",
"Any nice, stable ways to keep a window 'Always on top' on the Mac?",
"Transpose/Unzip Function (inverse of zip)? I have a list of 2-item tuples and I'd like to convert them to 2 lists where the first contains the first item in each tuple and the second list holds the second item. For example: original = [('a', 1), ('b', 2), ('c', 3), ('d', 4)] # and I want to become... result = (['a', 'b', 'c', 'd'], [1, 2, 3, 4]) Is there a builtin function that does that?",
"How to prove this limit composition theorem?",
"Will I need any Malaysian Rinngit at Kuala Lumpur airport when I'm leaving the country?",
"evaluate the limit as $x$ approaches $0$ of $(\\cos x-1)/x$ without l'Hopital's rule I know with l'Hopital's rule it becomes $-\\sin(x)$ which has the limit $0$. However, I have been wondering how to evaluate this limit without l'Hopital's rule.",
"Randomly populating procedural shape (or Image Texture) in Cycles TL;DR How to take a shape or Image Texture and multiply it with random Location, Rotation and Scale along object: Background I have created my first procedural shape on my own from this function: $(x^2 + y^2 - 1)^3 - x^2y^3 = 0$ (big yay for math idiot) Here is the result: And I want to do something useful with it. Research I've tried to find something similar over the web (this is trending right now) and I'm surprised that this question wasn't asked before or I'm looking with wrong terms. I've tried random pattern, duplicating texture, populating image, random tiles, custom tiles and such. There is a lot about tiling textures but each and every Q&A I've stumbled upon are about non overlapping ones. For example: Tryout: The only way I can think of this is to duplicate shape as a group and manually change values in Mapping Nodes: As you can see this is... Well. Bad. I've tried messing with Modulo, mixing Noise between vectors, using custom node groups for LocRotScale (thanks Gandalf) but results was none, thus nothing even to show. Question I want to populate this shape (or any other) along the object with random Location, Rotation and Scale - with control over its number/density and maybe variation strength. Edit: I'm not looking for alternative methods of creating this setup such as Particles, Image Textures generated in 3rd party software, OSL shaders (CPU only) and such. My intention is to use this in procedural texture generation in Cycles with GPU support. Blend file Nothing really needed for this question but here - have this heart from me :)",
"How can I copy/transfer games via external hard drive? I have successfully transferred \"Killing Floor\" from my brother's laptop to my own via external hard drive. The problem, now that I have all the files, is that I don't know how to launch the game through Steam. All I did was copy files from his Laptop to the hard drive, then from the hard drive to my laptop, then I put the files in the \"Steamapps\" folder under \"Steam\" in my laptops hard drive. So the question is, how do I start up the game through Steam?",
"Connected compact covering space of torus is homeomorphic to $S^1\\times S^1$",
"Allow setuid on shell scripts The setuid permission bit tells Linux to run a program with the effective user id of the owner instead of the executor: > cat setuid-test.c #include <stdio.h> #include <unistd.h> int main(int argc, char** argv) { printf(\"%d\", geteuid()); return 0; } > gcc -o setuid-test setuid-test.c > ./setuid-test 1000 > sudo chown nobody ./setuid-test; sudo chmod +s ./setuid-test > ./setuid-test 65534 However, this only applies to executables; shell scripts ignore the setuid bit: > cat setuid-test2 #!/bin/bash id -u > ./setuid-test2 1000 > sudo chown nobody ./setuid-test2; sudo chmod +s ./setuid-test2 > ./setuid-test2 1000 Wikipedia : Due to the increased likelihood of security flaws, many operating systems ignore the setuid attribute when applied to executable shell scripts. Assuming I'm willing to accept those risks, is there any way to tell Linux to treat the setuid bit the same on shell scripts as it does on executables? If not, is there a common workaround for this problem? My current solution is to add a sudoers entry to allow ALL to run a given script as the user I want it run as, with NOPASSWD to avoid the password prompt. The main downsides to that is the need for a sudoers entry every time I want to do this, and the need for the caller to sudo some-script instead of just some-script",
"I’ve had a good look and can’t seem to find out how to select all elements matching certain classes in one jQuery selector statement such as this: $('.myClass', '.myOtherClass').removeClass('theclass'); Any ideas on how to achieve this? The only other option is to do $('.myClass').removeClass('theclass'); $('.myOtherClass').removeClass('theclass'); But I’m doing this with quite a few classes, so it requires much code.",
"Why are two permutations conjugate iff they have the same cycle structure?",
"Is there a way to run Python on Android?",
"How to check if a column exists in a SQL Server table? I need to add a specific column if it does not exist. I have something like the following, but it always returns false: IF EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'myTableName' AND COLUMN_NAME = 'myColumnName') How can I check if a column exists in a table of the SQL Server database?",
"Getting / setting file owner in C#",
"I am using Google Spreadsheets to create a matrix (time/activity) as a daily schedule for staff to sign into. Is there a formula to calculate the number of cells in a column that are shaded (or not shaded) a certain color? For example: 20 of the cells are gray and 31 are not gray (shaded any other color) and instead of manually counting them, it calculates this at the bottom of reach column.",
"I saw this question but it doesn't have a full solution. What is the full solution to the 99 bottles of beer on the wall for Vim adventures? Context: for the sake of being a good SO member I will give more details but a full solution will answer my question. It seems from reading the other post that my register is incorrect for some reason. I can't get the <NL>. I think that's the issue since pasting won't work...",
"What happens with the force of gravity when the distance between two objects is 0? so I had my first approximation to the gravity equation \\begin{equation} F=GmM/r^2 \\end{equation} and some questions arose that my teacher couldnt respond: if r approximates to 0 with mM being constant, then the force should tend to infinity, right? so that being true, then if we would travel to the center of the earth, we would be crushed by gravity? if so, how can there be anything right in the center of the earth? wouldnt anything there be compressed and destroyed by the infinite force? having that in mind, my next question is as gravity force is measured from the center of an object, any part of the same object which is not at the center would be affected by the same object's gravity? if so, how can we differentiate between two objects that are not in a vacuum? my question originated thinking in us standing on the earth, in contact with it, are we, in a gravitational sense, one object? this lead to the last question, if gravity is a property of matter, then how applying the same logic as before, how does it work between two neutrons?(chose neutrons because i assumed it would be more difficult obtaining gravitational force if there was electrostatic forces from charges inbetween) do two newtrons in contact count as 1 gravitational object? and how thats its own gravity affect the newtron from center and out?"
]
| medi_sts_stackexchange_dupe |
Is the exchange of momentum between two interacting objects always the same? | Deriving Newton's Third Law from homogeneity of 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?",
"The entire answer is moving when hovering the bounty button It's just a minor CSS issue. See the following gif:",
"Is there a 'rule of thumb' on the upper limit of how many related records in related objects an object should have to avoid slow page loading? Typically, each record in Salesforce will be 2kb large: . However, let's say in an extreme example, the Opportunity object is related to 40 custom objects, each which has 100,000 records. The page would load much slower, especially in an older browser version. 1) Is there a 'rule of thumb' as to what the upper limit of how many related records an object should have? 2) Also, , there's an indication that there's some sort of tier-tuning per org based on the volume of data it has. Is that correct? And if so, are the volume ranges and respective tier-tuning capacity available?",
"Python: list items are not changed in for loop",
"Closed-Form Solution to Infinite Sum",
"I often hear about subatomic particles having a property called \"spin\" but also that it doesn't actually relate to spinning about an axis like you would think. Which particles have spin? What does spin mean if not an actual spinning motion?",
"Why would a company care about the price of its own shares in the stock market?",
"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?",
"How to prevent nginx redirecting from HTTPS to HTTP on AWS? I have a website served by nginx behind an AWS ELB Load Balancer. Only HTTPS is enabled on the load balancer. Requesting individual files, or directories with a trailing slash, work fine. However, requesting directories without a trailing slash don't work. The reason is, when I request the directory without the trailing slash, nginx does a redirect to the path with the trailing slash (that's OK), but it also changes from HTTPS to HTTP. The load balancer is configured to only allow HTTPS, so that doesn't work (timeout). On the nginx logfile, I can see that the request reaches nginx, and that it's nginx that responds with the 301 Permanent Redirect (so it's not e.g. a problem with the load balancer setup). 10.100.10.15 - - [24/Nov/2017:15:41:08 +0000] \"GET /admin HTTP/1.1\" 301 178 \"-\" \"Wget/1.18 (darwin16.0.0)\" When I request the URL via curl I see the redirect: $ curl -v https://example.com/admin * Trying 1.2.3.4... * TCP_NODELAY set * Connected to example.com (1.2.3.4) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: example.com * Server certificate: Amazon * Server certificate: Amazon Root CA 1 * Server certificate: Starfield Services Root Certificate Authority - G2 > GET /admin HTTP/1.1 > Host: example.com > User-Agent: curl/7.54.0 > Accept: */* > < HTTP/1.1 301 Moved Permanently < Date: Mon, 27 Nov 2017 09:19:05 GMT < Content-Type: text/html < Content-Length: 178 < Connection: keep-alive < Server: nginx < Location: http://example.com/admin/ < X-UA-Compatible: IE=Edge < <html> <head><title>301 Moved Permanently</title></head> <body bgcolor=\"white\"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> * Connection #0 to host example.com left intact My nginx config file is just server { root /var/www; } The /etc/nginx/nginx.conf is . I have tried server_name_in_redirect off but it did not make any difference. I would like to avoid putting the hostname in the config file, because this is packed into a Docker image which is then deployed on different hosts (QA, Prod, etc.). I would like nginx to do this redirect, but stay on HTTPS. What can I do?",
"Strange bug with \"MessageName[a,b] is not of the form symbol::name \", Debugger & cursor location",
"How to fetch the columns of the synonyms for linked servers in SQL server I am using two servers local (SQL Server running on my system) and remote (SQL Server running on another system). I have created synonyms in my local server for a table which is located on the remote server. Synonym used- CREATE SYNONYM [dbo].[test] FOR remoteserver_name .[database_name].[schema_name].object_name Requirement I need to fetch the columns of the synonym. I can retrieve the columns of the synonym using below query in SQL server. select * from dbo.test where dbo is synonym created schema name (local server schema name) and test is synonym name. I have tried to retrieve the columns of the synonyms using below query, but I cannot fetch the columns SELECT sys.schemas.name AS SCHEMA_NAME, sys.synonyms.name AS view_name, sys.columns.name AS COL_NAME, sys.types.name AS data_typename FROM sys.columns INNER JOIN sys.synonyms ON OBJECT_ID(sys.synonyms.base_object_name) = sys.columns.object_id INNER JOIN sys.schemas ON sys.schemas.schema_id = sys.synonyms.schema_id LEFT OUTER JOIN sys.types ON sys.columns.system_type_id = sys.types.system_type_id WHERE sys.types.system_type_id = sys.types.user_type_id AND sys.schemas.name = N'scehmaname' AND sys.synonyms.name = N'synonymname' Can you please suggest some other way to retrieve the columns of the synonym or correct the above query?",
"Why couldn't Bond have backup at the battle of Skyfall? I think I am missing a key plot point here. Bond had to fake-kidnap M and bring her to Skyfall in order to lure Silva there for one last stand. Why did this have to be a secret from his colleagues at MI6? Why couldn't there have been other agents there to help defend the house and take down Silva? Also, why did he have to have Q lay a fake trail to get Silva to follow him to Skyfall when he was actually going there, and he wanted Silva to follow him?",
"What are logic gates? So from what I understand transistors are one of the most important electronic elements for computers because of TTL (Transistors-Transistors Logic). Is this true? If so, how exactly does this work? I have heard the terms \"logic gate\" and \"logic block\" tossed around.",
"Nesting block level elements inside the tag... right or wrong?",
"I'm trying to wrap my head around this for a while now. It's a simple question for what I think will be a not so simple answer. How would you go about modeling one leg of this stool? I would like to do it without using sculpt mode because I can't get things quite clean enough.",
"The following code number=1 if [[ $number =~ [0-9] ]] then echo matched fi works. If I try to use quotes in the regex, however, it stops: number=1 if [[ $number =~ \"[0-9]\" ]] then echo matched fi I tried \"\\[0-9\\]\", too. What am I missing? Funnily enough, suggests this should work. Bash version 3.2.39.",
"I want to compute the Galois group of some polynomials, but I want to see some examples first. For example this proposition could be helpful. I don't know how to prove it <.< Let's consider a polynomial $f(x)= x^4+ax^2+b \\in \\mathbb{Z} $. Let $ \\pm\\alpha , \\pm\\beta$ denote the roots of $f(x)$. Note that $f$ is irreducible iff $\\alpha^2, \\alpha\\pm\\beta \\notin \\mathbb{Q}$. So let's suppose that $f(x)$ is irreducible. Let's denote $G$ the galois group of $f$ (the Galois group of the splitting field $\\mathbb{Q}(\\alpha,\\beta)/\\mathbb{Q}$) $i)$ $G\\cong V$ the Klein 4-group iff $\\alpha\\beta \\in \\mathbb{Q}$ $ii)$ $G\\cong \\mathbb{Z}_4$ iff $\\mathbb{Q}(\\alpha\\beta)=\\mathbb{Q}(\\alpha^2)$ $iii)$ $G\\cong D_8$ the dihedral group of order 8, iff $\\alpha\\beta \\notin \\mathbb{Q}(\\alpha^2)$ I need help with the proofs of this propositions... Well I'm very lost with the computation of Galois group, some care must be exercised, I don't have it. For example I know that Galois group acts transitively, in the sense that $u\\in K/F$ a galois extension, the other roots of the minimal polynomial of $m_u(x)\\in F[x]$ are precisely the elements $ \\sigma(u)$ , where $\\sigma \\in Gal(K/F)$. And clearly any automorphism, is determined by only the value of a basis. In this case we are working on $\\mathbb{Q}(\\alpha,\\beta)$, so I have to know the values of both. But I have to respect the algebraic relations involving $\\alpha , \\beta$ I proved that in $i),ii)$ $\\mathbb{Q}(\\alpha,\\beta) = \\mathbb{Q}(\\alpha) $ So I have to know the values on $\\alpha$. My first question is: If in both cases $i),ii)$, I have an extension of degree 4 (so $|G|=4$) I have to map $\\alpha$ to determine the automorphism, but I have also to map $\\alpha$ to all of it's four roots. Why the galois group in this case are different? My second question is about $iii)$ I have no idea How to attack it.",
"I'm writing a sports management simulation game. Like most sport management games, it makes heavy use of statistics. I would like to use real players, teams and league names. i) Am I running the risk of getting into legal battles if I should use the real names? ii) Also what about team colours and emblems etc? Update Much thanks for all the input!",
"When a 0-1-matrix with exactly two 1’s on each column and on each row is non-degenerated? [1]",
"Logins with only HTTP - are they as insecure as I'm thinking? Recently I was thinking about how websites like gmail and amazon use HTTPS during the login process when accessing your account. This makes sense, obviously, since you're typing in your account username and password and you would want that to be secure. However, on Facebook, among countless other websites, their logins are done with simple HTTP. Doesn't that mean that my login name and password are completely unencrypted? Which, even worse, means that all those people who login to their facebooks (or similar sites) at a wifi hotspot in public are susceptible to anyone getting their credentials using a simple packet sniffer (or something similar)? Is it really that easy? Or am I misunderstanding internet security? I'm a software engineer working on some web related stuff, and although at the current time I'm not too involved with the security aspect of our software, I knew I should probably know the answer to this question, since it's extremely fundamental to website security. Thanks!"
]
| medi_sts_stackexchange_dupe |
Gradient of $x^{T}Ax$ | How to take the gradient of the quadratic form? | [
"All I want to see are the specs Is there a way to see the processor and speed of a Cisco UCS B230 Blade Server without the enclosure that runs it? The enclosure that we have does not power on and all I need is to see what cpu and processor speed is in it.",
"I'm having trouble understanding the wording of one of my homework questions. Since this question appears early in the chapter, I have a feeling that I'm misinterpreting it. Give a finite automaton that that accepts the following language: The language over $\\{a, b\\}$ of any even number of $a$'s and any odd number of $b$'s. I'm having trouble with the usage of \"and\". Is it asking for an FA that accepts any string that is either an even number of $a$'s or an odd number of $b$'s, e.g. $aa$, $bbb$, $aaaa$, etc, but not accept strings like $aabbb$, $abbab$. Or, is it asking for an FA that accepts any string that contains an even number of $a$'s or an odd number of $b$'s, e.g. $aabbb$, $ababb$, etc. The first case is relatively simple, but I've been struggling with the second. I haven't even managed to convince myself that it is a regular language (because I haven't been able to come up with a regular expression that matches it). My questions: Which interpretation seems most likely. Is the second case a regular language, if so, give a regular expression that recognizes it.",
"How to favorite a question from Android app?",
"Why do different wavelength get impeded more or less when in different materials? Moving with the same speed, but a longer physical distance would imply that the fields oscillate less times in the material, but I don't know why a difference in the number of oscillations would impede the wave- I don't even know why things slow down in general. Why some electromagnetic wave would slow down just because it's entering other electromagnetic fields... It would seem to me that the only factor would be time taken to physically move some electron or something in the direction of the fields... But that seems to simple of an explanation to me.",
"when calling SCP in PuTTY on my Win7 box, it doesn't let me use C:/, but I also have no idea where on my local machine it will look for files by default. None of program directory or user directory worked. For example, I saved file.txt next to PuTTY.exe, and also in C:\\Users\\Me but calling SCP file.txt file.txt in PuTTY failed both times with cp: cannot stat 'file.txt' So, how do I transfer a file to my server using PuTTY? EDIT: Also, calling SCP file.txt myserver:file.txt gives a similar error: file.txt: No such file or directory",
"I'm not able to get access to $wpdb",
"How can I disable a USB port in Windows XP to make it available only for smart phone battery charging? I don’t want the users to be able to see the USB drive in My Computer, and the USB device should stay disabled in Device Manager. Is there any way to accomplish this?",
"Stack Overflow has left!",
"A lot of my scripts stopped working after installing Ubuntu 15.10 and I have trouble remembering this new name as I was used to ethx and wlanx for years. Is there a reason for this change? Do I have to get used to this or can I just rename it and go back to good old eth0? $ ifconfig enp0s25 Link encap:Ethernet HWaddr 77:5a:5e:a6:86:d5 inet addr:192.168.31.239 Bcast:192.168.31.255 Mask:255.255.255.0 inet6 addr: fe80::725a:b6ff:fea6:86d7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4833 errors:1332 dropped:0 overruns:0 frame:666 TX packets:5589 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3266446 (3.2 MB) TX bytes:1046654 (1.0 MB) Interrupt:20 Memory:d3500000-d3520000",
"Replace a xtick by a letter in Tikz",
"How to show $f'(0)$ exist and is equal to $1$?",
"How do I root my Nexus 7? I am wanting to gain root privileges on my Google Nexus 7 tablet, running Android 4.1-4.2.1. How can I do this?",
"Plotting a Continuous signal",
"For $x,y\\in\\mathbb{N}$ how many ordered pairs $\\left(x,y\\right)$ satisfy $\\dfrac{1}{x}+\\dfrac{1}{y}=\\dfrac{1}{pq}$ where $p,q$ are distinct primes?",
"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?",
"Markdown in chat fails for multi-line messages",
"If Z is a square integrable random variable such that $E[Z]>0$, then prove that $$P(Z\\geq k) \\geq \\frac{(E(Z)-k)^2}{E(Z^2)} \\forall k \\in [0,E(Z)]. $$ This is a homework question and I don't even understand why the inequality is reversed comparing to Markov/Chebychev inequality. Should Cauchy-Schwartz inequality be used? If yes, then how to begin? Thanks a ton!",
"Embedding a link (or other html) in a JSF message",
"How to revert uncommitted changes including files and folders?",
"How to open Nautilus at current command line directory? I was wondering if anybody knew a command that would allow me to open a Nautilus (if that's the right name for the Ubuntu graphic/window explorer) window from the command line at the current directory that the user is at. So, if I open a command line, and type: cd /home/myUser/some/long/path/to/a/directory Then, I'd like to be able to issue some command: nautilus open-sesame And have a graphic window opened to /home/myUser/some/long/path/to/a/directory. Is this even possible?"
]
| medi_sts_stackexchange_dupe |
Declining use of such phrases as to be | Central Pennsylvanian English speakers: what are the limitations on the "needs washed" construction? | [
"Separate selected UV map vertices from surrounding vertices How do I break the selected UV map from its surrounding vertices?",
"How to add a Skype indicator?",
"How to text-to-speech output using command-line? How to get speech output from entered text by using command-line? Also facility to change speech rate, pitch, volume etc using simple command.",
"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:",
"Biometrika journal style file not getting along with TeXLive-2020 I cannot compile styleguide.tex in biometrika.zip (see ). Here is a MWE which leads to the same error message, though not sure yet that I've not tossed baby out with bath water. \\documentclass{article} \\RequirePackage[thmmarks]{ntheorem} \\makeatletter \\def\\arabic#1{{\\rm\\expandafter\\@arabic\\csname c@#1\\endcsname}} \\theoremnumbering{arabic} \\newtheorem{definition}{Definition} \\makeatother \\begin{document} \\begin{definition} This is a definition. \\end{definition} \\end{document} Here is the output of pdflatex: % pdflatex styleguide This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex) restricted \\write18 enabled. entering extended mode (./styleguide.tex LaTeX2e <2020-02-02> patch level 5 L3 programming layer <2020-03-06> (/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls Document Class: article 2019/12/20 v1.4l Standard LaTeX document class (/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo)) (./ntheorem.sty Style `ntheorem', Version 1.24 <2004/09/20> ) (/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def ) (./styleguide.aux) ! Use of \\@item doesn't match its definition. \\update@series@target@value #1->\\def \\reserved@a { #1}\\ifx \\target@meta@famil... l.13 T his is a definition. ? q OK, entering \\batchmode",
"Schengen visa refusal on threat to public policy, security, health I applied for German Schengen visa as a medical escort to my relative in a different country from where I reside, but my visa application was refused and the refusal letter was written in German as the following: Ein oder mehrere Mitgliedstaaten sind der Auffassung, dass Sie eine Gefahr für die öffentliche Ordnung, die innere Sicherheit, die öffentliche Gesundheit gemäß Artikel 2 Absatz 19 der Verordnung (EG) Nr 562/2006 (Schengener Grenzkodex) oder die internationalen Beziehungen eines oder mehrerer Mitgliedstaaten darstellen. I was in Germany for nearly a year with my relative during his treatment; I extended my stay there 3 times; and I returned back home two months ago in order to renew my passport. I applied again using the same documents that I used for my extension in Germany. First, can anyone tell me what the refusal means? Next, is there any possibility that there is a mistake in the assessment? Note: In English this reason is... One or more member state(s) consider you to be a threat to public policy, internal security, public health as defined in Article 2(19) of Regulation (EC) No 562/2006 (Schengen Borders Code) or the international relations of one or more of the member states).",
"Checking incoming call in iphone",
"In the construction of types of numbers, we have the following sequence: $$\\mathbb{R} \\subset \\mathbb{C} \\subset \\mathbb{H} \\subset \\mathbb{O} \\subset \\mathbb{S}$$ or: $$2^0 \\mathrm{-ions} \\subset 2^1 \\mathrm{-ions} \\subset 2^2 \\mathrm{-ions} \\subset 2^3 \\mathrm{-ions} \\subset 2^4 \\mathrm{-ions} $$ or: \"Reals\" $\\subset$ \"Complex\" $\\subset$ \"Quaternions\" $\\subset$ \"Octonions\" $\\subset$ \"Sedenions\" With the following \"properties\": From $\\mathbb{R}$ to $\\mathbb{C}$ you gain \"algebraic-closure\"-ness (but you throw away ordering). From $\\mathbb{C}$ to $\\mathbb{H}$ we throw away commutativity. From $\\mathbb{H}$ to $\\mathbb{O}$ we throw away associativity. From $\\mathbb{O}$ to $\\mathbb{S}$ we throw away multiplicative normedness. The question is, what lies on the right side of $\\mathbb{S}$, and what do you lose when you go from $\\mathbb{S}$ to one of these objects ?",
"Automatically convert quotations in the form of \"abc\" to become ``abc\" I did not know that latex had different symbol for opening and closing quotation marks. I've used it like \"abc\" every where and just realised that I really should have used ``abc\". Is there anyway I can convert all the quotations to become like ``abc\"? Doing it manually will take forever as I have a lot of quotations.",
"What is the best way to give a C# auto-property an initial value? How do you give a C# auto-property an initial value? I either use the constructor, or revert to the old syntax. Using the Constructor: class Person { public Person() { Name = \"Initial Name\"; } public string Name { get; set; } } Using normal property syntax (with an initial value) private string name = \"Initial Name\"; public string Name { get { return name; } set { name = value; } } Is there a better way?",
"How do I write a cpp macro which expands to include newlines?",
"I have brand new machine. I want to install Ubuntu and one more Linux distributions on same machine. When the machine is up I want to have the option to choose which Linux to load. Is it possible? How to do it?",
"EL expressions not evaluated in JSP",
"link new object to scene with python in 2.8 In Python 2.8, I would like to create copies of the object 'CubeTemplate' but am having no luck. I have reviewed every blender.stackexchange post on this subject (, , and ) but cannot get them to work - either they don't apply or the sample code throws errors (perhaps because it was pre 2.8). The code below throws this error: AttributeError: 'bpy_prop_collection' object has no attribute 'link' for x in range(1, 3): bpy.data.objects['CubeTemplate'].select_set(True) bpy.context.view_layer.objects.active = bpy.data.objects['CubeTemplate'] me = bpy.context.object.data # use current object's data me_copy = me.copy() ob = bpy.data.objects.new('CubeCopy'+str(x), me_copy) ob.location = (0, 0, x) scene = bpy.context.scene scene.objects.link(ob) scene.update()",
"CSS: Special Fluid Layout Problems",
"I'm looking for an idiom or saying that I could use when people are focusing too much on small details and not seeing the big picture. A couple that come to mind are \"being penny-wise and pound foolish\" and \"rearranging deck chairs on the Titanic\". However, the former doesn't fit what I'm thinking of because the present activity might not be wise. The latter implies too much about impending doom. For example, let's say some company is spending all their time refining a small detail in their product, while ignoring a major opportunity shift in the industry. What phrase could I use there?",
"Encopresis: how can we encourage our child to clean himself or ask for help immediately instead of ignoring the dirty underwear?",
"Any chance of MathJax in chat? It would be really nice to be able to use MathJaX (math formulas) in chat. Not specially for formulae, but for things like $V_{CC}$ in electronics chat would be very useful.",
"I have a long-running Python server and would like to be able to upgrade a service without restarting the server. What's the best way do do this? if foo.py has changed: unimport foo <-- How do I do this? import foo myfoo = foo.Foo()",
"To be honest I find it hard to keep up with all the changes, and very frequently I have to go look at the privileges list to see whether a user (that I'm looking at, so I have his reputation value) has a certain privilege or not. However, I still don't know what that user will actually see or how the site actually behaves for that user. There's quite a number of posts here on meta about \"where did this go\" and \"why can't I\" and I can't really tell either way how a site behaves for a user with a reputation level of 2500. So, I propose the following functionality: For all users, be able to view the site as though you had less reputation than you actually have Bonus-feature: For all users, be able to use the site at that reputation level, unless some features of low-level users conflict with your actual functionality For mods, be able to view the site as a specific users (be able to see all he sees, exactly the way he sees it), but of course not pose as that user (ie. things I do would still be me) The UI could be merged into the mod menu and the privileges menu: (Note, I chose a user randomly, Olivier Pons is in no way related to this question or flags, or whatever that I know of.)"
]
| medi_sts_stackexchange_dupe |
Blender 2.8 RC2 Outliner restrict icons | Where are the outliner toggles in 2.8? | [
"TeX editor with line-spacing preferences",
"\"All X\" vs. \"all of X\" vs. \"all the X\" Is there any difference between \"all X\", \"all of the X\", \"all the X\"? E.g., all friends all of the friends all the friends",
"What is a use case where one would use an SObject as a Map key?",
"Decode escaped Url without using HttpUtility.UrlDecode",
"I was wondering if $\\mathbf{A}\\times\\mathbf{C}=\\mathbf{B}$ and $\\mathbf{A}\\cdot{\\mathbf{C}}= p$, is it possible to express C in terms of A, B, and p? Note: A, B, C are vectors and p is a scalar. Sorry if this question has been asked before. If so, can anyone give me a link to it?",
"I have the string a.b.c.d I want to count the occurrences of '.' in an idiomatic way, preferably a one-liner. (Previously I had expressed this constraint as \"without a loop\", in case you're wondering why everyone's trying to answer without using a loop).",
"Questions about setting environment variables the PATH are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for this. So the question is: What are environment variables, like the executable PATH, and how can I change and use them on major operating systems? A good answer would include a simple explanation of what environment variables and especially PATH mean to the OS, as well as simple guidelines on how to set and read them accordingly.",
"What solutions does the equation $4x\\equiv2\\mod10$ have? (Hint, it will have more that one.) What about solutions to an equation $ax\\equiv d\\mod n$, where $d=\\gcd(a,n)$? This is the question that appeared in our universities last year paper. But it seems very difficult for me like for first part I am able to solve by simplifications I got $x=5\\cdot Z +3$ as solution which makes sense and seems fair but for the second one, I have no idea how can I approach that. Can you please help me out with that one. I tried to simplify that by using Euclidean algorithm but still, I didn't get any idea that what actually the solution will be. My final exam is on 2nd of next month and because of covid I am unable to contact in person for any help. So any help from this site will be appreciated. Thank you for looking at this question!",
"Why do two bodies of different masses fall at the same rate (in the absence of air resistance)? I'm far from being a physics expert and figured this would be a good place to ask a beginner question that has been confusing me for some time. According to Galileo, two bodies of different masses, dropped from the same height, will touch the floor at the same time in the absence of air resistance. BUT Newton's second law states that $a = F/m$, with $a$ the acceleration of a particle, $m$ its mass and $F$ the sum of forces applied to it. I understand that acceleration represents a variation of velocity and velocity represents a variation of position. I don't comprehend why the mass, which is seemingly affecting the acceleration, does not affect the \"time of impact\". Can someone explain this to me? I feel pretty dumb right now :)",
"Converting a system command to python for file search and delete",
"Find minimum value of $\\sum \\frac{\\sqrt{a}}{\\sqrt{b}+\\sqrt{c}-\\sqrt{a}}$",
"Compiling a document with PGFplots processing only every x-th data point?",
"How to break out of multiple loops? Given the following code (that doesn't work): while True: #snip: print out current state while True: ok = get_input(\"Is this ok? (y/n)\") if ok.lower() == \"y\": break 2 #this doesn't work :( if ok.lower() == \"n\": break #do more processing with menus and stuff Is there a way to make this work? Or do I have do one check to break out of the input loop, then another, more limited, check in the outside loop to break out all together if the user is satisfied?",
"Does the mass of a battery change when charged/discharged? If so, how much? Is it possible to detect it, or is it beyond any measurement? I'd say there are two possible scenarios (depending on the battery type) and both seem interesting: The battery reacts chemically with its environment. The battery doesn't exchange any matter with its environment except electrons. I suppose there should be some difference at least due to the principle of energy-matter equivalence, but the difference is most likely immeasurable.",
"I am aware that the \"Eye of Sauron\" in Peter Jackson's movies was not Sauron's actual physical form. What the answers at '' don't indicate is, despite this, what abilities of vision Sauron may have had. Did he have the ability to see from afar? If so, what are his limitations or details of this power? Is it some kind of Elvish-sight like Legolas but stronger? Was it a magical power? Or perhaps with the help of the Palantir (I'm not sure of this last one because I dont remember if the Palantir could only see what other Palantíri were seeing or anything he wanted)?",
"I ran dolphin like this: dolphin . & I see messages in the console like these: QPixmap::scaled: Pixmap is a null pixmap How can I keep the console clean or silent?",
"Integrate $\\int_0^{\\pi/2} \\frac{1}{1+\\tan^\\alpha{x}}\\,\\mathrm{d}x$ Evaluate the integral $$\\int_0^{\\pi/2} \\frac{1}{1+\\tan^\\alpha{x}}\\,\\mathrm{d}x$$",
"AES plaintext is smaller than 128 bits - how to expand? We are currently developing a little AES implementation in a crypto-course at university. As far as I know, AES uses a 128 bit block length, so all data that will be encrypted gets split up into blocks of 128 bits (16 bytes) into a 2d-array (or 1d in implementation) with 4 × 4 fields. I was wondering and didn't find out what to do if the entered string to encrypt is not 128 bits long? The question is going further by thinking that there will never be exactly n × 128 bits of data to encrypt. For a smaller key given by the user (e.g. \"test\") I know there is a key expansion algorithm defined. But what should be done for data that is less than 128 bits?",
"Is there any evolutionary/physiological advantage to multi-lateral symmetry? Just wondering ; I get the impression a large number of multicellular organisms are multi-lateral in their physical structure. Why would evolution/mutation have retained multi-lateral symmetry in an organism? What advantage/s does symmetry provide an organism? EDIT: By multi-lateral symmetry I mean at-least bi-lateral symmetry (as in the case of many beings such as elephants, crabs and fishes), but perhaps more than bi-lateral too (starfish come to mind) END EDIT:",
"biblatex: \\parencite in note field prints spurious ; with authoryear-icomp style"
]
| medi_sts_stackexchange_dupe |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.