query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
sequencelengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
bash: how to save state on prompt evaluation | Stateful bash function | [
"Refresh a section after adding HTML dynamically to jquery mobile",
"bash - problems reading text file and printing line by line",
"In the King James version of the Bible there is a verse like this: The Lord is my strength, and my fortress, and my song. And He is become my salvation. Is it still feasible to use \"is become\" instead of \"has become\" and what is the semantic difference?",
"Can I travel to Australia in less than 2 weeks if I transfer my visa to my new passport? I transferred my visa to my new passport and it’s saying it takes 2 weeks to come, my flight is Sunday I arrive in Sydney Monday at night, I still have my old passport! If I bring that will they let me go into the country because my new one literally arrived two days ago! And the visa will be transferred in 2 weeks! Will I have to push my flight or will I be left?",
"How do I bake chocolate chip cookies like Subway? I want a chocolate chip cookie like the ones Subway has. Those cookies have a smooth top and chewy texture. I have a recipe for 3/4 cup fat, 0.5 cup sugar 0,5 cup brown sugar, 3/4 cup flour, 1 egg, 2 tsp extract. I get a semi stiff dough, but also an airy cookie, not as dense like Subway. I use room temperature margarine. I have tried to bake cookies with 2 eggs and with 1 egg, but they always come out wrinkly on top, not as stiff. Is it possible that using an egg and a yolk would work? (But wouldn't that waste a lot of whites if that's how they do it?) I think as part of this I want a stiff dough, that'll leave the bowl clean, to minimize spread and keep the tops from getting wrinkly as stiffness will keep the the cookies from expanding and contracting. Is that true? If so, I'm afraid that if I add more flour to stiffen the dough will make the cookies cakey - is that the case? How would I avoid that?",
"A virtual file containing the concatenation of other files Is there a way of creating a filesystem object akin to this: mknod files p cat file1 file2 ... fileN > files but such that it can be seeked in, as if it were a regular file?",
"Does transparency work in eevee I have been trying to create a transparent lens using the eevee rendering engine in 2.8 but the transparency slider has no effect. Has this feature not been implemented yet? I've looked all over the Web for an answer with no luck. I'm a noobee so am probably doing something wrong.",
"Swing's KeyListener and multiple keys pressed at the same time",
"By default after a new user signs up, a redirect to the home page happens. But in such case I want to redirect such user to another page like node/35. In this node/35 I then want to display some content.",
"What is the rough estimate of salary value for a taxpayer to pay AMT? For US federal tax, whether a taxpayer is subject to AMT is determined by a complicated way in Instructions for Form 1040, Line 45, which involves an incomprehensible \"worksheet to see if you should fill in form 6251\". By simplification and approximation, is there a rule of thumb for an estimate of a salary value of a taxpayer, so that a salary above the value might cause the taxpayer to pay AMT with a big possibility, and a salary below the value might not with a big possibility? Why do the following two sources seem to differ greatly in estimates of the boundary salary value: says that the possible boundary salary value for a single taxpayer to pay AMT is $53,900. says that Taxpayers with small incomes fall within the AMT exemption limits. That leaves the upper middle class to face the tax, especially those with incomes between $200,000 and $500,000 Thanks.",
"Movie: Creature crawls out of its current hosts mouth into next hosts mouth",
"UV Unwrapping a Modified Model I modified an existing model by removing unwanted vertices, then selecting surrounding vertices and creating faces one triangle at a time (By pressing 'F'). On UV unwrapping the mesh, the faces which were added by me seem to stretch from the very bottom left of the map, shown below. How do I create a face so it appears on the UV map as expected?",
"i would like to know how to prove that if $a^2+b^2=c^2$ then a) $3|a$ or $3|b$ b) $5|a$ or $5|b$ or $5|c$ c) $4|a$ or $4|b$ Also that $a^2+b^2+c^2+1$ can't be divisible by 8 Thank you very much!",
"CaseComment and CaseHistory relatedlist in visualforce page I want to add CaseComment and CaseHistory related list to my visualforce page. <apex:relatedList list=\" \" /> What should be the value for List attribute in the code defined above. When I added <apex:relatedList list=\"CaseHistory\" /> 'Histories' is also not working <apex:relatedList list=\"CaseComment\" /> 'CaseComments' is also not working I get errors saying they are not valid child relationship name for entity Case. Please help me out on this issue.",
"Where do students who don't get into Hogwarts go?",
"Modernist Cuisine recommends that for longer sous vide cooking (times greater than 36 hours) that bags are vacuum sealed rather than just using the water displacement method to remove the air from a ziploc bag. What is the reason for this? Will I be losing something essential if I just use a regular ziploc bag without vacuum sealing?",
"How to show that any separable space is CCC",
"Using echo \"20+5\" literally produces the text \"20+5\". What command can I use to get the numeric sum, 25 in this case? Also, what's the easiest way to do it just using bash for floating point? For example, echo $((3224/3807.0)) prints 0 :(. I am looking for answers using either the basic command shell ('command line') itself or through using languages that are available from the command line.",
"How do I install make?",
"Why isn't $\\lim \\limits_{x\\to\\infty}\\left(1+\\frac{1}{x}\\right)^{x}$ equal to $1$?"
] | medi_sts_stackexchange_dupe |
Failure on bootmgfw.efi after restoring GRUB EFI | Unable to boot into Windows after installing Ubuntu, how to fix? | [
"How do I create files using the lines in a .txt file? For example I have a file called fileNames.txt. cat >fileNames returns abet able abacus How do I use fileNames to create abet, able, and abacus as .txt files? I tried using pipes with cat and touch.",
"In how many ways can $500$ indistinguishable students select books from $10$ titles if no more than $20$ copies of one particular text are selected? Assume that there are an arbitrarily large number of copies of ten different discrete math books (which we will call titles) for cmsc250. Each student must choose one title as the course text book. Assume that the five hundred students taking the course are indistiguishable. How many different ways can the students choose titles, if Epp must be chosen by at most twenty students? I understand that this is a stars and bars problem where the formula would be ${n+r-1}\\choose{r-1}$, but whats throwing me off is the \"at most\" parameter of the problem. My answer is ${480+9-1}\\choose{9-1}$ My reasoning was that we now have one less \"bar\", and that should be shown by lowering $r$ by 1 Am I approaching this the right way?",
"How can I get the current working directory? I want to have a script that takes the current working directory to a variable. The section that needs the directory is like this dir = pwd. It just prints pwd how do I get the current working directory into a variable?",
"Can you reuse marinade used with raw chicken? I marinated chicken a couple weeks ago, and stored the marinade afterwards in a jar. Can it be reused, or is that dangerous? I've been told conflicting stories here. The marinade is mostly teriyaki if that makes a difference. Intended use of used marinade: Marinate chicken which will then be cooked in the oven. It will not be used with anything that won't be cooked (like a sauce).",
"What's a word like \"disregard\" or \"bypass\" that means \"hides\"?",
"Batch files: How to read a file?",
"$\\mathbb Z[1/2]$ is not finitely generated ? Maybe I misunderstood, what finitely generated means. it says, we need finitely many elements and I think $1$ and $1/2$ suffices as generators. But , at the end of Proposition $5.1.4$, from the fact that $\\mathbb Z[1/2]$ is not finitely generated it is concluded that $1/2$ is not integral.",
"Let $N$ be a normal subgroup of $G$. Let $G/N = \\{gN : g \\in G \\}$. Show that the $(G/N, \\circ, 1_{G/N})$ is a group, where: $\\circ : G/N \\times G/N \\rightarrow G/N$ is defined by $(gN \\circ hN) = ghN$ and $1_{G/N} = 1*N$. Thanks for your help.",
"How to open the default webbrowser using java",
"How do you empty the buffers and cache on a Linux system? Prior to doing some benchmarking work how would one free up the memory (RAM) that the Linux Kernel is consuming for its buffers and cache? Note that this is mostly useful for benchmarking. Emptying the buffers and cache reduces performance! If you're here because you thought that freeing buffers and cache was a positive thing, go and read . The short story: free memory is unused memory is wasted memory.",
"How to merge partitions? I have two partitions, one of them has a file system and the other is unallocated. How to merge two partitions?",
"Layover at Dusseldorf and Frankfurt, category A or B visa? I am a Indian citizen in the United States on a F-1 visa. For the summer break, I am traveling (round-trip) from Chicago to New Delhi via Dusseldorf-Frankfurt by Lufthansa airlines. My onward Journey would be on July - 8 and return Journey on Aug - 11. My layover will be of 1 hour 10 mins in Frankfurt and 3 hours in Dusseldorf. I would like to know if I require Category A or Category B Visa. If not, what type of visa do I require for the Schengen visa for my transit. How I can apply for the same? I tried to find slots in German consulate but all slots are full before my departure date. If I don't get the Schengen visa, I cannot travel and will loose all the fare (since my ticket is a non-refundable ticket). Is there any other way I can tackle this situation.",
"Finding sharing settings OWD",
"In an urn there are $n$ red balls and $m$ blue balls. I extract them without replacement. Let $X$=time of first blue. What is $E(X)$? I found PMF of $X$ and it is, if $k > n+1$ $$P(X=k) =\\frac{n(n-1) \\dots (n-k+1)m}{(m+n)(m+n-1) \\dots (n+m-k+1)}$$ How could I evaluate $E(X)$? Edit: I'm looking for an explicit form of $E(X)$",
"Proof Verification: Converse of Intermediate Value Theorem A function $f$ is increasing on $A$ if $f(x)\\leq f(y)$ for all $x<y$ in $A$. Show that the Intermediate Value Theorem does have a converse if we assume $f$ is increasing on $[a,b]$. The converse of IVT along with the additional hypothesis would look like this: Lef $f:[a,b] \\rightarrow \\mathbb{R}$ be an increasing function on $[a,b]$ which satisfies: if $L$ is a real number such that $f(a)<L<f(b)$ (or $f(a)>L>f(b)$), then there exists a point $c\\in (a,b)$ where $f(c)=L.$ If the preceding conditions are met, then $f$ is continuous on $[a,b]$. The proof (if it's correct) I'm going to show is only for the $c \\in (a,b)$, but I think for end points ($a$ or $b$), the method should be similar. We want to show that given $c \\in (a,b)$, for all $\\epsilon>0$, there exists a $\\delta>0$ such that $|x-c|<\\delta \\implies |f(x)-f(c)|<\\epsilon$. Since $f$ is increasing, we know that $f(a)\\leq f(c)$. If $f(c)-\\epsilon<f(a)$, then set $x_1=a$, if $f(c)-\\epsilon\\geq f(a)$, then we know by hypothesis that a $x_1<c$ exists such that $f(x_1)=f(c)-\\epsilon.$ In either case, we have for $x \\in (x_1,c]$ $$ f(c)-\\epsilon \\leq f(x_1) \\leq f(x) \\leq f(c) .$$ In a similar way, since we know that $f(c)\\leq f(b)$, we can deduce that a $x_2>c$ exists such that, for $x \\in [c,x_2)$ $$f(c)\\leq f(x)\\leq f(x_2)\\leq f(c)+\\epsilon .$$ Pick $\\delta = \\min \\{c-x_1,x_2-c \\}$, we then have $$|x-c|<\\delta \\implies |f(x)-f(c)|<\\epsilon .$$ Is this correct? In the proof that I saw, they originally used $\\frac{\\epsilon}{2}$, instead of just $\\epsilon$, but I think this one works just as well, what do you guys think?",
"Can you make an opportunity attack against a moving object?",
"Is it legal to dribble above shoulder height? I heard that while dribbling the ball, if the ball rises above shoulder level then it is a turnover. I don't have any idea about this rule.",
"Best method for short time-series I have a question related to modeling short time-series. It is not a question , but how. What method would you recommend for modeling (very) short time-series (say of length $T \\leq 20$)? By \"best\" I mean here the most robust one, that is the least prone to errors due the fact of limited numbers of observations. With short series single observations could influence the forecast, so the method should provide a cautious estimate of errors and possible variability connected to the forecast. I am generally interested in univariate time-series but it would be also interesting to know about other methods.",
"I am wondering if my proof is correct? Thank you for whoever willing to take a look at it for me. Proof $\\liminf E_k \\subset \\limsup E_k $ If $\\{E_k\\}_{k=1}^\\infty$ is a sequence of sets, we define \\begin{align*} \\limsup E_k & = \\bigcap_{j=1}^\\infty\\left(\\bigcup_{k=j}^\\infty E_k\\right)\\\\ &= \\bigcap_{j=1}^\\infty(E_j \\cup E_{j+1} \\cup \\cdots)\\\\ &= (E_1 \\cup E_2 \\cup \\cdots) \\cap (E_2 \\cup E_3 \\cup \\cdots) \\cap \\cdots. \\end{align*} Therefore, $\\limsup E_k$ consists of those points in $\\mathbb{R}^n$ which belong to infinitely many $E_k$. \\begin{align*} \\liminf E_k & = \\bigcup_{j=1}^\\infty\\left(\\bigcap_{k=j}^\\infty E_k\\right)\\\\ &= \\bigcup_{j=1}^\\infty(E_j \\cap E_{j+1} \\cap \\cdots)\\\\ &= (E_1 \\cap E_2 \\cap \\cdots) \\cup (E_2 \\cap E_3 \\cap \\cdots) \\cup \\cdots. \\end{align*} Therefore, $\\liminf E_k$ consists of those points in $\\mathbb{R}^n$ which belong to all $E_k$ for $k \\geq k_0$. Now consider $x \\in \\liminf E_k$, then $x \\in E_1 \\cap E_2 \\cap \\cdots$, or $x \\in E_2 \\cap E_3 \\cap \\cdots$ and so on, that is to say, $x \\in E_{k_0} \\cup E_{k_0+1} \\cup \\dots$ for some $k_0$. More specifically, $x \\in E_k \\forall k \\geq k_0$. Therefore, $x \\in (E_1 \\cup E_2 \\cup \\cdots) \\cap (E_2 \\cup E_3 \\cup \\cdots) \\cap \\cdots$, so we showed $x \\in \\limsup E_k$.",
"How can a path animation be used as an action in the game engine? I animated a rollercoaster using a Bezier Curve and a Follow Path Constraint affecting the vehicle. Then I tried to use the automatically created action in the game engine but the Action Actuator has no effect . How can this action be used in the BGE? Can the Path Animation alternatively be converted into keyframes?"
] | medi_sts_stackexchange_dupe |
Timing method duration: always showing zero seconds? | How do I write a correct micro-benchmark in Java? | [
"Should I use Named Pipes, or .NET Remoting to communicate with a running process on my machine?",
"Is there any relation between the chromatic number of a graph $G$ and its complement $G'$ that are always true? I saw these ones: $\\chi(G)\\chi(G')\\geq n$ and $\\chi(G)+\\chi(G')\\geq 2n$, but I'm not pretty sure about them.",
"How does quantization solve the ultraviolet catastrophe?",
"The banner ads are in the wrong format for the right-hand ad slot: These kinds of ads are not useful (because most of it is cropped) and should be excluded from being shown in that spot.",
"Is it wasteful to use a heating element, instead of doing useful work? Consider a computer CPU consuming electrical energy to perform calculations and consequently emitting heat. Assumption: That a CPU consuming x Watts of power, emits the same amount of heat as an incandescent heating element which consumes the same amount of power. The rest of the question assumes that this is true: the energy has to go somewhere, and I can't see that the outcome of the calculations counts as \"somewhere\". I've long repeated the claim that \"wasteful\" appliances such as incandescent lightbulbs, over-full kettles, computers left running, etc. are not wasting power if we make the assumptions: the appliance is in a room which we aim to maintain at above a certain temperature, warmer than the external temperature (cf a home in winter) the room leaks heat to the outside faster than the \"wasteful\" appliances emit heat. the room contains an electric heater the electric heater is regulated by a thermostat In these circumstances, I think (?), if a light bulb produces excess heat, its only effect is to cause the thermostat to switch off sooner, so what energy you've \"wasted\" in the light bulb, is \"saved\" at the heater. I don't think that's controversial. But my question is: If a CPU does useful work, and emits all the input energy as heat as a side effect But a heating element emits the same heat, without doing useful work Is it therefore wasteful to use heating elements? Is it more efficient to (for example) run on a CPU, to get \"free\" computation as a side-effect of heating? One reason to heat a room with a heating element, rather than with CPUs, is that the heating element is much cheaper to produce. But ignoring the initial cost of the hardware, would a \"heater\" made out of 20 CPUs, each running at full capacity and consuming 50W each, output less thermal heat than a 1KW element that does nothing else useful? To be useful, of course, the CPUs would need to output the result of their computations, which would account for a tiny amount of energy. Let's assume that's negligible. I'm sure there's a flaw in there somewhere; probably that the assumption above is false. What have I missed?",
"Customizing titlesec-etoc (further question)",
"I need some help in relation to this exercise \"Prove that if a normal subgroup $H$ of $ G$ has index $n$, then $g^n \\in H$ for all $g \\in G$.\" I'm not allowed to use quotient groups in the proof, because the exercise is in the chapter before. I tried by induction on $n$. The case $n=1,n=2$ are obvious, but even the case $n=3$ is giving me trouble so I give up studying the general case of the inductive step. My other approach was studying left or right coset of $G$. But I only proved that if $g \\in aH$ then $g^2 \\notin aH$ if $a \\notin H$, and I can't find a way to demonstrate that $g^n \\in H$. (my starting idea was to prove that every power of $g$ is in a different coset but then I realize that in this way I don't handle several case, for example $g$ has period strictly lesser than $n$ and in conclusion it doesn't prove the exercise) Maybe I'm missing something about indexes, and this is why I asked here for some help, (I can't use quotient groups because they are introduced later than this exercise, forgot to add this info in the beginning) Thanks in advance :)",
"Removing nodes from an XmlDocument",
"Why wave theory cannot explain photoelectric effect and provides evidence for particle nature of light?",
"Proving that $1+x^py^{1-p} \\le (1+x)^p(1+y)^{1-p}$ I'd like to show that $1+x^py^{1-p} \\le (1+x)^p(1+y)^{1-p}$ for all $x,y \\ge 0$ and $p \\in [0,1]$. I started out by defining a function $f(x,y)=(1+x)^p(1+y)^{1-p}$ and checking for critical points, but there are none in the domain I'm interested in. I think I'm probably missing a slick application of Jensen's or Holder's inequalities, but so far a proof eludes me. Any suggestions would be appreciated.",
"Why did sampling boost the performance of my model? I have an imbalanced dataset with 88 positive samples and 128575 negative samples. I was reluctant to over/undersample the data since it's a biological dataset and I didn't want to introduce synthetic data. I built a Random Forest Classifier with this original dataset. I got an F1 score of 0 for the positive class. Zero precision. Zero recall. I cross-checked the predictions and test data. The model predicts some positives none of which are actually positive. Worst performance. So, I tried to oversample the positive class. I upsampled the positives to 1000 samples. To my surprise, the F1 score for this dataset was 0.97, for the positive class. Then I tried lesser samples. I was able to achieve an F1 score of 0.83 with 200 positive samples, which is just 2.25 times of the original positive samples. I would like to know why this occurs. For 88 samples, F1 score is 0.00 (rounded off to two digits). For 200 samples it's 0.83. There is no data leakage. All the features are engineered. I used imbalanced-learn module for oversampling. Can someone explain why is this difference in performance?",
"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?",
"I'm trying to run multiple Nodejs applications on Nginx server running on CentOS 7. I noticed that when I run a Nodejs app on some ports I get an 502 Bad Gateway error in the browser so I checked the error logs: [notice] 12806#0: signal process started [crit] 12807#0: *13 connect() to 127.0.0.1:7777 failed (13: Permission denied) while connecting to upstream, client: **.**.99.58, server: myapp.com, request: \"GET / HTTP/1.1\", upstream: \"http://127.0.0.1:7777/\", host: \"myapp.com\" [crit] 12807#0: *13 connect() to [::1]:7777 failed (13: Permission denied) while connecting to upstream, client: **.**.99.58, server: myapp.com, request: \"GET / HTTP/1.1\", upstream: \"http://[::1]:7777/\", host: \"myapp.com\" when I change the app to listen to 8008 for example everything is working fine. I checked permissions and if the process is running as root and everything seems ok. I played with the timeouts as well but no result. Can anyone help?",
"How can I manage computers using my Firefox Sync account? I`m using Firefox Sync on a bunch of computers. I would like to manage my account, by removing some computers. I can't find the place to do this, it should be on the Firefox Sync page, but the official page only has the privacy and download information.",
"I'm looking to get the result of a command as a variable in a Windows batch script (see for the bash scripting equivalent). A solution that will work in a .bat file is preferred, but other common windows scripting solutions are also welcome.",
"I have been reading Men With Brooms for a few days. I read a sentence which did not make any sense to me, so I landed here to get some help on it. I have pasted the sentence from the novel. Please go through it and let me know your valuable feedback on it. An excerpt from the novel (Men With Brooms: A Sweeping Epic, paperback 2002, a novelization by Diane Baker Mason): Gordon was about to walk away from the Impala when he saw it stop and his son get out. So it was real the boy had come. As per my opinion it should have been: Gordon was about to walk away from the Impala when he saw it stopped and his son got out. So it was real the boy had come. I have two questions here: Why did the writer use stop and get instead of stopped and got? As she is telling us a story which happened in the past. Let's say the writer is telling us her mind's situation and she used the present tense for it but why did she use stop and get instead of stops and gets?",
"I would like to know: How come that $$\\sum_{n=1}^\\infty n x^n=\\frac{x}{(x-1)^2}$$ Why isn't it infinity?",
"Let $f:\\Bbb{R}\\to\\Bbb{R}$ be a function given by $$f(x)=\\begin{cases} \\exp\\left(\\frac{1}{x^2-1}\\right) & \\text{if }\\vert x\\vert\\lt 1\\\\ 0 & \\text{if }\\vert x\\vert\\geqslant 1 \\end{cases}$$ I would like to prove that $f\\in C^\\infty$, that is, $f\\in C^k$ for all $k\\in \\mathbb{N}$. I think that it can be done by induction on $k$. If $\\vert x\\vert\\gt1$, the problem is trivial. On other points, the base case is the simplest and the only that I'm be able to do. Can someone help me? Thanks.",
"I read this sentence in a book: I just took part in a study over in the Psychology Department. Why do we add over in front of in the here?",
"Close and flag links do nothing on mobile site"
] | medi_sts_stackexchange_dupe |
Running for loop with two variables? | How to read from two input files using while loop | [
"How to execute two mysql queries as one in PHP/MYSQL?",
"How does one prove that every finite group is isomorphic to a subgroup of an alternating group?",
"I have updated my kubuntu 14.10 to kubuntu 15.04. And now after boot, when I enter my password on welcome screen, I will get black screen. It's looks like screen powered off. No cursor, no change brightness. Nothing. And when I try switch to text consoles (Ctrl+Alt+F1) nothing happening. If I doesn't login in welcome screen I can switch to text console.",
"How can the following inequation be proven? $$a^2 + b^2 + c^2 \\ge ab + bc + ca$$",
"How to prove that you have significant ties with family in your home country?",
"Can I have my iPhone play sound for MacBook? Say I am playing a video on my MacBook Pro, and I don't want to distract others with the sound. The problem is, I don't have a 3.5 mm Headphone or AirPods at my hand, but I have an iPhone 8 Plus and its EarPods with Lightning Connector. Can I play the sound from the video playing on macOS with the iPhone, preferably without connecting the iPhone to the Mac so that I can plug in the EarPods to the iPhone's socket? This is basically the reverse of",
"Get lists of dependent picklist options in Apex",
"Intuition behind measurable random variables and $\\sigma$-algebra I've been trying to understand $\\sigma$-algebras and how it encodes information in context of filtration. While certain parts seem clear and logical, I can't say I get the whole picture. I'll try to explain the counter-intuition I get with the classical example of : the probability space $\\Omega = \\{ HH, HT, TH, TT \\}$ and a r.v. $X(\\omega)$ equal to the number of heads. At times $0$, $1$ and $2$ the available information is represented using $\\sigma$-algebras $\\mathcal{F}_0=\\{\\emptyset,\\Omega\\}$, $\\mathcal{F}_1=\\{\\emptyset, \\Omega, \\{HH,HT\\},\\{TH,TT\\}\\}$ and $\\mathcal{F}_2=\\{\\emptyset, \\Omega,\\{HH,HT\\},\\{TH,TT\\},\\{HH\\},\\{HT\\},\\{TH\\},\\{TT\\}\\}$. One can notice that $X(\\omega)$ is not measurable with respect to $\\mathcal{F}_0$ and $\\mathcal{F}_1$, because $X^{-1}((\\frac{3}{2}; +\\infty))=\\{HH\\}$. To me it is quite surprising: intuitively $X$ makes perfect sense at all times. In particular it has an expected value at time $0$, which I interpret as that the probability and value of all outcomes $\\{\\omega\\}$ can be computed. How do you think of a non-measurable function? Here's another way of expressing the same confusion. The most natural choice of $\\sigma$-algebra in a finite discrete case is $\\mathcal{F}=2^\\Omega$, and it is implicitly used in all elementary probability problems. However, this choice of $\\mathcal{F}$ does not reflect the fact that some information is known or unknown, conditional probability does. Does it mean that the statement \"$\\sigma$-algebra is known information\" make sense only in conditioning? Why is it convenient then?",
"Update: Failed to lock /var/cache/apt/archives/lock I am running the upgrade(12.10 to 13.04) through terminal and it keeps getting stuck at this: Failed to lock /var/cache/apt/archives/lock What do I do? I have root access. I have no idea what else to try other than a clean install. Checking package manager Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Calculating the changes Calculating the changes Do you want to start the upgrade? 3 packages are going to be removed. 155 new packages are going to be installed. 1204 packages are going to be upgraded. You have to download a total of 595 M. This download will take about 1 hour 15 minutes with a 1Mbit DSL connection and about 23 hours with a 56k modem. Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d]y Fetching Could not download the upgrades The upgrade has aborted. Please check your Internet connection or installation media and try again. All files downloaded so far have been kept. Failed to lock /var/cache/apt/archives/lock Restoring original system state Aborting Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done root@chaitanya-XPS-Ubuntu:~#",
"Creating new layers using ArcPy to define Definition Query for each field value? 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'",
"Prove that$$\\overbrace{\\binom n 0 + \\binom n 1 + \\binom n 2 + \\cdots + \\binom{n}{\\frac{n-1} 2}} + \\overbrace{\\binom n {\\frac{n+1} 2} + \\cdots + \\binom n {n-1} + \\binom n n} = 2^n. $$ Background: This problem came from the following link: and I didn't understand why that was true in which no one on the page has proved it to be so. and i was wondering what was the proof on that",
"Find a plane that passes through a point and is perpendicular to 2 planes",
"Can I install any iOS version I wish by picking and choosing which firmware to restore? I'm trying to downgrade my iPhone from the current iOS to an older one, as per . But every time I try, I always receive this error: The iPhone could not be restored. This device isn't eligible for the requested build. I have tried many times with and without DFU mode. Any ideas regarding this?",
"How do you disable browser autocomplete on web form field / input tags? How do you disable autocomplete in the major browsers for a specific input (or form field)?",
"Installing Ubuntu from a partition on internal drive I am about to install Ubuntu on my new laptop, but I don't have access to a USB drive of any sort and it doesn't have an optical drive. Would it be possible to boot into the Ubuntu installer if I save it to a new partition on my hard drive and boot from there via the BIOS? In case you need it, , which lists my system specifications. Thanks in advance for any assistance you may be able to provide. :)",
"I'm trying to insert a figure into my LaTeX file using the following syntax: \\begin{figure} \\centering \\includegraphics [width=3in]{fig1.png} \\caption{Calculation of shortest path betweenness} \\label{Fig.3:Shortest path betweenness} \\end{figure} It worked for me before but this time I'm getting the following error: LaTeX Error: \\begin{figure} on input line xxx ended by \\end{document} Also, hovering over the red cross symbol indicating error in Eclipse, I see this message paragraph ended before Gin@iii was completed. It's obvious that I have the \\end{figure} to end my \\begin{figure} so I don't understand how I still get that error. Can someone please tell me what the problem is? Edit: Add more details for debugging. The problem went away if I remove '[width=3in]'. Here is the detail error: pdflatex> Runaway argument? pdflatex> width=3in]{fig1.png} \\caption {Caption} \\label {Fig.1} pdflatex> ! Paragraph ended before \\Gin@iii was complete. pdflatex> <to be read again> pdflatex> \\par pdflatex> l.40 pdflatex> pdflatex> pdflatex> Underfull \\vbox (badness 10000) has occurred while \\output is active pdflatex> (./document.bbl pdflatex> pdflatex> Package natbib Warning: Empty `thebibliography' environment on input line 3. Added sample code: \\documentclass[10pt,psfig,letterpaper,twocolumn]{article} \\usepackage{geometry} \\usepackage{graphics} \\usepackage{setspace} \\usepackage{natbib} \\usepackage{verbatim} \\usepackage[scaled=0.9]{helvet} \\singlespacing \\paperwidth 8.5in \\paperheight 11in \\oddsidemargin 0in \\headsep 1.3cm \\geometry{left=0.75in,top=0.75in,right=0.75in,bottom=1in} \\textwidth 7in \\textheight 9.25in \\columnsep 0.4in \\footskip 0in \\renewcommand{\\bibname}{REFERENCE} \\pagestyle{empty} \\begin{document} \\bibliographystyle{acm} \\title{\\fontfamily{phv}\\selectfont{\\huge{\\bfseries{Title here}}}} \\author{ {\\fontfamily{ptm}\\selectfont{\\large{\\bfseries{author name}}}}\\thanks{contact info }} \\maketitle \\thispagestyle{empty} \\section*{\\fontfamily{phv}\\selectfont{\\normalsize{\\bfseries{Section name}}}} \\begin{figure} \\centering \\includegraphics[width=3in]{fig1.png} \\caption{Caption} \\label{Fig.1} \\end{figure} \\pagebreak[4] \\vspace*{5.52in} \\bibliography{ref} \\end{document}",
"Shouldn't the Terms of Service use Stack Overflow, Inc.? The still uses the term Stack Exchange, Inc. However, I believe that the name is now Stack Overflow, Inc. , so I believe that should be changed to that. It is weird to have the wrong name in a legal document. Yes, I actually read the Terms of Service. You should also do that.",
"I am trying to connect to a Linode (running Ubuntu 12.04 LTS) from my local machine (also running Ubuntu 12.04 LTS) I have created a private and public key on my local machine and copied my public key to my Linode's authorized_keys file. However, whenever I try to ssh to my Linode I get the error message Permission denied (publickey). It's not a problem with how ssh is set up on my Linode because I can ssh to it from my Windows machine using key authentication. In my .ssh directory on my local Ubuntu machine, I have my id_rsa and id_rsa.pub files. Do I need to create an authorized_keys file on my local machine? EDIT: This is what I get when I run ssh -vvv -i id_rsa [youruser]@[yourLinode]: debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey debug2: we did not send a packet, disable method debug1: No more authentication methods to try. Permission denied (publickey).",
"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 do I write a correct micro-benchmark in Java?"
] | medi_sts_stackexchange_dupe |
How to fix javascript to change image file name from "download" to something else for example "test.png"? HTML | Is there any way to specify a suggested filename when using data: URI? | [
"Calculating $1+\\frac13+\\frac{1\\cdot3}{3\\cdot6}+\\frac{1\\cdot3\\cdot5}{3\\cdot6\\cdot9}+\\frac{1\\cdot3\\cdot5\\cdot7}{3\\cdot6\\cdot9\\cdot12}+\\dots? $",
"Why does an integral change signs when flipping the boundaries? Let us define a very simple integral: $f(x) = \\int_{a}^{b}{x}$ for $a,b\\ge 0$. Why do we have the identity $\\int_{a}^{b}{x} = -\\int_{b}^{a}{x}$? I drew the graphs and thought about it but to me integration, at least in two-dimensions, is just taking the area underneath a curve so why does it matter which direction you take the sum?",
"Integrate $\\int_{0}^{2\\pi}\\log|1-e^{i\\theta}| d\\theta$ Here is exercise 11, chapter 3 from Stein & Shakarchi's Complex Analysis II: Show that if $|a|<1$, then: $$\\int_{0}^{2\\pi}\\log|1-ae^{i\\theta}|\\,d\\theta = 0$$ Then, prove that the above result remains true if we assume only that $|a|\\leq 1.$ ($a\\in \\mathbb{C}$) I've already proved it for $|a|<1$, but couldn't make it for $|a|=1$, which I thought would be the easy part. But the only thing I could come up with was that, WLOG, it is enough to prove that: $$\\int_{0}^{2\\pi}\\log|1-e^{i\\theta}|\\,d\\theta = 0$$ Tried to look for some kind of symmetry, but could't find it. Any ideas? Thanks!",
"How to get Microsoft Search to index common file types like .pdf and .pub I'm trying to get Windows Search (4.0) to index PDFs and .pub, .doc, etc. files. The files are on an XP Pro PC acting as a file server. But I don't have MS Office, etc. installed (no need, trying to keep it \"slim and trim\") but WS 4.0 is doing the indexing of those files and not indexing .pdf and .pub. I've found a few (from Foxit PDF reader) rated 3/5 and only support WS 2.0 or 3.0. Looking for other solutions and also a way to index .pub files.",
"Extension fields isomorphic to fields of matrices Suppose $K \\subset L$ is a finite field extension of degree $m$. Is it true that there exists some natural $n$ such that $L$ is isomorphic to a subfield of $M^{n\\times n}(K)$, the ring of $n\\times n$ matrices with entries in $K$? What is the smallest dimension (as a function of $m$) for which an isomorphism exists? The example I had in mind was the 2-dimensional extension $\\mathbb{R} \\subset \\mathbb{C}$ with $\\mathbb{C}$ being isomorphic to $\\{ \\begin{pmatrix}a&-b\\\\b&a\\end{pmatrix} : a, b \\in \\mathbb{R}\\}$.",
"How do I remove Windows but keep Ubuntu?",
"Find all positive integers $a, b, c$ such that $1/a + 1/b + 1/c = 4/3999$ Find all positive integers $a, b, c$ such that $1/a + 1/b + 1/c = 4/3999$. The contest is just ended, so you may freely answer. (I did not attend the contest: it is an Italian contest for schools and the groups may ask other people for hints. This is how I got involved, but of course asking on MSE would have been cheating) I found three solutions: I am explaining below what I did. I would like however to know if there is a more general approach.",
"Prove $(k,n+k)=1$ iff $(k,n)=1$ (a) Prove $(k,n+k)=1$ iff $(k,n)=1$. (b) Is it true that $(k,n+k)=d$ iff $(k,n)=d$? (all variables are integers, (a,b) means gcd(a,b)) For (a), I can only get so far. $(k,n+k)=1\\ \\Rightarrow\\ kq_1+(n+k)q_2=k(q_1+q_2)+nq_2=1$. Note that we don't yet have that theorem (from a different class) that says something like if $d=(a,b)$, then $d$ is the smallest (or is it biggest) number which can be made by $ak_1+bk_2$, (which I'm not quite sure how it would help, anyway). So I'm stuck.",
"Bold italic vectors I am trying to display vectors as bold and italic. The command \\mathbf sets the letters non-italic. I also googled a bit and stumbled upon \\mathbf{\\em y} or \\mathbfit{y}, which all didn't work. I hope someone can help me on this.",
"$f: \\mathbb{R} \\to \\mathbb{R}$ that takes each value in $\\mathbb{R}$ twice Does there exist a continuous function $f: \\mathbb{R} \\to \\mathbb{R}$ that takes each value in $\\mathbb{R}$ exactly two times?",
"When are \"if\" and \"whether\" equivalent? Are if and whether equivalent in sentences like the ones below? How to determine if my saddle is too high? How to determine whether my saddle is too high? We should check if everything is okay now. We should check whether everything is okay now.",
"Resize multiple layers around their respective anchor points",
"Live USB for installation does not boot, black error screen followed by visual artifacts on a purple screen I'm trying to install Ubuntu 18.04 desktop with Rufus on a computer with the following specs: CPU: AMD Ryzen 5 2600 MOBO: ASUS Prime B450M-A/CSM RAM: G-Skill Ripjaws DDR4 F4-2400C15D-16GVB GPU: Nvidia GeForce GTX750 PSU: Apexgaming AG-650M SSHD: Seagate Firecuda Compute mATX: Rosewill SCM-01 Basically it boots from the USB (FAT32) and brings up a black error screen with words and numbers. Then it transitions to the purple splash screen with "ubuntu" and 5 dots, however the screen shows various visual glitches depending on which USB port I plug into. When trying to boot the computer, it boots to a black screen with the following error message: ACPI Error: Needed [Integer/String/Buffer], found [Region] that shows what I mean.",
"I am trying to learn data in higher space into lower space. To have a clue, I'd like to know how to transform the data in the image below into a lower dimension preserving the structure. Hope to hear some explanations and what should I study to learn mapping data to lower dimension?",
"can any one tell me how to write long equation in multline i tried with coding below but some errors of \\right and \\left appear \\begin{multline*} \\displaystyle \\left \\| f \\right \\|_{M\\dot{K}^{\\alpha(\\cdot),q}_{p(\\cdot), \\lambda}(\\mathbb{R}^{n})} \\approx \\max \\left\\{ \\sup_{L\\leqslant0,L\\in \\mathbb{Z}}2^{-L\\lambda}\\left ( \\sum_{k=-\\infty}^{L}2^{k\\alpha(0)q}\\left \\| f\\chi_{k} \\right \\|^{q}_{L^{p(\\cdot)}} \\right )^{1/q},\\\\\\sup_{L>0,L\\in \\mathbb{Z}}\\left[ 2^{-L\\lambda}\\left ( \\sum_{k=-\\infty}^{-1}2^{k\\alpha(0)q} \\left \\| f\\chi_{k} \\right \\|^{q}_{L^{p(\\cdot)}} \\right )^{1/q}\\\\ +2^{-L\\lambda}\\left ( \\sum_{k=0}^{L}2^{k\\alpha(\\infty)q}\\left \\| f\\chi_{k} \\right \\|^{q}_{L^{p(\\cdot)}} \\right )^{1/q}\\right] \\right\\} \\end{multline*}",
"I've been wondering this for a while, why is there free space at the end of a drive that was formatted to NTFS in windows? You can only see the unallocated space in Linux. So why is it there? Does it serve a purpose?",
"Does removing an iPhone from my icloud account also erase the data? I lost my iPhone 6S recently. I think it fell off my car and was crushed because it has been offline (according to Find My iPhone) ever since. I want to erase the phone and remove it from my iCloud account since the phone is gone. However, I can't erase the phone until it comes back online. I do have the option to remove the device from my iCloud account. If I remove the phone from my iCloud account, does that also erase the data? The phone has a password on it, will it continue to be locked in case someone finds it after I have removed it from my iCloud account?",
"Generic htaccess redirect www to non-www I would like to redirect www.example.com to example.com. The following htaccess code makes this happen: RewriteCond %{HTTP_HOST} ^www\\.example\\.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] But, is there a way to do this in a generic fashion without hardcoding the domain name?",
"If A is a finite set and B is an infinite set, then B\\A is an infinite set Prove: If $A$ is a finite set and $B$ is an infinite set, then $B \\setminus A$ is an infinite set. I've tried proving the contrapositive, that if $B \\setminus A$ is a finite set then $A$ is infinite or $B$ is finite, but I don't think this is the way to go.",
"I am not able to sum all the opportunities under the account ? How will I do that? What I have to use in this to run the trigger? Is it possible to create because opp. is child and account is parent ? trigger sumAllopptyAmtAccount on Account(before insert) { Set < ID > AccID = New Set < ID > (); if (Trigger.isInsert) for (Account oppAc: trigger.New) { AccID.add(oppAc.AccountID); } List < Account > acc = [select id, SumAll_Opprty__c from Account where id in: a.AccID]; List < Opportunity > opp = [selece id from Opportunity where AccountID in: a.AccID]; for (Account a: acc) { a.SumAll_Opprty__c = con.size(); } }"
] | medi_sts_stackexchange_dupe |
Need some help in recognizing a font on the image | What font is used in this image? | [
"\"Results found containing ___\" too close to header",
"crisscross, dillydally, riffraff, etc Some English words only differ in their vowels: crisscross, dillydally, riffraff, etc. Is there a name for them?",
"Show that conguence $\\bmod m\\,$ is an equivalence relation",
"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:",
"Variations in the pronunciation of \"the\" Although there are rather simple rules determining the pronunciation of \"the\", native speakers quite often deviate from these rules (including, e.g., TV shows). According to the Longman Pronunciation Dictionary, The EFL learner is advised to use [ðə] before a consonant sound (the boy, the house), [ði] before a vowel sound (the egg, the hour). Native speakers, however, sometimes ignore this distribution, in particular by using [ðə] before a vowel (which is in turn usually reinforced by a preceding ʔ), or by using [ði:] in any environment, though especially before a hesitation pause. Furthermore, some speakers use stressed [ðə] as a strong form, rather than the usual [ði:]. My question is: when native speakers use [ðə] instead of [ði] before a vowel sound, do they do it on purpose or accidentally? If it is on purpose, how do they (typically) decide which pronunciation to use? What is a valid reason to use [ðə] before a vowel sound?",
"What size canvas should logos be designed on? When designing a logo is there a minimum size canvas that should be used to keep quality when it is enlarged or when reduced? Obviously the dimensions of a canvas depend on the shape of the logo, but is there a sugested size?",
"Is QImage able to open and render pure 16-bit images?",
"My last name is not the same on ticket as on passport; rest of details are same",
"\"DataBinding: 'index+NewsItem' does not contain a property with the name 'Link'\", but property exists (Not a Typo)",
"How to determine capacitance I’m looking to install a capacitor in a circuit which runs at 12V and <10A, and I want it to discharge in about 3 seconds. The discharge voltage isn’t too important, but it’s probably best if it is as high as possible (not higher than 12V if that is even possible) for those 3 seconds. The discharge time can be longer but probably should have an absolute minimum of 1.5 seconds. Sorry if this sounds like gibberish. If I'm not giving enough info, please let me know what else i need to provide. I’m not an electrical guy; just working on a project and have no clue what I'm doing.",
"How do I programmatically determine operating system in Java? I would like to determine the operating system of the host that my Java program is running programmatically (for example: I would like to be able to load different properties based on whether I am on a Windows or Unix platform). What is the safest way to do this with 100% reliability?",
"I am running the latest version of Linux Mint with Cinnamon. I'm trying to map Caps Lock to Ctrl, but I cannot figure out how to do it. All web searches I've done have led me to older versions of Linux Mint (there is no keyboard layout option in my settings). How can I do this?",
"Forced to Quit PhD although the hard and proved work I am a first year Ph. D student, and I have been working on a new topic of research. I worked day and night to prove something new and verified it. I began my Ph. D while my supervisor was on travel, but he returned before I had been here for long. When he returned, he told me we have to stop and not continue without any reasonable reasons. After a few months he began treating me poorly---always belittling and underestimating---although I got two grants from a top conference, made videos and podcasts, and constantly received praise for my good work and personality. It seems that I have been treated as a competitor, not a collaborator. Although agreeing with my approaches in private, my supervisor said false words to the committee to take the decision and stop my Ph. D work! It is not surprising, as there was another former senior Ph. D student who I met on campus, who was not allowed to defend his Ph. D: this same supervisor claimed he was not able to finish his dissertation although he had published in a peer reviewed journal and having citation as well, it was scary and not familiar. In front of committee, he lied, and said something without proving. I asked if he can make a detailed constructive criticism, but he could not. All I can say that they are a gang literally, and he said words that show that he is jealous and doesn't want to see me having self confidence in my self. I know no one will believe me, but this is the truth. Honestly, I am distressed and I'm losing sleep. I had this dream where there were many people who saw me fail. All things considered, I don't know whether what happened is good or bad, and I definitely don't know what I should do next! I would be grateful for your advice and whether there is someone has encountered any similar situation.",
"How can I send email attachment without using an additional library in Perl?",
"Why Dumbledore kept mum until the very end of the \"Deathly Hallows\"?",
"Could you please help me computing $\\Big\\lfloor\\underbrace{\\sqrt{2017+\\sqrt{2017+...+\\sqrt{2017}}}}_\\text{2017 roots}\\Big\\rfloor$?",
"Recovering broken or deleted NTFS partitions",
"First time I've used cycles rendering engine. I'm using a movie clip as the background in short animation. Selected RBGA under Property Tab, and Transparent under Film Tab. It looks good and individual frames in OpenGL active viewport render, and looks fine. When I try to get it to spit out PNG files of the finished animation the objects render out fine, except no movie clip background as Blender Render engine did when using Paper Sky setting. Operator error, or am I trying to do something Cycles won't do? Haven't found an answer in my searches so far. Can anyone point me in the right direction please. Addition: I think I found my problem after a couple more hours of research. Post should read \"operator ignorance\" instead of operator error. Too tired to try the solution tonight, everything looks better in the morning. Thanks anyway. Sorry, I just saw your posts. Really tired. Much appreciation.",
"\"Protect Questions\" privilege page has confusing wording The wording on the privilege page is confusing and would benefit from being clarified. See these questions on and . Suggested wording from is to replace this: Which questions can be protected? Any question, even a deleted question, can be protected and unprotected, subject to the following restrictions: The question must be at least a day old A user can unprotect any protected question with the following: Which questions can be protected? Any question at least a day old, even a deleted question, can be protected and unprotected. A user with the privilege can unprotect any protected question.",
"Why isn't Harry Potter punished for using magic outside of Hogwarts in Prisoner of Azkaban?"
] | medi_sts_stackexchange_dupe |
upload file in php | PHP: how do I copy a temp file upload to multiple places? | [
"How to check if jQuery.ajax() request header Status is \"304 Not Modified\"?",
"Finding center and radius of circumcircle Find the center and radius of the circle which circumscribes the triangle with (complex) vertices $a_1,a_2,a_3$. Express the result in symmetric form. I'm not sure where to start in this question. The circumcenter is the intersection of the perpendicular bisectors, but I don't know how to calculate the line equation of the perpendicular bisectors yet. As for the radius, after we find the circumcenter $c$ we can calculate it using $|c-a_1|$ (or $|c-a_2|$ or $|c-a_3|$; all three should be equal.) So how can I calculate the circumcenter?",
"As per the following example, and as in In bash, where has the trailing newline char gone?, I want to know \"why\" it happens x=\"$(echo -ne \"a\\nb\\n\")\" ; echo -n \"$x\" | xxd -p # Output is: 610a62 # The trailing newline from the 'echo' command # has been \"deleted\" by Command Substitution I assume there must be some very significant reason for a shell action, namely Command Substitution, to actually delete some data from the command output it is substituting... but I can't get my head around this one, as it seems to be the antithesis of what it is supposed to do.. ie. to pass the output of a command back into the script process... Holding back one character seems weird to me, but I suppose there is a sensible reason for it... I'm keen to find out what that reason is...",
"When it comes to , I often read recommendations like \"Use adb logcat to find some more details\". Looking for a good way to backup all my apps including their data, refers to adb backup and adb restore. In several places one can find ways to remotely do on an Android device with the use of , such as transferring files using adb push or adb pull, accessing the via adb shell, and more. So ADB seems to be a good thing to have for an Android user. But how to get this \"ADB thingy\" on my computer? Not being a developer, installing the entire seems a bit overkill. Is there a more minimalistic approach available?",
"Extracting intersection areas in R I have two polygons. One contains fields(X,Y,Z) and the other contains soil types (A,B,C,D). I want to know what area of every field contains which type of soil. I tried the following: library(rgdal) library(rgeos) Field<-readOGR(\"./\",\"Field\") Soil<-readOGR(\"./\",\"Soil\") Results<-gIntersects(Soil,Field,byid=TRUE) rownames(Results)<-Field@data$FieldName colnames(Results)<-Soil@data$SoilType > Results A B C D Z TRUE FALSE FALSE FALSE Y FALSE TRUE TRUE FALSE X TRUE TRUE TRUE TRUE and achieved good results with it telling me which field contains which soil type. However, how do I get the area instead?",
"Eclipse Shortcut to Split Long Strings I swear I've seen someone do this, but I can't find it in the various lists of shortcuts. Given: String s = \"A very long ............................ String\"; Is there an Eclipse shortcut to turn it into: String s = \"A very long ............................ \" + \"String\";",
"Prove that $\\lim_{x \\to +\\infty} \\frac{f(x)}{x} = L$ if $\\lim_{x \\to +\\infty} [f(x+1) - f(x)] = L \\space$ Let $f:[0, +\\infty) \\rightarrow \\mathbb{R} $ be a bounded function in each bounded interval. If $$\\lim_{x \\to +\\infty} [f(x+1) - f(x)] = L$$ then $$\\lim_{x \\to +\\infty} \\frac{f(x)}{x} = L$$ I tried using the definition on the first limit; then, I attempted to use that inequality to apply the triangular inequality to arrive at the definition that gives me the second limit. It is supposed to be simple, but I'm not feeling safe as in how I should write it.",
"Flag indicator present on Meta, but no flags visible",
"Convert continuous numeric values to discrete categories defined by intervals",
"I don't really get why these hyperbolic functions are named after trig functions. Can someone enlighten me?",
"Can helium disappear from Earth?",
"I would like to make cross references to own defined counter on environments. So far I have tried the following, \\documentclass{book} \\newcounter{entryc}[subsection] \\newcommand{\\thetheorem}{\\thesubsection.\\arabic{entryc}} \\newenvironment{qd}[1]{\\refstepcounter{entryc}\\noindent\\textbf{Quasi Definition \\thetheorem.}\\begin{itshape}} {\\end{itshape}} % \\begin{document} \\chapter{First chapter} This is the first chapter. \\section{First section} This is the first section. \\subsection{First subsection} This is the first subsection. \\begin{qd}{}\\label{qd:emp} This is my environment. \\end{qd} \\noindent In quasi definition \\ref{qd:emp} it \\dots \\end{document} What happens is that But I would prefer \"...In quasi definition 1.1.1.1\". Do anyone have some suggestions of how solve this? and How to avoid the \\noindent thing before the continuation of the text? Additional information: if possible I would try to not use ntheorem.",
"How do I check if an element is really visible with JavaScript? In JavaScript, how would you check if an element is actually visible? I don't just mean checking the visibility and display attributes. I mean, checking that the element is not visibility: hidden or display: none underneath another element scrolled off the edge of the screen For technical reasons I can't include any scripts. I can however use as it is on the page already.",
"I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image. \\begin{figure}[!t] \\centering \\includegraphics[width=3in]{fetch} \\caption{Pipeline: Fetch Instruction} \\label{fig:fetch} \\end{figure} What appears, however, is this: Fetch.png is a file in the directory, and if I remove it, pdflatex errors instead of producing an output. I'm using MiKTeX 2.9 on Windows 7. Any ideas?",
"Not able to add 3 JPanels to a main panel",
"When I set up a site in multiple languages, how should I set up my URLs for search engines and usability? Let's say my site is www.example.com, and I'm translating into French and Spanish. What is best for usability and SEO? Directory option: http://www.example.com/sample.html http://www.example.com/fr/sample.html http://www.example.com/es/sample.html Subdomain option: http://www.example.com/sample.html http://fr.example.com/sample.html http://es.example.com/sample.html Filename option: http://www.example.com/sample.html http://www.example.com/sample.fr.html http://www.example.com/sample.es.html Accept-Language header: Or should I simply parse the header and generate content server-side to suit that header? Is there another way to do this? If the different language versions don't have different urls, what do I do about the search engines? UPDATE 2011-12-06 Google has new recommendations for meta tags for explicitly pointing to other language content: . UPDATE 2012-05-25 Related but not precisely: UPDATE 2013-06-12 includes discussion of several URL schemes directly relevant to the question.",
"Show that every prime $p>3$ is either of the form $6n+1$ or of the form $6n+5$, where $n=0,1,2, \\dots$",
"Why am I getting a NoClassDefFoundError in Java?",
"Can I visit Schengen countries on a Type-D Schengen Visa? I’m going to Germany for a semester exchange and I have a long-stay visa from Germany. Can I travel to the other Schengen states during this period with this visa or do I have to apply for a separate short stay Schengen visa? My visa is German national visa type D. It is for a duration of 4 months, i.e., longer than 90 days. It says on the visa that the long stay visa is valid in Deutschland, which is different from my earlier visa, which I had when I visited Germany earlier; that one was a short stay visa and said it was valid in Schengen Staten. Perhaps my current visa means that I can stay in Germany for a period of longer that 90 days can visit the other Schengen states if I don’t exceed the 90 day period.",
"Prove that any conjugate of $a$ has the same order as $a$. I am trying to prove that any conjugate of $a$ has the same order as $a$. Let $G$ be a group and let $a \\in G$. An element $b \\in G$ is called a conjugate of $a$ if $b=xax^{-1}$. My professor gave us a hint. Prove $a^k=e$ iff $b^k=e$ for all $k \\in \\mathbb{Z}$ implies $o(a) = o(b)$. My first move is to $b^k = (xax^{-1})^k = (x^{-1})^ka^kx^k = (x^{-1})^kex^k = (x^{-1})^kx^k=x^{-k+k}=x^0$ I am not sure that I am doing this correctly? I am trying to get $b^k=e$. However when I raise $(xax^{-1})^k$, I am not sure if I what I have done is correct? I am kind of confused here."
] | medi_sts_stackexchange_dupe |
No audio working | How to reinstall PulseAudio (Ubuntu 12.04) | [
"What could cause java.lang.reflect.InvocationTargetException?",
"Addition with NULL values",
"Is there a spec that the id of elements should be made global variable?",
"How to reinstall Ubuntu keeping my data intact? I want to reinstall Ubuntu keeping my data intact. I have 160 GB hardrive (sata or pata I don't know but it's slim and made in China) with a 40 GB ext3 partition, a 4GB swap memory and 3 other partition with a FAT32 file system. I have around 4GB space on my drive where Linux is installed. I'd like to keep the data intact, especially the Downloads folder, desktop, and /var/www; And I no longer have access to any other machines or external storage devices.",
"What is a combo update and how is it different than the regular update? What is a combo update and how is it different from a normal update?",
"ERD for a web development company I am working on an ERD which represents the relationships between entities in a Web development company behavioral model. There I have entities like: Customer Service ----------- (like: web development, web design, web consultation, ...) Order-item ------- (like: web development, web design, web consultation, ...) Order Invoice Project Project-phase Task --------------- (like: web development task3, web design task7) Developer Delivery ----------- (like: the developed web app, web consultation session, ...) I have this diagram so far, though I know it still has major problems, and it is just for a start point: Main concept Customer makes order-items on services, combined to form an order which relates to an invoice. Each project has multiple project-phases with each project-phase related to an order. Each project-phase has multiple tasks, each of which is assigned to a developer. Each project-phase has a delivery, which will be delivered upon payment of the related orders invoice. Questions Are has and contains completely the same? If not, how to choose between them for relationships?! what is the measure?! Are there any rational problems with the Main concept section? Any helpful ideas or suggestions to improve this model? Any help with this, would be really appreciated. Update 1 Refined version of the diagram Update 2 Considering an analogy of a Fast food restaurant would be helpful: Customer ---------- A hungry person Service ------------- Making a burger, Home delivery, Mobile delivery, ... Order-item --------- A burger, ... Order ---------------- A home-delivered burger Invoice -------------- The printed invoice Project -------------- Serving the customer for a complete year (like a contract) Project-phase ----- Serving the customer for a single day Task ----------------- Preparing the kitchen, process the meat, ... Developer ---------- The cookie Delivery ------------- A burger in wrapped in wax papaer and a drink with the tray Update 3 () Project seems to be unrelated to Customer in your diagram. Is this what you intended? I think Order is and Project should not be related, as I think it is something off-the-counter and customer has nothing to do with it. she/he is only after the delivery and is concerned about time and money, nothing else. Please tell if I am wrong. Are all Orders part of a Project or can you have orders that aren't in a project at all? All Orders are part of a project, except those new ones which are waiting in the process queue. Similarly, you relate order item directly to customer, but also to order. Are orders split between customers? Please think of Order-Item as these: web design web design consultancy domain name consultancy ... So, customer choose some of these items, collected as an Order which has an invoice and could be paid. Order-Items are directly related to offered Services. I don't understand what do you mean by Are orders split between customers?. If not you don't need a ternary relationship between customer, order item and service. Rather, an order item is an intersection between order and service. Order items belong to customers by inheritance from order (or even project?) This is somehow true: Order items belong to customers by inheritance from order, but I think it is more rational to say it like this: Order-Items, inherited from Service, belong to Order which itself belongs to Customer.",
"Difference between projection and datum?",
"latex table border dont appear / to big / to small still working on that table. Here's my new question reguarding the table borders: It appears, that i do something wrong setting boarders. Here is my code, and a screenshot: \\documentclass{article} \\usepackage{multirow} % Used for the vertical cells \\usepackage{rotating} % Used for the vertical cells \\usepackage{xcolor} % Used for cell-colors \\usepackage{colortbl} % Used for cell-colors \\usepackage[a4paper]{geometry}% Used to set the pdf margins manually \\newgeometry{left=2cm,bottom=0.1cm} \\definecolor{grey}{HTML}{F2F2F2} % Define grey for the cells \\definecolor{red}{HTML}{FF0000} % Define red for testing \\begin{document} \\scriptsize % Use a small font size \\begin{tabular}{|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0.6cm}|p{0,6cm}|} \\cline{10-17} \\multicolumn{9}{|c|}{} & \\multicolumn{2}{p{\\dimexpr (0.6cm)*2+2\\arrayrulewidth+2\\tabcolsep\\relax}|}{\\cellcolor{grey}Work to retired ratio} & \\multicolumn{4}{p{\\dimexpr (0.6cm)*4+1\\arrayrulewidth+2\\tabcolsep\\relax}|}{Health care sizing (per thousand)} & \\multicolumn{2}{p{\\dimexpr (0.6cm)*2+1\\arrayrulewidth+2\\tabcolsep\\relax}|}{\\cellcolor{grey}Inverse dependency ratio}\\\\\\cline{3-9} \\multicolumn{2}{|c|}{} & \\multicolumn{4}{c|}{\\cellcolor{grey}Population (mio.)} & \\multicolumn{3}{c}{Workforce (1000)} & \\multicolumn{2}{|c|}{\\cellcolor{grey}} & \\multicolumn{2}{l|}{Physicians by} & \\multicolumn{2}{l}{Nurses by} & \\multicolumn{2}{|l|}{\\cellcolor{grey}Old agers by}\\\\\\hline \\multicolumn{2}{|c|}{} & \\begin{sideways}\\cellcolor{grey}\\parbox{4cm}{Overall}\\end{sideways} & \\begin{sideways}\\cellcolor{grey}\\parbox{4cm}{Young age}\\end{sideways} & \\begin{sideways}\\cellcolor{grey}\\parbox{4cm}{Working age}\\end{sideways} & \\begin{sideways}\\cellcolor{grey}\\parbox{4cm}{Old age}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Overall}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Physicians (Proj: 2025)}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Nurses (Proj: 2030)}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{\\cellcolor{grey}Working age by Old age}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{\\cellcolor{grey}Work force by Old age}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Workforce}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Working age}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Workforce}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{Working age}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{\\cellcolor{grey}1 physicians}\\end{sideways} & \\begin{sideways}\\parbox{4cm}{\\cellcolor{grey}1 nurse}\\end{sideways}\\\\\\hline \\multicolumn{2}{|l}{USA} & \\multicolumn{4}{l}{\\cellcolor{grey}} & \\multicolumn{3}{l}{} & \\multicolumn{2}{l}{\\cellcolor{grey}} & \\multicolumn{4}{l}{} & \\multicolumn{2}{l|}{\\cellcolor{grey}}\\\\\\hline 1990/1 & & 248,6 & 71,3 & 146,1 & 31,2 & 127.500 & 615,4 & 1491,6 & 4,68 & 4,09 & 4,83 & 4,21 & 11,70 & 10,21 & 50,7 & 20,9\\\\\\hline 1 & 2 & 3 \\\\\\hline \\end{tabular} \\end{document} On 1 the Top border of Population is not visible although i did used \\\\\\cline{3-9}\\cline{12-17} on that line. In 2 both borders are pushed a bit to the right for no reason i can see. And in 3 again the top borders are not visible despite using \\cline{10-17} on that line. What did i do wrong? Thanks!",
"Scanner issue when using nextLine after nextXXX",
"Does Windows use the fastest drive for the page file? Suppose I have a 6 GB page file on an SSD and another 6 GB page file on a traditional mechanical 5400rpm SATA drive. Does Windows take into account the difference in the performance characteristics between the two drives when deciding which page file to use? If it matters, I'm asking about Windows 7 and higher. I reviewed this but it doesn't appear to factor in the case of dissimilar storage speeds.",
"Recreate plot when data file changes Is it possible to use the TikZ/external library and have pgfplots recreate a figure when a data file that is plotted changes? Say I have something like the following: file.tex: \\documentclass{article} \\usepackage{tikz,pgfplots} \\usetikzlibrary{external} \\pgfplotsset{compat=newest} \\tikzexternalize \\newcommand{\\figFilename}{} \\begin{document} \\begin{figure}[t] \\centering \\renewcommand{\\figFilename}{thePlot} \\tikzpicturedependsonfile{\\figFilename.tikz} \\tikzsetnextfilename{\\figFilename} \\input{\\figFilename.tikz} \\caption{The caption.} \\end{figure} \\end{document} thePlot.tikz: \\begin{tikzpicture} \\begin{axis}[ xlabel={$x$}, ylabel={$y$},] \\addplot+[only marks,mark=x] table[x=x,y=y] {data.dat}; \\end{axis} \\end{tikzpicture}% data.dat: x y 0 20.44 1 20.06 2 19.76 3 19.54 4 19.40 5 19.34 If I change thePlot.tikz, the external library will detect that the figure is no longer up-to-date and recreate it. Is it possible to have the same effect when any of the plotted data files changes as well? I tried something along the lines of \\tikzpicturedependsonfile{data.dat}, and it doesn't work. That wouldn't be an ideal solution anyway, as most times I use many data files in each plot and listing all dependent files manually would be more pain than gain. So is there an easy, automated way for the external library to check all data files included in a tikzpicture and recreate the plot if at least one of them has changed?",
"How can I search for special characters?",
"Finding how multiplication and addition behave on $\\mathbb{F}_4$ without any result I'm currently tutor in an undergraduate course and the students are asked to find how addition and multiplication behave on the field with 4 elements: $\\{0,1,x,y\\}$. In the solution the teacher gave me, he uses the fact that $(\\mathbb{F}_4^*, \\cdot )$ is cyclic with order 3 to find that $x$ and $y$ are both generators and that $(\\mathbb{F}_4,+)$ is a group of order 4 to deduce that $0=1+1+1+1=(1+1)(1+1)$ and hence, $(1+1)=0$ since a field is integral. However, I'm not satisfied with this reasoning because this question is asked to student in first year and they juste have been introduced to fields (and this was part of an analysis course so they won't see any result soon). So I tried to find how it behaves by myself, using as few results as possible. Multiplication is the easy part, $0\\cdot a$ and $1 \\cdot a$ is trivial for all $a\\in \\mathbb{F}_4$. Then, $x\\cdot y\\not = 0$ because it is invertible, and it can't be equal to $x$ or $y$ because that would imply the other element to be equal to $1$. Hence, $x\\cdot y=1$. We are left to find what is $x^2$ (and similarly, $y^2$). $x^2$ cannot be $0$, nor $x$. If $x^2=1$, then $y=(x^2)y=x(xy)=x\\cdot 1=x$. Contradiction. Hence $x^2=y$ and by the same reasoning, we have $y^2=x$. It was easy with the multiplication, but I can't figure out any non-trivial result concerning addition. My intuition tells me that distributivity should be used here but I'm feeling like it's just converting a problem into another one because we don't know anything about addition. Does anyone here have an idea of how addition can be \"found\" without using any advanced result (or as few results as possible)? Thanks in advance.",
"Does adding two linear equations will result in a line which will pass through an intersection of the linear equations? I was wondering why it is almost impossible to find a geometrical explanation of why adding two linear equations helps us to find a solution of a system of linear equations? Am I right that adding two linear equations will result in an equation of a line which will pass through a point where two linear equations intersect? If it is right then I completely don't understand why such a crucial point in understanding how to solve systems of equations is never properly taught even at a university level.",
"When to use IComparable Vs. IComparer I'm trying to figure out which of these interfaces I need to implement. They both essentially do the same thing. When would I use one over the other?",
"Why are the Ringwraiths fearful of coming into contact with water? At least twice in The Lord of the Rings: The Fellowship of the Ring, Ringwraiths cower away from bodies of water. The second time (the ford of Bruinen) can be explained away by their fear of some Elvish magical trap through the enchantment of the water; but what about the first time, at the ferry? One of the Nazgûl could have easily made the jump onto the barge and quickly dispatched those pesky Hobbitsses.",
"Solving linear congruence (modular inverse or fraction) via gcd Bezout equation Isn't finding the inverse of $a$, that is, $a'$ in $aa'\\equiv1\\pmod{m}$ equivalent to solving the diophantine equation $aa'-mb=1$, where the unknowns are $a'$ and $b$? I have seem some answers on this site (where the extended Euclidean Algorithm is mentioned mainly) as well as looked up some books but there is no mention of this. Am I going wrong somewhere or is this a correct method of finding modular inverses? Also can't we find the Bézout's coefficients by solving the corresponding diophantine equation instead of using the extended Euclidean Algorithm?",
"Check to see if an email is already in the database using prepared statements",
"How to show that $C=C[0,1]$ is a Banach space Let $C=C[0,1]$ be the space of all continuous functions on $[0,1]$. Define $\\|f \\|=\\max \\ |f(x)|$. I want to show that $C$ is a Banach space. Below is my attempt and I was wondering if it's ok. I know I have to show that $C$ is a complete normed space. Clearly, $\\|f\\| \\geqslant 0$ and $\\|f\\|=0 \\Leftrightarrow f=0$. $\\|cf \\|=\\max~|cf(x)|=|c|\\max |f(x)|=|c| \\cdot \\|f\\|$. $\\|f+g\\|=\\max~|f(x)+g(x)|\\leq \\max~|f(x)|+\\max~|g(x)|=\\|f\\|+ \\|g\\|$. So $C$ is a normed space. Next, I show that every Cauchy sequence in $C$ is convergent. Let $\\{f_n\\}$ be a Cauchy sequence in $C$. Let $\\varepsilon \\gt 0.$ Then $\\exists$ an $N_1$ such that $$ \\max~|f_n(x)-f_m(x)| \\lt \\frac{\\varepsilon}{2}$$ for $n, m \\gt N_1$ and $x\\in[0,1]$. But there is a subsequence $f_{k_n} $, which converges to $f$. So $\\exists$ an $N_2$ such that $$ \\max~\\left|f_{k_n} - f\\right|\\lt \\frac{\\varepsilon}{2}$$ for each $n\\gt N_2$. Now Let $N = \\max\\{N_1, N_2\\}$, if $n \\gt N$ then $k_n \\geqslant n\\gt N$. So we have $$ \\max~\\left|f_n(x) - f(x)\\right| \\leqslant \\max~\\left|f_n - f_{k_n}\\right| + \\max~\\left| f_{k_n} - f\\right| \\lt\\frac{\\varepsilon}{2} + \\frac{\\varepsilon}{2} = \\varepsilon.$$ Thus, $\\|f_n-f\\| \\to 0$ as $n\\to \\infty$. $\\quad \\square$ Thanks.",
"Is this correct? The person with whom I'm doing the project should be here soon. If it is, is with always a dative preposition (like mit in German)?"
] | medi_sts_stackexchange_dupe |
Quickest way to check whether or not file exists | What's the best way to check if a file exists in C? | [
"Endnotes do not be superscript and add a space",
"Tabs in output file written by xelatex and pdflatex are different",
"When installing an application, the application lists permissions that it needs to perform its functions. I am creating this list of the the system defined permissions and a description of what they mean. It is a community wiki so if new permissions are added in the future they can be added to this list.",
"I suspected that installing xfce4 cause some issues in Ubuntu so I removed them using apt-get remove xfce4 xfce4-goodeis. But when I ran 'dpkg -l' I still can see some libraries and packages for xfce4: $ dpkg -l | grep -i xfce rc libexo-1-0:amd64 0.10.2-2 amd64 Library with extensions for Xfce rc libgarcon-1-0 0.2.1-1 amd64 freedesktop.org compliant menu implementation for Xfce rc libxfce4ui-1-0 4.11.0-0ubuntu1~ppa0.13.10.1 amd64 widget library for Xfce - Gtk+2 variant rc libxfce4ui-common 4.11.0-0ubuntu1~ppa0.13.10.1 all common files for libxfce4ui rc libxfce4util6 4.10.1-1 amd64 Utility functions library for Xfce4 rc libxfcegui4-4 4.10.0-2 amd64 Basic GUI C functions for Xfce4 rc libxfconf-0-2 4.10.0-2 amd64 Client library for Xfce4 configure interface rc mousepad 0.3.0-2 amd64 simple Xfce oriented text editor rc thunar 1.6.3-1ubuntu1 amd64 File Manager for Xfce rc xfce4-appfinder 4.10.1-1 amd64 Application finder for the Xfce4 Desktop Environment rc xfce4-clipman 2:1.2.3-2ubuntu1 amd64 clipboard history utility rc xfce4-mixer 1:4.10.0-1ubuntu2 amd64 Xfce mixer application rc xfce4-notes 1.7.7-3ubuntu2 amd64 Notes application for the Xfce4 desktop rc xfce4-panel 4.10.1-1ubuntu1 amd64 panel for Xfce4 desktop environment rc xfce4-power-manager 1.2.0-2ubuntu1 amd64 power manager for Xfce desktop rc xfce4-session 4.10.1-1ubuntu1 amd64 Xfce4 Session Manager rc xfce4-settings 4.11.1-0ubuntu1~ppa0.13.10.1 amd64 graphical application for managing Xfce settings rc xfce4-terminal 0.6.2-3ubuntu1.1 amd64 Xfce terminal emulator rc xfce4-volumed 0.2.0-0ubuntu1 amd64 volume keys daemon rc xfdesktop4 4.11.2-0ubuntu1~ppa0.13.10.1 amd64 xfce desktop background, icons and root menu manager rc xfwm4 4.11.1-0ubuntu1~ppa0.13.10.1 amd64 window manager of the Xfce project I copy-pasted all these packages\\libraries to form an apt-get remove command to remove all of these dependencies, and the command ran normally, but running dpkg -l | grep -i xfce showed these dependencies again ! Why are these dependencies still installed ?",
"Should we use plural or singular for a fraction of a mile? I have seen people say both 0.25 mile and 0.25 miles. Should we use plural or singular for a fraction of a mile?",
"Do you think that \"was going to be\" or \"would be\" could be used as past tense of will? I thought this book was going to be your choice. I thought this book would be your choice. Do these two sentences basically mean the same thing or are they slightly different?",
"Deleting an element from an array in PHP",
"How do I print a double value with full precision using cout?",
"Can we query the info from \"Data Management -> Storage Usage\" through SOAP API?",
"Selecting ARIMA orders based on ACF-PACF vs. auto.arima",
"What is the best way to remove duplicate rows from a fairly large SQL Server table (i.e. 300,000+ rows)? The rows, of course, will not be perfect duplicates because of the existence of the RowID identity field. MyTable RowID int not null identity(1,1) primary key, Col1 varchar(20) not null, Col2 varchar(2048) not null, Col3 tinyint not null",
"Doesn't the end of Looper create a time paradox? I guess this is more a question about the nature of time travel more than anything else. At the end of the movie, Joe shoots himself in a field and changes the course of history. Does this create a paradox as it changes the history that led up to that point? If his future self had never existed he'd never have gone on the mission he did and thus he never would have ended up in the field. Once he did what he did, he could no longer have done it, and so theoretically, time and space should have just folded in on itself and popped out of existence. Is there something I'm missing that would explain how the movie could have ended where it did without the events at the beginning to lead it there?",
"I had read a story / article about artificial intelligence, I think it was last year (2012) but I'm not sure when it was published. It was on an online blog for an institute I believe. I am telling the story in quotes, just to demarcate where the story begins and ends. In the story, a scientist is trying to build a perfect AI system which can respond to human interaction perfectly. Apparently the only way this is possible is to make the computer believe that it is human. He creates what he believes is the solution, and asks a friend to volunteer for a test, and the friend agrees. For the test the friend is supposed to step into a tank full of a liquid. As soon as he enters the tank, he is told, he will lose all his sensations - no vision, no hearing etc. After entering the tank, he talks to the computer and responds, and isn't able to recognise that he is in fact talking to a computer. After some time (days? Don't remember) has passed, he begins to worry - why is he still trapped in the tank? At this point the scientist tells him that he is in fact the computer he has made, the memory that he has of the human life till the time he enters the tank has been implanted in the machine, so he thinks he is human. He is not in a tank, he is a computer, and that is why he can't see or feel anything. The story ends here. It is told from the perspective of the computer itself, but since it is an article in a science blog / forum for a technical college, it feels like you're reading an actual experiment when you start reading. It was a rather nice surprise ending to the story in my opinion. I just can not seem to be able to locate the article / story anywhere. Can somebody who might have read this help me? Even just pointing me in the direction of the site it is hosted on would be great.",
"Is the set of all unitary matrices in $M_2(\\mathbb{C})$ is compact? I can show that as determinant map is continuous so unitary matrices are closed but how to show they are bounded? Please help.",
"I took a look at but my question is not the same. I have unique keys encrypting each plaintext (in CBC mode, AES-256) and I do not use a key to encrypt more than one plaintext. Is it insecure to use null IVs in this case? If it is insecure, why?",
"Do not delete good duplicates!",
"Using indefinite articles before adjectives: \"Let's have a good breakfast\" Let's have breakfast Let's have a good breakfast I've learned that indefinite articles aren't used before uncountable nouns, so why is a used before the adjective \"good\" here? Is there an exception to the rules or is it wrong?",
"Seriously, it was fun and all, but I can't and I don't want to stay married to the same woman for the rest of my life - one real life marriage is enough.. Is there a lawyer or process of some kind in the world of Skyrim, and if not, who could help me divorce her? If all else should fail, (sigh), do I have to take her to the backyard, thwack her head with the shovel and dig a shallow grave?",
"How are ssl certificates verified? What is the series of steps needed to securely verify a ssl certificate? My (very limited) understanding is that when you visit an https site, the server sends a certificate to the client (the browser) and the browser gets the certificate's issuer information from that certificate, then uses that to contact the issuerer, and somehow compares certificates for validity. How exactly is this done? What about the process makes it immune to man-in-the-middle attacks? What prevents some random person from setting up their own verification service to use in man-in-the-middle attacks, so everything \"looks\" secure?",
"SEO regarding using separate tags for the logo and website name Is is true <h1> tag should not have more than 1 on every page for SEO? Every pages on the header, it includes and <h1> tag. Website Name which show an image from logo class, like this: <div id=\"header\"> <h1 class=\"logo\"> <a href=\"#\">Website Name</a> </h1> </div> and I also include <h1> on the contact page, help, etc and article page for example: <h1>Contact Us</h1> <h1>Name of the Article Title here</h1> On the homepage, it just has one <h1> for the logo Site Name... other pages have 2 <h1> tags"
] | medi_sts_stackexchange_dupe |
Show that for any reals $a; b; x; y \ge 0, (ax + by)^2 \le (a^2 + b^2)(x^2 + y^2)$. (Hint: Use Cauchy-Schwarz inequality in $\mathbb{R}^{2}$.) | Prove $(a^2+b^2)(c^2+d^2)\ge (ac+bd)^2$ for all $a,b,c,d\in\mathbb{R}$. | [
"Title of 80's movie: future-era timetraveling humans go extinct and rescue/kidnap todays air crash victims What is the title of a 80's (i believe?) movie where humans in the far future are going extinct, and are aquiring new humans by going back in time to todays world, kidnapping air travelers that are known to have died that day, from the flying passenger aircraft just before its crashing. A key visual: Inside a hangar, a time portal opened, and a tail of a (flying) passenger aircraft extruded into the hangar where a stairs provided access to the back door of the aircraft. The kidnappers made sure the surviving passengers remain seated and would forget about the whole ordeal. Kidnapped humans got replaced by lookalike dummies, including things they had on them. They tried hard not to alter the timeline.",
"Why and how do \"bigger pixels\" make a better picture? This is going off of today's iPhone 5S announcement, when Phil Schiller said that \"bigger pixels\" is the key to a better picture. What does this mean? Is it true or just a marketing ploy?",
"Prove that there are no positive integers $x$ and $y$ such that $x^3 + y^3 = 10^3$. Prove that there are no positive integers $x$ and $y$ such that $x^3 + y^3 = 10^3$. This is a homework question, and I understand that its part of Fermat's Last Theorem, but when I looked that up to try to figure out the homework, I realized that it is way further than what we've learned in class so far. We have to prove this, but the only way I can think to do it is by exhaustion, which would be extremely lengthy. Any little shove in the right direction would be appreciated. Thanks!",
"How can I tell what year my bike was made? This is a canonical question that will hopefully encompass all of the questions we get asking us to determine what year a bicycle was manufactured (how old is my bike, how old is my frame, etc.). Each \"answer\" should address a different way to determine the manufacturing year of a bicycle. To some extent, these will also help you narrow down the model as well as it will tell you what distinguishing features to look at. The span of answers would include things such as: Skiptooth cranks Cartridge bottom brackets (BB30/90 etc) Elliptical chainring Quick releases versus contemporary through-axles How the steerer attaches to the fork (quill vs. threadless) Braking system (especially with mountain bikes: v-brake, direct pull, etc.) Shifting ramps and pins on cassettes/sprockets and chainrings (versus flat sprockets) Frame material (e.g., shift from tubular steel to use of CF and hydroformed aluminium) Frame tubing type (e.g. Reynolds 531 tubing introduced around 1934, still used today; Reynolds 501 tubing introduced around 1983). So a frame with an original 501 decal can't be from the 70', 531 decal doesn't help as much because of the range of years produced. Also, see Decals. *Decals: style/design, amount, placement, color, etc. can help not only determine models, but also year of manufacture. Many changed decal design for the same model bike often yearly, with special/limited editions even more specific. This applies only if decals are original or have been replaced with the identical design. Tubing decals (Reynolds, Columbus, etc.) also changed designs for same tubing made in different years, although the changes aren't made as often, and manufacturers didn't always put tubing Brand decals on every model. Earlier bikes tended to have less fancy, less colorful, less quantity of decals. Headbadges: most early bikes had actual \"badges\", often quite detailed and fancy, made of metal, then plastic, and finally just using decals on the headtube. Most bikes lost their metal badges in the 60's and early 70's, although some brands still have actual badges to this day, but in general a real badge indicates an earlier model bike. Dropout style (including the later inclusion of lawyers lips) Presence or absence of CPSC reflectors (USA only) Manufacturing method (shift from lugs to TIG welding, for example) Number of gears (shift from 2x5 ten-speed to 3x8, 2x9, 1x11, etc.) Inspection of lug design: pantographs, cut-out, stampings, custom brazing/filing, chrome, fork crow n sweep, etc. Frame/Fork Braze-ons. Race bikes tended have less braze-ons the earlier the year of manufacture. Most 60's racers and earlier had few or none with cable guides/stops, shifters, bidons, etc. being clamp-on. By the 80's if it was clamp-on, it was a sign of very cheap models and most frames had braze-ons for all cables, with multiple bottle and accessory bosses depending on style and use. and so forth. Please edit this question if you have an answer that isn't in the index above. A couple of caveats: A previous owner could have replaced or upgraded components on a bicycle, so this guide only applies to original equipment There is a delay between the introduction of a technology (such as indexed shifting) and when manufacturers start selling products that use it. Low-end manufacturers may continue using technology that is severely outdated (such as one-piece cranks, freewheels, or quill stems) because it is cheaper to do so. A number of bikes are built in a Retro style, but with modern components. Dutch bikes, trendy coffee cruisers, and beach cruisers may be modern but appear to be 1950s styling. These tend to have modern rims and brakes as a giveaway. Note that bicycles.stackexchange does not do valuations of bicycles. How much your bicycle is worth depends on the location of the buyer and seller, how much the buyer wants the bike, etc. etc. etc.",
"Velocity Maxwell-Boltzmann distribution for dummies I have a volume with $N$ molecules; I need to assign to each particle a velocity vector: $$|\\mathbf{v}_{i}|=[v_{x}, v_{y}, v_{z}]^{T}$$ for the $i$-th molecule; the velocities must follow the Maxwell-Boltzmann distribution; here is the question: I know the definition of the M.B. distribution, how do I extract the velocities that I have to assign to each molecule? Basically what I want to know is how to calculate $$v_{x}=?$$ $$v_{y}=?$$ $$v_{z}=?$$ for each molecule.",
"I am trying to create the following trigger: CREATE TRIGGER update_customers AFTER INSERT ON wp_usermeta FOR EACH ROW BEGIN if new.wp_metakey = first_name then insert into test_customer(first_name) values (new.wp_meta_value); END I keep getting a 1064 error that says, \"You have an error in your SQL syntax; check the manual that corresopons to your MySQL server version for the right syntaxt to use near \" at line 5\" What am I doing wrong?",
"Why do you need to know who I know on Google? I just created a SE account using my Google account. It said that it needs to \"Know who you are on Google\" (I guess my connections). As far as I know, SE is not a social network. I can't even follow other people (seeing when they post questions and answers). What is the reason you need to know my Google connections? This was on code review. Actually I have an account there, but for some reason it asked me to reconnect. This is the same on MSO; one sees this explained as \"This app is requesting permission to associate you with your public Google profile\":",
"If a spell is cast on a moveable creature/object and lasts longer than a round, and the creature/object moves, does the spell move with it?",
"Apache accepting requests to other servers? I'm having problems with apache server (CentOS VPS at Amazon). When apache starts, it starts to receive hundreds of requests, this is an example of the log: 173.208.216.165 - - [25/Jan/2015:18:23:11 +0000] \"GET http://go.padstm.com/resources/img/iebt.png HTTP/1.0\" 200 36023 \"http://go.padstm.com/?id=173374&t=iframe&var=33110\" \"Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729)\" The path /resources/img/iebt.png is in my server, but not go.padstm.com. The strangest thing is that apache is accepting all the requests. Other example: in this case, the entire resource is NOT in my server, but apache returns 200: 198.204.239.250 - - [25/Jan/2015:19:04:39 +0000] \"GET http://fstads.com/show.php?z=26&pl=494&j=1&code=1422237874120 HTTP/1.0\" 200 10819 \"http://financezhen.com/?p=186#respond\" \"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.2a1pre) Gecko/20110324 Firefox/4.2a1pre\" I don't know why these requests goes to my server, or why it returns 200... Also, when apache starts and module prefork is enabled, it launches multiple httpd processes. If worker module is enabled, it launches multiple threads. Ok, but in both cases apache ends up consuming all the CPU and memory of the server, and there is not traffic directed to my server. More info: ProxyRequests is Off. Also: I'm using ip-based vhosts: NameVirtualHost xxx.xxx.xxx.xxx:80 <VirtualHost xxx.xxx.xxx.xxx:80> ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/html/w3prod ServerAdmin admin@localhost UseCanonicalName Off CustomLog /var/log/httpd/w3prod.mydomain.com combined ErrorLog /var/log/httpd/w3prod_error.mydomain.com </VirtualHost> <VirtualHost xxx.xxx.xxx.xxx:80> ServerName picfarm.mydomain.com ServerAlias www.picfarm.mydomain.com DocumentRoot /var/www/html/picfarm ServerAdmin admin@localhost UseCanonicalName Off CustomLog /var/log/httpd/picfarm.mydomain.com combined ErrorLog /var/log/httpd/picfarm_error.mydomain.com </VirtualHost> <VirtualHost xxx.xxx.xxx.xxx:80> ServerName test.mydomain.com ServerAlias www.test.mydomain.com DocumentRoot /var/www/html/engine-test ServerAdmin admin@localhost UseCanonicalName Off CustomLog /var/log/httpd/test.mydomain.com combined ErrorLog /var/log/httpd/test_error.mydomain.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /bosh http://xxx.xxx.xxx.xxx:7070/http-bind/ ProxyPassReverse /bosh http://xxx.xxx.xxx.xxx:7070/http-bind/ ProxyPass / http://xxx.xxx.xxx.xxx:8080/ ProxyPassReverse / http://xxx.xxx.xxx.xxx:8080/ </VirtualHost> Any help would be appreciated. Thanks!",
"Can we get our personal voting data displayed on the Questions lists? There's been several times where I have been surfing the site, and noticed a question that I am not sure I've checked. Even if I've checked the question before, I can't recall off-hand whether or not I've voted on it or its answer. Is there a way we can have our personal voting history reflected to some degree or another, in the Questions listing? For example, could there be an indicator as to whether or not we have already voted (up or down) on a question, and perhaps maybe an additional indicator as to whether we've up-voted any of its answers? It would be very convenient to have some of this data available up-front, without actually having to view the question again.",
"New top bar doesn't show hot threads across Stack Exchange sites",
"Right-hand sidebar covers the footer on the \"ask question\" page and markdown help page",
"Why does the set of all singleton sets not exist?",
"When should I use exposure compensation? When should I use exposure compensation, rather than ISO, shutter speed or aperture?",
"Fastest method to determine my PC's IP address (Windows) This may seem trivial but I'm looking for the quickest method to determine my PC's IP address within my network. This changes regularly as I connect from one network to the next via DHCP The connection changes from wired to wireless Windows 7 PC (although ideally the perfect solution would work on all versions of Windows) Various adapters installed (e.g. VMWare, Tunnels, etc.) I need to know this as I often run a local web server where I need to access files over the local network... and since it changes regularly I want the fastest method to retrieve the address. My current flow is: WindowsKey + R to open the Run dialog \"cmd\" + Enter to open a command prompt \"ipconfig\" + Enter to get the diagnostics info Scroll to or resize the window so that I can see the line in my Ethernet adapter Local Area Connection for my ipv4 Address Remember it to type elsewhere... or Right click > select Mark > highlight the address > press Enter to copy it to the clipboard This wasn't so bad with Windows XP when I had no additional adapters, tunnels, wireless connections etc. but the amount of data returned with this command makes it hard to pluck out. Surely there must be a better, faster way! (bonus points if adding it to the clipboard is easily accomplished)",
"Under what conditions is the exponential map on a Lie algebra injective? Let $G$ be a Lie group with Lie algebra $\\mathfrak{g}$ and let $\\exp :\\mathfrak{g}\\rightarrow G$ be the exponential map. In his blog, that if a Lie group is not simply-connected, then $\\exp$ will not be injective. Conversely, is it true that if a Lie group is simply-connected, then $\\exp$ is injective? If not, what is a counter-example?",
"C: pointer to struct in the struct definition How can I have a pointer to the next struct in the definition of this struct: typedef struct A { int a; int b; A* next; } A; this is how I first wrote it but it does not work.",
"Show that if $f: \\mathbb{R} \\to \\mathbb{R}$ is a continuous injective map, then it is strictly monotonic. Could someone give me a proof for this? I have the intuition for why it's true - I'm just having trouble expressing that intuition in a rigorous manner. Basically consider two points $x_1, x_2 \\in \\mathbb{R}$. By the problem statement, $f$ is continuous on $[x_1, \\, x_2]$. WLOG, assume that $f$ is strictly increasing. It there exists a point where it is not increasing, then $f$ hits a value twice, and it's not injective.",
"Can't compile any c/ c++ program, linker problem It's my second post here, i have a huge problem which prevents me to study so i have to fix it as soon as it's possible ! My gcc was working fine and i had to work on FairThreads (in C). I downloaded the following archive : As you can see, in /src there's a makeFile, i replaced the second line which was : LIB_DIR = ../lib by LIB_DIR = /usr/bin/ld and i compiled the makeFile by the command "make" And now, i cannot compile any c/c++ program anymore. Even a hello world program. I got the following error message on the terminal for every compiling attempt : /usr/bin/ld: 2: /usr/bin/ld: Syntax error: newline unexpected collect2: error: ld returned 2 exit status I have found on the net this solution but it doesn't work for me : sudo apt-get autoremove binutils sudo apt-get install binutils I also tried to reinstall gcc, when executing : sudo apt-get purge gcc i got : Des erreurs ont été rencontrées pendant l'exécution : linux-firmware linux-image-generic-hwe-18.04 linux-generic-hwe-18.04 E: Sub-process /usr/bin/dpkg returned an error code (1) but when i trie a gcc --version it tells me that it is not found. So when i execute the command to reintall it : sudo apt-get install gcc i also get : Des erreurs ont été rencontrées pendant l'exécution : linux-firmware linux-image-generic-hwe-18.04 linux-generic-hwe-18.04 linux-image-5.4.0-72-generic initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) but gcc --version tellls that it's installed. Finally, when i trie to compile a program, i got : /usr/bin/ld: 2: /usr/bin/ld: Syntax error: newline unexpected collect2: error: ld returned 2 exit status I hope that i explained well, and i'll get a solution for this :/, as a computer science student, i can't do anything without gcc :( EDIT 1 : When i try to remove bin/ld by executing : sudo rm -fr /usr/bin/ld;sudo apt-get install --reinstall binutils i got : Des erreurs ont été rencontrées pendant l'exécution : linux-firmware linux-image-generic-hwe-18.04 linux-generic-hwe-18.04 linux-image-5.4.0-72-generic initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) and this particular error message : WARNING: no ldd around - install libc-bin EDIT : I have installed ldd by the command : sudo apt-get install libc-bin still no changes...",
"How do I get started in Astrophotography?"
] | medi_sts_stackexchange_dupe |
How to find all columns in a table which containing the chr(0) character in oracle | Search All Fields In All Tables For A Specific Value (Oracle) | [
"How to convert coordinates from vertex to world-space? How do I convert from object-space to world-space? I suspect it is: vert_os = obj.vertices[foo] vert_ws = vert_os.getPositionFromMatrix(obj.matrixWorld) but does the matrix also handle translations, or do I need to handle that separately? Can someone link to the relevant documentation?",
"Can 'AMD-only' RAM really be restricted to AMD chipsets, and if so, why? I was browsing for a RAM upgrade earlier for my system, and came across 'AMD-only' RAM (aka, RAM that only works on AMD chipsets). This RAM can , and seems to be slightly cheaper than 'normal' RAM. The RAM prompts a question: is this RAM really restricted to AMD chipsets? When considering RAM for a system, there are certain considerations to make such as: Speed (1066MHz, 1600MHz, etc); CAS (latency, lower is better); Generation (DDR2, DDR3, DDR4, etc) However there is usually no such consideration as chipset compatibility. Sure, it's possible to guarantee that a given stick of memory will work if it's within the bounds of the chipsets listed in the information given by the seller/manufacturer. For instance if a series of chipsets supported RAM between 1600MHz and 2400MHz, with 9-12 CAS, and on DDR3, it would be possible to list a product as being fully compatible with that series of chipsets if the said RAM was 2000MHz, 10 CAS, and DDR3. I suspect that's partially the story here. However, is it possible at all for a given stick of memory to be 'AMD-only' or 'Intel-only', and if so, how?",
"Ssh login hook?",
"Given a logarithm is true, if and only if, $y = \\log_b{x}$ and $b^y = x$ (and $x$ and $b$ are positive, and $b$ is not equal to $1$), are true, why aren't logarithms defined for negative numbers? Why can't $b$ be negative? Take $(-2)^3 = -8$ for example. Turning that into a logarithm, we get $3 = \\log_{(-2)}{(-8)}$ which is an invalid equation as $b$ and $x$ are not positive! Why is this?",
"Yesterday, one of our computers dropped to grub shell or honestly, I am unsure what shell it was when we turned on the machine. It showed that it can't mount the root filesystem or something in this sense, because of inconsistencies. I ran, I believe: fsck -fy /dev/sda2 Rebooted and the problem was gone. Here comes the question part: I already have in her root's crontab: @reboot /home/ruzena/Development/bash/fs-check.sh while the script contains: #!/bin/bash touch /forcefsck Thinking about it, I don't know, why I created script file for such a short command, but anyways... Further, in the file: /etc/default/rcS I have defined: FSCKFIX=yes So I don't get it. How could the situation even arise? What should I do to force the root filesystem check (and optionally a fix) at boot? Or are these two things the maximum, that I can do? OS: Linux Mint 18.x Cinnamon 64-bit. fstab: cat /etc/fstab | grep ext4 shows: UUID=a121371e-eb12-43a0-a5ae-11af58ad09f4 / ext4 errors=remount-ro 0 1 grub: fsck.mode=force was already added to the grub configuration.",
"Let $B$ be a real Banach Space whose dimension is at least $2$, and let $S$ be a subset of $B$ that is an open ball. Is the complement of $S$ (with respect to $B$) always connected? Idea One could then perhaps make use of the facts that every $2$-dimensional Banach space is homeomorphic to the Euclidean plane and that - for the Euclidean plane - my question has an obvious "YES" answer (since every open ball is the interior of a circle).",
"Using terminal escape-sequences within GNU screen I have a ruby terminal script that I would like to print out hyperlinks. I achieve that like so: puts(\"\\e]8;;https://example.com\\aThis is a link\\e]8;;\\a\") This works perfectly fine in a \"normal\" terminal (gnome-terminal btw) window. But I need to run this script within GNU screen, where the escape-sequence simply has no effect. Other sequences (like colors for example) work fine, the hyperlink one (which according to the might be a gnome-terminal-only thing) doesn't. (screen is running inside gnome-terminal) How can I get screen to acknowledge my link sequence and display it properly?",
"Which characters are valid in CSS class names/selectors? What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid? ~ ! @ $ % ^ & * ( ) + = , . / ' ; : \" ? > < [ ] \\ { } | ` #",
"I know that : $\\mathbf{Q}(\\sqrt{2}) = \\mathbf{Q}+ \\sqrt{2} \\mathbf{Q}$ , but then what is $\\mathbf{Q}(\\sqrt{2},\\sqrt{3})$?",
"Suppose that $5\\leq q\\leq p$ are both prime. Prove that $24|(p^2-q^2)$. This is what I got so far. I figured that since $p,q$ are bigger than $5$, there are only odd primes for this conjecture. Then I can rename $p=2m+1,q=2n+1,m,n∈Z$. We want to show $(p^2-q^2 )=24k,k∈Z$. By substituting $2m+1$ for $p$ and $2n+1$ for $q$, we get $((2m+1)^2-(2n+1)^2)$. If we expand it, we get $4(m^2+n^2+m-n)$ Q. I think I can make $4(m^2+n^2+m-n)$ look like $24k$. How should I approach ? And my prof. commented that \"I would take this proof in small steps. Rather than trying initially to prove that $24 | p^2-q^2$, look at the progress you already have. You proved $4 | p^2-q^2$. Can you prove 8 is a factor? What about 3? Then see if you can put together what you have to get 24 as a factor.\" I am stuck here. Any helps?",
"Can't cast to to unspecific nested type with generics",
"Add comment length counter on the mobile site I know that comments have to be at least 15 chars for the system to post it. I noticed that on the mobile site, there is no \"x chars to go...\" warning. If I try to post a comment that is too short, it silently fails and still no mention of minimum length at all. Can the length counter that is present in the full site theme be added to the mobile theme please?",
"Is there any UNIX variant on which a child process dies with its parent?",
"Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?",
"Why are RSA key sizes almost always a power of two? I know that other bit sizes are possible, e.g. this HTTPS server seems to have a 9000 bit key , but it's very rare that one sees a key not of size 1024, 2048, 4096, etc. bits in common usage - what is the reason for this? Is it just customary, or is there a cryptographic advantage?",
"I have two passports/nationalities. How do I use them when I travel?",
"What is the path of an MTP device in Windows? I am running Windows XP and have a phone mounted through USB by MTP. In Explorer, its address is: My Computer\\SAMSUNG-SGH-I547\\Phone\\DCIM I would like to execute a command line command such as explorer \"My Computer\\SAMSUNG-SGH-I547\\Phone\\DCIM\\Camera\" so as to quickly go to the Camera folder. (Right-clicking the device or anything in it does NOT provide a \"Create Shortcut\" dialog.) But \"My Computer\" is not a valid PATH in Windows. Unlike USB flash drives, it seems the phone mounted by MTP does not get a letter drive name. So, what is the path of an MTP device in Windows? If the answer is there is no command line path, is there workaround?",
"Electrical Machines based on Electric Fields Our teacher asked us this question during the lecture for Power Electromagnetics. We know that Electric Fields and Magnetic Fields are easily transformable into one another. And they are used greatly in various systems. He asked us why is it that almost all the electric machines are still based on exchange of magnetic energy? Why isn't electric field used for power exchange and interaction through air gaps for a machine?",
"Can I fine-tune my screen brightness? My laptop is Lenovo T400, and my OS is Ubuntu 10.10. I change the brightness of my screen by pressing the FN key and one of the two keys for increasing/decreasing brightness. The brightness I feel comfortable is between two consecutive levels that are offered. So I wonder if it is possible to fine-tune the screen's brightness?",
"I was looking for some package (nautilus-terminal), and accidentally did this: $ sudo apt-get install nautilus- Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apturl apturl-common libgail-3-0 linux-headers-4.4.0-57 linux-headers-4.4.0-57-generic linux-image-4.4.0-57-generic linux-image-extra-4.4.0-57-generic Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: gnome-session-flashback nautilus nautilus-sendto nautilus-share ubuntu-desktop 0 upgraded, 0 newly installed, 5 to remove and 69 not upgraded. After this operation, 2 031 kB disk space will be freed. Do you want to continue? [Y/n] ^[[^C That's quite dangerous because remove is much harder to mistype than a simple dash from a failed autocompletion. Is that an equivalent of apt-get remove? I couldn't find any documentation for that. Edit: except for overlooking the man page..."
] | medi_sts_stackexchange_dupe |
How do people like Madame Pomfrey learn magical healing? | Does higher education exist in Harry Potter? | [
"How to calculate Area Under the Curve (AUC), or the c-statistic, by hand",
"I read somewhere that according to relativity, it is possible - involving black holes and other stuff - to jump into the past. Is it possible for anything to go back in time either continuously or by jumping?",
"Computer wont boot to windows I recently installed a Linux operating system (backtrack 5 r3) I couldn't connect to the internet with it so I removed the partition manually. After that, whenever I turn on my computer it goes to a command line that says \"error no File-system found\" \"Grub Rescue/\" I have tried f12 and booted into all the options. I also put Ubuntu 12.04 on my flash drive and tried installing it on the computer, the installation failed saying \"No Available Space\" My hard-drive is 500g with about 250 left. I put the hard drive in another computer (as a secondary just to see the files. It had 2 partitions a main and one with 1 gig. I formatted it with no difference. My Problem: I can't boot into Windows",
"Why didn't Doc remember Marty's outfit? In Back to the Future 3, Doc (from 1955) sends Marty back in time wearing a cowboy outfit. But then, Doc (from 1885) doesn't remember that it was him who offered this outfit to Marty. Does this mean there are two different Docs (from differing timelines) or is it the same Doc but he somehow forgot the outfit.",
"What's the starting wealth for higher levels?",
"Do fixtures trigger model callbacks?",
"A and B disjoint, A compact, and B closed implies there is positive distance between both sets",
"Manual/automatic line breaks and text alignment in TikZ nodes How can I insert a line break in a TikZ node? Simply putting \\\\ where I want the break doesn't work (see MWE). Is there a way to make lines break automatically at some specified width? And can I control the alignment of the text (left, right, centered, justified)? \\documentclass{article} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} \\node {First line\\\\second line}; \\end{tikzpicture} \\end{document}",
"In QGIS, I want to make polygons from a set of intersecting lines. Looking at the screenshot here, I want chop the purple line (it's a closed line, not a polygon) where it crosses the green and blue lines. The result hopefully would be a polygon where I have hatched in red. I have quite a few to do. I have tried the QGIS tool previously called Polygonizer (see ), but now called Polygonize. This is a tool that, given a layer containing a set of crossing lines arranged essentially like a # symbol, should create a polygon from the enclosed space in the middle. (In QGIS 2.01, Polygonize is in the top menu bar: go to Processing -> Commander, then type \"Polygonize\" on the command line, select \"Processing algorithm: Polygonize\" from the list that appears, and press Enter.) At the momemt Polygonize doesn't work properly. Is there another way to do what I want to do? For example, wouldn't it be great if the QGIS 'Split Feature' command was able to work like MapInfo's 'Polyline Split', where you select the polygons to split, then select an already-drawn polyline to split by, and voila. But Split Feature seems not to work that way. UPDATE: Detail of problems with running Polygonize. I have 64-bit QGIS 2.01 installed to Windows 7 from the installer package, QGIS-OSGeo4W-2.0.1-3-Setup-x86_64.exe. The routine processed an output from my shapefile, but did not create a polygon from the region enclosed by intersections between the blue, green and purple lines. (Note: in the actual input file, all these lines are on the same layer; the screenshot just colours them differently for illustrative purposes). What I got instead was a simple conversion of the purple outline to a polygon, as though the program completely ignored the blue and green lines. When I node-edited the closed purple line, to open it so that I had a set of open crossing lines like in the # symbol, and then ran Polygonize again, nothing happened. No crash, but no visible polygon in the output file. When I used Nick Hopton's own data, I got a crash; see screenshot:",
"counting number of specific string in each row I have a SNP table looks like this A N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N N C N N N C N N N N N N N N N N N N N N N N N N C C N N N N N N N N N N C C N N N C C N N N N N N N N N N N N N N N N N I want to count total number of N in each row? any idea how to do that",
"How to save picture to iPhone photo library?",
"Why is boiling water loud, then quiet? Water in my electric kettle makes the most noise sixty to ninety seconds before the water comes to a full boil. I have been fooled many times by the noisy kettle, only to discover that the water was not yet hot enough for tea. The kettle is only at a full boil after the noise has subsided. I have noticed the same phenomenon with many other kettles, including conventional kettles on kitchen ranges; it is not a peculiarity of this electric kettle. Why does the boiling become quieter as the water reaches full boil?",
"When you boot from live CD, or doing the first boot after installing Ubuntu, splash screen looks awesome. But as soon as you enable nvidia-current driver, installed with apt-get, splash screen goes all crazy. With crazy I mean that resolution is very low, font(I assume) is very weird and it all looks like it's been broken. This happened with 10.04 and now again with 10.10. How do I fix splash screen after enabling nvidia drivers?",
"SQL Server: Examples of PIVOTing String data Trying to find some simple SQL Server PIVOT examples. Most of the examples that I have found involve counting or summing up numbers. I just want to pivot some string data. For example, I have a query returning the following. Action1 VIEW Action1 EDIT Action2 VIEW Action3 VIEW Action3 EDIT I would like to use PIVOT (if even possible) to make the results like so: Action1 VIEW EDIT Action2 VIEW NULL Action3 VIEW EDIT Is this even possible with the PIVOT functionality?",
"How to install squid-deb-proxy-client via preseed/early_command Using Lucid, installing from the Lucid mini.iso. Both AMD64. In the following I've tried as \\, all of apt-get, apt-install, anna-install, dpkg: d-i preseed/early_command string <cmd+opt> squid-deb-proxy-client I've also tried: d-i preseed/early_command string /usr/bin/wget \\ -O squid-deb-proxy-client_0.3.1_all.deb \\ http://ubuntu.media.mit.edu/ubuntu//pool/universe/s/squid-deb-proxy/squid-deb-proxy-client_0.3.1_all.deb && dpkg -i squid-deb-proxy-client_0.3.1_all.deb Is this possible, and if nor what is the earliest point one can get a installation to use the squid-deb-proxy server?",
"Sometimes you see a video of a fan or a propeller spinning very fast, and the apparent rotation is distorted. The fan can appear to be moving in the opposite direction of rotation, or even stationary. This optical illusion is known as the wagon-wheel effect. If I understand correctly, this occurs because the camera framerate is slower than the frequency at which the fan makes one rev, so stroboscopic effects should be expected. Does the wagon-wheel effect occur only in videos, or can we observe it just with the eye?",
"How to make sure that Qt5.4.2 is installed properly I installed qt5.4 from in Ubuntu 14.04, but when I run: qmake -v I always get the old version Qt5.2.1, although I think it is installed here Qt version 5.4.2 in /opt/qt54/lib. Can anyone tell me how to make sure that Qt5.4.2 is installed properly? Thanks",
"Ubuntu 18.04 - Dell XPS13 9370 no longer suspends on lid close",
"the (surely simplistic) model of a bipolar junction transistor one is taught in foundational physics course appears to be symmetric. - So, what is the difference between the collector and the emitter of a real BJT? If the transistor were symmetric one would not make this distinction... Also: Do BJTs have a 0.6V voltage drop like diodes? Are BJTs conductive in both directions, i.e. E-C and C-E? Many thanks.",
"Blender 2.80 AV Sync missing? I just installed Blender 2.8 and for the life of me I can not find AV Sync anywhere and video editing has become impossible. Is there some new setting I am unaware of?"
] | medi_sts_stackexchange_dupe |
java java.util.ConcurrentModificationException on ArrayList | Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop | [
"How is Starkiller Base's beam visible from Takodana in The Force Awakens? On Takodana, the main characters and various bar patrons can see the planet Hosnian Prime being destroyed by Starkiller Base with their (respective) naked eyes. How did they see this? Is the Hosnian system close enough to see? If it's not very close and they could just see the explosion, how did the light from it reach them so quickly?",
"\"FTL\" Communication with Quantum Entanglement? Can quantum entanglement make sending a message, whether audio, video, or even Morse code, instantaneous between two points (faster than it could travel normally at the speed of light)? Let me first be clear, my question is not whether a message can travel faster than light. I simply mean whether a message can be generated here and then a copy of that message heard over there sooner than the message would normally be received. Say a large number of entangled pairs are generated. One half the particles are given to Jack and the opposite ones to Sally. Jack then hops on a ship and travels 8 months to Mars. Sally then manipulates her particles in the form of a message. Do the corresponding opposite particles get manipulated simultaneously so that Jack receives the message instantly instead of the 16 light-minutes for a classically transmitted message?",
"I'm using biblatex and I have it set up like this: In my bib file I have 3 sorts of entrys, online, booklet, and book. And in my thesis I want them printed separate like this: \\printbibliography[heading=subbibliography,title={Books},type=book, nottype=url, nottype=booklet, nottype=online] \\printbibliography[heading=subbibliography,title={Websites},type=online, nottype=book, nottype=booklet, nottype=url] \\printbibliography[heading=subbibliography,title={Misc},type=booklet] For some reason this won't work, it still puts the websites where the books should be. And vice versa. The booklet thing does work though, it only shows my booklet entries there. I recently started using biblatex so this might be a stupid question.",
"What is $dx$ in integration? When I was at school and learning integration in maths class at A Level my teacher wrote things like this on the board. $$\\int f(x)\\, dx$$ When he came to explain the meaning of the $dx$, he told us \"think of it as a full stop\". For whatever reason I did not raise my hand and question him about it. But I have always shaken my head at such a poor explanation for putting a $dx$ at the end of integration equations such as these. To this day I do not know the purpose of the $dx$. Can someone explain this to me without resorting to grammatical metaphors?",
"Related: I am using 1.0.71 on KitKat. Immediately after voting, the arrow is displayed in red and the vote count is correct. However, when I scroll to read answers and then back to the top, the arrow is grey again and the vote count is reset to the previous value. A reload of the question (pulling the finger down) is needed to show the correct situation, which is kept from then on. This case was on security.stackexchange.com but I observed the same behavior on other sites too. Screenshots original state: upvoted: scrolled down and back up after a reload",
"Using the Fitch system, how do I prove $((p \\implies q) \\implies p)\\implies p$?",
"I have been trying to show these two inequalities hold for all positive integers n, but I don't know how to proceed at all... I have tried playing around with them but I didn't find anything helpful. I have also tried induction but I couldn't make it work.",
"Summation by parts (finite calculus) of $\\sum\\limits_{i=0}^{n}i\\cdot a^i$ I'm studying the calculus of finite differences and have read about summation by parts: $\\sum f(x)\\Delta g(x) = f(x)g(x) - \\sum g(x+h)\\Delta f(x)$. The tutorials I'm using go a bit woolly at the point of introducing this technique: they use examples where they set $\\Delta g(x)$ to $2^x$, and don't really show how to use it for anything a bit harder. I'm at a loss for basic examples. I wondered if it is possible to determine $S.n = \\sum\\limits_{i=0}^{n}i\\cdot a^i$ using summation by parts? If so, how is it done? Thanks in advance.",
"I have long been confused about this notion. I know that for a statement within a single category, forming the dual statement is just reversing every arrows. But what about a statement concerning several categories and functors between them? Mac Lane suggests reversing all arrows in all categories and leaving the functors invariant in his book \"Categories for the working mathematician\" (page 32), but it seems that Mac Lane himself doesn't always follow this discipline (when he states \"the dual of Yoneda Theorem\", he doesn't reverse the arrows in $\\mathbf{Set}$ !) Can anyone give me a formal definition of \"dualize a statement in category theory\"?",
"Scale camera to fit screen size unity My background and gameobjects are 2d sprites not UI images ,I want to know how to make my background scale with screen size and positions of 2d sprits on it don't change after building game (webGl) like scale canvas with screen size and anchor points in UI elements . Before building the game After building",
"Using residue theorem to integrate from $-\\infty$ to $\\infty$ I'm trying to integrate $$\\int_{-\\infty}^{\\infty} {x^2 \\over {(x^2 + 1)}^2(x^2 + 2x + 2)} $$ given that the function $$f(z) = {z^2 \\over {(z^2 + 1)}^2(z^2+2z+2)} $$ has residues $${9i - 12 \\over 100},{3 - 4i \\over 25}$$ at the poles $i$ and $-1+i$ respectively. From my understanding of this I have added the two residues (by the residue theorem, and because their respective poles lie in the upper half plane) and multiplied by $2\\pi i$ and got an answer of $14\\pi \\over 100$ Have I done this right?",
"How to alter touchpad settings on Ubuntu GNOME 16.04? After upgrading to Ubuntu GNOME 16.04 with GNOME 3.20 I have found that if I tap my touchpad it clicks which is something I do not want due to a faulty touchpad, previously I was able to disable this through the gnome-control-center, but seemingly there is no way to do this any more through there, so how do I do it? Also, even though it is set to false in gsettings and the dconf-editor seemingly for some reason somewhere in the system it is also set to true as it is behaving as such. I am also unable to set natural scrolling or any of the other touchpad settings seemingly, why not?",
"I was trying to install Linux on my MacBook for class when I bricked my computer, which now in an unbootable state. I made my partition too small, so I was going to delete and create a larger one. However, Disk Utility did not allow me to delete the small partition. I followed the instructions from However, not only was I still unable to delete it, but upon restarting I realized my primary partition (located on the same disk) changed into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF, and I had no options to boot. (I am sure I performed the command on the correct disk and partition) I saw some similar threads, but my main bootable drive is the one that got corrupt. I don't want to lose any data. I'm not the most terminal savvy, so ANY help is appreciated, and I will kindly provide any additional information! (Disk 0, partition 2 is my main partition, and that only one I care about) Below are the results of $ diskutil list and $ gpt -r show disk0. UPDATE: : I have followed @klanomath 's instructions. At the last step I received the following error: Checking prerequisites Checking the partition list Checking for an EFI system partition Checking the EFI system partition's size Checking the EFI system partition's file system Problems were found with the partition map which might prevent booting Error: -69766: The partition map needs to be repaired because there's a problem with the EFI system partition's file system Underlying error: 8: POSIX reports: Exec format error FINAL UPDATE: SUCCESS! I just wanted thank @klanomath for helping me through this entire process. He spent 11 hours TeamViewing with me until not only my files were accessible, but until I could access my computer as could before this whole debacle (and this was after 5 hours of email correspondence). To any future reader with this problem: PLEASE don't give up, it can be fixed!",
"I'm using this code to get standard output from an external program: >>> from subprocess import * >>> command_stdout = Popen(['ls', '-l'], stdout=PIPE).communicate()[0] The communicate() method returns an array of bytes: >>> command_stdout b'total 0\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2\\n' However, I'd like to work with the output as a normal Python string. So that I could print it like this: >>> print(command_stdout) -rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1 -rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2 I thought that's what the method is for, but when I tried it, I got the same byte array again: >>> binascii.b2a_qp(command_stdout) b'total 0\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file1\\n-rw-rw-r-- 1 thomas thomas 0 Mar 3 07:03 file2\\n' How do I convert the bytes value back to string? I mean, using the \"batteries\" instead of doing it manually. And I'd like it to be OK with Python 3.",
"\"Whom\" or \"who\" where the referent is both subject and object? I understand there has been so much on this topic but I am still confused. I get that if the person is the subject it is who and anything else is whom. However, I'm really struggling to work out this rule for the following sentence: The scope of which his account of morality applies to is therefore restricted to those whom/who the ‘notion of justification to a being of that kind makes sense.’ Should it be who or whom? I can't work out the subject and object.",
"Is it possible to have several different views of one scene and set them as named \"presets\"?",
"Bluetooth disappeared in Windows 10 I have a Lenovo G580 laptop. In the past, using Windows 8, I could use Bluetooth to connect to other devices. Installing Windows 10, Bluetooth simply disappeared. I can't find anything related to Bluetooth in the Device Manager, also in Settings → Devices. There is no Windows 10 Bluetooth driver for my laptop. What can I do?",
"How to multiply a BigDecimal by an integer in Java",
"Joined pipelines Considering a routine such as this one: alpha() { echo a b c |tr ' ' '\\n'; } which outputs a stream, I would like to take the output stream, transform it, and paste it with the original output stream. If I take use upcasing as a sample transformation, I can achieve what I want with: $ mkfifo p1 p2 $ alpha | tee p1 >( tr a-z A-Z > p2) >/dev/null & $ paste p1 p2 a A b B c C My question is, is there a better way to do this, preferably one not involving named pipes?",
"Prove by induction that for all $n \\ge 0$: $${n \\choose 0} + {n \\choose 1} + ... + {n \\choose n} = 2^n.$$ In the inductive step, use Pascal’s identity, which is: $${n+1 \\choose k} = {n \\choose k-1} + {n \\choose k}.$$ I can only prove it using the binomial theorem, not induction."
] | medi_sts_stackexchange_dupe |
How to change file extension with Python? | Extracting extension from filename in Python | [
"JavaScript RegExp objects I try to write a simple Markdown parser in JavaScript. Therefore I want to check for the [link content][link id] syntax. I use the following code: data = data.replace( /\\[(.*?)\\][ ]*\\[([0-9]+)\\]/g, '<a href=\"$2\">$1</a>' ); It works well, but now I want to do this with a RegExp object. So I set up the following bit of code: var r = new RegExp( '\\[(.*?)\\][ ]*\\[([0-9]+)\\]', 'g' ); data = data.replace( r, '<a href=\"$2\">$1</a>' ); But it doesn't work. It even says that my regular expression (which works since the first example does a good job) is invalid: unmatched ) in regular expression I think it must have to do with some RegExp-object peculiarities I am not aware of. What am I doing wrong and how can the problem be solved?",
"I had parked my follower at an inn with a bunch of valuable items that I didn't want to carry. I guess I have been out a bit too long as this message appears: Your follower tires of waiting and leaves. There have been other situations where my follower has mysteriously disappeared as well. How can I find my follower when they get up and leave or disappear into thin air?",
"Can you re-equip equipment to the same creature?",
"Which of these is grammatically correct? 1. a) He has been working under my direct supervision since the last two years 1. b) He has been working under my direct supervision for the last two years 2. a) He has not met her since a very long time 2. b) He has not met her in a very long time Which of the above are correct? Are all of them correct? My friend says 1.b and 2.b are correct, but I am not sure. Or is this an American English and British English thing? (He mostly goes by American English)",
"I flagged a post and (choose one) my flag was marked as helpful, yet nothing was done my flag was marked as declined, yet the post was deleted/edited/closed Why?",
"Log of products to sum of logs",
"Concatenating a string and primary key Id while inserting",
"Maximum Likelihood Estimate with different parameters Suppose that X and Y are independent Poisson distributed values with means $\\theta$ and $2\\theta$, respectively. Consider the combined estimator of $\\theta$ $$ \\tilde{\\theta} = k_1 X + k_2 Y $$ where $k_1$ and $k_2$ are arbitrary constants. Find the condition on $k_1$ and $k_2$ such that $\\tilde{\\theta}$ is an unbiased estimator of $\\theta$. For $\\tilde{\\theta}$ unbiased, show that the variance of the estimator is minimized by taking $k_1 = 1/3$ and $k_2 = 1/3$. Given observations $x$ and $y$ find the maximum likelihood estimate of $\\theta$ and hence show that $\\tilde{\\theta}$ is also the maximum likelihood estimator. I have gotten (1) and (2) okay, but it's (3) I am having trouble with, I'd be okay if $X$ and $Y$ had the same parameter but I'm having trouble with $X$ and $Y$ having different parameters, any help would be appreciated. NOTE For (1) I got $k_1 = 1 - 2k_2$. For (2) I found the variance of $\\tilde{\\theta}$, then differentiated and let equal to zero to minimize - therefore we get (after subbing in $k_2 = 1 - k_1/2 $) $$3k_1-1=0,$$ which when subbing in $1/3$, we see it is minimised. Thank you.",
"How can I limit ssh *remote* port forwarding? I need to limit which ports can be remotely 'ssh -R' forwarded by an user. I know about permitopen option on authorized_keys, but as it says on man page it only limits local 'ssh -L' port forwarding As discussed a user would get the same with netcat or similar, but in this case user has no shell access I also found that talks about using selinux or LD_PRELOAD, but I never configured selinux before and can't find info on how to do that with LD_PRELOAD. maybe someone have made a patch for openssh to implement that? EDIT: I've found so I guess it's not yet implemented",
"In what order should one apply max HP reduction and damage? A character at 10/26 HP is hit by a Wraith and fails the Constitution saving throw. They take 21 damage and their maximum HP is reduced to 5. Are they unconscious because the 11 excess damage is less than 26 or dead because it's greater than 5?",
"I have a couple of big text files and in the file UNIQS.txt I have a list of strings to grep from another file. The code I use is grep -f UNIQS.txt EEP_VSL.uniqs.sam > UNIQ_templates.sam which does nothing - the file generated is empty. But when I do grep -F -f UNIQS.txt EEP_VSL.uniqs.sam > UNIQ_templates.sam it works correctly. This confuses me because I didn't think grep would interpret the entries in UNIQS.txt as regexp patterns without quotes and slashes and so on being in the file (which there aren't). Is it the case in general that if you are getting the patterns from a file then it will automatically think that they are regexp patterns? Edit: In the UNIQS.txt file, there are newline separated strings of the form HWI-ST365:215:D0GH0ACXX:2:1101:10034:186783 (called template names) and the file EEP_VSL... tab separated columns, with about 14 columns and the first column is the template name, so basically I want to extract the line corresponding to each template in the file.",
"How to install Ubuntu 18.04 alongside Windows 10",
"What are bitwise shift (bit-shift) operators and how do they work?",
"How to create a \"heat distortion\" effect with a cycles procedural node set up without compositing I know how to do a heat distortion effect in compositing. What I am looking for is a way to do the same effect with a material set up in cycles. What would be the best way to create a procedural material that can be placed in front of any object and make it look like heat is rising in front of it (without compositing)? Any ideas would be greatly appreciated.",
"Guidelines for customizing biblatex styles",
"less --quit-if-one-screen without --no-init I'm on a terminal that supports the alternate screen which is used by less, vim, etc. to restore the previous display after exiting. That's a nice feature, but it really breaks the --quit-if-one-screen switch of less since in that case less switches to the alternate screen, displays its data, figures out there is only one screen, and exits, taking the contents of the alternate screen with it. The commonly suggested workaround is using the --no-init switch to avoid using the alternate screen altogether. However, this is somewhat ugly because I do want to use it in case less actually acts as a pager. Therefore I'm looking for a solution to use the alternate screen only if less doesn't terminate automatically. I'll mostly use this as Git's pager, so a wrapper shell script that only runs less in case there is enough output would be fine, too. At least if there's no way to do it without one.",
"How do I upgrade to a newer version of Ubuntu?",
"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 I use , the results I get don't reflect recent activity. Sometimes the data I get back are two months out of date. What's wrong? This is intended to be a canonical reference for questions about SEDE not reflecting real-time results.",
"Multiplying by a $1\\times 1$ matrix? For matrix multiplication to work, you have to multiply an $m \\times n$ matrix by an $n \\times p$ matrix, so we have $$\\bigg(m \\times n\\bigg)\\bigg( n\\times p \\bigg).$$ But what about a $1 \\times 1$ matrix? Is this just a scalar? But every matrix can be mulitplied by a scalar; so do $1 \\times 1$ matrices break the rule?"
] | medi_sts_stackexchange_dupe |
top (table of processes) package on Ubuntu 16.04 LTS | How do I find the package that provides a file? | [
"Zero module of differentials implies finite extension?",
"Review audit ignores closereason filter",
"Lightning Community Does Not Support pubsub for Lightning Web Components? Has anyone successfully used the pubsub module from lwc-recipes to enable inter-component communication in a Lightning Community? The registerListener function in the pubsub module throws an error because the pageRef property is undefined. Or is pubsub designed for Lightning Experience only?",
"After one of the latest updates (not sure if it was the last one or a previous one) of the Google Play app, I am having an error trying to update a large app (42MB). It says: Error Downloading . There is insufficient space on the device. My device is a Samsung P1000 running Froyo. It's rooted, but the error was there before rooting it. A quick Google search showed several Samsung users having the same problem (the app in question that was giving me the headache is Smurf's village). Some said that removing the updates to the Android Market (Google Play) app would fix it, but to me it was of no avail. I also tried the procedure in to no avail. Now I am stuck with a prehistoric version of the Market (that works on small apps) and still cannot update Smurf's Village or install big apps. How can I fix this? EDIT: device has over 2GB of internal SD storage, 27GB of external SD card, so space is not an issue.",
"How to run the Ubuntu ISO live image from Windows without USB or DVD? This is a self answered question.",
"passive Vs active or omission of 'which is' What is the part of speech of 'regarded' in the following? \"a quality of beauty and intensity of emotion regarded as characteristic of poems\" Why isn't it \"... [which is] regarded ...\"? And in another case: \"a small lizard with wide feet, found especially in warm countries\" And also: \"Words used to describe writing or speech style\" In all these examples, why shouldn't the verbs be in their passive form (e.g. which is found, words that are used)? I am a ESL learner and I am very confused by these usages!",
"How to switch between low latency and generic kernels?",
"Why does a cork float to the side of a glass? Why does a cork ball float to the side of a glass as illustrated in the following GIF? What is the physical phenomenon behind this observation and why does it happen?",
"Were there other marital relationships besides Anakin and Padme in the Jedi order? There is a vague idea that Obi-wan and Queen of Mandalore had a thing, but this isn't properly addressed in the Clone Wars series AFAIK. But are there other instances of Jedi who go against the order for love/relationships?",
"Since many users are facing the NullReferenceException: Object reference not set to an instance of an object error in Unity, I thought that it would be a good idea to gather from multiple source some explanation and ways to fix this error. Symptoms I am getting the error below appearing in my console, what does it mean and how do I fix it? NullReferenceException: Object reference not set to an instance of an object",
"I tried this way, I only need to know if this is correct or if there are better ways to solve this: $2^{1000}$ does not have a factor of $5$ obviously therefore we can assume $$ 10^{m} < 2^{1000} < 10^{m+1}$$ for some $m$ Assume $ k = 2^{1000}$, then take log on both sides $\\log k = 1000 \\log 2 \\approx 301.02999 > 301$ Therefore $2^{1000}$ has $302$ digits.",
"Based I'm trying to setup Tomcat Server, I have successfully installed it and tested it. Then I stopped it as recommended in the tutorial. I'm setting up \"New Server Runtime Environment\" as you can see under Tomcat Installation Directory is a windows directory, anyone knows the Ubuntu directory equivalent for this? Thanks.",
"Is there any way to get the ID of the element that fires an event? I'm thinking something like: $(document).ready(function() { $(\"a\").click(function() { var test = caller.id; alert(test.val()); }); }); <script type=\"text/javascript\" src=\"starterkit/jquery.js\"></script> <form class=\"item\" id=\"aaa\"> <input class=\"title\"></input> </form> <form class=\"item\" id=\"bbb\"> <input class=\"title\"></input> </form> Except of course that the var test should contain the id \"aaa\", if the event is fired from the first form, and \"bbb\", if the event is fired from the second form.",
"I am animating a Rubik's cube, and as soon as I get to the second rotation the blocks that have previously been rotated start tripping out even though it should have been reset. I tried making the graph linear which fixed a lagging issue I had, but the blocks still start to spin instead of rotating around a single axis.",
"Square Fibonacci numbers Are there Fibonacci numbers other than $F_0 = 0 = 0^2, F_1 = F_2 = 1 = 1^2,$ and $F_{12} = 144 = 12^2$ which are square numbers? If not, what is the proof?",
"Orbit followed by a particle around Schwarzschild Black Hole",
"Alternative Method to Acquire El Capitan Upgrade",
"Is it possible to boot Ubuntu using the Windows bootloader? As noted by many people, Windows 8's UEFI requirements might will won't get in the way of installing Linux (or whatever), as the replacement bootloader will also need to be signed somehow. Some systems All systems will let you disable the signature requirement, but the feature might be hidden to disable or you might not be willing to give up on the benefits of a secure bootloader. Is it necessary to replace the bootloader in the first place? To keep ourselves to software that's gone golden, how can I install Ubuntu 11.04 using Windows 7's own bootloader?",
"I have a large hole in a mesh that I'm trying to fill: I've been trying an approach like this: I'm finding it quite tough, since the number of vertices around the perimeter of the hole don't match a grid. Is there a better approach to filling a hole like this?",
"I'm trying to write a program in C (on Linux) that loops until the user presses a key, but shouldn't require a keypress to continue each loop. Is there a simple way to do this? I figure I could possibly do it with select() but that seems like a lot of work. Alternatively, is there a way to catch a ctrl-c keypress to do cleanup before the program closes instead of non-blocking io?"
] | medi_sts_stackexchange_dupe |
How do you change your Minecraft player name? | How do I change my Minecraft username? | [
"How best to include other scripts? The way you would normally include a script is with \"source\" eg: main.sh: #!/bin/bash source incl.sh echo \"The main script\" incl.sh: echo \"The included script\" The output of executing \"./main.sh\" is: The included script The main script ... Now, if you attempt to execute that shell script from another location, it can't find the include unless it's in your path. What's a good way to ensure that your script can find the include script, especially if for instance, the script needs to be portable?",
"Root filling up although it should have some space This has been perplexing me for some time. I'm on Ubuntu 11.04. My root partition is filling up and I can't figure out what's causing it. Even stranger, when I run df -h, this is the output: Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.2G 8.8G 0 100% / As you see, there should be about 400 MB free, but Avail shows 0. What could be causing this? I've even uninstalled some programs to free the space and it fills up again. Suggestions on how to find out which, if any, files are filling up the space are also welcome.",
"Chrome: Site has updated in the background I keep getting these notifications despite not having an RT tab open. What gives?",
"How can I pin a program to the Windows 7 Taskbar, with parameters?",
"Control cannot fall through from one case label",
"Let $f(x)\\in C^2:[0,1]\\rightarrow\\mathbb{R}$ satisfy $f(0)=0,f(1)=1,f'(0)=f'(1)=0$, prove that: $$\\max_{x\\in[0,1]}|f''(x)|\\ge4$$ By using Taylor series I can prove that $\\max_{x\\in[0,1]}|f''(x)|\\ge2$, but I cannot go further.",
"Proving a function is Lipschitz continuous Show that the following function is Lipschitz continuous and find a Lipschitz constant $$y\\mapsto f(x,y)\\\\ f(x,y)=\\frac{y}{x}\\ln(\\frac{y}{x})\\text{ , } |x-1|\\leq\\frac{1}{2}\\text{ , } |y-e|\\leq\\frac{e}{2} $$ I have no clue on where to begin to prove this. My first question is how I should interpret this function, is $x$ a sort of constant?",
"Linking search box to dataset column in Carto? The search box in a published map of CartoDB isn't linked to the dataset which is shown in the CartoDB map. How can I link the search box to a certain column of a dataset?",
"Family name pluralization",
"Some sites are . What additional sites should the chat support? One suggestion per answer.",
"macro definition containing #include directive Is there a way to define a macro that contains a #include directive in its body? If I just put the \"#include\", it gives the error C2162: \"expected macro formal parameter\" since here I am not using # to concatenate strings. If I use \"\\# include\", then I receive the following two errors: error C2017: illegal escape sequence error C2121: '#' : invalid character : possibly the result of a macro expansion Any help?",
"I have the following image that was created with this code: \\documentclass[varwidth=true, border=2pt]{standalone} \\usepackage{tikz} \\usepackage{tkz-euclide} \\begin{document} \\usetkzobj{all} \\begin{tikzpicture} \\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black] \\tkzSetUpLine[line width=1] \\tkzDefPoints{0/0/A, 3/0/B', 2/2/C, 4/4/C'} \\tkzDefLine[parallel=through C](B',C') \\tkzGetPoint{Phelper} \\tkzInterLL(A,B')(C,Phelper) \\tkzGetPoint{B} \\tkzDrawLine[add=0 and 0.2](A,B') \\tkzDrawLine[add=0 and 0.2](A,C') \\tkzDrawSegment(B',C') \\node at ($(A)+(-0.1,-0.2)$) {$A$}; \\node at ($(B')+(0.2,-0.2)$) {$B'$}; \\node at ($(C')+(0,0.4)$) {$C'$}; \\node at ($(B)+(0.2,-0.2)$) {$B$}; \\node at ($(C)+(0.28,0.5)$) {$C$}; \\tkzDrawPolygon[ultra thick,color=blue,fill=blue!20](A,B',C') \\tkzDrawPolygon[line width=0.3pt,color=red,fill=red!20](A,B,C) \\tkzDrawPoints(A,B',C',B,C) \\tkzLabelSegment[below,red](A,B){$c$} \\tkzLabelSegment[left,red](A,C){$b$} \\tkzLabelSegment[right,red](B,C){$a$} \\tkzLabelSegment[below,blue,pos=0.8](A,B'){$c'$} \\tkzLabelSegment[left,blue,pos=0.8](A,C'){$b'$} \\tkzLabelSegment[right,blue](B',C'){$a'$} \\end{tikzpicture} \\end{document} As you might notice, the space above C' is bigger than necessary. This is because of Phelper. I need Phelper for the construction, but it should not influence the image size in any way. I've tried to get Phelper closer to C, but that seems not to be possible. How can I stop defined (but not visible) points from influencing image size? Please note: I wrap code like this in a figure. So images like the one above are only a part of the whole document. So working with standalone does not solve my problem.",
"I am trying to achieve something like this: This image is linked from . also provides a solution and seems simpler. Both answers deal with the algorithmicx package however. I am interested in the solution for the algorithm2e package. I read the documentation of the algorithm2e package but didn't find an answer. How can I achieve the colored effect? EDIT: Here is sample code to create a minimum working example. \\documentclass{article} \\usepackage[ruled]{algorithm2e} % http://www.ctan.org/pkg/algorithm2e \\begin{document} \\begin{algorithm}[h] \\caption{Evolutionary algorithm} initialize population \\; \\For( \\emph{Evolutionary loop}){$g := 1$ to $G_{max}$} { do things \\; evolve population \\; } celebrate \\; \\end{algorithm} \\end{document}",
"Word for romantic partner you are living with but not married to",
"Coefficient changes sign when adding a variable in logistic regression In my logistic regression the sign of coefficients of a variable (location distance of an amenity) changes based on other variables (with time -ve, with travel distance +ve) in the model. When the location distance is the only variable in the model, it has +ve sign. Should the variable need to maintain the +ve sign no matter what other variables are added in the model? Does changing sign signify a multicollinearity issue? Some IVs are gaining significance while in a bivariate model, they didn't show significance and vice versa. Is it okay to add variables that don't have much significance (ex: travel distance has a significance of 0.33 individually, but 0.05 when added with other variables) but becomes significant in the model? thanks.",
"transforming ordinary generating function into exponential generating function",
"Image of Stack Exchange button is blocked by Adblock Chrome and IE 11 are fine, I'm only able to reproduce this in Firefox. Using version 27.0.1 on Windows 7. Meta as well as all the other sites are affected. I can still see the hover effect, but the image is gone. I see this in Firebug: The image doesn't show up in the Network tab. I am able to see the image by visiting which goes to I've done Ctrl-F5, I've cleared the cache and I've tried Private Browsing. Possibly related to ?",
"Generated $\\sigma$-algebras with cylinder set doesn't contain the space of continuous functions",
"I found several plugins (like and ) to get the ability to attach a picture to a WP user. But these plugins are not maintained any more. Since there's apparently no plugin that does it today, is there an easy way to do it manually?",
"How do I calculate a time delta in my Google Spreadsheets? I've got a Google Spreadsheet that looks roughly like this: Date | Start time | End time | Minutes ------------+-------------+-------------+----------- 1/11/2012 | 11:39 | 12:41 | ?! ------------+-------------+-------------+----------- | | | Right now if I fill in the number of minutes between the two times of day by hand. Is there a straight-forward way to calculate a time delta and have the spreadsheet do it for me?"
] | medi_sts_stackexchange_dupe |
Is the C# Programming Guide right on pretending that arrays implement `IEnumerable`? | Why do C# multidimensional arrays not implement IEnumerable? | [
"Display SharePoint Online in an iframe on different domain We would like to display pages from SharePoint Online in an iframe of a Page hosted somewhere else, e.g. in an Azure Web App: <iframe src=\"https://site.sharepoint.com/\"></iframe> When we do this (in Chrome for example), we get the following error: Refused to display \" ⏎ Home.aspx\" in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. A Page from SharePoint 2013 (on premise) can be displayed in an iframe from a Page hosted on another domain, if the following control is added to the head of the master page: <WebPartPages:AllowFraming runat=\"server\" /> However if this control is not added to the master-page, then we also get the above mentioned error. As far as I know there is no possibility to adjust the master-page in a SharePoint Online Team Site. Is that correct? In a Publishing Site you are allowed to adjust the master-page, or even add a new one. But I can't find anything similar in Team Sites. Does anybody know if it is somehow possible to configure domains which do not fall under the \"X-FRAME-OPTIONS: SAMEORIGIN\"-policy in a SharePoint Online environment? Or if there is another possibility to display SharePoint Online content in an iframe on a different domain. I checked google, checked the Site settings and checked the Office 365 admin center, but didn't find anything.",
"Why isn't my website in Google search results?",
"How can I obtain a Cauchy distribution from two standard normal distributions? I am interested in Let $X\\sim N(0,1), Y \\sim N(0,1)$ independently. Show $\\frac{X}{X+Y}$ is a Cauchy random variable. My work: $f_{X,Y}(x,y)=\\frac{1}{2\\pi} e^{\\frac{-1}{2}(x^2+y^2)}, -\\infty<x,y<\\infty$ by independence Let $U=\\frac{X}{X+Y},V=X+Y$. (Is there a better $V$ to choose for this bivariate transformation?) Then, $X=UV, Y=V - UV$. So, $|J|=V$. $f_{U,V}(u,v)=f_{X,Y}(uv,v-uv)|J|=\\frac{v}{2\\pi}e^{\\frac{-v^2}{2}(2u^2-2u+1)},-\\infty<u<\\infty$ $f_U(u)=\\frac{1}{2\\pi}\\int_{-\\infty}^{\\infty}ve^{\\frac{-v^2}{2}(2u^2-2u+1)}dv$. Let $y=\\frac{v^2}{2}(2u^2-2u+1)$, so $dy=v(1+2u^2-2u)dv$. Then, $f_U(u)=\\frac{1}{2\\pi(2u^2-2u+1)}\\int_0^{\\infty}e^{-y}dy=(\\pi[(\\frac{u-1/2}{2})^2+1])^{-1}, -\\infty<u<\\infty$, which is not exactly a Cauchy distribution. Where did I mess up? More importantly, how would you proceed in solving this problem?",
"Solidify conundrum? I stumbled across a solidify issue, I cannot wrap my head around. I have a simple mesh, consisting of three faces. When adding a solidify modifier, I expect to get an object with three walls, where every angle is square. However, whatever I try, tweaking the various solidify parameters, what I get is something like the following, with a skewed rim. Did I hit a bug, or is it a limitation of the solidify modifier? Is there a workaround?",
"What happens if I am afflicted with a condition that worsens on a failed save and choose not to try to save? Do I: Automatically suffer the effects of the failed save? Keep my current condition? Have no choice and must roll the save regardless? This came up in a game earlier this afternoon when we decided to just stop saving against the effect that was causing us to fall unconscious.",
"Joining elements of a list in GNU Make",
"Sometimes it’s possible to use either a noun adjunct or the possessive case. the shop door the shop’s door However, in certain phrases it’s not OK to do so. the ship’s crew (the ship crew is wrong) The questions are: How can one find out what to use in such cases as “the shop(’s) door” when a noun adjunct option and the possessive case option are available? How can one know which option is wrong in order to avoid the construction “ship crew”? Is there a difference in meaning between (a) the shop door (b) the shop’s door?",
"Singular values of the data matrix and eigenvalues of the covariance matrix",
"Associativty of smash product on compact spaces Let $Y,Z$ be compact or $X,Z$ locally compact. Then the canonical bijection $$ (X \\wedge Y) \\wedge Z \\rightarrow X \\wedge (Y \\wedge Z) $$ is a homeomoprhism. I can prove the case when $X,Z$ are locally compact using exponential law. But I don't see how one approaches the case when $Y,Z$ compact. Hints?",
"How to replace text between quotation marks with something from another file? I have the following kind of text: $OU = 'or'; $DINHEIRO_CAIXA = 'Cash balance'; $PAGINA = 'Page'; $DE = 'from'; $ENVIAR = 'Send'; $PRINCIPAL = 'Main'; I've already got all the text within the single quotation marks using cat arquivo | grep -oP "'[^']+'" | tr -d "'" This extracted text was then translated to Portuguese, but now I don't know how to replace the original text between single quotation marks with the translated text, I was looking for something like $OU = 'ou'; $DINHEIRO_CAIXA = 'Dinheiro em caixa'; $PAGINA = 'Pagina'; $DE = 'de'; $ENVIAR = 'enviar'; $PRINCIPAL = 'Principal'; I've tried using grep -F to replace the file itself, but it failed miserably because the pattern didn't match since I don't have the quotation marks on the new file, is there a way to do this?",
"How to prove that $\\mathbb{Q}$ ( the rationals) is a countable set I want to prove that $\\mathbb{Q}$ is countable. So basically, I could find a bijection from $\\mathbb{Q}$ to $\\mathbb{N}$. But I have also recently proved that $\\mathbb{Z}$ is countable, so is it equivalent to find a bijection from $\\mathbb{Q}$ to $\\mathbb{Z}$?",
"I'm working on this problem already, the domain and co-domain are the set of Rational Numbers. we see that setting $x = 1$ and $y = n$, we obtain $f(n + 1) = f(n) + 1$ But I'm trying to prove that $f(n) = n + 1$ for all $n$, the case when $n = 1, 2$ is obviously true, how do I approach this via induction?",
"What temperature can you attain with a solar furnace?",
"why can't `_` be exported to the environment of bash? In bash, why can't _ be exported to the environment of the shell? $ export _ $ export | grep _= $ output nothing. Or do I miss something? How can I export _ into the environment? See also . Thanks.",
"PHP Session data not being saved I have one of those \"I swear I didn't touch the server\" situations. I honestly didn't touch any of the php scripts. The problem I am having is that php data is not being saved across different pages or page refreshes. I know a new session is being created correctly because I can set a session variable (e.g. $_SESSION['foo'] = \"foo\" and print it back out on the same page just fine. But when I try to use that same variable on another page it is not set! Is there any php functions or information I can use on my hosts server to see what is going on? Here is an example script that does not work on my hosts' server as of right now: <?php session_start(); if(isset($_SESSION['views'])) $_SESSION['views'] = $_SESSION['views']+ 1; else $_SESSION['views'] = 1; echo \"views = \". $_SESSION['views']; echo '<p><a href=\"page1.php\">Refresh</a></p>'; ?> The 'views' variable never gets incremented after doing a page refresh. I'm thinking this is a problem on their side, but I wanted to make sure I'm not a complete idiot first. Here is the phpinfo() for my hosts' server (PHP Version 4.4.7):",
"For some of the apps I've developed (then proceeded to forget about), I've been writing plain SQL, primarily for MySQL. Though I have used ORMs in python like , I didn't stick with them for long. Usually it was either the documentation or complexity (from my point of view) holding me back. I see it like this: use an ORM for portability, plain SQL if it's just going to be using one type of database. I'm really looking for advice on when to use an ORM or SQL when developing an app that needs database support. Thinking about it, it would be far better to just use a lightweight wrapper to handle database inconsistencies vs. using an ORM.",
"When something gets wet, it usually appears darker. This can be observed with soil, sand, cloth, paper, concrete, bricks... What is the reason for this? How does water soaking into the material change its optical properties?",
"Unable to install Cisco Packet Tracer 7.3 on Ubuntu 20.04 I am trying to install Packet Tracer 7.3 (latest version) on Ubuntu 20.04 but do not succeed to so so because of two dependencies which are not installable (\"libdouble-conversion1\" and \"qt-at-spi\"). However I successfully installed the previous version (7.2.2) which was available in an Ubuntu installer format (.run file) but I nothing happens when I run it from my gnome desktop. I am quite a newbie in Linux so I appologies if answers are obvious... Thanks in advance ;-) Denis",
"Let $a>0$ and $f: \\mathbb R \\rightarrow \\mathbb R$ with a property $\\forall x,y \\in \\mathbb R;$ such that $0\\;<\\;y\\;-\\;x\\;<\\;a$ $$f(x)\\;<f(y).$$ Prove if the statements are true or false: $1)$ $f$ must be injective. $2)$ $f$ must be surjective. I tried to use a quarter of a circle with radius $r=a$ or a right-angled triangle and translate it. When I moved it, I saw new values of $f$. I concluded the maximum value in the previous interval can't appear again in another interval when the distance between one point in the first interval and one point in the second is less than $a$. I also considered using an absolute value function, but I haven't done anything. I think, but I haven't proven it, that the function must be bijective.",
"What are all of the connected subsets of $\\mathbb{Q}$? The answer are the singletons of $\\mathbb{Q}$. I can show that the open intervals of $\\mathbb{Q}$ are disconnected by choosing some irrational in the open set and using it to form a separation. But strangely enough, I am having a hard time seeing why the subset $\\{p,q \\}$ of $\\mathbb{Q}$ is disconnected. If say $p < q$ and we choose some irrational $p < x <q$, the separation of $\\{p,q \\}$ would, I think, be given by $ \\{p\\}$ and $\\{q\\}$. But these aren't open in $\\mathbb{Q}$ ...?"
] | medi_sts_stackexchange_dupe |
How to show two elements in a group are (not) conjugate? | Why are two permutations conjugate iff they have the same cycle structure? | [
"Show that both mixed partial derivatives exist at the origin but are not equal $$f(x,y) = \\begin{cases} \\displaystyle \\frac{xy(x^2-y^2)}{x^2+y^2} & \\text{if } (x,y) \\neq (0,0), \\\\ 0 & \\text{if } (x,y) = (0,0). \\end{cases}$$ I tried finding both mixed partial derivatives but they ended up being the same for that function. I must be failing to take into account something dealing with the fact that it is piece-wise. I still need to show the mixed partial derivatives exist. How can I do all of this?",
"Take the following script: #!/bin/sh sed 's/(127\\.0\\.1\\.1)\\s/\\1/' [some file] If I try to run this in sh (dash here), it'll fail because of the parentheses, which need to be escaped. But I don't need to escape the backslashes themselves (between the octets, or in the \\s or \\1). What's the rule here? What about when I need to use {...} or [...]? Is there a list of what I do and don't need to escape?",
"Under the tag I have seen many questions on earth-616. Are there any other versions of earth as well? How do they differ from each other?",
"How do I get a tourist visa (or a tourist card) for Cuba? I live in the Netherlands, but I'm not a Dutch citizen, I have an Italian passport.",
"fontawesome and pdflatex When using pdflatex and the fontawesome package the below error shows up. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Fatal fontspec error: \"cannot-use-pdftex\" ! ! The fontspec package requires either XeTeX or LuaTeX to function. ! ! You must change your typesetting engine to, e.g., \"xelatex\" or \"lualatex\" ! instead of plain \"latex\" or \"pdflatex\". ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... Wish to keep on using \"pdflatex\" instead of \"xelatex\" or \"lualatex\". In fontawesome Version 4.4.0 manual it says \"When using the (pdf)(LA)TEX engine, the fontawesome package doesn’t require any external package\". Tried solutions proposed for this question () without success. MWE: \\documentclass{article} \\usepackage{fontawesome} \\begin{document} {\\faAdjust} \\end{document}",
"Is there a word for happiness made possible by a tragic situation? I frequently find myself needing a word to express happiness that acknowledges a tragic or unfortunate circumstance underpinning that happiness. Preferably the word could have both adjective and verb forms. For example, \"Gregory [verb-ed | felt adjective about] the balmy February day, suspecting it was yet another consequence of catastrophic and irreversible climate change.\" \"Bittersweet\" is close, but not precisely right. It implies ambivalence rather than genuine gladness. \"Schadenfreude\" is also in the neighborhood, but I don't want to imply that the tragic part of the situation is what causes the pleasure. (Also, I recognize that the word may not quite exist in English, and I don't know if this is forbidden for this forum, but I'd welcome a loan word or phrase if there's a better one.)",
"force long text inside \\item[{\\texttt{}] to wrap",
"I'm a teacher and I teach at/in school OR at/in a school There are a lot of posts on this topic, but I can't find any answers to my question. I came across the following two definitions of 'school': [uncountable] (used without the or a) the process of learning in a school; the time during your life when you go to a school (British English) [uncountable] (used without the or a) the time during the day when children are working in a school Source: I know there are better ways to convey the message, but which sentence would a teacher utter if he was a school teacher teaching students, adults, etc.? What about a janitor, director, and secretary? I teach at/in school OR I teach at/in a school The above definitions concern students, and not working individuals like teachers or janitors. I would appreciate if you also stated whether you're American, Canadian, British, etc.",
"Taking advantage of one-time pad key reuse?",
"How to generate a random alpha-numeric string",
"If every prime ideal is maximal, what can we say about the ring? Suppose $R$ is a ring and every prime ideal of $R$ is also a maximal ideal of $R$. Then what can we say about the ring $R$?",
"On June 13th 2017 all SharePoint calculated columns with HTML markup stopped working. Basically the fields now render text (regardless of setting the data type to number). The gist of the notice from Microsoft () is: In Microsoft SharePoint lists and libraries, calculated fields that are running in the classic UI mode can be used to display results based on Excel-like formulas. This is a long standing capability, and is documented in Calculate data in lists or libraries. Some users have added HTML markup or script elements to calculated fields. This is an undocumented use of the feature, and we will begin blocking execution of custom markup in calculated fields in SharePoint Online from June 13, 2017 onwards. We are also providing this as a configurable option for on-premises in SharePoint Server 2016 and SharePoint Server 2013 via the June 2017 and subsequent Public Updates. As we don't have on premise SharePoint (online), we have to find an immediate work around, given that this impacts our processes and thus, business. Is anyone aware of third party applications that will allow for HTML, script markup (that works with SP online)?",
"Why does HTML require that multiple spaces show up as a single space in the browser?",
"'The average person' or 'an average person'?",
"How does C compute sin() and other math functions?",
"In addition to showing reputation scores, SO should rank users. In the users section, users are ordered by the reputations they have. Each user should also have a unique rank, since many users can have the same reputation score. Rank must follow the order laid out by reputation, but for those having similar reputation, an additional formula should be defined which can rank users based on tags, time since registration, frequency of activity and/or helpfulness of their answers. What are your thoughts on this?",
"Standard definition of graph says that it is an ordered pair G=(N,L) where N is set of nodes and L is set of lines which connect the nodes. From what I've read, the set L can be empty, but can set N be empty too? I'm mainly asking this because for my exam, I found numerous problems that go like this: Graph X is given. How many subgraphs with property Y exist? Often the number depends on the definition of graph.",
"I'm trying to show that a finite sum of eigenspaces (with distinct eigenvalues) is a direct sum. I have $ \\alpha : V \\to V $. The eigenspaces are $ V_{\\lambda_i} = \\ker(\\alpha - \\lambda_i id_V )$ for $ 1 \\leq i \\leq n $. My attempt at a proof: $ A + B $ is a direct sum iff $ A \\cap B = \\{0\\} $. If $ v \\neq 0 \\in V_{\\lambda_i} \\cap V_{\\lambda_j} $ for some $i,j, i \\neq j $, then $ \\alpha(v) = \\lambda_i v $ and $ \\alpha(v) = \\lambda_j v $. So $(\\lambda_i - \\lambda_j)v = 0 $, and so $ \\lambda_i = \\lambda_j $. This is a contradiction, so any pair of the eigenspaces have trivial intersection. Therefore $ \\cap_{i=1}^n V_{\\lambda_i} = \\{0\\} $, and so we have a direct sum. Is this ok? Thanks",
"Could humans choose to establish fibre digesting colonies in our guts? Humans don't digest fibre, and nor do any animals, but some creatures have micro-organisms (bacteria, I'm guessing) in their gut which digest fibre for them. My question is, could humans take some sort of pill and establish our own fibre-digesting colonies in our intestines? Has this been tried? Supposing it could be done, would you suppose it would have any negative effects on our health? (i.e.. would those whose gut digested fibre for them be stuck on a low-fibre diet?). Purpose of question: just wondering. It would be cool to be able to eat bark.",
"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)"
] | medi_sts_stackexchange_dupe |
Convert seconds to hh:mm:ss in Python | How do I convert seconds to hours, minutes and seconds? | [
"How to find out if a file exists in C# / .NET? I would like to test a string containing a path to a file for existence of that file (something like the -e test in Perl or the os.path.exists() in Python) in C#.",
"What are the general rules regarding when can you refreeze food that was frozen and then thawed in the fridge? and what are the reasons behind them? (Hygiene? Food quality?). Let's assume for the sake of the argument that the items were in a non-frozen state only a few hours. To be more specific, I'm interested in the application of these rules for - Ginger garlic paste - Dough - Indian Curries - Green Chilly paste - Frozen green peas",
"Is there a difference between single and double quotes in Java?",
"Has the speed of light changed over time? Could someone judge my (stoner) hypothesis that the speed of light has changed over time -- i.e. as the universe has expanded in volume light has slowed down, perhaps going so far as back to the big bang when it was infinitely fast and there was no time because everything happened at once etc. Thinking that the speed at which information can propagate through the universe is linked to the size of it seems intuitive to me. My question -- is there an easy disproof of this? Would Einstein have to be wrong? Does it violate anything supposedly more fundamental such as quantum or string theories? Do any current experiments invalidate it? If not can you show me in any case why you think its unlikely. Edit 8/24 I'm accepting Mark M.'s answer but will post this here because there is a character limit on comments @Mark M thanks, good answer but as someone who has only read some popular physics, and should leave this to the experts, I'm still muddled in my personal theory. I don't see why you should need two units to measure the speed of light. The thing I have a hard time wrapping my head around is the relation of time and distance. They seem like they could fundamentally be the same thing. If you say time is measured fundamentally by the vibration of so and so quantum object in space... why can't we just measure that vibration distance as the constant... I'll repeat myself to try to be clear... there is a certain minimum distance that particles have to go to interact with each other... if it wasn't vibrating there wouldn't be time,its what creates the illusion of time...so instead of talking about speed or c as distance/time.... can't we simply talk about that distance a quantum object vibrates....I'll lead up to my point.....perhaps there can need be only one constant here, and that is the physical size of the universe. a tiny metal tuning fork doesn't appear to be vibrating at all but if you blew it up to the size of the empire state building the metal rods would move from window to window. perhaps as our universe expanded in size the length of that minimum vibration (perhaps infinite at point zero) would have expanded, and therefore created the illusion of time and the speed of light, which, as the universe expands, will continue slowing down. perhaps we are like a big balloon and we have been blown up and all the fields/particles-without-size are vibrating more and more in that space.. am i missing something obvious here?",
"Enumerations on PHP I know that PHP doesn't yet have native Enumerations. But I have become accustomed to them from the Java world. I would love to use enums as a way to give predefined values which IDEs' auto-completion features could understand. Constants do the trick, but there's the namespace collision problem and (or actually because) they're global. Arrays don't have the namespace problem, but they're too vague, they can be overwritten at runtime and IDEs rarely know how to autofill their keys without additional static analysis annotations or attributes. Are there any solutions/workarounds you commonly use? Does anyone recall whether the PHP guys have had any thoughts or decisions around enumerations?",
"Are there any free/open source alternatives to Adobe After Effects? I've been a illustrator and graphic designer for a number of years and now I'm looking to go more into motion graphics and visual effects. Is there anything that is open source/free (not a demo, education version or trial) that is as complex and feature-rich as Adobe After Effects but for Linux? I've tried Cinlerra, kdenlive, openshot and Blender and whilst they are good at video editing (and 3d modelling in Blender's case) they fall short in effects and compositing features. I've also tried , but the project recently closed and the last update was quite buggy. Also, doesn't work and hasn't been updated in many many years, so don't mention it ;-)",
"Why is the speed of light defined as 299792458 m/s? Why is the speed of light defined as $299792458$ $m/s$? Why did they choose that number and no other number? Or phrased differently: Why is a metre $1/299792458$ of the distance light travels in a sec in a vacuum?",
"I made an svg in Illustrator, but now I want to use it in a website/app but it's a huge size (around 10 MB) how can I decrease the size of it? My illustrator file is pretty big but that because I have some tracing elements underneath. The file also has a big artboard, but when I save should I delete my tracing elements, and decrease the artboard size?",
"Get the name of an object's type",
"Martingale formulation of Bellman's Optimality Principle From David Williams' Probability with Martingales Related question: What I tried: For no 2, if $\\ln Z_n - n \\alpha$ is a supermartingale, then for $m < n$, $$E[\\ln Z_n - n \\alpha | \\mathscr F_m] \\le \\ln Z_m - m \\alpha$$ $$ \\to E[\\ln Z_N - N \\alpha | \\mathscr F_0] \\le \\ln Z_0 - 0 \\alpha$$ $$ \\to E[\\ln Z_N - N \\alpha] \\le \\ln Z_0$$ $$ \\to E[\\ln \\frac{Z_N}{Z_0}] \\le N \\alpha$$ Is that right? For no 1, for $m < n$, $$E[\\ln Z_n - n \\alpha | \\mathscr F_m] = E[\\ln Z_n | \\mathscr F_m] - n \\alpha$$ $$ = E[\\ln \\frac{Z_n}{Z_0} | \\mathscr F_m] - n \\alpha + \\ln Z_0$$ $$ = E[\\ln \\frac{Z_n}{Z_{n-1}} | \\mathscr F_m] + ... + E[\\ln \\frac{Z_{m+1}}{Z_{m}} | \\mathscr F_m]$$ $$+ \\ln \\frac{Z_m}{Z_{m-1}} + ... + \\ln \\frac{Z_{1}}{Z_{0}} - n \\alpha + \\ln Z_0$$ Note that $$Z_n - Z_{n-1} \\le |Z_n - Z_{n-1}| \\le C_n |\\epsilon_n - \\epsilon_{n-1}| \\le 2C_n \\le 2Z_{n-1}$$ Also, I think $$\\ln \\frac{Z_n}{Z_{n-1}} \\le |Z_n - Z_{n-1}|$$ Hence we have $$E[\\ln \\frac{Z_n}{Z_{n-1}} | \\mathscr F_m] + ... + E[\\ln \\frac{Z_{m+1}}{Z_{m}} | \\mathscr F_m]$$ $$+ \\ln Z_m - n \\alpha$$ $$\\le E[2Z_{n-1} | \\mathscr F_m] + ... + E[2Z_{m} | \\mathscr F_m]$$ $$+ \\ln Z_m - n \\alpha$$ $$= 2(E[Z_{n-1} | \\mathscr F_m] + ... + E[Z_{m} | \\mathscr F_m])$$ $$+ \\ln Z_m - n \\alpha$$ One thing to do would be to show that $$2E[Z_{n-1} | \\mathscr F_m] + ... + 2E[Z_{m} | \\mathscr F_m] \\le (n-m) \\alpha$$ possibly by showing that $2E[Z_{\\{\\cdot\\}} | \\mathscr F_m] \\le \\alpha$ How would I do that? Something else: $$E[\\ln \\frac{Z_n}{Z_m} | \\mathscr F_m] + \\ln Z_m - n \\alpha$$ $$ \\le E[|Z_n - Z_m| | \\mathscr F_m] + \\ln Z_m - n \\alpha$$ $$ \\le E[2Z_m | \\mathscr F_m] + \\ln Z_m - n \\alpha$$ $$ \\le 2Z_m + \\ln Z_m - n \\alpha$$ Now $2Z_m \\le (n-m) \\alpha?$ We have $$2Z_m = 2\\sum_{k=1}^{m} C_k(\\epsilon_k - \\epsilon_{k-1})$$ $$\\le 2\\sum_{k=1}^{m} Z_{k-1}$$ I'm not quite sure how to show that $$2\\sum_{k=1}^{m} Z_{k-1} \\le (n-m)\\alpha$$ if that's even true. How can/else can I approach this problem? For no 3, no idea. Any hints? I think it has something to do with a stopping time. Might we have to use the ff lemma (red box): ?",
"How does one prove that every finite group is isomorphic to a subgroup of an alternating group?",
"A Product function for matrix products",
"The label toolbar uses fields in the attribute table of vector layers to fine tune labeling (Data defined labeling). That's the main reason i'm looking for that, but it may have more applications. I'd like to automatically add some format columns instead of adding them manually every time. Do you know a plugin or a way to do this manipulation automatically on multiples layers ? I tried to get the QGIS tool \"Add a field to attribute table\" into a quick model which works properly, but it creates a new memory layer. And I'd like just new fields. ##Add_ETIKT_Field=name ##myvlayer=vector ##myvlayer=output vector outputs_QGISADDFIELDTOATTRIBUTESTABLE_2=processing.runalg('qgis:addfieldtoattributestable', myvlayer,'ETIKT_Y',1,15.0,4.0,None) outputs_QGISADDFIELDTOATTRIBUTESTABLE_1=processing.runalg('qgis:addfieldtoattributestable', outputs_QGISADDFIELDTOATTRIBUTESTABLE_2['OUTPUT_LAYER'],'ETIKT_X',1,15.0,5.0,myvlayer) What I'm looking to automate is : Open the attribute table Edit button Field Calculator button Add Column + Type + length + Precision It seems there's some ideas in , but I'd love to avoid coding anything, or at least at minimum go through the modeler. Adding and Removing Fields To add fields (attributes), you need to specify a list of field definitions. For deletion of fields just provide a list of field indexes. if caps & QgsVectorDataProvider.AddAttributes: res = layer.dataProvider().addAttributes([QgsField(\"mytext\", QVariant.String), QgsField(\"myint\", QVariant.Int)]) if caps & QgsVectorDataProvider.DeleteAttributes: res = layer.dataProvider().deleteAttributes([0])",
"How to hook into the CPT's title placeholder?",
"Mean and variance of inverse of a normal RV My random variable $X$ is normally distributed with mean $b$ and variance $p$. I defined a new RV, $Y$, such that $Y=1/X$. Does anyone know how to find the mean of $Y$ and $Y^2$?",
"I forgot my password of a TrueCrypt file I used a few years ago. How would I go about 'cracking' it? I'm not sure if there is a way to attack it or if it can only be done by brute-force. I used it on a Mac. I still have the Mac I used it on, but of course turned that off many times since I used it. I have a passphrase that I thought would relate to this file. Maybe I used some variant of it. But might be something completely different. I have some other words that I might have used, but would need give it another thought how I could have used those. Is there an automated way to test variations on what I think the passphrase was to regain access to the volume? Is there any other way I might regain access?",
"Smaller membership symbol To mean that x is an element of X, we can write x \\in X. However, in the standard packages, the membership symbol that results is too big; it draws too much attention to itself. This is especially evident when we're doing set theory and writing sets as lowercase, as in x \\in y. Does anyone one how to draw a less attention-seeking membership symbol?",
"I am given two charged particles of same charge at a distance of $r$. They initially apply force $F$. Now an infinite dielectric (of dielectric constant $4$) of width $\\frac{r}{2}$ is introduced between the particles. What will be the new force? I find this problem confusing because I have only been told about forces when its either fully dielectric or fully vaccum given by Coulomb's law. How do we get forces when only partial space is dielectric?",
"Please check my simplification for x?",
"Let $f$ be a measurable function on a measure space $X$ and suppose that $fg \\in L^1$ for all $g\\in L^q$. Must $f$ be in $L^p$, for $p$ the conjugate of $q$? If we assume that $\\|fg\\|_1 \\leq C\\|g\\|_q$ for some constant $C$, this follows from the Riesz Representation theorem. But what if we aren't given that such a $C$ exists?"
] | medi_sts_stackexchange_dupe |
Zend GData Calendar: I can't use setUpdatedMin in the query | Gdata signed request error: "Unknown authorization header" | [
"Show that if terms of a series have ratio less than the ratio of convergent series, then the series converges We have two infinite series $\\sum a_n $ and $\\sum b_n$, such that $a_n > 0,\\ b_n > 0$ and $a_{n + 1}/a_n \\leq b_{n + 1}/b_n$ for all $n$. Show that if $\\sum b_n$ converges, then $\\sum a_n$ also converges. Any hints on how to prove this? I can sort of picture why this must be true, but I'm not sure how to prove this rigorously. I'm not sure using the ratio test would help here..",
"Was there any reason why Dr Soong chose for Data's eyes to be yellow? I can understand that he wasn't going for a completely human-looking android based on his skin color, but why yellow eyes?",
"How to SEO a Single-Page website",
"The difference between \"Older\" and \"Elder\" What is the difference between \"Older\" and \"Elder\" ? And are they interchangeable ?",
"How to get all possible combinations of a list’s elements? I have a list with 15 numbers in, and I need to write some code that produces all 32,768 combinations of those numbers. I've found (by Googling) that apparently does what I'm looking for, but I found the code fairly opaque and am wary of using it. Plus I have a feeling there must be a more elegant solution. The only thing that occurs to me would be to just loop through the decimal integers 1–32768 and convert those to binary, and use the binary representation as a filter to pick out the appropriate numbers. Does anyone know of a better way? Using map(), maybe?",
"The series $\\sum_{n=2}^{\\infty }\\frac{1}{\\log (n!)}$ I'm trying to find out whether this Series $\\sum_{n=2}^{\\infty } a_{n}$ converges or not when $$a_{n}=\\frac{1}{\\log (n!)}$$ I tried couple of methods, among them: d'Alembert $\\frac{a_{n+1}}{a_{n}}$, Cauchy condensation test $\\sum_{n=2}^{\\infty } 2^{n}a_{2^n}$, and they both didn't work for me. Edit: I can't use stirling, and integral. Thank you",
"I don't know if it's the right place to ask but can somebody advise me for buying a ram memory for my computer. I have a Dell Vostro 200 with 1GB of RAM and 667MHz. (2 x 512MB) I want to buy raise the amount of RAM but I'm confused whether to buy 1 x 2GB or 2 x 1GB I know it's the same for the available amount of memory but is ther a difference maybe in the clock speed so that 2 x 667MHz will be better than 1 x 667MHz. or maybe accessing one single memory slot will be faster and better than accessing two slots. Please anyone helps.",
"This is from . Let $\\mathcal{A}$ be a locally small category, and let $A,A' \\in \\mathcal{A}$ with $\\operatorname{Hom}(-,A) \\cong \\operatorname{Hom}(-,A')$. Prove directly that $A \\cong A'$. My thoughts: Let $\\eta$ denote the natural isomoprhism between the two functors. We have $$H(A,A) \\xrightarrow{ \\eta_A} H(A,A')$$ So $\\eta_A(id_A): A \\rightarrow A'$ is a candidate. Now I want to construct inverse. $$ H(A',A') \\xrightarrow{\\eta_{A'}} H(A',A)$$ Then the map $\\eta^{-1}_{A'} (id_{A'}):A' \\rightarrow A$. So I'd like to show that the composition is identity. By the naturality condition of $\\eta$, from $H_A(A) \\rightarrow H_{A'}(A')$ (and similarly on other direction) $$ \\eta_A(id_A) \\circ \\eta^{-1}_{A'}(id_{A'}) = \\eta_{A'}(\\eta_{A'}^{-1}(id_{A'}))= id_{A'} $$ We deduce these two maps are inverses. Hence $A' \\cong A$. Is this correct? Or is there a neat way to see this?",
"How do I allow a non-default user to use serial device ttyUSB0? I have an Ubuntu 11.10 system with 2 users: The first was created during the installation The second instead was created after. It belongs to the sudoers group. Now the problem is that when the second tries to use a device ttyUSB0 the following error is returned: \"Could not open serial port /dev/ttyUSB0\" I was able to fix it by using: sudo chown :second_user /dev/ttyUSB0 However when I disconnect the device and reconnect it the problem comes back. Is there a way to allow different users to access the devices? I suppose I have to add the user to a specific group. Currently the owner is root and the group is dialout. However I'm not sure about the group and I don't know how to add the user. Thanks!",
"Clip for each feature I want to clip a polyline feature class by a polygon feature class (buffers created from points). Several polygons overlap, so I want to get each polygon feature clipped with each polyline feature. Using the Clip_analysis tool, I get the orange lines: whereas I want the following red lines: In a python script, I tried the following code to clip every polyline with each polygon: temp = arcpy.ValidateTableName(\"clip_temp\") bufferCursor = arcpy.SearchCursor(buffer) n = 0 for pRow in bufferCursor: arcpy.AddMessage(n) feat = pRow.Shape arcpy.Clip_analysis(inputPolylineLayer, feat, temp, \"#\") if n == 0: arcpy.Copy_management(temp, clip) else: arcpy.Append_management(temp, clip) n=n+1 But the execution is very very slow and it crashes before finishing. I also tried the Intersect_analysis tool but I didn't get the right geometries: Do you have any idea of a better methods to do it?",
"Why do we have an elementary charge $e$ in physics but no elementary mass? Is an elementary mass ruled out by experiment or is an elementary mass forbidden by some theoretical reason?",
"In , it is established that Thieves' Cant is more of an encoding system built on top of a language than a language in its own right. According to the Basic Rules, is: ...a secret mix of dialect, jargon and code allows you to hide messages in seemingly normal conversation. Only another creature that knows thieves' cant understands such messages. It takes four times longer to convey such a message than it does to speak the same idea plainly. In addition, you understand a set of secret signs and symbols used to convey short, simple messages, such as whether an area is dangerous or the territory of a thieves' guild, whether loot is nearby, or whether the people in an area are easy marks or will provide a safe house for thieves on the run. (PBR, p. 27) Can two creatures communicate using Thieves' Cant if they do not have a basic spoken language in common, or if they are speaking different basic languages? E.g. if one creature knows Orcish, Goblin, and Thieves' Cant, and another creature knows Elvish, Giant, Common, and Thieves' Cant, can they communicate with each other by embedding Thieves' Cant into their own languages? Hypothetically speaking, I can see how this could be possible in our own world, if we assume that Thieves' Cant depends on nuances of body language, emphasis, and tempo, e.g., one might say to a non-Spanish speaker: Tenemos quEEEEEEE ir (wink) a la tieeeeenda de (shuffle left foot) armas para (twirl hair and giggle) comprar una espada (wink twice) para mi herMANO (wag right pinky and nod). The literal message itself ("We need to go to the weapon store to buy a sword for my brother.") would just be a carrier - the real message might be hidden within the gestures and the accented and extended syllables. Perhaps the drawn-out "E" vowel means "robbery planned", the wink means "bank", shuffling the left foot means "be there at sunset", etc., and these are things that you wouldn't necessarily need to know Spanish to extract. Is this how Thieves' Cant actually works, or does it require actual comprehension of the literal message transmitted before the "secret" message can be extracted from it?",
"Temporarily suspend bash_history on a given shell? Is there a way to temporarily suspend history tracking in bash, so as to enter a sort of \"incognito\" mode? I'm entering stuff into my terminal that I don't want recorded, sensitive financial info.",
"How to easily map c++ enums to strings",
"When can a noun be used attributively? Nouns can modify nouns: cat food, coffee cup, gold ring, laser surgery, flood insurance. It seems to me there are even cases where a noun sounds better than the corresponding adjective: sociology papers sounds a bit better than sociological papers. Some noun-noun combinations don’t work. You wouldn't say America gangsters or measurement spoons or greed crimes. If you spilled water on your keyboard you probably wouldn't call it a keyboard spill or even a water spill. Are there rules that tell which combinations are acceptable?",
"How to play DVDs in Ubuntu 16.04?",
"Ruby -- capitalize first letter of every sentence in a paragraph",
"I'm trying to typeset some python code, and I would like integer literals to be highlighted. I've come up, after about two hours of fighting with the documentation and various other questions here and on SO, with the following: \\lstset{ % language=Python, otherkeywords={1, 2, 3, 4, 5, 6, 7, 8, 9, 0}, morekeywords=[2]{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}, keywordstyle=[2]{\\color{orange}}, keywordstyle=\\color{blue}\\bfseries, stringstyle=\\color{red}, } Unfortunately, that doesn't work. Numbers found in strings are also highlighted, which is rather annoying, and not only are they highlighted: they are highlighted in blue. Numerals in regular program text, on the other hand, are rightly highlighted in red. Help? EDIT: Thanks Peter Grill for your very nice solution. Is there a way to not break string colouring, though? When I use you code, the stringstyle=\\color{red} doesn't seem to work anymore (strings are just plain black). Similarly, comments can be enclosed in triple quotes in python, and if I adapt your quote to detect \"\"\" blocks, then the corresponding comments are not highlighted anymore.",
"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?",
"remove isp-provided dns My isp provides a dns service; but unfortunately they do block certain sites. I would like to use opendns or google; but it seems like it doesn't work. I have set up a wired connection; given a manual ip and entered opendns-ip's in the nameserver field (all through the gui). Still url's are being resolved through my ISP. I have tried to configure the same on my girlfriends laptop (win 7) and I also can't seem to do the setup. My previous computer also was a win 7 and had no problem. (so I believe the problem is 'me') If it were only one site, i could edit the hosts file; but I prefere to circumvent their whole dns server. Is there something an isp can do to block the use of other dns-servers than theirs? Is it possible to re-route the ISP dns to the opendns?"
] | medi_sts_stackexchange_dupe |
Django model field: Checking "if field is not None" vs. "if field" | Why is "if not someobj:" better than "if someobj == None:" in Python? | [
"the problem of using \"~\\\\\" and blank line Recently,I found the code that cotains the\"~\\\\\" and blank line always shows the warning imformation \"Underfull \\hbox (badness 10000) in paragraph at lines\" \\documentclass{ctexart} \\usepackage{color} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{graphicx} \\usepackage{epstopdf} \\hfuzz=\\maxdimen $(A \\pm B)^{-1} \\neq A^{-1} \\pm B^{-1}$,$(A \\pm B)^* \\neq A^* \\pm B^*$~\\\\ $|(A^*)^*|=|A|^{n^2-2 n+1}$~\\\\ \\end {document} I add the code: \\tolerance=10000 \\hbadness=10000 \\begin{document} However,fail to solve it!",
"How to delete column/field in PyQGIS?",
"Solving trigonometric equations of the form $a\\sin x + b\\cos x = c$ Suppose that there is a trigonometric equation of the form $a\\sin x + b\\cos x = c$, where $a,b,c$ are real and $0 < x < 2\\pi$. An example equation would go the following: $\\sqrt{3}\\sin x + \\cos x = 2$ where $0<x<2\\pi$. How do you solve this equation without using the method that moves $b\\cos x$ to the right side and squaring left and right sides of the equation? And how does solving $\\sqrt{3}\\sin x + \\cos x = 2$ equal to solving $\\sin (x+ \\frac{\\pi}{6}) = 1$",
"I came across this strange code snippet which compiles fine: class Car { public: int speed; }; int main() { int Car::*pSpeed = &Car::speed; return 0; } Why does C++ have this pointer to a non-static data member of a class? What is the use of this strange pointer in real code?",
"Mysterious! Beamer itemize has no bullets after adding a few packages this is my first time using beamer. I copied a template from the sharelatex page on Beamer Which works, and \\begin{itemize} shows bullets But after adding a few more packages that I need, all the bullets are gone! What is going on and how can I fix this? \\documentclass{beamer} \\usepackage[utf8]{inputenc} \\usepackage{amsmath} \\usepackage{amsthm} %Theorem Environment \\usepackage{amssymb} \\usepackage{multirow} \\usepackage{cancel} \\usepackage{amsfonts} \\usepackage{graphicx} \\usepackage{subfigure} \\usepackage{upgreek} \\usepackage{mathtools} \\usepackage{thmtools} \\usepackage{enumitem} %Information to be included in the title page: \\title{Sample title} \\author{Anonymous} \\institute{ShareLaTeX} \\date{2014} \\begin{document} \\frame{\\titlepage} \\begin{frame} \\frametitle{Sample frame title} \\begin{itemize} \\item This is a text in first frame. \\item This is a text in first frame. \\item This is a text in first frame. \\end{itemize} \\end{frame} \\end{document}",
"\"wait more than\" vs. \"wait FOR more than\" If you make him wait (for) more than ten minutes, he'll just walk away. I found both instances on Google Books: and . So I'm a bid confused.",
"This question relates to a discussion on . Euclid's proof of the infinitude of primes is an indirect proof (a.k.a. proof by contradiction, reductio ad absurdum, modus tollens). My understanding is that Intuitionists reject such proofs because they rely on the Law of the Excluded Middle, which they don't accept. Does there exist a direct and constructive proof of the infinitude of primes?",
"Perform feature normalization before or within model validation?",
"What is the right way to consistently mangle bash terminal? I'm on OSX 10.11.1 and occasionally my bash terminal gets mangled. It often happens when I accidentally cat a binary file. The result can be seen on the image below. The output becomes weird, and I can't type ascii characters anymore. Even though this happens occasionally, I couldn't find a way to consistently reproduce the issue. Online search recommends doing cat /bin/*, but that works sporadically, only after a couple dozen tries. I want to do this so I can find an easy solution how to handle this in tmux. How do I consistently get bash to a \"mangled\" state? Is there maybe a magic unicode character that can do this?",
"I want to do something like: MyObject myObj = GetMyObj(); // Create and fill a new object MyObject newObj = myObj.Clone(); And then make changes to the new object that are not reflected in the original object. I don't often need this functionality, so when it's been necessary, I've resorted to creating a new object and then copying each property individually, but it always leaves me with the feeling that there is a better or more elegant way of handling the situation. How can I clone or deep copy an object so that the cloned object can be modified without any changes being reflected in the original object?",
"How do I get useful SQL Server database performance statistics? We currently have several shared SQL Server servers and instances in our organization. They are going with a different architecture where business units will get their own SQL Server instances. We have SQL Server 2008R2. In the past, databases were put on servers in a more or less random fashion -- business use and disk space were the main drivers. I've been tasked with coming up with a plan for allocating our 50+ databases across 3 servers (one instance per server). My criteria for divvying them up is as follows: Business critical db's should be spread across the servers. i.e. avoid lumping a bunch of business critical db's all one server. For the remainder of the non-mission critical db's, consider: a. Disk space usage b. I/O usage -- memory, CPU, etc. 1 and 2a are easy for me to figure out. I know how to get data file sizes. My question is with that last bit - 2b. I do not know how relevant this is, what specific stats to look at, or how to get them. Frankly, I'm not 100% sure how to phrase this question! I think I basically want to know is, \"How 'busy' is this db -- however you define 'busy'?\" Or maybe, \"How does this db impact the performance of the server?\" I mean, disk space is important -- but it could (in theory) have a ton of rows or binary objects in there that are not written very often, so it has little impact on the performance of the server. I think I would want to know how much impact a db within a date range. Is there a way to get these kind of general stats? I'm not looking for expensive queries, detailed user stats, or query optimization here. I'm aware of the SSMS reports, but they seem to be more real-time. The end goal is to divide up our current databases into evenly balanced buckets, and I would think performance is one way to do that. Thoughts? Wisdom? Any other ideas on how to divvy up the db's? Thanks! Tom",
"How do I sort a dictionary by value?",
"Async call generates \" Error: Can't wait without a \"fiber\", even with _wrapAsync",
"Initializing C# auto-properties I'm used to writing classes like this: public class foo { private string mBar = \"bar\"; public string Bar { get { return mBar; } set { mBar = value; } } //... other methods, no constructor ... } Converting Bar to an auto-property seems convenient and concise, but how can I retain the initialization without adding a constructor and putting the initialization in there? public class foo2theRevengeOfFoo { //private string mBar = \"bar\"; public string Bar { get; set; } //... other methods, no constructor ... //behavior has changed. } You could see that adding a constructor isn't inline with the effort savings I'm supposed to be getting from auto-properties. Something like this would make more sense to me: public string Bar { get; set; } = \"bar\";",
"Approximating commuting matrices by commuting diagonalizable matrices Suppose the matrices $A$ and $B$ commute. Do there exists sequences $A_n$ and $B_n$ of matrices such that $A_n \\rightarrow A$, $B_n \\rightarrow B$. Each $A_n$ is diagonalizable and the same for each $B_n$. For every $n$, $A_n$ commutes with $B_n$. Moreover, it would be nice if the following property was additionally satisfied: if $A,B$ are real, then $A_n,B_n$ can be chosen to be real as well.",
"Find the minimal polynomial for $\\sqrt[3]{2} + \\sqrt[3]{4}$ over $\\mathbb{Q}$ I havent covered galois theory, this is an exercise from the chapter algebraic extensions in gallian. I can see that $\\sqrt[3]{2} + \\sqrt[3]{4}$ $\\in \\mathbb{Q}(2^{1/3})$, after this I am clueless. Need hints will finish the proof.",
"Can a full version of Ubuntu be Installed on a USB Drive?",
"How do I create a deb package for a single python script? I have a single python script that I want to distribute as a deb package. It is a which shows local date in Unity panel. I did follow but I could not create a deb package because it fails. Can someone give me a step-by-step instruction on what I should do? As far as I know this script depends on python-appindicator. NOTE: I do not want any links to Debian/Ubuntu packaging instructions. I have seen most of them. I don't find them beginner friendly.",
"Update to Windows 10: What is going to happen to my data and apps? I have Windows 8.1 Update, if I update to Windows 10 when it becomes available what is going to happen to my data and apps? Of course I have to do a backup, but I wonder if the data will be overwritten or not.",
"How to disprove this fallacy that derivatives of $x^2$ and $x+x+x+\\dots\\quad(x\\text{ times})$ are not same. Possible Duplicate: \\begin{align*} x^2 &= \\underbrace{x + x + x + \\dots + x}_{x \\text{ times}}, \\\\ \\therefore \\frac{\\mathrm{d}}{\\mathrm{d}x} (x^2) &= \\frac{\\mathrm{d}}{\\mathrm{d}x} (\\underbrace{x + x + x + \\dots + x}_{x \\text{ times}}) \\\\ &= \\underbrace{1 + 1 + 1 + \\dots + 1}_{x \\text{ times}} \\\\ &= x. \\end{align*} But we know that $$ \\frac{\\mathrm{d}}{\\mathrm{d}x} (x^2) = 2x. $$ So what is the problem? My take is that we cannot differentiate both sides because $\\underbrace{{x+x+x+\\cdots+x}}_{x \\text{ times}}$ is not fixed and thus $1$ is not equal to $2$."
] | medi_sts_stackexchange_dupe |
Select and copy text to clipboard on double click jQuery | How do I copy to the clipboard in JavaScript? | [
"I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the solution I was using: In the preamble: \\newcommand{\\activity}[2]{\\bgroup\\let\\addcontentsline=\\nocontentsline#1{#2}\\egroup} and now my \"activity\" starts out with: \\newpage \\activity\\section{A Fun Educational Activity} There is only one problem. The activity starts out indented, as opposed to not indented, as a section should be. How do I make my activity start out without an indent? I realize I could simply add \\noindent but it seems to me that there should be a more elegant solution.",
"Why does Venus spin in the opposite direction? Given: Law of Conservation of Angular Momentum. Reverse spinning with dense atmosphere (92 times > Earth & CO2 dominant sulphur based). Surface same degree of aging all over. Hypothetical large impact is not a sufficient answer. Assuming any object large enough to alter a planets rotation or even orbit would likely destroy most of its shape, yet Venus has retained a spherical property with a seemingly flat, even terrain indicating no volcanoes,and few if any visible meteor impacts. It would be fragmented and dispersed for billions of years. Even the question of what meteor, comet, asteroid composition could survive traveling that close to the sun's temperature, radiation, electromagnetic energy, solar flares, or gravity to equal a mass reactionary change as to alter it's spin.",
"Idiomatic expression for a difficult choice This has cropped up several times in the past couple of months, and I've been struggling to find a fitting word to describe this phenomenon. I'll describe it: You have two choices(no, it's not Hobson's choice). Both of them are desirable, yet both of them each have a tiny part which is most undesirable, such as a tough condition, or a demanding clause. You have difficulty deciding which one to pick. Whenever something like that comes up, I think of the expression \"Can't burn a candle at both ends\", but I'm not looking for that. I'm looking for an expression that describes a difficult choice. Any suggestions? EDIT: It's idiomatic. I'm quite sure it is. It's an expression of some sort. And no, it isn't \"dilemma\"",
"How can I do unit testing in Unity? How to implement Unit Test at Unity3D. I wonder if it would be possible to extend the Unity editor to have some sort of testing framework in it. Is there any guideline to implement it? Any reference like book, blog? Any working example or project?",
"I have a strange issue with Windows 10 When I open .nef files they load fine. However after a second or two the contrast changes noticeably. I tried Windows 10 Photos and Picasa Image Viewer. What am I trying to accomplish? I just want to open files quickly to check for focus and composition before importing into Lightroom Lightroom does not have this issue Here is the example opening with Windows 10 Photos And here is after a second when it 'fully' loads Picasa Photo Viewer after it loads a bit. It initially opens fine but then it goes all purple",
"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.",
"Let $G(r, n)$ be the Grassmannian of the set of all $r$-planes in a $n$-dim vector space. How to show that the cohomology of a Grassmannian has a basis consisting of the equivalent classes represented by Schubert cycles? I am confused since I don't know how to compute the cohomology of a variety (how to construct the co-chain complex). I am really appreciate if you can compute the cohomology of, for example, $G(2,4)$ and show that it has a basis consisting of the equivalent classes represented by Schubert cycles.",
"Configuring Firefox to use a proxy from the command line I'm looking for a way to tell Firefox to use a proxy in Ubuntu Ludid (10.04.1 LTS). I'm installing Ubuntu semi-automatically on several identical machines. For this, I use a script that, amongst other things, sets system-wide proxy settings: echo \"export http_proxy=http://myproxy:3128/\" > /etc/profile.d/proxy.sh echo \"export HTTP_PROXY=http://myproxy:3128/\" >> /etc/profile.d/proxy.sh chmod a+x /etc/profile.d/proxy.sh I can confirm that the variables are set correctly when checking in a shell. Most programs respect this setting and use my proxy. Firefox, however, does not. When I open its network connection settings dialog, however, it is pre-set to \"use system settings\" for the proxy. What does Firefox expect here? A differently-named variable? Can I set something in FF's prefs.js?",
"Lost access to sudo sudo: unable to resolve host I think I need to edit the /etc/hosts file to make an entry for 127.0.1.1 PC name. But how can I do that if I can't access sudo? It seems to have gone since I updated to 13.10. I have tried nano, which still doesn't work.",
"Redirect everything from old domain to new domain I need to (permanent) redirect all of the following: www.example.com www.example.com/folder sub.example.com sub.example.com/folder Basically, all URLs that are reachable without being intended to: www.new-example.com, I want to do this within Apache and using the mod_rewrite module via the .htaccess file.",
"Once a lead is converted it automatically creates an account, contact and one opportunity. But in my case i want to display the result without creating an Account. Please provide me with a sample code. Any help will be appreciated...",
"Infinite product with sign changes. For infinite products I know the following theorems: Theorem I. If $a_n \\geq 0$ for all $n$ then $\\prod (1+a_n)$ converges if and only if $\\sum a_n$ converges. Theorem II. If $-1 < a_n \\leq 0$ for all $n$ then $\\prod (1+a_n)$ converges if and only if $\\sum a_n$ converges. My question is what are necessary and sufficient conditions (possibly including more restrictions than in I and II) for $\\prod (1+a_n)$ convergence/divergence as related to $\\sum a_n$ convergence/divergence if the sequence of terms $a_n$ can switch signs repeatedly but always stay greater than $-1$. I already know the trivial equivalence of $\\prod(1+a_n)$ and $\\sum\\ln(1+a_n)$.",
"If $a_0\\in R$ is a unit, then $\\sum_{k=0}^{\\infty}a_k x^k$ is a unit in $R[[x]]$",
"while working with webservice quotes are not inserting may i know what i have to do. my code is for(integer l=0;l<reqquotes;l++){ qu = new Quote(); qu.Name = qName; //opp.CloseDate =system.today(); qList.add(qu); insert oppList; insert qList; }",
"Print out elements from an array with a comma between elements except the last word",
"Spyder - touchpad scroll does not work I use the scroll function with my mouse and it works fine. But either in script, or in terminal sections of Spyder, I can't use the touchpad for scrolling. I do not experience any problems with my touchpad in other programs like Word, Chrome etc. Is there any option for this in Spyder, specific for touchpad? I am using Lenovo Legion Y520, Windows 10.",
"Can we have a high-speed low-drag close vote review queue?",
"Windows 10 April 2018 Update added an extra Language and I cannot remove it I have just updated to Windows 10 April 2018 Update (1803 / 17134.1) I had my laptop configured completely as UK with only a UK keyboard layout Since the update, a US keyboard has been added so I now see the switch icon in my task bar It appears that all the keyboard language settings are now migrated to the new Settings app and no longer in the old Control Panel However, as can be seen from the screenshot above, the Remove button under the newly added US layout is greyed out (as is the UK one) How can I remove the US layout? UPDATE 1: I just updated my desktop and it hasn't added a US keyboard! UPDATE 2: I added a third language (French) and was able to remove it, the button was enabled. The US remove button remained disabled both after adding French and after removing it. UPDATE 3: I added another English language (Australian) and this cannot be removed! Button is disabled UPDATE 4: I followed this except I removed the values from the keys for all users and also the values under the Substitutions key. The task bar switch icon is gone but I still have all 3 languages in Settings still",
"I recently found a formula to help find a sequence given a generating function: $(\\frac{1}{1-x})^k=\\sum_{n=0}^{\\infty}\\binom{n+k-1}{n}x^n, k \\in \\mathbb{N}$ I just wondered if there was a known proof for this, or if anyone knows of a way to prove it.",
"\"How to format\" block mentions syntax highlighting even if it is not available on the site When you edit the body of a post, the \"How to Format\" widget is shown in the right sidebar. It mentions the syntax highlighting function, even on like : It's probably also a good idea to move the part about code fences down for non-technical sites (like ); other formatting options are more important there."
] | medi_sts_stackexchange_dupe |
The distribution of the product of Gaussian variable and Rademacher variable. | Distribution of Product of Random Variables with one being the normal distribution. | [
"How to change the starting reference number in Natbib in a given bibunit? I'm using bibunit and Natbib packages with a numerical numbering. \\begin{bibunit}[plainnat] \\nocite{ref1,ref2} \\putbib[mybiblio] \\end{bibunit} \\begin{bibunit}[plainnat] \\nocite{ref3,ref4} \\putbib[mybiblio] \\end{bibunit} How can I set the starting number for ref3 and ref4 to be different from 1 (say 15), without affecting the starting number for ref1 and ref 2? The desired result is the following: [1] ref 1 [2] ref 2 [15] ref3 [16] ref4",
"why is there no non-degenerate 2-forms on 4-sphere?",
"I'm getting \"jumpy\" loadings in rollapply PCA in R. Can I fix it?",
"Under what condition we can interchange order of a limit and a summation?",
"Probability that the sum of 6 dice rolls is even",
"Evaluation of $\\lim_{n\\rightarrow \\infty}\\frac{n!\\cdot e^n}{\\sqrt{n}n^n}$ without stirling approximation Evaluation of $\\displaystyle \\lim_{n\\rightarrow \\infty}\\frac{n!\\cdot e^n}{\\sqrt{n}\\cdot n^n}$ $\\bf{My\\; Try::}$we can write it as $$l=\\lim_{n\\rightarrow \\infty}\\frac{e^n}{\\sqrt{n}}\\cdot \\left(\\frac{1}{n}\\cdot \\frac{2}{n}\\cdot \\frac{3}{n}\\cdots \\cdots \\frac{n}{n}\\right)$$ $$\\ln (l) = \\lim_{n\\rightarrow \\infty}\\bigg[n-\\frac{1}{2}n+\\sum^{n}_{r=1}\\ln\\left(\\frac{r}{n}\\right)\\bigg]$$ Now how can i solve it, Help required, Thanks",
"No feedback when comment fails to post on Android 2.3.5 In the mobile theme on Android 2.3.5, comments that do not meet the minimum length will fail to post but no feedback message is displayed to the user. The submit button changes to its active state, but nothing else happens.",
"What is meant by \"obfuscate by pretending\"? I came accross the following sentence: \"Politicians obfuscate by pretending that the world would be the same if it weren't for the Cold War.\" What is the meaning of obfuscate by pretending and how does it relate to the rest of the sentence? The way I understood it: politicans are aware that the world would not be the same if it weren't for the Cold War, but are (due to unknown or suspected reasons) not willing to admit this and therefore pretend otherwise.",
"Unknown apps/processes with number only are shown in the battery screen",
"I have a dataset in csv file format that I'm loading into pgfplotstable. I can't change the format of the original csv, and being financial data it has a column of item names and two or three explanatory data points at the top of the table. e.g. \\documentclass{article} \\usepackage{array,datatool,pgfplotstable} \\begin{filecontents}{sample.csv} item,2008,2009,2010,2011 ,Actual,Actual,Forecast,Forecast ,GBP,GBP,GBP,GBP ,('000),('000),('000),('000) rounded Area 1 OP, 1000000,1500000,1750000,250000 Area 2 OP, 400000,500000, 450000,-50000 Area 51 OP, 300000,375000,390000,15000 No P, 1250000, 1000000, 950000, 50000 Residuals, 800000, 80000, 90000, 10000 \\end{filecontents} \\pgfplotstableread[col sep=comma]{sample.csv}\\mystuff I'm stumped at the next stage which is to typeset \\mystuff so I have comma separators and can add a row that sums the 'Area' columns. At the moment to display the table I have to do something like \\begin{document} \\pgfplotstableread[col sep=comma,header=false]{sample.csv}\\mystuff \\pgfplotstabletypeset[ columns/0/.style={string type}, columns/1/.style={string type}, columns/2/.style={string type}, columns/3/.style={string type}, columns/4/.style={string type}]\\mystuff \\end{document} How do I tag the top three rows as string and the rest of the last four columns as integer type so I can format and transform them?",
"remote action function encountering CPU time out limit exception",
"Why isn't temperature frame dependent? In (non-relativistic) classical physics, if the temperature of an object is proportional to the average kinetic energy ${1 \\over 2} m\\overline {v^{2}}$of its particles (or molecules), then shouldn't that temperature depend on the frame of reference - since $\\overline {v^{2}}$ will be different in different frames? (I.e. In the lab frame $K_l = {1 \\over 2} m\\overline {v^{2}} $, but in a frame moving with velocity $u$ relative to the lab frame, $K_u = {1 \\over 2} m \\overline {(v+u)^{2}}$).",
"Seems like a stupid question, but I'm after a nice solid answer if possible. I joined SO a while ago to ask the odd question, but recently I'm starting to use it more often. I've been reviewing the 40 max items (20 first posts/20 late answers) per day, and editing anything I see wrong with them (lots of +2's)... flagging them... etc. I've also been per day. But other than commenting where I can and answering the odd question, I'm only (1k at the moment). I might just be overeager, but I was hoping some high-rep users might be able to write a little something on how they earned their stripes? I've , and to be honest I was hoping I'd get a hit, because it sounds like a stupid question... anyways, here you go! Also, I'm not referring to how to gain rep on Meta, since it's a bit of a fluke I've earned the rep I have on here. I'm asking about main SO.",
"How do I count the number of occurrences of a char in a String?",
"Is There a Difference Between Taxonomies and Categories? I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in the description of Taxonomies, but seems used in a manner that hints that it isn't solely limited to a Taxonomy. Both are described as a way to classify and group together posts. I do understand that Taxonomies are a more general form of categories, but how exactly do they relate to each other? Is there a subtle difference I'm just not picking up on?",
"Is Meta Stack Overflow just the meta for Stack Overflow or is it a somewhat special meta site? Initially I thought that Meta Stack Overflow was the common meta for all SE sites. Then I noted that has its own meta site. It took a while for me to learn that even Server Fault has its own meta site. Looking at my reputation points, I see difference between Stack Overflow and Meta Stack Overflow, but not between the other sites and there corresponding meta sites. Now, is Meta Stack Overflow in some sense the master meta site of all or not?",
"Proof by induction of summation inequality: $1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\dots+\\frac1{2^n}\\ge 1+\\frac{n}2$",
"Im having trouble with the second part of this question, Let $H$ be a normal subgroup of $G$ with $|G:H| = n$, i) Prove $g^n \\in H$ $\\forall g \\in G$ (which i have done) ii) Give an example to show that this all false when $H$ is not normal in $G$.(which I am having trouble with showing) Any suggestions?",
"Declare variable to hold job name and if job running kill it I’m looking for a single file that does these things in order. Declare a variable to hold a job name Run a query to check whether that job declared is currently running Set up an if loop If the job is running, execute the stored procedure that kills it. My question is to write a query that declare a variable to hold a job name and gives us result the job is still running or not if the job is running execute the stored proc to kill it. My manager was asking me to listing running jobs and suspended jobs and declare a variable to hold job name and setup an IF loop like if job is running run proc to kill it.",
"Quadratic models with R. The use of poly(..) and I(..) functions (R-language) What causes the different results below? var1 = c(0.04875,0.13725,0.28350,0.50975,0.77425,0.94700,0.05325,0.14050,0.29725,0.51525,0.79000,0.95400,0.04625,0.15250,0.29000,0.53300,0.79825,0.95225,0.05025,0.14625,0.28800,0.52625,0.78200,0.95925,0.04700,0.14225,0.30325,0.53500,0.79325,0.95875,0.04775,0.13850,0.28675,0.54250,0.78300,0.95175,0.05150,0.12725,0.30175,0.54725,0.79475,0.96275,0.05375,0.14100,0.30050,0.53275,0.78100,0.96175,0.05450,0.15300,0.29650,0.52850,0.80100,0.95675,0.05425,0.13975,0.30875,0.56025,0.80575,0.96100,0.05100,0.15350,0.31175,0.53300,0.78900,0.96000,0.04650,0.13525,0.29600,0.53625,0.78475,0.96375,0.05375,0.13900,0.29600,0.53725,0.78700,0.95800,0.05075,0.14350,0.29225,0.54525,0.80275,0.95800,0.05050,0.13200,0.29850,0.52700,0.80525,0.96150,0.05150,0.14050,0.29450,0.54375,0.79450,0.96375,0.05375,0.13525,0.30475,0.55250,0.79425,0.96025,0.04950,0.14500,0.29425,0.52250,0.78475,0.95650,0.05225,0.14425,0.29225,0.53150,0.80425,0.95375) var2 = c(1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6) var3 = c(4,4,4,4,4,4,6,6,6,6,6,6,8,8,8,8,8,8,10,10,10,10,10,10,12,12,12,12,12,12,14,14,14,14,14,14,16,16,16,16,16,16,18,18,18,18,18,18,20,20,20,20,20,20,22,22,22,22,22,22,24,24,24,24,24,24,26,26,26,26,26,26,28,28,28,28,28,28,30,30,30,30,30,30,32,32,32,32,32,32,34,34,34,34,34,34,36,36,36,36,36,36,38,38,38,38,38,38,40,40,40,40,40,40) summary(aov(var1~as.factor(var2)*var3)) summary(aov(var1~as.factor(poly(var2,1))*poly(var3,1))) I might not understand well how poly(..) and I(..) work. Could you give me some hints about these two functions? (I aim to create models of different degree (quadratic, cubic, etc..) and compare their BIC (or AIC))."
] | medi_sts_stackexchange_dupe |
Error while updating and incrementing the value by 1 | CodeIgniter/PHP Active Record won't increment an integer | [
"Not all files are visible over MTP I have LG L5 (e610 model) device with Cyanogenmod 10. When I connect the phone to a computer with Linux (I have mtpfs installed), I can see both internal storage and the SD card. However when I navigate inside them, I can't see some of the files. For example, if I open file manager app on the phone, I can see several files in the Internal storage/Notifications directory, however the directory on the computer only shows one of those files. If I switch USB connection type to PTP (camera) - as OS X doesn't support MTP natively - Image Capture sees the phone as a camera, however it can only see about a third of all the images present on the phone. I don't have a Windows machine to try, but I suspect the results would be similar. I tried upgrading Cyanogenmod to the latest nightly, clearing and reinstalling it - same results. Any idea as to what is going on? How can I make all files appear on the host computer?",
"What is the difference between these two Breusch-Pagan Tests? Using R on some data and trying to see whether or not my data is heteroscedastic, I've found two implementations of the Breusch-Pagan test, (package lmtest) and (package car). However, these produce different results. What is the difference between the two? When should you choose to use one or the other? > model <- lm(y ~ x) > bp <- bptest(model) > bp studentized Breusch-Pagan test data: model BP = 3.3596, df = 1, p-value = 0.06681 > ncvTest(model) Non-constant Variance Score Test Variance formula: ~ fitted.values Chisquare = 3.858704 Df = 1 p = 0.04948855 These example shows that according to the tests, my data is in one case heteroscedastic and in the other case homoscedastic. I did find so bptest might be studentized and ncvTest might not be, however, what does this mean then?",
"The full prophecy by Trelawney, the part my question is about in bold: \"The one with the power to vanquish the Dark Lord approaches ... born to those who have thrice defied him, born as the seventh month dies ... and the Dark Lord will mark him as his equal, but he will have power the Dark Lord knows not ... and either must die at the hand of the other for neither can live while the other survives ... the one with the power to vanquish the Dark Lord will be born as the seventh month dies ...\" – Sybill Trelawney (to Dumbledore) I am interpreting for neither can live while the other survives as: Harry can't live while Voldemort survives and vice versa. But why? It clearly worked until the end of book 7. One could argue with Dumbledore's thery of the self-fulfilling prophecy. But clearly Voldemort was smart enough to see that there was no mechanism that would kill him just because Harry stayed alive. and either must die at the hand of the other Again: Why? If somebody else destroyed all Horcruxes and then killed Harry, Voldemort would be just as vulnerable and could be killed by anyone. On the other hand, Harry could have been killed by anyone - his mum's protection transferred to Voldemort by Harry's blood was only helping against Voldemort. I guess that I am interpreting this part of the prophecy in the wrong way or maybe there is an alternate, less obvious and more tricky one. So my question is: What exactly does the highlighted part of Trelawney's prophecy state?",
"Is it possible that using jQuery, I cancel/abort an Ajax request that I have not yet received the response from?",
"What should I do if I have two libraries that provide functions with equivalent names?",
"I'm not sure if this is the right place to ask this question. I realise that this maybe a borderline philosophical question at this point in time, therefore feel free to close this question if you think that this is a duplicate or inappropriate for this forum. Anyway, I'm an electrical engineer and I have some basic knowledge of quantum mechanics. I know that Schrödinger's equation is deterministic. However, quantum mechanics is much deeper than that and I would like to learn more. If this question is not clearly answerable at this point than can anyone point out some recognized sources that try to answer this question. I would appreciate it if the source is scientific and more specifically, is related to quantum theory.",
"Is there a more complete way of proving this theorem (that I devised)? OR does this theorem already exist and have a name? Last night, I was working on re-solidifying my understanding of parametric equations, and came up with a neat trick for evaluating certain definite integrals. I'm not sure if it exists as a formal theorem, though I refuse to believe I'm the first to notice such a relation. The 'theorem' is a useful trick to evaluate the definite integral of a continuous function over an interval where the function is either strictly increasing or strictly decreasing, given that the inverse of the function is 'nicer' to work with than the function itself. My idea goes as follows: If $y = f(x)$ is a continuous function over the interval $I$, and either: $f'(x) > 0$ OR $f'(x) < 0$ for all values of $x \\epsilon I$, then: $\\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \\int_{f(a)}^{f(b)}{f^{-1}(x)dx}$ where $a,b \\epsilon I$ Quasi-proof: Clearly, if a function is strictly increasing or decreasing, it is injective. This is clear because no two values in the domain can correspond to a single value in the range. I feel intuitively that it must also be surjective (though I'm not entirely sure how to prove this part). Assuming it is both injective and surjective over $I$, the function must have an inverse. If we were to draw two rectangles out of our bounds, they will have areas: $af(a)$ and $bf(b)$, so that $bf(b) - af(a)$ will be the area of the region we are observing. This area is equivalent to the sum of the areas connecting the curve $f(x)$ to the $x$-axis and to the $y$-axis. Thus: $bf(b) - af(a) = \\int_{a}^{b}{f(x)dx} + \\int_{f(a)}^{f(b)}{f^{-1}(x)dx}$ Solving for $\\int_{a}^{b}{f(x)dx}$, we get: $\\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \\int_{f(a)}^{f(b)}{f^{-1}(x)dx}$ A particularly illuminating example is evaluating: $\\int_{a}^{b}{ln(x)dx}$ $ln(x)$ is strictly increasing over any interval, so the 'theorem' applies. $\\int_{a}^{b}{ln(x)dx} = bln(b) - aln(a) - \\int_{ln(a)}^{ln(b)}{e^xdx}$ $\\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) - (e^{ln(b)} - e^{ln(a)})$ $\\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) + a - b$ and so we've evaluated the integral without the need of integrating the function itself (by method of integration by parts), but rather by integrating its inverse, which is trivial to evaluate.! Response to Jason DeVito's answer: [This image was taken from ()",
"Differences between the introduction of a sandwich thesis and a paper I would like to know what are the main differences between the introductory part of a paper and of a thesis. My thesis would be a sandwich type, so I would have to wrap everything there. Some of the differences are: Longer in thesis. Deeper in thesis. Extended definition of key terms, concepts and methodology in thesis. Clear definition of the whole goal in thesis, whereas paper smaller goal. To narrow the possible answers, I do research on the molecular aspects of the infection steps of a pathogenic swine bacteria. Also develop strategies to block infection by using vaccines.",
"Here is my question: Is a homeomorphism, that is, a continuos function whose inverse function is also continuous, always bijective?",
"Show that $\\ker \\hat{T} = \\text{ann}(\\text{range } T)$ This is an old exam problem: Let $V$ and $W$ be finite dimensional vector spaces over a field $F$ and let $T: V \\to W$ be a linear transformation. Define $\\hat{T}: W^* \\to V^*$ by $(\\hat{T}(f))(v)=f(T(v))$. Here, $U^*$ denotes the dual vector space $U$. Since $\\hat{T}$ is a linear transformation prove $\\ker \\hat{T} = \\text{ann}(\\text{range } T)$ where $\\text{ann}(Y) = \\{g \\in U^* : g(y)=0 \\text{ for all } y \\in Y \\}$ for a subspace $Y$ of vector space $U$. I'm really not sure how to start this problem. Any advice would be great!",
"How to open nautilus without a desktop? I'm using xmonad, and I would like to open a nautilus window to a certain directory, because I like the convenience of browsing inside an encrypted zip file without unzipping it, which nautilus allows. however, opening nautilus, even with a path argument starts a desktop on the monitor I'm using (There are 8 xmonad monitors) The desktop is inoperative and renders that monitor useless until nautilus is killed. Is there any way to open just a nautilus window without any desktop starting?",
"Does this polynomial evaluate to prime number whenever $x$ is a natural number?",
"\\hfill \\break does not work",
"How do I disable System Integrity Protection (SIP) AKA \"rootless\" on macOs [OS X] Apple has introduced , also known as \"rootless\", with OS X 10.11, El Capitan. I understand this is a step for general protection against malware but as a developer I need write access to some of the files it locks away. How do I disable this protection?",
"Why does the road look like it's wet on hot days? Often, I'll be driving down the road on a summer day, and as I look ahead toward the horizon, I notice that the road looks like there's a puddle of water on it, or that it was somehow wet. Of course, as I get closer, the effect disappears. I know that it is some kind of atmospheric effect. What is it called, and how does it work?",
"Short-cut for switching to a given directory",
"I've just finished running my first session with only one player, and it felt pretty different from running a session for a group. Could someone with more experience in this talk about what one should do differently in that situation? I'm not referring to mechanics like encounter-building, but just how to handle the change to the social dynamics.",
"If I have a Xaml Window, how does one open it as a child window, and then have the parent window wait for the child to close before the parent window continues executing?",
"Rounding a number to the nearest 5 or 10 or X Given numbers like 499, 73433, 2348 what VBA can I use to round to the nearest 5 or 10? or an arbitrary number? By 5: 499 -> 500 2348 -> 2350 7343 -> 7345 By 10: 499 -> 500 2348 -> 2350 7343 -> 7340 etc.",
"If $f$ is entire and $|f|\\geq 1$, then show $f$ is constant. I know I'm going to use Liouville's Theorem, but my main question is why is $1/|f(z)|$ entire as well if $f$ is entire? Is this just a basic property: if $f$ is entire, then $1/f$ is entire? Thanks for the help."
] | medi_sts_stackexchange_dupe |
Zeros of an analytic function | Holomorphic function has at most countably zeros | [
"Using while loop to ssh to multiple servers I have a file servers.txt, with list of servers: server1.mydomain.com server2.mydomain.com server3.mydomain.com when I read the file line by line with while and echo each line, all works as expected. All lines are printed. $ while read HOST ; do echo $HOST ; done < servers.txt server1.mydomain.com server2.mydomain.com server3.mydomain.com However, when I want to ssh to all servers and execute a command, suddenly my while loop stops working: $ while read HOST ; do ssh $HOST \"uname -a\" ; done < servers.txt Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux This only connects to the first server in the list, not to all of them. I don't understand what is happening here. Can somebody please explain? This is even stranger, since using for loop works fine: $ for HOST in $(cat servers.txt ) ; do ssh $HOST \"uname -a\" ; done Linux server1 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server2 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux Linux server3 2.6.30.4-1 #1 SMP Wed Aug 12 19:55:12 EDT 2009 i686 GNU/Linux It must be something specific to ssh, because other commands work fine, such as ping: $ while read HOST ; do ping -c 1 $HOST ; done < servers.txt",
"I have enum and use the variables like myEnum.SomeNameA, myEnum.SomeNameB, etc. When I return one of these variables from a function, can I print their names (such as myEnum.SomeNameA) instead of the value they returned?",
"Why are the domains for $\\ln x^2$ and $2\\ln x$ different?",
"Solution to German Tank Problem Is there a formal mathematical proof that the solution to the is a function of only the parameters k (number of observed samples) and m (maximum value among observed samples)? In other words, can one prove that the solution is independent of the other sample values besides the maximum value?",
"Trying to dual boot Ubuntu 14.10 with Windows 10, last one not detected",
"What is the best way(s) to fake function overloading in Javascript? I know it is not possible to overload functions in Javascript as in other languages. If I needed a function with two uses foo(x) and foo(x,y,z) which is the best / preferred way: Using different names in the first place Using optional arguments like y = y || 'default' Using number of arguments Checking types of arguments Or how?",
"What does a two overlapping circles symbol mean in an electrical schematic/diagram? In the datasheet for a A3503 Hall Effect Sensor, I saw a circuit diagram labeled 'Functional Block Diagram', and it shows a symbol I have not seen before. It's shown here between 3 - Output and 2 - Ground. What is this supposed to represent? The full datasheet is available",
"I have a small utility that I use to download an MP3 file from a website on a schedule and then builds/updates a podcast XML file which I've added to iTunes. The text processing that creates/updates the XML file is written in Python. However, I use wget inside a Windows .bat file to download the actual MP3 file. I would prefer to have the entire utility written in Python. I struggled to find a way to actually download the file in Python, thus why I resorted to using wget. So, how do I download the file using Python?",
"I would like to find a Python script that will access an attribute table within a shapefile and either update or replace records inside a field column. More specifically, I would like to use the replace expression to convert a table record like \"123-456-789\" to \"123456789\". I have many records to process and would like the best approach to do this task using Python.",
"Cyrillic monospaced font in XeLaTeX I've installed full TexLive 2011 using \"install-tl\" script in Ubuntu 12.04. When I was using TexLive 2009 from repositories the following file was compiled without any errors. \\documentclass{article} % XeLaTeX \\usepackage{xltxtra} \\usepackage{xunicode} % Fonts \\setmainfont{Arial} \\newfontfamily\\cyrillicfont{Arial} \\setmonofont{Courier New} % Lang \\usepackage{polyglossia} \\setmainlanguage{russian} \\setotherlanguage{english} \\begin{document} English normal. \\texttt{English monospace}. Русский обычный. \\texttt{Русский моноширинный}. % Text in Russian \\end{document} But XeLaTeX from TexLive 2011 gives this error: ERROR: Package polyglossia Error: --- TeX said --- The current roman font does not contain the Cyrillic script! Please define \\cyrillicfont with \\newfontfamily. See the polyglossia package documentation for explanation. Type H for immediate help. ... l.17 ...nglish normal. \\texttt{English monospace} . In spite of this error the output PDF is correct. The error remains if comment out \\setmonofont{Courier New}. Using Courier New as main font gives no error on normal text (without \\texttt, \\textbf and so on). Using DejaVu Sans Mono as monospaced font gives no error too. I've been searching for solution few hours but there aren't any. Maybe this is a bug in Polyglossia or Fontspec?",
"The orbit of satellites around Earth eventually decays, or so I read. This is typically caused either by atmospheric drag, or by tides. I would assume most satellites have a limited service life in orbit. Hence the question - What is the typical orbital life of a satellite? How long before it's successor must be launched into orbit ? EDIT: For instance, a weather satellite",
"A scene I made is not rendering, at all. This grey screen stays the same and nothing changes. Here are my settings: [",
"Nonlinear regression model linear in some parameters In a set of that I stumbled upon online, the author discusses a nonlinear regression model, which is linear in some parameters, like this $$ y = \\theta_1 + \\theta_2\\exp \\left( {\\theta_3x} \\right) + \\varepsilon $$ and suggests to first perform a nonlinear regression to estimate $\\theta_3$, and then use OLS to estimate the other two parameters. I am not very experienced in regression modeling, so please forgive me if I ask a very simple question, but I don't understand how you can do this consistently without also estimating the other 2 parameters? Apparently, there is some trick involved, which I don't understand... Another question is what happens to the ability to do inferences based on parameter estimates to the complete model if you do the regression in two stages like that? Many thanks!",
"I have shown that if two $n\\times n$ matrices $A$ and $B$ are invertible, then $AB$ is also invertible. I am having problems though with showing that $(AB)^{-1}=B^{-1} A^{-1}$. I thought of using their left-multiplication transformations but it seems that this is only associative and not commutative so I can reverse $L_A L_B$",
"Abount linear functional: If $T(B)$ is bounded, is $T$ bounded? Let $H$ be a infinite dimensional Hilbert space and let $B$ be a basis of $H$ that $H=\\overline{span(B)}$ moreover, let $T : H \\rightarrow K$ be a linear functional If $T(B)$ is bounded, is $T$ bounded?",
"Is it a good practice to refer to countries, ships etc using the feminine form? While talking about ships and countries, is it a good practice to use the feminine form? For example: \"Her economy\" - while referring to a country's economy \"Her flag (or deck etc)\" - while referring to a ship Is this practice common? Is it used today?",
"I have a directory that contains the following: x.pdf y.zip z.mp3 a.pdf I want to delete all files apart from x.pdf and a.pdf. How do I do this from the terminal? There are no subdirectories so no need for any recursion.",
"When I set up a site in multiple languages, how should I set up my URLs for search engines and usability? Let's say my site is www.example.com, and I'm translating into French and Spanish. What is best for usability and SEO? Directory option: http://www.example.com/sample.html http://www.example.com/fr/sample.html http://www.example.com/es/sample.html Subdomain option: http://www.example.com/sample.html http://fr.example.com/sample.html http://es.example.com/sample.html Filename option: http://www.example.com/sample.html http://www.example.com/sample.fr.html http://www.example.com/sample.es.html Accept-Language header: Or should I simply parse the header and generate content server-side to suit that header? Is there another way to do this? If the different language versions don't have different urls, what do I do about the search engines? UPDATE 2011-12-06 Google has new recommendations for meta tags for explicitly pointing to other language content: . UPDATE 2012-05-25 Related but not precisely: UPDATE 2013-06-12 includes discussion of several URL schemes directly relevant to the question.",
"My last name is not the same on ticket as on passport; rest of details are same",
"Dual-system Windows and Ubuntu I did dual boot with Windows 7 & Ubuntu 14.04. I get both in boot menu but can't boot into Windows 7. The primary drive where Windows 7 was configured now shows to be logical drive with all files in it. How to resolve it ? This is what it shows: irshad@irshad-desktop:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 58.6G 0 part /media/irshad/B2E08E69E08E339F ├─sda2 8:2 0 1K 0 part ├─sda5 8:5 0 195.3G 0 part /media/irshad/8E90A6A690A6946D ├─sda6 8:6 0 182.8G 0 part /media/irshad/7650B08250B04B1F ├─sda7 8:7 0 25G 0 part / └─sda8 8:8 0 4G 0 part sr0 11:0 1 1024M 0 rom I tried to run update-grub but I get the following result. $ sudo update-grub Generating grub configuration file ... /etc/grub.d/06_custom: 31: /etc/grub.d/06_custom: function: not found /etc/grub.d/06_custom: 34: /etc/grub.d/06_custom: save_env: not found /etc/grub.d/06_custom: 36: /etc/grub.d/06_custom: Syntax error: \"}\" unexpected"
] | medi_sts_stackexchange_dupe |
Profile picture with bottom grey banner after a new upload | Why is there a peeking duck in my profile pic? | [
"How to override parent functions in child themes? I've been reading around and trying to figure out how to do this, but for some reason I can't seem to override parent functions in my child theme. I'm using TwentyTen as a parent - can anyone tell me why this function in my child theme isn't overriding the parent function please? // Override read more link function osu_twentyten_continue_reading_link() { return ' <a href=\"'. get_permalink() . '\">' . __( 'Read on <span class=\"meta-nav\">&rarr;</span>', 'twentyten-child' ) . '</a>'; } function osu_twentyten_auto_excerpt_more( $more ) { return ' &hellip;' . osu_twentyten_continue_reading_link(); } remove_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); add_filter( 'excerpt_more', 'osu_twentyten_auto_excerpt_more' ); I thought you had to remove the filter/action etc. before re-adding it right? Thanks, osu",
"The 10th and last round of negotiations between Iran and the six world powers was held in Vienna in a bid to strike a final deal. However, after the sides failed to agree on a final deal they decided to extend the negotiations until / by July 1, 2015. In the original text the preposition until has been written. I am, however, wondering if we could use by instead, if so, is there any difference semantically? Any help would be greatly appreciated",
"I'm trying to prove the following statements in Folland's book. Let $(X,\\mathcal{M},\\mu)$ be a measure space. If $f_n\\to f$ in measure and $g_n\\to g$ in measure, then $f_n+g_n\\to f+g$ in measure and $f_ng_n\\to fg$ in measure (in this last case, assume $\\mu(X)<\\infty$). The first one is already done, but the second one is giving me trouble. My attempt: We can take subsequences $f_{n_k}$ and $g_{n_k}$ such that $f_{n_k}\\to f$ a.e. and $g_{n_k}\\to g$ a.e. In this case, we know that $f_{n_k}g_{n_k}\\to fg$ a.e. Note that $\\mu(X)<\\infty$, so we can use Egoroff's theorem to conclude that $f_{n_k}g_{n_k}\\to fg$ almost uniformly. Finally, almost uniform convergence implies convergence in measure, therefore $f_{n_k}g_{n_k}\\to fg$ in measure. The problem is that I just have convergence in measure for some subsequence of $f_ng_n$ and I need convergence in measure for the whole sequence. Also I don't know if using Egoroff's theorem is unnecessary, if this is the case, I would appreciate to see some more elementary prove. Detail: We say that $f_n\\to f$ almost uniformly if for every $\\varepsilon > 0$ there is some $E\\subset X$ measurable, such that $\\mu(E) <\\varepsilon$ and $f_n\\to f$ uniformly on $E^c$. Thank you!",
"Prove $aba^{-1}b^{-1}\\in{N}$ for all $a,b$ I am trying to prove the above with the conditions that N is normal to G and $G/N$ is abelian. So then for $Na,Nb\\in{G/N}, NaNb=NbNa$. But $NaNb=Nab=Nba$, so then we know $ab=ba$, so G is abelian. So if $ab\\in{G}, N=abN(ab)^{-1}=abN(ba)^{-1}=baNa^{-1}b^{-1}....$ and i'm getting lost...",
"Example of non-isomorphic structures which are elementarily equivalent I just started learning model theory on my own, and I was wondering if there are any interesting examples of two structures of a language L which are not isomorphic, but are elementarily equivalent (this means that any L-sentence satisfied by one of them is satisfied by the second). I am using the notaion of David Marker's book \"Model theory: an introduction\".",
"what does ∇ (upside down triangle) symbol mean in this problem Given $f(x) = \\frac{1}{2}x^TAx + b^Tx + \\alpha $ where A is an nxn symmetric matrix, b is an n-dimensional vector, and alpha a scalar. Show that $\\bigtriangledown _{x}f(x) = Ax + b$ and $H = \\bigtriangledown ^{2}_{x}f(x) = A$ Is this simply a matter of taking a derivative with respect to X, how would you attack this one?",
"Do reroll and dice-adding abilities work on critical hits and critical failures?",
"How do you use Excel server-side? A client wants to \"Web-enable\" a spreadsheet calculation -- the user to specify the values of certain cells, then show them the resulting values in other cells. (They do NOT want to show the user a \"spreadsheet-like\" interface. This is not a UI question.) They have a huge spreadsheet with lots of calculations over many, many sheets. But, in the end, only two things matter -- (1) you put numbers in a couple cells on one sheet, and (2) you get corresponding numbers off a couple cells in another sheet. The rest of it is a black box. I want to present a UI to the user to enter the numbers they want, then I'd like to programatically open the Excel file, set the numbers, tell it to re-calc, and read the result out. Is this possible/advisable? Is there a commercial component that makes this easier? Are their pitfalls I'm not considering? (I know I can use Office Automation to do this, but I know it's not recommended to do that server-side, since it tries to run in the context of a user, etc.) A lot of people are saying I need to recreate the formulas in code. However, this would be staggeringly complex.",
"There is already a similar post, that has an answer to my question, but it is quite short and I don't get it... So I am trying to show that \\begin{align} \\{e_K |~ K \\subset G~ conjugacy~ class \\} \\end{align} is a basis for $Z(\\mathbb{Z}[G])$. Serre even writes \"one immediately checks that the $e_K$ form a basis\", but even reading the other post I don't see that... My approach to this is: Be $x \\in Z(\\mathbb{Z}[G])$, which is equivalent to: $x = gxg^{-1}$ for all $g \\in G$. Writing $x = \\sum\\limits_{h \\in G} \\lambda_h h$, we get $x = \\sum\\limits_{h \\in G} \\lambda_h ghg^{-1}$. I don't really know how to go on at this point. I mean, I know that when $a,b \\in K$ (same conjugacy class) you get $\\sum\\limits_{s \\in K} \\mu_s s = \\mu\\sum\\limits_{s \\in K} s$, since \\begin{align} a = hbh^{-1} \\Rightarrow \\mu_a = \\mu_b ~\\forall a,b\\in K \\end{align} So all elements in the same conjugacy class have the same scalar. But from here I don't really know how I can generate the $x = \\sum\\limits_{h \\in G} \\lambda_h ghg^{-1}$ with the $e_K$ ... I would be really thankful, if someone could give me quite a basic proof that even I understand...",
"How does Incense work?",
"Escaping WP_Query tax_query when term has special character(s) Here's my issue. I have a custom post type that I'm attaching a custom taxonomy to. This taxonomy will allow the admin to provide search suggestions that will ensure the post is found when a user searches. This taxonomy is also used on the front-end to autocomplete the search field with these suggestions. The system works fine, except when the term contains a forward slash, a space or other \"special\" characters. <?php $keyword = 'Ski-in%2FSki-out';//Submitted via $_GET $keyword = urldecode($keyword); // (string)'Ski-in/Ski-out' $taxQuery = new WP_Query(array( 'post_type' => 'ml_properties', 'tax_query' => array( 'relation' => 'OR', array( 'taxonomy' => 'mc_tax_lifestyle', 'field' => 'name', 'terms' => array($keyword), 'operator' => 'IN' ) ) )); ?> I've looked into using the escaping features provided by WordPress, but haven't had any luck there. I thought this would be a simple problem, but either my Google-fu is not strong, or I'm just not having any luck. I've also verified that that Ski-in/Ski-out is the exact string stored in MySQL. I've looked into using esc_attr(), $wpdb->esc_like() and esc_sql() but none have an effect. Perhaps I'm missing something obvious?",
"Where are temporary files in Chrome stored?",
"Photoshop: How to draw a guide with an exact distance from another guide Before drawing, I want to draw all guides for my layout. For example, I have a guide line named A already. After that, I want to have another guide named B parallel with guide A and at 50px distance from it. I have three solutions: Draw line B and by \"some way\", I can see the current distance directly when I'm drawing, so I can make the distance exactly what I want it to be. Draw line B. And then I use the Ruler tool to see the distance between the two guides. This method has disadvantages: maybe the ruler line that I draw isn't perpendicular with the guides and I'm not sure when the distance is enough. There are other clever ways, that help me get this job done fast and easily, but that I don't know yet. I think Photoshop should support this feature. What is the best way to achieve this?",
"As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since: Both Harry and the Weasleys use Platform 9¾ to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys. The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this?",
"How to call child component controller function/helper from Parent Component Controller",
"Javascript add leading zeroes to date",
"SQL Server nvarchar(max) vs nvarchar(n) affects performance",
"What could cause a microcontroller to unexpectedly reset? One particularly irritating variety of bug in a microprocessor-controlled system is for the microprocessor to unexpectedly reset. An important tool for debugging this kind of problem is a list of possible causes. What could cause a microcontroller to unexpectedly reset?",
"As homework, I have to prove that $\\forall n \\in \\mathbb{N}: n^3-n$ is divisible by 6 I used induction 1) basis: $A(0): 0^3-0 = 6x$ , $x \\in \\mathbb{N}_0$ // the 6x states that the result is a multiple of 6, right? 2) requirement: $A(n):n^3-n=6x$ 3) statement: $A(n+1): (n+1)^3-(n+1)=6x$ 4) step: $n^3-n+(n+1)^3-n=6x+(n+1)^3-n$ So when I resolve that I do get the equation: $n^3-n=6x$ so the statement is true for $\\forall n \\in \\mathbb{N}$ Did I do something wrong or is it that simple?",
"H2G2 — Teleportation Also Results in Time Travel?"
] | medi_sts_stackexchange_dupe |
List of algorithms? | How to create my own list of things | [
"Linear transformations map lines to lines I need help with this question: Let $T$ be a linear map from $\\mathbb{R}^n \\to \\mathbb{R}^m$, and let $L$ be a line in $\\mathbb{R}^n$. Show that $T(L)$ is also a line (is it not enough to just consider lines in the plane).",
"Check if wp-login is current page How can I check if the current page is wp-login.php or wp-signup.php ? Are there more elegant solutions than using $_SERVER['REQUEST_URI'] ?",
"How come gas molecules don't settle down? If the earth's gravity exerts a net downward gravitational force on all air molecules, how come the molecules don't eventually lose their momentum and all settle down? How is the atmosphere is still miles thick after billions of years?",
"I'm designing this animal-type creature, and want to add a transparent .png image to its face with the face features (object has a subsurf). On the left is the image with the features, on the right is the part of the object where I want it to be. I tried to import the image as a plane, but matching the shape of the plane with the face didn't work, and the lines of the face left shadows on the head, and could be seen as a different object from some angles (although it's the closest I've gotten yet). It looked like this: So , I tried selecting the faces of the head that the features should go over, and create a new material for it. Unfortunately, since the .png is transparent, the result produced was this: (where it's impossible to tell the transparency from a black background default color, and where I wouldn't know where to start to adjust size and position). I also tried UV mapping, but then the whole object became black with the features repeated all over. Is it something I have to go into Nodes for? I'm kind of stuck here. Creating a new material and applying it is simple, but applying a material that is an image is a bit more complex it seems... Ideally, I would reproduce the same technique for the adhesive bandage on its arm (seen on the right of image 1).",
"Why can \"find\" not be used in PowerShell? What does find.exe find objectionable about the parameters when it is used in a PowerShell console shell? These commands work as expected in a cmd.exe shell: PS C:\\Windows\\System32\\WindowsPowerShell\\v1.0> find /i \"System.Diagnostics.Process\" *.ps1xml FIND: Parameter format not correct PS C:\\Windows\\System32\\WindowsPowerShell\\v1.0> find /i \"System.Diagnostics.Process\" *.ps1xml FIND: Parameter format not correct PS C:\\Windows\\System32\\WindowsPowerShell\\v1.0> C:\\Windows\\System32\\find.exe /i \"System.Diagnostics.Process\" *.ps1xml FIND: Parameter format not correct PS C:\\Windows\\System32\\WindowsPowerShell\\v1.0> C:\\Windows\\System32\\find.exe /i \"System.Diagnostics.Process\" .\\DotNetTypes.format.ps1xml FIND: Parameter format not correct",
"Modern electronics industry has developed very efficient LEDs with nice and fancy colors (“true green” , “cyan”, and “blue”) based in InGaN technology, or similar. Some of these LEDs are specified as having forward voltages of 3.2 to 4.2 V. Here are examples of such LEDs, , or surface-mount . But the usual MCUs are powered from 3.3 V supply, and the GPIO output is usually at 3.1-3.2 V, which seems to be barely enough to drive these LEDs . How can I use these LEDs as indicators of some signal statuses, or power rail status? Do I need a series resistor R1 here? If yes, how do I choose its value? DISCLAIMER: This \"question-answer\" comes as elaboration of the original question , to address the particular use case of LEDs as logic state indicators.",
"Difference between pts and tty",
"$11$ out of $36$? I got this by writing down the number of possible outcomes ($36$) and then counting how many of the pairs had a $6$ in them: $(1,6)$, $(2,6)$, $(3,6)$, $(4,6)$, $(5,6)$, $(6,6)$, $(6,5)$, $(6,4)$, $(6,3)$, $(6,2)$, $(6,1)$. Is this correct?",
"How do I show that $a^p + b^p > (a + b)^p$ for $a,b>0$ and $0<p<1$? A question on my math homework asks us to show that if $0 < p < 1$ and $a, b > 0$, then $a^p + b^p > (a + b)^p$. I have no idea how to do this, any pointers?",
"Why disable Fast Boot on Windows 8 when having dual booting?",
"Is there a way to simulate a numeric keypad on apple wireless keyboard in OSX? I'm tempted to get an Apple Wireless Keyboard but the lack of a number pad is a concern. I'm interested whether there is some form of software you can use where for example you hold some control keys down and you can use a set of keys like the following as a substitute numeric keypad: 7890 uiop jkl; m ./",
"Windows 10 Icon Gone Missing TL;DR: The Windows 10 upgrade icon went missing. How do I get it back in order to update my system? I am running Windows 7 SP1. I woke up this morning... er, noon all excited about Windows 10. I had reserved my copy using the clever little icon in the taskbar a few weeks back, so I thought I would be set to go. I booted my computer and checked the icon to see if it would download the update. It still behaved the same as if Windows 10 wasn't launched yet. I supposed this was normal behaviour. After all, Microsoft can't roll out the update to everyone at once. Windows Update did want me to install several updates though. I installed KB2952664, KB3064209 and KB3048761. Everything went fine, and I was prompted to restart my system. After restarting, the icon wasn't there anymore. I tried a lot of solutions including the answers provided by our awesome community on , and the answer provided to posted on the Microsoft Windows support forums. How do I get the icon back in order to update my system? UPDATES: Installing from the Media Creation Tool does not working with an error \"Something Happened\" with as description \"Something Happened\". Both are translated from Dutch. I tried to install it from the Media Creation Tool using PowerISO to mount the created ISO. It will not accept my product key, even though I am able to verify my Windows installation is already registered and the product key is correct. I looked into the Event Log, and GWX-Ins has a bunch of error messages saying: Error message: GWX Main: App failed to start hresult. After that it says what is roughly translated to English as \"Cannot find the element\".",
"How to pass a list of columns to data.table where some are predetermined",
"Blog Overflow database error , which is linked from site-specific blogs, says Error establishing a database connection I believe this is an error.",
"C# 3.0 auto-properties — useful or not? Note: This was posted when I was starting out C#. With 2014 knowledge, I can truly say that auto-properties are among the best things that ever happened to the C# language. I am used to create my properties in C# using a private and a public field: private string title; public string Title { get { return title; } set { title = value; } } Now, with 3.0, we got auto-properties: public string Title { get; set; } I know this is more a philosophical/subjective questions, but is there any reason to use these auto-properties except from saving five lines of code for each field? My personal gripe is that those properties are hiding stuff from me, and I am not a big fan of black magic. In fact, the hidden private field does not even show up in the debugger, which is OK given the fact that the get/set functions do nothing. But when I want to actually implement some getter/setter logic, I have to use the private/public pair anyway. I see the benefit that I save a lot of code (one vs six lines) without losing the ability to change the getter/setter logic later, but then again I can already do that by simply declaring a public field \"Public string Title\" without the need of the { get; set; } block, thus even saving more code. So, what am I missing here? Why would anyone actually want to use auto-properties?",
"I installed Ubuntu alongside Windows but I did not disable secure boot as someone told me it could cause problems with boot loader. So when installation finished and I rebooted, the system went straight into Windows. I went to Ubuntu IRC Support and they told me to turn off the secure boot and reinstall Ubuntu. I did that but my system still boot into windows. This is a picture of partitions on my system: This is my first Ubuntu install on my new laptop. I followed everdaylinux guide to install it and I used something else option.",
"I've got a few macros that perform floating point lookups and calculations for me and I'm interesting in plotting their results. They're the kind of calculation which requires if/else, so they can't be easily written as a simple math formula for \\addplot. Thanks to a previous question (), I now know to use \\pgfmathdeclarefunction, but after trying it I've found that addplot seems to prepend a \"0Y\" or \"1Y\" to values before passing them as function arguments. My external macros aren't prepared to handle this extra text, and I'm not sure why it's there. In the course of testing things out, I've also found that calling a function defined with pgfmathdeclarefunction can also change the positioning of the graph... \\documentclass{article} \\usepackage{xparse} \\usepackage{pgfplots} \\pgfplotsset{compat=1.10} \\begin{document} % Example of a macro which does math outside of pgf \\ExplSyntaxOn \\DeclareExpandableDocumentCommand \\doubleMacro { m }% {% \\fp_eval:n { #1*2 }%Math performed by a package other than pgfplots }% \\ExplSyntaxOff %Demo: macro does work in regular text \\doubleMacro{1.1}. % Defining custom pgf functions for plotting \\pgfmathdeclarefunction{mathDoubleMacro}{1}{% \\pgfmathparse{\\doubleMacro{#1}} %Calls macro which performs math done by another package } \\pgfmathdeclarefunction{mathDoublePgf}{1}{% \\pgfmathparse{#1*2} %Uses pgf to do the same thing as an external macro could } %Generic plot with function given directly to \\addplot \\begin{center} \\begin{tikzpicture} \\begin{axis} \\addplot[domain=0:1] {2*x}; \\end{axis} \\end{tikzpicture} \\end{center} %Plot using first macro: complains about 'Unknown fp word Y.' \\begin{center} \\begin{tikzpicture} \\begin{axis} %\\addplot[domain=0:1] {mathDoubleMacro(x)};%Commented out because it gives problems \\end{axis} \\end{tikzpicture} \\end{center} %Plot using second macro: works, but graph is displaced to the right of the expected position \\begin{center} \\begin{tikzpicture} \\begin{axis} \\addplot[domain=0:1] {mathDoublePgf(x)}; \\end{axis} \\end{tikzpicture} \\end{center} \\end{document} If I define mathDoubleMacro as calling a non-existent macro, then the errors show which x-values which the addplot is trying to evaluate y at: 0Y0.0e0 1Y4.1666e-2 1Y8.3332e-2 ... 1Y9.9998401e-1 What are these nY's all about, and why does \\addplot[domain=0:1] {mathDoublePgf(x)} give a graph with different positioning?",
"How can I balance uniformity of style files against modularity? I'm using Windows/TeXworks/MiKTeX, and I would like to have one style file I can use anywhere in any document in my top-level folder. If I want to add a new command or renew an old one, I'd like that to be available in all documents recursively contained in my top-level folder. I have a very hierarchical structure to my top-level folder. So this would seem to point to having a single file that TeXworks knows about. Could I add a path in Preferences -> Typesetting -> Paths for TeX and related programs? I've tried that, possibly superficially, without any success. Adding the correct folder to the Windows PATH variable doesn't seem to do the trick, either. On the other hand, suppose I want to send someone a TeX file? It would be nice in such circumstances to be able to have the style file in the same folder as the TeX file. If I do that, how could I ensure that it's always up-to-date? Is there a script available somewhere that could take my master style file and push it down to all pre-existing lower-level locations? Just to reiterate: I want uniformity of my style files in my very hierarchical folder structure. However, I would also like modularity, in that each folder is self-contained. How can I achieve that? Also, out of curiosity, since I may acquire a Linux computer soon, how would I do this in, say, *ubuntu with TeXlive?",
"How can I swap Ctrl and Fn keys on a corporate computer? Our computers have been upgraded to HP EliteBook 8570p machines and while they're very nice machines, they are also very large -- so large that the left Ctrl key is too far away, making Ctrl+V really difficult to do with one hand. I'm sure there are ways to re-map the keys so that their signal is swapped. But add the factor of corporate security, is there still a reasonably simple approach to this? I'm sure you'd like more information before you can answer -- I'll try to add updates based on comments and answers.",
"I have put a bounty on , however I don't see it appear in the (also not when I'm not logged in). Why is this. Aren't all bounty questions supposed to be visible there?"
] | medi_sts_stackexchange_dupe |
Merge columns in crystal report | How to Merge columns in crystal report | [
"Where are packages stored installed with APT in Ubuntu 16.04? I know that packages installed with apt-get are stored in /var/cache/apt/archives. I just installed mariadb server in Ubuntu 16.04 with following command: sudo apt install mariadb-server When I tried to find packages in /var/cache/apt/archives, there are no packages. Where are they stored if it's not in this directory?",
"The curve $x^3− y^3= 1$ is asymptotic to the line $x = y$. Find the point on the curve farthest from the line $x = y$ (NBHM_2006_PhD Screening Test_Analysis) The curve $x^3− y^3= 1$ is asymptotic to the line $x = y$. Find the point on the curve farthest from the line $x = y$ how should i solve this problem",
"Finding distance between points in two different layers along route in ArcMap? I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between the source sites and the sites where they are not through the stream network. I tried the linear referencing toolbox but the locate features along route tool can only use one layer of points and has not way to differentiate between sources and not source sites. Any ideas? I am using ArcMap 10.3?",
"Algebric proof for the identity $n(n-1)2^{n-2}=\\sum_{k=1}^n {k(k-1) {n \\choose k}}$ Prove the identity: $$n(n-1)2^{n-2}=\\sum_{k=1}^n {k(k-1) {n \\choose k}}$$ I tried using the binomial coefficients identity $2^n = \\sum_{k=1}^n {n \\choose k}$ but got stuck along the way.",
"I have an HTML string representing an element: '<li>text</li>'. I'd like to append it to an element in the DOM (a ul in my case). How can I do this with Prototype or with DOM methods? (I know i could do this easily in jQuery, but unfortunately we're not using jQuery.)",
"Some questions might be asked on three different sites, each site needing three different answers. For example, a question about a text editor. So perhaps there should be a way to link the questions on the three different sites. Adding a link manually in the questions is certainly possible, but perhaps a feature officially supporting this will be beneficial.",
"I used MiKTeX 2.9 on windows. I have downloaded a package I want to install from the internet (manually, not through MiKTeX). The archive (*.lmza) containing the package was saved to a directory on my C:\\ drive. Through MikTeX -> Maintenance -> Settings -> Packages -> Change... I can select the directory in which I have saved the archive containing the package. However, if I choose Packages shall be installed from a directory and choose the location of the package, I get this error message: C:\\my\\package\\is\\here does not seem to be a local package repository. What does it take for a directory/folder to become a local package repository?",
"How to capture a still image from digital video?",
"Ice skater increase of energy This may be a very basic question but I am not seeing how it works. Consider the standard example of an ice skate rotating about his/her center of mass and pulling in his/her arms. The torque is zero so we have conservation of angular momentum. This implies that $\\omega$ increases to keep $I\\omega$ constant, but then $K_{rot}=\\frac{1}{2}I\\omega^2$ doesn't stay constant, it increases. This implies that there is work done, but what force is doing this work?",
"What kind of node is this? Image from this",
"How to install ubuntu on lenovo g580? I'd like to install Ubuntu 13.04 on Lenovo g580 and I have this issue. After a few seconds of booting liveUSB screens gets black and nothing happens. I've read somewhere about connecting second screen to solve similar issue. Of course this didn't solve it, but it provided something like terminal with initramfs> and few basic commands .. Is it possible to install Ubuntu on Lenovo g580 hardware? I also checked Ubuntu 12.04: failed Mint 13: SUCCEED (x32 and x64) Is it because of drivers? Of course I want Ubuntu instead of Mint. :)",
"Noun-adjective reversal - was it ever in use in plain speech?",
"Including .eps figure in PDFLatex This question has been asked a lot, but for reason I cannot get it to work. I'd like to include a .eps image in my document - I am using pdflatex in TeXMaker. Below is the input (I am providing the whole preamble incase there is some interference. \\documentclass[11pt]{article} \\usepackage{times} \\usepackage{graphicx} \\usepackage{epstopdf} %converting to PDF \\usepackage{amssymb} \\usepackage{amsmath} \\usepackage{mathtools} \\newcommand{\\HRule}{\\rule{\\linewidth}{0.5mm}} \\usepackage[parfill]{parskip} \\setcounter{secnumdepth}{5} %how deep sections are numbers \\usepackage{float} \\usepackage[font={sf,footnotesize},labelfont=bf, justification=justified, singlelinecheck=off]{caption} \\usepackage[font=footnotesize]{subcaption} \\usepackage[scaled]{helvet} \\usepackage{titlesec} \\usepackage[T1]{fontenc} \\usepackage[export]{adjustbox} %for large figures \\usepackage{upgreek} \\usepackage{microtype} \\usepackage{setspace} \\singlespacing \\usepackage[defaultlines=4,all]{nowidow} \\includegraphics[scale=1]{/../model_1_2.eps} The error I get is: ! Package pdftex.def Error: File `/model_1_2-eps-converted-to.pdf' not found.See the pdftex.def package documentation for explanation.Type H for immediate help.... .../../model_1_2.eps} I hope someone can help.",
"Is there a way to programmatically change the screen resolution or enable/disable multiple monitors in Windows XP? For example to change from 1024x768 with one monitor to 1280x104 on two monitors? I would be most interested in a win32 function to do this but anything that can be tied to a windows shortcut would suffice.",
"What if the answers of a historical locked question become obsolete?",
"$H_0(X,A) = 0 \\iff A \\cap X_i \\neq \\emptyset \\forall $ path-components $X_i$ I've been doing some more exercises in , in particular the following: Show that $H_0(X,A) = 0$ iff $A$ meets each path-component of $X$. \"$\\Leftarrow$\": Let $x_i \\in A \\cap X_i \\neq \\emptyset \\forall $ path-components $X_i$. Then for any $x \\in X_i$ there is a path $\\gamma$ from $x_i$ to $x$. They therefore differ by a boundary: $\\partial \\gamma = x - x_i$ and therefore $\\{ x \\} = \\{ x_i \\}$ in $H_0(X,A) $. Therefore $H_0(X,A) = 0$. \"$\\Rightarrow$\" Now for this direction I'm not so sure and I'd be glad if you could give me a hint. Let $H_0(X,A) = 0$. By definition, the relative homology group is calculated from the following sequence of chain groups: $$ 0 \\rightarrow C_0(A) \\rightarrow C_0(X) \\xrightarrow{\\partial_1} C_0(X) / C_0(A) \\xrightarrow{\\partial_0} 0$$ Then $H_0(X, A) = H_0(C_0(X) / C_0(A)) = ker \\partial_0 / im \\partial_0 = (C_0(X) / C_0(A) ) / im \\partial_1 = 0$. There are two cases where this equality holds: (i) $C_0(X) / C_0(A) = 0$ (ii) $im \\partial_1 = C_0(X) / C_0(A)$ In case (i), $A \\cap X_i \\neq \\emptyset$ for all $X_i$. In case (ii) I'm not sure how to proceed. Can you give me a hint? Many thanks for your help! Edit Or maybe I could do the second direction like this: $$0 = H_0(X,A) = \\oplus_i H_0(X_i, A) \\implies H_0(X_i, A) = 0 \\forall i$$ $$ \\implies A \\cap X_i \\neq \\emptyset \\forall i$$?",
"QCompleter Custom Completion Rules",
"Given that there is no logically default animal from the list of animals below, what should be the \"Default Value\" below, according to best practice? <label for=\"animal\">Animal (required):</label> <select name=\"animal\"> <option value=\"\">Default Value</option> <option value=\"0\">Cat</option> <option value=\"1\">Dog</option> <option value=\"2\">Horse</option> <option value=\"3\">Pig</option> <option value=\"4\">Sheep</option> </select> A blank value, <option value=\"\"></option>? Something visually irritating, <option value=\"\">***CHOOSE ANIMAL***</option>? Something which blends in but provides instruction, <option value=\"\">Select an Animal</option>? Something else entirely?",
"Show that $\\arctan\\frac{1}{2}+\\arctan\\frac{1}{3}=\\frac{\\pi}{4}$ Show that $\\arctan\\frac{1}{2}+\\arctan\\frac{1}{3}=\\frac{\\pi}{4}$. Attempt: I've tried proving it but it's not equating to $\\frac{\\pi}{4}$. Please someone should help try to prove it. Is anything wrong with the equation? If there is, please let me know.",
"This might seem a stupid question but why do Ethernet cables have 8 wires? Cat5 cables were just using 4 of the 8 wires, so only 4 are actualy 'needed'. Why not 12 or 16 wires?"
] | medi_sts_stackexchange_dupe |
Stack Overflow technology and Q&A engine | Is the Stack Overflow source code available? | [
"Chance of selecting the last k pages in correct order from a set of n pages",
"How do I create a 50x3 cell array from a 50x3 matrix. Keep just getting a 1x1 cell array with a 50x3 submatrix?",
"What's the difference between \"Service\" and \"/etc/init.d/\"?",
"Can spells be cast through a Wall of Force?",
"Simple question about the definition of Brownian motion I have a question concerning the definiton of Brownian motion. Usually (e.g. on Wikipdia) one demands a brownian motion $\\lbrace B_t\\rbrace_{t\\in[0,\\infty)}$ to satisfy the following condition: $\\forall 0\\leq t_0<t_1<...<t_m: B_{t_1}-B_{t_0},...,B_{t_m}-B_{t_{m-1}}$ are independent random variables. But today I come across with formally another definition of Brownian motion! Instead of the above condition the book demands the following property: $\\forall t,h\\geq 0$, $B_{t+h}-B_t$ is independent of $\\lbrace B_u : 0\\leq u\\leq t \\rbrace$. Now I'm wondering whether both properties are indeed equivalent or not?! Hopefully someone can help me.",
"User suggested great corrective edit to my answer, but the edit was rejected. What can I do to approve it? A nice user suggested to . The edit, though very good and desirable, was rejected. I do not understand the reasons, and I did not find a way to contact those people who rejected it. What can I do to re-approve the edit?",
"How to insert page number in Beamer navigation symbols?",
"In what order should Tolkien's writings on Middle-earth be read?",
"Privacy leak in permalink? Update (Jan 8, 2019) This is now 8 years old, but still getting occasional upvotes/attention, so I thought it's worth giving a summary of the current state. Despite originally being , over the last decade some changes have made the privacy implications much clearer. You now click "share" instead of "link", and the pop-up is very explicit that the link includes your user ID. There is a asking that this user ID be anonymized or hashed, to allow users to earn publicity badges (the intention behind having the user ID present in the URL, as per ) while eliminating the privacy issue. Original Post It seems to me there is something of a privacy leak when permalinking to a question. For what I would assume is the purposes of tracking which user is responsible for bringing traffic back to an SE site (for badges, etc.), the user ID of the user obtaining the permanent link . I wouldn't argue that this shouldn't be the case, but I find no warning or mention of this when I do these actions. I'm sure I'm not the only one that doesn't desire anonymity on SO but would like at least pseudonymity on some places I might share a SO link, such as on a random blog. As a user, I would not expect sharing a permanent link to leak my identity. Unless you are familiar with Stack Exchange links or your own userID, it's certainly not obvious by looking at the link that it includes your personal info. It'd be nice to have fair warning that using that feature will do so, and perhaps provide/describe the workaround: to simply remove the user-id segment from the URL. Other features would be a preference that formats future permanent links to exclude the user id. Example (from this question) Permalink: Link to my user page:",
"Every package \"has no installation candidate\" While attempting to install openssh-server on Ubuntu 14.04 64-bit, I get the following error: Package openssh-server is not available but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'openssh-server' has no installation candidate I see the same error when trying to install any package. This is the sources.list file: deb http://archive.canonical.com/ubuntu hardy partner deb-src http://archive.canonical.com/ubuntu hardy partner",
"Expanding code in etoolbox's \\ifblank I am trying to use the etoolbox \\ifblank (and its cousin \\notblank), but I want to expand any macros in its test statement. For example: \\documentclass{article} \\usepackage{etoolbox} \\begin{document} \\newtoggle{longformt} \\newcommand{\\longform}{\\toggletrue{longformt}} \\newcommand{\\iflong}[2]{\\iftoggle{longformt}{#1}{#2}} \\newcommand{\\quoteifnotblank}[1]{% \\notblank{#1}{``#1''}{}% } % Try commenting this line. \\longform This should be completely blank if the form is short: \\quoteifnotblank{\\iflong{Some long quoted text}{}} \\end{document} The problem here is that \\notblank sees its argument of \\iflong{Some long quoted text}{} as a string, not as code to be expanded, so the quotes always appear. How do I expand arguments before they are passed to \\notblank?",
"As I finished programming the MCU in the Arduino Uno board to receive some RF Signal and drive relays, I moved it into a standalone board I made with Eagle. The circuit is pretty basic, the MCU receives data from a RF Receiver, processes it and then turns on/off some pins that drive 5V relays (through transistors, of course). When I test it on the Arduino Board, you can see that the LEDs toggle ON and OFF whenever I send the data through the RF Transmitter. You send once, it toggles ON, you send another time, it toggles OFF and so on. This works for all the 4 PINS that it has programmed. In my standalone board, each of these four pins are connected to transistors that drive 5V relays. The problem is that only one pin seems to activate, and then it won't even toggle OFF, like you send the data once and you can hear the relay's coil go ON, but then if you try to toggle it OFF it just won't, it's latched ON and I have to unplug and plug the USB cable again to reset it. The ATMEGA328P has a 16MHz crystal, two 22pF caps for the crystal, and a 10K resistor that goes from the Reset Pin to VCC. I'm not sure why the MCU behaves so weird in my board. There's also another VERY weird detail I didn't mention. If instead of using the RF Receiver, I connect the Data Output pin of the PIC that drives the RF Transmitter directly into the Receiver board, that one pin I mentioned that works is able to toggle OFF and ON again, but still, the other pins just don't work. I've tested it not only by hearing the relay's coil but also by using a multimeter. Any help would be really appreciated. EDIT: Here is the Eagle Schematic of the board: It's true that I really didn't concern about the noise, but since it was quite a simple project I didn't think that noise was going to attack so violently, plus I don't really know how to protect the circuit from inductive noise. Thank you for answering fast! EDIT 2: Okay so here goes more detail: Real photos: The soldering seems quite awkward but I probed all the traces to check for continuity. I could make some extra holes to, for example, add a 100nF decoupling capacitor for the MCU and so, but if you think I should enhance the schematic and add a lot more components, then I'll gladly remake the board. About the supply, right now (for debugging) I'm connecting the Arduino Uno to a Cellphone Charger (Notebook won't supply enough current for relays), and I'm connecting those red and black cables to the Arduino Uno. I'm using that Cheap 433MHZ RF Receiver so if the circuit is so vulnerable to noise as you say, it may also be getting fouled up by the noise.",
"Did this character lose a limb in “The Force Awakens?” Inspired by which states limb loss as a recurring theme, I started thinking about the final lightsaber battle. After watching The Force Awakens the second time, I was not sure if Kylo Ren lost a limb or just lost his lightsaber. We definitely see Rey slash at Ren’s right hand. So knowing that context: Did Kylo Ren actually lose his arm/hand?",
"Fix formatting errors of page number > 99 in table of contents? This is a follow up question of . The formatting problem has nothing to do with cleanthesis.sty. The problem is that if I use the charter font, page numbers greater than 99 are not formatted correctly in the table of content. \\documentclass[draft=on]{scrbook} \\usepackage{blindtext} \\usepackage{charter} \\listfiles \\begin{document} \\tableofcontents \\section{Section 1} \\blindtext[100] \\section{Section 2} \\blindtext[500] \\section{Section 3} \\end{document}",
"Segmentation fault error occurs for a simple function I have coded",
"How to install Windows 10 Home 19018 update? I'm using windows home edition, I have the latest update installed 1909. I want to install docker for windows 10 home edition. It keeps saying Docker Desktop requires Windows 10 Pro/Enterprise (15063+) or Windows 10 Home (19018+). Should I join Windows insider? How long should I wait for that update to be released if I don't want to join windows insider?",
"Prove that: $$p \\,\\,\\left|\\, {p \\choose k} \\right., \\quad 0< k \\lt p$$ if $p$ is prime. how to prove that with direct proof?",
"What is \"#!' in a script file? $cat shebang.sed #! /bin/sed -f s/red/xxx/ s/BLUE/1234/ $./shebang.sed rgb lower (#1): \"xxx green blue\" UPPER (#2): \"RED GREEN 1234\" $sed -f shebang.sed rgb lower (#1): \"xxx green blue\" UPPER (#2): \"RED GREEN 1234\" I may guess what #! is doing. However, I don't say I know it. what is \"#!\"?",
"evaluate $\\int_{0}^{\\infty}\\cos(t) t^{z-1}dt=\\Gamma(z)\\cos(\\frac{\\pi z}{2})$",
"Alternative to LibreOffice Base for Ubuntu"
] | medi_sts_stackexchange_dupe |
Consider the following figure. A man sits in a pan and tries to raise himself by pullingthe rope downwards | Why are there two tensions on my free body diagram? | [
"Determine Which of the following Sets is a Vector Space Determine which of the following sets is a vector space. $V$ is the line $y=x$, in the $xy$-plane: $V =\\{[x,y]: \\; y=x\\}$ $W$ is the union of the first and second quadrants in the $xy$-plane: $W=\\{[x,y]: \\; y\\geq0\\}$ $U$ is the line $y = x+1$ in the $xy$-plane: $U=\\{[x,y]: \\; y=x+1\\}$ I know that the answer is that \"$V$\" is the only vector space. However how do I come up with a quick proof to show that $V $is a vector space and that the other $2$ aren't?",
"Standard example where Jacobson radical not equal nilradical",
"I don't know what exactly it's called, by cache refresh I mean, refresh the page after clearing its cache. I don't want to clear the entire browser cache. I can't seem to cache refresh my pages. In Firefox, I know it to be Shift+Refresh. In Chrome, I've tried Ctrl+R, Ctrl+Refresh, Alt+Refresh, Shift+Refresh but none of them work.",
"Understanding etoolbox \\ifdefempty and \\ifdefvoid I am trying to understand the \\ifdefempty and \\ifdefvoid macros. The documentation says that \\ifdefempty Expands to true if the control sequence is defined and is a parameterless macro whose replacement text is empty, and to false otherwise. Similarly \\ifdefvoid Expands to true if the control sequence is undefined, if is a macro whose meaning is \\relax, or a parameterless macro whose replacement text is empty, and to false otherwise. From these descriptions I thought that \\def\\myempty{}, \\def\\myrelax{\\relax}, and \\def\\myemptyempty{\\myempty} would all be both \"empty\" and \"void\", but \\def\\myempty{} is the only one that is either \"empty\" or \"void\". What am I missing? \\documentclass{minimal} \\usepackage{etoolbox} \\begin{document} \\def\\myempty{} \\def\\myrelax{\\relax} \\def\\myemptyempty{\\myempty} \\ifdefempty{\\myempty}{Empty}{Not empty} \\ifdefempty{\\myrelax}{Empty}{Not empty} \\ifdefempty{\\myemptyempty}{Empty}{Not empty} \\ifdefvoid{\\myempty}{Void}{Not void} \\ifdefvoid{\\myrelax}{Void}{Not void} \\ifdefvoid{\\myemptyempty}{Void}{Not void} \\end{document}",
"Flying Turkish Airlines, what are credit card rules? I have return tickets flying out of SFO on Turkish airlines for the whole family. The credit card I used to book the tickets has since been replaced by the bank with a new card. In order to board, can I present the new credit card (same name) at the checkin counter, or must I present the original credit card (which is no longer valid and has been discarded)? By 'discarded' - I mean cut up and thrown away in trash. It was no longer valid, since it was replaced with a new card. So can I use the new card to travel on a booking that was made using the original card? The new card has a new number; and the ticket was purchased through an agent.",
"In ideal gas model, is the measure of average kinetic energy of the gas molecules. If by some means the gas particles are accelerated to a very high speed in one direction, KE certainly increased, can we say the gas becomes hotter? Do we need to distinguish the random vibration KE and KE in one direction? Furthermore, if we accelerate a block of metal with ultrasonic vibrator so that the metal is vibrating in very high speed with cyclic motion, can we say the metal is hot when it is moving but suddenly become much cooler when the vibration stop?",
"How do I read in the contents of a directory in Perl?",
"An elementary question regarding a multiplicative character over finite fields",
"Typing the ZIP code doesn't yield the company page",
"Can we re-request features that were declined a sufficient while ago?",
"On the nilpotence of the matrix $AB-BA$",
"Starting scheduled task by detecting connection of USB device I know it has been discussed that it is not possible to start an application from an usb drive upon connection due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a scheduled task having an event type trigger. Surely there must be an event occurring when the drive -- or any USB device, for that matter -- is connected. Does anybody have the slightest idea which Event ID should I use? Or at least what type of event? Where can I find the event in event viewer?",
"I need to format a drive containing an old install of Ubuntu 10.04, to install Vista (not my idea!) Vista setup apparently refuses to format non-FAT32 or NTFS partitions. However, I can't seem to format it from my live CD (Ubuntu 11.04) at all; I keep getting \"device is busy\" errors. What is the simplest way to format this drive?",
"Down vote changed to up vote caused reputation meter to pass daily maximum I just experienced a minor visual bug. I had an answer that earned 2 down votes and 22+ upvotes, earning me the daily maximum of +200. Upon making some edits to the answer at the behest of the comments, one of the users who down voted changed their vote. Now my reputation meter shows that I gained +202 for the day. This correctly did NOT affect my reputation, as I still only gained 200, so it is merely a minor display bug. This appears in the achievements drop down and my reputation tab on my profile.",
"How do Minecraft biomes work? I've never seen any information about the distribution of biomes in a generated world. First, are all types of biomes, guaranteed to exist in a world? Will I always find snow somewhere, and desert somewhere? I've got one world that doesn't seem to have cactus (so I guess the sand is beaches, no actual desert). Second, is there any kind of pattern or relation to biomes? Is snow to the North, and desert South, for example? Third, how about density of biomes? If all types do exist, would I find them all within distance X of my spawnpoint, or have to travel for weeks to find a given type?",
"When to use an object pronoun or a possessive adjective before a gerund",
"Android Debugging, how?",
"How do I find the index of an element in a list in Racket?",
"Let $A\\in M_{n\\times n}(\\Bbb R)$ so that $I\\notin span(A,A^2,...,A^n)$. Prove that $\\det(A)=0$.",
"Best way to put commas into large numbers I've started a new job and it involves looking at a bunch of big numbers. Is there an easy way to add commas to an int or decimal field to make it readable? For example, SQL Server outputs the column on the left, but for my own sanity, I need it to look like the one on the right: 2036150 -> 2,036,150 ...or would I have to write some heinous left(right(vandalized_data),6),3) + ',' + right(left(vandalized_data),6),3) function? The perfect thing would be commas in the display grid, then plain integers in the output."
] | medi_sts_stackexchange_dupe |
Duplicated banner and side-bar in certain review queues | Deleting comments and review actions cause layout to be broken, AJAX response contains full page | [
"How many group structures make $S^1$ a topological group? Let $S^1$ be the subspace of $R^2$ given the usual topology. How many group structures make $S^1$ a topological group?",
"USB-C to MagSafe 2 Adapter I have a 2015 MacBook Pro with a MagSafe 2 charging cable. My wife has a new MacBook Pro from 2016 with USB-C. I was wondering whether I could technically (in the matter of electronic feasability) use her charging cable on my MacBook and vice versa with some sort of adapter / dongle, and, if so, where I would get one?",
"Simplest or nicest proof that $1+x \\le e^x$",
"Operator Theoretic Perspectives on Bayesian Inference",
"I have two layers, one (A) has point features and the other (B) has polygons. How do I produce a new table with some (the ID) or all the fields from the A table and some (the area code) or all from the B table where the B polygon contains the A point? I am using QGIS.",
"File names for JSP include directive to avoid compilation of them",
"A good title helps your question get the attention it deserves. What goes into a good title?",
"I have an HTML string representing an element: '<li>text</li>'. I'd like to append it to an element in the DOM (a ul in my case). How can I do this with Prototype or with DOM methods? (I know i could do this easily in jQuery, but unfortunately we're not using jQuery.)",
"Every planar graph has a vertex of degree at most 5.",
"Better yet, are there any Spacewalk-like software packages that work for both RedHat-based and Debian-based systems?",
"Moderncv has a line of empty space between address and phone/email, like this: MWE: \\documentclass[12pt]{moderncv} \\moderncvstyle{banking} \\name{Sherlock}{Holmes} \\address{221B Baker Street}{London}{U.K.} % Your current address \\phone[mobile] {+44~(0)71234 00000} % Your mobile phone number \\email{[email protected]} \\begin{document} \\makecvtitle \\end{document} How do I remove/decrease that space by shifting the phone and email line up?",
"macOS Mojave won't install updates past 10.14.1 due to requirement for APFS formatting I have a MBP 2012 I upgraded from High Sierra to Mojave after it came out as GA. I don't recall if I was asked about upgrading to APFS when Id id that, but at this time the main volume is Mac OS Extended (Journaled). My current About This Mac...version is Mojave 10.14.1 (18B75). Now, when updates are advertised from the App Store, I'm unable to upgrade because 10.14.3 is required. No OS updates show in the App Store, and when I searched for the updaters (10.14.2 Combo, etc), I can't install because the installer reports \"macOS 10.14.2 Update can't be installed on this disk. This Mac can only install macOS on APFS-formatted drives.\" I tried the search results recommending to boot in Recovery Mode and use Disk Utility, but APFS is not available as a type. I have good backups and I can reformat the boot volume if I need to, but I have not done this before. Should I get a 10.14.3 installer to do this and boot from an external drive? The only guies and message boards I've found just keep saying to install 10.14.3 (I can't) or convert the disk in Recovery Mode (APFS is not available as an option.) Any known-good ways to get my 10.14.1 upgraded so I can keep getting App Store updates?",
"Trying to install Steam ERROR: You are missing the following 32-bit libraries, and Steam may not run: not I've already installed Steam, but when I click on the program I get this message ERROR- You are missing the following 32-bit libraries, and Steam may not run: not I don't know what to install or even do.",
"It seems like to deleted too much files by rm -r and now I have the error of \"the system is running a low-graphic mode\" in Ubuntu and I have to work in Windows because of that. However I can load it in recovery mode. I need to copy the files from Downloads folder to a flash drive. Downloads folder has them as I can see by ls command. When I plug in a flash drive, there will be some messages saying that everything is ok (as I understood) and it's plugged. But when I go to /media/my_name and do ls then I don't see anything. I don't see anything in /run/media/my_name either(I'm not sure if should though). I can't connect to the Internet for some reason. Ubuntu was installed by wubi.exe file. How do I save the content of my Downloads folder to a flash drive?",
"In Harry Potter and the Prisoner of Azkaban, Harry sneaks into The Three Broomsticks and overhears Madam Rosmerta, the Minister for Magic, and several Hogwarts teachers discuss his parents' death and the fact that the Potters were under the protection of the Fidelius Charm. Professor Flitwick explains the charm: ‘An immensely complex spell,’ he said squeakily, ‘involving the magical concealment of a secret inside a single, living soul. The information is hidden inside the chosen person, or Secret-Keeper, and is henceforth impossible to find – unless, of course, the Secret-Keeper chooses to divulge it. As long as the Secret-Keeper refused to speak, You-Know-Who could search the village where Lily and James were staying for years and never find them, not even if he had his nose pressed against their sitting-room window!’ Prisoner of Azkaban - pages 152-153 - Bloomsbury - chapter 10, The Marauders Map In Harry Potter and the Deathly Hallows, once Ron returns to Harry and Hermione after his and Harry's fight weeks earlier, he tells Harry and Hermione about the Taboo: ‘NO!’ roared Ron, causing Harry to jump into the hedge and Hermione (nose buried in a book at the tent entrance) to scowl over at them. ‘Sorry,’ said Ron, wrenching Harry back out of the brambles, ‘but the name’s been jinxed, Harry, that’s how they track people! Using his name breaks protective enchantments, it causes some kind of magical disturbance – it’s how they found us in Tottenham Court Road!’ ‘Because we used his name?’ ‘Exactly! You’ve got to give them credit, it makes sense. It was only people who were serious about standing up to him, like Dumbledore, who ever dared use it. Now they’ve put a Taboo on it, anyone who says it is trackable – quick and easy way to find Order members! They nearly got Kingsley –’ Deathly Hallows - page 316 - Bloomsbury - chapter 20, Xenophilius Lovegood So in hindsight the trio understands that it was the Taboo that caused the Death Eaters to find them at Tottenham Court Road, and then later, of course, they're caught by Snatchers because Harry says \"Voldemort\" out loud. However, the trio says \"Voldemort\" numerous times while they're staying at Grimmauld Place and Death Eaters appear and stake the place out (granted, it could be that the Death Eaters simply knew that Harry had inherited Grimmauld Place from Sirius after the Ministry examined Sirius's will). They cannot get inside the house, though. I'm completely unclear as to the status of Grimmauld Place and the Fidelius Charm -- the house was under the charm, but the Secret Keeper (Dumbledore) had died. Nevertheless, like eleventy-one people were privy to the secret by the time of Dumbledore's death, and I have never found a satisfactory answer (to me) to exactly how the Fidelius Charm works. Would Voldemort's Taboo spell be able to trump the Fidelius Charm? ★ I'm looking for a canon-based answer (Harry Potter novels, the three supplemental books, JKR interviews, and Pottermore) and do not prefer an answer from the HP Wikia or the Wikipedia.",
"Purge unused data (e.g. particle system, or groups) by script How can I completely remove a objects (e.g. particle system or groups used in particle systems) in blender using python? The problem is this: I have a script, with which I create a scene (e.g. adding some normal objects and some group of objects with a particle system). For a research study I would like to repeat that that several times, without restarting blender. So I can create a scene, delete everything, e.g. with a script like this: import bpy scn = bpy.context.scene for obj in scn.objects: obj.select = True bpy.ops.object.delete() If I rerun the script to recreate the scene with objects using particle system, the latter is not shown in the scene anymore (only the placeholders of the particle system). Now I'm not sure where exactly the problem lies, but I guess not everything is immediately deleted, running the script above. Only the startup of blender helps (but that's not what I want) or pushing the purge button. The purge button seems to start the command: bpy.ops.outliner.orphans_purge() But I can't get this piece of code to run in the console. It says that \"the context is incorrect\". Is there a way to purge the unused data by python script? Thanks a lot for any help.",
"How to simulate slow internet connections on the mac What's a good software solution to slow down internet connections on the mac for testing and simulations? My primary need is when testing code in the iPhone / iOS simulator, so slowing down the connection for specific applications or processes would be great.",
"PlotLegends disappearing with list of functions",
"PS4 Controller not connecting to PS4 and won't reset? I was playing my PS4 two days ago and then packed it up with two controllers that were both connected to this PS4. I got to where I was going, set everything up and now the controllers won't connect. They show pulsing orange when they plug in, but when I hit the PS Button to connect, it blinks white 1-2 times and goes back to orange. I have tried resetting them both. Can anyone help?",
"Calculate the uncertainty in velocity of electron I got this question in one of my periodic test in coaching, I (seemingly) solved the question but later recognised what mess I did. So, the question is : Calculate the uncertainty in velocity of an electron. If the uncertainty in its position is ${10^ {-15}} \\; \\mathrm m$. By simple calculations one can see that the answer would be ${5.79\\times{10^{10}}} \\; \\mathrm{m/s}$. However, as one can see, the uncertainty in velocity is greater than the velocity of light then how is that possible or there is some other way to handle such problems. P.S. I know the concept of dynamic mass but I am not very familiar with it. (I think that would work here, but don't know how?)"
] | medi_sts_stackexchange_dupe |
W, A, S, D, keys and shift aren't working together | How do I remove the limit on PC keyboard button presses? | [
"What is the best regular expression to check if a string is a valid URL?",
"Play YouTube videos with MPMoviePlayerController instead of UIWebView",
"$X$ is a Hausdorff space and $\\sim$ is an equivalence relation. If the quotient map is open, then $X/{\\sim}$ is a Hausdorff space if and only if $\\sim$ is a closed subset of the product space $X \\times X$. Necessity is obvious, but I don't know how to prove the other side. That is, $\\sim$ is a closed subset of the product space $X \\times X$ $\\Rightarrow$ $X/{\\sim}$ is a Hausdorff space. Any advices and comments will be appreciated.",
"I just installed a new version of Ubuntu and I want to roll it back to the previous version. How can I do that? Is that even possible?",
"How can I play around targeted discard? Many decks in competitive Magic have access to targeted discard spells, like and . Against counterspells, you can rely on a variety of tricks like baiting counters, bottlenecking your opponent's mana, and good old-fashioned counter wars. Targeted discard cards allow your opponent to attack your hand on the very first turn of the game, and go right for your key cards — and it can often be backbreaking when your opponent takes away a crucial card like a combo piece or a sweeper. What tricks and tactics can you employ, either during deck-building or in play, to play around an opponent's targeted discard? (I know that one of the answers is going to be . That's excellent, but please also include approaches that work in formats without free countermagic.)",
"I have installed Ubuntu Server on an old desktop, and I'm new to this. I had set it up and was trying to connect through Putty but that was not working. When I tried ifconfig there was no eth0 IP address, and logging onto the router showed the only device connected by ethernet is the printer. However, the ethernet cable is plugged into the server and is showing the green light by it. I tried opening /etc/networking/interfaces but this shows the following: source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback I tried adding 'auto eth0' after this and saving but made no difference, and have tried sudo ifconfig eth0 up which didn't do anything either. sudo lshw -C network says that the network is DISABLED. Any ideas to help get this up and running? EDIT: Running command lspci -knn | grep Eth -A3 results in the following: 02:05.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet [10ec:8167] (rev 10) Subsytem: Gigabyte Technology Co., Ltd GA-MA69G-S3H Motherboard [1458:e000] Kernel driver in use: r8169 Kernel modules: r8169",
"An inequality from Littlewood's Miscellany",
"combine 2 fields in 1 to use it in the \"group by\" section of the reports is it possible to combine two fields in one and use that field to group by in reports? for example, i would like to combine ee id and ee name fields in 1 and show as 1 field in the \"group by\" section on reports.",
"I'm struggling a bit with functions(limits, squeeze theorem, etc). I have done some research and found a list of books on calculus but I'm not sure which one would be better suited for me, so I would appreciate if some experienced people here could advise me which books would be better to master the basics so I can move on with derivatives, etc. Limits is my main problem, so I need a book which explain this in depth so I can master it. Then I'll keep going on with the same book for other chapters. Below is the list which I found : Apostol T.M. Calculus Vol. 1 Burn R.P. Numbers and Functions: Steps into Analysis Courant R. and John F. Introduction to Calculus and Analysis I - One of the better calculus text in print. Crowell B. Calculus Dawkins, P Calculus I and Calculus II Garrett P. Calculus Ghorpade S.R. and Limaye B.V. A Course in Calculus and Real Analysis Gill G.S. Calculus Bible Guichard D. Whitman Calculu. Hardy G.H. A Course of Pure Mathematics Hwang A.D. Calculus for Mathematicians, Computer Scientists, and Physicists: An Introduction to Abstract Mathematics Santos D. Differential Calculus Shapiro B.E. Calculus and Analysis Spivak M. Calculus Strang G. Calculus Thomas G.B. and Finney R.L. Calculus and Analytic Geometry Tranter C.J. Advanced Level Pure Mathematics Tranter C.J. Techniques of Mathematical Analysis Veeh J.A. Lectures Notes on Calculus So far I narrowed my list down to Hardy, Spivak and Apostol based on further research, but I haven't got my hands on these books yet to compare them and I'm not sure if these books will be good for me. Thanks.",
"Linear functional on a Banach space is discontinuous then its nullspace is dense.",
"What ubuntu applications provide support? (guides, how to's, status) Also, specifically, details on support for syncing music to iPhone's and iPod's with the latest OS version: Can you sync music to apple devices using >iOS4? (iPhone & iPod) What applications allow you to do this and how? (guides, how to's, status) What has already been established is: Apple does not support Linux and has no plans to. provides some support, however it currently does not support music/video synchronization with devices >iOS4. Go to and scroll to the section titled \"\" to see if your device version is supported.",
"Can't launch graphical apps from terminal after updating to 15.10",
"How to choose input method on Kubuntu 18.04?",
"Is it somehow possible that I can extend the link to something which I produce by using \\ref with a label by the word standing before \\ref? If I write something like that: For further information, have a look into chapter \\ref{chap:abc} and figure \\ref{fig:def} then the only thing being "clickable" are the chapter number and the figure number. Is it somehow possible to make the words "chapter" and "figure" being linked to those objects as well?",
"I am fairly new to blender and I am trying to do something which I am assuming is fairly straight forward with no success. All I'm looking to do is emboss some text onto the curved part of a yogurt pot. Image attached below. What is the quickest and easiest way of doing this? Thanks in advance",
"Let $p(t) = a_0+\\dots +a_nt^n, a_n\\neq 0,$ a polynomial with degree $n>0$. Prove that $p:\\mathbb{R}\\rightarrow \\mathbb{R}$ is not bounded, but for any bounded subset $X\\subset \\mathbb{R}$ the restriction $p\\vert X$ is bounded. I want to prove this in very elementary terms. I mean, without using the notion of limit or even continuity. I can only show this with \"strong\" results. Is it possible with elementary terms?",
"How can I play encrypted DVD movies? 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 ?",
"Interface naming in Java Most OO languages prefix their interface names with a capital I, why does Java not do this? What was the rationale for not following this convention? To demonstrate what I mean, if I wanted to have a User interface and a User implementation I'd have two choices in Java: Class = User, Interface = UserInterface Class = UserImpl, Interface = User Where in most languages: Class = User, Interface = IUser Now, you might argue that you could always pick a most descriptive name for the user implementation and the problem goes away, but Java's pushing a POJO approach to things and most IOC containers use DynamicProxies extensively. These two things together mean that you'll have lots of interfaces with a single POJO implementation. So, I guess my question boils down to: \"Is it worth following the broader Interface naming convention especially in light of where Java Frameworks seem to be heading?\"",
"What order should Asimov's Foundation series be read in?",
"Why didn't Thanos come to Earth to retrieve Tesseract by himself? In the Avengers movie, why didn't Thanos personally come to Earth instead of Loki? Or, if Loki's skills were required, why didn't he come with Chitauri? He knew that humans were primitive; there wouldn't be any threat and he could personally secure Tesseract. AFAIK, the movie didn't display much. Is there any other source answering this?"
] | medi_sts_stackexchange_dupe |
Is there a way to create logical or as a sum-class symbol? | How to look up a symbol or identify a letter from a math alphabet or other character? | [
"Explain why $E(X) = \\int_0^\\infty (1-F_X (t)) \\, dt$ for every nonnegative random variable $X$",
"The topic which haunted me for two years until I gave up on it. But now I am doing engineering and this topic suddenly popped out of my textbook from nowhere. I seriously need to understand this topic because I wasn't able to do so in the past. I have read many book on 'energy' and it came to nothing. Maybe just because the many books I have read all said 'energy' is something which doesn't 'exist'! It is 'abstract'! It is just a number which represents the state or orientation of a system. But then I see so many examples that 'uses' energy to do 'work'. But the question here is that if anything doesn't exist in this universe, then how can the same thing be used to do something that exist? My problem is that I didn't understood the topic 'energy' and all the other topics related to it (work, power etc.)",
"How to determine the genre of a song? I listen to many songs and I always wonder how the genre of a song is determined. Is it by listening to the song, or by the song's info like the artist, year released and so on?",
"Speed of light when accelerating 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?",
"Vertical line for the the right margin in Notepad++",
"Why is super.super.method(); not allowed in Java?",
"I covered hyperbolic trigonometric functions in a recent maths course. However I was never presented with any reasons as to why (or even if) they are useful. Is there any good examples of their uses outside academia?",
"Can Ubuntu use all my 4GB of RAM?",
"Received an email intended for another person",
"How to find \"file-release\" in OS X El Capitan 10.11.6? I can not find file-release through command line on OS X El Capitan Version 10.11.6. On my virtual machine in Ubuntu I can do \"ls /etc/*release\" and it shows me two files with all needed information: $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 (Maipo) $ cat /etc/os-release NAME=\"Red Hat Enterprise Linux Server\" VERSION=\"7.0 (Maipo)\" ID=\"rhel\" ID_LIKE=\"fedora\" VERSION_ID=\"7.0\" PRETTY_NAME=\"Red Hat Enterprise Linux Server 7.0 (Maipo)\" No idea how to find the file with release information on Mac. Please give me a hint or a hint how to search it?",
"How do I draw shapes inside a tikz node? I know how to draw different shapes using tikz, like this: \\documentclass{minimal} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} \\draw (0,0) ellipse (1 and 1.5) (0,2.5) circle (1) (2.5,0) circle (1.5); \\end{tikzpicture} \\end{document} However, I would like to put a number of different shapes together inside a node, and I couldn't yet find a simple way to do that. I will make a little figure to include in a large diagram which is already made of several nodes. If this is not possible, or not easy, then how do I include a JPG or EPS file in a node? Thank you!",
"Why aren't search engines indexing my content?",
"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$.",
"What is \"Go\" in cribbage? I've played a fair bit of cribbage, but I've never heard of scoring one point for \"Go\" (as mentioned in this other question: ). What is it, and what impact does it have on the game?",
"Is there a difference between \"==\" and \"is\"? My has failed me. In Python, are the following two tests for equality equivalent? n = 5 # Test one. if n == 5: print 'Yay!' # Test two. if n is 5: print 'Yay!' Does this hold true for objects where you would be comparing instances (a list say)? Okay, so this kind of answers my question: L = [] L.append(1) if L == [1]: print 'Yay!' # Holds true, but... if L is [1]: print 'Yay!' # Doesn't. So == tests value where is tests to see if they are the same object?",
"How can I find the method that called the current method?",
"How to delete all music on my iPhone How do I delete all the music on my iPhone. I tried doing it through iTunes but it says my collection is not managed by iTunes and I don't want to erase and sync because all my apps are nicely backed up and sorted with iTunes. I have only seen a way of deleting song by song on the phone.",
"Number reference headline I try to number the header of my references. I succeeded to add the number to the table of contents, but I can't get it to work for the header. To add the number to the toc I used: \\addcontentsline{toc}{section} \\protect\\numberline{\\thesection}References} If I try the same for \\refname, I get 5References without space. \\renewcommand{\\refname}{\\protect\\numberline{\\thesection References}} When I put the references title outside the curly brackets, it's shown in a new line. What am I missing here? The full bibliography call looks like this: \\renewcommand{\\refname}{\\protect\\numberline{\\thesection References}} \\addtocounter{section}{1} \\cleardoublepage \\phantomsection \\addcontentsline{toc}{section}{\\protect\\numberline{\\thesection}References} \\bibliographystyle{apacite} \\bibliography{bachelor} EDIT 1: As @TeXnician stated, a tilde would solve the problem. It is not very elegant, though, as I have to use approximatly three of them to get the same space as in the other headlines. \\renewcommand{\\refname}{\\protect\\numberline{\\thesection~~~References}} EDIT 2: @Werner suggested a shorter solution, but it throws multiple errors, when I try to integrate it into my .tex file. Here's a short reproducable example which replicates the errors. \\documentclass[12pt]{article} \\usepackage[utf8]{inputenc} \\usepackage[margin=1.1in]{geometry} \\usepackage{listings} \\usepackage{apacite} \\usepackage{natbib} \\begin{filecontents}{mybib.bib} @Article{draxler2010sample, author = {Draxler, Clemens}, title = {Sample size determination for Rasch model tests}, journal = {Psychometrika}, year = {2010}, volume = {75}, number = {4}, pages = {708--724}, publisher = {Springer}, } \\end{filecontents} \\begin{document} \\tableofcontents \\section{First Chapter} \\citep{draxler2010sample} \\let\\oldsection\\section% Store \\section in \\oldsection \\renewcommand{\\section}[2]{\\oldsection{#2}}% Update \\section to gobble * \\bibliography{mybib} \\bibliographystyle{apacite} \\appendix \\section{R Code} \\subsection{Greedings Function} \\begin{lstlisting} print(\"Hello World\") \\end{lstlisting} \\end{document}",
"make tail -f exit on a broken pipe I want to watch a file until a bit of text appears I found this answer: but when I tried it on ubuntu, it doesn't exit: $ echo one > test.txt $ echo two >> test.txt $ echo three >> test.txt $ echo four >> test.txt $ cat test.txt | sed '/w/ q' one two $ works as expected. however when I try to tail the file $ tail -f test.txt | sed '/w/ q' one two it never exits. tail does not stop even though the pipe is broken. Does anybody know how to make tail exit when sed exits?",
"MySQL strip non-numeric characters to compare"
] | medi_sts_stackexchange_dupe |
NullPointerException Error on simple program | What is a NullPointerException, and how do I fix it? | [
"is a simple way to script small GUIs. Can anyone give a nice example with a button and a text widget. When the button is pressed should a shell command be executed and the output piped to the text widget. If you have other nice and clean examples for useful tasks, please add them too.",
"Inferring father/son relationships from Senior (Sr.) / Junior (Jr.) naming? As in my other questions, I am investigating the spread of the Blackstone family name in early America. I came across the following tidbits and I would like to know if my interpretation is (likely to be) correct. In the \"All Kent County, Delaware Probate Records, 1680-1800\" collection on ancestry.com, we have the following items. In 1792, there was a will executed by Eben Blackiston, Sr. In 1794, there was a will executed by Ebenezer Blackiston, Jr. (and Abraham Redgrave). My question is simple. Is this enough evidence to reasonably conclude that there was a father/son combo of Ebenezer Blackistons living in Kent County, Delaware during the 1790s? This would be an interesting result for me as my current research only has two people by this name in the state at the time, and none of them were part of a Jr./Sr. combination. If this is not enough evidence, what are some other possibilities I need to consider?",
"Validate/verify PDF files integrity Is there any tool which I can run on the PDFs archives (all directories) and finally it lists/identifies the corrupt/invalid PDFs? I have hundreds of PDF files (related to documentation etc.) on my computer (Windows machine), and very often I receive/have to send dozens of PDFs via email. It is now a normal routine that the PDF I receive or send is corrupted. This creates serious trouble sometimes, when the source file (e.g. Word file or the Tex file) is missing/not available instantly. Checking these thousands of PDFs is not possible in finite time, so I have searched for a tool which I can run once and it would scan all PDFs (in directories and sub-directories), and finally I would get a list of files which I should re-create. Up to now, it seems there is no such tool.",
"My kids are playing Minecraft on 2 PCs, creative mode. They are connected by the way of one of them starts a single player game on the other one than joins that game over the LAN. Can I, using Minecraft PE on my iPad, join their game as well?",
"Backup of clients' directory to Windows Server 2008",
"Finding an expression for $\\tan (a+ b + y)$ which involves only $\\tan a, \\tan b,$ and $\\tan y$. How to find this ? I'm stuck at $1$ and how to $1$ to change the tangent associated with a,b or c. I meant this ,everybody. $\\frac{tan(a)+tan(b)+tan(y)−tan(a)tan(b)tan(y)}{1−tan(a)tan(b)−tan(a)tan(y)−tan(b)tan(y)}$",
"The final state of 1000 light bulbs switched on/off by 1000 people passing by There are 1000 light bulbs and 1000 tutors. All light bulbs are off. Tutor 1 goes flipping light bulb 1,2,3,4... tutor 2 then flips 2,4,6,8... tutor 3 then 3,6,9...etc until all 1000 tutors have done this. What is the status of light bulb 25? 93? 576? Is there a general solution to find out the status of any light bulb? How many light bulbs are on after all 1000 tutors have gone by? Not homework but a UK university interview question. Please help.",
"After Upgrade to Ubuntu 20.04: \"Oh no! Something went wrong\"",
"Full file date (without GNU utilities) I am trying to obtain the full date (created or modified) of a particular file for passing to another program. I have tried variations of options with the ls command but none provide a full date for files less than 6 months old and I have limit usage of the options. When I try certain options I have seen trying to research this I get the following message: usage: ls [-1ACFHLNRabcdefgilmnopqrstuxEUX] [File...] None of which seems to provide what I needs as far as I can tell so I tried to use the stat command but it is not available to me. I am using the Korn shell on AIX 5.3 which has limited commands available, can anyone suggest another way that I might be able to obtain a file's created or modified date as a full date (either dd/mm/yyyy or yyyy/mm/dd).",
"How to Micro Manage Manipulator",
"What desktop environments can group window icons in the taskbar like Windows 7? I find it much faster to identify a window in the taskbar (window list) by its icon, rather than by its text: The problem with most graphical interfaces I've is that they don't group windows, and if you have more terminals or file managers, they'll just clutter the taskbar and you won't know which is which. Windows 7 offers a relatively elegant solution to this by grouping similar window icons together. Question: What Linux have this functionality? If addons exist that provide it, that's alright. For reference, a Cinnamon applet that sort of does this is .",
"Why Lasso or ElasticNet perform better than Ridge when the features are correlated I have a set of 150 features, and many of them are highly correlated with each other. My goal is to predict the value of a discrete variable, whose range is 1-8. My sample size is 550, and I am using 10-fold cross-validation. AFAIK, among the regularization methods (Lasso, ElasticNet, and Ridge), Ridge is more rigorous to correlation among the features. That is why I expected that with Ridge, I should obtain a more accurate prediction. However, my results show that the mean absolute error of Lasso or Elastic is around 0.61 whereas this score is 0.97 for the ridge regression. I wonder what would be an explanation for this. Is this because I have many features, and Lasso performs better because it makes a sort of feature selection, getting rid of the redundant features?",
"showing a collection of sets contain all closed sets Let $X$ be infinite set and $a \\in X $. Let $$\\mathscr{F} = \\{ A \\subset X: |A| \\; \\; finite \\; \\;, a \\notin A \\}$$ Then $\\mathscr{F}$ is the set all of all closed sets for some topology $\\mathcal{T} $ on $X$. Also, any two continuous maps $f,g: (X, \\mathscr{T}) \\to Y$ ( $Y$ is metric space) have the property that if $f(b) = g(b)$ for all $b \\neq a $, then $f(a) = g(a)$. In my notes my professor posted this theorem without proof, so I was wondering what is best way to proof this theorem.",
"Since there are gravitational lenses, are there gravitational mirrors? Gravitational lensing is an observed phenomenon. Can one have a gravitational mirror? A slightly unrelated question: Can gravitational waves be reflected?",
"On iPhone it's very easy to clone an app (running multiple copies of the app on the same device); e.g.: Is it possible to do this on Android?",
"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?",
"Does anyone know of a script that can select all text references to URLs and automatically replace them with anchor tags pointing to those locations? For example: http://www.google.com would automatically turn into <a href=\"http://www.google.com\">http://www.google.com</a> Note: I am wanting this because I don't want to go through all my content and wrap them with anchor tags.",
"How strong is Superman on Krypton? When Superman goes back to visit his home planet (using his ability to travel through time, I guess), is he: an exceptionally strong and athletic Kryptonian? just an average Kryptonian male? a weakling on account of spending a lifetime in the comparative microgravity of Earth? A possibly related question: why is Superman so muscular? What kind of weights does he lift to stay in shape? The answers to are all about Superman's superpowers on Earth compared with other visitors from Krypton; I'm asking about Kal El without his superpowers. Clarification: I'm asking about the \"classic\" Superman, say late Golden to early Silver Age, roughly 1945-1960. (Yes, I know the concept evolved during those years.) I'm not sure what that would be in terms of \"numbered Earths\", those came along after my time. I'm pretty sure the Kryptonians of that era had no superpowers in their native milieu, nor would Kal El if he were deported in space-time to his native world.",
"Can you catch a native exception in C# code? In C# code can you catch a native exception thrown from deep in some unmanaged library? If so do you need to do anything differently to catch it or does a standard try...catch get it?",
"Interaction term positive while components are negative? I am confused about the interpretation of my interaction term , I have been through similar questions but I am still not sure about the interpretation that I should give to my output . So this is my model , Y stands for earnings management , X1 = CSR , X2=CEO duality , as you can see both of the coefficients are negative CSR reduces earnings management manipulation and Duality in my sample reduces em as well which is in line with the literature and confirm my hypothesis , but to my surprise my interaction term is positive and significant does that mean that CSR combined with duality increase EM ? Or that CEO duality moderates the effect of CSR on EM knowing that in papers that I've read, they only use" moderate "when the interaction term and the components are all negative . Could you please help me ? I am supposed to comment my results but I don"t understand this . Thank you"
] | medi_sts_stackexchange_dupe |
Wanted Ubuntu, got Mint | How do I install Ubuntu? | [
"Shell Type: >echo $SHELL /bin/ksh Cronjob : 15 * * * * /bin/ksh /wls_domains/resMGT/logs/bea/wlr3queuetransaction.sh > /wls_domains/resMGT/logs/bea/data/script.log The script is as below: ##log files and lookup file \"wlr3queue.txt\" are in the same path of the script ##/wls_domains/resMGT/logs/bea/wlr3queuetransaction.sh Script : #!/bin/ksh dt=`date +%Y-%m-%d` xy=`date|awk '{print $4}'|awk -F\":\" '{print $1}'` yz=`expr $xy - 1` if [ $yz -le 9 ] then yz=0$yz fi if [ $xy -gt 0 ] then for i in `cat wlr3queue.txt` do sum=0 count=`gzgrep -i \"$dt\" admin_resMGT_access.log* | grep \"$yz:[0-5][0-9]\" | grep \"$i\" | wc -l` if [ $count -gt 0 ] then name=`echo $i | cut -d'/' -f3` gzgrep -i \"$dt\" admin_resMGT_access.log* | grep \"$yz:[0-5][0-9]\" | grep \"$i\" | awk '{print $8}' > consumed_time.txt for j in `cat consumed_time.txt` do j_ms=`echo \"$j * 1000\" | bc` echo $j_ms >> consumed_ms_time.txt done for k in `cat consumed_ms_time.txt` do sum=`echo \"$sum + $k\" | bc` done avg=`echo \"scale=2; ($sum/$count) \"| bc` min=`cat consumed_ms_time.txt | sort -n | head -1` max=`cat consumed_ms_time.txt | sort -n | tail -1` else avg=0 min=0 max=0 fi ( echo $yz\",\"$count\",\"$avg\",\"$min\",\"$max )>>/wls_domains/resMGT/logs/bea/data/$name$dt.csv rm -f consumed_ms_time.txt done else echo \"script won't execute at this hour\" > temp.txt fi I have executed the following commands and the script ran successfully. ./wlr3queuetransaction.sh sh -x wlr3queuetransaction.sh /bin/ksh /wls_domains/resMGT/logs/bea/wlr3queuetransaction.sh /bin/ksh/ wlr3queuetransaction.sh. How to debug? What to do?",
"Auto-run scripts security options",
"Redirect Restricted Page to 404 Is there a way to show a 404 page if the current logged in user does not have the right clearance to view the page? I am looking for a PHP method, something like if( !current_user_can('administrator') ) { show_404(); exit(); } I have thought about using a redirect, but I would like to keep the url the same.",
"Word for an event that will likely never happen again I've read , but none of them are what I am looking for. I once read a book that used a word to describe an event that has happened in the past, but the odds were so astronomical that it will likely never happen a second time. The context I read these words in were the creation of the first life on earth (without any theological ideas). Basically, the text said that the scenario for the creation of the first living organism happened on a planet where conditions were just right by complete chance, and that the odds of this were so astronomical that it would likely never happen again anywhere in the universe over any length of time. Sample sentence: \"The creation of the first organisms was incredibly unlikely, the event can be called a _________ event, or an event that will likely never happen again.\" I can't pretend to understand the validity of the claims by the text, but the words they used to describe these events were quite clever (and scientific sounding) that it would make a fun hyperbole. I thought it was something along the lines of singularity event, but that doesn't sound quite right.",
"Do community and moderator deletes penalize in the same way that self-deletes do?",
"example: a_list = [1, 2, 3] a_list.len() # doesn't work len(a_list) # works Python being (very) object oriented, I don't understand why the 'len' function isn't inherited by the object. Plus I keep trying the wrong solution since it appears as the logical one to me",
"My wife was just issued a multiple entry visa by France, which is good for one year. Our first trip will be to France, the issuing country. My question is: after we leave the EU and return, must future trips also start in France? Or may we go directly to (say) Greece from the US on a later visit?",
"Using Perl to change the url homepage for Internet Explorer",
"$\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$. I've tried, but I can't solve the question. Please help me prove that: $\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$.",
"A function $f : I \\rightarrow \\mathbb R$ on an interval $I$ is convex if $f((1-t)x+ty)\\le (1-t)f(x)+tf(y), \\forall x,y \\in I, t \\in [0,1]$ Assume now that $I$ is an open interval. Show that if $f$ is convex then for each $c \\in I$ there exists $m \\in \\mathbb R$ such that $m(x − c) + f(c) \\le f(x)$ for all $x \\in I$ , and if in addition $f$ is differentiable at $c$ then $f'(c)$ is the unique $m$ that works. In general, must m be unique? (we have previously shown that convex functions are continuous) I think I'm missing the point of the question. Surely, by the mean value theorem we can find some $y\\in (x,c)$ such that $f'(y)=\\frac{f(x)-f(c)}{x-c}$ setting $m=f'(y)$ we get $m=\\frac{f(x)-f(c)}{x-c}, m(x-c)+f(c)=f(x)$ such an $m$ fits the inequality we're asked to show. I also cannot see why $f'(c)$ would be the unique solution or why we would ever get a unique solution of the inequality at all for that matter. Clearly I'm misunderstanding the question, so if someone could point out where I would appreciate that. Thank you",
"Why is gradient the direction of steepest ascent?",
"What should be created first in a video game?",
"Question: A man like you should not do this, _______? Which question tag should I use in the blank space? should he? should you? Which would be grammatically correct? I think 1 is true.",
"What are the relationship between administrators groups of domain, dev computer and of Sharepoint services? I know-know I can search and read but anyway I would need to ask in order to escape possible typos, personal misunderstandings and to better remember. I develop on a machine with installed Sharepoint 2010 Sever where I have local groups: Administrators Description: Administrators have complete and unrestricted access to the computer/domain WSS_Admin_WPG Description: Members of this group have write access to system resources used by Microsoft SharePoint Foundation **Does the description of \"Administrators\" (\"computer/domain\") imply all privileges of \"WSS_Admin_WPG\" ? Does the description of **WSS_Admin_WPG (in part of \"system resources used by Microsoft SharePoint Foundation\") imply Sharepoint Server?** The WSS_Admin_WPG group has entries of: \"BUILTIN\\Administrators (S-1-5-32-544)\" group and some user domain accounts Is \"BUILTIN\\Administrators (S-1-5-32-544)\" group the same (alias to?) as \"BUILTIN\\Administrators\" entry I observe among Sharepoint Farm Administrators (through \"Central Administration\")? Is the entries of domain accounts excessive (or necessary) in \"WSS_Admin_WPG\" if these accounts make part of \"Administrators\" group? in \"Farm Administrators\" if these accounts are part of \"BUILTIN\\Administrators (S-1-5-32-544)\" group? What are relationship (difference) between \"BUILTIN\\Administrators\" and \"Administrators\"?",
"While writing a proposal at work today I needed to mention a list of things and within that list were multi-part items. It seems like replacing the comma with a semi-colon in this situation would make the sentence easier to understand, but is it correct usage? With standard punctuation this could get confusing: Some of my favorite things to do are camping, playing football and baseball, watching Laurel and Hardy Movies, and traveling. Proposed alternative. Is this acceptable usage? Some of my favorite things to do are camping; playing football and baseball; watching Laurel and Hardy Movies; and traveling.",
"Let's say I use a with a lot of code inside. To improve readability and reusability I'd like to use helper/private methods. However, a Drupal .module file is not a class. The idea is to split big methods from this file into more readable and reusable smaller methods. What is the correct way to call helper/private methods from a Drupal .module file?",
"Deseasonalizing count data I used stl() in R to decompose count data into trend, seasonal & irregular components. The resulting trend values are not integers anymore. I have the following questions: Is stl() an appropriate way to deseasonalize count data? Since the resulting trend is not interger valued anymore, can I use lm() to model the trend components?",
"How to select an index value from a String Array in a JOptionPane",
"How to pronounce fractions with denominators larger than 20 where the last digit of the denominator is 1 or 2? eg 4/31 Disclaimer: I speak British English. I've noticed a lot of differences between the way Americans and Brits pronounce numbers.1 Since the question concerns this, I thought it might be appropriate to draw attention to it case we inadvertently confuse each other. My question is not about these differences, I just wish to highlight them in case they cause confusion. 1. You seem to happily call a quarter \"a fourth\" sometimes, we always call 131 \"one hundred and thirty one\", we pronounce double digits in phone numbers like 12449 as \"one two double four nine\", and I think we are much more likely to use expressions like \"thirteen hundred\" to mean 1300. Question When talking about fractions, I have frequently heard 1/2 a half 1/3 a third 1/4 a quarter 1/8 an eighth 1/64 a sixty fourth 1/56 a fifty sixth etc. Essentially the rule seems to be that, except for \"a whole\", \"a half\", and \"a quarter\", the word matches the ordinal number; that is to say: Numeral Ordinal Fractional one first whole two second half three third third four fourth quarter five fifth fifth six sixth sixth fifty-seven fifty-seventh fifty-seventh Even though 1/4 is a quarter, 1/64 is a sixty-fourth. So what’s 1/62? A sixty-twoth? A sixty-second? Surely not a sixty-half! I know that simply saying one over sixty-two can usually work, but I'm asking specifically for the word itself, i.e. if I divide a huge pizza into 21 pieces, what are the pieces? Other than baker’s twentieths. Summary: Can anyone point me to any sources (whether style guides or common usage studies or anything else) that discuss the pronunciation of fractions; specifically one that discusses this separately from ordinal numbers, rather than how to form ordinal numbers in the first place.",
"Prove that there are $p+1$ points on the elliptic curve $y^2 = x^3 + 1$ over $\\mathbb{F}_p$, where $p > 3$ is a prime such that $p \\equiv 2 \\pmod 3$. Let $p > 3$ be a prime such that $p \\equiv 2 \\pmod 3$. Define the elliptic curve $E$ over $\\mathbb{F}_p$ by $y^2 = x^3 + 1$. Prove that $E(\\mathbb{F}_p)$ consists of $p+1$ points. Using Fermat's little theorem you can prove that $x^3 + 1$ is a bijection on $\\mathbb{F}_p$. Hence, $$\\#E(\\mathbb{F}_p) = \\#\\{(x,y) \\in \\mathbb{F}_p^2 : y^2 = x^3 + 1\\} + \\#\\{\\infty\\} = \\#\\{(x,y) \\in \\mathbb{F}_p^2 : y^2 = x\\} + 1.$$ But then I am stuck trying to prove that $y^2 = x$ has $p$ solutions $(x,y) \\in \\mathbb{F}_p^2$."
] | medi_sts_stackexchange_dupe |
Is the use of username/password in a mobile app needed? | Is it OK to require users to have a third party login account? | [
"replacing the default console emulator under Windows XP How can I replace the default program providing console windows under Windows XP? I know of , and I have a shortcut to start cmd.exe in . But now I want console applications to start in Console2 rather than the default console program, even when I have no control over the program that starts the console application. (I.e. a non-console program starts consoleapp.exe, and I can't change it to start Console2 instead, but I still want the application to be started inside a new instance of Console2.) (Note that I want to replace the console itself, that is, the window in which console (i.e. text mode) applications run. And I must be able to run arbitrary, unmodified console applications: a substitute for a specific console program such as Cmd won't do me any good.) EDIT: So what I'm after is a , which OT: I want to know when Microsoft is going to make a decent CSRSS replacement. Not being able to adjust the width of a \"terminal\" by resizing the window is a complete joke. Go download the ISE already. (It's included in Win7/2008R2.) But as far as I understand this ISE is an , not a general console emulator.",
"In bash, how can I convert a Unicode Codepoint [0-9A-F] into a printable character? I have a list of Unicode codepoints, but I don't know of a \"simple\" way to convert these hex values into the actual characters they represent... I've heard that zsh has echo -e '\\u0965', but I use bash 4.1. Is there something as simple as the zsh method, for bash?",
"Will inverse functions, and functions always meet at the line $y=x$? If I have a function, the inverse function, by definition will be a reflection of the original function in the line $y=x$, so if I wanted to find the point of intersection, instead of solving it with equating both of the functions to equaling each other, could I assume that the point of intersection, between the two functions, will always be at the point $y=x$? This would enable me to solve problems much easier, instead of having to solve quartic equations, for example.",
"$f \\in {\\mathscr R[a,b]} \\implies f $ has infinitely many points of continuity.",
"How to increase JAVA Heap Size?",
"How do I add a Pokestop to an area that has none? It is an area where there are tons of businesses but unless I drive about a mile from my work area there are no Pokestops. I want to add one since we have 1000's of people in the work area, a lot of them play Pokemon Go, and we all can't leave work to drive a mile away to get to a Pokestop area. Plus it would be nice to be able to capture Pokemon on our breaks.",
"SQL Index Performance - ASC vs DESC",
"Has user testing found that the \"three horizontal bars\" for main menu on mobile is commonly understood? \"Three horizontal lines\" aka \"hamburger icon\" seems to be becoming a convention for the \"main menu\" button, especially on mobile sites: Has anyone done any user testing of this convention, or got any A/B testing results? (i.e. is there an increase in bounce rate compared to using the word \"Menu\"?) I did some quick user testing with wireframes featuring this icon for the main menu. 3 out of 6 people got it and used it. The others did not. One person in particular had a lot of trouble \"getting back to the top\" (i.e. restarting their navigation from the top level of the site) as they didn't know about the convention, or that the logo would link to the home page. I guess it will be different for different demographics - users of Facebook on mobile probably know it. Anyone got any findings they can share?",
"Why does the /winsxs folder grow so large, and can it be made smaller? A Vista virtual machine I use only has a 10 GB virtual hard disk -- and I'm worried about it running out of space over time. I used to check for the culprits.. And the primary culprit is that /winsxs or "Windows Side-By-Side" folder. What is the Windows Side By Side folder? Well, that's . All of the components in the operating system are found in the WinSxS folder – in fact we call this location the component store. Each component has a unique name that includes the version, language, and processor architecture that it was built for. The WinSxS folder is the only location that the component is found on the system, all other instances of the files that you see on the system are “projected” by hard linking from the component store. Let me repeat that last point – there is only one instance (or full data copy) of each version of each file in the OS, and that instance is located in the WinSxS folder. So looked at from that perspective, the WinSxS folder is really the entirety of the whole OS, referred to as a "flat" in down-level operating systems. This also accounts for why you will no longer be prompted for media when running operations such as System File Checker (SFC), or when installing additional features and roles. That explains why the folder starts off big, but not why it gets larger over time – the answer to that question is servicing. In previous versions of Windows the atomic unit of servicing was the file, in Windows Vista it’s the component. When we update a particular binary we release a new version of the whole component, and that new version is stored alongside the original one in the component store. The higher version of the component is projected onto the system, but the older version in the store isn’t touched. The reason for that is the third part of why the component store gets so large. Lots of other people : A coworker recently received his every two year work laptop refresh and was in the middle of loading his new laptop with Vista. For some reason, his hard drive C: was partitioned to only 25GB and the rest of the space reserved for a much larger drive D:. Anyway, after loading many Windows Updates, he was left with hardly any drive space left on C:, and for some reason, the WinSxS directory had ballooned to over 8GB. While I knew what the WinSxS (Windows Side-by-Side) directory was for, I wasn't quite sure why that directory would explode in size so fast with normal operating system updates. I don't really care about having all these duplicate files for safety, but I do care about the VM exploding due to an out of disk space error. So.. can /winsxs be safely pared down in any way? .. Administrators should not, for any reason, take it upon themselves to clean out the /winsxs directory - doing so may prevent Windows Update and MSI from functioning properly afterwards. Preventing accidental deletion from the directory is accomplished by putting a strong security descriptor on the directory that inherits to its children. If this /winsxs folder gets any larger, I'm going to have to re-image this virtual machine.. which I really don't want to do!",
"Visual Studio: How to break on handled exceptions? I would like Visual Studio to break when a handled exception happens (i.e. I don't just want to see a \"First chance\" message, I want to debug the actual exception). e.g. I want the debugger to break at the exception: try { System.IO.File.Delete(someFilename); } catch (Exception) { //we really don't care at runtime if the file couldn't be deleted } I came across notes for Visual Studio.NET: 1) In VS.NET go to the Debug Menu >> \"Exceptions...\" >> \"Common Language Runtime Exceptions\" >> \"System\" and select \"System.NullReferenceException\" 2) In the bottom of that dialog there is a \"When the exception is thrown:\" group box, select \"Break into the debugger\" 3) Run your scenario. When the exception is thrown, the debugger will stop and notify you with a dialog that says something like: \"An exception of type \"System.NullReferenceException\" has been thrown. [Break] [Continue]\" Hit [Break]. This will put you on the line of code that's causing the problem. But they do not apply to Visual Studio 2005 (there is no Exceptions option on the Debug menu). Does anyone know where the find this options dialog in Visual Studio that the \"When the exception is thrown\" group box, with the option to \"Break into the debugger\"? Update: The problem was that my Debug menu didn't have an Exceptions item. I customized the menu to manually add it.",
"Why is $l^\\infty$ not separable?",
"Finite $G$ with involutory automorphism $\\alpha$ with no nontrivial fixed points. Proving properties of $\\alpha$. The question at hand is: Let G be a finite group and $\\alpha$ an involutory automorphism of G, which doesn't fixate any element aside from the trivial one. 1) Prove that $ g \\mapsto g^{-1}g^{\\alpha} $ is an injection 2) Prove that $\\alpha$ maps every element to its inverse 3) Prove that G is abelian I think I've found 1). I assume $ g_1^{-1}g_1^{\\alpha} = g_2^{-1}g_2^{\\alpha} $ and from this I get $ (g_2g_1^{-1})^\\alpha = g_2g_1^{-1} $, so $g_2 = g_1$ (is this correct?) For 2) I'm sort of stumped though, not sure how to start proving that, so any help please?",
"Ubuntu 14.04 LTS fails to start with a kernel panic",
"For what longest possible time it was possible to hold light in a closed volume with mirrored walls? I would be most interested for results with empty volume but results with solid-state volume may be also interesting.",
"Writing comments in QGIS Graphical Modeler I want to explain my model step by step so anyone can easely understand what's going on. So, is it possible to write comments in the QGIS's Graphical Modeler?",
"How do I set the page title? I know I could change the page title with drupal_set_title(t('Amy page title')), but when I try it in Drupal 8 I get the There is no such function error. How can I change page title in Drupal 8?",
"What is polymorphism, what is it for, and how is it used?",
"I was looking at the decomposition of Fibonacci numbers using the definition of $F_n = F_{n-1} + F_{n-2}$, and noted the pattern in the coefficients of the terms were Fibonacci numbers. It appears to hold, and I believe it's true, but I haven't seen a proof for it. Does one exist? $F_n = 1F_{n-1} + 1F_{n-2}$ $F_n = 2F_{n-2} + 1F_{n-3}$ $F_n = 3F_{n-3} + 2F_{n-4}$ $F_n = 5F_{n-4} + 3F_{n-5}$ etc This can be generalized to $F_n = F_xF_{n-(x-1)}+F_{x-1}F_{n-x}$",
"Showing a number $n$ is prime if $(n-2)! \\equiv 1 \\pmod n$",
"Can an Indian travel to India with 50 days before passport expires? My wife is travelling from Philadelphia to India in January 2019 and, on her outbound trip, she will only have 50 days validity left on her passport. However, while in India, she will be renewing her passport. The reply from a similar question seems to answer point 1 below, but I wanted a second opinion to be sure. Here are the questions we have: Can she travel from the US to India via Doha, Qatar with passport validity of only 50 days? Can we make a reservation on Qatar Airways for the roundtrip travel using her current passport and before the return from India to the US update passport information on the reservation?"
] | medi_sts_stackexchange_dupe |
User input String value does not work for do while loop in java | How do I compare strings in Java? | [
"Is it possible to prove $g^{|G|}=e$ in all finite groups without talking about cosets?",
"UITableView cells strangely disappearing",
"Application of Kolmogorov's Zero-One Law Most of the books I read, they only state some examples of tail events. One of them is $[\\sum_n X_n \\ converges]$. My main problem is to show that this is indeed a tail event.",
"Forcing linebreaks in \\url This question led to a new package: I wish to typeset some relatively long URLs in a piece of text, and when I use \\url{..}, the resulting text does not respect the margin boundaries that govern the main text body, instead going all the way to the edge of the paper before wrapping around. For reference, my preamble looks like this: \\documentclass[12pt]{article} \\usepackage{mathptmx} \\usepackage{fullpage} \\usepackage[pdftex]{hyperref} and example of the url I'm including is: \\begin{itemize} \\item Some text \\url{very-long-url} ... \\end{itemize} I'm compiling using pdflatex, although I doubt this makes a difference.",
"Should I not answer my own questions?",
"I have a question related to deletion of strings that appear at the n+2 position after the matched string which is at position n using awk for multiple files. I am able to print it using the command: awk -F '/radius-server/{nr[NR+4]}; NR in nr' * Where the matched string is radius-server. Since I'm not too familiar with awk I would appreciate it if someone could help me delete this line in place , that would mean that I want the files to be modified and saved after the deletion is done. An example scenario is below - file 1 which is unmodified radius-server dz7HQQH4EqT5 1645-1646 ! oj5icqh1dGpSK ! alias exec t telnet alias exec sis show interface status ! file 2, after modification is - radius-server dz7HQQH4EqT5 1645-1646 ! ! alias exec t telnet alias exec sis show interface status ! I understand that I can do a pattern matching method using sed -i '/pattern/d' to remove it but that is not what I want as the values change from file to file. Any help would be much appreciated.",
"Why can Naruto still use Rasenshuriken? When Naruto first used Rasenshuriken against Kakuzu the effect was massive. He destroyed two of Kakuzu's hearts, but there were a huge after effect to him. If I'm not mistaken, Tsunade advised Kakashi to ask Naruto never to use the technique again due to the huge risk. So why is Naruto still able to use the technique and have no side effects after that battle? I may have missed out on something.",
"How do I invoke a private static method using reflection (Java)?",
"I was doing the problem $$ A+B=AB\\implies AB=BA. $$ $AB=BA$ means they're invertible, but I can't figure out how to show that $A+B=AB$ implies invertibility.",
"Many times I have read statements like, \"the age of the universe is 14 billion years\" . For example this wikipedia page . Now, my question is, which observers' are these time intervals? According to whom 14 billion years?",
"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",
"Product of binomial coefficient as a basis",
"Error - SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM",
"How can I determine whether my processor is 32-bit or 64-bit? My processor is AMD Phenom 8450 triple-core.",
"Why should the first person pronoun 'I' always be capitalized? Why should we capitalize the first person pronoun 'I' even when it does not appear at the beginning of a sentence? Why is it not the case for other pronouns?",
"LLC-SCorp to self - actually, does the corp pay payroll taxes? In the USA. Here are the two common scenarios for the self-employed: A. Joe makes 100,000 over the year. It's paid to him as 1099 payments from his various clients. Joe pays the many taxes on that. B. Joe makes 100,000 over the year. He has an LLC as SCorp (or maybe an SCorp per se). The clients pay $100,000 to the entity JoeCorp. JoeCorp pays Joe a certain salary (it might be the whole 100,000, or, it might be (let's say) half of that and the rest is taken as profit distribution, not relevant here). So, JoeCorp (his LLC) pays Joe say $50,000. In fact: does JoeCorp have to pay \"payroll taxes\" on that?? Does it perhaps make a difference if it is an LLC with S-Corp election v. S-Corp? (I realize there are many questions on here about \"1099 v. corp\" .... but I've never really understood this and can't seem to google it up.)",
"How to clean an E: drive (new Recovery drive since Windows 10 1803) on HP laptop",
"Proof of triangle inequality",
"I currently have Windows 7 on my computer and I want to install Ubuntu alongside Windows safely. Could someone please provide clear instructions?",
"I have few methods that returns different Generic Lists. Exists in .net any class static method or whatever to convert any list into a datatable? The only thing that i can imagine is use Reflection to do this. IF i have this: List<Whatever> whatever = new List<Whatever>(); (This next code doesn't work of course, but i would like to have the possibility of: DataTable dt = (DataTable) whatever;"
] | medi_sts_stackexchange_dupe |
Italicizing placeholder using css pseudo elements does not work if css is written in a single line | Why isn't it possible to combine vendor-specific pseudo-elements/classes into one rule set? | [
"How to determine the current widget's parent container (sidebar widget id)",
"I have a div 200 x 200 px. I want to place a 50 x 50 px image right in the middle of the div. How can it be done? I am able to get it centered horizontally by using text-align: center for the div. But vertical alignment is the issue..",
"proving how many permutations exist. Show that the number of permutations of n numbers, for n ≥ 2, with two cycles is at most (n−1)!logn. Unsure as to were to start any help would be appreciated.",
"Query Feature and Usage based entitlements license I need to query programmatically the Feature license and usage-based license which is available in UI. Could someone please highlight if we can query the same or is it available in UI only, Thanks.",
"How to compute the series: $\\sum_{n=0}^{\\infty} (-1)^{n-1}\\binom{1/2}{n}$",
"How can I search for one label but not another? What search query will return conversations that have the label Reading but not the label Ignore? I've tried using label:reading -label:ignore but Gmail still returns conversations that have the label Ignore: The query label:(reading -ignore) gives me the same results.",
"Calculate the components of a unit vector that lies in the xy-plane and makes equal angles with the positive directions of the x- and y-axes It's just a doubt. $\\vec { A } = A \\hat{ x } + A\\hat { y} $ $ A\\hat { y} =A\\hat{ x} $ $\\vec { A } = A \\hat { x } + A\\hat { x} $ Now finding the magnitud of the vector, $A=\\frac { 1 }{ \\sqrt { 2 } } $ So the components of the unit vector are: $\\vec { A } = \\frac { 1 }{ \\sqrt { 2 } } \\hat { x } +\\frac { 1 }{ \\sqrt { 2 } } \\hat { y} $ Is my answer right?",
"The problem: Assume $f: \\mathbb{R} \\rightarrow \\mathbb{R}$ satisfies $|f(t) - f(x)| \\leq |t - x|^2$ for all $t, x$. Prove $f$ is constant. I believe I have some intuition about why this is the case; i.e. if $t$ and $x$ are very close, ($|t - x| = \\epsilon$), then $\\sqrt{\\epsilon}$ will converge to 0, so $|f(t) - f(x)|$ will also converge to zero if you keep taking $t$ and $x$ closer and closer to each other. However, how do I formalize this argument? Thanks.",
"QGIS 2.99 \"qgis._core import error: DLL load failed\" I am trying to run a standalone application. However, it does not run the program because of mentioned error in title. Here is my code: from qgis.core import * from qgis.gui import * from qgis.utils import * from PyQt5.QtCore import * from PyQt5.QtGui import * app = QgsApplication([], True) path = \"C:/OSGeo4W64/apps/qgis-dev\" app.setPrefixPath(path, True) app.initQgis() canvas = QgsMapCanvas() title = \"PyQGIS Standalone Application Example\" canvas.setWindowTitle(title) canvas.setCanvasColor(Qt.white) layer_info = 'LineString?crs=epsg:4326' layer = QgsVectorLayer(layer_info, 'MyLine', \"memory\") pr = layer.dataProvider() linstr = QgsFeature() wkt = \"LINESTRING (1 1, 10 15, 40 35)\" geom = QgsGeometry.fromWkt(wkt) linstr.setGeometry(geom) pr.addFeatures([linstr]) layer.updateExtents() QgsProject.instance().addMapLayer(layer) canvas.setExtent(layer.extent()) canvas.setLayers([layer]) canvas.zoomToFullExtent() exitcode = app.exec_() QgsApplication.exitQgis() sys.exit(exitcode) When I run it, I get this error: Traceback (most recent call last): File \"C:/Users/DELL/Desktop/MyMap/myMap.py\", line 1, in <module> from qgis.core import * File \"C:\\OSGeo4W64\\apps\\qgis-dev\\python\\qgis\\__init__.py\", line 72, in <module> from qgis.core import QgsFeature, QgsGeometry File \"C:\\OSGeo4W64\\apps\\qgis-dev\\python\\qgis\\core\\__init__.py\", line 34, in <module> from qgis._core import * ImportError: DLL load failed: The specified module could not be found. Python version is: 3.6 PyQt version is: PyQt5.9 Windows 10 - 64bit I also add many path: %SystemRoot%\\system32 %SystemRoot% %SystemRoot%\\System32\\Wbem %SYSTEMROOT%\\System32\\WindowsPowerShell\\v1.0\\ C:\\OSGeo4W64 C:\\OSGeo4W64\\apps C:\\OSGeo4W64\\apps\\gdal-dev C:\\OSGeo4W64\\apps\\gdal-dev\\bin C:\\OSGeo4W64\\apps\\gdal-dev\\pymod3\\Lib\\site-packages C:\\OSGeo4W64\\apps\\grass\\grass-7.2.2\\bin C:\\OSGeo4W64\\apps\\Python36 C:\\OSGeo4W64\\apps\\Python36\\Scripts C:\\OSGeo4W64\\apps\\Python36\\DLLs C:\\OSGeo4W64\\apps\\Python36\\lib\\site-packages C:\\OSGeo4W64\\apps\\qgis-dev C:\\OSGeo4W64\\apps\\qgis-dev\\bin C:\\OSGeo4W64\\apps\\qgis-dev\\lib C:\\OSGeo4W64\\apps\\qgis-dev\\python C:\\OSGeo4W64\\apps\\qgis-dev\\python\\qgis C:\\OSGeo4W64\\apps\\Qt5 C:\\OSGeo4W64\\apps\\Qt5\\lib C:\\OSGeo4W64\\bin C:\\OSGeo4W64\\apps\\qgis-dev\\python C:\\OSGeo4W64\\apps\\Python36\\lib C:\\OSGeo4W64\\include C:\\Users\\Mustafa Uçar\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default C:\\Users\\Mustafa Uçar\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\QGIS How can I fix this error?",
"Is there an English phrase for an inability to actually *leave* already? There is a Hungarian expression, küszöbgörcs, which literally means \"threshold-cramp\", and is used to describe that long conversation you have in the entryway, with all the guests awkwardly holding their coats and purses, and every so often somebody says something like \"Ok, we really have to leave now, but just one more thing...\", and then the conversation is good for another half an hour at least. I've searched in vain for an equivalent idiom in English, yet I feel sure it must exist: I know English speakers are equally susceptible to this malady, it's not a uniquely Hungarian thing. I will sometimes use literal translations, like the aforementioned threshold-cramp (or doorway-spasm), but then I need to explain it, and that's less than satisfactory. (Plus it leads to more threshold cramping.)",
"Apparently, $$ \\sum_{n = 0}^\\infty \\frac{n}{2^n} $$ converges to 2. I'm trying to figure out why. I've tried viewing it as a geometric series, but it's not quite a geometric series since the numerator increases by 1 every term.",
"I just visited and noticed that my profile picture is not the same as on all other sites. According to the image will be synchronized when synchronizing the complete profile. I did that but the image is still the same. Then I wanted to change the image in the Area51 profile directly - but I can only change to a gravatar image and can't use the new and fancy Stack Exchange image. Is that a bug?",
"Integral $\\int^{ \\pi /2}_{0} \\ln (\\sin x)\\ dx$ $$\\int^{ \\pi /2}_{0} \\ln (\\sin x)\\ dx$$ The answer is $- \\frac{\\pi}{2} \\ln 2$. I have changed it into $$\\frac{1}{2} \\int^{1}_{0} t d \\ln t^{2}$$ But I didn't get the answer with it.",
"Approximation of real number to the power of irrational Say I have two numbers, $c\\in\\Bbb R^+\\,,q\\in\\Bbb{R\\setminus Q}$. Is there a way to approximate the value of $c^q$? This question bugging me because of how simple it sound in compare to how complicated it is. First I want to understand what a power of irrational number is, when talking about $\\Bbb R^+$(I use this domain for sake of simplicity) we have very well defined actions for power a rational number, we can even use some theorems to get $c^{a/b}=\\sqrt[b]{c^a}$, but when I am dealing with irrational number I can not do this. I know that we have some definition for this because the solution of the equation $2^x=3$ is irrational. So what exactly does it mean to take something to a irrational power and is there a way to approximate a numeric value for this?",
"Spheres with csv file",
"Using awk to sum the values of a column, based on the values of another column I am trying to sum certain numbers in a column using awk. I would like to sum just column 3 of the \"smiths\" to get a total of 212. I can sum the whole column using awk but not just the \"smiths\". I have: awk 'BEGIN {FS = \"|\"} ; {sum+=$3} END {print sum}' filename.txt Also I am using putty. Thank you for any help. smiths|Login|2 olivert|Login|10 denniss|Payroll|100 smiths|Time|200 smiths|Logout|10",
"Is it appropriate to ask questions about software licenses/licensing on ? Or is the appropriate place ? Or is there no appropriate site currently and we should suggest such a site on ?",
"How do we use drupal_add_library(), drupal_add_css() and drupal_add_js()? How do I use drupal_add_library(), drupal_add_css() and drupal_add_js() in Drupal 8? I am porting a module that uses those functions. I am following what reported in , which says these functions have been removed in favor of #attached, but I am not able to attach these files to my configuration page. The error I am getting is the following: Uncaught PHP Exception LogicException: \"You are not allowed to use js in #attached\" How do I attach CSS and JavaScript to a page?",
"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.",
"I need to clip a vector layer to the extent of a raster. It has to be very precise that's why I would not want to draw a polygon myself (and clip the two polygons). There seem to be some ways to clip a raster to a polygon but I have difficulties to find a solution to clip a polygon to a raster. I already tried to create a polygon out of my raster several times in ArcGIS and R, so I could clip the result. But every time it crashes because the raster is to big. There must be a simple way to solve this, and somehow I can just not see it at the moment. How can I do this using GDAL?"
] | medi_sts_stackexchange_dupe |
How to install .deb file in ubuntu using terminal? | How do I install a .deb file via the command line? | [
"I'm trying to find a movie with an underground facility with people wearing white suits. The people have been affected such that they show no curiosity. There is one person that does and asks one of his co-workers where a tube leads to. At the end there is an uprising where everyone gets to see the surface and sunlight. What is the name of this movie?",
"Study the following limit: $$ \\lim\\limits_{ (x,y,z) \\to (0,0,0) } \\frac{xy-z^2}{x^2+y^2+z^2} $$ I'm not sure if this way of proving that the limit does not exist is correct so I'm this is basically for a proof verification. Approaching $(0,0,0)$ through the plane $z=0$, then the limit becomes $$ \\lim\\limits_{ (x,y) \\to (0,0) } \\frac{xy}{x^2+y^2} $$ Now this limit does not exist, because approaching $(0,0)$ through the line $y=0$, the limit becomes $$ \\lim\\limits_{ x \\to 0 } \\frac{0}{x^2} =0$$ But if we approach $(0,0)$ through the line $y=x$ we have that $$ \\lim\\limits_{ (x,x) \\to (0,0) } \\frac{x^2}{2x^2}=\\lim\\limits_{ (x,x) \\to (0,0) } \\frac{1}{2} =\\frac{1}{2}$$ So the limit $ \\lim\\limits_{ (x,y) \\to (0,0) } \\frac{xy}{x^2+y^2} $ doesn't exist. This means that the limit we began with doesn't exist, correct?",
"Clean install of Windows 10 OEM: license key issues?",
"Derivative of determinant of a matrix I would like to know how to calculate: $$\\frac{d}{dt}\\det \\big(A_1(t), A_2(t), \\ldots, A_n (t) \\big).$$",
"Can you explain this word to me? Can I rephrase it as Can you explain me this word?",
"What's the subject of \"There is my biscuit!\" ? And how about \"There is one biscuit left\"? What's the subject, grammatically speaking, of these sentences? There is my biscuit! My biscuit is there! There is one biscuit left. I don't really know how to analyze these. The following observations seem to be relevant, though: The verb to be doesn't take an object. In the first two sentences, there is a demonstrative pronoun. It is therefore potentially a subject, I think. I don't know what part of speech is taken by there in the third sentence. In favour of reading my biscuit and one biscuit as the subjects is that if there were more than one biscuit then, in each case, the verb would become plural (There are my biscuits! etc.) In favour of reading one biscuit as the subject of the third sentence is that if we recast it as (the slightly unidiomatic) There remains one biscuit, it seems that one biscuit would have to be the subject. All of this leads me tentatively towards thinking that my biscuit and one biscuit are the subjects here, but I'm not totally confident about this. One other possibility: since to be doesn't take an object, does that mean it can have two subjects? In I am he, presumably both I and he are subjects, if neither is an object?",
"How do I increase my code coverage, or why can't I cover these lines?",
"I recently upgraded from QGIS 3.2 to 3.4 using the standalone installer (Windows 64 bit), and uninstalling 3.2 beforehand. When I open 3.4 it goes the background behind all my other open programs and clicking its icon on the taskbar does nothing, nor does Alt-Tab. To use QGIS I have to minimize all my other open programs. Is this a Windows issue, a QGIS issue, or something else entirely?",
"Curious badge bug I saw that it has been already reported that also they have earned courious badge but the badge has not been given. but their answers say that they must wait a day and the badge will be awarded. In my case its 8/5 and it was 5/5 long time ago and I have never received a message telling that I have earned it. its just telling me that the next badge to be awarded is Curious badge. this is my profile:",
"The latest beta update made the app crash a lot: when I press 'Add comment'. after deleting a comment. after up/down/unvoting a post (happened when I upvoted an answer) after editing a post (but the edit is applied). Spec: Nexus 5 on Lollipop 5.1.1, SE App v1.0.66 (beta)",
"I can easily find files with given string in name: me@comp:/usr/local/hydra/hydra-7.4.2$ find -D stat -name \"*hack*\" ./hack881663129.txt ./hack881663129_7.txt ./hack881663129_5.txt ./hack881663129_4.txt ./hack881663129_4_7.txt ./hack881663129_6.txt ./hack881663129_1_6.txt ./hack881663129_8.txt How can I also print file details, like size, date of creation etc.?",
"I wanted to know which php version I am using so I wrote the standard script: phpinfo(); Which gives me PHP version 5.6.10 The correct PHP version needed for my application. When I tried in terminal: php -i or php -v It shows me: PHP version 5.3.2 Which I don’t need. Then I tried with: which php It shows me: /usr/bin/php Now I am confused which version of PHP I am using. The files are uploaded to the hosting website and I cannot make any changes to the config files like httpd.conf or php.ini.",
"Proving that $\\lim_{x \\to 0} \\frac{f(x)}{|x|}=1$ implies $f$ is not differentiable at $0$. $$\\lim_{x \\to 0} \\frac{f(x)}{|x|}=1$$ Then prove that $f$ is not differentiable at $0$. I was given this assignment and I'm not sure about my proof.. it feels like I'm assuming too much and not explaining with enough detail. Is there anything I need to add to make it sufficient? Assume toward contradiction that $f$ is differentiable at $0$. Then by definition we know that $f$ is continuous at $0$. Therefore $\\lim _{x\\to 0}f\\left(x\\right)=f\\left(0\\right)$ We know that $\\lim _{x\\to 0}\\frac{\\left(f\\left(x\\right)\\right)}{\\left|x\\right|}=1$ Therefore we can conclude $\\lim _{x\\to 0}\\frac{\\left(f\\left(x\\right)\\right)}{\\left|x\\right|}\\cdot \\left|x\\right|=1\\cdot 0=0$ But we can also rewrite this as $\\lim _{x\\to 0}\\left(f\\left(x\\right)\\right)\\cdot \\frac{\\left|x\\right|}{\\left|x\\right|}=f\\left(0\\right)\\cdot 1=0$ Therefore $f(0) = 0$. Since $f$ is differentiable at $0$ we have $\\lim _{x\\to 0}\\frac{\\left(f\\left(x\\right)-f\\left(0\\right)\\right)}{x-0}=\\lim _{x\\to 0}\\frac{\\left(f\\left(x\\right)-0\\right)}{x}=\\lim \\:_{x\\to \\:0}\\frac{\\left(f\\left(x\\right)\\right)}{x}\\cdot \\frac{\\left|x\\right|}{\\left|x\\right|}=\\lim \\:\\:_{x\\to 0}\\frac{\\left(f\\left(x\\right)\\right)}{\\left|x\\right|}\\cdot \\:\\frac{\\left|x\\right|}{x}$ Since the one sided limits of $\\frac{f\\left(x\\right)}{\\left|x\\right|}$ exist, and are both equal to 1, we have $\\lim \\:_{x\\to 0^+}\\frac{\\left(f\\left(x\\right)\\right)}{\\left|x\\right|}\\cdot \\:\\:\\frac{\\left|x\\right|}{x}=\\lim \\:_{x\\to \\:0^+}\\frac{\\left(f\\left(x\\right)\\right)}{x}\\cdot \\:\\:\\:\\frac{x}{x}=1\\cdot 1=1$ $\\lim \\:_{x\\to 0^-}\\frac{\\left(f\\left(x\\right)\\right)}{\\left|x\\right|}\\cdot \\:\\:\\frac{\\left|x\\right|}{x}=\\lim \\:_{x\\to \\:0^-}\\frac{\\left(f\\left(x\\right)\\right)}{-x}\\cdot \\:\\:\\:\\frac{-x}{x}=1\\cdot -1=-1$ Since the limit doesn't exist, we have a contradiction to the fact $f$ is differentiable at $0$. Therefore $f$ is not differentiable at 0.",
"Problem with glossary I am copying the very first piece of code from in order to create a glossary. While I get no problem in the compilation I do not get the \"glossary part\" that appears in the example. I literally copy paste. Also, I want to create a document that only consists of a glossary of various terms. That is to put everything in alphabetical order (with the possibility to include references as well). How could I possibly do this? I tried some itemize options with alphabetical order but does not look that good.",
"Can the editor for editing tag descriptions get updated to match the normal questions/answers editor?",
"SharePoint 2013 Online - Missing Follow Link",
"I recently came across an IE7 only bug that I thought I'd share so when I come to this site 6 months from now to figure out the same thing, I'll have it on hand. I believe the easiest way to recreate this bug would be the following html in a page with a declared doctype (it works correctly in \"quirks mode\" / no-doctype): <div style=\"overflow: auto; height: 150px;\"> <div style=\"position: relative;\">[...]</div> </div> In IE7, the outer div is a fixed size and the inner div is relatively positioned and contains more content (assuming the inner div causes an overflow). In all other browsers, this seems to work as expected. Screenshot:",
"I'm trying to find $$\\lim_{n\\to\\infty}\\frac{n}{\\sqrt[n]{n!}} .$$ I tried couple of methods: Stolz, Squeeze, D'Alambert Thanks! Edit: I can't use Stirling.",
"Error \"WIF10201: No valid key mapping found\" when trying to create claims from SAML",
"find() function in python2.7.5"
] | medi_sts_stackexchange_dupe |
Solutions to a'th root of 1 mod p if gcd(a, p-1)=1 | Solve $x^{5} \equiv 2$ mod $221\ $ [Taking modular $k$'th roots if unique] | [
"How to open a web page from my application?",
"How do I display a decimal value to 2 decimal places? When displaying the value of a decimal currently with .ToString(), it's accurate to like 15 decimal places, and since I'm using it to represent dollars and cents, I only want the output to be 2 decimal places. Do I use a variation of .ToString() for this?",
"Characterizing non-constant entire functions with modulus $1$ on the unit circle Is there a characterization of the nonconstant entire functions $f$ that satisfy $|f(z)|=1$ for all $|z|=1$? Clearly, $f(z)=z^n$ works for all $n$. Also, it's not difficult to show that if $f$ is such an entire function, then $f$ must vanish somewhere inside the unit disk. What else can be said about those functions? Thank you.",
"I just browsed through this wonderful book: . The irony is, I am still not able to understand the motivation for using multivariate (regression) models instead of separate univariate (regression) models. I went through stats.statexchange posts and that explain (a) difference between multiple and multivariate regression and (b) interpretation of multivariate regression results, but I am not able to tweak out the use of multivariate statistical models from all the information I get online about them. My questions are: Why do we need multivariate regression? What is the advantage of considering outcomes simultaneously rather than individually, in order to draw inferences. When to use multivariate models and when to use multiple univariate models (for multiple outcomes). Take an example given in the with three outcomes: locus of control, self-concept, and motivation. With respect to 1. and 2., can we compare the analysis when we do three univariate multiple regression versus one multivariate multiple regression? How to justify one over another? I haven't come across many scholarly papers that utilize multivariate statistical models. Is this because of the multivariate normality assumption, the complexity of model fitting/interpretation or any other specific reason?",
"Word for in-house jargon",
"Why did Bane/Smith cut himself? In the Matrix part II and the beginning of part III the crew member who was infected by Agent Smith (Bane) cuts himself. The female crew member in part III who brought Trinity food told her the same and speculated that they might be \"VDT's\". I don't fully understand this. What are VDT's and why would Agent Smith engage in self-cutting unless he has borderline personality disorder or depression or something?",
"Can a concentration spell be cast without actually concentrating on it for an \"instant\" effect? 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 we play split screen in the XBOX 360 version of Minecraft? My little brother and I want to play Minecraft together on the Xbox 360, and we heard there was a split screen option. We've looked inside the options menu but weren't able to find it. Does the game really have a split screen option, and if so, how do we enable it?",
"Math notation in LaTeX? How can I write e^(3j) in LaTeX? I have tried many syntax, like $e^(3j)$ or $e^*{3j}$ Any help will be very well received.",
"How to ignore accent in SQLite query (Android)",
"Obtain user and kernel time of a running process? Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel? In other words, exactly the \"user\" and \"sys\" values that you get when using time, but during process runtime? NOTE: one way is to use WBEM and enumerate Linux_UnixProcess, but I need to use other tool than this; my aim is to verify what WBEM provider tells me, i.e. I need to use different tool.",
"Provisioning Profiles menu item missing from Xcode 5",
"Could you tell me how to prove that if two series $ \\sum_{n=0} ^{\\infty}x_n, \\sum_{n=0} ^{\\infty} y_n$ are convergent, then $\\sum_{n=0} ^{\\infty}(\\alpha \\cdot x_n + \\beta \\cdot y_n)$ is also convergent and its sum equals $\\alpha \\cdot \\sum_{n=0} ^{\\infty} x_n + \\beta \\cdot \\sum_{n=0} ^{\\infty} y_n$?",
"Prove that if $\\sum{a_n}$ converges absolutely, then $\\sum{a_n^2}$ converges absolutely I'm trying to re-learn my undergrad math, and I'm using Stephen Abbot's Understanding Analysis. In section 2.7, he has the following exercise: Exercise 2.7.5 (a) Show that if $\\sum{a_n}$ converges absolutely, then $\\sum{a_n^2}$ also converges absolutely. Does this proposition hold without absolute convergence? I'm posting about this here because my answer to that last question about whether the proposition holds without absolute convergence is \"Yes\", but my suspicions are raised by him merely asking the question. Usually questions like this are asked to point out that certain conditions are necessary in the statement of propositions, theorems, etc. I just want to see if I'm missing something here. Anyway, here's how I prove the absolute convergence of $\\sum{a_n^2}$, and note that I never use the fact that $\\sum{a_n}$ is absolutely convergent: Proof: Let $s_n = \\sum_{i=1}^n{a_n^2}$. I want to show that $(s_n)$ is a Cauchy sequence. So, let $\\epsilon > 0$ and $n > m$, and consider, \\begin{equation} \\begin{aligned} |s_n - s_m| &= |(a_1^2 + a_2^2 + \\cdots a_n^2) - (a_1^2 + a_2^2 + \\cdots a_m^2)|\\\\ &= |(a_{m+1})^2 + (a_{m+2})^2 + \\cdots + a_n^2|\\\\ &= |a_{m+1}|^2 + |a_{m+2}|^2 + \\cdots + |a_n|^2\\\\ \\end{aligned} \\end{equation} Now, since $\\sum{a_m}$ converges, the sequence $(a_m)$ has limit 0. Therefore I can choose an $N$ such that $|a_m| < \\sqrt{\\epsilon/n}$ for all $m > N$. So for all $n > m> N$, we have, \\begin{equation} \\begin{aligned} |s_n - s_m| &= |a_{m+1}|^2 + |a_{m+2}|^2 + \\cdots + |a_n|^2\\\\ &< \\left(\\sqrt{\\frac{\\epsilon}{n}}\\right)^2 + \\left(\\sqrt{\\frac{\\epsilon}{n}}\\right)^2 + \\cdots + \\left(\\sqrt{\\frac{\\epsilon}{n}}\\right)^2\\\\ &< \\left(\\sqrt{\\frac{\\epsilon}{n-m}}\\right)^2 + \\left(\\sqrt{\\frac{\\epsilon}{n-m}}\\right)^2 + \\cdots + \\left(\\sqrt{\\frac{\\epsilon}{n-m}}\\right)^2\\\\ &= \\epsilon \\end{aligned} \\end{equation} Therefore $(s_n)$ is Cauchy and $\\sum{a_n^2}$ converges. And since $\\sum{a_n^2} = \\sum{|a_n^2|}$, the series $\\sum{a_n^2}$ is absolutely convergent. ∎ Am I doing something wrong here? Am I right in thinking that $\\sum{a_n}$ need not be absolutely convergent for $\\sum{a_n^2}$ to be absolutely convergent?",
"Find total number of relations that are equivalence as well as partial order set. Assume set contains total $n$ elements. My attempt: As equivalence relation has property reflexive, symmetric and transitive and POSET has property reflexive, antisymmetric and transitive. Symmetric and antisymmetric will cancle each other except reflexive relation and transitive relation can case antisymmetric, so it's also absent on resultant relation. Therefore, all diagonal element should be present to satisfy conditions of equivalence as well as POSET. So, it's independent of number of total number of element of set and answer will be $1$. Can you explain in formal way, please?",
"I had recently entered the UK without a visa to be with my partner, from 21 July 2016 until 16 December 2016. I hope to return on the 9th of January. We don't meet the income requirement for a Spouse visa. I recently applied to university, and got in, and was intending to return to the UK on a student visa, but my university did not tell me about maintenance fees and my loan wasn't large enough to cover it all, so my visa would have been denied. Now, I am hoping to attend university in the next semester, and therefore return to the US to apply for that visa. Do you think that if I try to return to the UK without a visa, I will be turned away? I won't be working or studying during this time, however, I'm afraid that they'll consider it living in the UK illegally; I don't have a criminal record or anything like that.",
"Pygame: Is there any easy way to find the letter/number of ANY alphanumeric pressed?",
"Best way to migrate a huge SQL Server database with low downtime over network Problem definition Our database server needs to be transferred to an other datacenter. It runs on Microsoft SQL Server 2012 Enterprise (64-bit) and contains two databases of about 2TB and 1TB. Having little to no downtime for this would be ideal. Workload Those databases are used for a .NET website and are constantly getting updated. Having it not available over the weekend would be acceptable though. The currently in use DB would remain the only one in use until the switch over to the new one. That switch would ideally be made just by changing DNS entries to point to the new DB server while making sure the DB is not being updated. Also, time taken by this operation does not really matter as long as the switch from one server to the other (downtime) is kept low. Approaches considered Backup and restore This has been done in the past but involved a high downtime even though it was done through an internal network, so more efficiently than through Internet Log shipping As far as I understand, this approach would minimize downtime by configuring a master/slave and transferring an exact copy of the master DB to its slave being read only. As mentioned above, no access to the slave would be necessary and we just need a way to have a replica of the master DB without data corruption. It also seems to be quite efficient in terms of resources utilization and wouldn't impact to much the master performance. I might be wrong about this approach so feel free to correct me. Database mirroring I'm not too aware of that approach but it seems like a valid option. No need to have real time sync and performance of the master is quite important so asynchronous would be the way to go if this approach were to be chosen. Other options? That server runs directly on bare metal hardware so lower level solutions are unfortunately not an option. Maybe there is a better way to get this done? Constraints As described, those databases are quite big to the point they are hard to maintain but that's an other problem. The versions of SQL Server will be the same (Microsoft SQL Server 2012 Enterprise 64-bit). It will have to be transferred over network between two datacenters so most probably over Internet. Having disks sent from one site to the other for an initial sync is unfortunately not an option. Having some sort of security for the transfer would be ideal but we will do the best of this situation. That should give a quite good overview of our needs for this task and hopefully some of you had to face that situation before.",
"Two column float with [t] using the cas-dc template I am using the cas-dc template for Elsevier. When trying to use \\begin{figure*}[t], except I get the error 'The module 'cas/fig' does not have a key called 'cas/fig/t'. Other templates I use work fine. I have included \\usepackage{stfloats}. I don't see anything mentioned that strictly forbids it, unless I missed this. Anyone know why?",
"EDIT: It seems that I've also had edits that stacked well, so I'm not sure if I had a timing problem, or was just delusional. The one thing that can be fixed, that I'll turn this question into, is a feature request so that when I go to re-edit (either within the 5-minute grace period, or before a suggested edit is approved), it brings up the old edit summary text. Right now, it brings up a blank edit summary, and this replaced the first one I did. This isn't really intuitive, and even knowing that's what it's doing, I still forget to put everything in. Original Question: It has happened a few times now, when on a site where I don't have edit privileges, that I make an edit. I then see that the edit didn't work quite right, so I go back in to re-edit it. This creates a brand new edit review, with an additional useless summary. How about we have the same grace period to re-edit your up-for-review edit, as there is for a normal edit? Of course, it wouldn't be possible once it's been approved."
] | medi_sts_stackexchange_dupe |
Permitted image formats on HTML pages | Which graphic file formats are supported by browsers? | [
"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!",
"Enable fractional scaling for Ubuntu 18.04",
"Can a Spring form command be a Map?",
"Why am I getting \"No such file or directory\" when I try to execute a binary?",
"This is a good news. This is good news. Which one is correct? Clarify the difference",
"How do I show that the sum $(a+\\frac12)^n+(b+\\frac12)^n$ is an integer for only finitely many $n$? Show that if $a$ and $b$ are positive integers, then $$\\left(a +\\frac12\\right)^n + \\left(b+\\frac{1}{2}\\right)^n$$is an integer for only finitely many positive integers $n$. I tried hard but nothing seems to work. :(",
"My Tier 5 YMS visa is set to start on September 30th, 2016 however, I want to get there earlier. Can I enter the UK as a tourist, if I explain to border control/immigration that I am entering as a tourist and do not plan to work or do anything really until my Tier 5 visa starts? I can find no official contact or information source on this with UK Visas Information, the British High Commission, etc.",
"How is the authenticity of Debian packages guaranteed?",
"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?",
"I am looking for a good GTD (todo/task/project management) app that has cloud sync. I'd like it to be on my iPhone, iPad and Mac. Web app would be nice, too. OmniFocus is the closest thing I've found but it seems too expensive. Things don't have clound sync... only WiFi sync is available for Things. Do you know of any GTD app I'm looking for? Thanks!",
"Can someone help me figure out the big-O for the recurrence relation $T(n) = T(n^{1/2}) + 1$? I didn't think the master theorem would work since it requires $T(n) = T(n/b)$... to have $b$ as a constant. I was wondering if anyone could shed some light on a method to approach this problem? (not looking for a solution)",
"Find the value of a given integral sequence: $I_n=\\int_{0}^{1}(1-x^2)^ndx$ Let $(I_n)_{n \\geq 1}$ be a sequence such that: $$I_n = \\int_0^1 (1-x^2)^n dx$$ Find the value of $I_n$ (The solution is $\\frac{2}{3} \\cdot \\frac{4}{5} \\cdot ... \\cdot \\frac{2n}{2n+1}$). I've tried using the binomial expansion of $(1-x^2)^n$ but I couldn't get the proper answer. Thank you!",
"I'm using the package to add citations and a bibliography to my LaTeX document. I've noticed that only the first author plus \"et al.\" is displayed for works with more than three authors. That's fine with me for in-text-citations, but I'd rather have the complete author information in the bibliography. How can I do that?",
"How to get memory usage under Windows in C++",
"How to read and write into file using JavaScript? Can anybody give some sample code to read and write a file using JavaScript?",
"How to change 'et al' to italic font in citation call-outs, with 'agsm' bibliography style",
"Valid US visa on expired passport. Can I travel to the US? My old passport is in my maiden name and has already expired. My B1/B2 visa to travel to United States is still valid but is stamped in my old passport with my maiden name. My new passport has my new name (old name got changed after marriage) but has details (like old passport number, father and mother's name) related to my old passport. Will I be allowed to travel to US as long as I carry the my old as well as new passport? Or Do I need to again get the visa stamped on my new passport?",
"Clone Method not working I am trying to Clone a lead when certain condition is arrived using before trigger but i am not able to see cloned record. for( Lead ld : Trigger.new ) { if(ld.Integration_Source__c == 'Hubspot' && Trigger.isUpdate){ Lead LeadBeforeUpd = Trigger.oldMap.get( ld.Id ); if(ld.Program__c != LeadBeforeUpd.Program__c ){ Lead ClonedLead = new Lead(); ClonedLead = LeadBeforeUpd.clone(false, false, false, false); } } }",
"Is there a \"best practice\" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank you. BIG EDIT: I don't want ANY rule to be persisted (like iptables-persistent package does). I want only my own specific set to be reloaded... if other rules are eventually added by running iptables, these should be discarded...",
"I am getting the following error frequently. (Example: when running zenity,firefox etc. commands / applications.) Fontconfig warning: \"/etc/fonts/conf.d/90-fonts-unfonts-core.conf\", line 11: Having multiple values in <test> isn't supported and may not work as expected Here is contents of file /etc/fonts/conf.d/90-fonts-unfonts-core.conf: <?xml version=\"1.0\"?> <!DOCTYPE fontconfig SYSTEM \"fonts.dtd\"> <fontconfig> <match target=\"font\"> <test name=\"family\" qual=\"any\"> <string>은 바탕</string><string>UnBatang</string> <string>은 돋움</string><string>UnDotum</string> <string>은 궁서</string><string>UnGungseo</string> <string>은 필기</string><string>UnPilgi</string> <string>은 그래픽</string><string>UnGraphic</string> </test> <edit name=\"antialias\" mode=\"assign\" binding=\"strong\"><bool>true</bool></edit> <edit name=\"hinting\" mode=\"assign\" binding=\"strong\"><bool>false</bool></edit> <edit name=\"autohint\" mode=\"assign\" binding=\"strong\"><bool>true</bool></edit> <edit name=\"hintstyle\" mode=\"assign\" binding=\"strong\"><const>hintslight</const></edit> </match> </fontconfig> How to solve it?"
] | medi_sts_stackexchange_dupe |
A question on mean value inequality | Proofs of AM-GM inequality | [
"Area of the Limiting Polygon Start with an equilateral triangle with unit area. Trisect each of the sides and then cut-off the corners. In this case, we get a regular hexagon - see the picture below. Next, trisect each of the sides of the hexagon and cut-off the corners. This will give a dodecagon, but not a regular one. Continue this process ad infinitum. What is the area of the limiting \"polygon\"? My first thought was that it would be the circle tangent to the midpoint of each side. However, by making some pictures, it becomes clear quite quickly that the limiting polygon is not a circle and, in fact, might perhaps be an ellipse. The problem with that is that while there is a unique circle passing through any three points in general position, I need five generic points to specify a conic. Can anyone suggest any hints as to how to find the area? By \"hint\" I don't mean \"what you think might work\", I mean \"what you have tried and you know will work\". Thanks in advance.",
"Are beamer, hhline, and [table]{xcolor} incompatible? The following example works as expected: \\documentclass{article} \\usepackage[table]{xcolor} \\usepackage{makecell, multirow} \\renewcommand\\theadfont{\\normalsize\\bfseries\\color{white}} \\renewcommand{\\theadgape}{} \\usepackage{hhline} \\begin{document} \\centering \\setlength\\arrayrulewidth{2pt} \\arrayrulecolor{yellow} \\def\\clinecolor{\\hhline{>{\\arrayrulecolor{yellow}}--% >{\\arrayrulecolor{gray}}-}} \\setlength\\extrarowheight{2pt} \\begin{tabular}{ c | c | c }% \\rowcolor{gray} \\multicolumn{2}{c|}{\\thead{AAA -- BBBB}} & \\\\ \\clinecolor \\rowcolor{gray} \\color{white} AAA & \\color{white} BBB & \\multirow{-2}{*}{\\thead{CCC}} \\\\ \\hhline{>{\\arrayrulecolor{yellow}}-|-|-} \\rowcolor{gray!25} aaa & bbb & ccc \\\\ \\hline \\rowcolor{gray!25} ddd & eee & fff \\end{tabular} \\end{document} But the following not: \\documentclass[xcolor=table]{beamer} \\usepackage{makecell, multirow} \\renewcommand\\theadfont{\\normalsize\\bfseries\\color{white}} \\renewcommand{\\theadgape}{} \\usepackage{hhline} \\begin{document} \\begin{frame} \\frametitle{test} \\centering \\setlength\\arrayrulewidth{2pt} \\arrayrulecolor{yellow} \\def\\clinecolor{\\hhline{>{\\arrayrulecolor{yellow}}--% >{\\arrayrulecolor{gray}}-}} \\setlength\\extrarowheight{2pt} \\begin{tabular}{ c | c | c }% \\rowcolor{gray} \\multicolumn{2}{c|}{\\thead{AAA -- BBBB}} & \\\\ \\clinecolor \\rowcolor{gray} \\color{white} AAA & \\color{white} BBB & \\multirow{-2}{*}{\\thead{CCC}} \\\\ \\hhline{>{\\arrayrulecolor{yellow}}-|-|-} \\rowcolor{gray!25} aaa & bbb & ccc \\\\ \\hline \\rowcolor{gray!25} ddd & eee & fff \\\\ \\hhline{|-|-|-|} \\end{tabular} \\end{frame} \\end{document} Why are the in beamer rules so strangely misplaced? Is there some workaround?",
"Someone from Mars is called a Martian. Someone from America is called an American. Someone from Europe is a European. Someone from Hyrule is a Hyrulean. We are not far from colonizing other planets, let alone Earth's only moon. Obviously you wouldn't call someone from the moon a lunatic right? What if you are on Mars? What would I call a foreigner from Earth? Earthean doesn't sound right.",
"This question follow's JeffE's comment : In most industries, a PhD has negative value. I am curious about what potential negatives there may be with having a PhD, particularly in industries. For example, my PhD has applications for image sensors, and the potential of working in that field is appealing—would having a PhD be a potential barrier? Would it be a case of how explicit the practicalities of the PhD can be made? Would this make any difference?",
"If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?",
"How to make two people play at the same time? My brother owns Skyrim on steam. We use Steam Family Share, but we were wondering how both of us could play it at the same time?",
"What should be the intuition when working with compactness? I have a question that may be regarded by many as duplicate since there's a one at MathOverflow. The point is that I think I'm not really getting the idea on compactness. I mean, in $\\mathbb{R}^n$ the compact sets are those that are closed and bounded, however the guy who answered this question and had his answer accepted says that compactness is some analogue of finiteness. That's the first problem: In my intuitive view of finiteness, only boundedness would suffice to say that a certain subset of $\\mathbb{R}^n$ is in some sense "finite". On the other hand there's the other definition of compactness (in terms of covers) which is the one I really need to work with and I cannot see how that definition implies this intuition on finiteness. Also, I feel it's pretty strange the covers people use when they want to deal with compact sets. To prove a set is compact I know they must show that for every open cover there's a finite subcover; the problem is that I can't see intuitively how one could show this for every cover. Also when trying to disprove compactness the books I've read start presenting strange covers that I would have never thought about. I think my real problem is that I didn't yet get the intuition on compactness. So, what intuition should we have about compact sets in general and how should we really put this definition to use? Can someone provide some reference that shows how to understand the process of proving (and disproving) compactness?",
"Is there an AES identity key? The following questions are of pure theoretical nature. I don't have an application in mind. Is there a key that makes AES the identity function? Is there a key that makes AES the identity function for certain inputs? Is it known whether such keys might exist? Are such keys known for other ciphers? For example, I want to encrypt \"Hello StackExchg\" with AES with said key and the ciphertext should be again \"Hello StackExchg\". When I encrypt \"Hello StackExchg\" with the perfect cipher one-time-pad, there is a possibility that the resulting ciphertext is again \"Hello StackExchg\". This possibility must exist (though it is unrealistically small), otherwise, the ciphertext would not be perfectly random but depending on the plaintext. The corresponding key for one-time-pad would be all zeros.",
"Merging columns from two separate files",
"Accidently deleted /usr/lib, how do I restore it?",
"Can anyone explain precisely what IOWait is?",
"Proving $\\sum\\limits_{k=1}^{n}{\\frac{1}{\\sqrt{k}}\\ge\\sqrt{n}}$ with induction",
"Why does this happen with Longclaw? Spoilers ahead for \"Beyond the Wall\" (Game of Thrones, S07E06) Toward the end of the episode, \"Beyond the Wall\" (Game of Thrones, S07E06), we see a close-up shot of Longclaw Then, once Jon Snow emerges from the water, Longclaw appears to be opening its eyes You can get a much better picture of it . Is this an Easter Egg from the Visual Effects department, or is there an in-universe explanation behind this? Or was this not planned at all by the production team, and this is merely a coincidental, accidental lighting/water effect, that just happens to be timed with the dramatic tension of Jon Snow possibly being dead, and the relief of him being alive?",
"Existence of $f'\\in F$ such that $f^{[G:F]}=(f')^n$ for finite extension $F\\subset G$ Let $F$ be a field and $u\\in F$. Further, let $F\\subset G$ be a finite extension and $v\\in G$ such that $v^n=u$ for $n>0$. How would I show that there exists a $\\tilde{u}\\in F$ such that $u^{[G:F]}=(\\tilde{u})^n$? My first thought was to use the norm map $N_{G/F}(x)=\\Pi_{\\sigma\\in X(G/F)}\\sigma(x)$, where $X(G/F)$ is the fundamental set for $F\\subset G$. However, I wouldn't know how to continue on this path.",
"I tried Libreoffice, but its Import option while pasting in the cell is very annoying.I also tried Gnumeric but I am not able to paste using middle button.Parcellite to make copy paste faster and middle button pasting is not working with Gnumeric. Is there any simple table maker app available that can accept only simple unformatted text? All these software are very complicated for this simple work.",
"Possible Duplicate: Is it correct to start a sentence with did. Did my work. instead of I did my work. while answering my emails?",
"How can a regression be significant yet all predictors be non-significant? My multiple regression analysis model has a statistically significant F value however all beta values are statistically non-significant. All the regression assumptions are met. No multicollinearity was found. Correlations among all predictors are all less than 0.60. What else might be the cause of the insignificant predictors?",
"How to delete a file in Windows with a too long filename? My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the filenames are too long due to the depth of the folder structures. Does anyone know of a good utility for cleaning up files like this?",
"A doubt from Milnor's \"Topology from a Differentiable Viewpoint\". This is a doubt from Milnor's \"Topology from a Differentiable Viewpoint\". For a smooth $f:M\\to N$, with $M$ compact, and a regular value $y\\in N$, we define $n(f^{-1}(y))$ to be the number of points in $f^{-1}(y)$. It is easy to see that $n(f^{-1}(y))$ is finite. It can also be seen that $n(f^{-1}(y))$ is locally constant; i.e. there is a neighbourhood of $y$ such that for every point $y'$ in that neighbourhood, $n(f^{-1}(y'))=n(f^{-1}(y))$. The proof for the statement in bold is the following: Let $x_1,x_2,\\dots,x_n$ be the points of $f^{-1}(y)$, and choose disjoint neighbourhoods $U_1,U_2,\\dots,U_n$ of these points, which are mapped diffeomorphically into neighbourhoods $V_1,V_2,\\dots,V_n$ of $y$. The required neighbourhood is $(V_1\\cap V_2\\cap\\dots V_n)-f(M-U_1-U_2-\\dots U_n)$. I don't understand how $(V_1\\cap V_2\\cap\\dots V_n)-f(M-U_1-U_2-\\dots U_n)$ is open. I know that $(V_1\\cap V_2\\cap\\dots V_n)$ is open. However, how can one prove that $f(M-U_1-U_2-\\dots U_n)$ is closed? I can see this working if $f$ is surjective, but not otherwise.",
"Changing column of multiple csv files I have a csv file called scenario1.csv in which the second column has column names like \"0-4 years high risk\", \"65+ years first responder\" etc. There are 20 such values. The 21st row, 2nd column has the same entry as in the 1st row of the 2nd column. I would like to rename these values to p1-p20 respectively. So the 21st row would have the p1 tag with it. Everything without quotes. I have a 150 such files, named scenario1.csv, scenario2.csv ... How do I do this? Below is an example for a shorter file: t, group, 1, 3, 5 0, 0-4 years low risk, 0, 0, 0 0, 0-4 years high risk, 0, 0, 1 ....., .... 0, 0-4 years low risk, 0, 0, 0 Expected output for each file: t, group, 1, 3, 5 0, p1, 0, 0, 0 0, p2, 0, 0, 0 ....., .... 0, p1, 0, 0, 0 Here's the dictionary I need: 0-4 years first responder p1 0-4 years high risk p2 ....... 65+ years low risk p19 65+ years pregnant women p20"
] | medi_sts_stackexchange_dupe |
I have a doubt on taking pad dimensions in this below picture what is the pad width and height.any body kindly clear my doubt | What is the size of this microcontroller? Having trouble reading a data sheet | [
"Inequality involving sides of a triangle How can one show that for triangles of sides $a,b,c$ that $$\\frac{a}{b+c}+\\frac{b}{c+a}+\\frac{c}{a+b} < 2$$ My proof is long winded, which is why I am posting the problem here. Step 1: let $a=x+y$, $b=y+z$, $c=x+z$, and let $x+y+z=1$ to get $\\frac{1-x}{1+x}+\\frac{1-y}{1+y}+\\frac{1-z}{1+z}<2$ Step 2: consider the function $f(x)=\\frac{1-x}{1+x}$, and note that it is convex on the interval (0,1), so the minimum of $\\frac{1-x}{1+x}+\\frac{1-y}{1+y}+\\frac{1-z}{1+z}$ is reached when the function takes the extreme points. i.e. $x=y=0, z=1$. But going back to the fact that this is a triangle, we note that $x=y=0 \\implies a=0$ which is not possible, so the inequality is strict.",
"LIGO flawed by the identical expansion of laser wavelength and arms in presence of a gravitational wave? , Laser Interferometer Gravitational-Wave Observatory, is a large-scale physics experiment aiming to directly detect gravitational waves. The device measures the phase shift laser beams. If I understand this well, the measurement assumes that a suitable gravitational wave reduces and prolongs one of the tubes and the extension will take effect in the phase-shifting laser beams. But I think if there's a gravitational wave that passes through it, it will affect everything, even the laser beam. This means that when the wave lengthens or shortens the tube, it also lengthens or shortens the wavelength of the laser beam. In my opinion, therefore, this device does not work. Or am I wrong?",
"Is there a preferred way to return multiple values from a C++ function? For example, imagine a function that divides two integers and returns both the quotient and the remainder. One way I commonly see is to use reference parameters: void divide(int dividend, int divisor, int& quotient, int& remainder); A variation is to return one value and pass the other through a reference parameter: int divide(int dividend, int divisor, int& remainder); Another way would be to declare a struct to contain all of the results and return that: struct divide_result { int quotient; int remainder; }; divide_result divide(int dividend, int divisor); Is one of these ways generally preferred, or are there other suggestions? Edit: In the real-world code, there may be more than two results. They may also be of different types.",
"C# Regular Expressions with \\Uxxxxxxxx characters in the pattern",
"A few years ago Umber Ferrule wrote that the toolbars in the taskbar are defined in HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Streams. This looks very plausible but cannot be the entire story. Deleting this key will in no way affect the taskbar and on rebooting the system the key magically reappears. Why do I want to know? Simple. I would like to export the key to a reg. file as a convenient backup.",
"Can the present perfect continuous construct be used in passive voice? Can the passive voice be used for sentences in the present perfect continuous? I understand the present perfect and its passive voice (have/has built, has been built). However, the passive voice of present perfect continuous is unclear: Active: They have been building this house for years. Passive: ??? I have seen suggestions of “This house has been being built for years,” but it sounds awkward and I don't recall anywhere else where two be verbs follow one another. Is this the right form to use?",
"Do we really need reals? It seems to me that the set of all numbers really used by mathematics and physics is countable, because they are defined by means of a finite set of symbols and, eventually, by computable functions. Since almost all real numbers are not computable, it seems that real numbers are a set too big and most of them are unnecessary. So why do mathematicians love this plethoric set of numbers so much?",
"Should an image carousel on a mobile site automatically rotate? Or should the user have complete control? The intention is to have a slider/carousel that shows 6 or 7 images which the user can look through by clicking arrow buttons left or right. But the question has also come up if the user has not started looking through the images, should the carousel start automatically rotating the images. Since this is for a mobile site, I'm uncertain...",
"Group of order $p^2$ is abelian. Yes, I know that there are tons of solutions of this up here, but I, essentially, wanted to try it a different way and ah, well. Let $|G| = p^2$ for some prime $p$. Consider $x \\in G$. So, $|x| = p, $ or $ p^2$. If it is the latter, then, we are done. So, if $|x|= p$, then, let, $H = [h| h=x^i, i \\in Z] \\Rightarrow |H|= p$. As $p$ is the smallest prime dividing $|G|$, $H$ is a normal subgroup. Now, consider some $y \\in G$, but not in $H \\Rightarrow y^p= e$. Then, its easy to show that $G = \\langle x,y \\rangle$. Now, consider a homomorphism $f:G \\rightarrow \\operatorname{Aut}(H), g \\to c_g $, wherein $c_g$ represents conjugacy by $g$. So, for example, $c_g(x) = gx g^{-1}$. Then, it is clear that, $H \\subset \\operatorname{Ker}(f) $, as it is cyclic and therefore abelian. So, we need only look at $G/H$. Basically, I am asking for a hint as to why $c_y(x) = yxy^{-1} = x = c_e(x)$, where $x$ and $y$ are the generators of $H$ and $G/H$, respectively? Because, if I establish it for the generators, then it follows that it applies for for all elements, i.e, that $\\operatorname{Im}(f)$ is trivial and therefore that $G$ is abelian. Thank You!",
"What's optimal hardness for a kitchen knife blade? Many knife manufacturers provide the hardness value for the knife blade in the specifications - like 53HRC or 57 HRC. What's the optimal hardness for kitchen knives? Do I always prefer the ones with higher hardness all else being equal?",
"Relationship between balloon size and pressure I see numerous websites talking about how a small balloon is at higher pressure than a big balloon. This is a fun counter-intuitive factoid... unless it isn't a fact at all. Young-Laplace gives $$T = \\Delta p \\frac R2 $$ Which means that for a given tension, increasing the radius does decrease the pressure. But why would the tension be constant? A latex balloon is like a 2D spring, right? So the tension in a inflated spherical balloon should be proportional to the surface area, correct? $$T \\propto R^2 $$ But this gives $$\\Delta p \\propto R$$ Which means the bigger the balloon, the higher the internal pressure. Which, again, would be the normal intuition - but it would burst the bubble of some simplified explanations. (har har)",
"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?",
"I have just bought a Nikon 50mm f/1.8D prime lens. I took this picture (leg of my glasses frame on a mouse, and a LED desk lamp is on top of it) : f1.8, 1/80s, ISO 200 The purple fringing is right in the middle of the picture. Does it happen very often to this lens?",
"Why constructors will always have same name as of class and how they are invoked implicitly?",
"Why am I getting shopping trolley notifications about local store savings? I am getting \"Shopping Trolley\" notifications appearing regularly. The notification looks like this: The notification is about \"Store savings\" at a local supermarket and that is it! Is this notification from Google Maps or another application like Google Assistant? I'm struggling to find the specific setting to disable the notification. I am also interested to know if this notification could in any way be targeted advertising generated by the store. My marketing preferences with the store are opt-out and this strikes me as very dumb advertising. Surely Google isn't doing this? Is there a means that a store can generate notifications like this? Could it be targeted if they have my email address? These are pain and I want to understand why they are spamming me and disable them without disabling everything else. I can see various options under Google Maps, settings, notifications. Which setting would apply? Could it be \"New on maps, Get occasional updates about new features in your area\"? I can't see what setting to suppress! Thanks for all help.",
"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.",
"Video editing. Audio and Video strip have different length",
"General way to determine $\\mathbb{Q}(\\gamma) = \\mathbb{Q}(\\alpha,\\beta)$ given $\\alpha$ and $\\beta$",
"Handle application exit",
"I typed up an assignment with a lot of numbers in LaTeX and turned it in to my adviser. When he returned it to me with some corrections, one of which was a lot of $ around my numbers. I understand that $ are necessary around some mathematical formulas, but I was just using numbers like -2 and 4. I did not see any change in the font of the numbers when I added the $ either. Since my adviser did not want to give me an explanation, what is the rationale?"
] | medi_sts_stackexchange_dupe |
I only see a fraction of the scene | Gray cone obscuring/clipping the 3D Viewport | [
"High p-values for logistic regression variable that perfectly separates? I'm using R to run some logistic regression. My variables were continuous, but I used cut to bucket the data. Some particular buckets for these variables always result in dependent variable being equal to 1. As expcted, the coefficient estimate for this bucket is very high, but the p-value is also high. There are about ~90 observations in either these buckets, and around 800 total observations, so I don't think it's a problem of sample size. Also, this variable should not be related to other variables, which would naturally reduce their p-values. Are there any other plausible explanations for the high p-value? Example: myData <- read.csv(\"application.csv\", header = TRUE) myData$FICO <- cut(myData$FICO, c(0, 660, 680, 700, 720, 740, 780, Inf), right = FALSE) myData$CLTV <- cut(myData$CLTV, c(0, 70, 80, 90, 95, 100, 125, Inf), right = FALSE) fit <- glm(Denied ~ CLTV + FICO, data = myData, family=binomial()) Results are something like this: Deviance Residuals: Min 1Q Median 3Q Max -1.53831 -0.77944 -0.62487 0.00027 2.09771 Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept) -1.33630 0.23250 -5.747 9.06e-09 *** CLTV(70,80] -0.54961 0.34864 -1.576 0.114930 CLTV(80,90] -0.51413 0.31230 -1.646 0.099715 . CLTV(90,95] -0.74648 0.37221 -2.006 0.044904 * CLTV(95,100] 0.38370 0.37709 1.018 0.308906 CLTV(100,125] -0.01554 0.25187 -0.062 0.950792 CLTV(125,Inf] 18.49557 443.55550 0.042 0.966739 FICO[0,660) 19.64884 3956.18034 0.005 0.996037 FICO[660,680) 1.77008 0.47653 3.715 0.000204 *** FICO[680,700) 0.98575 0.30859 3.194 0.001402 ** FICO[700,720) 1.31767 0.27166 4.850 1.23e-06 *** FICO[720,740) 0.62720 0.29819 2.103 0.035434 * FICO[740,780) 0.31605 0.23369 1.352 0.176236 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 (Dispersion parameter for binomial family taken to be 1) Null deviance: 1037.43 on 810 degrees of freedom Residual deviance: 803.88 on 798 degrees of freedom AIC: 829.88 Number of Fisher Scoring iterations: 16 FICO in the range [0, 660) and CLTV in the range (125, Inf] indeed always results in Denial = 1, so their coefficients are very large, but why are they also \"insignificant\"?",
"I am working on parameter estimation and one of the estimators involves a summation of $_nC_k$ ($n$ choose $k$) expressions. For some iterations, I need to compute expressions like $_0C_1$, $_0C_2$, etc. In general how do we compute $_nC_k$ when $n$ is less than $k$? Do we still use the formula $\\frac{n!}{(n-k)!k!}$ and use the gamma function to compute the negative factorial? Thanks!",
"Where are my Minecraft saves located? I want to copy/modify/delete a Minecraft world. Where can I find my saves folder?",
"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?",
"Usage of brackets/parentheses When and how do we use the different kinds of brackets/parentheses — (){}[] — while writing English (not code)?",
"structs in C with initial values",
"\"Nikki's and Alice's X\" vs. \"Nikki and Alice's X\" Which option is grammatical? There will be readings from Nikki Giovanni’s and Alice Walker’s writings. There will be readings from Nikki Giovanni and Alice Walker's writings. Saying it out loud the latter sounds right, but looking at it the former looks better.",
"I am non-EU citizen working in Germany. Can I travel to UK without a visa? I am from Non-EU country (from Nepal to be precise) and recently moved to Germany for work. I am applying for BlueCard. I would like to travel to UK later this year, can I go there without visa as I am resident in another EU country? I can't find this information online. Any links/references will be much appreciated.",
"Derivation of the formula for Ordinary Least Squares Linear Regression How was the formula for Ordinary Least Squares Linear Regression arrived at? Note I am not only looking for the proof, but also the derivation. Where did the formula come from?",
"Is there a CSS parent selector?",
"Decide if the series converges and prove it using comparison test: $\\sum_{k=1}^{\\infty}\\frac{1}{2k+3}$ Decide if the series converges and prove it using comparison test: $\\sum_{k=1}^{\\infty}\\frac{1}{2k+3}$ $$\\frac{1}{2k+3} <\\frac{1}{2k}<\\frac{1}{k}$$ and since $\\sum_{k=1}^{\\infty}\\frac{1}{k}$ diverges (we have defined that in our readings, so I can claim it here), the complete series will diverge, too. Did I do everything correctly? What makes me feel a bit unsure is that there is no \"$\\leq$\" sign anywhere and when I look up the comparison test on the internet, I don't see any \"<\" or \">\" in the definition. Is it correct anyway?",
"How to calculate number of days between two given dates? If I have two dates (ex. '8/18/2008' and '9/26/2008'), what is the best way to get the number of days between these two dates?",
"One of whom destroys the Earth, perhaps accidentally, while fighting another... the plot also involves a human colony ship or planet that loses contact with the Earth; I think a small boy is also involved with the plot, although it's been 20-30 years since I read this story. Any help would be appreciated! It's driving my brother and me a bit batty. Here's the batty brother's take: the main being has created others who are now at war, exploding stars. To escape, the main being accelerates the star of the human colony as a decoy. However, most of the story centers on some guy who winds up living forever, as they keep sticking him in cryogenic sleep and reawakening him. If memory serves me right, they abandon the colony planet for a while and move to asteroids as the star is weakening because it is using it's energy to accelerate. When it decelerates, it is the only star left in the universe. The one \"being\" was almost reduced to living off the energy of a black hole when it appears, and he sees it and sets off to go there, with a cryptic ending that the humans very well might fight him off.",
"Motivation for Ramanujan's mysterious $\\pi$ formula The following formula for $\\pi$ was discovered by Ramanujan: $$\\frac1{\\pi} = \\frac{2\\sqrt{2}}{9801} \\sum_{k=0}^\\infty \\frac{(4k)!(1103+26390k)}{(k!)^4 396^{4k}}\\!$$ Does anyone know how it works, or what the motivation for it is?",
"What is the argument selector tracking a defined score (not [score_min=])? What if I want to make a command like this: execute @e[score_A=10] ~ ~ ~ summon Creeper So that the entity must have a score of 10 (not less, not more)? Does it even exist that or a [score_A_max=] argument? I know about scoreboard players test, but i guess it is not the case to use it.",
"LM317 Heat sink, how big?",
"If moderators can view , can we see comments we've deleted? We can see our deleted answers, but why not our deleted comments?",
"Getting \"System program problem detected\" pops up regularly after upgrade This started to happen immediately after I had rebooted the first time after doing a system upgrade. It first starts with a dialogue that says \"System program problem detected\". Then when I try to hit 'report problem' not much happens. I am led through a dialogue that always ends up the problem cannot be solved. I am aware this is not a lot of information, however I'm not sure which information I need to publish and how should I obtain it to debug this problem. Here's a screenshot!",
"Show that any prime ideal from such a ring is maximal. Let R be a commutative ring with an identity such that for all $r\\in$ R, there exists some $n>1$ such that $r^n = r$. Show that any prime ideal is maximal. (Atiyah and MacDonald, Introduction to Commutative Algebra, Chapter 1, Exercise 7.) Any hints?",
"How do I mount a hibernated NTFS partition?"
] | medi_sts_stackexchange_dupe |
Is the discoloration on my bed frame rails mold? | Is this mold? Black? White? | [
"I came across the following question: This can be easily flagged for too broad or opinion based, but I wonder on which stack-exchange site can one ask answers for such a question?",
"is there a better way to do this XML scraping task in R?",
"Abstract class with all concrete methods",
"Spivak Chapter 2, problems 27 (and 28) To be honest, I have no idea how to even start this problem. I'm sorry I don't have any work to show, but I'm just at a blank. Help? Chapter 2: Problem 27: University B, once boasted $17$ tenured professors of mathematics. Tradition prescribed that at their weekly luncheon meeting, faithfully attended by all $17$, any members who had discovered an error in their published work should make an announcement of this fact, and promptly resign. Such an announcement had never actually been made, because no professor was aware of any errors in her or his work. This is not to say that no errors existed, however. In fact, over the years, in the work of every member of the department at least one error had been found, by some other member of the department. This error had been mentioned to all other members of the department, but the actual author of the error had been kept ignorant of the fact, to forestall any resignations. One fateful year, the department was augmented by a visitor from another university, one Prof. X, who had come with hopes of being offered a permanent position at the end of the academic year. Naturally, he was apprised, by various members of the department, of the published errors which had been discovered. When the hoped-for appointment failed to materialize, Prof. X obtained his revenge at the last luncheon of the year. "I have enjoyed my visit here very much", he said, "but I feel that there is one thing that I have to tell you. At least one of you has published an incorrect result, which has been discovered by others in the department." What happened the next year?" Chapter 2: Problem 28: After figuring out, or looking up, the answer to Problem 27, consider the following: Each member of the department already knew that Prof.X asserted, so how could his saying it change anything?",
"No Sound (Dummy Output) error Ubuntu 19.10",
"Note: This is not the same as , which is about the moderator tool. I am talking about the flag history page that is accessible through the user profile at . I tend to have a pretty good hit rate for flags, well above 90% helpful on several sites. I also semi-regularly review the flag history page, both to see the status of any outstanding flags as well as see how flags I raised have been handled. Particularly, whenever a flag of mine is declined, I look over the post I raised the flag against with this new information in mind, to try to determine if I should change my flagging behavior in some way to better match the specific site's scope. However, comment flags are difficult in this regard. Most often, there is only a binary status: helpful or declined. Helpful comment flags nearly always lead to the comment being deleted, so that obviously could present a bit of a problem, but that's not really relevant because a helpful flag means you should just keep doing what you've been doing. Declined comment flags, on the other hand, usually mean the comment is kept. It's the declined comment flags that I want to learn more about. But there's no way to! All the flag says is which post it was on, how I flagged a comment, that I was the one to raise the flag (which frankly is rather useless information when you are already looking at your own flags summary), when the flag was raised and whether it's pending, helpful or declined. In a very few cases the moderator handling the flag may leave a helpful return comment. This can get even more confusing if I raise multiple flags in quick succession against comments on the same question including any answers to it, because they basically all get bundled together. Even in the case of a declined flag where the comment remains, there is no way to find your way back to the specific comment you flagged! Thus it is very difficult to recognize the error of your ways. Because comment flags (with few exceptions) are handled by diamond moderators only, the lack of feedback about which comment's flag was declined means it's easy to keep wasting the moderators' time without even intending to do so. Hence my feature request: add a link to the specific comment that the specific flag was raised against, ideally only if that comment remains.",
"Capital letters in \"Theorem\", \"Conjecture\" etc This is my first post and as you can probably guess I am a mathematician so I have no clue about grammar. I am writing a mathematical document at the moment and I would appreciate some advice on my usage of capital letters. Can somebody please confirm if the following are correct? 1) \"We know by Theorem 4.6.1 that...\" 2) \"the following conjecture, due to...\" 3) In order to prove the \"Mckay-Stevens $k$-covering Conjecture, once needs to show that...\" I'm particularly confused about 3). Many thanks for any help",
"Notation for infinite product in reverse order This question is related to notation of infinite product. We know that, $$ \\prod_{i=1}^{\\infty}x_{i}=x_{1}x_{2}x_{3}\\cdots $$ How do I denote $$ \\cdots x_{3}x_{2}x_{1} ? $$ One approach could be $$ \\prod_{i=\\infty}^{1}x_{i}=\\cdots x_{3}x_{2}x_{1} $$ I need to use this expression in a bigger expression so I need a good notation for this. Thank you in advance for your help.",
"Can anyone help me with a solution?",
"I am trying to build a custom Adventure Island. At this moment I am trying to limit the allowed items on this island. I'm trying to do this by filtering on a certain enchantment which is not item-specific. For example. When you want to filter an wooden sword with a custom name, you use this command: /testfor @p[r=5] {Inventory:[{tag:{display:{Name:\"Custom Sword\"}}}]} < When you want to filter a wooden sword with a custom name and specific enchantement, you can use: /testfor @p[r=5] {Inventory:[{tag:{display:{Name:\"Custom Sword\"},ench:[{id:16,lvl:1}]}}]} < But how can I filter on items with a specific enchantment on ANY item? I tried: /testfor @p[r=5] {Inventory:[{tag:{ench:[{id:16,lvl:1}]}}]} < But this ain't work. Does anyone know how to solve this issue?",
"Evaluating $\\int\\limits_0^{\\pi} \\frac{dx}{1+2\\sin^2x}$ After making u substitution two times, I am getting indefinite integral as $$\\int\\limits\\dfrac{dx}{1+2\\sin^2x} = \\dfrac{\\arctan(\\sqrt{3}\\tan(x))}{\\sqrt{3}}+ C$$ I am stuck at working the bounds because I am getting $0$ but the answer needs to be $\\pi/\\sqrt{3}$. I think $\\arctan(x)$ is defined in $-\\pi/2 \\lt x\\lt\\pi/2$ while making u substitution. However I don't see how to use this observation to my advantage. Can anybody help in getting the answer and understanding whats going on. Thanks !",
"What is the proper way to handle data between scenes? I am developing my first 2D game in Unity and I have come across what seems an important question. How do I handle data between scenes? There seems to be different answers to this: Someone mention using , while other people told me this should be used to store other things like screen brightness and so on. Someone told me that the best way was to make sure to write everything into a savegame everytime that I changed scenes, and to make sure that when the new scene loads, get the info from the savegame again. This seemed to me wasteful in performance. Was I wrong? The other solution, which is the one I have implemented so far is to have a global game object that isn't destroyed between scenes, handling all the data between scenes. So when the game starts, I load a Start Scene where this object is loaded. After this ends, it loads the first real game scene, usually a main menu. This is my implementation: using UnityEngine; using UnityEngine.UI; using System.Collections; public class GameController : MonoBehaviour { // Make global public static GameController Instance { get; set; } void Awake () { DontDestroyOnLoad (transform.gameObject); Instance = this; } void Start() { //Load first game scene (probably main menu) Application.LoadLevel(2); } // Data persisted between scenes public int exp = 0; public int armor = 0; public int weapon = 0; //... } This object can be handled on my other classes like this: private GameController gameController = GameController.Instance; While this has worked so far, it presents me with one big problem: If I want to load directly a scene, let's say for instance the final level of the game, I can't load it directly, since that scene does not contain this global game object. Am I handling this problem the wrong way? Are there better practices for this kind of challenge? I would love to hear your opinions, thoughts and suggestions on this issue. Thanks",
"I run into this infinite product today. I don't have that much experience evaluating products therefore I don't have any idea of how to tackle this. Here is the question. Evaluate (if possible) in a closed form the product: $$\\Pi = \\prod_{n=1}^{\\infty} \\frac{1}{1+\\pi^{{\\large \\frac{1}{2^n}}}}$$ The numerical value seems to be $\\Pi= 0.534523$ which is very close to $\\frac{\\pi}{6}$ taking into account that $\\frac{\\pi}{6} \\approx 0.523598$. In the mean time W|A evaluates it to $0$. I'm lost. Can the community help? Edit: Based on the answer we have two products. The product I asked tends to zero and the bonus product provided by @you're in my eye (thanks for that) is $\\frac{\\ln \\pi}{\\pi-1}$. Thanks for the quick response.",
"Is there a way of moving unwanted villagers out faster?",
"Is a \"split plot\" ANOVA with two factors the same as two-way ANOVA with repeated measures in one factor? Is a \"split plot\" ANOVA with two factors identical to two-way ANOVA with repeated measures in one factor? if not, what is the distinction?",
"Abelian groups of order n. Is there a number $n$ such that there are exactly 1 million abelian groups of order $n$? Can anyone please explain. I would yes because numbers are infinitive, and so any number n can be expressed as a direct product of cyclic groups of order n. Can anyone please help me understand. Thank you.",
"$\\sum_{k=1}^nH_k = (n+1)H_n-n$. Why?",
"How are PCA and classical MDS different? How about MDS versus nonmetric MDS? Is there a time when you would prefer one over the other? How do the interpretations differ?",
"For what values of $\\alpha$, does this integral converge? For what values of $\\alpha>0$ this integral converges $$\\int_0^{\\infty} \\frac {\\sin x}{x^{\\alpha}}dx $$",
"\"In\" vs. \"after\" for future talk"
] | medi_sts_stackexchange_dupe |
how to put images beside | Tikzpictures side by side | [
"Fastest way to try all passwords Suppose you have a computer with a password of length $k$ in an alphabet of $n$ letters. You can write an arbitrarly long word and the computer will try all the subwords of $k$ consecutive letters. What is the smallest word that contains all combinations of $k$ letters as subword? (i.e. the fastest way to hack the computer :) ) The smallest word that contains $n^k$ subwords of size $k$ has length $k-1+n^k$ and based on some easy cases, we would like to prove that it is in fact possible to find a word of such length that contains all possible passwords. The problem can be translated into a problem in graph theory, by taking as vertices all words of length $k$. We tried $k=2$, where you can prove the conjecture by induction. For $n=2$ and small $k$ it also works.",
"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?",
"Why is the derivative of a circle's area its perimeter (and similarly for spheres)?",
"How can I wake-up a PC using a command? (i.e. equivalent to moving a mouse, etc) It doesn't seem like this would be very difficult, but how can I wake-up a PC by doing the equivalent of moving a mouse or pressing keys on a keyboard? My PC is running Windows 10 and I only have the monitors enter sleep mode after 15 minutes. The rest of the PC is still awake and doesn't use hibernate, etc. I'm trying to use EventGhost to receive a TCP/IP command that tells the PC to wake up the displays but it's proving quite difficult.",
"Prove $ \\forall c \\in \\mathbb{R^{+}}, \\forall B \\in \\mathbb{N}, \\exists n \\in \\mathbb{N}, (n \\geq B) \\wedge (\\sqrt{2n} > c \\ln(n+2)) $?",
"Sum of $\\frac{1}{(2n)(2n+1)}$ from $1$ to infinity",
"How do I calculate a time delta in my Google Spreadsheets?",
"Create a floating div on top of divs",
"Does metric signature affect the stress energy tensor?",
"dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading I get the following error after installing nmap: dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2)",
"I'm reading a lot of documentation on sed, and am still stumped on my particular use case. I want to replace this line in a conf file with my own line: Replace this line: #maxmemory <bytes> with: maxmemory 26gb This is what I tried: sed s/maxmemory.*bytes.*/maxmemory 26gb/ /etc/redis/redis.conf I get the error: sed: -e expression #1, char 30: unterminated `s' command Which stumps me because I don't know what that means. So my question is: How can I accomplish what I want? What does that error mean? (so I can learn from it)",
"Correct position of \"only\"",
"We often see new users make offtopic, low quality posts, with broken English and cries for help. These questions look significantly different from most on SO. When I worked in publishing, we would frequently receive documents that were incorrectly formatted. This was a major problem and we wasted a lot of time sending emails back and forth. I made a small JavaScript quiz asking our authors about the formatting directions and the number of emails drastically dropped. I felt this was much nicer than simply rejecting them, additionally providing us a chance to make the directions more clear. It is slightly unconventional but, would showing new users a quiz where they have to identify good and bad posts help to improve the quality of SO questions? Edit (3/8/2017) Recently a Norwegian website got some media attention for .",
"I want to have a vector with a superscript: \\vec{o}^t But this gives very bad results: the t is overlapping with the vector arrow. How do I fix this (and why does this give bad results in the first place) ?",
"Embedding ordinals in $\\mathbb{Q}$",
"Having trouble finding Plantera's Bulb I have been playing on hardmode for a while and have beaten the three a couple of times. But I have yet to find a . It's getting really frustrating. Does anyone have any methods to finding a Plantera Bulb?",
"Combining Shimano RS500 crankset with Stages Shimano 105 5800 I've been thinking about getting a power meter for a while now. I finally decided I would get one, but now I realise that Stages only starts at the Shimano 105 level. I currently have a Shimano RS500 Crankset ( 50 x 34 ) and I'm very pleased with it, so I don't feel a need to replace the whole crankset with a 105 5800. I also have no plans to upgrade anytime soon to Dura Ace or something like that (the rest of my bike has the 105 5800 set), so I don't think I should buy a higher lever crank arm from Stages. Now, I know something about bikes, but not a lot. It seems that what I have (RS500) looks compatible with the 105 crank arm (just judging by the looks), but I would like to be certain before I spend this amount of money. My set: Stages I would like to get: Kind regards and thanks in advance,",
"How to delete a keyboard layout in Windows 10 I installed Windows 10 on a physically German keyboard, then installed a Window English software keyboard and bought some little stickers to make my keyboard look OK. However, Windows shows 2 keyboards installed & occasionally toggles back to German. Note that I am not talking about removing a language (which is all that I can find when I Google). How do I remove the German keyboard layout?",
"Undefined variable problem with PHP function",
"Problem with IMPORTRANGE function in Google Sheets I’m trying to get IMPORTRANGE to work for me with no success. I made two simple spreadsheets: and . In the destination sheet I’m using the import range function: =importrange(“1-5F1_zz0ZpGj7SfeQhewsCe0CsrA0eyPbjfmUrLBsyk”,”Sheet1!a1:a1”) I tried already: Replacing the , with ; Referencing just the key as well as the full URL in the first argument Switching from “ to ‘ With the sheet name and without it Not sure what else to do. Any ideas?"
] | medi_sts_stackexchange_dupe |
Ban user for continuously asking questions which show no effort | What can I do when getting "We are no longer accepting questions/answers from this account"? | [
"Suppose we have a set $S=\\{a,b\\}.$ Obviously, the total number of binary operations on $S$ is the number of all the pairs such that $$*(a,b)=a \\, \\text{or} \\, b,$$ which gives $ 2 \\cdot 2 \\cdot 2 \\cdot 2=2^4$ possible ones. Is there a way to find which of these $16$ binary operations are associative without writing all the operation matrices and checking it by hand?",
"Why do the directories /home, /usr, /var, etc. all have the same inode number (2)?",
"What the #$@&%*! is that called? Is there a name for the use of symbols in place of curse words, for example #$@&%*!?",
"ERD for a web development company I am working on an ERD which represents the relationships between entities in a Web development company behavioral model. There I have entities like: Customer Service ----------- (like: web development, web design, web consultation, ...) Order-item ------- (like: web development, web design, web consultation, ...) Order Invoice Project Project-phase Task --------------- (like: web development task3, web design task7) Developer Delivery ----------- (like: the developed web app, web consultation session, ...) I have this diagram so far, though I know it still has major problems, and it is just for a start point: Main concept Customer makes order-items on services, combined to form an order which relates to an invoice. Each project has multiple project-phases with each project-phase related to an order. Each project-phase has multiple tasks, each of which is assigned to a developer. Each project-phase has a delivery, which will be delivered upon payment of the related orders invoice. Questions Are has and contains completely the same? If not, how to choose between them for relationships?! what is the measure?! Are there any rational problems with the Main concept section? Any helpful ideas or suggestions to improve this model? Any help with this, would be really appreciated. Update 1 Refined version of the diagram Update 2 Considering an analogy of a Fast food restaurant would be helpful: Customer ---------- A hungry person Service ------------- Making a burger, Home delivery, Mobile delivery, ... Order-item --------- A burger, ... Order ---------------- A home-delivered burger Invoice -------------- The printed invoice Project -------------- Serving the customer for a complete year (like a contract) Project-phase ----- Serving the customer for a single day Task ----------------- Preparing the kitchen, process the meat, ... Developer ---------- The cookie Delivery ------------- A burger in wrapped in wax papaer and a drink with the tray Update 3 () Project seems to be unrelated to Customer in your diagram. Is this what you intended? I think Order is and Project should not be related, as I think it is something off-the-counter and customer has nothing to do with it. she/he is only after the delivery and is concerned about time and money, nothing else. Please tell if I am wrong. Are all Orders part of a Project or can you have orders that aren't in a project at all? All Orders are part of a project, except those new ones which are waiting in the process queue. Similarly, you relate order item directly to customer, but also to order. Are orders split between customers? Please think of Order-Item as these: web design web design consultancy domain name consultancy ... So, customer choose some of these items, collected as an Order which has an invoice and could be paid. Order-Items are directly related to offered Services. I don't understand what do you mean by Are orders split between customers?. If not you don't need a ternary relationship between customer, order item and service. Rather, an order item is an intersection between order and service. Order items belong to customers by inheritance from order (or even project?) This is somehow true: Order items belong to customers by inheritance from order, but I think it is more rational to say it like this: Order-Items, inherited from Service, belong to Order which itself belongs to Customer.",
"There is a $C > 0$ such that $\\vert f(z)-f(w)\\vert \\leq C\\vert z-w\\vert$ for a holomorphic map into $B(0, R)$. Let $0<\\delta<r$ and $R>0$, and $a\\in\\mathbb C$. I want to show that there exists $C>0$ such that for all holomorphic functions $f\\colon B(a,r)\\to B(0,R)$, we have $$ \\vert f(z)-f(w)\\vert\\leq C\\vert z-w\\vert $$ for $z,w\\in B(a,\\delta)$. I'm not sure how to approach this. I was wondering if I could use that $$ \\left\\vert\\frac{f^{(n)}(a)}{n!}\\right\\vert\\leq\\frac{\\Vert f\\Vert_{C(a,\\rho)}}{\\rho^n} $$ for some $0<\\rho<r$. I also have an expression from biholomorphic maps from $B(0,1)$ to itself, but I'm not sure if I could use that here. Any hints?",
"I have some data which looks like: sampleA ATGC 10 100 sampleA ATGC 120 230 sampleA ATGC 200 110 I want to print the min and max using the values in both column 3 and 4. So my output should look like: sampleA 10 230 Thanks in advance",
"If a and b are relatively prime and ab is a square, then a and b are squares. If $a$ and $b$ are two relatively prime positive integers such that $ab$ is a square, then $a$ and $b$ are squares. I need to prove this statement, so I would like someone to critique my proof. Thanks Since $ab$ is a square, the exponent of every prime in the prime factorization of $ab$ must be even. Since $a$ and $b$ are coprime, they share no prime factors. Therefore, the exponent of every prime in the factorization of $a$ (and $b$) are even, which means $a$ and $b$ are squares.",
"How to set the fully qualified hostname on CentOS 7.0? How do I set the fully qualified hostname on CentOS 7.0? I have seen a few posts online for example using: $ sudo hostnamectl set-hostname nodename.domainname However, running domainname returns nothing: $ domainname (none) Also: $ hostname nodename.domainname However, $ hostname -f hostname: Name or service not known $ hostname -d hostname: Name or service not known Some debug output: $ cat /etc/hostname nodename.domainname $ grep ^hosts /etc/nsswitch.conf hosts: files dns",
"I want Ctrl+Alt+B bring up a browser. Ctrl+Alt+Delete is handy. Can I set up Ctrl+Alt+B to bring up a browser (either default or specific)?",
"Obtain the joint PDF of $\\theta_{1} - \\theta_{2}$ and $\\theta_{1}$ where $\\theta_{1}$ and $\\theta_{2}$ are i.i.d $\\text{Uniform}[0, 2\\pi)$ I have 2 i.i.d Uniform random variables $\\theta_{1}$ and $\\theta_{2}$ on $[0, 2\\pi)$. Here the problem pushes us to consider that all operations are made modulo $2\\pi$. My question is how to obtain the joint PDF of $\\theta_{1} - \\theta_{2}$ and $\\theta_{1}$ and then obtain the conditional PDF of $\\theta_{1}$ given $\\theta_{1} - \\theta_{2}$??. For the second part It can be deduced from the first by writing it as the joint PDF divided by the PDF of $\\theta_{1}$. But for the first part, A common idea that I saw is to derive the $\\text{CDF}(x, y) = P(\\theta_{1} - \\theta_{2} \\le x$, $\\theta_{1} \\le y$) and then perform derivations respect to $x$ and $y$. Is this a right approach? If yes, how to proceed with CDF especially with our uniform distribution restrictions?",
"The following will cause infinite recursion on the == operator overload method Foo foo1 = null; Foo foo2 = new Foo(); Assert.IsFalse(foo1 == foo2); public static bool operator ==(Foo foo1, Foo foo2) { if (foo1 == null) return foo2 == null; return foo1.Equals(foo2); } How do I check for nulls?",
"Evaluate $\\lim_{y\\to 0} \\dfrac {(x+y)\\sec (x+y) - x\\sec x}{y}$ Evaluate $\\lim_{y\\to 0} \\dfrac {(x+y)\\sec (x+y) - x\\sec x}{y}$. My Attempt: $$=\\lim_{y\\to 0} \\dfrac {(x+y) \\sec (x+y) - x\\sec x}{y}$$ $$=\\lim_{y\\to 0} \\dfrac {x\\sec (x+y) + y\\sec (x+y) - x\\sec x}{y}$$ $$=\\lim_{y\\to 0} \\dfrac {x(\\sec (x+y) - \\sec x) + y\\sec (x+y)}{y}$$",
"msbuild, defining Conditional Compilation Symbols I'm possibly just blind, but is there a command line to specify conditional compilation symbols in MSBUILD? I currently have this Line in my buildscript: SET MSBUILD=C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe SET CONFIG=Debug %MSBUILD% /p:Configuration=%CONFIG% /p:OutputPath=..\\..\\output source\\MyProject\\MyProject.csproj And I'd like to add a condition. In Visual Studio, i can just go into Project Properties => Build => Conditional compilation symbols, but I have not seen that option for msbuild? Bonus Karma if you know if I can completely override all symbols already specified in the .csproj files to make sure that only the conditionals from my Buildscript go in.",
"Could 'cogito ergo sum' possibly be false?",
"What is the difference between currying and partial application? I quite often see on the Internet various complaints that other peoples examples of currying are not currying, but are actually just partial application. I've not found a decent explanation of what partial application is, or how it differs from currying. There seems to be a general confusion, with equivalent examples being described as currying in some places, and partial application in others. Could someone provide me with a definition of both terms, and details of how they differ?",
"Read MIME data using PHP",
"When a sentence uses a parenthetical plural, should the rest of the sentence treat it as singular or plural?",
"As the title says: Is a 1st-level spell cast using a 4th-level slot a 1st-level spell, or a 4th-level spell?",
"If $\\int_0^x f \\ dm$ is zero everywhere then $f$ is zero almost everywhere I have been thinking on and off about a problem for some time now. It is inspired by an exam problem which I solved but I wanted to find an alternative solution. The object was to prove that some sequence of functions converges weakly to zero in $L^2$. I managed to show (with some help) that the limit $f$ (of a subsequence) satisfies $\\int_0^x f \\ dm=0$ for all $x>0 $. From this I want to conclude that $f=0$ a.e. I can do this with the fundamental theorem of calculus in its Lebesgue version but there ought to be a more elementary proof. Can someone here help me out?",
"What good CAD programs are available?"
] | medi_sts_stackexchange_dupe |
Does Python uses Memory Pooling for Strings, Integers | "is" operator behaves unexpectedly with integers | [
"How to install Ubuntu 18.04 alongside Windows 10 How to install Ubuntu 18.04 alongside Windows 10? I have tried different process to install Ubuntu 18.04 in my PC in dual boot mode alongside Windows 10. But it turned out that most of the process didn't worked for my PC. My PC's configuration is 500 HDD, 3.5GHz Intel processor, 4GB RAM, 1GB Intel graphics & supports both BIOS & UEFI.",
"I have reviewed both related posts on this site: The issue I am having is that I have implemented the registry change, rescanned my websites, and I am still being told that IIS 6 is allowing SSL 2.0 connections. Here's the verbage from the scanning site: Synopsis : The remote service encrypts traffic using a protocol with known weaknesses. Description : The remote service accepts connections encrypted using SSL 2.0, which reportedly suffers from several cryptographic flaws and has been deprecated for several years. An attacker may be able to exploit these issues to conduct man-in-the-middle attacks or decrypt communications between the affected service and clients. QUESTIONS: How do I test this myself so I can continue to troubleshoot the issue? Is there a tool out there that I can use to test? Would I need to disable other connection methods? [PCT 1.0 / TLS 1.0] Thanks",
"Add self-answer delay for all users TL;DR: I believe there are still some issues with self-answers, particularly near-immediate self-answers, which are not addressed by the current system. This could be remedied by imposing an automated restriction on how soon self-answers will be displayed in the thread. Allow users to submit self-answers at any time, but do not display them until certain reasonable conditions (a relatively short timeout, or the posting of a competing answer) are met. History This thread covers a good deal of the concerns surrounding self-answers, and some mechanisms in place to prevent \"bad\" self-answers from new users and other abuse of the self-answer system. As I understand it, the following restrictions apply: Users with <100 rep cannot self-answer within 8 hours of posting a question. Self-answers cannot be accepted within 48 hours of posting. Self-answers do not provide rep from being accepted. Accepted self-answers are not pinned to the top of the thread. Problem This does a good job of preventing users from posting answers which should probably be comments (or not posted at all), allows superior answers to rise above accepted self-answers, and prevents some other abuses of the system. However, there is a less tangible element of self-answers which this does not address: Self answers are a disincentive to other users who may otherwise be willing to post more accurate, detailed material stemming from broader or deeper knowledge and/or experience than the asker has. When someone posts an answer to their own question, it presumably means that the problem which spawned the question is solved to their satisfaction. This is fine for the purposes of sharing information with the community, but it deters others from providing solutions to the question which may be more complete or accurate since there is not so much likelihood that the self-answerer will accept a competing answer. Worse, in the case of near-immediate self-answers, this can remove the incentive for other users to gain reputation via up-votes because the asker has an unfair head-start. Unless everyone is required to view new answers to questions where they have already voted on an answer, most people probably vote on a good answer and never look at the question again. This can put (potentially) better answers at a disadvantage even when the head-start is within an hour. Suggested Solution Add a delay to the posting of self-answers. The delay should be the least of these: Until a competing answer has been posted. A reasonable amount of time to allow competing answerers a chance to post, without preventing self-answers outright. (Suggestion: 2 hours) To better facilitate this, and avoid completely turning people off from appropriate self-answering, I suggest the delay be handled through automation more than user limitation. That is, the user should be allowed to submit the self-answer at any time. But the answer will not actually be displayed to other users until one of the above conditions have been met. This could also be applied to the existing 8-hour delay for low-rep users. Example: T:0 - A user finishes resolving a tough problem, just before he would have gone to SE for assistance, and decides to share his new-found knowledge with the community. He posts a question describing his problem. T:5 minutes - The user then posts a self-answer. There has not yet been another answer posted to the thread. The user is given a notice describing the restrictions in place regarding self-answers, and the answer is submitted into the database but not displayed to other users. (Similar to how suggested edits are only displayed to the user suggesting them, until they are approved.) T:1 hour, 15 minutes - Another user sees the unanswered question, and posts their answer. Their answer is displayed immediately, and the self-answer is now also displayed. T:2 hours - Had the second answer not been posted, the self-answer would automatically be displayed after this point.",
"Fundamental group of a torus with points removed",
"How to add desktop shortcut for URL, ignoring web app manifest? Goal: Have a desktop shortcut that opens , ignoring the contained web app manifest that otherwise \"overrides\" the saved shortcut to and with \"display\": \"standalone\". I had this working previously on an older Android phone before a replacement / upgrade. Prior to the upgrade, I was able to long-press and open individual articles in new tabs - as well as copy link shortcuts to specific articles, as well as all of the other features and functionality that Chrome has to offer. Here is just a partial selection of references of other users complaining about the same: Using provides a temporary successful work-around. However, I can't find a successful way to add a link for this to my home screen. The \"Add to Home screen\" option within Chrome instead saves a link to - and in such a way that it opens as a web application instead of a web page within Chrome: On a desktop operating system, this would be a non-issue. (Create shortcut, enter desired URL, done.) Attempt 1: Provide my own Manifest So I created my own manifest - editing to change the start_url attribute to https://news.google.com/news/i#0, and the display attribute from standalone to browser. I then created my own HTML page that simply contained the below - then self-hosted both on a local web server: <html> <head> <Title>Google News</Title> <link rel=\"manifest\" href=\"/news/manifest.json\"/> </head> <body> Test </body> </html> However, this doesn't work: Despite the shortcut being saved with the desired name and icon, it links back to my self-hosted HTML page, and not the indicated start_url. Unfortunately, it appears that cross-domain URLs are not allowed per the manifest intent - as per and . Attempt 1b: MITM website Within the confines of my own local network, I figured I could try to (MITM) the website to temporarily provide a desired manfiest to use for addition to the home screen. Unfortunately, the website uses here, which appropriately blocks the attempt. Regardless - this is way too much work for what should be a simple effort. Attempt 2: Widget Bookmark Unfortunately, it looks like the 1x1 bookmark widget was removed in Chrome 48, as per . The suggested work-around is to use the \"Add to Home screen\" feature within Chrome. Goto 10 / see beginning. Attempt 3: Use the default-provided \"Internet\" browser Unfortunately, using \"Add shortcut on Home screen\" in the default-provided \"Internet\" browser produces the same result as Chrome. Consideration 4: Use a custom app / widget Could probably write and install a custom application or widget that could be added to the home screen to meet the goal. Or don't re-invent the wheel, and use an existing one. Some possibilities: \"More Shortcuts\": \"Shortcut Customizer\": Conclusion How can someone create a desktop shortcut to an arbitrary URL, ignoring a provided web app manifest?",
"How can I selectively disable paste blockers",
"I used to edit the startup script for the GDM (/etc/gdm/Init/Default) to permanently change my display resolution. How can I do this with LigthDM in Ubuntu Oneiric?",
"What's the difference between using black and white mode in-camera, and converting in post? For black and white photography, will there be any quality difference between using the built-in black and white mode, or shooting in color initially and then removing the color later using Photoshop (or similar application)? I have a high-end compact camera, the .",
"Keyboard shortcut to autocomplete the user in comments",
"Slow Network Printing over OpenVPN / Windows Server 2008 Our setup is as follows: Two offices (A and B) connected with OpenVPN Access Server. One Windows Server 2008 R2 Standard Housed in remote datacenter. Terminals at both offices connect through RDP in order to use a particular piece of software concurrently. Network Connected printers (Deployed with GPO) that are connected to separate terminals at each office (and shared) are used with this software to print things throughout the day. We are experiencing extremely slow printing times. Opening printer properties can take 30-60 seconds and printing times range from 30-180 seconds with no apparent reason. File sizes remain < 1mb. This happens with each of our printers. All different models. The server massively underutilized with a 6-core AMD, 16GB ram, 4x 120GB SSDs, and a 100 megabit port. Our VPN does not seem to be a bottleneck either. I've been attempting to find ways to increase print speed. So far no success. What can you advise?",
"How to make random dots in different sizes and spaces between the dots in Illustrator? I am trying to make something similar to this? Obviously it's possible to make it manually piece by piece, but I am looking for some kind of automated feature in Illustrator to achieve this? Is this possible? Thanks man in advance!",
"Note that this is not the same as: Mistagged questions should be retaggable immediately.",
"What is the Total Reputation field on Area51? What does the total reputation field on Area51 represent? It's obviously not the total of the user's reputation on the various sites, as that is the number listed as user reputation.",
"I am currently writing my thesis and need to include a bunch of email conversions. I am using classicthesis. I wonder, how you would format stacked conversions. Moreover, how would you deal with the email header, signatures and line breaks: why do I need to add \\\\ all the time? This is the configuration I am currently experimenting with: \\documentclass[ oneside, openright, titlepage, dottedtoc, numbers=noenddot, headinclude, footinclude=true, cleardoublepage=empty, abstractoff, BCOR=5mm, paper=a4, fontsize=11pt, ngerman, american ] {scrreprt} \\PassOptionsToPackage{utf8}{inputenc} \\usepackage{inputenc} \\usepackage{blindtext} \\usepackage{framed} % Vertical line that highlights quotations in an email. % Use \\begin{leftbar} and \\end{leftbar} environment. % Width of the line = 0.4pt % Space between the line and the text = 10pt % Requires \\usepackage{framed} \\renewenvironment{leftbar}{% \\def\\FrameCommand{\\vrule width 0.4pt \\hspace{10pt}}% \\MakeFramed {\\advance\\hsize-\\width \\FrameRestore}}% {\\endMakeFramed} \\usepackage{nicefrac} \\usepackage[english]{babel} \\usepackage[pdfspacing]{classicthesis} \\begin{document} \\selectlanguage{ngerman} % american ngerman % Disable paragraph indentation. \\setlength{\\parindent}{0pt} \\begin{verbatim} From: [email protected] Subject: Your inquiry from 20042012 Date: Thu, 3 May 2012 11:34:54 +0200 To: Jane Doe <[email protected]> \\end{verbatim} Jane Doe wrote: \\begin{leftbar} \\begin{leftbar} \\begin{leftbar} \\begin{leftbar} There are a couple of questions I like to ask. Please forward them if you cannot do so. \\end{leftbar} I hope I can answer them after holidays. \\end{leftbar} I am back from holidays now and will look through your questionaire the next days. \\end{leftbar} Thank you, Mr. Doe - I am awaiting your answers. \\end{leftbar} Dear Mrs. Doe,\\\\ \\ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut molestie placerat pharetra. In quam leo, tincidunt ut consequat eget, malesuada sit amet urna. Morbi et interdum arcu. Nullam nisi nunc, ullamcorper vitae pulvinar eu, suscipit ut augue.\\\\ \\ Donec risus mi, accumsan ac interdum id, molestie sed mauris. Suspendisse porttitor luctus justo in ullamcorper. Proin in neque magna. Mauris quis arcu eget enim mattis pharetra vitae a dolor. Nam aliquam consectetur mollis. Ut at sem quis dolor faucibus fringilla. Quisque cursus vehicula odio, vitae placerat ipsum dapibus id.\\\\ \\ Best regards\\\\ John Doe\\\\ \\ (See attached file: Questions\\_Doe.doc) \\begin{verbatim} _______________________________________________________ Administration New York John Doe Mainstr. 3 11111 New York T: (011) 212-4301 F: (011) 212-954301 M: [email protected] \\end{verbatim} \\begin{leftbar} My question I looking forward to reading the answers to my questions:\\\\ \\ 1. Is the world analog or digital? \\end{leftbar} digital \\begin{leftbar} 2. How long does the world exist? \\end{leftbar} analog since 1984, digital since 1999 \\end{document} This is what the above latex example looks like. I also saw but I do not want to use > or colors. My settings are inspired by this and this .",
"$X_n\\leq Y_n$ implies $\\liminf X_n \\leq \\liminf Y_n$ and $\\limsup X_n \\leq \\limsup Y_n$ Can anyone prove this question? I tried but I didn't get any I idea, so I hope someone can solve it. Let $X_n\\leq Y_n$ for each $n\\in \\Bbb N$. Show that $\\liminf X_n \\leq \\liminf Y_n$ and $\\limsup X_n \\leq \\limsup Y_n$. Please prove this question - thanks. The definition I have: Let $X_n$ be a sequence in real number and let $$E=\\{x\\in \\Bbb R^\\sharp:(X_{n_k}) \\rightarrow x \\text{ for some subsequence }(X_{n_k})\\text{ of }(X_n)\\}$$ for all $n \\in \\Bbb N$ and $k$ from $1$ to $\\infty$. Then by definition $\\lim\\sup X_n = \\sup E$ and $\\lim\\inf X_n = \\inf E$.",
"Is $f(x)=10$ a periodic function?",
"Does $\\lim_{z\\rightarrow0}\\frac{\\bar{z}^2}{z^2}$ exist?",
"CSS3's border-radius property and border-collapse:collapse don't mix. How can I use border-radius to create a collapsed table with rounded corners?",
"Custom counter steps twice when invoked from caption using caption package",
"Is there any way (such as a command or environmental variable) to determine what window manager is the one actively running in the current session?"
] | medi_sts_stackexchange_dupe |
What is the logic used in the program? | How to implement Bitcount using only Bitwise operators? | [
"How to change the hostname of a RHEL-based distro?",
"\"[somebody]'s theme\" vs \"[somebody] theme\" — Saxon genitive dillema When is it required to use 's in phrases like below (examples taken from Wikipedia)? James Bond theme 007 theme Boba Fett motif Droids motif Yoda's theme ... Are there any rules for eliding Saxon genitive? How does the situation change if we have something instead of somebody?",
"If I have Optimize iPhone Storage enabled on my iPhone and my phone storage is completely full, I understand that iOS will only store a low-res thumbnail of many of my photos on the device. (The full high-res version of the image will only exist in iCloud and on devices with Download and Keep Originals enabled.) But when only thumbnails exist on the device, how does that work in relation to other photo apps on iOS? For example, do third-party cloud-based photo apps (like Google Photos, Dropbox's Carousel, or Amazon Prime Photos) have access to the full high-res images from the iCloud Photo Library? Or will they only see the low-res thumbnails in some cases?",
"factorization of a^n+1?",
"$\\int f=0$ implies $f=0$ almost everywhere Let $f$ be nonnegative and measurable. Show that $\\int f =0$ implies $f=0$ almost everywhere (except possibly on a set of measure zero). My thoughts. Take a set E with $m(E) \\neq 0$. Suppose $f \\neq 0$ on E. That means $\\int_E f \\neq 0$. Since $f$ is nonnegative this implies $\\int f >0$. That contradicts the given information, so $f$ must be 0 almost everywhere.",
"reCaptcha v1 is shutting down on March 31, but SEDE still uses it",
"Spacing changes when using unicode-math range feature. Why? You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign & Latin Modern, see my example: \\documentclass{scrartcl} \\usepackage{amsmath} \\usepackage{unicode-math} % use unicode in math & setup math fonts \\setmathfont{Asana Math} %\\setmathfont[range=\\sum]{Latin Modern Math} % substitute Sum sign \\begin{document} Notice the different sum sign $\\sum$, as intended. Notice also, the difference in spacing, not intended: \\begin{equation} \\begin{bmatrix} 0 & \\frac{1}{2} & \\frac{2}{3} \\\\ \\frac{3}{4} & 0 & \\frac{4}{5} \\\\ \\frac{5}{6} & \\frac{6}{7} & 0 \\end{bmatrix} \\begin{pmatrix} A \\\\ B \\\\ C \\end{pmatrix} \\end{equation} \\end{document} However, not only the sum sign, but also the spacing in the matrices changes. With Latin Modern commented out (as in the example): With Latin Modern active (remove % before relevant line): Why is that? BTW, I'm using Lualatex from TeXLive 2012.",
"How to configure splash screen after plymouth I have configured my splash screen for plymouth - and it works perfectly. I've also configured the display manager (I'm using gdm). In between these two I get a very brief splash screen - a kind of swirl of multi-coloured ubuntu like colours. Where does this splash screen get set, and how do I change it? Edit: Here is a video of my boot sequence, showing the screen in question:",
"Evaluating the limit $\\lim_{n\\to\\infty} \\left[ \\frac{n}{n^2+1}+ \\frac{n}{n^2+2^2} + \\ldots + \\frac{n}{n^2+n^2} \\right]$ Evaluating the limit $\\displaystyle \\lim_{n\\to\\infty} \\left[ \\frac{n}{n^2+1}+ \\frac{n}{n^2+2^2} + \\ldots + \\frac{n}{n^2+n^2} \\right]$ I have a question about the following solution: We may write it in the form: $$ \\frac{1}{n} \\left[ \\frac{1}{1+(\\frac{1}{n})^2} + \\ldots + \\frac{1}{1+(\\frac{n}{n})^2} \\right] $$ Somehow I need to figure out that the limit is actually the Riemann sum of $\\frac{1}{1 + x^2}$ on $[0,1]$ for $\\pi = 0 < \\frac{1}{n} < \\ldots < \\frac{n}{n}$. Can you explain to me to reach this conclusion?",
"Consider this picture of sun beams streaming onto the valley through the clouds. Given that the valley is only (at a guess) 3km wide, with simple trigonometry and the angles of the beams, this gives the result that the position of the light source is being a few tens of km away at most. What is wrong with the analysis?",
"I am superimposing CGI over video footage, and have run into a problem in making materials for objects that act as 'shadow catchers'. Essentially I want a shader that is shadeless—like an emitter—but catches shadows and light from other objects. This is so I can reconstruct objects in footage so other objects in the scene interact convincingly with them. Here's an overcomplicated diagram to illustrate my point: (In this particular scenario, the problem could be glossed over by using RGB curves, but that is definitely not the case with more complicated scenes) Isn't this a common situation? How to the real guys do it? Thank you. (I am welcome suggestions of other ways of doing this.)",
"Pass shell variable as a /pattern/ to awk",
"Why doesn't this perpetual motion machine using the buoyant force work?",
"Generalizing polygon file while maintaining topology in QGIS? I have a polygon Shapefile, which I need to generalize. How can I generalize the poligons and ensure that there are no topological errors like \"slivers\". I already tried: Vector -> Geometry Tools -> polygones to lines Vector -> Geometry Tools -> simplfy geometries ... here I can already see on the screen, that I am producing overlaps and gaps nevertheless now I try Vector -> Geometry Tools -> lines to polgones and here the program show an error and crashes",
"Python: Uniqueness for list of lists",
"Why does second pre-image resistance imply pre-image resistance I am studying hash functions. I can understand why collision resistance implies second preimage resistance, but I don't get why second preimage resistance should imply first preimage resistance. Could anybody be help me with this argument from Introduction to Modern Cryptography by Katz & Lindell, please? Collision resistance: This is the strongest notion and the one we have considered so far. Second pre-image resistance: Informally speaking, a hash function is second pre-image resistant if given $s$ and $x$ it is infeasible for a probabilistic polynomial-time adversary to find $x' \\ne x$ such that $H^s(x') = H^s(s)$. Pre-image resistance: Informally, a hash function is pre-image resistant if given $s$ and $y = H^s(x)$ (but not $x$ itself) for a randomly chosen $x$, it is infeasible for a probabilistic polynomial-time adversary to find a value $x'$ such that $H^s(x') = y$. (Looking ahead to later chapters in the book, this essentially means that $H^s$ is one-way.) [...] Likewise, any hash function that is second pre-image resistant is also pre-image resistant. This is due to the fact that if it is possible to invert $y$ and find an $x^\\prime$ such that $H^s (x^\\prime ) = y$ then it is possible to take $x$, compute $y = H^s (x)$ and invert it again obtaining $x^\\prime$. Since the domain of $H$ is infinite, it follows that with good probability $x \\neq x^\\prime$. We conclude that the above three security requirements form a hierarchy with each definition implying the one below it.",
"How to blacklist kernel modules? How do I disable loading of unnecessary kernel modules. Kernel 3.2.4",
"How can I integrate $$\\ln \\left( x+\\sqrt{1+x^2} \\right) $$ The problem is from IA Maron Calculus, Problem 4.3.17. The problem is under the heading 'Integration by parts'. I have tried it, but it just leads to 2 unsolvable integrals",
"How do I install the latest OpenOffice?",
"Understanding Group Permissions"
] | medi_sts_stackexchange_dupe |
"And God said......and there was light." What does these equations mean? | What is the meaning of this "let there be light" joke? | [
"Before upgrading to macOS Sierra, I really liked the Character Accent Menu by doing a long press on a key (for example, the character e) and being able to add an accent on it. However, this functionality seems to not work anymore, and so far, I can't find out why? Also, before, doing a long press on the delete button, would repeatly delete characters. Now, it is doing only one character deletion disregarding how long I'm pressing the key. So if I want to erase 10 characters, I need to press the delete button 10 times... Also, I am not able to log off or shut down. When doing it, all applications are closed, status bar disappears but nothing happens. The dock remains here. I have no way to shut down or log out without doing a long press on the power button. Is someone facing the same issue? EDIT : Logging with a new user account or guest account fix all the problems. But I still would like to know what, in my user account, became corrupted during the upgrade.",
"I'm refactoring my ASP.net application from ASP.net 3.5 to 4.0. Also I'm changing the URLs to user friendly URLs /product.aspx?id=100 to /product-name/100. All my pages are indexed by search engines and the site has already been online for 6 years. I'm planning to do 301 redirect from the old pages to the new one. I want to make sure I won't lose the rankings and traffic. Any suggestion how to do it properly?",
"I asked a question but, rather stupidly, added extra information after it had been answered. My additional question is this: I have a table with varying lengths of words. I want to encircle different groups of cells, including diagonals. If possible, it would be great if the rectangles don't overlap each other where possible. I looked at the answer , which, whilst tedious, worked except for the overlap. This is where I've got to so far: \\documentclass[fleqn,12pt,a4paper,landscape]{article} \\usepackage{tikz} \\usepackage{tabularx} \\begin{document} % Introduce a new counter for counting the nodes needed for circling \\newcounter{nodecount} % Command for making a new node and naming it according to the nodecount counter \\newcommand\\tabnode[1]{\\addtocounter{nodecount}{1} \\tikz \\node (\\arabic{nodecount}) {#1};} % Some options common to all the nodes and paths \\tikzstyle{every picture}+=[remember picture,baseline] \\tikzstyle{every node}+=[inner sep=0pt,anchor=base, minimum width=1.8cm,align=center,text depth=.25ex,outer sep=1.5pt] \\tikzstyle{every path}+=[thick, rounded corners] \\begin{table}[ht] \\begin{minipage}[b]{1 \\linewidth}\\centering \\begin{tabular}{cccccc} % Turn the cells needed for defining the circling paths into nodes with our custom command \\tabnode{Long ago}& \\tabnode{A few days ago}& \\tabnode{Day before yesterday}& \\tabnode{Yesterday} & & \\\\ & & & & \\tabnode{Today} & \\tabnode{Now}\\\\ \\tabnode{Long time in the future}& \\tabnode{A few days on}& \\tabnode{Day after tomorrow}& \\tabnode{Tomorrow} & & \\\\ \\end{tabular} \\end{minipage} \\begin{tikzpicture}[overlay] % Define the circle paths \\draw [blue](1.north west) -- (1.north east) -| (7.north east) |- (7.south west) |- (1.north west); \\draw [red](8.south west) -| (2.north east) -| (2.south west) |- (8.south west); \\draw [yellow](9.south west) -| (3.north east) -| (3.south west) |- (9.south west); \\draw [green](8.south west) -| (3.north east) -| (2.south west) |- (8.south west); \\end{tikzpicture} \\end{table} \\end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:",
"When writing a book and referring to a female and male aged 18–25, what term would be most appropriate? Boy and girl seem too young, whereas man and woman seem too old. Example sentence: A boy/man emerged from the shadows. Edit: I think the word I am looking for is similar to 'guy' but less American and colloquial. Any thoughts?",
"Is there any way you could revive Guest Sessions in a future LTS distro? Guest sessions are good security - they give me just enough power to do what I need to do on a daily basis without risking my system. In short, Guest sessions save me from myself. I had upgraded from 16.04 to 18.04, gotten a problem I couldn't fix and was all to happy to wipe and rebuild my hard drive and return to 16.04. I can't be the only one who feels this way.",
"Are there any expressions that describe going from a bad to a worse situation? Are there idioms or expressions in English that describe going from one bad situation to one that's even worse? I heard \"between a rock and hard place\" but this describes a dilemma not really a transition. I am looking for an expression that describes someone trying to get out of a bad situation but after much effort, the situation only got worse.",
"How does \\fontsize{}{} work?",
"Splitting of prime ideals in algebraic extensions",
"I was reviewing for , and noticed that nobody voted to close it, even though the page reports a duplicate. Why does this happen?",
"Indent math blocks? I want all math blocks \\begin{math} in my document to be intended automatically, like it's the case with \\begin{itemize}. Can anyone please give me a hint on how to do this? Thanks :-)",
"I'm in trouble with time dilation: Suppose that there's two people on the Earth (A,B), they are twins and each other has a clock. (So they are at the same reference frame). B travels in a spaceship and is orbiting around the Earth, as B's speed has increased there's some time dilation. So it's supposed that if A \"looks\" to B, B's clock will run slower than A's, and viceversa. And if one day B decides come back to the Earth, he will be younger than his twin and the hour of his clock would be different (earlier than A's clock) because of time dilation. My first question is, why each person see the other's clock as the slow one? (In fact, I found some information that may solved it but I'm not sure if it's the right answer, and if it is, I don't understand it. -> It's because everyone thinks about himself as the reference frame. In other words, that for B, he is the stationary and who moves is A, so he sees A's clock run slower as B is \"stopped\" and the same for A. B is who is moving and A the stationary.) The other question I have is that if it's true that each one sees the other as the slow one there's something that i missed out. We all agree that B (after going to the space and came back to the Earth) he is younger than his brother. So, why B don't see A moving and aging very fast if A see his brother and his things going very slow? Let's imagine they were looking to each other all the time, if both of them see the other going slowly once they meet and \"discover\" B is the young one... how is that possible? [I think that in one episode of Cosmos of Carl Sagan (though may be I'm mistaken) he said that a neutrino \"borned\" in the Big Bang could have seen the creation of the Universe until today in few seconds due to its high speed, here starts my doubts: or i misunderstood something or there's contradictory information] (I don't know anything about physics, only what is taught at high school as I'm a teenager so it'd be better to answer with no kind of calculation as I'd not understand it.)",
"Microdisplacements with adaptive subdivision turning black",
"What is a decoupling capacitor and how do I know if I need one? What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)? How do I know if I need one and if so, what size and where it needs to go? mentions many chips needing one between VCC and GND; how do I know if a specific chip is one? Would an 4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not? I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well.",
"Why can't I sort questions by \"votes\" or \"unanswered\" without logging in? On the \"Questions\" page of each Stack Exchange site, there are links at the top to sort the questions by \"newest\", \"frequent\", \"votes\", \"active\", and \"unanswered\". At least that is what it looks like if I am logged in. If I am on a site that I don't have an account for, or if I am not logged in, the only one I see is \"newest\". This seems to have been done recently. I could swear I saw the other links, even when I was not logged in, until a few weeks ago, or maybe later than that. Why was this change made?",
"What is the term for accusing a person of mischief through invented, twisting and changeable terminology? What is the term for accusing a person of invented wrongdoing in such a way that he cannot respond or even clearly understand the accusations? For example, frequently reversing the definitions of the terminology used, or basing argumentation on hints and roundabout phrasings, metaphors, invented-on-the-fly floating definitions and rules to fit with the accusations. Update: I think inquisitorial is the most proper term for context in which the result does not depend on the argumentation of one of the sides. Though, jargonaut was completely unheard by me and incrementally more useful.",
"I have a large array in C (not C++ if that makes a difference). I want to initialize all members of the same value. I could swear I once knew a simple way to do this. I could use memset() in my case, but isn't there a way to do this that is built right into the C syntax?",
"Using wired and wireless headphones simultaneously? I have 1 android device, 1 wired headphones, 1 wireless headphones, 2 ppl willing to watch film. When I connect both of headphones only wired work. Is it possible to use both of headphones simultaneously?",
"disable comments if array exists This is the code which is registering the function for rewrite_endpoints(): function wpa121567_rewrite_endpoints(){ add_rewrite_endpoint( 'comments', EP_PERMALINK ); add_rewrite_endpoint( 'stats', EP_PERMALINK ); } add_action( 'init', 'wpa121567_rewrite_endpoints' ); NOTE I don't know if this matters but I will write it. I have single-CPT.php which is calling /inc/post-format/single-CPT.php like this: <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'inc/post-format/single-debate'); ... This is the code which is checking if array key exists, which is inside my /inc/post-format/single-cpt.php: ?php if( array_key_exists( 'comments', $wp_query->query_vars ) ){ the_field('comments_section'); } elseif( array_key_exists( 'stats', $wp_query->query_vars ) ) { the_field('stats_section'); } else { // the request is for the main post } ?> This is my comments.php : <div id=\"comments\" class=\"comments-area\"> <?php // If CPT and not logged in, display a message: if ( 'debate' == get_post_type() && ! is_user_logged_in() ) { echo '<p class=\"must-log-in\" style=\"padding-left:20px; font-size:20px;\">You must be logged in to post a comment.' . '</p>'; echo do_shortcode(\"[upme_login]\"); } ?> <?php if ( have_comments() ) : ?> <h3 class=\"comments-title\"> <?php printf( _n('%d comment', '%d comments', get_comments_number(), 'outbox' ), number_format_i18n( get_comments_number() ) ); ?> </h3> <ol class=\"commentlist\"> <?php wp_list_comments( array( 'callback' => 'outbox_comment' ) ); ?> </ol><!-- .commentlist --> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through? If so, show navigation ?> <nav role=\"navigation\" id=\"comment-nav-below\" class=\"site-navigation comment-navigation clearfix\"> <div class=\"nav-previous\"><i class=\"icon-left-open-1\"></i>&nbsp;<?php echo get_previous_comments_link( __( 'Older Comments', 'outbox' ) ); ?></div> <div class=\"nav-next\"><?php echo get_next_comments_link( __( 'Newer Comments', 'outbox' ) ); ?>&nbsp;<i class=\"icon-right-open-1\"></i></div> </nav><!-- #comment-nav-below .site-navigation .comment-navigation --> <?php endif; ?> <?php endif; // have_comments() ?> <?php // If comments are closed and there are comments, let's leave a little note, shall we? if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class=\"nocomments\"><?php _e( 'Comments are closed.', 'outbox' ); ?></p> <?php endif; ?> <?php // Don't output the comment form if CPT and user isn't logged in if ( 'debate' != get_post_type() || is_user_logged_in() ) { comment_form(); } ?> </div><!-- #comments .comments-area --> <?php } ?> This is how the comments template is included inside my single-CPT.php : if ( comments_open() ) comments_template( '', true ); I want to disable comments if if( array_key_exists( 'comments', $wp_query->query_vars ) ){ How can I do this?",
"Getting a File's MD5 Checksum in Java I am looking to use Java to get the MD5 checksum of a file. I was really surprised but I haven't been able to find anything that shows how to get the MD5 checksum of a file. How is it done?",
"Can I use my laptop as a second monitor?"
] | medi_sts_stackexchange_dupe |
Adding legends to tikzpicture | Legend in tikzpicture | [
"Derivation of Newton-Euler equations I am in search of a simplified version of the derivation of (both translational and rotational) for a rigid body (3D block) that has a body fixed frame and where the center of mass of the body is not at the center of gravity. I can find elementary derivations for the same system when the center of mass is at the center of gravity, but not for my system in question. I am using the derivation as background research for a rotordynamics project that I'm working on. Any help and or references would be greatly appreciated! :)",
"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.",
"I run a guest ubuntu 12.04 on a host ubuntu 12.04, with VirtualBox, and the guest is much, much slower than the host (ALT+TAB takes 4-5 secs). I had a look around and I found contradicting opinions on VirtualBox versus VMware (free); so I thought to keep the former. Both systems are updated, I installed the additions on the guest and I evenly split memory and video memory (64MB) between guest and host. I am running a Toshiba m200 laptop with 4GB ram and shared video memory. The host bios does not include a configuration option for machine virtualization. I have 2 cpus and I can't give them both to the virtual machine. Is there anything I overlooked that could solve my problem? Feel free to ask for more info, and thank you for any help. EDIT Idling with the system monitor open the (single) guest cpu never gets below 55% and could rise to 80 - 90% just by moving the mouse around. Opening Firefox will cause the system monitor to show cpu usage 100% in the guest, while the host shows that both cpus are evenly working around 60%. My cpu is Intel® Core™2 Duo CPU T5450 @ 1.66GHz × 2. If this is not a configuration problem, does it mean my machine is too weak for virtualization?",
"How can I send single file to multiple remote sites at the same time? Can scp be used to send a single file to multiple remote servers at the same time? If so, how? If not, what's the alternative?",
"Input field value - remove leading zeros I have a textbox in Javascript. When I enter '0000.00' in the textbox, I want to know how to convert that to only having one leading zero, such as '0.00'.",
"What was the meaning of the Night King's message? In S08E01 of Game of Thrones, we see this message: We have seen this several times, the symbol drawn with horse heads, the stones around the Weirwood where White Walkers are created and in some caves, drawn by Children of the Forest. Do we know the meaning behind this symbol? Does it or something similar occur in the books as well?",
"What determines how much experience I get from a hearthstone match in play mode? Sometimes I win handily and get a little experience, sometimes I squeak out a victory and get a lot. How is experience earned?",
"Is there any way I can specify a standard or custom numeric format string to always output the sign, be it +ve or -ve (although what it should do for zero, I'm not sure!)",
"How do I get the logged in user's window's credentials in a WPF application",
"Can an html element have multiple ids?",
"Why doesn't the \"zig-zag\" comb deformation retract onto a point, even though it's contractible? I am starting to read Hatcher's book on Algebraic Topology, and I am a little stuck with exercise 6(c) in Chapter $0$. Unfortunately a picture is involved so it doesn't quite make sense for me to repeat it here - but I'll do it anyways (maybe it helps) Let $Z$ be the zigzag subspace of $Y$ homeomorphic to $\\mathbb{R}$ indicated by the heavier line in the picture: Show there is a deformation retraction in the weak sense of $Y$ onto $Z$, but no true deformation retraction.\" Now the definition for deformation retraction and weak deformation retraction as as follows: We say that $f: X \\to X$ is a deformation retraction of a space $X$ onto a subspace $A \\subset X$ if there exists a family of maps $f_t : X \\to X$ with $t \\in [0,1]$ such that $f_0 = \\mathbb{1}$ (the identity) and $f_1 (X) = A$ and also $f_t$ restricts to the identity on $A$ for each $t$. A weak deformation retraction is almost the same, only that we now relax the conditions $f_1(X) = A$ to $f_1 \\subset A$ and, for each $t \\in [0,1]$ we require that $f_t(A) \\subset A$. Hence, as far as I understand the question and the concepts involved, I need to show that basically no map can be constructed such that the bold zigzag - line stays put while the thin lines retract to the bold line over a finite time interval $0 \\leq t \\leq 1$. However, I should be able to show that I can pull the thin lines continously onto the thick line, provided I am allowed to move points on the zigzag line .. is that correct ? Now, the problem is I can't see why I shouldn't be able to do the former, given that I could find a weak deformation retract. Any help would be great!",
"Override iTunes \"media\" keys (play, pause, etc) for Spotify?",
"How can I check the actual size used in an NTFS directory with many hardlinks? On a Win7 NTFS volume, I'm using cwrsync which supports --link-dest correctly to create \"snapshot\" type backups. So I have: z:\\backups\\2010-11-28\\cygdrive\\c\\Users\\... z:\\backups\\2010-12-02\\cygdrive\\c\\Users\\... The content of 2010-12-02 is mostly hardlinks back to files in the 2010-11-28 directory, but there are a few new or changed files only in 2010-12-02. On linux, the 'du' utility will tell me the actual size taken by each incremental snapshot. On Windows, explorer and du under cygwin are both fooled by hardlinks and shows 2010-12-02 taking up a little more space than 2010-11-28. Is there a Windows utility that will show the correct space acutally used?",
"Negative R squared contradicts ssa/sst? I understand from this question - that the R squared value of a linear regression model can be negative if the intercept is constrained. And this makes sense if you define R squared as - $$R^2 = 1-\\frac{SSE}{SST}$$ One says $SSE>SST$. But then, $$SST = SSA + SSE $$ Total Sum of squares = Sum of squared errors + Sum of squared residual. And with this we get - $$R^2 = \\frac{SSA}{SST}$$ And now it is hard to imagine how $R^2$ can be negative. Aren't SSA and SST >0 always?",
"Why don't elves have more babies?",
"Are Lorentz transformations linear transformations? My textbook says that Lorentz transformations are linear transformations and present them as matrices. Lorentz transformations relate different coordinate systems with each other. It seems that coordinate systems are linear spaces, but coordinates are just labels for spacetime points, with no other structures attached. So what is the linearity all about?",
"Is there any way to find out if a file is a directory? I have the file name in a variable. In Perl I can do this: if(-d $var) { print \"it's a directory\\n\" }",
"Traveling without paying lodging fees in America I want to travel around the East Coast without paying for lodging. I'd be willing to sleep in my car or even pitch a tent somewhere. Is this a problem? Legal? I really want to get to the beach this season but I’m afraid that lodging will be out of my price range. Specifically Maryland, Delaware, maybe New Jersey or Virginia.",
"How to install a list of packages using apt-get?",
"The following quote from assumes \"the URL\" comes from somewhere and uses it to restrict the Host header. Where does \"the URL\" come from? Is it from the first line of a HTTP request (e.g. after GET), or from the input to a web client (e.g. an argument to curl, or the input in the address bar of a web browser)? Thanks. The Host header specifies the Internet host and port number for the resource being requested, as obtained from the original URL: Host = \"Host\" \":\" host [ \":\" port ] In particular: • If the Host header does not contain a port, the default port for the scheme is assumed. • If the URL contains an IP address, the Host header should contain the same address. • If the URL contains a hostname, the Host header must contain the same name. • If the URL contains a hostname, the Host header should not contain the IP address equivalent to the URL’s hostname, because this will break virtually hosted servers, which layer multiple virtual sites over a single IP address. • If the URL contains a hostname, the Host header should not contain another alias for this hostname, because this also will break virtually hosted servers."
] | medi_sts_stackexchange_dupe |
Is the ideal generated by the set $\{2,x\}$ in $\mathbb Z[x]$ a Principal Ideal? | Show that $\langle 2,x \rangle$ is not a principal ideal in $\mathbb Z [x]$ | [
"I am getting FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject. I know that it is because it is not returning any rows in the SOQL query but what I want is that if it returns any row, it should update ALO field on contact object, if it is null then ALO field should be set to null. Here is my code: ziptoLOD = [SELECT Id, Name, LOD__c FROM Zip_3_to_LOD__c WHERE Name =: contact.Extract_Zipcode__c ]; Zip_3_to_LOD__c ziptoLOD2 = (ziptoLOD != null) ? ziptoLOD : null; if (ziptoLOD2 == null) { contact.ALO__c = ' '; } else { System.debug(System.LoggingLevel.ERROR, 'Zip to LOD' + ziptoLOD2); contact.ALO__c = ziptoLOD2.LOD__c; } My code gets stuck at the SOQL query and gives me the list has no rows error.",
"I am trying to help my daughter on her math homework and I am having some trouble on some equation solving steps. My current major concern relies on understanding why $\\sqrt{8}/2$ equal to $\\sqrt{2}$. Thanks in advance",
"Order of an element in a finite cyclic group",
"How to reinstall Ubuntu keeping my data intact? I want to reinstall Ubuntu keeping my data intact. I have 160 GB hardrive (sata or pata I don't know but it's slim and made in China) with a 40 GB ext3 partition, a 4GB swap memory and 3 other partition with a FAT32 file system. I have around 4GB space on my drive where Linux is installed. I'd like to keep the data intact, especially the Downloads folder, desktop, and /var/www; And I no longer have access to any other machines or external storage devices.",
"How can I remove these apps from my device?",
"Literal @YES not working in iOS 5 / Xcode 4.4",
"How to map inherited entities in EF code-first",
"Command line move file with long directory path without repeating directory path Is there any way of executing a mv command without typing the full path in the second argument? Example: mv my/file/that/has/a/really/long/path/foo.bar some_magic_operator_that_means_the_same_directory/foo.baz",
"Suppose you have a group isomorphism given by the first isomorphism theorem: $$G/\\ker(\\phi) \\simeq \\operatorname{im}(\\phi)$$ What can we say about the group $\\ker(\\phi)\\times \\operatorname{im}(\\phi)$? In particular, when does the following hold: $$G\\simeq \\ker(\\phi)\\times \\operatorname{im}(\\phi)?$$ I ask this question because i want to prove that $GL_n^+(\\mathbb{R}) \\simeq SL_n(\\mathbb{R}) \\times \\mathbb{R}^*_{>0}$, with $GL_n^+(\\mathbb{R})$ the group of matrices with positive determinant. I proved that $SL_n(\\mathbb{R})$ is a normal subgroup and that $GL_n^+(\\mathbb{R})/ SL_n(\\mathbb{R}) \\simeq \\mathbb{R}^*_{>0}$, using the surjective homomorphism $\\det(M)$. I tried something with semidirect products but I got stuck.",
"I checked this but didn't fully understand it. I know that the volume of a right circular cone is $V = \\frac{1}{3}\\pi x^2h$ I know that I must take the first derivative and set it equal to zero, which will find the maximum. My problem is how to deal with the variable $h$, the height? How can I rewrite that in terms of $x$ or $r$. I have tried to implicitly differentiate this equation, but that wasn't helpful for me.",
"Let consider a square $10\\times 10$ and write in the every unit square the numbers from $1$ to $100$ such that every two consecutive numbers are in squares which has a common edge. Then there are two perfect squares on the same line or column. Can you give me an hint? How to start?",
"How do I get lightning:datatable to do some undocumented thing X?",
"bi-directional sync with rsync",
"Share Wireless connection with Wired Ethernet Port",
"Is there a way to have a 64 bit enum in C++? Whilst refactoring some code I came across bunch of #defines which would be better as an enum, but being greater than 32 bit causes the compiler to error. For some reason I thought the following might work: enum MY_ENUM : unsigned __int64 { LARGE_VALUE = 0x1000000000000000, };",
"I know this, but I can't recollect at all. What is this thing called? They are usually centered in a book or writing and I'm certain they have a name but I can't remember for the life of me. They also come in all shapes, colors and sizes.",
"ggplot2: facet_wrap strip color based on variable in data set",
"I'm using the ieee style for biblatex and when inserting citations I want [1,2,6-10] Right now I'm getting [1],[2],[6-10]. How can I change this?",
"I think the questions says it all! :) By TeX, I mean any derivative of TeX as long as the code is clearly a derivative of TeX, i.e. that it could belong on TeX.SX (and not pure Lua for example). I'll give two answers myself so you see what I mean.",
"A Good Book for Mathematical Probability Theory"
] | medi_sts_stackexchange_dupe |
Force cellular modem to transmit at maximum power | Simulate bad cell phone reception in the lab | [
"What is the best way to store user settings for a .NET application? I have a .NET 2.0 Windows Forms application. Where is the best place the store user settings (considering Windows guidelines)? Some people pointed to Application.LocalUserAppDataPath. However, that creates a folder structure like: C:\\Documents and Settings\\user_name\\Local Settings\\Application Data\\company_name\\product_name\\product_version\\ If I release version 1 of my application and store an XML file there, then release version 2, that would change to a different folder, right? I'd prefer to have a single folder, per user, to store settings, regardless of the application version. ",
"Remove subscribers from Auto Suppression List",
"I saw her dance/dancing? I saw a flash of lightning strike/striking? I caught her steal/stealing?",
"How do I parse command line arguments in Java?",
"Why does light bend towards the normal when passing from a rarer to a denser medium? Whenever light rays are entering a denser medium they bend towards the normal. Why do rays choose the path towards the normal? Why cannot they choose the path away form the normal?",
"I've installed a version of Ubuntu Server and although I'm fairly still fresh with Ubuntu, I'm trying to create a bash file to run a program in the background. More importantly, I'm trying to get a file nameto display correct and create it before I start running the program (I like my debug stuff). However, here is my bash script: #!/bin/bash PATH=\"/var/log/servers/Game/\" FILENAME=\"startup\" EXT=\".log\" DATE=$(date +%d-%m-%Y) NEWFILE=${PATH}${FILENAME}_${DATE}${EXT} I have verified that the file does exist in the PATH directory. However, the issue is with the date command. When I run the script bash -x game.sh this is what is displays. + PATH=/var/log/servers/Game/ + FILENAME=startup + EXT=.log ++ date +%d-%m-%Y game.sh: line 5: date: command not found + DATE= + NEWFILE=/var/log/servers/Game/startup_.log + echo /var/log/servers/Game/startup_.log I don't understand why it would say the command doesn't work, when I can go to the main console and run date and get a valid response. Any help is greatly appreciated!",
"How does one go about and try to find all subclasses of a given class (or all implementors of a given interface) in Java? As of now, I have a method to do this, but I find it quite inefficient (to say the least). The method is: Get a list of all class names that exist on the class path Load each class and test to see if it is a subclass or implementor of the desired class or interface In Eclipse, there is a nice feature called the Type Hierarchy that manages to show this quite efficiently. How does one go about and do it programmatically?",
"Short story collection about Transporter \"Doors\" I'm looking for a short story collection about different uses/inventions of transporter doors. I think it was just a single author collection, that I read in the early 2000s. In each story these Transporter Doors exist, I seem to remember them being described as blank grey sheets. You step through them and come out somewhere else. The forward to the book talked about early Rocket stories where the launch of a spaceship would be the end of the tale. Plots of the individual stories: Two men one of whom's home is inside an asteroid are discussing the use of Base12 in their society and if it is because they have 12 fingers, one says that \"people\" used to use base10. The implication is that a different species arrived through the doors and replaced humans. A man puts the code for his home into a door and is instead transported to prison where he's accused of murdering his wife, which he strongly denies. Two scientists and a pilot take a probe ship deep into Jupiter's atmosphere, the will return to base via a door that they need to construct while they are down there. The scientists dislike each other and don't work well together. When they finish the door, the hamsters seem woosy out the other side, but the scientists insist it is ready. The pilot says he will go first as he can't fix it if it's wrong. When he arrives on the far side he's mentally damaged and the scientists have to get along without him acting as a buffer while the try to save themselves.",
"How long is a 'block'?",
"Is there a specific reason that the number of views is not included as a feature on the mobile version? I understand there are certain features which are better to be viewed on desktop rather than on a mobile device. However, the number of views for a question, which is shown along with the topic title on left on the desktop browser shouldn't be much resource consuming to be displayed on the mobile browsers too. Is it specific to the desktop/mobile browser or is it a feature which is not at all included for mobile browsers. I am only talking about mobile version and not the mobile application.",
"I am trying to prove $$\\int\\cos^n x \\ dx = \\frac{1}n \\cos^{n-1}x \\sin x + \\frac{n-1}{n}\\int\\cos^{n-2} x \\ dx$$ This problem is a classic, but I seem to be missing one step or the understanding of two steps which I will outline below. $$I_n := \\int\\cos^n x \\ dx = \\int\\cos^{n-1} x \\cos x \\ dx \\tag{1}$$ First question: why rewrite the original instead of immediately integrating by parts of $\\int \\cos^n x \\ dx$? Integrate by parts with $$u = \\cos^{n-1} x, dv = \\cos x \\ dx \\implies du = (n-1)\\cos^{n-2} x \\cdot -\\sin x, v = \\sin x$$ which leads to $$I_n = \\sin x \\ \\cos^{n-1} x +\\int\\sin^2 x (n-1) \\ \\cos^{n-2} x \\ dx \\tag{2}$$ Since $(n-1)$ is a constant, we can throw it out front of the integral: $$I_n = \\sin x \\ \\cos^{n-1} x +(n-1)\\int\\sin^2 x \\ \\cos^{n-2} x \\ dx\\tag{3}$$ I can transform the integral a bit because $\\sin^2 x + cos^2 x = 1 \\implies \\sin^2 x = 1-\\cos^2 x$ $$I_n = \\sin x \\ \\cos^{n-1} x + (n-1)\\int(1-\\cos^2 x) \\ \\cos^{n-2} x \\ dx \\tag{4}$$ According to Wikipedia as noted , this simplifies to: $$I_n = \\sin x \\ \\cos^{n-1} x + (n-1) \\int \\cos^{n-2} x \\ dx - (n-1)\\int(\\cos^n x) \\ dx \\tag{5}$$ Question 2: How did they simplify the integral of $\\int(1-\\cos^2 x) \\ dx$ to $\\int(\\cos^n x) \\ dx$? Assuming knowledge of equation 5, I see how to rewrite it as $$I_n = \\sin x \\ \\cos^{n-1} x + (n-1) I_{n-2} x - (n-1) I_{n} \\tag{6}$$ and solve for $I_n$. I had tried exploiting the fact that $$\\cos^2 x = \\frac{1}{2} \\cos(2x) + \\frac{1}{2} $$ and trying to deal with $\\int 1 \\ dx - \\int \\frac{1}{2} \\cos (2x) + \\frac{1}{2} \\ dx$ which left me with $\\frac{x}{2} - \\frac{1}{4} \\sin(2x)$ after integrating those pieces. Putting it all together I have: $$I_n = \\sin x \\ \\cos^{n-1} x + (n-1) I_{n-2} x \\left(-(n-1) (\\frac{x}{2} - \\frac{1}{4} \\sin 2x) \\right) \\tag{7}$$ but I'm unsure how to write the last few terms as an expression of $I_{something}$ to get it to match the usual reduction formula of $$\\int\\cos^n x \\ dx = \\frac{1}n \\cos^{n-1}x \\sin x + \\frac{n-1}{n}\\int\\cos^{n-2} x \\ dx$$",
"In the example $\\cup^{i=1}_{\\infty}F_i$ How do you get the i=1 directly below the union symbol and the infinity directly above?",
"Strange nonexistent link in a specific user's Top Network Posts I discovered a strange, blank link in 's Top Network Posts: The above link and screenshot are of the user's Unix & Linux site profile, but this issue can be reproduced on any of the user's site profiles other than Meta Stack Exchange (as the blank post appears to be on this site, and posts from the same site are excluded). The link seems to go to , which features a really negative question ID (close to the lowest value that can be represented by a 32-bit signed integer, specifically -(2^31) + 1005), and lacks the title in the URL that is present in all of the other links. It leads to a 404 error. Going to the seems to go to an actual answer on a question migrated to this site, which happens to have a score of 13 (as of the time this was asked). Why is the question ID incorrect here? Based on the duplicates, it seems that this affects posts (both questions and answers) that were migrated from other sites: somehow, the question ID seems to be getting messed up. Update: It looks like the above linked user has deleted their account on this site, so the issue cannot be reproduced on the profile I originally reported. It can, however, be reproduced on . The errant link in that profile is , and the errant question ID seems to also be close to the lowest possible 32-bit signed integer, -(2^31) + 3412.",
"Meaning of 'const' last in a function declaration of a class?",
"Why don't sandwich toasters have an on/off switch? The absolute majority of electrical appliances have an On/Off switch. However, the absolute majority of sandwich toasters do not - you just plug them into the socket and unplug them when you're done. At least, that's the case for all household sandwich toasters I've ever seen. I'm referring to this device, not the vertical toaster (where the lever doubles as a switch): It looks like some models do have a switch, but apparently these are just the larger/industrial types, not the common variety. Why is that?",
"Can we create a subsection of the References Cited section with different reference numbering?",
"What commands are there for horizontal spacing? I know that \\: in LaTeX produces a space when rendered. Are there any alternatives, because my LaTeX renderer doesn't support \\: (it renders it as text), and there is no help / FAQ that I can find.",
"Several companies are commercializing tests for telomere length such as this one . I understand the basic mechanism for why telomeres shorten during DNA replication, but how good is the evidence that telomere length is a reliable indicator of healthspan/lifespan?",
"Can I load a 32 bit DLL into a 64 bit process on Windows?",
"What is the explicit meaning of “corresponding author”? Problem This question was triggered by the comments on , but comments and answers on confirm the existence of conflicting ideas. There seem to be two prevalent interpretations of the word corresponding author: The corresponding author is the one who corresponds the (unpublished) paper to the journal, i.e., who performs the technical process of submitting the paper, is available for requests on the review and publishing processes, and so on. The corresponding author is the one who corresponds on the (published) paper with anybody who likes to do so, e.g., because they found an error or like some clarification. What I found out so far Until today, I was only aware of the first interpretation, which was confirmed by my experience: For all papers I submitted, I automatically became the corresponding author and cannot remember that I could choose one of my co-authors for this role. Some of these journals do not even indicate a corresponding author to the reader. Also, there already is a way to indicate that an author is available for questions on the paper (interpretation 2): stating the e-mail address. On the other hand, other journals do indicate corresponding authorship, which makes little sense for interpretation 1. Also, the value put into this role by some funding agencies for its makes more sense for interpretation 2 (not that I completely agree with it). Looking for some guidelines from publishers covering multiple fields, I found the following from Elsevier¹, which kind-of covers both interpretations: Clearly indicate who will handle correspondence at all stages of refereeing and publication, also post-publication. While there are other questions on this site touching this issue, they focus on consequences of the interpretation, such as , , or . Actual question What is the explicit meaning of the word corresponding author? Interpretation 1 or 2 as listed above, both, something else, or is this an extreme example of and the answer depends on the field or publisher? Please answer only if you have more to offer than personal experience and individual journal guidelines. In particular, please address the possibility of a varying meaning. ¹ which is separate for each journal, but seems to be identical in content for many journals"
] | medi_sts_stackexchange_dupe |
help with formula for prediciting electrical consumption | How to represent kWh usage by year against average temperature? | [
"Is there a dollar amount that, when adding Massachusetts Sales Tax, precisely equals $200?",
"Has any Dark Force user/ally ever said \"May the Force be with you\"?",
"Gnome keyring daemon not starting up properly",
"How to add field history and product as a related list of opportunity in vf page I am trying the below code to add field history and product as a related list of opportunity in vf page, but its not working . <apex:relatedList list=\"OpportunityFieldHistory\"/> <apex:relatedList list=\"Product\"/> Can anyone tell me what is the correct way to write it. Regards Edit: There are two Standard objects that have Opportunity history information, and . The relatedList component works fine with a value of OpportunityHistories for the list attribute, but an error is thrown when using the value of Histories, even though the SObject describe information shows \"Histories\" as the child relationship name. <apex:relatedList list=\"OpportunityHistories\"/> <!-- Works fine --> <apex:relatedList list=\"Histories\"/> <!-- Error -->",
"Java: Avoid inserting duplicate in arraylist",
"How to split strings into text and number? I'd like to split strings like these 'foofo21' 'bar432' 'foobar12345' into ['foofo', '21'] ['bar', '432'] ['foobar', '12345'] Does somebody know an easy and simple way to do this in python?",
"Is there a way of conditionally triggering a compile-time error in verilog?",
"Why did Owen Chase not fire his harpoon at Moby Dick? In movie In the Heart of the Sea, when Owen Chase finally faces the big white whale (later named Moby Dick) with his harpoon, why does he not do it?",
"No Line Break in Author Command? It goes off the page!",
"Is it grammatical to omit the subject from \"I did my work\"?",
"A couple years ago I ran upon a video demonstrating how researchers used x-rays given off by tearing tape off its spindle in hopes to miniaturized and cheapen future x-ray devices. As of late I have been wondering what interactions are causing this. I understood from the video that the electrons are being ejected due to the added energy to the system (peeling). This instinctively pointed me towards QED where interactions between electrons produce a photon for short periods. 1)Are those same photons from electron interaction the resulting x-rays? 2)Are the frequencies of the photons being limited by the $\\Delta$energy$\\Delta$time uncertainty, and/or $\\Delta$position$\\Delta$momentum uncertainty (at the vertex of the ripping tape, where high densities of electrons may accumulate) ? Note: I've also considered that the van der Waals force may come into consideration, not certain though. Looking for a QED based descriptions/answers. Any elementary references to this work is appreciated.",
"Is it possible to assign the same value to multiple keys in a dict object at once?",
"Find the value of $P(1)$ Let $P (x) = x^2 + bx + c$, where $b$ and $c$ are integer. If $P(x)$ is a factor of both $x^4 + 6x^2 + 25$ and $3x^4 + 4x^2 + 28x + 5$, find the value of $P(1)$. I am not being able to solve this.Some hints/suggestions? Tell me if I can edit to improve this question.I could'nt try much.Got stuck.",
"I'm taking a complex analysis course and doing some practice computing residues & evaluating integrals. I pulled out an old book called On page 196-197, there are some interesting integrals to evaluate. I'm at 5.4.3.10.: I was able to do question 1, but was stumped at how to even begin with question 2: Evaluate the integral $$\\int_0^{2 \\pi} e^{\\cos x} \\cos (nx - \\sin x) \\,dx ,$$ where $n$ is an natural number. The answer is simply $\\frac{2 \\pi}{n}$. Any hints?",
"Do dual American and Mexican citizens need passports to travel between the US and Mexico? I have 2 children that were born in Mexico. They have a birth certificate abroad. So this is dual citizenship. Do they need passports? My kids were born in Durango, Mexico. I am American. Their father is Mexican. They were both given birth certificates abroad. They are now 16 and 14. They want to go visit grandparents and aunts and uncles in Mexico. Will they need to get a passport to enter Mexico? Will they need it to fly?",
"My 3 years old doesn't tell me when he needs to use the bathroom My son is 3 years old and doesn't tell me when he needs to use the bathroom. It has been 5 months now that I took his diaper off him. I just do not know what I should do. Should I put a diaper on him again? I mean, is this normal? Please help. I get frustrated sometimes. He doesn't want to potty at all! I did train him before but now that he understands, he doesn't want to go to potty.",
"Is there anything that is totally random? When I say totally random, I mean absolutely random, not pseudorandom. If I want to say \"totally random\" numbers such as 1,26,17,4,1 and 27, although I see them to be totally random, they aren't. These are numbers that I think are influenced by my childhood, ideology and everything that I've seen. So, what do you think? Is there anything completely random?",
"How to get a combined ticket in IRCTC (Indian Railway) Suppose I want to go from Station A to Station C but Station C is not a stoppage of some train say train 01, so I can get a combined ticket from station A to Station B through train 01 plus Station B to station C through a different train say 02, so my total fare will be of same ticket as from Station A to Station C. We can get Combined ticket from the Booking Window but how's that possible on the IRCTC website?",
"A square matrix $n \\times n$ is an invertible matrix iff the rank of the matrix is $n$.",
"Finding $\\lim_{n\\to\\infty} a_n^n$ where $a_n=\\frac{(n!)^2}{(n+k)!(n-k)!}$"
] | medi_sts_stackexchange_dupe |
Generating unique ID for instances using Guid in C# | Is a GUID unique 100% of the time? | [
"How do I color intersection of two ellipses in different color. For instances, the ellipses should themselves be colored as yellow and their intersection as red. My code for drawing ellipses is given below \\draw (-4,0) ellipse (8 and 3); \\draw (8,0) ellipse (8 and 3); UPDATE: In the comments to individual answers, I have requested to show it for three ellipses.",
"Proving question on sets I am unable to understand this question. I have to say whether its true of false and then prove it but I can't proceed with the question unless I understand it. Let $S$ be the set of stars in our galaxy. There is exactly the same number of subsets of stars in our galaxy as there are functions $f:S\\rightarrow\\{\\alpha,\\beta\\}$",
"Always sort Recent Places by date modifed",
"Expected Value of Normal CDF I am trying to calculate the expected value of a Normal CDF, but I have gotten stuck. I want to find the expected value of $\\Phi( \\frac{a-bX}{c} )$ where $X$ is distributed as $\\mathcal{N}(0,1)$ and $\\Phi$ is the standard normal CDF. I know I can transform $\\frac{a-bX}{c}$ to be a normal random variable $\\mathcal{N}\\left(\\frac{a}{c},\\frac{b^2}{c^2}\\right)$ where $\\frac{b^2}{c^2}$ is the variance of the normal random variable. I'm not sure if this helps though. I think that the expected value of a CDF is $0.5$ but since $\\Phi$ is the CDF of a standard normal CDF and $\\frac{a-bX}{c}$ is not standard normal I do not think the expected value should be 0.5. I tried integrating the CDF, but I do not believe I did it correctly. When $a = -2.3338$, $b = 0.32164$, $c = 0.94686$, I believe the correct answer is approximately $0.009803$. I found this through simulation. I would appreciate any help or suggestions.",
"What are the guidelines for using version-specific tags? I believe that some of my questions were asked before but I didn't find any satisfying guidance. I just found only . I hope senior members will help me to understand the situation and use tags correctly. I have several questions which are related to following explanation: What is current community's attitude towards version specific tags on Stack Exchange? How to correctly use version specific tags? When is it good to create version specific tag? Should any version specific tags be at least marked as synonyms to version unspecific tags? Should I use version specific tags if I re-tagging questions? Should I re-tag questions if I think that incorrect version specific tag is used? For example, I mainly visiting questions related to two main topics: WCF and Entity framework. Tagging questions in these topics follow very different rules. WCF uses single main tag sometimes combined with currently proposed as synonym to WCF, whereas Entity framework currently have: - version 2 and 3 never existed - I started this tag myself but now I think it was a mistake and two ridiculous tags (both for CTP5 of EF 4.1 – their meaningful lifetime was about 3 months): I've already several times retagged questions introducing tag for EF 4.1 RC. Separate problem is in Code-first approach related strictly to where 5 other tags are used to describe the same: I asked for merging these tags in . As you can see that EF topic currently contains too many tags to describe the same. There are other related tags to EF but they are mainly used as supporting tags for specific features. First I thought this is a common situation because ASP.NET MVC uses also new tag for each version even questions usually asks for general problems related to any version but then I was informed by @Richard in that EF is probably tag polluted. I regularly retag questions in EF topic. Currently I'm using: as general topic's tag because I was already informed by @Slauma that people usually have only this tag between their favorites and I should not remove it. It was a good point. for questions related directly to EFv4 features for questions related directly to EF 4.1 features for questions related to fluent and annotations mapping from EF 4.1 But still I think that and are somehow redundant but I'm not sure if my opinion is shared by other participants in these tags. WCF also has 3 versions and almost twice as more questions than EF and it still uses only single main tag without any problem. I think the used version should be information included in a question. Are there any general rules? What about version related tags to C#, .NET and ASP.NET MVC? I first thought that it is common and accepted approach to create version specific tags just because users around ASP.NET MVC (strong tag) do the same. Sometimes I think I received privileges too early and I don't use them correctly. I need some guidance.",
"Latin Square and Graph Theory How many "$1$" can be selected at most, provided that only one from each row and column of the attached matrix $A$ is selected?(That is, when one "$1$" is selected, no other element can be selected than the row and column where that "$1$" is located.) Answer: I think $6$ can be chosen. How can I give this answer in connection with graph theory? I think it has to do with the Latin Square(or Rectangle). But I can't connect and explain. Please help me. I thought a lot, but I could not establish the relationship completely. Thanks...",
"I am trying to prove the following. Proposition Let $g$ be a Lie algebra such that the first derived algebra $Dg$ is a proper ideal of $g$. Consider the quotient $g/D^1 g$, and show that the preimage of any codimension 1 subspace is an ideal, and has codimension 1. I could show that the preimage is indeed an ideal, but I need some help with the part about the dimensions: So suppose that $\\phi: x \\mapsto [x]$ is the quotient projection. And write $[h] + Dg$ for a codimension 1 subspace of $g$ (here $h\\subset g$). Then the preimage of this subspace is just the linear span $h+Dg\\leq g$. Let $y+z \\in h+Dg$ with $y\\in h$ and $z\\in Dg$. Let $x\\in g$. We want to show that $[x, y+z]\\in h$, ie that $h + Dg \\lhd g$. We can write $x$ as $x_0+x_1$ for $x_0 \\in Dg$, $x_1\\not\\in Dg$. Then $$[x,y+z] = [x_0, y+z] + [x_1, y] + [x_1,z] \\in h + Dg$$ The inclusion follows since $Dg$ is an ideal so the first and third terms belong $Dg$; and $[x_1, y] \\in D_g$, as $g/Dg$ is abelian.",
"When running a Java app from eclipse my ImageIcon shows up just fine. But after creating a jar the path to the image obviously gets screwed up. Is there a way to extract an image from the jar at runtime so I can then open it up? Or, is there a better way to do this? I'd like to distribute a single jar file if possible.",
"How to control the mouse in Mac using Python? What would be the easiest way to move the mouse around (and possibly click) using Python on OS X? This is just for rapid prototyping, it doesn't have to be elegant.",
"Covariance of Euler-Lagrange equations under change of generalized coordinates",
"Cardinality of cartesian product of an infinite set with N",
"Suppose that f is continuous on $(a,b)$ and $\\lim_{x\\to a^+} f(x) = \\lim_{x\\to b^-} f(x) = \\infty$. Prove that $f$ has a minimum on all of $(a,b)$. I was thinking of applying the extreme value theorem, but I realized that it applies only to closed intervals. So I was thinking of defining a closed interval that is in $(a,b)$, and using the definition of one sided limits to go about the problem, but I don't know how to proceed. Help please?",
"From the man page on git-merge, there are a number of merge strategies you can use. resolve - This can only resolve two heads (i.e. the current branch and another branch you pulled from) using 3-way merge algorithm. It tries to carefully detect criss-cross merge ambiguities and is considered generally safe and fast. recursive - This can only resolve two heads using 3-way merge algorithm. When there are more than one common ancestors that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without causing mis-merges by tests done on actual merge commits taken from Linux 2.6 kernel development history. Additionally this can detect and handle merges involving renames. This is the default merge strategy when pulling or merging one branch. octopus - This resolves more than two-head case, but refuses to do complex merge that needs manual resolution. It is primarily meant to be used for bundling topic branch heads together. This is the default merge strategy when pulling or merging more than one branches. ours - This resolves any number of heads, but the result of the merge is always the current branch head. It is meant to be used to supersede old development history of side branches. subtree - This is a modified recursive strategy. When merging trees A and B, if B corresponds to a subtree of A, B is first adjusted to match the tree structure of A, instead of reading the trees at the same level. This adjustment is also done to the common ancestor tree. When should I specify something different than the default? What scenarios are each best for?",
"So the problem is that account 1 and account 2 bought a game together, but account 1 isn't used anymore. Can we transfer the game license from account 1 to account 3? The game was bought on account 1 and account 2 activated account 1 as primary.",
"What's the best way to take a segment out of a text file?",
"How to know the motherboard BIOS version using the command line How can get the BIOS version of my motherboard? The command dmidecode gives you some information about the BIOS, but I can't find what I need... I tried dmidecode command before asking and I didn't find what I needed - I want only the BIOS version and nothing else in the output.",
"singlespacing in table with no indent",
"How to type \\sim above another symbol x? I want to put a \"~\" above x, just like \\hat x but replacing \\hat with \\sim. How to do that?",
"Can you intentionally fail a skill check? This comes up to me in the context of the 3.x/PF/d20 Fly skill, even when I simply read about it: Can you intentionally fail a Fly skill check, or any other skill check for that matter, if you, or your character for that matter, decides that the effects of failing the check are what is desired in the situation? Example: Take a a shapeshifted Draconian cruising at high altitude, with a few friends on his back who have some means of breathing air supply, whether it be mundane or magical. Now lets say that the air supply goes kablooie, similar to a decompression or all-packs-trip in an airliner. For the sake of the folks on his back -- if not himself, depending on if dragon forms need supplemental air to fly at such high altitudes, the Draconian has to lose altitude, and fast. Considering that by RAW, a Fly check failure leaves yourself falling, would saying \"I initiate a rapid descent\" be enough to treat the next Fly check as an intentional failure, or would you have to roll a 'reverse' Fly check, where failing the check gives you the desired outcome of a rapid descent, and succeeding leaves you stuck at altitude? P.S. I added the rules-as-written tag because a RAW answer is highly desired here, albeit not mandatory. I can already mostly figure it out from a simulationist standpoint, but that answer involves going in-depth into airline flying and non-normal procedures.",
"Current sensing nA to mA I need to sense the current of a target through various periods of its on/sleep/off state and then need to send this data back to another interface MCU to read out the value. They will be both on the same board, powered by 5 V USB. However these are the requirements I have: 5 V USB PSU Must be able to sense currents in the range of nA to mA with high accuracy/precision. (I figure 1 nA to 500 mA) Only measure the current of the target MCU and not the interface. Must output maximum 3.3 V interface MCU I have looked at available options and current sense amplifiers by Texas Instruments can't sense nA due to higher bias currents. So therefore I feel I would need a precision amplifier. However I am stuck on how to proceed with this because, I need to somehow have a automatic dynamic current range and I am fairly new to current sensing and am not really sure on all the specifics."
] | medi_sts_stackexchange_dupe |
How to fix sonar voilations automatically through scripts | Automate fixes for issues found by Sonar | [
"G-test vs Pearson's chi-squared test",
"I'm using Fedora and wonder if there is some way I can exclude kernel updates when I run yum update, until I specifically want to update the kernel. The reason why I am concerned about this is because sometimes it requires a lot of extra research finding patches for some programs and extra time spent recompiling them to work on the new kernel. I am thinking VMWare specifically as one example. I wonder if there is some way for yum update to NOT update the kernel and only notify me that a new one is available when it goes through its routine so that I can decide to put it off until a more convenient time. Or is this thinking likely to cause other issues?",
"which vectors are perpendicular to each other? which vectors are perpendicular to each other? $\\vec a = (1, -2, 3)$, $\\vec b = (5, 4, 1)$, $\\vec c = (1, 0, -5)$ Do i just take the dot product of 2 of them. If the dot product they are at $90^\\circ$? But how do i know if there perpendicular?",
"I use a Windows 10 machine remotely at work. Both the local and remote machine are in the same ISP network (not same local network, but same ISP). I've been using it like that for almost a year now and I had never experienced absolutely any issues. Until recently. I don't know if anything specific triggered this behavior, but I feel that it started happening after I upgraded the remote to W10 1903. I later upgraded the local one as well and I feel that it only made the problem worse (but I don't really have any data). From time to time, the session will freeze - the image stops updating. However, what I type and mouse clicks are still being sent. No error message is shown whatsoever, the image simply freezes. To make it work again, I have to close and re-open the session. Everything that I had typed and/or clicked while it was frozen is there. Is there any way I can debug this?",
"Can any one explain me what is the use of derivatives in real life. When and where we use derivative, i know it can be used to find rate of change but why?. My logic was in real life most of the things we do are not linear functions and derivatives helps to make a real life functions into linear. eg converting parabola into a linear function $x^{2}\\rightarrow 2x$ but then i find this; derivation of $\\sin{x}\\rightarrow \\cos{x}$ why we cant use $\\sin{x}$ itself to solve the equation. whats the purpose of using its derivative $\\cos{x}$. Please forgive me if i have asked a stupid questions, i want to improve my fundamentals in calculus.",
"Can I export Shotwell pictures database saving all the tags? I've imported lots of pictures into Shotwell and spent some time setting tags. Are those tags locked-in in Shotwell or I can export them (and import again or use with other software)?",
"Should it be /about_us or /about-us? From usability point of view, I personally think /about-us is much better for end-user yet Google and most other websites (and javascript frameworks) use underscore naming pattern. Is it just matter of style? Are there any compatibility issues with dashes?",
"I am trying to achieve something like this: This image is linked from . also provides a solution and seems simpler. Both answers deal with the algorithmicx package however. I am interested in the solution for the algorithm2e package. I read the documentation of the algorithm2e package but didn't find an answer. How can I achieve the colored effect? EDIT: Here is sample code to create a minimum working example. \\documentclass{article} \\usepackage[ruled]{algorithm2e} % http://www.ctan.org/pkg/algorithm2e \\begin{document} \\begin{algorithm}[h] \\caption{Evolutionary algorithm} initialize population \\; \\For( \\emph{Evolutionary loop}){$g := 1$ to $G_{max}$} { do things \\; evolve population \\; } celebrate \\; \\end{algorithm} \\end{document}",
"Reverse Cauchy Schwarz for integrals Let $f,g$ be two continuous positive functions over $[a,b]$ Let $m_1$ and $M_1$ be the minimum and maximum of $f$ Let $m_2$ and $M_2$ be the minimum and maximum of $g$ Prove that $$\\sqrt{\\int_a^bf^2 \\int_a^b g^2}\\leq \\frac{1}{2}\\left(\\sqrt{\\frac{M_1M_2}{m_1m_2}}+\\sqrt{\\frac{m_1m_2}{M_1M_2}}\\right)\\int_a^bfg$$ I can't make any significant progress on this one... Thanks for any hint.",
"Pass by Reference / Value in C++",
"More examples of Simpson's Paradox, barring the ones on Wikipedia, Titanic, and delayed flights. I hope someone may know fresh examples of for use in my statistics courses. The examples I've been using are fine, but I'd like to have some new ones. I'm familiar with the ones on the Wikipedia page: the gender bias lawsuit at Berkeley, batting averages, mortality rates among low birth babies, party voting on the Civil Rights Act, and success rates of kidney stone treatments. I'm also familiar with the example of survival rates on the Titanic and the one about delayed flights at America West vs. Alaska Airlines. These are all good ones, but, like I said, I'm looking for more. Does anybody know any others? For those who aren't familiar with it, Simpson's paradox is essentially a property of unreduced fractions: It's possible to have, simultaneously, $$\\frac{a_1}{b_1} < \\frac{c_1}{d_1} \\text{ and } \\frac{a_2}{b_2} < \\frac{c_2}{d_2}, \\text{ but } \\frac{a_1 + a_2}{b_1+b_2} > \\frac{c_1+c_2}{d_1+d_2}.$$ For example, $\\frac{1}{3} < \\frac{34}{100}$ and $\\frac{66}{100} < \\frac{2}{3}$, but $\\frac{67}{103} > \\frac{36}{103}$. It can be hard to spot this happening in a given real-world scenario.",
"Updated Ubuntu 16.04, now I'm running Kali? Updated Ubuntu 16.04 today using the software updater. Now my PC is running Kali? There were something like 2Gb of updates, which I thought at first was because I haven't updated in a while. Now I'm thinking that it was downloading Kali. Here's a of the new boot-up process. The screen will continue to flicker for another 30 seconds or so, then stop flickering leaving the text on the screen. I tried switching the display manager from gdm to lightdm, which will boot me straight to the console and without flickering, but still no desktop. I'm not altogether sure how I managed to accomplish this. It must have been when I was trying to get Katoolin running. Any tips as to how I can either get the desktop or revert the updates? Contents of cat /etc/lsb-rolling: DISTRIB_ID=Kali DISTRIB_RELEASE=kali-rolling DISTRIB_CODENAME=kali-rolling DISTRIB_DESCRIPTION=\"Kali GNU/Linux Rolling\"",
"Prove by induction: $n! \\ge 2^{(n-1)}$ for any $n \\ge 1$",
"No output from goroutine",
"How does \\fontsize{}{} work?",
"I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items which contain a certain value. My silly knowledge immediately lead me to try and use filtering with the ItemCount parameter only to find out that it will always still return the count for all items and it will completely ignore the filter. I have searched for a way of doing this but have found absolutely nothing other than a single page with a comment stating that it is not possible with the REST api and that it can ONLY be done using CSOM. My question is, firstly, is it true that there is NO way to filter itemcount with REST? If so, how else can I obtain my item count using this type of filtering? (Examples or sources will help vastly) Thanks. Below is my attempted request: var itemid = item.id; MyService.ensureFormDigest(function (fDigest) { $http.get( MyService.appWebUrl + '/_api/web/Lists/getbytitle(\\'Items\\')/ItemCount?$filter=SubjectsID eq' + itemid, { headers: { 'Accept': 'application/json; odata=verbose', 'X-RequestDigest': fDigest } }).success(function (d) { item.itemcode = d.d.ItemCount; alert(item.itemcode); callback(); }).error(function (er) { alert(\"Error getting List Item Count: \" + er); }); }); } On another note, I was advised to try it as such: /Items?$filter=SubjectsID eq 3&$select=Id Then in the JS, in my success method: data.d.results.length",
"Probability of lim sup, lim inf for sequence of random variables. Maybe this is extremely simple, but i havent found a specific answer for this online. For a sequence of independent continuous random variables $X_n$ ,$n=1,2,3,...$ , all with the same probability density function $f(x)>0$ for all real $x$, and a specific real number $b$, what do the following events mean in simple terms and what is the probability of each? a)$\\lim_n\\sup\\{X_n \\gt b\\}$ b)$\\lim_n\\inf\\{X_n \\gt b\\}$ c)$\\lim_n\\sup\\{X_n \\le b\\}$ d)$\\lim_n\\inf\\{X_n \\le b\\}$",
"The timeout period elapsed prior to obtaining a connection from the pool I'm getting this error every few days. I won't see the error for a few days then I'll get a flurry of 20 or so all with in a minute or so. I've been very thorough going throw my code so that I'm using this basic setup for my DB access. try { myConnection.Open(); mySqlDataAdapter.Fill(myDataTable); myConnection.Close(); } Catch (Exception err) { if (myConnection.State != ConnectionState.Closed) myConnection.Close(); throw err; } The way I understand it this should execute my queries and immediately release the connection back to the pool but if something goes wrong with the query then I catch the excpetion close my connection then throw the error up, which eventually gets trapped at the application level and logs and emails me the error. Even using this throughout my code I'm still running across the issue. What can I do to diagnose the root cause of the issue?",
"Java map with values limited by key's type parameter Is there a way in Java to have a map where the type parameter of a value is tied to the type parameter of a key? What I want to write is something like the following: public class Foo { // This declaration won't compile - what should it be? private static Map<Class<T>, T> defaultValues; // These two methods are just fine public static <T> void setDefaultValue(Class<T> clazz, T value) { defaultValues.put(clazz, value); } public static <T> T getDefaultValue(Class<T> clazz) { return defaultValues.get(clazz); } } That is, I can store any default value against a Class object, provided the value's type matches that of the Class object. I don't see why this shouldn't be allowed since I can ensure when setting/getting values that the types are correct. EDIT: Thanks to cletus for his answer. I don't actually need the type parameters on the map itself since I can ensure consistency in the methods which get/set values, even if it means using some slightly ugly casts.",
"Yet another \"inconsistent reputation history\""
] | medi_sts_stackexchange_dupe |
Distinguishing between running a process in client terminal or on the server when using SSH | Playing a remote movie on the remote computer | [
"How to achieve screen tearing effect or video glitches I do not know at all what this effect is called, therefore I cannot search for the answer on the web. I am referring to the thing where the RGB color will shift individually when the camera jitters/move So, how can I achieve this sort of effect in blender? and for future reference, what is this effect called?",
"Largest Mass Diffraction",
"Formulae for Catalan's constant. Some years ago, someone had shown me the formula (1). I have searched for its origin and for a proof. I wasn't able to get true origin of this formula but I was able to find out an elementary proof for it. Since then, I'm interested in different approaches to find more formulae as (1). What other formulas similar to ($1$) are known? Two days ago, reading the book of Lewin \"Polylogarithms and Associated Functions\" I was able to find out formula (2). $\\displaystyle \\dfrac{1}{3}C=\\int_0^1 \\dfrac{1}{x}\\arctan\\left(\\dfrac{x(1-x)}{2-x}\\right)dx\\tag1$ $\\displaystyle \\dfrac{2}{5}C=\\int_0^1 \\dfrac{1}{x}\\arctan\\left(\\dfrac{\\sqrt{5}x(1-x)}{1+\\sqrt{5}-\\sqrt{5}x}\\right)dx-\\int_0^1 \\dfrac{1}{x}\\arctan\\left(\\dfrac{x(1-x)}{3+\\sqrt{5}-x}\\right)dx\\tag2$ $C$ being the Catalan's constant. I have a proof for both of these formulae. My approach relies on the following identity: For all real $x>1$, $\\displaystyle \\int_0^1 \\dfrac{1}{t} \\arctan \\left (\\dfrac{t(1-t)}{\\frac{x+1}{2}-t}\\right) dt=\\int_1^{\\frac{\\sqrt{x}+1}{\\sqrt{x}-1}}\\dfrac{\\log(t)}{1+t^2}dt$",
"When does $\\lim_{n\\rightarrow \\infty} a_n = 0$ imply $\\sum_{n = 0}^{\\infty} a_n$ converges? This is just a general question. I know the opposite statement is always true. I'm just asking when the converse holds. I know that the converse is not true in some cases, such as for harmonic series. What additional restrictions are needed to make this statement true?",
"Difference between \"did + verb\" and just \"verb+ed\" This is something I always get confuse with (native language German). As far as I know \"did + verb\" is something done and finished in the past. But isn't it the same with \"verb + ed\"?",
"Proving a function is Lipschitz continuous Show that the following function is Lipschitz continuous and find a Lipschitz constant $$y\\mapsto f(x,y)\\\\ f(x,y)=\\frac{y}{x}\\ln(\\frac{y}{x})\\text{ , } |x-1|\\leq\\frac{1}{2}\\text{ , } |y-e|\\leq\\frac{e}{2} $$ I have no clue on where to begin to prove this. My first question is how I should interpret this function, is $x$ a sort of constant?",
"How can it be that the beginning universe had a high temperature and a low entropy at the same time? The Big Bang theory assumes that our universe started from a very/infinitely dense and extremely/infinitely hot state. But on the other side, it is often claimed that our universe must have been started in a state with very low or even zero entropy. Now the third law of thermodynamic states that if the entropy of a system approaches a minimum, it's temperature approaches absolut zero. So how can it be that the beginning universe had a high temperature and a low entropy at the same time? Wouldn't such a state be in contradiction to the third law of thermodynamics?",
"Let $p>3$ be a prime. Prove that $24 \\mid p^2-1$. I know this is very basic and old hat to many, but I love this question and I am interested in seeing whether there are any proofs beyond the two I already know.",
"Vueling is currently experiencing , with many flights delayed by several hours. Assuming I'm at the airport and my flight is certainly delayed by more than 3 hours, can I simply book another flight and claim compensation later? According to EU's : In addition, if you are denied boarding, your flight is cancelled or arrives more than 3 hours late on arrival at the final destination stated on your ticket, you may be entitled to compensation of EUR 250 - 600, depending on the distance of the flight. But it's not clear if I actually have to board the flight or if simply having a purchased ticket is sufficient. I presume it would be possible to negotiate with Vueling representatives at the airport, but I'd rather not wait in the inevitable 100-person line to their counter if I'm covered by EU law.",
"I have noticed this on many different Windows machine, on many different occasions: the RAM usage reported by Task Manager or Resource Monitor often seems to add up to an amount which is significantly lower than the actual amount in use. For example, many times on my laptop or my desktop, I have seen something like 7GB in use, and yet the total of the Working RAM Set is more like 3GB. I just can't figure out where it's being used! Here's an extreme example I noticed today in Resource Monitor on a server: If you right-click the image and open in a new tab, and view the numbers, you'll notice that the Working Set (which doesn't include nonphysical virtual memory) add up to about 1.7GB. I get similar numbers by adding up RAM usage in Task Manager when \"Show processes from all users\" is enabled. Now here's a screenshot of task manager's Performance tab: This says 7.6GB of physical memory is in use. I see this all the time, on personal computers, laptops, and now servers: the total RAM usage reported by system tools only accounts for about 1/4 of the RAM usage I observe. WTF is going on??? Is there any satisfying explanation of where all my RAM is? What is gobbling it up, and why is it leaving no trace? EDIT: Here's a picture of the graphical RAM use, as user whs asked for: EDIT 2: In response to James' response, here's a picture of the nonpaged processes in poolmon.exe, sorted by size: These results confuse me. poolmon correctly states that I have 6GB of nonpaged pool in use, but all the nonpaged pool processes are less than 8MB in size. What could this mean? Is poolmon failing to detect some of the processes using the nonpaged pool?",
"How to call child component controller function/helper from Parent Component Controller",
"How to get a JavaScript object's class?",
"Since the Earth has a magnetic field, can it, in theory, be run through a conductive metal coil to create electricity?",
"Integral change that I don't understand If $f(t)$ is a Probability density function of a positive RV. $\\int_0^\\infty\\int_x^{\\infty}f(t)dtdx$ Using fubini theorem should become $\\int_0^\\infty\\int_0^{t}f(t)dxdt$ But why? Surely the answer is very simple but I don't see it. Fubini theorem allows the change of the order of integration. So it should become $\\int_0^\\infty\\int_x^{\\infty}f(t)dxdt$ but then I don't understand what meaning could have $\\int_x^{\\infty}dx$",
"How can I pay tolls on Japanese expressways? I'm renting a car soon in Japan and am planning to travel on the expressways. What's the best way to pay tolls?",
"Number of automorphisms of a direct product of two cyclic $p$-groups",
"I am trying to solve the exercises from the book Stochastic differential equations -An Introduction with applications by Bernt Oksendal and I am stuck on 1 question. Prove directly from the definition of Ito's integral that $$\\int_0^t B_s^2 dB_s=\\frac{1}{3}B_t^3-\\int_0^t B_s ds$$ I have tried for a couple of hours but I simply cannot prove it . I would be grateful if somebody could help me out , even a hint would be very helpful",
"I want to put a table and a figure side-by-side. The table should fill two third of the text width, and the figure the last third. So I'd like to achieve one of the following effects (which are equivalent in my case): One table with 3 columns. The first two columns contain text, the third column contains a lengthy image. The height of the image should be determined by the height of the whole table, if that's possible Or, a divided page like in newspapers. On the left side I have the table, on the right side the image. What I have tried: \\begin{multicols}{2} \\begin{tabular}{ l l } Text & Text \\\\ Text & Text \\\\ ... & ... \\\\ \\end{tabular} \\vfill \\begin{figure}[H] \\includegraphics[]{images/image} \\end{figure} \\end{multicols} But this places the picture directly on top of the table. I also tried using \\usepackage[export]{adjustbox} and \\includegraphics[right]{images/image} but the caption is still in the center of the page and therefor on top of the table.",
"Chat is down. Where can I find when it'll be back up?",
"Projectile/orbital motion over very long distance We know the optimum angle for greatest horizontal displacement when launching an object with projectile motion is 45 degrees. How to solve the angle when it is real long distance around the earth where we cannot assume that gravity is constant but is given by $F=\\frac {-GMm}{r^2}$. I use differetial equation to solve it and obtain 45 degrees. First, for the vertical distance $y$, change $v=u-gt$ to $y'=u-y''t$. Then solve it to obtain a function $y(t)$. When $y'(t)=0$ we have the time for maximum vertical distance. Then insert the value to horizontal equation. Can anyone guide me through this problem because I am not confident with my working"
] | medi_sts_stackexchange_dupe |
Mesh -> Math Function: Edit Dialog | How to edit Parameters for an Object after it is created? | [
"exponentiation of cardinal number",
"Why didn't the basilisk bite in Chamber of Secrets destroy the Horcrux? As the title asks, why didn't the basilisk bite received in the Chamber of Secrets destroy the Horcrux inside the bitten person? Yes, I know Fawkes quite quickly healed the bite wound with his phoenix tears, but when Harry used the basilisk fang to destroy Tom Riddle's diary the destruction of that Horcrux was immediate. When Ron hit the locket with the Sword of Gryffindor, it was destroyed immediately. Although the destruction of the ring occurred off-page, Dumbledore used the Sword of Gryffindor to destroy it, so presumably, like the locket, it was gone right away. Nagini died straightaway when Neville decapitated her. The destruction of the Hufflepuff cup happens off-page. The diadem seems to have been destroyed by Fiendfyre immediately as well, as when Harry examined it outside the Room of Requirement it was already leaking a blood-like substance, and then it cracked in half. When Voldemort hit Harry with Avada Kedavra in the forest, Harry woke up in limbo with the last fragment of Voldemort's soul - that awful flayed baby-like being - separated from him immediately. Is there a logical/canon-based explanation for why the fragment of Voldemort's soul residing in Harry wasn't destroyed upon Harry being bitten by the basilisk? NOTE: I've read the HP Wiki's entry on Horcruxes; however, I find the HP Wiki to be inconsistent in its accuracy, so I'm hesitant to accept the Wiki's explanation on the matter. I'd prefer an explanation constructed from information in the books or a statement by JKR, or the like.",
"Minimal Sufficient Statistic for location family In Casella & Berger Statistical Inference,in exercise 6.8, we're asked to prove that, for any distribution belonging to the location family, the order statistics are minimal sufficient. How does one prove this? I have no idea on how to tackle this exercise. Any help would be appreciated.",
"\"grey\" vs \"gray\" are both common equally in use? Yesterday I wrote \"gray\" in the meaning of the color, but my friend corrected me and told me to write \"grey\". Today I checked in the and I found that they are both correct for the same meaning. So, now I just have doubt which one of them is more common in use.",
"Is there a system in place to prevent new users asking, answering and accepting answers to each others' off-topic questions?",
"Batch fit images into ratio with blurred background",
"Duplicate user in reputation league So I understand that this has happened in the past: , but all of the "duplicate" posts are marked as so here is a new bug report: On the , I am listed twice: While that's fun and all, it isn't exactly right.",
"What is a word that means \"someone who pretends to be your friend but is actually your enemy?\"",
"Why is there conservation of kinetic energy in elastic collision and not in inelastic collision?",
"Story about protagonist finding a world that has died with a museum",
"How should a user's death be handled? It is a bit of a morbid concept, but having recently had a friend die unexpectedly and having to deal with the online repercussions of this event has gotten me to thinking about what should happen to my accounts when I kick the bucket. I haven't had any great insights yet, but here are some things I think are worth thinking about: an entry in the FAQ telling the person's loved ones what to do with respect to the account would be extremely helpful, specifically who to contact, how to contact them, and what proof is necessary some form of optional date of death on the user account screen some way to mark the user as no longer being able to generate content and blocking any attempt to login as the user. The danger I see in implementing such features is the possibility of someone faking another person's death and thereby locking a user out of his or her account or worrying his or her friends.",
"How do I save files edited with vim?",
"SQL Server 2000 on Windows 10 I need to install SQL Server MSDE 2000 SP4 on Windows 10. I have other machines that run Windows 7 and 8.1 and SQL Server MSDE 2000 works fine (with merge replication configured too). Now I testing the same scenario with Windows 10, but setup is closing unexpectedly during installation. I know that this version is very old, but is there a workaround to install it on Windows 10?",
"How to find perpendicular vector to another vector? How do I find a vector perpendicular to a vector like this: $$3\\mathbf{i}+4\\mathbf{j}-2\\mathbf{k}?$$ Could anyone explain this to me, please? I have a solution to this when I have $3\\mathbf{i}+4\\mathbf{j}$, but could not solve if I have $3$ components... When I googled, I saw the direct solution but did not find a process or method to follow. Kindly let me know the way to do it. Thanks.",
"Equivalent of \"both\" when referring to three or more items? What would be the correct word to use when referring to three or more items, in the same manner as the word both? For example, using two words, with the word both: \"There are several recommendations I have to further improve the sites — both to improve their profit, and decrease their cost.\" Using three words, with a blank space in place of the correct word: \"There are several recommendations I have to further improve the sites — _ to improve their profit, decrease their cost and improve their usability.\" So, what would be the correct word to use in place of the __?",
"What is the white smoke-like fog called? It's not really fog, mist or haze. I used to think that it's mist, but from what I've read here, it turns out that it isn't. It's the white smoke-like fog that is close to the ground. I've seen it recently above a couple of small ponds (and ground) in a damp forest. It was almost as white as smoke, you can barely see through it, but it is close to the ground, from 20cm to a meter or so. Since it isn't fog (which is a cloud that you can see, say from a mountaintop, and if it's not mist (which is more like 'rain'), then what is it?",
"QGIS Atlas generation for multiple map extents?",
"How to create a permanent \"alias\"? If you create an alias for example: alias cls=\"clear\" It exists untill you kill terminall session. When you start a new terminal window the alias doesn't exist any more. How to create \"permanent\" alias, one that exists in every terminal session?",
"How do I extract all the external links of a web page and save them to a file? How do I extract all the external links of a web page and save them to a file? If you have any command line tools that would be great.",
"What is a good Photoshop book for photographers? I am interested in not too basic techniques (which I can more or less figure out by myself), which on the other hand give good results, without the need to be an expert pro."
] | medi_sts_stackexchange_dupe |
Mage Armor + Unarmored Defense? | How does Mage Armor interact with Unarmored Defense? | [
"Obfuscation is one way, but it can't protect from breaking the piracy protection security of the application. How do I make sure that the application is not tampered with, and how do I make sure that the registration mechanism can't be reverse engineered? Also it is possible to convert a C# application to native code, and is too costly. C# provides lot of features, and is the ideal language for my code, so writing the whole codebase again in C++ is out of the question. Secure certificates can be easily removed from the signed assemblies in .NET.",
"I installed the ubuntu 12.04 server edition for my server pc . i had installed lamp server. i need to change the var/www location to my secondary hard disk location. i was configured so many time to at gedit /etc/apache2/sites-available/default here is my code <VirtualHost *:80> ServerAdmin webmaster@localhost #DocumentRoot /var/www DocumentRoot /media/myserver/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> #<Directory /var/www/> <Directory /media/myserver/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory \"/usr/lib/cgi-bin\"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ \"/usr/share/doc/\" <Directory \"/usr/share/doc/\"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost> and also used sudo chown -R var/www /media/myserver/ and chmod -R 755 /media/myserver/ still i was not able to connect my /media/myserver and my browser show the following message Forbidden You don't have permission to access / on this server. Please tell anyone how to mount myserver at my var/www, thanks advance",
"How do I bind the tmux prefix to a Super? I find even Ctrl+b to be very emacs like but I understand the point. I'm wondering if I could bind it to a single keypress of a key I don't other wise use? namely Super_L (also known as the left windows key. for why I say Super_L start xev in a terminal and press that key)",
"Neat series convergence result This is a nice problem on series convergence that I recently stumbled upon. Given a non-negative sequence of real numbers $(a_n)$ such that $$\\sum_{n=1}^\\infty a_n < \\infty,$$ show that there exists a non-decreasing sequence of non-negative numbers $b_n$ such that $$b_n \\to \\infty \\quad\\text{ and } \\quad \\sum_{n=1}^\\infty a_n b_n < \\infty.$$ In other words, for every convergent series with non-negative terms, there is another convergent series with \"substantially larger\" terms. I have a solution (see below), but maybe someone else has a different, simpler, and/or more elegant solution.",
"How to allocate aligned memory only using the standard library? I just finished a test as part of a job interview, and one question stumped me, even using Google for reference. I'd like to see what the StackOverflow crew can do with it: The memset_16aligned function requires a 16-byte aligned pointer passed to it, or it will crash. a) How would you allocate 1024 bytes of memory, and align it to a 16 byte boundary? b) Free the memory after the memset_16aligned has executed. { void *mem; void *ptr; // answer a) here memset_16aligned(ptr, 0, 1024); // answer b) here }",
"Where is a good place to learn classical optics for high school competitions?",
"Android OS without Google Services?",
"Continued fractions",
"Intuitive explanation for formula of maximum length of a pipe moving around a corner?",
"Why won't this ocelot do anything but breed?",
"What is the C# equivalent of NaN or IsNumeric? What is the most efficient way of testing an input string whether it contains a numeric value (or conversely Not A Number)? I guess I can use Double.Parse or a regex (see below) but I was wondering if there is some built in way to do this, such as javascript's NaN() or IsNumeric() (was that VB, I can't remember?). public static bool IsNumeric(this string value) { return Regex.IsMatch(value, \"^\\\\d+$\"); }",
"copy a certain range of one sheet to a certain specifed cell in other sheet",
"Playstation Plus for PS4 on multiple Console accounts?",
"What is so bad about singletons?",
"Norm and unit sphere",
"How to write an academic paper for the first time? While writing , I realized I don't really have a good list of resources that could be useful to first-time authors, like MSc or PhD students who write their first paper. I often direct my own students to these two papers: G. M. Whitesides, , Adv. Mater. 2004, 16, 1375–1377 (). P. E. Bourne, , PLOS Computational Biology 2005, 1, 0341. I also make sure that they read the journal's editorial policy and authors guidelines. What are other sources of good information for students and first-time academic authors?",
"I run into this infinite product today. I don't have that much experience evaluating products therefore I don't have any idea of how to tackle this. Here is the question. Evaluate (if possible) in a closed form the product: $$\\Pi = \\prod_{n=1}^{\\infty} \\frac{1}{1+\\pi^{{\\large \\frac{1}{2^n}}}}$$ The numerical value seems to be $\\Pi= 0.534523$ which is very close to $\\frac{\\pi}{6}$ taking into account that $\\frac{\\pi}{6} \\approx 0.523598$. In the mean time W|A evaluates it to $0$. I'm lost. Can the community help? Edit: Based on the answer we have two products. The product I asked tends to zero and the bonus product provided by @you're in my eye (thanks for that) is $\\frac{\\ln \\pi}{\\pi-1}$. Thanks for the quick response.",
"So I've been experiencing this in the last few days: sometimes when someone replies to my comment, and I reply to the reply, then the \"add/show 1 more comment\" link appears immediately after I post my comment. However, when I click it, it disappears and nothing is shown. I don't think it's that OP is posting two comments of which he deletes the second one, because this has happened to me several times, even when I was replying within 2-3 seconds. I do, however, believe that this is more or less the same bug as , except that I don't have to reload the page in order the link to be gone, and I also seem to be getting the erroneous behavior only if I reply to a comment which is itself a reply to an earlier comment of mine. Unfortunately, I wasn't careful enough to take a screenshot last time this happened, but here's what I am talking about for those who like visual demonstration better:",
"Is there an elementary proof that $\\sum \\limits_{k=1}^n \\frac1k$ is never an integer?",
"What hardware does Ubuntu Touch support?"
] | medi_sts_stackexchange_dupe |
Concatenate rows that are part of a group | Simulating group_concat MySQL function in Microsoft SQL Server 2005? | [
"Does Windows 7 allow auto-login with a stored password, like TweakUI did? The TweakUI powertoy for Windows XP had an option to auto-login. It stored your password and did the login for you. This was useful, since you kept password protection, but had login programs loaded when you first booted. When you switched users or hibernated, it would still ask for a password, which is the desired behavior. Is there a way of doing this in Windows 7?",
"This is something that I always find a bit hard to explain to others: Why do XML namespaces exist? When should we use them and when should we not? What are the common pitfalls when working with namespaces in XML? Also, how do they relate to XML schemas? Should XSD schemas always be associated with a namespace?",
"What is the need of complex functions in wave analysis? It is commonly known that waves can be express in terms of sine or cosine function. But when I study further, I seen that for analyising the waves, it is common to use complex functions in the form $$y=y_{_0}e^{i(kx-\\omega{t})}$$ where $y_{_0}$ is the amplitude, $k$ is the wave number, $\\omega$ is the angular velocity and $x$ & $t$ are position an time respectively. Ofcourse, I know that the function $e^{ix}$ can be written in the form $\\cos{x}+i\\sin{x}$ and so it is a periodic function with period $2\\pi$ but my question is for what purpose we define it in terms of complex numbers? It seem to be more convenient to use real functions for real variables such as amplitude, electric and magnetic field of an electro magnetic wave, and also in quantum mechanics. What actually this interpretation means or what is the advantage of such functions?",
"Atheros AR9462 WiFI very unstable & package loss I'm having severe issues w/ package-loss and a generally bad connection w/in a WiFi-network at my uni. I'm usually encountering a package loss of ~50% and aborting connections which makes working w/ SaaS impossible. I'm using Ubuntu 13.04 and my network-adapter is an Atheros AR9462. Applying the nohwcrypt=1-option doesn't change anything. Also very noticable: The connection works as intended in other networks; the problematic network uses WPA2 w/ MSCHAPv2. Anyone can help my out here? $ sudo lshw -class network *-network UNCLAIMED description: Ethernet controller product: NetLink BCM57780 Gigabit Ethernet PCIe vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:04:00.0 version: 01 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:d3500000-d350ffff *-network description: Wireless interface product: AR9462 Wireless Network Adapter vendor: Atheros Communications Inc. physical id: 0 bus info: pci@0000:09:00.0 logical name: wlan0 version: 01 serial: e0:06:e6:76:ba:89 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=3.8.0-22-generic firmware=N/A ip=131.173.74.130 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn resources: irq:19 memory:d3400000-d347ffff memory:9fb00000-9fb0ffff",
"How do I recover the Facebook account password? I have forgotten my Facebook account password and also I have no access to the number which I use to log-in to Facebook account. On this page (see the image below) they are asking for a government photo-ID to verify my account. The problem is that I don't have a driving license, voter ID card, passport etc. All I have is a school ID card but that hasn't worked for me. Is there any other way to recover my password?",
"Solvability and reducibility of a polynomial in a \"chain\" of finite fields",
"Can I see a list of gyms I left a pokemon at?",
"Could someone make the proof into a hinted exercise? Let $(c_n)$ be a sequence of positive numbers. Could someone make the proof of the inequality $\\displaystyle\\limsup_{n\\to\\infty}\\sqrt[n]{c_n}\\leq\\limsup_{n\\to\\infty}\\frac{c_{n+1}}{c_n}$ into a hinted exercise?",
"How do I mirror the faces of a cube (edit all of them when I edit one)?",
"How to replace the domain name in a Wordpress database? I have a Wordpress database which was installed in a development environment... thus, all references to the site itself have a fixed IP address (say 192.168.16.2). Now, I have to migrate that database to a new Wordpress installation on a hosting. The problem is that the SQL dump contains a lot of references to the IP address, and I have to replace it with: my_domain.com. I could use sed or some other command to change the that from the command line, the problem is that there are a lot of configuration data which uses JSON. So what? Well, as you know, JSON arrays uses things like: s:4: to know how many chars an element has, and thus, if I just replace the IP with the domain name, the configuration files will get corrupted. I used an app for Windows some years ago that allows to change values in a database and takes care of the JSON arrays. Unfortunately, I forgot the name of the app... so the question is: do you know any app that allows me to do what I want?",
"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?",
"Why is $\\sqrt{-x}*\\sqrt{-x}=-x?$",
"Conservation of energy and Doppler effect?",
"List of GUI Based Torrent clients",
"$\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$. I've tried, but I can't solve the question. Please help me prove that: $\\operatorname{Aut}(\\mathbb Z_n)$ is isomorphic to $U_n$.",
"Find the eigenvector associated with the smallest eigenvalue, not smallest in magnitude",
"Negative pressure",
"Remove association with blank file extension?",
"Internal microphone not working I have an internal microphone in my laptop. I think it uses Intel High Definition Audio. But I can't get it to work with Ubuntu. It doesn't work with either the Sound Recorder or Skype. On the Input tab in 'Sound Preferences', I just see Internal Analog Input Device...",
"Print composer custom grid label problem In answer to Klas Karlsson puts forward a solution to the problem of formatting print composer grid labels for projected maps. I'm very weak on scripting, but in QGIS 2.14 I've tried to enter the text as shown in Klas's illustration, which generates error messages. In my case I'm working with a coordinate system that has a six-digit Easting and a six-digit Northing and I'm trying to get a result similar to that shown in Klas's picture (but with a six-digit Northing). Can anyone help me with this?"
] | medi_sts_stackexchange_dupe |
Does $\lim_{k \to \infty}[(\sum_{n=1}^{k}\frac{1}{n})-\ln k]$ exists? | Relationship between Partial Harmonic Sum and Logarithm. | [
"What changes with Kerberos authentication in IPv6 when everyone has a public IPv6 Address? How should Kerberos authentication be set up with IPv6? What implications are there when client devices each use a public, globally routeable IPv6 IP address? What changes when setup this way instead of using a NAT as was the norm with IPv4?",
"Should we improve time to first byte or Page Speed Insights score for SEO? Google posted last summer that \"page speed\" will impact the search result rankings also on mobile devices. But I think there is a little confusion about the term \"page speed\". The test tool which Google offers is called \"Page Speed Insights\". Many people we are talking with, are thinking that the overall score of this tool for a particular site for example Desktop: 46/100 and Mobile: 45/100 is used for the ranking algorithm. BUT I found a very interesting article in German language which states that only the TTFB (time to first byte) value is used and this should be optimized not all suggestions which \"Page Speed Insights\", further called PSI offers. Here is the link to the German article: In short terms it says that a very large site in this case \"The New York Times\" has a low overall score of Mobile:41 and Desktop:45. As they are used to sell reader memberships they should offer a great user experience. So, they should optimize their site. But when I call this site it is amazing fast. The overall PSI score does not reflect this behaviour. But when I believe this article the TTFB for this site is perfect. Also when I call it here from Austria it states 0.881sec. I really like to know on which value we should focus our work for optimization not to fall in the ranking. Because as many of you already said it is not useful to implement all suggestions from the PSI site for one domain. So, it would be real if you could clarify things here or post links to official posts from Google. What I found about this, Google always is talking about \"page speed\" but what exactly is this?",
"How is a pitch supporting fast bowlers or spin bowlers?",
"Can you wait to add optional damage dice that apply on a hit (such as Divine Smite) until after seeing if the roll is a critical?",
"How to compute moments of log normal distribution? The computed moments of log normal distribution can be found . How to compute them?",
"Why should the first person pronoun 'I' always be capitalized? Why should we capitalize the first person pronoun 'I' even when it does not appear at the beginning of a sentence? Why is it not the case for other pronouns?",
"How do I edit PDF files produced by LaTeX in Illustrator? Fonts are not found When I try to use Adobe Illustrator (CS4) to edit a PDF file produced by LaTeX with several equations in it, Illustrator complains that it can't find the fonts: The font CMBX10 is missing. Affected text will be displayed using a substitute font. The font CMMI10 is missing. Affected text will be displayed using a substitute font. The font CMMI6 is missing. Affected text will be displayed using a substitute font. The font CMMI7 is missing. Affected text will be displayed using a substitute font. The font CMMI8 is missing. Affected text will be displayed using a substitute font. The font CMMIB10 is missing. Affected text will be displayed using a substitute font. The font CMR10 is missing. Affected text will be displayed using a substitute font. The font CMR7 is missing. Affected text will be displayed using a substitute font. The font CMSY10 is missing. Affected text will be displayed using a substitute font. The font CMSY6 is missing. Affected text will be displayed using a substitute font. The font CMSY7 is missing. Affected text will be displayed using a substitute font. The font MSBM10 is missing. Affected text will be displayed using a substitute font. To preserve appearance, some text has been outlined. How do I find & install the necessary fonts?",
"Advantages of using different metric signatures in relativity and QFT I am studying General Relativity and some basic QFTs. It bothers me a lot that different books use different metric signatures, i.e. $(-+++)$ and $(+---).$ Can anyone tell me the advantages of using both of them, or why some people prefer the former while some prefer the latter? I would like to know which one should I while tackling different problems.",
"How to draw a picture by using tikz as backgroud of a character? I am writing some Chinese character and hope to draw simple pictures by tikz and use it as background of this chinese characters. In a short I'd like to get some results as this picture (ignore the lower right noise): How could I do? Thanks in advance. As an example for least workable code: \\documentclass{article} \\usepackage[CJKnumber]{xeCJK} \\setmainfont{KaiTi} \\begin{document} \\Huge 明月出天山 \\end{document}",
"I've just upgraded to Windows 10 from Windows 8.1 on my partitioned laptop that has Ubuntu 14.04 installed. Grub no longer appeared on boot so I ran boot-repair from an Ubuntu liveUSB. This didn't seem to have any effect. I've checked and secure boot is still disabled. Log from boot-repair: So what's next? Update: I've attempted to use chroot to update grub from my Ubuntu partition. update-grub runs successfully finding both linux and windows boot manager but the process still doesn't have any effect. grub-install complains that it cannot find EFI directory (but I have mounted everything correctly). Update2: Just discovered that running efibootmgr after chroot into ubuntu shows ubuntu as not being in the boot order at all. I manually changed the order and rebooted to discover that the bootorder was reset. I run in windows: bcdedit /set {bootmgr} path \\EFI\\ubuntu\\shimx64.efi But this has no effect either even after reporting 'Operation Successful'.",
"How can I know if a branch has been already merged into master? I have a git repository with multiple branches. How can I know which branches are already merged into the master branch?",
"Programmatical Setting of 'Store Relative Pathways' for multiple MXDs ArcGIS 10.1 I am looking to move large number of mxds to a different location on the same drive. Many mxds haven't got 'Store relative pathways' option checked therefore this operation will result in broken links to data. I've only started using ArcGIS 10.1 and it is now possible to programmatically update relative pathways for all mxds by using arcPy and setting relativePaths to be \"True\". I had a go at writing Python script which (in theory) loops through a top folder and searches for all mxds and then updates \"Store relative pathways\" setting to be on. When I run this script in PyScripter, it fails to complete, I get the following error: \"exceptions.NameError: name 'mxd' is not defined Can anyone help ?!? Thanks in advance, Magda import arcpy, os folderPath = r\"C:\\My Folder Path\\...\\...\\...\" for filename in os.listdir(folderPath): fullpath = os.path.join(folderPath, filename) if os.path.isfile(fullpath): basename, extension = os.path.splitext(fullpath) if extension.lower() == \".mxd\": mxd = arcpy.mapping.MapDocument(fullpath) mxd.relativePaths = 'True' mxd.save() del mxd",
"pc ram memory 2x1GB or 1x2GB I don't know if it's the right place to ask but can somebody advise me for buying a ram memory for my computer. I have a Dell Vostro 200 with 1GB of RAM and 667MHz. (2 x 512MB) I want to buy raise the amount of RAM but I'm confused whether to buy 1 x 2GB or 2 x 1GB I know it's the same for the available amount of memory but is ther a difference maybe in the clock speed so that 2 x 667MHz will be better than 1 x 667MHz. or maybe accessing one single memory slot will be faster and better than accessing two slots. Please anyone helps.",
"Show $||Tx||_2 \\leq ||(v_n)||_2 \\cdot ||x||_{\\infty}$ Let $(v_n)_{n \\geq 1} \\in \\ell ^2$ be a fixed bounded sequence of real numbers. Define a mapping $T$ on $\\ell ^{\\infty}$ using the formula $$T(a_1, a_2,...)=(v_1a_1,v_2a_2,...), \\, \\, \\, \\, \\, x=(a_1,a_2,...) \\in \\ell^{\\infty}$$ We can use the fact that, $Tx \\in \\ell^2 $ for every $x \\in \\ell^{\\infty}$ and $T: (\\ell^{\\infty},||\\cdot ||_{\\infty}) \\rightarrow (\\ell^{2},||\\cdot ||_{2})$ is a linear operator. Show $||Tx||_2 \\leq ||(v_n)||_2 \\cdot ||x||_{\\infty}$ for all $x \\in \\ell^{\\infty}$ Here is what I tried: $||Tx||_2 = \\bigg( \\sum v_k^2 a_k^2 \\bigg)^{1/2} \\leq (||x||_{\\infty}^2 \\sum v_k^2 )^{1/2}= (||x||_{\\infty}^2 ||(v_k)||_2^2 )^{1/2} = ||(v_k)||_2 \\cdot ||x||_{\\infty}$ Is this OK?",
"How does the Schengen 90/180 rule work? I have searched the web a lot and could not find an answer that fits my situation. Here are two links that are quite contradictory: My situation: I've visited Portugal in December 2012 for 29 days on a Schengen visa valid from December 1st, 2012 to February 1st, 2013 for research purposes (I am a Ph.D. student). I want to visit Sweden from February 10th, 2013 to May 10th, 2013 (89 days). I have applied for a Schengen visa again (for research). How will the 90/180 rule work in my situation?",
"Can't open snap-store",
"How to include a PDF image into a PDFLaTeX document I am generating a PDF file using pdflatex and need to include another PDF file. The reason is that I have a graphMl file which I exported from yEd graph editor to a PDF file, named sample.pdf. The TeX code to be compiled with pdflatex is given below. I need to include that file at the start of the document. \\documentclass[a4paper,leqno,twoside]{article} \\usepackage[latin1]{inputenc} \\usepackage[english]{babel} \\usepackage{multirow} \\begin{document} [% FOREACH st IN Service %] Name,Id: [% st.Id %], [% st.Name %] des: [% st.Description %] Customers: [% FOREACH softservice IN st.Customers %] [% FOREACH swid IN softservice.SW %] [% swid.Service %] [% FOREACH st IN Service %][% IF swid.Service == st.Id %] ([% st.Name %]) [% END %] [% END %][% END %][% END %] Suppliers: [% FOREACH shservice IN st.Suppliers %] [% FOREACH sw IN shservice.SW %][% sw.Service %] [% FOREACH st IN Service %][% IF sw.Service == st.Id %]([% st.Name %]) [% END %][% END %][% END %] [% FOREACH hw IN shservice.HW %][% hw.Type %][% hw.Nr %][% END %] [% END %] \\newpage [% END %] \\end{document}",
"Is there a reason why we gain ghost reputation on the meta of an SE website? Is there any reason behind the ghost reputation we gain on the meta of a Stack Exchange site? This reputation doesn't add up to anything, but it still shows me I have gained some. Is this supposed to make any sense?",
"Environment variables are not passed to sub scripts while running on crontab I was trying to run one of the scripts (for example, wrapper.sh) which internally executes other scripts using crontab. It works fine without any issues. When I have created a environment file (which stores the passwords-DB and paths) and trying to execute the main script (wrapper.sh) the cron entry doesn't work on those scripts which are called internally in the wrapper. NOTE: I tried changing PATH, added env file location before the script in cron but it still didn't work: 9 9 * * * . /$SOMEPATH/some.env; /$SOMEPATH/wrapper.sh The environment script and wrapper.sh are in same path. when the cron runs it passes the env variables to wrapper but not to the scripts which are called internally in wrapper. Also a mail is received on /var/mail/$user saying the env file as \"No such file or Directory\". I've gone through many posts but couldn't figure out the resolution.",
"Warning when battery is fully charged I would like to get an alert (with sound) when my laptop battery is fully charged. How can I do that?"
] | medi_sts_stackexchange_dupe |
#define with :: (double colon) in identifier for namespaces | What are the valid characters for macro names? | [
"Can't boot Windows 7 after installing Ubuntu I installed Ubuntu yesterday alongside Windows 7 and whenever I start my computer I don't have the option to boot Windows. When the computer starts it goes straight to Ubuntu without giving me an OS selection menu. When it goes to Ubuntu it gives me Ubuntu repair options and Ubuntu normal start option. I still have all of the Windows 7 files on my hard drive, but Windows 7 has no way to boot.",
"Smoke Generator does not work When I try to run the smoke simulator in Blender 2.62 I get no smoke at all. When I attempt to render, the only output is a black screen. What am I doing wrong here that is making the smoke simulation not render? Is it a mistake I made, or a problem with Blender version 2.62?",
"What determines which frames are inertial frames? I understand that you can (in principle) measure whether \"free particles\" (no forces) experience accelerations in order to tell whether a frame is inertial. But fundamentally, what determines which frames are inertial (i.e. what principle selects in which frames free particles will not appear to accelerate)? I've been told that the cosmic microwaves determine the ultimate rest frame of the universe, but that doesn't make sense to me, since one can still ask why that frame is an inertial frame. Also, I understand that there are no real inertial frames in general relativity, but it seems like there certainly exists approximate inertial frames and we can ask why those frames are approximately inertial and not others. For example, in the frame of a person riding a merry go round, free particles appear to greatly accelerate; while in the frame of someone standing next to the merry go round there are no such great accelerations. Why does the guy (or gal) on the merry go round see free particles accelerating while the other guy doesn't. And if you're gonna tell me that it's \"the rest of the stuff in the universe\" that determines whether the person on the merry go round sees free particles accelerate, I'll ask how you know that all that stuff is not spinning. I hope this question sort of makes sense, it's been bothering me for a while and my study of relativity (most of special relativity and just the outline of general relativity) hasn't really clarified it for me much.",
"From , I have tried the using \\hspace{0pt} and \\makeatletter \\renewcommand{\\dddot}[1]{% {\\mathop{\\kern\\z@#1}\\limits^{\\vbox to-1.4\\ex@{\\kern-\\tw@\\ex@ \\hbox{\\normalfont ...}\\vss}}}} \\renewcommand{\\ddddot}[1]{% {\\mathop{\\kern\\z@#1}\\limits^{\\vbox to-1.4\\ex@{\\kern-\\tw@\\ex@ \\hbox{\\normalfont....}\\vss}}}} \\makeatother after loading mathtools but the problem still persists. \\documentclass{article} \\usepackage{mathtools} \\begin{document} \\[ \\dot{\\mathbf{r}}\\times\\ddot{\\mathbf{r}}\\times\\dddot{\\mathbf{r}} \\] \\end{document} In the case the font scheme I am using has any affect as well, the fonts are: \\usepackage[utf8]{inputenx} \\renewcommand{\\rmdefault}{ppl} \\linespread{1.05} \\usepackage[scaled]{helvet} \\usepackage{courier} \\usepackage{eulervm} \\normalfont \\usepackage[T1]{fontenc} \\usepackage{textcomp}",
"What is a 'Closure'? I asked a question about Currying and closures were mentioned. What is a closure? How does it relate to currying?",
"How to change boot splash screen in 18.04 I have done this in the past in 16.04 and 17.10 but in 18.04 I can not get plymouth manager to work. Downloaded it from the software center but it doesn't work. Is there a guide available that will let me do it in terminal?",
"Why is a Hyperplane called a \"Hyper\"plane? I just had this curious question. In other fields, the word \"hyper\" is actually used to refer to something which is \"over; beyond; above\" as defined by Google. An example of such terms would be Hyperglycaemia, defined by Wikipedia as: a condition in which an excessive amount of glucose circulates in the blood plasma. Or Hypersonic, defined by Google as: relating to speeds of more than five times the speed of sound. So, my question is, what would be the motive to give a Hyperplane such a name when it is defined as : a subspace of one dimension less than its ambient space",
"I'm very new to presentations in LaTeX (I've been using PowerPoint for years but have finally converted). I am wondering how to get a GIF into a section. If need be, I can convert a GIF into lots of pictures and have them overlay to give the impression of movement.",
"property not working with getter AND setter",
"I am making the check for update script for my theme I have 2 text files. First one is called \"current.txt\" and contains the current version. There is 4.1.1 string in that text file. Second one is called \"latest.txt\" and contains the latest version. There is 4.2 string in this text file. So here is the code echo \"Checking update\"; x=$(cat ./current.txt) y=$(cat ./latest.txt) if [ \"$x\" -eq \"$y\" ] then echo There is version $y update else echo Version $x is the latest version fi What it mean is if current.txt is NOT the same with latest.txt then it will say \"there is version 4.2 update\". If not, it will say \"version 4.1.1 is the latest version\" But when I try to run it. I get this error Checking update ./test.sh: line 4: [: 4.1.1: integer expression expected Version 4.1.1 is the latest version So what am I doing wrong with this?",
"Suppose every subsequence of X converges to 0. Show that lim(X)=0 Question: Suppose that every subsequences of $X = (x_n)$ has a subsequence that converges to $0$. Show that $\\lim(X) = 0$ My attempt: Suppose that $\\lim(X) =L \\neq 0$ Let $\\epsilon > 0$, and let $K(\\epsilon)$ be s.t. $n \\ge K(\\epsilon)$ then $|x_n-L| < \\epsilon$ let $n_k \\ge k$, and then $k \\ge K(\\epsilon)$ and $n_k \\ge k \\ge K(\\epsilon)$ s.t. $|x_{n_{k}}-L| < \\epsilon$, which is a contradiction. therefore $\\lim(x) =0$",
"Laplace transform of $1/t$",
"AppFabric / WF 4.0 instances stuck despite no bookmark and pending timer",
"Play YouTube videos with MPMoviePlayerController instead of UIWebView",
"Stack Overflow is not getting refreshed automatically Stack Overflow is not getting refreshed automatically. I have to press F5 explicitly to refresh the website. What might be the issue?",
"Would it better the community if we got compensated for posts? Even with minuscule alt coins? If we are effectively generating more traffic to Stack Exchange sites, would it become a better community if users were compensated somehow besides rep points? Even with minuscule alt coins?",
"Could cancer be in itself a evolutionary process? Could cancer be in itself a evolutionary process? Maybe in some way could it be a process of variation? Or would this idea be completely without support, if so, why? I don't mean that each case would lead to evolution, but that within an entire group of organisms, it could lead to case of of individuals developing ways to resist what caused the cancer, maybe in cases of individuals beating the cancer or in cases of successive generations of off spring from individuals with cancer? Could it be possible that in rare cases it could lead to the development of new organs or specialized cells?",
"Should 'drive by' downvoting be more effectively caught? I have an answer that I'm certain is technically correct. However, it continues to be downvoted. The answer has already been noted in comments on other answers to be better. It goes more in-depth than the others, yet it continues to be downvoted. The already upvoted answers were nowhere close initially, and I had already commented on them to say why it is wrong... Isn't there a limit for that? Shouldn't something be catching this?",
"How did they post process before Photoshop?",
"What is the use of percent signs (%) at the end of lines? (Why is my macro creating extra space?)"
] | medi_sts_stackexchange_dupe |
CAKEPHP ORM Feature | can CakePHP automatically create tables from models? | [
"Rotation Path Not Shown in Graph Editor I created a couple of LocRot keyframes but the rotation path and keyframes aren't shown in the graph editor (no, they aren't hidden).",
"Say for a game with irregular hotspots (say Risk, or a strategy game like Paradox's Hearts of Iron or Crusader Kings), how do you Define a non-rectangular hotspot of irregular shape (much like a territory on a map?), in code? What tool can you use to trace out the hotspot and import into your game? What is the algorithm for detecting if someone has clicked within such a hotspot?",
"Particular solution of $y''-4y'+5y = 4e^{2x} (\\sin x)$ How do I find the particular solution of this second order inhomogenous differential equation? (Using undetermined coefficients). $y''-4y'+5y = 4e^{2x} (\\sin x)$ I can find the generel homogenous solutions but I need help for the particular.",
"Why is the ROC curve two-dimensional instead of three-dimensional?",
"Why are effective pixels greater than the actual resolution? compares Canon EOS 550D and Canon EOS 500D cameras and mentions 18.7 million effective pixels for 550D. However the best resolution possible using this camera is 5184 * 3456 = 17915904 ~ 17.9 million pixels What are effective pixels, and why is that number greater than 17.9 million in this case?",
"In terms of UX what do you guys think is the best approach when integrating a trial period for subscriptions? My application offers a 15 day trial, at the minute the user can sign up without providing any payment information (Paypal Subscription). The account is then set to trial status and after 15 days the user will be redirected to an upgrade page. Do you think this is the best approach? I am unsure whether or not to let Paypal manage the trial, this however means that the user will need to go through the Paypal payment system during signup. I think this may put some people off signing up. On the other hand this approach may increase the number of conversions to a full account.",
"Finding total after percentage has been used? Tried my best with the title. Ok, earlier while I was on break from work (I have low level math, and want to be more fond of mathematics) I work retail, and 20% of taxes are taken out, and I am wanting to find out how much I made before 20% is taken out. So I did some scribbling, and this is without googling so please be gentle. but lets say I make 2000 dollars per paycheck, so to see how much money I get after taxes I do 2000 * .8 which gives me 1600. I can also do 2000 * .2 which gives me 400 and then do 2000 - 400 (imo I don't like this way since I have a extra unnecessary step) Anyways, I was pondering how to reverse that to have the answer be 2000, and what I did was 1600 * 1.20 (120%) which gave me 1920, and I thought that is odd so I did 1600 * 1.25 and answer was 2000 exact. My question is why did I have to add extra 5% (25%) to get my answer? I am sure I did something wrong, and I fairly confident the formula I am using is a big no no. edit; wow thank you all for your detailed answers. I am starting to like mathematics more and more.",
"I have a little problem with the placement of my picture. I want to insert it at the end of the introduction chapter but its place is not where I want. I think the problem become from the: \\begin{figure} ... \\end{figure} Because when I insert the picture without using \\begin{figure}... the picture is at the end of the chapter as I want. Look the picture below.",
"Do local flows of left-invariant vector fields satisfy $\\Phi_X^t\\circ L_x=L_x\\circ \\Phi_X^t$? Given $G$ a lie group and $X$ a left-invariant vector field. Let $\\Phi_X^t$ be the local flow of $X$. Why can we conclude that $\\Phi_X^t \\circ L_x=L_x \\circ \\Phi_X^t$? Thanks!",
"I have an Excel file containing data collected over many years as latitude and longitude coordinates for archaeological sites. How can I import it into QGIS as a new layer?",
"How to set page geometry for a single page only?",
"Find all entire functions $f(z)$ such that $|f(z)|=1$ for $|z|=1$ Hint: First show that $f(z)$ is a polynomial. Clearly one can not use Cauchy Estimates to prove that $f(z)$ is a polynomial, the other way is to prove that $f(z)$ has a pole at infinity which I am not sure how to prove that, are there any other ways to prove that a given entire function is a polynomial ? Thank you !",
"What is meant by \"object serialization\"? Can you please explain it with some examples?",
"Why is the sum of the digits in a multiple of 9 also a multiple of 9? The sum of the digits in $9 k$ (where $k$ is an integer) is a multiple of $9$: for example $$9\\cdot 1=9$$ $$9\\cdot 7=63 \\qquad \\text{and } 6+3=9\\cdot 1$$ $$9\\cdot 11=99 \\qquad \\text{and } 9+9=9\\cdot 2$$ But why?",
"Confirmation that (inner) classes are still not fully supported in @AuraEnabled methods?",
"I noticed relation between modulo operation and number which is power of two Example I have to calculate $ 3431242341 \\mod 2^5 $, which is $ 5 $ but it is equivalent to $ ( 3431242341 \\mod 2^9 ) \\mod 2^5 $ I tried many examples and it seems to be true in general, and I am not sure if it is a coincidence or true in general that I can use first modulo operation ( greater number) and the result will be the same.",
"The range of $T^*$ is the orthogonal complement of $\\ker(T)$ How can I prove that, if $V$ is a finite-dimensional vector space with inner product and $T$ a linear operator in $V$, then the range of $T^*$ is the orthogonal complement of the null space of $T$? I know what I must do (for a $v$ in the range of $T^*$, I have to show that $v\\perp w$ for every $w$ in $\\ker(T)$ and then do the opposite), but I don't know how to show that this inner product is zero.",
"How to set a domain to ip address? You can reach this IP address (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is \".com\". My IP is static. Thanks",
"How do I backup and restore SMS Messages? How do I backup and restore SMS Messages?",
"Travelling on Business visa to UK for tourism purposes"
] | medi_sts_stackexchange_dupe |
How to take the log of an equation? | Log of products to sum of logs | [
"How to use IDM on Mozilla Firefox Quantum I want to use Internet Download Manager for downloading on Firefox. According to this it can be done with the extension called Flashgot. But Flashgot does not work on new Firefox Quantum. However, I found that can be used to interrupt browser's downloading jobs by redirecting these jobs to an external download manager like Internet Download Manager (IDM). But I don't know how to integrate IDM with this new extension. I wrote IDM's location (/.wine/drive_c/Program Files (x86)/Internet Download Manager/IDMan.exe) in the box that says \"Path to the executable\" but when I try to download something, an error is appearing. The preference page of the extension The error that is appearing while trying to download files How can I make it work? Thanks beforehand!",
"sObject ' ' type is not supported Hey everyone I've been seeing this a lot lately and am trying to figure out why this error is thrown when querying the SOAP API directly. I've tried several very basic SOQL queries such as SELECT Body FROM AssetFeed Only to be met with the sObject type 'AssetFeed' is not supported. error. The account that I'm currently querying is just a standard user who accepted permission from an app that was created by a Developer Account, so I'm wondering if it might be permissions from the user or permission from the app itself? Possibly because Developer accounts cannot use 95% of whats offered? The WSDL used is a v27.0 generated Partner WSDL if that helps narrow it down. I've noticed this in multiple standard objects, so I'm wondering what the trend really is? Seems like a good informational question for future googling of others? Running describeGlobal() Array ( [0] => AggregateResult [1] => Attachment [2] => ChatterActivity [3] => CollaborationGroup [4] => CollaborationGroupFeed [5] => CollaborationGroupMember [6] => CollaborationGroupMemberRequest [7] => CollaborationInvitation [8] => ContentDocument [9] => ContentDocumentFeed [10] => ContentDocumentHistory [11] => ContentDocumentLink [12] => ContentVersion [13] => ContentVersionHistory [14] => EntitySubscription [15] => FeedComment [16] => FeedItem [17] => FeedLike [18] => FeedTrackedChange [19] => Group [20] => GroupMember [21] => HashtagDefinition [22] => Name [23] => TaskPriority [24] => TaskStatus [25] => User [26] => UserFeed [27] => UserPreference [28] => UserRecordAccess [29] => UserRole ) Where would all the rest of my SOAP SObjects be? This seems like a very thin list compared to the 295 SObjects advertised",
"Is it true that $\\mathbb{R}$ and $\\mathbb{R}^2$ are isomorphic as abelian groups?",
"accounting for LED resistance",
"Unicode error in inputenc package",
"Why should edits be at least six non-space characters? Earlier today I got this message: Oops! Your edit couldn't be submitted because: Edits must be at least 6 non-space characters; is there something else to improve in this post? However, the purpose of my edit was to change the formatting for a message to show code. There may have been other grammatical mistakes that could have been, but in general it is possible that there would not be. What's the correct protocol to handle a situation like this?",
"Hypernym for “import” and “export”? What word could describe an operation of either importing or exporting? X is to import and export as migration is to immigration and emigration. Porting isn't the word I'm looking for, I don't think, but that's what I'm getting at. Cheers!",
"Can you cast a 9th level spell if your multiclass spell slots have 9th level spell slots?",
"How to show this property of $\\mathbb{RP}^{n}$. To prove that: The $n$-dimensional projective space can be presented as: $\\mathbb{RP}^n=\\bigcup_{i=0}^{n} A^{i}$. (The intersection of each two $A^{i}$ is empty)، $A^{i}$ is isomorphic to $\\mathbb R^{i}$ ($A^{0}$ includes only one point). The definition of $\\mathbb{RP}^n$ is: $\\mathbb{RP}^n= (\\mathbb R^{n+1} \\setminus \\{0\\})/ \\sim$ , $\\sim$ is defined as: $x \\sim \\lambda x$for all $\\lambda\\in \\mathbb R^\\times$ and $x\\in \\mathbb R^{n+1} \\setminus \\{0\\}$. $\\mathbb R^\\times $ is the productive group of scalars $\\ne0$ in the field $\\mathbb R$. I'm just a beginner in this field so any help would be appreciated.",
"Separate long math text under sum symbol into different lines? I have the following equation, where there is a lot of stuff under the sum symbol: \\begin{equation} d(\\vec{x},\\vec{y})= \\sum_{Z_{xy}\\in\\vec{Z}_{xy},\\forall x\\in\\vec{x},\\forall y\\in\\vec{y}} f(Z_{xy}) \\end{equation} In the resulting document, I find it kind of hard to read. Is there a way to write the equation to make the result more readable, e.g. putting the stuff under the sum symbol on different lines?",
"Can Mathematica do two evaluations at the same time?",
"Trouble trying to use Windows Search to search for file with a question mark in the content It seems that Windows Search is having trouble when I specify a question mark character as the content that I'm searching for within my files. I've tried: content:? content:\"?\" content:\"\\?\" content:\\? content:%3f content:\"%3f\" content:\\3f content:\"\\3f\" content:\\00\\00\\00\\3F but each of these yield no results when I do indeed have files that contain ? within the scope of the search. If I instead search for something like content:happy it will indeed find all files with the phrase \"happy\" within those same files. My assumption is that Windows Search is treating some characters such as the question mark as a special character likely for the purpose of wild card expressions. To test this theory I've also searched for files containing an asterisk * and indeed I have the same issue as when searching for content of question mark. What I'm wondering is whether there is any way to get a search to work where I can search for a literal expression without any type of wildcard matching or at least a way to escape the special characters within the expression. By the way I'm using Windows 7 Enterprise.",
"How do I correctly tag my questions? Here are some tips for tagging questions. These guidelines will help you more accurately tag your questions, which in turn will help them get more attention and lead to better answers faster. For more information, see \"\" in the .",
"\"who\" vs. \"whom\" and when to omit the relative pronoun This is the boy who was asked by the teacher to stay back after school. This is the boy whom the teacher asked to stay back after school. This is the boy the teacher asked to stay back after school. Are the sentences above correct ?",
"With a Canon 550D camera and a Tamron 18-270 mm zoom lens, I tried to fix shutter time, aperture (f/8.0 to cover all zoom range), and ISO, so the exposure meter read 0.0 with 18 mm focal length and while focusing on a uniform white wall. Then I changed to 270 mm focal length, but the exposure reading did not change significantly (only to -0.7). However, I had expected exposure to change, since only (18 mm / 270 mm) ** 2 = 1/225 of the wall is now covered in compare the coverage when focal length is 18 mm, thus only 1/225 of the light gets to the sensor after the change of focal length. Why does exposure not change when narrowing the field of view with change of focal length?",
"I am trying to balance underbraces in the equation below, how can I ensure that both underbraces at the same depth? \\begin{equation} y = \\underbrace{ \\left [ x^2 + r^2 (a^2+\\frac{a^{0.3}}{b}) \\right]}_\\text{growth rate} \\times \\underbrace{ C_0}_\\text{initial} \\end{equation}",
"equirectangular rendering for Blender Internal? Can such frames/videos be rendered in Blender Internal as well? If not, how indirectly? EDIT: The below solution is great as long as you can write your own Python script and only render solid objects. When you need things like particles/hair, it won't work as those won't be reflected.",
"Is there an easy way to delete an element from an array using PHP, such that foreach ($array) no longer includes that element? I thought that setting it to null would do it, but apparently it does not work.",
"In the addon ArchiMesh there is a Japaneses curtain feature, but, it looks straight and does not have the fold that I want in it. Is there an addon that can do this for me? If not, how can I make a curtain (like in the images below)?",
"Going back twice required to return to search results in the tags view"
] | medi_sts_stackexchange_dupe |
Syncing Ipod Shuffle | What is the current state of apple device (iPhone, iPod, etc.) support? | [
"How do I set up Ruby on Rails? I am interested in setting up a Ruby on Rails environment on my 10.10 laptop. Is there anything special I need to keep in mind for installation (i.e. that could be new or unique to 10.10)? Are there any suggested walkthroughs that I could follow along with? Thanks in advance.",
"HDD SMART interpretation - Possible impending drive failure I've just had an issue pop up related to my drives. First things first, I was working in my case when I clumsily shifted the foot of the case off of my desk. Case shifted and hit the desk somewhat hard, but only fell an inch or two. It had been properly shut down so this may not have anything to do with the issue. After booting up, I noticed that when playing a video from my F: Drive (Seagate), it produced a whine, almost a chirping sound coming from the hard drive bay. I think I may have heard this before the drop, but quieter. Fearing impending failure I downloaded GSmartControl and inspected the drive information. The Seagate drive displayed a high Raw Read Error Rate, as well as a high Seek Error Rate. I've read some of these values can be high on Seagate drives from the start. This drive is about 6 months old and the producer of the noise. I also checked my Toshiba drive, which came with a refurbished prebuilt I bought about a year ago. It showed more normal SMART data, but displayed some concerning statistics (2 \"Mechanical Start Failures\" and 2 \"Reported Uncorrectable Errors\"). Both of the drives passed the basic SMART test, but the noise was quite alarming. It would stop as soon as a paused the video and start right up again as soon as I resumed playing. Here is an album with 3 photos of the SMART data, the Seagate did not display statistics. Could I please have help interpreting the SMART data, and whether this may indicate an impending failure? Thank you for your time. Here are images of the SMART data.",
"Unexpected workspace change? My friend who has only recently downloaded blender has come across a workspace issue. He said he accidentally pressed a button and it has entirely changed his user interface/ Workspace. He can't open, save or do anything with the change. This is a full window image!",
"PHP validation/regex for URL I've been looking for a simple regex for URLs, does anybody have one handy that works well? I didn't find one with the zend framework validation classes and have seen several implementations.",
"How to yield from parallel tasks in .NET 4.5",
"I have reviewed this: but it does not answer my question. The suggested fixes in this question is to set up FB, IG, and other social media pages. We have had these for months. We have 576 Instagram followers, 293 followers on Facebook, 17,425 views on Vimeo, Youtube, Pinterest and LinkedIn presence. Here is the response in a YouTube search: Let's be clear. If you search for my company name and product name YT changes the spelling to something that doesn't exist and suggests a video with no matching result terms (using either spelling) disparaging OTHER luxury handbags, while insinuating it is referring to my handbags. When a user searches for our business, , Google and Youtube changes the spelling to Aslan Vaughn and displays these results: For the first few months it just seemed like it was taking some time to percolate, but over 7 months we have had 17,500 unique visitors and nearly 90 backlinks. The only results for Aslan Vaugn is the birth announcement of the second child of a musician in New Jersey. It is a Facebook post and has 14 likes. Google is favoring a spelling that has only two results with 14+ views over dozens of links and tens of thousands of views. How is this possible? An FB post with 14 likes is that much more popular than a business with 17,500 unique visitors (despite the Google obfuscation)? Is my company on some list? On other search engines my company covers the first few pages in results. Through Google, you cannot find our company no matter how many pages in you go. Unless you search for the term in quotes, . In which case we cover the first few pages here as well:",
"In comments, moderators have their diamonds in the OP rectangle: And in the review (suggested edits), mods have their diamonds outside the blue OP background highlight rectangle: Of course, it Doesn't Really Matter At All, but it is a small discrepancy (I am not saying that in the review, OP rectangles have a bigger padding).",
"ASP.NET Web Site or ASP.NET Web Application? When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site. What is the difference between ASP.NET Web Application and ASP.NET Web Site? Why would I choose one over other? Is the answer different based on which version of Visual Studio I am using?",
"Can we have discussions? Guys, I just wonder if people are allowed to have civilized discussion (on any IT topic) on this forum without actually being accused of starting a row. I'm asking this question for a reason that few days I've asked few questions referring to VM, JIT etc. and compared them to C++ way and despite the fact that I've explained myself that I'm not starting any agro with anyone, that I'm really just genuinely curious, my post was first closed and then removed. I'm asking: What's wrong with asking nonstandard questions which sometimes my be quite difficult to answer? Thanks",
"Narrow-phase collision detection algorithms",
"If I live in the US, for example, where current interest rates are practically nil, how can I take advantage of the fact that ?",
"3 more votes from other users are needed to close this question. This is the message I got hovering the mouse over close voting tab. I wonder can we begin any sentence with a numeric value? Is it good practice?",
"What is the default root password? I installed (Precise Pangolin), 64 bit. Nowhere was I asked to set password for root. I just installed software. It was installed under the /root folder by default. Now I try do something on that folder. I tried with su to switch to root, but I don't know its password. Should I always use sudo or get the default root password, if any? How do I create a for software installed inside the /root directory?",
"Can Objective C determine the caller object reference at runtime (reflection)?",
"I saw many saying that the latest version of Ubuntu 16.04 includes an opensource driver for ATI. I have an HP laptop with AMD 6770m + Intel HD 3000 hybrid graphics and wants to install Kubuntu on it. I created a bootable USB drive of Kubuntu 16.04 and booted from it just to check everything works perfectly (I don't want to install it separately and ruin bootloader as of now). But my laptop is getting too hot and the battery is not lasting for more than 30 mins. Also the brightness control is not working at all and it stays high always. How can I get hybrid graphics on Kubuntu/Ubuntu working well? I am ready to turn off the ATI card since I am not going to play any games on Linux. I just need the Intel graphics + Cool Laptop + Good battery Life + Brightness control. My BIOS setting for switchable graphics mode is FIXED. Do I need to change it to DYNAMIC? UPDATE I wasn't able to make things work in 16.04 so installed 14.04 LTS along with the AMD Catalyst driver. Now everything works perfectly fine. Below are the steps. Clean install Ubuntu 14.04 LTS Install the fglrx catalyst drivers using “Additional Drivers” window. This will enable us to switch graphics Restart Ubuntu FAN Noise Fix - Refer this and install i8kutils Brightness Control - Check this is the official documentation for AMD/Intel hybrid graphics",
"Can Wubi use the ISO I already have? The Windows Installer for Ubuntu desktop instructions say that an ISO image for Ubuntu is downloaded during the installation process. But what if I already have an ISO image for Ubuntu. Can I make the Windows Installer use that, so it doesn't have to download an ISO image again? 12.04 LTS and 12.10 are the versions of Ubuntu I'm interested in installing, in case that matters.",
"A thought experiment: Imagine the Sun is suddenly removed. We wouldn't notice a difference for 8 minutes, because that's how long light takes to get from the Sun's surface to Earth. However, what about the Sun's gravitational effect? If gravity propagates at the speed of light, for 8 minutes the Earth will continue to follow an orbit around nothing. If however, gravity is due to a distortion of spacetime, this distortion will cease to exist as soon as the mass is removed, thus the Earth will leave through the orbit tangent, so we could observe the Sun's disappearance more quickly. What is the state of the research around such a thought experiment? Can this be inferred from observation?",
"Hypothetically, should I pay off the smaller + higher interest rate loan first, or the larger + higher absolute interest cost? I have this hypothetical situation on my mind and I am not sure which is the best solution. Given: Loan 1: $340,000 at an interest rate of 1.69% per year Loan 2: $40,000 at an interest rate of 3.6% per year I have a fixed amount available to pay these, let's say, $1,500 monthly and I can decide how much I want to pay each one (I could pay 750/750, 1000/500, 1500/0 for instance). I do not have a time limit to pay these. My question: What is the optimal way to pay these? What I always heard is: pay the debt that has the highest interest first. This would lead me to a solution: pay loan 2 as fast as possible. But the total amount of interest on 340,000 is higher (in this case, $5780 annually) than the amount over $40,000 (1440, in this case), so, to me, it feels I should pay the Loan 1 first. I would love to run some simulations, but I have no idea how to calculate these things (I don't even have a clue on how to research it). ps: this is really a hypothetical situation, I am not getting such loans without being able to calculate it, don't worry ;)",
"Why aren't we sterilizing N95 masks?",
"Creating a responsive menu system for a site with a lot of content I am currently creating a website which has a lot of content - text. For this I need a serious menu structure with 5-10 menu items per menu and at least 15 menu-blocks per main menu item. Further it has to be accessible via mobile. Till now I have used panels and added menus inside the panels. But mobile isn't to happy about that and the list-names in the menus overlap the content. How would you go about solving this issue? I trust you experts here! :-)"
] | medi_sts_stackexchange_dupe |
System.Threading.Timer vs System.Threading.Thread.Sleep resolution - .NET Timer not using system clock resolution | Why are .NET timers limited to 15 ms resolution? | [
"How do I change the extension of multiple files?",
"Why is this power adapter transformerless?",
"Long site name hides the diamond in profile page Communities",
"I want to reinstall Ubuntu, but I also want all information and settings to disappear. So everything looks like the first time I installed it. Is it possible to do so via Terminal? Or what are the steps I should follow?",
"`du -b` shows different size than `ls`",
"Rounded corners in TikZ trees.",
"How to get distance when acceleration is not constant?",
"I have some files that Ubuntu can't read it ( ANSI encoding ) but Windows can read it well. When I open it in gedit or notepad++ it seems like this : Êã ÇáÊÍæíá áÜÜ How can I make Ubuntu read ANSI encoded files well?",
"How to prove Fibonacci sequence with matrices?",
"Using Illustrator CS6 to create shape out of multiple paths",
"Can someone explain me this please I am a bit confused? It's from a texbook I am reading (block cipher companion) it says that: each weak key has $2^{32}$ fixed points $m$ where $\\operatorname{DES}_w(m) = m$ ( $w$ is a DES weak key). In other words encrypting a fixed point gives exactly the same point. To see this consider the $2^{32}$ ciphertexts after 8 rounds of encryption for which the two 32 bit halves are equal. For a weak DES key, the round keys of the eighth and ninth rounds are equal. Thus the intermediate texts after seven rounds and after nine rounds of encryption will be equal. Since the round keys of the 7th and the 10th rounds are equal, the intermediate texts after 6 rounds and after 10 rounds of encryption will be equal. Continuing like this it follows that the plaintext will be equal to the ciphertext. Now did not quite get : Why are there $2^{32}$ fixed points? And why after the eighth round of encryption the two halves must be equal? What does the author mean by the intermediate texts exactly? And how are they being equal? P.S.: This question is not asking for what the weak keys are. I am asking for \"fixed points\" not exactly weak keys. For this reason I think it is not a duplicate of any other question. There is one similar question to what I've asked for which I have checked and saw that no satisfactory answer has been given there either. Here is the similar question with no proper answers:",
"Parser for C# Which parsers are available for parsing C# code? I'm looking for a C# parser that can be used in C# and give me access to line and file informations about each artefact of the analysed code.",
"How to extract img src, title and alt from html using php? I would like to create a page where all images which reside on my website are listed with title and alternative representation. I already wrote me a little program to find and load all HTML files, but now I am stuck at how to extract src, title and alt from this HTML: <img src=\"/image/fluffybunny.jpg\" title=\"Harvey the bunny\" alt=\"a cute little fluffy bunny\" /> I guess this should be done with some regex, but since the order of the tags may vary, and I need all of them, I don't really know how to parse this in an elegant way (I could do it the hard char by char way, but that's painful).",
"Projectile/orbital motion over very long distance We know the optimum angle for greatest horizontal displacement when launching an object with projectile motion is 45 degrees. How to solve the angle when it is real long distance around the earth where we cannot assume that gravity is constant but is given by $F=\\frac {-GMm}{r^2}$. I use differetial equation to solve it and obtain 45 degrees. First, for the vertical distance $y$, change $v=u-gt$ to $y'=u-y''t$. Then solve it to obtain a function $y(t)$. When $y'(t)=0$ we have the time for maximum vertical distance. Then insert the value to horizontal equation. Can anyone guide me through this problem because I am not confident with my working",
"Correct usage of \"persons\" (vs. \"people\") I had a little fight about persons vs. people. Could you advise if both of the following are correct, if possible with reference to a dictionary? A table for two people please. A table for two persons please. Besides that, how would you ask for a table in a restaurant? I read and , but they didn't really solve the question if both are correct. I also found the last paragraph of , which suggests that (1) is \"more correct\", but doesn't say (2) is wrong.",
"I run sudo apt-get install git-all in Ubuntu 16.04 and see the following in the end Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run: git-daemon-run depends on runit; however: Package runit is not configured yet. dpkg: error processing package git-daemon-run (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: runit git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1) I get the error after rebooting my system also. It really blocks my whole system. I run killall update-notifier. I run sudo apt-get install git-all but I get the same error message. I run pgrep -a apt but get nothing as output. I run pgrep -a update but get nothing as output. A bug report about the case . In Grub, Choose Advanced options > Ubuntu (Upstart) Linux kernel 4.22. Doing the same only in terminal without systemd causes the same error. Why is this error here with runit?",
"Find a plane that passes through a point and is perpendicular to 2 planes Find an equation of a plane that passes through $p(1,5,1)$ and is perpendicular to planes $2x+y-2z = 2$ and $x+3z=4$. I basically need the 2 other points to make the vector and perform the cross product. Since $ax+by+cz+d=0$ is the form of a plane. Can I obtain the points as $(a,b,c)$ of the 2 planes given? Also, how can I set them up to obtain the points?",
"How come the year doesn't show here?",
"Prove that : $$ \\frac{\\sqrt{\\pi}}{2} e^{-\\frac{a^2}{4} } =\\int_0^{\\infty} e^{-x^2} \\cos( a x) \\ \\mathrm{d}x$$ the only thing I can think of is differentiating the RHS and trying to get : $$ -2 f'(a) =a f(a) $$ But I couldn't do it. Can anyone show me how to do this ?",
"Why does a wireless network give a more accurate location than a wired network? I build a simple HTML5 website that takes my location (in latitude-longitude), and simply shows my location in Google maps. I opened the HTML document with my laptop Asus K53E-B1 and I found that when I connected to a wireless network, it showed almost my precise location (about 100 meter of inaccuracy), while when I plug in the network cable, and test again, it's a bit Inaccurate. (showed a street 12KM away from me). Can you explain me why is a wireless network gives more accurate location? Tested with Google Chrome."
] | medi_sts_stackexchange_dupe |
how to merge data frames which are elements in a list? | Simultaneously merge multiple data.frames in a list | [
"Different results for integration using Mathematica and MATLAB",
"Given two separate annulus with centers $[C_1,C_2]$ and their corresponding radii being $[R_1,r_1]$ and $[R_2,r_2]$ respectively, larger radius being $R$. There are methods to look at whether they are overlapping or not. If they overlap how to find the overlapping area. Is there any close form expression for it? equation of first annulus $r_1^2<(x-x_{c1})^2 + (y-y_{c1})^2 <R_1^2$ equation of second annulus $r_2^2<(x-x_{c2})^2 + (y-y_{c2})^2 <R_2^2$ If there are three circles overlapping, we get overlapping area as solution to set of 4 in-equations by least squares approach(Though we don't end up getting total area but, area within tangents of circles ).",
"I have a website running in English and Japanese and the default language is Japanese. What are the advantages of one over the other solution: Solution 1. When accessing example.com, you will see only Japanese. When accessing example.com/en, you will see only English. Solution 2. When you access example.com, it will redirect you to example.com/ja, where you will see only Japanese. English site is still example.com/en.",
"If I recall it correctly, this book has two main characters, both male, one of them big and well muscled. During the novel, they found evidence that the current human race descends from ancient Martian astronauts who traveled to Earth in prehistory, causing the extinction of prehistoric Earth humans, (which explains the Missing Link in human evolution). Later in the novel the big guy travels back in time (no idea of how or why) to Prehistory. And near the end of the book, the other main character, during an archaeological field research, finds remains of a human being who lived thousand of years ago, a human with large bones, and who holds an item that could not be made in that era (a gold plaque? A metal rod?) That's all I can remember. I know it is not from the ABC, Asimov, Bradbury or Clarke. Thanks in advance.",
"Since I am a regular Stack Overflow follower, I came across this and was shocked a bit regarding the design and user experience perspective. Attaching picture 1 - it states that I can click any site and view a synopsis about it. Clear!!! Attaching Picture 2 - you can see that when I clicked Webmasters, the design wants me to scroll horizontally to view all information and basically it hides information. It would be nice, if it did something like below :",
"Is there a way to use the formatter that comes with eclipse, outside of eclipse? I would like to format some java files using my formatter.xml file that I have configured using eclipse. Does anyone have any code examples that would allow me to do this? I would also like to use this standalone, so the specific jars that are used would be nice.",
"finding $\\int_0^\\infty \\dfrac{dx}{1+x^4}$ through complex analysis",
"Create ArrayList from array I have an array that is initialized like: Element[] array = {new Element(1), new Element(2), new Element(3)}; I would like to convert this array into an object of the class. ArrayList<Element> arraylist = ???;",
"How to configure extra buttons in Logitech Mouse",
"If $X$ takes on a Gamma Distribution, how can I find $X^2$, $X^3$, etc?",
"double movement in Scrabble Can you resolve a dispute between myself and my girlfriend? She recently won a game with what I think is a double movement (although there's no mention of this in the rule book). She put one two letters down to make one word, which also scored linked to another letter. But she then added another letter immediately to the left of the finished word, which then extended the second word. I just don't think you can make a second movement like this in scrabble! My sister placed down W, D and E, the ones that I circled in red. Is she allowed to do that? I told her it was impossible is it? Can you resolve this for me please?",
"When writing my custom function I need to manually append node name to a taxonomy term link. To get the taxonomy term part done I use: $link_uri = taxonomy_term_uri($term); $path_alias = drupal_get_path_alias($link_uri['path']); This works ok, now - I want to append node name (\"/\" . $node_name), but instead of raw string, I want the Pathauto transliterated output, as set in the URL alias configuration, for that node context. What function should I use to mimic that output? I looked at hook_pathauto_alias_alter(&$alias, array $context) but I'm not sure that's what I need.",
"Spoilers for A Storm of Swords / Season 4 episode 2 \"The Lion and the Rose\". At the Purple Wedding, Littlefinger and Lady Olenna Tyrell perform their plan of poisoning King Joffrey. A short summary of their plan: Littlefinger orders Ser Dontos Hollard to give Sansa Stark a beautiful silver hairnet adorned with amethysts. At least some of the amethysts are actually strangler crystals in disguise. Ser Dontos also, still under orders of Littlefinger, urges Sansa to wear the hairnet at the wedding, which she then does. At the wedding, when Lady Olenna greets Sansa, she fusses her hairnet a bit, while secretly taking one of the strangler crystals. Later, during the wedding, Lady Olenna puts the crystal in Joffrey's royal cup, poisoning him. But why was their plan so complicated? Why couldn't Lady Olenna just bring a strangler crystal with her to the wedding (as suggested in )? Then they wouldn't depend on Ser Dontos and Sansa who could unknowingly have done something to prevent the success of the plan. The only reason that I could think of, is Littlefinger and Lady Olenna plan for Sansa (and Tyrion as her husband with her) to take the blame for Joffrey's death. They put the crystals on her person, so that upon examination it would clearly show that Sansa had the murder weapon on her. But Littlefinger had a plan he did not tell Lady Olenna, namely rescuing Sansa during the chaos ensuing the murder (and thereby leaving Tyrion behind as the only accused). Is there anything confirming or debunking this theory? If my theory doesn't hold up, is there another explanation for why the plan was so needlessly complicated?",
"Why would parametric statistics ever be preferred over nonparametric? Can someone explain to me why would anyone choose a parametric over a nonparametric statistical method for hypothesis testing or regression analysis? In my mind, it's like going for rafting and choosing a non-water resistant watch, because you may not get it wet. Why not use the tool that works on every occasion?",
"How do I summon the Golem?",
"So I currently have this issue where my Epson WF-3620DWF can't find the blue and yellow cartridges. (They are official epson ones) and I have a full black cartridge in there. How do I force my printer to ONLY print in black and ignore the cartridge(s) not recognised error?",
"If the topology of a space has a countable base, then each base contains a countable subfamily which is also a base.",
"How do I prevent and/or handle a StackOverflowException? I would like to either prevent or handle a StackOverflowException that I am getting from a call to the XslCompiledTransform.Transform method within an Xsl Editor I am writing. The problem seems to be that the user can write an Xsl script that is infinitely recursive, and it just blows up on the call to the Transform method. (That is, the problem is not just the typical programmatic error, which is usually the cause of such an exception.) Is there a way to detect and/or limit how many recursions are allowed? Or any other ideas to keep this code from just blowing up on me?",
"How to work out sqft/m of land coverage? I am currently self teaching myself on qgis whilst volenteering on a project on a river catchment and your help is hugely appreciated! I need to be able to work out the percentage of land cover or sqft/m coverage. I have all the land uses on as a vector layer over my river catchment. Many thanks and let me know what other info i need to give as a newbie!",
"Non-existence of $\\lim \\limits_{(x, y) \\to (0,0)} \\frac{x^3 + y^3}{x - y} $ How to show that $\\lim \\limits_{(x, y) \\to (0,0)} f(x, y)$ does not exist where, $$f(x, y) = \\begin{cases} \\dfrac{x^3 + y^3}{x - y} \\; ; & x \\neq y \\\\ 0 \\; \\;\\;\\;\\;\\;\\;\\;\\;\\;\\;\\; ; & x = y \\end{cases} $$ I tried bounding the value of the function as $(x, y)$ approaches $(0,0)$ but was not successful. I graphed the function and saw that it was actually approaching $0$ but Microsoft Math failed to render some points around the $x = y$ plane. So I imagine I need to find points $(x, y)$ such that $x$ is extremely close to $y$ but $(x, y)$ is not as close to $(0,0)$ to show that the function does not approach $0$ around the origin. But was unable to think of any. Hints or suggestions would be awesome. Any help is appreciated."
] | medi_sts_stackexchange_dupe |
Property of a euclidean map | Problem about the definition of Euclidean domain | [
"Can I use Google Maps as a layer in ArcMap? Is it possible?",
"Is there a convenient way to place a figure* at the end of the current page instead of taking up the entire next page in the twocolumn environment? Placement modifiers [Hb] do not work.",
"Limit at infinity of $x^{1/x}$ I encountered a problem: calculate $\\lim\\limits_{x\\to\\infty} x^{1/x}$ My solution is quite weird and I find no document explaining whether I am right or wrong! My solution: As $\\lim\\limits_{x\\to\\infty} 1/x = 0$ then $\\lim\\limits_{x\\to\\infty} x^{1/x} = \\lim\\limits_{x\\to\\infty} x^0 = 1$ My question is: Whether I am right or wrong, and could you please explain why?",
"Why are second order linear PDEs classified as either elliptic, hyperbolic or parabolic? Is there a geometric interpretation of second order linear partial differential equations which explains why they are classified as either elliptic, hyperbolic or parabolic, or is this just a naming convention? That is, do they have any relation with actual ellipses, hyperbolas and parabolas?",
"Answer draft is lost if you click to sign up",
"Application-priority based automatic bandwidth distribution in Windows? Whenever my browser wants to download data, I want it to be granted as much of the bandwidth as it wants, while other applications must do with the leftover bandwidth; and when the browser is not transferring any data, other applications could be given the bandwidth. Something like the process priority in Windows task manager. Any method/software to accomplish this automatically?",
"I mean to ask that $7$ is an arithmetic expression but it can also be written as $7x^0$. which is a constant polynomial expression. Every polynomial expression is an algebraic expression so with this logic is $7$ an algebraic expression or an arithmetic expression. Further $7=5+2$, is it an arithmetic equation or algebraic equation because it can also be written in $7x^0 = 5x^0 + 2x^0$ form. please help. Thank you.",
"Purpose of hole in stove leading to oven I'm staying in a hotel and have access to a \"electric coil stove\" for one of the first times. I accidentally turned on the oven light and saw that the light was shining up through only one of the stoves: There's only a port from the oven into the top right stove, and note that the stove is not on. Here's a view from within the oven: Is there a hole here as a vent for the oven for some reason, or is this for the stove? I typically use a glass \"flat-top stove\" that doesn't have an oven underneath it. I've never seen a direct hole from a stove to the oven before, and have to wonder what the purpose is.",
"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}$.",
"Keep \"Employee\" on the profile of SE employees on meta Currently, SE employees are given diamonds wherever they need them. I agree with on this to some degree, employees shouldn't be treated any different. But... on meta, employees are different. They have the power to dole out official responses, and thus we should be able to differentiate between an employee and a normal user. Currently, only some employees have a diamond on MSO (see , ). This makes it confusing, especially when you see official-sounding posts like . Now, giving diamonds to all employees on meta may not be the best solution to this. I don't think all employees want their precious inboxes spammed with all the suspensions that are doled out on meta, and other mod stuff. They won't really need the diamond powers either (though it wouldn't hurt). So, I propose this: Similar to how moderators have \"Moderator\" clearly on their profile display \"employee\" on an employee's profile, along with the diamond if they have one. At least on meta. It would imho be even better to display it on their usercards in some form, but that has already been shot down. It would be even even better if non-MSO mods had greyed out diamonds, similar to , but that's just me wanting more shiny stuff ;-)",
"Is there a number whose absolute value is negative?",
"Why doesn't the T-800 run? I just re-watched the first two films in the Terminator series. The T1000 (Robert Patrick) does a lot of running, and is quite fast. I didn't see many scenes where the T800 (Arnie) ran. Is it because he's really heavy? Is he mainly designed as a heavy \"stand your ground\" machine? The only scene I could see him running is in T2 in the mental hostpital where the T1000 morphs through the metal gate and his gun gets caught. Then the T800 does a little jog to get into the elevator following John and Sarah. (anybody know of any other running/jogging scenes?) (EDIT Arnie also breaks into a run while pursuing Reece and Sarah down the alley after the NOIR nightclub attack.) If he can at least jog though, why wouldn't he do this throughout the entire film? You would think that from a \"chance of survival\" point of view, if he could get a John even the slightest bit faster then he'd do so. Of course, maybe I am overthinking this... Arnie walking around slowly is a lot more badass than Arnie jogging around. Edit: Just watched T3 again, the T800 also ran towards the end when the big hangar door was closing and he ran over to slow it down. Interested in other examples of the T800 running too.",
"I would like to determine the operating system of the host that my Java program is running programmatically (for example: I would like to be able to load different properties based on whether I am on a Windows or Unix platform). What is the safest way to do this with 100% reliability?",
"In almost every canon (that is, visual) source, Force users typically wave a hand to invoke the Force to move or manipulate objects, people and thoughts. I get out-of-universe this is a visual cue that the Force is being used, but in-universe is it strictly necessary? (The only exception I can think of is when Luke is training on Dagobah and is balancing rocks while standing on one hand with Yoda on his foot. He doesn't appear to be waving his hand to move the rocks.) Is this addressed anywhere in-universe, even in Legends?",
"If the topology of a space has a countable base, then each base contains a countable subfamily which is also a base.",
"Points disappear when zooming past certain scale in ArcMap? My points are disappearing when I zoom in past 300,000 in ArcMap. I tried to repair geometry, but it doesn't fix anything? I also checked the scale extents and those are turned off. I can export the points to a new shapefile/feature class, but I'd like to not have to do that. I'm using 10.1 on Windows 7 x64.",
"I'm new to Blender and am having a few hitches. Each time I use box select on a group of vertices it extends the selection from what was previously selected. I can avoid this by hitting A to deselect all before using Box Select but I was hoping there was a way to have this happen by default. Isn't it the desired workflow to select groups of objects and move them independently and only extend the select with Shift? I must be doing it wrong.",
"How do I draw the graph of inequalities in the coordinate plane? I want to graph the following inequalities (done in desmos) in latex. I need the code.",
"I am an undergrad in economics and really want to get a helping hand as I get from math and stats from a Stack Exchange site for economics. Where can I post my questions on economics topics?",
"I installed an Ubuntu alpha or beta and have been keeping it up to date. So, Should I presume that my system has automatically updated to the next alpha or beta, and will be running the official release when it's finished?"
] | medi_sts_stackexchange_dupe |
What three odd integers have a sum of 30? | What five odd integers have a sum of $30$? | [
"I used to study at Cambridge School I used to study at Cambridge School. I am used to studying at Cambridge School. If the verb is continuous tense, it need to be added \"verb to be\" before used to?",
"SQLite - UPSERT *not* INSERT or REPLACE Is there some clever way to do this in SQLite that I have not thought of? Basically I want to update three out of four columns if the record exists, If it does not exists I want to INSERT the record with the default (NUL) value for the fourth column. The ID is a primary key so there will only ever be one record to UPSERT. (I am trying to avoid the overhead of SELECT in order to determine if I need to UPDATE or INSERT obviously) Suggestions? I cannot confirm that Syntax on the SQLite site for TABLE CREATE. I have not built a demo to test it, but it doesn't seem to be supported. If it was, I have three columns so it would actually look like: CREATE TABLE table1( id INTEGER PRIMARY KEY ON CONFLICT REPLACE, Blob1 BLOB ON CONFLICT REPLACE, Blob2 BLOB ON CONFLICT REPLACE, Blob3 BLOB ); but the first two blobs will not cause a conflict, only the ID would So I assume Blob1 and Blob2 would not be replaced (as desired) UPDATEs in SQLite when binding data are a complete transaction, meaning Each sent row to be updated requires: Prepare/Bind/Step/Finalize statements unlike the INSERT which allows the use of the reset function The life of a statement object goes something like this: Create the object using sqlite3_prepare_v2() Bind values to host parameters using sqlite3_bind_ interfaces. Run the SQL by calling sqlite3_step() Reset the statement using sqlite3_reset() then go back to step 2 and repeat. Destroy the statement object using sqlite3_finalize(). UPDATE I am guessing is slow compared to INSERT, but how does it compare to SELECT using the Primary key? Perhaps I should use the select to read the 4th column (Blob3) and then use REPLACE to write a new record blending the original 4th Column with the new data for the first 3 columns?",
"Can we prevent titles with an unnecessary tag in them? So we have lots of questions that are titled like this: Specifically, questions that have one of their tags in front of their title. Thankfully, these silly users usually use a hyphen or a colon afterwards, which makes it really easy to . Can we clear up this clutter? Perhaps with a filter that strips off the excess when posting? EDIT: As an added bonus, see for another style of question title that bugs the heck out of me.",
"How do I make a bootable Ubuntu USB? How do I make an Bootable Ubuntu USB containing the the latest version of Ubuntu? For completeness, how would I be able to do this on Ubuntu, Windows, OS X or another Linux distro?",
"Images are escaping from the help center privilege page Images included in the fully expanded privilege pages are escaping from the body. This is most noticeable on the (which I know is going away soon anyway): But is also apparent on: In the edit page preview, the images sit correctly within the borders. Chrome 27, Windows 7",
"In my custom Drupal 8 plug-in I perform such query: $select = db_select('my_table', 'e'); $select->addField('e', 'field1'); $select->condition('field3', 'NULL', '!='); $select->condition('field4', array(11, 12, 31, 32, 33), 'IN'); $select->groupBy(\"e.field1\"); $select->orderBy(\"e.field1\"); $select->orderBy(\"e.field5\"); $entries = $select->execute()->fetchAll(\\PDO::FETCH_ASSOC); And it works fine. It returns me all records grouped by field1 that meets the condition, orderered. But it returns only field1 column. I wanted to get more columns, so I have added another $select->addField('e', 'field2'); just after first one: $select = db_select('my_table', 'e'); $select->addField('e', 'field1'); $select->addField('e', 'field2'); $select->condition('field3', 'NULL', '!='); $select->condition('field4', array(11, 12, 31, 32, 33), 'IN'); $select->groupBy(\"e.field1\"); $select->orderBy(\"e.field1\"); $select->orderBy(\"e.field5\"); $entries = $select->execute()->fetchAll(\\PDO::FETCH_ASSOC); This time I get error: Drupal\\Core\\Database\\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1055 Użyto 'my_database.e.field2' bez umieszczenia w group by: Which means \"my_database.e.field2 has been used without putting in into group by\". But I don't want to group by every column I select. Unfortunatelly Drupal 8 added ONLY_FULL_GROUP_BY :( Then, how can I use groupBy and select more then one column at the same time?",
"Why would Antimatter behave differently via Gravity?",
"Prove that $f$ is differentiable",
"Summarize the mathematical problem at the heart of breaking a Curve25519 public key It's pretty easy to generate a Curve25519 private key: generate 32 random bytes of data and then do: e[0] &= 248 e[31] &= 127 e[31] |= 64 You can then generate a public key by doing on the private key. For example, here's a random keypair I just generated: public: e40ed268dff20db8497d0691421d00b086aad1efedcd5bd223d9eb6c0b85665f secret: e3c0e8b20ba7894882ddb37522dbe90867befcf9f31a5ce29c0d7997e0bd856d The whole safety of public key encryption is that it is hard to take a public key and reverse the operation. Elliptic curve cryptography, as I understand it, relies on the fact that a is hard to find. In particular, for a given large b and g, it is hard to find an integer k such that $b^k = g$ How does that equation relate to Curve25519? Specifically, if I had a public key like the one above, how would I express, in math terms, the problem I need to solve to find the private key? How does it relate to the equation I see from time to time - $y^2 = x^3+486662x^2+x$, and the number $2^{255} - 19$? I am guessing it is not as simple as \"the private key is k and the public key is b and/or g\" in the equation above. I'm also a little confused because the keys would appear to have roughly the same number of digits, which would seem to imply that there aren't many feasible values for k?",
"Can't format my usb drive. I have already tried with mkdosfs and gparted I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console. Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again? Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message \"imposible crear tabla de particiones\" (\"unable to create a partition table\").",
"Are there any clones/alternatives for running a Stack Exchange style Q&A site?",
"Simulating data to fit a mediation model I am interested in finding a procedure to simulate data that are consistent with a specified mediation model. According to the general linear structural equation model framework for testing mediation models first outlined by and described elsewhere such as , mediation models for outcome $Y$, mediator $\\newcommand{\\med}{\\rm med} \\med$, and predictor $X$ and are governed by the following three regression equations: \\begin{align} Y &= b_{11} + b_{12}X + e_1 \\tag{1} \\\\ \\med &= b_{21} + b_{22}X + e_2 \\tag{2} \\\\ Y &= b_{31} + b_{32}X + b_{32} \\med + e_3 \\tag{3} \\end{align} The indirect effect or mediation effect of $X$ on $Y$ through $\\med$ can either be defined as $b_{22}b_{32}$ or, equivalently, as $b_{12}-b_{32}$. Under the old framework of testing for mediation, mediation was established by testing $b_{12}$ in equation 1, $b_{22}$ in equation 2, and $b_{32}$ in equation 3. So far, I have attempted to simulate values of $\\med$ and $Y$ that are consistent with values of the various regression coefficients using rnorm in R, such as the code below: x <- rep(c(-.5, .5), 50) med <- 4 + .7 * x + rnorm(100, sd = 1) # Check the relationship between x and med mod <- lm(med ~ x) summary(mod) y <- 2.5 + 0 * x + .4 * med + rnorm(100, sd = 1) # Check the relationships between x, med, and y mod <- lm(y ~ x + med) summary(mod) # Check the relationship between x and y -- not present mod <- lm(y ~ x) summary(mod) However, it seems that sequentially generating $\\med$ and $Y$ using equations 2 and 3 is not enough, since I am left with no relationship between $X$ and $Y$ in regression equation 1 (which models a simple bivariate relationship between $X$ and $Y$) using this approach. This is important because one definition of the indirect (i.e., mediation) effect is $b_{12}-b_{32}$, as I describe above. Can anyone help me find a procedure in R to generate variables $X$, $\\med$, and $Y$ that satisfy constraints that I set using equations 1, 2, and 3?",
"Where can I find sample or real Selenium projects. All the material I can find on github and on internet are basic, and never intermediate or advanced. How does a real Selenium project look in real life? How can I find sample code?",
"What do I set the 'Opens with...' property to in order to get the system to run .bat files again (when they are double-clicked)? Somehow my boss convinced his workstation that the handler for .bat files was supposed to be Word. Now, when double-clicking .bat files, they're opened up in Word.",
"\"This is a favorite question\" tooltip when not favorite",
"Understanding English (Listening skills)",
"I always know that the natural logarithm $\\log_e$ is the inverse of the exponential function $e$, but to my surprise when reading elementary functions in complex analysis, I discover that that is not always true. $$\\log(e^z)=z+2k\\pi i$$ My question here is that, why is the above expression true?",
"How do single photons travel from here to there I know there have been similar questions but I'm still unclear what the overall consensus is. (1) I assumed and have read that photons travel in straight lines unless deflected by gravity but there are conflicting theories. (2) I have heard that single photons takes every possible path but that makes no sense. Why would a single photon traveling from here to the moon go to every other place in the universe along the way. (3) I can understand a single photon traveling as a particle or packet of energy but I have a hard time understanding a single photon traveling as a wave. I have never understood any attempts to answer this. (4) Does a single photon have a frequency and what causes the frequency? If not then how does it have energy? I have many questions about single photons and their frequency.",
"Where can I get a device with 'Ubuntu for phones' pre-installed?",
"Comparing $\\pi^e$ and $e^\\pi$ without calculating them How can I compare (without calculator or similar device) the values of $\\pi^e$ and $e^\\pi$ ?"
] | medi_sts_stackexchange_dupe |
upgrade to 13.04 from 12.10 without quantal repo | How to install software or upgrade from an old unsupported release? | [
"Is it true that one should not use NSLog() on production code? I was told this a few times in this very site, but I wanted to make sure this is really the case. I was expecting to be able to sprinkle NSLog function calls throughout my code, and that Xcode/gcc would automatically strip those calls out when building my Release/Distribution builds. Should I avoid using this? If so, what alternatives are most common between experienced Objective-C programmers?",
"Remove border of top left table cell",
"Declaring variables inside or outside of a loop",
"In (the original movie), Marty comes back from 1955 10 mins early to prevent Doc from being shot (which he fails at). He then rolls up to the Lone Pine Mall and sees himself hit 88 mph and shoot back to 1955 (again). Marty then carries on with this life as usual. What happens to the Marty that goes back to 1955 at the end of the film? This obviously is a recursive problem where it would create another timeline and Marty would keep coming back 10 mins early to view another Marty zip back to 1955?",
"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.",
"Quote.class doesn't return the Quote type, but Account.class does. Why? I'm trying a library that acts like an object factory. It works with serialization, so it is possible to specify formula fields without DML, which is pretty handy with tests. My issue is that I'm trying to write a class that requires the Quote type. The apex compiler throws me the following error when using Quote.class: Invalid field class for SObject Quote But Opportunity.class, Account.class and even QuoteLineItem.class work just fine. Any idea why? Is it not possible to get the quote type? Or is there another way of doing it?",
"Prove that $a_{n}=0$ for all $n$, if $\\sum a_{kn}=0$ for all $k\\geq 1$",
"if the curvature is constant and positive, then it is on the circunference I'm trying to prove that if $\\alpha(t)=(x(t),y(t))$ is a $C^2$ regular curve $(\\alpha'\\neq0)$ with constant and positive curvature, then $\\alpha$ is on the circunference and if $\\alpha$ is the circunference, then its curvature is constant. I solved the second part since $\\alpha$ is the circunference, then $\\alpha(t)=(r\\cos\\theta,r\\sin\\theta)$, so $|\\alpha'(t)|=r$, I need help in the first part. Thanks a lot.",
"Bounds for $n$-th prime In I have found that the bounds for $n$-th prime is given by, $$n(\\ln n+\\ln \\ln n)>p_n>n(\\ln n+\\ln \\ln n-1)$$ for all $n\\ge6$. Are there even stronger bounds for the $n$-th prime? If possible (of course if the answer is affirmative) in the answer (or comment) please give the link of the paper in which it first appears.",
"Prove that $x^x+y^y=z^z$ doesn't have integer solutions",
"Why can't I copy a 7 GB file to an external USB HD with 120 GB free?",
"How does a work? If seen from the outer side, we can see through thinking it is transparent, while if seen from the inside, the glass acts as a mirror. How?",
"Is it appropriate to put a comma before \"which\"?",
"How do I properly use the \"Not an Answer\" flag? What is the \"Not an Answer\" flag and what is its purpose? When should I use this flag? When should I not use this flag? But I'm still not sure if I'm using the flag correctly... An answer is \"Not an Answer\", but the flag was declined or disputed! See also:",
"Can we please hold the hats? I really like the hats game. But I would love to keep the hats longer then only one winter. I want to leave them in my wardrobe during summer. Last year, I collected some cool hats, and I apparently lost them during summer. Maybe we could make a system that allows hats to last for about 2 or 3 years, so we don't have to start over each winter. Or even specify per type of hat a number of years they last? Very very rare hats could last for ever. I asked this, simply because I love hats! :D",
"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.",
"What does a two overlapping circles symbol mean in an electrical schematic/diagram? In the datasheet for a A3503 Hall Effect Sensor, I saw a circuit diagram labeled 'Functional Block Diagram', and it shows a symbol I have not seen before. It's shown here between 3 - Output and 2 - Ground. What is this supposed to represent? The full datasheet is available",
"Can I choose which records are copied in a Partial Copy sandbox? We have a partial copy sandbox that we're using for development and testing. This is really helpful as some of our applications internally store Salesforce id's. However, there is a limitation with the partial copy as it only brings in 10,000 records per object from the production environment. Unfortunately some of the id's we internally store are not being brought down into our partial copy which causes errors. The 10,000 records that it did copy over aren't needed; I realistically only need 1 or 2. Is there any way I can achieve copying over a specific record from the production environment?",
"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",
"Failed to start TSQL debugger I want to debug in TSQL.When I start the debug the following message box popup. In SSMS v17.2 Then I see this message: In Microsoft Visual Studio 2015 Server Explorer same Error: Then I see this message: Thank You!"
] | medi_sts_stackexchange_dupe |
Invalid token at start of a preprocessor expression Xcode | How to check iOS version? | [
"How to change symbol for footnote in minipage \\renewcommand method does not work \\documentclass{article} \\renewcommand{\\thefootnote}{\\arabic{footnote}} \\begin{document} \\begin{minipage}{1.3\\textwidth} test this\\footnote{abc} \\end{minipage} \\end{document} In the following example the footnote number is incorrect. Why? \\documentclass{article} \\renewcommand{\\thempfootnote}{\\arabic{mpfootnote}} \\begin{document} \\begin{minipage}{.5\\textwidth} test this\\footnotemark \\footnotetext{abc} \\end{minipage} \\end{document}",
"Why didn't Star Trek TOS have better medical equipment for Vulcans? In when Ambassador Sarek became critically ill, why didn't they send him home or send for a Vulcan medical expert? Since they were hosting many prominent political figures from many races, it seems strange that they did not have much medical support for a race so common as Vulcans (who are part of the Federation).",
"Add a Texture to an Object using Python and Blender 2.8 i have trouble to get a script working within Blender 2.8. The following function work perfectly for me in Blender 2.79, but not in 2.8. def CreateMaterialFromImage(matName, imgPath): '''Creates and returns a material from an Image''' realpath = os.path.expanduser(imgPath) try: img = bpy.data.images.load(realpath) except: raise NameError(\"Cannot load image %s\" % realpath) # Create image texture from image cTex = bpy.data.textures.new(matName, type='IMAGE') cTex.image = img # Create material mat = bpy.data.materials.new(matName) # Add texture slot for color texture mtex = mat.texture_slots.add() mtex.texture = cTex mtex.texture_coords = 'UV' mtex.use_map_color_diffuse = True mtex.use_map_color_emission = True mtex.emission_color_factor = 0.5 mtex.use_map_density = True mtex.mapping = 'FLAT' return mat It seems to be that the material.texture_slots were removed. Under following Link i found the note: Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. So my question is where do i find this property now or how could i change my code to get things done? Thanks for your help! EDIT: This seems to be an interesting link for people run in to issues by updating their scripts to 2.8. Unfortunately there is no solution for my problem listed, yet.",
"Query to collect the recent TimeSampled row using inner joins in MS SQL",
"Meta Meta Privilege I just took a look at meta today and noticed something weird in the meta privileges. If you look at the meta privilege list, you can see that at . I know that there is no meta for meta, and the link they give you in the privilege page leads you to meta.stackexchange.com, right where you started. Why do they have this privilege? I have a feeling that this is a bad recursive joke. You must be member of meta to get the privilege of being a member of meta! :)",
"How can I take a site offline using Drush?",
"describes how to get the changelog for a given package. However, it's the whole changelog. What I'd like is a way to see what will be changed in whatever I'm about to upgrade. For example, I was imagining something like: $ sudo apt-get upgrade --show-changelogs Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: foo -- adds the bar feature for better snazziness -- removes the deprecated baz feature 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 8,864 kB of archives. After this operation, 285 kB disk space will be freed. Do you want to continue [Y/n]? Unfortunately, I don't see anything like that in the man pages for apt-get. Does this or something similar exist? UPDATE: I've written a talking about apt-listchanges and Debian changelogs in a little more depth that incorporates some of the feedback in this question.",
"Just started blender, following the donut tutorial. Using Blender 2.8. made another donut to practice, when adding Lights I can't find the 'Use Nodes' in the Light settings. Some help would be appreciated <3",
"change whole font of beamer to arial bold italic? how to change the font of the content to bold italic ? thank you here my cool superbe example: \\documentclass[14pt,t]{beamer} \\usepackage{url} \\usepackage{hyperref} \\usepackage{graphicx} \\usepackage{grffile} \\begin{frame}\\maketitle\\end{frame} \\begin{frame} \\frametitle{test0} \\begin{itemize} \\item test \\item test \\begin{itemize} \\item test \\end{itemize} \\end{itemize} \\end{frame} \\end{document} A possible solution would be to use: \\usepackage{helvet} \\renewcommand{\\familydefault}{\\sfdefault} \\renewcommand{\\rmdefault}{phv} \\renewcommand{\\sfdefault}{phv} %\\renewcommand{\\mddefault}{b} % this content bold with b \\renewcommand{\\bfdefault}{phv} % Helvetica has no bx series \\renewcommand{\\updefault}{sl} But it does do helvel arial bold for the whole document, and maybe there are ways to have the items/text of the slides in bold italic, and to keep normal phv for the top of the slide (frame title)?",
"How to find historical stock price for a de-listed or defunct company? With services like Google Finance or Yahoo Finance it is very convenient to find the historical stock price metric of a listed company, but if the company is not listed, I can't find the data. For example, I want to see the price metrics for Macromedia, which had been listed in 1993 on NASDAQ (MACR), then acquired by Adobe in 2005. How could I find its historical price metrics?",
"Python CSV parsing not returning proper rows",
"I want to create a scratch-card-like effect in new Unity UI's new Image tag. I know it's possible with setPixels, but that's prohibitively expensive on mobile devices. Something like this: I'd like the user to be able to drag on any part of the image to \"scratch off\" the top layer and reveal the content underneath it. How can I do this?",
"I put a video in my pdf with Acrobat and there I can watch my video. But if I open the pdf on my mobile, I can't watch the video, I only see an image. Is there a way to watch videos of a pdf in a mobile? I have a samsung J5.",
"Does $\\sum\\limits_{k=1}^n 1 / k ^ 2$ converge when $n\\rightarrow\\infty$? I can prove this sum has a constant upper bound like this: $$\\sum_{k=1}^n \\frac1{k ^ 2} \\lt 1 + \\sum_{k=2}^n \\frac 1 {k (k - 1)} = 2 - \\frac 1 n \\lt 2$$ And computer calculation shows that sum seems to converge to 1.6449. But I still want to know: Does this sum converge? Is there a name of this sum (or the series $\\frac{1}{k^2} $)?",
"Why would I open a low-rate 9 month CD instead of a higher rate savings account? One specific (popular online) bank is offering a 9 month 1.25% CD, while it's savings account is 1.90%. There's no way I see interest rates tumbling in the next nine months, so why should I -- why should anyone -- get a 1.25% CD when savings accounts are paying 52% more interest? (This question is not specific to this particular bank at this particular time. It's about the general practice of buying low-rate CDs when savings accounts have a higher rate.)",
"Force.Com Sidebar - Reference Data From Current Screen On URLs? I am being lead to believe this is possible: A URL on the Force.Com Sidebar Menu which references data from the currently open page. i.e., /{!recordId}?nooverride=1 However, this does not work. The brackets simply turn into percent encoded references on the resultant page. Is it possible to pass information onto a URL on the Force.Com sidebar?",
"I am looking for the title of a novel that I only caught part of on audio. It takes place within our current time frame and deals with the Moon getting struck and fragmented into (initially) 7 pieces by a high-speed asteroid that they called \"The Agent\". Within a few weeks of this episode, scientists figure out the the Moon will continue to break down in a cascade reaction over the next couple of years until the planet gets bombarded by so much debris that it sterilizes Earth. The governments of the world frantically start to build a series of ships using swarming concepts to evacuate the planet as much as possible... and that's all I have heard so far. Thanks for any info.",
"Why is the Java main method static? The method signature of a Java main() method is: public static void main(String[] args){ ... } Is there a reason for this method to be static?",
"I have not idea how to approach this differential equation. $$y'-\\int_0^xy(t)dt=2$$. Basically, I did, $$F''(t)-F(x)+F(0)=2 \\;\\;\\;\\;\\;\\;\\; F'=y$$ I am stuck. Thank You.",
"Using a foreign driver's license in California when staying with a J-1 visa"
] | medi_sts_stackexchange_dupe |
Clicking a tag to run JQuery javascript function | Event binding on dynamically created elements? | [
"Referencing List by indexVar in lightning component I have nested list in my lightning component and now I want to refer records of list using indexVar. Has anyone done this before? <aura:iteration items=\"{!v.records}\" var=\"row\" indexVar=\"rowCnt\"> Like `{!row[rowCnt]}?` </aura:iteration>",
"How can I keep multiple live/bootable ISO images on a single USB drive? I am looking to create a USB flash drive that I can put multiple ISO images on and select which boots from startup. The ideal candidate supports Linux and Windows-based ISO images, and is relatively simple. It also must have some reasonable process for adding and removing an ISO image from the drive/list. Things that I'm not looking for in this specific question: or other swiss-army knife live CDs. The point is to boot any one of multiple CDs, not to boot a (certainly useful) utility CD. Installing a single live CD to a USB drive. I'd like to have multiple ISO images, selectable at startup. I don't have a specific purpose in mind, possibilties include a single drive with a variant, Ubuntu desktop, UBCD4Win for DOS, the Offline NT Password Cracker, etc. Flexible and easy to use are the name of the game!",
"The times they are a-changin'",
"Format a number with optional decimal places in Excel I have numbers in cells in Excel. I want the numbers formatted so that if they have decimal places they show to a maximum of two, and if they have no decimal places it doesn't show any. For example. 15 should be formatted as 15, NOT 15.00 14.3453453 should be formatted as 14.35 12.1 should be formatted as 12.1 0 should be formatted as 0 The closest custom format code I've come up with is 0.##. Unfortunately this formats 15.00 as 15. (note the extra decimal point). To further complicate the issue, the spreadsheet is a result of an export from SQL Server Reporting Services. So no macros are possible. Oh well, it looks like 0.## is my best bet, and they can just live with the extra period.",
"How can I create an empty file from the command line?",
"Am not doing anything fancy, just trying to update a field on Contact in JS of LWC but getting this exception. Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'Name' throws at mydomain/auraFW/javascript/mhontaYdOya4Y_lBu7v9yg/aura_prod.js:2:27687 HTML Code: <template> <template if:true={wiredContact}> {wiredContact.Name} <lightning-input value={wiredContact.Name} onchange={updateName}></lightning-input> </template> </template> JS: import { LightningElement ,wire,track,api } from 'lwc'; import myContact from \"@salesforce/apex/ContactController.fetchContact\"; export default class Myrefreshapextest extends LightningElement { @track wiredContact; @wire (myContact) fetchedContact({error, data}){ if(data){ console.log(JSON.stringify(data)); this.wiredContact = data; }else if (error){ console.log(error); } } updateName (event){ console.log(JSON.stringify(event.detail.value)); console.log(JSON.stringify(this.wiredContact)); this.wiredContact.Name = event.detail.value; } } Apex: public class ContactController { @AuraEnabled(cacheable=true) public static Contact fetchContact(){ return [SELECT Id,Name FROM COntact LIMIT 1]; } } On top of my head, am not doing anything wrong, anyone has idea what's wrong with my code? When I print console.log(JSON.stringify(this.wiredContact)); I get old values so am pretty sure it exists. I tried with @track and @api, but same response. Can anyone shed some light?",
"I know this is a very common corollary of the class equation. And I know how to do it by using class equation. But can you do it bu using group action, maybe find a nice set for G to act on?",
"So, I just finished off the first part of an important task for school and today when I was going to continue, the document with my notes were gone. The only fragment I've got left of my file is the back up file, which doesn't show in the folder where I saved the document, but I can search for it. Is there anyway which allows me to open the back up file, save it as a text file and continue my task? I don't really have the time for running restoring tools, which never has helped me in a satisfactory way anyway. I wrote the document in gedit and my version of Ubuntu is 12.10.",
"How to hide TabPage from TabControl How to hide TabPage from TabControl in WinForms 2.0?",
"I launch a batch which call a lot of scheduled job. But I reach the governor limit : Maximum number of Apex classes scheduled concurrently : 100 I'm wondering what happens when this limit is reached. The next scheduled jobs are waiting the number of scheduled jobs is lower than 100 for being executed or are they all cancelled ? And is there to way to manage the number of scheduled jobs to avoir reaching this limit ? For example wait before schedule a new job if we are near the limit.",
"I have several AppExchange apps installed that are failing tests. What is the recommended approach to resolving this? Are tests run when a new package is installed? Is there a way to determine what is actually failing besides the name of the method and something like \"expected true, actually false\"? The test results rarely show enough information to be useful. What I'm doing atm, is checking for updates for the packages, and then writing the company with the failing test results. Any feedback would be appreciated.",
"Is there a way to get new dwellers with higher than normal stats?",
"Why is there no 32 bit ISO for the new Ubuntu 18.04? Why is there no 32 bit ISO for the new Ubuntu 18.04?",
"MongoDB could not connect local server",
"When I go to Settings > Applications > Manage Applications > Downloaded I see an application list. If I select some applications I see button \"Force stop\" active, but some applications have this button dimmed. What does it mean? What happens if I press this button? This button can't mean application running, since the applications with this button are not listed in Running section. Can I list just applications which have the Force stop button active and uninstall them? Android version: 3.2",
"the problem of using \"~\\\\\" and blank line Recently,I found the code that cotains the\"~\\\\\" and blank line always shows the warning imformation \"Underfull \\hbox (badness 10000) in paragraph at lines\" \\documentclass{ctexart} \\usepackage{color} \\usepackage{amsmath} \\usepackage{amssymb} \\usepackage{graphicx} \\usepackage{epstopdf} \\hfuzz=\\maxdimen $(A \\pm B)^{-1} \\neq A^{-1} \\pm B^{-1}$,$(A \\pm B)^* \\neq A^* \\pm B^*$~\\\\ $|(A^*)^*|=|A|^{n^2-2 n+1}$~\\\\ \\end {document} I add the code: \\tolerance=10000 \\hbadness=10000 \\begin{document} However,fail to solve it!",
"When to use virtual destructors?",
"I want to install the latest Python tarball on Ubuntu, downloaded from . Is this is a correct way to install? ./configure make make install If not, how do I do that?",
"How to prove this inequality $ x + \\frac{1}{x} \\geq 2 $",
"What article should be used in the following sentence? He was English by [a/the/] blood. I feel there should be a zero article here, but I was taught that the zero article is impossible in English."
] | medi_sts_stackexchange_dupe |
Is there a way to play YouTube videos in the background? | How do I play a YouTube video in the background on my iPad? | [
"Enable F1-F12 keys without Fn on Lenovo Ideapad S400u",
"With slapd.conf you could globally disable anonymous binding and require authentication with the following static directives: disallow bind_anon require authc How can I achieve the same global settings, but using the new cn=config live configuration method?",
"Sci Fi action movie where an elite group of people control business through a game they play online",
"Mental estimate for tangent of an angle (from $0$ to $90$ degrees)",
"Shower at Heathrow during layover in Terminal 5 Reading the questions here, I am not too hopeful, but this is the perfect site to find the answer if it does exist: Facts: I arrive at T5 (British Airways) at 08:30, depart at 11:40 from T5 (British Airways) to another country. No time once I reach final destination to shower, Leave straight from work to catch the first leg. US citizen + passport, only final destination visa (currently) Desire: I want to shower - 10 mins is plenty. Assume money is no object (pay for lounge access, cabs etc), but I'd rather not buy full ticket if I can avoid it. P.S. It's a wedding, so I REALLY want to shower before haha. EDIT: My plan so far (which doesn't work because it's after Security): Travel from Use UPDATE: I followed G & Doc's advice and walked over to the Sofitel Hotel (Immigration + walk ~20-25 min total) showered there for £25 and walked back through Security with plenty of time to spare. Thank you all for your help!",
"Lets say that I have a directory with the following files (among others): touch doc-mike.txt doc-jane.txt doc-susan.txt I can do something in a script with those files using a construct like: for fname in doc-*.txt; do echo input: ${fname} done But if I want to get the substring of the filename that matches the wildcard I have to jump through some ugly hoops: for fname in doc-*.txt; do wildcard=${fname#doc-} wildcard=${wildcard%.txt} echo input: ${fname} output: output-${wildcard}.results done That works: input: doc-jane.txt output: output-jane.results input: doc-mike.txt output: output-mike.results input: doc-susan.txt output: output-susan.results but I feel like there has to be a better/easier way to get the substring that matches the \"*\" glob wildcard",
"This question attempts to collect a community-maintained list of quality books on the programming language, targeted at various skill levels. C is a complex programming language that is difficult to pick up on-the-go by reading online tutorials. A comprehensive book is often the best way to learn the language, and finding a good book is the first step. It is important to avoid badly-written books, and even more importantly, books that contain serious technical errors. Please suggest edits to the accepted answer to add quality books, with an approximate skill level and a short blurb/description about each book. (Note that the question is locked, so no new answers will be accepted. A single answer is being maintained with the list) Feel free to debate book choices, quality, headings, summaries, skill levels, and anything else you see that is wrong. Books that are deemed satisfactory by the C community here will stick around on the list; the rest will be regularly removed. For books that have reviews by the Association of C and C++ Users (ACCU), a link to those reviews should be added along with the book. See also: Other C-related resources in the A similar list for : This question was discussed on as part of the .The consensus was to keep it undeleted and actively maintained.",
"How can I add a bookmark in my nautilus folder explorer",
"Forgotten the pattern and phone not showing the \"forgot pattern\" button. I upgraded my Moto G2 to Android Lollipop using over-the-air upgrade. It was awesome but I set a pattern lock which I forgot. Usually after 5 wrong attempts it shows the \"forgot password\" button but it is not showing that button even after 100 wrong attempts. How to unlock the phone?",
"Continued fractions",
"Why is my dual-core CPU recognized as a quad-core one? My processor is an . As you can see, it's 2 cores and 4 threads. Although, both Ubuntu 11.04 and Windows 7 seem to think it's a quad-core CPU: Why is this? Is it because there are 2 threads per core, dividing the CPU in 4 processing units?",
"How many roots have a complex number with irrational exponent? If a rational exponent on a complex number $z^q$ is the representation of a finite number of roots, then if the exponent is irrational this mean that there is infinite countable roots? If this is the case... the cardinality of the number of roots is the same for any irrational exponent? Thanks in advance. NOTE: there are different questions about irrational exponents but no one answer what Im searching so please dont mark this as repeated.",
"I have a ListBox DataTemplate in WPF. I want one item to be tight against the left side of the ListBox and another item to be tight against the right side, but I can't figure out how to do this. So far I have a Grid with three columns, the left and right ones have content and the center is a placeholder with it's width set to \"*\". Where am I going wrong? Here is the code: <DataTemplate x:Key=\"SmallCustomerListItem\"> <Grid HorizontalAlignment=\"Stretch\"> <Grid.RowDefinitions> <RowDefinition/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition Width=\"*\"/> <ColumnDefinition/> </Grid.ColumnDefinitions> <WrapPanel HorizontalAlignment=\"Stretch\" Margin=\"0\"> <!--Some content here--> <TextBlock Text=\"{Binding Path=LastName}\" TextWrapping=\"Wrap\" FontSize=\"24\"/> <TextBlock Text=\", \" TextWrapping=\"Wrap\" FontSize=\"24\"/> <TextBlock Text=\"{Binding Path=FirstName}\" TextWrapping=\"Wrap\" FontSize=\"24\"/> </WrapPanel> <ListBox ItemsSource=\"{Binding Path=PhoneNumbers}\" Grid.Column=\"2\" d:DesignWidth=\"100\" d:DesignHeight=\"50\" Margin=\"8,0\" Background=\"Transparent\" BorderBrush=\"Transparent\" IsHitTestVisible=\"False\" HorizontalAlignment=\"Stretch\"/> </Grid> </DataTemplate>",
"What is the la command? I just mistyped ls as la. Without noticing, I ran it: tim@Hairy:~$ la detection.sh output-2.jpg output-4.jpg output-6.jpg output-8.jpg Test1.pdf output-1.jpg output-3.jpg output-5.jpg output-7.jpg output-9.jpg tim@Hairy:~$ ls detection.sh output-2.jpg output-4.jpg output-6.jpg output-8.jpg Test1.pdf output-1.jpg output-3.jpg output-5.jpg output-7.jpg output-9.jpg What's the difference between ls and la?",
"Creating Digital Terrain Model from Digital Elevation Model using ArcGIS for Desktop? I have a DEM and I want to create a DTM from that DEM. Is it possible to do this in ArcGIS?",
"If every compact set is closed, then is the space Hausdorff?",
"Problem sudo notify-send Test \"Hello World\" Displays a notification as expected. notify-send Test \"Hello World\" Does not display a notification. Further information Ubuntu version 16.04. The notifications appear to use notify-osd instead of notification-daemon. Running notify-send appears to launch a notify-osd process under the user that ran notify-send. I'm not sure what dbus is. No error messages There are no errors in the syslog. When I run the following code no error messages occur. #include <libnotify/notify.h> #include <stdio.h> int main() { gboolean x = notify_init (\"Hello world!\"); printf( \"notify_init: %d\\n\", x ); NotifyNotification * Hello = notify_notification_new (\"Hello world\", \"This is an example notification.\", \"dialog-information\"); GError *err = NULL; x = notify_notification_show (Hello, &err); printf( \"notify_notification_show: %d\\n\", x ); if(err != NULL) { printf(\"Error detected!\\n\"); printf(\"Error message:%s\\n\", err->message); } else { printf(\"No error detected.\\n\"); } g_object_unref(G_OBJECT(Hello)); notify_uninit(); return 0; } I do not know what I'm doing. Thanks for the help. Python Notify In the past, I've used a python program that has working notifications. I tested a hello world notification and it works without sudo! #!/usr/bin/env python # -*- coding: utf-8 -*- import gi gi.require_version('Notify', '0.7') from gi.repository import Notify Notify.init(\"test\") n = Notify.Notification.new('test', 'test2') n.set_urgency(Notify.Urgency.CRITICAL) n.show() Code from I am not sure why this works. The python Notify is just wrapping the library used in the C example. I'd prefer not to use python but will if I must. Edit The problem occurred again. Resolved by adding urgency critical.",
"Will Stack Exchange 2.0 websites stay free of ads for the next 2 years?",
"I had applied for a PLAB (Doctors) Visa for the UK to appear in PLAB test. I got refused on the basis of two recent large deposits in the bank statement I provided (my mothers). In reality, these are my own savings which I had deposited in her account to make it more strong. The only objection I got was that I must provide evidence for the source of these deposits. Other than this, I have previously travelled to the UK and USA as well as other parts of the world and my travel history is fine. Can someone please advise on how to proceed and re-apply?",
"I know there is a difference between assert and verify in Junit; the assert results in a runtime exception, causing test method execution to abort. To overcome this problem, we can have verify which will make test case fail, but allowing test execution to proceed rather than getting aborted. I doubt there is any such built in approach in testNG. I do understand that best practices say, there should not be multiple asserts in same test case. But, in practical world, we do come across scenarios where we need to have multiple checkpoints in one test case and we don't want our test method to abort because of one check point failure (test execution should proceed despite failure). How can we use a soft assert mechanism, similar to verify, which will not abort test method when there is a checkpoint failure. Example: @Test(dataProvider = \"getMailUrl\") public void testMail(email,subject); Assert.assertFalse(subject.isEmpty);//1st checkpoint Assert.assertNotNull(email); //2nd checkpoint Assert.assertEquals(email, \"[email protected]\"); //3rd checkpoint Now, I want test execution to proceed, even if the 1st checkpoint (validation of subject being not empty) fails. Definitely we will be not be using assert (hard assert). We will need concept of soft assert similar to verify (facilitated by Junit). I understand, we have to build a customListener implementing TestNG interfaces or extending existing listeners such as TestListenerAdapter. I am still struggling - how can we do this?"
] | medi_sts_stackexchange_dupe |
What is special about square numbers here? | The final state of 1000 light bulbs switched on/off by 1000 people passing by | [
"How do I force Windows to check for updates?",
"What's the best way to communicate between view controllers?",
"Fantasy novel about kid who controls magic through coin changer device I read this book in high school, and I can't remember what it's called. Some kid learns he has magical ability, but only finds out later that he controls it through some kind of coin changer he's been tinkering with the whole book.",
"What and how does Darth Vader see? Are there any sources that talk about about Darth Vader's visual acuity? His life-supporting armour is quite advanced but does it provide any useful augmentation to his visual abilities?",
"\"Whether or not\" vs. \"whether\" This will depend on whether he's suitable for the job. This will depend on whether he's suitable for the job or not. This will depend on whether or not he's suitable for the job. It is still not defined whether we're following that approach. It is still not defined whether we're following that approach or not. It is still not defined whether or not we're following that approach. \"Or not\" doesn't really seem to be needed to complement \"whether\". Why do people use it then? Is it redundancy and nothing more? Or is it for emphasis? Or are there cases when \"or not\" is required for the sentence to be grammatical?",
"Particle energy in general relativity? Assume that a particle is moving with four-velocity $u^\\mu$ through a spacetime with metric $g_{\\mu\\nu}$ ($-+++$ signature). Let us also assume that there exists a time-like vector field $t^\\mu=(1,0,0,0)$. Is it generally true that the energy $E$ of a particle is given by the following expression: \\begin{eqnarray*} E &=& -mt_\\mu u^\\mu\\\\ &=& -mg_{\\mu\\nu} t^\\nu u^\\mu\\\\ &=& -mg_{00}u^0\\\\ &=& -mg_{00}\\frac{dt}{d\\tau}? \\end{eqnarray*} In the special case that $t^\\mu$ is a Killing vector and $u^\\mu$ is tangent to a geodesic then $E$ is a constant of motion of the particle. But the energy of a particle need not remain constant in the general case - is that true? If $E=-mt_\\mu u^\\mu$ is indeed the particle mass/energy then does it act as a source of spacetime curvature given that it depends on the $00$-component of the spacetime metric ifself? I suppose that is not a problem.",
"I have Blender 2.79 on my Windows 7 system. I want to install 2.8, but I'm completing some courses which use 2.79. If I install 2.8, will it automatically replace 2.79? Will they interfere with one another? Thanks.",
"sqlplus doesn't work in Crontab /oracle/GR1/121/bin/sqlplus / as sysdba <<EOF >> $LOGFILE whenever sqlerror exit sql.sqlcode; set echo on; set serveroutput on; STARTUP; EXIT EOF Already tried it with the path, but it hasn't worked.",
"Notation for functions vs. numbers",
"What is the difference between Halt and Shutdown commands? What is the difference between the halt and shutdown commands?",
"Can I ask a postdoc who has closely supervised my research to write me a letter of recommendation?",
"I have two Date values. I need to find number of weeks between them. I want to do it Apex Class. Not looking for formula fields. So far I tried: Integer numberofweeks = (projectStartDate - opp.Project_Start_Date__c)/7; I receive this error: Date arithmetic expressions must use Integer or Long arguments",
"multisite: allow only specific users to update sites",
"How can I identify what application is using a given file?",
"What is the best term to describe the fact that most users have an initial dislike of any change to a UI even though it may really be net better over time? Note: Question originally appeared",
"How to enable top bar background opacity? There is a way to change top bar background opacity in ubuntu 20.04 lts. I installed the hide top bar extension but is not a option to change it.",
"Setting custom UITableViewCells height",
"addtocontents not working with certain other packages This is a follow up question on How do I change the toc dept mid document while using packages (in this case only mathtools). An example: \\documentclass[a4paper,10pt,oneside]{book} \\usepackage{mathtools} \\begin{document} \\frontmatter \\chapter{hello} \\section{hello} \\subsection{hello} \\subsubsection{hello} \\setcounter{tocdepth}{3} \\tableofcontents \\mainmatter \\chapter{hello} \\section{hello} \\subsection{hello} \\subsubsection{hello} \\chapter{hello} \\section{hello} \\subsection{hello} \\subsubsection{hello} \\appendix \\addtocontents{toc}{\\setcounter{tocdepth}{0}} \\chapter{hello} \\section{hello} \\subsection{hello} \\subsubsection{hello} \\chapter{hello} \\section{hello} \\subsection{hello} \\subsubsection{hello} \\end{document} This example generates an error and very strangely puts an exclamation mark in the ToC as you can see here however when I comment out the \\usepackage{mathtools} it suddenly works again or replacing it with a different package such as \\usepackage[T1]{fontenc} also generates no errors. But this is not limited to just this specific package, certain other packages also introduce the same behavior (I just took this package to keep the example small).",
"Please revoke badges gained by abusive voting In (not feature request), : ... if we find that people are abusing the system their accounts may get suspended. I would consider that kind of behavior abuse. Well sure qualifies. He has 11 Stack Exchange accounts and has in the last day spammed at least 8 of them to gain the Suffrage and sometimes Vox Populi badges. That's over 250 votes† in just a few hours! (And -- while voting on other user's posts too.) I guarantee that he's not voting on those posts for/by their merits. Here's when he scammed the Suffrage badge per site (while also gaming the Vox Populi on some sites): - 2017-03-11 16:23:15Z - 2017-03-11 17:41:41Z - 2017-03-11 18:08:13Z - 2017-03-11 19:25:10Z - 2017-03-11 19:55:16Z - 2017-03-11 20:00:49Z - 2017-03-11 20:03:13Z - 2017-03-11 21:11:40Z Note that he got the badge on three sites within an 8 minute span (but that might just be job run times). Please revoke badges gained through improper voting. And, maybe also warn/suspend such abusive voters. † His account vote totals don't show all votes as some serial voting was reversed -- but none of the ill-gotten badges were.",
"Call blocking for iPhone? How do I block unwanted callers without jailbreaking?"
] | medi_sts_stackexchange_dupe |
Properly test interfaces in c# private methods | How do you unit test private methods? | [
"Let $x \\in \\mathbb R$ Find a closed form of $\\int_0^\\infty\\dfrac{\\cos(xt)}{1+t^2}dt$ . Let me give some context: this is an exercise from an improper integrals course for undergraduates. My teacher was not able to give a valid solution without resorting to Fourier series. He actually wanted to prove first that the function is a solution of the ODE $$ y-y'' =0$$ without succeeding in proving it. Anyway the result sould be $\\dfrac{\\pi}{2}e^{-x}$ Thanks for any help on this subject.",
"Are more megapixels good? Are more megapixels bad? Do more megapixels increase detail? Do they make my images sharper? On the other side, is there a point that is too much? Do megapixels cause increased noise and other problems? How does print and viewing size come into it? Widespread Internet-forum wisdom used to be that 6 megapixels was the sweet spot — below that just wasn't enough, but above that, there wasn't much benefit. File sizes got larger, but detail was lost to noise and other problems. The arguments are that cramming too many pixels into a small sensor makes each pixel too small to provide any real benefit, and that higher-megapixel sensors outresolve cheap lenses anyway. (Substitute something like 12 instead of 6 if we're discussing APS-C DSLRs, or 24 for full-frame.) By 2011, was in the range of 12-18 megapixels. In 2016 most were are in the 16-24 megapixel range. Certainly none are at 6 anymore; even smartphones come with 8 megapixel cameras. Does this offer any real improvement over that old \"sweet spot\"? Has technology improved to the point where the \"wisdom\" needs to be updated, or are we all suffering for marketing? Or have we gone past the sweet spot in some ways, but it's okay because of previously-un-argued points. (For example: more noise, sure, but more detail as well.) Within the 16-24 megapixel common-today range, for the same sensor size, is there any actual benefit to the higher end? How do megapixels directly affect image quality with today's technology? What are the benefits and when do they apply? What are the drawbacks, and when do they apply? How should I adjust my technique (and expectations) based on my camera's megapixel count?",
"How to set metadata for music files? In windows music files have metadata like artist name, album name associated with them. How is this metadata stored. Is it stored in file system like other file attributes or is it part of MP3 data that Windows Explorer extracts using a MP3 reader plugin? Is it possible to read/change this information in Linux? Is it possible with commandline? (I know these attributes can be set using Rhythymbox or some music player but I'm curious if these could also be set directly. Like in Windows the windows itself shows you artist information if you right click the file and open properties dialog)",
"I would like to work out the Fourier transform of the Gaussian function $$f(x) = \\exp \\left(-n^2(x-m)^2 \\right)$$ It seems likely that I will need to use differentiation and the shift rule at some point, but I can't seem to get the calculation to work. Does anyone have any advice? By the way, I am using $$\\mbox{FT}(f)(k)=\\int_{-\\infty}^\\infty f(x)e^{-ikx}\\,\\mathrm d x$$ as my definition of a Fourier transform. Many thanks.",
"I recently bought the whole PC series of Saints Row and after I began the third, after I leveled up, I saw that most of the power upgrades were already done for me and many clothing items were already bought. I know the game is quite easy economically but I want to start a game in which I can actually level up, not sideways. Is it possible to begin a game in which (preferably) everything is locked? I probably have all the downloadables of the game.",
"Unable to install ECW support on lubuntu 14.04",
"When do mobs despawn in Minecraft? I understand monsters only spawn in a 9 x 9 grid of chunks centered on the player, and I assume they stay around while they remain within that distance of you. But do they despawn as soon as you move away from them? Or do they remain? If so what (if anything) causes them to despawn? Are the rules any different for passive mobs? Will running far away from an area and then coming right back clear it of monsters?",
"Fact The intersection of a closed set $A$ and a compact set $B$ is closed. Background I wanted to prove that the intersection of closed and compact sets is compact. There might be other ways, but I am not interested in them for now and am looking to prove the above statement. Relevant Facts I don't have much idea what to use. $A^c$ is open. Every cover $\\cup_{i\\ge1}U_i$ of $B$ contains a subcover $\\cup_{i=1}^kU_i$. I might want to prove $A\\cap B^c$ is open. Limit points may be another points to consider but I don't get any idea in that direction. I also don't have that $B$ is closed otherwise it would be trivial. Some Clarification I am aware that compact sets are not closed in arbitrary topological spaces. The reason why I was motivated to believe tha intersection of closed and compact set is compact is true is: See Matt E.'s Answer So if $K$ is compact in an arbitrary topological space (which is just to say that it is a compact topological space when given its induced topology) and $L$ is closed then $K \\cap L$ is a closed subset of $K$ in its induced topology Is it true if $A$ and $B$ are not whole spaces? I would appreciate any hints.",
"What is recordSetVar and where is it used? I was looking at some code and in the 'apex:page' tag, an attribute called recordSetVar was mentioned. I'm new to VisualForce so could someone please tell me when and why is it used?",
"What is the best practice for multiple button placement and emphasis? Usually, we only have 2 buttons at the bottom of a form or a page that requires an action: Submit & Cancel. This one is quite easy to style. However, what if we are dealing with multiple buttons at the bottom of a page? For example: ← Back | Send Email | Booking Paid | Check-in Guest I'm thinking of making \"Back\" just a link (not a button) and making \"Send Email\" / \"Booking Paid\" secondary buttons (light gray). Then I'd make \"Check-in Guest\" as the primary button (green). I still feel that there's a better way of doing it or dealing with multiple buttons / actions. What do you think?",
"Which media player has seek preview with thumbnails? I was looking for a good video player to replace VLC, something that is as good as vlc but has seek preview. I am tired of fast forwarding in vlc EDIT: I meant seek preview with thumbnails",
"Why is the electric field zero inside a hollow conducting sphere?",
"I am constructing a bibliography of as much of the prior research in a field I am working in. I would like to use BibTeX to print the citation in the pdf, and then I would like to add the details of the paper after the citation. Only then would I like to print the next citation. For example: [1] Jahan M. Dawlaty and Yunquing Chen. Measurement of the optical absorption of graphene in the terahertz. Applied Physics Letters, 2008. Research Group: Cornell Pump Wavelength: 500 nm. Probe Wavelenth: 7 microns. Relaxation Time: 50 fs. [2] Paul George and Dmitry Vekslar, Measurement of Ultrafast Carrier Dynamics in Graphene. Applied Physics Letters, 2009. . . . and so on. Does anyone know how this could be done?",
"Prevent area light from being reflected on glass? I did setup an easy scene with an area light behind a window. In the glass (simple plane) which is in front the area light is visible - how can I turn this off so that the background is shining throgh?",
"Let $A$ , $B$ be topological spaces such that there for some subset $D$ of $B$ there is a homeomorphism form $A$ to $D$ and for some subset $E$ of $A$ there is a homeomorphism form $B$ to $E$ ; then must there exist a homeomorphism from $A$ to $B$ ?",
"This is a general, community wiki question and answer pair intended to address any questions concerning the reasons a site or specific site contents do not appear in search engine results. If your question was closed as a duplicate of this question and you feel that the information provided here does not provide a sufficient answer, please open a discussion on . My site (or specific pages on my site) is not appearing in search engine results. Why isn't my content indexed and what can I do about it?",
"What causes close votes to be annotated with \"(deleted)\"?",
"I'm using wordpress multiste 3.3.1 I'm not gonna update it in the future. So I disabled all upgrade functions. I want to remove the wordpress admin bar from both frontend as well as dashboard. I can remove it from frontend using this code. add_action( 'init', 'disable_admin_bar', 1 ); function disable_admin_bar() { add_filter( 'show_admin_bar', '__return_false' ); } But i couldn't find any solution to remove it from dashboard. I don't want to use css solution to hide admin bar and I'm ready to edit the core files to remove it Can anyone help me to remove it completely?. Thanks",
"How do I view the SQL generated by the Entity Framework?",
"Where can I find the Ivory Claw to open a door in Reachwater Rock?"
] | medi_sts_stackexchange_dupe |
See print css in the browser | Using Chrome's Element Inspector in Print Preview Mode? | [
"Feedback Request: New Timeline Question View",
"Determine if two rectangles overlap each other? I am trying to write a C++ program that takes the following inputs from the user to construct rectangles (between 2 and 5): height, width, x-pos, y-pos. All of these rectangles will exist parallel to the x and the y axis, that is all of their edges will have slopes of 0 or infinity. I've tried to implement what is mentioned in question but I am not having very much luck. My current implementation does the following: // Gets all the vertices for Rectangle 1 and stores them in an array -> arrRect1 // point 1 x: arrRect1[0], point 1 y: arrRect1[1] and so on... // Gets all the vertices for Rectangle 2 and stores them in an array -> arrRect2 // rotated edge of point a, rect 1 int rot_x, rot_y; rot_x = -arrRect1[3]; rot_y = arrRect1[2]; // point on rotated edge int pnt_x, pnt_y; pnt_x = arrRect1[2]; pnt_y = arrRect1[3]; // test point, a from rect 2 int tst_x, tst_y; tst_x = arrRect2[0]; tst_y = arrRect2[1]; int value; value = (rot_x * (tst_x - pnt_x)) + (rot_y * (tst_y - pnt_y)); cout << \"Value: \" << value; However I'm not quite sure if (a) I've implemented the algorithm I linked to correctly, or if I did exactly how to interpret this? Any suggestions?",
"Why am I getting strange results when using a power meter to measure CFLs?",
"Why are p-values uniformly distributed under the null hypothesis?",
"Are mixed geometry types allowed in shapefiles? Does the shapefile support mixed geometry types (ie. point and polygon all in the same file)?",
"The Stack Overflow search shows questions twice. See for example. Results include \"A: Add Search Engine into MVC Music Store\" and \"Q: Add Search Engine into MVC Music Store\". Why is search displaying the question twice, and what does \"Q\" and \"A\" mean? Edit: @Stephen answer : The search is returning both a question (Q) and an answer (A) to the question, as both posts match your search criteria. and my another question If the question have multiple (like 100) answer ,then the answer link(A: Question Link) shown 100 times? Is it correct functionality ? But i saw only one answer link , not a other answer link .. why ?",
"I am trying to analyze data based on a sample size of around 50 and would appreciate advice on which statistical test would be most appropriate. Participants, on a single questionnaire, were asked to complete two different sections. Variable 1: rating Likert items on a scale from 1-5 (strongly agree to disagree). Variable 2: rating Likert items of a validated tool on a scale of 1-9, which is averaged to obtain a single number. My research question is: Do those who 'agree' with the statement in the first section significantly differ in terms of their scores on the variable 2, compared to those who 'disagree'? (ex. Do participants tend to 'agree' with \"I like to read books for pleasure.\" have higher IQs (variable 2) than those who 'disagree'?) I was advised by a colleague to run a one-way ANOVA with variable 1 (categorical) as IV and variable 2 (continuous) as DV. Question 1: My independent variable is the three groups: 'agree', 'neutral', and 'disagree.' (I combined strongly agree with agree because of low frequencies and likewise for strongly disagree and disagree.) However, there are many more participants in the 'agree' category than in the 'disagree' category. The distribution is, on average, around 44 agrees, 3 neutrals, and 3 disagrees. Do the (very) unequal sample sizes prevent me from performing ANOVA, or any other tests? Which test would be most appropriate for this analysis? Question 2: I would like to run analyses on all of the Likert items, which is more than 10 statements. (ex. Seeing how IQs correlate with agreement to many statements including “I like to read books for pleasure,” “I watch a lot of TV,” “I exercise more than 30 minutes each week,” etc.) I was planning to do a Bonferroni correction to adjust for the multiple tests. Would this be correct, and help make my analyses more robust? Note: The continuous data are not normally distributed (there is negative skewness), but I seem to be able to correct the skewness using logarithmic transformation. Any advice or suggestions for papers to read would be appreciated. Thank you!",
"How to create vertical and horizontal dotted lines in a matrix?",
"To be clear on this, I know what is the definition of an inner product space and some properties and theorems about them. What I am asking for is an intuition for this definition in the complex case. In the real case, the intuition (or at least one of them) is geometric: The inner product of two vectors is the length of the projection of the first to the second scaled by the norms of both vectors so that it is symmetric (modulo some details). In particular I (and everybody else) think of \"inner product zero\" as geometric orthogonality and of orthonormal bases as, well, orthonormal bases and so on. The question is, what should I think about when working with complex (or should I say hermitian?) inner product spaces? what is the \"meaning\" of the complex number associated to two vectors called their inner product? I will be happy to hear all kinds of answers. For example, what physical phenomena does it model or in what mathematical situations does in \"naturally\" appear. Answers that stress the \"nice structure\" resulting are also welcome, yet I feel that by itself it is a bit unsatisfying.",
"What is the name of the first decade in a century? 80s: the \"Eighties\" 90s: the \"Nineties\" 00s: the ??? For that matter, what is the second decade called? The \"tens\" just doesn't sound right.",
"Which singular names ending in “s” form possessives with only a bare apostrophe?",
"What is the best way to store user settings for a .NET application? I have a .NET 2.0 Windows Forms application. Where is the best place the store user settings (considering Windows guidelines)? Some people pointed to Application.LocalUserAppDataPath. However, that creates a folder structure like: C:\\Documents and Settings\\user_name\\Local Settings\\Application Data\\company_name\\product_name\\product_version\\ If I release version 1 of my application and store an XML file there, then release version 2, that would change to a different folder, right? I'd prefer to have a single folder, per user, to store settings, regardless of the application version. ",
"I need to prove that if $f: (0,1) \\rightarrow \\mathbb{R}$ is Uniformly continuous then it is bounded. Thank you.",
"how long does the care take to reach the last pole algebra word problem There are 20 poles with a constant distance between each pole. A car takes 22 seconds to reach the 12th pole starting from the first pole, with a constant speed between each pole. how many seconds will it take to reach the last pole? Is the answer 36 seconds? since $\\frac{22} {12} = 1.83 $ $1.83 \\times 20 = 36.67 $",
"How can I calculate the age of a person in year, month, days?",
"Which X-Men movies should I watch before Deadpool? I want to watch Deadpool, but I have heard the character has appeared in X-Men series too. My question is, if I watch X-Men before Deadpool, will it enhance my interest in the Deadpool character?",
"For sets $A,B$, let $|A|\\leq^*|B|$ say that there exists an onto map $f:B\\rightarrow A$ or $A=\\emptyset$. My question is, is $$\\forall A,B(|A|\\leq^*|B|\\longrightarrow |A|\\leq|B|)$$ equivalent to the axiom of choice? Thanks",
"Why is the sum of two random variables a convolution?",
"Is it possible to test apex that relies on field history tracking? I have some code that relies on field history tracking by querying the History for a custom object. This works fine, but it appears that the history records aren't created during the test so none of my tests will pass.",
"Convert audio stream to WAV byte array in Java without temp file"
] | medi_sts_stackexchange_dupe |
i am getting java.lang.NullPointerException but i got value from textbox | What is a NullPointerException, and how do I fix it? | [
"How did Asuna and Kirito survive? In the last episode of Aincrad arc of Sword Art Online, how did Asuna survive even though her avatar disintegrated after being attacked by Kayaba? Also Kirito was stabbed by Kayaba as well. How did he survive? Was it in the novel on how they really survived?",
"I (as a middle-school student) was wondering how virtual particles even conserve energy of the entire system? I don't mean just the particle's energy, but conservation with respect to the surroundings? Let me explain more, Einstein proved that $E = mc^2$ and equivalently, we can say $m = \\frac{E}{c^2}$ . We however know mass causes curvature in space-time (gravity well). Now that statement being completely valid we can use Quantum Fluctuation, implying energy and time can be related by the relation: $\\Delta{E}\\Delta{t}\\approx\\frac{\\hbar}{2}$ and by that simple relation we can make the following points: As the energy increases, the time allowed to be \"borrowed\" decreases, before it gives it back to the universe. As time increases, the energy allowed to be \"borrowed\" decreases. These are completely satisfactory points I've made, I believe. Now, I have read that the vacuum is filled with constantly bubbling virtual particles that get created from the energy \"borrowed\" by the above relation and is destroyed again, which satisfies the energy conservation laws. This seems to imply that in the short time the virtual particle exists, they must have a very small mass which is: $m_{1} = \\frac{\\Delta{E}}{c^2}$ and using basic classical mechanics rather than GR (for sake of simplicity) we calculate that the gravitational force mediated by this short-lived virtual particle; $F_{g}= G\\frac{m_1 * m_x}{r^2}$ where $m_x$ is an particle\\mass in question. Nevertheless since we know the force set upon an object moves the object in a direction, we can say it would increase its kinetic energy by this factor: $F_g = \\frac{1}{2}mv^2$ which is equal to $G\\frac{m_1 * m_x}{r^2} = \\frac{1}{2}mv^2$. Surely, this implies that every time quantum fluctuations happen, energy of real-particles\\masses increases and therefore violates energy conservation, but what prevents this violation from taking place? If virtual particles are not really present and interact with objects like I thought, how can Hawking radiation (currently a large concept in black hole physics) then be accepted in physics community?",
"Can I install Kali tools on Ubuntu?",
"How do I get rid of OneDrive completely?",
"Fermi's golden rule and infinite probablity? I am slightly confused about the application of . Which during standard derivations indicates a probability of transitioning from the state $|i \\rangle$ to the state $|f\\rangle$ of: $$P=\\frac{2\\pi t}{\\hbar^2} | \\langle f | \\hat V | i \\rangle|^2 \\delta(E_f-E_i-\\hbar \\omega)$$ This holds for large values of $t$ but for arbitrarily large values of $t$: $$P>1$$ Which (to me anyway) makes no physical sense since there can't be a probability greater then 1 of been in the final state. If my interpretation is right then how is this problem resolved/allowable? and if it is wrong what part of what I have said is wrong?",
"Why does find -mtime +1 only return files older than 2 days? I'm struggling to wrap my mind around why the find interprets file modification times the way it does. Specifically, I don't understand why the -mtime +1 doesn't show files less than 48 hours old. As an example test I created three test files with different modified dates: [root@foobox findtest]# ls -l total 0 -rw-r--r-- 1 root root 0 Sep 25 08:44 foo1 -rw-r--r-- 1 root root 0 Sep 24 08:14 foo2 -rw-r--r-- 1 root root 0 Sep 23 08:14 foo3 I then ran find with the -mtime +1 switch and got the following output: [root@foobox findtest]# find -mtime +1 ./foo3 I then ran find with the -mmin +1440 and got the following output: [root@foobox findtest]# find -mmin +1440 ./foo3 ./foo2 As per the man page for find, I understand that this is expected behavior: -mtime n File’s data was last modified n*24 hours ago. See the comments for -atime to understand how rounding affects the interpretation of file modification times. -atime n File was last accessed n*24 hours ago. When find figures out how many 24-hour periods ago the file was last accessed, any fractional part is ignored, so to match -atime +1, a file has to have been accessed at least two days ago. This still doesn't make sense to me though. So if a file is 1 day, 23 hours, 59 minutes, and 59 seconds old, find -mtime +1 ignores all that and just treats it like it's 1 day, 0 hours, 0 minutes, and 0 seconds old? In which case, it's not technically older that 1 day and ignored? Does... not... compute.",
"If we map every integer to a string that represents a rational number, and produce a number different from all the ones listed, we are essentially following Cantor's algorithm. But why does it not apply? Is it because we can't be certain that the number produced is a rational number?",
"Why can't I install Ubuntu or Wubi on a Windows Dynamic Disk? I've been trying to install 12.04 for a while now, I'm running on Windows 7 and I already made the partition (it's dynamic). I've tried booting from a disc and also the Windows installer. I haven't tried used any repair-boot programs or anything. Every time I tried to load from either, I get an error: command=C:\\windows\\sysnative\\bcdedit.exe /set {03f9077f-661f-11e1-845a-d08b36406c3d} device partition=U; retval=1 stderr=An error has occured setting the element data. The request isn't supported stdout= Then after that, it makes a log file with information that I don't understand. If it is simply due to the fact of it being a dynamic partition, someone please help. If it is more extensive, anyone with details on possible solutions or definite ones please express them.",
"Window title in bottom of Activities overview is not visible when opening multiple windows",
"How do I give a villager trades with custom NBT tags",
"I have added a background image to the world settings. However, it has disappeared from my 3D view and only shows when I view the scene from the camera. Does anyone know if there is something I can do to make it reappear?",
"Which are the spec bits in this cache?",
"Get the exact time for a remote server",
"(Sorry to re-post this, I have lost access to my original account.) I've recently installed Kubuntu 18.04.3 on a new AMD Ryzen 3000-series-based system. The system is installed on a SATA SSD, specifically on an Ext4 partition, with a SATA HDD formatted in NTFS mounted for storage. The system has been in use for a few days, with a maximum uptime of two days (so far). My issue is this: the HDD indicator light on the case flashes every 1-3 seconds, even when the system is idle, and there is no obvious reason to access the disk. The flashes are not regular: sometimes the light is dark for as long as 3 seconds (obviously it is difficult to time such short intervals -- I am approximating), sometimes there are a few quick pulses less than a second apart. The flashes seem to vary in duration as well -- sometimes very brief, sometimes nearly a second. Unmounting the secondary HDD does not appear to have any effect. Some searching lead me to try iotop. I ran sudo iotop -Pao, and waited until 10 flashes of the HDD light had occurred. This is the result: 6887 be/4 root 0.00 B 0.00 B 0.00 % 0.02 % [kworker/u64:1-events_power_efficient] 433 be/3 root 0.00 B 0.00 B 0.00 % 0.02 % [jbd2/sda2-8] 6302 be/4 root 0.00 B 0.00 B 0.00 % 0.01 % [kworker/u64:0-events_unbound] The \"kworker\" processes seem to switch between various states, such as \"events_power_efficient\", \"events_unbound\", and \"events_freezable_power_\". The jdb2 process does sometimes write to disk, though that was not observed here (even though, as I said, 10 flashes of the HDD light occurred). The computer was otherwise idle during this test. My searches also lead me to check /var/log. The result of ls -lth | head is as follows: -rw-r----- 1 syslog adm 951K Aug 27 19:49 kern.log -rw-r----- 1 syslog adm 594K Aug 27 19:49 syslog -rw-r----- 1 syslog adm 528K Aug 27 19:49 ufw.log -rw-r----- 1 syslog adm 53K Aug 27 19:48 auth.log -rw-r--r-- 1 root root 40K Aug 27 19:15 Xorg.0.log -rw-rw-r-- 1 root utmp 79K Aug 27 18:29 wtmp -rw-r--r-- 1 root root 55 Aug 27 16:28 prime-offload.log -rw-r--r-- 1 root root 30 Aug 27 16:28 prime-supported.log -rw-r--r-- 1 root root 1.2K Aug 27 16:28 gpu-manager.log I have no experience interpreting log files, so I don't know if anything here is out of the ordinary. If the kernel version is relevant, the output of uname -r is 5.0.0-25-generic. My questions are, 1. Why is my HDD light flashing, even though there is no obvious disk activity, 2. Does this indicate some kind of problem with my system that needs to be fixed, and 3. If so, how do I fix it? The light itself does not bother me -- if this is just a sign of a normal, healthy Ubuntu install, then no problem. My concern is that something is wrong, and if so, I would like to fix it. Thanks in advance for your time. In response to heynnema (in the original posting of this question), the issue occurs even at the log-in screen, before I log in. So, it is not tied to my user account. However, it does not occur in the BIOS, suggesting that it is specific to Kubuntu (or at least, to the SSD Kubuntu is installed on).",
"Creating a responsive menu system for a site with a lot of content I am currently creating a website which has a lot of content - text. For this I need a serious menu structure with 5-10 menu items per menu and at least 15 menu-blocks per main menu item. Further it has to be accessible via mobile. Till now I have used panels and added menus inside the panels. But mobile isn't to happy about that and the list-names in the menus overlap the content. How would you go about solving this issue? I trust you experts here! :-)",
"Nice proofs of $\\zeta(4) = \\frac{\\pi^4}{90}$?",
"Total MU Calculation when Outer CF is linked to Inner CF What happens to the Y MU from the outer field when 2 fields are connected AFTER both fields are made. What would be the total MU gained in the checkpoint in the third step?",
"How to prove $\\gcd(a^2, b^2) = (\\gcd(a, b))^2$? My attempt: Let $\\gcd(a, b) = d$. Then $d|a$ and $d|b$ then $d^2|a^2$ and $d^2|b^2$. i.e $d^2$ divides $a^2 ~~\\&~~ b^2$.",
"How to run a server on port 80 as a normal user on Linux? I have Googled about a solution for quite some time, but couldn't find an answer. I am on Ubuntu Linux and want to run a server on port 80, but due to security mechanism of Ubuntu, I get the following error: java.net.BindException: Permission denied:80 I think it should be simple enough to either disable this security mechanism so that port 80 is available to all users or to assign required privileges to the current user to access port 80.",
"Can an integrity check be run against a USB boot disk?"
] | medi_sts_stackexchange_dupe |
How can I display time with leading zeros? | Javascript add leading zeroes to date | [
"How to set Oracle's Java as the default Java in Ubuntu?",
"How to revert to factory settings?",
"Passing functions to setTimeout in a loop: always the last value?",
"Why is $\\langle \\textbf R \\rangle =Tr \\rho R$ here $\\rho$ is the state density matrix",
"Increasing spacing between section number and title in the table of contents I'm using the simple ordinary \\tableofcontents command to produce a table of contents, and I find that the resulting spacing between the section number and the section title is too small: Can someone tell me how to fix this, please. My documentclass is memoir, if that matters.",
"How can I edit two materials simultaneously? Whenever I open a new shading window, whatever I do in one is just mirrored on the other. If I click a node in one window, the same node and material get selected in the other. I can't edit two shaders at once. How can I edit two shaders simultaneously?",
"Comma use with nonessential appositives Sorry, I do not know the language terminology. Is this a case of nonessential appositive? Which of the following sentence has a correct comma use? Comma before "should" Importantly, two frail subgroups of stroke population, long-term residential care and cognitive impairment patients, should not be excluded from the rehabilitation. No comma before "should" Importantly, two frail subgroups of stroke population, long-term residential care and cognitive impairment patients should not be excluded from the rehabilitation.",
"Is there a law that you can add or multiply to both sides of an equation?",
"Simple: every other race in Middle Earth has rings, why do Hobbits and Orcs not?",
"Radius of Convergence when using Series[]",
"When should I use \"a\" versus \"an\" in front of a word beginning with the letter h?",
"For example, on Debian or Ubuntu, which package has the /sbin/shutdown command in it? I want to read the source of that command (and possibly modify it to report notification on desktop) and I didn't know which package source to download.",
"Do I need an airport transit visa for Dublin, Ireland en route to the UK?",
"I assume it doesn't connect to anything (other than the satelite I guess), is this right? Or it does and has some kind of charge?",
"Deleting another user's directories from my own I am a non-root user, and have made a directory into which other users in my group can write. The directory is setgid, so files and directories within it have the same group. I can delete files placed into this directory, but if a user creates a subdirectory with files in it, I can't seem to delete those. Is there something special I can do (other than, say, bothering the user in question or the sysadmin about it) to get rid of this subdirectory? EDIT: Inevitably, of course, someone asks \"why?\" The shared folder in question is a mercurial repository. We can't use a shared-account ssh-key-based server for this like mercurial-server, and we can't just host it externally for various reasons. But that part works fine. We use Redmine for project management, but it does not yet read the repo index for file contents - it reads the working directory. So the working directory must be kept up-to-date. crontab has been disabled by the sysadmin, so that's out. So I naïvely put a changeset hook in the shared repo that performed an \"hg update\". This seemed to work fine initially, until, of course, someone pushed a commit with a new directory. While I had vague thoughts of trying to make a setuid script for the hook, I'll probably just consider safer avenues.",
"To my knowledge there are three types of acceleration when a body (e.g. a rod) is moving in a circle about an axis. These are: Angular acceleration : this is the rate of change of angular velocity. Tangential acceleration : this is the linear acceleration of the system in a tangential direction to the circle and equals the radius times the angular acceleration. Radial/centripetal acceleration : this is the linear acceleration of the system that is directed inwards towards the center of the circle. I also think there are two types of velocity: Linear velocity: this is its velocity in the tangential direction and is constantly changing Angular velocity or angular frequency: this is the rate of change of angle. Is the above correct? And have I missed anything?",
"How long does it take for a black hole to form for an external observer?",
"Are $_SESSION variables stored on the client or the server?",
"Knowing $|z|$ and $|w|$ (and possibly $z\\overline{w}$), what are $|z+w|^2$, $|zw|^2$, $|z-w|^2$, $|z/w|^2$? Question 1: Let $z$ and $w$ be complex numbers satisfying $|z| = 4$ and $|w| = 2$. Then enter in the numbers $$ |z+w|^2, |zw|^2, |z-w|^2, \\left| \\dfrac{z}{w} \\right|^2 $$ below, in the order listed above. If any of these cannot be uniquely determined from the information given, enter in a question mark. I plugged in $4$ and $2$ to each equation and got $36$, $64$, $4$, $4$, for question one. It was wrong. Question 2: Let $z$ and $w$ be complex numbers satisfying $|z| = 5, |w| = 2,$ and $z\\overline{w} = 6+8i.$ Then enter in the numbers $$ |z+w|^2, |zw|^2, |z-w|^2, \\left| \\dfrac{z}{w} \\right|^2 $$ below, in the order listed above. If any of these cannot be uniquely determined from the information given, enter in a question mark. I don't know how to even start on question 2 because of the $z\\overline{w}$.",
"Suppose that $f(z)$ is analytic function in the disk $|z|\\le R$ and $A(r)=\\max_{|z|=r}Re(z)$ then prove that $r<R$ $$\\max_{|z|=r}\\left|\\frac{f^n(z)}{n!}\\right|\\le \\frac{2^{n+2}R}{(R-r)^{n+1}}\\{A(r)+|f(0)|\\}$$ MY attempt Using Cauchy generalized integral formula $f^{(n)}(z_0)=\\frac{n!}{2\\pi i}\\int _c\\frac{f(z)dz}{(z-z_0)^{n+1}}$ then $\\max_{|z|=r}\\left|\\frac{f^n(z)}{n!}\\right|=\\left|\\max_{|z|=r} \\frac{1}{2\\pi i}\\int _c\\frac{f(z)dz}{(z-z_0)^{n+1}}\\right|$ and i think we can solve by using Borel caratheodory theorem Let $f(z)$ be holomorphic function on $|z|\\le R$ and let $M(r)=\\max_{|z|=r}|f(z)|$ and $A(r)=\\max_{|z|=r}Re f(z)$ then for $0<r<R$ $$ M(r)\\le \\frac{2r}{R-r}A(R)+\\frac{R+r}{R-r}|f(0)|$$ from here how to processed ?"
] | medi_sts_stackexchange_dupe |
UML class diagram from ASP.NET MVC Project | Generate UML diagram from C# class | [
"no border around hyperlinks with hyperref",
"If I calculate the median of a sufficiently large number of observations drawn from the same distribution, does the central limit theorem state that the distribution of medians will approximate a normal distribution? My understanding is that this is true with the means of a large number of samples, but is it also true with medians? If not, what is the underlying distribution of sample medians?",
"Very thin white line in colortbl Whenever I use the colortbl package to format tables, a thin white space between the cells sometimes shows up on screen (not in print for as far as I can tell). For example in this table: Is there an easy way to enlarge each rectangle by a tiny amount so that the white space is not visible anymore? (My guess is that the white space appears due to rounding in my pdf viewer, evince. I don't know if other pdf viewers have the same issue. Regardless, I would like to have my pdf file look good in common pdf readers)",
"Why do you need explicitly have the \"self\" argument in a Python method?",
"Evaluate: $$\\int_{-\\pi/4}^{\\pi/4}(\\cos(t)+\\sqrt{1+t^2}\\cos(t)^3\\sin(t)^3)dt$$ I have tried substituting $t=\\tan(\\theta)$ and breaking up the $\\cos(t)^3$ using $\\cos(t)^2=1-\\sin(t)^2$, but I can't figure it out. This question is #21 from the Math subject GRE form GR1268.",
"Is there any advantage to using pedal straps over clipless pedals?",
"How do I get the next element in HTML using JavaScript? Suppose I have three <div>s and I get a reference to one in JavaScript code, I want to get which is the next <div> and which is the previous.",
"I would like to set up an APT repository on a server that will provide a couple of packages. Is there a way to set one up without installing any software on the server? How do the files have to be organized? Edit: I must be doing something wrong... can someone please help me? I have the repository at I'm not sure where or what, but something's misconfigured. I only currently have one package and it's for all architectures. Here's what's been added to my /etc/apt/sources.list: deb http://quickmediasolutions.com/apt stable main",
"Connected to wifi successfully, but no internet connection",
"How can I start automatically a command on Ubuntu 18.04? I have a small command like this xinput set-prop \"XP-PEN G430S Pen Pen (0)\" --type=float \"Coordinate Transformation Matrix\" 1.155756, 0.000000, 0.000000, 0.000000, 1.529, 0.000000, 0.000000, 0.000000, 1.000000 to use my XP-PEN tablet, I have to start it automatically every time that I start my PC. How can I do that?",
"How to Achieve this Requirement ???Can i use Jave Script , CSS and Visual force page?",
"file /dev/* prints the description of a bunch of files as \"block special (M/N)\" and \"character special (M/N)\", where M and N are numbers. For example: $ file /dev/null /dev/null: character special (1/3) man file doesn't seem to document these, but refers vaguely to man stat, which seems to refer to these as major and minor device types. apropos 'device type' finds nothing. So what do these numbers mean?",
"What is the structure in \"as best you can\"? I instinctively translate it \"as best as you can\", however this makes no sense. What is the real structure behind this phrase? I'll include an to illustrate the historical presence of this phrase: Whatever the structure is, I'm guessing that it has something to do with 19th century grammar.",
"Python module for converting PDF to text Is there any python module to convert PDF files into text? I tried found in Activestate which uses pypdf but the text generated had no space between and was of no use.",
"Calculating ratio between \"rows\" in ArcGIS field calculator I have a problem similar to but that is for QGIS whereas I have to perform it in ArcGIS. I have to calculate the Ratio between rows (sequentially, i.e., row1/row2, row2/row3 and so on) of a specific field based on the ID field and have to assign the results to a separate field. Here is the code and the error message: def CalcRatio(ID,Frequency): vDict = {} with arcpy.da.SearchCursor("Test",['Frequency'],'ID = {}'.format(ID)) as sCur: for Row in sCur: vDict[Row[0]]=Row[1] # Dict[id] =Frequency try: value = ( vDict[1] / vDict[2]) except: value = -1 return value Message: ERROR 000539: Error running expression: CalcRatio( 1 , 50680) Traceback (most recent call last): File "<expression>", line 1, in <module> File "<string>", line 5, in CalcRatio IndexError: tuple index out of range Here is the data OID Id Frequency 0 1 50680 1 2 49740 2 3 48620 3 4 48300 4 5 48004 5 6 45600 6 7 44384 7 8 42720 8 9 41890 9 10 39700 10 11 38530 11 12 38207 12 13 38106 13 14 37303 14 15 37205 15 16 36527 16 17 35301 17 18 31674 18 19 28890 19 20 24612",
"Let $ G $ be an abelian group of order 6. Then $ G $ has one element of order 6. And so, $ G $ is cyclic and isomorphic to $ \\mathbb Z _6 $. In general, It is not true that an abelian group of order $n$ has an element of order $n$. However in the case of $n=6$, it is true. I'm wondering there is any rule of the case (for example, a rule of $n$ that makes an abelian group cyclic).",
"Misplaced Accents in Cyrillic Text In educational material for the Russian language and linguistic literature the need to put accents on Cyrillic vowels often arises. However when I tried to do this with luaLaTeX the accents where misplaced. \\documentclass[11pt]{article} \\usepackage[utf8]{inputenc} \\usepackage{fontspec} \\setmainfont{Linux Libertine:style=Regular} \\begin{document} Е́сли вы изу́чите \\'{Е}сли вы из\\'{у}чите \\'{E}сли вы из\\'{y}чите % Here \"E\" and \"y\" are Latin glyphs, but this workaround does not % work with all Cyrillic letters e.g. Я, Ю \\end{document} The last line would looks nice, but unfortunately these are Latin glyphs. Is this a problem with the font used (Linux Libertine) or with LaTeX?",
"I want to list a company name in the author field of a bibliographic entry: @book{CUDA, author = {NVIDIA Corporation}, title = {NVIDIA CUDA Compute Unified Device Architecture Programming Guide}, publisher = {NVIDIA Corporation}, year = {2007} } But the entry keeps showing up \"N. Corporation\". Is there a way to get the full author name to show up? I'm currently using the siam BibTEX style.",
"Prove that a non-empty closed convex $S$ has an extreme point iff it does not contain any line I am wondering how to prove the following theorem: Let $S \\subset \\mathbf{R}^{n}$ be a non-empty closed convex set. Then $S$ has at least one extreme point iff $S$ does not contain any line. Extreme point $x \\in S$ means that there is no couple of points $y, z \\in S$ and $\\lambda \\in (0;1)$ such that $x = \\lambda y + (1-\\lambda)z$. I know that every non-empty closed convex set can be represented as an intersection of all closed half-spaces containing the set but I do not know if it is helpful in proving the theorem.",
"Which should I use on my DB? - Clustered Index or Non Clustered Index or Both I just need advice on how I am going to optimize my database. Date ---- Time ---- Area ---- Block ---- Data1 ---- Data2 ---- Data3 ---- DataN I have that format of tables on my database. Each tables has 30-days of records with hundred thousands of records each data. Uploading of data to database is every morning. The data of yesterday will be uploaded. The most common queries to run is grouped by Date or Date and Area or Date and Area and Block. Now, in order to make queries faster, I found out using indexes. I used indexes before. But that was when I am using a primary key. In this table, I didn't use primary key because it is totally unnecessary. Now, I am really confused on how I am going to optimize this. Based on on Column Considerations part, clustered index is not a good choice on Columns that undergo frequent changes. I am really confused. Please help me if I need to use clustered index here or just non clustered or both."
] | medi_sts_stackexchange_dupe |
Where is Ubuntu Software in Ubuntu 18.04? | Reinstall software-center in Ubuntu 16.04 | [
"\"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.",
"Enable fractional scaling for Ubuntu 18.04",
"Changing pemalink structure to /%post_id%/%postname%/ I'm currently using permalink structure: /%year%/%monthnum%/%day%/%postname%/ I want to change that to: /%post_id%/%postname%/ I expect it to be: faster (database is sorted by post_id?) shorter URLs (and clearly visible short verstions, just leaving the %postname%/ out) more SEO friendly - since my content is \"evergreen\" so publishing date is irrelevant (and written at each post, along with last update date) - so this would give shorter URLs, with no downsides compared to using year/month/day structure. THE QUESTION: Does WordPress handle all the 301 redirects automatically? I can fix internal links to the new structure (though I'd expect that to be automatic as well), but worry about outsite links, pointing to my posts/articles. If not, what's the best way to implement this change? Any links or full answers here are welcome. I have about 120+ posts already, will this change affect the speed since it's not been done from the start?",
"A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things: Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence. We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance. Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative?",
"Unable to 'apt-get dist-upgrade' due to appstreamcli database error I have created a USB stick with a persistent Ubuntu 16.04 (release version). I tried a couple of ways, using Startup Disk Creator and MultiSystem, but I get the same end result. When I boot into the USB and do 'apt-get update', all is well. When I try 'apt-get dist-upgrade' I get: ** (appstreamcli:2761): CRITICAL **: Error while moving old database out of the way. AppStream cache update failed. The only reference to this error message I can find is but would appear to be fixed, at least fixed by the time the release version of Ubuntu 16.04. Aside: I want to test Unity8, which includes installing software. I don't have a spare computer, so I thought a persistent USB would do the trick. Any takers?",
"Non trivial valuation over a finite extension $F/\\mathbb{Q}_p$ is equivalent to the one induced by $v_p$",
"I was watching some videos on YouTube showing how to get the Duke O' Death in GTA 5, however what I have seen is sort of unclear. Some people say you must be a returning player on GTA 5 to get it (what does this mean too BTW?), some people don't say that. Some people say you have to be Trevor, some people don't. Some say the time of day matters, some don't. And apparently you can buy it from Warstock website (I can't). Can someone please tell me how to get it?! GTA 5 came with my PS4 (I didn't play it on PS3) if that helps.",
"Upon searching for the OpenLayers plugin, it shows that this plugin is incompatible with version QGIS 3.0. Will this be updated? Is there another way to add Google imagery or any other aerial imagery other than through this plugin? I noticed the OpenStreetMap layer I had been using with QGIS 2 is still working now that I am using QGIS 3, but the Google Satellite layer no longer appears.",
"Can anyone hint me to prove: $\\forall n\\in \\mathbb{N}: \\exists$ Fibonacci numbers $ F_{i_1},\\ldots,F_{i_k}$ such that: $$\\sum F_{i_k}=n$$ Note: Every Fibonacci number can appear only once. Thanks",
"Automatically logging into Windows XP",
"Uncountable $\\sigma$-algebra I'm stuck on the following problem (Source: Real Analysis for Graduate Students; Exercise 2.6; ): Suppose $\\mathcal A$ is a $\\sigma$-algebra with the property that whenever $A \\in \\mathcal A$, there exists $B, C \\in \\mathcal A$ with $B \\cap C = \\emptyset$, $B \\cup C = A$, and neither $B$ nor $C$ is empty. Prove that $\\mathcal A$ is uncountable. I think there is the added assumption that this is only true for $A \\in \\mathcal A$ having at least two elements, so it doesn't hold for singletons and the emptyset? I tried to show this by way of contradiction and say that $\\mathcal A = \\{A_k\\}$ is countable, but I didn't see how this could get me to a contradiction. The other approach I tried was to look at $X = B_1 \\cup C_1$ where $B_1 \\cap C_1 = \\emptyset$, then look at $B_1 = B_2 \\cup C_2$ where $B_2 \\cap C_2 = \\emptyset$ and so on. If I look at the $C_k$'s they are pairwise disjoint and I either have a finite number of them or an infinite number of them in which case I've created a countable sequence of pairwise disjoint nonempty elements of $\\mathcal A$. This path looked promising, but I couldn't see what to do next. Any ideas? As a secondary question: I think this result is supposed to be used to show that if $\\mathcal A$ is a $\\sigma$-algebra with infinitely many elements, then it's uncountable, but I wasn't able to show that the property mentioned above (the one I'm trying to show) was satisfied in this case.",
"It is common to see things described as the "gold standard". It means that something is the best and is the ideal against which other things are to be compared; it cannot be superseded. I often , where a certain diagnostic test (e.g., the nasopharyngeal swab PCR test for infection with the Coronavirus causing COVID-19) is considered the most accurate and then other tests (e.g., cheaper or faster tests) are then evaluated against this benchmark. The etymology is covered in . In short, it is derived from the . Thus gold was the thing against which the value of all other currencies was measured. I don't like this term and would like to avoid using it. First, the desired meaning is not predominant; if you you will mostly get results for the monetary system, not the more general phrase. Second, the etymology is outdated; the original meaning of the term now has the opposite connotation. The monetary gold standard was abandoned in the 1970s. Economists consider the gold standard to be a bad monetary system. Thus, if you are interested in economics and history, the term "gold standard" actually is associated with being outdated and flawed -- which is close to the opposite of the intended meaning. (Of course, many people are unaware of the original meaning of the term. ) (A note in response to comments: Why I want to avoid this term is relevant, but not essential, to the question. If you don't see a problem with the term, the question can be answered regardless.) My question: Is there a better phrase to use in place of "gold standard"? For example, what term could be used in a medical study comparing a new diagnostic test against the gold standard test? I'm not aware of any good substitute that has essentially the same meaning. Here are two example sentences where I would like a replacement: A nasal swab is the gold standard for diagnosing COVID-19. The served as the gold standard for all scales from 1889 until 2019. The best substitute I can think of is "official," as in "a nasal swab is the official way to diagnose COVID-19". "Official" implies some form of uniqueness. But "official" implies the existence of some authority that gives it this designation (as opposed to scientific consensus). A asks for a "perhaps humorous" alternative -- the suggestion there, "mother of all", is not appropriate here. (There is also .) In response to the answers and comments doubting the premise of this question: I personally have a negative association with the phrase "gold standard" because I know people who advocate for returning to the gold standard or its modern equivalent, , and have discussed the topic at length. Several US continue to advocate for a return to the gold standard. Thus asserting that no one will interpret the phrase in terms of monetary policy is simply not convincing.",
"Is there a theorem that says that QFT reduces to QM in a suitable limit? Of course, it should be, as QFT is relativisitc quantum mechanics. But, is there a more manifest one? such as Ehrenfest's theorem which dictates the transition from QM to Classical Mechanics. I am curious as the basic object in QM is wave function whereas the basic object in QFT is quantized operator, which looks very different, and wondering how the comparison works. (Of course, I am aware that QFT can calculate corrections for Coulomb potential energy, which may seem to be a transition from QFT to QM, but I want one more manifest than that.)",
"I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card. The display is blank The display flickers Items on the screen do not display correctly Certain programs complain of graphics issues The computer boots to low-graphics mode Your specific issue may not be here, but try the solutions described in the answers anyway. This question is very broad, but each one of these issues likely has one solution. If you are experiencing a login loop, check the last part of my answer. If you experience one of the listed issues and have your own solution (mine didn't work, or there's a faster way), feel free to post another POLITE answer, describing your problem and how you fixed it. Those attempting to install Ubuntu, please refer to the section titled: If you are unable to enter a TTY or are trying to install Ubuntu.",
"Proving that $\\mathbb{Z}[\\sqrt{2}]$ is a Euclidean domain We're proving that $\\mathbb{Z}[\\sqrt{2}]$ is a Euclidean domain, using the norm function $$\\nu (a + b\\sqrt{2} ) = |a^2 - 2b^2|$$ and the first part says that since $\\nu (a + b\\sqrt{2} ) = |(a + b\\sqrt{2})(a - b\\sqrt{2})|$ it's clear that $\\nu (xy) = \\nu(x) \\nu(y)$? ... Can someone please explain to me how this is clear?",
"How to Redirect Pages with Query String? I want to Redirect as seen below: https://example.com/p1/p2?sort=p.model&order=ASC&page=2 to https://example.com/p3/p4?sort=p.model&order=ASC&page=2 Also, I have this code in my .htaccess file : RedirectMatch 410 ^/p1/p2& I have used below code, but I just see 410 code for that URL : RewriteRule ^/p1/p2?sort=p.model&order=ASC&page=2$ /p3/p4?sort=p.model&order=ASC&page=2 [QSD, R=301,L] So, I have changed RedirectMatch 410 ^/p1/p2& to Redirect 410 ^/p1/p2& , but this time I have seen 404 Code for my Request URI. What should I do?",
"$A$ is normal and nilpotent, show $A=0$ Given a matrix $A \\in R^{n \\times n}$ which is normal ($AA^H=A^HA$ where $A^H$ is hermitian of $A$) and nilpotent ($A^k=0$ for some $k$). Now we need to show that $A=0$. (This is essentially exercise 5(b) in sec. 80 on p.162 of Paul R. Halmos' Finite-Dimensional Vector Spaces.) I tried to show in the following way, we know that, $AA^H=A^HA$ pre-multiply by $A^{k-1}\\implies A^kA^H=A^{k-1}A^HA$ Now, we have $0 = A^{k-1}A^HA$, since $A$ nilpotent. I am not sure how to proceed from here to show $A=0$. Can someone help me in this problem?",
"I'm a quarter Draconian, a quarter Dragonborn and half Half-Dragon? What are the differences between \"Dragonborn\", \"Half-Dragon\", and \"Draconian\" races in D&D? In the Hoard of the Dragon Queen adventure, for example there is a Half-Dragon npc. I had assumed that when writing the adventure they were only allowed to use known material from Basic, and so renamed the Dragonborn into \"Half-Dragon\" for the sake of compatibility etc. However, the dragon breath rules are not at all similar for the half-dragon and the dragonborn, and I've also noticed wiki article that imply that they are different races entirely. (Thus introducing me to the term Draconian) Are there clear differences between these three races, (in the same way there are differences between Goblins and Hobgoblins, or Dragonborn and Lizardfolk and Kobolds,) or are they really just three different setting names for the same basic race? Answers can either be D&D 5e specific, or be based on the lore from all editions of Dungeons and Dragons. (I'm assuming here that the answer will be the same regardless) Here are two images, the first one is a \"half-dragon\" from the front of the Hoard of the Dragon queen module, and the second one is a \"dragonborn\" from the 5e player's Handbook. I've included these images to help explain my confusion.",
"How to avoid bad box with long words with no hyphenation?",
"Tips for getting really good answers on SO"
] | medi_sts_stackexchange_dupe |
Method to determine outliers with a skewed dataset | Outlier Detection on skewed Distributions | [
"Does there exist a magical shell piping which would allow easily to grep through bunch of .gz log files without needing to extract them somewhere? .gz files are Apache logs, result of log rotation. I'd like to quickly check how often certain URIs are accessed in the past.",
"A problem of Schwarz-Pick theorem in complex analysis Set $f \\in H(B(0,1)),f(B(0,1)) \\subset B(0,1)$,prove that $$|f(z)-\\frac{f(0)(1-|z|^2)}{1-|f(0)|^2||z|^2}| \\le \\frac{|z|(1-|f(0)|^2)}{1-|z|^2|f(0)|^2}$$ I think this problem is supposed to be proved by Schwarz-Pick theorem, I tried hard but failed to build a function to prove it. I even doubted that this problem is wrong, so I want to whether this problem can be proved or be falsified, and how. Any help would be appreciated.",
"Massive 404 attack with non existent URLs. How to prevent this? The problem is a whole load of 404 errors, as reported by Google Webmaster Tools, with pages and queries that have never been there. One of them is viewtopic.php, and I've also noticed a scary number of attempts to check if the site is a WordPress site (wp_admin) and for the cPanel login. I block TRACE already, and the server is equipped with some defense against scanning/hacking. However, this doesn't seem to stop. The referrer is, according to Google Webmaster, totally.me. I have looked for a solution to stop this, because it isn't certainly good for the poor real actual users, let alone the SEO concerns. I am using the Perishable Press mini black list (), a standard referrer blocker (for porn, herbal, casino sites), and even some software to protect the site (XSS blocking, SQL injection, etc). The server is using other measures as well, so one would assume that the site is safe (hopefully), but it isn't ending. Does anybody else have the same problem, or am I the only one seeing this? Is it what I think, i.e., some sort of attack? Is there a way to fix it, or better, prevent this useless resource waste? EDIT I've never used the question to thank for the answers, and hope this can be done. Thank you all for your insightful replies, which helped me to find my way out of this. I have followed everyone's suggestions and implemented the following: a honeypot a script that listens to suspect urls in the 404 page and sends me an email with user agent/ip, while returning a standard 404 header a script that rewards legitimate users, in the same 404 custom page, in case they end up clicking on one of those urls. In less than 24 hours I have been able to isolate some suspect IPs, all listed in Spamhaus. All the IPs logged so far belong to spam VPS hosting companies. Thank you all again, I would have accepted all answers if I could.",
"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 ?",
"Why is it disadvantageous in graduate admissions to have a higher degree? indicates that holders of a master’s degree are held to higher standards when it comes to graduate admissions. The stated requirements for some graduate programs () also outright exclude applicants with doctoral degrees. These seem to be saying that holding a higher degree prior to application is a disadvantage (a fatal one in the case of a PhD). This also applies to private universities: Stanford (at least in computer science); . I don't understand why: If there are two applicants, Alice and Bob, who have achieved largely similar things, it seems logical that both should have a roughly equal chance of being admitted. However, based on JeffE's answer, if Alice has a Masters degree while Bob does not, it's Bob that gets admitted instead of Alice. JeffE's answer even indicates that if Alice has achieved slightly more than Bob, it's still Bob that gets admitted. If graduate admissions is looking for students that are capable of succeeding in its program, then Alice should be more likely to succeed than Bob since she's already had some experience of graduate study. This should be even more the case if Alice already has a PhD – if she can do it once, she should be able to do it again. JeffE's answer indicates that since Alice has had more opportunities than Bob, she should also be held to higher standard. However it should also be true that Alice has already achieved what Bob has yet to and in fact might not be able to achieve. Further, JeffE's answer seems to be saying that Alice should do the academic equivalent of financial engineering and pass her graduate-level courses & thesis without getting a master’s degree even if she qualifies for it, which sounds silly. As for applicants with PhD degrees, my first guess would be that this is because , and the university is acting in the applicant's best interests. However if this is the case, then this is effectively telling the applicant \"I know what you want better than you do\", which also sounds silly. UC Berkeley's requirements also seem to be saying that if someone with a CV worthy of a tenured position were to apply for a PhD student position, the university will say \"no\" even though it's clearly better in their best interests (in terms of research output) to say \"yes\". Presumably I'm misunderstanding something because if this behavior were irrational, it would already have been changed. What am I missing? EDIT: I wonder if things are different in programs where the student is involved in research directly without spending time on coursework?",
"How do I calculate standard errors for sums of OLS coefficients?",
"As a bulk sender, is there a way to make Gmail show my avatar? I would like to obtain this without creating a Google Account. Maybe embedding my vCard? Or maybe ?",
"Which one is correct: '3 hour journey' or a '3-hour journey'? Which one of the following is correct (bold part)? It took us quite a long time to get here. It was 3 hour journey. or It took us quite a long time to get here. It was a 3-hour journey.",
"For some reason my Steam just broke today after working perfectly since I installed it a few days ago. It was originally installed via the deb from the Steam site. So I uninstalled that using the Ubuntu Software Center. Then I installed steam-launcher. When I run it from the menu it does nothing at all. When I go through terminal it gives this message, no error: $ steam/usr/bin/steam: line 196: /home/andrew/.local/share/Steam/steam.sh: Success So I purge-removed it and removed the .steams directory from my home directory but on re-installation its the same story. I am using Xubuntu 12.10 64bit. It appears that steam .local/share/Steam/steam.sh is blank. What is it meant to have in it? I am so confused with how reinstalling it doesn't fix it.",
"Finding languages such that $L_{1} \\subseteq L_{2} \\subseteq L_{3}$ where $L_{1}, L_{3} \\notin \\mathbb{R}$, $L_{2} \\in \\mathbb{R}$ I am struggling to find such languages $L_{1}$, $L_{2}$, and $L_{3}$ such that $$ L_{1} \\subseteq L_{2} \\subseteq L_{3} $$ where $L_{1}, L_{3} \\notin \\mathbb{R}$ and $L_{2} \\in \\mathbb{R}$. I know they exist, I need help finding them.",
"Mammals, reptiles, arachnids, insects, etc are all as far as I am aware symmetrical in appearance. Take a human for instance, make a line from the top of our head right down the middle. However, internally it is not the same. Our organs excluding the kidneys, lungs, reproductive organs, etc are not symmetrically placed in our body. Why do we not have an even number of each organ so it can be placed symmetrically? If we have a single organ why is it not placed in the middle like the brain or bladder is for instance? Is there some evolutionary advantage that led to this setup?",
"Why are SMD LEDs shipped in a sealed bag containing desiccant? I had a selection of 0805 LEDs in my last Mouser order and was a bit surprised to discover they arrived in heat-sealed (rather than folded and taped with sticker) bags containing a desiccant bag and some sort of litmus-esque paper indicator saying something about baking them if the dots on it went pink (instead of blue). A quantity of through-hole LEDs I had in the same order just came in the regular ESD-protective bag, folded over with a sticker. What's up with SMD LEDs that they work so hard to keep them dry? Surely their dryness can't be assured once they're installed. Does it have to do with their solderability or something? Why would that be different than other SMD parts?",
"I was just reading Harry Potter and the Deathly Hallows, and I was wondering, when Hermione Granger changed into Bellatrix Lestrange, she should've obtained the Dark Mark, temporarily. Now, my question is: would the Dark Mark work if pressed?",
"Tools to get a pictorial function call graph of code I have a large work space which has many source files of C code. Although I can see the functions called from a function in MS VS2005 using the Object browser, and in MSVC 6.0 also, this only shows functions called from a particular function in a non-graphical kind of display. Additionally, it does not show the function called starting from say main(), and then the functions called from it, and so on, deeper inside to the leaf level function. I need a tool which will give me a function call graph pictorially with functions callee and caller connected by arrows or something like that, starting from main() to the last level of function, or at least showing a call graph of all functions in one C source file pictorially. It would be great if I could print this graph. Any good tools to do that (need not be free tools)?",
"Let $a$ and $b$ be positive reals. Show that $$\\lim\\limits_{n\\to\\infty} \\left(\\frac{a^{\\frac{1}{n}}+b^{\\frac{1}{n}}}{2}\\right)^n =\\sqrt{ab}$$",
"What are some good tutorials on writing custom styles (classes) that clearly explain commands used and some of the features that TeX has to offer in the way of styles?",
"Why would Antimatter behave differently via Gravity?",
"LaTeX template for resume/curriculum vitae If you have a TeX'ed resume, did you use a template or make your own? Are there any useful packages? What looks the most professional? How about special considerations for different areas of work (e.g. in academia)?",
"I just had a case of a user who re-posted his question because his first question was closed as a duplicate. And, logically, I closed his re-post as a duplicate of his original, asking him to edit his original and explain why it's not a duplicate, so we can reopen it. This process has worked like that for years now, but suddenly I realized that with the new message, question repetition is even encouraged: This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. Clearly, a new user who finds their questions closed will now be happy to just post their question again and again, until it's not a duplicate anymore, instead of just fixing their original post. We need to be more explicit about this, and show this message to the OP of the question: If those answers do not fully address your question, please edit your question and explain why it is not a duplicate. The original message should still be visible to other users and visitors, as they can't fix that question, of course.",
"How to plot and solve the numerical solution of a integro-differential equation"
] | medi_sts_stackexchange_dupe |
Add layer in group on QGIS using Pyqgis | Add layer to a QGIS group using Python | [
"Prove that $f(x)\\in \\mathbb{Z}[x]$ such that $f(0)$ and $f(1)$ are odd has no integer roots",
"Switching baselayers as user zooms in to map in OpenLayers?",
"If a two vectors $\\bf u$ and $\\bf v$ in linearly independent, can their images be linearly dependent given they were transformed by a linear transformation $T$? I think not. My reasoning If the images are linearly dependent, then $c_1T({\\bf u})+c_2T({\\bf v})={\\bf 0}$ for scalars $c_1$ and $c_2$, not both $0$. Then $c_1T({\\bf u})+c_2T({\\bf v})={\\bf 0}$ $T(c_1{\\bf u}+c_2{\\bf v})=T({\\bf 0})$ $c_1{\\bf u}+c_2{\\bf v}={\\bf 0}$ Therefore, ${\\bf u}$ and $\\bf v$ are linearly dependent. My reservation A homework problem seems to contradict the above. Here's the problem: Let $\\mathbb R^n\\rightarrow\\mathbb R^m$ be a linear transformation. Suppose $\\{{\\bf u},{\\bf v}\\}$ is a linearly independent set, but $\\{T({\\bf u}),T({\\bf v}\\})$ is a linearly dependent set. Show that $T({\\bf x})={\\bf 0}$ has a nontrivial solution.",
"check if \"it's a number\" function in Oracle",
"Our iPad is locked and we're not sure of the Apple ID / iCloud password",
"Let $n\\in\\mathbb N$ and let $a_1,\\ldots,a_n$ be natural numbers smaller than $10^n$. Write each $a_k$ in base $10$ and add $0$'s to the left of each decimal expansion, if needed, so that each $a_k$ is written with $n$ digits. Consider the matrix such that the entries of the $k$th row are the digits of $a_k$ (written in the same order). Let $d\\in\\mathbb N$ be such that $d$ divides each $a_k$. Prove that $d\\mid\\det A$. For instance, suppose that $n=4$ and that your numbers are $3876$, $2784$, $684$, and $8388$, each of which is a multiple of $12$. Then$$A=\\begin{bmatrix}3 & 8 & 7 & 6 \\\\ 2 & 7 & 8 & 4 \\\\ 0 & 6 & 8 & 4 \\\\ 8 & 3 & 8 & 8\\end{bmatrix}$$and $\\det A=-360$, which is, in fact, a multiple of $12$. I learned about this problem yesterday. I found it quite cute and I decided to share it with all of you. Note: I know how to prove it.",
"Is returning a pointer to a static local variable safe? I'm working with some code that widely uses the idiom of returning a pointer to a static local variable. eg: char* const GetString() { static char sTest[5]; strcpy(sTest, \"Test\"); return sTest; } Am I right in thinking that this is safe? PS, I know that this would be a better way of doing the same thing: char* const GetString() { return \"Test\"; } Edit: Apologies, the function signature should of course be: const char* GetString();",
"How to render as only wireframe in Cycles?",
"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.",
"Why didn't Harry Potter tell Aunt Petunia he was rich to improve how he was treated by Dursleys? This is a follow-up question to One reason Aunt Petunia mistreated Harry was that she did not know he was rich. If she knew, she would naturally have treated this golden goose nicely. Her retirement would be secured if Harry financially supported her in old age. Why didn't Harry tell Aunt Petunia he was rich? Surely every boy wants to be treated nicely by his family.",
"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?",
"Change of flavour, Weak interaction I couldn't find a straight and clear answer to this question on the internet: Why is the weak interaction (charged), the only interaction which can change the flavours of the quarks?",
"Selling customized versions of Ubuntu My question is next: \"Can I modify some version of Ubuntu Linux, add some software related to electrical engineering, modify look and some functions of Ubuntu, basically customize the entire system so it suits the needs of electrical engineers working on the field or in the office, and then that customized system sell in order to make profit?\" I'm not sure am I allowed to do that (is it legal?), so I would appreciate answer.",
"How do I choose a macro lens for a Canon APS-C camera?",
"A friend has been kind enough to lend me a DSLR for a few months. It's my first foray into DSLR photography, or indeed any kind of photography beyond simply aiming my Canon IXUS at something and clicking the button. Over the last few weeks, I've been busy studying, practising and trying to learn as much as possible ahead of a planned trip to Norway where I hope to see, and get some photos of, the Aurora Borealis. I currently have: Canon Rebel Xsi (450D) Canon 50mm f/1.4 L Canon 18-55m kit lens Aluminium full height tripod with ball head Cable release Spare battery & memory cards I'm prepared to spend the night wrapped up outdoors, in the hope that they will make an appearance. I'd like some advice on how to get the most out of this kit for the trip: How should I go about setting up to get pics of the Aurora? How might I achieve optimum focus? From what I've read, I'll need to use the tripod and cable release, with IS turned off, on continuous shooting mode with long exposure times. But I'd like some more specific tips in terms of which aperture and ISO settings might work best? Should I use one of the lenses above, or would it be worthwhile renting a better, wide angle lens; if so, which would you recommend?",
"Let's assume we have a table where it has two columns, one an ID and one an hstore column, which stores key/value pairs. You could query that column as such: SELECT name, attributes->'device' as device FROM products WHERE attributes->'edition'= 'ebook' Can you create a view for this table where the keys/values appear as columns in the view instead of all in the hstore column? Example: I have an hstore key where it might have the key of amenity. I want to create a view showing the the ID and the amenity values in a new view.",
"How do I enable hardware virtualization technology (VT-x) for use in Virtualbox? So I am trying to run Ubuntu in a virtualbox but on installing 12.10 from the .iso I was greeted by a warning telling me that audio wouldn't work then I pressed next and this popped up: Failed to open a session for the virtual machine Tux 3 VT-x features locked or unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED) Details Result Code: E_FAIL (0x80004005) Component: Console Interface: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392} And then it doesn't work. I assigned 4GB of my 8GB to Ubuntu, 100 dynamically allocated GB of space, and 12MB of graphics memory. I'm running an Asus p8z77 V LX mobo with an Intel i5 3550 processor. Downloaded 12.04.2 on my PC and tried again. Still getting the same message.",
"Showing that the roots of a polynomial with descending positive coefficients lie in the unit disc.",
"In Star Trek, does the original die in teleportation? I am just curious. If I am teleported is the original me dead and the teleporter just makes another copy of me there[at destination]?",
"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?"
] | medi_sts_stackexchange_dupe |
What is the best way to handle different date formats in C# Dynamically with out hard coding Current culture info | Parsing DateTime on Localized Systems | [
"Primes congruent to 1 mod 6 I came across a claim that I found interesting, but can't seem to prove for some reason. I have the feeling it should be easy a prime $p$ can be written in the form $p = a^2 -ab +b^2$ for some $a,b\\in\\mathbb{Z}$ if and only if $p\\equiv 1\\bmod{6}$",
"I am using ArcMap 10.1. The background: I have an .mxd that I intend to roll out across the company as our default template for all future maps/figure production. This .mxd contains two Data Frames; the first ("Main") is larger (occupying almost the entire page) and is designed to be used to hold the majority of mapped data whilst the second ("Inset") is much smaller and is to be used as an overview map. The problem: When choosing to import this new .mxd to an existing .mxd (using the Change Layout button on the Layout toolbar) the wizard automatically selects the smaller ("Inset") Data Frame to occupy the larger part of the page. The screenshot below shows this interface with a red box indicating the two possible locations of each Data Frame: Whilst it is possible to manually alter the order of the Data Frames using the Move Up or Move Down buttons, how do I change the default option for this setting (i.e. so that the "Main" Data Frame always appears in the larger space - "2")? The reasoning is that I would like the process of using this new .mxd template to be as simple as possible, this is especially important as we have a wide range of users with varying abilities. Does anyone know how to choose/change this default setting? It does not appear to be in the Data Frame Properties > Data Frame menu where I would expect it to be.",
"Cannot update/get any packages. gedit not installed my problem is that my sources.list is out of date for some reason. I already found the fix in another port, but it doesn't work. It says to use gedit to edit sources.list and replace everything with the proper sources. Well, for some reason I don't have it installed (Ubuntu Server 14.04) and I can't install it or else I get the main problem again. Failed to fetch http:// some ubuntu site Could not resolve hostname \"us.archive.ubuntu.com\" Is there any other way to edit sources.list? Or do I need to do a re-install of the OS?",
"File Upload using Selenium WebDriver and Java Robot Class",
"What is the cardinality of the set of the empty set?",
"Hello, This question is about the Command Line Developer Tools that are usually installed with xcode-select --install and updated via a software update from the Mac App Store (at least until macOS 10.13). I use the developer toolchain on a daily basis and it has always worked and updated without issues. Today I've updated my mac from High Sierra 10.13.6 to Mojave 10.14.1, and I've lost the ability to update the Developer Tools. After the update I've executed a terminal command that relies on the developer tools being installed. It was a command to update , although I don't think that the specifics matter, as I believe that any task that tried to access the developer tools would have triggered the same error message. The error was: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun The phrasing was new (maybe), but I thought that it was caused by the usual need to re-install the Developer Tools after some macOS updates. Later I tried to dig a bit deeper into the failure, and found out that: $ ls -l /Library/Developer/CommandLineTools/usr/total 0drwxr-xr-x 3 root admin 96 4 Nov 19:32 share$ which xcrun/usr/bin/xcrun$ xcode-select -p/Library/Developer/CommandLineTools Still, as I normally do, I entered the command to install and update the Developer Tools in the terminal: xcode-select --install This started the usual procedure: modal window to confirm, then request to accept the license agreement, followed by a progress bar. Except that it failed very quickly with an unexpected error: Can’t install the software because it is not currently available from the Software Update server. I've tried several times, to no avail. It gets always stuck. Sometimes, however, the failure causes the System Preferences to report a pending update: If I open that preference panel it starts searching for updates, and it always finds nothing except the first time that it happened. The first time, it found this: It literally suggested me to install the updates for macOS 10.11 and 10.13. I have no idea why. I closed the preference without installing, and as I said it hasn't shown them again. There is also no update available in new Mac App Store. Is this a known issue? Is there any way to resolve the problem? Update Of course I can download the Dev Tools for macOS 10.14 installer from . Before installing them manually, though, I'm wondering if there is anything that's broken with the system.",
"Challenges with Key with Gaps? I had a mistake with a trigger which resulted in errors in PostgreSQL 9.4.3 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit. Each time during the error, the primary key of SERIAL increased. After fixing the bug, the table measurements is measurement_id | measurement_size_in_bytes | time ----------------+---------------------------+------------------------------- 1 | 77777 | 2015-07-14 18:29:56.858703+03 2 | 888 | 2015-07-14 18:29:56.882552+03 3 | 888 | 2015-07-14 18:30:15.505957+03 4 | 888 | 2015-07-14 18:41:01.878106+03 39 | 77777 | 2015-07-15 12:11:21.21391+03 40 | 77777 | 2015-07-15 12:11:59.551973+03 41 | 77777 | 2015-07-15 12:12:05.48982+03 42 | 77777 | 2015-07-15 12:13:02.402053+03 43 | 77777 | 2015-07-15 12:13:02.419412+03 44 | 888 | 2015-07-15 12:13:02.434728+03 ... where the amount of error statements has been 35 (= 39-4). This jump in IDs may become a challenge later when I want to integrate this table with a partial index where order matters. Table CREATE TABLE measurements ( measurement_id SERIAL PRIMARY KEY NOT NULL, measurement_size_in_bytes INTEGER NOT NULL, time TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP, CONSTRAINT no_duplicate_measurements UNIQUE (time) ); What are the challenges of keys with gaps?",
"How to define a bijection between $(0,1)$ and $(0,1]$? Or any other open and closed intervals? If the intervals are both open like $(-1,2)\\text{ and }(-5,4)$ I do a cheap trick (don't know if that's how you're supposed to do it): I make a function $f : (-1, 2)\\rightarrow (-5, 4)$ of the form $f(x)=mx+b$ by \\begin{align*} -5 = f(-1) &= m(-1)+b \\\\ 4 = f(2) &= m(2) + b \\end{align*} Solving for $m$ and $b$ I find $m=3\\text{ and }b=-2$ so then $f(x)=3x-2.$ Then I show that $f$ is a bijection by showing that it is injective and surjective.",
"Negative Mass and gravitation",
"Using modulo operation to draw graph",
"Was Severus Snape made a Death Eater before or after he told Voldemort about the Prophecy? Based on discussion in comments on , was Severus Snape a Death Eater (real one, with Dark Mark) before he overheard Sybil give the Prophecy to Dumbledore and relayed it to Voldemort? Or was he made a DE after that? Canon sources only please (books/interviews/Pottermore)",
"Does it look good to edit the question you're answering? I have a question about editing practices: Does it look good to edit a question you have just answered? For example: say I had just answered a question, then saw that the question had some minor formatting issues. Should I edit it? Does it turn up voters off when they see that I am answering a question I changed, possibly to better suit my answer?",
"What is the name of the character $\\wp$? What is the name of the character whose code is $\\wp$ ? Thanks",
"I thought this would be really simple, but it's presenting some difficulties. If I have std::string name = "John"; int age = 21; How do I combine them to get a single string "John21"?",
"We often see new users make offtopic, low quality posts, with broken English and cries for help. These questions look significantly different from most on SO. When I worked in publishing, we would frequently receive documents that were incorrectly formatted. This was a major problem and we wasted a lot of time sending emails back and forth. I made a small JavaScript quiz asking our authors about the formatting directions and the number of emails drastically dropped. I felt this was much nicer than simply rejecting them, additionally providing us a chance to make the directions more clear. It is slightly unconventional but, would showing new users a quiz where they have to identify good and bad posts help to improve the quality of SO questions? Edit (3/8/2017) Recently a Norwegian website got some media attention for .",
"Cross-validation for timeseries data with regression",
"What does this phrase from The adventures of Tom Sawyer sentence mean: \"True, the knife would not cut anything, but it was a \"sure-enough\" Barlow, and there was inconceivable grandeur in that -- though where the Western boys ever got the idea that such a weapon could possibly be counterfeited to its injury is an imposing mystery and will always remain so, perhaps.\" Thank you!",
"Intel® Core™2 Duo Processor E4300 - Is it a 64 Bit Processor? I have a PC with an Intel® Core™2 Duo Processor E4300 - I ran CPU-ID on it, and here are the results: Is this capable of running Windows 64-bit?",
"What does it mean when it says under a journal article that it has been communicated by \"XYZ\" where XYZ is not the author but some other scholar with a very strong reputation? What is the relationship to the actual author and/or the content? Is this some sort of seal of approval to get results out and known quickly? (I am specifically wondering in the context of mathematics and mathematical physics.)",
"MySQL cartesian product between two SELECT statements"
] | medi_sts_stackexchange_dupe |
Array Declaration and Initialization in If Statement Java | variable access outside of if statement | [
"Review counts in top-bar and /review don't match So far, I thought that the number shown in the orange box in the top-bar was the number of items available for review. However, when I acually visit /review, the numbers don't match: Note that top-bar shows 15 items (?) but the queues only add up to 8. Since I can't think of a reason for this being by design (which, as experience shows, is not a good indicator for \"this is not an SE feature) I'm tentatively labelling this a (UI) bug.",
"Understanding the differential $dx$ when doing $u$-substitution",
"Strip whitespace from jsp output How can I strip out extra whitespace from jsp pages' output? Is there a switch I can flip on my web.xml? Is there a Tomcat specific setting?",
"I am trying to testfor a player holding a diamond sword named Notch's Legendary Sword. How can I do that? Who ever gets the best answer will be able to get the first look at my NEW adventure map!",
"Suppose I wish to allow only users who have scored at least 15 in the particular tag to answer my question, Is it possible to set a condition like this while asking a question? So that I can avoid strangers/answers from dummy users.",
"What to put in \"affiliation\" field when submitting paper without affiliation? Recently my paper is reviewed (by a professor from independent third party) and accepted by a journal. But, my employer allows me to publish this paper only without its name there. Publishing house is expecting affiliation for each author, i.e. I can not leave affiliation as blank. What should I write as the affiliation?",
"If every pair of congruence equations admits solutions, then the entire system admits solutions Let a system of three linear congruence equations in integers be given; \\begin{cases}x\\equiv b_1\\mod c_1\\\\ x\\equiv b_2\\mod c_2\\\\ x\\equiv b_3\\mod c_3\\\\ \\end{cases} with $c_1,c_2,c_3\\in\\mathbb Z_{+}$. Show that, if every pair of congruence equations admits solutions, then the entire system admits solutions. Now, if every pairs admits solutions, then for example $b_1\\equiv b_2\\equiv a\\mod \\gcd(c_1,c_2)$ for some $a$ then; $x-a\\equiv b_1-a\\mod c_1$ $x-a\\equiv b_2-a\\mod c_2$ replacing $x$ by $x':=\\frac{x-y}{\\gcd(c_1,c_2)}$, we obtain: $x'\\equiv b_1'\\mod c_1'$ $x'\\equiv b_2'\\mod c_2'$ and since $\\gcd(c_1,c_2)=1$ by Chinese Remainder Theorem we have a unique solution $\\mod{c_1'c_2'}$, so $x\\equiv (\\gcd(c_1,c_2)x'+a)\\mod{\\operatorname{lcm(c_1',c_2')}}\\quad(1)$ We can do it with another pair (take $2$nd and $3$rd, since we know that such a pair admits solutions; $x\\equiv(\\gcd(c_2,c_3)x''+a')\\mod{\\operatorname{lcm(c_2',c_3')}}\\quad(2)$ Now how can I show that for the pair $(1)$ and $(2)$ also solutions exist ?",
"Notify instantly when a currently viewed post is deleted At the moment SE shows us current voting results, a notification for new answers and comments, etc., instantly. However, it doesn't show us when a post is deleted. Please notify us also when a post is deleted. Then I don't have to type a (long) comment, only to notice the post got deleted in the meantime.",
"What is \"summoning sickness\" and how does it affect my creatures? Note: this is intended to be a canonical question about summoning sickness. \"Summoning sickness\", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects? For example, if I'm trying to figure out how a creature is affected: Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost? (These examples are primarily taken from questions about summoning sickness that have already been asked on the site)",
"Is voting to balance in the spirit of the site? The other day I saw an answer which was ok. Not great but not bad. So no reason to upvote or downvote. However the answer already had a single downvote. I felt this was unfair so upvoted the answer to keep it at what I felt was a fair score. It wasn't until afterward that it occurred to me that I should have perhaps solely voted on the content of the answer. Is this a reasonable reason for an upvote or should I have left the answer alone?",
"What word would describe someone who doesn't generally leave much of an impression on people?",
"Changing Login Logo",
"Heat production of magnifying glass Why Magnifying glass(convex lens) produces heat when placed in front of sun?",
"How is Faulhaber's formula derived?",
"How can I say this?",
"extracting energy from cosmological expansion This question is a more concrete reincarnation of an . Are there mechanisms to extract energy from the cosmic rate of expansion? putting some extremely long ropes across the universe and extract work from their increase of separation? assuming this is possible ( i don't see why it would not ), what form would take the back-reaction force? in all physics, every time you extract work from some system by some force, this system will exert a force back. Can we slow down cosmic expansion by variations of these mechanisms?",
"$X_n\\leq Y_n$ implies $\\liminf X_n \\leq \\liminf Y_n$ and $\\limsup X_n \\leq \\limsup Y_n$ Can anyone prove this question? I tried but I didn't get any I idea, so I hope someone can solve it. Let $X_n\\leq Y_n$ for each $n\\in \\Bbb N$. Show that $\\liminf X_n \\leq \\liminf Y_n$ and $\\limsup X_n \\leq \\limsup Y_n$. Please prove this question - thanks. The definition I have: Let $X_n$ be a sequence in real number and let $$E=\\{x\\in \\Bbb R^\\sharp:(X_{n_k}) \\rightarrow x \\text{ for some subsequence }(X_{n_k})\\text{ of }(X_n)\\}$$ for all $n \\in \\Bbb N$ and $k$ from $1$ to $\\infty$. Then by definition $\\lim\\sup X_n = \\sup E$ and $\\lim\\inf X_n = \\inf E$.",
"How to copy files via terminal?",
"Proving or disproving inequality $ \\frac{xy}{z} + \\frac{yz}{x} + \\frac{zx}{y} \\ge x + y + z $",
"What's wrong with this Wheatstone bridge? I was trying to solve this unbalanced Wheatstone bridge and found that the current $i$ in the mid wire is 9A .This result was achieved by using node voltage method. Then I rearranged the same circuit to the form shown in the second image. and at this point I flipped the right half of the circuit so as to obtain the equal resistors on the same side. now I again rearranged the circuit as shown. Here, the final circuit is a balanced Wheatstone bridge and thus the current i must be 0. So clearly something went wrong in there. I saw a post before this one just to make sure that there is no mistake in rearranging the circuit in the way I have done. It was answered by the user PhillipWood as being correct and was unfortunately put on hold. So can someone please point out what exactly went wrong with the above method."
] | medi_sts_stackexchange_dupe |
Can this font be implemented in LaTeX? | Old-style/Antique typesetting in LaTeX/TeX | [
"Prove that for any finite sequence of decimal digits, there exists an $n$ such that the decimal expansion of $2^n$ begins with these digits.",
"$$\\lim_{x\\to 0}\\frac{10^x - 2^x - 5 ^ x + 1 } {x\\tan x} $$ This is an indeterminate limit. I want help in solving this problem. Thanks in advance",
"If $G$ is cyclic, then $G/H$ is cyclic? The proof I got goes like this: $G$ is cyclic, so $G=<g>$ for some $g\\in G$. So any coset in $G/H$ would be of the form $Hg'=Hg^n$ for some $n$. So $Hg$ is an generator of $G/H$. Thus, $G/H$ is cyclic. I might just be confusing myself, but we have only shown that $Hg'$ is in form of $(Hg)^n$. But what if we are missing some $n\\in\\mathbb{N}$? That is, there is no quotient group of the form $Hg^2$, for example. To make myself a little bit clearer, I think what the above proof has done was showing that $\\forall Hg'\\in G/H, Hg'\\in <Hg>$, thus $G/H \\subset <Hg>$. I feel that this is not a complete proof.",
"I've seen this Kuratowski definition for ordered pairs, but can't fathom why it implies an order to $x$ and $y$ $(x,y):=\\{\\{x\\}, \\{x,y\\}\\}$ As I understand sets, $\\{\\{x\\}, \\{x,y\\}\\}$ is also $\\{\\{x,y\\}, \\{x\\}\\}$. Only when I think about the Axiom of Union does $\\{\\{x\\}, \\{x,y\\}\\}$ \"collapse down\" to $S = \\{x, y\\}$, but that doesn't give me much either. All I can see is some as yet hidden message in the set saying \"I am the set $\\{x,y\\}$ and my order of $x$ first is indicated by having $\\{x\\}$ along for the ride.\"",
"Is the Dungeon Magazine 4e Adventure List spreadsheet still available? used to go to a spreadsheet with all the 4E adventures published in Dungeon Magazine (and possibly some others, IIRC) during that edition's duration. I remember it listed out each adventure by name, start/end level, adventure path, and maybe even a little summary blurb. However, the spreadsheet behind that link seems to have disappeared into the digital ether, and I can't find a copy of it in my own google drive (implying I never made a copy of it). Does anyone happen to have a copy of that spreadsheet that they could share, and/or other resources that would let me sort through the many adventures from 4E Dungeon Magazine?",
"I have installed the pimd service by means of apt. This comes with an upstream systemd unit file (/lib/systemd/system/pimd.service). I want the service to be restarted when for some reason it gets killed, hence I wish to add the line Restart = always in the unit file. However, I don’t want to modify the upstream unit file. Is there any workaround for this?",
"Why are there no line numbers in the code listings? Would it make discussing code easier if you could simply refer to a particular line or range, or am I wrong?",
"Can EU citizens travel to UK after Brexit with just an identity card?",
"Plotting several 2d functions in a 3d graph I am trying to reproduce a similar figure to the following one. My first guess was to use pgfplots but I didn't find any example that I could use as a starting point. At the moment I am unsure if pgfplots is actually the right package or I should rely on something else e.g. TikZ. Since I don't really know where to start, I would appreciate any piece of code that points me in the right direction. EDIT Here is some dummy data for the plots. plot1 plot2 plot3 plot4 0 0 0 0 3.466 2.058 0 0 4.262 2.976 0.001 0 3.822 3.168 0.006 0.008 2.953 2.936 0.019 0.063 2.065 2.492 0.046 0.265 1.332 1.977 0.092 0.734 0.797 1.478 0.164 1.508 0.443 1.045 0.268 2.44 0.228 0.698 0.412 3.219 0.107 0.438 0.598 3.524 0.046 0.256 0.831 3.219 0.017 0.138 1.109 2.44 0.006 0.067 1.429 1.508 0.002 0.029 1.78 0.734 0 0.01 2.141 0.265 0 0.003 2.479 0.063 0 0.001 2.736 0.008 0 0 2.808 0 0 0 2.465 0 0 0 0 0",
"Inspired by : In my answer, I had stated that Patronuses appear to not be physical beings because they have no effect on anything other than Dementors. They don't cause leaves to stir in the movies. They passed straight through the tent. They don't appear to be bound by normal laws pf physics and can travel great distances almost immediately (Shacklebolt was presumably in London when his Patronus issued the warning). They can apparently walk across water without sinking (as they did in The Prisoner of Azkaban). They can jump, walk, and float in mid-air (as seen in the Room of Requirement in the movie version of The Order of the Phoenix). They make no footprints in lightly powdered snow (The Deathly Hallows Chapter 19) and make no sound of crunching snow as Harry does (further down the same page in Chapter 19). I stated incorrectly that the only place in canon where there is an exception is with Dementors, where the Patronus physically fends them off with its horns. A Dementor is clearly a physical being, if it prised Dudley's mouth open and (in the movie anyway) physically slid open the train door.) Based on comments and further thought, I can think of at least two other examples when a Patronus interacts physically with a physical being. As pointed out by Slytherincess, a Patronus can fend off a Lethifold (Living Shroud). When training, the Patonus took form against a Boggart, which had taken the form of a Dementor. All three of these things have, AFAIK, only three things in common (but I may be off). They are evil They are magical They are, indeed, physical beings. So the question is, why can a Patronus interact with all three of these, but seems to have no physical effect on everyday things?",
"Combinatorial argument for the identity $k\\binom{n}{k} = n\\binom{n-1}{k-1}$ I am looking for the combinatorial argument for the identity: \\begin{equation} k\\binom{n}{k} = n\\binom{n-1}{k-1} \\end{equation} This is easy to show algebraically as: \\begin{equation} \\binom{n}{k} = \\dfrac{n(n-1)(n-2)(n-k+1)}{k(k-1)!} \\end{equation} What is the combinatorial argument? What are some general ideas to get started? Here is a clarification of 2. From what I have seen so far, proving (combinatorially) an identity with an addition sign usually implies that we need to partition a set (this makes sense because of the addition rule and provides a nice visual). On the contrary, the previous observation leads me to believe that multiplication in identities can be resolved with the multiplication principle, but what is the \"visual/interpretation\" for this? Could someone provide such an interpretation for the example identity given above?",
"Likelihood Ratio Test for Exponential Distribution with a Limited Parameter Space",
"Proving the measure of an increasing sequence of measurable sets is the limit of the measures",
"Is there any way to see the custom messages/remarks of resolved/expired bounties?",
"Force drop db while others may be connected",
"Terminal not opening up after upgrading python to 3.7 I have upgraded python to version 3.7 and now my terminal is not opening up. I followed this post Commands I ran are as follows, sudo apt-get install python3.7 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 sudo update-alternatives --config python3 Entered 2 for python3.7 I can't open terminal and run commands. My ubuntu version is, Ubuntu 18.04.2 LTS",
"I was wanting to initialize some strings at the top of my script with variables that have no yet been set, such as: str1='I went to ${PLACE} and saw ${EVENT}' str2='If you do ${ACTION} you will ${RESULT}' and then later on PLACE, EVENT, ACTION, and RESULT will be set. I want to then be able to print my strings out with the variables expanded. Is my only option eval? This seems to work: eval \"echo ${str1}\" is this standard? is there a better way to do this? It would be nice to not run eval considering the variables could be anything.",
"Can PostGIS and QGIS provide dependable multi-user editing? After considering a few options, I'm trying to give my 15-20 QGIS 2.2 users the ability to concurrently view/edit one or two basic point PostGIS layers, largest one has just 16,000 records. I've installed PostgreSQL 9.1 / PostGIS 2.0 and basic testing seems to work ok but haven't unleashed it to the masses yet. We'll typically only have 2-3 editors at a time, but possibly 15 viewers. Edits will all be in QGIS, viewers will be QGIS and ArcGIS (but we don't have SDE). As I said, these are just basic point files, and edits will just be adding/deleting points and some table edits. I am not worried about editing the same features at the same time. Can the combination provide dependable multi-user editing for two basic point files?",
"Story featuring smart people sent on a space mission to nowhere The story in question featured, as the vague title suggests, a \"space mission\" that is really a cover for forcing a bunch of really smart people to be in close proximity to each other for long enough that they can truly evolve their collective intelligence. I recall them developing new maths and, e..g, \"farseeing\" and eventually figuring out that while there was no planet at the end of their journey as they were told, they were able to construct one for themselves.",
"I have designed a circuit where I want to give a pulse of very short duration using a switch. How can I implement it in spice."
] | medi_sts_stackexchange_dupe |
When do we speak of imbalanced data? | When is unbalanced data really a problem in Machine Learning? | [
"Finding determinant for a matrix with one value on the diagonal and another everywhere else Let us look the the matrix $\\left(\\begin{array}{ccccc} a & b & b & b & b\\\\ b & a & b & b & b\\\\ b & b & a & b & b\\\\ b & b & b & a & b\\\\ b & b & b & b & a \\end{array}\\right)$ It has one value, $a$, on the main diagonal, and another value, $b$ everywhere else. Let us assume that we are over a ring and that $a$ is invertible. I wish to find the determinant of every $n\\times n$ matrix of this form ($a$ on the diagonal, $b$ everywhere else). Using row and column operations I have managed to transform the matrix to upper-triangular form and found formula for specific cases. Generalizing it I got to the following formula: $\\det(A) = a\\left(a-b\\right)^{n-2}\\left(a+\\left(n-2\\right)b-\\frac{\\left(n-1\\right)b^{2}}{a}\\right)$ I think I can prove it with row-operations in the general case with a little patience. However, I'm wondering if there is a \"smart\" way of getting to this formula that I'm missing and if there is a nicer representation of it. Also, what can be said when $a$ is not invertible? (esp. the case where we are over a field and $a=0$).",
"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?",
"Log and natural log",
"If you have a line passing through the middle of a circle, does it create a right angle at the intersection of the line and curve? More generally, is it valid to define an angle created between a line and a curve? Is the tangent to the curve at the point of intersection a valid interpretation (I.e a semi circle has 2 right angles) I saw it in a debate thread and it got me curious now.",
"What does the 'rc' in `.bashrc`, etc. mean? Well, this is embarrassing. I feel like I just realised I don't know a loyal colleague's name after working with them for 10 years. \"Hey, er... *cough!*, thanks for that great job you did on setting my aliases this morning...\" What do the letters rc signify in .bashrc, .kshrc, etc.? If you know, please cite sources. Even if you don't know, I'd also welcome unfounded assumptions, suggestions or alternatives if they're marked as such.",
"What is the correct way to write 1.5 hours? I'm a bit confused in describing 1.5hrs in words. Is writing one and a half an hour correct or should it be one and half hour? E.g: I'll see you there in one and a half an hour. OR I'll see you there in one and half hour. Or is there any other correct way of writing this?",
"Convert all text from uppercase to lowercase and vice versa?",
"I've been playing the game a while now and have ranked up considerably. I'm wondering if there is any way to change to a different Google account and still keep all of my Pokemon/items etc, as I stupidly used my university gmail account when I first downloaded the app (which will be automatically deleted in September). Is there any way to transfer my trainer/Pokemon/items etc to a different Google account?",
"Proof $1+2+3+4+\\cdots+n = \\frac{n\\times(n+1)}2$",
"How to show $f=g$ almost everywhere Let two real-valued measurable functions $f$ and $g$ be such that for any measurable set $E$ the integrals $\\int_E f\\,d\\mu$ and $\\int_E g\\,d\\mu$ coincide. Could you please help. It seems obvious. we could define the integrals as charges. can we do sth from here. but I do not know how to approach.",
"Learning development with Force platform. Any good books? I'm a bit familiar with Java and SQL, any good books to get on coding in Apex for salesforce?",
"The selected task \"{0}\" no longer exists. To see the current tasks, click Refresh When I start my task scheduler on Windows 7 I get a dialog with the following error: The selected task \"{0}\" no longer exists. To see the current tasks, click Refresh Also there's a UUID, that is displayed as the name and when I try to delete it I cannot, it just hangs around. Is there a fix for this?",
"I've often heard that Einstein shattered the notion of absolute motion (i.e. all things move relative to one another) and that he established the speed of light as being absolute. That sounds paradoxical to me; I cannot understand how the two concepts can be reconciled. Before going further, I'd like to say: 1) Over the years, I've seen many layman's explanations on these topics (including the nice YouTube video by Vsauce, ). I understand everything that's said (or, at least, I think I do). Just nothing I've found seems to address this apparent contradiction. 2) More recently, I've tried to find the answer on my own. That includes searching the posts on this site. Some come close (), but nothing I've been able to find seems address specifically what I'm asking. Back to the question: Relativity shows us that there is no universal frame of reference by which to judge motion, so object A might be reckoned as moving at 10 m/s relative to object B or as stationary relative to object C. This is fine for me. I can grasp that the universe has no intrinsic coordinate system, that we only think that way on Earth because we have the ground to move over. Then there's the speed of light (in a vacuum). The speed of light is the ultimate \"speed limit,\" it's often said. But if there is no universal frame of reference, how can there be any such speed? The very idea only make sense if there is a universal frame. If one object is moving (uniformly) at 60% c and another object is also moving at 60% c, but in the exact opposite direct, then from the perspective of either one (if they could still see each other) the other would appear to violate that speed limit. All these spacetime bending consequences used to explain why nothing can move past this speed only seems to enshrine the concept that there is some ultimate speed standard. If there is only relative speed, then the concept of light having a specific speed in the vacuum should be a nonsensical one since it having speed (x m/s) would only make sense when measured against some other body. Since I was very young, it has always sounded to me like motion is only mostly relative, that until you get close to the speed of light, the effects of an absolute frame of reference are negligible. Perhaps that there is an actual fabric of space which everything moves relative to, which is why there is something to expand between galaxies (faster than light can propagate) in the metric expansion of space. Growing up, I always thought this would just start makes sense with time. Now I'm up to a first year (college) level in physics, I even know basic calculus, yet I'm still hopelessly confused. EDIT: Thank you to whoever suggested this may be a duplicate of . It and others are very much related and at least partially answer my question. Unfortunately, explaining that distances become shorter and time becomes slower as a way to stop you from exceeding the speed of light does not explain how that speed is not an absolute. By my reckoning, if all speed is relative, then no matter how fast you go light should always race away from you at the same apparent speed. I.e. there should be no speed limit. For there to be a speed which you cannot exceed or you would catch up (and make time irrelevant) requires the very concept of some external speed by which light can travel and nothing else can reach - thus my logical paradox continues unabated.",
"An inequality for a sum of sine functions I want to show for $x\\in\\mathbb{R}$, the following inequality holds. $$ \\left|\\sin x\\right|+\\left|\\sin (x+1)\\right|+\\left|\\sin (x+2)\\right|>8/5. $$ This trigonometric inequality has been verified by Mathematica using the Plot commend. However, using the sum formula for the sine function seems doesn't work, and I cannot give a rigorous proof of it. Any suggestion, idea, or comment is welcome, thanks!",
"I am taking my first dive into testing a mobile app. It will be available to iOS and Android. I've been searching for a way to test and automate iOS without having an actual iPhone or any other Mac device. We run Windows here at the office. I was looking to use iPhone emulators but it doesn't seem possible. I saw Appium Studio/SeeTest but it seems even that requires iTunes and a real device. I know you can set up a Mac vm on a Windows machine but are there any other ways to test iPhone without having to do this?",
"I was watching the tutorial by Andrew Price and I was able to follow along in Cycles until I hit the part where he mixes the day and night materials together so that the lights show up on the \"dark side\" of the earth. How can I recreate this effect in cycles? I thought I could use the ray information to tell me if there was incoming light but I've found no such node to give me this information.",
"Since many users are facing the NullReferenceException: Object reference not set to an instance of an object error in Unity, I thought that it would be a good idea to gather from multiple source some explanation and ways to fix this error. Symptoms I am getting the error below appearing in my console, what does it mean and how do I fix it? NullReferenceException: Object reference not set to an instance of an object",
"Can markdown mini replace an en dash with a normal hyphen in URLs?",
"Windows 8 disk usage is 100%",
"How to write a Hello World application in Java?"
] | medi_sts_stackexchange_dupe |
Unable to get property 'addEventListener' of undefined or null reference | Why does jQuery or a DOM method such as getElementById not find the element? | [
"How can I change the language for dictation on the fly? With English not being my first language, I usually need support for at least two languages when using features like auto-correct and dictation. Is it possible to toggle the language which is used for dictation via a shortcut? As of now, I always have to manually navigate through the menus in the System Preferences which if far from convenient. I've tried to see if there are any pre-defined actions in Automator, but found none.",
"Find the tangent lines to the graph of $x^2+4y^2 = 36$ that go through the point $P=(12,3)$ I was solving a few problems from a textbook and I came across this one: Find the tangent lines to the graph of $x^2+4y^2 = 36$ that go through the point $P=(12,3)$ I could find the tangency points $$ but my solution was completely messy (I had four equations that I had to go back-and-forth with. Is there an elegant/simple solution to that? Tangency points: $$P_1 = (0,3)$$ $$P_2 = \\left( \\frac{24}{5} , 3-\\frac{24}{5} \\right)$$",
"I want to load the new entries without reloading the page. I found a great solution for: The ajax script: <script> $(document).ready(function() { var refreshId = setInterval(function() { $('#content').fadeOut(\"fast\").load('http://neocsatblog.mblx.hu/new.php').fadeIn(\"fast\"); }, 10000); }); </script> And the php: <?php require_once(\"wp-blog-header.php\"); ?> <div id=\"content\" <?php cyberchimps_filter_content_class(); ?>> <?php do_action( 'cyberchimps_before_content'); ?> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php elseif ( current_user_can( 'edit_posts' ) ) : ?> <?php get_template_part( 'no-results', 'index' ); ?> <?php endif; ?> <?php do_action( 'cyberchimps_after_content'); ?> </div> However, this is a special feature that works perfectly here: However, the main page refuses to load new entries, I do not understand the reason for this, as we use everything the same.",
"The basic concept of Quotient Group is often a confusing thing for me,I mean can any one tell the intuitive concept and the necessity of the Quotient group, I thought that it would be nice to ask as any basic undergraduate can learn the intuition seeing the question. My Question is : Why is the name Quotient Group kept,normally in the case of division, let us take the example of $\\large \\frac{16}{4}$ the Quotient of the Division is '$4$' which means that there are four '$4$'s in $16$, I mean we can find only $4$ elements with value $4$ So how can we apply the same logic in the case of Quotient Groups,like consider the Group $A$ and normal subgroup $B$ of $A$, So if $A/B$ refers to \"Quotient group\", then does it mean: Are we finding how many copies of $B$ are present in $A$??, like in the case of normal division, or is it something different ?? I understood the Notion of Cosets and Quotient Groups,b ut I want a different Perspective to add Color to the concept. Can anyone tell me the necessity and background for the invention of Quotient Groups? Note: I tried my level best in formatting and typing with proper protocol,if in case, any errors still persist, I beg everyone to explain the reason of their downvote (if any), so that I can rectify myself, Thank you.",
"A little bird told me that if $2^n+1$ is prime, then $n$ is a power of $2$. I tend not to trust talking birds, so I'm trying to verify that statement independently. Suppose $n$ is not a power of $2$. Then $n = a \\cdot 2^m$ for some $a$ not a power of $2$ and some integer $m$. This gives $2^n+1 = 2^{a \\cdot 2^m}+1$. Now I suspect there's a way to factor that, but I don't see how. Can someone give me a hint?",
"Circuitikz symbols in TikZ circuit library Some time ago, I asked about . wh1t3 wrote: \"However, as far as I know there is nothing the circuitikz package does that the TikZ circuit library can't.\" So if it is true that the tikz library is more powerful, how do I get all the symbols described in the using the TikZ circuit library? Especially I am missing the symbols for ammeters and voltmeters.",
"Characterizing non-constant entire functions with modulus $1$ on the unit circle",
"In the neural network literature, often we encounter the word \"tensor\". Is it different from a vector? And from a matrix? Have you got any specific example that clarifies its definition? I'm a bit confused about its definition. Wikipedia doesn't help and sometimes I have the impression that its definition depends on the specific machine learning environment used (TensorFlow, Caffee, Theano).",
"Found an error in my thesis I've found a error in my thesis recently, after its submission. I made a mistake that wrongly accepted the hypothesis which should be rejected. What should I do??",
"$f$ be an analytic function defined on $\\mathbb{D}=\\{z\\in\\mathbb{C}:|z|<1\\}$ I came across the following problem that says: Let $f$ be an analytic function defined on $\\mathbb{D}=\\{z\\in\\mathbb{C}:|z|<1\\}$ such that the range of $f$ is contained in the set $\\mathbb{C}\\setminus (-\\infty,0]$. Then $f$ is necessarily a constant function. there exists an analytic function $g$ on $\\mathbb{D}$ such that $g(x)$ is a square root of $f(z)$ for each $z\\in\\mathbb{D}$. there exists an analytic function $g$ on $\\mathbb{D}$ such that $\\operatorname{Re}g(z)\\geq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\\in\\mathbb{D}$. there exists an analytic function $g$ on $\\mathbb{D}$ such that $\\operatorname{Re}g(z)\\leq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\\in\\mathbb{D}$. I have to determine which options are correct. Can someone help in the right direction? Thanks in advance for your time.",
"Where to ask question about hardware?",
"Will the Lee 100mm filter holder work with a Samyang 14mm autofocus lens? Will this work with a ? Which adapter ring would I need to buy for it? Thank you, and apologies if any of this comes across as confusing - I'm very new to filters and what-not. I posted on another account yesterday and received some very useful tips, but had to remove it as it was a duplicate account causing me login issues. Thanks, guys!",
"Was Mjolnir ever used for building something? In the movie Thor (2011), while he was about to crown Thor as the next king of Asgard, Allfather Odin describes the mighty hammer Mjolnir as the following: So long entrusted with this mighty hammer, Mjolnir. Forged in the heart of a dying star, from the sacred metal of Uru. Only one may ift it. Only one is worthy. Who wields this hammer commands the lightning and the storm. Its power has no equal -- as a weapon, to destroy, or as a tool, to build. It is a fit companion for a King. We know Mjolnir as a weapon of destruction but are there references where it is used to build something?",
"How to get a list of appendices? How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?",
"I would like to understand how Physicists think of space-time in the context of String Theory. I understand that there are $3$ large space dimensions, a time dimension, and $6$ or $7$ (or $22$) extra dimensions, and all these dimensions need to fit together in a way such that the extra dimensions are compactified (with a Calabi-Yau or $G_2$ structure). My question, however is not about the possible $10$, $11$ or $26$ dimensional manifolds that may be possible, but about whether string theorists consider space-time as somehow quantized (or discrete), or rather as a continuous manifold, or are both options possible? In other words, can strings move continuously through space, or are there a discrete set of locations where strings can be, and does string theory rule out one of the options? How about the same question in loop quantum gravity (LQG)? Should I think of the spin networks in LQG as describing a discrete space-time? Thanks for your insight, or any references you may be able to provide!",
"What canonical momenta are the \"right\" ones? I'm doing some classical field theory exercises with the Lagrangian $$\\mathscr{L} = -\\frac{1}{4}F_{\\mu \\nu}F^{\\mu \\nu}$$ where $F_{\\mu \\nu} = \\partial_\\mu A_\\nu - \\partial_\\nu A_\\mu$. To find the conjugate momenta $\\pi^\\mu_{\\ \\ \\ \\nu} = \\partial \\mathscr{L} / \\partial(\\partial_\\mu A^\\nu)$, I can use two methods. First method: directly apply this to $\\mathscr{L}$. We get a a factor of $2$ since there are two $F$'s, and another factor of $2$ since each $F$ contains two $\\partial_\\mu A_\\nu$ terms, giving $$\\pi^\\mu_{\\ \\ \\ \\nu} = -F^\\mu_{\\ \\ \\ \\nu}.$$ Second method: get $\\mathscr{L}$ in terms of $A$ by expanding and integrating by parts, yielding $$\\mathscr{L} = \\frac{1}{2}(\\partial_\\mu A^\\mu)^2 - \\frac{1}{2}(\\partial_\\mu A^\\nu)^2.$$ Differentiating this gets factors of $2$ and gives $$\\pi^\\mu_{\\ \\ \\ \\nu} = \\partial_\\rho A^\\rho \\delta^\\mu_\\nu - \\partial^\\mu A_\\nu.$$ These two answers are different! (They do give the same equations of motion, at least.) I guess that means doing the integration by parts changed the canonical momenta. Is this something I should be worried about? In particular, I have another exercise that wants me to show that one of the canonical momenta vanishes -- this isn't true for the ones I get from the second method! Plus, my stress-energy tensor is changed too. When a problem asks for \"the\" canonical momenta, am I forbidden from integrating by parts?",
"We hold an L1 visa (Citizens of India) and are planning a cruise to the Bahamas this summer. Are there any Visa requirements to enter Bahamas.",
"Compactness of $(M, d)$ in terms of continuous functions $f:M\\to \\mathbb R$ Suppose $(M,d)$ a metric space. I want to show that If every continuous real-valued function on $M$ attains a maximum, then $(M, d)$ is compact. I was trying to do this by assuming $M$ non-compact and showing explicitly a function which does not attain a maximum. If $M$ is not bounded it's enough to take the distance from a fixed point as we can always find a sequence which \"exits\" every compact and pushes the distance at infinity. But what if $M$ is bounded?",
"\"Authoring\" versus \"Writing\"",
"I am trying to use a file repository for updating linux/ubuntu on a non-connected machine. The architecture for this machine (uname -a): x86_64 GNU/Linux The results of dpkg --printarchitecture are: amd64 It is a Trusty Tahr amd64 machine, and it specifically says this, for example, in the aptitude sources.list file. Also, the \"About this Computer\" in ubuntu specifically says the machine is 64-bit. So, I installed the amd64 packages on the machine. However, when I try to do apt-get update, I get errors such as: W: Failed to fetch file:/var/spool/apt-mirror-trusty/mirror/archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages File not found So, in other words, even though it is a 64-bit machine, apt is inexplicably trying to read i386 packages. Why is it doing this and how can I make it use the 64-bit packages? Note that there is nothing in sources.list that specifies i386. The only uncommented line in the sources.list file is: deb file:///var/spool/apt-mirror-trusty/mirror/archive.ubuntu.com/ubuntu trusty main restricted universe multiverse"
] | medi_sts_stackexchange_dupe |
Does code allow reducing wire size in a circuit? | Can different gauge wiring be used in the same circuit? | [
"Recovering broken or deleted NTFS partitions",
"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?",
"How does Apple AppStore rank search results?",
"Serial voteup someone you learn from",
"Difficult variation of the committee problem",
"Get a generic method without using GetMethods I want to get the method System.Linq.Queryable.OrderyBy<T, TKey>(the IQueryable<T> source, Expression<Func<T,TKey>> keySelector) method, but I keep coming up with nulls. var type = typeof(T); var propertyInfo = type.GetProperty(group.PropertyName); var propertyType = propertyInfo.PropertyType; var sorterType = typeof(Func<,>).MakeGenericType(type, propertyType); var expressionType = typeof(Expression<>).MakeGenericType(sorterType); var queryType = typeof(IQueryable<T>); var orderBy = typeof(System.Linq.Queryable).GetMethod(\"OrderBy\", new[] { queryType, expressionType }); /// is always null. Does anyone have any insight? I would prefer to not loop through the GetMethods result.",
"Let $\\mu$ be a general measure, suppose $f,g$ has compact support on $\\mathbb{R}$, when does the integration by parts formula hold $$\\int f'g d\\mu = - \\int g'fd\\mu?$$ I know in general this is false, we can take $\\mu$ to be supported on a point, say $0$, then it is not necessarily true that $$f'(0)g(0) = -g'(0)f(0).$$ If $\\mu$ is absolute continuous w.r.t. Lebesgue measure, we have $\\frac{d\\mu}{dx} = h$ $$\\int f'gd\\mu = \\int f'gh dx = -\\int f(gh)'dx$$ where $(gh)'dx$ might be a measure. but we can not recover the form $\\int g'fh dx$. Thank you very much!",
"Can I tap a creature with summoning sickness to pay \"tap an untapped creature you control\" costs? I have a on the battlefield and I played a vampire earlier this turn. Can I tap both to transform Chosen of Markov even though I just played the vampire? Extra Example: I play to put two 1/1 white bird tokens into play. Can I now tap a both of them and another creature I control to pay Battle Screech's flashback cost of tapping three white creatures? Obviously these creatures couldn't use any tap abilities until my next turn, but since the tapping is coming from a different source, I figured the situation might be different.",
"Initializing a member array in constructor initializer",
"Direct Link to a Comment The increase in the character limit of comments has led them to become as important as the questions and answers that spawn them. On several occasions (especially on meta) I've found reason to want to link to a comment directly. I'd imagine something as simple as making the date / time stamp an anchored link which mimics the behavior of the question link.",
"Make a failed SSH forward a fatal error I have a script which connects to a remote host to replicate some files via SSH. I must connect to an rsync daemon listening on port 873. To accomplish this I have a ssh configuration like this. Host blah LocalForward 10873 127.0.0.1:873 Hostname 10.2.4.1 Unfortunately because of the timing of this script, there is a small chance that on occasion when it attempts to establish the SSH session another similar script will have the port open to a different host. If I connect while another ssh session is open I get the obvious message Address already in use. me@local:~$ ssh blah bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 10873 Could not request local forwarding. Linux remote 2.6.26-2-amd64 #1 SMP Tue Jan 25 05:59:43 UTC 2011 x86_64 motd... remote:~$ What I want to have happen is to have the SSH client immediately exit with a exit code so I can put some logic into my script to report a failure instead of trying to run any commands against the port forwarded to the incorrect host.",
"How to replace a string on the 5th line of multiple text files? I want to replace the 5th line of multiple text files (file1.txt,file2.txt,file3.txt,file4.txt) with the string \" Good Morning \" using a single terminal command. All the text files are located on my ~/Desktop. Note: My desktop consists of 6 .txt files.I want to apply the change to above mentioned 4 text files only.",
"Spider-Man is the one franchise that is on course to a third reboot in a span of 15 years. My question is what was the reason for these numerous reboots of Spider-Man which pretty much follow the same origin story for the Marvel superhero. Has the comic creator or studio ever spoken out about the reasoning behind the same?",
"Recommendations for good Newtonian mechanics and kinematics books What are some good books for learning the concepts of Kinematics, Newton laws, 2D Motion of Object etc.?",
"Animated textures don't work in Blender viewport playback",
"I can't get grub menu to show up during boot",
"How do I install transition molding between my new hardwood and existing tile floors? I have ripped out some old carpet and am preparing to install a new solid hardwood floor myself. In several places, the floor transitions to an existing tile floor. The hardwood floor guys told me the best transition between the two is a T molding. You simply leave a gap between the two floors, and then place down the T molding between the two floors, so it sits on both surfaces. Sounds simple enough. However, the height difference of the two floors is considerable, and the T molding does not sit flush. What are my options? Here is a diagram showing the dimensions. NOTE: Using the T molding is not a requirement, I could go some other route if there is a better option.",
"I have to prove that this is a metric: $$d(x,y):=\\sum_{i=0}^\\infty \\frac{|x_i -y_i|}{2^i (1+|x_i-y_i|)}$$ The only thing that I can't prove is the triangle inequality, it's really hard. I know that $|x_i -y_i|\\le |x_i -z_i|+|z_i -y_i|$, and I want to get: $$\\frac{1}{2^i (1+|x_i-y_i|)} \\le \\frac{1}{2^i (1+|x_i-z_i|)}+\\frac{1}{2^i (1+|z_i-y_i|)}$$ (I think...) The closest thing I've got is: $2^i (1+|x_i-y_i|)\\le 2^i (1+|x_i-z_i|)+2^i (1+|z_i-y_i|)$ but... that's not quite what i want. I don't know how to get this...",
"Increase progress bar each second -- error",
"This is what we are taught: $$5^{-2} = \\left({\\frac{1}{5}}\\right)^{2}$$ but I don't understand why we take the inverse of the base when we have a negative exponent. Can anyone explain why?"
] | medi_sts_stackexchange_dupe |
How to Customize index using code first? | GUID COMB strategy in EF | [
"A graph $G$ is bipartite if and only if $G$ can be coloured with 2 colours",
"Dump of my own Stack Exchange content Is there a way to quickly save all my Stack Exchange content across all Stack Exchange sites, as hundreds of HTML pages? (for me probably 15 or 20 sites: SO, dsp.SE, unix.SE, etc.)? The ideal way would be one .HTML file for each question that I asked / answered / commented? What would be the ideal tool for that? Remark: I've already read interesting questions like but it doesn't exactly answer my concern here.",
"What is the best way to generate a GUID/UUID from Apex code (such as a trigger)? Preferably in the following format: nnnnnnnn-nnnn-nnnn-nnnnnnnnnnnnnnnnn Example: 13219ec0-3a81-44c5-a300-de14b7d0235f",
"Why can't I just think the spin as rotating? I'm going mad about the problem. I really don't understand why do electron have 1/2 spin number, why they are not actually spinning. I can accept that the electrons have their own magnetic field, which is certain, but why do they have $\\hbar\\sqrt3/2$ of angular momentum, and I don't know what the heck is spin number. I've read the definition of and more than a hundred times but there is no betterment. I've smashed my head in my desk more than a hundred times either. My question is the title. Why can't I just think the spin as rotating? What I've saw recently, electron's hypothetical surface would have to be moving faster than the speed of light in order for it to rotate quickly enough to produce the necessary angular momentum.",
"How to use numpad / on a keyboard without a numpad? I've just got into Blender, and I like it a lot. But as I just switched from a stationary computer to a MacBook, I've got some new problems regarding the numpad. I can use 1-9 perfectly, But I have no idea how to emulate buttons like / (used to enter local view). I've searched the web for an answer, but I can't find any.",
"I'm trying to find an alternative to the standard tombstone qed symbol for more informal papers. I initially thought of an empty square with Pub written inside, but what would actually be better would be a small beer mug symbol. (much like the one found in this set of icons ) Unfortunately there doesn't seem to such a symbol in the comprehensive latex symbol list (although many funny symbols can be found there). Has anyone thought about this? Is there any quick-and-dirty solution?",
"Find $x,y$ given $\\gcd(x,y)$ and ${\\rm lcm}(x,y)$",
"Marginal probability derived from joint probability distribution of a poisson process and binomial process I thought I figured out this problem, but my answer is different than the solutions manual. Hoping someone here can stear me in the correct direction: Assume the number of automobile collisions that occur on a given stretch of highway per year is a Poisson random variable $X$ with $\\mu = 20$. The probability is $p=0.05$ that there will be one or more fatalities in each accident; occurrences of fatalities are independent from one collision to the next. If $Y$ is the number of collisions with one or more fatalities on this stretch of road in one year, find the probability law for $Y$. So as said, X is poisson, so: $$p_X(x) = \\frac{20^x}{x!}e^{-20}$$ The conditional probability of $Y$ given $X=x$ is a Binomial random variable: $$p_{Y\\mid X}(y\\mid x) = \\binom{x}{y}p^yq^{x-y}$$ where $Y =$ number of fatal traffic accidents and $x =$ given number of accidents (from poisson distribution) Therefore the joint probability for $X$ and $Y$ is: $$p_{X,Y}(x,y)= p_{Y\\mid X}\\cdot p_X(x) = \\binom{x}{y}p^yq^{x-y}\\frac{20^x}{x!} e^{-20}$$ to find the marginal probability of $Y$, I sum over $P_{X,Y}$ for all $x$: \\begin{align} p_Y(y) & = \\sum_{x=y}^\\infty{\\binom{x}{y}p^yq^{x-y}\\frac{20^x}{x!}e^{-20}} = \\frac{(20p)^ye^{-20}}{y!} \\sum_{x=y}^\\infty {20^{x-y}\\frac{q^{x-y}}{(x-y)!}} \\\\[10pt] & = \\frac{(20p)^ye^{-20}}{y!} \\sum_{x-y=0}^\\infty {20^{x-y}\\frac{q^{x-y}}{(x-y)!}} = \\frac{(20p)^ye^{-20}}{y!}e^{20q} \\end{align} So: $$p_Y(y) = \\frac{(20p)^ye^{-20p}}{y!}$$ however, the correct answer is apparently $p_Y(y)=\\dfrac{e^{-1}}{y!}$",
"How can I copy a file from another directory to the current one? I have this problem as part of a school assignment: NOTE: In case it's hard to read in the image above, here's the directory tree: $ tree . `-- sample_dir1 `-- sample_dir |-- admin |-- cambridge | |-- cafeteria | |-- library | `-- security | |-- annex | |-- building | `-- parking |-- faculty |-- history.exe |-- markham | |-- annex | |-- building1 | `-- parking |-- oxford | |-- outline.doc | |-- programming | | `-- report.pdf | `-- security `-- stenton |-- gen_ed `-- lib_arts |-- english.txt `-- match.doc 15 directories, 11 files I tried doing the command: $ cp ../cambridge/security/parking ./parking2 ...but it isn't working. The question in the image above states that the current directory is stenton, and that we need to make a copy of the file named parking (from the security directory), and to name the new file parking2, and place it in the current directory, stenton, using relative pathnames. What am I doing wrong? My cp command seems to be correct.",
"This is a follow-up question to the discussion about the finite axiom of choice . Suppose we have a countable collection of non-empty sets $\\{A_1, A_2, A_3,\\cdots\\}$ Reasoning as indicated in that discussion, we can prove the existence of a choice function $c_n$ such that $c_n(i)$ belongs to $A_i$ for $i = 1,\\cdots,n$ Again reasoning as suggested and using induction, we can prove the existence of a function $C$ defined over $\\{1, 2, \\cdots\\}$ such that $C(n)$ is a choice function defined for $i=1,\\cdots,n$ with $C(n)(i)$ an element of A_i. We can require in addition that $C(n)(i)$ and $C(n-1)(i)$ are equal for $i=1,\\cdots,n-1$. Now it would it seem that we can prove the countable axiom of choice by taking the union of $C(1)$, $C(2)$, $\\cdots$ The question is as follows: why is that proof wrong? I suspect the answer may have something to do with the axiom of union.",
"How can I figure out why my washing machine is tripping the GFCI receptacle? I have a Kenmore 80 Series (Model No. 110.24872300) washing machine which up to this point has been working fine. Since it is near a sink, the outlet it is plugged into is a GFCI outlet. On the last load I came back after letting it run for some time to find that it had tripped the GFCI in the middle of the wash cycle - the washer was still full of soapy water. I reset the outlet and let it run again, only to come down the next morning and find it full of water still (it had tripped during the rinse cycle this time). I reset the outlet again and this time it finished the rest of the cycle. My guess is that water is somehow getting onto the internal components of the washer and causing it to short - is there any way I can test this theory or fix the problem myself?",
"Is there a simple command for the available height in a beamer slide?",
"Locally bounded additive function is linear Let $T:\\mathbb{R}^k\\to\\mathbb{R}^m$ is additive, i.e. $T(X_1+X_2)=T(X_1)+T(X_2)$. $T$ is locally bounded. Prove that $T$ is a linear transformation. I know there is a relation between boundedness, convexity and scalar multiplicity. But not sure where to start or how to tie things together.",
"Which facility upgrade unlocks maneuver nodes in KSP",
"Mafia 3 no more damage to be dealt barclay mills I did most of the barclay mills missions and brought the damage down to 2550 but now I can find anything else to damage or steal, so the meter is stuck at 2550 and the objective says \"find and destroy garbage barges\" but when I click it, no waypoint. Please help.",
"If I have random variables $X_1,X_2,\\ldots,X_n$ that are Poisson distributed with parameters $\\lambda_1, \\lambda_2,\\ldots, \\lambda_n$, what is the distribution of $Y=\\left\\lfloor\\frac{\\sum_{i=1}^n X_i}{n}\\right\\rfloor$ (i.e. the integer floor of the average)? A sum of Poissons is also Poisson, but I am not confident enough in statistics to determine if it is the same for the case above.",
"Comaximal ideals in a commutative ring",
"A question about the arctangent addition formula. In the arctangent formula, we have that: $$\\arctan{u}+\\arctan{v}=\\arctan\\left(\\frac{u+v}{1-uv}\\right)$$ however, only for $uv<1$. My question is: where does this condition come from? The situation is obvious for $uv=1$, but why the inequality? One of the possibilities I considered was as following: the arctangent addition formula is derived from the formula: $$\\tan\\left(\\alpha+\\beta\\right)=\\frac{\\tan{\\alpha}+\\tan{\\beta}}{1-\\tan{\\alpha}\\tan{\\beta}}.$$ Hence, if we put $u=\\tan{\\alpha}$ and $v=\\tan{\\beta}$ (which we do in order to obtain the arctangent addition formula from the one above), the condition that $uv<1$ would mean $\\tan\\alpha\\tan\\beta<1$, which, in turn, would imply (thought I am NOT sure about this), that $-\\pi/2<\\alpha+\\beta<\\pi/2$, i.e. that we have to stay in the same period of tangent. However, even if the above were true, I still do not see why we have to stay in the same period of tangent for the formula for $\\tan(\\alpha+\\beta)$ to hold. I would be thankful for a thorough explanation.",
"How to install and use Ubuntu from a USB flash drive on Windows 8?",
"Why do I need multiple sites for the same property in Google Webmaster Tools? In researching the best practice for adding sites to the Search Console, I've often seen it suggested to add separate properties for different versions of the same website. Even in it states: \"Similarly, if your site has http:// and https:// versions, you should add each as a separate site.\" I've seen the same suggested for www/non-www. So if a site is accessible at all the variations of http/s and www/non-www we should have four properties. But what if the site is only accessible at one variant? i.e. https and www are forced via htaccess, so only can ever be accessed - should we still add all the variants? In essence, the problem is that I don't know why Google wants us to do this, so I can't work out if it'll be ok just to have one instance."
] | medi_sts_stackexchange_dupe |
Is the work-done by a magnetic field on a moving point charge zero? | Work is not done by the magnetic field? | [
"How to mathematically evaluate a string like \"2-1\" to produce \"1\"?",
"Custom attributes - Yea or nay?",
"How can I stop the symbolic x coords to be plotted twice? I have created a bar diagram similar to: But at a certain width the symbolic x coords are plotted twice. How can I manage the x axis correctly? Here is my mini example: \\documentclass[12pt,a4paper,]{scrartcl} \\usepackage{a4wide} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage[ngerman]{babel} \\usepackage{graphicx} \\usepackage{tikz} \\usepackage[miktex]{gnuplottex} \\usepackage{pgfplots} \\begin{document} \\begin{figure} \\begin{tikzpicture} \\begin{axis}[% width=1\\linewidth, height=0.5\\linewidth, axis x line=center, axis y line=left, symbolic x coords={CP-Schelle,Mistel-Schelle V2,Mistel-Schelle V4,Mistel-Schelle V4.2D,Gewickelt nach Inspire}, enlargelimits=true, ymin=0, nodes near coords, x tick label style={ font=\\small, text width=1cm, align=center }, ybar] \\addplot[color=gray, fill] coordinates {(CP-Schelle,1.000)}; \\addplot[color=blue, fill] coordinates {(Mistel-Schelle V2,2.459)(Mistel-Schelle V4,3.318)(Mistel-Schelle V4.2D,2.243)(Gewickelt nach Inspire,1.782)}; \\end{axis} \\end{tikzpicture} \\end{figure} \\begin{figure} \\begin{tikzpicture} \\begin{axis}[% width=0.6\\linewidth, height=0.5\\linewidth, axis x line=center, axis y line=left, symbolic x coords={CP-Schelle,Mistel-Schelle V2,Mistel-Schelle V4,Mistel-Schelle V4.2D,Gewickelt nach Inspire}, enlargelimits=true, ymin=0, nodes near coords, x tick label style={ font=\\small, text width=1cm, align=center }, ybar] \\addplot[color=gray, fill] coordinates {(CP-Schelle,1.000)}; \\addplot[color=blue, fill] coordinates {(Mistel-Schelle V2,2.459)(Mistel-Schelle V4,3.318)(Mistel-Schelle V4.2D,2.243)(Gewickelt nach Inspire,1.782)}; \\end{axis} \\end{tikzpicture} \\end{figure} \\end{document}",
"For bash script, I can use \"$@\" to access arguments. What's the equivalent when I use an alias?",
"Is there a constructive way to exhibit a basis for $\\mathbb{R}^\\mathbb{N}$? Assuming the Axiom of Choice, every vector space has a basis, though it can be troublesome to show one explicitly. Is there any constructive way to exhibit a basis for $\\mathbb{R}^\\mathbb{N}$, the vector space of real sequences?",
"How to check if a string \"StartsWith\" another string?",
"Is the series $\\sum_{1}^{\\infty}\\frac{1}{p_{j}}$ where $p_{j}$ is the $j$th prime convergent? Does the series $\\sum_{n=1 }^{\\infty}1/p_{j} $ of reciprocal primes converge? Experimentally, it seems convergent.",
"If we had an airtight container that was large enough, say extended out to the Karman line, would there still be a pressure gradient? If we assume that the pressure at the bottom was $1\\ \\mathrm{atm}$, would it have the same exact pressure gradient at 6 miles up on the outside? This is assuming that the gravity is still $9.8\\ \\mathrm{m/s^2}$.",
"How do I trim a string in JavaScript? That is, how do I remove all whitespace from the beginning and the end of the string in JavaScript?",
"Adding objects algorithm in Objective-C",
"Every $R$-module is a quotient of a free module I'm reading through my notes, and I have a theorem as the title says. As proof I have only a picture. where $v:m\\mapsto(0,...,0,1,0,...,0)$ and 1 is at $m$-th position. I know, that $\\oplus_M R$ is a free module generated by set $M$, but is this all? I do not see how the statement is proved.",
"How can I search for special characters? Situation: It started out as me for the literal string C-c in but it ended up omitting the - sign and showing results which contained the strings C/C++ and C & C++. is an example of a post which contains that string of characters (yet fails to show up in the results). Things I've tried: post suggests that I can use the undocumented code: operator, but when I do that, it just wraps the whole term in double quotes like . As @terdon in Unix & Linux chat has , using this does yield some relevant results, but it doesn't show me that is supposed to be there. edit: It appears that the Symbolhound query no longer returns that result. Finally, says that you can search for literal characters, but as you can see: Quoted phrases are exact matches except for case-sensitivity, for example, you can search or . The second example (symbols) leads to 0 results. So by now I assume that the search engine has changed (but the old documentation still lingers on this site). Is there a method for me to search for strings that include special (or is it literal?) characters?",
"Why my U.S. B1 Visa got refused under 214 (b)? I went for B1 U.S. Visa at the U.S. Embassy in Delhi. Interviewer: *Good Morning*. Me: *Good Morning* Interviewer: *What is your designation?* Me: *I am a Software Engineer.* Interviewer: *What is the name of your company?* Me: *It is XXX (I replied).* Interviewer: *What is the name of your client?* Me: *It is YYY (I replied).* Interviewer: *Have you ever been to U.S. before?* Me: *NO* Interviewer: *Have you ever been abroad before?* Me: *NO* At this point he rejected my Visa with letter mentioning 214 (b) as the reason. I don't know why he actually rejected it. But, I have decent 2+ years of experience with my company. And, I was going on a business meeting with the client. I would have come back after 2 weeks. I don't know if re applying will help.",
"How can I secure an Ethernet-over-power network? I just bought myself an Ethernet-over-power adapter, and plugged it in. It seems to be working great, but now I'm concerned that my neighbours may be able to access my network. I live in a rowhome complex; is it possible they can access my network? If so, how can I secure it?",
"How to find previous boot log after Ubuntu 16.04+ restarts? My question is, how can I find boot log from previous system boot attempt? Today when first powering on my PC, boot process stopped on Ubuntu logo, when I pressed Esc I have seen several lines containing some kernel error and restart required at the bottom, so I pressed Ctrl+ALt+Del and next boot went OK without problems. I have trouble finding messages from the screen I have seen during the first unsuccessful boot. Should I have taken picture to my phone? /var/log/boot is there but empty, I searched and for strings I remembered with today's date like error but found nothing familiar to what I have seen on previous boot screen. $ journalctl -b -1 gives me only kernel messages during boot, I can find that elsewhere too, and they are not what was appearing on screen during boot, journalctl is useless for me, I am looking for messages appearing on screen during boot time. For now, only option is take a photo of write the message on paper.",
"execute command on a defined range of directories Is it possible to 'partition' a directory listing - say in to blocks of some number, to perform different actions on each 'range'? For example, lets say I have the following directories inside another folder: $ ls test abc/ def/ hij/ klm/ nop/ qrs/ tuv/ wxy/ zzz/ And I want to perform some action on the first 3 directories, another on the second 3, and so on. My thought was that perhaps a loop across numbers would work, based on the output of something like ls | nl (but before anyone mentions it, I know parsing ls is a no-no!) This obviously doesn't work, but illustrates my point I hope: for dir in `ls | nl`; do do-something-with ${dir{1..3}} # Where $dir has taken on some numerical value linked to the folder) do-something-with ${dir{4..6}} # And so on... do-something-with ${dir{n-3..n}} done The folders I intend to actually do this on, can be worked on in any order (i.e. the final splits can be totally arbitrary), but they have no logical naming consistency - by which I mean they can't be organised sensibly alphabetically or numerically based on any key within the directory name themselves.",
"No surname on passport and applying for Japanese Visa",
"How can I determine the sudo password? What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?",
"Seedable JavaScript random number generator",
"The latex file coding is not there but the pdf file is there I wrote all my coding in the .tex file. The next day when I opened it the coding is all gone and the pdf file is opening with it and is displayed as an output. How do I bring back my coding?"
] | medi_sts_stackexchange_dupe |
Do I use the plural or singular form of a noun when saying "zero or one"? | Singular or plural verb after a series connected by "or" | [
"How can I use Bengali script in an English document?",
"Integral $\\int_0^\\infty \\frac{\\arctan(x) dx}{x(1+x^2)}$? How would one evaluate the integral $$\\int_0^\\infty \\frac{\\arctan(x) \\,dx}{x(1+x^2)}$$? I was told it had a nice closed form and could have been solved with differentiation under the integral sign; however, I tried to set $$I(\\alpha) = \\int_0^\\infty \\frac{\\arctan(\\alpha x) \\,dx}{x(1+x^2)}$$ and got nowhere (the resulting integral was very messy). Is there a much more clever substitution that can be used to tackle the integral?",
"Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?",
"If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$. If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$. I cannot get heads nor tails of how to even start this let alone finish it",
"How to implement a single instance Java application? Sometime I see many application such as msn, windows media player etc that are single instance applications (when user executes while application is running a new application instance will not created). In C#, I use Mutex class for this but I don't know how to do this in Java.",
"What is the most effective way for float and double comparison? What would be the most efficient way to compare two double or two float values? Simply doing this is not correct: bool CompareDoubles1 (double A, double B) { return A == B; } But something like: bool CompareDoubles2 (double A, double B) { diff = A - B; return (diff < EPSILON) && (-diff < EPSILON); } Seems to waste processing. Does anyone know a smarter float comparer?",
"Is there a fast way (without looping over all edges/faces/verts) using ops.mesh or bmesh to get the lists of indices associated with mesh islands as shown below? These islands are part of one mesh but are disjoint from each other. I know how to select the boundaries by running the operator Select boundary Loop or calling bpy.ops.mesh.region_to_loop() but can't find any API calls to return the vert/edge/face indices associated with the individual islands.",
"How do I change directory back to my original working directory with Python?",
"Can't use String#trim as a callback for Array#map",
"Why is ATP the most prevalent form of chemical energy storage and utilization in most cells?",
"Uninformative error message when using AUCTeX",
"For creating the graphics for my thesis (function graphs, flow charts, line art sketches) I've chosen to use the sans serif font by \\renewcommand\\familydefault{\\sfdefault} However when I use mathematical symbols like $p_{s}$, they are still typeset in roman font and that looks weird: So I wonder: how could I force mathematical expressions also be typeset in \\sfdefault if I do, are there any negative sideeffects to expect (with greek signs or other special symbols?) OR should I typeset all \"mathematical\" graphs (axis labels etc.) in roman font, and only make the other graphics like flow charts and sketches with sans serif font?",
"Jackknife vs. LOOCV",
"Prove that $(\\mathbb{Z}_n , +)$, the integers $\\pmod{n}$ under addition, is a group. Prove that $(\\mathbb{Z}_n , +)$, the integers $\\pmod{n}$ under addition, is a group. To show that this is a group, I know I need to show three things (in our text, we do not need to show that addition is closed-- rather, we show these three items): $(a)$ Associative Law $(b)$ Existence of Identity $(c)$ Existence of Inverse This is what I have been working with so far: $(a)$ Associative Law: First, assume that $n$ is a composite number and that $a,b \\in \\mathbb{Z}$ s.t. $a=nx$ and $b=ny$ for some integers, $x$ and $y$. Then $a+nx+nx=n(x+y)$. So, this is where I am stuck for the Associative Law. I'm not sure if I am headed down the correct path to show that $\\mathbb{Z}_n$ is associative. $(b)$ Existence of Identity: Generally, when showing the existence of an identity we can use this information for addition : $a + 0 = 0 + a =a$. I am unsure how to insert the modular portion of the definition into the existence of this identity. I realize that for addition, we generally look at $0$ (rather than $1$ for multiplication). $(c)$ Existence of Inverse: I need to show that for each element $a \\in \\mathbb{Z}_n$ that $a^{-1}=-a$. Again, I do not know how to insert the modular portion of definition into this aspect of the proof. My question is how to incorporate this modular information into the proof that this is a group. We have not covered the integers modulo $n$, binary operations, nor groups in my intro to proofs course. I am trying to read my text to figure out how to prove this, but have a difficult time reading and interpreting math speak.",
"How to call drupal_bootstrap from custom file in subfolder? I'm trying to call drupal_bootstrap from 'temp.php' in a subfolder called 'custom' my code as follow: chdir('../'); define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); Once I call the temp.php I get Drupal homepage. I also tried an explicit physical path but with no use, code as follow: define('DRUPAL_ROOT', '/var/htdocs/drupal7'); require_once '../includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); temp.php located under the following folder structure: - var -- htdocs --- drupal7 ---- custom ----- temp.php",
"When starring a message from the star board, it's not reflected in the main chat window",
"Is there a way to arrange windows within the same application in the taskbar of Windows 7? Right now we can freely adjust each application's position in the taskbar, but within the app itself the windows can't be reordered, for example multiple windows of firefox or chrome.",
"There are now errors when updating and I cannot install most software due to a corrupted /etc/apt/sources.list file. Is there a copy I can download to replace it? The file would be for Ubuntu 12.04 (Final Beta) in the United States.",
"Difference in sentence meaning between present continuous and simple present constructions",
"Prove $\\mathbb{Z}_2 \\times \\mathbb{Z}_2$ is not isomorphic to $\\mathbb{Z}_4$"
] | medi_sts_stackexchange_dupe |
Looping through an object's (class instance) properties in python and printing them | How to get instance variables in Python? | [
"How can I identify what application is using a given file?",
"Slow leak on front cruiser tire I ride my cruiser to the supermarket and back, using either a trailer or a basket over the front wheel for carrying groceries. The bike has developed a persistent slow leak on the front wheel, and I've replaced the tube without it helping. I can't see anything puncturing the tire, and the spokes aren't poking through the rim tape that I can see. These are 26\" wheels with low pressure (around 40 - 50 psi). What else can I look for that might be causing this?",
"When dragging an object, there is a greater start-up force than the force it takes to keep it moving. Why is this? Why are there two different values for friction?",
"Windows Update Slow on Vista Update I was able to get Readiness Tool to run but not the update Now the reediness tool will not even run Security Essentials will run I have legal Windows 7 to install Do you think that is safe bet to try? Had some performance issue so I ran MalwareBytes and Security Essentials. It found some malware that was successfully removed. I was able to Update Security Essentials and I ran it again for safety and it found nothing additions. The last successful Windows Update was 5 days ago Checking for Updates has been running 6 hours CPU 100% network 0% Windows6.0-KB947821-v35-x86.mnu fails to install It is supposed to be a tool to address update problems I fear the registry got hacked to prevent updates What can I do? I know Vista. I got it free.",
"Is the 64-Bit version of Ubuntu only compatible with AMD CPUs? I was told that computers with more than 2 gig's memory need a 64 bit operating system to utilize all RAM. Is the 64bit Ubuntu download really JUST for AMD processors? I am asking because the disk image I downloaded says AMD64. So will my new Intel 2.3Ghz Core i3 Dual Core processor work with 64 bit Ubuntu? It runs the 64bit version of Windows without any qualm.",
"Can I visit the US for tourism on a previously unused B1/B2 visa? Note: This is NOT a duplicate of Difference: In both other questions, the posters traveled once to the US for the original purpose for which the B1 visa was obtained. Their question is about visiting again using the same visa. However, I've not traveled to the US yet, and I'm planning my visit. What I want to understand whether I can use this visa for a visit whose purpose is not the same as what was submitted along with the application. Can I use a B1/B2 visa for tourism that was originally obtained for business purposes BEFORE I actually visit the US even once? I had applied for a business visitor visa for a valid business reason but by the time I got it stamped, my plan changed. So I've not visited the US even once. Can I now use this visa to visit as a tourist without having used that visa for its original intended purpose? PS: I live in India.",
"$ \\tan 1^\\circ \\cdot \\tan 2^\\circ \\cdot \\tan 3^\\circ \\cdots \\tan 89^\\circ$ How can I find the following product using elementary trigonometry? $$ \\tan 1^\\circ \\cdot \\tan 2^\\circ \\cdot \\tan 3^\\circ \\cdots \\tan 89^\\circ.$$ I have tried using a substitution, but nothing has worked.",
"Does existence of $\\gcd$ implies PID?",
"How to install the latest stable version of Chromium? Is there an easier way to install Chromium than what is described ? Furthermore, is there an easier way to stay up to date with current Chromium releases rather than having to re-build Chromium each release? (a script which automatically grabs and installs the latest build possibly?). Related:",
"How to add upload field in a custom taxonomy?",
"How do you subtract Dates in Java?",
"Linear algebra is a very well-behaved part of mathematics. Soon after you have mastered the basics you got a good feeling for what kind of statements should be true -- even if you are not familiar with all major results and counterexamples. If one replaces the underlying field by a ring, and therefore looks at modules, things become more tricky. Many pathologies occur that one maybe would not expect coming from linear algebra. I am looking for a list of such pathologies where modules behave differently than vector spaces. This list should not only be a list of statements but all phenomena should be illustrated by an example. To start the list I will post an answer below with all pathologies that I know from the top of my head. This should also explain better what kind of list I have in mind.",
"I have the following code: info = new System.Diagnostics.ProcessStartInfo("TheProgram.exe", String.Join(" ", args)); info.CreateNoWindow = true; info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; info.RedirectStandardOutput = true; info.UseShellExecute = false; System.Diagnostics.Process p = System.Diagnostics.Process.Start(info); p.WaitForExit(); Console.WriteLine(p.StandardOutput.ReadToEnd()); //need the StandardOutput contents I know that the output from the process I am starting is around 7MB long. Running it in the Windows console works fine. Unfortunately programmatically this hangs indefinitely at WaitForExit. Note also this code does NOT hang for smaller outputs (like 3KB). Is it possible that the internal StandardOutput in ProcessStartInfo can't buffer 7MB? If so, what should I do instead? If not, what am I doing wrong?",
"What are the powers shown by the Rings of Power?",
"Efficiency of a heat pump water heater during the winter In my understanding, heat pump water heaters pump energy from the room around the water tank into the water. Clearly, this must be energy efficient in the summer time, especially if I am using AC anyway. The heat pump water heater may actually cool the house a bit. However, in the winter time the savings are not so obvious. If I am using a heater to heat the home, including the water tank room, then I don't see how there can be any savings. Instead of generating heat using a coil in the water, I generate heat in another area of the house which gets pumped into the water. A joule is a joule and I need to get it from somewhere. It seems to me that if I am actively heating the house, and lets assume everything is electric, then a heat pump water heater cannot be more efficient than a traditional one. Am I missing something in the winter case?",
"How can I prove that $xy\\leq x^2+y^2$? How can I prove that $xy\\leq x^2+y^2$ for all $x,y\\in\\mathbb{R}$ ?",
"How can I remove the first line of a text file using bash/sed script?",
"I have some files with TikZ graphics that have suddenly changed appearance since I upgraded to PGF-2.10. Here is a minimal example: \\documentclass{minimal} \\usepackage{tikz} \\begin{document} \\pgfversion\\par \\begin{tikzpicture} \\draw[blue] plot[domain=-1:1] (\\x,{\\x^2 + \\x^3}); \\draw[xshift=4cm,blue] plot[domain=-1:1] (\\x,{(\\x)^2 + (\\x)^3}); \\end{tikzpicture} \\end{document} In PGF 2.00 I had this: while in 2.10 I have this: The one on the left in PGF 2.10 looks like the graph of y=x^3 but could also be y=x^3 + x|x|. This has been on sourceforge and on the pgf-users mailing list. Although I haven't checked myself yet, the bug remains open and some of the commenters below report that problems still exist in the CVS version. Geoffrey Jones notes the bug is in the 2.00 CVS version: Hi Matthew, not an answer, just an FYI that's too large for the comment box. My compile of your code through pgf v2.00 produces the result you see with v2.10, above: I.e., the difference you observe seems to pre-date v2.10. There is a workaround by inserting parentheses. But since I have so many old lecture files I'd rather find a solution that doesn't involve rewriting my TikZ code. And I'm squeamish about using the CVS bleeding edge code even if it were fixed, since I don't want to introduce other problems. Ideally I'd like a simple patch that I can stick at the preamble, or just fix one file in the PGF distro.",
"In eevee, shadows are clipped by camera distance As shown in the gif, the shadow in eevee is clipped by the camera distance. The same is true for F12 rendering. Where are the options to improve this issue?",
"What can a wizard take instead of a familiar at 1st level? The familiar is brilliant feature for a wizard, but not for a prestige multiclassing one. Such a wizard stops upgrading his familiar once getting off the main road. So if he still wants to utilize his familiar, he should take the obtain familiar feat, but this would made the basic familiar feature redundant. So what options can a wizard take instead of gaining a familiar at 1st level?"
] | medi_sts_stackexchange_dupe |
How to copy file with a different name, but same extension? | Extracting extension from filename in Python | [
"Intersection of powers of an ideal in a Noetherian ring Given a Noetherian ring $R$ and a proper ideal $I$ of it. Is it true that $$\\bigcap_{n\\ge 1} I^n=0$$ as $n$ varies over all natural numbers? If not, is it true if $I$ is a maximal ideal? If not, is it true if $I$ is the maximal ideal of a local ring $R$? If not, is it true under additional assumptions on $R$ (like $R$ is regular)?",
"Ubuntu 19.04 and Gnome desktop icons",
"Automatically put PGFPlots xtick scale label in x axis label",
"CloudPagesURL() value not showing in HTML I am trying to pass the email value from a data extension to HTML. I am using the CloudPagesURL() in my email in attempt to grab the subscriber's email. Here is my code syntax that I am attempting to use: Email Code: <p><a title=\"MyPage\" href=\"%%=RedirectTo(CloudPagesURL(505,'Email Address',@EmailAddress))=%%\" alias=\"ThisAlias\" conversion=\"false\">Click to unsubscribe page 505</a></p> CloudPage AMPScript Code: %%[ VAR @emailAddress SET @emailAddress = RequestParameter(\"emailaddr\") ]%% Cloudpage HTML Code: <td width='155' valign='bottom'><input type='text' name='Name1' value='%%=v(@emailAddress)=%%' id='Name1' /></td> Any reason as to why this doesn't work? My syntax might just be wrong or I might be using the CloudPagesURL() function incorrectly.",
"Autodesk Maya symbol lookup error on start after installing AMD proprietary driver on Ubuntu 18.04 I've installed Maya 2018 on Ubuntu 18.04 and tested it with the amdgpu driver (open source) and it launched without problems, but some components were not working with the open source driver so I tried amd gpu pro 18.20 (amd closed-source driver). I ran ./amdgpu-pro-install but since then Maya won't work and gives this warning message: ./maya.bin: symbol lookup error: /usr/autodesk/maya2018/bin/.. /lib/libOGSDeviceOGL4-16.so: undefined symbol: EVP_CIPHER_CTX_init My card is hd7770 and it's supported by the amd closed driver, so what am I doing wrong?",
"The currently proposed Gravitational wave detection apparatus consists of Michelson Interferometer which is supposed to measure distances of the order of $10^{-22}$m. But the wavelength of the light used is in the order of micrometers ($10^{-6}$m). How is this possible? The conventional way to measure distance is by counting the interference fringes. But for path difference smaller than wavelength of laser light this is not possible.",
"When to use self references or composition?",
"How to make a ISO file out of a folder containing Windows setup files I copied the Windows 8 CD to my HDD. I want to convert that folder to an ISO and use that to create a bootable USB. Please tell me how I can make an ISO image out of that folder containing files. This is my folder which I want to convert to a ISO file:",
"Drupal out of the box comes with a page (which is the default homepage) that is assigned to the node path. How do I avoid users reach it, and redirect them to the actual homepage of the site?",
"What's the name for the relativistic paradox with the train/car travelling over a gap? There is a relativistic paradox I was introduced by a friend in Ithaca (Courtenay Footman). It involves a vehicle travelling over a ravine relativistically, so it's in the general family of ladder paradoxes. There are many ways to phrase it, but here's a simple one. A three-car train with each car of length $L$ is travelling over a bridge across a ravine. (Assume that the couplings between cars are stiff: this train does not bend.) Unfortunately, some evil genius has precisely removed a length $6L$ of the track. The train however is relativistic, travelling at a speed such that $\\gamma \\approx 12$. In the reference frame of the ground, the train should appear to be 1/24th the size of the gap, which suggests that it will fall a little and should crash into the bridge opposite. But in the reference frame of the train, each car of the train is at least twice as long as the gap and aside from the very front wheel and the very back wheel, which need to be supported by rigidity, everything is constantly well-supported. This suggests that the train makes it. Who is right? I vaguely remember that as an undergraduate knowing only a little relativity, I trusted the train's perspective because it's at rest in that perspective, and Courtenay said that this was ultimately correct after a lot of details got resolved. But I do not remember all of these details such that I could work it out for myself. So I'm looking for some discussion that's a little more well-sourced or authoritative. What is this paradox called, and what literature has addressed the issue?",
"Is leaving airport at a stop before the final destination illegal? There are tricks such as or which involve booking a ticket composed of several connecting flights, then leaving the airport at a stop, possibly even \"hopping off\" a plane (intermediate landing). Rationale: Sometimes these tickets are cheaper than a ticket to one of the stops. So one adds an additional leg and discards it. Some people say that when using such tricks, one enters a legal gray area. But I wonder: Could leaving the airport at a stop really be illegal, i.e. violating an airline's or a travel agency's terms? Also there are suggestions that one should not request an upgrade, because then the trick may be discovered by the airline. Here I wonder: How can they know that one will throw away the last leg?",
"How to make sense out of the $\\epsilon-\\delta$ definition of a limit? The informal intuition for the limit of a function is this: What is the value of the function $f$ as $x$ gets infinitely close to $c$? How on earth does this monster $$ \\lim_{x \\to c} f(x) = L \\iff (\\forall \\varepsilon > 0)(\\exists \\ \\delta > 0) (\\forall x \\in D)(0 < |x - c | < \\delta \\ \\Rightarrow \\ |f(x) - L| < \\varepsilon)$$ capture our intuition? I want the answer to explain and motivate every bit of this formal statement. Remember: I am able to parse the statement, I just don't see how it captures our informal intuition.",
"Yesterday, Asaf Karagila's sparked an extensive discussion on ways of proving that all countable ordinals are embeddable in $\\Bbb Q$, and whether particular solutions to this use the Axiom of Choice. Since the arguments used to prove this can be shady on their use of Choice when formulated tersely, fully fleshed out answers are appreciated. To be concrete, this question asks for proofs of the following fact: All countable ordinals $\\alpha < \\omega_1$ are order-embeddable in the rationals $\\Bbb Q$. Especially answers avoiding the Axiom of Choice are appreciated. Of relevance and related interest is (but it's not a duplicate, since that question asks for explicit embeddings).",
"Why do electrons around nucleus radiate light according to classical physics As I navigate through physics stackexchange, I noticed . Electrons radiate light when revolving around nucleus? Why is it so obvious? Note that I do not know anything about quantum mechanics - and I just want classical stories.",
"Is $\\lim\\limits_{n\\rightarrow\\infty} n$ comparable to $\\aleph_0$? For example, can we say: $\\infty=\\lim\\limits_{n\\rightarrow\\infty} n < \\aleph_0$? These are two different types of structures. The limit being like the length, extension, or just generic magnitude and the other being cardinality of a set. Can we compare magnitude to cardinality? Intuitively, we can reach $\\aleph_0$ by counting the natural numbers on the number line and in the process will be approaching $\\infty$. Which leads me to believe $\\infty\\leq\\aleph_0$. But I can't see why it should be a strict inequality. I feel like they should be of equal magnitude. I saw on a recent comment that $2^\\infty=\\infty$, but are those infinities really the same? It seems not to me. Of course we (usually) have that $2^{\\aleph_0}=\\aleph_1$ where ${\\aleph_0}$ and $\\aleph_1$ are clearly two very distinct infinities, countable vs uncountable at least. Maybe one might argue that as far as the concept of magnitude is concerned, all infinities are \"equal\".",
"How was this answer posted after this question was closed?",
"How can I be a good reviewer? Someday, as strange as it feels to me right now, I might be asked to review an article for publication. A while ago my advisor and I were talking about this, and it hit me that I don't really know how to be a good reviewer, beyond the basics: Respond timely to things, Make your report clear and detailed, Have actually read the paper, Etc. Beyond this, though, I'm completely in the dark. So I'd like to ask: What's some good advice for a first-time reviewer? My field is math, but I'm really interested in general advice (although advice specific to math, or another field, would also be interesting and useful). I'd like to make this question \"community wiki\" or analogous, but I can't seem to figure out how - if someone can do so, please do, and then I will delete this paragraph.",
"Are there examples of third-(or higher)-order linear differential equations in physics or applied mathematics? The classical second-order linear ordinary differential equation is that named after Sturm and Liouville: formally, \\begin{equation} (pu')'=ru. \\end{equation} It arises naturally in many physical situations, for example through radial considerations of Schrödinger's equation. A higher-order \"analogue\" of it is the Orr$-$Sommerfeld equation, which, after relabelling the coefficients, may be written as \\begin{equation} (\\phi u'')''=\\psi u. \\end{equation} It also arises naturally, namely from certain simplifications applied to Navier$-$Stokes' (in)famous equation, and describes to great accuracy the cross-stream behaviour of channel fluid flow. I have been thinking long and hard about whether there are additional higher-order linear differential equations that emerge naturally from our mathematical models of the world. It even seems pretty much all of the linear partial differential equations (heat, wave, Schrödinger, etc.) are of second order. Does anybody know of higher-order examples?",
"shebang line not working with cr-lf",
"Anyone can comment this ruby code?"
] | medi_sts_stackexchange_dupe |
How may i run an application and pass parameters to it through c#? | How do I start a process from C#? | [
"Difference between projection and datum? What's the difference between a projection and a datum?",
"I recently updated my profile bio (from Arqade) and clicked 'Save and copy changes to all public communities'. This appears to have broken/reset my profile picture on all but Arqade. Note that I did not update my profile picture as part of my changes. Arqade: Meta SE for comparison: I haven't touched my profile picture in years. Is this a bug? Update: It appears my profile pic across all communities has been set back to 'Identicon'. I went on to Stack Overflow and changed my profile picture back to 'Gravitar' and clicked 'Save and copy to all communities' again, but this did not update my profile picture anywhere but SO. (I did the same on Sustainability to be doubly sure). Update 2: This is a persistent bug - I had changed most of my SE communities back to my 'Robotnik' display pic over the past little while. Today I edited my profile again on Arqade, Clicked 'Save and copy' - and the display pic reverted back to identicon again across all sites. Update 3: I have re-uploaded my profile picture and the 'Save and copy' function worked. It appears that this is actually a bug to do with the old images from Gravatar.",
"How to search for upcoming conferences that will be held in a specific subject",
"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?",
"If $\\operatorname{ran} F \\subseteq \\operatorname{dom} G$, then $\\operatorname{dom}(G \\circ F) = \\operatorname{dom} F$.",
"I'm preparing for my exam, but I have difficulties in perceiving why there is a $\\frac{1}{2}$ in the distance formula $d=\\frac{1}{2}at^2$?",
"It appears that in PHP objects are passed by reference. Even assignment operators do not appear to be creating a copy of the Object. Here's a simple, contrived proof: <?php class A { public $b; } function set_b($obj) { $obj->b = \"after\"; } $a = new A(); $a->b = \"before\"; $c = $a; //i would especially expect this to create a copy. set_b($a); print $a->b; //i would expect this to show 'before' print $c->b; //i would ESPECIALLY expect this to show 'before' ?> In both print cases I am getting 'after' So, how do I pass $a to set_b() by value, not by reference?",
"Limit of some specific \"almost Riemann\" sums I'm just beginning my journey with calculus, and this problem is giving me hard time. $$\\lim_{n \\to \\infty} \\sum_{k=1}^n \\frac{k}{{n^2+k}}$$ I calculated first three sums: $$\\frac{1}{2}, \\frac{16}{30}, \\frac{117}{220}$$ From that I guessed that the limit is $$\\frac{1}{2}$$. The hard part, though, is proving it. I reckon that the squeeze theorem should be used here, but I can't seem to find anything useful. (The only sequences I was able to figure out give me limits of 1 and 0, so it's not something I can use) Maybe you guys can give me some ideas or theorems that can be of use here? I know that this problem could be probably solved using some more advanced calculus techniques, but I'm not familiar with derivatives and integrals yet, and this problem is in the limits section of my problem book, so I'm not supposed to use anything more advanced.",
"Setting environment variables on OS X What is the proper way to modify environment variables like PATH in OS X? I've looked on Google a little bit and found three different files to edit: /etc/paths ~/.profile ~/.tcshrc I don't even have some of these files, and I'm pretty sure that .tcshrc is wrong, since OS X uses bash now. Where are these variables, especially PATH, defined? I'm running (Leopard).",
"I'm running Fedora 25 and I need to take a few particular screen captures so I've read that shutter is a great tool for that. Sadly I am unable to use it for some reason. Whenever I try to take a screenshot this is the result:",
"Keyboard Layout indicator doesn't display current layout in Ubuntu 18.04 (empty drop down box) I see an empty drop down box where the language code of the should be. To reproduce the bug: Lock screen or log out and log in again. I also get the same behavior on the lock screen at the time when I try to log in with my password: After I tried the workaround (below) the language code on the login screen disappeared as soon as I typed the first character of my password. Workaround (not permanent): Switching with keyboard (Super+space) or mouse. System info: Ubuntu 18.04.1 LTS, GNOME 3.28.2. Please if also affects you.",
"Select Permissions Across Multiple Schemas Within the Same Database I have been asked by a client to implement some views for reporting purposes, the views will be accessed via PowerBI, Excel and SSRS. The designated user will only have access to the view and no underlying tables must be available to the user. The problem I have encountered in that the SQL within the view touches 3 different schemas (All within the same database): Pupil Provider Security The view is: CREATE VIEW dbo.vTestPermissions AS SELECT a.Column1, b.Column1, c.Column1 FROM Pupil.Table1 a JOIN Provider.Table2 b ON a.Column1 = b.Column1 JOIN Security.Table3 c ON a.Column1 = c.Column1 The owners of the Tables/View are as follows: Pupil.Table1 - Owner Pupil Provider.Table2 - Owner Provider Security.Table3 - Owner Security vTestPermissions - Owner dbo When I select from the view I get an error: The SELECT permission was denied on the object 'table3', database 'TEST', schema 'Security' I have tried giving SELECT permission with and without the GRANT option to the schema, and the tables, but that makes the underlying tables available to the user. Any help on this will be greatly appreciated.",
"Checking the way to stop duplicate names - validation rules or triggers",
"How to pass a list of columns to data.table where some are predetermined",
"Replicate data from one list to another list sharepoint",
"How would I be able to get N results for several groups in an oracle query. For example, given the following table: |--------+------------+------------| | emp_id | name | occupation | |--------+------------+------------| | 1 | John Smith | Accountant | | 2 | Jane Doe | Engineer | | 3 | Jack Black | Funnyman | |--------+------------+------------| There are many more rows with more occupations. I would like to get three employees (lets say) from each occupation. Is there a way to do this without using a subquery?",
"When do I use \"I\" instead of \"me?\" From some comments in the answers for (now deleted, 10k only), there's confusion around the usage of I vs. me: While the sentence, \"the other attendees are myself and Steve,\" is agreed to be incorrect, there's confusion about whether the correct form is \"the other attendees are me and Steve\" or \"the other attendees are Steve and I.\" (I've always used the heuristic of removing the other people from the sentence, so I always thought \"the other attendee is me\" would be correct, instead of \"the other attendee is I.\" Is this true, or am I using a flawed heuristic?)",
"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.",
"Convert .bbl file to .bib file How can I convert a .bbl file to a .bib file. I lost my .bib file but I still have my .bbl file. Now , I need to add more references to my .bbl file according to a specific format which I need to produce using Bibtex, so how can I convert my .bbl file to a .bib file so I can add the new references according to the format. Thanks for any insight.",
"I think it would be nice to have a \"friends list\" on Stack Overflow. This would allow us to be able to follow the questions and answers that are posted by users that we want to watch/monitor. I suggest it be implemented in the same fashion as DotNetKicks.com; where you can add someone to your \"friends list\" without them needing to approve you the way that other social networks do it. It should be completely open for us to add anyone to our \"friends list\" that we like."
] | medi_sts_stackexchange_dupe |
How to select data from Database which contains special characters like aٌ ,Á, É? | UTF-8 all the way through | [
"Prerequisites for Algebraic Geometry Is it possible to get into algebraic geometry by just knowing calculus and linear algebra or is this too far of a stretch? If not could anyone give me a list of book/lecture notes recommendations in chronological order to dive into algebraic geometry with my state of knowledge? Thanks",
"Does the series $\\sum\\limits_{n=1}^\\infty \\frac{1}{n^3 \\sin^2n}$ converge or diverge? I have this series given by $$\\sum\\limits_{n=1}^\\infty \\frac{1}{n^3 \\sin^2n}.$$ I know that the terms are all nonnegative. Can I get a subsequence of $\\frac{1}{n^3 \\sin^2n}$ such that its sum diverges to $+\\infty$?",
"Have Google index different languages at the same URL instead of just the default (English) I have a multilingual PHP site. I have set English as the default language. The language changes automatically according to the browser settings. If it is French, the site will be seen in French. However in the Google search results, even if I have the browser in French, the English language appears in the results. How can I fix that? To be clear I don't want to use subdomains or URLs like www.example.com/fr/. I would like it to work like Facebook.",
"How do I check an iOS device's battery health?",
"Remove category & tag base from WordPress url - without a plugin",
"What are the limitations of healing magic? While reading Sorcerer's Stone, I just finished the chapter where Harry walks in on Snape and Filch bandaging Snape's leg. In a previous chapter Neville falls off of his broom and we see that magic can easily heal his broken wrist. If magic can heal an injury like broken bones, why wouldn't Snape heal his leg, which was just torn up by a 3-headed dog? My initial thought was that only certain people specialize in healing magic, but while poking around this site I came across this question: This shows that Snape had at least some healing abilities. So why didn't he heal his own leg? Are there limitations that prevented Snape from healing his own wounds?",
"According to the official sources, is the radioactive green crystal that serves as Superman's Achilles' heel actually composed of the noble gas krypton, or is it supposed to be made out of some other substance? If so, what is that substance?",
"How do I calculate standard errors for sums of OLS coefficients?",
"Do Triggered effects stack?",
"Add space before and after tabular environment The tabular environment does not add any vertical space before or after it. This looks odd, in my view. What is the \"correct\" or \"best\" way to add some space? Also, why is there more space after the tabular environment than before it, as seen in the example below? \\documentclass{article} \\begin{document} \\noindent Here is a line with some text in it. \\begin{tabular}{*4{l}} Worg & Worg & Worg & Worg\\\\ Worg & Worg & Worg & Worg\\\\ \\end{tabular} \\noindent Here is another line with some text in it. \\end{document}",
"Connect external hard drive to Ubuntu I have an NTFS external hard drive that contains only Windows XP data. How do I connect it to Ubuntu?",
"Impact of denied entry to Croatia on trying to enter a Schengen country with a valid visa",
"I try to prove the following formula: $$n!=\\prod_{k=1}^n \\operatorname{lcm}(1,2,...,\\lfloor n/k \\rfloor)$$ I noticed that $\\upsilon_{p}(\\operatorname{lcm}(1,2,...,\\lfloor n/k \\rfloor)) = s$ iff $\\lfloor n/(p^{s+1}) \\rfloor < k \\leq \\lfloor n/(p^{s}) \\rfloor $",
"Tikz /.style with two parameters How do I pass two parameters to a tikz style? I would like to do something like this: \\begin{tikzpicture}[ transformer/.style={draw, cylinder, gray!80, rotate=90, minimum height=#1, minimum width=#2}, And then, I want to use this style in a node: \\node [transformer{2.3cm}{1cm}] () at (0,0.6) {};",
"Is openssl rand command cryptographically secure? I'm wondering if the openssl rand command produces cryptographically secure random bytes. For example when in need for a random password or token: openssl rand -hex 32 The man page unfortunately does neither state it's cryptographically secure, nor that it's not. On the one hand, I think this is openssl, its sole purpose is to do cryptography. On the other hand, the man page states something about reading and writing seed data instead of directly querying a CSPRNG. So it is somewhat unclear for the end user. Does someone know?",
"Round function in Excel, worksheet function vs VBA I had an application for returning closest matches to certain values in a large cluster of values( as in my earlier ) and I chose a VBA solution. While in the course of using the said application, I observed that the results for the value of 0.5 were not correct. I had been using the VBA Round function which I found to be returning 0 for 0.5 rounded to integer whereas the worksheet round function returns 1. Strangely, the VBA round function returns 2 for 1.5. I had to substitute the worksheet function in place of the VBA one. Am I missing something?",
"Equivalent conditions for a preabelian category to be abelian Let's fix some terminology first. A category $\\mathcal{C}$ is preabelian if: 1) $Hom_{\\mathcal{C}}(A,B)$ is an abelian group for every $A,B$ such that composition is biadditive, 2) $\\mathcal{C}$ has a zero object, 3) $\\mathcal{C}$ has binary products, 4) $\\mathcal{C}$ has kernels and cokernels. A category $\\mathcal{C}$ is abelian if it is preabelian and satisfies: 5) every monomorphism is a kernel and every epimorphism is a cokernel. Define the coimage of a map to be the cokernel of its kernel, and the image to be the kernel of its cokernel. We have the following commutative diagram: where $\\overline{f}$ is the only existing map (because of universality of kernel and cokernel). I'm having trouble proving the following: A preabelian category $\\mathcal{C}$ is abelian iff $\\overline{f}$ is an isomorphism. The converse is easily shown, I'm having trouble proving $\\Rightarrow$...",
"if $x+2y+z=4$ and $x,y,z$ are real number. then find maximum value of $xy+yz+zx$ putting $x+z=4-2z$ in $y(x+z)+zx = y(4-2z)+zx = 4y-2yz+zx$ i wan,t be able to go further,could some help me with this",
"Why is it called an “Indian file”?",
"How to open the default webbrowser using java"
] | medi_sts_stackexchange_dupe |
How do I correct an HSA distribution when I was refunded by a health provider? | Can I get a rebate after using my HSA? | [
"Form inside a table",
"How to install and configure Wine?",
"How to handle WndProc messages in WPF? In Windows Forms, I'd just override WndProc, and start handling messages as they came in. Can someone show me an example of how to achieve the same thing in WPF?",
"How much of an $n$-dimensional manifold can we embed into $\\mathbb{R}^n$? I observed some naive examples. Spheres, for example, when we cut out one point, can be embedded into $\\mathbb{R}^n$. And if we cut out a measure zero set of a projective space, it can be embedded into the Euclidean space of the same dimension. So I wonder if all manifolds can be embedded into a same dimensional Euclidean space when we cut out a measure zero set? Can anyone prove it or disprove it by giving me some counterexamples?",
"If a variable is declared as static in a function's scope it is only initialized once and retains its value between function calls. What exactly is its lifetime? When do its constructor and destructor get called? void foo() { static string plonk = \"When will I die?\"; }",
"Does Google use the Meta Description Tag for Description of Page? When you do a Google search, there is typically a snippet of sample content from the page. I seem to recall that the Meta Tags can influence this choice of descriptive sentences. Is that correct(?) and if so, is it the Meta Description Tag? Also, how many characters is Google's descriptive sentences limited to?",
"I have two question concerning information content of qubit. Question 1: How many classical bits are needed to represent a qubit: A qubit can be represented by a vector $q = \\begin{pmatrix}\\alpha \\\\\\beta \\end{pmatrix}, ~~ \\alpha, \\beta \\in \\mathbb{C}$. So, we need four real numbers to represent it. But when facts that (i) $|\\alpha|^2+|\\beta|^2 = 1$ and (ii) two qubits which differ in global phase only are indistinguishable, are taken into account, only two real numbers are necessary (angles on Bloch sphere). Moreover, we can choose a precission of the qubit representation (i.e. number of decimal places in $\\alpha$ and $\\beta$ or Bloch sphere angles) which influence number of classical bits needed to described the qubit. So, it seems to me that the qubit representation cannot be used for measuring qubit information content but only memory consumption in simulation. Am I right? Question 2: What is an (effective) information content of qubit: A superdense coding enable us to send two classical bits via one qubit. But on the other hand you need two entangled qubits prepared in advance. Given these facts, what is an information content of qubit? One or two classical bits? Or do I need to use another angle of view given the fact that qubits are \"continuous\" (i.e. described by complex numbers $\\alpha$ and $\\beta$)?",
"How to Flatten a Multidimensional Array?",
"Why does this happen with Longclaw? Spoilers ahead for \"Beyond the Wall\" (Game of Thrones, S07E06) Toward the end of the episode, \"Beyond the Wall\" (Game of Thrones, S07E06), we see a close-up shot of Longclaw Then, once Jon Snow emerges from the water, Longclaw appears to be opening its eyes You can get a much better picture of it . Is this an Easter Egg from the Visual Effects department, or is there an in-universe explanation behind this? Or was this not planned at all by the production team, and this is merely a coincidental, accidental lighting/water effect, that just happens to be timed with the dramatic tension of Jon Snow possibly being dead, and the relief of him being alive?",
"How can I break on an unhandled exception in ASP.NET?",
"I want to download free app in my iPod touch device and i have the following doubts. Kindly resolve me doubts. when i try to download it asks my credit card security number. since i am trying to download free app , why do i need to provide my credit card security code? Will i be debited for downloading the free app from app store? I cant able to find any information regarding this on apple. Please provide me some references about this from apple and please resolve my doubts. Thanks a lot.",
"I would like to highlight specific digits in a number. Since the number is large I would like to use \\num{} from . Of course I can do it manually as in the MWE below, but was hoping that there might be an easy way to use the commented out syntax to accomplish this: Code: \\documentclass{article} \\usepackage{xcolor} \\usepackage{siunitx} \\newcommand*{\\Color}[2][red]{\\textcolor{#1}{#2}}% \\begin{document} \\num{99 976} 88\\,9\\Color{76} %\\num{88 9\\Color{76}} 77\\,\\Color{976} %\\num{77 \\Color{976}} \\end{document}",
"reason for exec in wrapper scripts I have seen wrapper script examples which in a nutshell are following: #!/bin/bash myprog=sleep echo \"This is the wrapper script, it will exec \"$myprog\"\" exec \"$myprog\" \"$@\" As seen above, they use exec to replace the newly created shell almost immediately with the $myprog. One could achieve the same without exec: #!/bin/bash myprog=sleep echo \"This is the wrapper script, it will exec \"$myprog\"\" \"$myprog\" \"$@\" In this last example, a new bash instance is started and then $myprog is started as a child process of the bash instance. What are the benefits of the first approach?",
"Export multiple objects to .obj",
"What games save to the Steam Cloud?",
"How is Leibniz's rule for the derivative of a product related to the binomial formula? Possible Duplicate: The describes the expansion of the $n$th power of the sum $(a+b)$: $$(a+b)^n = \\sum_{k = 0}^n {n\\choose k}a^kb^{n-k}$$ In calculus, there is a generalization of the product rule called , which describes the expansion of the $n$th derivative of the product of two functions $f$ and $g$: $$(fg)^{(n)} = \\sum_{k = 0}^n {n\\choose k}f^{(k)}g^{(n-k)}$$ It's not difficult to prove using the product rule and induction, what I'm really trying understand here is why the formula is true. Is there a way to prove it using the binomial formula? How are these two formulas related? Is there a combinatorial proof for Leibniz's rule like there is for the ? I understand this question is a bit vague, but I hope you'll agree that these two formulas look so similar it just feels like there should be some relation between the two. Of course this is not necessarily true, but I'm hoping it's not just a crazy coincidence.",
"Why is the first band on a resistor never black? I'm taking an electronic circuit analysis class, and I was asked to give the color of the 3rd band of a 1MΩ resistor. My answer was blue, thinking it could be black-brown-blue (01 * 1MΩ), but the automated quiz said the correct answer was green (brown-black-green). So I did some research, thinking there were just multiple correct answers, and I read in a few places that the first band on a resistor is never black (0). Why is this? Does a black first band have some other meaning? It would really help me remember it if I knew the history or reasoning behind it. This question has been answered. For further reading on zero-ohm resistors mentioned in the answers and comments here, I found these questions and answers helpful:",
"Using both “one’s” and “their” to refer to the same entity",
"How to get color of pixel in coordinates 123, 456 in screen? My AppleScript app needs to get color of pixel in coordinates 123, 456 in screen.",
"If a stock doesn't pay dividends, then why is the stock worth anything? I read somewhere that companies are not required to pay dividends to shareholders (this is correct, yes?). If so, then if company A never pays dividends to its shareholders, then what is the point of owning company A's stock? Surely the right to one vote for company A's Board can't be that valuable. What is it that I'm missing?"
] | medi_sts_stackexchange_dupe |
Help remembering a Putnam Problem | Find all functions $f(x)$ such that $f\left(x^2+f(y)\right)$=$y+(f(x))^2$ | [
"When & how did Yoda come to know about the Rule of Two? At the very end of Star Wars Episode I: The Phantom Menace, Mace Windu and Yoda had this conversation: Mace Windu: There is no doubt. The mysterious warrior was a Sith. Yoda: Always two there are....no more...no less. A master and an apprentice. When did he come to know about the secret ? And, how? Any evidence from ?",
"How to run scripts without typing the full path? I'd like to know if there is a way to run program/shell script without typing full path: /opt/idea/bin/idea.sh",
"I want to see if my process makes a lot of context switches. I also want to see how manpulating task groups affects the number of context switches.",
"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$.",
"Student missing exam for “medical reasons”",
"Is it possible to run Snow Leopard on a LATE 2011 MacBook Pro? I want to buy a new MacBook Pro, from Apple. However I want to run Snow Leopard instead of Lion. I did some Google searches and found a few success stories of people who got SL to run on their early-2011 MBPs. I didn't find much of any experiences of people doing the same on a late-2011 MBP though, so I'm wondering (and really hoping!) if it's possible?",
"How to replace one char with another in all filenames of the current directories?",
"Apparently, the Fisher analysis aims at simultaneously maximising the between-class separation, while minimising the within-class dispersion. A useful measure of the discrimination power of a variable is hence given by the diagonal quantity: $B_{ii}/W_{ii}$. I understand that the size (p x p) of the Between (B) and Within-Class (W) matrices are given by the number of input variables, p. Given this, how can $B_{ii}/W_{ii}$ be a \"useful measure of the discrimination power\" of a single variable? At least two variables are required to construct the matrices B and W, so the respective traces would represent more than one variable. Update: Am I right in thinking that $B_{ii}/W_{ii}$ is not a trace over a trace, where the sum is implied, but the matrix element $B_{ii}$ divided by $W_{ii}$? Currently that is the only way I can reconcile the expression with the concept.",
"Using Fermats prime numbers to prove that there is infinitely many prime numbers",
"Local collection of Python packages: best way to import them?",
"How to provide translations for a WordPress TinyMCE plugin? I know that I can get my translations into JavaScript doing: $MyTranslations = array( 'translation1' => __(\"Some String 1\", \"MyTranslations\"), 'translation2' => __(\"Some String 2\", \"MyTranslations\") ); wp_localize_script( 'jquery', 'my_translations', $MyTranslations ); But looking at some of WordPress TinyMCE plugins they use calls like this: { title : ed.getLang('advlink.link_desc'), ... } How is WordPress getting their translations into getLang()? Am I supposed to do it this way or do I just use my first bit of code and access the variables directly like: { title : my_translations.translation1, ... }",
"Prove that the functions $f(z)$ and $\\overline{f(\\overline{z})}$ are simultaneously holomorphic. I take this to mean that $f(z)$ is holomorphic if and only if $\\overline{f(\\overline{z})}$ is holomorphic. Let $g(z)=\\overline{f(\\overline{z})}$. Note that $\\overline{g(\\overline{z})}=f(z)$. So it suffices to prove that if $f(z)$ is holomorphic, then $g(z)$ is holomorphic. Write $f(z)=u(z)+iv(z)$. Since $f(z)$ is holomorphic, the real and imaginary parts satisfy the Cauchy-Riemann equations: $$\\frac{\\partial{u(z)}}{\\partial{x}} = \\frac{\\partial{v(z)}}{\\partial{y}}, \\frac{\\partial{u(z)}}{\\partial{y}} = -\\frac{\\partial{v(z)}}{\\partial{x}}.$$ We have $g(z) = u(\\overline{z})+i(-v(\\overline{z}))$. To prove that $g(z)$ is holomorphic, we must prove that its real and imaginary parts satisfy the Cauchy-Riemann equations: $$\\frac{\\partial{u(\\overline{z})}}{\\partial{x}} = \\frac{\\partial{(-v(\\overline{z}))}}{\\partial{y}}, \\frac{\\partial{u(\\overline{z})}}{\\partial{y}} = -\\frac{\\partial{(-v(\\overline{z}))}}{\\partial{x}}.$$ How can we obtain this from the above relations?",
"Getting new files to inherit group permissions on Linux I am having a problem with permissions on a Linux server. I am used to BSD. When a directory is owned by a group the user who owns it isn't in such as www-data, files created in it will be owned by that group. This is important because I want files to be readable by the webserver (which I will not run as root) but so a user can still put new files in the directory. I can't put the users in www-data because then they can read every other users websites. I want the webserver to read all websites, I want users to be able to change their own. The permissions are set like this on the folders at the moment.... drwxr-x--- 3 john www-data 4096 Feb 17 21:27 john It is standard behavior on BSD for permissions to work this way. How do I get Linux to do this?",
"At the moment I'm working with the . For this I read the following paper: . But I have some mathematical problems with this formalism. I don't really see why this is a variation principle since it is opartor-valued. The action principle is defined by: $\\delta S = G_1 -G_2$, where $S$ is the action operator $S = \\int_{t_1}^{t_2} dt ~L$ and $G$ the generator operators of the transformations. What does it mean that the action principle is operator-valued? For the classical action where $S$ is real we search for a stationary point but for operators? I also have a problem that $\\delta S \\neq 0$. What interpretation has this additional term $G_1 - G_2$?",
"How do I remove top bar on secondary monitor??",
"Infectious chicken pox My 21 year old son has chicken pox and has been home for a few days now. The spots are just starting to crust over. I work with elderly people but have had chicken pox as a child - should I carry on working while he is here (hes usually away at Uni) and infectious?",
"Let $X$ ~ $Bin(n,p)$ and $Y$ ~ $Bin(m,p)$ be two independent random variables. Find the distribution of $Z=X-Y$. see also I figured this out: $$ P(Z=z)=\\cases{\\sum_{i=o}^{min(m,n)} Bin(k+i,n,p)*Bin(i,m,p), &if $z\\ge0$;\\cr \\sum_{i=0}^{min(m,n)} Bin(i,n,p) * Bin(i-z, m, p),&otherwise. \\cr}$$ I also validated it by Monte Carlo simulation. For $n=30$, $m=20$ and $p=0.5$, I get the following distribution, where the circles are the analytical probabilities and the line connects the MC estimates. Because that looked to me pretty much like a binomial distribution, I gave it a try and figured out that its actually a binomial, just shifted by m to the left. This can be simply written as $P(Y=y) = Bin(y+m, m+n, p)$. Hence, given equal success probabilities, the sum of two independent binomially distributed random variables is binomial, but also their difference, just shifted to the left. This question here is actually the same as mine, but received no answer and only the comment that there would be no simple formula. But the above formula looks pretty simple to me. Is it correct that for the case of equal success probabilities, the above equations actually describes the distribution of $Z=X-Y$? I read in a book that $Z$ could not be binomial distributed because it had negative support. Is it right to call it a shifted binomial?",
"How can you check for a #hash in a URL using JavaScript?",
"Summing the power series $\\sum\\limits_{n=0}^\\infty (-1)^n \\frac{x^{2n+1}}{2n+1}\\prod\\limits_{k=1}^n\\frac{2k-1}{2k} $ 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$.",
"How strong is Superman on Krypton? When Superman goes back to visit his home planet (using his ability to travel through time, I guess), is he: an exceptionally strong and athletic Kryptonian? just an average Kryptonian male? a weakling on account of spending a lifetime in the comparative microgravity of Earth? A possibly related question: why is Superman so muscular? What kind of weights does he lift to stay in shape? The answers to are all about Superman's superpowers on Earth compared with other visitors from Krypton; I'm asking about Kal El without his superpowers. Clarification: I'm asking about the \"classic\" Superman, say late Golden to early Silver Age, roughly 1945-1960. (Yes, I know the concept evolved during those years.) I'm not sure what that would be in terms of \"numbered Earths\", those came along after my time. I'm pretty sure the Kryptonians of that era had no superpowers in their native milieu, nor would Kal El if he were deported in space-time to his native world."
] | medi_sts_stackexchange_dupe |
Overriding HomeKey in Android JB and above | override Home key in android ICS | [
"How can I extract a predetermined range of lines from a text file on Unix?",
"How to access QGIS Plugin Repositories from behind a proxy? I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for some reason I am not able to connect with these. Anyone have any ideas why this is the case?",
"How to chat to all I very rarely see chats too all and don't know how to do it myself. Normally it's SHIFT + ENTER The following hotkeys have been tried: - SHIFT + ENTER - CTRL + ENTER - ALT + ENTER",
"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?",
"The final state of 1000 light bulbs switched on/off by 1000 people passing by There are 1000 light bulbs and 1000 tutors. All light bulbs are off. Tutor 1 goes flipping light bulb 1,2,3,4... tutor 2 then flips 2,4,6,8... tutor 3 then 3,6,9...etc until all 1000 tutors have done this. What is the status of light bulb 25? 93? 576? Is there a general solution to find out the status of any light bulb? How many light bulbs are on after all 1000 tutors have gone by? Not homework but a UK university interview question. Please help.",
"Convergence of Ratio Test implies Convergence of the Root Test 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...",
"T SQL Table Valued Function to Split a Column on commas I wrote a Table Valued Function in Microsoft SQL Server 2008 to take a comma delimited column in a database to spit out separate rows for each value. Ex: \"one,two,three,four\" would return a new table with only one column containing the following values: one two three four Does this code look error prone to you guys? When I test it with SELECT * FROM utvf_Split('one,two,three,four',',') it just runs forever and never returns anything. This is getting really disheartening especially since there are no built in split functions on MSSQL server (WHY WHY WHY?!) and all the similar functions I've found on the web are absolute trash or simply irrelevant to what I'm trying to do. Here is the function: USE *myDBname* GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[utvf_SPlit] (@String VARCHAR(MAX), @delimiter CHAR) RETURNS @SplitValues TABLE ( Asset_ID VARCHAR(MAX) NOT NULL ) AS BEGIN DECLARE @FoundIndex INT DECLARE @ReturnValue VARCHAR(MAX) SET @FoundIndex = CHARINDEX(@delimiter, @String) WHILE (@FoundIndex <> 0) BEGIN DECLARE @NextFoundIndex INT SET @NextFoundIndex = CHARINDEX(@delimiter, @String, @FoundIndex+1) SET @ReturnValue = SUBSTRING(@String, @FoundIndex,@NextFoundIndex-@FoundIndex) SET @FoundIndex = CHARINDEX(@delimiter, @String) INSERT @SplitValues (Asset_ID) VALUES (@ReturnValue) END RETURN END",
"I know the correct pronunciation (I think) of the words \"ask\" and \"asked\", but I quite often hear them pronounced as \"ahks\" and \"ahksed\" (almost like an \"r\" sound). I've heard it both in conversation and on television shows (both Australian and American). Are these pronunciations due to dialect, or are they alternative pronunciations or incorrect pronunciations? If they are the correct pronunciation, should I use them or the \"normal\" pronunciation?",
"I have just updated (through Software Update) to Ubuntu 16.04 LTS from 15.10. There are random instances of screen flickering throughout usage. After noticing this issue, I installed Compiz Config Settings Manager, selecting Force fulls screen redraws (buffer swap) on repaint, which did nothing. Is there any way this could be related to compiz settings or is this another issue? EDIT: not fixed after clean install, upgrade to kernel 4.5.2, however screen flickering is reduced, it is every now and then (10 minutes apart). I will see if upgrading to kernel 4.6.0-994-generic will fix this. EDIT: fixed as of kernel 4.6.2 generic, currently running 4.7.2 without any issues.",
"Big Greeks and commutation",
"What does the operator \"<<\" mean in C#?",
"Solving a Diophantine equation with a large solution",
"How can I prove my publication list is mine? In some of the questions regarding author name, it is mentioned that people can use whatever they like, however, they must be consistent across their publications. When it comes to being hired by a university for a tenure track position or by another principal investigator as a researcher, how can someone prove that they are the author of papers when their author name does not exactly match the one on their ID card? How can a principal investigator be sure that the publication list does actually belong to the person claiming them?",
"I'm looking for a fantasy book I read about 10 years ago. I don't remember a lot of it, but there are a few things I still know: The setting was in medieval times. There was no traveling dimensions. I can't recall whether there was magic or not. It wasn't on Earth, but on some invented world. I believe it was a trilogy, with a focus on the son of some nobility. The goal for the characters was to collect a certain number of stones or gems (I believe there were 5 of them), all in certain colours. Every stone has a certain power attached to it. I believe it started out with one or two characters, but the group grew and every character had a certain colour stone at the end. What is important about the gems is that they are unique. It's not part of a bigger magic system, but they are artefacts from somewhere. There are some minor incidents I can recall vividly: They build up a fellowship with some stereotypical fantasy builds: an old school fighter, a minstrel, a female archer and probably more. At one point, they mention that if one of the guards in a country falls asleep on duty, he will be kept awake by his garrison/brothers in arms for seven days. At some point the minstrel falls asleep, and the old fighter teaches him how to stay awake. They travel through a forest full of leeches and other insects to reach one of the stones. Also, I seem to recall there was a member of an underground evil organisation among the nobility, who tried to poison someone and were able to do that because they built up an immunity to the poison. Does anyone has a clue what this series might be? Suggestions by kind people, but not what I'm looking for, are: The Seventh Tower Deltora Quest Diadem Westria Sword of Heavens series",
"Hide the term id on autocomplete widget",
"I want to create a math problem-solution sheet. The coefficients a, b, c must be assigned on the fly at random so the generated pdf will show a numeric quadratic equation rather than a symbolic quadratic equation. Note a must not be zero. \\documentclass{article} \\begin{document} \\section{Problem} Let \\(x_1\\) and \\(x_2\\) be the roots of \\(a x^2 +bx +c=0\\). Find \\(x_1x_2\\). \\section{Solution} \\[ x_1x_2=\\frac{c}{a} \\] \\end{document} Please kindly make the solution get automatically simplified. For example: \\frac{c}{a}=3 when a=2 and c=6. Actually the real case is more complex than this one. Not only the equations must be generated at random, but also the associated graphic plots that I write in PSTricks. I chose Paulo's answer because using Maxima as the computation engine is very very great idea. Other answers are also good and creative, especially Altermundus'.",
"River flowing down a slope",
"My wife is an Indian national with an Indian passport. She holds an indefinite leave to remain in the UK (permanent residence card). Does she need to apply for a Schengen visa before travelling to France or any other Schengen countries?",
"Badge symbol in notification is of the site you're on, not where badge was earned It's so cool that the notification reminds you of the colour of badge you've earned. But I am a little puzzled by the symbols: Is it feasible to use the symbol from the earned site? At the moment it uses the symbol from the site I happen to be on (as you can see by looking to the left of the dropdown in each case.)",
"What is the simplest SQL Query to find the second largest value? What is the simplest SQL query to find the second largest integer value in a specific column? There are maybe duplicate values in the column."
] | medi_sts_stackexchange_dupe |
How to tint UIBarButtonItem background color? | UIToolbar tint on iOS 4 | [
"Debian 10 systemd, how to disable autostart of graphical environments I installed a graphical environment on a server and I have decided that I no longer want to run that environment at boot. How can I disable it with systemd? This is gnome desktop environment.",
"Why must an English learners should know Grammar first? Why must everyone understand Grammar first before learning to speak?",
"How to add existing user to an existing group? I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio www-data useradd: user 'www-data' already exists If I leave out the -G option, bash, prints the help info for useradd: $ sudo useradd audio www-data Usage: useradd [options] LOGIN Options: -b, --base-dir BASE_DIR base directory for the home directory... It's not clear to me from the man page what options I should use to make this work.",
"I am using gedit text editor with embedded terminal in ubuntu 12.04. I'm trying to search for some text using grep. I want to search for this line of code 'type' => 'select' I tried: grep -r '\\'type\\' => \\'select\\'' But grep didn't return any results. So can someone kindly tell me how to search for the code above?",
"Product rule intuition Can anyone think of an intuitive explanation of the product rule? I'm not asking for a derivation. To me it seems like quite an un-untuitive result, as apposed to the chain-rule (which is ironically harder to derive).",
"How to calculate the costs of a weapon enchantment?",
"In blender cycles render engine, how do I put a movie clip on a plane so it displays the video? I want the video to be on the plane if there is a way.",
"How can I open a text file with TextWrangler from the Terminal (command line)?",
"How can I compile this successfully? I have to use algpseudocode package to improve my paper look like more professional But I can't compile successfully. \\usepackage{amsmath} \\usepackage{algorithm} \\usepackage[noend]{algpseudocode} \\makeatletter \\def\\BState{\\State\\hskip-\\ALG@thistlm} \\makeatother \\begin{document} \\begin{algorithm} \\caption{AIP}\\label{euclid} \\begin{algorithmic}[1] \\Procedure{MyProcedure}{} \\State $\\textit{locationAgent} \\gets \\text{position of }\\textit{{agent}}$ \\State $\\textit{locationMD} \\gets \\text{position of }\\textit{{MD}}$ \\If {\\textit{distance(eNB,$agent_i$)}}>$\\delta$ \\BState \\emph{loop}: \\State $j \\gets \\textit{patlen}$ \\If {$\\textit{string}(i) = \\textit{path}(j)$}\\Return TURE \\State $j \\gets j-1$. \\State $i \\gets i-1$. \\State \\textbf{goto} \\emph{loop}. \\State \\textbf{close}; \\EndIf \\State $i \\gets i+\\max(\\textit{delta}_1(\\textit{string}(i)),\\textit{delta}_2(j))$. \\State \\textbf{goto} loop \\EndProcedure",
"Enlarge a partition without losing data with Windows 7 diskmgmt? I have a 320GB hard drive currently partitioned as below: A long time ago, a computer expert formatted my hard drive like this because I wanted to install Ubuntu. I'm now ready to do this, but I'll never need so much free space (103.09GB). I want to enlarge the D:\\ volume because it already has lots of data on it. I know that when I open diskmgmt.msc, I could possibly enlarge the D:\\ volume using some free space from the unformatted 103.09GB volume, because the program offers me the option to enlarge. However I'm afraid that I might lose data doing this. Is it possible to enlarge the partition with this Windows 7 tool or am I better using GParted via \"Try Ubuntu\" on my Live CD? Would either of them cause data loss in this scenario?",
"Cauchy distribution characteristic function",
"Sheafs and closed immersion",
"Checking via ArcPy if ArcMap is in edit session?",
"SQL Server - Best way to get identity of inserted row? What is the best way to get IDENTITY of inserted row? I know about @@IDENTITY and IDENT_CURRENT and SCOPE_IDENTITY but don't understand the pros and cons attached to each. Can someone please explain the differences and when I should be using each?",
"Ubuntu Software not loading categories",
"Obtain the joint PDF of $\\theta_{1} - \\theta_{2}$ and $\\theta_{1}$ where $\\theta_{1}$ and $\\theta_{2}$ are i.i.d $\\text{Uniform}[0, 2\\pi)$ I have 2 i.i.d Uniform random variables $\\theta_{1}$ and $\\theta_{2}$ on $[0, 2\\pi)$. Here the problem pushes us to consider that all operations are made modulo $2\\pi$. My question is how to obtain the joint PDF of $\\theta_{1} - \\theta_{2}$ and $\\theta_{1}$ and then obtain the conditional PDF of $\\theta_{1}$ given $\\theta_{1} - \\theta_{2}$??. For the second part It can be deduced from the first by writing it as the joint PDF divided by the PDF of $\\theta_{1}$. But for the first part, A common idea that I saw is to derive the $\\text{CDF}(x, y) = P(\\theta_{1} - \\theta_{2} \\le x$, $\\theta_{1} \\le y$) and then perform derivations respect to $x$ and $y$. Is this a right approach? If yes, how to proceed with CDF especially with our uniform distribution restrictions?",
"Disable two column mode for separate part I am writing a document using the report class in two column mode, but I need a \\section to spread across both columns, but how can I set that? Something like \\documentclass[10pt,danish,a4paper,twoside,twocolumn]{report} \\input{preamble.tex} \\begin{document} % This section should spread over both columns \\section{Name} \\lipsum[1-3] \\end{document}",
"Every Christmas, Harry receives a mediocre gift from the Dursleys. In Harry Potter and the Chamber of Secrets he gets a toothpick. At that moment, Hedwig swooped into the room, carrying a very small package in her beak. “Hello,” said Harry happily as she landed on his bed. “Are you speaking to me again?” She nibbled his ear in an affectionate sort of way, which was a far better present than the one that she had brought him, which turned out to be from the Dursleys. They had sent Harry a toothpick and a note telling him to find out whether he’d be able to stay at Hogwarts for the summer vacation, too. They hate owls, but obviously use them to contact Harry at school?",
"The Public Platform team is continuing to work towards and we’re here today to announce a new onboarding experience for the review queues. In the (), we learned that each queues’ instructions could be easily misinterpreted and additional information was difficult to find. Without proper guidance or context, new reviewers would contribute inconsistent reviews and risk having their review privileges suspended. With this release, our goals were to 1) better highlight the review privilege and 2) provide upfront instruction and guidance for successful reviewing. New privilege announcements Community moderation is a significant aspect of Stack Overflow and the Stack Exchange sites. We want users to be aware and familiar with this newly earned privilege, but also celebrate the opportunity to contribute to the community in a unique way. Many users were discovering the review queues by chance. Once the privilege is earned, a new review queue icon with a red alert would appear in the top-right part of the navigation. We are adding a popover to bring more attention to this easy-to-miss icon. We will also be adding notices for when users earn access to other, higher reputation queues. Additionally, new reviewers will also receive an email notification about the newly earned privilege. They will only get the email if they earn the privilege and don't perform a review within 24 hours (anyone who doesn't want to receive email notifications like this can visit their and turn off "Tips and Reminders"). We are also showing a popover to users who earned access to review queues in the past, but have never done a review or haven't reviewed in the last 30 days. This popover is only appearing for the next 90 days. The goal is to engage users who may not have interacted with the queues since we made and . Welcome banner If a reviewer clicks “Learn more” on the on-page popover or goes to the review queue home page (/review), they’ll be greeted with an onboarding message with general information about the review queues. Informational modals Queue-specific modals will appear upon page load as you visit each queue. They summarize and highlight important aspects and tips about reviewing in a particular queue. This information can be revisited at any time by clicking “Learn more” under the page header. Feedback As always, please leave your feedback and any bugs you may discover related to this release below this post. We will be monitoring this post for the next few weeks (May 4, 2021). After May 4th, please report any further issues as new questions.",
"Does there exist a function such that $\\lim_{x \\to a} f(x) = L$ for all $a \\in \\mathbb R$ but $f(x)$ is never $L$?"
] | medi_sts_stackexchange_dupe |
Don't understand a construct in a JS Decorator | How do JavaScript closures work? | [
"I installed or upgraded to Ubuntu 16.04, but I'm having some problems with my graphics card. The display is blank The display flickers Items on the screen do not display correctly Certain programs complain of graphics issues The computer boots to low-graphics mode Your specific issue may not be here, but try the solutions described in the answers anyway. This question is very broad, but each one of these issues likely has one solution. If you are experiencing a login loop, check the last part of my answer. If you experience one of the listed issues and have your own solution (mine didn't work, or there's a faster way), feel free to post another POLITE answer, describing your problem and how you fixed it. Those attempting to install Ubuntu, please refer to the section titled: If you are unable to enter a TTY or are trying to install Ubuntu.",
"Storing C++ template function definitions in a .CPP file I have some template code that I would prefer to have stored in a CPP file instead of inline in the header. I know this can be done as long as you know which template types will be used. For example: .h file class foo { public: template <typename T> void do(const T& t); }; .cpp file template <typename T> void foo::do(const T& t) { // Do something with t } template void foo::do<int>(const int&); template void foo::do<std::string>(const std::string&); Note the last two lines - the foo::do template function is only used with ints and std::strings, so those definitions mean the app will link. My question is - is this a nasty hack or will this work with other compilers/linkers? I am only using this code with VS2008 at the moment but will be wanting to port to other environments.",
"Subscribers currently in a Journey What ways could you create a data extension that contains all the subscribers (SubscriberKeys) that are currently “in” a Journey (Journey Builder)? The Journey I would like to do this for is a complex activity with multiple decision branches resulting in multiple possible journey durations. For example; if the customer didn’t open Email1 after 2 days, then send Email2; else Exit Journey. If the customer didn’t open Email2 after 2 days, then send Email3; else Exit Journey. Wait 2 more days, then End Journey. The minimum journey duration for the above example is 2 days, while the maximum is 6 days. Note that I don’t want a list of subscribers that “entered” a Journey, but a list of the ones that are “currently in” a Journey and have not yet exited. Answer must account for non-standard Journey exits including Unsubscribes/Contact Deletes, etc.",
"Where can I get a device with 'Ubuntu for phones' pre-installed?",
"How do I monitor the computer's CPU, memory, and disk usage in Java?",
"I've seen many science popularisation documentaries and read few books (obviously not being scientist myself). I am able to process and understand basic ideas behind most of these. However for general relativity there is this one illustration, which is being used over and over (image from Wikipedia): I always thought that general relativity gives another way how you can describe gravity. However for this illustration to work, there needs to be another force, pulling the object down (referring to a direction in the attached image). If I put two non-moving objects in the image, what force will pull them together? So where is my understanding incorrect? Or is general relativity not about explaining gravity and just describes how heavy objects bends spacetime (in that case the analogy is being used not correctly in my opinion)? UPDATE Thank you for the answers and comments. Namely the XKCD comics is a spot on. I understand that the analogy with bent sheet of fabric pretty bad, but it seems that it can be fixed if you don't bent the fabric, but just distort the drawn grid. Would you be so kind and answer the second part of the question as well - whether general relativity is explaining gravitational force. To me it seems that it is not (bending of spacetime simply can not affect two non-moving objects). However most of the time it is being presented that it does.",
"Data Not Backed Up, Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF I was trying to install Linux on my MacBook for class when I bricked my computer, which now in an unbootable state. I made my partition too small, so I was going to delete and create a larger one. However, Disk Utility did not allow me to delete the small partition. I followed the instructions from However, not only was I still unable to delete it, but upon restarting I realized my primary partition (located on the same disk) changed into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF, and I had no options to boot. (I am sure I performed the command on the correct disk and partition) I saw some similar threads, but my main bootable drive is the one that got corrupt. I don't want to lose any data. I'm not the most terminal savvy, so ANY help is appreciated, and I will kindly provide any additional information! (Disk 0, partition 2 is my main partition, and that only one I care about) Below are the results of $ diskutil list and $ gpt -r show disk0. UPDATE: : I have followed @klanomath 's instructions. At the last step I received the following error: Checking prerequisites Checking the partition list Checking for an EFI system partition Checking the EFI system partition's size Checking the EFI system partition's file system Problems were found with the partition map which might prevent booting Error: -69766: The partition map needs to be repaired because there's a problem with the EFI system partition's file system Underlying error: 8: POSIX reports: Exec format error FINAL UPDATE: SUCCESS! I just wanted thank @klanomath for helping me through this entire process. He spent 11 hours TeamViewing with me until not only my files were accessible, but until I could access my computer as could before this whole debacle (and this was after 5 hours of email correspondence). To any future reader with this problem: PLEASE don't give up, it can be fixed!",
"vertical alignment of text in tikz node The output from the following script \\documentclass{article} \\usepackage{tikz} \\usepackage{graphicx} \\begin{document} \\begin{tikzpicture} \\node(title)[text width = 0.25\\textwidth, text height = 3 cm, draw]{title}; \\end{tikzpicture} \\end{document} is How can I vertically align the text in the node? Specifying the text depth as in \\node(title)[text width = 0.25\\textwidth, text height = 1cm, text depth = 1 cm, draw]{ title line 1\\\\ title line 2\\\\ title line 3}; Does not result in the text being vertically centred.",
"BibTeX handling of the Dutch \"van\" name prefix with natbib I want to produce the following with LaTeX/BibTeX: In the running text: ... we refer the reader to the work of Van Noort (2010). In the bibliography: Thomas van Noort. An important paper. 2010. I have tried many tricks, but I don't seem to able to fulfill all the requirements: \"Thomas van Noort\" has to appear sorted in the bibliography by the name \"Noort\". In the running text, the \"Van\" needs to have an uppercase 'V' In the bibliography, the \"van\" needs to have a lowercase 'v' I am using hyperref, and I want the whole \"Van Noort (2010)\" text to link to the reference. Using plain \\citet will generate: ... we refer the reader to the work of van Noort (2010). Note the lowercase 'v'; this is not acceptable, as per standard treatment of Dutch names. Setting the BibTeX name to Van Noort, Thomas makes the running text citation look ok, but then in the bibliography I get Thomas Van Noort. An important paper. 2010. Note the uppercase 'V'; this is also not acceptable, as it should only be uppercase if it is not preceded by the first name. (1) is easy: I set the BibTeX author field to {\\noopsort{Noort}}{van Noort}, Thomas. (2) and (3) I can fake by saying something like we refer the reader to the work of Van Noort \\citeyear{...}, but this is not nice, and does not fulfill (4). Anyone has any suggestions? I was under the impression that LaTeX and BibTeX were designed with these kind of things in mind, so maybe I'm missing something...",
"IE9 HTML5 video support",
"Can I travel within the US with an expired visa? I am an international student and authorized to stay in US for 2 years on my I-20 form. My visa expired on June this year and I need to fly to some states outside Georgia to visit colleges. Can I fly within the US? If I can, what kind of document will the airport check when I depart? Will they notice my expired visa and turn me in to Homeland Security? In other words, will I get into trouble?",
"A Particular Two-Variable System in a Group Suppose $a$ and $b$ are elements of a group $G$. If $a^{-1}b^{2}a=b^{3}$ and $b^{-1}a^{2}b=a^{3}$, prove $a=e=b$. I've been trying to prove but still inconclusive. Please prove to me. Thanks very much for proof.",
"Variable variable class extensions in PHP--is it possible? Is something like the following possible in PHP? $blah = 'foo1'; class foo2 extends $blah { //... } class foo1 { //... } This gives an error. I want to dynamically set $blah so I can extend whatever class I want. Edit: The reason for wanting to do this because I wanted to use a function out of another class in a related class. In the end it would have been something like: Final extends foo1 extends foo2 extends foo3 extends foo4 extends parent { ... } In the end I decided to instantiate the other class within the class and use it. Not the best options because they both you 2 of the same classes, but this won't be used that often, so it will work for now.",
"Let's take the numbers 0-10. Their mean is 5, and the individual deviations from 5 are -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5 And so the average (magnitude of) deviation from the mean is $30/11 \\approx 2.72$. However, this is not the standard deviation. The standard deviation is $\\sqrt{10} \\approx 3.16$. The first mean-deviation is a simpler and by far more intuitive definition of the \"standard-deviation\", so I'm sure it's the first definition statisticians worked with. However, for some reason they decided to adopt the second definition instead. What is the reasoning behind that decision?",
"Why do video cables (DVI, VGA) still screw in? I guess I could imagine that there was a time when accidentally disconnecting the monitor would have been catastrophic, though I don't see that being the case today. Is it just a legacy holdover that they are still secured with screws? Also, why is it that the video connection is really the only one that is still secured this way? It seems like the power cable would be a better candidate to be secured with screws. That really could be catastrophic. In the end, the reason this question occurred to me is that I've never had a video cable come out when not screwed in, so why the significant security?",
"I clicked on to a comment in my email and it prompted a list of apps to open link. All browsers (Chrome, Firefox and etc) are in the list, but not SE app. Most apps that can open site specific links get prompted for that app to open the link, but not Stack Exchange links for some reason. App Version: 1.0.95 Device Manufacturer: Asus Device Model: ASUS_Z010D OS Version: 6.0.1 (WW_Phone-13.8.26.76-20161230)",
"How to perform a logistic regression for more than 2 response classes in R I want to predict the impact of oil price over a Colombian oil company's stock price. I plan to use a logistic regression for this with a categorical variable (Up or Down given the direction of the stock price). Here is part of my dataset: Minute ecopet profit sum_profit direccion cl1_chg sum_cl1 direccion_cl1 571 2160 0 10 Up -0.03 0.00 Down 572 2160 0 0 Neutral 0.07 -0.03 Down 573 2160 0 -5 Down -0.08 0.04 Up 574 2160 0 -5 Down -0.07 -0.04 Down 575 2160 5 -5 Down -0.08 -0.11 Down 576 2165 0 -25 Down 0.00 -0.19 Down 577 2165 0 -25 Down -0.05 -0.19 Down 578 2165 0 -15 Down -0.17 -0.24 Down 579 2165 5 -15 Down -0.06 -0.41 Down 580 2170 0 -20 Down 0.03 -0.47 Down 581 2170 -10 0 Neutral 0.04 -0.44 Down My dependent variable is 'direccion'. But as you can see it has 3 response classes. I know that to implement a binary logistic regression in R the code is: glm.fit=glm(direccion~direccion_cl1, data=datos, family=binomial) I am working with intraday information and plan to predict what happens when the oil moves up/ down (in the previous 10 minutes) and how it impacts the stock price in the next 10 minutes. Could anyone tell me how could I perform this? I don't really know how to perform the logistic regression with 3 response classes. Thanks!",
"Are humans the only animal that requires \"clean water\"?",
"Detect the Internet connection is offline? How to detect the Internet connection is offline in JavaScript?",
"Force fsck.ext4 on reboot, but really \"forceful\" One of my Ubuntu 10.04 servers is giving me trouble. When I run fsck.ext4 -n /dev/sda5 it tells me there are errors in the free inode count, free block count, and more. I have tried: touch /forcefsck Also tried: shutdown -rF now and still, after reboot, I see errors. I also just checked on my eeePC netbook, Ubuntu 10.10, and have the same issue! How can I force a really \"forced\" \"forceful\" \"seriously fix my filesystem\" fsck of the \"/\" filesystem on reboot? Clarification: I run fsck.ext4 -n because it's a mounted filesystem, to check if there are errors. This tells me that there are. I thought that the automatic fsck every 30 mounts during the boot-up process is precisely to take care of errors in the root filesystem. But it doesn't do it in my case. I could reboot with a LiveCD and fix the errors, and then reboot again, but that's some serious downtime for a live server. A reboot, auto fsck, then continue booting is much more sustainable on a live server, and I believe should be the right behaviour. Additional info: Here is the output. It looks like something that the autofsck would fix, doesn't it? root@server:~# fsck.ext4 -n /dev/sda5 e2fsck 1.41.11 (14-Mar-2010) Warning! /dev/sda5 is mounted. Warning: skipping journal recovery because doing a read-only filesystem check. /dev/sda5 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Free blocks count wrong (1849368, counted=1948909). Fix? no Free inodes count wrong (545504, counted=552134). Fix? no /dev/sda5: ********** WARNING: Filesystem still has errors ********** /dev/sda5: 116752/662256 files (0.2% non-contiguous), 795324/2644692 blocks"
] | medi_sts_stackexchange_dupe |