query
stringlengths 6
215
| document
stringlengths 50
1.23k
| negative
listlengths 15
209
| dataset
stringclasses 1
value |
---|---|---|---|
Why do modules work when executed from a cell but have side effects when run from a button click action on a manipulate panel?
|
Evaluation order of Button's action
|
[
"Solving equation involving Euler's totient function Given $m\\in\\mathbb{N}$, is there a general way to solve the equation \\begin{equation} \\varphi(n)=m \\end{equation} where $\\varphi$ is the Euler's totient function? For example, I want to solve for all the $n$'s such that $\\varphi(n)=4$. Is there any way to solve it that are also applicable to many (if not general) cases?",
"Downgrade SQL Server Enterprise Edition to SQL Server Standard Edition",
"Could the Horcruxes be destroyed with Avada Kedavra? In The Deathly Hallows Hermione says this about destroying Horcruxes: “It doesn’t have to be a basilisk fang,” said Hermione patiently. “It has to be something so destructive that the Horcrux can’t repair itself. Basilisk venom only has one antidote, and it’s incredibly rare—\" \"That’s a problem we’re going to have to solve though, because ripping, smashing, or crushing a Horcrux won’t do the trick. You’ve got to put it beyond magical repair.” Mad-Eye Moody from The Goblet of Fire tells us this about Avada Kedavra, ...there's no countercurse. There's no blocking it. but also that, Avada Kedavra's a curse that needs a powerful bit of magic behind it - you could all get your wands out now and point them at me and say the words, and I doubt I'd get so much as a nosebleed. Harry is also seen once attempting to use Crucio on Bellatrix Lestrange in The Order of the Phoenix out of anger at the death of Sirius, but he fails. She tells him, \"You need to mean [Unforgivable Curses], Potter! You need to really want to cause pain - to enjoy it - righteous anger won't hurt me for long - I'll show you how it is done, shall I? I'll give you a lesson -\" Even if Harry and company are not powerful enough to perform the curse themselves, they know several powerful wizards (Kingsley, Lupin, et al.) who could likely perform the curse. Lastly we know that Voldemort himself destroyed the last bit of his soul that was inside Harry with Avada Kedavra. Could the Horcruxes be destroyed with Avada Kedavra as well?",
"Prove that $2730$ divides $n^{13} - n$ for all integers $n$. Prove that $2730$ divides $n^{13} - n$ for all integers $n$. What I attempted is breaking $2730$ into $2, 3, 5$, and $7, 13$. Thus if I prove each prime factor divides by $n^{13} - n$ for all integers $n$, it will prove the original problem. I already proved $2, 3$, and $5$ work. Struggling with how to do $91$? Other solutions are welcome, but they should be associated with mod and solutions of this kind, because my answer should pertain to what was learned in class. (Edit: Fixed the 91 problem, being slow today...In any case, I've got this problem now, so no answers are necessary. Posting my own soon.)",
"Alignment of equals sign in multiple align environments",
"Consider the real-valued function $f(x)=x^r$ where $r$ is a real number. (1) For what values of $x$ and $r$, is this function differentiable? (2) How do you prove the power rule, when $f(x)$ is differentiable? It would be nice if the proof is accessible to a 12th grade student. EDIT: Perhaps, I have not been very clear about my question. I am not satisfied with the \"textbook proofs\" I have seen. Please established the existence (of the derivative) first before proving the power rule. That is, please consider first question first. This is the reason why I call the question a mathematical engineering question. (If we can we bring high level math down to Grade 12 level, without loosing precision, then I call it good mathematical engineering.)",
"Has a movie from a movie series ever been removed/retconned due to fan/general outcry? A petition to strike the events of from the main Star Wars timeline that is going around online has made me wonder if there has ever been a retcon/removal of a movie from a movie series or just renunciation of a movie by those with creative control due to backlash, as opposed to the director(s) just deciding to go a new direction/starting fresh. Google just produces said petition when searching (please note this is not for or against Star Wars). Addendum, by removal I am referring to the events in the movie no longer being recognized in the universe.",
"Help us test the shiny new \"User Activity\" page! (Plus a bunch of new features.)",
"Is it correct to hyphenate with compound premodifiers? If so, where is the hyphen placed?",
"How to cite a book chapter written by an author who is not the editor or author of the book with BibTeX? I don't know how to cite a chapter written by an author who is not the editor or author of the book. How can I get the following citation? Grandstrand, O. (2004), 'Innovation and Intellectual Property Rights', in J. Fagerberg, D.C. Mowery and R.R. Nelson (Eds.), Oxford Handbook of Innovation. Oxford University Press: Oxford.",
"Can you recommend a Java library for reading (and possibly writing) CSV files?",
"Find All Solutions to System of Congruence $$ \\begin{cases} x\\equiv 2 \\pmod{3}\\\\ x\\equiv 1 \\pmod{4}\\\\ x\\equiv 3 \\pmod{5} \\end{cases} $$ $ n_1=3\\\\ n_2=4\\\\ n_3=5\\\\ N=n_1 * n_2 * n_3 =60\\\\ m_1 = 60/3 = 20\\\\ m_2 = 60/4 = 15\\\\ m_3 = 60/5 = 12\\\\ gcd(20,3)=1=-20*1+3*7\\\\ gcd(15,4)=1=-15*1+4*4\\\\ gcd(12,5)=1=12*3-5*7\\\\ x=-20*2-15*1+12*3\\equiv -19 \\equiv 41 \\pmod{60}\\\\ $ The above is what I've tried so far. Can someone tell me where I'm going wrong? It's my first time doing this and looking at the explanation and examples for the Chinese Remainder Theorem makes my head want to explode.",
"How to check battery temperature? How do I know the normal temperature of it? My OS is Ubuntu, and my laptop is Lenovo G470. Output of acpi -t: Thermal 0: ok, 0.0 degrees C",
"Accessing private member variables from prototype-defined functions Is there any way to make “private” variables (those defined in the constructor), available to prototype-defined methods? TestClass = function(){ var privateField = \"hello\"; this.nonProtoHello = function(){alert(privateField)}; }; TestClass.prototype.prototypeHello = function(){alert(privateField)}; This works: t.nonProtoHello() But this doesn’t: t.prototypeHello() I’m used to defining my methods inside the constructor, but am moving away from that for a couple reasons.",
"Why is it possible to answer a question twice? You normally answer a question and you have the opportunity to answer again. The second time, a message is shown suggesting the use of the edit tool, but I think it's kind of wrong. I mean, if you answer something and then you want to say anything else you know that you must use edit. Why not disable the answer button if you already have an answer?",
"Limit distribution of infinite sum of Bernoulli random variables",
"Play a short sound in iOS",
"Bayes rule logic. Why we do use this?",
"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.",
"Testing Classification on Oversampled Imbalance Data I am working on severely imbalanced data. In literature, several methods are used to re-balance the data using re-sampling (over- or under-sampling). Two good approaches are: SMOTE: Synthetic Minority Over-sampling TEchnique () ADASYN: Adaptive Synthetic Sampling Approach for Imbalanced Learning () I have implemented ADASYN because its adaptive nature and ease to extension to multi-class problems. My question is how to test the oversampled data produced by ADASYN (or any other oversampling methods). It is not clear in the mentioned two paper how they performed their experiments. There are two scenarios: 1- Oversample the whole dataset, then split it to training and testing sets (or cross validation). 2- After splitting the original dataset, perform oversampling on the training set only and test on the original data test set (could be performed with cross validation). In the first case the results are much better than without oversampling, but I am concerned if there is overfitting. While in the second case the results are slightly better than without oversampling and much worse than the first case. But the concern with the second case is if all minority class samples goes to the testing set, then no benefit will be achieved with oversampling. I am not sure if there are any other settings to test such data."
] |
medi_sts_stackexchange_dupe
|
Rotating a circle about a larger circle
|
Plotting an epicycloid
|
[
"Quoting backslashes in Python string literals I have a string that contains both double-quotes and backslashes that I want to set to a variable in Python. However, whenever I try to set it, the quotes or slashes are either removed or escaped. Here's an example: >>> foo = 'baz \"\\\"' >>> foo 'baz \"\"' So instead of baz \"\\\" like I want I'm getting baz \"\". If I then try to escape the backslash, it doesn't help either: >>> foo = 'baz \"\\\\\"' >>> foo 'baz \"\\\\\"' Which now matches what I put in but wasn't what I originally wanted. How do you get around this problem?",
"A net $\\varphi : [0, \\omega_1) \\to M$ on a metric space $M$ converges $\\iff \\varphi$ is eventually constant I want to prove that If $M$ is a metric space, then a net $\\varphi : [0, \\omega_1) \\to M$ converges if and only if $\\varphi$ is eventually constant. ($[0, \\omega_1)$ is the set of ordinals less than $\\omega_1$, where $\\omega_1$ is the first uncountable ordinal, with the order topology). $(\\Leftarrow)$ is clear. My trouble is with $(\\Rightarrow)$. Suppose that $\\varphi \\rightarrow x$. Let $U = \\{ \\alpha \\in [0, \\omega_1) \\, \\mid \\varphi(\\alpha) \\neq x \\}.$ If $U = \\emptyset $ we are done, so assume $U \\neq \\emptyset$. Since $[0, \\omega_1)$ is well ordered, there is a $\\alpha_1 \\in U$ such that $ \\alpha_1 \\leq \\alpha \\, \\, \\forall \\alpha \\in U.$ If $ U \\setminus \\alpha_1 = \\emptyset$ we are done. If not, we repeat the procedure. It is clear that if $card(U) = n$ for some $n \\in \\omega$ then we only have a finite set of ordinals $\\{\\alpha_1, \\ldots, \\alpha_n\\}=U$ so $\\varphi$ is constant for $\\alpha > \\alpha_n.$ If $U$ is countably infinite, then $U = \\{\\alpha_n\\}_{n \\in \\omega}$ and since $[0, \\omega_1)$ is sequentially compact and the $\\alpha_n$'s are countable ordinals we obtain a convergent subsequence $\\{\\alpha_{n_k}\\}$ of $U$ to some countable ordinal $\\beta \\in [0, \\omega_1)$ $[\\beta = \\cup_{n_k \\in \\omega}\\alpha_{n_k}???],$ hence $\\varphi$ is constant for all $ \\alpha > \\beta.$ But what if $U$ is uncountable? Idea: If $U = [0, \\omega_1),$ then since $\\varphi \\rightarrow x$, for every $n \\in \\omega$ there is $\\alpha_n \\in U$ such that $\\alpha \\geq \\alpha_n \\implies \\varphi(\\alpha) \\in B_{\\frac{1}{n}}(x).$ This is a countable sequence, so since $[0, \\omega_1)$ is sequentially compact, there is a subsequence converging to a countable ordinal $\\beta \\in [0, \\omega_1)$. Clearly, $\\beta$ satisfies that $\\phi(\\beta) \\in B_{\\frac{1}{n}}$(x) for every $n \\in \\omega.$ We can conclude that $\\varphi(\\beta)= x$ right? For if $\\varphi(\\beta) \\neq x$, then taking $n$ such that $0 < \\frac{1}{n} < d(x, \\varphi(\\beta)),$ we would have that $\\varphi(\\beta) \\not \\in B_{\\frac{1}{n}}(x),$ contradicting the hypothesis. I feel pretty confident about this, but If someone sees an error in the argument, please comment. Thanks.",
"Sum of a power series $n x^n$ 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?",
"Optional Android notifications for reputation changes I would like to get a notification if my reputation count has changed. I think there is already some internal API for that. (I can see that changes in the menu bar in the top). I'm sure that some people would not like that so that should be optional.",
"How can I know if $2^{2^{2^{2^{2}}}}+1=?$ is prime?",
"Book about a teenager programmed to be an assassin and trying to get back at the people responsible I read this book a few years back (around 5?). It was part of a multibook series but I have only read one book. It's about this teenager who I think had been programmed to be an assassin but then somehow retained his conscience and was out to get the people responsible for that. I briefly remember a girl, and this one part where he realizes he can ride a horse and then there's a chase too. I think the guy's name was Jim or Jimmy, but not quite. I'm also quite sure he was either part computer, or had a chip or something in his brain which had been programmed to give him a host of mental and physical abilities which he retained and used as well as the series progressed.",
"Possible Duplicate: I received two answers to a question I asked. One solution suggested I do things in a completely different manner than I have been. Another acknowledged that the first solution was correct but went on to explain how to do what I was asking. Should I accept the first answer because it provides the better way of doing things or should I accept the second one because it answers the precise question that was asked?",
"Why does the CRT formula yield a solution of a congruence system?",
"I'm attempting to do this in a procedure: DECLARE @a bit = 1; BEGIN SELECT * INTO #aTemp FROM OPENROWSET( ... ); IF @a = 0 BEGIN SELECT ... INTO #bTemp FROM #aTemp; END ELSE BEGIN SELECT ... INTO #bTemp FROM #aTemp; END END I get the error: Msg 2714, Level 16, State 1, Line 10 There is already an object named '#bTemp' in the database. Why is this happening and is there a work around? Update I've attempted to add a DROP statement as suggested , but it still does not work: DECLARE @a bit = 1; BEGIN SELECT * INTO #aTemp FROM OPENROWSET( ... ); IF @a = 0 BEGIN IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL BEGIN DROP TABLE #bTemp; END SELECT ... INTO #bTemp FROM #aTemp; END ELSE BEGIN IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL BEGIN DROP TABLE #bTemp; END SELECT ... INTO #bTemp FROM #aTemp; END END",
"i have a huuuuge problem. Created a snapshot and image from my instance...instance has 1000GB of disk. Now i need to reduce it but everytime i try to create an image or a snapshot from that, i get the same error \"Disk need to be at least 1000GB\". There is a way to reduce disk size directly on instance? Some workaround?",
"How do I find this limit: $\\lim_{n\\to\\infty} \\left[ n-{n\\over e}\\left(1+{1\\over n}\\right)^n \\right]$?",
"Delete Everything(the rest of the text) after a specific string",
"How to detect online/offline event cross-browser?",
"(Ubuntu 13.04 with GNOME Shell, upgraded, GNOME version 3.8) Recently, I upgraded Ubuntu to 13.04. the default desktop is gnome-shell. Except Nautilus, other software border doesn't disappear when I make them to be maximized. I checked the problem for these software: LibreOffice Firefox Rhythmbox thunderbird GNOME-Terminal On the other hand there are three bars on maximized mode: GNOME Shell panel Title-bar for software which contains - + x (minimise, maximise, close) buttons. Software menu-bar Number "2" is extra. Is a package missing?",
"Recent feature changes to Stack Exchange",
"Pointwise Convergence and Convergence in the mean of Riemann-integrable functions Let $(f_n)_{n\\in\\mathbb{N}}$ be a sequence of Riemann-integrable functions on $[a, b]$. Assume that $(f_n)_{n\\in\\mathbb{N}}$ converges pointwise to $f$ on $[a, b]$ and converges in the mean to $g$ on $[a, b]$, where $f$ and $g$ are both continuous. Show that $f = g$. ($(f_n)_{n\\in\\mathbb{N}}$ converges in the mean to g on $[a , b]$ means that $\\lim_{n\\to\\infty} d(f_n, g) = 0$, where $d$ is the $L_2$ metric.) I am studying real analysis now and want to prove this statement. But I don't know how to use condition \"$(f_n)_{n\\in\\mathbb{N}}$ converges in the mean to g on $[a , b]$.\" How can I prove this?",
"Are universal power supplies for laptops worth it? My laptop's cable broke and sadly it seems like I need to buy a new power supply. What I wonder is, I've found that universal power supplies are much cheaper than the official HP ones. Are they really worth it? Another question: the original supply has these specs: 65W, 18.5V, 3.5A. However the universal supplies are more powerful (90W, 100W) and come in integer voltages (17V, 18V, 19V, etc). Are they compatible? Should I set them to 18V or 19V?",
"A book about explorers stranded on a planet with two computers I have been looking for a book that I read in the 80's but it's probably older. It was about a spaceship from Earth in a very long mission to discover life? I don't remember, but they had been far too long in space without any results, so the crew was on the verge of mutiny. They land on a planet, home of two super-computers called...? Alpha? Beta? One seemed more advanced than the other, the planet was void of any other life, and supposedly it was forseen that the planet would be struck by a comet, and the computers see the ship as a way to save or abandon the planet before the impact. At some point one member of the crew is captured by the computers, and it's vivisected in an attempt to get data about humans. Then they \"reassemble\" the crew member before returning it to the ship, hoping that the humans could \"reactivate it\" since the computers were unable to do so. Which of course enrages the ship's crew. The ship was unable to take off for reason that I don't remember and they must fight the computers to save themselves. Does anyone know what this is? Thanks, as soon as I read the names, they did ring a bell on my memory. The case it's closed then.",
"How do I create a decimal field in Access with Alter Table?",
"Where is the usage of Ubuntu cloud guest image on OpenStack documented?"
] |
medi_sts_stackexchange_dupe
|
"me and the other" or "I and the other"?
|
Which is more formal: "My parents will reside with me and my family" or "my family and I"?
|
[
"How to find answer to the sum of series $\\sum_{n=1}^{\\infty}\\frac{n}{2^n} $ I have put his on wolfram and obtained answer as follows: $\\sum_{n=1}^{\\infty}\\frac{n}{2^n} = 2$ And the series is convergent too because $\\lim_{n\\to\\infty} \\frac {n}{2^n} = 0$ However I am wondering if there is a convenient way to solve this; I don't think you can represent it by a geometric progression either. So how do we have to do it on paper?",
"With lots of guides and setup variations all over the internet, I find it confusing which is which to really follow. Normally, in Windows 8 my setup would be install everything in the HDD and use Intel Smart Response for a speedy setup. However as I am new to Linux I really don't know what to do. My ideal setup would be something similar to this, but I know for a fact that IRST is not available in Linux so what I intend to do is keep the OS files in the SSD instead and keep my media on the larger HDD. A step by step procedure would be extremely helpful. Edit: I want a system running solely on Ubuntu, with the SSD to speed things up but setting it in such a way that it does not hasten its lifespan. # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=80289460-5983-4349-8afc-6f3119938ee9 / ext4 errors=remount-ro 0 1 # /files was on /dev/sdb5 during installation UUID=c1678c88-5100-41bc-8090-7887f1622c7f /files ext4 defaults 0 2 # swap was on /dev/sdb6 during installation UUID=608e3ec2-c76e-4657-af6d-80793b5f50f6 none swap sw 0 0",
"I am considering trying to setup a system. It seems like this would be pretty straight forward if I had two graphics cards or if I didn't need hardware based OpenGL acceleration. Is it possible to setup a multi seat system with only a single dual-headed graphics card?",
"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?",
"Adding a class to “body” I'm trying to add a custom CSS class to the <body> tag, How can I modify or pre-process the <body> tag to add the class body, Is it right to style the <body> tag with css file?",
"Let $G$ be abelian, $H$ and $K$ subgroups of orders $n$, $m$. Then G has subgroup of order $\\operatorname{lcm}(n,m)$.",
"How do I detect the direction of 2D rectangular object collisions?",
"traveller's cheques; customer's requirements: use of the singular Saxon genitive (and the plural attributive) for association May I ask if the following sentence is grammatical? Our remit is to conduct research on customer's requirements. In my understanding, as 'customer' is a countable noun, so the plural form 'customers''' should be used instead for this general reference (without specification of certain customers). However, I know that we can say 'traveller's cheques' - e.g., Traveller's cheques are available at the bank. In this sense, actually can we say 'customer's requirements' in the first case?",
"I have a text file abc.txt and its contents are: /lag/cnn/org/one.txt /lag/cnn/org/two.txt /lag/cnn/org/three.txt If I use: $ tar -cvf allfiles.tar -T abc.txt I'm getting the tar of files in the list. Similarly is it possible to copy those files in abc.txt to a folder? I tried this: $ cp --files-from test1.txt ./Folder But it is not working.",
"If Newton's third law is true, why can we sink in sand? Newton's third law of motion states that every action has an equal and opposite reaction. That is the reason we do not sink into the earth, because when our weight exerts a force on the earth it also exerts an equal and opposite force on us. But when we stand on quicksand or on fluids we can sink in. How is this possible? Does it not exert an equal and opposite force on us? Or are Newton's laws different in the case of fluids and substances of low densities?",
"Let $f:X \\to Y$ be a homeomorphism between topological spaces $X$ and $Y$. Let $A \\subseteq X$ and $B = f(A) \\subseteq Y$ (given the subspace topology) and let $g: A \\to B$ be the restriction of $f$ given by $g(a) = f(a)$ for $a \\in A$. Showing that $g$ is a homeomorphism. $g$ injective Let $g(a_1) = g(a_2)$, $a_1, a_2 \\in A$. $\\implies f(a_1) = f(a_2)$ $\\implies a_1 = a_2$ as $f$ homeomorphic. g surjective Let $y \\in B$ $\\implies y = f(a)$ for some $a \\in A$. $\\implies y = g(a)$ for some $a \\in A$. $g$ continuous Let $U \\subseteq B$ be an open set in $B$. $f(a) = g(a)$ for all $a \\in A => f^{-1}(b) = g^{-1}(b)$ for all $b \\in B$. So $g^{-1}(U) = f^{-1}(U)$ which is open in $A$ as $f$ homeomorphic. $g^{-1}$ continuous Let $U \\subseteq A$ be an open set in $A$. $g(U) = f(U)$ which is open in $B$ as $f$ homeomorphic. So $g$ is homeomorphic. Is my understanding correct, this seems almost too straightforward so I was wondering have I overlooked something?",
"Given three matrices $A$, $B$ and $C$ such that $ABA^T C$ is a square matrix, the derivative of the trace with respect to $A$ is: $$ \\nabla_A \\operatorname{trace}( ABA^{T}C ) = CAB + C^T AB^T $$ There is a proof . However, I was not able to understand the second line of the proof. it says something like this: $$ \\nabla_A \\operatorname{trace}( ABA^T C )= \\nabla_\\bullet \\operatorname{trace}(f(\\bullet)A^{T}C) + \\nabla_\\bullet \\operatorname{trace}(f(A) \\bullet^T C) $$ Where $f(A) = AB$ I tried searching the proof or any hint using google, but I couldn't fine anything. Could anyone please help me with this second line. I cannot sleep. I am obsessed with this proof.",
"Why was mixing declarations and code forbidden up until C99?",
"Verbless sentence I thought I heard my teacher said: 'Don't construct a sentence without a verb.' Is there such rule in english grammar? She looks like 70 years old. Perhaps older. How about the question above? Is it correct? Is there any book that can be used references for wide range of topics in grammar(including syntax, morphology et cetera)? I have finished oxford grammar in use recently and think it wasn't enough for me.",
"How do AD/AP boosts apply to abilities with long cast times, channels or animations? For example: I'm playing Janna in bot lane with Caitlyn. Caitlyn begins channeling Ace in the Hole to finish off an enemy. Will the AD buff from my Eye of the Storm apply extra damage to Caitlyn's ultimate if I cast at after she begins channeling? Similarly, if I see Caitlyn rev up to shoot Piltover Peacemaker, can I boost her AD after the animation begins? (If I remember correctly, Piltover Peacemaker has a quick cast time, but the spell animation is rather long, so it may be a different circumstance from the first example.) Basically, I want to know if the AD is calculated at the start of a cast, at the end of a cast, or when the ability actually creates and object on the battlefield.",
"I have a list of items John ID Matt ID John ID Scott ID Matt ID John ID Lucas ID I want to shove them back into a list like so which also means I want to sort by the highest number of duplicates. John ID 3 Matt ID 2 Scott ID 1 Lucas ID 1 Let me know how I can do this with LINQ and C#. Thanks All EDIT 2 Showing Code: List<game> inventory = new List<game>(); drinkingforDataContext db = new drinkingforDataContext(); foreach (string item in tbTitle.Text.Split(' ')) { List<game> getItems = (from dfg in db.drinkingfor_Games where dfg.game_Name.Contains(tbTitle.Text) select new game { gameName = dfg.game_Name, gameID = Boomers.Utilities.Guids.Encoder.EncodeURLs(dfg.uid) }).ToList<game>(); for (int i = 0; i < getItems.Count(); i++) { inventory.Add(getItems[i]); } } var items = (from xx in inventory group xx by xx into g let count = g.Count() orderby count descending select new { Count = count, gameName = g.Key.gameName, gameID = g.Key.gameID }); lvRelatedGames.DataSource = items; lvRelatedGames.DataBind(); This query displays these results: 1 hello world times 1 hello world times 1 Hello World. 1 hello world times 1 hello world times 1 hello world times 1 Hello World. 1 hello world times It gives me the count and name, but it doesn't give me the ID of the game.... It should display: 6 hello world times 234234 2 Hello World. 23432432",
"Let $f \\colon \\mathbb{R} \\rightarrow \\mathbb{R}$ be a smooth function such that $$f'(x) = f(1+x)$$ How can we find the general form of $f$? I thought of some differential equations, but not sure how to use them here. Thanks.",
"I want to set an environment variable from the command prompt and then be able to access it globally (for instance, I should see it by going to System -> Environment Variables). When I use the set command, it isn't accessible in a new cmd session. set NEWVAR=SOMETHING echo %NEWVAR% Related questions:",
"How do I prove that $x^p-x+a$ is irreducible in a field with $p$ elements when $a\\neq 0$?",
"\"Unfortunately, ... has stopped\" when Downloading file in Android"
] |
medi_sts_stackexchange_dupe
|
How do you call a word that is the result of merging two words?
|
What do you call the process of combining two words to create a new one?
|
[
"Basic circuit to keep LED either on or off depending on night/day How can I have a LED either on or off (not in between) depending on night or day with basic electronics? I have created the circuit below, but it only shines and in darkness it dims. The photo-resistor is about 3kΩ when light shines and about 1MΩ when dark. I want my LED to shine at night and be off at day. What is the simplest way I can achieve this?",
"Continuous injective map is strictly monotonic",
"Relativistic Mass and Dark Matter In a question Ron Maimon comments that \"relativistic mass makes gravity, not rest mass.\" If so, does that mean that the faster that stars orbit the galaxy the larger the relativistic mass of the galaxy therefore more gravity therefore the stars orbit even faster therefore the gravity gets even more therefore the stars keep on getting faster ... So the speed of stars and mass of galaxy would be correlated with age and history of the galaxy or galaxy clusters and that's why calculations of galaxies' masses don't add up.",
"There is a socket related function call in my code, that function is from another module thus out of my control, the problem is that it blocks for hours occasionally, which is totally unacceptable, How can I limit the function execution time from my code? I guess the solution must utilize another thread.",
"In the movies, the pack of Uruk-Hai capture Merry and Pippin, and are bringing them back to Saruman as quickly as possible. Why didn't they use Wargs to carry the Hobbits instead of packing them on their backs? Or, better yet, why didn't the Nazgul fly down and take them on their Fell Beasts?",
"At some point, the filesystem on my digital audio player has become read-only. I cannot copy files into it or remove files on it. Are there some possible reasons for the player's file system to change permissions in this way? I tried using chmod: $ sudo chmod a+rw SGTL\\ MSCN/ chmod: changing permissions of `SGTL MSCN/': Read-only file system SGTL MSCN is the mount point of the digital audio player. What else can I try to make it writeable?",
"If you, for example, have to add a person to an application whilst that person is on the phone, how do you politely ask for that person's gender if the voice and/or name has not proven decisive? To clarify why I posted this question on this site: I was looking for an answer within the context of the English language and usage. The given answers have proven that this question really isn't off-topic, other languages know different distinctions that are relevant to addressing this issue.",
"In the case of languages with a C-like syntax, we declare the main() method to return an int or float value (or void). Is it possible to declare a non-void return type from main() in Java? If not, then why not? Does this mean that a Java program doesn't return any value to the OS?",
"I have been told [Warning: I leave this because it's what I asked and allows to understand the dialogues in the comments, but Azad, whom I thank, has pointed that the formula does not hold in general in the form it is expressed] that the angular momentum of and rigid body with respect to any point $P$ can always be expressed as $$\\mathbf{L}_{P}=\\mathbf{r}_{cm}\\times M\\mathbf{v}_{cm}+\\big(\\sum_im_iR_i^2\\big)\\boldsymbol{\\omega}$$ where $\\mathbf{r}_{cm}$ is the position of the centre of mass with respect to $P$, $M$ the mass of the body, $R_i$ the distance of the $i$-th point, having mass $m_i$, composing the body, and $\\sum_im_iR_i^2=I$ its moment of inertia with respect to the instantaneous axis of the rotation around the centre of mass of angular velocity $\\boldsymbol{\\omega}$. I know that the velocity $\\mathbf{v}_i$ of each point $P_i$, having mass $m_i$, of a rigid body of mass $M$ can be see as the sum of a translation velocity of one of its points $C$ plus a rotation velocity around that point: $\\mathbf{v}_i=\\mathbf{v}_{C}+\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i}$. If we chose $C$ as the centre of mass I see that $$\\mathbf{L}_{cm}=\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_{i}=\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_{cm}+\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})$$$$=\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i}) $$because, if I am not wrong, $\\sum_i \\overrightarrow{CP_i}\\times m_i\\mathbf{v}_C=(\\sum_i m_i\\overrightarrow{CP_i})\\times\\mathbf{v}_C=\\mathbf{0}$ since $\\sum_i m_i\\overrightarrow{CP_i}$ is the position of the centre of mass with respect to itself, which is $\\mathbf{0}$. How can it be proved that $\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})=(\\sum_im_iR_i^2)\\boldsymbol{\\omega}$? I have searched a lot on the Internet and on books, but I find nothing. To give some background of mine, I have studied nothing of analytical mechanics. I find the formula very, very interesting both in itself and because, if the moment of inertia does not depend upon time, $\\forall t\\quad I(t)= I(t_0)$, the above expression can be differentiated to get the formula of the resultant torque with respect to the centre of mass $\\sum\\boldsymbol{\\tau}_{cm}=\\frac{d\\mathbf{L}_{cm}}{dt}=I\\boldsymbol{\\alpha}_{cm}$ where $\\boldsymbol{\\alpha}$ is the angular acceleration around the centre of mass. I heartily thank you for any answer! Some unfruitful trials: by using the \"BAC CAB identity\" as suggested by Azad, whom I heartily thank, $\\mathbf{a}\\times(\\mathbf{b}\\times\\mathbf{c})=(\\mathbf{a}\\cdot\\mathbf{c})\\mathbf{b}-(\\mathbf{a}\\cdot\\mathbf{b})\\mathbf{c}$, I can see that$$\\sum_i \\overrightarrow{CP_i}\\times m_i(\\boldsymbol{\\omega}\\times\\overrightarrow{CP_i})=\\sum_im_i\\|\\overrightarrow{CP_i}\\|^2\\boldsymbol{\\omega}-m_i(\\overrightarrow{CP_i}\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}$$which, by decomposing every $\\overrightarrow{CP_i}$ into an axial component $\\mathbf{A}_i$ and a radial component $\\mathbf{R}_i$, whose norms respectively are $A_i$ and $R_i$, with $R_i$ as the distance from $i$ to the axis of rotation, becomes $$\\sum_im_iR_i^2\\boldsymbol{\\omega}+\\sum_i m_i A_i^2\\boldsymbol{\\omega}-m_i(\\mathbf{A}_i\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}$$but I cannot prove that $\\sum_i m_i A_i^2\\boldsymbol{\\omega}-m_i(\\mathbf{A}_i\\cdot\\boldsymbol{\\omega})\\overrightarrow{CP_i}=\\mathbf{0}$.",
"Problem with PDO MySQL For the last couple of days I've been getting the following error: Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/mydomain/public_html/drupal/includes/database/mysql/database.inc on line 46 This comes after my Hosting did an upgrade and PHP is now version 5.2.17. From what they have told me, I think I have to enable a PDO MySQL extension in php.ini. The problem is I'm on a shared hosting and I don't have access to the file; also, my Hosting said they can't change it either. My info.php shows: PDO PDO support enabled PDO drivers sqlite, sqlite2 pdo_sqlite PDO Driver for SQLite 3.x enabled PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c 293036 2010-01-03 09:23:27Z sebastian $ SQLite Library 3.3.7 I tried modifying the .htaccess file and/or adding my own php.ini file to the root directory per some suggestions I found, but nothing I've tried has worked yet. Can anyone please suggest what else I could do? EDIT: Once again I asked the Hosting to enable PDO_MySQL extension and their answer was that they could not, that cPanel (to which they migrated from Plesk, causing this whole problem) had this extension disabled by default and changing it would affect their servers. Their solution? That I would change my programming to adjust to these new features, which I wouldn't even know how to go about. Are they right requesting that I do this? Is there any other way?",
"Rejection of text containing SQL statements OK, I've been having weird problems for the last 1/2 hour trying to on StackOverflow, and I keep getting this result (on Firefox 3.6) The connection was reset The connection to the server was reset while the page was loading. The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. The problem seems to occur when I try to post some code with 'd--- table' in it, where 'd---' is replaced by the word drop. I cannot post the following 3 lines, in either SO or this site, if they include the well-known SQL statements DROP. stat.executeUpdate('d--- table if exists people;'); stat.executeUpdate('create table people (name, occupation);'); prep = conn.prepareStatement(... 'insert into people values (?, ?);'); test again: 'dro* table' 'drop ball' drop the table drop fable drop t*ble droptable drop a table The evil words for me are \"drop\" and \"table\"... how come you guys can post? :( edit: Could someone please suggest another online site that is not stackoverflow that is a quick way to try out a POST request of a text field? UPDATE: Never mind. I don't know what the answer is, but the same problem occurs on Google's website. So it's not stackoverflow. Now to go to my IT Dept...",
"Do you \"gain\" your 1st level?",
"What is the maximum convergent $x$ in the power tower $x^{x^{x^{x\\cdots}}}$? In the power tower $x^{x^{x^{x\\cdots}}}$ where there is an infinite stack of $x$'s, what is the maximum convergent number? I know the answer by playing with the form $x^y=y$ and using Mathematica, but I don't know how to solve this by hand.",
"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 ?",
"How can I prove that the additive group of rationals is not isomorphic to a direct product of two nontrivial groups? I am working through Paolo Aluffi's new GSM text on my own (self-study). On page 63, he asks the reader to Prove that $\\Bbb{Q}$ is not the direct product of two nontrivial groups. For some context, this is an exercise following a section entitled \"The category Grp\". I am assuming that he means \"is not isomorphic to the direct product of two nontrivial groups\", and I can see two possible ways to proceed with this proof, but have been unsuccessful with either approach. Approach 1: Show that the additive group of rationals has a property that is preserved by isomorphism that the direct product of two nontrivial groups does not have or vice-versa. This seems challenging unless I can significantly narrow down the properties that a direct product of two nontrivial groups that was isomorphic to $\\Bbb{Q}$ would necessarily have. Approach 2: Considering the section in which this question occurs, show that if $G$ and $H$ are nontrivial groups and $\\Bbb{Q} \\cong G \\times H$, then there are homomorphisms $\\varphi_{G}:\\Bbb{Q} \\rightarrow G$ and $\\varphi_{H}:\\Bbb{Q} \\rightarrow H$ which do not factor or do not factor uniquely through the product $G \\times H$. This would be a contradiction, as $G \\times H$ is a final object in the category Grp. I would greatly appreciate suggestions on how to proceed further with either of these approaches or with alternate approaches.",
"How do I change my default browser? Is there an option to change my default browser for all my applications?",
"Are DSLRs a dying breed, making now the time to switch to a mirrorless camera system?",
"Why doesn't mass of bob affect time period? The gravitation formula says $$F = \\frac{G m_1 m_2}{r^2} \\, ,$$ so if the mass of a bob increases then the torque on it should also increase because the force increased. So, it should go faster and thus the oscillation period should be decrease. My physics book says that period is only affected by effective length and $g$. Why doesn't mass of bob affect the period?",
"Java rounding to nearest 0.05",
"Class teardown in junit 3?"
] |
medi_sts_stackexchange_dupe
|
Explain this bash script: echo "${1##*.}"
|
How do ${0##*/} and ${0%/*} work?
|
[
"Is the density operator a mathematical convenience or a 'fundamental' aspect of quantum mechanics? In quantum mechanics, one makes the distinction between mixed states and pure states. A classic example of a mixed state is a beam of photons in which 50% have spin in the positive $z$-direction and 50% have spin in the positive $x$-direction. Note that this is not the same as a beam of photons, 100% of which are in the state $$ \\frac{1}{\\sqrt{2}}[\\lvert z,+\\rangle + \\lvert x,+\\rangle]. $$ It seems, however, that at least in principle, we could describe this beam of particles as a single pure state in a 'very large' Hilbert space, namely the Hilbert space that is the tensor product of all the $\\sim 10^{23}$ particles (I think that's the proper order of magnitude at least). So then, is the density operator a mathematical convenience, or are there other aspects of quantum mechanics that truly require the density operator to be a 'fundamental' object of the theory? (If what I mean by this is at all unclear, please let me know in the comments, and I will do my best to clarify.)",
"How to get back to a site when viewing one of its questions When viewing a question on a site which I don't use (I never registered on it), I can't figure out how to get back to the list of questions of the site. See this example from the Stack Exchange Android app. Where should I click to see the list of questions? (I chose Mathematics Educators because it's the most recent site, it is very likely that most users don't have an account on this website) Here is a random example: When viewing a question, I don't know how to view the list of questions. This site can't be found in the sidebar since it's not in my Your Sites list. The top menu containing the site's title only opens the sidebar.",
"Number or regions formed when $n$ points on a circle are joined The maximum number $R_{n}$ of regions formed when $n$ points on a circle are joined in pairs is $\\frac{1}{24}\\left(n^{4}-6n^{3}+23n^{2}-18n+24\\right)$. This is a fact that I have read in several essays on the dangers of jumping to conclusions in mathematics. In your opinion, what's the quickest (and/or nicest) way to prove this formula? Professor explains somewhere an especially convincing way to tackle this pearl following an idea which a certain high schooler in one of his talks (lectures?) came up with; yet, I don't remember where it was that I actually read this... Let me thank you in advance for your insightful replies.",
"Reviewing suggested edit of own post after completing 20 reviews I've completed 20 suggested edits reviews today. Then, I came across a and I approved it. Then, I had a doubt that whether the review count has incremented or not, oh! it's not incrementing. System works fine. But, take a look at review page, The edit was already reviewed by one reviewer and then I reviewed it. As I'm the Owner of the post it's enough to approve the edit. But, the review history doesn't show the detail that I had approved it. It's misleading that only one vote of a reviewer who is neither the community user nor the OP nor the moderator, is enough. So, what should we do in this type of situation? Is it correct to make OP to review the suggested edit after completing daily limit? Should we need to display/hide the OP has approved the edit in the review history?",
"Is there a list of Ubuntu versions with default corresponding Linux kernel versions somewhere? I would specifically like to know the most recent version of Ubuntu that still used Linux Kernel 2.x.",
"P-adic expansion construction",
"addplot3[surf] creates lines instead of a surface I have been trying to create a surface plot but I am unable to get it to work. Any help would be greatly appreciated. I've tried using surf which only produces lines instead of a surface (Fig. 1). Note: Although I was originally able to produce output, thesurf plot no longer compiles: \"Package tikz Error\". I've tried compiling with both pdflatex and lualatex with -shell-escape flag. Figure 1 I also tried to use the patch style plot. This produces gibberish (Fig. 2) Figure 2 MWE: \\documentclass{article} \\usepackage{pgfplots} \\usepgfplotslibrary{external} \\usepgfplotslibrary{patchplots} \\tikzexternalize \\begin{document} \\begin{figure}[t] \\centering \\tikzsetnextfilename{surface_plot} \\begin{tikzpicture} \\begin{axis} [ height=12cm, width=15cm, grid=major, grid style={dotted}, colormap/jet, mesh/ordering=x varies ] %\\addplot3[patch,patch type=biquadratic,shader=faceted interp,patch refines=3] coordinates { \\addplot3[surf] coordinates { (-6,-6,446.788) (-5,-6,423.361) (-4,-6,413.264) (-3,-6,402.349) (-2,-6,388.948) (-1,-6,391.747) (0,-6,386.874) (1,-6,423.778) (2,-6, 439.19) (3,-6,449.074) (4,-6,462.155) (5,-6,484.399) (6,-6,505.412) (-6,-5, 423.48) (-5,-5,392.382) (-4,-5,406.696) (-3,-5,392.592) (-2,-5,371.158) (-1,-5,384.142) (0,-5,394.666) (1,-5,408.105) (2,-5, 422.51) (3,-5,420.173) (4,-5,445.816) (5,-5,464.731) (6,-5,485.349) (-6,-4,402.646) (-5,-4,371.879) (-4,-4,376.239) (-3,-4,396.874) (-2,-4,382.761) (-1,-4,386.665) (0,-4,397.148) (1,-4,410.875) (2,-4,425.998) (3,-4,385.143) (4,-4,420.458) (5,-4,438.432) (6,-4, 458) (-6,-3,423.219) (-5,-3,370.582) (-4,-3,464.786) (-3,-3,443.921) (-2,-3,425.196) (-1,-3,427.138) (0,-3,438.002) (1,-3, 453.97) (2,-3,473.021) (3,-3,418.583) (4,-3,435.887) (5,-3,414.993) (6,-3,475.148) (-6,-2,401.995) (-5,-2,385.612) (-4,-2,438.956) (-3,-2,418.583) (-2,-2,400.093) (-1,-2,400.773) (0,-2, 410.58) (1,-2,426.024) (2,-2, 444.92) (3,-2,397.131) (4,-2,413.739) (5,-2,431.741) (6,-2,451.267) (-6,-1,382.978) (-5,-1,335.274) (-4,-1,416.598) (-3,-1,396.718) (-2,-1,378.348) (-1,-1,377.455) (0,-1,32.0089) (1,-1,400.683) (2,-1,419.918) (3,-1,377.371) (4,-1,393.286) (5,-1,374.648) (6,-1,429.077) (-6, 0,365.902) (-5, 0,350.965) (-4, 0,397.527) (-3, 0, 378.36) (-2, 0,360.454) (-1, 0,358.447) (0, 0, 363) (1, 0,381.147) (2, 0,401.177) (3, 0,362.155) (4, 0,378.174) (5, 0,395.513) (6, 0, 414.34) (-6, 1,372.511) (-5, 1,326.945) (-4, 1,407.215) (-3, 1,388.646) (-2, 1,371.945) (-1, 1,371.003) (0, 1,380.027) (1, 1,396.414) (2, 1,416.602) (3, 1,374.897) (4, 1,391.276) (5, 1, 373.32) (6, 1,428.284) (-6, 2,391.149) (-5, 2,376.191) (-4, 2,406.941) (-3, 2,369.633) (-2, 2,393.583) (-1, 2,394.184) (0, 2,404.263) (1, 2,420.588) (2, 2, 440.5) (3, 2,416.631) (4, 2,374.948) (5, 2,391.855) (6, 2,418.511) (-6, 3,375.967) (-5, 3,361.698) (-4, 3,357.421) (-3, 3,368.273) (-2, 3,377.106) (-1, 3,378.664) (0, 3,369.175) (1, 3, 382.42) (2, 3,397.821) (3, 3,377.942) (4, 3,384.944) (5, 3,387.862) (6, 3,424.429) (-6, 4,396.478) (-5, 4,381.554) (-4, 4,376.162) (-3, 4,388.843) (-2, 4,375.881) (-1, 4,378.384) (0, 4, 355.14) (1, 4,403.654) (2, 4,419.779) (3, 4,398.599) (4, 4,407.113) (5, 4,426.715) (6, 4,448.245) (-6, 5,409.364) (-5, 5,380.492) (-4, 5,387.843) (-3, 5,360.034) (-2, 5, 362.23) (-1, 5,364.909) (0, 5,358.321) (1, 5,363.226) (2, 5,379.325) (3, 5,397.152) (4, 5,410.086) (5, 5,433.909) (6, 5,460.548) (-6, 6, 423.99) (-5, 6,408.967) (-4, 6,400.475) (-3, 6,372.922) (-2, 6,371.116) (-1, 6, 373.92) (0, 6,384.778) (1, 6, 398.8) (2, 6, 415.62) (3, 6,420.127) (4, 6,436.064) (5, 6,461.957) (6, 6,491.123) }; \\end{axis} \\end{tikzpicture} \\end{figure} \\end{document} Thank you so much.",
"How can I prevent my parents' divorce? I am a young teenager, younger than 16. (I do not want to give my age online) My dad told me he wants a divorce, but I don't want my parents divorced. My dad says he can't stand my mom anymore. My dad is older than 45 and my mom is older than 40. If it happens, I would choose to stay with my mom. My dad can cook and drive, but my mom can't. There's a school bus in high school though. What can I do to prevent this divorce?",
"How to change radius/weight of curve bezier? try scaling, change radius, but its dont work",
"Cleaning my Macbook Pro Retina leaves greasy 'streaks' across the screen",
"Continuum between addition, multiplication and exponentiation? I noticed this which attempts to find the shades of grey between a linear and log scale where results are between zero and one. However, I was looking for the more general case where we find the continuum between the operators themselves - add, multiply, and exponentiation or even higher. The function could be a hyperoperation$(n,x,y)$, where $x$ and $y$ are the numbers to operate on, and $n$ is allowed to be a non-integer number for the type of operator. So $n=1$ would be 'addition', $n=2$ would be multiplication, and $n=3$ would be exponentiation. But one would also have $n=2.5$ to be the shade of grey BETWEEN multiplication and exponentiation, or $n=3.5$ or $4$ for beyond exponentiation and tetration). I want the formula to work with real numbers, not just integers. Any thoughts? These related posts may also be of interest:",
"Every time I insert the SD card from my camera into the card reader, I get this dialog: Of course there is no need to scan it. Is there a way to disable it?",
"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.",
"I have an equation contained inside \\[...\\], which automatically makes a \\sum with sub- and superscripts turn big--so that the summation sign looks awkward inside parenthesis. Any idea how to make the parenthesis completely enclose the whole summation? \\documentclass{article} \\begin{document} We have: \\[ \\sum_{i=1}^n i = (\\sum_{i=1}^{n-1} i) + n = \\frac{(n-1)(n)}{2} + n = \\frac{n(n+1)}{2} \\] \\end{document}",
"How to edit files in a terminal with nano?",
"Protecting game assets through archiving I'm writing a game in C++ (with OpenGL) and am getting quite far into development. Currently I'm loading the data directly from different directories. (E.G. I load textures from a /Data/Textures/...png) This is fine, but not preferable. Ideally I would like to protect these assets without too much of a performance hit. I looked at other games that I own, both Indie and AAA and found that the majority of them archive the data. However, I am unable to access these archives with programs like Winrar Archiver which implies that they have some level of protection. I'm not particularly knowledgeable in the field of encryption and data storage, so I may be overlooking something obvious but I would like to know how exactly I could achieve something similar. (I am aware that competent individuals are able to use the GPU to gain access to the data but that's not preventable)",
"Intel HD Graphics 620: Does my display adapter support HDMI 2.0 necessary for a 4k display? I want to connect my laptop (Inspiron 15 5000 Series) to a 4k display. When I read online about this it seems that HDMI 2.0 is a necessaity to handle the large resolutions / refresh rates involved to get full benefits of a 4k display. Use case: I'm not going to use this to play games. Most of my use-case is editing documents, emails, spreadsheets and some engineering drawings and video (watching not editing). The goal behind going 4k is to boost productivity by having more things open at once to read side by side. I looked into the Dell specs and they only mention an HDMI without going into the details of what type or whether it will support HDMI 2.0 / 4K TV. How do I tell whether my Dell Inspiron Laptop (i7 7500 U processor) supports this? I looked under the Display Adapters and can see that I have an \"Intel HD Graphics 620\" listed. Will this suffice to tell me if this display adapter will support HDMI 2.0 / 4k display? Or should I be checking out some other settings? Thanks!",
"I recall a short lived TV show that I think was broadcast on the British TV channel ITV in the late 90s or early 2000s and it was about time travel. It was set in Britain in relatively modern times. The scene that really sticks in my head is when the protagonist goes to use their time travelling machine they go in to a room where the machine is and they close all the windows. The windows have latches on them and by closing the window it creates a circuit. By closing all the latches the circuit is complete and the machine is able to be activated. I don't know if it's much to go on, but it's been really bugging me for ages.",
"Filling between two listplots",
"Minecraft webpage links in chat?"
] |
medi_sts_stackexchange_dupe
|
What is the air resistance for objects moving supersonically?
|
Air friction at supersonic velocities
|
[
"Editing Gsettings unsuccesful when initiated from cron",
"How is offside determined in football? The offside rule on the pitch is often unclear and called suddenly. How do I know if a player is offside?",
"Once upon a time, DISPLAY=:0.0 totem /path/to/movie.avi after ssh 'ing into my desktop from my laptop would cause totem to play movie.avi on my desktop. Now it gives the error: No protocol specified Cannot open display: I reinstalled Debian squeeze when it went stable on both computers, and I guess I broke the config. I've googled on this, and cannot for the life of me figure out what I'm supposed to be doing. (VLC has an HTTP interface that works, but it isn't as convenient as ssh.) The same problem arises when I try to run this from a cron job.",
"How to view CD key for a Steam game? I have purchased a game on Steam and can not find out the details of the file or purchase. How does one find their CD Key from a game purchased in Steam?",
"Seeking documentation for {z}/{x}/{y} syntax in tilesource urls? Speaking of tilesource urls such as http://{s}.tile.stamen.com/watercolor/{z}/{x}/{y}.png is there any technical documentation or canonical reference for the curly braces syntax? I'd specifically like to know what other things can be used in curly braces, and in which places, and how they work.",
"How do we prove $n^n \\mid m^m \\Rightarrow n \\mid m$? I'm not sure I've got this right. When proving $a^n \\mid b^n \\Rightarrow a \\mid b$, can we do this indirectly? In short, \"Suppose $a$ does not divide $b$, this implies that $a^n$ does not divide $b^n$. But $a^n \\mid b^n$, hence $a$ divides $b$.\" How about $n^n \\mid m^m \\Rightarrow n \\mid m$? Can we do this the same way?",
"Validationengine jquery not working properly for localization",
"Find the smallest integer $n$ greater than $1$ such that the last $3$ digits of $n^2$ are the same as the last $3$ digits of $n$. Find the smallest integer $n$ greater than $1$ such that the last $3$ digits of $n^2$ are the same as the last $3$ digits of $n$. So far I've got $n^2 = 1000k + n$ which means $n^2 ≡ n \\mod 1000$. I don't know how to proceed since 1000 seems to be a bit high.",
"If $|f(z)|\\le |g(z)|$, can we say $f$ is constant? Let $f$ and $g$ be entire functions and $g(z)\\neq 0$ for all $z\\in \\mathbb{C}$. If $|f(z)|\\le |g(z)|$, can we say $f$ is constant? Liouville theorem says that an entire bounded function is constant, but g is not given bounded here. So I think it should be false. What else can we say about $f$?",
"There are so many questions on this website. There is so many questions on this website. The former "sounds right," but the contracted form of the latter does as well: There's so many questions on this website. Which is correct?",
"Greatest comeback in 2nd leg match",
"How can I show that $n! \\leqslant \\left(\\frac{n+1}{2}\\right)^n$? Show that $$n! \\leqslant \\left(\\frac{n+1}{2}\\right)^n \\quad \\hbox{for all } n \\in \\mathbb{N}$$ I know that it can be done by induction but I always find line where I do not know what to do next.",
"Choosing coordinate system to use in South Africa? What are the principal datums and projections used in South Africa including the names of geodetic datums and their projections?",
"Is there a keyboard shortcut to \"unselect\" in Windows Explorer?",
"sed substitution with Bash variables",
"in the street or on the street",
"Create a tar archive split into blocks of a maximum size I need to backup a fairly large directory, but I am limited by the size of individual files. I'd like to essentially create a tar.(gz|bz2) archive which is split into 200MB maximum archives. Clonezilla does something similar to this by splitting image backups named like so: sda1.backup.tar.gz.aa sda1.backup.tar.gz.ab sda1.backup.tar.gz.ac Is there a way I can do this in one command? I understand how to use the split command, but I'd like to not have to create one giant archive, then split it into smaller archives, as this would double the disk space I'd need in order to initially create the archive.",
"Let $F$ be a field. Why does $F[x]$ have infinitely many irreducible elements? For the case F has characteristic 0 Then x-a is irreducible for all a $\\in F$ since x satisfies no non-trivial relations in F. Obviously this argument fails for a finite field since there are only finitely many a to choose from. So how may I construct irreducible polynomials in a finite field? I figure it must involve higher powers of x, maybe $x^n-a$ ?",
"I'm looking to do a third-party assessment of the false-positive rate of a video classification algorithm. Since I have a lot of video I'm trying to do a power analysis to figure out exactly how much video I need to look through so that it is representative of all the video data at a given confidence interval. The algorithm flags video sequences that have at least one cat in it, and I'm looking to evaluate the frequency of false positives on a new unlabeled test set. So I have tagged all the video that my algorithm has identified a cat in and now want to sample the tagged video sections and look through them manually to validate my model since looking through all of it would take too long! Note, I'm not looking to refine the model at this point, just assess it. My null hypothesis is that the FP rate of the sample of video I watch is equal to the FP rate of all the video. I think I can use this formula to determine the number of video sequences to view: Here is my question: am I thinking through this formulation correctly? Since my model has a CV false positive rate of ~0.96, I figure I can use that as a reference. Can I use that for the null hypothesis proportion, p0? Or will that be p, the true proportion? I've been using this online calculator: I ask because when setting the parameters I have, I'm getting very small sample sizes, like less than 10 sequences to view. That can't be right.",
"Server only reachable over VPN I have an Apache server running on a Raspberry P and it works just fine in the local network. And after forwarding port 80 and trying to connect using the public IP, Chrome says ERR_CONNECTION_REFUSED. But the strange thing is that I CAN reach the server when using VPN and using the same IP. What can I do? -telnet 80.***.***.78 80 Trying 80.***.***.78... telnet: connect to address 80.***.***.78: Connection refused telnet: Unable to connect to remote host -route -n Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 -sudo netstat -lapute: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 *:http *:* LISTEN root 6137 2051/apache2 tcp 0 0 *:ssh *:* LISTEN root 6367 2249/sshd tcp 0 0 pi.local:ssh nmb.local:65535 ESTABLISHED root 8669 2565/sshd: pi [priv udp 0 0 *:9949 *:* root 5918 1809/dhclient udp 0 0 *:mdns *:* avahi 6293 2184/avahi-daemon: udp 0 0 *:54070 *:* avahi 6295 2184/avahi-daemon: udp 0 0 *:bootpc *:* root 5946 1809/dhclient udp 0 0 pi.local:ntp *:* root 6310 2200/ntpd udp 0 0 localhost:ntp *:* root 6309 2200/ntpd udp 0 0 *:ntp *:* root 6304 2200/ntpd"
] |
medi_sts_stackexchange_dupe
|
One answer to multiple questions?
|
Is it acceptable to add a duplicate answer to several questions?
|
[
"Are global variables bad?",
"What should I consider when choosing continuous lighting vs. strobes for studio photography?",
"Why do my LED lights stay on, even when the switch is off? I have two LED lamps in my corridor, and when I switch them off, they keep emitting light (not very strong, but it's annoying at night). What can it be? How can I fix it?",
"So here is the problem Solve $$4^x + 6^x = 9^x$$ for $x$. I am trying to find its real solution. I was trying in this way!! $$6^x\\left( \\frac {4^x}{6^x} + 1\\right) = 9^x$$ $$\\left({\\frac 23}\\right)^x +1=\\left({\\frac 32}\\right)^x$$ but I'm stuck . . . Will anyone help ?",
"What type of solder is safest for home (hobbyist) use?",
"Jackknife vs. LOOCV",
"How do I watch a file for changes? I have a log file being written by another process which I want to watch for changes. Each time a change occurs I'd like to read the new data in to do some processing on it. What's the best way to do this? I was hoping there'd be some sort of hook from the PyWin32 library. I've found the win32file.FindNextChangeNotification function but have no idea how to ask it to watch a specific file. If anyone's done anything like this I'd be really grateful to hear how... [Edit] I should have mentioned that I was after a solution that doesn't require polling. [Edit] Curses! It seems this doesn't work over a mapped network drive. I'm guessing windows doesn't 'hear' any updates to the file the way it does on a local disk.",
"At college we use ArcGIS Desktop 10, but that does not function on my Mac so I have QGIS there instead. I want to do my exercises with QGIS, but in ArcGIS Desktop we use .lyr files with ArcMap and .lyrx files with ArcGIS Pro, and they are not supported by QGIS. Does anyone know, how I can connect the *.lyr files to my *.shp files to use them on my Mac with QGIS?",
"This is purely a curiosity, but I'm fascinated by mid-word pluralization, even if the word in question is a compound word. For example, passersby or standersby. No others have occurred to me. Can you provide other examples, or a link to a resource that enumerates them? I'm particularly interested in compounds that do not include spaces or hyphens.",
"When I have Excel running and I double click an Excel file in Windows explorer, I'd like it to launch in a new window by default so that I can move documents to separate monitors. Is there any way to get this behavior?",
"Poking around the people's profiles to see how the I keep seeing things like this: It looks strange to have a 25/5 progress on a badge, but the dialog explains that what this user is missing is a positive record of asking. The is: (total questions - negative questions - closed - deleted)/total questions >= 0.5 If you look at , it's hard to see how his asking record could be anything but exceptional. According to his asking record is 0.875. The problem is that he asked many of his questions in the early days of the site that were well-received, but later deleted. Some were deleted after the question was . My suggestion is that we change the asking record formula: (total questions - negative questions - closed - early deleted)/total questions >= 0.5 The early deleted variable counts only questions deleted within 60 days of being asked. I picked 60 days because it's the dividing line between being able to . After looking through the list of people who would get the Curious badge on Stack Overflow with this change, I noticed a few things: Many of them have self-deleted questions on their record. Often these are questions that were asked and basically ignored. After a few months, the original asker went back and deleted their question. It's hard to know what happened in each individual case, but my guess is that they never found a solution to their specific question and worked around the issue instead. (I have a few of those, but I'm not courteous enough to delete them.) These users don't tend to ask the same question over and over again. I ran a similar test that excluded self-deleted questions. That group included a lot of cases of people asking a question, not getting an answer after a day or two, deleting the question, and asking the same question again. This strategy doesn't work if you wait two months to delete your first question. Two mods (George Stocker and Gordon), Tim Post, and myself are on the list of users who would get a Curious badge under this system. On Meta Stack Exchange 5 current employees would be newly eligible for the badge. In my (admittedly biased) opinion, these are curious users. I did some spot check on the lower end of the reputation scale. Every user I looked at fit my model of the ideal recipient of the Curious badge; they asked mostly upvoted questions with few closed questions. This change would add about 3286 new Curious badges on Stack Overflow, so there will certainly be a few exceptions I didn't find. But I think they are more than balanced by the clearly deserving users who will be awarded new badges. Proposal: For the Curious, Inquisitive, and Socratic badges, don't count questions deleted 60 or more days after asking as deleted for the purposes of calculating asking record. These questions may still count as negatively scored or closed, if applicable. Days that include deleted questions, no matter when they are deleted, do not count toward the days asked criteria. Modified Proposal: For the Curious, Inquisitive, and Socratic badges, don't count questions deleted or closed 60 or more days after asking as deleted or closed for the purposes of calculating asking record. These questions may still count as negatively scored, if applicable. Days that include deleted or closed questions, no matter when they are deleted or closed, do not count toward the days asked criteria. On Stack Overflow, that would add about 665 Curious badges, including two more for moderators (casperOne and 0x7fffffff) and one for an employee (Oded). On the opposite end of the reputation scale my spot checks are a bit muddier. Instead of a small number of deleted (and usually closed) questions, this list turns up users whose latest questions still aren't all that interesting. Even so, on balance a few extraneous bronze badges seem worthwhile in exchange for acknowledging truly curious users.",
"Exit from both root and user with one command I know about \"not using sudo su -\" etc. But let's be honest, almost all of us do it. So, here is the issue. We can't have root logins enabled, so we have to ssh in as our user then su to root. Here is the process tree: 1 7897 7826 7826 ? -1 S 1000 0:00 sshd: josh@pts/0 7897 7898 7898 7898 pts/0 8182 Ss 1000 0:00 \\_ -bash 7898 7990 7990 7898 pts/0 8182 S 0 0:00 \\_ sudo su - 7990 7991 7990 7898 pts/0 8182 S 0 0:00 \\_ su - 7991 7992 7992 7898 pts/0 8182 S 0 0:00 \\_ -su 7992 8182 8182 7898 pts/0 8182 R+ 0 0:00 \\_ ps axjf I would like to exit from root, then from my user with one command. Is there a way to do this? BTW exit && exit does not work because it exits the shell and doesnt process the rest of the command josh@ubuntu:~$ sudo su - root@ubuntu:~# exit && exit logout josh@ubuntu:~$",
"Using Laptop Screen as a monitor",
"How can I use JavaScript on the client side to detect if the page was encrypted? Is it possible to detect, on the client side, whether the user is using an encrypted page or not? Put another way -- I want to know if the URL of the current page starts with http or https.",
"Every time I call \\section{**Section Name**}, a number appears to the left of the name of the section. How do I hide this number?",
"Need to understand parallel query execution error Today we experienced a degradation in performance on our production sql server. Durring the time this occurred we logged several \"The query processor could not start the necessary thread resources for parallel query execution\" errors. The reading that I've done suggests that this has to do with how many CPUs to use when executing a complex query. However when I checked during the outage our CPU Utilization was only at 7%. Is there something else this could be referring too that I haven't come across yet? Is this a likely culprit of the performance degradation or am I chasing a red herring? My sp_configure values for this are as follows: name minimum maximum config_value run_value cost threshold for parallelism 0 32767 5 5",
"Heisenberg famously derived his uncertainty principle by considering the disturbance that a measurement would have on a small enough system. Of course in the mathematical formalism of Quantum Mechanics the relationship is derived from more basic principles. How does String Theory account for it? Heuristically, and mathematically?",
"Pointing the camera in a particular direction programmatically I'm trying to use Python to place a camera. I know the camera's location, and the forward and up vectors for the camera (i.e. the direction it's pointing and its orientation). How do I do this? I know that it's possible to calculate a raw world matrix from the above information, which I can then apply to the camera, but I was rather hoping not to have to. Is there an easier way?",
"Group files in some folders I have some files with different extensions such as *.pdf, *.mp3, *.jpg and a few others. All of them are stored in a parent directory. How can I get a list of all extensions, create some folders based on these extensions and then move all files into their relevant folders?",
"Training N classifiers for N labels vs one classifier with N labels I have a classification problem which is multi-label with N labels. I would like to know which method would be the better choice? Training N classifiers (1 for each label) or a single classifier which use K-hot encoding. I'm using a neural network for this with a softmax at the last layer. (Is there any chance that the softmax would cause a problem?) I'm using tensorflow for the model."
] |
medi_sts_stackexchange_dupe
|
Graphic tool in LaTeX?
|
What graphics packages are there for creating graphics in LaTeX documents?
|
[
"SEO of in header",
"For every matrix $A\\in M_{2}( \\mathbb{C}) $ there's $X\\in M_{2}( \\mathbb{C})$ such that $X^2=A$?",
"How to print a string at a fixed width?",
"2/15/18 compiz update broke unity This forced removal of unity and ubuntu-desktop on my 16.04 Ubuntu system. The offending package that is missing, but unity needs, seems to be compiz-core-abiversion-20151010. It seems to be a , and I can't find it to download. As it happens, I mostly use LXDE on this system, but I'd be very unhappy if I used Unity... Since I do occasionally use the Unity desktop, is there a fix for this? Edit: related questions are rolling in. Looks like a major quality escape Edit 2:",
"When a holomorphy ring is a PID? I will use the notation and language of Stichtenoth, Algebraic Function Fields and Codes. Let $F$ be a function field over a finite field $\\mathbb F_q$, $S$ a non empty set of places (possibly infinite) and $O_S$ the holomorphy ring of $S$, i.e., $O_S:=\\bigcap_{P\\in S} O_P$ (being $O_P$ the valuation ring of the place $P$). Give necessary and sufficient conditions for $O_S$ to be a Principal Ideal Domain. Many thanks in advance! G.",
"How to close view windows? I would like to close some view windows that I opened accidentally. See the image below: Edit: another note: I tried searching for the solution, but only found things like \"Join Area\", which don't seem to work in this situation.",
"Why don't C++ compilers define operator== and operator!=?",
"What are tag synonyms? How can tag synonyms be distinguished from \"real\" tags? How are new tag synonyms created? Who can create tag synonyms? How can I delete/reverse/undo bad tag synonyms? What are merged tags?",
"Buying shares when the price goes down 2% and selling shares when it goes up 2%",
"If $f:\\mathbb{R}\\to\\mathbb{R}$ is continuous and $$\\lim_{x\\to\\infty}f(x)=\\lim_{x\\to-\\infty}f(x)=\\infty$$ Prove that $f$ has a minimum on $\\mathbb{R}$; that is, there is an $x_m\\in\\mathbb{R}$ such that $$f(x_m)=\\inf_{x\\in\\mathbb{R}}f(x)<\\infty$$ I think the best approach would be to prove the existence of a lower bound, that is $\\exists M\\in\\mathbb{R}:M<f(x),\\forall x\\in\\mathbb{R}$, but I don't know how to do this. I am probably supposed to use the extreme value theorem or the intermediate value theorem, but I don't know how to do that.",
"Disk full, du tells different. How to further investigate? I have a SCSI disk in a server (hardware Raid 1), 32G, ext3 filesytem. df tells me that the disk is 100% full. If I delete 1G this is correctly shown. However, if I run a du -h -x / then du tells me that only 12G are used (I use -x because of some Samba mounts). So my question is not about subtle differences between the du and df commands but about how I can find out what causes this huge difference? I rebooted the machine for a fsck that went w/out errors. Should I run badblocks? lsof shows me no open deleted files, lost+found is empty and there is no obvious warn/err/fail statement in the messages file. Feel free to ask for further details of the setup.",
"Does Thunderbolt support chaining multiple monitors to a MacBook Pro? This has always been a big want for me. I love using multi-monitor setups but only want a single laptop. Does the 2011 MBP Thunderbolt support chaining multiple monitors together? I know that you can add a monitor and say, a few hard drives, but can you connect it to 2 27\" monitors and your flat screen TV (for example)? Thanks!",
"How to combine paths in Java? Is there a Java equivalent for in C#/.NET? Or any code to accomplish this? This static method combines one or more strings into a path.",
"I want to compile my program with the latest version of gcc. Ubuntu 14.04 comes with gcc 4.8.2, however there's 4.9.0 available, moreover, I see that it is available as a package: . I tried to install it sudo apt-get install gcc-4.9 but it says Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'gcc-4.9-base' for regex 'gcc-4.9' gcc-4.9-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Looks like it is already installed, just not as the default one? How do I utilize it to build my program?",
"Energy conservation in General Relativity",
"I really love Eclipse (PDT)... But i'm developing sites using HTML5 and CSS3 and it mark the HTML5 tags like <nav>, <section> and <article> as invalid tags (inexistent). How can I add those new tags to it? And what about CSS3 rules? I read something about remove the \"invalid tag\" check... and that's not what I want. :(",
"Prove or show a counter example for: $\\forall a, b, c \\in \\mathbb Z$, if $ab\\mid c$ then $a\\mid c$ and $b\\mid c$ I'm working on my Discrete Mathematics homework and they are asking me this: Prove or show a counterexample for: $\\forall a, b, c \\in \\mathbb Z$, if $ab\\mid c$ then $a\\mid c$ and $b\\mid c$ I'm not completely sure how to prove it. I was thinking to find a counterexample like zero but I'm not sure if that it's going to work. Or maybe try to approach it backwards? I'm a little bit lost",
"I cannot easily figure out which one is more appropriate to use: It's important to me. It's important for me. Are they the same? If not, what's the difference?",
"$\\int_{0}^{\\infty} \\frac{\\cos x - e^{-x}}{x} \\mathrm dx$ Evaluate Integral Evaluate $$\\int_{0}^{\\infty} \\frac{\\cos x - e^{-x}}{x} \\ dx$$",
"Click to hide in the Hero content is not aligned correctly for the non joined communities The \"Click to hide\" icon in the hero content (welcoming message) for the non joined communities are not aligned correctly for most of the private beta and some other communities. A few examples are: Can the icon be aligned to the right hand side with correct padding?"
] |
medi_sts_stackexchange_dupe
|
Does linear regression assume all variables (predictors and response) to be multivariate normal?
|
What if residuals are normally distributed, but y is not?
|
[
"I was playing terraria today, and my friend came and deleted the my world. Is there a way for me to recover my world?",
"Assume $T \\in \\mathbb{R}^{d\\times d}$. Let $\\rho(T)$ be the spectral radius of $T$ and $\\rho \\ge 0$. Prove that $\\rho(T) < \\rho$ if and only if there exists a $P \\succ 0$ satisfying $T^TPT - \\rho^2 P \\prec 0$. I can prove the Necessity: If $P = I$, for any $x \\in \\mathbb{R}^d$, \\begin{equation} x^T T^T P T x - \\rho^2 x^T P x = \\| Tx \\|^2 - \\rho^2 \\| x\\|^2 < 0 \\end{equation} so $T^T PT - \\rho^2 P \\prec 0$ I get stuck in proving the Sufficiency.",
"An alternative to translation for non-English speakers?",
"How to run ffmpeg from command line in android",
"Why is my StackOverflow with an indent and doesn't have reputation Well everything is in the title. Why is StackOverflow showing up with a indent and why don't I see my rep next to it like on the other websites.",
"How do I figure out what package something is in without resorting to Google? I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me: $ make html sphinx-build -b djangohtml -d _build/doctrees . _build/html make: sphinx-build: Command not found make: *** [html] Error 127 $ sudo apt-get install sphinx E: Unable to locate package sphinx $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build googles $ sudo apt-get install python-sphinx Is there a better way?",
"How does a Windows 10 'digital license' activate the OS?",
"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?",
"Placement of question mark when terminal quote has no question mark but sentence does Possible Duplicate: If I'm quoting something someone said and the quote does not have a question mark, but I want to end the sentence with a question mark, would it be Are you sure she said \"Spicy?\" or Are you sure she said \"Spicy\"?",
"Is it time to be rid of automatic down votes on certain closed questions?",
"Brace expansion not working in a script",
"Cross-reference packages: which to use, which conflict?",
"In my assignment I have to prove that the following function doesn't have a limit: $$f(x)=\\frac{x}{x-\\lfloor{\\sin x}\\rfloor}$$ when $${x \\to 0}$$ In other words, I have to prove that for every $\\delta$ such that $0<|x-{x_0}|<\\delta,$ $|f(x)-L|>\\epsilon$. In fact, I don't even know how to start. Do I choose my $\\delta$? I know that the sin function has certain values that's supposed to help me. How do I use it? I have to prove this by definition, so I can't use limit arithmetic for example Thanks.",
"Ownership of .Xauthority transferred to root Somehow, while playing around with LightDM and Webkit Greeter, the ownership of the .Xauthority file in my home dir was given to the root user and I couldn't login because I hadn't the privilegues to lock the file. I was able to regain ownership of the file and I could login again. (After several hours of reinstalling LightDM and it's greeters) So now everything's working fine again. But I'd like to know how this happened. Is this a bug in LightDM or Webkit Greeter or something else?",
"How to render text pixel-perfectly with subpixel antialising with Illustrator?",
"Concurrent requests limit exceeded - how to find the problematic code I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded. Our pages are built using AngularJS to remotely call Apex code. We are on an Unlimited Edition org and we are nearing 90% of our total allowed code. We have a lot of callouts to external services and many times these callouts can run long. We are now running into issues where users are seeing the \"Unable to Process Request - Concurrent requests limit exceeded\" error. The issue is there is so much code written by so many different developers it is hard to identify what/where the problematic code is. Sometimes users see this error when they are trying to perform a callout. Sometimes it's when they are inserting a record and triggers are firing. The long-running code issue can be anywhere in our org. Another issue is error handling has been done very poorly, so if any process does run long, we most likely are not looking for it or logging it. Other than enhancing the logging on our callouts, I do not know where to even begin to find other problematic code. Every developer before me has written code with no regards to limits, so inefficient code can be anywhere. Is there any way or best practice to being able to analyze such a complex org and find where the problems may be? All I can think of is enhanced logging EVERYWHERE, but that may not be the best approach and would be very time consuming, especially considering how many developers we have constantly writing and pushing new code. I have tried to replicate the issue in a sandbox however I cannot seem to get it working. I wrote Javascript to remotely call an Apex method that waits for 6 seconds. I called this remotely 11 times at once, causing 11 synchronous transactions running concurrently each longer than 5 seconds. However instead of getting the concurrent limit error, each Apex transaction just errors out with a timeout. Any help would be greatly appreciated. I am not familiar with the majority of the code/functionality of our org, so I do not know how to really solve this issue considering I don't even know what could be problematic aside from long running callouts. Thanks!",
"Unable to play MP3 or MP4 files in Rhythmbox or Movie Player I am unable to play any MP3 or MP4 files. When I try to open any MP3 or MP4 file, both show an error, a Python 2.7 plug-in is required.",
"Canonical map $R/(I\\cap J)\\rightarrow R/I\\times _{R/(I+J)} R/J$ is an isomorphism",
"Is there a limit to a total number of months a holder of UK multiple entry visitor visa can spend in UK per calendar year?",
"Delay in approval leads to missing out on being awarded an \"Explainer\" badge"
] |
medi_sts_stackexchange_dupe
|
Why do I get NullPointerException when retrieving my JFileChooser?
|
What is a NullPointerException, and how do I fix it?
|
[
"Converting HTML to plain text in PHP for e-mail",
"Prove that the Interior of the Boundary is Empty Suppose X is a Metric Space Let S $\\subset X$ Prove that if S is Closed then, the Interior of the Boundary of S is Empty Totally stuck on how to solve this.",
"How can I reinstall GRUB to the EFI partition?",
"Creating new users using PHP not recognized by Apache 2.4 I have a server setup where new linux users are created using (PHP) shell_exec ( '/usr/sbin/useradd ' . $username ); exec ('usermod -a -G ' . $username . ' '. $username); #add user into the usergroup exec ('usermod -a -G ' . $username . ' www-data'); #add usergroup with the www-data And then the user script changes the owner and group of the files to this owner. The server is setup with suPHP which then allows these files to be run as the owner. This setup worked fine with Apache 2.2 but is breaking in Apache 2.4. Everything works fine except when I try to oepn the files, it gives a 403 forbidden error. Restarting apache after the user is added fixes the issue but that is not a viable solution for me. The users are added using a web server and hence I need to be able to do this without having to reload/restart apache everytime. I have searched for serveral hours and tried to fix the issue but haven't been able to do so! I am running ubuntu 14.04 and I am not able to downgrade to apache 2.2 as well.",
"What methods can I use to infer a distribution if I know only three percentiles? For example, I know that in a certain data set, the fifth percentile is 8,135, the 50th percentile is 11,259, and the 95th percentile is 23,611. I want to be able to go from any other number to its percentile. It's not my data, and those are all the statistics I have. It's clear that the distribution isn't normal. The only other information I have is that this data represents government per-capita funding for different school districts. I know enough about statistics to know that this problem has no definite solution, but not enough to know how to go about finding good guesses. Would a lognormal distribution be appropriate? What tools can I use to perform the regression (or do I need to do it myself)?",
"Using \\@-ified punctuation while using \\frenchspacing After reading about spacing and punctuation, I was left wondering about an issue that didn't seem to be addressed: using \\frenchspacing together with the modified punctuation \\@., \\@?, etc. As far as I can tell visually, using \\frenchspacing together with these commands works correctly (i.e., it seems like nothing breaks, and the extra space is suppressed as normal), but are there problems that can arise from doing so? Moreover, when using \\frenchspacing, \"should\" I still use \\@. and its friends where it would ordinarily be necessary, in case someone wants to remove \\frenchspacing later? Would accommodating (hypothetical) future editors in this way be \"standard\", \"above and beyond the call of duty\", or \"crazy\"?",
"Assuming $T_1$ is the force that acts on box $1$ and $T_2$ is the force that acts on box $2$. Exactly what causes the Tension? Why does $T_1 = T_2$? The problem is we are told to memorize that $T_1 = T_2$ for mass less ropes, but I do not understand why, especially in an Atwoods machine. When I think about it, I know it has something to do with the force $m_2g$ which causes the box with mass $m_1$ to rise, and vice versa. But I cannot apply physics terminology to this, or really understand whats going on.",
"How can I verify the following statement? The image of a morphism $f : A \\longrightarrow B$ is defined as $\\text{Im}(f) = \\text{Ke}r(\\text{coke}r f)$ whenever it exists (e.g., in every abelian category). The morphism $f : A \\longrightarrow B$ factors uniquely through $\\text{Im} f \\longrightarrow B$ whenever $\\text{Im} f$ exists, and $A \\longrightarrow \\text{Im} f$ is an epimorphism and a cokernel of ker $f \\longrightarrow A$ in every abelian category.",
"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?",
"Comparing nullable column values using \"IS NULL\" versus \"= NULL\" I'm dealing with nullable values in a column of a table, i'm wondering why this: with cte as ( select 'c1'::text as c1,null::text as c2 union select 'c2'::text as c1,null::text as c2 ) select * from cte where c2 is null returns a result set with the two \"rows\" having a null value in c2; comparting to this query: with cte as ( select 'c1'::text as c1,null::text as c2 union select 'c2'::text as c1,null::text as c2 ) select * from cte where c2 = null that returns an empty result set!! so it looks like that field is null is actually different from field = null? the question is... is there \"null-compatible operator\" to use? so i can write the comparision like: column_name = $1 and argument $1 can be a not null or null value. IF $1 is a null value then it will semantically equals to write as IS NULL, ELSE (if $1 is not a null value) then it would be semantically equals to = $1. P.D: This question also applies to the case is NOT NULL versus <> NULL",
"How to arrive at $\\int_{0}^{1} f^3(x) \\, dx < (\\int_{0}^{1} f(x) \\, dx)^2$? Define $f : [0,1] \\to \\mathbb{R} $ differentiable satisfying $f(0)=0$ and $0<f'(x)<1$. Prove: $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$ I found the following answer, Define $F(x)=\\displaystyle\\int_{0}^{x} f^3(t) \\, dt - \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)^2$ We have $$F'(x)=f^3(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)f(x)=f(x)\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]$$ and $$\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]'=2f(x)\\left[f'(x)-1\\right]$$ from which we can arrive at the conclusion. But I felt a little confused. In the past I usually proved the inequality by classical inequalities and something like Taylor expansion to use the condition about derivative. But this answer is little out of my expectation. Do we have other proofs or ideas to arrive at $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$? And other thoughts about solving these types of issues? I think when we talk about $\\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2 >\\ldots \\,$ it's a little difficult to deal with. I don't quite know what tools to use.",
"Do not show ellipsis when not needed in search results When doing a search, the results page shows an ellipsis when it is not needed. For instance: The message of that answer is shorter than the text overflow limit, which means the ellipsis (...) should not be shown.",
"We need a hard rate limit on suggested edits, to limit the damage someone can do with blasting the review queue with minor edit suggestions. Case in point: peppered the site with a whopping 133 tag-only edit suggestions in 2 hours and 15 minutes. That's one edit every minute on average, but towards the end he was entering a new suggestion every 20 seconds. He only stopped because a drew enough rejections to have him banned from entering more. If there was a limit to the number of suggested edits you can enter in a time period we could have stopped this guy earlier. No <2k user needs to edit hundreds of tags across that many questions in 2 hours time. Considerations There are cases where a retag drive or tag burninate justifies editing a larger number of posts, but I'd be fine if such tasks were limited to people with 2k+ reputation. A retag or burninate job requires a minimal engagement with the community to know when they are justified anyway. The suggested edit review process, by itself, was clearly not enough to stop this barrage. It cannot be seen as a rate limiting measure, at least not as a sufficiently efficient one. The vast majority of the edits made in the above example were too minor, leaving spelling, grammar and formatting mistakes in the post untouched. The user was going too fast to pay attention to such details anyway. Yet this user has 98 approved edit suggestions, but all but 6 or 7 I'd have rejected as too minor, so the review process itself is broken. What should be limited The number of review votes reviewers have is already limited; I burned through 20 reviews in short order just reviewing the suggestions from just this one user. Certainly the number of unreviewed suggestions should be limited to let reviewers catch up with a user like this. I'd say having 20 outstanding suggested edits pending review is plenty. Suggested edits should be made with some consideration; we don't want minor edits, so if you are suggesting more than 20 in an hour (that's 1 every 3 minutes) you are not improving posts anymore, you are gaming the system to gain reputation.",
"Use chown to set the ownership of all a folder's subfolders and files? How can I use the chown command to change the ownership of all a folder's subfolders and files?",
"Let $E$ be measurable and define $f:E\\rightarrow\\mathbb{R}$ such that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{Q}$, is $f$ measurable? There are a number of equivalent definitions for the measurability of a function and the most obvious one would be to show that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{R}$. Thus my strategy has been to consider an arbitrary irrational $y$ and use the density of the rationals in the reals to show that there exists some open set $O$ such that $m^*(O-\\{x\\in E : f(x)>y\\})< \\varepsilon$. I would do this by choosing some rational $q<y$, close enough to $y$, such that the set of values in $E$ which get sent under $f$ to values strictly greater than $q$ and less than or equal to $y$ is small enough. But that doesn't in general seem possible since I could keep sending intervals of some fixed positive length to smaller and smaller regions just beneath $y$. However conversely, such a function would not be enough for a counter example, since finding such a function only rules out this strategy, but doesn't necessarily entail non-measurability. Is there a better definition of the measurability of a set I should use? or does the statement actually not imply measurability? Thanks.",
"Second law of Newton for variable mass systems Frequently I see the expression $$F = \\frac{dp}{dt} = \\frac{d}{dt}(mv) = \\frac{dm}{dt}v + ma,$$ which can be applied to variable mass systems. But I'm wondering if this derivation is correct, because the second law of Newton is formulated for point masses. Furthermore if i change the inertial frame of reference, only $v$ on the right side of the formula $F = \\frac{dm}{dt}v+ma$ will change, meaning that $F$ would be dependent of the frame of reference, which (according to me) can't be true. I realize there exists a formula for varying mass systems, that looks quite familiar to this one, but isn't exactly the same, because the $v$ on the right side is there the relative velocity of mass expulsed/accreted. The derivation of that formula is also rather different from this one. So my question is: is this formula, that I frequently encounter in syllabi and books, correct? Where lies my mistake.",
"Question Close Updates This week we rolled out a series of changes to of the question close workflow. You can read more about the details of these changes . For context, the overall effort to improve the question close experience will be optimized for Stack Overflow. Given Stack Overflow’s scale, many of the pain points we hear about with question closing and reopening are unique to Stack Overflow and won’t make sense for other network sites. However some changes are general improvements that should improve usability and guidance overall. Wherever possible, we plan to roll these changes out network wide as well. Any time we roll out a change network wide, we’ll make sure to cross-post here. This first phase is being rolled out to the network and is why I’m posting today. Let us know if you run into any issues or have questions regarding the network here.",
"How to use \"grep\" command to find text including subdirectories",
"I did a bit of math at school and it seems like an easy one - what am I missing? $$n\\times m = \\underbrace{n+n+\\cdots +n}_{m\\text{ times}}$$ $$\\quad n\\times 0 = \\underbrace{0 + 0 + \\cdots+ 0}_{n\\text{ times}} = 0$$ (i.e add $0$ to $0$ as many times as you like, result is $0$) So I thought an infinite number of $0$'s cannot be anything but $0$? But someone claims different but couldn't offer a reasonable explanation why. Google results seemed a bit iffy on the subject - hopefully this question will change that.",
"Create a workflow rule when Lead status is changed from X to Y I want to create a workflow rule which should be triggered when I change the Lead Status value from 'Open: Not Contacted' to 'Open: Working' Any help with this please?"
] |
medi_sts_stackexchange_dupe
|
Base class virtual method is called, instead of derived method
|
What is object slicing?
|
[
"What is the method for converting radians to degrees? I run into this occasionally and always forget how to do it. One of those things that pop up ever so often. Also, what's the formula to convert angles expressed in radians to degrees and back again?",
"Is there a UNIX command to list all recently removed files from a system Accidentally a rm -rf command was launched to my root directory instead of current directory. I stopped file removing by Ctrl+C but some files has already been removed. Is there a LINUX command to list all recently removed files from the system to get the affected applications ? Operating System: CentOS 6.3",
"What is \"function*\" in JavaScript?",
"How to rename objects with python? I want to rename the number 1->picture (32) with python not the number 2->picture with the (3745), can someone help me with that ?",
"A weak converse of $AB=BA\\implies e^Ae^B=e^Be^A$ from \"Topics in Matrix Analysis\" for matrices of algebraic numbers. It is a well known fact that if $A,B\\in M_{n\\times n}(\\mathbb C)$ and $AB=BA$, then $e^Ae^B=e^Be^A.$ The converse does not hold. Horn and Johnson give the following example in their Topics in Matrix Analysis (page 435). Let $$A=\\begin{pmatrix}0&0\\\\0&2\\pi i\\end{pmatrix},\\qquad B=\\begin{pmatrix}0&1\\\\0&2\\pi i\\end{pmatrix}.$$ Then $$AB=\\begin{pmatrix}0&0\\\\0&-4\\pi^2\\end{pmatrix}\\neq\\begin{pmatrix}0&2\\pi i\\\\0&-4\\pi^2\\end{pmatrix}=BA.$$ We have $$e^A=\\sum_{k=0}^{\\infty}\\frac 1{k!}\\begin{pmatrix}0&0\\\\0&2\\pi i\\end{pmatrix}^k=\\sum_{k=0}^{\\infty}\\frac 1{k!}\\begin{pmatrix}0^k&0\\\\0&(2\\pi i)^k\\end{pmatrix}=\\begin{pmatrix}e^0&0\\\\0&e^{2\\pi i}\\end{pmatrix}=\\begin{pmatrix}1&0\\\\0&1\\end{pmatrix}.$$ For $S=\\begin{pmatrix}1&-\\frac i{2\\pi}\\\\0&1 \\end{pmatrix},$ we have $$e^B=e^{SAS^{-1}}=Se^AS^{-1}=S\\begin{pmatrix}1&0\\\\0&1\\end{pmatrix}S^{-1}=\\begin{pmatrix}1&0\\\\0&1\\end{pmatrix}.$$ Therefore, $A,B$ are such non-commuting matrices that $e^Ae^B=\\begin{pmatrix}1&0\\\\0&1\\end{pmatrix}=e^Be^A.$ It is clear that $\\pi$ is important in this particular example. In fact, the authors say what follows. It is known that if all entries of $A,B\\in M_n$ are algebraic numbers and $n\\geq 2,$ then $e^A\\cdot e^B=e^B\\cdot e^A$ if and only if $AB=BA.$ No proof is given. How does one go about proving that?",
"When an account is deleted, the username in the user's posts and comments is changed to a generic user<userID>. But the username stays the same on close and delete notifications on posts the user had voted to close / delete1. I think it shouldn't, especially for users who used their real name as their username, if they chose to distance themselves from the site and remove their accounts, it makes sense that they wouldn't really want their name plastered on close and delete notifications. A perhaps easy way to avoid the actual username remaining visible would be to change it to the generic user<userID> (or anything generic enough, like \"anonymous\") prior to deletion, and wait a bit for the generic username to propagate all over the site. If I'm not horribly misreading , this was part of the process in the old days. This could be automated or added as a suggestion to the . Glaring example can be seen , where the deleted user also posted a comment where their name is properly anonymized: 1 I've seen it on close notifications and self deleted answers. I'm not sure it happens on deleted questions, or deleted answers that aren't self deletions, and I don't have a way to verify it - other than stumbling on them accidentally",
"Why does pressing a transform hotkey not display the axes on the selected object? I open Blender 2.80 (official release, not a beta or RC) and get the new scene with the usual 3 objects present (camera, light and cube). I select the cube, press 't' for the tools menu and click on the Move tool. The usual 3 axis glyph appears at the cube's origin as expected. But if I use the hotkey 'g' to activate the move transform instead of selecting the tool from the menu with the mouse this glyph does not appear. The exact same problem exists if I use the a hotkey for rotate or scale as well. Why? Is there some clickable checkbox setting hidden somewhere that could have disabled this?",
"From all the hard drives I have bought, they never seem to be as large as the advertised size; from 320 GB down to 290 GB, from 500 GB down to 450 GB, etc. Is there a technical reason for this?",
"I have damaged the screen on my phone, so much so, it will not allow me to get the data to transfer onto my laptop. On opening Samsung Kies, it is saying that the connected device is locked. Please enter password on the connected device. I can only assume its the pattern lock they are referring to as I have managed to unlock the sim. As I am unable to do this due to the screen being cracked, I wondered whether there is any other way of doing this, before sending the same onto my insurance company, as they are saying that I will lose all the data! Cant see why seeing as its just the hardware that is damaged and not the software.",
"Apparently $1+2+3+4+\\ldots+n = \\dfrac{n\\times(n+1)}2$. How? What's the proof? Or maybe it is self apparent just looking at the above? PS: This problem is known as \"The sum of the first $n$ positive integers\".",
"Increment Record based on field",
"What does \"Meta\" mean? I am fairly new to Stack Overflow and just stumbled across Meta Stack Overflow. I can't seem to figure out what the purpose of the \"Meta\" site is. Can someone please explain it to me?",
"Is there a built-in that removes duplicates from list in Python, whilst preserving order? I know that I can use a set to remove duplicates, but that destroys the original order. I also know that I can roll my own like this: def uniq(input): output = [] for x in input: if x not in output: output.append(x) return output (Thanks to for that .) But I'd like to avail myself of a built-in or a more Pythonic idiom if possible. Related question:",
"Is there a word for happiness made possible by a tragic situation?",
"Is it possible to reintegrate a Horcrux? As anyone who is familiar with Harry Potter knows, a horcrux is made when someone commits murder and stores a piece of their soul in something. Would it be possible for this someone to later recover and reintegrate their soul piece(s), should they want to?",
"I think I have heard that the following is true before, but I don't know how to prove it: Let $A$ be a matrix with real entries. Then the minimal polynomial of $A$ over $\\mathbb{C}$ is the same as the minimal polynomial of $A$ over $\\mathbb{R}$. Is this true? Would anyone be willing to provide a proof? Attempt at a proof: Let $M(t)$ be the minimal polynomial over the reals, and $P(t)$ over the complex numbers. We can look at $M$ as a polynomial over $\\Bbb C$, in which case it will fulfil $M(A)=0$, and therefore $P(t)$ divides it. In addition, we can look at $P(t)$ as the sum of two polynomials: $R(t)+iK(t)$. Plugging $A$ we get that $R(A)+iK(A)=P(A)=0$, but this forces both $R(A)=0$ and $K(A)=0$. Looking at both $K$ and $R$ as real polynomials, we get that $M(t)$ divides them both, and therefore divides $R+iK=P$. Now $M$ and $P$ are monic polynomials, and they divide each other, therefore $M=P$. Does this look to be correct? More generally, one might prove the following Let $A$ be any square matrix with entries in a field$~K$, and let $F$ be an extension field of$~K$. Then the minimal polynomial of$~A$ over$~F$ is the same as the minimal polynomial of $A$ over$~K$.",
"How do I compare 2 rows from the same table (SQL Server)? I need to create a background job that processes a table looking for rows matching on a particular id with different statuses. It will store the row data in a string to compare the data against a row with a matching id. I know the syntax to get the row data, but I have never tried comparing 2 rows from the same table before. How is it done? Would I need to use variables to store the data from each? Or some other way? (Using SQL Server 2008)",
"What is lock escalation?",
"On per-site metas, users are given a rank based on meta participation, and this ranking is seen on the default tab of the users page on each per-site meta. How is this participation numerically calculated to give a ranking? Is it by votes? Something else? Are community wiki posts included in this?",
"Differential equation: autonomous system This isn't homework. I have no idea what theorems I should be looking at to solve this. Guidance, partial and total solutions are all welcomed. Let $f$ be a locally lipschitz function in an open set $G\\subseteq \\Bbb R^n$. Consider the autonomous system $y'=f(y)$. Let $y(x,\\xi)$ be the value at point $x$ of the maximal solution that satisfies the initial condition $y(0)=\\xi$. Prove that the domain of $y(\\cdot, y(s, \\xi))$ is $I-s$, where $I$ is the domain of $y(\\cdot ,\\xi)$. Prove that for all $s, t$ such that $y(s, \\xi)$ and $y(t+s, \\xi)$ exist, then $y(t,y(s,\\xi))$ also exists and $y(t,y(s,\\xi))=y(t+s, \\xi)$. If $y$ is a maximal solution and there exists $T>0$ such that $y(0)=y(T)$ and $f(y(0))\\neq 0$, then $y$ is a periodic solution and not constant. If $y$ is a solution whose domain is $(a,+\\infty)$, if $\\eta:=\\lim _{x\\to +\\infty}y(x)$ and $\\eta \\in G$, then $f(\\eta)=0$. EDIT I found an alternative solution for 3. Please check my proof and give feedback in comments: let $u$ be the restriction of $y$ to $[0,T]$, now let $\\overline u$ be the periodic extension of $u$ to $\\mathbb R$. It is easy to see that $\\overline u$ is a solution to the given differential equation. But since $f$ is locally lipschitz, $\\overline u$ must coincide with $y$ wherever they are both defined. Since $y$ is a maximal solution, it must be $\\overline u$, so $y$ is defined on $\\mathbb R$."
] |
medi_sts_stackexchange_dupe
|
How many swords made of Valyrian Steel are there at the end of Season 6?
|
How many Valyrian steel swords are there at the beginning of GoT, and who owns them?
|
[
"i have a table like this +--------+------------+-----------+ | id | volume | price | +--------+------------+-----------+ | 1 | 1.0000 | 14250.00 | | 2 | 0.2500 | 14251.10 | | 3 | 0.2500 | 14250.00 | | 4 | 0.0050 | 14200.00 | | 5 | 0.5000 | 14255.01 | +--------+------------+-----------+ Simply if volume 1.7500, how to select like bellow by ordering(highest price) +--------+------------+-----------+ | id | volume | price | +--------+------------+-----------+ | 5 | 0.5000 | 14255.01 | | 2 | 0.2500 | 14251.10 | | 1 | 1.0000 | 14250.00 | +--------+------------+-----------+ And if volume 1.5000 it also select the least amounts of records needed to calculate to the input volume +--------+------------+-----------+ | id | volume | price | +--------+------------+-----------+ | 5 | 0.5000 | 14255.01 | | 1 | 1.0000 | 14250.00 | +--------+------------+-----------+ some guys say i cant do this with sql",
"Simplest or nicest proof that $1+x \\le e^x$",
"I am a graduate student in economics who recently converted to R from other very well-known statistical packages (I was using SPSS mainly). My little problem at the moment is that I am the only R user in my class. My classmates use Stata and Gauss and one of my professors even said that R is perfect for engineering, but not for economics. He said that many packages are built by people who know a lot about programming, but not much about economics and therefore are not reliable. He also mentioned the fact that since no money is actually involved in building an R package, there is therefore no incentive to do it correctly (unlike in Stata for example) and that he used R for a time and got some \"ridiculous\" results in his attempts to estimate some stuff. Moreover, he complained about he random number generator in R which he said was \"messy\". I've been using R for just a little more than a month and I must say I have fallen in love with it. All this stuff I am hearing from my professor is just discouraging me. So my question is: \"Is R reliable for the field of economics?\".",
"Is it possible to split micro USB to USB cable so two cables (data + and data -) go to the PC with USB and two other power cables go to power brick?",
"How can I sound proof bathroom walls? I'm trying to figure out the best, least intrusive way of sound proofing the walls of a bathroom. The bathroom shares a wall with my bedroom, and my 3 yea old's bedroom. The main problem is the sound of water running (plus every bump on the counter and everything) echos loud and clear through the wall into my sons room. I found and it seems like a good choice. Another option is adding another layer fo drywall with something like between them. But all the walls and ceilings in the house are textured. So replacing just one or two walls in a room is just not possible. This is the layout of the two rooms. I've added red box around the wall with the most noise. Is there anything else I'm missing here that I could do to dampen the noise short of tearing the bathroom apart?",
"In Episode 1: The Phantom Menace, Anakin's mother, Shmi, said that he does not have a father, although it seemed to me that she doubted that. Is there a canonical answer as to who Anakin's father is? If so, who?",
"Ratio of Boys and Girls In a country where everyone wants a boy, each family continues having babies till they have a boy. After some time, what is the proportion of boys to girls in the country? (Assuming probability of having a boy or a girl is the same)",
"How many research interests should be included in a statement of purpose/objective I am wondering how many research interest should be included in a statement of purpose. Is it better to include just one core interest or to include up to three as in my case?",
"What would be the best approach to get the recordtype id I know of two approaches to get the recordtype id of a particular record type Use SOQL RecordType RecType = [Select Id From RecordType Where SobjectType = 'Account' and DeveloperName = 'Business']; Benifit here is if the admin changes the name of the record type, the code still works as we can use developer name Using Describe Map<String,Schema.RecordTypeInfo> rtMapByName = d.getRecordTypeInfosByName(); Schema.RecordTypeInfo rtByName = rtMapByName.get('Business'); Saves on SOQL limits but uses a describe call. What would be your choice and why EDIT : Usage is for setting up recordtype while inserting records in apex or trigger",
"Proper analyses for 2x2 contingency tables So I have multiple questions about the different types of analyses that can be used on a 2x2 contingency table and when different analyses should be used. To open, I'll note that this stems from my efforts to find the appropriate analyses to run for research using categorical data in a 2x2 contingency table. In my case I have two conditions: control and experimental and within the experimental group there are two items of interest (say, Item A and Item B). In all cases I'm investigating whether an outcome occurs or not: How many experimental participants show the outcome on Item A? How many experimental participants show the outcome on Item B? How many control participants show the outcome? So in addition to comparing Item A with the Control group (A vs. C) and Item B with the Control group (B vs. C), I also want to compare Item A with Item B (A vs. B). My understanding is that for between-subjects comparisons (e.g., A vs. C & B vs. C) a is traditionally used and that for within-subjects comparisons (e.g., A vs. B) that is a common choice. Question 1: is this an accurate understanding of the common choices for statistical tests using 2x2 contingency tables? My follow-up questions, and where most of my confusion lies, are related to what to do when multiple observed cell counts are low (less than 10). I've explored numerous threads here, the Wikipedia pages for different topics (Yates's correction, Fisher's exact, etc.), a few journal articles, and descriptions in R-packages, but I have found conflicting views. Some sources indicate that you should use , others say it's out-dated because, in addition to being overly conservative, it was only preferred because the other options were computationally intense. Others say that you should use , but I've seen additional information suggesting that Fisher's exact test is only appropriate if you know both the row and column totals and that other options (Boschloo, Barnard, etc.) are generally more powerful. However, which of those to use is also not clear. Finally, even others suggest that the Pearson's $\\chi^{2}$ test is appropriate as long as the expected cell counts are not low. I've seen some indication that these arguments occur for McNemar's test as well (e.g., continuity correction & McNemar's exact test). Question 2: Is the assumption regarding cell counts about expected cell counts or observed cell counts? If the observed cell counts are low, does that matter to the type of test that should be used? Question 3: What is an exact test and when should exact tests be used? In addition to answers to these questions, I would also greatly appreciate any suggestions as to books or articles I can read to learn more about this. Part of my struggle with all of this has been just general difficult finding clear information about these topics and how they relate to one another.",
"I was working on a worksheet for class and came across this problem: Let $\\varphi:R\\to S$ be an onto ring homomorphism with the property that every ideal of $R$ is principal. Show that the same must be true for $S$. I honestly do not know how to do this one!",
"How to fix task manager memory column if it shows lies I have a problem in showing memory in task manager with memory and paging columns. Why it shows so small size usage? And maybe anyone knows how to fix it? Here is a screenshot(working set, memory, page pool) sorted by most consuming:",
"An explanation of Hawking Radiation",
"It worked with the pre-installed Ubuntu, but after re-installing Ubuntu dual-boot with Windows 8.1, the WiFi is not working. Is there a driver for this adapter that will work on Ubuntu 12.04?",
"implementing functions in a game",
"List of lists changes reflected across sublists unexpectedly I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3 The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]] Then I changed one of the innermost values: my_list[0][0] = 5 Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]] which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?",
"Centering with \\includegraphics not with \\begin{figure}? I mess up with things when I try to use the figure-thing: the picture is not appearing with the correct alignment (apparently because I forget the float package). Now I want to use only the graphicx package with \\includegraphics. How can I center the \\includegraphics without figure? Not working or doing centering to the document afterwards. \\includegraphics[width=0.5 \\textwidth]{./Pictures/r.png}{\\centering} \\includegraphics[width=0.5 \\textwidth]{./Pictures/r.png}\\centering",
"To be truly standards-compliant, must all functions in C (except for main) have a prototype, even if they are only used after their definition in the same translation unit?",
"Why is removing instationarities a good thing when trying to forecast a time series?",
"How would Gauss' law hold in time varying electric fields?"
] |
medi_sts_stackexchange_dupe
|
Unable to unpartition main hard drive
|
Partition of harddisk lost/unusable
|
[
"Dual VGA Cards Intel/ Nvidia This is my first post in this forum. I am new to Linux, just installed Ubuntu 11.10 on my Sony Vaio VGN-Z12 with two graphic cards Intel and NVidia Geforce 9300 GS. After the installation the lightdm works on Intel card but with very law display quality. I installed Nvidia driver from the official website as well as this PPA. sudo apt-add-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update sudo apt-get install nvidia-current Once I installed the driver and run nvidia-xconfig which creates xorg.conf file, the xserver will not start with error \"no screen\". If I delete the xorg.conf file then I am able to start the xserver normally but with intel display (bad quality)",
"\"None is\" or \"none are\" I was asked if the following sentences will create problems and what are the assumptions I have to make: (d) There are grammarians in the room but none of them is an American. (e) There are grammarians in the room but none of them are Americans. What is the problem in both sentences? They clearly have two main clauses which are connected by the coordinated conjunction 'but'. I know that grammar-wise, the 'is/are' don't really matter since both can be used with 'none', but would the tense in the first main clause 'are' affect the use of 'none'?",
"Ring and Subring with different Identities",
"In theory the encoder in VAE (assuming that variational family is Gaussian) generates the $\\mu$ and $\\sigma$ (or $\\sigma^2$). But, in practice, I have seen people assuming the output is $\\log\\sigma^2$. Why this is necessary or useful?",
"Windows Activation FAQ: How do language, version, 64-bit or 32-bit, and source affect ability to install and transfer Windows licenses? We get a lot of questions on Super User about Windows activation and licensing. This question is an attempt to answer the most common questions in one place with a . When reinstalling Windows, the following questions often come up: Can I transfer the copy of Windows from my old computer to a new one? Does the license key on the sticker on my computer work on any computer? If I have a 32-bit version, can I install a 64-bit version? I have an OEM version of Windows, but only a retail disk. Can I still use it? I want to install Windows with a different language. Do I need a new license in that language? I changed some hardware. Will I be able to reactivate my computer? Can I back up my activation before doing a reinstall? How many computers can I install my license on? Do I have to deactivate my old installation before transferring a license? If so, how? How does licensing work in Windows ? What are the restrictions on transferring, reinstalling, and changing versions of Windows?",
"bashrc lazy substitution",
"Is there a RegExp.escape function in JavaScript?",
"hostname returns another device's name I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command: Last login: Fri May 1 15:52:42 on ttys000 SomeonesiPhone:~ irem$ SomeonesiPhone:~ irem$ hostname SomeonesiPhone.wireless.duke.local What's going on and how can I fix this? It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from my public IP address. I looked up my public IP address using Google, like this:",
"How has the age of the Universe been derived from the observations made by the Planck mission?",
"I can't install software-center on Kali",
"I am wondering what the differences are between mixed and unmixed GLMs. For instance, in SPSS the drop down menu allows users to fit either: analyze-> generalized linear models-> generalized linear models & analyze-> mixed models-> generalized linear Do they deal with missing values differently? My dependent variable is binary and I have several categorical and continuous independent variables.",
"Calling future method from Batch",
"How to revert a do-release-upgrade? I can update my Ubuntu to the new LTS version. As you can think, its not a highly important server since I run 13.10 (not a LTS version). Anyway - I actually want to upgrade my server, but would like to be able to revert this upgrade. I would be able to reinstall Ubuntu 13.10 and overwrite it with my backup. But I want to know if there is a more comfortable way to do this. TBH I guess theres no command as undo-release-upgrade but I thought it would be worth to ask for it. This is my current daily backup script tar cvpzf $backup_file --exclude=/proc --exclude=/lost+found --exclude=$backup_file --exclude=/mnt --exclude=/sys --exclude=/media --exclude=/tmp /",
"Can't use method return value in write context",
"What is Hawking radiation and how does it cause a black hole to evaporate?",
"How to write a survey paper?",
"How to say that the phone is held between shoulder and ear? What are common phrases an English native speaker would use for the pose of speaking on the phone where you use your shoulder to keep the receiver against your ear (and mouth), so your hands are free? I have some ideas, but they all sound wooden, and I don't think I've ever heard anyone describe this pose in words. It's also pretty much impossible to google for a pose or look it up on leo.org or other dictionaries. OK, since people keep asking for what phrasings I found, I'll provide two, though I was hoping I could avoid influencing people who answer here by not providing them: \"balance on one's shoulder\", \"held/nestled/sandwiched between shoulder and ear\".",
"Disable ssh password authentication by user Is it possible to enable ssh password authentication for one user on a system and disable it for an other. If you add ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no to /etc/ssh/sshd_config you disable it for all users Adding it to ~/.ssh/config doesn't seem to work",
"Let $H$ be a subgroup of $G$ with $[G:H]=n$. Let $N$ be the kernel of the left-multiplication action on the cosets of $H$. Show $[G:N]$ divides $n!$ Let $H$ be a subgroup of $G$ with $[G:H]=n$ and $G$ finite. Let $G$ act on left cosets of $H$ by left multiplication. Let $N$ be the kernel of the action. Show that $[G:N]$ divides $n!$. Ok so I have a theorem that says that if $G$ is simple then it embeds into $S_n$. So if $G$ is simple than I'm done because $G$ divides $n!$ and thus $N$ divides $n!$ and hence $[G:N]$ divides $n!$. Now I also know that $N$ is the largest normal subgroup of $G$ contained in $H$. Thus if $G$ isn't simple then it contains some non-trivial normal subgroup $K$ and thus $K\\cap H$ is normal in $H$ and by the 2nd Iso Theorem $H/K\\cap H\\cong KH/H$... As you can see I'm not sure where to go from here. I was hoping to prove that $K\\cap H$ wasn't trivial and thus that $N$ couldn't be trivial since it must contain $K\\cap H$, but I'm not sure I can, and even if I could I'm not sure that would help me in showing that $[G:N]$ is small enough to divide $n!$. Can anyone give some guidance? Thanks.",
"Show that $\\langle x,y\\rangle_A = \\langle Ax,Ay\\rangle$ is an inner product on $\\mathbb R^n$ Let $A$ be an $n \\times n$ matrix with real enteries. Define $\\langle x,y\\rangle_A = \\langle Ax,Ay\\rangle, \\quad x,y \\in \\mathbb R^n$ , where $\\langle,\\rangle$ is a standard inner product on $\\mathbb R^n$. Then $\\langle x,y\\rangle_A$ is an inner product iff 1) $\\ker A = \\{0\\}$. 2) $\\operatorname{rank} A= n$. 3) all eigenvalues of $A$ are positive. 4) all eigen value of $A$ are non negative. Clearly if $\\ker A \\neq \\{0\\}$, then there exist $x \\neq 0$ such that $Ax =0$, then $\\langle Ax, Ax\\rangle_A = 0$, then $\\langle ,\\rangle_A$ is not inner product, so $\\ker A = \\{0\\}$, thus rank of $A$ is $n$. I am unable to check the 3) and 4) option. Please help to check the other option. Thank you"
] |
medi_sts_stackexchange_dupe
|
Ceiling fan with light.
|
How can I repair a ceiling fan that hums, but doesn't turn?
|
[
"Run VirtualBox in background, without a window? I was wondering if it's possible to run an Ubuntu virtual machine using VirtualBox in background, I mean, without any window open. The idea is to connect via SSH to the Linux host, that would be running in background. Has anyone ever done something like this? Is it possible?",
"Proof by induction that $ 169 \\mid 3^{3n+3}-26n-27$ $ 169$ | $3^{3n+3}-26n-27$ ? Fulfilled for $n=0$. Induction to $n+1$: An integer $x$ exists so that $ 169x= 3^{3n+6}-26n-27-26$ $ 169x= 27*3^{3n+3}-26n-27-26$ $ 169x= 26*3^{3n+3}+3^{3n+3}-26n-27-26$ An integer $m$ exists so that $ 169x= 26*3^{3n+3}+169m-26$ ($ 13x= 2*(3^{3n+3}-1)+13m$) Now I'm stuck although it looks simple. Thanks for any input in advance.",
"Recent fluid-mechanical experiments by the groups of Couder in Paris and Bush at MIT, mimic a surprisingly wide range of quantum effects. The essential ingredient of these fluid-mechanical systems is a background or pilot-wave that guides the droplets. Now, surprisingly, a simple analysis of a Bell-type experiment shows that, in the presence of a background field, one of the premises of the Bell inequality, namely measurement independence (MI), is violated. See the paper (available ). Therefore such classical droplet experiments could violate a Bell inequality. More importantly, if this analysis is correct, background-based hidden-variable theories are admissible, even if they are local (in the sense of ‘involving only (sub)luminal interactions’) and even if they are compatible with free will. My question: to me the analysis seems fully sound, but maybe there is still an unphysical hypothesis that slipped in ?",
"Here's a scenario: Someone asked about \"How to build a SQL query to get count and blah blah blah...\" His only tag is . I added the and tags to it. Someone else answered with a nice SQL statement that has a \"group by\" statement which seems \"logically inevitable\". I proceed to add a tag . I did that on the basis that someone who searches for will be able to find this post useful, just as I did. My concern is, it wasn't described at all in the question, nor was it implied, unlike and . What is the community opinion? The scenario above is a real one . And the one who answered it nicely is Jon Skeet.",
"Script Tag Error - Aura Lightning Component",
"if $A$ subset of $B$ then $P(B)-P(A)=P(B\\setminus A)\\ge 0$ Let $P$ be a probability measure on $(\\Omega, \\mathscr{F})$, If $a,b,\\in\\mathscr{F}$ and $A\\subset B$, then $P(B)-P(A)=P(B\\setminus A)\\ge 0$. So far I have: $A\\subset B \\implies B\\setminus A = B\\cap A^c = \\emptyset$ as $A$ and $B^c$ are disjoint. Since $A\\cup (B\\setminus A)=A\\cup (B\\cap A^c)=(A\\cup B)\\cap (A\\cup A^c)=B\\cap\\Omega = B$ Then for $A,B\\in \\mathscr{F}\\implies P(A\\cup (B\\setminus A))=P(A)+P(B\\setminus A) = P(B)$ by countable additivity. Rearranging, $P(B)-P(A)=P(B\\setminus A) \\ge 0$.",
"How do I activate Dauntless Cathar's ability? has the following ability: {1}{W}, Exile Dauntless Cathar from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. Activate this ability only any time you could cast a sorcery. Please clarify. If the card is IN my hand, how can I exile if FROM the graveyard if it is not there? Did the writers mean SEND it to graveyard, or actually exile it? Confused, the writing does not make sense.",
"Why does a mirror split my laser beam?",
"What is the typical orbital life of an artificial satellite? 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",
"I noticed that the paper size invoked by a4paper is not working right in my examples: \\documentclass[a4paper,11pt,oneside]{article} \\begin{document} Test \\end{document} I checked with Preview.app and it tells me the paper size is 21.59 cm × 27.94 cm. A4 should be 21.0 cm × 29.7 cm. When I use \\usepackage[a4paper]{geometry} I notice a different size of the paper (it gets narrower) and Preview.app says: 21.01 cm × 29.71 cm, which seems right. I can reproduce this exact behavior with every class: article, book etc., scrartcl, scrreprt, etc., g-brief2 except memoir which gives me 21.01 cm x 29.71 cm Is there something wrong or am I missing something?",
"Do I keep my Windows installation if I install Ubuntu with Wubi, the Windows installer?",
"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?",
"Activating 'missing' standard GRASS utilities in QGIS Processing toolbox",
"Minimize absolute values of errors instead of squares",
"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?",
"How to change the background color only for the current page?",
"Change how questions marked as duplicates by the asker are represented Situation: when a user self-marks their post as a duplicate, it shows as closed by \"community\" rather than the original poster. Problems: this is not clear at all to most users of SE what has happened. It looks like the question was \"mod closed\" as a duplicate against the asker's wishes. Suggestion: instead of the community user \"closing\" the post, have the final close user be the asker (or make it \"Community & Asker\"). This will help clear up confusion and streamline the process for understanding what happens.",
"I am having an error compiling the following code with xelatex and lualatex: ** WARNING ** \"seac\" character deprecated in Type 2 charstring. ** ERROR ** Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5) Output file removed. \\documentclass{article} \\usepackage{xunicode} \\usepackage{fontspec} \\setmainfont[Mapping=tex-text,Ligatures={Common}, Numbers={OldStyle}]{IM FELL English PRO} \\begin{document} Buongiorno a tutti. Trallallà. \\end{document} The error disappears when I omit the accented à. It also doesn't happen when I use other fonts. Could you suggest any workaround? Thank you, A",
"The text for says: {1}{G}, {T} : Target creature you control fights another target creature. (Each deals damage equal to its power to the other.) Does this have anything to do with combat? Or is it just direct damage between two creatures? For example, can one of the creatures have defender? Or what if one of them is tapped? I've been assuming it is more like the damage dealt by a . Also: are the two creatures then “tapped” until their next untap step? ie: could you use Ulenvald Tracker to make two creatures fight in your pre-combat step, then enter the combat phase with a creature who just “fought” untapped? Could you make two creatures fight who are both tapped?",
"Proving the snake lemma without a diagram chase"
] |
medi_sts_stackexchange_dupe
|
Why does everyone seem to assume that gravitational waves will always be very small?
|
How close would you have to be to the merger of two black holes, for the effects of gravitational waves to be detected without instruments?
|
[
"Can druids Wild Shape into creatures other than beasts? Under Wild Shape it says \"assume the shape of a beast\" you have seen before. Does this mean they can only transform into creatures that have the beast type, such as bear, wolf, crocodile, etc.? Or can they turn into things with other types, like dragon, monstrosity, humanoid, fiend, etc.?",
"How can I change the master volume level? Using this code [DllImport (\"winmm.dll\")] public static extern int waveOutSetVolume (IntPtr hwo, uint dwVolume); waveOutSetVolume (IntPtr.Zero, (((uint)uint.MaxValue & 0x0000ffff) | ((uint)uint.MaxValue << 16))); I can set the wave volume but if the master volume is too low this won't have any effect. Thanks for any help.",
"Usage and origin of \"sister\" in expressions like \"sister company, sister ship, sister site\" etc",
"One who has potential, but never gives the effort to show it. What would be the best word or words that match this description?",
"When & How often do 4e Monster powers recharge? How often should I roll power recharge rolls and at which point in the monster's turn do I re-roll them? I'm trying to find the official definition of the recharge mechanic in the online compendium and I'm not seeing it there.",
"In grade school we learn to rationalize denominators of fractions when possible. We are taught that $\\frac{\\sqrt{2}}{2}$ is simpler than $\\frac{1}{\\sqrt{2}}$. says that \"there is a bias against roots in the denominator of a fraction\". But such fractions are well-defined and I'm failing to see anything wrong with $\\frac{1}{\\sqrt{2}}$ - in fact, IMO it is simpler than $\\frac{\\sqrt{2}}{2}$ because 1 is simpler than 2 (or similarly, because the former can trivially be rewritten without a fraction). So why does this bias against roots in the denominator exist and what is its justification? The only reason I can think of is that the bias is a relic of a time before the reals were understood well enough for mathematicians to be comfortable dividing by irrationals, but I have been unable to find a source to corroborate or contradict this guess.",
"Compute $\\Gamma(2.7)$ All I know of the Gamma function is $$\\Gamma(\\alpha) = \\int\\limits_{0}^{\\infty}x^{\\alpha - 1}e^{-x}\\text{ d}x$$ and the recursive formula $$\\Gamma(\\alpha) = (\\alpha-1)\\Gamma(\\alpha - 1)\\text{.}$$ A friend asked me to try to find $\\Gamma(2.7)$. I assume this involves complex analysis, which I have absolutely no background on (except for the basic Euler formula). Using Wolfram, I found that $$\\Gamma(2.7) = e^{0.434821}$$ which suggests to me perhaps writing out $e^{-x}$ as a Taylor series: $$\\Gamma(\\alpha) = \\int\\limits_{0}^{\\infty}x^{\\alpha - 1}\\sum\\limits_{i=1}^{\\infty}\\dfrac{(-x)^{i}}{i!}\\text{ d}x$$ but alas, this doesn't look helpful. How does one derive that $\\Gamma(2.7) = e^{0.434821}$?",
"Why isn't apt full-upgrade getting an updated software key signature for skype After a recent apt update && apt full-upgrade I started getting the following error when running apt full-upgrade subsequently: Get:4 https://repo.skype.com/deb stable InRelease [4,502 B] Err:4 https://repo.skype.com/deb stable InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]> W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]> W: Failed to fetch https://repo.skype.com/deb/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]> W: Some index files failed to download. They have been ignored, or old ones used instead. Is there a way to correct this, or is it down to Microsoft/Canonical to produce/update the necessary key signatures?",
"Why can't I define a static method in a Java interface?",
"biblatex, biber, is it possible to \\printbibliography between two years? With biblatex and Biber, is it possible to print all the bibliography (\\printbibliography) from (let's say) 2003 to 2008 in one section? And then in another section print all the bibliography from 2009 to 2016?",
"In HP-UX server, grep -r option is not working In unix server grep -r option is not working. OS is HP-UX. If grep -r is not working any alternative way to do recursive search without -r option?",
"In CodeGear Delphi 2007, how can I turn specific warnings and hints off? I am attempting to turn off H2077 - Value assigned to 'varname' never used.",
"How can I create a new extensible symbol? Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)? Edit: Ideally, I would like to be able to create an extensible symbol, either built out an existing normal symbol, or even made from scratch. Edit 2: I am pretty sure that what I am after is an explanation of how to create a .tfm file for an extensible symbol (which Werner's answer describes the general structure of, but not how to make one). For example, let's say I wanted to use the \\dagger () or \\wr () symbol as a delimiter, and write expressions like \\[\\left\\ldagger \\sum_{n=1}^\\infty a_n \\right\\rdagger\\] where the symbol scaled appropriately. Would there be any distinction between declaring a symmetric delimiter (like \\vert), as opposed to one that has inherently different \"left\" and \"right\" versions like [ and ]? Now, even being unaware of the inner workings of TeX, I imagine that there has to be lots of information in the fonts for how a delimiter is to be scaled in different situations, and if I try to make my own delimiter, this information won't be present. Would I need to get deep into FontForge or equivalent to achieve my custom delimiters, or is there an easier way?",
"Do lenses have focal planes or focal spheres/ellipsoids?",
"How to catch the \"Login Failed\" event? I want to show a custom block, only when log in has failed. So from visibility settings I have to put a PHP code that returns TRUE only when the login has failed. But how could I \"catch\" that event? Do I have to use variable_get(..)? And if yes, how could I use that?with what attributes? Thank you.",
"Badge symbol in notification is of the site you're on, not where badge was earned",
"If $d(x,y)$ is a metric, then $\\frac{d(x,y)}{1 + d(x,y)}$ is also a metric",
"One of my columns is called from. I can't change the name because I didn't make it. Am I allowed to do something like SELECT from FROM TableName or is there a special syntax to avoid the SQL Server being confused?",
"Nonlinear function continuous but not bounded I would like an example of a map $f:H\\rightarrow R$, where $H$ is a (infinite dimensional) Hilbert space, and $R$ is the real numbers, such that $f$ is continuous, but $f$ is not bounded on the close unit ball $\\{ x\\in H : \\|x\\| \\leq 1\\}$. Actually, $H$ could be replaced by any Banach space (but not just a normed space-- that's too easy). My motivation is that if $f$ is linear, this is impossible; but I have next to no intuition about non-linear functions. Edit: Here's an example for $c_0$ which is even differentiable (disclaimer: I found it here: ). Define $f:c_0\\rightarrow F$ (where F is your field, real or complex) by $$ f(x) = \\sum_{n=1}^\\infty x_n^n \\qquad (x=(x_n)). $$ You can estimate the sum by a geometric progression, so it does converge. A bit of checking shows that f is Frechet differentible (so certainly continuous). But $f(1,1,\\cdots,1,0,\\cdots)=n$ (if there are $n$ ones) so $f$ is not bounded on the closed unit ball. What I don't immediately see is how to adapt this to $\\ell^2$, say.",
"Convert DOS line endings to Linux line endings in Vim If I open files I created in Windows, the lines all end with ^M. How do I delete these characters all at once?"
] |
medi_sts_stackexchange_dupe
|
Creating a conditional segue
|
Proper way to do "conditional segue" in iOS5
|
[
"Count work days between two dates How can I calculate the number of work days between two dates in SQL Server? Monday to Friday and it must be T-SQL.",
"That is, what are some good examples of vector spaces which are inner product spaces but in which not every Cauchy sequence converges?",
"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 )",
"Why are one-way plane tickets more expensive than return tickets?",
"A No-Nonsense Introduction to Quantum Field Theory",
"Let's assume that one has some HP printer and/or scanner and checked its support status on the corresponding page of HPLIP site - . So one have the following information: the device Model name, Min. HPLIP Version and Driver Plug-in need. What should one install to make Ubuntu fully support the HP printer and/or scanner?",
"I dual booted ubuntu 11.04/11.10 a while ago with a USB stick and i want to uninstall it. I would like to completely uninstall the old version and get 12.04. I have a 64 bit laptop. Please help!",
"If the sum of $n$ cubes is zero, then the sum must be no larger than $\\frac n3$.",
"Quickest way to rename files, without retyping directory path",
"Is \"89.9%\" singular or plural?",
"$[K(\\zeta_n):K]=\\phi(n)$? Is it true that $[K(\\zeta_n):K]=\\phi(n)$ where $\\zeta_n$ be primitive root of unity and K be field of char zero? I think it should be equal to the degree of cyclotomic polynomial which has degree $\\phi(n)$. Can someone please elaborate that what is the procedure for finite fields",
"How do I move the MySQL data directory? I am trying to move the data directory of my MySQL database to a second disk array that I have as a mount point /array2/. The problem I am having is I have tried everything and after I modify the location of datadir in my.cnf mysql will not start up again. All I get is: start: Job failed to start",
"new finding by Minev et al. seems to suggest that transitions between atomic states are not instantaneous, but continuous processes wherein a superposition smoothly adjusts from favoring one state to another (if I understand it correctly). The authors also claim to be able to catch a system \"mid-jump\" and reverse it. Popular articles are and . I am curious if this finding rules out any interpretations of QM. It seems to generally go against the Copenhagen attitude, which describes measurements as collapsing physical systems into a definite classical state. The popular articles indeed claim that the founders of QM would have been surprised by the new finding. The link with the asterisk mentions that something called \"quantum trajectories theory\" predicts what was observed. Is this an interpretation, or a theory? And are they implying that other interpretations/theories don't work?",
"In the Android App, if a question is closed, I won't be able to leave comments on either the question or any of its answers. There are simply no \"Add Comment\" buttons available anywhere if the question is closed. See the screenshot below. The comment adding interface is simply removed on closed questions and their answers — no Reply button in the toolbar, and no Add Comment button under the question. Occurs on Android app v1.0.50 and v1.0.51, on a HTC One running Android 4.4.3.",
"Solve the functional equation $f(xy) = f(x)f(y) - f(x + y) + 1$ and $f(1) = 2$ 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?",
"I would like to count subgroups of each order (2, 3, 4, 6, 8, 12) of $S_4$, and, hopefully, convince others that I counted them correctly. In order to do this by hand in the term exam, I need a clever way to do this because there can be as many subgroups of a group of order 24 as $2^{23}$. Do you know how to do this? (I would be most grateful if you could tell me what part of the answer to the old question answers my question before voting to close.)",
"I registered my Stack Overflow account using the Stack Exchange OpenID provider. I later changed my e-mail, but I cannot change the e-mail address associated with my OpenID for some reason. Why is that, and how do I change it? I logged in to Stack Exchange and it lets me change my password, but never my e-mail.",
"I have a vf page that is a custom button. That's it. this VF page is on a STD Page Layout. When the user clicks on the VF page, the parent window needs to be redirected to the new URL. The way this is working, is that the new page is opening in the vf section of the page layout. <apex:page standardController=\"Opportunity\" standardStylesheets=\"true\" extensions=\"OpportunityController\" > <base target=\"_parent\" /> <body style=\"background:#f3f3ec\" > <apex:form > <center> <apex:commandButton action=\"{!redirect}\" value=\"Change Record Type\" rendered=\"{!render}\"/> </center> </apex:form> </body> </apex:page>",
"Very strange error suddenly appeared running Biber",
"Code block is not properly formatted when placed immediately after a list item"
] |
medi_sts_stackexchange_dupe
|
filling array list with objects, causing all elements to be the same in list
|
Why does my ArrayList contain N copies of the last item added to the list?
|
[
"Can I disable GNOME legacy tray in 17.04?",
"How do I change NEI to cheat mode?",
"How long does mana from Burning-Tree Emissary stay around? Does mana added to your pool from get destroyed when the card that added it is destroyed?",
"Can you use Wish to duplicate a spell at a higher level? Wish allows you to duplicate the effects of any spell L8 or lower. Does that include a lower-level spell, cast at L8? Say, as a Wizard, casting Heal at L8. I'm leaning towards yes, but it wouldn't be the first time I assume the wrong answer...",
"How to write a unit-test / test class for trigger?",
"Is there a shortcut for switching between these three modes?",
"From : Error propagation It was common to discuss the "error propagation" properties as a selection criterion for a mode of operation. It might be observed, for example, that a one-block error in the transmitted ciphertext would result in a one-block error in the reconstructed plaintext for ECB mode encryption, while in CBC mode such an error would affect two blocks. I read similar post before. And I can understand that in CBC decryption, only two blocks are affected due to error propagation (error in 1 block). But, for the same case in CBC encryption, why are still only two blocks affected? It looks like all the following blocks will be affected.",
"How come the PHP private class var is not private?",
"On the commutative property of multiplication (domain of integers, possibly reals) $ab = ba$ This is, inherently, true. Some texts drop it like an axiom without any justification. But I'm a bit curious where it stems from or basically why/how it works. If anyone could enlighten me a bit further, I'd be most grateful. Peano axioms? From set theory? Help. What bugs me with this definition is it's real world \"application\": Let's say I have a power output of 5 W ( $kg\\cdot m^2 \\cdot s^{-3}$) and I want 30% of that power output (to have some units and natural context). Naturally, 30% is 30 1/100 (% is the unit). For simplicity, let's express that as: $30$%$ = 30/100 = 3/10 = 3d$ where $d = 1/10$, a simpler unit (because %W would look... Wrong?). So 30% of power is then $5 W \\cdot 3d$, and we can force it to \"make sense\" if we associate d with W or basically scale the unit of power by d (which is intuitively understood as being 10 times smaller then the output of 1 W) $dW$. And we want to scale these 5 units of $dW$ three times. $5 dW \\cdot 3$ But the commutative property says it is the same as scaling 3 units of $dW$ 5 times or: $3 dW \\cdot 5$ And the result is the same. This is the bit that hurts my head, the fact it is the same. I try to interpret the same as, for example 50 J of work, it's either applying 50 N over 1 m of distance or 1 N over 50 m of distance. Down here is additional stuff I think I have (you don't have to read it if you know how to answer immediately). I don't claim it's correct, if anyone parses this information, feel free to correct me. $m\\sum\\limits_{i=1}^{n}{1} = n\\sum\\limits_{i=1}^{m}{1}$ This is how I've been trying to break it down, as it is repeated addition. It is repeated $n$ times and multiplied by $m$, and reverse on the right side. There is $x = m - n$, so when I multiply $n$ $m$ times, each repeated addition of $n$ lacks exactly $x$ to $m$. $mn = nm$ $x = m-n$ $m(m-x) = (m-x)m$ $m^2 - mx = m^2 - mx$ $ true $ And yes, sadly, I realise that I am using the very property I'm trying to prove ($xm$ shifted as $mx$ on the right-hand side.) And it even calls in the distributive property of multiplication over addition which I derive (for myself, informally) from the very nature of multiplication and the way we \"process\" numbers: For example, number $55$ times $2$ $55 = 5 \\cdot 10^1 + 5 \\cdot 10^0 = 5 \\cdot 10 + 5 \\cdot 1$ $(5 \\cdot 10 + 5 \\cdot 1) \\cdot 2$ This is the basis of our positional notation which appends digits of varying orders of magnitude or units together in a way it makes \"sense\". Each one is b times bigger than the one to the right. Basic stuff. It is why I expressed 10 and 1 explicitly, those are what I consider units in this case. Now, from the definition of multiplication, which is at its heart just repeated addition, it is truly the same if you add together $2$ $50$ times and then again $5$ times or \"all at once\" (figuratively, we are always doing the former mentally) $2$ $55$ times. That added together gives 110, which is true. To me, the distributive property (in case of integer multiplication) is a repercussion of the very definition of multiplication which is repeated addition (evading strict concepts). I am not certain whether this is a good way to look at it.",
"I am looking for a positive, passionate word to describe the all-round capabilities of a person. Are there any words better than 'all-rounder'?",
"Use of \"Or\", inclusive or exclusive? My wife and I are playing a game where you roll dice and move so many spaces in a grid \"vertically or horizontally\". In the use of English it is very common to say, this or the other when it comes to making a choice (exclusive or). Now I know that \"or\" can also be inclusive, for example \"she couldn't read or write\", or can be clearly used as an xor \"you either come or not\" making the statement true for only one of the options but not both. My issue is where it is not clear whether it is an inclusive/exclusive or, the best example being our game. I argue that you can move in either direction (inclusive) and the normal use of this conjunction in English should be inclusive unless specified otherwise. Is this right?",
"Undecidable language problems.",
"How do I pass data between Activities in Android application?",
"Is it a good practice to refer to countries, ships etc using the feminine form?",
"Here is a quesion that has been bugging me. You know how you can set up a program to run on start up right? Well, how can i tell it to start minimized, like you would do in windows? TeamViewer starts open, but I need it minimized, and Tray-it just doesn't seem as elegant of a way to do it.",
"I'm a newbie in WordPress. I'm trying to understand how it generates the XHTML pages. I guess it's the function of do_action( 'hook-name' ) , but I'm stuck with the understanding of the instruction isset( $wp_filter['all] ) when reading the function do_action because I don't understand what is the meaning of the word all. Is it a PHP feature or a WordPress one?",
"Semigroup analogue to the classification of finite simple groups? Is there a semigroup analogue to the classification of finite simple groups? If so what are some of the major results? --Edit, reference links---",
"What is the difference between == and ===? How exactly does the loosely == comparison work? How exactly does the strict === comparison work? What would be some useful examples?",
"Attaching event handlers in Visual Basic .NET",
"Prove that the function $\\displaystyle f(x)=\\frac{x}{x^2+1}$ is continuous at $x=-1$. You should give a proof that is directly based on the definition of continuity. I saw many similar questions on this website, but none of them gave me a satisfactory answer. I more or less understand how epsilon-delta proofs work but my problem lies more in the algebraic manipulations probably. So here's my \"attempt\". Definition of continuity; for $f:A \\to \\mathbb{R}$ $$\\forall \\varepsilon >0 \\ \\exists\\delta>0\\ \\forall x \\forall x_0 \\in A:|x-x_0|<\\delta \\Rightarrow |f(x)-f(x_0)|<\\varepsilon$$ So from what I understand, the procedure for epsilon-delta proofs are as follows: 1. Plug the point of interest $x_0$ into $|f(x)-f(x_0)|<\\varepsilon$ 2. Write $x$ in terms of $\\varepsilon$ 3. Then plug $x$ into $|x-x_0|<\\delta$ 4. Find $\\delta$ in terms of $\\varepsilon$. Done At step 1, we have $\\left|\\dfrac{x}{x^2+1}+\\dfrac{1}{2}\\right|<\\varepsilon$. Step 2 is where I'm stuck because of the 2nd degree polynomial in the denominator. First, I did this: $\\left|\\dfrac{x}{x^2+1}\\right|<\\left|\\dfrac{x}{x^2+1}+\\dfrac{1}{2}\\right|<\\varepsilon$. Then, I wasn't too sure about what to do, I thought about getting rid of the \"$1$\", but that would screw up my inequality. I thought about factoring $x^2+1$, but it doesn't have any real roots. I tried inverting the fraction, but that led me to nowhere. And I've already exhausted the tools I have. How do I proceed? Apparently, epsilon-delta proofs are the most basic building blocks of analysis. And I'm already failing, this is both embarrassing and depressing..."
] |
medi_sts_stackexchange_dupe
|
Uninstalling Window and using Ubuntu as the only OS
|
How do I remove Windows but keep Ubuntu?
|
[
"In episode 10 of Full Metal Alchemist: Brotherhood, during the events in the Research Lab 5, Edward Elric is severely hurt. Later in the hospital, he writes down everything he had come to know, and he discusses with Alphonse, Hughes, and Armstrong about what to do with the information to continue the investigation. At this point, King Bradley arrives with lemon into the room. He finds out what they are doing but acts very calm and chilled out and allows them to continue investigation while being careful. Why did he not get Hughes and Armstrong killed at that point? Or at least tell them to not investigate at all?",
"How can I get Firefox to open torrent files with Transmission? Every time I download a torrent file (.torrent), Firefox thinks I should open it with a text editor. How can I get it to open with Transmission? In Edit -> Preferences -> Applications, there's no setting for torrent files, and no apparent way to add a new filetype.",
"In the Stack Exchange Android app, Achievements section I can see only Today's achievements. No Yesterday, Last 7 days, Last 30 days, ... details. Previously in the 1.0.85 version itself I saw all the achievements. I refreshed the page many time, but still seeing Today's achievement only. Screenshot for reference: App Version: 1.0.85 Device Manufacturer: Motorola Device Model: XT1033 OS Version: 5.1 (2)",
"Prove that $ \\sum_{n=0}^\\infty \\frac{z^{2^n}}{1-z^{2^{n+1}}}=\\frac{z}{1-z} $ Show that for $|z|<1$, one have $$ \\frac{z}{1-z^2}+\\frac{z^2}{1-z^4}+\\cdots+\\frac{z^{2^n}}{1-z^{2^{n+1}}}+\\cdots = \\frac{z}{1-z} $$ and $$ \\frac{z}{1+z}+\\frac{2z^2}{1+z^2}+\\cdots+\\frac{2^k z^{2^k}}{1+z^{2^k}}+\\cdots = \\frac{z}{1-z} $$ Use the dyadic expansion of an integer and the fact that $2^{k+1}-1=1+2+2^2+\\cdots+2^k$.",
"How do I run a Perl script from within a Perl script? I've got a Perl script that needs to execute another Perl script. This second script can be executed directly on the command line, but I need to execute it from within my first program. I'll need to pass it a few parameters that would normally be passed in when it's run standalone (the first script runs periodically, and executes the second script under a certain set of system conditions). Preliminary Google searches suggest using backticks or a system() call. Are there any other ways to run it? (I'm guessing yes, since it's Perl we're talking about :P ) Which method is preferred if I need to capture output from the invoked program (and, if possible, pipe that output as it executes to stdout as though the second program were invoked directly)? (Edit: oh, now SO suggests some related questions. is close, but not exactly the same as what I'm asking. The second program will likely take an hour or more to run (lots of I/O), so I'm not sure a one-off invocation is the right fit for this.)",
"How to parse hex values into a uint?",
"Change default code page of Windows console to UTF-8 Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850. Running chcp 65001 in the command prompt prior to use of any tools helps but is there any way to set is as default code page? Update: Changing HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Nls\\CodePage\\OEMCP value to 65001 appear to make the system unable to boot in my case. Proposed change of HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Command Processor\\Autorun to @chcp 65001>nul served just well for my purpose. (thanks to )",
"Can a possessive S be attached to nouns that are not human beings (or animals)? Can a possessive S be attached to nouns that are not human beings (or animals)? For example, instead of saying \"the back of the chair\", can I say \"the chair's back\"? I remember learning that not everything can get a possessive s, but this issue is not clear to me.",
"Can we clarify to the OP that their question is not yet closed and the duplicates are only suggestions?",
"How to fix lsregister failing associations after reboot?",
"iPhone App CrashReport",
"What is $\\arctan(x) + \\arctan(y)$ I know $$g(x) = \\arctan(x)+\\arctan(y) = \\arctan\\left(\\frac{x+y}{1-xy}\\right)$$ which follows from the formula for $\\tan(x+y)$. But my question is that my book defines it to be domain specific, by which I mean, has different definitions for different domains: $$g(x) = \\begin{cases}\\arctan\\left(\\dfrac{x+y}{1-xy}\\right), &xy < 1 \\\\[1.5ex] \\pi + \\arctan\\left(\\dfrac{x+y}{1-xy}\\right), &x>0,\\; y>0,\\; xy>1 \\\\[1.5ex] -\\pi + \\arctan\\left(\\dfrac{x+y}{1-xy}\\right), &x<0,\\; y<0,\\; xy > 1\\end{cases}$$ Furthermore, When I plot the function $2\\arctan(x)$, it turns out that the book definition is correct. I don't understand how such peculier definition emerges. Thank you.",
"Deciding whether two metrics are topologically equivalent in the space $C^1([0,1])$ Consider the space $C^1([0,1])$ and the function $d:C([0,1])\\times C([0,1]) \\to \\mathbb R$ defined as $d(f,g)=|f(0)-g(0)|+sup_{x \\in [0,1]}|f'(x)-g'(x)|$. Decide whether the metrics $d$ and $d_{\\infty}$ are topologically equivalent in $C^1([0,1])$ (where $d_{\\infty}=sup_{x \\in [0,1]}|f(x)-g(x)|)$ My attempt at a solution: If two metrics are topologically equivalent, then they have the same convergent sequences. Honestly, I couldn't do anything. I am trying to define a sequence of functions $\\{f_n\\}_{n \\in \\mathbb N}$ such that $f_n \\to f$ in, for instance, $(C^1([0,1]),d)$ but $f_n \\not \\to f$ in $(C^1([0,1]),d_{\\infty})$. Could it be this two metrics are topologically equivalent? If this is the case, how could I prove it? If not, I would appreciate any hint to find an adequate sequence of functions that works for what I am trying to prove.",
"Why do I have to enter my password to log in? Using the Stack Exchange login, why do I have to enter my password again and again to log in? Wasn’t the whole purpose of OpenID to do away with this? This doesn’t even only happen when visiting a new Stack Exchange site – it also happens for sites where I already have an account but which I don’t visit regularly. Here’s what I mean: Of course I don’t remember my password (it’s a long random string). And so I have to go to my password manager and manually copy the password from openid.stackexchange.com’s account into the login form. – And incidentally, this is what my password manager looks like now: (And, by the way, those are the only entries in my keychain so far, but by far not the only SE sites where I have an account.) … I feel that this defeats the purpose of site-wide login and OpenID. In the olden times when MyOpenID was still working properly, I’d simply enter my OpenID on the login form, and the software would take care of the rest – namely, redirect to the OpenID service, (automatically) verify that I was authorised to use it, and redirect back to the original website, having logged me in. It was literally one button click for me. It’s substantially more work now, and I’d like to understand why this regression is necessary. (Note: of course once a site’s password has landed in my password manager I (probably?) won’t have to enter it again. But still: wasn’t site-wide login and OpenID supposed to solve this already?)",
"I'm interested in the properties of zero-diagonal symmetric (or hermitian) matrices, also known as hollow symmetric (or hermitian) matrices. The only thing I can come up with is that it cannot be positive definite (if it's not the zero matrix): The Cholesky decomposition provides for positive definite matrices $A$ the existence of a lower triangular $L$ with $A=LL^*$. However the diagonal of $LL^*$ is the inner product of each of the rows of $L$ with itself. Since the diagonal of $A$ consists of zeros, so $L$ (and thus $A$) must be the zero matrix. The sorts of questions that interest me are: which symmetric matrices can be transformed orthogonally into a zero-diagonal matrix? what can we say about the eigen-values of a zero-diagonal symmetric matrix?. any other interesting known properties??",
"What is the difference between single-quoted and double-quoted strings in PHP?",
"So, i want to make a timer that will turn on/off a circuit. I want to turn on the connected device at 08:00 and stop it at 20:00, so the interval is 12 hours. Correct me if i'm wrong but i can't use IC 555(or another IC), i'll need some huge resistors/capacitors. Is there another way to build that other than using a microcontroller?",
"Why 'mkpasswd -m sha-512' produce different result every time it is called? I am using this function to create a password in the shadow file $ mkpasswd -m sha-512 password $6$o50n4EfNOBzfs$K5l5AcOI5e0I9n2df0LmR11OLSPKSVM6AGBOnWVfDDfMubb46MrAj0zehdLNEoYzD2fj5q4XUdDwexj/dWLHy/ $ mkpasswd -m sha-512 password $6$ADmDOhDpW$gsYQuiKPpV1ewaUpRq2VGAvrcocffLQ8XGF94e6LNLZfKIjy6Ku.cZoR/5exeCi1ESjPB9TRM6HxCiY5BCNCV0 $ mkpasswd -m sha-512 password $6$Efj1agaI$HGkny3q1OTYT4KREh18gueHJae/3Bvil0iOEhfXj8bD.qy9Lg2UIQJMuBcq0XtG3xzueK.7cp0GfKr7tEo5YI/ $ mkpasswd -m sha-512 password $6$zdVPlCPai4Y$x3CBvlP99xZXZcr4PTiE..YLpZx39h5OHDxqazd9wFLImPuwsXF0M6KmqLzlCCrnQhI2lmEPdCzfmHA/fDiOz. It makes me wonder how does the output value work as a password",
"Can you explain this word to me? Can I rephrase it as Can you explain me this word?",
"How to prove that orthochronous Lorentz transformations $O^+(1,3)$ form a group? Orthochronous Lorentz transform are Lorentz transforms that satisfy the conditions (sign convention of Minkowskian metric $+---$) $$ \\Lambda^0{}_0 \\geq +1.$$ How to prove they form a subgroup of Lorentz group? All books I read only give this result, but no derivation. Why is this condition $ \\Lambda^0{}_0 \\geq +1$ enough for a Lorentz transform to be orthochronous? The temporal component of a transformed vector is $$x'^0=\\Lambda^0{}_0 x^0+\\Lambda^0{}_1 x^1+\\Lambda^0{}_2 x^2+\\Lambda^0{}_3 x^3,$$ the positivity of $\\Lambda^0{}_0$ alone does not seem at first glance sufficient for the preservation of the sign of temporal component. And how to prove that all Lorentz transform satisfying such simple conditions can be generated from $J_i,\\ K_i$? For those who think that closure and invertibility are obvious, keep in mind that $$\\left(\\bar{\\Lambda}\\Lambda \\right)^0{}_0\\neq \\bar{\\Lambda}^0{}_0\\Lambda^0{}_0,$$ but instead $$\\left(\\bar{\\Lambda}\\Lambda \\right)^0{}_0= \\bar{\\Lambda}^0{}_0\\Lambda^0{}_0+\\bar{\\Lambda}^0{}_1\\Lambda^1{}_0+\\bar{\\Lambda}^0{}_2\\Lambda^2{}_0+\\bar{\\Lambda}^0{}_3\\Lambda^3{}_0.$$ And I'm looking for a rigorous proof, not physical \"intuition\"."
] |
medi_sts_stackexchange_dupe
|
How to get Netbeans to appear in Gnome Application List
|
How can I create launchers on my desktop?
|
[
"The help pages in R assume I know what those numbers mean, but I don't. I'm trying to really intuitively understand every number here. I will just post the output and comment on what I found out. There might (will) be mistakes, as I'll just write what I assume. Mainly I'd like to know what the t-value in the coefficients mean, and why they print the residual standard error. Call: lm(formula = iris$Sepal.Width ~ iris$Petal.Width) Residuals: Min 1Q Median 3Q Max -1.09907 -0.23626 -0.01064 0.23345 1.17532 This is a 5-point-summary of the residuals (their mean is always 0, right?). The numbers can be used (I'm guessing here) to quickly see if there are any big outliers. Also you can already see it here if the residuals are far from normally distributed (they should be normally distributed). Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 3.30843 0.06210 53.278 < 2e-16 *** iris$Petal.Width -0.20936 0.04374 -4.786 4.07e-06 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Estimates $\\hat{\\beta_i}$, computed by least squares regression. Also, the standard error is $\\sigma_{\\beta_i}$. I'd like to know how this is calculated. I have no idea where the t-value and the corresponding p-value come from. I know $\\hat{\\beta}$ should be normal distributed, but how is the t-value calculated? Residual standard error: 0.407 on 148 degrees of freedom $\\sqrt{ \\frac{1}{n-p} \\epsilon^T\\epsilon }$, I guess. But why do we calculate that, and what does it tell us? Multiple R-squared: 0.134, Adjusted R-squared: 0.1282 $ R^2 = \\frac{s_\\hat{y}^2}{s_y^2} $, which is $ \\frac{\\sum_{i=1}^n (\\hat{y_i}-\\bar{y})^2}{\\sum_{i=1}^n (y_i-\\bar{y})^2} $. The ratio is close to 1 if the points lie on a straight line, and 0 if they are random. What is the adjusted R-squared? F-statistic: 22.91 on 1 and 148 DF, p-value: 4.073e-06 F and p for the whole model, not only for single $\\beta_i$s as previous. The F value is $ \\frac{s^2_{\\hat{y}}}{\\sum\\epsilon_i} $. The bigger it grows, the more unlikely it is that the $\\beta$'s do not have any effect at all.",
"\"Thanks for having me\" Recently, I finished my phone job interview with the phrase \"Thanks for having me\". It was a reply to the other person's \"Thank you for your time\". So, does \"thanks for having me\" sound alright in this context?",
"Is there any way to deserialize JSON into an object using JSON.deserialize if some of the property names in the JSON are reserved words in apex? I want to do something like this: string jsonString = '{\"currency\" : \"ABC\"}'; public class JSONResult { public string currency; } JSONResult res = (JSONResult) JSON.deserialize(jsonString, JSONResult.class); system.debug(res); but of course I get an error that the identifier name is reserved.",
"Identifying Coordinate System of Shapefile when Unknown?",
"I want to prove that in an infinite dimensional normed space $X$, the weak closure of the unit sphere $S=\\{ x\\in X : \\| x \\| = 1 \\}$ is the unit ball $B=\\{ x\\in X : \\| x \\| \\leq 1 \\}$. $\\\\$ Here is my attempt with what I know: I know that the weak closure of $S$ is a subset of $B$ because $B$ is norm closed and convex, so it is weakly closed, and $B$ contains $S$. But I need to show that $B$ is a subset of the weak closure of $S$. $\\\\$ for small $\\epsilon > 0$, and some $x^*_1,...,x^*_n \\in X^*$, I let $U=\\{ x : \\langle x, x^*_i \\rangle < \\epsilon , i = 1,...,n \\} $ then $U$ is a weak neighbourhood of $0$ What I think I need to show now is that $U$ intersects $S$, but I don't know how.",
"Hi i want to put this simbol \"%\" in the tick labels only in the x axis how can i do?",
"MySQL Query GROUP BY day / month / year",
"how to play wav file in python?",
"In what order do multiple readied actions with the same trigger resolve? My players have been scheming with rapid entry tactics for the megadungeon I've recently started running. Unfortunately, the monsters are aware of the adventurers, and this has lead to a weird question of priority. Given the following situation (which I'm pretty sure is going to happen next session in some form or another) what happens? Alice the adventurer readies an action; if her teammate Carlos opens the door, she's going to throw the alchemists fire through the door, which should do enough damage to kill any goblins hiding there. Meanwhile, on the other side of the door, Bob the goblin is lying in wait. He readies an action; if the door opens, he's going to hit the switch to open the trapdoor in the next room, which should drop any pesky adventurers into a pit with spikes at the bottom. Carlos opens the door. I know what happens when , but what happens when multiple readied actions get triggered at the same time? My guess would be an opposed reflex save or initiative check of some kind to see who goes first, but that's entirely just intuition speaking. The rulebook doesn't seem to speak to the issue.",
"How can I get two Xbox 360's to be in \"open nat\" mode behind the same router? I have two Xbox 360's, one WiFi and the other wired through the same Linksys E3000 router with DD-WRT (v24-sp2 (04/13/11) std-usb-nas firmware). Mine (the wired one, though hers has been wired in the past and it didn't appear to help) always seems to be open (green), and hers is either moderate or closed (oj/red) Even with the original router firmware I've never been able to get both consoles into \"open nat\" mode, and it makes playing certain games together almost impossible for me and my wife because we can't seem to get into the same game. I have uPnP enabled and the DMZ disabled, and some minor port forwarding to allow for a Minecraft server (Ports 25565 and 25566 for a testing copy of the server), but other than that the settings are mainly at their default, on the xbox's and the router. Are there any settings I can configure to allow this to work properly?",
"Simplest Light triggered relay I am building a large array of Light Switched relays, and due to the size of the array i want to keep the part count down. Each 'Pixel module' has a 12V SPDT, bulb and an activate-on-dark circuit. There is a strong spotlight on the device and the viewers shadow is obscuring the light in their shadow so the swing is large. I have seen the obvious LDR-and-Pot circuits with a junction out to a NPN Transistor, and the more stable comparator alternative I was looking at \"solar cell\" types of Photodiodes (PiN Type), and I can't see why I cannot just lay one across a PNP transistor (Collector to Base?) or something so it applies a Base voltage when lit up. Can someone briefly explain to me why I am wrong? I figure it would be all over the net if it was that easy, and i cant find any examples! Is this possibly the cheapest way to make a light switched 12V relay driver? Note: I prefer solutions using discrete circuitry, as I have a thing for human readability, visual components etc :P",
"What does \"it\" refer to in \"it's raining\"? I wanted to leave the question title as is so as not to take away from my amusement :). Anyway, It's raining. What is raining? Is it the sky? The clouds? The weather? The rain? What is \"it\"? Any historical insights on the statement?",
"I have less than 3000 rep on StackOverflow. Now that the new closing changes are live, I cannot supply a custom off topic message: I can enter a custom off topic flag message without issue here on meta, though it only has three canned off topic reasons, rather than five. I'm not sure if this is the same for users with enough rep to vote to close directly, but the lack of a custom message eliminates the ability to use the correct flag reason in some cases. For example, I wanted to flag , which is simply off topic on SO. However, I can't use a custom message, and none of the canned ones are appropriate. appears to be the most up to date official information on custom reasons, and indicates that they are remaining in play for now. supports that. If this is by design, how should I flag such questions? This is not a case worth bothering the mods over, so I don't want to use a custom diamond attention flag.",
"Unique and temporary file names in PHP?",
"Do creatures that enter the battlefield at the same time see each other enter?",
"I've tried other solutions, but none of them are specific to my setup. I just started using the new Linux subsystem featured in the recent Windows 10 update. I'm using WAMP x64 v3.0.6, and have successfully cloned my website and got it up and running. At the root of the Linux subsystem, I installed Drush globally with Composer, using the directions given on the . Typing drush status returns the following when I run it in my default directory: Drupal version : 7.50 Site URI : http://default Database driver : mysql Database hostname : localhost Database port : Database username : root Database name : aerosphere PHP executable : /usr/bin/php PHP configuration : /etc/php5/cli/php.ini PHP OS : Linux Drush script : /home/bob/.composer/vendor/drush/drush/drush.php Drush version : 7.1.0 Drush temp directory : /tmp Drush configuration : Drush alias files : Drupal root : /mnt/c/wamp64/www/drupal-7.50 Site path : sites/default But, as mentioned in the title, drush cc all returns No Drupal site found, only 'drush' cache was cleared.[warning] I assume it has something to do with adding a path to the .bashrc, but I don't know what to add. Any tips would be greatly appreciated! My question is different from \"\", they're on a Mac and using MAMP, and I'm using WAMP on Windows. I've tried the solutions offered on that post, but the issue has not been resolved. I'm obviously having issues connecting to MySQL as I get this when I run mysql command: The program 'mysql' can be found in the following packages: * mysql-client-core-5.5 * mariadb-client-core-5.5 * mysql-client-core-5.6 * percona-xtradb-cluster-client-5.5 Try: sudo apt-get install . So I've added these lines to my .bashrc file: PATH=\"$HOME/.composer/vendor/bin:$PATH\" export PATH=\"/mnt/c/wamp64/mysql/mysql5.7.14/bin:$PATH\" The top line was added to get drush working. I've checked multiple times, and I have the path correctly set, but it's still not working.",
"Academic papers using Stack Exchange data",
"How do I stop my 2013 Macbook Air from putting the computer to sleep?",
"Audio is working, but the speaker test doesn't work I've installed Ubuntu 12.04 LTS from a minimal cd on a netbook (Asus 1001 PXD). I've installed the ubuntu-desktop package using the --no-install-recommends option. Everything works fine, except the \"sound test\" for headphones or analog speakers. Clicking on the \"test\" buttons (front left and front right) I don't hear any sound. Despite this, the audio is working properly. I've checked the audio levels with alsamixer; I have also checked that the test sounds actually exist in /usr/share/sounds/alsa. I tried an installation of Ubuntu 12.04 LTS made with the desktop-cd, and in this case the speaker test works properly. I suppose, therefore, that the problem could depend on the lack of a package, but I have not identified which one.",
"We get a lot of questions on Super User about Windows activation and licensing. This question is an attempt to answer the most common questions in one place with a . When reinstalling Windows, the following questions often come up: Can I transfer the copy of Windows from my old computer to a new one? Does the license key on the sticker on my computer work on any computer? If I have a 32-bit version, can I install a 64-bit version? I have an OEM version of Windows, but only a retail disk. Can I still use it? I want to install Windows with a different language. Do I need a new license in that language? I changed some hardware. Will I be able to reactivate my computer? Can I back up my activation before doing a reinstall? How many computers can I install my license on? Do I have to deactivate my old installation before transferring a license? If so, how? How does licensing work in Windows ? What are the restrictions on transferring, reinstalling, and changing versions of Windows?"
] |
medi_sts_stackexchange_dupe
|
Windows search box is black
|
Windows 10 Search not loading, showing blank window
|
[
"Did Darth Sidious and Vader ever discover how to cheat death? In Episode 3 Revenge of the Sith Palpatine/Sidious strings Anakin along to the dark side with the promise that together the two of them will be able to re-discover Darth Plagueis' secret to cheating death. \"To cheat death is a power only one has achieved, but if we work together, I know we can discover the secret.\" From the end of Revenge of the Sith to their deaths in Return of the Jedi did Darth Sidious and Darth Vader ever manage to re-discover this secret?",
"I've heard that ratios or inverses of random variables often are problematic, in not having expectations. Why is that? The title is the question. I am told that ratios and inverses of random variables often are problematic. What is meant is that expectation often do not exist. Is there a simple, general explication of that?",
"This is a little bit off topic as it is not exactly related to TeX. I saw recently that was updated to 1.020 which comes with math table support. Does any one had a chance to play with this font and use it with unicode-math, and in particular with the LuaTeX engine? I am very interested in purchasing a complete set of this nice fonts family. However I am concerned about its usability with the unicode-math package. Unlike Cambria Math or XITS Math, Minion Math does not come with a single font, instead it has 20 (4 weights 5 optical sizes) fonts. So it will be better to know how it works before spending 700 euro. In particular, say the following minimal document, will it use correct optical size of the fonts for each of the three formulas? I had trouble with using correct optical size of Minion Pro fonts with fontspec. I worked it out with the SizeFeatures and OpticalSize. However, I am not so sure if the same strategy will work for Minion Math with unicode-math. In addition, in Cambria Math, etc., the bold symbols and alphabets are chosen directly from the unicode math enabled fonts. But in Minion Math, from the glyph tables on their websites, there seems no bold alphabets in each font. So will the mathbf in the document below work out of box? \\documentclass{article} \\usepackage{fontspec} \\setmainfont{Minion Pro} \\usepackage{unicode-math} \\setmathfont{Minion Math} % or what ever fonts name actually is \\begin{document} \\fontsize{5}{5}\\selectfont \\[ \\mathbf{E} = mc^2 \\] \\fontsize{10}{10}\\selectfont \\[ \\mathbf{E} = mc^2 \\] \\fontsize{36}{36}\\selectfont \\[ \\mathbf{E} = mc^2 \\] \\end{document}",
"How can I customize the Ubuntu installer?",
"Incorrect icons on hot network questions",
"Truncated 200GB table but disk space not released I have only 2GB left, so I need to remove this history table. This table now is empty but the database disk space not released. And the database file is 320GB.",
"If $E$ is a connected space, then so is $\\overline{E}$. I have to prove that if $E$ is a connected space, then so is $\\overline{E}$ (the closure of $E$) a connected space. I tried to prove the contrapositive. So suppose that $\\overline{E}$ is not connected in a metric space $X$. This implies there are $A\\subset X$ and $B\\subset X$ such that $A\\cap B=\\emptyset$, $A\\cap \\overline{E}\\neq \\emptyset$, $B\\cap \\overline{E}\\neq \\emptyset$ and $\\overline{E}\\subset A\\cup B$. I will try to prove that this $A$ and $B$ will also work for $E$. Suppose that $A\\cap E=\\emptyset$ and $B\\cap E=\\emptyset$, this implies that $A\\cup B$ is a subset of the limit points of $E$, because $A\\cap \\overline{E}\\neq \\emptyset$ and $B\\cap \\overline{E}\\neq \\emptyset$. This contradicts the fact that $\\overline{E}\\subset A\\cup B$, so we have to conclude that $A\\cap E\\neq \\emptyset\\neq B\\cap E$. Since $E\\subset\\overline{E}\\subset A\\cup B$, we have that $E$ is also not connected. My question is whether my proof is correct, because I have a little bit doubt. If it's not correct, what is the best I can do? Thanks in advance! Edit1: The definition we use for a connected space $E$ in a metric space $X$ is that if $E$ is connected, then there are no open $A,B\\subset X$ such that $A\\cap B=\\emptyset$, $A\\cap E\\neq \\emptyset\\neq B\\cap E$ and $E\\subset A\\cup B$. Edit2: $A$ and $B$ must be open.",
"We have a webservice that our application uses and the developers require https connections to the webservice. Since this is an internal webservice would you use a self signed cert?",
"Having problems with listings and UTF-8. Can it be fixed? I'm having some problems with listings and UTF-8 in my document. Maybe someone can help me? Some characters work, like é and ó, but á and others appear at the beginning of words... \\documentclass[12pt,a4paper]{scrbook} \\KOMAoptions{twoside=false,open=any,chapterprefix=on,parskip=full,fontsize=14pt} \\usepackage[portuguese]{babel} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{listingsutf8} \\usepackage{inconsolata} \\lstset{ language=bash, %% Troque para PHP, C, Java, etc... bash é o padrão basicstyle=\\ttfamily\\small, numberstyle=\\footnotesize, numbers=left, backgroundcolor=\\color{gray!10}, frame=single, tabsize=2, rulecolor=\\color{black!30}, title=\\lstname, escapeinside={\\%*}{*)}, breaklines=true, breakatwhitespace=true, framextopmargin=2pt, framexbottommargin=2pt, extendedchars=false, inputencoding=utf8 } \\begin{document} \\begin{lstlisting} <?php echo 'Olá mundo!'; print 'Olá mundo!'; \\end{lstlisting} \\end{document} \\end{lstlisting}",
"NRPE unable to read output, but why?",
"What is scientific mind?",
"Can I enter other Schengen countries with EU residence permit but without passport? I have some travel plans to go from Netherlands to France by car. I possess Dutch residence permit, but I am non-EU citizen. The problem is that I might need to submit my passport to get visa to another country I plan to go to later. So I have: residence permit and photocopy of my passport. Is it legal to cross borders by car with this set of documents what are possible fines and other repercussions if police or other authorities ask for my documents in France or Belgium?",
"Is it possible to get a decimal output from doing division in Bash? Basically in Bash, what I'm trying to do is take a input of seconds from a user and find the hours. So basically if the user enter 35 the output should be 0.00972222. But bash gives me is a zero. heres the command I have: echo \"Enter the seconds you wish to convert to hours: \" && read sec && echo \" $((sec/3600)) is the amount of hours \" Is there a way I can make it so it prints out 0.00972222 if I enter 35. Thanks!",
"find and print file path, without filename",
"About big parenthesis larger than Bigg",
"Clarification on maps in Salesforce I know this might be a very basic question but i'm pretty confused by this: Map<Id,Account> accountWithOpportunities = new Map<Id,Account>([SELECT Id,(SELECT Id FROM Opportunities) FROM Account]); I have no clue on to where the Opportunities are relevant at all in this map and how they are stored or can be accessed? Can anyone clear this out for me?",
"What is an quick way to create a new blank file in Lion? In Windows, one can create a new file using Right Click -> Add New -> Type of File. Is there an analogous action in Lion? I just want to create a new blank file on my Desktop.",
"Does the series $\\sum_{n=1}^{\\infty}|x|^\\sqrt n$ converge pointwise? If it then what would be the sum?",
"$M$ connected $\\iff$ $M$ and $\\emptyset$ are the only subsets of $M$ open and closed at the same time I'm trying to understand this proof that: $M$ connected $\\iff$ $M$ and $\\emptyset$ are the only subsets of $M$ open and closed at the same time Which is: If $M=A\\cup B$ is a separation, then $A$ and $B$ are open and closed. Recriprocally, if $A\\subset M$ is open and closed, then $M = A\\cup(M-A)$. What? I know that if $M=A\\cup B$ is a separation, $A$ and $B$ are both open. But why closed? Also, the 'recriprocally' part is totally nonsense to me. Anybody could help? Also, there's another proof, which states: $M$ and $\\emptyset$ are the only subsets of $M$ at the same time closed and open $\\iff$ if $X\\subset M$ has empty boundary, theb $X=M$ or $X=\\emptyset$ which is proved as the following: given $X\\subset M$, we know the condition $X\\cap \\partial X = \\emptyset$ implies $X$ is open, while the condition $\\partial X \\subset X$ implies $X$ is closed. Then, $X$ is open and closed $\\iff$ $\\partial X = X\\cap \\partial X = \\emptyset$, this show $\\iff$ for the theorem above. First of all, I think that the condition $X$ has boundary empty implies that $X\\cap \\partial X$ is empty, but who said anything about $\\partial X\\subset X$? Also, where's the $\\rightarrow$ of this proof? I can only see $\\leftarrow$",
"What is \"summoning sickness\" and how does it affect my creatures?"
] |
medi_sts_stackexchange_dupe
|
Is an AR(p) process with roots inside the unit circle non-stationary?
|
Explosive AR(MA) processes are stationary?
|
[
"Why does Captain Antilles in a New Hope say they're on a diplomatic mission?",
"Units and Nilpotents If $ua = au$, where $u$ is a unit and $a$ is a nilpotent, show that $u+a$ is a unit. I've been working on this problem for an hour that I tried to construct an element $x \\in R$ such that $x(u+a) = 1 = (u+a)x$. After tried several elements and manipulated $ua = au$, I still couldn't find any clue. Can anybody give me a hint?",
"ZFC + $\\exists$ Standard model $\\rightarrow$ Con(ZFC + $\\exists \\omega$-model) $ZFC + \\exists V_\\alpha$ model of $ZFC \\vdash Con(ZFC + \\exists$ transitive standard model of $ZFC)$ and then $ZFC + \\exists$ transitive standard model of $ZFC \\vdash Con(ZFC + \\exists \\omega-model$ of $ZFC)$ For the first one : We can always find a countable extentional $M \\subset V_\\alpha$ elementary equivalent to $V_\\alpha$. Let $M'$ be the mostowski collapse of $M$. $M' \\approx M$ so $M'$ is model of ZFC. And because $M'$ is countable and transitive then $M' \\in V_\\alpha$ (since $H_{\\omega_1} \\subset V_{\\omega_1}$ and $\\alpha$ is surely far larger than $\\omega_1$). So $V_\\alpha$ is the model of '$\\exists$ a standard transitive model of ZFC'. For the second one : I don't really know how to do it... Does anyone have an idea ?",
"Creation of a matrix",
"Let $H$ be a subgroup of $G$ with $[G:H]=n$. Let $N$ be the kernel of the left-multiplication action on the cosets of $H$. Show $[G:N]$ divides $n!$ Let $H$ be a subgroup of $G$ with $[G:H]=n$ and $G$ finite. Let $G$ act on left cosets of $H$ by left multiplication. Let $N$ be the kernel of the action. Show that $[G:N]$ divides $n!$. Ok so I have a theorem that says that if $G$ is simple then it embeds into $S_n$. So if $G$ is simple than I'm done because $G$ divides $n!$ and thus $N$ divides $n!$ and hence $[G:N]$ divides $n!$. Now I also know that $N$ is the largest normal subgroup of $G$ contained in $H$. Thus if $G$ isn't simple then it contains some non-trivial normal subgroup $K$ and thus $K\\cap H$ is normal in $H$ and by the 2nd Iso Theorem $H/K\\cap H\\cong KH/H$... As you can see I'm not sure where to go from here. I was hoping to prove that $K\\cap H$ wasn't trivial and thus that $N$ couldn't be trivial since it must contain $K\\cap H$, but I'm not sure I can, and even if I could I'm not sure that would help me in showing that $[G:N]$ is small enough to divide $n!$. Can anyone give some guidance? Thanks.",
"Installing QGIS with ECW support on Mac?",
"Using Windows 10 in a virtual machine. Can it be done? I am currently running 8.1. I'd like to try out Windows 10 and if I like it upgrade. If not, I'll keep running as I am. I've never used a virtual machine before: can Window 10 be used from a virtual machine as a \"sandbox\", and if so how?",
"Let's have 2 numbers, N and K, where K divides N. The number of K-combinations from a given set S of N elements is a well known formula. Let's concatenate N/K groups (resulting in N elements) such as the resulting set is N. How many possibilities are there, i.e. what's the formula? For instance: N=4, K=2, C(4, 2) = 6 {1,2},{1,3},{1,4},{2,3},{2,4},{3,4} The 3 possibilities are: {1,2},{3,4} {1,3},{2,4} {1,4},{2,3} I generated these combinations and I think the number goes like this: (4, 2): 3 (6, 3): 10 (6, 2): 15 (10, 5): 126 (9, 3): 280 (10, 2): 945 (14, 7): 1716 (12, 4): 5775 (15, 5): 126126 (15, 3): 1401400 Apparently, the result always divides with (N-1).",
"I want to combine two ffmpeg commands to a single command. I am using ready made ffmpeg binary in my Android application. I want to concat .ts files and overlay an image. I am using following commands: To concat .ts files: String[] ffmpegcommand = {\"ffmpeg\", \"-i\",\"concat:\"+input_file_path+\"|\"+input_file_path1, \"-c\", \"copy\", \"-bsf:a\", \"aac_adtstoasc\", output_file_path}; Apply image overlay effect: String[] ffmpegcommand = {\"ffmpeg\",\"-y\" ,\"-i\", input_file_path,\"-strict\",\"experimental\", \"-vf\",\"movie=\"+AppStaticData.BASE_FOLDER_PATH + File.separator + \"watermarklogo.png\"+\" [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]\", AppStaticData.BASE_FOLDER_PATH+\"/\" + output_file_path};",
"SQLite parameter substitution problem Using SQLite3 with Python 2.5, I'm trying to iterate through a list and pull the weight of an item from the database based on the item's name. I tried using the \"?\" parameter substitution suggested to prevent SQL injections but it doesn't work. For example, when I use: for item in self.inventory_names: self.cursor.execute(\"SELECT weight FROM Equipment WHERE name = ?\", item) self.cursor.close() I get the error: sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 1, and there are 8 supplied. I believe this is somehow caused by the initial creation of the database; the module I made that actually creates the DB does have 8 bindings. cursor.execute(\"\"\"CREATE TABLE Equipment (id INTEGER PRIMARY KEY, name TEXT, price INTEGER, weight REAL, info TEXT, ammo_cap INTEGER, availability_west TEXT, availability_east TEXT)\"\"\") However, when I use the less-secure \"%s\" substitution for each item name, it works just fine. Like so: for item in self.inventory_names: self.cursor.execute(\"SELECT weight FROM Equipment WHERE name = '%s'\" % item) self.cursor.close() I can't figure out why it thinks I have 8 bindins when I'm only calling one. How can I fix it?",
"Another problem from quora. What can be said about $v =\\prod_{s=2}^{\\infty} \\zeta(s) $? Wolfy says that $v \\approx 2.294856591673313794183 $. The Inverse Symbolic Calculator () finds nothing. Here are the close values: $2294856391585950 = (0064) sum((7/6*n^3-3*n^2+65/6*n-3)/(Fibo(n)+1),n=1..inf)\\\\ 2294856397653578 = (0001) GAM(5/6)*BesI(1,2)^{GAM(7/12)}\\\\ 2294856469349552 = (0006) 1/4357571\\\\ 2294856473388934 = (0324) 1/10*(10+14^{1/2}*10^{1/4})^{1/2}*10^{3/4}\\\\ 2294856488490537 = (0001) BesJ(0,1)^{GAM(1/3)/GAM(5/12)}\\\\ 2294856524215021 = (0314) sin(Pi*8/45)-sin(Pi*14/51)\\\\ 2294856591673313 \\text{ would be here}\\\\ 2294856740350177 = (0011) sum((2*n^3-5*n^2+22*n-14)/(n!+2),n=1..inf)\\\\ 2294856991319600 = (0324) 23^{1/2}/(12^{3/4}-3^{2/3})^{1/2}\\\\ 2294857017919943 = (0001) Feig2*Li4(1/2)/GAM(5/6)\\\\ 2294857089879260 = (0248) F(11/26;27/50;1) \\\\ 2294857493303450 = (0404) Psi(1/21)+Psi(19/21)+Psi(13/14)\\\\ $ I tried using Euler's zeta product and partition sum, but this didn't seem to help. Here is what resulted: $\\zeta(s) =\\dfrac1{\\prod_p (1-p^{-s})} $. $\\begin{array}\\\\ v &=\\prod_{s=2}^{\\infty} \\zeta(s)\\\\ &=\\prod_{s=2}^{\\infty} \\dfrac1{\\prod_p (1-p^{-s})}\\\\ &=\\prod_{s=2}^{\\infty} \\prod_p\\dfrac1{ (1-p^{-s})}\\\\ &= \\prod_p\\prod_{s=2}^{\\infty}\\dfrac1{ (1-p^{-s})}\\\\ \\end{array} $ Euler's product identity states that $\\prod_{n=1}^{\\infty}\\dfrac1{1-zx^n} =\\sum_{n=1}^{\\infty} \\dfrac{x^nz^n}{\\prod_{k=1}^n(1-x^k)} $. Putting $x=z=\\dfrac1{p} $, $\\prod_{n=2}^{\\infty}\\dfrac1{1-p^{-n}} =\\sum_{n=1}^{\\infty} \\dfrac{p^{-2n}}{\\prod_{k=1}^n(1-p^{-k})} $. That's as far as I can go.",
"I am looking for the stuff above, so I can make non-duplicate proposals on area 51.",
"What is the purpose of the /etc/shadow file in Linux Operating system? Also, is it same for SUSE clients? There is one shadow cache file is maintained what is purpose of that?",
"This is my first question on here. I'm trying to numerically solve the Schrödinger equation for the and find the energy eigenvalues and eigenfunctions but I am confused about how exactly this should be done. I've solved some initial value problems in the past using iterative methods such as Runge–Kutta. I've read that is the way to solve Schrödinger's equation but Wikipedia also describes it as an iterative method for initial value problems. How do I use it to solve an eigenvalue problem? This confuses me for the following reasons: Wouldn't iteratively solving the DE require knowledge of the energy eigenvalues to use as input to the calculation? I don't know the eigenvalues yet; they're precisely what I'm trying to calculate. If I did that, wouldn't I simply get a unique solution, instead of a family of eigenfunctions and eigenvalues? I've seen some mention of \"tridiagonal matrices\" being generated somehow, but am not sure what the elements of that matrix would be or how that applies to the problem. Leandro M. mentioned that \"the discretization defines a finite dimensional (matrix) eigenvalue problem\". This seems like the correct road I should be going down, but I haven't been able to find anything that explicitly explains this process or how the matrix is constructed. If this is the correct procedure, how is such a matrix constructed?",
"Display sheet name in Google Spreadsheets Is there any way to display a sheet name as the result of a function in a Google Spreadsheets (exactly like , except in Google Sheets)?",
"Money transfer from India to USA My daughter is a US Citizen. We (parents)are also planning to permanently settle in US. We will go their as Permanent Resident,as per US Law. We have a house here in India worth Rs.2 Crores. We want to sell it and take money with us. We have ordinary savings Bank account here in India. My US Citizen Daughter is a Income Tax payer. Now your advises are required as under: What are the routes to take money from India to US and our tax liabilities Can I gift this whole amount to my US Citizen Daughter or what is the maximum limit of Gift amount. What will be the tax liability on me and on my Daughter in case of Gift Whether I have to show it in my Income Tax Return or in my Daughter's Tax Return. What US Income Tax Laws says. What will be the procedure to send money as Gift to my Daughter. Will the money will go directly from my Bank Act.to my Daughter's Bank Account. Will there will be wire transfer from bank to bank Can I send money through other money sender Certified Companies also. Please advise. If there is something more on the subject to make me understand, please advise. Thanks,",
"What is the difference between \"Build and view\" and \"Compile\"?",
"set fontsize for TikZ figure",
"How to delete OS from boot menu After installing fedora and Centos and other OS now I have them all showing in my Boot menu [F2] on start up not the menu form the OS even after deleting them and reinstaling other OS - Ubuntu -so It just shows one when the OS starts but when I go to UEFI setting I still find all the old ones they instruct you to use DEL to take them out but that does not work",
"TeXShop and Mac preview crashing when opening latex/beamer built pdfs After updating to Sierra 10.12.4 last week, TeXShop crashes: when opening an existing .tex document that has a pdf associated to it immediately after compiling a new document, i.e. as soon as a pdf is created. Furthermore, preview crashes opening almost any pdf that has been created with TeXShop. There is virtually nothing on the internet about it, and the only solution seems to be a complete reinstall of MacOSX (so as to reinstall the supposedly broken preview), which I'd like to avoid if at all possible. Someone else has described a similar issue, but has not received any responses (). I would be very grateful for some help, as I can neither produce work, nor look at any at the moment. Many thanks!"
] |
medi_sts_stackexchange_dupe
|
Ternary Operator syntax to choose implementation of Interface
|
Implicit conversion issue in a ternary condition
|
[
"I already have the \"Edit Questions And Answers\" privilege. Yet, if I approve someone else's edit, I'm told that more votes will be required before the edit is accepted. This seems a bit peculiar to me, since I could just copy the edited version and paste it myself.",
"Which \"mean\" to use and when? So we have arithmetic mean (AM), geometric mean (GM) and harmonic mean (HM). Their mathematical formulation is also well known along with their associated stereotypical examples (e.g., Harmonic mean and it's application to 'speed' related problems). However, a question that has always intrigued me is \"how do I decide which mean is the most appropriate to use in a given context?\" There must be at least some rule of thumb to help understand the applicability and yet the most common answer I've come across is: \"It depends\" (but on what?). This may seem to be a rather trivial question but even high-school texts failed to explain this -- they only provide mathematical definitions! I prefer an English explanation over a mathematical one -- simple test would be \"would your mom/child understand it?\"",
"SSH remote user need to be logged in?",
"$n\\ge 8\\,\\Rightarrow\\, n = 3j + 5k\\ $ for $\\,j,k,n\\in \\Bbb N$ I'm new to Math Induction, I don't know how it goes from $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$ into $5𝑦 = 5𝑦 − 5 + 5.$ I'm trying to prove that: Any whole number of at least 8 cents can be obtained using coins of 3 and 5 cents Assume: There is a number $𝑘$ for which there are $𝑥$ and $𝑦$ such that $𝑘 = 3𝑥 + 5𝑦$ Here's my working: $𝑘 = 3𝑥 + 5𝑦$ Therefore $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$ $5𝑦 = 5𝑦 − 5 + 5$ $5𝑦 = 5 𝑦 − 1 + 5$ $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$ $𝑘 + 1 = 3𝑥 + 5(𝑦 − 1) + 5 + 1$ $𝑘 + 1 = 3𝑥 + 5(𝑦 − 1) + 6$ $𝑘 + 1 = 3(𝑥 + 2) + 5(𝑦 − 1)$ $𝒌 + 𝟏 = 𝟑𝒙' + 𝟓𝒚'$",
"Custom text color in C# console application?",
"Give a one-to-one and onto function from $\\mathbb{N} \\times \\mathbb{N}$ to $\\mathbb{N}$",
"Storing datetime values in Shapefiles using QGIS? I have a shapefile with date in a string field. I create a new field with date type and use the calculator to make the conversion. But the result only provide the date part, the time part is removed. Even when the preview show the correct conversion. Here you can see the original string field time and the result date time2. And the use of the conversion function to_datetime() and the preview result at the end If you go to the layer properties you can change the edit mode to date/time. Then if go to the data and try to edit time2 you get the current date/time. So is possible save date and time in the same field. But the update tool still doesn't work as expected As J.R said. Even when you can change QGIS edit to allow Date/Time the save to shapefile will discard the time.",
"Can all real polynomials be factored into quadratic and linear factors?",
"As my question says, $$\\frac 1{1.2.3}+\\frac 1{2.3.4}+\\frac 1{3.4.5}+...$$ As far as $\\frac 1{1.2}+\\frac 1{2.3}+\\frac 1{3.4}+...$ is concerned, we can write it as $\\frac 1{n-1} - \\frac 1{n}$ What can we do here?",
"The ls -al command shows the following output; -rwxrw-r-- 10 root root 2048 Jan 13 07:11 afile.exe What are all the fields in the preceding display?",
"Can I register a domain name that contains a company name or trademark? I wonder is it legal to register a domain name that contains a company name. For example cococola.cc (considering that this domain name is available). Can I buy and use any domain names that contain a name of a trademark?",
"Any solutions to Veritasium's hydrodynamic levitation? So this Youtube video has been around for a while now . Also this may be related. I just wanted to know if there is any standard hydrodynamic terms to explain it. Derek clearly states it is not about Bernoulli principle, as in this case the ball rotation is important. Has any recent paper/videos discussed what happens if you do the same experiment with hydrophobic spheres? Can it be predicted with laminar flow theories or does it need turbulence? Too many questions have been posed, but not so many responses on the internet yet. Edit: I said Derek stated \"it wasn't Coandă effect\", yet what he says is that it is not \"just Bernoulli's principle\". Coandă effect is the typical hairdryer ping-pong ball levitation which is explained by Bernoulli's principle. Edit2: rephrasing. Additional comment: There seems to be two explanations \"water adhere to the sphere and is ejected conserving horizontal momentum\" and \"Magnus effect\" (ME). The later is not so obvious to me as the system is in equilibrium and there are two fluids, water and air, (does ME means air pushes the ball horizontally?). Edit3: DESCRIPTION To avoid rot links and people that do not want to see the video, I'll try to explain the phenomena. You have a sphere and a water jet. The water jet is vertical (opposite to gravity), and touches the sphere almost tangentially. The ball not only rotates due to the water jet but also stays at constant height from the ground. The angular velocity can be defined in the direction of the cross product between the position of the contact point between the jet and the sphere (origin in the center of the sphere) and the direction of the jet. Some water drops fly away at the top of the sphere away from the jet. Edit4: New question, would this phenomenon occur if there was no air?",
"I have to travel to Germany and Switzerland for business purpose. I have already been here 2 years ago. I have applied for business visa to the German consulate twice and both times the application got rejected. They have put a green stamp on the last page twice. The reason is the purpose and information submitted regarding intended stay is not reliable. I have submitted the documents to Swiss consulate and they have accepted and granted me a visa. Now I have to first travel to Germany and then to Switzerland. So my question is, with a Schengen business visa granted by Switzerland, may I enter in Germany? Does the rejection stamp has any impact for entering at German airport ? Does it mean I cannot travel to Germany but to other Schengen countries ?",
"What does the following for loop syntax mean in C?",
"Given that $a$~$\\mathcal{N}(\\mu, \\Sigma)$ and $\\mu$~$\\mathcal{N}(0, \\sigma^2 I)$, Is $p(a|\\Sigma, \\sigma)=\\int p(a|\\mu, \\Sigma)p(\\mu|\\sigma)d\\mu$ again a Normal distribution? And how to estimate the mean and variance respectively? Thanks a lot!",
"I'm having issues unlocking my Nexus 7 2013 WiFi's bootloader, and it was suggested that I try fastboot oem unlock-go instead of fastboot oem unlock. Both seem to act the same on my device, however both also fail on my device so it is possible that the difference appears after the failure on my end comes. Regardless, I would like to know: What is the difference between these two commands? I'm not managing to find documentation.",
"How to keep the spaces at the end and/or at the beginning of a String?",
"Why is feed-forward mechanism used in hash functions? The compression function of SHA-1 when used in Davies-Meyer mode adds its input to the chaining values at the final step. For the first message block, the IV is used as the input and in the next step, the previous block's output (as specified by Merkle-Damgård) is used. These values are fed to the last round of the compression function. Why would removing the feed-forward part (i.e.,the final step where the input value is added to the result to get the final output) make the hash function insecure? Apart from the fact that the compression function would not satisfy desired randomness properties (being a permutation for each fixed message).",
"I am in the process of updating my CV. Since I often get labeled as \"the bioinformatician\" I get to play with many different languages and technologies, and similarly what people expect from a bioinformatician varies from person to person. So I figured it would be a good idea to indicate how much I feel I know in respective fields/languages. Inspired by , I came to wonder whether or not its acceptable to have self-assessed ratings of your technical skills, such as: proficiency programming languages, familiarity with relevant software etc. My own feeling is that such ratings are useful to indicate what you feel most confident or comfortable with. It would also be useful to show any potential future employer the level of competence you have in different fields. If you think about it a bit, it is common to have some type of rating for the languages one speaks, so I think an analogue to programming language proficiency should not be that alienating. On the other hand there is the risk of rendering your CV like, as a friend of mine put it, a role-playing game character sheet. Is it common to have such ratings on skills? Are there any potential problems with it? Edit: What I was thinking is a small listing something like:",
"Splitting vector layer in R"
] |
medi_sts_stackexchange_dupe
|
Side-by-side markdown title not so side-by-side
|
There's something funky about some titles in revision histories here on Meta Stack Exchange
|
[
"I have two sites that were originally migrated from SPS2003. It worked well in SharePoint 2007 and even on SharePoint 2010, however when we migrated it to SharePoint 2013, the home page throws following errors on the ULS Log. 5/24/2013 09:57:46.62 w3wp.exe (0x0D50) 0x1D24 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) 05/24/2013 09:57:46.62 w3wp.exe (0x0D50) 0x1D24 SharePoint Foundation Cobalt ajoii Medium Mapping Store error to Cobalt error. [Store Error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling) 05/24/2013 09:57:46.62 w3wp.exe (0x0D50) 0x1D24 SharePoint Foundation Cobalt aintx High Failed in CobaltStream.LockBytes: ErrorException --- Error: Unknown (Win32=0x80004003) --- Error message: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling) at 05/24/2013 09:57:46.64 w3wp.exe (0x0D50) 0x1D24 SharePoint Foundation Files ak8dj High UserAgent not available, file operations may not be optimized. at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo& fileInfo, SqlSession session, PrefetchResult prefetchResult) at 05/24/2013 09:57:46.64 w3wp.exe (0x0D50) 0x1D24 SharePoint Foundation Database ab1a9 High Failed to get document content data. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocParams(SqlSession session, Guid guidSiteId, Int32 cbContent, Nullable1 parentId, Guid docId, Nullable1 level, SPChunkedArray`1 rgbContent, Byte[] rgbRbsId, Int64 bsn, Byte partition, Int32 pageSize, Boolean bStartFilling) at I could not find any materials related to this on the internet, I am not even sure if it has to do something with SPS2003 compatibility. Any help pointers?",
"How do I add this extra partition to my installed Ubuntu system? I started installing Ubuntu by watching a video tutorial about doing a disk partition installation, for that, inside Windows' 7 own disk partitioning tool. After a defrag I cut 100GB that I pretended to use on my Ubuntu installation for a little try out, now, while installing, I never really chose where I wanted Ubuntu to be installed, so I guess it just made a partition by itself of the minimum that the installation tells you it needs. How can I now give the other 92 GB I had left apart only for that task? Here's what my partitions look like now. Here's a df: And here's the GParted tool un ubuntu:",
"I used following command for port scanning of my machine nc -zv 192.168.1.1 1-100 but I want to filter only succeeded message from following output.Hence i used the following command nc -zv 192.168.1.1 1-100|grep succeeded But no use, still it shows full output nc: connect to 192.168.1.1 port 1 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 2 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 3 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 4 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 5 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 6 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 7 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 8 (tcp) failed: Connection refused nc: connect to 192.168.1.1 port 9 (tcp) failed: Connection refused",
"Why are these black dots / spots appearing in my pictures?",
"How could we improve our planned post notice improvements? Megan has written a . I've seen a bunch of discussion about it on chat - but it feels like having it purely on the blog is a little clunky. So specifically - what does the MSE community feel about the proposed post notices for closed questions? What's missing, or what should be added? What are some of the lessons we've learnt that could be helpful here?",
"Do we know Snoke predates the Empire?",
"How many times can American Tourist re-enter UK in same 6 month period?",
"How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office? How can I create an Excel spreadsheet with C# without requiring Excel to be installed on the machine that's running the code?",
"How to evaluate the series $1+\\frac34+\\frac{3\\cdot5}{4\\cdot8}+\\frac{3\\cdot5\\cdot7}{4\\cdot8\\cdot12}+\\cdots$",
"How can I make sure that a certain OLEDB driver is installed when I start my application? I use ADO from Delphi and would like to display a descriptive error message if the driver is missing. The error that's returned from ADO isn't always that user-friendly. There are probably a nice little function that returns all installed drivers but I haven't found it.",
"I have the following problem: Let $a, b \\in\\mathbb{Z}$. Show that $\\,\\{ ax + by\\ :\\ x, y \\in \\mathbb{Z}\\} = \\{ n \\gcd(a,b)\\ :\\ n\\in \\mathbb{Z} \\}$ I understand that the Bezout's lemma says that $gcd(a,b) = ax +by$, so Im not really how you would go about proving the above, it doesn't really make sense to me. Any help is appreciated1",
"Parse and Extract Attributes from JSON",
"This post is an expansion of For many graduated sites (eg Physics), moderators do not want to apply the unilateral close vote in all cases--it is better to let some community votes pile on first. We only use the unilateral in obvious cases then. This renders the CV queue useless to us. If we "skip" something, we can't get back to it. If we say "do not close", it's removed from the queue and our community can't see it. If we use "close", we are using a unilateral mod vote--we don't want to do that. What I propose is a set of "next/previous" buttons, that let us navigate the queues, looking for closeable questions, and coming back to the others later. Thoughts? Update and bounty reason Due to the recent Great Flag Overhaul, mods no longer see close flags in the flag queue. Which means that the only way to get to them is via the review queue 1 Shog's solution is ideal in this case; let mods view the close queue as a list. (In fact, a list similar to the old flag queue -- which shows a list of mods who have seen the post and what mod actions have already been taken -- would be great) On Physics, the majority of the flags that we get are VTC flags. And the community isn't always able to close things on their own, so we have to step in. However, powering through the close queue isn't an option; because "skip"ing a post2 leads to it being dumped into the void (I can't get back to it unless I have a link). Extremely inconvenient. Could the workflow here be improved? 1. The /tools listing for posts with outstanding close votes doesn't work because it doesn't list posts which have been flagged but not VTCd 2. which I may want to take a closer look at later; gotta be careful with the binding votes.",
"How do I install minecraft 1.9 on mac?",
"How to draw Venn diagrams (especially: complements) in LaTeX What I am up to is to write some exercises dealing with logical formulas for my students, like: And the students should draw these formulas on . At the end of the lesson, I really would like to print the correct answer for them. I found a great resource on a forum thread at , which helped me a lot to make up some Venn diagrams with tikz, but have some problems with visualizing complements, like ~A. A simple, modified version of the TeX file found on the forum linked above, can be seen below, which produces the following expression: \\documentclass{letter} \\usepackage{tikz} \\def\\firstcircle{(90:1.75cm) circle (2.5cm)} \\def\\secondcircle{(210:1.75cm) circle (2.5cm)} \\def\\thirdcircle{(330:1.75cm) circle (2.5cm)} \\begin{document} \\begin{tikzpicture} \\begin{scope} \\clip \\secondcircle; \\fill[cyan] \\thirdcircle; \\end{scope} \\begin{scope} \\clip \\firstcircle; \\fill[cyan] \\thirdcircle; \\end{scope} \\draw \\firstcircle node[text=black,above] {$A$}; \\draw \\secondcircle node [text=black,below left] {$B$}; \\draw \\thirdcircle node [text=black,below right] {$C$}; \\end{tikzpicture} \\end{document} Which looks like: Could anyone please help me out plotting/defining some expressions dealing with complements? A nice example could be: That should look like: (image from ) I do not insist on the red color :) I would like to use the simplest possible solution, as I would like to mass generate the exercises with the help of . So any suggestion dealing with gnuplot, R or any other opensource packages is welcome. Thank you! UPDATE (25/01/2011): added details based on answers. Thank you @Leo Liu, you helped me a lot! I modified a bit the code you suggested to be able to color the area outside of the two circles also (in the H universe), but have no idea how to set a background to that polygon also. The code: \\begin{tikzpicture}[fill=gray] % left hand \\scope \\clip (-2,-2) rectangle (2,2) (1,0) circle (1); \\fill (0,0) circle (1); \\endscope % right hand \\scope \\clip (-2,-2) rectangle (2,2) (0,0) circle (1); \\fill (1,0) circle (1); \\endscope % outline \\draw (0,0) circle (1) (0,1) node [text=black,above] {$A$} (1,0) circle (1) (1,1) node [text=black,above] {$B$} (-2,-2) rectangle (3,2) node [text=black,above] {$H$}; \\end{tikzpicture} And the image generated: I will also look for even odd rule in the near future which does not make sense for me at the moment but looks really simple and promising!",
"What does `:-` mean in a shell script I saw this in the end of an awesome shell script but I can't understand the login here because I think it's being short-handed for a longer command. spark ${@:-`cat`} This apears at the end of . Any ideas? + Marks for some one who extends it into a full segment of code, even if its slower (Better for explanation)",
"Show the post's comments on the \"Suggested Edits\" review interface Having recently reviewed a few suggested edits, I've found that not being able to see the comments on the post is hindering my understanding of the context of some edits. In particular, there have been a few posts where someone has made a substantial edit to a question or answer which significantly alters its meaning. Typically I'd reject that as \"too radical\", since it can't be known that the new meaning of the post was what the original author intended. However, in some cases it is clear from the comments that the original author is aware of the intended change, and as such the editor is not in fact misrepresenting the author's intentions. In these cases, it would have been useful to see the comments when making the review decision. As an example, a common cause of this is when an inexperienced user is asked to clarify their question, and ends up writing a comment that would be better off as an edit to the question (due to length, excess code content, etc), presumably due to lack of awareness that the question can be edited. Often, other users will helpfully edit the question to include the information the OP put in the comment (see , and for examples). In this situation, it is clear that the edit reflects the OP's intentions, but this information is only present in the comments which are not visible in the review interface. Following is the suggested edit screen showing the suggested edit. It seems indentation is increased and one line is moved a few lines upwards and some empty lines added to increase readability. But it look like an invalid edit since changing the related line may cause alteration on the runtime. So not looks lie a valid edit. Better open the answer and examine it Checking the Q&A itself reveals that a talk had taken place between the OP and the answerer and revision done by the OP with the permission of the answerer. So it was indeed a valid edit. In short: is there any particular reason comments are not displayed in the suggested edit review interface? I think it would add useful contextual information when making review decisions, and presumably this would be trivial to implement. Note: this is not a dupe of , as it does not concern comments posted after the suggested edit.",
"I have an empty file (only zeroes are in it) of size 9,0KB and I need to write another file (with size 1,1KB) to it, but the first file must not lose its size or the rest of its contents. So if the whole file is 00000000000000... now, I need to write second file in it and leave the zeroes as they are. I have tried to use dd, but I haven't succeed - file resizes. dd if=out/one.img of=out/go.img Does anybody know how can I do it?",
"Number of triangles formed by $m$ lines",
"If $X$ takes on a Gamma Distribution, how can I find $X^2$, $X^3$, etc?"
] |
medi_sts_stackexchange_dupe
|
JAVA: Having trouble printing Array
|
What's the simplest way to print a Java array?
|
[
"What are the technical obstacles that doesn't allow OSX to be installed in a PC?",
"Can you choose which version of a game to play on Steam?",
"Satisfying explanation of Aristotle's Wheel Paradox. The paradox: We have a circle and there is another circle with smaller radius. They are co-centeric. If circle make full turn without sliding, both smaller and bigger circle make full turn too. If we assume that the passed road is equal to the circumference of circles. We have got smaller circle's radius is equal to bigger one's. Unsatisfying Solutions I found: \"Do not assume that smaller circle's circumference is equal to passed road since the surface that contacts to the ground is bigger one. \" // Okey but it does not explain the paradox, it explains just what is the wrong assumption (even does not explain why it is a wrong assumption.) It is undeniable that every point on both smaller and bigger circle will contact exactly one and only one point on their path. Therefore we can think that this is a bijective maps and smaller circle is isomorphic to bigger one. (Okey but ....) Question: What is the true answer? What is wrong with the definition of circumference of a circle and relationship with its taken path.",
"2015 13\" MacBook Pro Trackpad and Keyboard stop working",
"Calculate $E(Y)$ and $Var(Y)$ given the random variable which is exponentially distributed The random variable $X$ is exponentially distributed with parameter $\\lambda = \\dfrac{1}{2}$. Also, define $Y = -2X + 1$. Calculate $E(Y)$ and $Var(Y)$. So we have $$f_X(x) = \\dfrac{1}{2} e^{-\\dfrac{1}{2}x} $$ if $x\\ge0$ and $0$ otherwise. But how to calculate $E(Y)$ and $Var(Y)$ ?",
"External Styles in JasperReports I'm working on a system that includes a large number of reports, generated using . One of the newer features is that you can define styles for reports. From the available docs I believe there is some way to have an external file defining styles to use, and you can reference that in your jasper reports. This allows a single style to be used by multiple reports. I can't find any concrete information on whether this is an actual feature, and if it is, how to use it. Does anyone know if it is possible to have external styles for jasper reports, and if so, how to do it?",
"CPU clock speed versus CPU core count - higher GHz, or more cores for SQL Server? We are beginning to provision a set of physical servers for a virtual cluster of SQL Server 2016 nodes within VMware. We will be utilizing Enterprise Edition licenses. We plan on setting up 6 nodes, but there is a bit of a debate on what the ideal way to provision the physical servers with regards to CPU clock speed versus CPU core count. I know this is largely dependent on transaction volume and number of databases stored among other software-specific factors, but is there a general rule of thumb that is advised? For instance, is a dual 8-core, 3.2 GHz physical server (16 cores) more preferential to a dual 16-core, 2.6 GHz server (32 cores)? Has anyone come across a white paper that further delves into this type of topic?",
"Even/Odd Binomial Coefficients I was wondering if there's a nice general solution for the following problem: How many numbers in the $n^\\text{th}$ row of Pascal's triangle are even? How many are odd?",
"What software is focused on reviewing and organizing images?",
"Why couldn't Harry see Thestrals at the end of Goblet of Fire after the senseless and shocking death of Cedric Diggory? At the end of Goblet of Fire, the carriages still appeared horseless to Harry: Hermione turned away, smiling at the horseless carriages which were now trundling towards them up the drive, as Krum, looking surprised, but gratified, signed a fragment of parchment for Ron. Goblet of Fire - Page 629 - British Hardcover - Adult Edition At the beginning of Order of the Phoenix, Harry sees the Thestrals for the first time: Here stood the hundred or so horseless stagecoaches that always took the students above first year up to the castle. Harry glanced quickly at them, turned away to keep a lookout for Ron and Hermione, then did a double-take. The coaches were no longer horseless. There were creatures standing between the carriage shafts. Order of the Phoenix - Page 178 - British Hardcover - Adult Edition We know that only those who have seen death can see Thestrals: ‘Don’ worry, it won’ hurt yeh,’ said Hagrid patiently. ‘Righ’, now, who can tell me why some o’ yeh can see ’em an’ some can’t?’ Hermione raised her hand. ‘Go on then,’ said Hagrid, beaming at her. ‘The only people who can see Thestrals,’ she said, ‘are people who have seen death.’ ‘Tha’s exactly right,’ said Hagrid solemnly [...] Order of the Phoenix - Page 394 - British Hardcover - Adult Edition A month went by between Cedric's death and the end of the spring term -- is this enough time for Harry to have truly internalized Cedric's death? Goblet of Fire indicates that Harry was in shock following Cedric's murder, but was able to relate the story of Cedric's death to Mr. and Mrs. Diggory. When he looked back, even a month later, Harry found he had few memories of the following days. It was as though he had been through too much to take in any more. The recollections he did have were very painful. The worst, perhaps, was the meeting with the Diggorys that took place the following morning. [...] ‘He suffered very little, then,’ she said, when Harry had told her how Cedric had died.' Goblet of Fire - Page 621 - British Hardcover - Adult Edition So, then, why couldn't Harry see Thestrals at the end of Goblet of Fire?",
"The problems that appear in difficult math competitions such as the IMO or the Putnam exam are usually very difficult and require some ingenuity to solve. They also usually don't look like they can be solved by simply knowing more advanced theory and the such. How do people typically come up with these problems? Do they arise naturally from advanced mathematics (the somewhat infamous 'grasshopper problem' from the 2009 IMO comes to mind - to my not exactly knowledgeable mind this problem looks like it popped out of basically nowhere)? What is the perspective that mathematicians take when seemingly \"inventing\" these problems with no theoretical motivation to them whatsoever?",
"Does the 90 days VWP rule expire if you travel from the US to Canada? I'm on a New Zealand passport. From most US Embassy webpages: The Visa Waiver Program (VWP) enables nationals of certain countries, including Australia, New Zealand, and the U.K., to travel to the United States for tourism or business for stays of 90 days or less without obtaining a visa, if certain requirements are met. Under the VWP, time spent in Canada, Mexico, and adjacent islands counts towards the maximum of 90 days stay allowed under the program. I'll be there on a 1-year working holiday visa starting when I arrive in Vancouver. I'm spending 3 days in Hawaii en route to Vancouver. This seems to imply that 90 days after landing in Hawaii, my time will be up and I won't be able to get back into the US, as my living in Canada will not reset the clock. What if after this time I want to say, pop across the border to Seattle? How can I restart the 90 days, without having to resort to say, flying to Japan and back just to reset it?",
"Why doesn't Neo teleport at random?",
"Let $f \\in L^1(\\mathbb{R})$, for $a\\in \\mathbb{R}$ let $f_a(x)=f(x-a)$, prove that: $$\\lim_{a\\rightarrow 0}\\|f_a -f \\|_1=0$$ I know that there exists $g\\in C(\\mathbb{R})$ s.t $\\|f-g\\|_1 \\leq \\epsilon$, this is also true for $f_a$ and $g_a$. Now I have the next estimation: \\begin{align*} \\|f_a-f\\|_1 &= \\int_{\\mathbb{R}} |f(x)-f(x-a)| dx \\\\ &= \\int |f(x)-g(x)+g(x)-g(x-a)+g(x-a)-f(x-a)| \\\\ &\\leq \\|f-g\\|_1 + \\|f_a-g_a\\|_1 + \\int |g(x)-g(x-a)| \\end{align*} my question is: I can argue that $\\lim_{a\\to0} \\int |g(x)-g(x-a)| = \\lim_{a\\to0} \\lim_{T\\to\\infty} |g(x_0)-g(x_0-a)| 2T$, now I think that I can change the order of the limits here, but I am not sure why? P.s $x_0$ is some point in $[-T,T]$, and the above is valid from the intermediate integral theorem for continuous functions, right? Thanks.",
"In the Monster Manual, gargoyles, golems, helmed horrors, and xorns all enjoy either immunity or resistance to: bludgeoning, piercing, and slashing damage from nonmagical weapons that aren't adamantine Is it actually possible to obtain a nonmagical adamantine weapon? Although the Dungeon Master's Guide describes adamantine armor (p.150) and Daern's instant fortress (p.160) as being made of this metal, and provides an AC for destructible adamantine objects (p.246), there's no mention of adamantine weapons. The creation spell (PH p.229) can produce an adamantine weapon that lasts for a single minute. The true polymorph spell (PH p.283) can't turn a regular weapon into adamantine, but it might be able to for an hour. The only way to obtain a (somewhat) permanent adamantine weapon in the game seems to be to loot one from drow elves (MM p.127). A PC (perhaps even a drow) with proficiency in smith's tools could presumably craft a nonmagical adamantine sword during downtime at 5gp per day (PH p.187), except that unlike silvered weapons, there's no pricing for adamantine. It's seeming like mugging an NPC drow is the only by-the-book way to tool up against gargoyles.",
"Synonym for \"Fellow Sufferers\"?",
"How do I uninstall Windows 8 and install Windows 7? I have a friend, who just got a new Toshiba Satellite C series with Windows 8. I tried to uninstall Windows 8 and install Windows 7 but was unable to do so. I did everything I could: Boot disk - would not load (error message Media -- Fail) Boot USB - would not load (error message Media -- Fail) Loading Windows 7 disk from system, fails with different errors Does anybody know what I can do in order to install Windows 7?",
"E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages",
"I am stuck with the following problem. Prove that $$\\limsup_{n \\to \\infty} (a_n+b_n) \\le \\limsup_{n \\to \\infty} a_n + \\limsup_{n \\to \\infty} b_n$$ I was thinking of using the triangle inequality saying $$|a_n + b_n| \\le |a_n| + |b_n|$$ but the problem is not about absolute values of the sequence. Intuitively it's clear that this is true because $a_n$ and $b_n$ can \"reduce each others magnitude\" if they have opposite signs, but I cannot express that algebraically... Can someone help me out ?",
"Upgrade High-Trust Addin/App from 2013 to 2016 I have a SharePoint 2013 environment with several High-Trust Addins. This must now be upgraded to SharePoint 2016. My Questions: I was unable to find any documentation on the required steps. Links are welcome. Do i have to migrate App-Management Service and Subscription Settings Service? don't even mention them. say yes, but linked background is no longer available. , i had to create a New-SPTrustedSecurityTokenIssuer. In this step, a RegisteredIssuerName had to be specified. This IssuerName consists of the Realm and the . I think IssuerID can and should be migrated to SharePoint 2016, as it it also defined inside the High-Trust app. What about the Realm? This is by default the same value as FarmID. If i migrate this value, i have to change the Realm in SharePoint 2016. Or should i create the TST with a new Realm and existing IssuerID?"
] |
medi_sts_stackexchange_dupe
|
What kind of electronic component is that? A lightbulb?
|
What is this glass bulb with two parallel electrodes on my PCB?
|
[
".NET - How can you split a \"caps\" delimited string into an array? How do I go from this string: \"ThisIsMyCapsDelimitedString\" ...to this string: \"This Is My Caps Delimited String\" Fewest lines of code in VB.net is preferred but C# is also welcome. Cheers!",
"Add max value to a new column in R",
"Sole survivor of attack on mining vessel, abandoned by his employer, has ability to teleport There's a story my grandpa use to tell me when I was younger, about the sole survivor of of an attack on a mining vessel in space. The man lives in space for months/years, ignored by the company he worked for and never rescued. Then when he thinks he is being rescued, it's actually another set of raiders who attack him and kidnap him. He then wakes up in captivity in some sort of prison inside of an asteroid, and has a word tattooed on his forehead. My grandpa called him Ronin (that's what the tattoo on his forehead said) but I don't know what the character's real name is. Anyways, he learns that he has the ability to teleport after having a brush with death and decides to make his way back to Earth so that he can exact revenge on the mining company who abandoned him and left him floating to die. Does anyone know what this story or book may be? My grandpa told it to me when I was little, he said that he got it from a book he use to love reading when he was younger. I'm assuming the book is very old (possibly pre 1940's as he was born in the 20s). I can't ask him as he is no longer alive. I'm also unsure as to whether or not all the details in the story he told me, are the same as in the original.",
"Where can I ask questions for website recommendations? Is there any Stack Exchange site where I can ask others to recommend me good web sites for solving specific problems? For example I would like to know if there is any URL shortening website that can allow me to define the url. For example instead of http://bit.ly/1gX2dD0 I would like it to be http://bit.ly/superflow - if \"superflow\" is not available then I will invent another word. I can imagine that such services are paid but I don't need the link to last more than one day, and maybe there is such a website.",
"Iterating each character in a string using Python",
"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?",
"DML Statement in ‘after trigger’ and not in ‘before trigger’?",
"How do I draw ovals in TikZ? How can I draw this graph in the pic via tikz.",
"Why do people sometimes use the past perfect form of a verb when the past would suffice? (e.g. \"you had mentioned\") I noticed that my American friends tend to use the past perfect form when they use the verb mention in its past form, almost despite of the context of the sentence. I hear them say \"you had mentioned\" a lot more often even in situations where the use of simple past would have been perfectly fine. Have you noticed it too and is it one of those unwritten rules, or is there a more formal explanation to it? It seems like there was more verbs like that, but I am having a hard time remembering it now. If I do, I will edit the post and likely change the title to accommodate other verbs.",
"Remote Desktop Settings Missing I'm trying to setup remote connection to my Windows 10 machine. During the setup I noticed that my installation is missing some settings all the tutorials have. Can anyone tell me why I'm stupid and what I should do? Below you can find a screenshot of what I'm talking about. The first image is how it should be. The second picture is a screenshot on my machine. Edit: After popular request, my windows version:",
"In Bash, suppose I visit a directory, and then another directory. I would like to copy a file from the first directory to the second directory, but without specifying the long pathnames of them. Is it possible? My temporary solution is to use /tmp as a temporary place to store a copy of the file. cp myfile /tmp when I am in the first directory, and then cp /tmp/myfile . when I am in the second directory. But I may check if the file will overwrite anything in /tmp. Is there something similar to a clipboard for copying and pasting a file?",
"Which equals operator (== vs ===) should be used in JavaScript comparisons?",
"Minimize the sum of distances between two point and a circle",
"How can I format to show text inside \"\"? I've posted a lot to StackOverflow, and I've noticed something kind of irritating with the formatting in writing questions and comments. If I need to put something inside a < and a >, without spaces in the middle (like right there), it will think it's code and not show up, like this (obviously it won't come up what I wrote there, or else this wouldn't be an issue, but if you open up the question to edit you can see what's written there.) If I want it to show up, right now I have to add an extra set of brackets inside of the originals with a junk variable, like right <here> (again, open in edit window to see). This is really annoying when trying to show variables like lists that require those brackets, and I feel like the junk variables could confuse people looking at the edits. Is there a way to get around this formatting? Thanks!",
"$S_3$ permutes the elements of $\\mathbb{R}^3$, show that $\\sigma (x_1, x_2, x_3) = ( x_{\\sigma^{-1}(1)}, x_{\\sigma^{-1}(2)}, x_{\\sigma^{-1}(3)})$.",
"Does an ability resolve if the source of the ability leaves the battlefield? Player A taps targeting Player B; its \"deals 1 damage to target player\" ability is placed on the stack. Player B gets priority and responds with , targeting Goblin Fireslinger. Both players pass priority. Snap resolves, and Goblin Fireslinger is returned to its owner's hand. Does Player B still take 1 damage from Goblin Fireslinger's activated ability? I know that if the creature had been killed/sent to the graveyard, the ability would still resolve, but I was told recently that because a player's hand is a private zone it couldn't. If anyone could confirm or deny this for me, it would be most appreciated.",
"Why is torque a cross product? If I'm not wrong, torque is perpendicular to both the radius and force i. e. It is along the axis of rotation. Questions that arise are- why do we consider the length between the axis/point of rotation while calculating torque? More importantly why is torque a cross product?",
"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?",
"If $f(\\frac{1}{n})=0$ all $ n\\to \\mathbb{Z^{+}}$ then find $ f'(0)$? Let $f: \\mathbb{R}\\to \\mathbb{R}$ be a twice differntiable function and $f(\\frac{1}{n})=0$ all $n\\in \\mathbb{Z^{+}}$? then which of the statement (s) are correct from below. (a)$f(0)=0$ (b)$f^{'}(0)=0$ (c)$f^{''}(0)=0$ (d)$f$ is a non zero polynomial I tried of using Tyler series but I wasn't able to do this any help would be appreciated thank",
"change color of pgfplot bar plot I want to plot two bar plots next to each other. This works without a problem. However both use the first color defined in a pre or selfdefined colorseries. I tried to modify the color manually in the plot, but the color and fill definitions have no effect: \\documentclass[border=5mm]{standalone} \\usepackage{pgfplots, pgfplotstable} \\begin{document} \\pgfplotstableread[header=false, col sep=comma]{ 1, first item 5, second item }\\datatable \\begin{tikzpicture} \\begin{axis}[ ,xbar ,bar width=2ex, y=3ex ,enlarge y limits={abs=0.75} ,ytick={data} % (\\empty,data,{coordinate list}) ,yticklabels from table={\\datatable}{1} ] \\addplot table [ ,red!20!black,fill=red!80!white, y expr=-\\coordindex, % Use negative coordinate index as y coordinate x index=0 % Use first column as x coordinate ] {\\datatable}; \\end{axis} \\end{tikzpicture} \\end{document} The plot is still in the default blue."
] |
medi_sts_stackexchange_dupe
|
What does the ~ operator do in Python
|
The tilde operator in Python
|
[
"80's/90's movie: man and woman driving through a red desert planet",
"UK Train - Can I board at a different station",
"How closely can a game legally resemble another?",
"sqlite3: not found",
"uname -r and available linux-headers- packages do not match",
"How to smooth shade an object while retaining hard edges?",
"Set value of textarea in jQuery I am attempting to set a value in a textarea field using jquery with the following code: $(\"textarea#ExampleMessage\").attr(\"value\", result.exampleMessage); The issue is, once this code executes, it is not altering the text in the textarea? However when performing an alert($(\"textarea#ExampleMessage\").attr(\"value\")) the newly set value is returned?",
"How can I prevent data theft from a company? Are there any solutions to this problem? Is there any software that encrypts important data (.doc, .xls, etc.) and prevents it from copying? I need a solution where employees can read/write documents but can not copy then to a USB drive or e-mail them.",
"Why won't Mathematica display an answer?",
"Is it same number of candies for any stage of evolution while transferring pokemon to professor? I was just wondering if the number of candies we get while transferring the pokemon to professor is same for any stage of evolution ? For example, you would get a pidgey candy for transferring a pidgey. Is it same number of candies for transferring pidgey, pidgeotto or pidgeot ?",
"I'm trying to build a datapack that lets you craft xp bottles from glass bottles at the expense of 7 xp per bottle (because they drop 3 to 11 xp so the average is 7). I have almost everything working except for a check for if they have too little xp. If they have 7 or less xp, I would like to remove one bottle of enchanting from their inventory and give them one glass bottle, because the function for removing xp is called after they've crafted one and a scoreboard has counted it. My remove function currently looks like this: #create dummy scoreboard to multiply bottles crafted by seven to get xp to be removed scoreboard objectives add 7xp dummy scoreboard players set @s 7xp -7 scoreboard players operation @s xpCrafted *= @s 7xp #how do I get the value in xpCrafted into the command to remove xp? xp add @s -7 points #cleanup scoreboard players reset xpCrafted scoreboard players reset 7xp scoreboard players set @e xpCrafted 0 scoreboard objectives remove 7xp And my tick function like this: execute as @e[scores={xpCrafted=1..}] at @s run function craft_xp:removexp As the inline comment says, how do I get that value in xpCrafted into my xp removing command, and also how should I check to make sure the player has enough xp for the operation in the tick command (or elsewhere)? Presumably I would run a different command to remove the extra bottle if they didn't have enough xp, but I don't know how because there doesn't seem to be any type of if/else structure in commands. Finally, should a question like this be in two different questions or is one ok on this forum?",
"Concecutive last zeroes in expansion of $100!$",
"Choosing between meaningful and meaningless hostnames",
"Buy a second seat in order to bring an extra bag?",
"Show $\\inf_f\\int_0^1|f'(x)-f(x)|dx=1/e$ for continuously differentiable functions with $f(0)=0$, $f(1)=1$. Let $C$ be the class of all real-valued continuously differentiable functions $f$ on the interval $[0,1]$ with $f(0)=0$ and $f(1)=1$. How to show that $$\\inf_{f\\in C}\\int_0^1|f'(x)-f(x)|dx=\\frac{1}{e}?$$ I have been able to show that $1/e$ is a lower bound. Indeed, $$\\begin{align*} \\int_0^1|f'(x)-f(x)|dx &= \\int_0^1|f'(x)e^{-x}-f(x)e^{-x}|e^xdx \\\\ &\\geq \\int_0^1\\left(f'(x)e^{-x}-f(x)e^{-x}\\right) dx \\\\ &= \\int_0^1 \\frac{d\\left(f(x)e^{-x}\\right)}{dx}dx \\\\ &= f(1)e^{-1}-f(0)e^{0}\\\\ &=\\frac{1}{e}. \\end{align*}$$ But how to show this is the infimum? Is there a function $f\\in C$ such that we get $\\int_0^1|f'(x)-f(x)|dx=1/e$?",
"I am currently in the process of trying to repair a power supply that has had one of its DC rails fail. A resistor in the PSU has exploded and I am trying to find what value it is. Band 1: White Band 2: Brown Band 3: Silver (Possibly Grey?) Band 4: Gold Band 5: Green The weird thing is that the middle band appears to be silver, which should be invalid as far as I can tell. If you assume the silver is grey (although this is unlikely, as there still needs to be a grey colour as well and the band is metallic), it produces a value of resistor which is incredibly uncommon to the point it does not exist (91.8 Ohms 0.5%). Apologies for the noobie question, I'm just stumped after hours of trying to understand why this is and coming up short :).",
"When using the Profile Tool plugin I get a graph that looks like the 2nd derivative of what I want. That is, it looks like the rate of change of the slope of the elevation profile. I just want the elevation profile! The data is present for good 1' contour lines. Why is the Profile Tool interpreting the data in such a bizarre way? What am I missing? And what are the Min and Max units?",
"Let $a_n$ be a sequence of positive reals, such that the partial sums $S_n = \\sum_{i = 1} ^ n a_i$ diverge to $\\infty$. For given $\\epsilon > 0$ do we have $$\\sum_{n = 1} ^ \\infty \\frac{a_n}{S_n^{1 + \\epsilon}} < \\infty?$$ For $\\epsilon \\ge 1$ we can resolve this quickly by noting $$\\frac{a_n}{S_n ^ 2} \\le \\frac 1 {S_{n - 1}} - \\frac 1 {S_n}$$ so for sufficiently large $n$ we can bound $\\frac{a_n}{S_n^{1 + \\epsilon}}$ by $\\frac 1 {S_{n - 1}} - \\frac 1 {S_n}$ as well. I'm wondering if this is true for arbitrary $\\epsilon > 0$. I know that the series in question diverges for $ \\epsilon = 0$, so all that is missing is what happens in $(0, 1)$.",
"Why do people buy stocks that pay no dividend? Before recently, Apple Inc. did not give dividend to shareholders. This makes me curious why people buy Apple Inc. stocks; while it might be due to the expectation of selling stocks at a higher price, this can only be possible if other people are thinking the same, thereby increasing demand. But the stocks themselves do not pay interests - so Apple's amazing revenue/profit records would not matter....",
"Evaluate $\\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n) dx$ Let $f$ be a real, continuous function defined for all $0\\leq x\\leq 1$ such that $f(0)=1$, $f(1/2)=2$, and $f(1)=3$. Show that $$\\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n) dx$$ exists and compute the limit. Attempt: Since $f$ is real-valued continuous on $0\\leq x\\leq 1$ and the boundaries $f(0)=1$ and $f(1)=3$, $f$ is bounded on the interval and the integral $\\displaystyle\\int_0^1 f(x^n)dx$ exists for any positive $n$. Thus, we can interchange the limit and the integral and compose the limit, \\begin{align*} \\lim_{n\\rightarrow\\infty} \\int_0^1 f(x^n)dx&=\\int_0^1\\lim_{n\\rightarrow\\infty}f(x^n)dx\\\\ &=\\int_0^1 f\\left(\\lim_{n\\rightarrow\\infty} x^n \\right)dx\\\\ &=\\int_0^1 f(0)dx=1. \\end{align*} Questions: So, my first question concerns whether interchanging the limit and the integral is correct. It seems it would be justified by the dominated convergence theorem, where $f(x^n)$ is dominated by a function $g(x)=\\displaystyle\\sup_{0\\leq x\\leq 1} f(x^n)$ and $f_n(x^n)$, on $0\\leq x\\leq 1$, converges pointwise to a function $f$ that takes value 1 for $x\\neq 1$ and 3 for $x=1$. My next question is whether the interchange between the limit and composition of the function is allowed. Since the function is continuous and the limit exists at that point, it seems the interchange would be justified."
] |
medi_sts_stackexchange_dupe
|
Is there a canonical metric for a Lie group manifold?
|
Constructing a metric on a Lie Group
|
[
"How can I capture KeyDown event on a WPF Page or UserControl object? I have a Page with a UserControl on it. If the user presses Esc while anywhere on Page I want to handle. I thought this would be as easy as hooking up the PreviewKeyDown event, testing for the Esc key, and then handling it. However, when I placed I breakpoint in the event handler I found it was never getting called. I thought perhaps the UserControl might be getting hit, so I tried PreviewKeyDown there... same result. Does anyone know the proper place to test for a KeyDown or PreviewKeyDown on a Page object?",
"Let be $V$ a vector space over the complex numbers with inner product. Let be $T$ and $S$ linear operators in $V$ with adjoint operators $T^*$, and $S^*$ respectively. I know that it satisfies this: $\\left< T(x),y \\right>=\\left< x,T^{*}(y) \\right>$ $\\left< S(x),y \\right>=\\left< x,S^{*}(y) \\right>$ $\\forall x,y \\in V$ But, How can I prove that the adjoint operator of $ST$ is $(ST)^{*}$? And how can I prove that $(ST)^{*}=T^{*}S^{*}$?",
"How to render a background image in 2.8? I'm trying to \"add\" an 3D object onto a photo. I have added the photo to the scene in three ways so far, but none of them render (eevee): Camera > Background Images Empty a. Add > Empty > Image (Empty gets added to current Collection) b. Add > Image > Backround (Empty gets added to Scene Collection) These all show up in the 3D View and I was able to align the camera and the object so its perspective matches the scene in the photograph. But when I Render the scene, I only see the object, not the background image. For the latter, it's simple: Empties are not rendered at all. There are few questions about this, since 2.8 has changed how it handles background images. The most popular seems this one (it includes references to others): But I seem not to be able to find a method to have the background image render. Another method might be to use the Compositor (Nodes) to Mix or Alpha Over an Image with the Render Layers. But this does not give the same alignment as achieved with the background image (also this requires that the World background does not get rendered (Alpha channel); for Eevee, this can be achieved by checking Film>Transparent). What other options are there? Docs:",
"Busy Device on Umount I often experience a problem to umount a directory: umount /mnt/dir umount: /mnt/dir: device is busy There are many reasons why the device is busy. Sometimes there are processes running which have open locks on it, sometimes there are other directories mounted on top of /mnt/dir. My question: What are the steps to check why a directory couldn't be unmounted. I know there are many reasons, but it's ok if you explain a specific solution. [EDIT] [X] running processes on mounted volumes. [X] another volume is mounted on top of a volume we want to unmount [_] NFS locks the volume we want to unmount",
"Difference between [NSMutableArray array] vs [[NSMutableArray alloc] init]",
"form in a .tpl.php file This is the code in my template.php file. function studiga_theme_theme($existing, $type, $theme, $path) { $items['add_property_form'] = array( 'render element' => 'form', 'template' => 'node--14', 'path' => drupal_get_path('theme', 'studiga_theme') . '/templates/node', ); return $items; } function custom_add_property_form($form, &$form_state) { $form['first_name'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('First name')), ); $form['last_name'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('Last name')), ); $form['address'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('Address')), ); $form['city'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('City')), ); $form['state'] = array( '#type' => 'select', '#options' => array( 'default' => 'State', '...' => '...', ), ); $form['zip'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('Zip')), ); $form['email'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('Email')), ); $form['phone'] = array( '#type' => 'textfield', '#attributes' => array('placeholder' => t('Phone')), ); $form['submit'] = array( '#type' => 'submit', '#value' => 'Submit', ); return $form; } This is the code in node--14.tpl.php. Contact Information <div class=\"row\"> <div class=\"small-12 medium-12 large-8 large-offset-2 columns\"> <?php print render($form['submit']); ?> </div> </div> But no fields are appearing - what am I doing wrong? You can't have a straight forward in a tpl.php file can you?",
"All of my Firefox extensions were spontaneously and simultaneously disabled (converted to Legacy status) a few moments ago. How can I re-enable them? Firefox 66.0.3 (64-bit)",
"Is there a specific purpose in terms of efficiency or functionality why the k-means algorithm does not use for example cosine (dis)similarity as a distance metric, but can only use the Euclidean norm? In general, will K-means method comply and be correct when other distances than Euclidean are considered or used? [Addition by @ttnphns. The question is two-fold. \"(Non)Euclidean distance\" may concern distance between two data points or distance between a data point and a cluster centre. Both ways have been attempted to address in the answers so far.]",
"Is there a unique solution for this quadratic matrix equation?",
"I want to model the transfer function of a resistor mathematically, and am after some resources / tips on if it's possible to do so. For example, if I put 1V into a 1 Ohm resistor, I want to know how long and how (shape) it will take to reach a steady state temperature, given 25 deg C ambient. I.e. $$ \\frac{T(s)}{V(s)} = ??? $$ Where T(s) is the laplace transform of temperature T(t), measured in say Kelvin. I understand there are a lot of factors which will affect this model (material, size, shape, ambient (?)), but I'm not sure where to even start. A shows the heat rise at a certain load, but not really how it gets there. I can't find a time-domain function for the temperature rise either.",
"What is wrong with this query? (Unknown error parsing query)",
"How can be solved the equation $x^3+x-1=y^2$ in positive integers? I know this equation defines an elliptic curve, but this seems to be a non-elementary way to solve this question. Is there a more elementary solution? By the way I found three solutions: $(1,1), (2,3)$ and $(13,47)$. Is this related to the law group property of elliptic curves? Thanks for further answers.",
"Let $T$ be a self adjoint operator on a finite dimensional inner product space. And let $4$ and $5$ be the only eigenvalues of $T$. Show $T^2-9T + 20I = 0$ . proof:Let $T$ be a self adjoint. And let $4 , 5$ be the only eigenvalues of $T$. Then $Tv = 4v, Tv = 5v$ for some $v \\neq 0$. Then $Tv = 4v, Tv = 5v$ if and only if $(T-4I)v = 0, (T-5I)v=0$. Then $ (T-4I) (T-5I)v=0$ implies $(T^2 -5T -4T + 20I^2)v = 0$, implies $(T^2 -9T + 20I)v = 0$, so we have $T^2 -9T + 20I = 0 $. Can someone please check this? if it's not correct, could I please have some help on it? Thank you",
"Area 51 is miscounting my proposal followers I know of one person who is following my proposal who doesn't show up on the proposal webpage. My proposal is for quantitative finance: . It shows 19 people following the proposal (on the side of the page), and the total listed at the top of the page is 19 followers. Yet one user is not listed: . This makes me wonder if other followers are also not being counted?",
"What causes a force field to be \"non-conservative?\"",
"Apex PMD: Problem: Validate CRUD permission before SOQL/DML operation Background I am using the Apex PMD plugin for VS Code and it's giving me this problem: Validate CRUD permission before SOQL/DML operation For this line of code: insert contentVersion; Which is part of this method: private void attachReport(Id recordId) { ContentVersion contentVersion = new ContentVersion( versionData = Blob.valueOf(buffer.toStr()), title = 'Import Report', pathOnClient = StringUtils.format('/Import-Report-{0}.txt', DateTime.now().getTime()), FirstPublishLocationId = recordId); insert contentVersion; } Questions Why am I getting the problem? What should I do to not get the problem? Reference",
"What are pros and cons for MacPorts, Fink and Homebrew? I'm just migrating from Ubuntu Linux to Mac, and everything is new and I'm re-learning a lot of stuff. On Linux I had the excellent apt-get to manage software packages. I googled for an alternative on Mac and found about MacPorts, Fink and Homebrew. I will use this computer primarily to develop Ruby on Rails applications. So, what are the differences between them? Which are the upsides and downsides? Which one is best maintained and has more packages?",
"Bootstrap CSS Active Navigation",
"We are developing a new Lightning Community to replace our Partner Community. However, when we use our visualforce pages with LightningStylesheets=true on the Lightning Community, the Lightning styling is not applied. I understand that this is the case because Lightning Communities are not Lightning Experience. Is there a way to force LightningStylesheets anyway? I am trying to stay away from having to rebuild/restyle all our legacy visualforce pages.",
"Several badge descriptions contain raw HTML I was reading through some badge descriptions and noticed that Synonymizer's description needs to be updated. As it stands, there is raw HTML (an href) in the description: EDIT: after reading comments by @ColeJohnson, I have come to the understanding that this post comes off as whiny. I want to make it very clear that I wasn't ever trying to complain. My first reaction was to fix the perceived error myself. When I realized I was unable to do so, I figured the best course of action would be to find someone who would be able to make the necessary edits. Hence the post here."
] |
medi_sts_stackexchange_dupe
|
What precautions should be taken after the process of cooking?
|
What do I need to know about temperature and food safety?
|
[
"My Windows 10 notebook died but fortunately I was able to rescue the hard drive and put it into another PC. Unfortunately, the other PC can't open the C/Users/Joe folder. What do I have to do to open the folder?",
"I understand that in a lot of big-lab fields it is common for the principal investigator to append their name to a paper even if they did not write the paper, design the experiment, or collect data since they spend energy securing funding, and managing the whole lab. What about for small labs? What are the requirements for a supervisor to be included as an author on a paper, as opposed to just appearing in the acknowledgements? If you are working on your own projects independently of your supervisor, but using funding provided by your supervisor (how does this change when the funding provides resources versus just your salary), are you suppose to add them as authors or just acknowledge the source of funding?",
"Delay in 4-bit ripple carry adder? In pic below I have drawn a full adder and mentioned their delays, please help me to verify my answer.",
"Copying protected files between servers in one line? I'd like to copy squid.conf from one server to another. The servers don't talk to each other. I'd like to go through my workstation. Both servers have the file, so it will be overwritten on the target. The files have 600 permission and are owned by root. root login via ssh is disabled (PermitRootLogin no). I'd like to do it in one line, if possible, since it will be a part of a setup guide. I know to do ssh source 'tar czpf - -C /etc/squid/ squid.conf' | \\ ssh target 'tar xzpf - -C /etc/squid/' to copy files between servers and preserve permissions. However, in this case I will get \"Permission denied\". I also know I can do this: ssh -t source 'sudo cat /etc/squid/squid.conf' This way the -t allows sudo to ask for the admin password before outputing the content of the file. The problem is, I don't know how to combine those techniques into something that will ask for the sudo password on each server, and transfer the file to its destination. Is this possible? UPDATE: Here's the best I could come up with: ssh -t source 'sudo tar czf /tmp/squid.tgz -C /etc/squid squid.conf' && \\ ssh source 'cat /tmp/squid.tgz' | \\ ssh target 'cat >/tmp/squid.tgz' && \\ ssh -t source 'sudo rm /tmp/squid.tgz' && \\ ssh -t target \\ 'sudo tar xzf /tmp/squid.tgz -C /etc/squid && sudo rm /tmp/squid.tgz' Calling this a one-liner seems like a stretch. I think I'll just break it down to separate steps in the setup guide.",
"Is a contradiction enough to prove a set equality to $\\varnothing$?",
"I am looking at this: I need to create a boot disk to test Ubuntu to make sure it will run on a PC (Compaq Mini CQ10-120LA) I was given. I can create the boot disk off of a Mac (in English) or Windows (but Windows is in Spanish and foreign to me). Questions: What format do I choose for the USB stick? (I wish the instructions stated this). What is Dash? (Will I know when I run the installer?) Can I do this from a Mac or Windows computer? Or only from Ubuntu?",
"Captured variable in a loop in C# I met an interesting issue about C#. I have code like below. List<Func<int>> actions = new List<Func<int>>(); int variable = 0; while (variable < 5) { actions.Add(() => variable * 2); ++ variable; } foreach (var act in actions) { Console.WriteLine(act.Invoke()); } I expect it to output 0, 2, 4, 6, 8. However, it actually outputs five 10s. It seems that it is due to all actions referring to one captured variable. As a result, when they get invoked, they all have same output. Is there a way to work round this limit to have each action instance have its own captured variable?",
"Helical motion of charged particle in external magnetic field",
"Let $f:[0,+\\infty)\\to\\Bbb R$ be a function bounded on each finite interval. I want to show that if $\\lim\\limits_{x\\to+\\infty}[f(x+1)-f(x)]= L,$ then also $\\lim\\limits_{x\\to+\\infty}\\dfrac{f(x)}x = L$",
"How do I size a UITextView to its content?",
"In LWC am trying to iterate over a list and show the details from the list, this is working correctly , but as a header want to show the record number in a displayed order, below is desired outcome and simplified sample code. Desired OutCome: Employee Record 1: A Employee Record 2: B Employee Record 3: C JavaScript: Var empNames = [\"A\" , \"B\" , \"C\"]; HTML: <template for:each={empNames} for:item=\"employee\" for:index=\"index\"> Employee Record{index} {employee} </template> Actual outcome Employee Record 0: A Employee Record 1: B Employee Record 2: C I understand as i am using {index} which indicated the position of element in an array which starts from 0 my actual outcome also starts like Employee Record 0 instead of Employee Record 1, but is there a simple way without writing much logic on JS to handle this in html and to make my headers starts from 1 instead of 0?",
"Is mass converted into energy in exothermic chemical/nuclear reactions? My (A Level) knowledge of chemistry suggests that this isn't the case. In a simple burning reaction, e.g. $$\\mathrm{C + O_2 \\to CO_2}$$ energy is released by the $\\mathrm{C-O}$ bonds forming; the atoms lose potential energy when they pull themselves towards each other, in the same way that a falling object converts GPE to KE. There are the same number of protons, electrons etc. in both the reactants and products. I would have assumed that this reasoning extends to nuclear fission/fusion as well, but one physics textbook repeatedly references very small amounts of mass being converted into energy in nuclear reactions. So I just wanted to know if I was wrong about either of these types of reactions, and if so, what mass is lost exactly?",
"I have some survey response data that are inconsistent and I'm not sure what is the best way to handle them. This is the nature of the inconsistency: Have you ever had a food poisoning episode that you think might have been caused by the food in a particular restaurant ? a) Yes b) No Did any of these episodes prevent you from eating at that restaurant again? a) Does not apply, never have had a food poisoning episode b) Yes c) No Following these episodes, did you come back to your normal condition after 24 hours? a) Does not apply, never have had a food poisoning episode b) Yes c) No I believe that the intent of the designers of the survey was that anyone answering \"No\" to 1) should answer \"Does not apply\" to 2) and 3), but that's not how it worked. A large group of respondents picked \"No\" for 1) and \"No\" for at least one of 2) or 3). What is the best way to deal with this inconsistency? Where are some good references (books, papers, websites, etc.) to look at discussions and solutions for issues of this kind, and data cleaning in general?",
"Elected moderators can nominate themselves , and I can nominate myself again, despite having won the first round of election. I understand this isn't going to be easy to fix, given that SE only knows about community mods, employees and developer roles, and pro-tempore mods need to be able to nominate themselves.",
"Are the rationals a closed or open set in $\\mathbb{R}$?",
"How can I raise a soldiers hacking ability? My main specialist seems to have a hard time hacking stuff. How can I make him better at it?",
"How do you \"OR\" criteria together when using a criteria query with hibernate?",
"We have no mention of Voldemort in Harry's sixth year. So, I was wondering- what could Voldemort have been doing?",
"Placing null at the end of the List",
"I have a beamer frame with about 150 slides on it. I want article and handout mode to only show frame 92. Reading section 8.6.2 of the beamer manual it seems like I should be able to do something like \\begin{frame}<handout:92> ... \\end{frame} but that seems to have no effect--all 150 slides are set in handout mode, overlaying (making the result unreadable). I have gotten the effect I want by taking all commands within the frame that have an overlay specification and adding \"| handout:0\" to make them not appear in handout mode. Annoying, but works. But for my 150-slide frame the different slides are generated by a PGF \\foreach loop so I can't code slide 92 differently from the rest. But can I do this at the frame's overlay specification? It seems that the frame's overlay spec really acts differently from other commands. If I only do \\begin{frame}<92>...\\end{frame} then I get only slide 92 in beamer mode but all slides in article or handout mode."
] |
medi_sts_stackexchange_dupe
|
Represent Integers with 2000 or more digits
|
Handling large numbers in C++?
|
[
"Almost half of disk space unaccounted for on Windows 7 computer I'm trying to determine what's eating almost half of disk on my Windows 7 Lenovo laptop but haven't been able to determine what. I read some of the answers on this site but none of the causes seems to be the cause of my problem. What I've done so far: Checked Windows' System Restore points but only minimum use, either way I deleted around 2GB if usage from there Used WinDirStat and it came back with a total of 71.3GB usage at the root level C Drives properties says 135GB being used out of 138 GB total, ie, 135 GB - 71.3GB = 63.7GB missing somewhere No \"Unknown\" files reported by WinDirStat Windows Disk Management utility doesn't report any unused partitions or unclaimed space chkdsk comes out clean Windows disk cleanup tool doesn't report anything big, just small stuff in the lower MB range Lenovo backup tool hasn't been used nor there is a folder for the backup images Any idea on what to look at and/or do? EDIT: some additional info...",
"Given that every class gets a minimum of 5 ability score improvements each at levels 4, 8, 12, 16, and 19 (Rogue and Fighter get more at other levels), do these ability score improvements occur by character level or by class level? For example, is it possible to create a character who never once gains a single ability score improvement by reaching level 3 in a class and then switching to a different class repeatedly? I had originally thought the 5 that every class gets would occur by character level, so for example a sorcerer1/bard3 would earn an ability score improvement for reaching character level 4. But there are others who have expressed the opinion that this is wrong.",
"Question is pretty much in the title: is it possible for an alliance to win as one, instead of a single player being the winner? And if there is such way, is there a difference between classic and disharmony?",
"I have 3987MB of RAM on my laptop. Task (System) Manager says that I am using 700MB of this RAM, whilst the command \"free -m\" says I am using nearly 1500MB. Which one is correct and why do they show two different values? Thanks for any help.",
"How does a sarlacc gain any energy if it keeps victims alive for a thousand years? When eaten by a sarlacc, according to C-3PO, In his belly, you will find a new definition of pain and suffering, as you are slowly digested over a thousand years. I imagine that keeping a victim alive for a thousand years takes much more energy than is available to the sarlacc from the body of the victim. Thus, keeping victims alive for so long would seem to be a net loss of energy for the sarlacc. Is there a canon answer to resolve this conundrum? Did the sarlacc have another energy source (for example, ability to harvest sunlight)?",
"Remove last character from line",
"I need help with this exercise. I need to prove $$\\int_{0}^{1}x^{-x}\\ dx=\\sum_{n=1}^{\\infty}n^{-n}$$ I think I should use some convergence theorem, but I'm stuck. Thanks a lot!",
"So I know the basic gist is that fusion power's main issue is sustaining the fusion. I also know that there are two methods. The Torus method and the laser method. The torus magnetically contains plasma and heats it with radiation and accelerates the plasma around to make strong enough collisions that protons fuse. The laser method uses 192 lasers and focuses it on tiny frozen hydrogen pellets and aims to initiate fusion each time pellets are dropped. The though struck me when we could sorta combine the two designs together. The torus doesn't have to worry about making fusion happen at a specific location but it has issues in that the plasma is unevenly heated and leaks. On the other hand, the laser design is extremely complicated in the level of precision needed and would have to repeat this for every pellet. This lead me to think to make something precise and contained at the same time. I see that particle colliders are able to direct two beams of protons and have them collide at a specific spot with a very precise energy. Couldn't we tune the energy of the two beams of protons to the energy required for them to fuse? We have the ability to smash them into bits, surely we have the ability to have them fuse. (I'm thinking about the type of collider that circles two beams in opposite directions) It would be at much lower energies than normal colliders and would be very precise and it would be possible to fuse at a specific location that has greater leeway because for protons that missed collision, they'd just circle around again! Thus protons would efficiently be used and very little would be wasted. There wouldn't be problems of plasma leakage because we are focusing them in a thin tight beam. It seems that this idea has girth, or I feel this way at least, can someone back me up by offering some calculations on how to calculate the efficiency? How would I go about calculating the two circling beams of protons and at what specific velocity would be needed? etc.",
"What is the quantum mechanical explanation of the octet rule? What is the quantum mechanical explanation of the ? In other words, what makes the octet rule be true from a quantum mechanical view? How we explain what makes some atoms don't follow the octet rule using QM?",
"How to control internet access for each program? I would like to use a software to control which program may connect to the internet. I know that this behaviour is associated with the word \"firewall\", but some Linux users are very upset if somebody demands a Personal Firewall. I don't want to upset you by demand such a program. I don't want to \"secure ports\" or other stuff a Personal Firewall promises on Windows. I looked into iptables but it does not fit my requirements. I saw an excellent answer here () but it's very uncomfortable to set this up. Is there a software that asks for each program if it may access the internet?",
"Can someone please suggest a query to directly see the number of answers I posted that were accepted. Right now I have to manually count from total given answers. Hope there is an easy way.",
"When it's OK to omit \"where?\"",
"How many levels are there for Steam Trading Card badges? With the new Steam Trading Cards, I decided to craft the badge for CS:GO. I got this: I then noticed that this is only a level 1 badge, and there was a level 2 badge to get. So I crafted it too: Now it says there's a level 3 badge to get next. How many levels are there in total?",
"Someone has asked for answer to these topics. However, I still want someone to provide me with simple and universal answers. I recently read a sentence from the English-speaking person. It is in an article. It is, ' The available options for mitigating pad cratering are not universally effective (see link below), but they may be helpful on a case by case basis until more crack resistant laminates are developed and become available. ' If I am to write this, I will use 'a case-by-case basis until more crack-resistant laminates' Can anyone tell me when to use a hyphen to coin a new word?",
"Origin and correctness of “ain’t no”? In contemporary American English usage, I come across sentences like: I ain’t got no money. Ain’t no man like him. Saying ain’t no sounds incorrect to me because it is a double negative. What is the origin of this particular construction? I wasn’t able to find anything online related to the origins of this incorrect usage.",
"In iOS 8.4.1, if a caller who has 6 numbers, calls you and you see a missed call. Then, clicking the \"i\" symbol next to the missed call showed you all the 6 numbers of the caller and the number from which he called, was indicated with blue. This helped in knowing exactly what number he called me from and I could call back on the same number. iOS 9.0.1 call log does not indicate the number the caller called from with blue (if the caller has more than one number). So, it becomes impossible to call the person back on the same number. This was one very important feature that made iOS 8 very useful. Apple has taken away a very important feature.",
"How to remove URI encoding from file names? I realise this might be quite a simple question, but I'm still quite new to the command line and only have a grasp of basic commands. I've downloaded some lecture presentations (~25 or so) from my University however on doing so they've been named things like... L2%20Development%20of%20immune%20system.pptx L4%20Molecular%20Recognition.pdf As you can see they've downloaded with the URL encoding %20 instead of a space. My question is how to batch rename all of these files so that the %20 is removed and replaced with a space instead?",
"Arbitrary products of quasi-coherent sheaves?",
"Understanding imaginary exponents",
"I was having a discussion with a friend of mine about some normal group properties and then came up with the question \"if G is not commutative, then is there always a subgroup that is not a normal subgroup?\" It's probably more easy to solve this in the following form:$$\\forall H \\leq G : H \\lhd G \\Rightarrow \\forall a,b \\in G : ab=ba$$ My question is, can anybody give a proof, or a counter-example (because I don't think it holds) of this theorem? Thanks!"
] |
medi_sts_stackexchange_dupe
|
Recurrence relation: $x_{n+1} = \frac 12 x_n + \frac 1 {x_n},$
|
Proof of Convergence: Babylonian Method $x_{n+1}=\frac{1}{2}(x_n + \frac{a}{x_n})$
|
[
"I'm not sure how to prove these basic theorems in propositional calculus. Instead of using the standard axioms, we're supposed to use: Deduction Theorem (if $\\Phi, \\alpha \\vdash \\beta$ then $\\Phi \\vdash \\alpha \\to \\beta$), Reductio (if $\\Phi, \\alpha \\vdash \\, $, then $\\Phi \\vdash \\lnot \\alpha$), Cut Rule (if $\\Phi \\vdash \\alpha$ and $\\Psi, \\alpha \\vdash \\beta$ then $\\Phi \\cup \\Psi \\vdash \\beta$), Inconsistency Effect (if $\\Phi \\vdash \\, $, then $\\Phi \\vdash \\beta$ for every formula $\\beta$), and the Principle of Indirect Proof (if $\\Phi, \\lnot \\alpha \\vdash \\, $, then $\\Phi \\vdash \\alpha$), as all the axioms can be deduced using these theorems. I don't really know how to start the proofs without using the axioms: i) prove that $\\lnot(\\alpha \\to \\beta) ⊢ \\alpha$ ii) prove that $\\lnot\\alpha \\vdash \\alpha \\to \\beta$ Any suggestions on how to start these proofs or any insight at all would be greatly appreciated! Thanks!",
"Can I pay two different costs with the same payment? Say I have a Zombie token, , and on the battlefield. Can I sacrifice the Zombie token to activate both the Altar's and Seer's abilities? Similarly, if I have one card in hand, and and on the battlefield can I discard the one card to both of their abilities? If I have a with 3 charge counters can I activate both of its abilities by tapping it to add a counter, and tapping it to remove 3 counters and destroy a permanent without untapping it in between?",
"How to add shortcut keys for java code in eclipse",
"Display date/time in user's locale format and time offset I want the server to always serve dates in UTC in the HTML, and have JavaScript on the client site convert it to the user's local timezone. Bonus if I can output in the user's locale date format.",
"I was wondering if $\\mathbf{A}\\times\\mathbf{C}=\\mathbf{B}$ and $\\mathbf{A}\\cdot{\\mathbf{C}}= p$, is it possible to express C in terms of A, B, and p? Note: A, B, C are vectors and p is a scalar. Sorry if this question has been asked before. If so, can anyone give me a link to it?",
"css background color with floating elements",
"Deleted users who created a synonym are listed as \"anon\" in the tag synonyms list While browsing the I came across the synonym [vote-to-close] -> [closing] in which the creator is listed as "anon" — the username is not hyperlinked, just like how the user IDs of deleted users are listed in other places like in the list of close voters of a question, etc. If this really were a deleted user, then I would have expected their user ID to be shown, and not "anon". So, I checked using for data on the tag synonym. And sure enough, it shows that the deleted user with the ID 147263 created the synonym. To double-check, I looked up the and came across a bunch of synonyms created by "anon". Checking with , these were all created by the now deleted user with the ID 80. Similarly, in the there are several created by "anon", but says that these were created by the now deleted user with the ID 54262. Feature request: Show the user ID of the tag creator under the "Creator" column in the list of tag synonyms if the user is deleted, to be consistent with how posts and actions by deleted users are attributed everywhere else.",
"Why does C/C++ differentiates in case of array index out of bound #include <stdio.h> int main() { int a[10]; a[3]=4; a[11]=3;//does not give segmentation fault a[25]=4;//does not give segmentation fault a[20000]=3; //gives segmentation fault return 0; } I understand that it's trying to access memory allocated to process or thread in case of a[11] or a[25] and it's going out of stack bounds in case of a[20000]. Why doesn't compiler or linker give an error, aren't they aware of the array size? If not then how does sizeof(a) work correctly?",
"A circle has the same center as an ellipse and passes through the foci $F_1$ and $F_2$ of the ellipse, two curves intersect in $4$ points.",
"Converting MultiLinestring to Linestring with PostGIS I have a multiline string and want to convert it to a linestring in order to use some functions that only work with linestrings. I used ST_Dump() and got a collection of my geometries. If I merge them back together, I still get the multilinestring. Should I get the Npoints and combine them together or something, in order to end up with a simple linestring? ST_LineMerge() also does not work on my multilinestring, it returns the same. my example, MULTILINESTRING((-3.16420835153456 55.9269166007097,-3.164222 55.926918),(-3.1642070167833 55.9269296196706,-3.16421351659546 55.9268662214904),(-3.16421351659546 55.9268662214904,-3.16421636372824 55.9268384509897),(-3.16421636372824 55.9268384509897,-3.16422182573761 55.9267851753802),(-3.16422182573761 55.9267851753802,-3.16422870102352 55.926718114886),(-3.16422870102352 55.926718114886,-3.16423309121073 55.926675293667),(-3.16423309121073 55.926675293667,-3.16423565148822 55.9266503211093),(-3.16423565148822 55.9266503211093,-3.16424103159897 55.9265978443265),(-3.16424103159897 55.9265978443265,-3.16424680776317 55.9265415044985),(-3.16424680776317 55.9265415044985,-3.16425267254583 55.9264843002995),(-3.16425267254583 55.9264843002995,-3.16425541048045 55.9264575949012),(-3.16425541048045 55.9264575949012,-3.16426111146586 55.9264019883556),(-3.16426111146586 55.9264019883556,-3.1642667032531 55.9263474469124),(-3.1642667032531 55.9263474469124,-3.16426957768543 55.9263194101362),(-3.16426957768543 55.9263194101362,-3.16427488261739 55.9262676666359),(-3.16427488261739 55.9262676666359,-3.16428009893088 55.9262167875066),(-3.16428009893088 55.9262167875066,-3.164282741107 55.9261910161221),(-3.1642875546472 55.9261440655823,-3.164282741107 55.9261910161221),(-3.1642875546472 55.9261440655823,-3.16429466890915 55.9260746741522),(-3.16429466890915 55.9260746741522,-3.16430092974527 55.9260136069079),(-3.16430092974527 55.9260136069079,-3.16430822838418 55.9259424170929),(-3.16430822838418 55.9259424170929,-3.16431547242401 55.925871759829),(-3.16431547242401 55.925871759829,-3.16431448732505 55.9258328901507),(-3.16431770120536 55.9257327846001,-3.16431547242401 55.925871759829),(-3.164339 55.925777,-3.16431770120536 55.9257327846001))",
"How to protect website from bulk scraping /downloading?",
"Evaluation of $\\sum_{n=0}^{\\infty}\\frac{1}{(n^4+n^2+1)n!}$",
"I would change the font of section and subsection of my document. I have created it using book class. I would use this font: According to Adobe pdf propriety, this font is AvantGarde-Demi. How can I use it in Latex. what command I should use to recreate this in latex. I think I should use titlesec package right?",
"Help! My party isn't challenged? While I've been running my campaign, I'm starting to get stumped. I am playing with a party of four, and we recently switched from 3.5 to Pathfinder, but the problem was the same in both situations. No matter what I throw at the party, they seem to have no problems. Even if I put them up against something that is supposed to be 'Epic' or 'overwhelming' in terms of CR, they make out just fine. The one exception to this is when I had several encounters in one day that taxed them to near death. Usually I have about two encounters a day, but that day I had four encounters, with two of them being APL+1 and the other two being APL+2, and that was challenging. But other than that nothing seems to faze them! How can I make the game more challenging without making it harder? Just for reference, the party is fairly standard, and low level (level 4): Wizard (tends to resort to mind-affecting spells, or grease if the creature is immune) Cleric (heals a lot, but always has spells / healing left over) Rogue (sneak attack, of course, which is more potent in Pathfinder) Fighter (gets enlarged and in-charge'd)",
"How to change Ubuntu 18.04 system fonts? I installed Ubuntu 18.04, and I want to customize the fonts. I have already change all the setting by tweak tool. But the system default font not be changed, is anything I need to do?",
"How do I install ndiswrapper support for an unsupported RTL8723DE wireless module? I have not much experience with ndiswrapper but some vague memory of using it with some broadcom module long back. Now, here is the problem. Realtek RTL8723DE wireless module is used in my new HP 15-BS576TX laptop. I haven't installed Linux yet. But, would like to check if Ndiswrapper can help use the Windows driver to work in Linux. Here is the Windows 10/8/7 driver for this RTL8723DE wlan module: I extracted the exe and can see a folder /RTWLANE_Driver/Wind7X86/ which has rtwlane.sys and few other files which I presume is related to the wireless driver. Is there any chances of luck with ndiswrapper considering the driver executable actually contains win8/win7 drivers. Thank you.",
"Sometimes chicken breast can be thick and I never know how to tell when it's cooked! How can I be certain it is cooked all the way through?",
"Prove if nonempty $K \\subset\\mathbb{R}$ is compact, then both sup $K$ and inf $K$ exist and are elements of $K$. Prove if nonempty $K \\subset \\mathbb{R}$ is compact, then both sup $K$ and inf $K$ exist and are elements of $K$. I manage to prove the existence of sup $K$ by using the Axiom of Completeness. But I failed to prove that $\\sup K \\in K$. Can anyone guide me ?",
"Given $f_{n} : [a,b]\\rightarrow \\mathbb R$ is uniformly Lipschitz and $f_{n}\\rightarrow f$, how can I show that $f$ is Lipschitz? $f_{n}$ is uniformly Lipschitz $\\leftrightarrow \\exists K > 0$ such that for all $n$ and for every $x,y\\in [a,b]$ we have $|f_{n}(x)-f_{n}(y)| < K|x-y|$. $f_{n}\\rightarrow f \\leftrightarrow \\forall~\\epsilon>0~~\\exists~N$ such that $\\forall~n>N$ we have $\\mid f_{n}(x) - f(x)\\mid<\\epsilon~~~(=\\mid x-y\\mid?)$ Then we have \\begin{align} |f(x)-f(y)| &\\leq |f(x)- f_{n}(x)| + |f_{n}(y)-f(y)| + |f_{n}(x)-f_{n}(y)| \\\\ &\\leq |x-y| + |x-y| + K|x-y| \\\\ &\\leq (K + 2) |x - y| \\end{align} which shows that $f$ is Lipschitz. Can anybody tell me if this makes sense? Sorry if layout is poor.",
"Displaying layout marks in a document set with different layouts Is there any package that allows for the display of layout marks within a document where the layout changes several times throughout? I'm using the geometry facilities to issuing \\newgeometry commands throughout my document, but it doesn't update the displayed layout and neither does the showframe package or the facilities of the memoir class. EDIT: As Werner has pointed out, the showframe option of the geometry package displays correctly any updated page layout set by issuing \\newgeometry commands. My trouble came out of the fact that I'm issuing also \\pagecolor commands and the page color seems to be hiding the layout lines typeset according to the geometry package. My confusion only worsened because the showframe package layout lines were not hidden by the page color (the package got the layout wrong on some pages, though). So, it all boils down to a conflict with the page color. Even though I'm using geometry's showframe option for \"debugging\" ends, and I don't mind to have no page color at that stage of development, is it possible to override this problem and have at the same time both the page layout displayed by geometry as well as the page colored? Btw, should I open a new question given that the problem is actually different from the originally posted one?"
] |
medi_sts_stackexchange_dupe
|
.live() vs .bind()
|
What is the difference between the bind and live methods in jQuery?
|
[
"I have a time series that shows a nonstationary seasonal autoregressive component as well as known heteroshedasticity. In order to model the series, I have fit a seasonal ARIMA model for the mean with the auto.arima model in the forecast package in R and a GARCH model on the residuals of the ARIMA model. Is the procedure of sequentially estimating ARIMA and GARCH model correct or would it have been better to jointly model the mean and the variance of the series? If this were correct, is there a (possibly R) function to do it?",
"Prove that $i^i$ is a real number",
"I am debating whether or not to get the Potato Sack (yes, I realize I've been debating for several weeks now) bundle through steam. I already own: Defense Grid: The Awakening, Super Meat Boy, and Audiosurf, all of which are part of the sack pack. What happens if I buy the Potato Sack? Do I get 2nd copies of the three above mentioned games to gift elsewhere? Is the price of the bundle reduced by the games I already have? Do I get nothing special for already owning those 3 games?",
"Does there exists an entire function such that for each $|z|>C$ for some constant $C$, $|f(z)|=|z|+1$?",
"Similar to Lifepod 1993, but not it This film is very similar to Lifepod 1993, but it takes place in a large ship, not a pod. I can remember three characters... a technical engineer, being the one sabotaging the ship. And also this military cut character (who looks a lot like Kane from Mortal Kombat) and another girl (I think it was long, wavy black hair). The \"plot\" twist that sends this one apart, at least back in the 1990´s, is that the ending comes to the fact there is only enough food and oxygen for one survivor and no escape pods or cryotubes, only a device that \"could\" work as a cryotube. For some reason that I cant remember the \"Kane\" dude chooses to die instead, by taking poison (which had been previously used on other surviving members). But the girl \"tricks\" him and drugs him instead, then places him in the \"cryotube\" and she stays awake to await for the rescue team. Of course, they get salvaged, and he is still okay, surprised that she tricked him and saved him. Rings a bell for anyone? Is definitely a B-movie.",
"Are the memories still there?",
"It says that Cognito Forms can send email notifications when a form is submitted. Where would I find those email notification settings? I would like for my website clients to be the recipients of those email notifications. Do they have to have an account or a verified email address? Also, is the form data included in the email notification? Also, is there an advantage to using the WordPress Plugin vs the regular embed code?",
"If $f(x)$ and $g(x)$ are two periodic functions, that is, $f(x+T_1)=f(x)$ and $g(x+T_2)=g(x)$ for every $x \\in \\Bbb R$. Now that $\\displaystyle\\lim_{x\\to\\infty}(f(x)-g(x))=0$. Conjecture: $f(x) \\equiv g(x)$.",
"If $z_{1},z_{2},z_{3}$ are three complex number Such that $|z_{1}| = 2\\;\\;,|z_{2}| = 3\\;\\;, |z_{3}| = 4\\;\\;$ Then $\\max$ of $|z_{1}-z_{2}|^2+|z_{2}-z_{3}|^2+|z_{3}-z_{1}|^2$ $\\bf{My\\; Try::}$ Let $z_{1}=2\\left(\\cos \\alpha+i\\sin \\alpha\\right)$ and $z_{2}=3\\left(\\cos \\beta+i\\sin \\beta\\right)$ and $z_{3}=4\\left(\\cos \\gamma+i\\sin \\gamma\\right)$ So $$f(\\alpha,\\beta,\\gamma) = 58-\\left[12\\cos(\\alpha-\\beta)+24\\cos(\\beta-\\gamma)+16\\cos(\\gamma-\\alpha)\\right]$$ Now How can I calculate $\\max$ of $f(\\alpha,\\beta,\\gamma)$ Help me Thanks",
"Best way to run scheduled tasks Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your scheduled task (in an windows/IIS/ASP.NET environment) Update: Examples of tasks: Sending email from an email-queue in the database Removing outdated objects from the database Retrieving stats from Google AdWords and fill a table in the database.",
"I have always argued adamantly, as long as the issue has been around, that gift should never be used as a verb. However, someone whose English knowledge I quite respect disagrees. I’ve done some searching and I haven’t found a consensus; should gifting be shunned?",
"I am having an issue with wifi; it seems when I'm trying Ubuntu without installing, it only detects connection via the ethernet cable. I can't connect and none of the available wifi networks are detected. $ lspci 00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02) 00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 02) 00:08.0 System peripheral: Intel Corporation Sky Lake Gaussian Mixture Model 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI (rev 21) 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) 00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) 00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1) 00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1) 00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev 83) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723 $ lspci -knn | grep Net -A3 03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723] DeviceName: Hanksville Gbe Lan Connection Subsystem: Hewlett-Packard Company Device [103c:8319]",
"I often use to keep my sentences gender neutral. Many of my friends (none of them are native speakers), however, consider this to be grammatically incorrect, and suggest me not to use it in formal English exams. My questions are: Is singular they widely accepted in English speaking countries such as America and Britain? Is it formal enough to be used in formal situations, such as a public speech? Is it casual enough to be used in informal situations, such as gossiping among friends?",
"I would like to prove that the equation $ 3^x+4^x=5^x $ has only one real solution ($x=2$) I tried to study the function $ f(x)=5^x-4^x-3^x $ (in order to use the intermediate value theorem) but I am not able to find the sign of $ f'(x)= \\ln(5)\\times5^x-\\ln(4)\\times4^x-\\ln(3)\\times3^x $ and I can't see any other method to solve this exercise...",
"This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that \"big list\" questions are not generally allowed on Ask Ubuntu and will be closed per the . It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages. What tricks or tips do people have for getting an extra hour or two out of their batteries?",
"in elisp's let, how do you reference a variable bound in the same let while binding another variable?",
"I have uploaded an excel sheet into static resource of my environment. I have it as a demo for my product how to create a excel sheet for import records into sf. Can any body guide me how can i provide link on the VF page so that user can download the record at single click.I want to into a managed package and want users to be able to click the link on the Vf page to download. Right now i have my demo excel sheet in static resource. I am open if you have any other ideas to get the process done.",
"How to instruct Windows 8 NOT to perform a fast shutdown? I have enabled fast boot in my copy of Windows 8 but I would like to be able to specifically instruct Windows not to perform a \"fast shutdown\" whenever I want (without disabling fast boot altogether). I need to be able to do this because I dual-boot Ubuntu and therefore can't mount an NTFS partition as read/write if Windows has performed a \"fast shutdown\". (Well okay, I can force the partition to be mounted read/write, but then I could run into data loss/corruption problems.)",
"How do I reset my manor so I can rebuild it with different options?",
"Why can't photons have a mass? Why can't photons have a mass? Could you explain this to me in a short and mathematical way?"
] |
medi_sts_stackexchange_dupe
|
Synaptic not launching on Ubuntu 17.10
|
Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland?
|
[
"is keyword in Python",
"Given an infinite number of monkeys and an infinite amount of time, would one of them write Hamlet? Of course, we've all heard the colloquialism \"If a bunch of monkeys pound on a typewriter, eventually one of them will write Hamlet.\" I have a (not very mathematically intelligent) friend who presented it as if it were a mathematical fact, which got me thinking... Is this really true? Of course, I've learned that dealing with infinity can be tricky, but my intuition says that time is countably infinite while the number of works the monkeys could produce is uncountably infinite. Therefore, it isn't necessarily given that the monkeys would write Hamlet. Could someone who's better at this kind of math than me tell me if this is correct? Or is there more to it than I'm thinking?",
"In which cases is a comma/period placed inside or outside of parentheses? Are there cases where a period is placed inside parentheses? In which cases the period (or a comma) should be placed inside the parentheses?",
"Why did Voldemort stop employing Occlumency against Harry in Deathly Hallows?",
"Force ssh to not print \"Remote host identification has changed\" warning Is there a way to avoid ssh printing warning messages like this? @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Although the remote host identity has changed but I know it is fine and just want to get rid of this warning.",
"I recently switched from Windows to Mac. Steam says I have fewer Mac specific games than total games and it should be an equal amount unless you can only download, install, and play once from your account. I thought I bought it so that it would work across all operating systems. If this is true, is there a work around or a discount for re-purchasing for the other OSes?",
"MATLAB superclass can not be found on the MATLAB's search path",
"Compare two objects in Java with possible null values",
"How can I get out of the debt-trap as quickly as possible? I have a credit card with 30% interest and a real estate loan with 11% interest. The amount of debt on my card is lower than the real estate loan. I want to redeem the installments of the real estate loan, but I can't do it because the credit card debt takes all my money. What can I do in this situation? How can I get out of the debt-trap as quickly as possible? I have a 4-room house and 2 cars, and 2 children who have to go to school, that's why there are a lot of fix expenses.",
"Why are date-based hats awarded too early? I just got the hat which states \"post or vote on December 21\". Does SE have a time machine now?",
"How do I select all the columns in a table that only contain NULL values for all the rows? I'm using MS SQL Server 2005. I'm trying to find out which columns are not used in the table so I can delete them.",
"Does potential energy in gravitationall field increase mass?",
"Accelerating particles to speeds infinitesimally close to the speed of light?",
"Upgrading from Yosemite to El Capitan, but not Sierra",
"Labelled in-line equation",
"How to know current name of the database in Django?",
"How to connect Nokia Lumia 730 to Ubuntu 15.04? My Nokia Lumia 730 (WP8.1) is not getting detected on Ubuntu 15.04. Can anybody tell me how to fix this?",
"How to make blocks in spawn unbreakable in survival? So on my multiplayer server on Minecraft Education Edition I can't seem to figure out how to make the blocks in spawn unbreakable. I know adventure mode fixes that but it's a survival world. I don't want them in adventure, so how do I make the blocks in spawn unbreakable?",
"Consider this conversation: John: I am giving free chess lessons. Mary: Nice! You’re a true teacher. John: How so? Mary: A true teacher imparts knowledge without a price tag. John: But what if teaching is his only source of income? Would he not be a “true” teacher then? Mark (in response to the question above): You clearly mentioned “free chess lesson”. I don’t see how Mark’s comment adds anything to the discussion or makes sense in the current discussion. It is “redundant” — that’s one word for it — but is there a more fitting word?",
"Difference between $\\sum_{i=1}^{k}{\\frac{s_i}{kn_i}}$ and $\\frac{\\sum_{i=1}^{k}{s_i}}{\\sum_{i=1}^{k}{n_i}}$ I am getting confused at how to calculate the average probability. Suppose we repeat a kind of binary survey $k$ times each of which was done on a completely separate sample group. For each $i^{th}$ group, $i=1,2,3,...,k$, Let $n_i$ be the number of samples and $s_i$ be the number of positive results. With this we know that the probability $p_i$ of the positive result for the $i^{th}$ group is $s_i/n_i$ With my ignorance, I happened to use two ways to calculate the average probability in my work wrongly assuming that they are the same: $$\\frac{p_1+p_2+p_3+...+p_k}{k}$$ and $$\\frac{s_1+s_2+s_3+...+s_k}{n_1+n_2+n_3+...+n_k}$$ I don't know which is the correct way to calculate the average probability. So could you please explain the difference of these two and when to use which?"
] |
medi_sts_stackexchange_dupe
|
How to color part of TextView in android?
|
How can I change the color of a part of a TextView?
|
[
"Is there really any difference between the jackknife and leave one out cross validation? The procedure seems identical am I missing something?",
"How much set theory and logic should typical algebraists/analysts/geometers know? (soft-question) I know enough amount of set theory and logic to study grad-level math. However, I don't know more advanced set theory and logic, such as the ones on Kunen's or Shoenfield's texts. Although it's good to learn such advanced topics, I may not have enough time to do so, since I will probably put my emphasis on algebra, analysis or geometry as well as mathematical physics. Although how much set theory and logic I should learn is totally up to what sort of analysis, algebra or geometry I will study, I want to know how much of them typical competitive algebraists/analysts/geometers know. If you are one of them, how much do you know?",
"Estimating the integrated Tchebychev function and calculating its error",
", I shouldn't need to vote down or flag the answer, because the question itself is a dog. Users should be allowed to also enable the \"I'm done\" button by down voting, close voting or flagging the question rather than directly taking action on the answer. Currently, I have to click on the question's title, close or down vote it in the new tab, then go back to the review page, and click \"Not sure\" to continue on my adventure.",
"I want to prove that if we have a commutative integral domain $D$ with field of fractions $F\\neq D$ then $F$ is not finitely generated as a $D$-module. (In this question it may be the case that $1\\not\\in D$.) My original plan was to localize at a maximal ideal and then use Nakayama's lemma but as we don't have a $1$ our localization may not be local (in fact we need not have maximal ideals). So I'm a bit lost as to where to go? Thanks for any help.",
"In Cocoa KVO, why doesn't a change on a NSMutableArray proxy notify observers?",
"LaTeX on Stack Overflow? in questions, answers, and comments. Can we get something like this going on Stack Overflow? I think it’d be appropriate as I at least pretty often want to write something like n^2 and would benefit greatly from prettier markup.",
"Objects, shadows and reflections not rendering in EEVEE I started to work with EEVEE short time ago and I was amazed by the capabilities of this engine. However, I noticed something strange when I was rendering some tests. Some objects/reflections/shadows dissapear when they're off canvas. I imagine that maybe this is for save memory data, but it can be not suitable to some projects. To make my point graphical, I made a simple scene with simple objects. The main object is the sphere with a mirror-like shader. Out of focus there are different objects with different shaders. A yellow cone, a blue cylinder and a white cube light. But surprisingly, those objects dissapear when the composition is rendered. See the rendered animation below: Notice that the blue cylinder is not even showing at all in the final render. And the blooming effect from the light cube also dies. I would like to improve this bahaviour and render the objects that are still out of canvas using EEVEE. Do I missing something like memory configuration or reflection/shadow tweaks? Is this caused by the EEVEE engine or by my GPU config (GTX1060)? Thank you in advance!",
"Missing files (basic sty files) when TEXINPUTS is set Below is my files tree: .../Doc/Tex/book.tex .../Doc/Tex/images/im.jpg .../Doc/TexBase/myTemplate.sty .../Doc/TexBase/baseImages/logo.jpg On Windows it was enough to set TEXINPUTS evironment variable with some paths and then I was able to compile with: pdflatex Tex/book.tex my document book.tex which uses package myTemplate.sty And now im trying to do teh same on Ubuntu 18.04. When i move all things to one folder (book.tex and myTemplate.sty and folder with images) then compilation is succesfull. But i would like to keep my foder structure as it is more clearly. So i tried to export TEXINPUTS: export TEXTINPUTS=.:./TexBase/ but my compilation fail because of unfound many sty-files wchich are part of texlive-latex-extra that i already installed. When i UNSET this variable - it compiles ok. So my question is: Am i correctly set TEXINPUTS variable? Maybe i should add some other paths? What is the path to those \"latex basic STY files\"?",
"How to load up CSS files using Javascript? Is it possible to import css stylesheets into a html page using Javascript? If so, how can it be done? P.S the javascript will be hosted on my site, but I want users to be able to put in the <head> tag of their website, and it should be able to import a css file hosted on my server into the current web page. (both the css file and the javascript file will be hosted on my server).",
"Error: Counter too large! with \\alph{cntr} and cntr>26 I would like to have \\alph{counter} for values larger than 26. The following MnWE gives me the error ! LaTeX Error: Counter too large. \\documentclass{article} \\begin{document} \\begin{enumerate} \\def\\theenumi{\\alph{enumi}} \\setcounter{enumi}{24} \\item twenty-five \\item twenty-six \\item twenty-seven \\end{enumerate} \\end{document} I would like it to behave like one of these: ..., x, y, z, aa, bb, cc, ..., xx, yy, zz, aaa, bbb, ccc, ... (preferred) ..., x, y, z, aa, ab, ac, ..., ax, ay, az, ba, bb, bc, ... (can be if nothing else works) A solution without LaTeX3 extensions would be awesome as I cannot run LaTeX3 extensions.",
"I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as 1 Introduction What I would like to see is Chapter 1 Introduction Seems like an easy enough thing to ask for, but can't seem to find a good way to do this. Any feedback would be most appreciative.",
"Gaussian Integers and Quotient Rings Show that $\\mathbb{Z}[i]/(2+3i)$ is a finite field. By applying some isomorphisms and realizing $\\mathbb{Z}[i]$ as the quotient ring of $\\mathbb{Z}[x]/(x^{2}+1)$, I found that: $\\mathbb{Z}[i]/(2+3i) \\cong \\mathbb{Z}[x]/(x^2+1,2+3x)$ However, I run into trouble as I can't divide $x^{2}+1$ by $2+3x$ in $\\mathbb{Z}[x]$. What would be another way to approach the problem? Thanks for the help.",
"How can I prove that the following summation converges? $$\\sum_{n=0}^\\infty \\sum_{k=0}^n \\frac{(-1)^n}{(k+1)\\times (n-k+1)}$$ I tried to prove that by proving that the following summation in in absolute value converges so the original one converges too, but that's incorrect. Any other ideas?",
"How do I get the value of a character as an int in ?",
"What if robots.txt disallows itself?",
"It seems intuitive that $a\\; \\propto \\frac{F}{m}$, as the greater the force that is applied on an object, the greater its acceleration will be. Inversely, the greater the mass of the object, the slower the acceleration will be. However, when rewriting proportions as equations, you must introduce a constant of proportionality, and in this case of a direct proportion, if $a \\propto \\frac{F}{m}$ then when rewriting as an equation you will have $$a = k\\cdot\\frac{F}{m}$$ In order to get the standard formula $F = ma$ this constant must be $1$. However, how do we know that this is the case? How do we know that the constant isn't $2$ and the formula $F = \\frac{1}{2}ma$, for instance?",
"There does not exist group $G$ such that Aut$(G)\\cong \\mathbb{Z}_n$ (for odd $n$)",
"Central Moments of Symmetric Distributions I am trying to show that the central moment of a symmetric distribution: $${\\bf f}_x{\\bf (a+x)} = {\\bf f}_x{\\bf(a-x)}$$ is zero for odd numbers. So for instance the third central moment $${\\bf E[(X-u)^3] = 0}.$$ I started by trying to show that $${\\bf E[(X-u)^3] = E[X^3] -3uE[X^2] + 3u^2E[X] - u^3}.$$ I am not sure where to go from here, any suggestions? Is there a better way to go about proving this?",
"$p_1p_2...p_n +1$ is not square for $p_k = k$'th prime"
] |
medi_sts_stackexchange_dupe
|
Run two commands in two "virtual consoles" in the same detached screen
|
GNU screen: Running commands in different window when screen is started
|
[
"We walk or ride on our vehicles to our destinations daily. Does our movement have any effect on the rotation of the earth according to Newton's law? What will be the effect if we move all the peoples along with their vehicles at their maximum velocity in one line in one direction along the equator? How much effect will it make?",
"Is there a way to do an \"upside down\" \\widehat? I've come across this in a book I'm looking through, but I can't find the code for it. I want it to look exactly like the \\widehat and go above text like \\widehat does...I just want it to be (vertically) flipped!",
"Creating label in QGIS? I am using QGIS 2.18.16 on Windows 10. What I want is a label to appear within the boundaries of a polygon. I select a layer, then select command Layer>Labelling, and I get: From here, I can change \"No Labels\" to \"Show labels for this layer\". But I can't actually create label text. I find a clue in a prior question: “Labelling polygon using QGIS?” The answer was: The layer you are trying to label must have at least one attribute field populated with data. You can then turn on labelling in Layer Properties and select which attribute field to use for your labels. I can enter command Layer>Open Attribute Table, and what I get is: If I need something in the attribute table in order to apply a label, how do I accomplish that?",
"Possible Duplicate: I want to add some shell scripts in my launcher as shortcuts.. They are located deep inside and i have to navigate to it every time to execute them... I tried link where the 2nd answers seems to solvee it but as said in comments neither can i find any option to add a launcher.. I guess it existed in 11.04 with a \"+\" button on launcher but i use 12.04. So how do i get this working?? And i need those commands everytime for sure..!",
"How do I tell what version and edition of Windows is on the filesystem?",
"Displaying row/column of point in raster using QGIS?",
"I don't know which buttons I have to click or what key combination to type to calculate a cube root.",
"Age and Graduate school",
"Notify us when one of our posts is edited Your summary page shows \"N Edits to your posts\" for the selected time period but you really have to be looking for it. Could we add edits to the notification feed? You could put the reason for the edit (entered--or not--when the editor changes it) and just a link to the post.",
"Java Generics (Wildcards) I have a couple of questions about generic wildcards in Java: What is the difference between List<? extends T> and List<? super T>? What is a bounded wildcard and what is an unbounded wildcard?",
"Incorrect query filter according to the requirement My requirement wholly depends on the QUERY. I am filtering my gridview on the basis of three parameters. Project_name (Always required) Date (Not always) Vehicle_No (Not always) So, what my requirement is, With project_name either any one can be used for filtering my gridview. Currently my debugged query works exactly fine for any two parameters. Below is my debugged query:- SELECT DISTINCT sv.mkey, vehicle_no, TO_CHAR (date_in, 'dd-MM-yyyy') || ' & ' || time_in vehicleindate_time, TO_CHAR (date_out, 'dd-MM-yyyy') || ' & ' || time_out vehicleoutdate_time, gate_no_in || ' & ' || gate_no_out ingate_outgateno, gd.good_type goods_type, net_weight netweight, TO_CHAR (challan_date, 'dd-MM-yyyy') || ' & ' || challan_no challandate_no, remark_in remarkin, NULL receipt_no, date_in FROM xxcus.xxgid_supinv sv, xxcus.xx_supinv_goodtype gd, xxcus.xxacl_xxgid_user_mst ms WHERE (gd.good_type_code(+) = sv.good_type) AND ( sv.project_id = '1368' AND TO_CHAR (date_in, 'dd-MM-yyyy') = '26-11-2015' OR vehicle_no = '0' ) AND sv.delete_flag = 'N' ORDER BY date_in DESC, vehicle_no The above query shows me the exact result for project_name and Date which I entered. But when I add the third parameter say Vehicle_no it doesn't show the data for that exact vehicle_no it still shows me the same data which I looked for 2 parameters. I am using Oracle for the database. LATEST UPDATE WHICH IS NOT WORKING I am confused as how to deal with the query, as Balazs' solution was working fine when I selected, Project_name, Date and then vehicle_no (not necessary). But it was not fetching proper result when I took first as Project_name, and Vehicle_no. Any guesses why? The issue is when I only filter with Project_name and Vehicle_no the date_column value comes as 0 so it doesn't show me any row, which is incorrect as I have data for that Project_name and Vehicle_no. I have used Balaz's second query for the solution which is below WHERE (gd.good_type_code(+) = sv.good_type) AND ( sv.project_id = '1368' AND TO_CHAR (date_in, 'dd-MM-yyyy') = '26-11-2015' AND vehicle_no = decode(:vehicle_no, '0', vehicle_no, :vehicle_no) )",
"How can I tell how long (more or less) it will take me to complete a game? Possible Duplicate: I often want to know how long a game is so that I can decide whether or not to buy it, or even to decide if I've got enough free time available in the near-future to make it worth trying to play and complete over a weekend. Sometimes I even want to know just because I'm getting a little tired of the game and I want to have a sense of whether or not I'm nearing the end, so I can decide whether to tough it out or pack it in. What are some good ways of determining how long a given game takes to complete, on average?",
"Book about a boy who travels to a parallel universe to get a book",
"Volume form on $(n-1)$-sphere $S^{n-1}$ Let $\\omega$ the (n-1) form on $\\mathbb{R}^n$ $$\\omega=\\sum_{j=1}^{n}(-1)^{j-1}x_{j}dx_{1}\\wedge\\cdots\\wedge \\hat{dx_{j}}\\wedge\\cdots dx_{n}$$ Show that the restriction of $\\omega$ to $S^{n-1}$ in precisely the volume for this sphere. What I did was: $\\omega$ never vanish on the sphere, because, defining $\\sigma\\in \\Omega^{n-1}(S)$ for $$\\sigma_{p}(v_{1},...,v_{n-1})=det(p,v_{1},...,v_{n-1})$$ and $i:S^{n-1}\\rightarrow \\mathbb{R}^{n}$ the inclusion function, then $\\omega=i^{\\ast}(\\sigma)$ then $\\omega\\not=0$ and therfore is a volume form. How proof that $\\omega$ is the volume form? The first thing that comes to mind is show that $\\int_{S^{n-1}}\\omega=Vol(S^{n-1})$ but I have serious problems with the definition, I think that is to much. How see that $\\omega$ is invariant on $\\mathbb{R}^{n}$ under action of $O(n)$",
"Does the proof of Bolzano-Weierstrass theorem require axiom of choice?",
"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.",
"iOS emails stuck in All Inboxes In the iOS Mail app, there are 4 emails in the \"All Inboxes\" section. Those 4 emails are NOT in the actual inbox on Gmail. I thought, oh well I don't mind deleting them entirely since they're just newsletters. I deleted them directly on gmail, but they still appeared in iOS. So I tried deleting them via iOS and ... they keep coming back! Even stranger, the 4 emails ONLY appear in \"All Inboxes\", they don't appear in any of the sub-account inboxes. So, I disabled \"Mail\" in my gmail account. They're still here! I no longer have a \"gmail\" sub-account, but those 4 emails are still in All Inboxes. I tried to quit the app a few times, restart the phone. Still here... When I tap on one of those messages, I get a black screen (dark mode), no errors.",
"After lethal first strike damage to an indestructible creature, will it still do damage? If I were to attack with a 4/4 indestructible creature and it's blocked by a 4/2 creature with first strike, would my indestructible creature still attack during the second combat damage step, or would it just tap, not assigning any damage?",
"Getting file names without extensions",
"Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen"
] |
medi_sts_stackexchange_dupe
|
Warning before deleting a question
|
Deleting self-answered question gets "Delete this answered question" warning
|
[
"Is there any practical difference between saving at 300ppi or 72ppi?",
"A common mistake for beginning group theory students is the belief that a quotient of a group $G$ is necessarily isomorphic to a subgroup of $G$. Is there a characterization of the groups in which this property holds? If this question is too broad, I might ask if such a characterization exists for $p$-groups. History: I originally posed the opposite question, regarding groups for which $\\exists N\\unlhd G\\,:\\, \\not\\exists H \\unlhd G\\, \\text{ s.t. } H \\cong G/N$, and crossposted this to . I received an answer there to the (now omitted) peripheral question about probability, which shows that most finite groups probably have this property. After this, I changed the question to its current state, as this smaller collection of groups is more likely to be characterizable.",
"I continue to find it amazing that something as “bulky” and macroscopic as a static magnetic or electric field is actually a manifestation of virtual photons. So putting on your QFT spectacles, look closely at the space near the pole of a powerful magnet – virtual photons! Now look between the plates of a charged capacitor – virtual photons again! But if it’s all virtual photons, how do we get the difference between a magnetic and electric field? [This question needs the tag \"magnetostatics\" as well].",
"Using separation of variables to solve the wave equation I'm trying to teach myself separation of variables and have been following some notes for the wave equation, but there's one part which really confuses me and I'm not exactly sure how it makes the step. For the wave equation $$u_{tt} - c^2 u_{xx} = 0$$ with length $l$ and fixed ends, $u(0,t)=u(l,t)=0$ we seek a solution in the form $$u(x,t)=v(x)q(t)$$ and substituting this into the equation gives $$\\frac{1}{q(t)}\\frac{d^2 q}{dt^2}=c^2 \\frac{1}{v(x)}\\frac{d^2 v}{dx^2}=-\\omega ^2$$ and I understand all of this so far. But when solving the equation $$q''+\\omega ^2 q = 0$$ the general solution is $$q(t)=A \\cos(\\omega t +\\alpha)$$ where $A$ and $\\alpha$ are constants - which is the part which I'm not exactly sure on how it gets to. Could someone explain this step to me? Thanks!",
"I've been told not to use for...in with arrays in JavaScript. Why not?",
"apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]",
"How do \"Dummy Variables\" work? I do not understand how dummy variables work in math. Suppose we have: $$I_1 = \\int_{0}^{\\infty} e^{-x^2} dx$$ How is this equivalent to: $$I_2 = \\int_{0}^{\\infty} e^{-y^2} dy$$ How does this dummy variable system work? Since $y$ is the dependent variable for $I_1$ How can $y$ itself be and independent variable for $I_2$ ?? Thanks!",
"Typical software & tools short-list for *manual* QA specialist (tester) working environment For QA workstations preparation (Windows-based PCs) our IT department uses typical batch deployment tools. I'm not at all interested in the details of such process, but IT guys ask me: What typical set of software you need for everyday manual testing tasks? We could include these in our deployment so that you guys could save more time for testing, not for environment prep & tuning. Sure thing we do test various range of projects, from web applications to standalone solutions, and each application requires its own set of tools for manual testing, e.g.: Browsers Virtualization utilities DB clients Screens capturing tools FTP clients XML editors etc. However, and that's for sure - there's a list of tools every QA MUST have installed on its PC, regardless of project types under testing. My area of experience is mostly standalone / complex web apps, that's why my vision on the task is a bit subjective. So, your suggestions of what are tools / software an average QA specialist can't live without will be highly appreciated. 2 assumptions: Manual testing is a point of interest. Let's limit the list to not more than 15 (better 10) items. Thanks in advance!",
"Intuitive interface for Composing Boolean Logic? I'm interested to know how people have, or would construct an interface which simplifies constructing logical boolean conditions? (Yes, it's a database query builder) In my mind a bad interface has them typing lots of AND, NOT IN, OR keywords etc. Or else has a million combo boxes. I'm wondering if anyone has a good example I could glean ideas from? Or some suggestions? At the moment I'm considering a split screen with a grid for composing the query and a canvas to display a visual representation of the sets of conditions and how they overlap etc. Like a Venn Diagram. This still gives me a problem with the usability/intuitiveness of the controls on the grid. EDIT: I'm very interested in ideas which simplify it for less technical users. However, ideas for a version of the UI for advanced users are very helpful as well.",
"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.",
"How to arrive at $\\int_{0}^{1} f^3(x) \\, dx < (\\int_{0}^{1} f(x) \\, dx)^2$? Define $f : [0,1] \\to \\mathbb{R} $ differentiable satisfying $f(0)=0$ and $0<f'(x)<1$. Prove: $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$ I found the following answer, Define $F(x)=\\displaystyle\\int_{0}^{x} f^3(t) \\, dt - \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)^2$ We have $$F'(x)=f^3(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)f(x)=f(x)\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]$$ and $$\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]'=2f(x)\\left[f'(x)-1\\right]$$ from which we can arrive at the conclusion. But I felt a little confused. In the past I usually proved the inequality by classical inequalities and something like Taylor expansion to use the condition about derivative. But this answer is little out of my expectation. Do we have other proofs or ideas to arrive at $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$? And other thoughts about solving these types of issues? I think when we talk about $\\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2 >\\ldots \\,$ it's a little difficult to deal with. I don't quite know what tools to use.",
"Showing that $\\int\\limits_{-a}^a \\frac{f(x)}{1+e^{x}} \\mathrm dx = \\int\\limits_0^a f(x) \\mathrm dx$, when $f$ is even",
"How To Reduce Noise In Cycles Render",
"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$ Prove by induction the summation of $\\frac1{2^n}$ is greater than or equal to $1+\\frac{n}2$. We start with $$1+\\frac{1}{2}+\\frac{1}{3}+\\frac{1}{4}+\\dots+\\frac1{2^n}\\ge 1+\\frac{n}2$$ for all positive integers. I have resolved that the following attempt to prove this inequality is false, but I will leave it here to show you my progress. In my proof, I need to define P(n), work out the base case for n=1, and then follow through with the induction step. Strong mathematical induction may be used. This is equivalent to $$\\sum_{k=0}^n\\frac1{2^k}\\ge 1+\\frac{n}2\\;.$$ Let $P(n)$ be summation shown above. Base case for $n=1$, the first positive integer, $$\\sum_{k=0}^1\\frac1{2^k}=\\frac1{2^0}+\\frac1{2^1}=1+\\frac12=\\frac32\\ge 1+\\frac12=\\frac32\\;,$$ so base case is true. Induction step: Assume $P(n)$ is true and implies $P(n+1)$. Thus $$\\sum_{k=0}^{n+1}\\frac1{2^k}\\ge\\frac1{2^{n+1}}+\\sum_{k=0}^n\\frac1{2^k}\\ge 1+\\frac{n+1}2\\;.$$ This can be written as $$\\sum_{k=0}^{n+1}\\frac1{2^k}\\ge \\frac1{2^{n+1}}+1+\\frac{n}2\\ge 1+\\frac{n+1}2\\;.$$ I work the math out but I get stuck contradicting my statement. Please show your steps hereafter so I can correct my mistakes.",
"How can I let a footnote continue on the next page? I have a rather long footnote which breaks a listing in two parts, unnecessarily. Since the listing is more important then the footnote I'd rather lake to have the footnote split. Can I customize (one or all) footnotes to have a maximal length before they are continued on the next page? Or can I manually split a footnote in two to get the effect?",
"I just noticed that I lost a bunch of points from my reputation score, and I used the \"reputation\" tab on my user profile page to try and track down the cause. During my investigation, I noticed there was an unusual event of type \"reversal\". In the normal place of a question title, it says \"voting corrected\". What does this mean, and what caused it? Did I do something wrong? Why did I lose all of that reputation? Is the system punishing me for leaving too many good answers? Is there any way to earn it back?",
"I need help! I need to prove that for any $2 \\le n,k$ positive integers $(n - 1)^2 \\mid n^k -1$ if and only if $(n - 1) \\mid k$ Thanks!",
"Match-3 algorithm to fill empty space left from removing matches I am currently creating a match 3 game. I am at the point where I have objects dropping down in the column when only one item is removed. So if an item is removed, the above item moves into its old position etc. The problem I am having now is that when more than one item is removed from a column, the items in that column only drop down to the first item that was removed. Instead of filling in both items that were removed it just drops down to fill in the first one. So basically, if two(or more) items are removed from a column the second, third, fourth, etc positions are left blank. The way I am designing my game is I am using units of 1. So each item takes up 1 unit by x and 1 unit by y. This means that I can position the items like in a grid, at 0x1, 0x2, etc. What kind of algorithm could I use to move multiple items down to fill the empty space?",
"Why Java needs Serializable interface? We work heavily with serialization and having to specify Serializable tag on every object we use is kind of a burden. Especially when it's a 3rd-party class that we can't really change. The question is: since Serializable is an empty interface and Java provides robust serialization once you add implements Serializable - why didn't they make everything serializable and that's it? What am I missing?",
"Is there a particular reason why vote times are omitted in the data dump? IMO this could be a very useful data-set. Is this one of the steps that was done to anonymize the data, or does it simply not exist? This would be a very good addition to future dumps to help build time-based relationships, which are currently very rigid and full of assumptions."
] |
medi_sts_stackexchange_dupe
|
Adjust delimiter size of big delimiters manually
|
About big parenthesis larger than Bigg
|
[
"Computing $\\int_{-\\infty}^\\infty \\frac{\\sin x}{x} \\mathrm{d}x$ with residue calculus",
"None of the physics sensors in my game work, I'm trying to create an AI man that chases after a player, but for whatever reason, he just won't sense the player, I've tried copying and pasting the property name just to be sure, but that's not it.",
"Is there a way to find out if I need a transit visa for Canada? I'm passing through Canada, on my way to somewhere else. I'm staying only a short time. Is there a website, or some other way of find out out if I need a visa?",
"Irreducible Components of the Prime Spectrum of a Quotient Ring and Primary Decomposition",
"I'm looking for a phrase that describes trying to fix problems caused by underlying issues, with the result of compounding the issue. I usually call this \"targeting surface problems rather than root problems\", but my terminology is verbose. Example 1: A government bans buying and selling bananas in the state. Later, it passes a clause allowing citizens to purchase imported bananas. Example 2: A divided highway is erected with two lanes going in each direction but, since it gets lots of traffic, the shoulders are widened into new lanes. This leaves no shoulder room. What would be a more concise phrase?",
"Why isn't \"Column ordering\" available in my list settings? I want to change the column order visible when viewing or editing a list item. I have accessed the \"Column ordering\" interface via the list settings page on other lists in the past, but it isn't visible in this list's settings.",
"How can I find and replace specific words in a text file using command line?",
"Is there a universal way to turn Windows 7 Aero desktop, all windows, etc into grayscale? I had an option to do this in Intel video drivers on my old laptop, now I have NVIDIA and don't know how to replicate this effect. There might be a shader or filter that would cause Aero to render stuff into grayscale, but I was unable to find anything. Or must it be explicitly supported by video driver as a bonus?",
"What is a terminal? How do I open a terminal window? How do I use the terminal?",
"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.",
"So I came across this exercise: Show that if $Y$ is path-connected then the set of homotopy classes $[I,Y]$ of maps of $I=[0,1]$ into Y has a single point. But I am confused here. If $Y=S^1$ then not all loops are homotopic! I mean, isn't true that $\\pi_1(Y)\\subset [I,Y]$? Or maybe I don't understand the set $[I,Y]$ well!",
"I want my Ubuntu to look like Mac OS X. Just icon and theme if possible! Is it possible? Is there any way to install slingshot launcher?",
"Optimal estimation of a single parameter given data at different scales Let $A,B,C,D$ be independent normal random variables distributed according to $\\mathcal{N}(0,\\sigma^2)$ and $E = A+B+C+D$. The goal is to provide an optimal estimate of $\\sigma^2$ given samples of $A,B,E$ but not $C,D$. In this case optimal refers to minimising the root-mean square deviation of the estimate $\\hat{\\sigma}^2$: $$RMSD(\\hat{\\sigma}^2) = \\sqrt{\\mathbb{E}\\left[\\left(\\hat{\\sigma}^2-\\sigma^2\\right)^2\\right]}$$ I can think of a simple approach to estimate $\\sigma^2$ given samples of $A,B$ which is to simply compute the sample variance. Also I know that the variance of $E$ is $4\\sigma^2$ so I could compute the sample variance of $E$ and divide it by 4 to get an estimate of $\\sigma^2$. However it should be possible to combine the information from both $E$ and $A,B$ to improve estimation $\\sigma^2$. Could you outline the approach to use both sets of information?",
"How does Lockable Suspension work? I recently asked a question about . There told me about the “blow off” feature. Now, I am curious about how the whole system works. So, can anyone tell me about how a lockable front suspension works, together with features like “remote-lock” and “blow-off”.",
"Accidentally hit \"toggle full screen\", How do I exit? I'm stuck in full screen in the node editor. Escape isn't working, and I have no menus and no idea how to leave except to quit Blender and reopen the program.",
"Convert String to Integer in QGIS tables",
"better Curve/Text to Mesh generation? The triangulation process of Text to Mesh or Curve to Mesh generates some nasty topology. I get why, but maybe it could be done a bit nicer? Since text is flat, have ngons instead of hundreds of triangles you'll need to modify anyway? Another issue is when you then want to use the text as a Volume for particles, which for some reason behave weird when you have unusual topology even though they should be using the volume, not vertex or face positions.",
"A library to convert ANSI escapes (terminal formatting/color codes) to HTML I'm looking for a code library that converts ANSI escape sequences into HTML color, via plain tags or CSS. For example, something that would convert this: ESC[00mESC[01;34mbinESC[00m ESC[01;34mcodeESC[00m ESC[01;31mdropbox-lnx.x86-0.6.404.tar.gzESC[00m ESC[00mfooESC[00m Into this: <span style=\"color:blue\">bin</span> <span style=\"color:blue\">code</span> <span style=\"color:red\">dropbox-lnx.x86-0.6.404.tar.gz</span> foo Converting breaks into <br/> isn't necessary, it's just the escape codes that I don't know. I could hack it together myself, but I'd probably miss something important like underlines or mess up how background colors work. I'd rather just sit on top of someone else's code. Does such a tool (command line linux) or library (perl, python, or ruby preferably) exist?",
"How to get hardware specs of Android device?",
"If I had a very shallow question, then I am sorry. $x,y,z\\in\\mathbb{N}^{+}$ and$$\\frac{x}{y+z}+\\frac{y}{x+z}+\\frac{z}{y+x}=4$$find $x,y,z$. I try with AM-GM, just get$$ \\frac{x}{y+z}+\\frac{y}{x+z}+\\frac{z}{y+x}\\geq\\frac{3}{2}$$ This means that the equation must have a real solution, but can not be sure there is an integer solution. Let: $x=ay=abz$, then the equation becomes:$$\\frac{ab}{a+b}+\\frac{b}{ab+1}+\\frac{1}{a^2+ab}=4$$ Which makes the problem become non-homogeneous, and seems to become more difficult. I have no more ideas. Could anyone help me? Thanks a lot."
] |
medi_sts_stackexchange_dupe
|
How to consume a JSON web service in Java
|
Parsing JSON from URL
|
[
"Trouble with proving $A$ is an integrally closed domain $\\Rightarrow$ $A[t]$ is integrally closed domain",
"Is the term \"errored out\" a grammatically correct phrase, or just a colloquial one?",
"Meaning of $\\int \\phi^\\dagger \\hat A \\psi \\:\\mathrm dx$ While analysing a problem in quantum Mechanics, I realized that I don't fully understand the physical meanings of certain integrals. I have been interpreting: $\\int \\phi^\\dagger \\hat A \\psi \\:\\mathrm dx$ as \"(square root of) probability that a particle with state $|\\psi\\rangle$ will collapse to a state $|\\phi\\rangle$ when one tries to observe the observable corresponding to $\\hat A$\" $\\int \\phi^\\dagger \\psi \\:\\mathrm dx$ as \"(square root of) probability that a particle with state $|\\psi\\rangle$ will collapse to a state $|\\phi\\rangle$\". All integrals are over all space here, and all $\\phi$s and $\\psi$s are normalized. Now, I realize that interpretation of the first integral doesn't really make sense when put side by side with the second one. For example, when $|\\phi\\rangle$ is an eigenstate of $\\hat A$, I get two different expressions for \"the square root of probability that one will get the corresponding eigenvalue of $\\psi$ when one tries to observe the observable corresponding to $\\hat A$\". As far as I can tell, $\\int \\phi^\\dagger \\hat A \\psi \\:\\mathrm dx \\neq\\int \\phi^\\dagger \\psi \\:\\mathrm dx $, even if $|\\phi\\rangle$ is an eigenstate of $\\hat A$. I am inclined to believe that the second integral is the correct answer here (it comes naturally when you split $|\\psi\\rangle$ into a linear combination of basis vectors). But I am at a loss as to the interpretation of the first integral. So, my question is, what are the physical interpretations of $\\int \\phi^\\dagger \\hat A \\psi \\:\\mathrm dx$ and $\\int \\phi^\\dagger \\psi \\:\\mathrm dx$? (While I am familiar with the bra-ket notation, I have not used it in this question as I don't want to confuse myself further. Feel free to use it in your answer, though)",
"Tool to confirm Gaussian fit I have a series of (x1,y1) points. I'm using a 3rd party software tool to which I feed these points. The tool then provides a mechanism for me to get back a series of (x2,y2) points that are on a Gaussian curve that has been fit to the data. I'd like to confirm that the points I'm getting back are correct (because, frankly, sometimes they don't look like they are.) What would be an easy on-line or Excel procedure that would allow me to enter the X1, Y1 series and then get back a series of X2, Y2 points, plot both series, and maybe even see the s.d.? It's been 20+ years since I did any stats, so I'm just \"cook-booking\" this with no understanding of what I'm trying to do. EDIT The is a plot by wavelength, of intensity. X-axis is the colors of a rainbow, in the familiar ROYGBIV order. The Y-axis is measured intensity of that particular color. The help page from the vendor is here: I call the library with each x1, y1 data point. I then call the method above. I then call the library again with a series of x values (or maybe the x1 series itself), retrieving the y2 values on the fitted curve. I also retrieve the sd of the fit. EDIT 2 Below is a link to an image of the dataset and Gaussian fit that has me concerned. I think that the peak of the fitted curve is too low.",
"Huge confusion with Fermions and Bosons and how they relate to total spin of atom I am supremely confused when something has spin or when it does not. For example, atomic Hydrogen has 4 fermions, three quarks to make a proton, and 1 electron. There is an even number of fermions, and each fermion has a 1/2 spin. Since there are an even number of fermions, the total spin value is an integer. This spin number is the \"intrinsic\" spin number that cannot be changed, but its orientation \"up\" or \"down\" can be changed. For atomic Hydrogen, it is a Boson because it has integer spin, however it also has a single electron. I read on physics forums, , that the spin of atom comes from the electrons and not its nucleus. I also read on here, , that the spin of atomic Hydrogen is 1/2! The answer says atomic Hydrogen has spin 1/2 because it ignores the nuclear spin. This is one thing that is confusing me. Shouldn't atomic Hydrogen have an integer spin because of the nuclear component? So does atomic Hydrogen have spin and is affected by a magnetic field? Nuclear spins are affected by magnetic fields, but they aren't as affected as electrons according to the discussion on physics forums. Why do we ignore nuclear spin sometimes? Also, can someone help me out here with all the possibilities? Is there a Boson with an half integer spin value? (Surely, there must not be) However atomic Hydrogen is one of those cases! (It seems...) (Why don't we cancel out the nuclear spin with the electron spin?) Say we have another atom that is a Boson, It has unpaired electrons in different orbitals, so what determines whether or not electrons fill in orbitals as spin up or down? Does spin down nuclear spin cancel out a electron up spin?",
"Seems that I just proved $2=4$.",
"How to insert a very large number of records into a MySql database as fast as possible",
"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.",
"If $\\sum_na_n=\\infty$ and $a_n\\downarrow 0$ then $\\sum\\limits_n\\min(a_{n},\\frac{1}{n})=\\infty$ If $\\sum_na_n=\\infty$ and $a_n\\downarrow 0$ then $\\sum\\limits_n\\min(a_{n},\\frac{1}{n})=\\infty$ My idea: $$b_{n}=\\min(a_{n},\\tfrac{1}{n})\\Longrightarrow b_{n}\\le a_{n},b_{n}\\le\\tfrac{1}{n}$$ then I don't know how to go on.",
"In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows? #include <filename> #include \"filename\"",
"I am currently working on an update of tkz-euclide and new documentation but I just met the following problem. If I compile this code with pdflatex or lualatex and pgf 2.1 (The library babel does not exist with pgf 2.1) then the code compiles fine but with 3.0 pgf I must comment on the call \\usetikzlibrary{babel} (pgf doc gives so I recommend to always load this library by saying \\usetikzlibrary{babel}). I'd like to know where the error occurred. Especially I would like to work around this problem. With \\usetikzlibrary{babel} I get the error Latex Error: ./untitled 2.tex:46 Undefined control sequence. l.1 \\tkz@line@start Bug in babel, bug in tikzlibrary{babel} bug in my code. I would like to keep \\usetikzlibrary{babel} but to avoid the error. %!TEX TS-program = pdflatex \\documentclass[a4paper]{article} \\usepackage[french]{babel} \\usepackage{tikz} \\usetikzlibrary{calc} %\\usetikzlibrary{babel} \\makeatletter \\pgfkeys{% tkzdrawline/.cd, start/.code = {\\gdef\\tkz@line@start{#1}},% end/.code = {\\gdef\\tkz@line@end{#1}},% start style/.code = {\\tikzset{tkzstartstyle/.style={#1}}},% end style/.code = {\\tikzset{tkzendstyle/.style={#1}}},% /tkzdrawline/.unknown/.code ={\\let\\searchname=\\pgfkeyscurrentname\\pgfkeysalso{% \\searchname/.try=#1,/tikz/\\searchname/.retry=#1}}} %<--------------------------------------------------------------–> % Draw line %<--------------------------------------------------------------–> \\pgfkeys{tkzdrawline/.cd, start/.code = {\\def\\tkz@line@start{#1}},% end/.code = {\\def\\tkz@line@end{#1}}, start style/.code = {\\tikzset{tkzstartstyle/.style={#1}}}, end style/.code = {\\tikzset{tkzendstyle/.style={#1}}}, /tkzdrawline/.unknown/.code = {\\let\\searchname=\\pgfkeyscurrentname \\pgfkeysalso{\\searchname/.try=#1, /tikz/\\searchname/.retry=#1}}}% %<--------------------------------------------------------------–> \\def\\tkzDrawLine{\\pgfutil@ifnextchar[{\\tkz@DrawLine}{% \\tkz@DrawLine[]}}% \\def\\tkz@DrawLine[#1](#2,#3){% \\begingroup \\pgfkeys{tkzdrawline/.cd,start = {}, end = {}, start style={}, end style={},} \\pgfqkeys{/tkzdrawline}{#1} \\draw[ /tkzdrawline/.cd,#1] (#2) to% node [at start,left,/tkzdrawline/.cd,tkzstartstyle] {\\tkz@line@start}% node [at end,right,/tkzdrawline/.cd,tkzendstyle] {\\tkz@line@end} (#3); \\endgroup }% \\makeatother \\begin{document} \\begin{tikzpicture} \\node (A) at (0,1) {}; \\node (B) at (5,2) {}; \\tkzDrawLine[end = {$\\alpha$}](A,B) \\end{tikzpicture} \\end{document}",
"Why can my keyboard only digest 6 keypresses at a time? When I slam my hand onto my keyboard, only a maximum of 6 keys will be registered, I've tested this for the past few minutes and was unable to get more than 6. Is this the same on all keyboards? If not, what would be the distinguishing factor, If yes: why 6 specifically? For clarification: I do not have a usecase for this, I am simply curious",
"Derive a formula to find the number of trailing zeroes in $n!$",
"I left them (at) home Consider this question: Where are they (things or people)? Would the following answer be with (at), without it or either one? I left them (at) home I have done a quick Google search and found quotes for both cases, with and without: This Widow's 4 Kids Were Taken After She Left Them Home Alone. Leaving Your Child Home Alone - KidsHealth Gerry said, "I left them at home." Gerry sat down and turned on the TV set just as Mark would have done. I read about "home" being an adverb but also know "stay at home moms" for example. So you see I need definite answers.",
"How do I export the code documentation in C# / VisualStudio 2008? I have always made a point of writing nice code comments for classes and methods with the C# xml syntax. I always expected to easily be able to export them later on. Today I actually have to do so, but am having trouble finding out how. Is there something I'm missing? I want to go Menu->Build->Build Code Documentation, but there is no option to do that, there.",
"Does the closedness of a subgroup $H$ of $G$ imply that for $h\\in H, g\\in G \\setminus H: hg \\not \\in H$? I'm new to abstract algebra and this would appear to be a useful result. However, by definition, a subgroup is nearly closed, and I don't think this directly implies that for any element $g$ from $G$ not in $H$, the composition $gh \\not \\in H$. Is this in fact a true statement?",
"I am looking for a way to clean up the mess when my top-level script exits. Especially if I want to use set -e, I wish the background process would die when the script exits.",
"What does the Asterisk * mean in Objective-C?",
"Can the coefficient of static friction be less than that of kinetic friction?",
"When a user who approved an edit is removed, an incorrect \"-2 reverted\" event appears in reputation history I am aware that . But now there is an extraneous \"reverted\" event to go along with user removal: Source: . The edit was not reverted, it's . In any case, I should not lose 2 points twice for the total of -4. And indeed, my reputation only dropped from 131 to 129 despite what the history suggests. So the line with \"-2 reverted\" is a bug. A more extreme example: got 21 \"reverted\" events on 2017-06-30, none of which should be there. His rep loss is 42, not 84 as the reputation history says."
] |
medi_sts_stackexchange_dupe
|
Android imagebutton change on every click
|
How to toggle background image on button click?
|
[
"closed form for $\\binom{n}{0}+\\binom{n}{3}+\\binom{n}{6}+...+\\binom{n}{n}$",
"How do I create an invisible character? I cannot remember how to create an invisible character in LaTeX, i.e. I want to put a space that has the width of a particular character, say `M'. I know there is a command for this, and this is a really dumb question, but my Google-fu has failed me.",
"sum of the residue at all poles of the rational function p/q is 0. We are given two polynomials p, q with deg(q)>1+deg(p). Show that the sum of the residue at all poles of the rational function p/q is 0. How do I go about solving this?",
"What is the analytic continuation of the Riemann Zeta Function",
"Simulating a Brownian Excursion using a Brownian Bridge?",
"As it is common with people from my country, I have an immense difficulty with prepositions in English, especially with the use of in and on. When the preposition indicates the position of the object it is a bit easier to decide which one to use, but as it requires thinking from me, I still say things like \"I put the bill in the fridge\", \"my pencil is on my bag\", etc, even though if I think about it, I would know how to say it correctly. Of course, even in those cases where the preposition indicates position the decision is not always clear, as is the case for example with \"on the bus\" (you are not on top of the bus, you are inside the bus) or \"he is in bed\" (you are not inside the bed, you are on top of your bed). Other cases are even less clear, and I believe there is no real rule to decide what should be said; the person should just know it. Two examples are \"in a bad mood\", \"you are on my mind\". So my first question is whether there is really no rule to help me. The second question refers to two of the cases where I still don't know whether to use in or on: good luck on/in your exam in/on the list The last one is especially important to me, as I have asked a number of native speakers, and each time I get a different answer. The only consensus seems to be the case where you say \"on top of the list\". Apart from that, some people will say that I should say \"his name is in the list\" whereas others think I should say \"his name is on the list\". And yeah, a couple of people did tell me that I can use either. Can someone help me?",
"Factor analysis and regression",
"How to show that $\\mathbb{Q}$ is not $G_\\delta$",
"Unfortunately MyApp has stopped. How can I solve this?",
"Try to do something vs. Try doing something Is there any differences between Try to do And Try doing Thank you in advence.",
"Looking for the title of a gold heist movie involving the telekinetic son of an extraterrestrial/alien? Some 30 years back, I saw a film about the son of an extraterrestrial who gets involved in a gold heist. The main character does not initially know that he is the son of an extraterrestrial and that has special telekinetic powers. The film opens, I think, with him being in some train yard, his foot getting stuck in a switch with a locomotive approaching. He stops it using his powers intuitively, possibly passing out (not realizing what he actually did). I think his mother subsequently reveals his heritage to him. He somehow gets hired as a bodyguard for someone planning a gold heist. I think they know his abilities and use him to steal a million US dollars. Actually, that is just a distraction, covering that they steal 30 million dollars from the same location (through the air, not sure on that part). The last part I remember is some underground tunnels where the thieves set up to melt the gold. The main character is locked in there. Does anyone know the title of this movie? Searching for things like \"sci-fi gold heist extraterrestrial etc.\" did not reveal anything to me. I also had a hard time picking proper tags (sorry).",
"What system monitoring tools are available? I am looking for system monitoring tools which are GUI and CLI or web-based which include basic functions such as: CPU Usage Ram Usage Swap Usage Disk Usage ( Space / I/O ) Heat Monitoring I know there are many tools I can use, but I am looking for a single tool that has these basic functions.",
"Preventing Brute Force Logins on Websites As a response to the recent and , what is the best way to secure your website against brute force login attacks? Jeff's post suggests putting in an increasing delay for each attempted login, and a suggestion in the comments is to add a captcha after the 2nd failed attempt. Both these seem like good ideas, but how do you know what \"attempt number\" it is? You can't rely on a session ID (because an attacker could change it each time) or an IP address (better, but vulnerable to botnets). Simply logging it against the username could, using the delay method, lock out a legitimate user (or at least make the login process very slow for them). Thoughts? Suggestions?",
"How to understand intuitively the Stolz-Cesaro Theorem for sequences? I have to give a presentation on the theorem in Real Analysis with a fellow student. While I've looked over the and verified that, yes, step B does indeed follow logically from step A, etc. and have internalized the proof to the extent that I can replicate it myself on paper, I still feel that I have made little progress as to why this theorem works the way it does, i.e. what is the intuition behind the theorem, such that it should make sense that it follows the way it does. Therefore I ask: what kind of intuition is there about this theorem? It would also be helpful to understand how the theorem can be used effectively in analysis. I have seen it referred to as a sort of L'Hopital's rule for sequences, which certainly seems to make sense, but I similarly have little intuitive understanding of how that rule works, either. I am asking this question not only for my personal understanding, but also for the sake of being able to present it in an illuminating manner, such that the rest of the class can also come away with the same sort of intuition of how the theorem works and how it is useful. Any help would be greatly appreciated. EDIT: I should point out that the formulation of the theorem we are being tasked to prove is the following: Let $\\lbrace a_n \\rbrace$, $\\lbrace b_n \\rbrace$ be sequences, ${b_n}$ strictly increasing and unbounded. Then if $\\lim\\limits_{n \\to \\infty} \\frac {a_{n+1} - a_n}{b_{n+1} - b_n} = l$ for some $l \\in \\mathbb R$, then $\\lim\\limits_{n \\to \\infty} \\frac{a_n}{b_n} = l$ also.",
"Delete votes from users who later become moderators shouldn't prevent community undeletion",
"According to Hubble's Law, how can the expansion of the Universe be accelerating? Scientists today think the expansion of the universe is accelerating. According to Hubble's law, objects further away are moving faster than objects closer to us. The further away an object is, the further back in time we are seeing, so in the past objects moved faster (is this sentence correct?). So because objects moved faster before than they do now, surely that's deceleration not acceleration? my textbook says \"if Scientists today think the rate of expansion of the Universe were decreasing then distant objects should appear different to Hubble's Law predictions: universe is accelerating. More distant objects would seem to be receding faster (since expansion was faster in the past)\"",
"Volumetric Windows 10 logo effect I'm trying to recreate the windows 10 background effect on a logo I've made in blender. Half the logo has a glass like material, the other half has a steel like material. And I'm using cycles at the moment. I've put various light sources behind the logo and tried a few variations of volumetric scatter in the world to get the god ray sort of feel coming off the logo, but it's just not looking anywhere near as effective as I'd like. I know the win10 background was a real set and photographed, but has anyone come across a tutorial to do something similar in blender? I'm very new to the tool, I'd appreciate any pointers in the right direction.",
"Force JavaScript exception/error when reading an undefined object property?",
"Bell's inequality theorem, along with experimental evidence, shows that we cannot have both realism and locality. While I don't fully understand it, Leggett's inequality takes this a step further and shows that we can't even have non-local realism theories. Apparently there are some hidden variable theories that get around this by having measurements be contextual. I've heard there are even inequalities telling us how much quantum mechanics does or doesn't require contextuality, but I had trouble finding information on this. This is all confusing to me, and it would be helpful if someone could explain precisely (mathematically?) what is meant by: realism, locality (I assume I understand this one), and contextuality. What combinations of realism, locality, and contextuality can we rule out using inequality theorems (assuming we have experimental data)?",
"PHP function to build query string from array I'm looking for the name of the PHP function to build a query string from an array of key value pairs. Please note, I am looking for the built in PHP function to do this, not a homebrew one (that's all a google search seems to return). There is one, I just can't remember its name or find it on php.net. IIRC its name isn't that intuitive."
] |
medi_sts_stackexchange_dupe
|
Reducing the Tsunami impact using Nuclear bombs
|
Tsunami dampening mechanisms
|
[
"Why do only two sexes exist for animals?",
"How old were each of the Doctor's incarnations?",
"Is the orbit in Schwarzshild metric a path with maximal proper time? In curved spacetime particles follow timelike geodesics, which should have maximal proper time (at least locally). I thought this path usually corresponds to a global maximum, and there are only strange exceptions. Propably I was wrong, or I really don't understand something, because it doesn't seem to be true for the case of orbitals in Schwarzschild geometry. The Schwarzschild metric is (with +--- signature) $$ g_{\\mu\\nu} = \\textrm{diag}\\left(1-\\frac{2GM}{r},-\\left(1-\\frac{2GM}{r}\\right)^{-1},-r^2,-r^2\\sin^2\\theta\\right) $$ An observer with fixed $r,\\theta,\\phi$ coordinates will age according to $d\\tau_1 = \\sqrt{g_{tt}}dt$. An observer, which orbits the center at the same constant radius with $\\theta=\\pi/2$ will age according to $d\\tau_2 = \\sqrt{g_{tt}-\\omega^2r^2\\sin^2\\theta}dt$, so he ages slower during the same amount of coordinate time $dt$. If the two observers start from the same point, they will meet again after a full rotation of the orbiting observer, and the orbiting observer will age less. What I don't understand is that the orbit is the geodesic (if the angular velocity is set properly), so why didn't he age more? He should have been on the path with maximal proper time.",
"Reprojecting raster from lat/lon to UTM in R? i have to turn it into a UTM in order to make the buffer functional. wets<-readOGR(dsn=\".\",layer=\"shapefile\") r.raster <- raster() extent(r.raster) <- extent(wets) res(r.raster) <- 100 wets.r <- rasterize(wet,r.raster) plot(wets.r) wetsbuf<-buffer(wets.r,width=500) During the buffer creation which is the last line of code, it gives this warning: Warning message: In couldBeLonLat(x) : raster has a longitude/latitude CRS, but coordinates do not match that here's the info summary(wets.r) layer Min. 1 1st Qu. 1 Median 2 3rd Qu. 9 Max. 11 NA's 52629 summary(wets) Object of class SpatialPolygonsDataFrame Coordinates: min max x 683705 714088.8 y 4326266 4343768.0 Is projected: TRUE proj4string : [+proj=tmerc +lat_0=0 +lon_0=24 +k=0.9996 +x_0=500000 +y_0=0 +datum=GGRS87 +units=m +no_defs +ellps=GRS80 +towgs84=-199.87,74.79,246.62] Data attributes: Min. 1st Qu. Median Mean 3rd Qu. Max. 0.0 2.5 5.0 5.0 7.5 10.0 wets.r class : RasterLayer dimensions : 175, 304, 53200 (nrow, ncol, ncell) resolution : 100, 100 (x, y) extent : 683705, 714105, 4326268, 4343768 (xmin, xmax, ymin, ymax) coord. ref. : +proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0 data source : in memory names : layer values : 1, 11 (min, max) attributes : ID FID from: 1 0 to : 11 10 I have to change the prjection in order to be possible to do the buffer.",
"Proof Check: Every Cauchy Sequence is Bounded",
"Is a contradiction enough to prove a set equality to $\\varnothing$?",
"Is there a word that means \"a span of six months\"? That is, I want to connote a stretch of time that lasts half a year, not an event that happens every six months.",
"How is Clan War Map position determined?",
"Dealing with rust on a steel frame",
"Pass by Reference / Value in C++ I would like to clarify the differences between by value and by reference. I drew a picture So, for passing by value, a copy of an identical object is created with a different reference, and the local variable is assigned the new reference, so to point to the new copy How to understand the words: \" If the function modifies that value, the modifications appear also within the scope of the calling function for both passing by value and by reference \" Thanks!",
"The number of (non-equal) forests on the vertex set V = {1, 2, ...,n} that contains exactly 2 connected components is given by The number of (non-equal) forests on the vertex set V = {1, 2, ...,n} that contains exactly 2 connected components is given by $\\sum_{k=1}^{n-1} {n-1 \\choose k-1} k^{k-2} (n-k)^{n-k-2}$. I am unsure how to approach this question. Could someone guide me through the proof? If G is a spanning tree and it is disconnected then I know it is a spanning forest. Also, I know by Cayley's thm that there are $n^{n-2}$ nonequal tree on a vertex set V = {1, 2, ...,n} which is where i'm assuming the $k^{k-2}$ comes from but I do not understand where the rest of it is coming from.",
"How to import a .sid Raster File in QGIS 2.6.0 On Linux Mint 17 I need some help importing MrSID Raster files in QGIS. I am running 2.6.0 on Linux Mint 17. After an internet search I have found a couple of resources that are perhaps outdated. The most promising is found here : However when I attempted to follow the instructions my terminal and I could not find the file \"libgdal-mrsid-src\" on either the stable or unstable Ubuntu GIS repos. Has anyone had success or could lead me in the right direction?",
"Windows 10 stuck in install loop I was having a time getting my bootable USB 3, 32GB W10 install USB to be recognized. It recognized one time but I had to restart for something and it never came up again. I eventually removed all other boot up options to make it easier and faster to try again (no F12 needed). Finally I gave up and tried another drive (16GB this time FWIW) and then it worked. HOWEVER, it's stuck on a reboot loop now. I can choose to install, then to select the right disk, then it says it's loading file and then next thing I know it's saying do you want to install or upgrade.",
"Story on quantum indeterminacy: protagonist has to “quantum select” a portable computer’s state",
"What is the terminology for data aggregated via summed totals versus data aggregated via means? The two types of data differ in that if you decide to decrease the temporal (time) resolution of the first type of data you take the mean of lower the resolutions. With the second you take the sum over the lower resolutions. Here is a concrete example Gas Used (kWh), Outside Air Temperature (C), Time Resolution (Minutes) 100, 20, 20 140, 22, 20 120, 21, 20 Here the hourly (60 Minute) resolution data is clearly 360, 21, 60 and is found by averaging the temperature and summing up the gas used. What I really wish to know is what the names for each of these types of data are called. I understand that this question is not the best but it is hard to ask a question about something whose names you do not know. If you have a better way of articulating the question then please go ahead and edit it.",
"Ok, I must be missing something obvious, but I'm having trouble adding a link to user/%/edit to the main menu. In the Menu UI, I clicked \"add link,\" set the title to \"Account settings,\" and then was at a loss about what to put for the path. I know how to generate a link to the account edit page using views, which is what I've always done before, but this time I actually need to add the link to the \"Main Menu.\"",
"When a 'blur' event occurs, how can I find out which element focus went *to*? Suppose I attach an blur function to an HTML input box like this: <input id=\"myInput\" onblur=\"function() { ... }\"></input> Is there a way to get the ID of the element which caused the blur event to fire (the element which was clicked) inside the function? How? For example, suppose I have a span like this: <span id=\"mySpan\">Hello World</span> If I click the span right after the input element has focus, the input element will lose its focus. How does the function know that it was mySpan that was clicked? PS: If the onclick event of the span would occur before the onblur event of the input element my problem would be solved, because I could set some status value indicating a specific element had been clicked. PPS: The background of this problem is that I want to trigger an AJAX autocompleter control externally (from a clickable element) to show its suggestions, without the suggestions disappearing immediately because of the blur event on the input element. So I want to check in the blur function if one specific element has been clicked, and if so, ignore the blur event.",
"How long can cooked food be safely stored at room/warm temperature?",
"Ring of rational-coefficient power series defining entire functions",
"Word for phrases that are examples of what they describe"
] |
medi_sts_stackexchange_dupe
|
Does English have written words for each letter in the alphabet?
|
Is there a formal spelling for the English letter names?
|
[
"How to get my actual data from ContentNote API in Salesforce using SOQL?",
"Does mass distribution/center of mass affect free fall? An everyday is example would be cars. If you were to drop a car, not taking air resistance into account, would a front-heavy car tumble forward as it fell? And a car with a perfect 50/50 front/rear weight distribution fall straight? Does mass distribution/center of mass affect free fall? Or would they both fall straight down without tumbling? Can you explain why please?",
"class variable vs instance variable --Python",
"How do I have a camera follow my object in Unity? I have an object that automatically moves by itself and I want the main camera to automatically follow it.(Like in games such as geometry dash and jetpack joyride) This is the code for the automatic moving object in case it is needed: using UnityEngine; using System.Collections; public class automove : MonoBehaviour { public static int movespeed = 5; public Vector3 userDirection = Vector3.right; public void Update() { transform.Translate(userDirection * movespeed * Time.deltaTime); } } So does anyone know any good scripts I could add to the main camera to follow this object that automatically moves? Thanks in advance!",
"Multiplying two dimensional data by a constant",
"The second part of an exercise asks that I show: There does not exist a surjective bounded linear map from $\\ell^2(\\mathbf{N})$ to $\\ell^1(\\mathbf{N})$. The first part was to show that these two spaces are separable in their respective $L^p$ norms. I've really hit a wall on this one. I know, in fact, that there does exist a surjective bounded linear map from $\\ell^1(\\mathbf{N})$ to $\\ell^2(\\mathbf{N})$. So my intuition says that if there were also one going the other way, then the two spaces would have to be isomorphic, which is false . But I don't know of any such theorem that I could apply to \"the category of Banach spaces\". My only other idea is to argue by contradiction using the open mapping theorem, but nothing is coming to me... My guess is that separability is also going to be important, given the first part of the exercise. -Thanks.",
"Show $\\lim_{n \\to \\infty} n^{-1} E \\left( \\frac{1}{X}1_{[X>n^{-1}]} \\right) =0$ Suppose $X$ is a non-negative random variable satisfying \\begin{align*} P[0 \\le X < \\infty ]=1. \\end{align*} Show a) \\begin{align*} \\lim_{n \\to \\infty} n E \\left( \\frac{1}{X}1_{[X>n]} \\right) =0 \\end{align*} b) \\begin{align*} \\lim_{n \\to \\infty} n^{-1} E \\left( \\frac{1}{X}1_{[X>n^{-1}]} \\right) =0 \\end{align*} What I did I showed part a) already here is the proof: \\begin{align*} n E \\left( \\frac{1}{X}1_{[X>n]} \\right) \\le n E \\left( \\frac{1}{n}1_{[X>n]} \\right)=n\\cdot\\frac{1}{n}P[X>n]=P[X>n] \\end{align*} So $\\lim_{n \\to \\infty} n E \\left( \\frac{1}{X}1_{[X>n]} \\right) \\le \\lim_{n \\to \\infty} P[X>n]=0$. What about part b)? The same techniques no longer works. I was thinking that \\begin{align*} \\lim_{n \\to \\infty} n E \\left( \\frac{1}{X}1_{[X>n]} \\right) \\le \\lim_{n \\to \\infty} n E \\left( \\frac{1}{X} \\right) \\le 0 \\end{align*} but I am not sure that $E \\left( \\frac{1}{X} \\right) < \\infty$",
"Error when using apt-get update",
"How to use fakeslant as slanted but not italic font with fontspec? Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around: \\setmainfont[ AutoFakeSlant=0.15 ] {FontName} However, also if an italic version exist this faked slant will be used both for \\itshape and \\slshape. How can I keep using the shipped italic font defined by the ItalicFont= parameter to \\setmainfont but use fake slant for \\slshape?",
"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.",
"What do LRESULT, WPARAM and LPARAM mean?",
"Should I activate the additional driver: Processor microcode firmware for Intel CPUs for intel-microcode I have recently noticed that there is an additional driver called Unknown: Unknown here which was not there before: I have already read , and understand why it is there, but my question is, should I activate it? Will this make a difference? Or should I just leave it as it is as it sounds rather useful? OS Information: Description: Ubuntu 15.04 Release: 15.04",
"Trying to find a story about an unborn telepathic baby who can save a spaceship from doom",
"I was trying to prove following inequality: $$|\\sin n\\theta| \\leq n\\sin \\theta \\ \\text{for all n=1,2,3... and } \\ 0<\\theta<π $$ I succeeded in proving this via induction but I didn't get \"feel\" over the proof. Are there other proof for this inequality?",
"$\\DeclareMathOperator{\\tr}{tr}$Let's consider a $n \\times n$ matrix and the sequence of traces $\\tr(A)=\\tr(A^{2})= \\ldots = \\tr(A^{n})=0$. How to prove that $A$ is a nilpotent matrix (a matrix so that $A^{k} \\times u = 0$ for all $u \\in V$ and for some $k$)? Maybe it would be reasonable to consider $A$'s Jordan form (we assume that the action occurs over an algebraically closed field, such as $\\mathbb{C}$). For example, suppose that we have found it and $A'$ consists of $m$ blocks of sizes $r_{1}, \\ldots r_{m}$ ($r_{1}+r_{2}+\\ldots+r_{m}=m, r_{i} \\in \\mathbb{Z}_{+}$) with $\\alpha_{1}, \\ldots \\alpha_{m}$ as corresponding eigenvalues to each of the blocks. Then, according to the problem will get the system $$\\begin{align} r_{1}\\alpha_{1}+&\\ldots+r_{m}\\alpha_{m}=0 \\\\ r_{1}{\\alpha_{1}}^{2}+&\\ldots+r_{m} {\\alpha_{m}} ^{2}=0\\\\ &\\ ~\\,\\vdots \\\\ r_{1}{\\alpha_{1}}^{n}+&\\ldots +r_{m}{\\alpha_{m}}^{n}=0 \\end{align}$$ But the system's analysis over $\\mathbb{C}$ seems to be too much complicated. Actually, the problem must have more or less simple solution. Any piece of advice would be much appreciated.",
"Hint proving this $\\sum_{k=0}^{n}\\binom{2n}{k}k=n2^{2n-1}$ I need hint proving this $$\\sum_{k=0}^{n}\\binom{2n}{k}k=n2^{2n-1}$$",
"Is it possible to add entries to the bibliography based on keyword using Biblatex/Biber and within the document code? I would like to print a bibliography which includes all entries with a certain keyword (and possibly some additional entries). I know that I can filter by keyword when I print the bibliography using \\printbibliography[keyword=<keyword>] but this will only print entries which I have cited. I could, of course, use \\nocite{*} to add all entries to the bibliography and then print just those I want. However, this will make my .bbl file huge as my database is enormous. Another possibility is to use Biber or another tool to prepare a document-specific .bib file containing only those entries with the keyword. However, this would need to be recreated if additional entries with the keyword are added to my main database files. Here's an MWE to play with, annotated to indicate the way I'd like it to work ;), and the disadvantages of the way it (almost) works. The issue of excluding explicitly cited entries is less of an issue for me. The thing I'd really like to work around is adding the entire database contents to the .bbl. \\RequirePackage{filecontents} \\begin{filecontents}{\\jobname.bib} @book{new-stuff, author = {Watt, Brian}, title = {Happy Times with Penguins}, publisher = {Harvard University Press}, address = {Cambridge, MA}, year = 1995, pagination = {section}, keywords = {happy}} @book{den-coll, author = {Till, Jr., Dennis E.}, booktitle = {Penguin Land and Further North: Human Influence}, title = {Penguin Land and Further North: Human Influence}, publisher = {Oxford University Press}, year = 2008, address = {Oxford and New York}, keywords = {penguin, human}} @book{old-stuff, author = {Harvey, Jr., Dennis E.}, booktitle = {Penguin Land and Further North: Human Influence}, title = {Penguin Land and Further North: Human Influence}, publisher = {Someone \\& Daughters}, year = 1567, address = {Oxford}, bookpagination = {paragraph}, keywords = {penguin}} \\end{filecontents} \\documentclass{article} \\usepackage[defernumbers=true]{biblatex} \\bibliography{\\jobname} \\begin{document} \\cite{old-stuff} % what I would like to work % \\nocite[keyword=happy] % \\printbibliography % what does work - except that \\cite{old-stuff} is ignored and, more importantly, den-coll is added to the .bbl \\nocite{*} \\printbibliography[keyword=happy] \\end{document}",
"How many elements does the ring $ℤ[X]/(X^2-3,2X-4)$ have? Describe the structure of this ring. I'm making exercises to prepare for my ring theory exam: How many elements does the ring $ℤ[X]/(X^2-3,2X-4)$ have? Describe the structure of the this ring. I find it always difficult if the ideal is generated by two elements. I thought about someting like this. $X=2$ and $X^2=3$. Therefore $4=3$ therefore $1=0$. As $2=1$ then $X=0$. And then everyting seems to become $0$. I'm not sure if I'm allowed to see it this way, but this is the first thing that comes to my mind.",
"It would be nice to be able to put emphasis on specific bits of a fragment or of a quote (bold can help for a quote but I find that it makes things less readable sometimes). What do you think? Update: On , you can highlight particular lines by prefixing each line with @@. See also:",
"Trying to install Ubuntu on Dell XPS 15 (9570) I have been trying to install Ubuntu on my new laptop: Dell XPS 15 (9570) Windows 10 Home 64bit English 8th Generation Intel(R) Core(TM) i7-8750H Processor (9M Cache, up to 4.1 GHz, 6 cores) 16GB, 2x8GB, DDR4, 2666MHz 256GB M.2 2280 PCIe Solid State Drive NVIDIA(R) GeForce(R) GTX 1050Ti with 4GB GDDR5 I began by trying to install Ubuntu 18.04 LTS using an 8GB USB drive. The first issue I ran into was getting frozen on the bootup screen on the fourth dot. After a couple tries, I plugged in my monitor (through HDMI) and it stopped getting stuck all of a sudden. Next, I tried to go through the installation and when I clicked on restart now, my computer froze and I had to shut it down manually and start it back up again. At this point I got to the login screen and logged in but after entering my password it got stuck on a purple screen with my mouse pointer (which was frozen). I was able to get into a shell at this point (with ctrl+alt+f4) and attempted to run sudo apt-get install nvidia-390 but this froze when it reached building initial module for 4.15.0-22-generic and upon reboot I had to run sudo dpkg --remove -a. I was unable to work around this so I attempted to install Ubuntu 16.04 which I could only do by adding acpi=off to the boot configuration (which by the way, I had a lot of trouble getting to since GRUB usually flashed in and then immediately disappeared and only occasionally would it stick around long enough for me to use). But when I try to boot up now, I never reach the screen with the five dots and instead immediately get stuck on a purple screen (with no mouse pointer). I reinstalled Ubuntu 18.04 and am back to being stuck on the log-in screen. What should I do?"
] |
medi_sts_stackexchange_dupe
|
Sum of $50$ terms of $\cot^{-1}3+\cot^{-1}7+\cot^{-1}13+\cot^{-1}21+.....$
|
Explicitly finding the sum of $\arctan(1/(n^2+n+1))$
|
[
"Can't run a shell script So I have this script: #!/bin/bash # Flips the screen (hopefully) syntax_error=0 orientation=0 current_orientation=\"$(xrandr -q --verbose | grep 'connected' | egrep -o '\\) (normal|left|inverted|right) \\(' | egrep -o '(normal|left|inverted|right)')\" case $current_orientation in normal) current_orientation=0 ;; left) current_orientation=1 ;; inverted) current_orientation=2 ;; right) current_orientation=3 ;; esac if [ $current_orientation -eq 0 ]; then orientation=2 fi if [ $current_orientation -eq 2 ]; then orientation=0 fi method=evdev # LENOVO S10-3t CHANGE ==> Hard Coded my device number to 11!!!!!!!! device=11 swap=0 invert_x=0 invert_y=0 real_topx=0 real_topy=0 real_bottomx=4020 real_bottomy=4020 case $orientation in 0) swap=0 invert_x=0 invert_y=0 topx=$real_topx topy=$real_topy bottomx=$real_bottomx bottomy=$real_bottomy ;; 1) swap=1 invert_x=1 invert_y=0 topx=$real_topx topy=$real_topy bottomx=$real_bottomy bottomy=$real_bottomx ;; 2 ) swap=0 invert_x=1 invert_y=1 topx=$real_topx topy=$real_topy bottomx=$real_bottomx bottomy=$real_bottomy ;; 3 ) swap=1 invert_x=0 invert_y=1 topx=$real_topx topy=$real_topy bottomx=$real_bottomy bottomy=$real_bottomx ;; esac if [ $method = \"evdev\" ]; then xinput set-prop \"$device\" \"Evdev Axes Swap\" $swap xinput set-prop \"$device\" \"Evdev Axes Swap\" $swap xinput set-prop \"$device\" \"Evdev Axis Inversion\" $invert_x $invert_y xinput set-prop \"$device\" \"Evdev Axis Calibration\" $topx $bottomx $topy $bottomy if [ $orientation = 2 ]; then xrandr -o inverted fi if [ $orientation = 0 ]; then xrandr -o normal fi fi # It's for flipping screen in my Lenovo S10-3t. I copied it from the netbook's wiki page, and added the #!/bin/bash at the top. The filename is flipscreen.sh. How can I make it work?",
"I recently purged Libreoffice because it was buggy. I then reinstalled the latest version from apt and now it's missing the symbols above the equation editor. Here is the current Texmaths equation editor: There used to be shortcuts for latex including frac{}{} and various set theory operations, as well as the binomial distribution on the top of the window. What happened to them and how do I get them back? I just figured that they were in some package and installed all packages useing sudo apt install libreoffice*, but this didn't help after I refreshed the program. EDIT 0: I'm using Kubuntu 19.04 sarah@LesserArk:~$ sudo apt-cache policy libreoffice-texmaths libreoffice-writer texlive libreoffice-texmaths: Installed: 0.43-2 Candidate: 0.43-2 Version table: *** 0.43-2 500 500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu disco/universe i386 Packages 100 /var/lib/dpkg/status libreoffice-writer: Installed: 1:6.2.2-0ubuntu2 Candidate: 1:6.2.2-0ubuntu2 Version table: *** 1:6.2.2-0ubuntu2 500 500 http://us.archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status texlive: Installed: 2018.20190227-1 Candidate: 2018.20190227-1 Version table: *** 2018.20190227-1 500 500 http://us.archive.ubuntu.com/ubuntu disco/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu disco/universe i386 Packages 100 /var/lib/dpkg/status",
"Help finding the limit of $\\lim_{n \\to \\infty}\\prod_{k=1}^{n}\\left(1+\\frac{1}{n}f\\left(\\frac{k}{n}\\right)\\right)$.",
"A word used to describe someone who loves to be photographed",
"Overview: Lots of games with RPG-like statistics allow for character \"buffs\", ranging from simple \"Deal 25% extra damage\" to more complicated things like \"Deal 15 damage back to attackers when hit.\" The specifics of each type of buff aren't really relevant. I'm looking for a (presumably object-oriented) way to handle arbitrary buffs. Details: In my particular case, I have multiple characters in a turn-based battle environment, so I envisioned buffs being tied to events like \"OnTurnStart\", \"OnReceiveDamage\", etc. Perhaps each buff is a subclass of a main Buff abstract class, where only the relevant events are overloaded. Then each character could have a vector of buffs currently applied. Does this solution make sense? I can certainly see dozens of event types being necessary, it feels like making a new subclass for each buff is overkill, and it doesn't seem to allow for any buff \"interactions\". That is, if I wanted to implement a cap on damage boosts so that even if you had 10 different buffs which all give 25% extra damage, you only do 100% extra instead of 250% extra. And there's more complicated situations that ideally I could control. I'm sure everyone can come up with examples of how more sophisticated buffs can potentially interact with each other in a way that as a game developer I may not want. As a relatively inexperienced C++ programmer (I generally have used C in embedded systems), I feel like my solution is simplistic and probably doesn't take full advantage of the object-oriented language. Thoughts? Has anyone here designed a fairly robust buff system before? Edit: Regarding Answer(s): I selected an answer primarily based on good detail and a solid answer to the question I asked, but reading the responses gave me some more insight. Perhaps unsurprisingly, the different systems or tweaked systems seem to apply better to certain situations. What system works best for my game will depend on the types, variance, and number of buffs I intend to be able to apply. For a game like Diablo 3 (mentioned below), where nearly any bit of equipment can change a buff's strength, the buffs are just character stats system seems like a good idea whenever possible. For the turn-based situation I'm in, the event-based approach may be more suitable. In any case, I'm still hoping someone comes along with a fancy \"OO\" magic bullet which will allow for me to apply a +2 move distance per turn buff, a deal 50% of damage taken back to the attacker buff, and a automatically teleport to a nearby tile when attacked from 3 or more tiles away buff in a single system without turning a +5 strength buff into its own subclass. I think the closest thing is the answer I marked, but the floor is still open. Thanks to everyone for the input.",
"How can I restrict the Normal user to run the only limited set of commands in RHEL?",
"I want to make a power DC supply with voltage rating 0-200V. I want it to be a variable power supply with voltage from 1V to 200v. What should be my approach?",
"Why does pdfTeX hang on this file?",
"How to know current name of the database in Django?",
"Limit of a sequence defined by recursive relation : $ a_n = \\sqrt{a_{n-1}a_{n-2}}$",
"I noticed that I have three warnings when I submitted my Sitemap. They all say this: When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL. I'd like to try and resolve this issues but I'm not sure what to do. Sitemap url for reference:",
"I don't know anything about Star Trek except for the fact that it's about spaceships. In the person only wanted to watch the TV series. I want to watch every movie and TV series there is about Star Trek but I don't know where to start. I found this page on which is about a time line. Do I need to watch it in this order? Are the movies and TV series related?",
"How to clone/copy all file/directory attributes onto different file/directory? I want to copy the attributes (ownership, group, ACL, extended attributes, etc.) of one directory to another but not the directory contents itself. This does not work: cp -v --attributes-only A B cp: omitting directory `A' Note: It does not have to be cp.",
"Is a continuous function on a bounded set bounded itself? If $f\\colon A\\to\\mathbb R$ is continuous and $A$ is a bounded set, does it necessarily follow that $f$ is bounded?",
"How does conservation work in wormholes? My questions might seem naive as I haven't plunged into the mathematical descriptions, but wormholes are interesting even if I don't actually know them :) First of all, is wormhole making two possible paths betwwen points (like the tunnel in most visualisations) or is it just making two points beside each other like in the game Portal? Of course, second case can be bent into a tunnel, but there would be nothing special about tunnel part and no preferred way to divide into \"normal\" and \"tunnel\" part of spacetime. My main questions are these: Is momentum conserved? Is kinetic energy conserved? How does potential energy work? To elaborate... In the game Portal you can fall into floor and fly out of the wall or floor elsewhere with the same speed, but another direction (normal to the portal). So momentum is not conserved, but kinetic energy is. Is that how it would actually work? Where does the momentum go then? And does it really allow you to increase your potential energy while retaining kinetic? It would seem fair to take away some kinetic energy if you are put in a region where you have more potential energy. Either way is the change in energy non-continuous like in the game and discussion that's linked below? Or are there just more than one way to move through but the change in potential energy is smooth in any of those? That would mean more potential equilibrium points though... Similar questions has been discussed , is it correct about how the falling guys gets a lot of energy (in form of a potential one) by draining it from the mouths?",
"What is a magic number, and why is it bad? What is a magic number? Why should it be avoided? Are there cases where it's appropriate?",
"problems with ellipse TikZ I'm working on a mac, I use the package TikZ and it works. But I have problems when I want use ellipse or diamond ex : \\documentclass{article} \\usepackage{graphicx} \\usepackage{tikz} \\begin{document} \\begin{tikzpicture} \\node[ellipse] {Ellipse}; \\end{tikzpicture} \\end{document} If somebody could help me thank you !",
"Can we have a moderator only \"flag for community team/developer attention\" link on posts? There are times when moderators come across things that only Stack Exchange employees can deal with. These include things like deleting sensitive information permanently from posts disassociating users from posts that require direct database access. (The previous use case is now possible for moderators to do directly the moderator redaction tool) Currently the workflow is: See the post (either in normal site usage or via a flag) Go to chat Ping one of the community team (if they are around) Explain the problem A far better workflow for the moderator would be to simply able to flag the post so it then appeared in an \"employee only\" queue somewhere. This could either be a page on the main Stack Exchange site or (better still) their inbox. (OK I admit I hadn't fully thought this last bit out.) This could either be a moderator \"flag to devs\" link on the post or a new option on the existing flag dialog (probably the better solution). Now that moderators can't merge we have a fairly common situation where this would be very useful. A new users posts an answer (or question on sites that don't require registration) then loses their cookies and ends up creating another unregistered account (or two). Eventually the might even create a registered account. It used to be easy to merge the unregistered accounts into the registered ones, but now we either have to badger the OP to use the \"merge accounts\" form or ping the team somehow. Having the \"flag for team\" option would be very useful in this scenario.",
"Can I prevent others from editing my question? edited my question, where I specifically said that our software sending back stacktrace to one of our servers was a user-known public feature. He then modified the title of my post, along with the entire content, making it sound like I snuck in the feature and that our application was phoning home without our users knowing. I specifically wrote in the original post that the feature was not sneaky. He completely changed the meaning of my post. I find this to be rather unacceptable. A few questions: Is it possible to prevent editing of my posts? How can I retaliate? Can I file a complaint? Can people with do anything they want on Stack Overflow?",
"A borderline between on-topic questions and questions about library recommendation? I have a consideration about new off-topic close reason: Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it. For example take that question: It has a close vote with the reason above. But if it would be formed How to zoom image in an absolute position div to the side? The answer would be probably also a jQuery plugin or javascript library, but it would follow the patter of most questions about jQuery. Take that question: This is the good question about real-life problem. The answer is to use a maven plugin. It is correct, there's no need to reinvent the wheel or rediscover the America. But I'm afraid the off-topic text could be misleading and could be misused to close such a questions as that about maven simply because a tool, library or plugin is the answer. Is it a new guideline that the questions such as cited above should be banned, no matter how they are formed (this would make most how-to-do-in-maven/jquery) questions illegal? Or the close reason should be changed to make more clear what the guidelines are (it's not clear to me now)?"
] |
medi_sts_stackexchange_dupe
|
How do I interpret this dot chart?
|
How to interpret Mean Decrease in Accuracy and Mean Decrease GINI in Random Forest models
|
[
"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.",
"3/4 circle with plus in it? After I recently updated my phone about a day ago, this strange sign showed up on the top left that I have never seen before. Does anyone know what it means? Or how to get rid of it?",
"What screenshot tools are available? I have noticed that many people use images in their Ask Ubuntu answers. What software are people using?",
"I'm embarking on a journey to create a conference abstract book using XeTeX and got stuck within five minutes: The missing 'g' in 'somethin' influences the line height of the following line. How can I correct this? At the end I want to be able to include the abstracts and corresponding information through our online registration system, so this should be a global setting. My MWE: \\documentclass[10pt, a5paper]{article} \\usepackage{fontspec} %% GEOMETRY \\usepackage[left=2cm, right=1.5cm]{geometry} % to change the page dimensions \\newenvironment{AbsHead} { \\fontsize{16}{22}\\headfont\\noindent }% { \\vspace{0.5 cm} } \\newenvironment{AbsAuthors} { \\fontsize{12}{14}\\authorfont\\noindent }% { \\vspace{0.5 cm} } \\begin{document} \\setmainfont{Minion Pro} \\newfontfamily\\authorfont{Helvetica Neue Light} \\newfontfamily\\headfont{Helvetica Neue Condensed Bold} \\begin{AbsHead}The XIAP something something something somethin somethin somethin somethin somethin somethin somethin something something\\end{AbsHead} \\begin{AbsAuthors}Somebody Someone\\end{AbsAuthors} \\noindent Purpose: Lorem ipsum \\end{document}",
"I am technically knowledgeable enough to know that this most likely isn't possible, BUT, I am curious just the same (it must be put to rest). Is there anything preventing us from creating a means to use two different internet connections, like two different ethernet cards or an ethernet card and a wireless card, and using the two IP addresses at once for more internet speed? My specific situation is that I would like to use both a wireless card and my wired connection on my machine running Kubuntu 13.10. Using two internet connections would allow me to do things like: Torrent and browse simultaneously without lag Open Firefox with multiple tabs faster (?) Download a couple or a few large files at once double time Increase overall internet connection speed (?)",
"\"I couldn't but laugh\" - correct or not?",
"Express $x^8-x$ as a product of irreducibles in $\\Bbb Z_2[x]$ Express $x^8-x$ as a product of irreducibles in $\\Bbb Z_2[x]$. Work so far: $$x^8 - x = x(x^7 - 1) = x(x - 1)(x^6+x^5+x^4+x^3+x^2+x+1)$$ From here, I think the Zeros of an Irreducible over a splitting field Theorem would be the method. I am unsure how to proceed",
"How can I remove duplicate values from an array in PHP?",
"How do Horcruxes work? A few questions regarding the Horcruxes. Had Voldemort actually succeeded in using a Horcrux, would he come back the same age (biologically and/or aesthetically) he was when he made the Horcrux, or the age he would biologically be if he had never died (half died)? If Harry was a Horcrux, then in the graveyard, when Wormtail added Harry's blood to the potion to bring Voldemort back, didn't that technically use up the Horcrux inside of Harry? So in Deathly Hallows when Voldemort kills Harry, shouldn't Harry have actually died rather than just have the Horcrux inside him destroyed, seeing as it was technically used in the Goblet of Fire?",
"So far, I didn't have the chance to use either of these services. Before starting, I would like to hear your opinions. What are the advantages and disadvantages? Why should I choose one over the other? I am mainly interested in the technical side, but I would also love to hear comments also regarding the plans and prices.",
"Why does std::getline() skip input after a formatted extraction?",
"Outlook from time to time makes an operation 'Send and Receive.' This can sometimes be quite slow and Outlook hangs while this is done. Is is possible to set different intervals for different mail accounts (if user has multiple accounts configured within Outlook, e.g., main Exchange account and one or more IMAP accounts) If yes (or even if only for some [e.g., IMAP accounts], where in the settings it can be configured? (e.g., Outlook 2007)",
"Allow cross-site queries in data explorer",
"What are the most common pitfalls awaiting new users?",
"How to favorite a question from Android app?",
"What makes RSA secure by using prime numbers? I am just learning about the RSA algorithm. Looking at the first two steps: Choose two distinct prime numbers $p$ and $q$. Compute $n = pq$. I have some probably stupid questions: Why do $p$ and $q$ have to be prime numbers? Why couldn't they be any integers or odd integers? Or does that break the whole algorithm? Because prime numbers are rare in comparison to regular integers, does restricting the algorithm to only prime numbers reduce security? It would seem easier to find the private key if an attacker knows it's only going to be some prime number?",
"Anthology for children; contains story about friendly Martian on postapocalyptic Earth I'm looking for the title of an anthology of children's science fiction stories from the 1950s. The best of the bunch involved a Martian who visited earth, and realized we'd blown ourselves up in a nuclear war and had fallen into savagery. The Martian is a vegetarian who subsists on biscuits made by a machine he brought with him, and communicates by using one of his tentacles to feed messages direction to/from the brain of the person he's talking to. Inadvertently left behind by his expedition, he initially befriended some children, and eventually managed to rebuild civilization. Presently he dies, but when another expedition comes a generation later, they find the civilization he rebuilt. there were other stories, but that was the best one. If I can't find the name of the book it was in, I'd be happy to settle for the name of the author and the title of the story.",
"What is the resolution I need to make a picture to make curves look smooth and not pixelated?",
"What happens if a Rainbow Servant takes levels in Mystic Theurge?",
"When did the 5-foot square/hex become the standard unit of measurement in Dungeons & Dragons?"
] |
medi_sts_stackexchange_dupe
|
“““Quotations nested multiple times in their entirety.”””
|
What's the difference between using single and double quotation marks/inverted commas?
|
[
"Background Video is shown in Rendered mode but not when szene is rendered i have a 3D Object and want to add a background image( if possible even a movie) to this 3D Object. I use Cycles to render and tried a plane with the image as texture. When i go into render mode, it looks like this(picture with background) and when rendered, it has no background. The key also looks into a different direction. Should i even use Cycles for this or use motion tracking? i tried to use that but had several problems. Rendered mode When scene is rendered",
"Were I rich, I would live on Long Island. If I were rich, I would live on Long Island. Is the first sentence still used, or is used in particular contexts (in example, to give emphasis to the sentence)?",
"PHP regular expressions: No ending delimiter '^' found in",
"2D inhomogeneous biharmonic equation",
"What is the probability of rolling $n$ dice until each side appears at least once? We roll a die until each side appears at least once, then we stop. What is the probability of rolling exactly $n$ dice? I guess the answer is $$6-6\\left(\\dfrac{5}{6}\\right)^n\\;,$$ but this may be wrong. In trying to solve this problem, I read , but I couldn't solve the problem.",
"My usb mouse sleeps after 5 seconds of inactivity when running on battery power. It wakes uo again when i press any button on the mouse. This is really annoying. I have made lsusb, and I noticed my mouse is Bus 001 Device 012: ID 04d9:2083 Holtek Semiconductor, Inc. I have checked my /sys/bus/usb/devices/usb1/power/autosuspend but it is already set to 0, and the directory usb1 has many subdirectories which also have autosuspend files, and i dont know how to edit them. Also, I would like a permanent solution, which would work for any mouse, on any of my 3 usb ports. Any ideas? Using: Ubuntu 12.04 64bit",
"Illustrator Vector Graphics Appearing Pixellated This has been puzzling me for a few days now, and I asked a graphic designer I knew before trying here and haven't been able to solve it yet. It's quite weird so please bear with me for a bit. I am using Adobe Illustrator to create a logo, and I have something that can potentially work. I have used only the pen tool with strokes (no fill), but the issue is, when I view the logo at 100%, it looks pixellated! I know vectors should not even be able to appear pixellated, but they are. Here is the screenshot from AI, without exporting to anything: That was just done using the snipping tool within Windows, and it's at 100% zoom. I have anti-aliasing turned on from Edit > Preferences > General, and the document resolution is at 300 ppi (I get the same result with 72 ppi). Could anyone help me with this? If relevant: Using CS6, and have a 24 inch Dell U2412M at 1920x1200 resolution. I do have a 21.6\" Samsung at 1680x1050 and I get the same result there as well. Let me know if you need any other settings, or if you would like the file, I'd be happy to provide it to be able to solve this problem.",
"In SQL Server, how do I generate a CREATE TABLE statement for a given table? I've spent a good amount of time coming up with solution to this problem, so in the spirit of , I'm posting it here, since I think it might be useful to others. If anyone has a better script, or anything to add, please post it. Edit: Yes guys, I know how to do it in Management Studio - but I needed to be able to do it from within another application.",
"if there is two modules A and B and both have same user_login hook. so when i log in. out of A_user_login() and B_user_login() function which one called first.and how drupal decide execution order of these two function",
"Intellij shortcut for quick call hierarchy Is there a shortcut key to bring up the call hierarchy of a method inline with the code, in the quick menu format, rather than bringing up the call hierarchy panel?",
"Where can I find a repository for older unsupported releases?",
"I noticed that if I transfer a few large files between two hard drives, it's pretty speedy, at around at least 30 MB per second, but if I transfer thousands of files less than 5 KB, it is pretty damn too slow.. around 1 to 2 MB per second. Is there a way to speed up the copy/paste process with thousands of small files on Windows 7?",
"How do I remotely wake my Mac over Wi-Fi?",
"How to run .sh script with keybind",
"I am trying to prove the statement: If $X\\sim\\mathcal{N}(0,\\sigma_1^2)$ and $Y\\sim\\mathcal{N}(0,\\sigma_2^2)$ are independent random variables, then $\\frac{XY}{\\sqrt{X^2+Y^2}}$ is also a Normal random variable. For the special case $\\sigma_1=\\sigma_2=\\sigma$ (say), we have the well-known result that $\\frac{XY}{\\sqrt{X^2+Y^2}}\\sim\\mathcal{N}\\left(0,\\frac{\\sigma^2}{4}\\right)$ whenever $X$ and $Y$ are independent $\\mathcal{N}(0,\\sigma^2)$ variables. In fact, it is more generally known that $\\frac{XY}{\\sqrt{X^2+Y^2}},\\frac{X^2-Y^2}{2\\sqrt{X^2+Y^2}}$ are independent $\\mathcal{N}\\left(0,\\frac{\\sigma^2}{4}\\right)$ variables. A proof of the last result follows by using the transformation $(X,Y)\\to(R,\\Theta)\\to(U,V)$ where $x=r\\cos\\theta,y=r\\sin\\theta$ and $u=\\frac{r}{2}\\sin(2\\theta),v=\\frac{r}{2}\\cos(2\\theta)$. Indeed, here $U=\\frac{XY}{\\sqrt{X^2+Y^2}}$ and $V=\\frac{X^2-Y^2}{2\\sqrt{X^2+Y^2}}$. I tried to imitate this proof for the problem at hand but it appears to get messy. If I haven't made any error, then for $(u,v)\\in\\mathbb{R}^2$ I end up with the joint density of $(U,V)$ as $$f_{U,V}(u,v)=\\frac{2}{\\sigma_1\\sigma_2\\pi}\\exp\\left[-\\sqrt{u^2+v^2}\\left(\\frac{\\sqrt{u^2+v^2}+v}{\\sigma_1^2}+\\frac{\\sqrt{u^2+v^2}-v}{\\sigma_2^2}\\right)\\right]$$ I have the multiplier $2$ above as the transformation is not one-to-one. So density of $U$ would be given by $\\displaystyle \\int_{\\mathbb{R}}f_{U,V}(u,v)\\,\\mathrm{d}v$, which isn't readily evaluated. Now I am interested to know if there is a proof where I can only work with $U$ and don't have to consider some $V$ to show that $U$ is Normal. Finding the CDF of $U$ doesn't look so promising to me at the moment. I would also like to do the same for the case $\\sigma_1=\\sigma_2=\\sigma$. That is, if $X$ and $Y$ are independent $\\mathcal{N}(0,\\sigma^2)$ variables then I wish to show that $Z=\\frac{2XY}{\\sqrt{X^2+Y^2}}\\sim\\mathcal{N}(0,\\sigma^2)$ without using a change of variables. If somehow I can argue that $Z\\stackrel{d}{=}X$, then I'm done. So two questions here, the general case and then the particular case. Related posts on Math.S.E: . . Edit. This problem is in fact due to L. Shepp as I found out in the exercises of An Introduction to Probability Theory and Its Applications (Vol. II) by Feller, alongwith a possible hint: Surely, $U=\\frac{XY}{\\sqrt{X^2+Y^2}}=\\frac{1}{\\sqrt{\\frac{1}{X^2}+\\frac{1}{Y^2}}}$ and I have the density of $\\frac{1}{X^2}$ at hand. Let's see what I could do now. Apart from this, a little help with the integral above is also welcome.",
"I have a cron job that runs every minute on an Ubuntu 12.04 box $sudo crontab -e * * * * * mylogin /pathto/file.sh > /log/filelog If I run file.sh, the bash script does some stuff and echos out runs: $ ./file.sh runs If I check the log of cron tab it shows that the job is running: Jul 10 12:41:01 localhost CRON[1811]: (root) CMD (mylogin /pathto/file.sh > /log/filelog) Jul 10 12:41:01 localhost CRON[1810]: (CRON) info (No MTA installed, discarding output) Jul 10 12:42:01 localhost CRON[1813]: (root) CMD (mylogin /pathto/file.sh > /log/filelog) However, the script is not running. It is not doing it's work and not echoing runs to /log/filelog. $cat /log/filelog #shows nothing What other steps can I take to debug this problem?",
"Independent samples t-test with unequal sample sizes I have two independent groups: from one I have drawn a sample of size less than 30 due to its small population, while the second group has sample size 100. Is it appropriate to use an independent samples t-test in this case?",
"Where can I get Blender test builds? I know that provides downloads for official releases. I see on forums that people use newer versions of Blender. Where can I get newer version of Blender (nightly builds, alpha versions... etc).",
"When I search for Chromium in Ubuntu Software on Ubuntu 16.04, There are 2 options. Which one should I select? The same can be observed with , , etc.",
"Force JSF to process, validate and update readonly/disabled input components anyway"
] |
medi_sts_stackexchange_dupe
|
where clause is not working in sqlite database
|
What is a NullPointerException, and how do I fix it?
|
[
"I can run faster than _____. (1) him (2) he? Consider the sentence "I can run faster than 15 miles per hour." Its meaning is clear and to my eyes obviously grammatically correct. Now let me present some variations that have given me trouble for a long time. I am faster than 15 miles per hour. – To me this is clearly incorrect. Directly comparing me to a speed doesn't seem right. We need to compare my speed to a speed, or me to another person. I can run faster than him. – Compared to the base sentence, there is a distinct shift in meaning of the comparison. While before I named a speed faster than which I can run, now I am naming a person. It doesn't seem quite right. I realize the parts of speech can change, but my initial objection is that "him" is not a speed. I can run faster than he. – This seems most correct to me, but still somehow feels objectionable. Is this in fact the correct way to say it? And if so, is it proper as is or need I say "... faster than he can" or even "... faster than he can run?" I am faster than him. – With "am" instead of "can run" it now seems slightly more correct. But is it? I am faster than he. – I'm in doubt here. It doesn't seem wrong to me to say, "I am faster than he is" or even "I am faster than he is fast." (Though I suppose that is a given since I could hardly properly compare to some other category as in "I am faster than he is smart.") My speed is faster than his. – Hmm. This seems more proper as "my speed is greater than his." So which of these constructions is correct and which is incorrect? Is there a general rule that I can follow? UPDATE The scholarly article may be of great interest to some readers! Once we accept that the elided constituent and its antecedent can differ in form, it becomes reasonable to ask how large this difference can be. The answer in Rooth (1992), Fiengo and May (1994), Chung et al. (1995) and subsequent work is that the wiggle room is actually quite small: the elided constituent and its antecedent are allowed to differ only in the realization of inflectional morphology. Other than that, both constituents have to be syntactically and lexically isomorphic.",
"Are there any drawbacks to legacy BIOS as opposed to UEFI? Are there any drawbacks to installing Ubuntu 13.10 (and soon 14.04) in Legacy BIOS instead of UEFI? I have installed 13.10 64bit in Legacy by mistake and was just wondering if it would hurt anything to simply leave it there as is? EDIT Everything seems to be running just fine in Legacy and all my drivers work.",
"What's the best way to do a backwards loop in C/C#/C++? I need to move backwards through an array, so I have code like this: for (int i = myArray.Length - 1; i >= 0; i--) { // Do something myArray[i] = 42; } Is there a better way of doing this? Update: I was hoping that maybe C# had some built-in mechanism for this like: foreachbackwards (int i in myArray) { // so easy } Update 2: There are better ways. Rune takes the prize with: for (int i = myArray.Length; i-- > 0; ) { //do something } //or for (int i = myArray.Length; i --> 0; ) { // do something } which looks even better in regular C (thanks to Twotymz): for (int i = lengthOfArray; i--; ) { //do something }",
"$ac\\equiv bc \\pmod{\\!m}\\!\\!\\iff\\!\\! a\\equiv b \\pmod{\\!\\!\\frac{m}{(c,m)}}$ [Euclid's Lemma, congruence form] I came across this theorem: For all integers a,b,c and m>0, if d = GCD(c,m) then a*c ≡ b*c (mod m) iff a ≡ b (mod m/d). The =>proof states this: a*c ≡ b*c (mod m) => m|(a-b)*c => m/d | (a-b)*c/d => m/d | (a-b) => a ≡ b (mod m/d) I don't understand how to go from step 2 to step 3. The proof states that this is possible because m/d and c/d are coprime. To me this means GCD(m/d, c/d) = 1 but how does this cancel out the whole term?",
"What's the difference between a projection and a datum?",
"How do moving charges produce magnetic fields? I'm tutoring high school students. I've always taught them that: A charged particle moving without acceleration produces an electric as well as a magnetic field. It produces an electric field because it's a charge particle. But when it is at rest, it doesn't produce a magnetic field. All of a sudden when it starts moving, it starts producing a magnetic field. Why? What happens to it when it starts moving? What makes it produce a magnetic field when it starts moving?",
"I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. However, there isn't much that a search reveals on the matter. It may be widely known to Linux experts, but I really don't know why. I remember always running as root when I first tried Linux years ago (Redhat and Mandrake) and don't remember running into any problems because of that. There are actually some distros that have a bright red background with alert signs all over it as wallpaper for the root user (SuSe?). I still use the \"Administrator\" account for regular use on my Windows installation and haven't ever run into any problems there either.",
"Today I updated to version 2.18.52 & I can’t see the names of the people who send me a message. The only thing I see is the WhatsApp logo and the word “message”. I can’t also see the status my friends posts, they all look black. I uninstalled the app, reset my phone & nothing seems to work so far.",
"SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:",
"Applications of complex numbers to solve non-complex problems Recently I asked a question regarding the diophantine equation $x^2+y^2=z^n$ for $x, y, z, n \\in \\mathbb{N}$, which to my surprise was answered with the help complex numbers. I find it fascinating that for a question which only concerns integers, and whose answers can only be integers, such an elegant solution comes from the seemingly unrelated complex numbers - looking only at the question and solution one would never suspect that complex numbers were lurking behind the curtain! Can anyone give some more examples where a problem which seems to deal entirely with real numbers can be solved using complex numbers behind the scenes? One other example which springs to mind for me is solving a homogeneous second order differential equation whose coefficients form a quadratic with complex roots, which in some cases gives real solutions for real coefficients but requires complex arithmetic to calculate. (If anyone is interested, the original question I asked can be found here: ) EDIT: I just wanted to thank everyone for all the great answers! I'm working my way through all of them, although some are beyond me for now!",
"I am using a plugin to help \"build\" a customized product. There are different tabs/steps the user has to go through with back and continue buttons. At the last step I would like to add an \"agree to terms\" box with a checkbox \"Agree\". I have this done. But I would like to hide the add to cart button in Woocommerce until the user selects the checkbox agreeing to the terms. This will be beneficial to me to make sure they reviewed the return policy as well as avoid confusion with the add to cart button appearing during all the steps, assuring they go through all the steps. Here is the checkbox coding i pulled from console: <ul data-rules=\"{&quot;Agree_0&quot;:[&quot;&quot;]}\" data-original-rules=\"{&quot;Agree_0&quot;:[&quot;&quot;]}\" data-rulestype=\"{&quot;Agree_0&quot;:[&quot;&quot;]}\" data-tm-validation=\"{&quot;required&quot;:true}\" class=\"tmcp-ul-wrap tmcp-elements tm-extra-product-options-checkbox tm-element-ul-checkbox element_16 termsbox-ul\"> <li class=\"tmcp-field-wrap tmhexcolorimage-li-nowh\"> <label for=\"tmcp_choice_16_0_35\"> <input class=\"tmcp-field termsbox tmhexcolor_16_0_35 tm-epo-field tmcp-checkbox\" name=\"tmcp_checkbox_16_0\" data-limit=\"\" data-exactlimit=\"\" data-minimumlimit=\"\" data-image=\"\" data-imagec=\"\" data-imagep=\"\" data-imagel=\"\" data-image-variations=\"[]\" data-price=\"\" data-rules=\"[&quot;&quot;]\" data-original-rules=\"[&quot;&quot;]\" data-rulestype=\"[&quot;&quot;]\" value=\"Agree_0\" id=\"tmcp_choice_16_0_35\" tabindex=\"35\" type=\"checkbox\"> <span for=\"tmcp_choice_16_0_35\"></span><span class=\"tc-label tm-label\">Agree</span></label> <span class=\"price tc-price hidden\"> <span class=\"amount\">$0.00</span> </span><i data-tm-tooltip-html=\"This is were the description will be to agree\" class=\"tm-tooltip tc-tooltip tcfa tcfa-question-circle\"></i> </li></ul> Here is the add to cart section with the quantity <div class=\"quantity buttons_added\"> <input value=\"-\" class=\"minus button is-form\" type=\"button\"> <input class=\"input-text qty text\" step=\"1\" min=\"1\" max=\"9999\" name=\"quantity\" value=\"1\" title=\"Qty\" size=\"4\" pattern=\"[0-9]*\" inputmode=\"numeric\" type=\"number\"> <input value=\"+\" class=\"plus button is-form\" type=\"button\"> </div> <button type=\"submit\" name=\"add-to-cart\" value=\"267\" class=\"single_add_to_cart_button button alt\">Add to cart</button> I am self taught with html and css, but javascript is to foreign for me I tried the following in CSS but it does nothing.Tried is on codepen and works (i know needs to show instead of hide when checked).... input[type=checkbox]:checked + .single_add_to_cart_button { display:none !important; }",
"Evaluate $\\int_0^{\\infty}\\frac{\\log x}{1+e^x}\\,dx$",
"Is there canon info on shelf life of various potions in Harry Potter? Do we know how long potions (in general, or at least specific ones) are potent (no pun intended) in Harry Potter canon? E.g. do they last a couple of hours? Minutes? Years? I seem to vaguely remember some comments of Snape's about Wolfesbane potion therfore I think at least some information exists.",
"How to change the numbering of \\part, \\chapter, \\section, ... to alphabetical, Roman numbers, etc",
"Changing a Part of a variable within ParallelDo",
"How to fix invisible form fields in Firefox while using Adwaita Dark Theme (or any other dark theme) I have this issue with some form fields in Firefox and using the adwaita-dark theme. In some webpages where the field background is white, you cannot read the text because it is also white. This question was edited in order to clarify that this kind of wording of the question might help people who are not familiar with what a GTK+ theme. I also thing that the wording will help to get more hits through search engines. If it's still considered a duplicate, I'll accept it.",
"I once learnt, that it is uncool to use $$, but why is that? Why does \\[ not act as a abbreviation to \\begin{align}? I noticed, that there is a difference, since one cannot use & and \\\\ inside a block started with \\[.",
"Is Pauli-repulsion a \"force\" that is completely separate from the 4 fundamental forces?",
"Boosts are non-unitary! Unlike rotations, the boost transformations are non-unitary. Therefore, the boost generators are not Hermitian. When boosts induce transformations in the Hilbert space, will those transformation be unitary? I think no. If that is the case, what is the physical significance of such non-unitary transformations corresponding to boosts in the Hilbert space?",
"Cropping the exact same part of several pictures I have several pictures that are exactly the same except for some small variations. It was one picture that was photoshopped in several different ways. Now, I need to crop them all (13 in total) but I need to crop exactly the same part of it. It needs to be pixel perfect. How do I do that with Pixelmator?"
] |
medi_sts_stackexchange_dupe
|
Error occured while playing videos
|
"There was a problem while playing. Touch to retry" when trying to play offline video
|
[
"Oxford Comma Conventions",
"How can I run Debian stable but install some packages from testing? Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two. What's the best way of installing only certain packages from Testing?",
"Can't get armature to move mesh!",
"Help me to solve this problem please.. Let $Y_{(1)}, Y_{(2)}, Y_{(3)}, Y_{(4)}, Y_{(5)}$ denote the order statistics of a random sample of size 5 from a distribution having p.d.f. $f(y) = e^{(-y)}, 0 < y < \\infty$, zero elsewhere. Show that $Z_1 = Y_{(2)}$ and $Z_2 = Y_{(4)} − Y_{(2)}$ are independent. Hint: First find the joint p.d.f. of $Y_{(2)}$ and $Y_{(4)}$.",
"Let $A,B \\subseteq \\mathbb{R}^d$ be non-empty sets. Define their distance to be $$ d(A,B) = \\inf \\{ \\|x-y\\| : x \\in A, \\; \\; y \\in B \\} $$ For any $A,B$, I want to prove that $d(A,B) = d( \\overline{A}, \\overline{B} )$. My Attempt Put $\\alpha = d(A,B)$. Therefore, $\\alpha = \\|x_0 - y_0 \\|$ for some $x_0 \\in A$ and some $y_0 \\in B$. But, notice $x_0 \\in \\overline{A}$ and $y_0 \\in \\overline{B}$ by definition. hence $$ \\| x_0 - y_0\\| \\geq \\inf\\{ \\|x' - y'\\| : x' \\in \\overline{A}, \\; \\; y' \\in \\overline{B} \\} = d( \\overline{A}, \\overline{B} )$$ $$\\therefore d(A,B) \\geq d( \\overline{A}, \\overline{B} )$$ I am stuck trying to show the other direction: $d(A,B) \\leq d( \\overline{A}, \\overline{B} )$ Can someone help me? thanks a lot",
"I want to completely replace Ubuntu with Lubuntu I accidentally issued some commands I thought were safe in the terminal, and I ended up with no System Settings and lots of other missing functionality, but the OS still boots normally. I've decided I want to install Lubuntu instead of fixing Ubuntu for a fresh start and since my laptop is running on a 1GHz dual core AMD CPU. I created a bootable USB as I usually do and placed Lubuntu 17.10 amd64 using Rufus 2.14.1086. I have GRUB that was installed with Ubuntu upon first install I still have Win8.1 which I still want to keep. PS: I also tried creating a startup disk from Ubuntu The question is: How can I boot from USB with GRUB2 so I can overwrite Ubuntu?",
"What is the use/meaning of 'swap area' while linux installation? When i installed ubuntu in my x86 machine, I had to configure some memory as 'swap area'. What is the use of this memory and what is the importance of this memory in linux file systems? How can I determine the exact size of 'swap area' in a machine for the safe working of linux inside in it?",
"External hard drive very slow to load after dropping it and can't be repaired with Disk Utility Today as I was using my WD HDD, it fell off my corner. After I fixed the thing, I plugged it into the Mac and it loads the HDD but it's very very very very slow. It also does not work sometimes. The entire laptop just hangs Tried running Disk Utility First Aid but it won't work. It says some error and hangs Can someone advise me on what I can do in this case?",
"Why is \"No new release found\" when upgrading from a LTS to the next?",
"What are the costs of books and materials in Harry Potter? In the first book, Harry sees his Gringotts vault for the first time. (Quotes thanks to Slytherincess!) Griphook unlocked the door. A lot of green smoke came billowing out, and as it cleared, Harry gasped. Inside were mounds of gold coins. Columns of silver. Heaps of little bronze Knuts. \"All yours,\" smiled Hagrid. All Harry's -- it was incredible. The Dursleys couldn't have known about this or they'd have had it from him faster than blinking. How often had they complained how much Harry cost them to keep? And all the time there had been a small fortune belonging to him, buried deep under London. Hagrid helped Harry pile some of it into a bag. \"The gold ones are Galleons,\" he explained. \"Seventeen silver Sickles to a Galleon and twenty-nine Knuts to a Sickle, it's easy enough. Right, that should be enough fer a couple o' terms, we'll keep the rest safe for yeh.\" Harry Potter and the Sorcerer's Stone - pages 58-59 - US Hardcover Edition Jk Rowling posts in the Harry Potter Lexicon JKR has stated in an interview (Comic Relief 2001) that she estimates the value of one Galleon to be \"about five pounds,\" which works out to around US$9.75 (the exchange rate at the time of the interview was US$7.33). In the introduction to both QA and FB, US$250-million is stated to be the equivelent of 34 million Galleons. That also works out to a value of £5 to the Galleon, at the exchange rate of the time. The price listed on the back of the books, however, is not correct, since US$3.99 would equal less than half a British pound, or 8 sickles and 15 knuts. The book instead incorrectly lists US$3.99 as being equal to 14 sickles and 3 knuts. (Unfortunately, CNN.com uses this incorrect value for their Knuts-to-dollars converter.) This gives us approximate values as follows: 1 bronze Knut = £0.01 (US about 2 cents) 1 silver Sickle = £0.29 (about US$0.57) 1 Galleon = £5.00 (more or less US$9.75) These rates vary as the exchange rate fluctuates - see the Wizarding World Currency Converter for the current rate. Now looking at the quote Hagrid helped Harry pile some of it into a bag. and Right, that should be enough fer a couple o' terms, we'll keep the rest safe for yeh. Obviously \"some\" is unspecified, but presuming the costs of ... Typical elementary-school textbooks cost more than $100 each He would be carrying at least 10 galleons for each school book, and going by the list of books just for his first year, (Thanks Ibid!) COURSE BOOKS All students should have a copy of each of the following: The Standard Book of Spells (Grade 1) by Miranda Goshawk A History of Magic by Bathilda Bagshot Magical Theory by Adalbert Waffling A Beginners’ Guide to Transfiguration by Emeric Switch One Thousand Magical Herbs and Fungi by Phyllida Spore Magical Drafts and Potions by Arsenius Jigger Fantastic Beasts and Where to Find Them by Newt Scamander The Dark Forces: A Guide to Self-Protection by Quentin Trimble (Harry Potter and Philospher's Stone, Chapter 5) That's 80 Galleons just for books. This does not include the list of other expenses Harry has for his school years (wand, potion reagents, etc.) How many Galleons is \"some\" or is Diagon Alley selling supplies for third world prices? Sidenote, is this just a case of bad JK maths?",
"How do you get to the Secret Room in the Tavern? My friend and I noticed that there seems to be an inaccessible room in the Tavern with something behind it. We saw that there was a Treasure Chest seemingly floating somewhere off the map. In addition, if you walk up to the second floor of the Tavern and position your camera through the wall just right, you can highlight something called the Defender's Forge. Confirmation of the speculation was confirmed in the notes for the 7.07 patch, which had a note that said the following: Moved bonus-item crates back into the main section of the Halloween Tavern, out from the Secret Room. What is this Secret Room? How do I get there? Do I need to beat the campaign first or something else?",
"How do you do a deep copy of an object in .NET? I want a true deep copy. In Java, this was easy, but how do you do it in C#?",
"The set of integers $n$ expressible as $n=x^2+xy+y^2$ Let $S$ be the set of integers $n$, such there exist integers $x,y$ with $$n=x^2+xy+y^2$$ Is the implication $$a,b\\in S\\implies ab\\in S$$ true? If yes, how can I prove it? I worked out $$n\\in S\\iff 4n\\in S$$ and $$n\\in S\\iff 3n\\in S$$ I tried two approaches. The first is to express $$(a^2+ab+b^2)(c^2+cd+d^2)$$ in the form $$f^2+fg+g^2$$ with polynomials $f,g$ with integer coefficients. I however could not find suitable $f$ and $g$. The second approach is based on $$x^2+xy+y^2=\\frac{(2x+y)^2+3y^2}{4}$$ If we have $n=x^2+xy+y^2$ , we have $u^2+3v^2=4n$ for some integers $u,v$ with equal parity. The main problem of this approach is to consider the equal parity. Any ideas ?",
"How to configure an exposed filter in a view using a date picker?",
"What is the grammar behind \"Thanks be to God\"?",
"How to pronounce \"Moderators's\"? If I want to use the plural of "moderator" and also add the apostrophe plus S, how do I pronounce it? How do native speakers pronounce it? Moderators = moderatorz Moderators's = moderatorziz or just moderatorz? A sentence is: "I always thought that moderators's decisions seemed fairly arbitrary." I guess moderatorziz is correct but it sounds weird to me. Do native speakers pronounce it as moderatorziz?",
"Extracting raster values at points using Open Source GIS?",
"I want the QED symbol to be 1 line lower at the end of proof",
"I'm really new to Mac OSX and UNIX based systems. I wanted to run a few Windows games on my Mac Mini so I started installing Wine and MacPorts. I think the installs are correct, but when I type sudo port install wine I see a not found error in my terminal. I tried other basic commands like say and clear and all of them return the same not found error. My research shows that my PATH might be incorrectly set, but it lacks steps I can implement. Specifically, I ran this command: echo $PATH and it returned: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin I'm a complete newbie to mac and have no idea where .bash_profile or any of those files are. My skills let me install Xcode and the Command Line tools for Xcode and I sense I need to level up on path management. At this point I need help managing my dot files and changing my path to fix these specific errors on Mountain Lion. What are my next steps?",
"At which embassy should I apply for a Schengen visa when staying a few days in several countries? I'm planning to go to Germany on Sept 6-8, then Netherlands on Sept 8-11 and exit Switzerland on Sept 11-14. My question is: Which embassy do I need to apply for the Schengen visa? The number of days are the same for Netherlands and Switzerland, but I'm planning to apply in Netherlands since it will be my second point of entry."
] |
medi_sts_stackexchange_dupe
|
How to print the set of 3 from the list?
|
What is the most "pythonic" way to iterate over a list in chunks?
|
[
"Why do variable names often start with the letter 'm'?",
"Show that the set of all $x$ such that $x \\in P$ and $x \\notin Q$ exists I have to show that set of all $x$ such that $x \\in P$ and $x \\notin Q$ exists. So, I think I have to assume that sets $P$ and $Q$ already exist. So, with that, I can use . This axiom is $$ \\forall w_1,\\cdots, w_n \\, \\forall A \\,\\exists B \\,\\forall x \\left( x \\in B \\Longleftrightarrow [ x \\in A \\wedge \\varphi(x,w_1, \\cdots , w_n, A)] \\right) $$ So, I will let $\\varphi(x, Q, P) = x \\in P \\text{ and } x \\notin Q $. Also, I will let $A = P$ and $w_1 = Q $. So using universal instantiation, I get the following $$ \\exists B \\,\\forall x \\left( x \\in B \\Longleftrightarrow [ x \\in P \\wedge \\varphi(x, Q, P)] \\right) $$ And using, existential instantiation, there exists a set $B$ such that $$ \\forall x \\left( x \\in B \\Longleftrightarrow [ x \\in P \\wedge \\varphi(x, Q, P)] \\right) $$ Using the definition of $\\varphi(x, Q, P)$, this can be simplified as following $$ \\forall x \\left( x \\in B \\Longleftrightarrow [ x \\in P \\wedge x \\in P \\wedge x \\notin Q] \\right) $$ $$ \\forall x \\left( x \\in B \\Longleftrightarrow [ x \\in P \\wedge x \\notin Q] \\right)$$ $$ \\forall x \\left( x \\in B \\Longleftrightarrow x \\in \\{ x \\,| x \\in P \\text{ and } x \\notin Q \\} \\right)$$ Now, using , it will follow that $$ B = \\{ x \\,| x \\in P \\text{ and } x \\notin Q \\} $$ And, since $B$ exists, this means that $\\{ x \\,| x \\in P \\text{ and } x \\notin Q \\} $ also exists. Is the proof good ?",
"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 can an uneducated but rational person differentiate between science and religion? I recently found myself unable to respond to the statement \"But the big bang theory is just another creation myth!\" during a science vs. religion argument. I found it very difficult to explain the difference between the big bang theory and creation myths without going through a crash course in Newtonian and then Relativistic mechanics. This had me thinking of the following scenario: Consider a person who for various reasons never got a formal education beyond basic reading and writing. He/She doesn't know any science or math, and was never exposed to any scientific reasoning and experiments. She/He is however an open minded, level headed, and rational person (I've met more than one such person myself). How would such a person differentiate science from religion? As far as he/she is concerned science has the exact same structure as religion: A hard to understand scripture: Science treatises and journal papers. An ordained clergy with a high entry barrier: Doctors, professors, scientists, etc... Seemingly arbitrary injunctions against certain behaviors: \"Don't smoke\", \"Don't pollute\",.... Various metaphysical (from his/her perspective) claims about the world around us: The big bang, other galaxies, blackholes, quarks,... Organizations which control and oversee doctrine: The FDA, The NIH, The NFS,... From his/her perspective, all of these characteristics are no different than the way organized religion presents itself as being the source of truths about the world. In particular if such a person were to heed the advice of the : Do not go upon what has been acquired by repeated hearing (anussava), nor upon tradition (paramparā), nor upon rumor (itikirā), nor upon what is in a scripture (piṭaka-sampadāna) nor upon surmise (takka-hetu), nor upon an axiom (naya-hetu), nor upon specious reasoning (ākāra-parivitakka), nor upon a bias towards a notion that has been pondered over (diṭṭhi-nijjhān-akkh-antiyā), nor upon another's seeming ability (bhabba-rūpatāya), nor upon the consideration, The monk is our teacher (samaṇo no garū) Kalamas, when you yourselves know: \"These things are good; these things are not blamable; these things are praised by the wise; undertaken and observed, these things lead to benefit and happiness,\" enter on and abide in them.' Following the Buddha's advice (ironically himself a religious figure), such a rational but uneducated person would have just as much reason to doubt the various results of scientists as to doubt the dogmas of organized religion. How would it be possible for such a person to distinguish scientific facts from religious dogma? How can we convince such a person of the validity of ideas like those of modern cosmology or evolutionary biology, without first having to teach them enough biology and physics to understand those concepts?",
"I never want my PNGs to be interlaced. So I wish I could set a bunch of option defaults in the application so that I am saving time when outputting a lot of images as PNG over the course of a day working in Photoshop. Does anyone know if this is possible in Photoshop without using Actions OR the Save-for-Web option?",
"How is the Integral of $\\int_a^bf(x)~dx=\\int_a^bf(a+b-x)~dx$ Can Some one tell me what this method is called and how it works With a detailed proof $$\\int_a^bf(x)~dx=\\int_a^bf(a+b-x)~dx$$ I've been using this a lot in definite integration but haven't seemed to have realized why it is true. But whatever it is it always seems to work. Basically a proof of how it is always true.",
"What to do with sudden wealth?",
"What are the pros and cons of engineered hardwood? Are there any downsides to engineered hardwood? I'm looking to install hardwood in dining room and kitchen areas.",
"'was' versus 'had been' When I asked the driver/ to come with me to the temple/ he had been reluctant./ No error. I think instead of 'had been', there should be 'was'. Even the answer key points that the error is in the 'he had been reluctant' part. But I am not sure why exactly is 'had been' wrong. If we replace the first part with 'when I had asked the driver', would that make 'had been' in the third part correct?",
"Remote desktop without a password I have an HTPC with a user that has no password and autologin. I want to be able to connect to it via Remote Desktop without a password, so I can login with the original user. (I don't want to add another user just for the mstsc) Is there a way of doing that? The OS is Windows 7, 32bit.",
"Rendered image doesn't show what Rendered Viewport shows... (pictures below)",
"How can I add vertices to intersection of two edges? I need to put a point at the intersection of two edges. Below is a picture with red circles around where I need points to be placed.",
"Is there a drupal.org API for retrieving the list of available modules?",
"Prove the inequality and limitation Suppose $\\{a_k\\}$ ,$\\{b_k\\}$ and $\\{\\xi_k\\}$ are non negative, and for all $k\\ge 0$ , we have $$a_{k+1}^2\\le(a_k+b_k)^2-\\xi_k^2$$ Prove 1.$$\\sum_{i=1}^{k}\\xi_i^2\\le(a_1+\\sum_{i=0}^kb_i)^2$$ 2. If $\\{b_k\\}$ also satisfy $\\sum_{k=0}^{\\infty}b_k^2\\lt+\\infty $, then $$\\lim_{k\\to\\infty}\\frac{1}{k}\\sum_{i=1}^k\\xi_i^2=0$$ After doing this transformation:$$\\xi_k^2\\le(a_k+b_k)^2-a_{k+1}^2$$ $\\Rightarrow$ $$\\sum_{i=1}^{k}\\xi_k^2\\le(a_1+b_1-a_2)(a_1+b_1+a_2)+(a_2+b_2-a_3)(a_2+b_2+a_3)+\\cdots(a_k+b_k-a_{k+1})(a_k+b_k+a_{k+1})$$ then I can't move forward any more.",
"Why is $\\frac{1}{\\infty } \\approx 0 $ and $ \\frac{1}{0} = {\\infty}$? First I have checked the search option but found nothing relevant to my problem and also level of math. I just started learning the language of mathematics, on my own and I have trouble understanding why $ \\frac{1}{\\infty } \\approx 0 $ and why $\\frac{1}{0} = {\\infty}$? I want to know how exactly do I get to these answers. It might sound strange but it's hard for me as a beginner to picture things like this on my own.",
"In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically created by the compiler. What files can I safely delete?",
"The first given name of an author or editor in my bibliography should be written out, but all further first names should be abbreviated (initials with a period -- and space if there are multiple first names/initials, see below). I am using style=authoryear with BibLaTeX (v. 2.7) and Biber (v. 1.7). My bibliography looks like this: Doe, John Arthur Kyle (2013). The secret life of John Doe. It should look like this: Doe, John A. K. (2013). The secret life of John Doe. Minimal example: example.tex \\documentclass{scrartcl} \\usepackage[ngerman]{babel} \\usepackage[babel,german=quotes]{csquotes} \\usepackage[backend=biber,style=authoryear]{biblatex} \\bibliography{bibliography} \\begin{document} \\cite[123]{Doe} \\printbibliography \\end{document} bibliography.bib @book{Doe, title = {The secret life of John Doe}, author = {Doe, John Arthur Kyle}, year = {2013} } (Worked with said versions of BibLaTeX and Biber, Texmaker (v. 4.0.3) and MiKTeX (v. 2.9.4813).) I could not find a solution in biblatex.def and firstinits=true abbreviates all first names, including the first one.",
"How do the radian have a unit?",
"and is such interpretation the norm? When something went from 4 units to 8 units, most authoritative sources seem to agree with the use of \"a two-fold increase\", even though what was actually increased is more like \"one-fold\", i.e. the original quantity. But if the \"two-fold increase\" is the correct usage, why most people seem to interpret \"a 100% increase\" the same thing?",
"Is it possible to extend a tourist Schengen visa (12 more days)?"
] |
medi_sts_stackexchange_dupe
|
Purchasing genuine Ubuntu
|
Is Ubuntu an open source software?
|
[
"Is GTA Online cross-platform? Grand Theft Auto Online exists on five different platforms: XBox 360, PS3, XBox One, PS4, and PC. Do any of these play on the same servers, allowing people on differing platforms to play together?",
"So i was reading about on Wiki and I found a interesting thing written there . It says that the S. radius of the universe is as big as the size of the universe? How is this possible? Since most the universe is empty space shouldn't the S. radius of our universe be significantly smaller then 13.7 light years?",
"Tips to extend battery life for laptops and notebooks This question is present as a matter of historical interest. While you are encouraged to help maintain its answers, please understand that \"big list\" questions are not generally allowed on Ask Ubuntu and will be closed per the . It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages. What tricks or tips do people have for getting an extra hour or two out of their batteries?",
"I'm pulling items out of the DOM with jQuery and want to set a property on an object using the id of the DOM element. Example const obj = {} jQuery(itemsFromDom).each(function() { const element = jQuery(this) const name = element.attr('id') const value = element.attr('value') // Here is the problem obj.name = value }) If itemsFromDom includes an element with an id of \"myId\", I want obj to have a property named \"myId\". The above gives me name. How do I name a property of an object using a variable using JavaScript?",
"I did a dumb thing... I forgot that Ubuntu 10.04 (Lucid Lynx) switched to 2 which puts a ton of *.mod files (kernel modules) in /boot/grub. I thought they were soundtrack files put there erroneously, and I moved them. Needless to say, the next reboot was traumatic. I was presented with something I had no memory of ever seeing... a 'grub rescue>' prompt. With the help of however, I was able to recover... I discovered that GRUB rescue does not have 'cd', 'cp' or any other filesystem commands except its own variation of 'ls'. So first I had to find the partition with the /boot directory containing vmlinuz file and other boot image files... (approximation from memory of failed attempts, as well as blank lines for clarity, added 2014-07-10 by docsalvage) grub rescue> ls (hd0,4) (hd0,3) (hd0,2) (hd0,1) grub rescue> ls (hd0,4)/boot ... some kind of 'not found' message grub rescue> ls (hd0,3)/boot ... some kind of 'not found' message grub rescue> ls (hd0,2)/boot ... grub ... initrd.img-2.6.32-33-generic ... vmlinuz-2.6.32-33-generic I found a /boot directory containing the vmlinuz file vmlinuz-2.6.32-33-generic on partition (hd0,2). Then I manually booted from the 'grub rescue>' prompt. The following commands will... Set the root to use the /boot directory on partition (hd0,2). Load kernel module linux. Set that module to use the kernel image vmlinuz-2.6.32-33-generic. Set initrd(initialize RAM disk) to use the image initrd.img-2.6.32-33-generic. Boot Linux. grub rescue> set root=(hd0,2)/boot grub rescue> insmod linux grub rescue> linux (hd0,2)/boot/vmlinuz-2.6.32-33-generic root=/dev/sda2 grub rescue> initrd (hd0,2)/boot/initrd.img-2.6.32-33-generic grub rescue> boot This boots and crashes to the BusyBox prompt which DOES have some rudimentary filesystem commands. Then I moved the *.mod files back to the /boot/grub directory... busybox> cd /boot busybox> mv mod/* grub busybox> reboot The reboot was successful, but that was a lot of work. Is there an easier way?",
"Show $d_{1}(x_{n},x)\\rightarrow{0}$ if and only if $d_{2}(x_{n},x)\\rightarrow{0}$. Let $X=(0,\\infty)$. Define two metrics on $X$ by $d_{1}(x,y)=|x-y|$ and $d_{2}(x,y)=|x-y|+|\\frac{1}{x}-\\frac{1}{y}|$ for all $x, y \\in{X}$. Let $(x_{n})$ be a sequence in $X$ and $x\\in{X}$. Show $d_{1}(x_{n},x)\\rightarrow{0}$ if and only if $d_{2}(x_{n},x)\\rightarrow{0}$. Note: $d_{1}$ and $d_{2}$ are then said to be equivalent metrics on $X$. Since $d_{1}$ and $d_{2}$ are equivalent metrics, will it be sufficient to show $c*d_{2}(x,y)\\leq{d_{1}(x,y)}\\leq{C*d_{2}(x,y)}$? So far I have the following: $d_{1}(x,y)=|x-y|\\leq{|x-y|+|\\frac{1}{x}-\\frac{1}{y}|}=d_{2}(x,y)$. Therefore, $d_{1}(x,y)\\leq{C*d_{2}(x,y)}$ where $C=1$. Is there a $c$ that would satisfy the left-hand side of the inequality? Any help would be appreciated. (this is not homework)",
"How to detect when a variable changes value How can I easily detect when a variable changes value? I would like the execution of the program to break on the debugger whenever a specified variable changes value. Right now I'm using Eclipse's debugger.",
"\"Nobody want to go there,\" or \"nobody wants to go there\"? In English, the number 0 is treated as plural. It is then: 0 seconds 1 second 1.2 seconds 2 seconds Shouldn't it be \"nobody want to go there,\" instead of \"nobody wants to go there\"? I also saw in TOEFL that \"any __\" should be used with a singular. But I see it very common that it is a plural also. Why is that? (updated: example, \"we don't have any apples any more\" vs \"If you get any apple, please let me know.\")",
"I would appreciate if someone could help me write the mathematical equation for the seasonal ARIMA (2,1,0) x (0,2,2) period 12. I'm a little confused with how to go about this. I would prefer an equation involving $Y_t , e_t, θ$ and $Θ$.",
"com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure",
"I know it is possible for a group $G$ to have normal subgroups $H, K$, such that $H\\cong K$ but $G/H\\not\\cong G/K$, but I couldn't think of any examples with $G$ finite. What is an illustrative example?",
"Prove that if $(ab)^i = a^ib^i \\forall a,b\\in G$ for three consecutive integers $i$ then G is abelian",
"Today, comparing processors is obviously not just looking at the frequency and the number of cores. When choosing a new PC, how do you compare processors? Is there some resource, like a site or something that does (not necessarily super-precise) processor comparisons? Thanks.",
"Please rate and comment. I want to improve; constructive criticism is highly appreciated. Please take style into account as well. The following proof is solely based on vector space related axioms. Axiom names are italicised. They are defined in Wikipedia (see vector space article). Vector spaces - Multiplying by zero scalar yields zero vector \\begin{array}{lrll} \\text{Let} & \\dots & \\text{be} & \\dots \\\\ \\hline & F && \\text{a field.} \\\\ & V && \\text{a vector space over $F$.} \\\\ & 0 && \\text{an identity element of addition of $F$.} \\\\ & \\mathbf{0} && \\text{an identity element of addition of $V$.} \\\\ & \\mathbf{v} && \\text{an arbitrary vector in $V$.} \\\\ \\end{array} $$\\text{Then, }0\\mathbf{v} = \\mathbf{0}.$$ Proof. We will denote by $1$ an identity element of scalar multiplication; we will denote by $(-\\mathbf{v})$ an additive inverse of $\\mathbf{v}$. \\begin{align*} 0\\mathbf{v} &= 0\\mathbf{v} + \\mathbf{0} && \\text{by }\\textit{Identity element of vector addition} \\\\ &= 0\\mathbf{v} + (\\mathbf{v} + (-\\mathbf{v})) && \\text{by }\\textit{Inverse elements of vector addition} \\\\ &= (0\\mathbf{v} + \\mathbf{v}) + (-\\mathbf{v}) && \\text{by }\\textit{Associativity of vector addition} \\\\ &= (0\\mathbf{v} + 1\\mathbf{v}) + (-\\mathbf{v}) && \\text{by }\\textit{Identity element of scalar multiplication} \\\\ &= ((0 + 1)\\mathbf{v}) + (-\\mathbf{v}) && \\text{by }\\textit{Distributivity of scalar multiplication (field addition)} \\\\ &= ((1 + 0)\\mathbf{v}) + (-\\mathbf{v}) && \\text{by }\\textit{Commutativity of field addition} \\\\ &= (1\\mathbf{v}) + (-\\mathbf{v}) && \\text{by }\\textit{Identity element of field addition} \\\\ &= \\mathbf{v} + (-\\mathbf{v}) && \\text{by }\\textit{Identity element of scalar multiplication} \\\\ &= \\mathbf{0} && \\text{by }\\textit{Inverse elements of vector addition} \\\\ \\end{align*} QED",
"#!/bin/bash echo \"$(curl -s -I https://google.com|grep Server)\" abc returns: abcer: gws and bash -x shows: ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws abcer: gws but echo abc \"$(curl -s -I https://google.com|grep Server)\"` returns abc Server: gws In other words, if I add text AFTER the curl command, it gets mangled, but it's ok if I add it before curl. What is happening? I cannot figure it out.",
"How do I read an entire file into a std::string in C++? How do I read a file into a std::string, i.e., read the whole file at once? Text or binary mode should be specified by the caller. The solution should be standard-compliant, portable and efficient. It should not needlessly copy the string's data, and it should avoid reallocations of memory while reading the string. One way to do this would be to stat the filesize, resize the std::string and fread() into the std::string's const_cast<char*>()'ed data(). This requires the std::string's data to be contiguous which is not required by the standard, but it appears to be the case for all known implementations. What is worse, if the file is read in text mode, the std::string's size may not equal the file's size. A fully correct, standard-compliant and portable solutions could be constructed using std::ifstream's rdbuf() into a std::ostringstream and from there into a std::string. However, this could copy the string data and/or needlessly reallocate memory. Are all relevant standard library implementations smart enough to avoid all unnecessary overhead? Is there another way to do it? Did I miss some hidden Boost function that already provides the desired functionality? void slurp(std::string& data, bool is_binary)",
"How to Draw 2 Functions In Tex",
"Logitech SetPoint software button remapping My Logitech G5 Laser mouse has 9 buttons but it's SetPoint software only allows 5 of them to be used as \"mouse buttons\" and the remaining 4 can only be assigned special windows functions (Forward, Back, Cruise Up, etc) or Keystroke Assignments. Many of the games I play will take up to 10 \"MOUSE BUTTON\" inputs for in-game actions but wont recognize the remaining 4 buttons even when assigned keystroke assignments. Is there a way to make these last 4 buttons \"Generic Buttons\" as well as buttons 3,4,and 5? (1 is left click and 2 is right click). My other question is if the above is not possible, maybe I can use AutoHotkey to remap keystrokes as assigned by my SetPoint software to mouse button commands? If so how?",
"How to reinstall PulseAudio (Ubuntu 12.04)",
"Prove $\\alpha \\in R[[x]]$ is a unit iff $a_0 \\in R$ is a unit Prove $\\alpha \\in R[[x]]$ is a unit iff $a_0 \\in R$ is a unit. $\"\\Rightarrow\"$ suppose $\\alpha \\in R[[x]]$ is a unit, where $\\alpha = \\sum_{n=0}^{\\infty} a_nx^n$ then there exists an inverse $\\beta = \\sum_{n=0}^{\\infty} b_nx^n$ stuck at this spot, $(\\sum_{n=0}^{\\infty} a_nx^n)(\\sum_{n=0}^{\\infty} b_nx^n) = \\sum_{n=0}^{\\infty}(\\sum_{k=0}^{n}(a_kb_{n-k}))x^n$ A little mixed up on how this becomes $1 = \\sum_{n=0}^{\\infty}e_nx^n$ where $e_0 =1, e_{n>0} = 0$ and why that would make $a_0b_0 = 1$ which would make $a_0 \\in R$ a unit. I haven't tried the other direction yet. EDIT Maybe I get it, because we assumed this sum is a unit then its inverse exists and so the $x^0=1$ and all $a_ib_i=1$ thus $a_0b_0=1$ which gives $a_0$ is a unit in $R$"
] |
medi_sts_stackexchange_dupe
|
How to number each equation of simultaneous equations grouped by a left curly brace?
|
Separate labels in cases
|
[
"Command to move a file to Trash via Terminal",
"How to compute prediction bands for non-linear regression?",
"How do I make Git use the editor of my choice for commits?",
"Prove that $Au\\cdot v = u\\cdot A^Tv$ Let A be an $n$ x $n$ matrix and let $u$,$v$ $\\in$ $\\mathbb{R^n}$. Prove that $$Au\\cdot v = u\\cdot A^Tv$$ I tried using the fact that $A^Tu=A\\cdot u$. However, I cannot seem to get to this result. Could anyone please help me out?",
"Difference between wouldn't and didn't What is the difference between would not and did not? For example: I called my girlfriend but she wouldn't stop. I called my girlfriend but she didn't stop.",
"Add new user and add meta at once",
"Multiple Damage Resistance Similar questions to this have been asked, but I wasn't able to find one that answers this specifically. Say that you have resistance to slashing damage as well as resistance to fire damage (no caveats to nonmagical damage or not). You are fighting someone who has a flaming greataxe (just an enchanted item) that deals 1d12+STR slashing damage, plus 1d6 fire damage on hit and they hit you. How do you calculate the damage? (1d12+1d6+STR)/2 (1d12/2) + (1d6/2) + STR (1d12+STR/2) + (1d6/2) something else?",
"I have a Git repo that I have deleted four files from using rm (not git rm), and my Git status looks like this: # deleted: file1.txt # deleted: file2.txt # deleted: file3.txt # deleted: file4.txt How do I remove these files from Git without having to manually go through and add each file like this: git rm file1 file2 file3 file4 Ideally, I'm looking for something that works in the same way that git add . does, if that's possible.",
"Cannot remove a repository that complains it has no public key",
"I marinated chicken five days ago in lemon juice, seasoned salt, and garlic powder, is it still safe to cook in the oven?",
"Debugging automatic properties",
"How do I preview tag wiki exerpt? How do I put a link there? I've edited to include a link into exerpt. But it shows Markdown source of the link instead of actual link. How do I preview the exerpt while editing it? Where to find syntax and available Markdown features in exerpts? How do I include the link properly?",
"How to connect Android with MySQL using Mysql JDBC driver",
"Laptop w/o battery US bound flight? According to some reports, your electronic devices are checked whether they turn on before you can get on a US bound flight. What if I carry around a laptop without a battery?",
"Let $x, y$ and $z$ be real numbers such that $x^2+ y^2+ z^2= 1$. Find the maximum and minimum values of $2x + 3y + z$ . How can I able to solve the problem? Thanks for your help.",
"Comparing two Lists and returning the distinct values and the differences",
"close votes vs votes remaining I am new to the review part of Stack Overflow and I am trying to understand what is the meaning of votes remaining in the Review | Close Vote. For example: Today I was at my 39 vote and it said that there was still 21 votes remaining. However, after my 40 vote: So, apparently I have started with 60 votes but I can use only 40?",
"I know that the emergency services can be called FREE in the UK by dialing 999 and in the US by dialing 911. What I don't know is the number to call in other countries and if there is a cost involved. This is something I think most people should find out before travelling but many don't (including me). Hopefully this will help me and other people.",
"I have question about ArcGIS and python script. There are following sample code, So I would like to change Another Field , not OIDFieldName. Please let me know how to change Another Field. import arcpy import itertools arcpy.env.workspace = r\"C:\\path\\to\\workspace\" base_shapefile = \"some_shapefile.shp\" oid_field = arcpy.Describe(base_shapefile).OIDFieldName feature_count = int(arcpy.GetCount_management(base_shapefile).getOutput(0)) for (i, j) in itertools.combinations(range(feature_count), 2): arcpy.Select_analysis(base_shapefile , \"combination_%i_%i.shp\" % (i, j), '\"%s\" in (%i, %i)' % (oid_field, i, j)) These sample code is combination for 5C2. I want to create all combiantions 5C3 , 5C4 , 5C5.",
"Stack Exchange doesn't know when I last checked my global inbox? I am subscribed to get my unread inbox items every 3 hours. It's working well, but today I noticed something quite weird: For sake of future search, adding the text: The following item was added to your Stack Exchange global inbox since you last checked it on 2015-05-18 But that's just not true, I checked my inbox yesterday. Not 7 months ago. Can it be fixed, or did I miss something? Even going to my did not "fix" this, got today another email with the same date as yesterday."
] |
medi_sts_stackexchange_dupe
|
Open a link to different browser
|
Can I force a link to open in a specific browser?
|
[
"Can I play against or with Xbox 360 players through my Xbox One? Is it possible to play against and with Xbox 360 players through my Xbox One?",
"I'm making a call: myResult = MakeMyCall(inputParams, out messages); but I don't actually care about the messages. If it was an input parameter I didn't care about I'd just pass in a null. If it was the return I didn't care about I'd just leave it off. Is there a way to do something similar with an out, or do I need to declare a variable that I will then ignore?",
"Getting an error that a flow \"was\" activate and cannot be overwritten",
"I am Haitian, and traveling with a Haitian passport. I have to go to London with a work permit (tier 2 visa) on the 29th of July but I have 2 hour transit in Dublin. Do I need a transit visa? Can I get it at the airport? I also have a valid US visa.",
"I have this MySQL query using that is the following: SELECT * FROM data_tbl WHERE AES_DECRYPT(data_point,'aBcDeF')='data_1'; I've figured out as much that the equivalent in Postgres 11 is (F.25.4. Raw Encryption Functions) and the query would look something like this: SELECT * FROM data_tbl AND decrypt(data_point,'aBcDeF','aes')='data_1'; At least, the documentation for both leads me to believe that these are equivalent. The data was dumped from MySQL and imported into PostgreSQL. The data-point field in MySQL is type varbinary(255) and the values all show BLOB in MySQL Workbench. The data_point field in Postgres is type bytea and the values all show [binary data] in pgAdmin. Whether those data types are equivalent, I admit, I'm not sure. The MySQL query works and finds a record based on he criteria. The PostgreSQL does not, although the record is in there. So it seems like one of three things: The data types (varbinary(255) vs bytea) are not equivalent The data does not match (BLOB vs [binary data]) are not equivalent The functions (AES_DECRYPT vs decrypt()) are not equivalent I did try to decrypt the value in PostgreSQL just to see what it is in a readable format by first trying: SELECT decrypt(data_point, 'aBcDeF', 'aes') FROM data_tbl; But that just returned [binary data] for all the rows. Then I came across to use convert_from as in: SELECT convert_from(decrypt(data_point, 'aBcDeF', 'aes'), 'SQL_ASCII') FROM data_tbl; However, I just get this error: ERROR: invalid byte sequence for encoding \"UTF8\": 0xcf 0xf5 SQL state: 22021 So at this point I'm stumped as to how to resolve the primary issue. The primary issue being doing the equivalent of AES_DECRYPT but in PostgreSQL 11. The last error message isn't so much an issue, but it is likely related to decrypt() not returning the same results. Any suggestions?",
"What’s the best way to reload / refresh an iframe?",
"Create a page for useful links?",
"I have start point and end point of a polyline. How can I get a point on that polyline from end points specified by the given distance. How can I get this by using arcpy provided that this script should work on ArcView without importing any modules (). I'm trying not to hard code values. Related Question:",
"In Star Wars: \"The Force Awakens,\" how could this lightsaber have turned up where it did? In The Force Awakens: Maz Kanata tells Rey that the lightsaber she just picked up and had visions from belonged to Anakin and Luke and now it's hers. The lightsaber that Luke got from Obi-Wan Kenobi in A New Hope was lost/destroyed when Luke fought Darth Vader in Star Wars: The Empire Strikes Back. In Return of the Jedi Darth Vader compliments Luke on building a new lightsaber and tells Luke that his skills are now complete. How could that possibly be the lightsaber that Anakin used originally, and that was then passed on to Luke, when that lightsaber no longer exists? Writers notes, director's notes, interviews, cast interviews, etc. are welcome. Thanks.",
"From the : -exec command ; There are unavoidable security problems surrounding use of the -exec action; you should use the -execdir option instead. -execdir command {} + Like -exec, but the specified command is run from the subdirectory containing the matched file, which is not normally the directory in which you started find. This a much more secure method for invoking commands, as it avoids race conditions during resolution of the paths to the matched files. What does this mean? Why are there race conditions with running it from the starting directory? And how are these security risks?",
"In an ideal case, we assume strings and ropes to be massless and having same tension throughout. However, I was doing some questions which involved a rope with mass. The question was that if a uniform thick rope of length 5 m is resting on a horizontal smooth (assume frictionless) surface and is pulled by a force of 5N from one end, then what is the tension in the rope at the point 1 m away from the end where force is applied? (sorry for the poor image) I came to the conclusion that since rope is not fixed, tension anywhere should be zero. However, when I checked the answer, it was 4 N. I failed to understand how. Then the next part of the question was that if the rope now hangs between two fixed points which are at same level, then what would be the tension in the rope at its lowest point? The answer has to be expressed in terms of mass of string m, acceleration due to gravity and $\\theta$ where $\\theta$ is the angle that tangents to the rope make with the horizontal. I took that force acting on lowest point is mg, since it is center of mass and hence T = mg. However, according to the answer it depends upon $\\theta$ as well. However, I failed to see what I was doing wrong? I would appreciate any help in solving these questions, since I have no clue of where exactly I am wrong. I did search the Internet and a few books, but everywhere they assumed string/rope to be massless.",
"The makes use of the term \"the author.\" When Bob makes a post, it's obvious Bob \"owns\" the content, but what happens when he checks the Community Wiki button? Does it become the property of the Stack Overflow community? Even if Bob is the only one to have edited it? Say I were to use a Community Wiki answer for something or other — say, in a book — who would I attribute the content to?",
"What does it mean for something to hold \"up to isomorphism\"?",
"Installing windows to dual-boot I'm looking to install 32-bit windows with IIS to dual-boot with my 64-bit edition of windows on a laptop. I have a ten gig partition on my harddrive - is this large enough for a simple Windows install and a few programs? I've never dual booted before, so I'm not quite sure how easy it is to mess up the process. Can you recommend any tutorials on how to set up a dual-boot configuration on Windows?",
"Should smilies be turned into images in questions and answers? A lot of mention has been made of the seriousness of Stack Overflow (and presumably Server Fault). Would it be a good idea to turn :-) into actual images as per in questions and answers?",
"Lisp Executable I've just started learning Lisp and I can't figure out how to compile and link lisp code to an executable. I'm using clisp and clisp -c produces two files: .fas .lib What do I do next to get an executable?",
"How does the Commander interact with Banishing Light or Oblivion Ring? What happens if a commander is sent to the command zone via and then enchantment is destroyed? Can the commander return to the battlefield from the command zone?. I think that would not allow that to happen.",
"How frequently can you ask for a personal reference without being disrespectful?",
"In his 1984 paper , Paul Holland raised one of the most fundamental questions in statistics: What can a statistical model say about causation? This led to his motto: NO CAUSATION WITHOUT MANIPULATION which emphasized the importance of restrictions around experiments that consider causation. Andrew Gelman makes : \"To find out what happens when you change something, it is necessary to change it.\"...There are things you learn from perturbing a system that you'll never find out from any amount of passive observation. His ideas are summarized in . What considerations should be made when making a causal inference from a statistical model?",
"How do you easily horizontally center a using CSS? I'm trying to horizontally center a <div> block element on a page and have it set to a minimum width. What is the simplest way to do this? I want the <div> element to be inline with rest of my page. I'll try to draw an example: page text page text page text page text page text page text page text page text ------- | div | ------- page text page text page text page text page text page text page text page text"
] |
medi_sts_stackexchange_dupe
|
How to create args[] from string in java
|
Split string on spaces in Java, except if between quotes (i.e. treat \"hello world\" as one token)
|
[
"If I add a new case class, does that mean I need to search through all of the pattern matching code and find out where the new class needs to be handled? I've been learning the language recently, and as I read about some of the arguments for and against pattern matching, I've been confused about where it should be used. See the following: Pro: and Con: The comments are pretty good in each case, too. So is pattern matching something to be excited about or something I should avoid using? Actually, I imagine the answer is \"it depends on when you use it,\" but what are some positive use cases for it and what are some negative ones?",
"I am getting a warning when trying to include the .net 3.5 sp1 prerequisite for my setup project. The warning states Prerequisite could not found for bootstrapping. Any suggestions? Thanks",
"how to output text to both screen and file inside a shell script? Currently I have a shell script which logs messages to a log file like this: log_file=\"/some/dir/log_file.log\" echo \"some text\" >> $log_file do_some_command echo \"more text\" >> $log_file do_other_command When executing this script, there is no output to screen, and, since I'm connecting to the server via putty, I have to open another connection and do \"tail -f log_file_path.log\", because I can't terminate the running script and I want to see the output in real time. Obviously, what I want is that the text messages are printed on screen and into file, but I'd like to do it in one line, not two lines, one of which has no redirection to file. How to achieve this?",
"In my book, the following are described to be the steps that one must follow if he wishes to find the direction of static friction force acting on an object: "(1) Draw the F.B.D(free body diagram) of the object in question with respect to the other object on which it is kept. (2) Include the pseudo force also, if the contact surface is accelerating. (3) Decide the direction of the resultant force and resolve this force into two components; one along the surface of contact and the other along the normal to this surface. (4) The direction of static friction is opposite to the component of the result force along the contact surface." Firstly, are these steps correct? Will I always obtain the correct answer by following these steps? Secondly, consider the following problem: In questions like these, when I try to find the resultant force and then assign the direction to static friction, I find that my answer is incorrect! Are there some other steps to follow when I know that the object is definitely accelerating in one direction or another? Edit 1: I approached the above question by doing exactly what my book suggests; first, I identified all the forces acting on the smaller block, being the normal force applied by the block A and its weight mg downward. Adding these two forces, I get another force that actually acts on the body like so: I wonder if I'm not supposed to take either of the contact forces into consideration when drawing the F.B.D to figure out the direction of static friction acting on the body. Also, are there other steps for finding the direction of kinetic friction? Edit 2: From Judge's answer, I have been able to figure out my mistake, it being that I completely missed step (3) and didn't resolve the resultant force into components! Sheesh. Sorry! Much thanks in advance! :) Regards.",
"Space after LaTeX commands",
"In an exercise in Atiyah-Macdonald it asks to prove that the prime spectrum $\\operatorname{Spec}(A)$ of a commutative ring $A$ as a topological space $X$ (with the Zariski Topology) is compact. Now because the basic open sets $X_f = \\{\\mathfrak{p} \\in \\operatorname{Spec} (A) : \\{f\\} \\not\\subseteq \\mathfrak{p} \\}$ form a basis for the Zariski Topology it suffices to consider the case when $$X = \\bigcup_{i \\in I} X_{f_i}$$ where $I$ is some index set. Then taking the complement on both sides we get that $$\\emptyset = \\bigcap_{i \\in I} X_{f_i}^c$$ so there is no prime ideal $\\mathfrak{p}$ of $A$ such that all the $f_i$'s are in $\\mathfrak{p}$. Now from here I am able to show that the ideal generated by the $f_i$'s is the whole ring as follows. Since there is no prime ideal $\\mathfrak{p}$ such that all the $f_i \\in \\mathfrak{p}$, it is clear that there is no $\\mathfrak{p}$ such that $(f_i) \\subseteq \\mathfrak{p}$ for all $i \\in I.$ Taking a sum over all the $i$ then gives $$\\sum_{i \\in I} (f_i) = (1).$$ Now here's the problem: How do I show from here that there is an equation of the form $1 = \\sum_{i \\in J} f_ig_i,$ where $g_i \\in A$ and $J$ some finite subset of $I$? This part has been giving me a headache. I am not sure if the finiteness bit has to do with algebra, topology or the fact that we are dealing with prime ideals. This is not a homework problem but rather for self-study. $\\textbf{Edit:}$ I have posted my answer below after the discussion with Dylan and Pierre.",
"How to determine the optimal control law? Given the differential equation $$\\dot x = -2x + u$$ determine the optimal control law $u = - kx$ that minimizes the performance index $$J = \\int_0^{\\infty} x^2 \\, \\mathrm d t$$ My approach was to find the state feedback $k$. But since the value of $R$ (positive semidefinite Hermitian) is not given, that means $R=0$. How do I determine the optimal control for this system where $R=0$?",
"I just recently completed a neutral run where I experimented seeing how the story would go on if I only killed certain characters (it was my second run, my first run was True Pacifist) and I ended up choosing to kill Flowey instead of letting him live. I planned to start a Genocide run after resetting the game, but Flowey was gone when i did. Flowey is basically the base for each story in undertale (pacifist and genocide) so I know I can't progress any further without him being here. I really just want to start anew and, without Flowey, I dont think I can access True Resets anymore. It may be possible if I did a genocide route, but then I'd have to fight Sans, and that would take FOREVER. Basically, I am wondering if I can erase all my progress somehow. I heard that True Resets don't erase everything entirely, so is there another way? Please respond, Undertale is the only game I have that's any fun and I don't want to have to buy another game.",
"Where to place my local website starting with the 2.4.7 version of apache2? I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened because Zend updated Apache. Whatever the reason may be, I want to know where to keep my php files so that I can access them from my browser.",
"I'm trying to prove that $e^{\\sqrt 2}$ is irrational. My approach: $$ e^{\\sqrt 2}+e^{-\\sqrt 2}=2\\sum_{k=0}^{\\infty}\\frac{2^k}{(2k)!}=:2s $$ Define $s_n:=\\sum_{k=0}^{n}\\frac{2^k}{(2k)!}$, then: $$ s-s_n=\\sum_{k=n+1}^{\\infty}\\frac{2^k}{(2k)!}=\\frac{2^{n+1}}{(2n+2)!}\\sum_{k=0}^{\\infty}\\frac{2^k}{\\prod_{k=1}^{2k}(2n+2+k)}\\\\<\\frac{2^{n+1}}{(2n+2)!}\\sum_{k=0}^{\\infty}\\frac{2^k}{(2n+3)^{2k}}=\\frac{2^{n+1}}{(2n+2)!}\\frac{(2n+3)^2}{(2n+3)^2-2} $$ Now assume $s=\\frac{p}{q}$ for $p,q\\in\\mathbb{N}$. This implies: $$ 0<\\frac{p}{q}-s_n<\\frac{2^{n+1}}{(2n+2)!}\\frac{(2n+3)^2}{(2n+3)^2-2}\\iff\\\\ 0<p\\frac{(2n)!}{2^n}-qs_n\\frac{(2n)!}{2^n}<\\frac{2}{(2n+1)(2n+2)}\\frac{(2n+3)^2}{(2n+3)^2-2} $$ But $\\left(p\\frac{(2n)!}{2^n}-qs_n\\frac{(2n)!}{2^n}\\right)\\in\\mathbb{N}$ which is a contradiction for large $n$. Thus $s$ is irrational. Can we somehow use this to prove $e^\\sqrt{2}$ is irrational?",
"Access 2007 Work in a separate file using ACCDE Have been working in an Access 2007 application for over 3 weeks and it should be ready now. Anyway, I know (and tried) that \"Make ACCDE\" can actually split the raw data from the application itself so you can run it using the Access RunTime. The question is... can I deploy my app for general use and modify a separate copy of the forms/views inside the application to deploy it when it´s ready without touching the data?",
"Does the proof of Bolzano-Weierstrass theorem require axiom of choice?",
"Does there exist an holomorphic function such that $|f(z)|\\geq \\frac{1}{\\sqrt{|z|}}$? I have some trouble solving this problem: Does there exist a holomorphic function $f$ on $\\mathbb C\\setminus \\{0\\}$ such that $$|f(z)|\\geq \\frac{1}{\\sqrt{|z|}}$$ for all $z\\in\\mathbb C \\setminus \\{0\\}$? I don't know where to start. My intuition is that you would get a problem with the singularity near $0$, but I am not sure how to prove it. Any help would be appreciated! Thanks!",
"1) How do I prove the following: Let A = {6a + 4b ∈ Z : a, b ∈ Z} and B = {2a ∈ Z : a ∈ Z}. Show that A = B. Thank you all for the help!",
"Why did the texture I painted in texture paint mode disappear? I was following a on how to use the Texture Paint feature on blender so I could paint on a terrain I am modeling. I was successful to paint the whole terrain with beautiful, exuberant vegetation, and crystalline water running through the valley. So I saved my file, and I went to sleep. But now I've reopened the file and everything seems like I left it yesterday, except that I can see no texture in the terrain... The weird thing is that the textures i used are still there... I don't understand, I barely understand the interface, please help. I'm not even sure if the texture is there or if it was never \"saved\" or something... I am now going through the second part of the tutorial for possible answers but I (and hopefully many more) will be grateful for your help.",
"Why are the objects in my hair particle system not sitting on top of the ground? I made a hair particle system and set the Dupli Group to a group of 3 objects. Each of the 3 objects has: it's origin set to be touching the XY plane (on layer 2) it's Scale applied to 1 and it's Rotation applied to 0 I am trying to get each of the objects to sit directly on top of the ground, but instead, they are centered in the plane, half above the plane and half below the plane: What am I doing wrong? Here is .",
"How does extra damage work for critical hits?",
"Can one executable be both a console and GUI application? I want to make a program that can be run as a CLI or GUI application depending on what flags are passed into it. Can this be done? I have found these related questions, but they don't exactly cover my situation:",
"Understanding QGIS buffer tool units",
"How to approximate the student-t CDF at a point without the hypergeometric function? Is there a way to closely approximate the CDF of a student-t distribution at a point $x$ without involving the hypergeometric function? For example, by using a series expansion, or expressing the CDF in terms of simpler functions? The t-distribution can $$t = \\frac{X\\sqrt{n}}{Y}$$ where $X$ is normally distributed with mean 0 and variance $\\sigma^2$; $\\frac{Y^2}{\\sigma^2}$ has a chi-squared distribution. Maybe this expression can help simplify the t CDF? I am trying to write an algorithm to compute the student-t CDF for any real number, so using the hypergeometric function will be extremely difficult. I am also trying to avoid integrating the PDF to get the CDF."
] |
medi_sts_stackexchange_dupe
|
Strange Unresolved external symbol errors (LNK2019)
|
Why can templates only be implemented in the header file?
|
[
"Mass Lead Conversion - Programmatically or Using Data Loader",
"Let's assume that one has some HP printer and/or scanner and checked its support status on the corresponding page of HPLIP site - . So one have the following information: the device Model name, Min. HPLIP Version and Driver Plug-in need. What should one install to make Ubuntu fully support the HP printer and/or scanner?",
"Drawing users' attention to unrecoverable actions?",
"\"happen to be\" and \"happen to have\" - expressions of probability? Based on Logman dictionary: happen to do something: if you happen to do something, you do it by chance. for example take a look at these examples: They happen to be unemployed at the time. I happen to have a degree in computer science. So based on the definition of the happen to do something, first one means they are probably unemployed at the time. and the second one means I probably have a degree in computer science. Am I right?",
"Is there any difference between mapping and function? I wonder if there is any difference between mapping and a function. Somebody told me that the only difference is that mapping can be from any set to any set, but function must be from $\\mathbb R$ to $\\mathbb R$. But I am not ok with this answer. I need a simple way to explain the differences between mapping and function to a lay man together with some illustration (if possible). Thanks for any help.",
"When training a neural network using the back-propagation algorithm, the gradient descent method is used to determine the weight updates. My question is: Rather than using gradient descent method to slowly locate the minimum point with respect to a certain weight, why don't we just set the derivative $\\frac{d(\\text{Error})}{dw}=0$, and find the value of weight $w$ which minimizes the error? Also, why are we sure that the error function in back-propagation will be a minimum? Can't it turn out the error function is a maximum instead? Is there a specific property of the squashing functions that guarantees that a network with any number of hidden nodes with arbitrary weights and input vectors will always give an error function that has some minima?",
"I want to create this: Note that wire lay chaotically, so spiral object not the same thing. There is a cool way to do this task in 3ds max: Basically he deform straight spline/curve and then bend it couple iterations (over 9000 degrees angle in max). Blender can't bend that way with simple deform as I know, only up to 360 degree. Is there any other way to make wire wrapping similar to photo?",
"What happens if you call erase() on a map element while iterating from begin to end? In the following code I loop through a map and test if an element needs to be erased. Is it safe to erase the element and keep iterating or do I need to collect the keys in another container and do a second loop to call the erase()? map<string, SerialdMsg::SerialFunction_t>::iterator pm_it; for (pm_it = port_map.begin(); pm_it != port_map.end(); pm_it++) { if (pm_it->second == delete_this_id) { port_map.erase(pm_it->first); } } UPDATE: Of course, I then which I didn't think would be related but answers my question.",
"All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when... just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an In what order should I try various solutions before deciding to pull the power plug? What should I do when starting up Ubuntu fails? Is there a diagnostic procedure I can follow?",
"Return a blank when cell reference is blank I am using the following formula in a Google Sheets to calculate the number of days between two dates (dates are in columns G and AL): =ARRAYFORMULA(if(row(A:A)=1, \"Readmission Days\", (G:G)-(AL:AL))) It has to be an array because I am working with a Google Forms and entries are automatically populated into new rows. The problem is that some of the cells in col AL are blank, so the formula is reading those dates as something else and returning a very large number. Also, when both cells are blank, the formula returns a 0, messing up my data. How can I include something to ignore blank cells or just return a blank when one or both cell references is blank?",
"Ubuntu 13.10 to 14.04 Lts does not upgrade, keeps showing error The update from Ubuntu 13.10 to 14.04 LTS does not work it keeps showing me an error as could not calculate the upgrade, even when I want it to get updated from the terminal it says the same error. I did not use the beta its the final Ubuntu 14.04 LTS.I have restarted my laptop for like 5-10 times no change. Disabling the software sources also does not help.",
"I have an unused copy of Mass Effect 2 Collector's Edition bought via Amazon.com in the US, including a special code for Inferno Armour (also unused). Will it work fine if I install and start playing the game in the UK? Does geographical location matter? Thanks!",
"I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java 7, I followed to install Java 6. But it doesn't work for Java 7. There is no package sun-java7-xxx. How can you install Java 7?",
"Concurrent requests limit exceeded - how to find the problematic code I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded. Our pages are built using AngularJS to remotely call Apex code. We are on an Unlimited Edition org and we are nearing 90% of our total allowed code. We have a lot of callouts to external services and many times these callouts can run long. We are now running into issues where users are seeing the \"Unable to Process Request - Concurrent requests limit exceeded\" error. The issue is there is so much code written by so many different developers it is hard to identify what/where the problematic code is. Sometimes users see this error when they are trying to perform a callout. Sometimes it's when they are inserting a record and triggers are firing. The long-running code issue can be anywhere in our org. Another issue is error handling has been done very poorly, so if any process does run long, we most likely are not looking for it or logging it. Other than enhancing the logging on our callouts, I do not know where to even begin to find other problematic code. Every developer before me has written code with no regards to limits, so inefficient code can be anywhere. Is there any way or best practice to being able to analyze such a complex org and find where the problems may be? All I can think of is enhanced logging EVERYWHERE, but that may not be the best approach and would be very time consuming, especially considering how many developers we have constantly writing and pushing new code. I have tried to replicate the issue in a sandbox however I cannot seem to get it working. I wrote Javascript to remotely call an Apex method that waits for 6 seconds. I called this remotely 11 times at once, causing 11 synchronous transactions running concurrently each longer than 5 seconds. However instead of getting the concurrent limit error, each Apex transaction just errors out with a timeout. Any help would be greatly appreciated. I am not familiar with the majority of the code/functionality of our org, so I do not know how to really solve this issue considering I don't even know what could be problematic aside from long running callouts. Thanks!",
"need to make salesforce app available in multiple language I want to make my appexchange app available in multiple language like Spanish, dutch etc. so that depend on the language of the user they can access the app. Is it possible in any way.. any help will be appreciated.. Thanks",
"Including the interaction but not the main effects in a model Is it ever valid to include a two-way interaction in a model without including the main effects? What if your hypothesis is only about the interaction, do you still need to include the main effects?",
"Prove that $|f''(\\xi)|\\geqslant\\frac{4|f(a)-f(b)|}{(b-a)^2}$ Let ${\\rm f}:\\left[a, b\\right]\\to\\mathbb{R}$ be twice differentiable, and suppose $$\\lim_{x\\to a^{+}} \\frac{{\\rm f}\\left(x\\right) - {\\rm f}\\left(a\\right)}{x - a} = \\lim_{x\\to b^{-}}\\frac{{\\rm f}\\left(x\\right) - {\\rm f}\\left(b\\right)}{x - b} =0 $$ Show that there exists $\\xi \\in \\left(a, b\\right)$ such that $\\displaystyle{% \\left\\vert\\vphantom{\\Large A}\\,{\\rm f}''\\left(\\xi\\right)\\right\\vert \\geq \\frac{4\\left\\vert\\vphantom{\\Large A}% \\,{\\rm f}\\left(a\\right) - {\\rm f}\\left(b\\right)\\right\\vert} {\\left(b - a\\right)^{2}}}$. I don't know how to start. Any hints ?.",
"How do I manage (add/remove) all the startup applications in Ubuntu 11.10 and up? Startup Applications doesn't show all the applications which are started during boot.",
"Geometric random variables $X_1:G(p_1)$ $X_2:G(p_2)$ $X_3:G(p_3)$ are independent, prove the following :",
"Can regular expressions be used to match nested patterns?"
] |
medi_sts_stackexchange_dupe
|
why can't I see the frame number in beamer after my Mac update?
|
Possible Beamer bug: Frame number has different color than date in infolines footer
|
[
"has two corollaries: The gravitational attraction of a spherically symmetric body acts as if all its mass were concentrated at the center, and The gravitational acceleration inside the cavity of a spherically symmetric body vanishes. Consider a spaceship floating freely in space. In a homogeneous universe, the combined attraction from all matter should cancel out, and the spaceship should stay motionless. Nevertheless, I'm free to divide the attraction into several parts originating from different parts of the universe: In the figure below, I've divided the universe into a red sphere centered on some arbitrary point (×) with my spaceship located at the edge of the sphere, plus infinitely many shells centered on the same point. By corollary #1, the gravitational attraction of the red sphere equals that of all its mass centered at the point ×. By corollary #2, the combined acceleration of the spaceship from all mass in the green shell vanishes. The same can be said for the blue shell, the orange shell, and so on ad infinitum. Hence my spaceship should start accelerating toward ×. By choosing the sphere large enough, I should be able to make it accelerate arbitrarily fast, and by choosing the location of × I can make it accelerate in any direction. Of course this doesn't work, but why? My best guess is that, even in an infinite universe, you can't keep adding spheres because you'll exit the observable universe, in which case there's no way to feel the gravity in part of the shell so that it's no longer symmetric. Perhaps also the expansion of the universe matters. But see the last two points below. A few more things to consider: The mass of the red sphere increases with the chosen radius $r$ as $r^3$, while the acceleration it generates is proportional to $r^{-2}$; hence the acceleration increases linearly with the chosen $r$. Our universe — the \"Universe\" — has an average density of some $10^{-29}\\,\\mathrm{g}\\,\\mathrm{cm}^{-3}$. Hence if I set $r$ equal to the radius of the observable Universe (46.3 billion light-years), the acceleration is a minuscule $10^{-7}\\,\\mathrm{cm}\\,\\mathrm{s}^{-2}$. If that bothers you, choose another universe where $\\rho$ is ten orders of magnitude higher. Our Universe is not really homogeneous, but on large enough scales ($\\gtrsim$ half a billion light-years) it seems it is. Still, the acceleration of the spaceship will be dominated by nearby sources. If that bothers you, choose a sufficiently homogeneous universe. On the scales we're considering, the Universe is not governed by Newtonian dynamics, but by general relativity. If that bothers you, use instead — I think the issue is the same. If the issue is really that the size of the observable universe matters, then my intuition tells me that I can just choose an arbitrarily old universe where the asymmetric contribution from the most distant shells is arbitrarily small. If the issue is that the universe expands (so that gravity from the far side of a shell is somehow weakened, or \"redshifted\"), then my intuition tells me that I can just choose a sufficiently static universe.",
"I've got a \"diagnostics\" page in my ASP.NET application which does things like verify the database connection(s), display the current appSettings and ConnectionStrings, etc. A section of this page displays the Assembly versions of important types used throughout, but I could not figure out how to effectively show the versions of ALL of the loaded assemblies. What is the most effective way to figure out all currently referenced and/or loaded Assemblies in a .NET application? Note: I'm not interested in file-based methods, like iterating through *.dll in a particular directory. I am interested in what the application is actually using right now.",
"How do you make the shapefile a Read-only so the client can not make any edits using 10.2.2 ArcGIS. It is not within a geodatabase, just a stand alone shapefile. I am using Windows 8",
"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.",
"number of trailing zeros",
"How does the Southwest Airlines boarding process work? I'm flying this week on Southwest Airlines for the first time. I paid for \"Early Bird\" automatic checkin and the FAQ mentions something about \"A\" boarding passes. I have no idea what that means, and I know that Southwest doesn't have assigned seats. How does the boarding process work and is there anything I should be aware of?",
"Question: Integrate$$\\int\\limits_0^1dx\\,\\frac {\\log(1-x)\\log^2(1+x)}x=-\\frac {\\pi^4}{240}$$ I'm curious as to if there is a way to integrate this. I've tried using integration by parts to get$$I=-\\frac {\\pi^2}6\\log^22+2\\int\\limits_0^1dx\\,\\frac {\\operatorname{Li}_2(x)\\log(1+x)}{1+x}$$However, I'm not sure how to continue even further. The polylog in the second integrand seems a bit intimidating and I don't see how the first term even helps.",
"Where can I ask about Software Licenses/Licensing? 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 ?",
"I used exposure compensation when I take my shots and adjust it whenever it needs adjustments. Most of the time I shoot using Manual mode. My problem is, when I'm out on a sunny day I can't judge whether my shot is overexposed or underexposed because the sun is too bright. Sometimes when I checked my viewfinder the image looks perfectly exposed to my eyes, but when I check it on my computer when I get home the images looks underexposed or overexposed. I tried to judge my shot's exposure using histogram, but still having a hard time. The only thing I understand about the histogram is that, the right side is the highlights and the left side is the shadow. How do you judge whether the shot is overexposed or underexposed when you are out on a sunny day?",
"Saving for retirement without employer sponsored plan I'm considering moving to a new job that doesn't have any sponsored retirement plans. I'd like to continue saving on my own though, but it seems that IRAs have a $5,000 contribution limits. What are some other options to save in addition to an IRA? I'm not interested in the obvious \"put more into your bank savings account,\" I'm looking for options fairly close to an IRA (trading stocks on etrade also out) to save more. Also, would contributions to the 401k prior to rolling into an IRA count against the contribution limit to the IRA?",
"Does using an extender actually change the aperture of the lens? I just bought a Canon 2X extender and I always believed that it would only result in 2 stops' loss of light and not change the aperture. However, when I tested this extender on a Canon 135mm f/2 lens, the maximum aperture I could set went down to F/4. So it kind of confused me, because if I step down the aperture to f/5.6, is it actually setting the aperture to f/5.6 or f/2.8 (i.e., 1 stop below f/2)?",
"How to do volumetric lighting for a forest scene? I have scene that looks like this: And I want to add volumetric lighting to it so that light forms a rays of light when it go through the trees like on this example that I found in youtube: But the problem is that all of these tutorials show how to make this lighting coming from windows, but when I try to replicate it in my forest scene it looks like big ugly fog with cubical shape. Also the light is coming from the back of the camera (as you can see) and there are some spots that needs this special lighting (like places where light goes through trees) and some that don't (like big bright are on the bottom left corner) so I can't just add a giant cube to all of the scene.",
"Pgfplots with custom axis markers Assume you have a trigonometric function, say for simplicity sin(x). When plotting the function, how can one place the x-axis markers on 0, pi/2, pi, 3pi/2, 2pi, instead of the default numeric values that pgfplots uses?",
"Selectively disable iCloud keychain syncing for WiFi passwords I have iCloud Keychain sync enabled, but I want to stop it syncing WiFi passwords. I have a portable WiFi hotspot which I use for my laptop and iPad, but I don't want my iPhone to connect to it since it has it's own 3G Because iCloud is syncing the settings, within about 30 seconds of connecting my laptop to the 3G hotspot, my iPhone will connect itself. If I go into wifi settings on the iPhone and manually disconnect, about 30 seconds later my laptop will disconnect too. It seems with iCloud wifi sync on, I can’t connect my laptop to WiFi without my phone also connecting. The only way to get around it seems to be disabling Keychain sync in iCloud. I’ve tried Googling, but got no real help on how to disable it without turning off Keychain, which is what I’ve done at the moment. I also don't want to enable 'Ask before joining networks' on my iPhone, since I'll be manually re-connecting it constantly.",
"I saw a commercial on televison for preparing spaghetti without boiling the noodles, just place them in water for about on hour. Can this be done?",
"I have up until Cov(X+Y,X-Y) = E[((X-E(X))+(Y-E(Y)))((X-E(X))-(Y+E(Y)))] and now I am stuck and do not know how this turns into Var(X)-Var(Y)",
"HTTP 401 twice before HTTP 200 when serving files",
"Can jQuery get all CSS styles associated with an element?",
"If the series $\\sum_0^\\infty a_n$ converges, then so does $\\sum_1^\\infty \\frac{\\sqrt{a_n}}{n} $ Problem: Suppose that for every $n\\in\\mathbb{N}$, $a_n\\in\\mathbb{R}$ and $a_n\\ge 0$. Given that $$\\sum_0^\\infty a_n$$ converges, show that $$\\sum_1^\\infty \\frac{\\sqrt{a_n}}{n} $$ converges. Source: Rudin, Principles of Mathematical Analysis, Chapter 3, Exercise 7.",
"Ubuntu gets stuck in a login loop My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back. I've read that the problem might be caused by an error depending on the graphics, here's my graphics card: ATI Radeon 7670M"
] |
medi_sts_stackexchange_dupe
|
Converse of Lagranges theorem question:
|
Why is the Converse to Lagrange's Theorem False?
|
[
"Error \"Power::infy: Infinite expression 1/0 encountered\". Why do I get this?",
"What are the various physical mechanisms for energy transfer to the photon during blackbody emission?",
"How do levers amplify forces? This is really bothering me for a long time, because the math is easy to do, but it's still unintuitive for me. I understand the \"law of the lever\" and I can do the math and use the torques, or conservation of energy. or whatever... And I can see that a lever can amplify a force you apply to it if you apply a force on the longer side of the beam. If I were to look at the molecular lever and see what actually happens when I push on the lever, and I give acceleration to the molecules, how does it actually happen that more force is transmitted to the other side? Thank you all p.s I'm looking just for an explanation in terms of forces and acceleration, it's clear to me how to do this in terms of energy or torques",
"Lightning Web Component embedded in Visualforce Page via Aura Component and App not displaying I am writing a lightning web component that is going to be used in Salesforce Classic, Lightning Experience and an Employee Community. It does not HAVE to be a lightning web component - I could use a traditional Aura Lightning Component if I must. However, what I am finding is that the visualforce page does not work, even when the lwc component is embedded in a aura component that is then used with Lightning Components for Visualforce. I can see from the documentation that using a lwc directly from within visualforce is not supported, but I was under the impression that it may work if wrapped in an aura component. My question then is this: Has anyone had success having a lwc wrapped in an aura component display successfully within Visualforce? Or is this completely unsupported behaviour?",
"It is a common practice to apply PCA (principal component analysis) before a clustering algorithm (such as k-means). It is believed that it improves the clustering results in practice (noise reduction). However I am interested in a comparative and in-depth study of the relationship between PCA and k-means. For example, Chris Ding and Xiaofeng He, 2004, showed that \"principal components are the continuous solutions to the discrete cluster membership indicators for K-means clustering\". However, I have hard time understanding this paper, and Wikipedia actually . Also, the results of the two methods are somewhat different in the sense that PCA helps to reduce the number of \"features\" while preserving the variance, whereas clustering reduces the number of \"data-points\" by summarizing several points by their expectations/means (in the case of k-means). So if the dataset consists in $N$ points with $T$ features each, PCA aims at compressing the $T$ features whereas clustering aims at compressing the $N$ data-points. I am looking for a layman explanation of the relations between these two techniques + some more technical papers relating the two techniques.",
"How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)?",
"Does \"it is entirely possible that\" require the subjunctive form of the verb following \"that\"?",
"Prove that for every $n\\geq m \\geq1$ natural numbers, the following number is an integer: $${\\gcd(n,m)\\over n}\\cdot{n\\choose m}$$ Where $\\gcd$ is the greatest common divisor. I tried to make it simpler by cancelling the $n$ from the left side, and making it $(n-1)!$ on the right: $\\gcd(n, m) \\cdot \\frac{(n-1)!}{m!(n-m)!}$, but can't really go further. This was problem B-2 on the .",
"I am not sure which conjunction to use in the following context: I know about programming but I have a little bit of confusion in Java programming. I know about programming although I have a little bit of confusion in programming. I know about programming however I have a little bit of confusion in Java programming.",
"How to increase ping time/network connection latency on Windows? I need to permanently increase network latency in approximately 100ms, without losing packets. Reason: On a certain server and internet game my ping is too much lower than the other people playing it. I have 15ms, when average is 150ms which gives me cheater-like advantages. So also out of curiosity I'm looking for ways to increase my ping while keeping connection stable. What are my options if any? I thought about VPN services, but it seems like a bad option since games use UDP? Is there any router/software that would assist me on this? I'm on windows.",
"Why can't I suggest edits on SE meta sites? When you click "edit" on a meta site as a non-edit-privileged user, the error message appears: Suggested edits are not allowed on non-tag-wiki posts on meta sites. Right as I was going to post this as a possible bug, I finally found which says that per-site Metas don't have suggested edits by-design because it's "not needed". However, I've been participating a lot over at where there is a lot still to be figured out in terms of site guidelines. The Meta is one of the most active I've seen and a lot of the questions are really trying to gather community-built suggestions. So maybe more of those need to be Community Wiki, but it still brings me to ask why don't per-site-metas "need" suggested edits? Adding bounty: The more betas I participate in, the more I don't get this.",
"I've been using gksudo nautilus and sudo nautilus through Alt+F2. What's the difference? They look very similar!",
"Divergent or not series? How tipe are this series? $$\\sum_{n=2}^\\infty \\frac 1 {n^2\\ln n}$$ But $$\\sum_{n=2}^\\infty \\frac 1 {n\\ln n\\ln(\\ln n)}$$ I used Condensation Test, but I stack after that. Thanks!",
"Evaluation of $\\lim_{n\\rightarrow \\infty}\\frac{1}{2n}\\cdot \\ln \\binom{2n}{n}$",
"I'm just getting started with Pinter's A Book of Abstract Algebra, please be kind. The book solution for Chapter 2, Problem 7 claims that the following operator is non-associative: $$ x * y = \\frac{xy}{x+y+1}$$ The book solution: $$ (x * y) * z = \\left(\\frac{xy}{x+y+1}\\right) * z = \\frac{xyz(x+y+1)}{x+y+z+xy+yz+xz+1}$$ $$ x * (y * z) = x * \\left(\\frac{yz}{y+z+1}\\right) = \\frac{xyz(y+z+1)}{x+y+z+xy+yz+xz+1}$$ However the $(x+y+1)$ and $(y+z+1)$ terms appear to actually cancel out: $$ (x * y) * z = \\left(\\frac{xy}{x+y+1}\\right) * z = \\frac{\\left(\\frac{xy}{x+y+1}\\right)z}{\\frac{xy}{x+y+1} + z + 1} $$ $$ x * (y * z) = x * \\left(\\frac{yz}{y+z+1}\\right) =\\frac{x\\left(\\frac{yz}{y+z+1}\\right)}{x+\\frac{yz}{y+z+1} + 1} $$ So the denominators cancel out, the two groupings are equivalent, the operator is associative. This result is duplicated in Mathematica, but I'd like to make sure I'm not missing something. Sorry for bothering people with such a basic question.",
"How to send mail from the command line? How to send mail from the command line?",
"What is the difference between a homepage link with or without a trailing slash?",
"Bottom frame of listing appears on top of the next page",
"Let $A\\in M_{n\\times n}(\\Bbb R)$ so that $I\\notin span(A,A^2,...,A^n)$. Prove that $\\det(A)=0$.",
"How do I define custom web.config sections with potential child elements and attributes for the properties? The web applications I develop often require co-dependent configuration settings and there are also settings that have to change as we move between each of our environments. All our settings are currently simple key-value pairs but it would be useful to create custom config sections so that it is obvious when two values need to change together or when the settings need to change for an environment. What's the best way to create custom config sections and are there any special considerations to make when retrieving the values?"
] |
medi_sts_stackexchange_dupe
|
How do I save 4 GB+ files on a FAT32 flash drive?
|
Getting around the FAT32 4GB file size limit
|
[
"a) Give a combinatorial proof that for every $n \\geq r \\geq 1$ that: $$\\sum_{i = 0}^{n} \\binom{i}{r - 1} = \\binom{n + 1}{r}$$ And use (a) to concoct a formula for $1^2 + 2^2 + ... + n^2$",
"The pdf of $\\frac{X_1-\\bar{X}}{S}$ Suppose $X_1, X_2,...,X_n$ be i.i.d from $N(\\mu,\\sigma^2)$ with unknown $\\mu \\in \\mathcal R$ and $\\sigma^2>0$ Let $Z=\\frac{X_1-\\bar{X}}{S},$ S is the standard deviation here. It is can be shown that $Z$ has the Lebesgue p.d.f. $$f(z)=\\frac{\\sqrt{n} \\Gamma\\left(\\frac{n-1}{2}\\right)}{\\sqrt{\\pi}(n-1)\\Gamma\\left(\\frac{n-2}{2}\\right)}\\left[1-\\frac{nz^2}{(n-1)^2}\\right]^{n/2-2}I_{(0,(n-1)/\\sqrt{n})}(|Z|)$$ My question is then how to get this pdf? The question is from in example 3.3.4 to find the UMVUE of $P(X_1 \\le c)$. I can understand the logic and procedures to find the UMVUE but don't know how to get the pdf. I think this question also relate to this Thank you very much for help or point to any related references will be also appropriated.",
"Word for low level noise among restless crowd, as sign of confusion or complaint? Dictionary gives me \"drone\" and \"murmur\" but I'm not sure if that's the word I am thinking of. I want to use it to describe a group of people on strike who hear that their demands are not met and the CEO has resigned. They're not shouting, but they're not whispering either. They're restless and confused. I want to say that a certain something (murmur?) was heard among the crowds, to indicate their state.",
"How to make a logo where a letter is made of particles of varying sizes? How can I make a logo in Adobe Illustrator like the AntiParticle logo below, from ? It is a large number circles of different, varying sizes, which form the shape of a text character.",
"Create an entry in index without creating a Chapter or Section title",
"Why are these pistons pushing? I've lately become hooked into building computers in Minecraft and today I decided to build a giant hard drive. I've built HDDs before, but not at the scale I'm currently attempting, and I anticipated problems. As I was wiring some pistons, they activated and pushed forward oddly. As far as I can tell, there's nothing powering them. I thought at first that it might be the redstone torches (top left of above pic) but they aren't powered. Here's a top view of the same pistons. I also thought the line of redstone above them might be the problem (middle of above pic), but when I destroy it, the pistons stay extended. Is there a reason why my pistons are extending? If so, is there a way to get them to power (when I want them to) without disturbing the pistons above?",
"General formula of $\\sum_{n\\ge1}{\\binom{2n}{n}^{-k}}$. If $k=1$, we have \\begin{align} \\sum_{n\\ge1}\\frac{1}{\\binom{2n}{n}}&=\\frac12\\sum_{n\\ge1}n\\mathrm{B}(n,n)\\\\ &=\\frac12\\int _{0}^{1}\\sum_{n\\ge1}n(t-t^2)^{{n-1}}{\\mathrm d}t\\\\ &=\\frac12\\int _{0}^{1}\\frac{1}{(t-t^2-1)^2}{\\mathrm d}t\\\\ &=\\frac13+\\frac{2\\sqrt3\\pi}{27} \\end{align} I wonder if there exists a general formula of $\\sum_{n\\ge1}{\\binom{2n}{n}^{-k}}$ with $k\\in\\Bbb N^*$. This may involve some ${}_pF_q$ functions.",
"Can you trade Pokemon from 7th gen (Sun/Moon) to 6th gen (XY, ORAS) and back? Title says it all, I don't see confirmation in and a cursory google search seemed to say assume no and speculate about the pokemon bank.",
"The following example must be compiled with XeLaTeX to reproduce the issue. % arara: xelatex \\documentclass{article} \\usepackage{fontawesome} \\begin{document} Text Text \\faMobilePhone\\ Text Text \\end{document} Normally I am using TeXworks to compile and view the output. With the internal viewer I am getting the desired result. The following image demonstrates it: However if I open the pdf with Preview (viewer of Mac) the scaling of the icon fails. If I open the pdf file with Adobe Acrobat Reader the icon is still scaled correctly. If I print the page my printer is also not able to scale the icons correctly. If I use LuaLaTeX everything seems to work correctly. Can you reproduce the issue and do you know a solution?",
"I want an editor that is as good as TextPad (for Windows) for compiling and running Java programs on Ubuntu 12.04. Please suggest one.",
"What is the C# equivalent of friend? Possible Duplicate: I'd like the private member variables of a class to be accessible to a Tester class without exposing them to other classes. In C++ I'd just declare the Tester class as a friend, how do I do this in C#? Can someone give me an example?",
"In English, especially in a poetic description, ships and cars are referred to as \"she\". Maybe their owners compare their beauty and elegance with those of women, but what if a female owner wanted to describe her yacht or car? Would she also say, \"She is a real beauty\", or it might be \"he\" then? Does the choice of a pronoun depend on whom she is giving the description of it to — a man or a woman? What about a man-o’-war or a merchantman? Being ships, are they also referred as \"she\"? P.S. on the use of \"she\" in reference to ships, but there seems to be no answer to my question there. P.P.S. My question wasn't pulled out of a thin air. I came across a book by a prominent Russian linguist, G.Veichman, written in 1990, (Novelties in The English Grammar is my translation of the title), where I read that the rule of personification of vehicles may be added regarding a female owner talking about her car using the preposition \"he\". Period. No further explanation or reference examples.",
"\"Oriented\" vs. \"orientated\"",
"Adding/updating field to polygon feature class that lists bordering (neighbor) polygons? I have a dataset of zipcodes. I want to add a new field \"NEIGHBORS\" that includes bordering polygons in a comma delimited manner such as attached image:",
"Given a file like this: 1,768,12,46576457,7898 1,123,435,134,146 2,345,6756856,12312,1311 5,234,567465,12341,1341 1,3245,4356345,2442,13 9,423,2342,121,463 9,989,342,121,1212 I would like to list all rows (in bash terminal) such that the value in column 1 appears at least twice (in column 1). The result should be 1,768,12,46576457,7898 1,123,435,134,146 1,3245,4356345,2442,13 9,423,2342,121,463 9,989,342,121,1212",
"Compare two dates with JavaScript Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.",
"Proving $\\sum_{k=0}^n(-1)^k\\binom nk=0$",
"How do you cite a Github repository?",
"How to use manual partitioning during installation? I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here) cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures). I'd like to cover such situations: If your disk contains other systems:",
"Computing the Galois group of polynomials $x^n-a \\in \\mathbb{Q}[x]$ I have some problems with this exercise. I don't know if it can be done. Consider the polynomial $ x^n - a \\in \\mathbb{Q} $ Can I compute the Galois group of this over $\\mathbb{Q}$? Maybe having a nice \"basis. The splitting field is given by $\\mathbb{Q}(\\zeta_n,\\alpha)$ , where $\\zeta_n$ is a primitive root of unity , and $\\alpha$ is some number such that $\\alpha^n = a $. Well first of all, I want a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different (in this case the computation of the galois group is very simple). For example one easy case, it's when $a>0$, then $(a)^{\\frac{1}{n}} \\in \\mathbb{R}$ , so clearly the minimal polynomial of $(a)^{\\frac{1}{n}} , \\zeta_n$ are distincs, and I'm done. If $n$ is odd then , it's also easy, since one root it's also real, for example $x^3-3 $, the real root is $ \\root 3 \\of { - 3} = - \\root 3 \\of 3 $ , so I can consider the splitting field as $\\mathbb{Q}(-\\root 3 \\of 3 , \\zeta_3 )=\\mathbb{Q}(\\root 3 \\of 3 , \\zeta_3 )$. The difficult case is when $n$ is even and $a<0$ , for example $x^8+20$ or $x^4+20$ in some cases as in the second, there are particular cases since there exist algorithms for the Galois group of quartics, but in general. It can be done? $\\underline{Remark}$ I'm searching a $\\underline{\"good basis\"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different since in this case the computation of the galois group is very simple."
] |
medi_sts_stackexchange_dupe
|
March 2021 CERN discovery? What would be the properties of the new particle/force from decaying bottom (beauty) quarks?
|
Breakthrough at the Large Hadron Collider -Leptoquarks skepticism?
|
[
"Simple animation using C#/Windows Forms I need to knock out a quick animation in C#/Windows Forms for a Halloween display. Just some 2D shapes moving about on a solid background. Since this is just a quick one-off project I really don't want to install and learn an entire new set of tools for this. (DirectX dev kits, Silverlight, Flash, etc..) I also have to install this on multiple computers so anything beyond the basic .Net framework (2.0) would be a pain in the arse. For tools I've got VS2k8, 25 years of development experience, a wheelbarrow, holocaust cloak, and about 2 days to knock this out. I haven't done animation since using assembler on my Atari 130XE (hooray for page flipping and player/missile graphics!) Advice? Here's some of the things I'd like to know: I can draw on any empty widget (like a panel) by fiddling with it's OnPaint handler, right? That's how I'd draw a custom widget. Is there a better technique than this? Is there a page-flipping technique for this kind of thing in Windows Forms? I'm not looking for a high frame rate, just as little flicker/drawing as necessary. Thanks. Post Mortem Edit ... \"a couple of coding days later\" Well, the project is done. The links below came in handy although a couple of them were 404. (I wish SO would allow more than one reply to be marked \"correct\"). The biggest problem I had to overcome was flickering, and a persistent bug when I tried to draw on the form directly. Using the OnPaint event for the Form: bad idea. I never got that to work; lots of mysterious errors (stack overflows, or ArgumentNullExceptions). I wound up using a panel sized to fill the form and that worked fine. Using the OnPaint method is slow anyway. Somewhere online I read that building the PaintEventArgs was slow, and they weren't kidding. Lots of flickering went away when I abandoned this. Skip the OnPaint/Invalidate() and just paint it yourself. Setting all of the \"double buffering\" options on the form still left some flicker that had to be fixed. (And I found conflicting docs that said \"set them on the control\" and \"set them on the form\". Well controls don't have a .SetStyle() method.) I haven't tested without them, so they might be doing something (this is the form): this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); So the workhorse of the code wound up looking like (pf is the panel control): void PaintPlayField() { Bitmap bufl = new Bitmap(pf.Width, pf.Height); using (Graphics g = Graphics.FromImage(bufl)) { g.FillRectangle(Brushes.Black, new Rectangle(0, 0, pf.Width, pf.Height)); DrawItems(g); DrawMoreItems(g); pf.CreateGraphics().DrawImageUnscaled(bufl, 0, 0); } } And I just called PaintPlayField from the inside of my Timer loop. No flicker at all.",
"Please give me feedback on my answer to this question. Question: For all $ n\\geq1:\\binom{2n}{0}+\\binom{2n}{2}+\\binom{2n}{4}+\\cdots+\\binom{2n}{2k}+\\cdots+\\binom{2n}{2n} $ is equal to $ \\binom{2n}{1}+\\binom{2n}{3}+\\binom{2n}{5}+\\cdots+\\binom{2n}{2k+1}+\\cdots+\\binom{2n}{2n-1} $. Answer: False, since; Let $a=1, b=-1$ and $n=1$ ,$k=0$ , using Binomial expression. $$(a+b)^n= \\sum \\binom{n}{k} a^{k}b^{n-k}$$ Then $(1+-1)^{2(1)}=\\binom{2}{0}1^{0}(-1)^{2-0}+\\binom{2}{1}1^{1}(-1)^{2-1}+\\binom{2}{2}1^{2}(-1)^{2-2}=\\binom{2}{0}-\\binom{2}{1}+\\binom{2}{2}$ Thus :For all $n\\geq1: \\binom{2n}{0}+\\binom{2n}{2}+\\binom{2n}{4}+\\cdots+\\binom{2n}{2k}+\\cdots+\\binom{2n}{2n} \\ne \\binom{2n}{1}+\\binom{2n}{3}+\\binom{2n}{5}+\\cdots+\\binom{2n}{2k+1}+\\cdots+\\binom{2n}{2n-1}$ .",
"If $|f(z)|\\le |g(z)|$, can we say $f$ is constant? Let $f$ and $g$ be entire functions and $g(z)\\neq 0$ for all $z\\in \\mathbb{C}$. If $|f(z)|\\le |g(z)|$, can we say $f$ is constant? Liouville theorem says that an entire bounded function is constant, but g is not given bounded here. So I think it should be false. What else can we say about $f$?",
"Mid-2017 started publishing monthly updates. This post will continue that effort into 2018. (.) Updates are posted at the beginning of the month. They cover what was done last month, what is still in progress and new work that will be started in the current month. Updates: (CoC, nav, OpenID, responsive design, bugs, campaigns) (CoC, comment flags, nav, OpenID) (question wizard, nav, user survey, OpenID) (tag watching, GDPR) (responsive design, tags, teams) (responsive design, OpenID, teams, sponsorship) (responsive design, facebook auth, question lists, teams) (newsletter, sign up, Documentation reputation, channels) (top bar issues, hats, question template)",
"Touching the front wheel with my foot when turning",
"Why is homology invariant under deformation retraction/homotopy equivalence?",
"What does [&] mean before function?",
"Convince grep to output all lines, not just those with matches",
"Spacing problem at List of Figures",
"Kali Linux: apt update returns \"Hash Sum mismatch\" error I'm experiencing exactly the same issue as described in this question: . Before you mark this as a duplicate however, I have tried the solutions posted there, as well as on numerous other sites, including: sudo apt-get clean sudo rm -rf /var/lib/apt/lists/* sudo apt-get update Editing /etc/apt/sources.list with alternate official mirrors, such as deb http://mirrors.ocf.berkeley.edu/kali kali-rolling main non-free contrib or deb https://http.kali.org/kali kali-rolling main non-free contrib Everything worked after I first imported the VM. I ran sudo apt update and it found some ~650 packages to upgrade. I ran sudo apt upgrade and it encountered an error partway through. That error was solved using sudo apt --fix-broken install, but that is when this hash sum error began. Unfortunately due to hours of troubleshooting I no longer have the details of the earlier error, but I believe it was an error extracting a package due to corrupt data. I've tried multiple official mirrors, but I get the same error. Additionally, when I downloaded the Packages.gz file on my Windows machine (VM host) and computed the SHA256 hash, I got the exact hash that apt printed as the expected value. This led me to believe that the error was not with the mirror but with my VM. The next thing I tried was wget https://mirrors.ocf.berkeley.edu/kali/dists/kali-rolling/main/binary-amd64/Packages.gz followed by sha256sum Packages.gz, which provided yet another different hash output. To be clear, I have seen 3 different hashes for the same file: The \"correct\" hash shown by apt as expected, which is the one that windows also produced after downloading the file using a browser The incorrect hash calculated by apt, which led to the error A different hash calculated by sha256sum after downloading the file using wget using the same URL as for the browser download I should also note that I have only been referencing the SHA256 hash in each step. The other hash functions are also mismatched when I run sudo apt update, but the file size is the same. I had considered that downloads might be failing due to limited disk space (it is a VM after all) but I don't think that's the case. What am I missing?",
"I am stuck on how to calculate the following limit: $$\\lim_{x\\to\\infty}x\\left(\\left(1 + \\frac{1}{x}\\right)^x - e\\right).$$ Definitely, it has to be through l'Hôpital's rule. We know that $\\lim_{x\\to\\infty} (1+(1/x))^x = e$. So, I wrote the above expression as $$\\lim_{x\\to\\infty}\\frac{\\left(1 + \\frac{1}{x}\\right)^x - e}{1/x}.$$Both numerator and denominator tend to zero as x tends to infinity. I applied l'Hôpital's rule twice, but I got the limit equal to infinity which is clearly wrong. In the book, it says that the limit should be $-e/2$. Any help please? Also, in case someone managed to solve it, please tell me which numerator and denominator did you apply your l'Hôpital's rule to in both cases? Thanks a lot Also, guys can you tell me how to write equations in this forum? Thanks.",
"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?",
"I'm new to Ubuntu. I tried installing it with Windows 8.1, but failed I lost all my files. I have successfully formatted my PC and installed Ubuntu, but how do I install codecs to play audio and videos files ?",
"I was talking to a friend who owns a Mac. He has his set up so that when he swipes three fingers across his touchpad, it moves to the workspace in that direction. Is it possible to set this up in Ubuntu?",
"Sequential renaming of files I found an answer for which works fine for renaming filenames as follows : 1.jpg > 00001.jpg 2.jpg > 00002.jpg . . . 9.jpg > 00009.jpg That uses the following command: rename 's/\\d+/sprintf(\"%05d\", $&)/e' *.jpg But my filenames aren't numeric. They are an alphanumeric sequence, like: a.jpg, b.jpg, c.jpg...... m.jpg. In a similar way to the original question, I want to rename these so they display in the correct sequence. How do I do this?",
"recursive statistics on file types in directory? I did a website scrape for a conversion project. I'd like to do some statistics on the types of files in there -- for instance, 400 .html files, 100 .gif, etc. What's an easy way to do this? It has to be recursive. Edit: With the script that maxschelpzig posted, I'm having some problems due to the architecture of the site I've scraped. Some of the files are of the name *.php?blah=blah&foo=bar with various arguments, so it counts them all as unique. So the solution needs to consider *.php* to be all of the same type, so to speak.",
"Concatenate multiple files with two blank lines as delimiter? I'm trying to join Markdown files with two newlines between each file. I've tried using the following command: paste -sd '\\n\\n' file1.md file2.md This joins the files with a newline, but not two newlines, as I need. What command can I use to join an arbitrary number of files with two \\n characters between each join?",
"How long can eggs be unrefrigerated before becoming unsafe to eat? A friend of mine accidentally left a carton of eggs on her counter, unrefrigerated, for three days. The eggs had been previously refrigerated both at the store and at home. Now she's planning to do some more cooking which requires eggs, and is wondering if it's still safe to use them for baking. I believe she is planning on baking cookies with them, so they would be baked at fairly high temperatures for probably at least 10 minutes. Would this be safe, or are eggs left unrefrigerated for that long not safe for consumption?",
"Line numbering paragraph oriented? I'm using the lineno package with the pagewise option but I need a way to get the numbering restart every paragraph break. I need a general solution to pass to the latex command, e.g.: latex \"\\AtBeginDocument{\\RequirePackage[pagewise]{lineno}\\linenumbers}\\input{mydocument.tex}\" I read the lineno manual but the package does not provide this feature. Is there any trick to do that?",
"I am looking for a term which clearly defines somebody as a non-geek, without being derogatory. The best example I have seen is muggle, but it needs context to be understood, as in \"You don't meet many muggles at a comic convention\", or \"even my muggle friends like my autologlyph fractal decal\". But while \"muggle\" makes it clear that he is a part of the \"majority which is different\", it is often hard to guess who the minority is. There are also more specific words, but they are mostly so derogatory that I would consider them rude even in a joke, like luser or n00b. I definitely don't want to use them in a normal conversation. A search in antonym dictionaries didn't bring up anything. Is there really no such word?"
] |
medi_sts_stackexchange_dupe
|
How can I keep my zoom at the same setting for all pages in a PDF in Adobe Reader?
|
Prevent Adobe Reader from switching to "Fit Page" zoom when bookmark is clicked
|
[
"I recently installed Ubuntu 12.10 and it requires a passphrase to boot up (I installed it with an encrypted file system). Do I have to reinstall to change to a standard unencrypted file system?",
"Efficiently reverse the order of the words (not characters) in an array of characters",
"Dealing with splits in my ground plane Whenever I'm making a cheap, 2-sided PCB, I run into this problem: Where I have signal lines (on the top layer here) running over top of a big fat power trace (on the bottom layer). Now, this is obviously terrible because there is no good return path on the bottom side. For issues like this, Hott consultants has a good recommendation: However, I wonder if a solution like the one below is also acceptable. My intuition tells me yes, this solution is ok. Over the break in the ground plane, the current will hop over the vias and then back down to the lower plane. Some back of the envelope math tells me that this adds a trivial amount to the loop area, and therefore a trivial amount to the return impedance. Can someone tell me... How right / wrong my intuition is here about using vias? If my intuition is wrong, why? Also, if my intuition is wrong, what is the correct solution in this sort of situation (2 layer, with power traces under signal)? For the record, these particular signal lines aren't terribly fast (500 kHz), but I would like to know how to deal with this situation when I have signals in the 5 - 10 MHz range. Edit Below is a screenshot of about 60% of the board. Maybe it will help with the critique",
"How can I determine accuracy of past probability calculations? I do not study statistics but engineering, but this is a statistics question, and I hope you can lead me to what I need to learn to solve this problem. I have this situation where I calculate probabilities of 1000's of things happening in like 30 days. If in 30 days I see what actually happened, how can I test to see how accurately I predicted? These calculations result in probabilities and in actual values (ft). What is the method for doing this? Thanks, CP",
"Prove that there exist two integers such that i - j is divisible by n. Here's the full question: Prove that, for any $n + 1$ integers, $\\{x_0, x_1, x_2, . . . , x_n\\}$, there exist two integers $x_i$ and $x_j$ with $i \\neq j$ such that $x_i − x_j$ is divisible by $n$. Now, the integers aren't necessarily consecutive, positive, or without repeats. I've tried breaking this into cases, such as \"$x_i = x_j, \\dfrac{0}{n} = 0$\" etc. But I don't think it's possible to exhaust the cases. I feel like there should be an easy way to contradict this one, by saying that $x_i - x_j$ isn't divisible by $n$. But I just wasn't getting anywhere with that one. I thought about using induction, but I would have just as hard a time proving this for $n$ integers before $n+1$ integers, so I don't think it would be possible for me to do it that way. If anyone could help out, that would be wonderful. I'm pretty stuck here.",
"The covid19 death data for US shows strong periodic trends. It does not make sense to me that people die periodically. What could be the reason to having such data? I thought it might be the reporting artifacts, for example, people always update data at Monday, but the period seems to be 3-4 days.",
"Where is Jon going?",
"C# Unsafe/Fixed Code",
"How do I return the response from an asynchronous call?",
"Limits, find a limit that exist in absolute value but not outside the absolute value. Let I be an open interval that contains the point c and let f be a function that is defined on I except possibly at the point c. Suppose that lim |f(x)| as x->c exists. Give an example to show that lim f(x) as x->c may not exist. Not really sure of an example for this?",
"Let $X_n$ be iid random variables with $P(X_n=(-1)^kk)=\\dfrac{C}{k^2\\log k}$ for all $k\\geq 2$. Here $C$ is just a constant so that the sum of probabilities is $1$. Find constant $\\mu$ such that $S_n/n\\to \\mu$ in probability where $S_n=\\sum_{k=1}^nX_k$. Here $E(X_n)=\\infty$. I'm a bit lost after this. In general how does one find constants like this?",
"Lookup City and State by Zip Google Geocode Api",
"For some results returned in Google Search, on the right side it displays the company details, logo, contact numbers, etc... For example, see the following screenshot: I'd like to know what contributes to this so that I can try to achieve it for my site too.",
"Solve $x=y\\frac{dy}{dx}-\\left(\\frac{dy}{dx}\\right)^{2}$",
"if a complex function $f$ is real-differentiable, then $f$ or $\\overline{f}$ are complex-differentiable This is an exercise from Remmert's Theory of Complex functions. Let $D\\subset \\mathbb{C}$ be a domain and $f:D\\rightarrow \\mathbb{C}$ a real-differentiable function. Assume that the following limit exists: $ \\mathrm{lim}_{h\\rightarrow 0} \\left| \\frac{f(c+h) - f(c)}{h} \\right|.$ Show that either $f$ or $\\overline{f}$ is complex-differentiable. I've tried showing that $\\frac{\\partial f}{\\partial \\overline{z}} = 0$ or $\\frac{\\partial \\overline{f}}{\\partial z} = 0$ by using the fact that there exist continuous functions $g$ and $h$ such that in $D$ one can write $f(z) = f(c) + (z-c)g(z) + (\\overline{z} - \\overline{c})h(z)$ and that $g(c)= f_{z}(c)$ and $h(c) = f_{\\overline{z}}$ and then plugging this into the limit above. Does this approach works and I just can´t see how to do it? Can someone give a hint or a guideline solution to this?",
"I am using PHP with Apache on Linux, with Sendmail. I use the PHP function. The email is sent, but the envelope has the Apache_user@localhostname in MAIL FROM (example [email protected]) and some remote mail servers reject this because the domain doesn't exist (obviously). Using mail, can I force it to change the envelope MAIL FROM? EDIT: If I add a header in the fourth field of the mail() function, that changes the From field in the headers of the body of the message, and DOES NOT change the envelope MAIL FROM. I can force it by spawning sendmail with sendmail -t -odb -oi -frealname@realhost and piping the email contents to it. Is this a better approach? Is there a better, simpler, more PHP appropriate way of doing this? EDIT: The bottom line is I should have RTM. Thanks for the answers folks, the fifth parameter works and all is well.",
"Let $X$ be a random variable and let $g,f$ be real-valued, nondecreasing, and bounded. Show that $\\mathbb{E}[f(X)g(X)]\\geq \\mathbb{E}[f(X)]\\mathbb{E}[g(X)]$ Having a hard time seeing where to start for some reasons, any hints? I managed to write: $\\mathbb{E}[f(X)g(X)] = \\frac{1}{4}\\mathbb{E}[(f(X)+g(X))^2 - (f(X)-g(X))^2]$ But I'm not sure if this is in the right direction or not.",
"What is the optimal order of post-processing steps?",
"To write or to write to?",
"I am looking for an Ubuntu version that consumes less Memory and CPU. I have read both Lubuntu and Xubuntu (The homepages, wikipedia, phoronix and other sites comparing both). But from experience, which one uses less memory and is less CPU intensive. I need to install them in very old hardware and want to persuade the owner of the hardware of the benefits of Ubuntu. in this case I want to install 11.10 or 12.04 when it comes out. How are each behaving in those versions? The 2 PCs I will be installing either Xubuntu or Lubuntu are: Granpa PC: CPU - Pentium 2 450Mhz RAM - 64MB DIMM Video - 16MB Used for - Documents and Internet. No listening to music, no looking at videos. Just using it for document writing. The other old meat: CPU - Pentium 3 550Mhz RAM - 128MB DIMM Video - 16MB Used for - Documents and Internet also but they want.. or maybe they are wishing for it to use it to see movies and listen to music. This one has internet. The other one does not. UPDATE Wanted to update this question with the test results for over 8 months worth of using Lubuntu and Xubuntu. When it comes to very old hardware, am talking about 64 MB, 128 MB or even 256 MB of RAM computers, Lubuntu is better than Xubuntu when comparing Memory usage. When it comes to CPU usage, both are the same. This will not improve I/O Disk performance which will be the bottleneck for old computers. Also the difference in performance between Xubuntu and Lubuntu is about 10% to 20% percent in memory usage. Again, CPU usage is the same. Now, when it comes to how responsive the Desktop is, LXDE (Lubuntu) has a much better response time than XFCE (Xubuntu). I would say about 50% or just simply noticeable to the eye. Lubuntu is similar to how Windows XP looks while Xubuntu is more like how Gnome 2 looked. The computers (The old ones mentioned here) and 2 more are still working in excellent conditions thanks to the Ubuntu family. I also want to add I am using 13.10 for both distros."
] |
medi_sts_stackexchange_dupe
|
what does mean this exception ? format %d expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat]
|
How should I print types like off_t and size_t?
|
[
"How do I backup data (SMS/contacts) from a device with a broken screen? I just broke the screen of my (unrooted) Galaxy S. How do I get back my SMS and contacts? PS: I tried Kies but it won't detect my phone for some reason. (Kies works fine with another Galaxy I possess but not this one)",
"Is using only HTTPS bad in a SEO perspective? I would like to set up a new business site. I plan to direct www.example.com to example.com and only use that domain. My plan is also to only use HTTPS and not HTTP. Does this affect the SEO for the site? E.g. do Google put lower or higher rank for sites that is only available via HTTPS?",
"How to convert an MKV to AVI with minimal loss To convert an MKV to AVI, I do two things. The first thing I do is this: ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi or this: ffmpeg -i filename.mkv -sameq -acodec copy output.avi Either of these will convert the MKV to an AVI, but the problem is that the video does not play smoothly for some reason. That's fine though, because if I do one more thing it gets fixed: ffmpeg -i output.avi -vcodec mpeg4 -b 4000k -acodec mp2 -ab 320k converted.avi After I do this then the file plays without problem. I had success doing it this way for one file, but then I tried it on another file, and there is a slight, but noticeable loss in video quality. This is the output I get when doing the second step: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers built on Dec 29 2010 18:02:10 with gcc 4.2.1 (Apple Inc. build 5664) configuration: libavutil 50.15. 1 / 50.15. 1 libavcodec 52.72. 2 / 52.72. 2 libavformat 52.64. 2 / 52.64. 2 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.11. 0 / 0.11. 0 Seems stream 0 codec frame rate differs from container frame rate: 359.00 (359/1) -> 29.92 (359/12) Input #0, avi, from 'output.avi': Metadata: ISFT : Lavf52.64.2 Duration: 00:04:17.21, start: 0.000000, bitrate: 3074 kb/s Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], 29.92 fps, 29.92 tbr, 29.92 tbn, 359 tbc Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16 Output #0, avi, to 'converted.avi': Metadata: ISFT : Lavf52.64.2 Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 229:189 DAR 5038:2835], q=2-31, 4000 kb/s, 29.92 tbn, 29.92 tbc Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 320 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 I just used arbitrarily large settings on the second step and it worked nicely before but not in this case. What settings should I use?",
"This is, how I download various master branches from GitHub, and I aim to have a prettier script (and maybe more reliable?). wget -P ~/ https://github.com/user/repository/archive/master.zip unzip ~/master.zip mv ~/*-master ~/dir-name Can this be shorten to one line somehow, maybe with tar and pipe? Please address issues of downloading directly to the home directory ~/ and having a certain name for the directory (mv really needed?).",
"Why has Earth's core not become solid?",
"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 ?",
"I need to construct a real function with is exactly $C^2$ (that is, it is continuous and two times differentiable but it is not three times differentiable) such that its first derivative never vanishes. I tried $x^5 \\sin(\\frac{1}{x}) + \\exp(x)$ $x^{\\frac{5}{2}} + \\exp(x)$ ${|x|}^3 + \\exp(x)$ all these functions are exactly $C^2$, but their first derivatives vanish in some point(s). :(",
"Learning Regular Expressions",
"What is true for a ring with exactly two right ideals",
"Merging Raster Datasets of Different Resolutions using ArcGIS Desktop? I am using ArcGIS Desktop. I have two DEMs in .tif format and I am looking to merge the two. The main problem with merging these are that they are different resolutions (one is 10m and one is ~20m). Also, another problem with merging the two is that they overlap and I am not sure of the most effective way of dealing with that overlap. Obviously I want to keep the values of the better resolution. So what are the best methods here? Is there a python script available that works best with merging rasters? I would like to automate this with a script if possible. Which process of resampling is best for DEM data? Bipolar, Cubic... ? What is the best way to merge overlapping DEMs?",
"Is there a reason to use multiple question marks instead of an asterisk in filename expansion? If I have a number of directories, named, for example 10001 through 10025 is there any reason to use ls 1*/foo vs. ls 100??/foo? I have a lot more than 25 of them, so I mostly curious if there's any differences in speed. I know the difference in use between the two, that the asterisk will match longer file names, like 10001.backup. But let's say I don't have any files that don't follow my conventions. Is there any behind-the-scenes differences?",
"How to prevent an email from accidentally being forwarded?",
"Is every dense subspace of a separable space separable?",
"Could someone provide me with a good explanation of why $0^0=1$? My train of thought: $x>0$ $0^x=0^{x-0}=0^x/0^0$, so $0^0=0^x/0^x=\\,?$ Possible answers: $0^0\\cdot0^x=1\\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined PS. I've read the on mathforum.org, but it isn't clear to me.",
"Let $p$ be a prime. Suppose that $\\gcd(a, b) = p$. Find $\\gcd(a^2,b)$ for all integers $a$ and $b$. Let $p$ be a prime. Suppose that $\\gcd(a, b) = p$. Find $\\gcd(a^2,b)$ for all integers a and b. I was able to prove that $\\gcd(a^2,b^2) = p$ but I don't know if it helps. Any help is greatly appreciated.",
"Can I get from Gatwick airport to London by Oyster card? I read many contradictions as to whether one can use a Oyster card from Gatwick Airport to central London. What is the most time-efficient way to go from Gatwick to \"Old Billingsgate\" (Monument tube station is nearby)? Public transportation is preferred over taxi.",
"Model selection with low N? I've got a study which is kinda messed up by the design...Turns out I ended up with about 50 patients of which 80% have the outcome and 20% don't (binary outcome). I've been turning in my bed for the last month trying to figure out what to do with this. The only real answer is \"don't\" but I have to deliver something in the next days as it's part of a master's thesis. I have about 10 predictors of interest for the outcome (various variable types) and the research question is whether any of these predictors can predict the outcome. Some already have an established correlation in the literature while some are original hypothesis. Several are significant with a univariate logistic regression, but it doesn't look good in any other way than the actual p-value. Now obviously I'm not going to be able to answer this research question sufficiently but if you were in my shoes, what sort of statistical analysis would you perform to relay to your supervisors? EDIT: Link to my (anonymized) data (CSV):",
"Regex for numbers only I haven't used regular expressions at all, so I'm having difficulty troubleshooting. I want the regex to match only when the contained string is all numbers; but with the two examples below it is matching a string that contains all numbers plus an equals sign like \"1234=4321\". I'm sure there's a way to change this behavior, but as I said, I've never really done much with regular expressions. string compare = \"1234=4321\"; Regex regex = new Regex(@\"[\\d]\"); if (regex.IsMatch(compare)) { //true } regex = new Regex(\"[0-9]\"); if (regex.IsMatch(compare)) { //true } In case it matters, I'm using C# and .NET2.0.",
"QGIS creating a fixed distance buffer over selected areas not the entire layer what im doing is making a fixed distance buffer and it's working splendidly but i need the buffer to be created over certain selected areas not the entire layer, and at the creation wizard is only offers the the option of selecting the entire layer, and i need some areas within that layer to have a different buffer and some none at all. is there a way around that?",
"Boolean Modifiers not working normally When using a Boolean modifier on an object, the \"Operation\" choices (Difference, Union, Intersect) are all not working normally. Choosing \"Union\" makes it do the effect of \"Intersect\" and \"Difference\" makes it do what \"Intersect\" is supposed to do. What's the deal here? This is happening with following a simple tutorial. It's a simple primitive cube and primitive cylinder. No normals or doubles problems. My specs are: Macbook Pro 13\" Retina early 2015 512GB i7 with 16gb RAM upgrade OS-X version 10.11.4"
] |
medi_sts_stackexchange_dupe
|
Cutting text from comments does not put text on the clipboard
|
How can I report bugs with or request features for the Stack Exchange mobile apps?
|
[
"What is the purpose of the EBP frame pointer register?",
"can't type lower cased e in amazon ec2 (Amazon Linux) After a few days of operation on my new ec2 build, the following happens: I log into SSH, everything is fine, I do my coding I return the next day, and log into SSH I cannot type a lower cased e anymore--I get the error ding when I type it I try to ssh from a different computer, same problem I reboot the server, same problem I open nano or vi and e works fine, just not in bash or sh I terminate the server, create a new one, install from scratch, a few days later it happens again This is baffling! Where do I even start to troubleshoot? My Local Machine Setup(s): windows XP or 7 putty (latest) or cygwin/openssh The EC2 setup Amazon Linux (default options) node.js iptables forwarding port 80 to node on port 8003 emacs, npm, and openssl-devel no other mods Output of stty -a while I can't type an e sh-4.1$ stty -a speed 38400 baud; rows 30; columns 95; line = 0; intr = ^C; quit = ^\\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke In case it helps someone else with a similar issue, I created a script (called sub) to convert upper-cased E to lower-cased, then echo the command back. Then I run it in backticks to get an e on the command line:: #!/bin/sh echo ${@//E/e} > `sub Emacs /Etc/profilE` UPDATES This breaks for all users In bash only (csh works fine) In emacs edit mode only I've created and hone in the solution.",
"This question dovetails with this post on . I am familiar with some of larger, paid-for business registry's like and . While the detailed information their business listings database include (like # of employees, annual sales, industry code, etc) is fantastic, if you are on a limited budget, sometimes the cost of purchasing the data outweighs the value you can get from it. If you have geocoding capabilities in house, one could potentially create a reasonable surrogate by spatially-enabling (geocoding) a publicly available business listing on your own. If you were looking to take on this type of project, where would you start your research? Do you know of US agencies at a State or National level that maintain this type of information, AND are publicly available for download or minimal purchase?",
"Shell Script for logging into a ssh server",
"what is the total number of distinct arrangements of $n$ oranges and $n$ apples around a round table? I have no idea how to go about.",
"How do I speed up my design work? I've been a designer for 6 months, having previously had a 1st class honours degree in Graphic Communication. My issue is that I am a Very good designer, but I work too slow. It's beginning to drive a rift between myself and the creative director who desperately wants me to work quicker. I've always been a workaholic even in university, I put in 110% all the time, really work my ass off, but I'm still not fast enough to complete projects quickly, my work is good, but it's not efficient. Do you guys have any tips to help me speed up?",
"Calculating the average area of the states listed in states.txt Need someone to calculate the average area, in square miles, of the states listed in states.txt. States.txt (file): State Population SqMi Region ------------------------------------------ California 39.37 163.7 West Texas 29.36 268.6 South Florida 21.73 65.7 South New_York 19.33 54.7 NorthEast Pennsylvania 12.78 46.1 NorthEast Illinois 12.59 57.9 Midwest Ohio 11.69 44.8 Midwest Georgia 10.71 59.4 South North_Carolina 10.60 53.8 South Michigan 9.97 96.7 Midwest Output should look like this: Average Area: 82.85 square miles Note my awk program will be ran like this: awk –f <file.awk> states.txt",
"Do I need an airport transit visa for Dublin, Ireland en route to the UK?",
"Destructors of builtin types (int, char etc..) In C++ the following code gives a compiler error: void destruct1 (int * item) { item->~int(); } This code is nearly the same, I just typedef the int to another type and something magic happens: typedef int myint; void destruct2 (myint * item) { item->~myint(); } Why does the second code work? Does an int get a destructor just because it has been typedefed? In case you wonder why one ever would like to do this: This comes from refactoring C++ code. We're removing the standard heap and replacing it with selfmade pools. This requires us to call placement-new and the destructors. I know that calling destructors for primitive types is useless, but we want them in the code nevertheless in case we later replace PODs with real classes. Finding out that naked int's don't work but typedefed ones do was quite a surprise. Btw - I have a solution that involves template-functions. We just typedef inside the template and everything is fine.",
"If $P(x^5)+xQ(x^5)+x^2R(x^5)=(x^4+x^3+x^2+x+1)S(x)$ , then prove that $P(x)$ is divisible by $x-1$ $P,Q,R,S$ are polynomials such that: $P(x^5)+xQ(x^5)+x^2R(x^5)=(x^4+x^3+x^2+x+1)S(x)$ , then prove that $P(x)$ is divisible by $x-1$ I thought a lot on this but no result!! By the way,one idea is to insert some values for $x$ and try to produce a system of equations for the given polynomials,but I'm not sure it works.",
"I'm trying to work out what value resistor to use in a LED circuit. The equation I'd use to do this is: $$ R = \\frac{V_{cc} - V_f}{I_f} $$ Seems logical, and makes complete sense. The answers to the question confirm this too. I have the following LEDs: \\$ V_f = 3.3V \\$ \\$ I_{f_{typ}} = 20mA \\$ Using a 5V power supply: \\$ V_{cc} = 5V \\$ Plugging these into the above equation gives: $$ \\begin{eqnarray} R & = & \\frac{V_{cc} - V_f}{I_f} \\\\ & = & \\frac{5V - 3.3V}{20mA} \\\\ & = & 85\\Omega \\end{eqnarray} $$ All good so far. However, if I use the calculator at , that gives me 100Ω. If I use the ElectroDroid app on my phone, that gives me 85Ω. So, I assume that the linear1 calculator is using a different method of calculating this resistor value; is there some better way of doing this?",
"Mod shows up with OP background when viewing deleted comments",
"Deleting 'garbage' nodes after polygon dissolve I work with QGIS 2.10.1 on Windows 7 (x64). I have dissolved polygons from an attribute value and the polygons geometries being not perfectly joined together, I get some 'garbage' nodes I need to delete. I have tried to edit the layer and using nodes tool, selecting and deleting the nodes, but it seems impossible to do (nodes are not deleted at all!). Any idea on how to process this kind of clean-up? EDIT : you can for testing.",
"The close dialog says there are two off-topic votes, but none of the off-topic reasons have votes next to them I've found strange behavior when closing this - I definitely see that there are 3 closing votes and 2 of them are at \"Off-topic\" section: -but there are no explanations on section itself: -while, normally, it's expected that it will appear. In custom comments section there are also no closing-votes displayed. Perhaps it's just my browser (which is FF 26 x64 under Win) - so marking this as a \"possible bug\". Thank you for your attention.",
"Difference between JOIN and INNER JOIN Both these joins will give me the same results: SELECT * FROM table JOIN otherTable ON table.ID = otherTable.FK vs SELECT * FROM table INNER JOIN otherTable ON table.ID = otherTable.FK Is there any difference between the statements in performance or otherwise? Does it differ between different SQL implementations?",
"Easiest way to move my Windows installation to an SSD? I've taken the plunge and bought an SSD and want to move my existing Windows installation over. The current hard disk is 500Gb, but I've trimmed the contents down to about ~40Gb. I'm transferring it across to a 100Gb SSD and looking for the easiest way just to copy everything across and set the SSD up as a boot device. I've looked at a few tools like Macrium Reflect, but they don't seem able to restore to a smaller drive. Do I need to go for something like to do this? I'm trying to avoid scary Linux-based boot utilities if possible, does anyone know of an easier way?",
"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.",
"\\dots versus \\ldots - is there a difference? Is there a difference between \\dots and \\ldots, the ellipsis? If yes: Which? When to use \\dots and when to use \\ldots? If no: Why are there both at all?",
"Why doesn't this C++0x code call the move constructor?",
"How many ways can you divide $9$ students into three unlabeled teams where one team contains $4$ people, one contains $3$ people and the last contains $2$ people? Unlabeled, meaning that groups with abc = bca = cba, etc I understand how to do this if the teams are labeled: $$\\frac{9!}{4!3!2!}$$ But there is a term missing in the denominator when the teams are unlabeled and I'm having difficulty understanding how to calculate how many ways the teams can be organized. There are $3!$ ways to organize the same first group of $3$, $4!$ ways to organize the same second group of $4$ and $2!$ ways to organize the last group of $2$. Why wouldn't you multiply $3!4!2!$ in the denominator? For instance: (ABC, DEFG) = (ABC, DEGF) = (ABC, DFEG) = (ACB, DFGE), etc"
] |
medi_sts_stackexchange_dupe
|
Bounty Notices disappear on loading edits
|
Why does the question's closed status disappear when clicking to load a new edit?
|
[
"\"See somebody do\" and \"see somebody doing\"",
"How to determine which app is causing vibration? I have a Moto G6 Play that vibrates like it is getting notifications but it's not. The vibration is inconsistent and seems random so I would like to know if there is a logcat or something I can run to log which app is calling the vibration so that I can shut it off? The same thing happens on my wife's phone, same model, and it does my head in. The device is running Android 9.",
"How to know where shell variables and functions are set? When I type the set command in my system I've got this extract out : __colormgr_commandlist=' create-device create-profile delete-device delete-profile device-add-profile device-get-default-profile device-get-profile-for-qualifier device-inhibit device-make-profile-default device-set-kind device-set-model device-set-serial device-set-vendor find-device find-device-by-property find-profile find-profile-by-filename get-devices get-devices-by-kind get-profiles get-sensor-reading get-sensors get-standard-space profile-set-filename profile-set-qualifier sensor-lock sensor-set-options ' __grub_script_check_program=grub-script-check _backup_glob='@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg*|rpm@(orig|new|save))))' _xspecs=([freeamp]=\"!*.@(mp3|ogg|pls|m3u)\" [cdiff]=\"!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))\" [bibtex]=\"!*.aux\" [rgview]=\"*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)\" [oowriter]=\"!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)\" [chromium-browser]=\"!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))\" [tex]=\"!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)\" [netscape]=\"!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))\" .../.. _xinetd_services () { local xinetddir=/etc/xinetd.d; if [[ -d $xinetddir ]]; then local restore_nullglob=$(shopt -p nullglob); shopt -s nullglob; local -a svcs=($( printf '%s\\n' $xinetddir/!($_backup_glob) )); $restore_nullglob; COMPREPLY+=($( compgen -W '${svcs[@]#$xinetddir/}' -- \"$cur\" )); fi } dequote () { eval printf %s \"$1\" 2> /dev/null } quote () { local quoted=${1//\\'/\\'\\\\\\'\\'}; printf \"'%s'\" \"$quoted\" } quote_readline () { local quoted; _quote_readline_by_ref \"$1\" ret; printf %s \"$ret\" } I checked all files in my knowledge as /etc/profile, /etc/environment, and/or ~/.bashrc. I didn't find any generation script or code calling. Do you have any advice where is come from ?",
"How do I transfer programs from my old computer to my new Windows 7 computer? I know about the Easy Transfer tool included in Windows 7 that will transfer all my files but I want to transfer my programs. Also, I don't want to buy any gimmicky program if I don't have to.",
"Get top results for each group (in Oracle)",
"Can I fly back to Italy if my Italian residency card has expired and is being renewed? I have a residence permit (permesso di soggiorno) for Italy. I am currently in the Netherlands for an exchange. My permit expired on the 30th of November and I applied for a new one but I will get the card in January. I have the documents supporting that I have applied for the renewal of the permit. In the middle I want to travel to Italy for Christmas and come back to the Netherlands. Would this be a problem?",
"How to convert strings into integers in Python? I have a tuple of tuples from a MySQL query like this: T1 = (('13', '17', '18', '21', '32'), ('07', '11', '13', '14', '28'), ('01', '05', '06', '08', '15', '16')) I'd like to convert all the string elements into integers and put them back into a list of lists: T2 = [[13, 17, 18, 21, 32], [7, 11, 13, 14, 28], [1, 5, 6, 8, 15, 16]] I tried to achieve it with eval but didn't get any decent result yet.",
"Is it possible to enable System Protection from the command prompt?",
"Show that the series $$\\sum\\limits_{n=2}^{\\infty} \\frac {(n^3+1)^{1/3}-n}{\\log n}$$ converges. I showed it using Abel's theorem and limit comparison test. Any other simpler method?",
"Root partition size remains same after partition resize with gparted I had resized my root partition from 30gb to 70gb using gparted. But Ubuntu still shows that I have the same old disk size while gparted shows that I acually have 70gb and that the other 40gb is somehow used. How can I fix this? Output of 'df -h': Filesystem Size Used Avail Use% Mounted on /dev/sda5 30G 16G 13G 55% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 1.9G 8.0K 1.9G 1% /dev tmpfs 391M 884K 390M 1% /run none 5.0M 0 5.0M 0% /run/lock none 2.0G 284K 2.0G 1% /run/shm none 100M 48K 100M 1% /run/user /dev/sda6 341G 115G 227G 34% /media/Data /dev/sdb1 932G 459G 474G 50% /media/sidharth/passport Output of mount: /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/cgroup type tmpfs (rw) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755) /dev/sda6 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfsd-fuse on /run/user/sidharth/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=sidharth) /dev/sdb1 on /media/sidharth/passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)",
"Pdf of the square of a standard normal random variable",
"Why does my computer get less battery life with Ubuntu compared to Windows? Last year I purchased a Dell Inspiron 5315 laptop shipping with Windows 7 preinstalled. I installed Ubuntu 10.10 alongside it with dual-booting. On upgrading to Ubuntu 11.10, I was upset to find I now get less than one hour of battery life! Windows 7 gives me 2.5 hours of running time. Is there any possible explanation why my battery is running out faster with Ubuntu? Can anybody tell me better power options?",
"Django: manage.py does not print stack trace for errors",
"Maximum area of isosceles triangle with perimeter 6 cm Problem. What is the side lengths of an isosceles triangle with $6cm$ perimeter which has the largest area? I solved this problem as below and I would like to learn that if there is anything wrong: Let us say that the side lengths are $a$ and the bottom length is $6-2a$. By using pythagorean theorem we can conclude that the height $h$ is equal to $\\sqrt{6a-9}$. Then, the area of the triangle can be given as $f(a)=(3-a)(\\sqrt{6a-9})$. So $f'(a)=-\\sqrt{6a-9}+\\cfrac{3}{\\sqrt{6a-9}}$. Finally, $f'(a)=\\cfrac{12-6a}{\\sqrt{6a-9}}$ and $f'(a)=0 \\iff a =2$.",
"Insert distinct data into Combobox List",
"How to remove a watermark from a PDF file? I thought this would be a simple task, but it turned out the other way. The watermark is the very same (overlapping, but transparent) image on every single page. I created the PDF file myself (so no copyright worries here) using PDFCreator 0.9.8. I have already tried my friend's Adobe Acrobat Pro, but it didn't work. It tries to remove it, but it can't. I tried to remove header/footer, etc., but the watermark just won't disappear. How can I remove the watermark?",
"Why does Google Analytics report 100% bounce rate when the page has lots of page views? Google Analytics reports 100% bounce rate for a page which has lots of page views and an Avg Time on Page of 32 seconds. Shouldn't one of the following be true? Either the bounce rate is less than 100% when the Avg Time on Page is greater than 0 or the Avg Time on Page is 0 when the bounce rate is 100%. I fail to see how or why the report does not conform the above two conditions.",
"How do I view all available HDD's/partitions?",
"What is the best way to parse html in C#?",
"How many $m\\times n$ tables are there if they are subject to the following two conditions? In each cell of the table we have $1$ or $-1$. The product of all the cells in any given row and the product of all cells in any given column equals $-1$. I already know if Parity of $m$ and $n$ are different there is no such a table. what is the answer in general?"
] |
medi_sts_stackexchange_dupe
|
help proving an binomial identity about catalan numbers
|
Proving this identity $\sum_k\frac{1}{k}\binom{2k-2}{k-1}\binom{2n-2k+1}{n-k}=\binom{2n}{n-1}$ using lattice paths
|
[
"I can't get to the bottom of this error, because when the debugger is attached, it does not seem to occur. Collection was modified; enumeration operation may not execute Below is the code. This is a WCF server in a Windows service. The method NotifySubscribers() is called by the service whenever there is a data event (at random intervals, but not very often - about 800 times per day). When a Windows Forms client subscribes, the subscriber ID is added to the subscribers dictionary, and when the client unsubscribes, it is deleted from the dictionary. The error happens when (or after) a client unsubscribes. It appears that the next time the NotifySubscribers() method is called, the foreach() loop fails with the error in the subject line. The method writes the error into the application log as shown in the code below. When a debugger is attached and a client unsubscribes, the code executes fine. Do you see a problem with this code? Do I need to make the dictionary thread-safe? [ServiceBehavior(InstanceContextMode=InstanceContextMode.Single)] public class SubscriptionServer : ISubscriptionServer { private static IDictionary<Guid, Subscriber> subscribers; public SubscriptionServer() { subscribers = new Dictionary<Guid, Subscriber>(); } public void NotifySubscribers(DataRecord sr) { foreach(Subscriber s in subscribers.Values) { try { s.Callback.SignalData(sr); } catch (Exception e) { DCS.WriteToApplicationLog(e.Message, System.Diagnostics.EventLogEntryType.Error); UnsubscribeEvent(s.ClientId); } } } public Guid SubscribeEvent(string clientDescription) { Subscriber subscriber = new Subscriber(); subscriber.Callback = OperationContext.Current. GetCallbackChannel<IDCSCallback>(); subscribers.Add(subscriber.ClientId, subscriber); return subscriber.ClientId; } public void UnsubscribeEvent(Guid clientId) { try { subscribers.Remove(clientId); } catch(Exception e) { System.Diagnostics.Debug.WriteLine("Unsubscribe Error " + e.Message); } } }",
"Does the limit $\\lim _{x\\to 0} \\frac 1x \\int_0^x \\left|\\cos \\frac 1t \\right| dt$ exists? Does the limit $\\lim _{x\\to 0} \\frac 1x \\int_0^x \\left|\\cos \\frac 1t \\right| dt$ exists ? If it does then what is the value ? I don't think even L'Hospital's rule can be applied . Please help . Thanks in advance",
"Our GM won't let us affect the story; the more I play the less fun I have. What do I do? I was wondering if anyone could give me some advice or anything on a GM situation. My current GM is running a campaign and it is very video game/anime like. It started out super fun and the deeper we get the less fun I have. The reason is, it feels like GM is telling us a story but we cannot interact or change anything during his, \"cut scenes\". No matter what any player does he just says, \"No it didn't work,\" or, \"Yeah you do that. See if you roll a 20.\" We also can't damage any boss he has until we reach the point in the story that he has planned, so our interactions we have with villains don't matter. I feel like he is making us sit there and listen to an anime he has come up with in his head. Since the players can't change or react to the key situations. I find my self sitting there thinking, why would I react, it doesn't matter. It's not just me either. Another player feels the same way. I am going to talk to my other fellow players soon about it and see how they feel. Side note: the GM as a person is very defensive and I am afraid to confront him about it because I know he will throw a fit. We have also caught him straight lying about abilities and stats on his own PC in other campaigns, and he doesn't take to kindly when you call him out. He is new to GMing. This is only the second game I have played with him as a GM. The first one had one session the he just never wrote more for. Is there anything I can do to maybe get him to more lenient with his story? I really enjoy the story for the most part and if he would just let our characters do things and give us a chance at stopping his villians or letting us change the story based on our actions, everything would be cool.",
"Switching from one area of graduate study to another? Is it possible to switch from one area of graduate study to another in US universities? For example, suppose someone has enrolled in a computer science phd program. Can he switch over to math(or physics) phd program in the same school later?(or say from applied mathematics to pure mathematics?) What are the steps for doing for doing that?",
"How can I get an underbrace and an overbrace to partially overlap in an equation? Sometimes I want to describe portions of an equation using \\underbrace and \\overbrace in such a way that the portions are not completely distinct, for example: /-------\\ x = A + B + C + D + E \\-------/ \\---/ What is the best way to do this?",
"If asking a question or giving instruction towards a group of objects where the number is unknown (and possibly could be one) what is the correct way to phrase the sentence? Which of the following sentences are more correct: Has there been any studies regarding this and if so what has been the conclusion? OR Has there been any studies regarding this and if so what have been the conclusions?",
"Console freezes on auto-complete of /mnt/folder (CIFS) share I have a Ubuntu 14.04 server that will lock up after an undetermined amount of time when you attempt to tab-auto-complete the path of a CIFS share in the /mnt directory. I mount the share and it seems to work fine for a uncertain amount of time. I can do ls or run du on folders within the mounted share. Then I will go to tab out a folder path and my console locks up. I can start a new session but it will lock as soon as I try to mess with the mounted share; this even happens to other users if I have them try as well. I have no idea why this is happening? I've never seen this issue.",
"latex : Exclude draftwatermark from specific pages I am using draftwatermark package. Is there any option to exclude watermark from some specific pages? Say no watermark from pg 3-4. I can not use xwatermark package. It conflicts with the geometry package of my document. MWE: \\documentclass[12pt,a4paper]{exam} \\usepackage{draftwatermark} \\usepackage{lipsum} \\SetWatermarkAngle{45} \\SetWatermarkLightness{.8} \\SetWatermarkFontSize{10cm} \\SetWatermarkScale{5} \\SetWatermarkText{\\tt{12345}} \\begin{document} \\lipsum[1-20] \\end{document}",
"Is a Schengen visa/transit visa required for a transit flight through two Schengen airports?",
"How to get back to a site when viewing one of its questions When viewing a question on a site which I don't use (I never registered on it), I can't figure out how to get back to the list of questions of the site. See this example from the Stack Exchange Android app. Where should I click to see the list of questions? (I chose Mathematics Educators because it's the most recent site, it is very likely that most users don't have an account on this website) Here is a random example: When viewing a question, I don't know how to view the list of questions. This site can't be found in the sidebar since it's not in my Your Sites list. The top menu containing the site's title only opens the sidebar.",
"I have this MySQL query: SELECT DAYOFYEAR(`date`) AS d, COUNT(*) FROM `orders` WHERE `hasPaid` > 0 GROUP BY d ORDER BY d Which returns something like this: d | COUNT(*) | 20 | 5 | 21 | 7 | 22 | 12 | 23 | 4 | What I'd really like is another column on the end to show the running total: d | COUNT(*) | ??? | 20 | 5 | 5 | 21 | 7 | 12 | 22 | 12 | 24 | 23 | 4 | 28 | Is this possible?",
"Ubuntu 20.04 on DualBoot fail 90% of tries - Initramfs unpacking failed: Decoding failed",
"Help + Noun + Gerund or Infinitive",
"P.d.f of the absolute value of a normally distributed variable I came across this question as an exercise, had a brief idea, but didn't know how to proceed. Let $X \\sim N(0, 1)$. What is the p.d.f of $|X|$ ? I know the final p.d.f looks just like the right half of the original pdf, but extended vertically for a factor of 2. Could someone please show mathematically what the p.d.f of variable |X| is going to be, and explain briefly? Thank you.",
"Limit of $\\lim_{n\\rightarrow \\infty} \\sum^{n}_{i=1} \\frac{1}{\\sqrt {n^2 +i} }$",
"Look at the profile page of , who has just \"lost\" 100k reputation and all their bronze badges, because of this broken design. Shouldn't the primary usercard be kept intact no matter how other elements grow? P.S. So many design bugs these days, did SE do a large CSS refactory? P.P.S that squeezes the right pane ( to reproduce)",
"create mesh then add vertices to it in python",
"Cron Job not working in plugin I have written a plugin that will convert posts to excel format and then email the .xls to an email id. I can make it work with when function is declared in functions.php but does not work with function defined in plugin file. if ( ! wp_next_scheduled( 'xls_func_hook1' ) ) { wp_schedule_event( time(), 'hourly', 'xls_func_hook1' ); } add_action( 'xls_func_hook1', 'sendxls1' ); //senxls1 is a function in functions.php if ( ! wp_next_scheduled( 'xls_func_hook2' ) ) { wp_schedule_event( time(), 'hourly', 'xls_func_hook2' ); } add_action( 'xls_func_hook2', 'export2excel' ); The full code is at",
"MacBook Pro 2018 Random Restart > Previous shutdown cause: -20",
"As far as I can tell, it's something like this: damage reduction = armor / (armor + 100) Is this accurate?"
] |
medi_sts_stackexchange_dupe
|
Why is it that Harry Potter is the only one who should defeat Voldemort?
|
Why didn't Dumbledore just hunt Voldemort down?
|
[
"Assessing approximate distribution of data based on a histogram Suppose I want to see whether my data is exponential based on a histogram (i.e. skewed to the right). Depending on how I group or bin the data, I can get wildly different histograms. One set of histograms will make is seem that the data is exponential. Another set will make it seem that data are not exponential. How do I make determining distributions from histograms well defined?",
"Apache SSL VirtualHosts on a single IP using UCC/SAN certificate I need to host several Apache virtual hosts with SSL from a single IP. Now - I understand that because SSL wraps around the HTTP request, there's no way to know which host is being requested until a public key has been sent to the client first. This essentially breaks the possibility of SSL virtual hosts using a standard SSL certificate. I have obtained a Unified Communications Certificate (UCC), otherwise known as a Subject Alternative Name (SAN) certificate. This allows me to serve the same certificate for multiple domains. I would like this to be the certificate served by Apache for any SSL request - and then have Apache resolve the virtual host as usual, once the encryption has been established. How should I configure Apache for this? I have tried to research how this can be done, but all I can find are quotes which say that it is possible, but no specifics: wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI While Apache can renegotiate the SSL connection later after seeing the hostname in the request (and does), that's too late to pick the right server certificate to use to match the request hostname during the initial handshake, resulting in browser warnings/errors about certificates having the wrong hostname in them. serverfault.com/questions/48334/apache-virtual-hosts-with-ssl Incidentally, it is possible to have multiple SSL-secured named virtual hosts on a single IP address - I do it on my website - but it produces all sorts of warnings in the Apache logs, and certificate warnings in the browser. I certainly wouldn't recommend it for a production site that needs to look clean. -David Jul 31 at 4:58 www.digicert.com/subject-alternative-name.htm Virtual Host Multiple SSL sites on a single IP address. Hosting multiple SSL-enabled sites on a single server typically requires a unique IP address per site, but a certificate with Subject Alternative Names can solve this problem. Microsoft IIS 6 and Apache are both able to Virtual Host HTTPS sites using Unified Communications SSL, also known as SAN certificates. Please help.",
"Combining two covariance matrices I'm calculating the covariance of a distribution in parallel and I need to combine the distributed results into on singular Gaussian. How do I combine the two? Linearly interpolating between the two almost works, if they are similarly distributed and sized. provides a forumla at the bottom for combination but it doesn't seem right; two identically distributed distributions should have the same covariance, but the formula at the bottom of the page doubles the covariance. Is there a way to combine two matrices?",
"How can I disable the Windows key from opening the Activities overview? How can I disable the Windows key (or Super) from showing the GNOME Shell Activities overlay?",
"Is there a way to avoid SSH typing delay?",
"Consider that we have two balls, one white and one black, and two distant observers A and B with closed eyes. We give the first ball to the observer A and the second ball to the observer B. The observers don't know the exact color (state) of their balls, they know only the probability of having one or another color, until they look at them (measure). If the observer A looks at his ball he will see its color, which is white, so he immediately knows the color of the second ball. Lets call this “classical entanglement”. My question is: What is the difference between this “classical entanglement” and the quantum entanglement, for example, of two entangled electrons with opposite spins states? Can this analogy be used to explain the quantum entanglement?",
"changed primary email in google account. how to log in? I added gmail to my google account. Now when i try to log into stack exchange using google it prompts me to create a new account instead of using the existing. The google account is still the same but google changed the primary email adress. How can i log in again?",
"For a project into balloon simulation I'd like to know how the force on a balloon changes with altitude: I know that the Buoyant force on a balloon is: $F = (\\rho_{air} - \\rho_{helium})gV$ Using changing air density from the international standard atmosphere and changes in gravitational acceleration I can calculate the buoyant force and add this to the (negative) force of gravity mg. However I know that it isn't this simple, the balloon changes volume with altitude as the air pressure outside the balloon changes. I'd like to know how the balloon inflates - this would be a great help! I think it may be something to do with ideal gas laws - I can calculate air temperature and pressure from the international standard atmosphere but do I use pressure as the air pressure? - or air pressure minus balloon pressure?",
"Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing: class SomeContainer<E> { E createContents() { return what??? } } EDIT: It turns out that could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated. I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's .",
"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 simplify the summation kk! without using induction?",
"How to convert milliseconds into human readable form?",
"Some spells, such as Forbiddance, say that under certain circumstances, they last \"Until Dispelled\". Other spells, such as Mordenkainen's Private Sanctum, say that under certain circumstances, they become \"Permanent\". What is the difference between these two terms? Does \"Permanent\" mean that the effect can never be dispelled?",
"Double value returns 0",
"Securing WMS against unauthorized access? In a project the customer wants the images of the WMS to be secured against unauthorized access. What are the common solutions to realize that? Are they compatible with the OGC-standards?",
"Java: Cannot find symbol?",
"Infinite coproduct of abelian groups One can see on every text (book, lesson, comments) that a direct sum/coproduct of abelian groups is the same as a finite product but in the infinite case, the direct sum/coproduct is only a subgroup of the product. Why does an element in an infinite direct sum only have finitely many components different from the neutral elements? I don't see where the \"finite\" comes from when I look at the universal property. Also, in another situation, a condition of \"finiteness\" appears and I think that is because of the same structure: a freely generated group, vectors space, algebra etc... has elements that are finite product/sum of generating elements. Because, if one really wants an infinite \"sum\" (or sequence) one may just take a formal serie. That is a ring, hence also an abelian group.",
"How do I set up a Cron job?",
"Crossfading Video AND Audio with ffmpeg This Super User answer has got me so far, but now that I have tried many solutions and seen every SO link out there, it's time to ask you all for help. I am trying to crossfade 2 videos that are 10 seconds each in ts format with audio and video at the same time. The steps are: Add complex filter black screen Fade out video 1 after 9 seconds, with 1 second fade duration Fade in video 2 at 9 seconds, with 1 second fade duration Trim black filter output to 19 seconds This works fine for just video alone, but when I attempt to add audio, I can't get past this error message: Output pad \"default\" with type audio of the filter instance \"Parsed_asetpts_4\" of asetpts not connected to any destination It appears I'm not connecting the audio output properly. I think I need to alter the [over] lines to include audio. But how do I do this? `ffmpeg -i vid1.ts -i vid2.ts -f lavfi -i color=black -filter_complex \\ \"[0:v]format=pix_fmts=yuva420p,\\ fade=t=out:st=9:d=1:alpha=1,setpts=PTS-STARTPTS[v0];\\ [0:a]\\ afade=t=out:st=9:d=1,asetpts=PTS-STARTPTS[a0];\\ [1:v]format=pix_fmts=yuva420p,\\ fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+9/TB[v1];\\ [1:a]\\ afade=t=in:st=0:d=1,asetpts=PTS-STARTPTS+9/TB[a1];\\ [a0][a1]amix=inputs=2;\\ [2:v]scale=720x406,trim=duration=19[over];\\ [over][v0]overlay[over1];\\ [over1][v1]overlay=format=yuv420[outv]\" -vcodec libx264 -y -map [outv] final.ts`",
"I'm going to reset my Android tab because its internal memory is low. Is it safe to erase the system data of my android tablet (not rooted)? If I restore the factory setting of my Android, will the uninstallable apps be also removed or only those that can be uninstalled?"
] |
medi_sts_stackexchange_dupe
|
Clear assigned y'[x] from memory
|
Error entering equation in DSolve
|
[
"Evaluate $$ 1 + \\frac{1}{3}\\frac{1}{4}+\\frac{1}{5}\\frac{1}{4^2}+\\frac{1}{7}\\frac{1}{4^3}+\\dots$$ All i could do was to see that $$\\frac{1}{3}=\\frac{1}{2.1+1},\\frac{1}{5}=\\frac{1}{2.2+1},\\frac{1}{7}=\\frac{1}{2.3+1},\\dots$$ SO, we should be able to write $$ 1 + \\frac{1}{3}\\frac{1}{4}+\\frac{1}{5}\\frac{1}{4^2}+\\frac{1}{7}\\frac{1}{4^3}+\\dots=1+\\sum_{n=1}^{\\infty}\\frac{1}{2n+1}.\\frac{1}{4^n}$$ This is what i could simplify the given question to... But, this is doing me no good.. I could not go any further.. I would be thankful if some one can help me to clear this. I would request users who are trying to help me to just give necessary hints but not post it as answer. Thank You.",
"Is it a bad practice to catch Throwable?",
"How to determine day of week by passing specific date?",
"Using congruences, show $\\frac{1}{5}n^5 + \\frac{1}{3}n^3 + \\frac{7}{15}n$ is integer for every $n$",
"What's the application extension? (aka .exe, .app, etc.) I'm new to Ubuntu. What's the application extension for development reasons? I know Windows is mainly .exe and Mac is .dmg or .app. Does Linux have an unique one?",
"What is the best base to use?",
"Swing's KeyListener and multiple keys pressed at the same time",
"Linear regression best polynomial (or better approach to use)? Any ideas on other polynomials I could successfully use for applying regression? My goal is a solution that has fit error strictly based on the noise. Is this possible since it is a bell-like curve? The tails can be long, short or non-existent. Am I looking for the impossible? Please note it has been a while since I have plunged this far into linear regression. Anyway, my data points do not fit the $ax+bx^2+c$ polynomial well enough. I would like a replacement for this polynomial to apply regression (or different approach). In the following example, each point misses the fit curve by $20\\%$ of the $Y$ range on average (of the data points). I looked at splines, but I do not know how to apply the regression since they look piece-wise. Example $Y$ values (evenly spaced in $X$). It looks kind of like a bell curve. I would be applying 5 to 50 data points to determine the polynomial coefficients. Ultimately, I am interested in the best $X$ location for the peak based on the data points. X Y -40 -21142.1111111111 -30 -21330.1111111111 -20 -12036.1111111111 -10 7255.3888888889 0 32474.8888888889 10 32474.8888888889 20 9060.8888888889 30 -11628.1111111111 40 -15129.6111111111",
"Use masks as part of materials in cycles",
"Intuitive explanation of binomial coefficient formula",
"Non-standard signature of main() compiles successfully",
"Proving the measure of an increasing sequence of measurable sets is the limit of the measures Show that if $A_1\\subseteq A_2\\subseteq A_3\\subseteq\\cdots$ is an increasing sequence of measurable sets (so $A_j\\subseteq A_{j+1}$ for every positive integer $j$), then we have $$m\\left(\\bigcup_{j=1}^\\infty A_j\\right)=\\lim_{j\\to\\infty}m(A_j)$$ Here is my proof: According to the $\\sigma$-algebra property, $\\bigcup_{j=1}^{\\infty}A_j$ is a measurable set, so it makes sense to talk about $m(\\bigcup_{j=1}^{\\infty}A_j)$. Firstly, I prove that $\\lim_{j\\to\\infty}m(A_j)\\leq m(\\bigcup_{j=1}^{\\infty}A_j)$. This is because for any given positive integer $N$, $A_N\\subseteq \\bigcup_{j=1}^{\\infty}A_i$, according to monotonicity, we have $m(A_N)\\leq m(\\bigcup_{j=1}^{\\infty}A_i)$. Take the limit,we will have $\\lim_{j\\to\\infty}m(A_j)\\leq m(\\bigcup_{j=1}^{\\infty}A_j)$. Secondly, I prove that $m(\\bigcup_{j=1}^{\\infty}A_j)\\leq \\lim_{j\\to\\infty}m(A_j)$. For any given positive integer $N$, $\\bigcup_{j=1}^N A_j = A_N$. According to monotonicity,we have $m\\left(\\bigcup_{j=1}^N A_j\\right)=m(A_N)\\leq \\lim_{j\\to\\infty}m(A_j)$. Take the limit, we will have $m\\left(\\bigcup_{j=1}^\\infty A_j\\right) \\leq \\lim_{j\\to\\infty} m(A_j)$. Combine the above two arguments, we will see that $$m\\left(\\bigcup_{j=1}^\\infty A_j\\right)=\\lim_{j\\to\\infty} m(A_j)$$$\\Box$ The above is my proof, unlike many books, my proof does not use the property of countable additivity. So I doubt my proof is correct. Who can point out where are my mistakes?",
"It is me who am to blame. It is I who am to blame. Which one is correct here? I am bewildered about these two sentences.",
"Can inner classes access private variables? class Outer { class Inner { public: Inner() {} void func() ; }; private: static const char* const MYCONST; int var; }; void Outer::Inner::func() { var = 1; } const char* const Outer::MYCONST = \"myconst\"; This errors out when I compile with class Outer::Inner' has no member named `var'",
"What is special about square numbers here?",
"I am looking to build a camera trap for wildlife viewing, able to capture pictures (or even videos) in decent quality to be able to identify distinct features. I do however need to be able to see the pictures in real time, so the camera would need some sort of wireless connection to a receiving device such as a phone. I thought of using an FPV setup as used in drone racing, but the quality and range seems to be quite low, and the strengths of an analog signal seem to be latency and fps, which are both not important to me. It would be nice to have some sort of digital signal to be able to do some editing, such as storing pictures. It would also be cool to connect several cameras to one device. Are there any solutions to this problem? Would a raspberry pi/arduino setup work in some way? Thanks!",
"Could someone please explain the role of the transistor in this circuit? I have a feeling it has to do with the LC circuit but I'm not sure and don't understand completely. The following is an image of the circuit (the transistor is n-type. It is used in lots of sensors to detect and generate ultrasonic waves.",
"Weird thing in references/bibliography page",
"$A \\subseteq \\mathcal{R}(N)$ and given that (by inductive definition): $N ∈ S$. If $a \\in R$, then $R \\setminus \\{a\\} \\in A$. I need to prove that for each $A \\in S$, $N\\setminus A$ is finite. How can I prove this formally?",
"Pdf of the square of a standard normal random variable"
] |
medi_sts_stackexchange_dupe
|
I want to delete the selected element in an array in java
|
How do I remove objects from an array in Java?
|
[
"I'm looking for a single word, for someone who... keeps seeing everything that is wrong with everybody else. never seems to see the good of other people, only the bad things. points at others, as if he forgets he has weaknesses himself. does not brag about himself, he just seems to be dissatisfied with everyone else. I prefer a word that is as unambiguous and clear-cut as possible.",
"Choosing Geographical Coordinate System and Projected Coordinate System for India? I want to create spatial data for entire India. Usually I use WGS84 as GCS and UTM zones for PCS in the places in India, but when I have to create the spatial data for entire India, I get confused which geographical coordinate systems and projected coordinate system will be suitable. What are suitable ones?",
"\\overbrace and \\underbrace with square bracket",
"I tried to manipulate a cube with the Boolean modifier. I tried to cut out an edge of the cube with a cylinder. Also, the shading result looks awful in FLAT SHADING mode, so I turned on SMOOTH SHADING. Has anyone an idea how to achieve a better result. (I also cut out a Sphere first, this made the result less awful). I used Blender Internal and rendered with smooth shading for smoothness. Using flat shading looks okay, except the \"round\" cutouts :/ Face normals are okay. First image is smooth shading. EDIT: User Pisurquatre suggested the EdgeSplit modifier, works perfect to me (Maybe a little tweaking here and there):",
"On the street, temperatures at night are about -5 °С and about 8 °C during the day. In the apartment it is about 25 °C. So, there is condensation on the windows and I don't want to wipe the windows every time. How do I prevent condensation on the balcony windows?",
"Is there a --parents option for mv like for cp? cp has a useful feature --parents that allows a file's directory structure to be copied to another directory: $ cp -v --parents source/directory/from target/ ‘source/directory/from’ -> ‘target/source/directory/from’ How do I similarly move a file?",
"Suppose there is a message that is encrypted with AES-128-CBC. The message is as follows, new lines are used to delimit the 16 byte boundary for each block: Wire funds from: Alice to Bob in the amount of $ 1 Because this message is encrypted using CBC mode, any modification of the first block of cipher text would propagate throughout the message. However, the amount of the fund transfer falls in the last block. I am under the assumption that an attacker can use the property of to alter the last block and produce a valid amount that is greater than \\$1 in far fewer than $2^{128}$ operations. Is this a correct assumption? Is there a name for this attack or do you know of a real world example? My instinct is that if you just need one byte of the 16 byte block to be of a specific value then it would only require $2^8$ operations because the other 120 bits of the plain text could be any value. For example lets say we wanted the last block of cipher text to decrypt to 9\\0 (where \\0 denotes a single null byte, and the message would be interpreted as \\$9), then it would take only $2^{16}$ operations to find this cipher text block. Is there something I am missing?",
"How to extend WIFI from ethernet Here's my current setup. Bonded \"Zone\" DSL modem/router on main level serving laptop #1 via Ethernet and laptop #2 via WIFI. WIFI does not serve basement level well, so I have Ethernet running to basement where it is divided by a switch with one Ethernet going to laptop #3 and another Ethernet going to entertainment system, which houses a Sony Playstation 3. The PS3 has gone on the fritz and is now only good for playing discs, so I recently added a Google Chromecast to the TV. The Chromecast, of course is WIFI only, and is only receiving a weak signal. Plus I need to have a decent WIFI signal to my phone, which is the interface device for the Chromecast. So what I would like to do is to use the Ethernet that was serving the PS3 and broadcast WIFI from it. What device can I plug the Ethernet into that will do this for me? And if you have a recommendation, are there any special setup instructions?",
"How to end paragraph text in an inverted pyramid shape? In many old books, the final paragraphs of chapters end in an inverted pyramid shape, like this: I think this is beautiful, so I would like to imitate this for my book. I've found the code for a triangle in this post \\documentclass{article} \\usepackage{microtype,shapepar} \\def\\triangleupshape{% {0}% {0}b{0}\\\\% {8.66}t{-5}{10}\\\\% {17.32}t{-10}{20}\\\\% {17.32}e{0}% } \\begin{document} \\shapepar{\\triangleupshape}A ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. \\par \\end{document} Which results in this: But I'd like it to be inverted and the first part of the paragraph need to be full line width. Only the last few lines should end in an inverted pyramid like in the example above. Is there a way to do this? Thanks in advance for your help.",
"In the DC Comics Universe, What Happens to Earthlings Under a Red Sun?",
"Are the floor functions of $0.999\\cdots$ and 1 equal? It is true that $0.999\\cdots=1$ but how does one justifies the integer part of $0.999\\cdots$ being 1 , where it is not, or alternatively without using $0.999\\cdots=1$ how can we show that $\\lfloor0.999\\cdots\\rfloor = \\lfloor 1 \\rfloor$ ?",
"What is momentum really?",
"Evaluation of $\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7}$ Evaluation of $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} = $$ $\\bf{My\\; Try::}$ I have solved Using Direct formula:: $$\\sin \\frac{\\pi}{n}\\cdot \\sin \\frac{2\\pi}{n}\\cdot......\\sin \\frac{(n-1)\\pi}{n} = \\frac{n}{2^{n-1}}$$ Now Put $n=7\\;,$ We get $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7}\\cdot \\sin \\frac{4\\pi}{7}\\cdot \\sin \\frac{5\\pi}{7}\\cdot \\sin \\frac{6\\pi}{7}=\\frac{7}{2^{7-1}}$$ So $$\\sin \\frac{\\pi}{7}\\cdot \\sin \\frac{2\\pi}{7}\\cdot \\sin \\frac{3\\pi}{7} =\\frac{\\sqrt{7}}{8}$$ Now my question is how can we solve it without using Direct Formula, Help me Thanks",
"Undo apt-get remove open* ubuntu 12.04",
"I do not know how to prove this question: $m^{\\phi(n)}+n^{\\phi(m)}\\equiv 1 \\pmod {mn}$ where $m$ and $n$ are relatively prime. Can anyone help?",
"How to re-install http windows service I replaced apache webserver with http(WINHTTP windows service) for use virtual hosts feature. But I was missing http(WINHTTP windows service) which I previously removed.I now want to reinstall this service for use print spooler.",
"I have been looking at this for hours and it isn't making anymore sense than it did in the first hour. If $a$ und ${x_{0}}$ are positive real numbers and ${x_{k}}$ defined as follows, prove that ${x_{k}}$ is monotone decreasing and bounded, then calculate the limit. ${x_{k}} = \\frac{1}{2}\\left({x_{k-1}+\\frac{a}{{x_{k-1}}}}\\right)$ What I though I had to do was pick an ${x_{0}}$ and solve for ${x_{k}}$, so I picked ${x_{0}}$. Then I wanted to put the result back into the function to get ${x_{k+1}}$, which I still believe is what I'm supposed to be doing, but I don't understand what I am getting as a result. I get that I should prove it is decreasing, then that it is bounded, then address the limit, but the how is missing.",
"Any option for mysqldump to ignore databases for backup?",
"How to move an object's origin to the center of its bounding box? What I want: I want to set the origin of an object to the center of its bounding box using a python command. What I've tried: bpy.ops.object.origin_set(type='ORIGIN_CENTER_OF_MASS') and bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY') What happened: As you can see, the origin isn't centered to the bounding box. EDIT: I asked the same question as with the addition of setting the origin to this center.",
"As much as I like having the hardcover core rule-books in front of me, usually I read or reference most information for RPGs on my computer. Unfortunately, my google-fu has failed me at finding places to buy a Player's Handbook PDF, or even whether said PDF exists at all. My question is this: Is there any place I can go to legally buy a D&D 5e core rulebook PDF? I'm not looking for the starter set or basic rules, since those are incomplete (and free), I'm just looking for the core books in PDF format."
] |
medi_sts_stackexchange_dupe
|
How can I find the center of ellipse given an Arc and ellipse radii?
|
How to find the center of an ellipse?
|
[
"Find out which process is locking a file or folder in Windows How can I find out which process is locking a file or folder in Windows? For instance, when trying to delete a folder, Windows reports this: The action can't be completed because the folder is open in another program Happens the same with a file, but how do I find out what program or application is currently using it and preventing me from deleting the file or folder?",
"Given a recurrence relation: $$ x_{n+2} = px_{n+1} + qx_n + r $$ Find the general term $x_n$ given initial conditions $x_1 = a$ and $x_2 = b$, where $a,b,p,q,r$ are some given numbers, $n \\in \\mathbb N$. Since this is a non-homogeneous linear recurrence relation i've started with solving for $x_n^h$ which is a solution for homogeneous relation: $$ x_{n+2} - px_{n+1} - qx_n = 0 \\\\ \\lambda^2-p\\lambda - q = 0 $$ I'm assuming here that two distinct roots $\\lambda_{1,2}$ exist for this equation (single root case is handled similarly). So the general term is in the form: $$ x_n = C_1\\lambda_1^{n-1}+C_2\\lambda_2^{n-1} $$ With the initial condition it's possible to find the values for $C_1$ and $C_2$: $$ C_1 + C_2 = a \\\\ C_1\\lambda_1 + C_2\\lambda_2 = b $$ After solving the system of equation with respect to $C_1$ and $C_2$: $$ C_1 = \\frac{b-a\\lambda_2}{\\lambda_1 - \\lambda_2} \\\\ C_2 = \\frac{b-a\\lambda_1}{\\lambda_2 - \\lambda_1} \\\\ $$ Which eventually results in: $$ x_n^h = \\frac{(a\\lambda_2 - b)\\lambda_1^{n-1} - (a\\lambda_1-b)\\lambda_2^{n-1}}{\\lambda_2 - \\lambda_1} $$ Final solution consists of a sum of particular and homogeneous solutions, but that is where I got stuck. What is the way to find the particular solution for the given problem? I'm pretty new to such kind of problems so any details are very much appreciated. upd: Based on the technique in @rtybase answer here are my findings: $$ \\begin{align} x_1 &= a \\\\ x_2 &= b \\\\ x_3 &= pb - qa + r \\end{align} $$ Writing the system for $c_1, c_2, c_3$: $$ \\begin{align} a &= c_1 + c_2 + c_3 \\\\ b &= c_1\\lambda_1 + c_2\\lambda_2 + c_3 \\\\ pb+qa+r &= c_1\\lambda_1^2 + c_2\\lambda_2^2 + c_3 \\end{align} $$ Now solving for the coefficients gives a huge formula. The answer to this problem suggests that: $$ x_n = \\frac{(\\lambda_2(a+\\gamma) - b -\\gamma)\\lambda_1^{n-1} - (\\lambda_1(a + \\gamma) - (b-\\gamma))\\lambda_2^{n-1}}{\\lambda_2 - \\lambda_1} - \\gamma $$ Where: $$ \\gamma = \\frac{r}{p+q-1} $$ Unfortunately I was not able to arrive at exactly the same result, but testing my solution (not posting since it's monstrously big) using SameQ in Mathematica with the given answer shows that they are equivalent. Those transformations are not very obvious to me, so i skipped them since the answer matches the given one (yet the symbolic expressions are different)",
"Types of polynomial functions. Quadratic, cubic, quartic, quintic, ...,? I would very much like to have a complete list of the types of polynomial functions. I know that theres: Quadratic : (AX^2 + BX + C) Cubic : (AX^3 + BX^2 + CX + D) Quartic : (AX^4 + BX^3 + CX^2 + DX + E) Quintic : (AX^5 + BX^4 + CX^3 + DX^2 + EX + F) What are the names of polynomial functions to the further powers? Sexstic? Septic? Octic? I'm not sure, so if someone could enlighten me, then that would be great. Please provide a list that goes at least to the seventh power, but it would be nice if you could go further. Thanks.",
"I'm wondering if there's a simple way to rewrite this in terms of $k$ and $x$, especially as a polynomial. It seems to me to crop up every so often, especially for $k=2$, when I integrate with trig substitution. But $k=2$ is not so bad, because I can use the double angle formula; it's the prospect of higher values of $k$ that motivates this question. I think the law of sines may help? Or maybe even De Moivre's theorem, to find the length of the hypotenuse as the length of the angle changes, if we think of the right triangle drawn from $\\arcsin(x)$ with side1 = $x$, hypotenuse = $1$, and side2 = $\\sqrt{1 - x^2}$ as a complex number, though I'm not sure how that might work.",
"Complex numbers equation: $z^4 = -16$",
"Save Illustrator as PDF with transparent background",
"What is the JVM thread scheduling algorithm?",
"How to arrive at $\\int_{0}^{1} f^3(x) \\, dx < (\\int_{0}^{1} f(x) \\, dx)^2$? Define $f : [0,1] \\to \\mathbb{R} $ differentiable satisfying $f(0)=0$ and $0<f'(x)<1$. Prove: $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$ I found the following answer, Define $F(x)=\\displaystyle\\int_{0}^{x} f^3(t) \\, dt - \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)^2$ We have $$F'(x)=f^3(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)f(x)=f(x)\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]$$ and $$\\left[f^2(x)-2 \\left(\\displaystyle\\int_{0}^{x} f(t) \\, dt\\right)\\right]'=2f(x)\\left[f'(x)-1\\right]$$ from which we can arrive at the conclusion. But I felt a little confused. In the past I usually proved the inequality by classical inequalities and something like Taylor expansion to use the condition about derivative. But this answer is little out of my expectation. Do we have other proofs or ideas to arrive at $\\displaystyle\\int_{0}^{1} f^3(x) \\, dx < \\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2$? And other thoughts about solving these types of issues? I think when we talk about $\\left(\\displaystyle\\int_{0}^{1} f(x) \\, dx\\right)^2 >\\ldots \\,$ it's a little difficult to deal with. I don't quite know what tools to use.",
"Uniform convergence on two separate intervals Test the sequence of functions for uniform convergence $$f_n(x)=\\frac{nx}{1+n^2x^2}$$ $a) \\text{on} \\ [0,1]$ $b) \\text{on} \\ [1,{\\infty})$ a) If we differentiate this with respect to x we get the following : $$(\\frac{nx}{1+n^2x^2})'=\\frac{n(1-n^2x^2)}{(1+n^2x^2)^2}$$ This is equal to $0$ for $x=^{+}_{-}\\frac{1}{n}$ From here we can either check these two values in the original function and take the larger one as the supremum or we can find the second derivative and check whether it's negative. In either case we find that for $x=\\frac{1}{n}$ we get the value $f_n(x)=\\frac{1}{2}$ and for $x=-\\frac{1}{n}$ we get $f_n(x)=-\\frac{1}{2}$. Note that $x=-\\frac{1}{n}$ doesn't even belong in our interval. Now we can finish the problem. $$\\lim_{n\\to \\infty}{\\frac{nx}{1+n^2x^2}}=0$$ So it is piecewise converging to $f(x)=0$ $$\\lim_{n\\to \\infty}\\sup{\\left \\lvert{f_n(x)-f(x)}\\right \\rvert}=\\lim_{n\\to \\infty}{\\frac{n\\frac{1}{n}}{1+n^2 \\frac{1}{n^2}}}=\\frac{1}{2}$$ So $f_n(x)$ does not convergence uniformly on $[0,1]$ to $f(x)=0$ b) Now we need to test the on the interval $[1,\\infty)$.From the first derivative we notice that if $x\\in [1,\\infty)$ then the numerator seems to be negative for all $x>1$. So $f_n(x)$ is monotonically decreasing. That means that the supremum will be at the first point of the interval or $x=1$. Taking the limit : $$\\lim_{n\\to \\infty}{\\frac{n}{1+n^2}}=0$$ We can see that the function convergences uniformly on this interval. Is there something wrong with either of these solutions? I'm having doubts mostly about the second interval since $x=\\frac{1}{n}$ is a supremum but only for $n=1$. However I believe that we need to have the supremum that's satisfied for all $n \\in N$. Pointing even the tiniest mistake in my solutions would be very helpful. Thank you.",
"If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin. Example code: \\documentclass{article} \\begin{document} \\newenvironment{myenv}{\\begin{equation}}{\\end{equation}} \\noindent $| \\leftarrow$ this is the left margin. \\begin{myenv} e ^{i \\pi} + 1 = 0 \\end{myenv} $| \\leftarrow$ this isn't the left margin. \\end{document} Output: Removing the newline after \\end{myenv} solves the spacing problem, but the resulting code is not readable. Of course, in this example I could just use the equation environment itself. My real issue involves a more complex custom environment that suffers from the same problem, and which also includes an equation environment within it.",
"Cannot set LC_CTYPE to default locale: No such file or directory",
"How does the US federal income tax system work? General question here about US personal income federal tax rates. Is it a cumulative effect where your income is first taxed at the lower tranches and move up, or is it one specific percent for your entire taxable income?",
"Should I set the title attribute for content DIV's to explain what they contain? I have a number of DIV's that break up a page into logical elements for styles and positioning, etc. As part of optimizing my site for search engine spiders, should I include a title attribute within these DIV's? (Yes I have a title as part of the whole page, I'm curious on individual structual elements) Ex ... <div id=\"SearchOptions\" title=\"Search filters and options - Type in a name or pick a business and Click 'Search' to get started\" > .... </div> ...",
"How to get the native version of Spotify running?",
"What is a virtual terminal for?",
"Algorithm to match one input file with given numbers of file",
"If $m,n\\in N$ Prove that there is such a positive integer k, such that $(\\sqrt{m}+\\sqrt{m+1})^n=\\sqrt{k}+\\sqrt{k+1}$ If $m,n\\in N$ Prove that there is such a positive integer k, such that $(\\sqrt{m}+\\sqrt{m+1})^n=\\sqrt{k}+\\sqrt{k+1}$ I attempted to solve this question using binomial coefficients, saying: $(\\sqrt{m}+\\sqrt{m+1})^n=\\sqrt{k}+\\sqrt{k+1}=\\sum\\limits_{a=0}^n {n\\choose a}*\\sqrt{m}^{n-a}*\\sqrt{m+1}^a$ and from here I was thinking that I had to do something with $\\sqrt{m}^{n-a}$ with $\\sqrt{k}$ and do something else with $\\sqrt{k+1}$ and $\\sqrt{m+1}^a$. Unfortunately I couldn't think of what to do with this circumstance. I then thought of maybe taking $(\\sqrt{k}+\\sqrt{k+1})^2=(\\sum\\limits_{a=0}^n {n\\choose a}*\\sqrt{m}^{n-a}*\\sqrt{m+1}^a)^2$, but this immediately over-complicated the question. Could you please explain to me how to solve this question and how to solve similar questions in the future?",
"The makes use of the term \"the author.\" When Bob makes a post, it's obvious Bob \"owns\" the content, but what happens when he checks the Community Wiki button? Does it become the property of the Stack Overflow community? Even if Bob is the only one to have edited it? Say I were to use a Community Wiki answer for something or other — say, in a book — who would I attribute the content to?",
"Many To many for Bulk records I have created two custom objects (A and B)and a junction object(AB). i.e. Both A and B have Many to Many relationship. Now I need to insert 5000 records. How can I automatically populate the relation in Junction object. DO I have to write any trigger or Do I have to do Manually mapping the records?",
"Why is $(2, 1+\\sqrt{-5})$ not principal? Why is $(2, 1+\\sqrt{-5})$ not principal in $\\mathbb{Z}[\\sqrt{-5}]$? Say $(2,1+\\sqrt{-5})=(\\alpha)$, then since $2\\in(2,1+\\sqrt{-5})$ we have $2\\in (\\alpha)$, so $\\alpha\\mid2$ in $\\mathbb Z[\\sqrt{-5}]$. Writing $2=\\alpha\\beta$ in $\\mathbb Z[\\sqrt{-5}]$ and taking norms, $4=N(\\alpha)N(\\beta)$ in $\\mathbb Z$, so $N(\\alpha)\\mid4$ in $\\mathbb Z$. Similarly, since $\\sqrt{-5}\\in(\\alpha)$ we get $N(\\alpha)\\mid5$, thus $N(\\alpha)$ is a common divisor of $4$ and $5$, therefore $N(\\alpha)=(1)$, so $\\alpha$ is a unit. But that means $1\\in (2,1+\\sqrt{-5})=(\\alpha)$, so it must be the whole ring, but it cannot to reach a contradiction, so how can I find an element, which is not in $(2, 1+\\sqrt{-5})$. Or is there a simpler method ? (Maybe not UFD would imply not PID)"
] |
medi_sts_stackexchange_dupe
|
Evaluate $ \lim_{n\to+\infty}\frac{1}{n}\sum_{k=1}^n\Big[\frac{2n}{k}\Big]-2\Big[\frac{n}{k}\Big]$.
|
Limit of Series with differences of Floor function
|
[
"Display Custom Fields in a SharePoint 2010 Content Query Web Part Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a SharePoint 2010 Content By Query Web Part",
"Modular arithmetic problem (mod $13$) $$\\large2017^{(2020^{2015})} \\pmod{13}$$ I am practicing for my exam and I can solve almost all problem, but this type of problem is very hard to me. In this case, I have to compute this by modulo $13$.",
"When I try to print a Unicode string in a Windows console, I get an error . UnicodeEncodeError: 'charmap' codec can't encode character .... I assume this is because the Windows console does not accept Unicode-only characters. What's the best way around this? Is there any way I can make Python automatically print a ? instead of failing in this situation? Edit: I'm using Python 2.5. Note: @LasseV.Karlsen answer with the checkmark is sort of outdated (from 2008). Please use the solutions/answers/suggestions below with care!! is more relevant as of today (6 Jan 2016).",
"I have done major updates to my website, and renamed all my URLs. How can I tell Google that I have renamed these URLs and let Google refresh its index? My website URL: http://www.pndmasr.com/ My sitemap: http://www.pndmasr.com/sitemap.xml I have uploaded my sitemap via Google Webmaster Tools many times. However, every time I search Google for \"pndmasr\", I still get results with old pages. I have waited more than 3 days but the problem remains. Any suggestions? Is there a problem with my sitemap?",
"With biblatex, is it possible to replace one author of an author list by a bibnamedash or idem string? With biblatex, the author can be replaced by a dash (or “idem”) in the bibliography. Is it possible to have this replacement also if there are multiple authors, and the first of these multiple authors is the same as the author of the book listed before? (It is somewhat difficult to describe, see the attached example instead, where “Buchautor, Hans-Wilhelm” should be replaced in book3 as well.) I assume that it should be possible by customising \\DeclareNameFormat, but I don’t know how. Minimal example: \\documentclass{scrartcl} \\usepackage[T1]{fontenc} \\usepackage[latin1]{inputenc} \\usepackage[english]{babel} \\usepackage{csquotes} \\usepackage{filecontents} \\begin{filecontents}{\\jobname.bib} @BOOK{book1, author = {Buchautor, Hans-Wilhelm}, title = {Irgendein Buch}, location = {Buch am Wald}, date = {2000} } @BOOK{book2, author = {Buchautor, Hans-Wilhelm}, title = {Ein anderes Buch}, location = {Berlin}, date = {2001} } @BOOK{book3, author = {Buchautor, Hans-Wilhelm and Zweitautor, Zoran}, title = {Noch ein Buch}, location = {London and New York}, date = {2010} } \\end{filecontents} \\usepackage[ style=authortitle, backend=bibtex8 ]{biblatex} \\bibliography{\\jobname} \\renewcommand*{\\bibnamedash}{% \\bibstring[\\mkbibbold]{idem\\thefield{gender}}} \\begin{document} \\nocite{*} \\printbibliography \\end{document} Edit 15/02/2011 17:14 I should have added that there was a feature request for biber which pointed back to biblatex. See . Edit 21/06/2011 9:26 Is this somehow possible now with biblatex 1.4/1.5? I played a bit with uniquename/uniquelist, but I could not get it to work.",
"Is there a simple way to explain how Kepler's third law follows from the inverse square law that of gravity (and laws of motion) For example for Kepler's second law we can say it's because Gravity is a central force What is it about the law of gravity which ultimately gives rise to Kepler's third law?",
"Are collective nouns always plural, or are certain ones singular? I'd say Microsoft have a way of bending the rules and I know that McLaren have won the championship. While this sounds strange, I believe it is correct English (sorry, I'm not native). But when it's a small company, would you still use it this way? Is a company always plural, or are small companies singular? I.e., would you say Bakery Johnson makes fine bread or Bakery Johnson make fine bread? Is it My book seller, Woody's, have moved or is it has moved?",
"How do you find the transfer function of a controller? Below is a block diagram of the system. I thought the circle symbol with the plus and minus sign was an op-amp but I'm not sure whether that's the case. I want to find the closed loop transfer function. If there was no feedback (open loop), then I think I could find the output as Y(s) = Vin*G. This would mean that the transfer function is Y(s)/Vin = G. Any ideas for how to find the closed loop transfer function and what the circle means?",
"If one is asking for a person, what should s/he say—1 or 2? Could I speak to Kristina? Could I speak with Kristina?",
"I am looking for a quick way to sleep without closing the lid, or using the mouse. If it matters, I have Lion version OS and a MacBook Air.",
"If $G$ is a compact topological group, how to show that a finite index subgroup of $G$ is open ? I really don't know where/how to start... PS : I precise that by \"compact\" I mean that it is hausdorff and that any recovering of $G$ by open sets has a finite sub-recovering (sorry if I wasn't unclear)",
"Prove if $\\operatorname{ord}(a)=m$, $\\operatorname{ord}(b)=n$, and $\\operatorname{gcd}(m,n)=1$, then $\\operatorname{ord}(ab)=mn$. I was reading this and was thinking how this proof would look like. I tried to do it and am not sure if this is correct. Here is what I did: If $a$ and $b$ commute then $(ab)^{mn} = a^{mn} * b^{mn} = (a^m)^n * (b^n)^m = 1 * 1 = 1.$ So $ord(ab) | mn$. Now, take $k = \\operatorname{ord}(ab) = m^\\prime * n^\\prime$ where m' is relatively prime with $n$ and $n'$ is relatively prime with $m$. By the result above $m' | m$ and $n' | n$. Now we have $((ab)^k)^{m/m'} = 1$ since $(ab)^k=1$. But on the other hand, by the commutativity: $$((ab)^k)^(m/m') =$$ $$((ab)^(m' * n'))^(m/m') =$$ $$ a^{n'm} * b^{n'm} = $$ $$(a^m)^{n'} * b^{n'm'}=$$ $$b^{n'm'} = 1$$ This implies that $n' * m'$ is divisible by $n$. But $m'$ is relatively prime with $n$, so we must have $n' = n.$ By symmetry, $m' = m$. So $ord(ab) = mn$. Just to say this again, I want to prove if $a$ and $b$ commute and $m$ and $n$ are relatively prime then $$ord(ab)=mn.$$ The comments are vague. I guess this must be the answer then and there probably is not another way to do this.",
"Script to remove certain span elements from an HTML file",
"How to find solutions of linear Diophantine ax + by = c?",
"Where Android apps store data? Could you list all possible directories where Android apps may store data, providing description what kind of data are stored in each directory?",
"Why is a home fiber connection asymmetric? I recently switched from an ADSL to a fiber connection and was surprised to see that the bandwidth is asymmetric (1 Gbps down / 250 Mbps up). While this is understandable in ADSL, I do not understand why fiber at home is asymmetric as well? It is not a limitation of the technology (I have symmetric fiber at the office, and always had)",
"How does Cypher exit/enter the Matrix without an operator?",
"How can I let a footnote continue on the next page? I have a rather long footnote which breaks a listing in two parts, unnecessarily. Since the listing is more important then the footnote I'd rather lake to have the footnote split. Can I customize (one or all) footnotes to have a maximal length before they are continued on the next page? Or can I manually split a footnote in two to get the effect?",
"Although the merits of stepwise model selection has been discussed previously, it is becoming unclear to me what exactly is \"stepwise model selection\" or \"stepwise regression\". I thought I understood it, but not so sure anymore. My understanding is that these two terms are synonymous (at least in a regression context), and that they refer to the selection of the best set of predictor variables in an \"optimal\" or \"best\" model, given the data. (You can find the Wikipedia page , and another potentially useful overview .) Based on several previous threads (for example here: ), it appears that stepwise model selection is considered a cardinal sin. And yet, it seems to be used all the time, including by what seem to be well respected statisticians. Or am I mixing up the terminology? My main questions are: By \"stepwise model selection\" or \"stepwise regression\", do we mean: A) doing sequential hypothesis testing such as likelihood ratio tests or looking at p-values? (There is a related post here: ) Is this what is meant by it and why it is bad? Or B) do we also consider selection based on AIC (or similar information criterion) to be equally bad? From the answer at , it appears that this too is criticized. On the other hand, Whittingham et al. (2006; )1 seems to suggest that variable selection based on information-theoretic (IT) approach is different from stepwise selection (and seems to be a valid approach)...? And this is the source of all my confusion. To follow up, if AIC based selection does fall under \"stepwise\" and is considered inappropriate, then here are additional questions: If this approach is wrong, why is it taught in textbooks, university courses, etc.? Is all that plain wrong? What are good alternatives for selecting which variables should remain in the model? I have come across recommendations to use cross-validation and training-test datasets, and LASSO. I think everyone can agree that indiscriminately throwing all possible variables into a model and then doing stepwise selection is problematic. Of course, some sane judgement should guide what goes in initially. But what if we already start with a limited number of possible predictor variables based on some (say biological) knowledge, and all these predictors may well be explaining our response? Would this approach of model selection still be flawed? I also acknowledge that selection of the \"best\" model might not be appropriate if AIC values among different models are very similar (and multi-model inference may be applied in such cases). But is the underlying issue of using AIC-based stepwise selection still problematic? If we are looking to see which variables seem to explain the response and in what way, why is this approach wrong, since we know \"all models are wrong, but some are useful\"? 1. Whittingham, M.J., Stephens, P.A., Bradbury, R.B., & Freckleton, R.P. (2006). Why do we still use stepwise modelling in ecology and behaviour? Journal of Animal Ecology, 75, pp. 1182–1189.",
"Repeat the same reference in footnote on different pages"
] |
medi_sts_stackexchange_dupe
|
Do the general population of the Galaxy know the Skywalker family tree?
|
By the end of The Force Awakens, who knows about Kylo Ren's family?
|
[
"How to send a header using a HTTP request through a cURL call? I wish to send a header to my Apache server on a Linux box. How can I achieve this via a cURL call?",
"Decode Base64 data in Java I have an image that is Base64 encoded. What is the best way to decode that in Java? Hopefully using only the libraries included with Sun Java 6.",
"Why do neural networks need so many training examples to perform? A human child at age 2 needs around 5 instances of a car to be able to identify it with reasonable accuracy regardless of color, make, etc. When my son was 2, he was able to identify trams and trains, even though he had seen just a few. Since he was usually confusing one with each other, apparently his neural network was not trained enough, but still. What is it that artificial neural networks are missing that prevent them from being able to learn way quicker? Is transfer learning an answer?",
"Parse JSON using Python?",
"Is my sugar daddy scamming me",
"Neural Network: MLP for regression with 3 continuous features, 1 categorical I am starting to study Neural Network. I want to build a MLP where I will feed it: 3 features which are continuous one feature which is categorical (48 classes) How can I do this? Before adding the categorical feature, I was using 'relu' activation function and 'lbfgs' as a solver in MLPRegrssor in sklearn. I was wondering: how can I integrate this variable into the network? Should I do one-hot encoding? Should I keep relu as activation function or should I try sigmoid, softmax or something like that?",
"Solution of equation $\\frac{x\\cdot 2014^{\\frac{1}{x}}+\\frac{1}{x}\\cdot 2014^x}{2} = 2014$ Solution of equation $\\displaystyle \\frac{x\\cdot 2014^{\\frac{1}{x}}+\\frac{1}{x}\\cdot 2014^x}{2} = 2014$ $\\bf{My\\; Try::}$ Clearly Here $x>0$, Now Using $\\bf{A.M\\geq G.M}$ So Here $\\displaystyle x\\cdot 2014^{\\frac{1}{x}}>0$ and $\\displaystyle \\frac{1}{x}\\cdot 2014^x>0$ . So $\\displaystyle \\left(\\frac{x\\cdot 2014^{\\frac{1}{x}}+\\frac{1}{x}\\cdot 2014^x}{2}\\right)\\geq \\left(x\\cdot 2014^{\\frac{1}{x}}\\cdot \\frac{1}{x}\\cdot 2014^x\\right)^{\\frac{1}{2}} = \\sqrt{2014^{\\left(x+\\frac{1}{x}\\right)}} = 2014$ And equality Hold , When $\\displaystyle x = \\frac{1}{x}\\Rightarrow x= 1$ Can we solve it without Using $\\bf{A.M\\geq G.M}$ If Yes, Then please explain me. Thanks",
"Why does camera this tracking fail completely even when the solution value is very low? The attached animated gif shows some frames of a video with a mesh box placed at each tracking marker used to successfully track (solution error <.4) an 800 frame chunk of video. The point is to illustrate just how poorly the camera tracker calculated: when the box is at a marker placed at the top of a faraway building on the left, it is actually visually much larger than when it is at the tracking marker closest to where the real camera was. I went to great lengths to be sure that the camera's sensor size and focal length are correct, and manually placed and followed all markers to be sure they were accurately tracking. There is not a lot of parallax motion over the 800 frames, but there should have been enough to at least know that the point closest to the camera moved more than the point furthest away. Sometimes it seems to work, sometimes it doesn't. Does anybody know how to improve this?",
"Let $(X,d)$ be a metric space. How to prove that for any closed $A$ a function $d(x,A)$ is continuous - I know that it is even Lipschitz continuous, but I have a problem with the proof: $$ |d(x,a) - d(y,a)| \\leq d(x,y) $$ for any $a\\in A$ - but we cannot just replace it by $|d(x,A) - d(y,A)|\\leq d(x,y)$ since the minimum (or infimum in general) can be attained in different points $a\\in A$ for $x$ and $y$, so we only have that $$ |d(x,A)-d(y,A)|\\leq d(x,y)+\\sup\\limits_{a,b\\in A}d(a,b) $$ which does not mean continuity.",
"How can I trick Minecraft into thinking two computers are on the same wifi network? Minecraft's got an \"Open to LAN\" feature, which can be used to set up a local server when two computers running Minecraft are on the same network. Some young relatives of mine use this to play together whenever they're in the same house, but they'd like to be able to play together from their respective residences. A server is not optimal because it's a bit complex. I've tried using Tunngle to spoof that the computers are on the same connection to no avail. How can I convince Minecraft's \"Open to LAN\" that their two separate computers are on the same network?",
"Renting a car in Ireland & Great Britain: 1 rental or 2? My wife, two kids and I will be traveling in Ireland and the UK Nov. 1st through 21st. We're flying into and out of Dublin. Our plan is to do a clockwise tour: Fly into Dublin -> Belfast -> Scotland -> England/London -> Back to Dublin to fly home. We've been planning to rent a car when we land in Dublin (doing just things outside Dublin at the start of the trip) and have a car all the way until London, then turn in the car and take a train/ferry to get back to Dublin before flying home. However, reading through the car rental section of Rick Steve's 2012 Ireland book is causing us to question if this is the right plan. He says (p. 480): If your trip covers both Ireland and Great Britain, you're better off with two separate car rentals, rather than paying for your car to ride the ferry between the two islands. On an all-Ireland trip, you can drive your rental car from the Republic of Ireland into Northern Ireland, but be aware of drop-off charges ($75-150) if you return it in the North. So it seems like he recommends against doing one car rental for both islands, but he also recommends against renting in the Republic of Ireland and returning it in Northern Ireland (our other option for our current itinerary). So we're not sure which is best here. A few questions about this: If we do one car rental all the way from Dublin to London, will there be a similar $75-$150 fee? Is there an easy place to return a car on the Northern Ireland side of one of the Northern Ireland -> Scotland ferries, and an easy place on the Scotland side to rent a car? We'd like to minimize the number of buses/whatever we need to take between car rentals since we'll be lugging around car seats for both of our children (on top of carrying them and our luggage). Will one way be significantly cheaper than the other? Besides the basic cost of taking the car on the ferry and the drop-off charges, our credit card will cover insurance in Scotland/England but not in Ireland, so we could potentially get a better rental rate by renting a second vehicle once we're on Great Britain. Although, I know you often get a better rate when keeping a car rental for longer, so that may negate any benefit from the credit card covering the insurance.",
"I tried control+shift+power button as well as command+shift+power button. Neither seem to work.",
"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.",
"How to detect if a variable is an array",
"Correct XML serialization and deserialization of \"mixed\" types in .NET",
"Reputation in summary tab shows as blank instead of 0, if net result is zero",
"For $p$ prime, show that $\\Phi_{p^n}(x) = 1 + x^{p^{n-1}} + x^{2p^{n-2}} + \\dots +x^{(p-1)^{p^n-1}}$ Well I attempted to try this but I failed to solve it: So $$\\Phi_{p^{n}}(x)= \\frac{x^{p^{n}} - 1}{\\Phi_{1}(x) \\Phi_{p^{2}}(x) \\dots \\Phi_{p^{n-1}}(x)}$$ Now I'm just stuck here. I saw a result somewhere on the net that said $\\Phi_{p^n}(x) = \\Phi_p(x^{p^{n-1}})$. I would just use that, but I don't see why that result is true or know how to show that's true. How do I approach this?",
"Who fired the shot and what is the symbolism in firing shot right next to Lucas at the end of the movie? At the end of , during the deer hunt, there’s a shot fired right next to Lucas (deliberately missing the shot). Who fired the shot? Is it Theo's son? What is the meaning of that scene? Is someone warning Lucas that he made a mistake and definitely, Lucas will be punished in the future?",
"Can i install ubuntu on meizu mx4 android edition like ubuntu edition with iso recovery in this page \" \"",
"My linear voltage regulator is overheating very fast I'm using a 5 V / 2 A voltage regulator () without a heatsink. I'm testing the circuit with a microcontroller (PIC18FXXXX), a few LEDs and a 1 mA piezzo buzzer. The input voltage is aprox. 24 VDC. After running for a minute, the voltage regulator starts to overheat, meaning it burns my finger if I keep it there for more than a second. Within a few minutes it starts to smell like it's burnt. Is this a normal behavior for this regulator? What could cause it to heat that much? Other components used in this circuit: L1: R2: F1:"
] |
medi_sts_stackexchange_dupe
|
Multiple for-loops break in Python
|
How to break out of multiple loops?
|
[
"java.io.IOException: An existing connection was forcibly closed by the remote host Upon entering any given minecraft server, after a minute or two I am forced out of the server, and I'm given the following error: java.io.IOException: An existing connection was forcibly closed by the remote host. What does this mean, and how can I prevent it from happening again?",
"Strictly diagonally dominant matrices are non singular",
"If the electric field is the gradient of the potential, then can we say that whenever potential is zero, the electric field is zero? For example, in a dipole, at the center of the two charges making up the dipole, the potential is zero but the electric field is non-zero. But if $E = -\\operatorname{grad}V$, then why is $E$ not zero? Another example: In the case of two positive charges, the electric field is zero at the mid-point of line joining them, but potential is non-zero. What am I misunderstanding here?",
"Why does an electron shell further away from nucleus has higher energy level? Using electrical potential energy $V=\\frac{1}{4\\pi \\varepsilon_0} \\frac{Q_1 Q_2}{r}$ , a particle further away from nucleus has lower magnitude of energy. Using Coulomb's law, a particle further away from nucleus experiences weaker attraction, hence less energy is needed to maintain orbit$^\\star$ around that e-shell compared to a electron shell closer to nucleus, hence the one closer to nucleus supposedly should have higher energy. $^\\star$I know in reality $e^-$ does not orbit around a atom, but its position exists as a probability density or radial probability function.",
"Show that: $\\lim\\limits_{r\\to\\infty}\\int\\limits_{0}^{\\pi/2}e^{-r\\sin \\theta}\\text d\\theta=0$ I would like to show $\\lim\\limits_{r\\to\\infty}\\int_{0}^{\\pi/2}e^{-r\\sin \\theta}\\text d\\theta=0$. Now, of course, the integrand does not converge uniformly to $0$ on $\\theta\\in [0, \\pi/2]$, since it has value $1$ at $\\theta =0$ for all $r\\in \\mathbb{R}$. If $F(r) = \\int_{0}^{\\pi/2}e^{-r\\sin \\theta}\\text d\\theta$, we can find the $j$th derivative $F^{(j)}(r) = (-1)^j\\int_{0}^{\\pi/2}\\sin^{j}(\\theta)e^{-r\\sin\\theta}\\text d\\theta$, but I don't see how this is helping. The function is strictly decreasing on $[0,\\pi/2]$, since $\\partial_{\\theta}(e^{-r\\sin\\theta})=-r\\cos\\theta e^{-r\\sin \\theta}$, which is strictly negative on $(0,\\pi/2)$. Any ideas?",
"Getting 2-factor Gmail authentication code from Sweden mobile number I have been facing a serious problem for many months. Usually I get a 2-factor authentication code from 51501 when I am supposed to log into Gmail. But for months I am getting a code from a Sweden-based mobile number: +46701327805. The first code I received from this number was in October 2015. There is also a mobile number from USA that sometimes sends the code. I change my passwords every time this happens. What could be the possible reason for this and how to overcome this problem? By the way, I must say I have been hacked for years. I don't use VPN; my internet runs off a broadband modem.",
"Ubuntu 14.04 has visual artifacts and freezes",
"Error 404 : While using flag Recently on Stack Overflow I got privilege to flag a post. So when I try to flag a post as duplicate. The diaglog box is not properly loading. However I am easily able to use other flag option like \"other\",\"spam\" or \"offensive\". \"other\" \"spam\" \"offensive\" I am using Google Chrome Version 28.0.1500.71 and Win XP Operating System. I have tried in firefox as well but it is showing me same problem.",
": So how many named special cases of each modal verb are there, in toto? There's 1. subjunctive should, and 2. mandative should, and 3. , at least; and I s[up]pose 4. Should we? is suggestive should, and 5. Shouldn't we? is tag **should**, and I can think of a lot more. I ask about only operative uses of this modal verb including literary and formal usage, but please omit anything obsolete. I'm trying to classify them and learn the formal terms describing each. Are there any apt others in addition to the ones above? (I added the enumeration below) 1. What's 'subjunctive should'? Whenever should is conjugated in the subjunctive mood? 5. What's a tag **should** ? 6. Where does should/would feature? What's it called? This should is detailed in or or .",
"I'm using Drupal 7. Is it possible to add a CC to a webform email? I was using function theme_webform_mail_headers($variables) { $headers = array( 'X-Mailer' => 'Drupal Webform (PHP/' . phpversion() . ')', ); return $headers; } changing it with function MYTHEME_webform_mail_headers($variables) { $headers = array( 'CC' => '[email protected]', 'X-Mailer' => 'Drupal Webform (PHP/'. phpversion() .')', ); return $headers; } It does not work, I've cleared all the chaches and it does not add the CC. How could I add the CC? Thanks in advance.",
"Movement arrow in gloss",
"I believe that umask is something that controls , but do not fully understand it. After running umask 0644 in a , I cannot read the files I create with the command-line text editor nano. I noticed that the permissions of that file are set to 0022 instead of the default 0755. How does umask work? I thought I could just remove the each digit in the umask from 0777, 7 - 6 = 1 and 7 - 4 = 3, so I expect the permissions to be 0133, but apparently, this is not the case. What is umask exactly? Explain it to me like I was a \"Linux noob\" How do I calculate with umask? What are use cases for umask?",
"QGIS3 - Clipping polygons to a hemisphere for azimuthal orthographic projection I'm a bit of a novice with QGIS, so this is really throwing me for a loop. For the maps I'm intending on making, an azimuthal orthographic projection would be my preference. For example, one map I'm trying to recreate is this map of the Pacific islands : I've been using the NaturalEarth Quick Start package, which has been a really good launching-off point, but I'm running into some issues at the horizon of the orthographic projection. I've tried adding a custom projection: +proj=ortho +lat_0=0 +lon_0=170 +x_0=0 +y_0=0 +a=6371000 +b=6371000 +units=m +no_defs But that gives the following map: Which certainly is close to being right, but the ocean is obviously being cut off in the Arctic and on the southern horizon. I understand the issue is that naively mapping layers described in WGS 84 to an orthographic projection leaves you with artifacts at the horizon, but how do I fix it? I first tried to use the Clip to Hemisphere plugin described in , but it seems incompatible with QGIS 3; when I try adding the plugin, QGIS3 gives an error message and places it in the \"Invalid\" section of the Plugins window. I then tried both solutions presented at Again the issue is with QGIS 2/3 incompatibility. For Solution 1, both Numerical Digitize and CAD Tools are again incompatible with QGIS 3 and give the same result as Clip to Hemisphere. For Solution 2, I can't disable on-the-fly-reprojection in settings since that setting was removed in QGIS 3.",
"What is the effect where some objects are a single bright color but the rest is black and white? There is an option to filter only one color (R,G,B,Y) in my camera. What I want to know is can this effect be achieved in photoshop? And what is this called? I tried googling monochrome and came up with nothing. My camera calls it part color.",
"What is currently the most reliable VPN for China? I will soon be spending a few months travelling across China and want to get a VPN service to get around the Golden Firewall. When I was in China in 2014/15 the general consensus was that Astrill offered the most reliable service, but I heard that they have been targeted quite strongly by the government over the last year. Therefore, I am wondering what is the best VPN for China these days? Is Astrill still as good as it used to be? Any recent experiences would be very helpful!",
"wpf combobox binding",
"I'm new to data mining and I'm trying to train a decision tree against a data set which is highly unbalanced. However, I'm having problems with poor predictive accuracy. The data consists of students studying courses, and the class variable is the course status which has two values - Withdrawn or Current. Age Ethnicity Gender Course ... Course Status In the data set there are many more instances which are Current than Withdrawn. Withdrawn instances only accounting for 2% of the total instances. I want to be able to build a model which can predict the probability that a person will withdraw in the future. However when testing the model against the training data, the accuracy of the model is terrible. I've had similar issues with decision trees where the data is dominated by one or two classes. What approach can I use to solve this problem and build a more accurate classifier?",
"Many of the UK visa refusals we see here share a common pattern and the prevailing reasons refer to V 4.2 (a) and (c). I do understand that, while the applicants may describe very different individual circumstances, there's a consistent pattern and, broadly, fall into specific categories: Credibility (lifestyle, lack of ties, visit history, lies & omissions) Funding (insufficient funds, provenance of funds, funds parking) Sponsorship (family, friends, employer) Question: What most commonly triggers a UK visa refusal where V 4.2 (a) and (c) are given as the grounds? Secondarily: Given that there is a clear pattern, to what extent are these refusals predictable? Does sponsorship make a difference? Is there a set of personal circumstances, however abstract, where a refusal is all but guaranteed? For example, why do those we see here on TSE who sought entry for the PLAB or British Army appear to be refused with a common theme? Is there a uniform shortcoming or is it just discrimination? PLAB: What is about applications for a visa, for the purpose of sitting the Professional and Linguistic Assessments Board (PLAB) exam, that seem to invite refusals. After all, the test is given so that international medical graduates can show that they qualify to practise medicine in the UK. The first part, PLAB 1, can be taken in centres outside of the UK. However, PLAB 2 can be taken only in the UK. Why can't you can't get a visa just to sit the exam, promising that you'll leave immediately after? British Army: Since Commonwealth citizens are eligible to apply online to join, even those who don't reside in the UK, why is it so difficult to get a visa just to attend an interview to see whether you are suitable? Even with an invitation from the Army, such visa applications seem to be unsuccessful. Isn't a career in the British Army a valid reason? Lastly: After such a refusal, what approaches would increase the chance of a successful application?",
"13.04 - more than four workspace shortcuts in GNOME Flashback (No effects) I'm using GNOME Flashback (No effects) on Ubuntu 13.04 and I've got six workspaces however when entering System Settings -> Keyboard -> Shortcuts -> Navigation I only see options to address the initial four. It used to be options up to 12 workspaces there and as I certainly don't need that much, I want to have at least enough for the amount currently active. How can I restore or add more shotcuts specifically to navigate and move windows to workspace 5 and 6?",
"Do I need to re-check my bags when flying into the US on a transit through Newark Airport? Travveling with SAS 907 from Oslo, Norway to Newark Terminal B. Transfer to Terminal C and further with United 239 to Nashville. Do I have to pick up the luggage at terminal B and bring it to terminal C?"
] |
medi_sts_stackexchange_dupe
|
too much light causes noise
|
How to avoid noisy renders in Cycles?
|
[
"This is a about DoS and DDoS mitigation. I found a massive traffic spike on a website that I host today; I am getting thousands of connections a second and I see I'm using all 100Mbps of my available bandwidth. Nobody can access my site because all the requests time out, and I can't even log into the server because SSH times out too! This has happened a couple times before, and each time it's lasted a couple hours and gone away on its own. Occasionally, my website has another distinct but related problem: my server's load average (which is usually around .25) rockets up to 20 or more and nobody can access my site just the same as the other case. It also goes away after a few hours. Restarting my server doesn't help; what can I do to make my site accessible again, and what is happening? Relatedly, I found once that for a day or two, every time I started my service, it got a connection from a particular IP address and then crashed. As soon as I started it up again, this happened again and it crashed again. How is that similar, and what can I do about it?",
"I'm new to blender and have been studying and starting with low poly modeling. Recently I changed my GPU from a GTX 960 to an RX 580. I uninstalled the drivers and installed new ones using DDU. Problem: Rendering using OpenCL produces these unwanted lines. The attached image is a product of CPU + GPU render then the GPU only render, respectively. When I render using only the CPU the results are as expected, no unwanted black vertical lines, using only the GPU adds more lines on the image. Any help is appreciated, thank you!",
"Normally, it takes three votes to delete. It still does, though the mouseover tip for a question with one delete vote cast on it already appears to be stuck at '1' And then after casting a delete vote on it: And if I've cast the first delete vote: The above examples are from P.SE, and while I don't have the privs to verify this being the situation on other sites, this has been confirmed on at least SO and is likely network wide. Child meta dups: SO:",
"I am relatively new to Java, and often find that I need to sort a Map<Key, Value> on the values. Since the values are not unique, I find myself converting the keySet into an array, and sorting that array through array sort with a custom comparator that sorts on the value associated with the key. Is there an easier way?",
"Teleporting Castle I remember seeing a movie when I was younger, but can't find it online because I can't remember a whole lot about the story. What I do remember is there was a group of soldiers trying to catch this castle that appeared only during the day and at the start of each new day it would teleport to a new random location. I also remember the main character having this neat little flying blade disk that reminds me of something from the Predator movies that he could control with his mind. Again I can't recall a lot about the movie, but if it sounds familiar I would be grateful. Also it seems like at one point there were horses that ran so fast they caught fire!",
"Site being repeatedly hacked: any useful tips for tracking down entry point?",
"How to get horizontal black line when coloring cells?",
"What is the correspondence between the conserved canonical energy-momentum tensor, which is $$ T^{\\mu\\nu}_{can} := \\sum_{i=1}^N\\frac{\\delta\\mathcal{L}_{Matter}}{\\delta(\\partial_\\mu f_i)}\\partial^\\nu f_i - \\eta^{\\mu\\nu}\\mathcal{L}$$ (the four conserved Noether currents corresponding to four possible spacetime translations) where $\\{f_i\\}_{i=1}^N$ are the $N$ matter fields in the theory, and we assume $f_i\\mapsto\\alpha^\\nu\\partial_\\nu f_i$ for translations, and stress-energy tensor from the Einstein-Hilbert action, which is: $$ T_{\\mu\\nu}\\equiv-\\frac{2}{\\sqrt{-g}}\\frac{\\delta\\mathcal{L}_{Matter}}{\\delta g^{\\mu\\nu}} $$ In particular, how do you get that the two are equal (are they?) for Minkowski space, for which there is no variation in the metric?",
"My thinking: acceleration corresponds to a force which is instantaneous, so the acceleration of a rigid body can be rather spiky (non-smooth) velocity (angular velocity) describes the ratio of change of the distance(angle), so it is smooth in the real world. Conclusion, it makes sense to (e.g., simple averaging) a velocity signal (temporal velocity), but it does not make so much sense to do smoothing on acceleration signal. Am I right?",
"What do the E and R prefixes stand for in the names of Intel 32-bit and 64-bit registers?",
"How many squares on a 5-foot grid does a 5-foot radius spell affect? We had a situation come up regarding this term and how it affected spells. In the spell Moonbeam, for example, it says a 5-foot radius cylinder appears. Does this mean that from the center of square it extends 2.5 feet into the next square hypothetically hitting up three squares or does this mean from the edge of one the target square to the five feet and five feet the other direction effectively covering only two squares for a total of 10 feet between total range of both squares? I understand that radius means half the distance of a circle from the center point. The spell is not the issue but the understanding of radius as it pertains to the spell, as there are other spells that are worded similarly such as Fireball, etc. Essentially we are asking, does the spell in the example effect one square or three? This would be saying the edge of the initial square is the point of origin and not the center of the square for the total distance of ten feet. I had been working under the understanding that the radius is half of the distance and therefore dragging a ruler from the center of where I want the spell to take effect would get me the area of effect. It's much easier to do this with Fireball, due to the larger area to effect, but this one has such a small area and therefore sparked the debate. We are using a grid system to mark the distance, etc. We play within the digital realm of roll20.com.",
"What prevents photons from getting mass from higher order Feynman diagrams",
"What is the lifetime of a static variable in a C++ function?",
"Showing current taxonomy terms I've created a custom post type called \"References\" and a custom taxonomy \"Genre\". I have 2 terms : Applications and Games. My problem is that I'd like to show posts associated in Applications on a page (and the same for the games). I believe WordPress do this like doing the same for tags.... In fact, I just need to make a query and getting the current term of the page. Here is what I tried but I get the same list for each terms page (Applications and Games) : <?php get_header(); ?> <div class=\"container\" role=\"main\"> <h1 class=\"entry-title\"><?php single_cat_title(); ?></h1> <div class=\"entry-content ref\"> <?php $loop = new WP_Query( array( 'post_type' => 'references' , 'genre' => '') ); ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); ?> <div id=\"post-<?php the_ID(); ?>\" <?php post_class(); ?>> <h2 class=\"entry-title\"><?php the_title(); ?></h2> <div class=\"ref\"><?php the_content(); ?></div> </div><!-- #post-## --> <?php the_post_thumbnail();?> <?php endwhile; // end of the loop. ?> </div><!-- .entry-content --> </div><!-- #container --> <?php get_footer(); ?> Hope someone can help me. I've Googled for a week now...",
"How to know the motherboard BIOS version using the command line",
"Ierator and for-each loop both we use for traverse no of items, I have used for-each many times but I am not clear about iterator, means when we should use ierator. I am studying salesforce workbook example.. global class CustomIterable implements iterator<Account>{ public List<Account> accs {get; set;} public Integer i {get; set;} public CustomIterable(){ accs =[SELECT Name fROM Account limit 5]; i = 0; } global boolean hasNext(){ if(i >= accs.size()) { return false; } else { return true; } } global Account next(){ if(i == 8){return null;} i++; return accs[i-1]; } } //------------ @isTest(seealldata=true) global class IteratorClass{ public static testmethod void main(){ IteratorClass obj = new IteratorClass(); Iterator<Account> acs = obj.Iterator(); system.debug(acs); } global Iterator<Account> Iterator(){ return new CustomIterable(); } }",
"Prove existence of disjoint open sets containing disjoint closed sets in a topology induced by a metric.",
"Easy curves in TikZ I find myself needing to draw lots of elegantly curved paths in TikZ. Ideally, I'd just specify a series of points, and TikZ would calculate the extra data itself to draw a nice series of curves passing smoothly through these points, perhaps with an optional \"looseness\" parameter that I could specify. But the only way I can find to draw nice curves is by explicitly giving control points, or by manually specifying in and out angles. I can think up a simple algorithm to do this, which would certainly be within TikZ's power to perform: just choose the in and out angles in a simple fashion based on the relative angles between each adjacent pair of line segments. Is something like this already built-in? Or can someone cook something up that does the job? Edit: Jake has provided an answer using the plot [smooth] functionality. This is almost perfect! But it can't do what I need, because it doesn't let me specify tangent angles manually where needed, which is especially important at the beginning and end of the curve. I would have thought this would be a natural and straightforward addition to the existing plot [smooth] algorithm: for every coordinate, an optional angle should be able to be specified as an argument, which if supplied is treated as the tangent angle for the curve at that point. And while we're at it, it wouldn't hurt to also allow the tension to be modified along the path. A minimal extension to the algorithm would just accept two optional parameters, for the curve tangent at the beginning and end.",
"Integer reciprocals in arithmetic progression Let $m_1,m_2,\\ldots,m_k$ be $k$ positive integers such that their reciprocals are in AP. Show that $k<m_1+2$. Also find such a sequence. Whatever way I tried, whichever formula I used, I could not eliminate the $m_k$ term, which I reckon would be the ideal scenario to find the solution. I am exhausted of any further ideas, please help. Thank you.",
"how to change a pose lib using script I want to make a button that changes the active poselib to another one from the list, a specific one. I look in the console and can't see any operator. any ideas?"
] |
medi_sts_stackexchange_dupe
|
excluding an internal element while slicing
|
Understanding slice notation
|
[
"How to launch terminal on login How could I get the terminal to be launched once I have logged in, so that typing commands is much simpler?",
"Any open subset of $\\Bbb R$ is a countable union of disjoint open intervals Let $U$ be an open set in $\\mathbb R$. Then $U$ is a countable union of disjoint intervals. This question has probably been asked. However, I am not interested in just getting the answer to it. Rather, I am interested in collecting as many different proofs of it which are as diverse as possible. A professor told me that there are many. So, I invite everyone who has seen proofs of this fact to share them with the community. I think it is a result worth knowing how to prove in many different ways and having a post that combines as many of them as possible will, no doubt, be quite useful. After two days, I will place a bounty on this question to attract as many people as possible. Of course, any comments, corrections, suggestions, links to papers/notes etc. are more than welcome.",
"Contextually grey out panel element in python 2.8 I have a panel with split column. In the 2nd row is 3 boolean variables. I want to grey out the 2nd and 3rd option by default. I want the 2nd to be changeable if 1st is true, and 3rd to be changeable if both 1 and two are true. I've read something about \"poll()\" but not how to actually use it, or set conditions. Physics should only be enablable if singleMesh, and destructable only if physics enabled. # Create two columns, by using a split layout. split = layout.split() # First column col = split.column() col.label(text=\"Building Size:\") col.prop(bpy.context.scene.user_vars, 'buildingHeight') col.prop(bpy.context.scene.user_vars, 'buildingWidth') col.prop(bpy.context.scene.user_vars, 'buildingDepth') # Second column, aligned col = split.column() col.label(text=\"Dynamics:\") col.prop(bpy.context.scene.user_vars, 'singleMesh') col.prop(bpy.context.scene.user_vars, 'enablePhysics') col.prop(bpy.context.scene.user_vars, 'destructable_Building') #EDIT This is what the specific solution to my example looks like. col = split.column() col.label(text=\"Dynamics:\") col.prop(vars, 'singleMesh') sub = col.row() sub.enabled = vars.singleMesh sub.prop(vars, 'enablePhysics') sub = col.row() sub.enabled = vars.enablePhysics sub.prop(vars, 'destructable_Building')",
"Show that the cardinality of $\\mathbb N$ is the same as the cardinality of $\\mathbb N \\times \\mathbb N$ Show that $| \\mathbb N | = | \\mathbb N \\times \\mathbb N |$, i.e., the cardinality of $\\mathbb N$ is the same as the cardinality of $\\mathbb N \\times \\mathbb N$. How do I show it using the Fundamental Theorem of Arithmetic and the Schröder–Bernstein Theorem?",
"How do I iterate over cin line by line in C++?",
"new array.sty and colortbl.sty incompatibility? I just upgraded my texlive distribution and can no longer insert space in table rows using \\\\[x pt] syntax when colortbl is loaded. It seems that recent changes to array.sty might be the problem as this is the only package to change recently. Can anyone suggest a workaround? MWE \\listfiles \\documentclass{article} \\usepackage{colortbl} \\begin{document} \\begin{tabular}{l} \\hline No space below with \\texttt{colortbl.sty} loaded. \\\\[10mm] \\hline \\end{tabular} \\end{document} File versions in use: article.cls 2014/09/29 v1.4h Standard LaTeX document class size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) colortbl.sty 2012/02/13 v1.0a Color table columns (DPC) array.sty 2018/04/07 v2.4g Tabular extension package (FMi) color.sty 2016/07/10 v1.1e Standard LaTeX Color (DPC) color.cfg 2016/01/02 v1.6 sample color configuration pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex",
"Normally while searching using grep, the command I was using was this: grep -nri \"String\" whereas most of my colleagues do this: grep -nri \"String\" * What does the latter do (the * part)?",
"How does body fat leave your body? So I know that it’s not from tears or sweat because they are composed of mainly water and sodium, it’s not from going poo or pee as poo and pee are made of the parts of food that supply your body with no nutrients and your body also doesn’t “burn body fat” because there is a theory that no matter is ever destroyed so it’s none of those but another thing is it’s not your hair, ear wax, finger nails or anything of that sort because people can lose over 17 pounds in 3 months but you can’t build up that amount of hair , ear wax or whatever else in three months so how does body fat leave your body",
"How can timelapse sequences be shot without in-camera support? How can timelapse sequences be shot without having in-camera support for it? Which third-party tools are recommended?",
"Is it possible to install an old version of Mac OS on a new Mac?",
"When I get an idea for something I'd like to make in Blender, I hit up Google for specifics, then blender SE when I get stuck. I'm very overwhelmed by the immensity of Blender and I'm a little afraid that this self-directed approach is going to lead me to develop bad habits. Is there a \"best practice\" way of learning to use Blender?",
"How can I bootstrap? How can I bootstrap Drupal 8 from an external script? This an example script from the . require_once __DIR__ . '/vendor/autoload.php'; use PhpAmqpLib\\Connection\\AMQPStreamConnection; $connection = new AMQPStreamConnection('localhost', 5672, 'guest', 'guest'); $channel = $connection->channel(); $channel->queue_declare('task_queue', false, true, false, false); echo \" [*] Waiting for messages. To exit press CTRL+C\\n\"; $callback = function ($msg) { echo ' [x] Received ', $msg->body, \"\\n\"; sleep(substr_count($msg->body, '.')); echo \" [x] Done\\n\"; $msg->delivery_info['channel']->basic_ack($msg->delivery_info['delivery_tag']); }; $channel->basic_qos(null, 1, null); $channel->basic_consume('task_queue', '', false, false, false, false, $callback); while (count($channel->callbacks)) { $channel->wait(); } $channel->close(); $connection->close(); Within a worker script like this, I need to be able to create nodes. How can I bootstrap Drupal 8 in this script? ? and bootstraps passing a fake request to the kernel, which to me looks like a work-around. In Drupal 7 you could do something like this, apparently. // Bootstrap Drupal. include_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);",
"When should I use mmap for file access? POSIX environments provide at least two ways of accessing files. There's the standard system calls open(), read(), write(), and friends, but there's also the option of using mmap() to map the file into virtual memory. When is it preferable to use one over the other? What're their individual advantages that merit including two interfaces?",
"Is there a term for the moment when a lot of users visit/log onto your website at the same time? Is there a term for the moment when a lot of users visit/log onto your website at the same time?",
"I am currently developing a website which is going to take some time to finish. I need to move some 'stuff' to production frequently, while maintaining a under construction status. My front page will clearly mention that my website is under construction. I know crawlers will access my URL before I am ready to go live. Should I tell them my site is under construction (no need to index)? If yes how? P.S.: Eventually, I am ok to let them see my under construction front page.",
"Having trouble setting up a nginx web server on Amazon EC2",
"Re-number a list when a new entry is inserted",
"What's the difference between Normalization and Standardization?",
"Outline around text on CMYK black background in Photoshop I'm trying to make a document with one color black (c:0,m:0,y:0,k:100) background with red text on it. However in CMYK the text has this weird grey white-ish edge. In RGB it doesn't show but in CMYK it shows. I'm wondering will this show when printing or do I need to use different methods? ie. using rich black etc. Here's the RGB and CMYK comparison",
"Proving that either $2^n-1 $ or $ 2^n+1$ is not prime"
] |
medi_sts_stackexchange_dupe
|
Java: Multiple Loop Function Not returning
|
How do I compare strings in Java?
|
[
"Showing that a one-to-one linear transformation maps a linearly independent set onto a linearly independent set Problem 4.3.32 in Linear Algebra, Lay: Let $V$ and $W$ be vector spaces, let $T:V\\to W$ be a linear transformation, and let $\\{\\mathbf{v}_1, \\dots , \\mathbf{v}_p \\}$ be a subset of $V$. Suppose that $T$ is a one-to-one transformation [...]. Show that if the set of images $\\{T(\\mathbf{v}_1), \\dots ,T(\\mathbf{v}_p)\\}$ is linearly dependent, then $\\{\\mathbf{v}_1, \\dots , \\mathbf{v}_p \\}$ is linearly dependent. This fact shows that a one-to-one linear transformation maps a linearly independent set onto a linearly independent set. All I can think of doing: If $\\{T(\\mathbf{v}_1), \\dots ,T(\\mathbf{v}_p)\\}$ is linearly dependent, then there exist weights $c_1, \\dots, c_p$, not all zero, so that $$c_1 T(\\mathbf{v}_1) + \\cdots + c_p T(\\mathbf{v}_p) = \\mathbf{0}$$ Since $T$ is linear: $$c_1 T(\\mathbf{v}_1) + \\cdots + c_p T(\\mathbf{v}_p) = T(c_1\\mathbf{v}_1) + \\cdots + T(c_p \\mathbf{v}_p)=T(c_1 \\mathbf{v}_1 +\\cdots + c_p \\mathbf{v}_p)=\\mathbf{0}$$ So the set $\\{\\mathbf{v}_1, \\dots , \\mathbf{v}_p \\}$ must be linearly dependent. Am I missing something? And why must $T$ be on-to-one for this to be true? An example showing that it is not true if $T$ is not one-to-one would be great!",
"How to quickly and easily create a grid with Adobe Photoshop? Suppose I need to draw a grid in Photoshop, each square being the same size, and a certain amount of pixels tall and wide, and the grid lines having a certain pixel width. Like this: Currently I do this by drawing one square, copy+pasting+moving+merging it a few times to create one row, copy/pasting that a few times to create more rows above each other. It works, but feels very clumsy, I'm sure there ought to be a more efficient way to do this? What are some efficient methods for creating a grid of equally sized squares?",
"Matrix reciprocal positive to prove $λ_{max}=n$ Suppose we have $n\\times n$ matrix $A$ having only positive elements and satisfying the property $a_{ij}=1/a_{ji}$ (a matrix satisfying this property is called a reciprocal matrix). If its largest eigenvalue $λ_{max}$ is equal to $n$, then the matrix $A$ satisfies the property (consistency property) $a_{ij}a_{jk}=a_{ik}$ where $i,j,k=1,2,...,n$. I already found an example of $5\\times 5$ reciprocal matrix to show this condition: \\begin{bmatrix}1&1/2&1&1&1/4\\\\2&1&2&2&1/2\\\\1&1/2&1&1&1/4\\\\1&1/2&1&1&1/4\\\\4&2&4&4&1\\end{bmatrix} It has simple characteristic equation $λ^5-5λ^4=0$, so the eigenvalues of matrix $A$ are $λ=0$ and $λ=5$ and it's shown that $λ_{max}=n=5$. Is there anyone can help me to give another positive reciprocal matrix example that has simple characteristic equation and integer number as its eigenvalues ($4\\times 4, 5\\times 5$ or $6\\times 6$ matrix)?",
"In the proof of the lemma For every limit ordinal $\\alpha$, $\\textrm{cf } \\alpha$ is a regular cardinal Jech says that It is easy to see that if $\\alpha$ is not a cardinal, then using a mapping of $|\\alpha|$ onto $\\alpha$ one can construct a cofinal sequence in $\\alpha$ of length $\\leq |\\alpha|$, and therefore $\\textrm{cf } \\alpha < \\alpha$. I've spent a while trying to construct this cofinal sequence and was wondering if I was on the right path: From a bijection $f$ between $\\kappa = |\\alpha|$ and $\\alpha$ take $S = \\{\\beta \\in \\kappa : \\ f(\\gamma) < f(\\beta)$ for all $\\gamma < \\beta\\}$ then if $\\xi$ is the order type of $S$ and $g$ is the isomorphism from $\\xi$ to $S$ the function $f\\circ g$ is a cofinal sequence in $\\alpha$ and $\\xi < \\alpha$. Is this on the right track, or is there an easier way of doing it?",
"What is the most concise and efficient way to find out if a JavaScript array contains a value? This is the only way I know to do it: function contains(a, obj) { for (var i = 0; i < a.length; i++) { if (a[i] === obj) { return true; } } return false; } Is there a better and more concise way to accomplish this?",
"Could there be an eighth Horcrux?",
"What does a binomial coefficient with commas mean? I'm reading through paper (on Dyck Paths). Near the middle of the second page, the author states the following: Remark For the set $h_n$ there are ${k\\choose t_1, t_2, ... , t_m }$ $n + k \\choose{k}$ $=$ $ n + k\\choose {n, t_1, t_2, ..., t_m}$ different Dyck paths. What does ${k\\choose t_1, t_2, ... , t_m }$ mean? I know what the binomial coefficient is, but I'm not sure how to interpret it when one of the parameters is a set.",
"How can I do a line break (line continuation)? I have a long line of code that I want to break up among multiple lines. What do I use and what is the syntax? For example, adding a bunch of strings, e = 'a' + 'b' + 'c' + 'd' and have it in two lines like this: e = 'a' + 'b' + 'c' + 'd'",
"Why Smart's attack doesn't work on this ECDLP?",
"'Possible duplicate' comment not appearing for questions with deleted comments containing the link I posted a comment to a duplicate question on . But I decided to delete it. Afterwards I voted as duplicate and thought a comment would be generated like possible duplicate of ... But it didn't. My guess is that the duplicate-comment won't be generated if a comment exists with that link, even if deleted.",
"How many sequences of $n$ tosses of a coin that do not contain two consecutive heads have tails as the first toss? If you toss a coin $n$ times, there are $2^n$ possible sequences of heads and tails. Let $E_n$ be the set of sequences which do NOT contain two consecutive heads and $e_n$, the number of sequences in $E_n$. Thus $E_3$ $=$ $\\{$ $TTT$, $TTH$, $THT$, $HTT$, $HTH$ $\\}$ and $e_3$ $=$ $3$. How many elements of $E_n$ have $T$ as the first toss? Please can anyone help me out here?",
"I am reading Schwarz QFT and I reached the mass renormalization part. So he introduces, after renormalization, a physical mass, defined as the pole of the renormalized propagator, and a renormalized mass which can be the physical mass, but can also take other values, depending on the subtraction schemes used. Are these masses, other than the physical one, observable in any way experimentally, or are they just ways to do the math easier (using minimal subtraction instead of on-shell scheme, for example)? Also, in the case of charge renormalization, the explanation was that due to the vacuum polarization, the closer you are to the charge, the more you see of it, so the charge of the particle increases with the momentum you are testing the particle with. However, I am not sure I understand, from a physical point of view, why do you need to renormalize the mass. Is this physical mass (defined as the pole of the renormalized propagator) the same no matter how close you get, or it also changes with energy? And if it changes, what is shielding it at big distances?",
"Is it possible to set the \"urgent\" flag in Gmail for outgoing mail? I'd like to be able to flag time-sensitive emails as such.",
"I'm giving Deus Ex a quick playthrough as a refresher before jumping into Human Revolution. In the interest of expediency, I've decided to cheat. ^.^ Normally, cheats must be re-enabled for each level when playing the original DX. I've encountered instructions on several sites (word-for-word identical instructions, so clearly copy/pasted) for permanently enabling cheats, but they aren't working for me: Because you will need to redo this for every level, you can open up 'user.ini' and add 'bCheatsEnabled True' in the [DeusEx.DeusExGameInfo] section of the file to allow cheats to be activated forever. Not only is that not working for me, it doesn't even look right compared to the rest of the file (space instead of =). With increasing desperation, I've tried adding that line (both verbatim and switching to an equal sign) to every section of both User.ini and DeusEx.ini which looks even remotely plausible — even creating a [DeusEx.JCDentonMale] section, just in case. Does anyone know how to get this working? I'm running DX:GOTY version 1.112fm from Steam on Windows 7.",
"How can I create a product key for my C# application? How can I create a product key for my C# Application? I need to create a product (or license) key that I update annually. Additionally I need to create one for trial versions. Related:",
"In Ubuntu 17.10 ubuntu upgraded Nautilus (File Browser) to version 3.26.0. New nautilus is not using file-roller anymore, it has to an integrated compression mechanism. This makes it complicated to create encrypted archives and/or different types compression archives that file-roller does provide. How to make nautilus use file-roller as before? Related question:",
"How to list files installed by a snap package? After a snap has been installed with sudo snap install [package] how can I list the files which have been installed by the snap?",
"What is going on with pgfpages and page labels? I’m using a feature of beamer that shows notes beside slides, but the page numbers that are coming out are crazy, making it impossible to extract specific slides into other documents with \\includegraphics[page=n]{presentation.pdf}. For example, in this MWE, there are two frames that are each 1 slide, and then one frame that is four slides. The PDF page labels that show up in Acrobat are, as indicated, 2, 3, 3, 3, 3, and 7. It starts at page 2 instead of 1, and then there are four page 3s, but they don’t even all belong to the same frame! \\documentclass{beamer} \\usepackage{pgfpages} \\setbeameroption{show notes on second screen=left} \\setbeamertemplate{note page}{frame \\insertframenumber \\\\ \\insertnote} \\def\\pg#1{pgfpages says this is page #1 but it is really page \\arabic{page}} \\begin{document} \\setcounter{page}{0} \\frame{hi \\note{\\pg{2}}} \\frame{there \\note{\\pg{3}}} \\frame{how \\pause are \\pause you \\pause today \\note<1-3>{\\pg{3}} \\note<4>{\\pg{7}}} \\end{document} Here’s what the output looks like: I know that the manual says, “pgfpages will produce wrong page numbers in the .aux file” and gives a manual workaround. But the page counter still works, so shouldn’t there be some way to pass that through to the PDF? I’d like to fix this, but don’t know where to start. Specifically, when the manual says that “TeX instantiates the page numbers when writing an .aux file only when the physical page is shipped out,” what exactly is it talking about? Where is the source code for that?",
"Check for missing fonts/characters in XeLaTeX?",
"How can I play encrypted DVD movies?"
] |
medi_sts_stackexchange_dupe
|
what is $e$ really? what is its meaning?
|
Intuitive Understanding of the constant "$e$"
|
[
"How can I Remove .DS_Store files from a Git repository?",
"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",
"how to remove object from NSDictionary",
"Preserving order with LINQ I use LINQ to Objects instructions on an ordered array. Which operations shouldn't I do to be sure the order of the array is not changed?",
"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...",
"Over the years I've written some libraries. These libraries sometimes depend on each other. As a result, the \"tex\" directory is structured as follows: tex ├── library | ├── library1.sty | ├── library2.sty | └── library3.sty ├── project1 | ├── master.tex | ├── chapter1.tex | └── chapter2.tex ├── project2 | └── article.tex └── project3 └── paper.tex The libraries depend on each other. As a result, in every library that depends on another library, this is part of the header: %library2.sty \\ProvidesPackage{library2} \\RequirePackage{../library/library1} In other words, the library is imported from the \"root of every project\". This is not a good design choice. What if someone copies the libraries in the folder of the root of a project, or what if the folder \"library\" is renamed... It is however reasonable the \"active directory\" still remains in the project root. What can be done to resolve such library dependencies?",
"Could Hermione really free the Hogwarts house-elves with her knitted hats?",
"Line/word wrapping in revision history and responses tab (and probably other places) and () I just noticed that change. I didn't find new reports under . Note the names and badge count in the first screenshot, and the badge count in the second one. PS I can't link to the responses tab as it shows only to the profile owner.",
"When to use an interface instead of an abstract class and vice versa?",
"Can matter really fall through an event horizon?",
"Proof : $2^{n-1}\\mid n!$ if and only if $n$ is a power of $2$. I want to prove that: $2^{n-1}\\mid n!$ if and only if $n$ is a power of $2$.",
"Fibonacci Recurrence Relations Solve the recurrence relation $f(n) = f(n − 1) + f(n − 2)$ with initial conditions $f(0)=1$, $f(1)=2.$ So I understand that it grows exponentially so $f(n) = r^n$ for some fixed $r$. This means substituting this $r^n = r^n-1 + r^n-2$ which gives the characteristic equation of $r ^ 2 - r - 1 = 0$. I'm not 100% sure where to move on from here.",
"removeClass and fade animation",
"Does infinity exist in physical systems? Sometimes people fail at asking a question by being too broad, unclear like . So I'll take a stab at what I believe to be the same question, but more concise and clearly stated: Does infinity exist in either terms of structure, parameters, or measurement in any physical systems? Can infinity have any real connection with reality? Or is infinity purely a mathematical concept just used by physicists as a convenient way to describe the very large, an approximation? I have heard that if you model a physical system (), and you run into infinity as a solution, then you have either made an error in your calculations or your model is wrong.",
"Does the sequence $\\{\\sin^n(n)\\}$ converge? Does the series $\\sum\\limits_{n=1}^\\infty \\sin^n(n)$ converge?",
"Why doesn't running \"sudo shutdown now\" shut down?",
"Difference in meaning of \"frustrated at\" and \"frustrated with\" What is the difference in meaning of \"frustrated at\" and \"frustrated with\" used in sentences like He is frustrated with me or He is frustrated at me When is each of these sentences above are used?",
"How to change the voltage polarity in an inverting amplifier? I want to implement a simple circuit which can map -10V +10V voltage range to 0V 5V voltage range. Thus I'm planning to use two op-Amps, one for the slope and the other for the offset. So basically I'm planning to use an inverting amplifier and a summing amplifier consecutively. But Inverting amplifiers multiplies the input voltage with a minus sign. I need a positive slope. How can I overcome this? Also Could you gibe me any ideas for a cheap op-Amp models for this purpose?",
"In the example below, an error is caused by \\begin{align} and \\end{align} but I do not see why: \\documentclass{book} \\usepackage{amsmath} \\newenvironment{subalign}{\\begin{subequations}\\begin{align}}{\\end{align}\\end{subequations}} \\begin{document} \\begin{subalign} a&=b\\\\ &=b \\end{subalign} \\end{document}",
"Need help with proof for Dedekind cuts on $\\mathbb{Q}^+$ I am working on a proof about Dedekind cuts on the positive rational numbers. I have been stuck for a while on the following point and would appreciate any help. Given $x\\in \\mathbb{Q}^+$ such that $x^2<2$, how to find $y\\in \\mathbb{Q}^+$ such $y>x$ and $y^2<2$?"
] |
medi_sts_stackexchange_dupe
|
Unity Android StartCoroutine causes NullReferenceException on second load
|
What is a NullPointerException, and how do I fix it?
|
[
"yum install error I can't run a yum command on my server without getting this: CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf This is what my yum.conf looks like: # This is the fedorafaq.org yum.conf for Fedora Core 5. # # Note that you also need the rest of the configuration # as described at http://www.fedorafaq.org/#yumconf [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 metadata_expire=1800 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d This is what my yum.repos.d looks like: fedora.repo fedora-updates.repo fedora-updates-testing.repo The permissions on those files are 0666 and it won't allow me to make them root:root",
"If $\\sum_{n=1}^{\\infty} a_n$ is absolutely convergent, then $\\sum_{n=1}^{\\infty} (a_n)^2$ is convergent Let $\\sum_{n=1}^{\\infty} a_n$ be a series in R. Prove that if $\\sum_{n=1}^{\\infty} a_n$ is absolutely convergent, then $\\sum_{n=1}^{\\infty} (a_n)^2$ is convergent.",
"How do you compute negative numbers to fractional powers?",
"How do we solve (i.e. get the closed form of) $\\int \\sqrt{1 + t^2} dt$ ? shows the closed form of it but not the steps in solving it. I think I need some algebraic trick.. I thought of some hyperbolic functions and their derivatives and equalities: If I make $ t = \\sinh x$, then I can reduce the integral to $$ \\int \\cosh ^2 x dx $$ though I'm not sure if this is valid. But from here, I cannot go on evaluating the integral...",
"Is it normal for focal length to change while focusing? When I change the focus distance on my Pentax 55-300mm lens, the focal length appears to change. More specifically, the lens appears to zoom in as I focus towards the minimum focusing distance. This is most noticeable at the 55mm end of the lens. Is this normal?",
"[[ 0*10%300 ]] works on AIX 6.1 but not on AIX 7.1 (ksh)",
"Flex-box: Align last row to grid",
"Metaphors similar to \"Trojan Horse\" I'm looking for metaphors (non-jocular) with the same meaning as \"Trojan Horse\" - \"A person or thing intended to undermine or destroy from within.\"",
"Setting PATH variable in /etc/environment vs .profile Where is the preferred place to set the PATH envvar? ~/.profile or /etc/environment? What is the case when PATH is set in both places? Is the end result a concatenation of both values set in those two places?",
"How do you easily horizontally center a using CSS? I'm trying to horizontally center a <div> block element on a page and have it set to a minimum width. What is the simplest way to do this? I want the <div> element to be inline with rest of my page. I'll try to draw an example: page text page text page text page text page text page text page text page text ------- | div | ------- page text page text page text page text page text page text page text page text",
"How do I install drivers for an Intel HD Graphics? In System Info in 11.10, the graphics driver wasn't detected. I use ACER Aspire 4750 with Intel Core i3-2340M and Intel HD Graphics 3000 graphic card How to install the driver for my Ubuntu?",
"How can I clip an image via a bezier-path?",
"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?",
"Per the title, does $\\displaystyle\\sum_{n=1}^{\\infty} \\sin(\\pi(2+\\sqrt{3})^n)$ converge? Converge absolutely? I'm stuck on this question, not sure how to approach it. Thank you!",
"I have gridded depth points in CSV format that I'm trying to add other map data to, in additional columns. I've tried joining fields, hoping that I could link the Shapefile data to the csv, but when I try to display the csv by graduated symbols based on the new fields, it goes blank. I used Nathan's tips from , but imported the csv as csv since I want to add map info to that, rather than adding csv info to a map. See this picture below for the sea bottom temperature & salinity voronois by month, underneath the csv points (a sample subset), with the joins already made. I added columns on the csv for each of the fields i'm intending to append. I also tried spatial joins as per however it says the layers aren't the same CRS (I checked, they are), then gets to 15% and hangs. I also also tried spatial join through but it hit a python error. I can try this again and look to debug the problem if this is the right way to go. In short: appending polygon data as fields on a points-grid csv: what's the best way in QGIS 2.0?",
"What is the isomorphism between the fields $(Z_2[x]^{<3},+_{x^3+x^2+1},\\times_{x^3+x^2+1})$ and $(Z_2[x]^{<3},+_{x^3+x+1},\\times_{x^3+x+1})$?",
"Is Bezout's lemma enough to confirm the GCD of a number. Is Bezout's lemma enough to confirm the GCD of a number? So suppose we have $$ax+by=z$$ does this mean $$\\gcd(a,b)=z$$",
"Python 3 with QGIS on Mac?",
"Hope someone can answer my Question. I live in Milwaukee WI.My neighbor just informed me she will have to have her basement excavated. The side of her house is 14 feet away from the side of my house. I have a bi-level home. On the side of my home is a finished family room and bedroom. Should I be worried about heavy machinery doing damage to the foundation to my home that could cause problems in the future. Thank You in advance of your answers.",
"If a sports team is down by 1-2 in a best of 7 series, what is their chance of winning (if both teams have a 1/2 chance of winning every game)? I know that the team has to win 3 of the 4 remaining games. So I thought that from the 4 remaining games, there are a total of $2^4 = 16$ total different outcomes. Could someone point me towards the right direction to determine the probability of the team winning 3 of the 4 remaining games? Would it be 4C3/16 since the three wins can be chosen amongst the 4 games left?"
] |
medi_sts_stackexchange_dupe
|
Can't install wine on Ubuntu 14.04
|
How to install and configure Wine?
|
[
"Phase Potentials Looking to get a explanation of the following solution. $x'=sinx$ I understand that you must integrate $sinx$ and then take the negative of it making it $v(x)=cos(x) + c = cos(x)$ with $c=0$. However I am having problems understanding the equilibrium points. The equilibrium points of this system are, $$x^*=kz$$ $x*=kz$ k is even, this is unstable $x^*=kz$ k is odd, are stable Why is it unstable when even and stable when even?",
"Will there be data loss if I upgrade?",
"Is there an open dense set $S \\subset [0,1]$ such that $m(S)<1$? $m$ is the Lebesgue measure. I was thinking that: $\\Bbb Q$ is dense and $m(\\Bbb Q)=0<1$ but it fails to be open, but maybe I could construct an open set from this fact, or also using that $(0,1)$ is a dense and open subset but $m(0,1)=1$. Any hints or ideas will be very appreciated. Thanks.",
"What's a word like \"disregard\" or \"bypass\" that means \"hides\"?",
"How to show that a Banach space $X$ is reflexive if and only if its dual $X'$ is reflexive?",
"Diagonalizable matrix with parameters $$ \\begin{bmatrix} -2 & -2 & 0 & 0 \\\\ -b & -b & 0 & 0 \\\\ 0 & 0 & -4 & 4 \\\\ 0 & 0 & b & -b \\\\ \\end{bmatrix} $$ I have this matrix and I need to find the values for $b$ that this matrix won't be diagonalizable. For what I got this matrix is diagonalizable for every $b$ value. Please write me also the final answer, thank you very much.",
"How to have a figure with caption in multicol environment? I am having the following problem with adding a figure inside the multicol environment: \\documentclass[10pt, twoside]{book} \\usepackage{graphicx} \\usepackage{subfig} \\begin{document} \\begin{multicols}{2} a test file for picture inclusion along with the captions and labeling \\begin{figure} \\centering \\includegraphics[width=5cma]{Cauchy_sequence_illustration-png}\\\\ \\caption{Lets see}\\label{pinki} \\end{figure} \\end{multicols} \\begin{figure} \\centering \\includegraphics[width=5cm]{Cauchy_sequence_illustration-png}\\\\ \\caption{Lets see}\\label{pinki} \\end{figure} \\end{document} After this while I am pressing Ctrl + Shift + X (usually I compile like this in DVI format and then clicking \"dvi--->pdf\" I convert it into PDF document.) the picture in multicol environment is not shown in YAP Viewer but the second one (which is outside of multicol environment) is shown along with the caption. Kindly help me how to handle this problem. Please note that I am using the figure in .ps format. And I am not allowed to use any other format according to the instruction.",
"Can polymorph and true polymorph change a PC's race and sex?",
"I made the jump from Jumsoft's Money app to GnuCash a while back. It appealed to all my OCD tendencies. I don't know how to use Perl, or stuff of the sort, but with detailed instructions I manage to get things done... when I can find them. I set up Finance::Quote to pull quotes after I set up GnuCash. I even managed to get it to pull quotes for Korean funds. And every thing had been working well, until tonight. I only get back a pop-up that states \"There was an unknown error while retrieving the price quotes.\" That's where I need help. What can I do? I dug around and found that it seems that it has something to do with Yahoo Finance ending it's API support. I also learned that Finance::Quote can pull data from many sources, so I don't really understand why one missing API would break it. I also saw that someone out there is trying to use AEX to pull the quotes instead for GnuCash specifically. I found Finance::Quote on cpan (I also first heard of cpan), but I don't understand what I'm looking at. But that's all beside the point. I don't know how to fix this. Any help would be appreciated. I'm on Windows 10, GnuCash version 2.6.17, and have Strawberry Perl 5.18.2.2-32bit installed. edit Thanks everyone who responded. It seems to be working more or less. The currency and Korean funds still haven't updated, but you've shown this horse to water. I'll do my best to drink it now.",
"I was following on creating a watch and noticed that when I rendered the watch, some pieces were messed up. I'm new to 3D modeling and I've just learned Blender, I can't explain it well, so here's a picture: Other examples: I don't know if it's a problem with my World texture, the object, or the object's texture/material, so I can't even guess how to fix it. What causes this? Is it possible to fix it?",
"Why are neural networks becoming deeper, but not wider? In recent years, convolutional neural networks (or perhaps deep neural networks in general) have become deeper and deeper, with state-of-the-art networks going from 7 layers () to 1000 layers ( in the space of 4 years. The reason behind the boost in performance from a deeper network, is that a more complex, non-linear function can be learned. Given sufficient training data, this enables the networks to more easily discriminate between different classes. However, the trend seems to not have followed with the number of parameters in each layer. For example, the number of feature maps in the convolutional layers, or the number of nodes in the fully-connected layers, has remained roughly the same and is still relatively small in magnitude, despite the large increase in the number of layers. From my intuition though, it would seem that increasing the number of parameters per layer would give each layer a richer source of data from which to learn its non-linear function; but this idea seems to have been overlooked in favour of simply adding more layers, each with a small number of parameters. So whilst networks have become \"deeper\", they have not become \"wider\". Why is this?",
"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?",
"A 10th level Drow warlock (for instance) has the following Drow Magic racial trait (PHB p. 24), in addition to its warlock spellcasting abilities: You know the dancing lights cantrip. When you reach 3rd level, you can cast the faerie fire spell once per day. When you reach 5th level, you can also cast the darkness spell once per day. Charisma is your spellcasting ability for these spells. Can the Drow warlock cast faerie fire (which is not on the warlock spell list) using a warlock spell slot? Can it cast darkness (which is on the warlock spell list) using a warlock spell slot? The says this about the Magic Initiate feat: If you’re a spellcaster, can you pick your own class when you gain the Magic Initiate feat? Yes, the feat doesn’t say you can’t. For example, if you’re a wizard and gain the Magic Initiate feat, you can choose wizard and thereby learn two more wizard cantrips and another 1st-level wizard spell. If you have spell slots, can you use them to cast the 1st-level spell you learn with the Magic Initiate feat? Yes, but only if the class you pick for the feat is one of your classes. For example, if you pick sorcerer and you are a sorcerer, the Spellcasting feature for that class tells you that you can use your spell slots to cast the sorcerer spells you know, so you can use your spell slots to cast the 1st-level sorcerer spell you learn from Magic Initiate. Similarly, if you are a wizard and pick that class for the feat, you learn a 1st-level wizard spell, which you could add to your spellbook and subsequently prepare. But this specifically requires you to pick the feat for one of your classes to be able to cast the spell learnt using your class spell slots, and does not seem directly applicable. A Warlock can use warlock Pact Magic spell slots to cast spells learnt from levels of another spellcasting class, per the multiclass spellcasting rules (PHB p. 164): If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and you can use the spell slots you gain from the Spellcasting class feature to cast warlock spells you know. Similarly, if the warlock has learnt the invocation Mask of Many Faces (PHB p. 112)... You can cast disguise self at will, without expending a spell slot. ...Can the warlock cast disguise self using a spell slot, e.g. to decrease the chance it can be dispelled?",
"Using \"of\" or apostrophe, which is more common?",
"In other words, can I do something like for() { for { for { } } } Except N times? In other words, when the method creating the loops is called, it is given some parameter N, and the method would then create N of these loops nested one in another? Of course, the idea is that there should be an \"easy\" or \"the usual\" way of doing it. I already have an idea for a very complicated one.",
"Let $E$ be measurable and define $f:E\\rightarrow\\mathbb{R}$ such that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{Q}$, is $f$ measurable? Let $E$ be measurable and define $f:E\\rightarrow\\mathbb{R}$ such that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{Q}$, is $f$ measurable? There are a number of equivalent definitions for the measurability of a function and the most obvious one would be to show that $\\{x\\in E : f(x)>c\\}$ is measurable for all $c\\in\\mathbb{R}$. Thus my strategy has been to consider an arbitrary irrational $y$ and use the density of the rationals in the reals to show that there exists some open set $O$ such that $m^*(O-\\{x\\in E : f(x)>y\\})< \\varepsilon$. I would do this by choosing some rational $q<y$, close enough to $y$, such that the set of values in $E$ which get sent under $f$ to values strictly greater than $q$ and less than or equal to $y$ is small enough. But that doesn't in general seem possible since I could keep sending intervals of some fixed positive length to smaller and smaller regions just beneath $y$. However conversely, such a function would not be enough for a counter example, since finding such a function only rules out this strategy, but doesn't necessarily entail non-measurability. Is there a better definition of the measurability of a set I should use? or does the statement actually not imply measurability? Thanks.",
"Do I end up richer paying down a mortgage or contributing to an IRA? I have $10,000 extra cash that I can either use to pay down my 5% mortgage, or contribute to my IRA. I'm 30 years old. I hope to pay off the mortgage in about 5 years. I'm stymied, because: Paying $10,000 into my mortgage earns me $500 a year (in interest savings) for the life of the mortgage -- hopefully 5 years. Paying $10,000 into my IRA earns me roughly a $3000 lowering of my tax bill now (plus CD ROI of about 1% at retirement time.) So I can get $2500 ($500 a year over 5 years), after which I will have paid my mortgage off with other money; or I could get $3000 in cash right now plus a bit of extra money when I retire. Even ignoring the future benefits of the IRA contribution, it feels like I should put the money into my IRA: it's an immediate 30% return on investment, as opposed to a 5% return for 5 years. But if I always make that decision, I won't be paying off my mortgage early, and that $500 will stretch out over 30 years, costing me $15,000! Which actually leaves me with more money in the end? What basic principle of math am I missing? Update: The principle of math I was missing is that, assuming I'm taxed at the same rate when I retire as I am taxed now, I end up with exactly as much money as if I had invested the $10k and not received a $3k tax reduction. (Of course, my income level and tax laws will have changed by then, but let's ignore that.) So the question simplifies to, \"Should I put $10k toward eliminating a 5% debt or toward a 1% investment?\" in which case I should clearly put it toward the mortgage. I was confused by the government incentive into thinking that retirement investment was a sweeter deal than it actually is. This is probably their goal, and probably a noble one :)",
"In Harry Potter, Do Spells Travel in a Straight Line? In the Harry Potter world, when a magical person casts a spell, sometimes they target a specific object, like when Harry has a wand only and needs his broom, he casts \"Accio Firebolt\" and his broom comes to him. But a lot of the time people point their wands just in the direction of someone to cast a spell. One example would be in a duel. When they do this, are they casting a spell on a particular person or at that person? It seems, from what I remember of the movies, that some spells travel in a straight line while others specifically target a person or object. Do any spells travel in one direction, like a laser beam? What kind of spells are directional (instead of focusing on a particular person or object)? And can directional spells be deflected or blocked by something like a mirror or another physical object? (By \"directional,\" I could have said linear, but didn't want to start sounding mathematical or scientific. In other words, do they travel in one direction, like a laser beam would, or will they change direction to hit the intended target?)",
"How to make a Snap application (ksnip) appear in \"open with other application\" context menu? For editing screengrabs, I prefer to use , since was no longer installable without hassles on Ubuntu 18.04 and 20.04 However ksnip is available as a Snap App on my 20.04 ○ → snap list | grep ksnip ksnip 1.8.0 265 latest/stable dporobic Unfortunately I have to start ksnip from the command line, then use the File-Open Dialog to pick a screengrab/PNG, then edit it in ksnip. This is should be easier. What I want is to use Nautilus File manager, then select the "Open with other Application" context menu item to select ksnip, and the have ksnip open the file I picked with nautilus. Nautilus Context Menu, selecting a PNG: "Select Application" Dialog: How can I achieve this? There is a "View all Applications" Button, but after clicking, ksnip does NOT appear in this list of apps. "Find new applications" does not work either. Maybe this is a duplicate, but I think we did not have the combination yet (Hack the dialog and Snap App) (Note to self: maybe Shutter is usable again. Development had stalled for a while, or it needed a lot of deprecated versions of gnome libs as dependencies) .",
"What is the difference between an SLR and a DSLR? What are the differences between SLRs and DSLRs? (I know that DSLRs are Digital SLRs but are there any actual differences?) Also, what are the advantages/disadvantages of both?"
] |
medi_sts_stackexchange_dupe
|
How to adjust the gap between figure and caption in subfloat
|
How to adjust the gap between figure and caption within the same subfloat
|
[
"Is there a one-liner that allows me to create a directory and move into it at the same time? I find myself repeating a lot of: mkdir longtitleproject cd longtitleproject Is there a way of doing it in one line without repeating the directory name? I'm on bash here.",
"Create a page for useful links?",
"SQL Server equivalent to Oracle's CREATE OR REPLACE VIEW",
"When an account is deleted, don't auto delete its negatively scored posts on the meta site Meta is different. Negatively scored questions are not always bad questions, and sometimes they have merit and draw good answers, especially discussions. When an account (in the main site) is deleted, either by self deletion or by a moderator, all questions with score of -1 or less are being deleted regardless of their answers, both in the main and meta site. Can you please change this behavior so that the questions on the per-site meta will survive and won't be auto-deleted?",
"How does damage dealt increase as you level up I've recently taken over as GM in my group. We are all new to RPGs except for our original GM, so they decided to run an adventure path so it would be easier to change GMs if they had to stop playing. Along this path, we had one CR 4 encounter that took us an hour, almost killed our bloodrager and knocked our brawler unconscious. When we leveled up, our GM told us to increase the damage we did by \"one level,\" so my 1d6 became 2d6 and my friend's 2d6 became 4d6. I saw no problem with this as a player, but I was looking over the adventure path and later encounters that also have a CR of 4 could be ended in one turn by our bloodrager. This would make encounters really boring, and my goal is to avoid boredom. My question is: As you level up, how does the damage you do increase? Does it go up like my GM said so that at level 3 my rapier does 3d6 and the bloodrager's earth breaker does 6d6, or does it go up by some other method? I have read the PHB and I don't think that what the GM was saying is correct, but being a first-time player I wasn't sure if had just missed something, so I figured I should ask elsewhere.",
"A common scenario we run into on Stack Overflow is that we have a troll, spammer, or obvious sock puppet of another user and moderators decide to delete this user. We go on about our business only to find out an hour or two later that the account we just deleted has been recreated, using the same credentials, and is now back to trolling, spamming, or committing voting fraud once again. I've seen some people recreate an account like this using the same credentials four or five times (multiple times in the last week, in fact). The only thing that stops them is if we remember to suspend the account for right before we destroy it. Accounts recreated using the same credentials as an account that was suspended will be locked into the same suspension the old account was serving. In particular, this becomes a real problem with sock puppet accounts that have a network association reputation bonus attached to them, because the recreated accounts keep getting that 100 point bonus and can immediately be used for voting fraud, to troll chat, or to spam comments. I've had to deal with quite a few puppet accounts like this by suspending them for a year before deletion. I propose that all moderator-deleted accounts behave as if they were suspended for a year upon deletion, so that recreating these accounts using the same credentials will cause the new account to be locked in a one-year suspension. This would prevent the new accounts from being used to abuse the site in the same manner as their old account did. This won't put an end to people creating new spam, troll, or puppet accounts after we delete them, but it will at least slow them down by forcing them to create new login credentials each time. It also would curb abuse of account association bonuses by puppets.",
"Transactions in .net What are the best practices to do transactions in C# .Net 2.0. What are the classes that should be used? What are the pitfalls to look out for etc. All that commit and rollback stuff. I'm just starting a project where I might need to do some transactions while inserting data into the DB. Any responses or links for even basic stuff about transactions are welcome.",
"Which cameras have built-in HDR? When taking landscape photos, I often struggle with dynamic range. I have either a burned out skies or landscapes are too dark. Now I'm reading that some cameras can take 3 pictures with different exposures, and combine them automatically to one image with higher dynamic range. So my question is, which cameras have this feature?",
"I want to GRANT SELECT ON ALL TABLES TO foo; But postgres tells me I have a syntax error at \"TO\". It expects a GRANT like: GRANT SELECT ON ALL TABLES IN SCHEMA public TO foo; We have a handful of tables that have been sharded such that public, shard123, and shard124 all have a table my_table, and public.my_table is the parent of both shard123.my_table and shard124.my_table. I've GRANTed SELECT to foo for public schema, but foo doesn't have permission for any of the shard schemas. I've also done: ALTER DEFAULT PRIVILEGES FOR ROLE dba GRANT SELECT ON TABLES TO foo; ...which should automatically grant for any new tables and schemas made from now on. There are 1000 < n < 10000 shards/schemas, so GRANTing separately for each shard/schema is impractical. How can I GRANT to a role for all existing tables across all existing schemas (all shards)? Or even better, can I GRANT for all schemas LIKE 'shard%'?",
"Can't transfer purchases from iPhone to iTunes in iOS 9",
"Global hotkey in console application",
"How can I determine whether my processor is 32-bit or 64-bit? My processor is AMD Phenom 8450 triple-core.",
"Why is it that we have to use the gerund form for the first example? I have been told that it is not grammatical to use the infinitive form. For some verbs, it's okay: I wanted to study English. I had to study English. I needed to study English. I tried to study English. I traveled to study English. But, for some verbs, it's incorrect: I ended up to study English. Why is that the case?",
"Is this metric space incomplete?",
"Simultaneously merge multiple data.frames in a list",
"My intent is to show that a composition of bijections is also a bijection by showing the existence of an inverse. But my approach requires the associativity of function composition. Let $f: X \\rightarrow Y, g: Y \\rightarrow Z, h: Z \\rightarrow W$ be functions. $((f \\circ g) \\circ h)(x) = h((f \\circ g)(x)) = h(g(f(x)))$, and $(f \\circ (g \\circ h))(x) = (g \\circ h)(f(x)) = h(g(f(x)))$. However, I am having problems in justifying that the two compositions, $(f \\circ g) \\circ h$ and $f \\circ (g \\circ h)$, have the same domain and range. When I consulted ProofWiki, whose link is at the bottom, I got even more confused. Specifically, for $(f \\circ g) \\circ h = f \\circ (g \\circ h)$ to be defined, ProofWiki requires that dom$g =$ codom$f$ and dom$h =$ codom$g$. First of all, I think that it should be dom$g =$ range$f$ .... Moreover, as you can see in the example below, you actually have to adjust domains and ranges of $f, g, h$ for the requirement to hold true. Let $f: \\mathbb R \\rightarrow \\mathbb R$ be $f(x) = 2x$, $g: \\mathbb R^+ \\rightarrow \\mathbb R$ be $g(y) = ln(y)$, $h: \\mathbb R \\rightarrow \\mathbb R$ be $h(z) = z - 10$. Then $((f \\circ g) \\circ h)(x) = ln(2x) - 10 = (f \\circ (g \\circ h))(x)$, with dom$((f \\circ g) \\circ h) = \\mathbb R^+$ = dom$(f \\circ (g \\circ h))$. As a result, we need to set dom$f = \\mathbb R^+$, range$f = \\mathbb R^+$; dom$g$, range$g$, dom$h$, and range$h$ remain the same. Am I allowed to do that? This adjustment implies that when we say dom$f = X$, $f$ must be defined for all elements in $X$, but $X$ may not be the entire set of elements for which $f$ is defined.",
"Convergence of $\\sum_{n=1}^\\infty{\\left(\\sqrt[n]{n}-1\\right)}$",
"Quitting a job in the US on a work visa, going to Canada and re-entering on a tourist visa (ESTA waiver) I have been working in the USA on an E-3 visa and intend to return home to Australia, but I want to travel around the US before I do so. I am under the impression that after leaving my current company, I will have 10 days to leave the country. Will I be able to go into Mexico or Canada and re-enter with an ESTA waiver as a tourist?",
"How can one use multi threading in PHP applications Is there a realistic way of implementing a multi-threaded model in PHP whether truly, or just simulating it. Some time back it was suggested that you could force the operating system to load another instance of the PHP executable and handle other simultaneous processes. The problem with this is that when the PHP code finished executing the PHP instance remains in memory because there is no way to kill it from within PHP. So if you are simulating several threads you can imagine whats going to happen. So I am still looking for a way multi-threading can be done or simulated effectively from within PHP. Any ideas?",
"How do I make Panel always transparent like the Dock in GNOME 3? I'm using Ubuntu 17.10. I want the Panel to be always transparent instead of dynamic transparency."
] |
medi_sts_stackexchange_dupe
|
I forgot my username and password
|
How do I recover my Google account (or Gmail) password or username?
|
[
"How to assign the result of the previous expression to a variable?",
"End of File in C++",
"Series Summation,Convergence I am stuck on the 4 th one.I have done the rest.I have found out the value of a_n.But not getting how to proceed for the 4 th one.",
"Why does the base-emitter voltage of a BJT decrease with temperature? According to Sedra/Smith Microelectronic Circuits, \\$v_{BE}\\$ changes by \\$-2\\text{mV}/\\text{°C}\\$. I cannot understand how this could possibly be the case given the equations I am familiar with. With all currents kept constant, we have: \\$\\large{i_E = \\frac{I_s}{\\alpha}e^{v_{BE}/V_T}}\\$ To keep \\$i_E\\$ constant, any change in \\$V_T\\$ would have to be accompanied by a change of the same factor in \\$v_{BE}\\$, otherwise \\$\\alpha\\$ or \\$I_s\\$ would have to change, which as far as I understand is not possible. So, how can \\$v_{BE}\\$ be inversely proportional to \\$V_T\\$?",
"Why should I \"watch\" a nearby Pokémon?",
"Who invented \"dooblidoo\"? The word is used by several different youtube channels as a different word for the youtube description bar. I've seen it used by the and by . Who was first to use and invent the term?",
"Sass Interpolation of Mixin, Function, and Variable names",
"Clipping LAS data using shapefile polygons and open source software? I am trying to clip or filter lidar files (.las, .xyz) using a shapefile that contains multiple polygons. Is there open source software that can do this spatial operation? My .las files are enormous, and I should say that I am very new to DEM data and analysis so any help would be very welcome.",
"Auto-fit TextView for Android",
"Singular or plural verb with two subjects Possible Duplicate: I'm writing an interrogative sentence questioning someone else's writing: \"Is grammar and spelling correct?\" Can I use the singular verb \"is\" or must it be the plural verb \"are\"? (The sentence is one of a list of interrogative questions about the quality of writing, e.g. \"Are words in the right order?\" \"Does the copy flow?\")",
"I asked this question but I haven't gotten a useful answer. Could you tell me the difference in meaning between these sentences? Do you think you will visit them next week? Will you visit them next week? Are you going to visit them next week? Are you visiting them next week? Are you going to be visiting them next week? Are you planning to be visiting them next week? Do you plan to visit them next week? Will there be any difference in the answers? I think I will visit them next week. I will visit them next week. I am going to visit them next week. I am visiting them next week. I am going to be visiting them next week. I am planning to be visiting them next week. I plan to visit them next week. Can I use \"planning to\" instead of \"going to\"? (E.g. \"Are you planning to visit them next week? — Yes, I am planning to visit them next week.\") Which of these sentences show that the subject of conversation has already been discussed? For example, I talked with a friend of mine about my plans to visit somebody. So my friend is aware of my plans. And my last question. Which of these seven sentences express that the action will certainly take place?",
"When testing the difference between 2 proportions why do we use a z-test rather than a t-test? Further, is there a simple way to conduct an omnibus test for significant differences between more than 2 proportions (in the form of percentages). Is there an equivalent to a one-way ANOVA for this? I imagine that you could use logistic regression (assuming you have the original data for the proportions in the form of 0s and 1s) Are there other options?",
"How do I work with GUI tools over a remote server?",
"Leaflet Customer Marker Changes Position with Scale",
"Can anyone help me with this? If 738 consecutive integers are added together, where the 178th number in the sequence is 4,256,815, what is the remainder when this sum is divided by 6?",
"Are there any simple rules for choosing the definite vs. indefinite (vs. none) article?",
"I'd like to find the files in the current directory that contain the text \"chrome\". $ find . -exec grep chrome find: missing argument to `-exec' What am I doing wrong?",
"Consider equations defined in $D_x = (0,\\infty) \\times (0,\\infty)$ 1) Find the maximal solution to $$ \\dot y = \\frac{3t^2}{5y^4} $$ satisfying the initial value problem $y(1) = 2^{\\frac{1}{5}}$ I have found the maximum solution to be $((0,\\infty), (t^3+1)^\\frac{1}{5})$ 2) Find the maximal solution to $$ \\dot y = -\\frac{2y}{5t}+\\frac{3}{5y^4}$$ satisfying the IVP $y(1) = 2^{\\frac{1}{5}}$. (HINT: Use a transformation of the form $t^{\\alpha}y(t)$. I hope someone can explain how to use the transformation to find the maximal solution.",
"Where can I find information about ubuntu compatible or certified hardware/PC models?",
"What words are commonly mispronounced by literate people who read them before they heard them?"
] |
medi_sts_stackexchange_dupe
|
Is it a good idea to scan external HDD with Ubuntu?
|
Do I need to have antivirus software installed?
|
[
"How many physical degrees of freedom does the $\\mathrm{SU(N)}$ Yang-Mills theory have?",
"Why doesn't a bike/bicycle fall if going with a high speed? Why does a bike/bicycle fall when its speed is very low or close to zero and is balanced when going with a high speed?",
"Prove $n-m \\mid n^r - m^r\\,$ [Factor Theorem, monomial case] In respect to a larger proof I need to prove that $(n-m) \\mid (n^r - m^r) $ (where $\\mid$ means divides, i.e., $a \\mid b$ means that $b$ modulus $a$ = $0$). I have played around with this for a while now but to no avail and would be grateful if you could help me.",
"How can I know what speed card to get for my camera?",
"Field that is a subfield of own of its subfields Let $K$ and $L$ be fields. We have homomorphisms $f: K \\to L$ and $g: L \\to K$. Are $K$ and $L$ necessarily isomorphic?",
"A two way String hash function",
"What makes a good tag separator? I'm building an application to allow technical people to enter configuration changes. I'd like to add tags to each change. Right now I'm using spaces, commas and semicolons. It appears SO uses spaces and requires hyphens to make multiple words. I read something that leads me to believe that WordPress uses commas and that a space isn't a separator. Is there any best practice out there? Has anyone had any good or bad experiences?",
"Getting a black screen when installing or Live booting Ubuntu (any version) in my laptop I have an ACER Aspire laptop. Model number is E5-573G-56RG. I bought it only 15 days back. There is no DVD drive in it. I have tried various versions of Ubuntu- 14.04.2, 14.04.3, 15.10, 12.04.5. Tried disabling secure boot, fast startup. I current have Windows 10 Home and Windows 10 PRO (not-activated) installed with GPT partition in UEFI bios. I actually want only the Home edition and Ubuntu 14.04.3 (preferably because of LTS) or 15.10. In case more information is required, kindly ask me.. I tried installing through Wubi, when booting if I choose Ubuntu it automatically restarts and goes into Windows 10 Home! (I didn't have Windows 10 PRO at that time) NONE OF THE SOLUTIONS I REFERRED HELPED ME. I have spent 5 days (literally at least 20 hours reading all of them and trying out all kinds of editing in the grub command line, like removing quiet splash, adding and replacing with nomodeset, no splash, acpi_osi=off, acpi_osi=Linux, acpi_backlight=vendor, acpi_backlight=legacy, noveau.modeset=0, i915.i915_enable_rc6=1 and such things! But I was not able to succeed installing which is why I doubt if there is some more thing to be done or know exactly what has to be done.",
"What is the rationale for all comparisons returning false for IEEE754 NaN values?",
"Sharing a Bluetooth Keyboard and Mouse sequentially between two Macs I work out of my house where I have two computers: a mid-2010 Macbook Pro (for my day job) and a mid-2010 iMac (personal). During the workday, my iMac acts as a second display for my Macbook Pro via Mini Displayport. Currently, I use a USB keyboard and mouse for my work computer and a Bluetooth keyboard and Magic Mouse + Magic Trackpad for use with my personal computer. I'd like to get rid of the wired keyboard and mouse and just use the Bluetooth stuff for both machines (but never simultaneously). Is it possible to easily share the single set of input devices without having to repeatedly break and reestablish the pairing of the input device to the correct computer? I'm not opposed to buying some type of additional hardware to accomplish this, provided it's not prohibitively costly or cumbersome to use or configure. It's not clear to me how I would tell the MacBook Pro to leave the devices alone so the iMac can have them for the evening. I want to avoid de-pairing and re-pairing the devices each time I want to shift them back or forth. Basically is there software or hardware that works as a Bluetooth KVM switch?",
"Story with multiple 'third planet' races",
"Is it possible to upgrade a BGA 1224 CPU? I want to upgrade the CPU of my T430s laptop from i7-3520M to i7-3632QM. I'm sure i7-3632QM is supported (same socket (BGA1224), same TDP (35W) and microcode found in BIOS (306A9.PAT)). So my question is: 1) is it possible to de-solder the current CPU without damaging it, and to solder the new CPU without damaging it and the motherboard ? 2) if so, what tools are necessary? who can do that at a reasonnable cost? Until now, I was unable to find anyone able (or willing) to do that (I'm located in France, and I have tried a local fablab, electronics shops, TV repair shops, ...). Any hint would be appreciated.",
"How to read the following Itinerary What do the abbreviations mean in the following itinerary: 2 EK 641 L 29NOV 2 KBLDXB HK1 I 1630 1905 *1A/E* 3 EK 344 L 29NOV 2 DXBKUL HK1 3 2140 0835+1 *1A/E* 4 MH 704 V 30NOV 3 KULMNL HK1 M 1245 1630 *1A/E* 5 UA 184 Y 01DEC 4 MNLGUM HK1 1 2255 0440+1 *1A/E* 6 UA 155 Y 02DEC 5 GUMTKK HK1 0820 1008 especially, the numbers (2,2,3,4,5) before KBLDXB, KULMNL.... The letters and numbers before time (I, 3, M, 1) *1A/E*?",
"Vertical component of moving weight at a 45 degree angle Here's an easier one. I use the leg press machine at the gym so I don't have to worrying about hurting myself while lifting heavier weight. The weight glides on a track that looks to be 45 degrees. What's the equation to figure out how much weight I would be able to squat normally. IE the vertical component of moving 400lbs at a 45 degree angle.",
"What does a two overlapping circles symbol mean in an electrical schematic/diagram?",
"In my D&D 5e campaign one of the PCs who's a wood elf started dating a dark elf, and as a result she got pregnant and she is about to give birth. One of the other players had their PC die and he is considering playing as the child of the couple. My question is, which race is the child going to be?",
"What are the left and right ideals of matrix ring? How about the two sided ideals?",
"Facebook: Ways to preserve image quality of uploaded images? After uploading an image, Facebook converts it to a new image. Their conversion process introduces artifacts and mottling to the magenta-ish parts of the image. Original image: Facebook's conversion: Are there ways to preserve the original quality of this image and have the image appearance on Facebook reflect more of the original quality?",
"Where does the question mark go — inside or outside the parentheses? I know that when brackets enclose part of a sentence, the full stop goes outside. I tripped over this morning. I was distracted by a plane (which turned out to be Superman). If it's a full sentence, the full stop goes inside. I tripped over. (I was distracted by a plane that turned out to be Superman.) What happens when there's a question mark and only part of the sentence is a question? I tripped over this morning. I was distracted by a plane (or was it Superman?) (or was it Superman?). (or was it Superman)? What happens to the full stop that belongs to the rest of the sentence, and why?",
"How can there be animals on the surface in Zion's world? It is apparently canon that in Neo's day. However, in the first movie, The Matrix, Morpheus tells Neo that one of the things known for certain is that humans \"burned the sky\" in order to deny solar engery to the machines, which in turn led to the humans who survived the War being plugged into the Matrix to provide bioelectric energy to supply the machines. If there's not enough sunlight for solar power, how can there be enough to grow plants to serve as food for animals? Low levels I can understand -- house plants, at least, thrive in conditions too dim for solar panels to produce cost-effective power -- but every surface scene we see in the trilogy is as dark as a cloudy night; light coming only from the machines. That wouldn't begin to support photosynthesis, which means all animal life would starve in, at most, a matter of a few years."
] |
medi_sts_stackexchange_dupe
|
Magnetic field due to a coil of N turns and a solenoid
|
Why is the B field of a solenoid equal to $\mu_0 i n$ while that of a loop is $\frac{\mu_0 i R^2}{2(R^2+z^2)^{3/2}}$?
|
[
"Coordinate-Free Definition of Trace. $\\DeclareMathOperator{\\tr}{trace}$ I am reading the on the trace operator. The section titled Coordinate-Free Definition defines the trace as follows. Let $V$ be a finite dimensional vector space over a field $F$ and define a bilinear map $f:V\\times V^*\\to F$ as $f(v, \\omega)=\\omega(v)$ for all $(v, \\omega)\\in V\\times V^*$. This maps induces a unique linear map $\\tr:V\\otimes V^*\\to F$. Since $\\text{End}(V)$ has a canonical isomorphism with $V\\otimes V^*$, we have now a notion of trace of a linear operator on $V$. The Question: The second paragraph of the section in the article says that This also clarifies why $\\tr(AB)=\\tr(BA)$. I can't see how $\\tr(AB)=\\tr(BA)$ follows from this definition at all. Can somebody give me a hint?",
"I am studying elementary Algebraic Topology recently. I have seen that a topological space is identified with a group. We are telling the group as Fundamental Group. So every topological space $X$ and for any $x \\epsilon X$ there is a fundamental group $\\pi_1 (X,x)$. I have a question about the converse. If we consider any arbitrary group $G$, then does there exist a topological space $X$ and an element $x\\epsilon X$ such that $\\pi_1 (X,x)=G$?",
"I can type: dirname ~/home/blah/file.zip for instance, and this works fine alone, but when I use this syntax as the parameter for some command it always reads 'dirname' as the desired directory. i.e.: cd dirname ~/home/blah/file.zip bash: cd: dirname: No such file or directory Basically, how do I get 'dirname file' to be read as one entity?",
"I have a generic method with this (dummy) code (yes I'm aware IList has predicates, but my code is not using IList but some other collection, anyway this is irrelevant for the question...) static T FindThing<T>(IList collection, int id) where T : IThing, new() { foreach T thing in collecion { if (thing.Id == id) return thing; } return null; // ERROR: Cannot convert null to type parameter 'T' because it could be a value type. Consider using 'default(T)' instead. } This gives me a build error \"Cannot convert null to type parameter 'T' because it could be a value type. Consider using 'default(T)' instead.\" Can I avoid this error?",
"File: \\boot\\bcd Status: 0xc00000e9 windows 8 I am having this error for quite a few months. When the problem occurs, my windows freezes at boot time with black screen. After few reset attempts, sometimes it shows the entitled error. after few attempts, the windows starts but everything become slow. If I again restart, it works well. But at a point windows never starts and I have to reinstall it. I have already reinstalled 3/4 times in the past 2/3 months. I checked for any HDD errors with EASEUS Partition Master Home Edition with surface test, chkdisk at boot time etc for my C drive and F drive but no errors found. Startup repair also fails to solve the problem. Windows Boot Manager Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert your Windows installation disc and restart your computer. 2. Choose your language settings, and then click \"Next.\" 3. Click \"repair your computer.\" If you don't have this disc, contact your system administrator or computer manufacturer for assistance. File: \\Boot\\BCD Status: 0xc00000e9 My laptop's info: Model: Dell n5110 corei5 OS: Windows 8 PRO 64 bit Anti-virus: Avast Home edition Additional info: My Program Files, Program Files (x86) and Users directory is located at F drive and linked with symbolic link (mklink). Also I have changed these basic locations from regedit. I also use eclipse android intelx86 emulator, virtualbox and Genymotion emulator most often.",
"OS X updater claims installation is successful, but new OS is not installed",
"Adding Layer Files (.lyr, .lyrx) to QGIS At college we use ArcGIS Desktop 10, but that does not function on my Mac so I have QGIS there instead. I want to do my exercises with QGIS, but in ArcGIS Desktop we use .lyr files with ArcMap and .lyrx files with ArcGIS Pro, and they are not supported by QGIS. Does anyone know, how I can connect the *.lyr files to my *.shp files to use them on my Mac with QGIS?",
"I've been working with Corel Draw previously and now i use Illustrator more.Still getting used to some of their features though. I want to insert an image into a circle I've drawn but i don't know how to go about it.It is called power clipping in Corel. Any answers would be appreciated.",
"lists Ubuntu 4.10 (Warty Warthog) as the first Ubuntu released by Canonical Ltd. But I wanted to know whether there ever was an Ubuntu 1.x, as in Windows or Mac OS. If yes, is it available somewhere?",
"Did the Council of Elrond know that destroying the Ring would destroy Sauron? Did they decide to destroy it simply because they were Wise and knew it was dangerous to wield? Did they create the Fellowship simply because they were heroic; and decided to face Sauron after the Ring was destroyed? Or did they know that destroying the ring would defeat Sauron, and they wouldn't actually have to do anything once that is taken care of?",
"What is the purpose of .bashrc and how does it work?",
"How can I make Chrome open bookmarked pages in new tab by default? Current situation: I am currently browsing a page (say, www.google.com). I want to open a bookmarked page (say, www.bing.com), but I want to keep the current page (Google) opened. I need to click on new tab, then click on the bookmark for Bing. Alternatively, I can right click and open Bing in new tab. But I want none of those because why click twice when one is enough? What I want: I am currently on Google. I want to open Bing, so I click on the bookmark and Bing opens in a new tab. Google remains open. I am aware of a duplicate question linked . However it didn't really provide a satisfactory answer. Changing every link to javascript breaks the icon and is a pain to do; middle clicking doesn't really work because I'm on a laptop and the touchpad does not support middle clicking. I hope there is an extension for Chrome that can redefine this behavior to the way I want. A hidden setting in Chrome would be even better but I doubt Chrome offers that.",
"Value of Vandermonde type determinant",
"using the \\lstlistoflistings always named as Contents in table of contents. I did look into and but the solutions there did not work. Example: (my complete preamble) \\documentclass[11pt, oneside]{Thesis} \\usepackage{tikz} \\usepackage{pgfplots} \\usepackage{pgfplots,filecontents} \\usepackage{caption} \\usepackage{subcaption} \\usepackage{booktabs,colortbl} \\usepackage{graphicx} \\usepackage{rotating} \\usepackage{listings} \\usepackage{color} \\usepackage{comment} \\usepackage[official]{eurosym} \\usepackage{colortbl} \\usepackage{algorithm} \\usepackage{algpseudocode} \\usepackage{indentfirst} \\usepackage{latexsym} \\usepackage{titlesec} \\usepackage[square, numbers, comma, sort&compress]{natbib} \\hypersetup{urlcolor=blue, colorlinks=true} \\renewcommand{\\lstlistlistingname}{List of Code} \\begin{document} \\tableofcontents \\lstlistoflistings \\lstinputlisting[language=python,firstline=1,lastline=68,caption=some caption here., label=code:getbb]{Code/getBoundingBox.py} \\end{document} The renew command changes the header in the page but not in the table of contents. Any ideas? EDIT x2: Managed to get the naming correct by editing this in the Thesis.cls } \\renewcommand\\lstlistoflistings{ \\btypeout{List of Listings} \\addtotoc{List of Listings} \\begin{spacing}{1}{ \\setlength{\\parskip}{1pt} \\if@twocolumn \\@restonecoltrue\\onecolumn \\else \\@restonecolfalse \\fi \\chapter*{\\lstlistlistingname \\@mkboth{ \\MakeUppercase\\lstlistlistingname}{\\MakeUppercase\\lstlistlistingname}} \\@starttoc{lot} \\if@restonecol\\twocolumn\\fi \\cleardoublepage }\\end{spacing} Now the name appears correctly in the TOC but the Listings do no show in the Listings page, its just empty.. A MWE can be found here:",
"Making a (simple) directory tree",
"Prove that for all non-negative integers $m,n$, $\\frac{(2m)!(2n)!}{m!n!(m + n)!}$ is an integer. Prove that for all non-negative integers $m,n$, $\\frac{(2m)!(2n)!}{m!n!(m + n)!}$ is an integer. I'm not familiar to factorial and I don't have much idea, can someone show me how to prove this? Thank you.",
"Material setings in properties window is missing",
"How to limit execution time of a function call? There is a socket related function call in my code, that function is from another module thus out of my control, the problem is that it blocks for hours occasionally, which is totally unacceptable, How can I limit the function execution time from my code? I guess the solution must utilize another thread.",
"How to cook fall-off-the-bone beef spare ribs in oven or on stove top? All, I would like to cook spare ribs to a fall-off-the-bone consistency. I don't have access to a grill. I know how to do that with pork shoulders (dry rubbed, then uncovered in the oven at low heat for 6-8hrs), but spare ribs are a different type of animal. They are individually smaller pieces (my ribs are sawed in chunks), and they are fairly fatty, with a big bone. What should I do? Should I pan-sear them first, do I need some liquid in the dish? Should I cover them? Thanks, JDelage",
"Suppose you have a physical . It is true that as amplitude increases, the period increases. Can we demonstrate this fact without explicitly finding the period (which is pretty involved and pretty messy) in: an intuitive fashion, rigorously?"
] |
medi_sts_stackexchange_dupe
|
Find the value of $\sqrt3\csc 20^o -\sec 20^o$
|
Can $\frac{\sqrt{3}}{\sin20^{\circ}}-\frac{1}{\cos20^{\circ}}$ have two values?
|
[
"Series of books featuring dragons, enchanted forests, magic swords, etc When I was younger I read a series of 3 or 4 books involving largely traditional mages/dragons/enchanted forests. I'd like to buy it for some of my younger extended family members but I can't remember the name of it. Here's what I remember from this: I read the last book first, in which the son of a woman turned out to be largely one of the main characters in the other books takes an enchanted sword into a forest on a quest to do something. At one point in one of the earlier books the group was travelling through a swamp like area to get to a tower where a witch(or mage lived). There was a king (possibly the son's father) who was frozen in a castle during the last book. The evil mages/witches would melt (but not die) when some spell was cast on them. I read the series circa 1992 (estimated), comparable to the DragonLance series it was geared towards a younger audience (I don't remember any sex/brutal slayings of anyone). I believe in the first book the mother of the son in the last book runs away from home and becomes something of a maid to a dragon. I can't remember if there were evil dragons or not, I seem to remember that at least some of them were good (or at least largely neutral). If I think of any other details I'll add them.",
"Change the size/width of tabs in Notepad++",
"Roots of unity filter, identity involving $\\sum_{k \\ge 0} \\binom{n}{3k}$ How do I see that$$\\sum_{k \\ge 0} \\binom{n}{3k} = (1 + 1)^n + (\\omega + 1)^n + (\\omega^2 + 1)^n,$$where $\\omega = \\text{exp}\\left({2\\over3}\\pi i\\right)$? What is the underlying intuition behind this equality?",
"What content type to force download of text response? I need to stream a file to the Response for saving on the end user's machine. The file is plain text, so what content type can I use to prevent the text being displayed in the browser?",
"Find the default application for a certain extension Given xdg-open and an extension, is there a way to get the application which xdg-open is set to for that particular extension? For example given xdg-open and .jpg the result is eog.",
"How to embed fonts in HTML? I'm trying to figure out a decent solution (especially from the SEO side) for embedding fonts in web pages. So far I have seen , which doesn't even work on Firefox, and . The second solution is for titles only. Is there a solution available for full text? I'm tired of the standard fonts for web pages. Thanks!",
"Fullscreen YouTube video crash",
"I have browsed several ASIC manufacturer's webs, but I haven't found an actual number. I assume there would be a fixed cost associated with creating masks and such and then there will be a cost per unit. Note: that I don't actually want to have an ASIC made, I'm just curious.",
"Memory and CPU optimizers: Are they gimmicks?",
"character \"5\" repeated in text fields, and system freezes I am running Ubuntu 15.10, with the latest updates. When I type in a text field (google search, type name of file, etc..) the number 5 gets typed on its own and it keeps repeating until I press ESC and when I try to continue typing the number 5 resumes filling in the text field. I have tried to set the keyboard repeat to zero, but does not help. This does not happen all the time, sometimes if I shut down the computer it then behaves normally when I restart it, other times the computer becomes useless because I cannot type in any of the text fields. Thanks Sal",
"Novel about interstellar war: Both sides win, both sides think they lost I recall reading this novel in the ’90s; my recollection is that the author was better-known for bad fantasy than for SF (but the SF of his that I’d read was better than his fantasy). The story opened in media res just before a battle was joined; there is a dialogue between the captain of one of the ships and one of his crew. We never see the actual battle; we instead see the conquest of Earth by the aliens - and the conquest of the alien homeworld by Earth. It is slowly revealed that the two sides contrived a way to both avoid the destruction of actual war, and solve their respective worlds’ respective problems of overpopulation, infrastructure decay, et multae ceterae. We also see that the solution was that the conquering aliens were secretly selecting Earthmen to rule their homeworld, while the humans were selecting aliens to rule Earth. About halfway through, there is suddenly a third world that must be ‘conquered’ and brought into the network. The plot gets complicated after that.",
"How to re-enable tray icons for applications in Ubuntu?",
"Matrix Ring of a Semisimple Ring I recently read the concept of semi-simplicity of a (not necessarily commutative) ring. A ring $R$ is said to be semi-simple if $R$ as a left module over itself is a semi-simple module (This in turn means that each submodule (i.e, left ideal) of $R$ is a direct summand for $R$.) I am grappling with the following question: If $R$ is semi-simple, then so is the matrix ring $M_n(R)$. It is a theorem that each left module of a semi-simple ring is a semi-simple module. Thus $M_n(R)$ is a semi-simple module of $R$. But this doesn't help me. I need to show that each left ideal of $M_n(R)$ is a direct summand for $M_n(R)$. Is there a characterization of the left ideals of $M_n(R)$ in terms of the left ideals of $R$? Lastly, does the converse also hold? If $M_n(R)$ is a semi-simple ring, then is $R$ necessarily a semi-simple ring? Thanks.",
"Can I remove a digital signature from a DLL?",
"Interview: How to ensure that a thread runs after another?",
"How do I derive the Lorentz contraction from the invariant interval? Reviewing some basic special relativity, and I stumbled upon this problem: From the definition of the proper time: $$c^2d\\tau^2=c^2dt^2-dx^2$$ I was able to derive the time dilation formula by using $x=vt$: $$c^2d\\tau^2=c^2dt^2-v^2dt^2=c^2dt^2\\left(1-\\frac{v^2}{c^2}\\right)\\rightarrow d\\tau = dt\\sqrt{1-\\frac{v^2}{c^2}}=t/\\gamma$$ Now, I would very much like to be able to derive the length contraction formula in a similar fashion, and feel strongly that this should be possible. The definition of the invariant interval is: $$ds^2=dx^2-c^2dt^2$$ using $t=\\frac{x}{v}$ I tried: $$ds^2=dx^2-\\frac{c^2}{v^2}dx^2=dx^2\\left(1-\\frac{c^2}{v^2}\\right)\\rightarrow ds=dx\\sqrt{1-\\frac{c^2}{v^2}}$$ This is where I'm stuck: I don't see how this can be converted to a Lorentz factor... Any help that will allow me to arrive at the desired result $ds=\\gamma dx$ would be very much appreciated.",
"Earlier today, I was talking with my friend about some \"cool\" infinite series and the value they converge to like the Basel problem, Madhava-Leibniz formula for $\\pi/4, \\log 2$ and similar alternating series etc. One series that popped into our discussion was $\\sum\\limits_{n=1}^{\\infty} \\frac{1}{n^n}$. Proving the convergence of this series is trivial but finding the value to which converges has defied me so far. Mathematica says this series converges to $\\approx 1.29129$. I tried Googling about this series and found very little information about this series (which is actually surprising since the series looks cool enough to arise in some context). We were joking that it should have something to do with $\\pi,e,\\phi,\\gamma$ or at the least it must be a transcendental number :-). My questions are: What does this series converge to? Does this series arise in any context and are there interesting trivia to be known about this series? I am actually slightly puzzled that I have not been able to find much about this series on the Internet. (At least my Google search did not yield any interesting results).",
"If $E$ is a connected space, then so is $\\overline{E}$. I have to prove that if $E$ is a connected space, then so is $\\overline{E}$ (the closure of $E$) a connected space. I tried to prove the contrapositive. So suppose that $\\overline{E}$ is not connected in a metric space $X$. This implies there are $A\\subset X$ and $B\\subset X$ such that $A\\cap B=\\emptyset$, $A\\cap \\overline{E}\\neq \\emptyset$, $B\\cap \\overline{E}\\neq \\emptyset$ and $\\overline{E}\\subset A\\cup B$. I will try to prove that this $A$ and $B$ will also work for $E$. Suppose that $A\\cap E=\\emptyset$ and $B\\cap E=\\emptyset$, this implies that $A\\cup B$ is a subset of the limit points of $E$, because $A\\cap \\overline{E}\\neq \\emptyset$ and $B\\cap \\overline{E}\\neq \\emptyset$. This contradicts the fact that $\\overline{E}\\subset A\\cup B$, so we have to conclude that $A\\cap E\\neq \\emptyset\\neq B\\cap E$. Since $E\\subset\\overline{E}\\subset A\\cup B$, we have that $E$ is also not connected. My question is whether my proof is correct, because I have a little bit doubt. If it's not correct, what is the best I can do? Thanks in advance! Edit1: The definition we use for a connected space $E$ in a metric space $X$ is that if $E$ is connected, then there are no open $A,B\\subset X$ such that $A\\cap B=\\emptyset$, $A\\cap E\\neq \\emptyset\\neq B\\cap E$ and $E\\subset A\\cup B$. Edit2: $A$ and $B$ must be open.",
"Using Windows 10 in a virtual machine. Can it be done? I am currently running 8.1. I'd like to try out Windows 10 and if I like it upgrade. If not, I'll keep running as I am. I've never used a virtual machine before: can Window 10 be used from a virtual machine as a \"sandbox\", and if so how?",
"Alternatives to \"and/or\"?"
] |
medi_sts_stackexchange_dupe
|
Define operator with special characters
|
How to assign symbols to functions
|
[
"HTML and CSS is not working?",
"Run Metro application on startup? I want to know where the Metro applications (Mail, People, Messages, ...) executable file path is. Also, how can I run Mail application when my PC starts?",
"Is there a way to view the site without having to look at reputation information? I do not want to track my rep information or see anyone else's. I think that'll let me focus more on the questions themselves. Is anyone else interested in this feature? I don't see anything on Stack Overflow itself, but are there any add-ins or scripts that do this?",
"IndentationError: unindent does not match any outer indentation level",
"Same as title, want to kill alt-tab, etc.",
"There are a few examples of pairs of words ending with -ee/-er like employee and employer or advisee and adviser. What I was curious about is if there was any rule that would describe the relationship of the objects in a pair like this and situations when it's appropriate to create a counterpart for a given word. I'll give you an example. It's relatively common in the computer programming world to see the word dragee, which describes an object that is being dragged with a mouse. I understand that this is a relatively new word and could not be found in any dictionary (I've tried). Is that acceptable to make up words like this one or is it just bad English?",
"biblatex – et al. beginning from second citation? Basically all I need to know is how I can use \"et. al\" beginning from the second citation of a source. I am using the following \\usepackage[ natbib=true, style=authoryear ]{biblatex} I need citations to look like this: First citation of a source Drobetz, Schillhofer, and Zimmermann (2004) Second and further citations Drobetz et al. (2004) Right now, every citation looks like the first one. With the biblatex option maxcitenames I can only adjust all citations and not all but the first one. Any help?",
"Massive spam users and spam entries despite triple layer protection",
"Suppose the mean noon-time temperature for September days in San Diego is 24∘ and the standard deviation is 4.9. (Temperature in this problem is measured in degrees celsius) On September 26, 1963, the all-time record of noon-time temperature in San Diego of 44∘ was hit. Assume the temperature distribution is symmetric around the mean, what is the Chebyshev bound for the probability of breaking (or tieing) this record? I am having a hard time understanding this. Could someone explain to me how to do this?",
"I am stuck with the proof of below expression; \"If F is an infinite field, then no infinite subgroup of F* (the multiplicative group of F) is cyclic.\" anyone can help?",
"This has been puzzling me for a few days now, and I asked a graphic designer I knew before trying here and haven't been able to solve it yet. It's quite weird so please bear with me for a bit. I am using Adobe Illustrator to create a logo, and I have something that can potentially work. I have used only the pen tool with strokes (no fill), but the issue is, when I view the logo at 100%, it looks pixellated! I know vectors should not even be able to appear pixellated, but they are. Here is the screenshot from AI, without exporting to anything: That was just done using the snipping tool within Windows, and it's at 100% zoom. I have anti-aliasing turned on from Edit > Preferences > General, and the document resolution is at 300 ppi (I get the same result with 72 ppi). Could anyone help me with this? If relevant: Using CS6, and have a 24 inch Dell U2412M at 1920x1200 resolution. I do have a 21.6\" Samsung at 1680x1050 and I get the same result there as well. Let me know if you need any other settings, or if you would like the file, I'd be happy to provide it to be able to solve this problem.",
"What's the difference between a method and a function?",
"Definition of Statistic I keep seeing conflicting definitions of a statistic. Is a statistic a random variable such that it is a function of the random variables of a random sample? Or is it the value of the function of the random sample, after each random variable of the random sample has taken on a specific value? $$(1) \\ S=f(X_1,X_2...X_n)$$ $$(2) \\ s=f(x_1,x_2...x_n)$$ I haven't been able to get any clarification for this and I've seen the term statistic describe both situations",
"In English, I sometimes hear a phrase like green is the new black. Literally, this makes absolutely no sense whatsoever. What does it mean when someone says X is the new Y, when this makes no sense when taken literally? gives plenty of examples: I've found definitions online for specific examples, such as , but overall I don't understand what X is the new Y means, and I can't find it explained anywhere. What does X is the new Y mean? As far as I'm aware, this phrase exists only in English.",
"How do I get a file extension in PHP?",
"Can you help me decide, what type of transport can I use to travel from one US town to another (it will be a big journey), without flying? Are buses available, and is there any more suitable method of traveling?",
"This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance. EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this.",
"What to do to switch to biblatex? Because of the great answers posted around in the site, I'm finally considering to do the switch and move to biblatex. So, the question is what do I have to do? To give the question some focus, assume that I already have a somewhat largish .bib file and a bunch of documents using natbib for my references. What do I have to change in my existing .bib and .tex files? And what about coauthors? Would it be reasonably simple to instruct them how to work with the new documents using biblatex? Do they have to install new software/packages as well?",
"Raster generalization - buffers in rasters, expand pixels? Is it possible to create buffers for pixels of raster files? Actually I need to expand the pixels classified as 1 (in white in the figure) with a spatial range of 1 or 2 pixels, in order to perform some generalization. I'm using QGIS, is this possible with gdal or something?",
"SF short story ID, written 40s—60s, primitive aliens who are much smarter than us I'm looking for a story that was probably written somewhere from the 1940s to the 1960s. I think I read it in an anthology, possibly in the 1970s. A group of human explorers landed on a planet with primitive aliens, living in hunter-gatherer villages. They hoped to make a profit from trading our goods for—well, I'm not clear on what they wanted from the aliens. The native people learned the human language before the explorers could learn theirs. Then the natives suddenly started producing technological innovations far beyond what they originally used. I remember that wooden sailing ships suddenly replaced their canoes. All the natives had to do was hear a story once from the explorers before copying the technology in the story. Finally, the explorers realized that the natives were much, much smarter than us and that Earth faced a serious problem. I'm fairly certain that it wasn't a Heinlein story, but I remember that it had some qualities similar to his work."
] |
medi_sts_stackexchange_dupe
|
Feedforwardnet for XOR
|
What should I do when my neural network doesn't learn?
|
[
"I am looking for an adjective/noun for someone who is able to speak/ makes speeches very well and uses words effectively to influence/impress people.",
"Zip all files in directory? Is there a way to zip all files in a given directory with the zip command? I've heard of using *.*, but I want it to work for extensionless files, too.",
"Asking a question: DO or ARE? When should you ask a question with "do", and when with "are"? In other words, Are you going to Spain next week? Do you like Chinese food? What is the rule here? We don't say Do you go to Spain next week? Are you liking Chinese food? Why is that?",
"Skip certain tables with mysqldump",
"Prove that the number $19\\cdot8^n+17$ is not prime, $n\\in\\mathbb{Z}^+$ On a Google search, I've notice that often the \"trick\" involves factoring the expression (and thus showing that the expression isn't prime), but I can't see it. Is this how you would go about it in this case, or would that be a dead end? Any hints?",
"If $p\\equiv1\\mod{4}$, then $p=a^{2}+b^{2}$ where a and b are uniquely determined From Ireland,Rosen's Number Theory book, ex.8.12. Let $p\\equiv1\\mod{4}$, then we can write $p=a^{2}+b^{2}$, where $a,b\\in\\mathbb{Z}$. Now, let $a$ be odd and $b$ be even and $a,b>0$. How can we show that $a$ and $b$ are uniquely determined? The hint says to use the fact that $\\mathbb{Z[i]}$ is a UFD and $p=a^{2}+b^{2}\\implies a+bi$ is prime in $\\mathbb{Z[i]}$",
"How do I completely remove Ubuntu 12.04 on my Mac? I have dual booted Ubuntu 12.04 on my Mac using disk utility and the rEFIt tool.The battery life is very bad and therefore I want to switch back to Ubuntu 10.04 . How can I completely remove the 12.04 partition?",
"I have 3 old computers lying around right now running a P2 at 800 MHz(?), Intel Mobile 1.6 GHz, AMD Athlon XP 2000+ at 1.66 GHz, and (might not use this) P4 at 2.7 GHz, all with 512 MB Ram, and am considering clustering them together for fun/knowledge. They would be running an undecided version of linux, preferably ubuntu based. The issue is what I want to use it for: general computing and occasional video encoding. By general computing I mean day to day tasks. However I'm not sure if every program started by a single X session is going to exist on the same machine, defeating the purpose of such a system. Will programs be split up or exist on one machine? Second, assuming this is running 100baseT ethernet (not sure if the PCI slot itself could handle Gigabit), would the speed of having a program exist over the network be an issue? It seems that the constant asking of various things in RAM would be quite slow. And before you say \"buy another computer!\", that's not the point of this question. I'm asking would it be usable, not necessarily practical. And yes I know, this is going to be extreamly power consuming.",
"Animating eye texture in a head mesh I'm trying to animate a mesh with different eye textures but it's not working. This is a texture made by me to animate but I still couldn't figure out how to do it. I've seen tutorials on the internet but they don't work to me.",
"how to create a roster sheet in sharepoint 2010 This is about training management, when an employee requests for training, it goes to approval workflow and once approved, it is like the employee is enrolled. Once it is approved I want a roster sheet to be created for that course for all the employees registered and who got approved. The report I need to generate has to be of the enrolled users of one course and one particular session If I give copy listitem as approved then different courses would come together in the list The format for the report",
"How to partition a list in a specific way",
"Is there a new auto-login feature?",
"Before asking my question, I'll use an example to clarify the idea. Say that a company used to sell horses and then they turn into a sheeps business. While some of the old pages can be mapped to the new pages using a 301 redirect, because they're really related in the content and the company don't want to lose users and link juice, there are a lot of pages strictly related to horses that they want to shutdown. What's the best practice? Is there a way to say to users and Search Engines the content you were looking for won't be available any more? Basically a 301 redirect of the closed pages to new ones seems not so good, because you'll show a content totally unrelated to the searched one. P.S: I'm aware that probably the best fallback is to simply map those pages to the homepage but I hope in a smarter solution.",
"On August 5, 41 days ago, I submitted an application for a UK visitor visa. This is the third time I have applied. The only notice I have received so far says this: \"Unfortunately, the processing of your application has not been straightforward. This means that we will be unable to make a decision within our published customer service standards.\" What should I do?",
"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?",
"Movie Identification: People record their experiences on reel-to-reel I know that this sounds like Strange Days, which I haven't seen, but from the Wikipedia description I don't think that's it. I saw this back in the early-to-mid-90's on TV, pretty sure it was a premium channel. It follows a research group who develops a way to record experiences. Not thoughts, but at least the sights, sounds, smells, touch, etc. They record it onto this reel-to-reel tape, it looked striated and golden in color. The protagonist is the head of the research team. I don't remember a great deal of the plot, but there were conspiracies surrounding the invention. The lab clown decides to give it a whirl by putting the bike-helmet-sized apparatus on his head and going out to have a little fun, in the classic wine, women, and song fashion. Once he returns, an older member of the team finds the tape and finds a section where the clown is having sex. Later on, the protagonist, who is the lead researcher, finds the older member shut up in his house seemingly for days and nearly comatose. The older researcher had the playback device over his head and is non-responsive. Worried, the protagonist removes the helmet and puts it on himself, only to find that the older researcher had snipped a few seconds of tape and had them running on a non-stop loop; the moment of orgasm for the clownish researcher. The older researcher eventually comes to and awkwardly apologizes. I think there were also experiments in recording the sensorum of a lab monkey, and that played into the plot. I remember the plot seemed fairly thin and dull for what seemed to be a pretty neat idea. I don't desperately feel the need to watch the movie, but I'm mildly curious if my impressions would differ 20 years later now.",
"Congruent Modulo $n$: definition In an Introduction to Abstract Algebra by Thomas Whitelaw, he gives examples of the congruence mod operation, such as $13 \\equiv5 \\pmod4$, and $9 \\equiv -1 \\pmod 5$. But when I first learned about the modulo operation my junior year, I would have told you that $13 \\equiv 1 \\pmod 4$, and that $9 \\equiv 4 \\pmod 5$. Is this just a difference in the definition of modulo? Or is this pretty typical (to not take it to the largest factor, or one over)?",
"I have already proved Triangle Inequality $\\lVert v+w\\rVert \\le \\lVert v \\rVert+\\lVert w \\rVert$ in vector space $\\mathbb{R}^n$. However, I'm having difficulties proving the Reverse Triangle Inequality in the vector space. I have started with $$\\lVert v \\rVert^2=v \\cdot v-w\\cdot w+w\\cdot w \\le \\lVert v-w \\rVert+\\lVert w \\rVert^2$$ $$\\lVert w \\rVert^2=w \\cdot w-v\\cdot v+v\\cdot v \\le \\lVert w-v \\rVert+\\lVert v \\rVert^2$$ based on the Triangle Inequality but I don't know if it is correct. If this is right, I think I can go on with proving it the same way I would the normal Reverse Triangle Inequality.",
"How can I draw a graph like the diagram below? I'm trying, but something is wrong with my code in LaTeX: \\begin{asy} pair dynkinMark(real x, real y, string s = "", pen p = defaultpen, pair B = dir(45)) { if (s != "") { dot("$"+s+"$", (x,y), B, p); } else { dot((x,y), p); } return (x,y); } dynkinMark(0,1, "1", dir(135)); dynkinMark(0,2, "2", dir(135)); dynkinMark(0,3, "3", dir(135)); dynkinMark(0,4, "4", dir(135)); dynkinMark(7,1, "1'"); dynkinMark(7,2, "2'"); dynkinMark(7,3, "3'"); dynkinMark(7,4, "4'"); path p1 = (0,1)..(2,2.0)..(5,3.5)..(7,4); path p2 = (0,2)..(2,1.2)..(5,2.5)..(7,3); path p3 = (0,3)..(2,2.8)..(5,1.5)..(7,1); path p4 = (0,4)..(2,3.8)..(5,3.5)..(7,2); draw(p1, blue); draw(p2, heavycyan); draw(p3, mediumcyan); draw(p4, lightblue); dot("$12$", IP(p1, p2), dir(90), heavygreen); dot("$13$", IP(p1, p3), dir(90), heavygreen); dot("$23$", IP(p2, p3), dir(90), heavygreen); dot("$14$", IP(p1, p4), dir(90), heavygreen); dot("$24$", IP(p2, p4), dir(90), heavygreen); real y = 0.8; label("$s_1$", (IP(p1,p2).x, y), heavygreen); label("$s_2$", (IP(p1,p3).x, y), heavygreen); label("$s_1$", (IP(p2,p3).x, y), heavygreen); label("$s_3$", (IP(p1,p4).x, y), heavygreen); label("$s_2$", (IP(p2,p4).x, y), heavygreen); \\end{asy}",
"How do I delete a board when the admin is no longer part of the group? One of our programmers decided to leave us. We took him off the group, but his board that he is the only admin of is still hanging around. How do I remove it?"
] |
medi_sts_stackexchange_dupe
|
Why does "is" operator behave differently then expected, in `id(i) is id(j)`?
|
Is there a difference between "==" and "is"?
|
[
"Create subdomains on the fly with .htaccess (PHP) I am looking to create a system which on signup will create a subdomain on my website for the users account area. e.g. johndoe.website.com I think it would be something to do with the .htaccess file and possibly redirecting to another location on the website? I don't actually know. But any information to start me off would be greatly appreciated. Creating a sign up area is not the problem - I have done this many a time. I am just unsure where to start with the subdomain.",
"I'd like to remove my phone number from my iMessage account, but still have my phone enabled to receive messages sent to my email address (also used on iPad, Mac). Is there a way of doing this?",
"How can Cooper communicate with his daughter before the time he went to space?",
"I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day. What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have? I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business. They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find. She has been a close friends for years, I want to do everything I can to help her. Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting. The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down. Gear: Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?) Other lenses that I have but I don't think will be useful: 50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash) I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras. I have a great monopod, but a cheap tripod. I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute. I will have my girlfriend carry the 450D and shoot details / non-portraits. One concern that I have is fill flash, I really do not have a large surface to bounce off from. I have shot events before but they are not as dynamic/critical as a wedding. How do I prepare for differing weather conditions? If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc. What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated!",
"Reviewer Stats showing wrong count I have totally reviewed 716 suggested edits, but it shows I've approved 486 suggestions and rejected 228. I searched about it on meta. But, can't get solution. I thought that some of my reviewed posts might get deleted. So, I went to the review history and found . It should be a bug.",
"Using past tense when referencing a still-true fact In the sentence: \"I didn't know she had a son,\" Can I say \"I didn't know she has a son\" instead, because he is a teenager now? Or are both correct?",
"I am able to use the split command successfully to split large file into multiple smaller files. This is being achieved by following command split -b 1G $temp_path $final_filepath But only caveat is that these files many times contain last line which is split across 2 files. Is there any way to avoid that using split or any other command ?",
"Divisor in $\\mathbb{C}[X]$ $\\implies$ divisor in $\\mathbb{R}[X]$? let $P \\in \\mathbb{R}[X]$ be a real polynomial divisible by a polynomial $Q \\in \\mathbb{R}[X]$ in $\\mathbb{C}[X]$. How can I easily show that $P$ is also divisible by $Q$ in $\\mathbb{R}[X]$? A simple argument without using higher algebraic theorems is desirable. If I could use instruments of higher algebra, the exercise I have to do in whole would be done in two lines. But I'm not allowed to use. I think there would be an easy argument which I can't see yet because of my mental fogginess that I have sometimes. Thank you beforehand.",
"Let $b_n$ decrease monotonically to zero, prove $\\sum b_nz^n$ converges for $|z|\\leq 1$ and $z\\neq 1$",
"How do I perform a Perl substitution on a string while keeping the original? In Perl, what is a good way to perform a replacement on a string using a regular expression and store the value in a different variable, without changing the original? I usually just copy the string to a new variable then bind it to the s/// regex that does the replacement on the new string, but I was wondering if there is a better way to do this? $newstring = $oldstring; $newstring =~ s/foo/bar/g;",
"How could I define function with function such as Coefficient?",
"I've tried to install Ubuntu on a VMWare Virtual Machine, but it never gets past the bootloader : ISOLINUX 4.01 debian-20100714 ETCD Copyright (C) 1994-2010 H. Peter Anvin et al No DEFAULT or UI configuration directive found! boot: _ I've also tried to burn this .iso image to a CD and go from therem but I got the same problem. Some more details : VMWare Server 2.0.2 Build 203138 on Windows 2008 R2 ubuntu-10.10-desktop-i386.iso image used (downloaded yesterday evening)",
"Problem: Start page numbers from chapter one and also reflect this in the TOC. Currently the code for TOC is: \\renewcommand{\\contentsname}{Table of contents} \\setcounter{secnumdepth}{2} \\setcounter{tocdepth}{2} \\tableofcontents I would appreciate if I can be pointed in the right direction. So far I have understood that you can use \\chapter* in order not to include a chapter in the TOC. Questions: 1) How would you force Latex to start numbering from chapter 1 and forward? 2) How can you start page numbering from the first chapter?",
"Can I have a unique UV map for each frame?",
"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?",
"To find minimum distance between two curves",
"If $A$ and $B$ are square matrices such that $AB = I$, where $I$ is the identity matrix, show that $BA = I$. I do not understand anything more than the following. Elementary row operations. Linear dependence. Row reduced forms and their relations with the original matrix. If the entries of the matrix are not from a mathematical structure which supports commutativity, what can we say about this problem? P.S.: Please avoid using the transpose and/or inverse of a matrix.",
"Why \"grand theft auto\", not \"grand auto theft\"? There is a video game series called \"Grand Theft Auto\". According to its : The name of the series references the term used in the US for motor vehicle theft. [...] Motor vehicle theft or, grand theft auto, is the criminal act of stealing or attempting to steal a car (or any other motor vehicle). I always wondered why this term sounds so strange. Shouldn't it be \"grand auto theft\" or maybe \"grand theft of auto\" instead? Are there any other terms with strange words order and/or missing prepositions like this?",
"Do you really answer \"How do you do?\" with \"How do you do?\"",
"EEVEE and Cycles render lighting differences I get different lightning render with the same scene camera setup. Cycles render (both experimental and supported feature set) gets weaker lightning and needs more energy. How can I get the same lightning and reflection setup with EEVEE and Cycles?"
] |
medi_sts_stackexchange_dupe
|
JAVA UUID use only numeric characters to generate random UUID
|
How do I generate random integers within a specific range in Java?
|
[
"I have a problem with energy conservation in case of interfering waves. Imagine two harmonic waves with amplitudes $A$. They both carry energy that is proportional to $A^2$, so the total energy is proportional to $2A^2$. When they interfere, the amplitude raises to $2A$, so energy is now proportional to $4A^2$ and bigger than before. The equivalent question is what happens to the energy with the superposition of two waves that interfere destructively. Also, if someone could comment on the statement about this problem in my physics book (Bykow, Butikow, Kondratiew): The sources of the waves work with increased power during the interference because they feel the wave from the other source.",
"How to spawn a Giant with equipment? I really want to spawn Giant with armor and swords. Because Giants are strong, and great challenge if spawned with enchanted diamond armor and a diamond sword.",
"Connect iPhone to Mac Without Charging I am developing iOS apps and I hate, that always when I connect my iPhone to my Mac to install and test an app, the iPhone gets charged. Is there any possibility to connect my iPhone to my Mac without charging the phone? My Environment: - iPhone 4S (No Jailbreak) - MacBook Air3,2 (Late 2010)",
"Subject-verb inversion / verb-subject-object -- is this correct? I recently read the following in a schoolbook: Wrote the researchers, \"[...]\" I wonder if this is correct English. I have seen it a couple of more times. Is this just a matter of preference? English doesn't really have a very liberal word order, unless you're writing poetry or the like. Can anyone tell me what this is called? I found some information on subject-verb inversion, but it only seems to be when the object is in front, but in this case, the word order is verb-subject-object.",
"Pagenumbers aligned raggedleft in scrartcl with tocstyle? When trying to typeset a table of contents with KOMAscriptand tocstyle(alpha 0.2d), I finally managed to change the font of the pagenumbers (like the rest of the document to CMSS) with \\settocfeature{pagenumberhook}{\\changefont{cmss}{m}{n}}, however now the page numbers are aligned at the left and not at the right side! So how can I change that back to an alignment on the right side of the page numbers like that, but with the sans serif font? Example: \\documentclass[11pt, a4paper]{scrartcl} \\usepackage[ngerman]{babel} \\usepackage{blindtext} \\newcommand{\\changefont}[3]{ \\fontfamily{#1} \\fontseries{#2} \\fontshape{#3} \\selectfont} \\usepackage[]{tocstyle} \\usetocstyle{classic} %\\settocstylefeature[1]{entryvskip}{10pt} %\\settocstylefeature[2]{entryvskip}{3pt} %\\settocstylefeature[1]{entryhook}{\\bfseries} \\settocfeature{pagenumberhook}{\\changefont{cmss}{m}{n}} \\begin{document} \\changefont{cmss}{m}{n} \\tableofcontents \\newpage \\blinddocument \\blinddocument \\blinddocument \\end{document}",
"Primefaces growl is not working in all the pages",
"Find the limit $\\lim_{n\\rightarrow\\infty}\\sum_{k=1}^{n}\\frac{1}{k+n}$ $$\\lim_{n\\rightarrow\\infty}\\sum_{k=1}^{n}\\frac{1}{k+n}$$ Could you please give me a hint how to find this limit?",
"can I change value of $_SERVER['DOCUMENT_ROOT']?",
"Find duplicate files",
"What is a NullPointerException, and how do I fix it? What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?",
"XSD extend a complex type",
"Using methods from another class in the main?",
"Call to a member function on a non-object",
"Trajectory of a photon around a Schwarzschild black hole? Consider a photon coming from the infinity in a unbounded orbit to a Schwarzschild black hole (Schwarzschild radius $r_{s}$) (see for illustration). Its impact parameter is $b$ and its distance of closest approach is $r_{0}$ with $$b^2=\\frac{r_{0}^{3}}{r_{0}-r_{s}}$$. Then its trajectory in polar coordinates is defined by : $$\\frac{d\\varphi}{dr} = \\frac{1}{r^2\\sqrt{\\frac{1}{b^2}-\\left(1-\\frac{r_s}{r}\\right)\\frac{1}{r^2}}}$$ Consequently : $$\\varphi\\left(r\\right) = \\int_{r_{0}}^{r} \\frac{dp}{p^2\\sqrt{\\frac{1}{b^2}-\\left(1-\\frac{r_s}{p}\\right)\\frac{1}{p^2}}}$$ and one can compute the total deviation using : $\\Delta\\varphi = 2\\times\\left(\\lim_{r\\to+\\infty}\\varphi\\left(r\\right)-\\frac{\\pi}{2}\\right)$ But my question is : how can I plot/draw the trajectory using the integral expression of $\\varphi\\left(r\\right)$ ? Because if I compute : $$f\\left(r\\right) = 2\\times\\left(\\int_{r_{0}}^{r} \\frac{dp}{p^2\\sqrt{\\frac{1}{b^2}-\\left(1-\\frac{r_s}{p}\\right)\\frac{1}{p^2}}}-\\frac{\\pi}{2}\\right)$$ I obtain $f\\left(r_{0}\\right) = -\\pi$, and then $f$ increases up to zero, crosses zero, and tends to its positive value at infinity $\\Delta\\varphi$. It does not make sense for me and I do not understand how to compute the trajectory from that. If I compute : $$g\\left(r\\right) = \\int_{r_{0}}^{r} \\frac{dp}{p^2\\sqrt{\\frac{1}{b^2}-\\left(1-\\frac{r_s}{p}\\right)\\frac{1}{p^2}}}$$ it starts from $0$, and increase up to $\\frac{\\pi}{2}+\\frac{\\Delta\\varphi}{2}$. I would like to compute the trajectory in the $\\left(x, y\\right)$ plane, so how to use the values of $f\\left(r\\right)$ or $g\\left(r\\right)$ to compute the function $y\\left(x\\right)$ ?",
"Possible Duplicate: This is something I haven't quite figured out yet, but I have been using function(){}() just because my VIM syntax highlight screws up if I add the parenthesis, although I've seen (function(){})() around many times, maybe its an IE thing? edit: var singleton = function() { // code }(); var singleton = (function() { // code })();",
"How can I pass a class member function as a callback? I'm using an API that requires me to pass a function pointer as a callback. I'm trying to use this API from my class but I'm getting compilation errors. Here is what I did from my constructor: m_cRedundencyManager->Init(this->RedundencyManagerCallBack); This doesn't compile - I get the following error: Error 8 error C3867: 'CLoggersInfra::RedundencyManagerCallBack': function call missing argument list; use '&CLoggersInfra::RedundencyManagerCallBack' to create a pointer to member I tried the suggestion to use &CLoggersInfra::RedundencyManagerCallBack - didn't work for me. Any suggestions/explanation for this?? I'm using VS2008. Thanks!!",
"I'm learning C#, so I made a little C# program that says Hello, World!, then compiled it with mono-csc and ran it with mono: $ mono-csc Hello.cs $ mono Hello.exe Hello, World! I noticed that when I hit TAB in bash, Hello.exe was marked executable. Indeed, it runs by just a shell loading the filename! Hello.exe is not an ELF file with a funny file extension: $ readelf -a Hello.exe readelf: Error: Not an ELF file - it has the wrong magic bytes at the start $ xxd Hello.exe | head -n1 00000000: 4d5a 9000 0300 0000 0400 0000 ffff 0000 MZ.............. MZ means it's a Microsoft Windows statically linked executable. Drop it onto a Windows box, and it will (should) run. I have wine installed, but wine, being a compatibility layer for Windows apps, takes about 5x as long to run Hello.exe as mono and executing it directly do, so it's not wine that runs it. I'm assuming there's some mono kernel module installed with mono that intercepts the exec syscall/s, or catches binaries that begin with 4D 5A, but lsmod | grep mono and friends return an error. What's going on here, and how does the kernel know that this executable is special? Just for proof it's not my shell working magic, I used (aka sh) to run it and it still runs natively. Here's the program in full, since a commenter was curious: using System; class Hello { /// <summary> /// The main entry point for the application /// </summary> [STAThread] public static void Main(string[] args) { System.Console.Write(\"Hello, World!\\n\"); } }",
"How to protect SHTML pages from crawlers/spiders/scrapers? I have A LOT of SHTML pages I want to protect from crawlers, spiders & scrapers. I understand the limitations of SSIs. An implementation of the following can be suggested in conjunction with any technology/technologies you wish: The idea is that if you request too many pages too fast you're added to a blacklist for 24 hrs and shown a captcha instead of content, upon every page you request. If you enter the captcha correctly you've removed from the blacklist. There is a whitelist so GoogleBot, etc. will never get blocked. Which is the best/easiest way to implement this idea? Server = IIS Cleaning out the old tuples from a DB every 24 hrs is easily done so no need to explain that.",
"How to do integer & float calculations, in bash or other languages/frameworks? 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.",
"We were taught that an independent clause must have a complete thought/idea. This is the only mammal that can fly. How can \"This is the only mammal\" be treated as an independent clause? It was a grammar lesson and there was no context there. In this situation how can I decide that it is an independent clause? Though for sure, there should be an independent clause in a correct sentence, and the clause starting with 'that' is not independent. But by this way, I can't fit it with the rule that every independent clause must have a complete thought. A simple sentence must have an independent clause. If the sentence has no independent clause how we can call it a sentence? Can even two dependent clauses form a sentence?"
] |
medi_sts_stackexchange_dupe
|
Static member undefined reference c++ without header file
|
Undefined reference to static class member
|
[
"Could the Infinity Gauntlet be used to make two people fall in love with each other? I am wondering if there is anything in Marvel comic book canon or in the MCU that says that the Infinity Gauntlet has the power to make someone fall in love with the person wearing the Infinity Gauntlet, or that the wearer of the Infinity Gauntlet can use the Infinity Gauntlet to make two strangers fall in love with each other? Perhaps the combined power of the Mind Stone and the Soul Stone would make two people fall in love.",
"Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*? The first image of a black hole has been released today, April 10th, 2019. The team targeted . Why didn't the team target at the center of our own galaxy? Intuitively, it would seem to be a better target as it is closer to us.",
"Is password confirmation necessary on a Change Password dialog? On one hand there is no need to ask for password confirmation because it is annoying. If I made a mistake when confirming my password I'll need retype my very complex password again. There is also a button that can show/hide the password so I don't need retype it in order to confirm it. However, some users don't use the password show/hide button and the 'forgotten password' option will be pain for them. Twitter removed the password confirmation from registration but left the dual confirmation in place for changing password. Is this right approach?",
"What should I do when I have lenses with different filter thread sizes?",
"Can an integer of the form $4n+3$ written as a sum of two squares?",
"Is there a difference between \"==\" and \"is\"?",
"If $X_1, ..., X_n$ are independent identically-distributed random variables, what can be said about the distribution of $\\min(X_1, ..., X_n)$ in general?",
"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.",
"\"Geometric\" or \"Geometrical\"? I have read the excellent answers to - my question is specifically about usage. Is there a best practice for deciding between the variants geometric and geometrical in writing? A shows that geometrical was more popular until about 1965, when they switched. What grammatical rules, if any, would be relevant here?",
"$Path hijacked by PacletManager?",
"I think my son was trying to guess the passcode! What do I do? I can't wait 42 years!",
"How to store and preserve film negatives and slides? I bought 35mm dedicated film scanner (Nikon CoolScan III) and I'm planning to digitize old negatives and slides I found at home. How should I store and preserve these slides and films after I cut them and scan? How to choose best negative pages/sleeves, binders etc. and what to avoid?",
"How to get the center line between two linestrings Where is the track of a ship when it is shipping always in the center of the between the coasts of Great Britain and France? I started with 2 linestrings and I created a lot of points on the linestring with a . After that I created a distance matrix with Raster/Analysis/Proximity in QGIS. Finally I created an aspect raster from the output raster. Is the red line really the \"center line\" between these two linestrings? Is there a more efficient way to do this?",
"I'd really like to learn how to play pen-and-paper RPGs. I know that it takes a few players to actually sit down and play, but I'm not at all sure where to find more gamers. How do I find existing groups to join? Or, are there any resources online that may help me find existing RPG groups or players?",
"Where are the NetworkManager logs? A previous poster on the regular forums ( ) said /var/log/daemon.log, but I don't seem to have such a file. Do I need to enable logging?",
"Compile nested Sums",
"How do you do Impersonation in .NET? Is there a simple out of the box way to impersonate a user in .NET? So far I've been using for all my impersonation requirements. Is there a better way to do it by using .NET Framework? I have a user credential set, (username, password, domain name) which represents the identity I need to impersonate.",
"For f continuous on $[0,1]$, show that there exist points $\\alpha_k$ such that $\\sum \\limits_{k=1}^n \\frac{1}{f'(\\alpha_k)} = n $",
"Install Java JDK and JRE on Debian 8 I installed Debian 8, I would like to install Java JRE and JDK. I use and it works. But, I am afraid because it's a script hosted in a repository. I would like to understand why it doesn't work when I put the extract of in /usr/java/jre1.8.0_73 directory as . I added the path variable with PATH=/usr/local/jdk1.8.0/bin:$PATH export PATH as explained in but it doesn't work. Even if I try to install OpenJDK, the package isn't found. I don't understand why it's so complicated to install Java on Debian; it is very simple on Ubuntu. I would like someone give me step-by-step instructions to install it.",
"I am looking for a word that describes both of these activities, however the word coding does not seem to be suitable. Likewise with encryption and decryption, cryption does not work well."
] |
medi_sts_stackexchange_dupe
|
What happens to a Redis data store if the data exceeds available ram?
|
What does Redis do when it runs out of memory?
|
[
"Is the 64-Bit version of Ubuntu only compatible with AMD CPUs?",
"Why do some lenses focus past infinity? On the kit 18-55 lens that came with my Nikon D5100 I have noticed that when trying to focus on infinity for shots in dark conditions (star-trails, etc) the lens tends to move past infinity out of focus and need to be brought back a little to get a clear infinity focus point. Is there a good trick for getting a clear infinity focus when in pitch dark conditions?",
"I am aware but I ask this regarding SE-2.0 sites, as the example I will take gaming: Both answers on the question make perfect sense to me, i.e. on the one hand this might overuse the tagging system but on the other hand it would help a lot for filtering. Therefore I suggest a system which, in this case, would internally store the platforms to which a tag is relevant and if a question is tagged with one of these platforms, nothing special will happen and the question is to be considered platform specific (e.g. a bug which only appears on the PS3 version) if the question is not tagged with a platform, the only result will be that the tag filter mechanism works a bit different compared to what would happen if the question was (invisibly) tagged with all platform tags: If the invisible tagging is definite on interesting or ignore (i.e. there is not at least one ignored and one interesting tag) the usual mechanism works. if the tagging is ambiguous (i.e. contains both interesting and ignored tags), no filtering happens at all The actually attributed tags must of course override this behaviour. That way questions about a game one likes but which is available for a platform one doesn't care about will still be highlighted unless specifically tagged with that platform, but no additional tags have to be used to filter a game which is only available on ignored platforms. This can of course easily be extended to other sites, e.g. the may be interesting both general and for c++ but totally uninteresting if the question is only about a JavaScript implementation. I am only unsure whether search should include those hidden tags, too.",
"Proof of property of abelian group",
"Can we use an Android phone as a Wi-Fi repeater? Can we use an Android phone as a Wi-Fi repeater? Imagine situation when you can access a weak Wi-Fi signal from a free hotspot (coffee shop) signal near window, but want to work in the middle of the room. Then we can put the phone on the window sill to spread the signal over the entire home. Is it feasible?",
"Instant e-mail notifications of answers to questions I'd like to have Instant notifications by email of answers to my questions. Can this be implemented?",
"Too many requests? I went to stackexchange.com and clicked on SO. After a few minutes I got a message saying \"We have detected too many requests from this IP. If this is an error contact us.\" That was the second SE page I tried to visit. Second only to SE.com I moved to another machine and it's working now. The first machine usually works, I don't know if a got assigned a blacklisted IP or what. Anyone know what's going on? EDIT: I would really rather not post my IP on the web, but if a diamond or dev asks I'll email it. EDIT 2: I looked at badp's dupe suggestion and can verify that I have no scripts frequently calling SO.",
"I'm using the following command to embed images in my LaTeX document (which is then rendered as PDF) \\newcommand{\\img}[4]{ \\begin{figure}[!hbt] \\centering \\vspace{1ex} \\includegraphics[width=#2]{images/#1} \\caption[#4]{\\label{img.#1} #3} \\vspace{1ex} \\end{figure} } When creating a href to an image, the viewer jumps to the image caption instead of the top of the image. How do I change my \\img command so it still puts the caption below the image but links to it jump to the image itself?",
"How to show that $\\lim \\frac{1}{n} \\sum_{i=1}^n \\frac{1}{i}=0 $? Show that $$\\lim \\frac{1}{n} \\sum_{i=1}^n \\frac{1}{i} =0 $$ I've proved that this sequence converges (it is bounded and decreasing). NOW, I need to find a sequence that is bigger than this one and goes to zero. Maybe something using geometric serie of 1/2 Thanks in advance!",
"FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXX) I've a object called myobject__c. This object is private in OWD Setting. Now when admin create a new record of this object then I want to share this record with a user(community user). For this I've written a code in trigger to create a sharing record of this object (myobject__Share). But I am getting a problem of :- FIELD_INTEGRITY_EXCEPTION: field integrity exception: unknown (invalid user or group: 005XXXXXXXXXXXXX). how can I solve this problem and second doubt is can we create share record for community user or not.",
"How to prove that this set is closed? Suppose $Y$ be an ordered set in the order topology. Let $f, g: X \\to Y$ be continuous. How to show that the set $\\{x| f(x) \\leq g(x)\\}$ is closed? This is a excercise from munkres. Maybe trying to show that the set $f(\\{x| f(x) > g(x)\\})$ is open is suffice. But I could not figure out the connection between this set and the continuity of the two functions.Could you give a hint? Thanks.",
"Why are the longer edges being beveled more? I'll preface this by saying I'm very new to Blender - I'm trying to put a bevel on an edge, looks something like this: As you can see, the vertical side is much longer than the horizontal side. When I apply to bevel to the edge there, the bevel stretches proportionally - so there's 'more' bevel on the longer side. I want to bevel without any 'ratio' like that - just a 45-degree bevel, if that makes any sense. Do I have to put in a loop cut to make the side lengths equal? I tried using a sub-surf modifier, but it applies on a bunch of nearby edges, when I just want to round this one corner.",
"How do the review limits work? I got the brand new Custodian badge today for reviewing posts. Inspired by that, I reviewed some more suggested edits. Now I ran into a limit: You have no more suggested edit votes today; come back in x hours. How is that limit calculated? I made 61 reviews today which seems to be some calculated limit. I searched for an answer on meta but found nothing helpful.",
"Why do my shortcut icons get broken on Windows 7? I have a strange problem. My icons seem to disappear randomly on my Windows 7. They were there a while back, now they ain't. It happens often and quite randomly. Anyone know a fix?",
"Cleaning up factor levels (collapsing multiple levels/labels)",
"I am reading Velleman's \"How to Prove it\", and in one example he proves $\\neg \\exists x P(x) \\implies \\forall x \\neg P(x)$ in the following way: Suppose $\\neg \\exists x P(x)$. Let x be arbitrary. Suppose $P(x)$. Since we have a specific $x$ for which P(x) is true, it follows that $\\exists x P(x)$, which is a contradiction. Therefore $\\neg P(x)$. Since $x$ was arbitrary, we can conclude that $\\forall x \\neg P(x)$, so $\\neg \\exists x P(x) \\implies \\forall x \\neg P(x)$ What makes me confused is the line in bold text, that is \"Suppose $P(x)$\". The reason is that he writes that he is doing proof by contradiction, but $P(x) \\not\\iff \\neg\\forall x \\neg P(x)$. He is not treating all possible cases where $\\forall x \\neg P(x)$ is false by assuming $P(x)$, does he? So how can this be a valid proof by contradiction? Edit: I deleted my first example since it was clearly not representative for the problem. Edit 2: So the thing that I am opposing I guess is that $\\neg \\forall x \\neg P(x)$ is not $P(x)$. And from what I have undestood, a proof by contradiction should use the negation of the consequent which I do not think that Velleman does.",
"When, if ever, should voting override answer acceptance for answer sorting?",
"I am using Google Chrome. I re-installed it today as it was crashing when I start it. I guess may be that this was due to any of my Extensions or Google Update. I disabled my extensions but it was still crashing. Now I installed an old version of chrome from . However, Chrome automaticallyuppdates itself (although Windows asks me before installing and I don't grant it permissions, its still annoying to get Google update asking me permission after a couple of minutes. I saw the question at however, it doesn't seem to hlp me. i disabled the service and I stopped it as well, but the problem still persists. I also tried to look into the registry according to the following link: but the \"Policies\" section of my registry doesn't contain any folder called \"Google\". I use Windows 7 - 64 bit Home Premium Service pack 1. Could anybody help? Thanks a ton!",
"How do you clone an Array of Objects in Javascript?",
"I am having trouble loading csv files into layers using QgsVectorLayer(). I know this looks like a repeat, but I have carefully read and but still cannot get it work. An example of my data file, test.csv: Index,y,x 0,37.7646618,-122.4960858 1,37.777494,-122.416311 2,37.717707,-122.3997056 3,37.732284,-122.498118 4,37.749998,-122.392333 My code: import os import urllib import pathlib from qgis.core import QgsVectorLayer local_path = 'C:\\dev\\FCMS_conflation\\data\\TMC_nodes.csv' node_layer = 'test' abspath = os.path.abspath(local_path) params = {'delimiter': ',', 'decimalPoint': '.', 'xField': longitude, 'yField': latitude} uri = \"%s?%s\" %(pathlib.Path(abspath).as_uri(), urllib.unquote(urllib.urlencode(params))) layer = QgsVectorLayer(uri, node_layer, \"delimitedtext\") The formatted URI looks like: [] uri >>> 'file:///C:/dev/FCMS_conflation/data/TMC_nodes.csv?decimalPoint=.&delimiter=,&xField=longitude&yField=latitude' I have tried many variations of the parameters, including the crs and type. But no matter what I try, I cannot create a valid layer. [] layer.isValid() >>> False I have verified that I can add the file using the QGIS gui. I even tried using the uri provided by layer.metadata from within the Python plugin. I am using QGIS 2.10.1 on Windows 7 64-bit machine."
] |
medi_sts_stackexchange_dupe
|
Adjective to describe someone hiding knowledge
|
What do you call someone who has extensive knowledge but won't share it?
|
[
"Where Is Shadeless Material Option For Blender 2.8? just trying to use shadeless lighting for a material, but cant find where it is in 2.8 This is how it looked in the older versions: Any help is appreciated, thank you!",
"Account \"last activity time\" is not always updated It would appear that the account's \"Last activity time\" is not updated for every hit. I've been active on SO all morning, and in the last five minutes have voted on some posts as well as posted an answer. However, says: \"Last activity: 2 hours ago from <IP address>\" Is there a certain amount of time that needs to elapse between hits before the activity time is updated again? This issue could result in Enthusiast badges not being awarded when they should.",
"Where are the Stack Exchange data dumps?",
"I can't connect to a friend's Minecraft server, but none of the usual culprits seem to be the problem",
"Which creatures in Tolkien's literature can be female?",
"Where should the apostrophe go on a possessive abbreviation? When expanding an abbreviation in parentheses, sometimes the thing that was abbreviate was used in a possessive context. Consider the following example: If the Giant Ostrich Bomb's (GOB) fuse is too short, you may be too close when it goes off and you may get kicked in the face. Is the above correct, or should it be rewritten this way instead: If the Giant Ostrich Bomb (GOB)'s fuse is too short, you may be too close when it goes off and you may get kicked in the face. If this is a matter of style, do any of the popular style manuals have a recommendation?",
"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?",
"See all shared items in Google Drive In Dropbox there is a place you can see all the shared items in your account (i.e., all the items you have granted others access to). Is there a similar feature in Google Drive? I'm not only trying to find items that are shared with other \"named people\", but also documents that are shared on a \"anyone with link can view / edit\" or \"public on the internet\" basis. Franck's seemed to work back in 2013, but Google Drive's interface has changed quite a bit since, and I'm struggling to be able to perform the same task with the new interface. I wonder if anyone knows how to do it in the new interface.",
"Problem. Use Tutte's 1-factor theorem to prove that every 3-regular graph with no bridges has a 1-factor. I honestly have no idea how to approach this problem. I have drawn a couple of graphs to gain some insight to no avail. Any hints or tips will be greatly appreciated.",
"Clean way of building simple taxonomy browser of arbitrary depth",
"Kept back upgrade of fwupd What's wrong now with fwupd? It was OK since May 1st, 2020 on newly installed Ubuntu 20.04 The following packages have been kept back: fwupd 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.",
"Using v2.73, cycles and a very simple scene: an array of cubes, no big deal. If I set the shader's material to transparent, the cubes in the foreground do become transparent but those far away in the back do not disappear completely and this strange dark things appear (visible in rendered mode and in final renders) I've played with the clipping distance on the viewport and camera, but I can't figure out how to make those ghosts go away...",
"better Curve/Text to Mesh generation?",
"Syntax error while defining an array as a property of a class",
"Rename all the files within a folder with prefix “Unix_” i.e. suppose a folder has two files a.txt and b.pdf than they both should be renamed from a single command to Unix_a.txt and Unix_b.pdf",
"I have a complicated integral to solve. I tried to split ($101 x$) and proceed but I am getting a pretty nasty answer while evaluating using parts. are there any simpler methods to evaluate this integral? $$ \\int\\!\\sin (101x)\\cdot\\sin^{99}(x)\\, dx $$",
"Let $\\mathbf{Y}$ be a random vector. Are $k$th moments of $\\mathbf{Y}$ considered? I am self-learning on linear model theory right now, and one thing I find surprising is that although $\\mathbb{E}[\\mathbf{Y}]$ is defined for a random vector $\\mathbf{Y} = \\begin{bmatrix} y_1 \\\\ y_2 \\\\ \\vdots \\\\ y_n\\end{bmatrix}$, there is no mention of further moments besides the covariance matrix. Google searching hasn't turned up much. Are $k$th (raw) moments of $\\mathbf{Y}$ considered, or is there a different idea I don't know about? I am learning from the text (the TOC starts in p. 17 of the linked file). By \"considered,\" what I mean is is there such a thing as $\\mathbb{E}\\left[\\mathbf{Y}^k\\right]$, and if so, how would such a concept be defined? The book I have only covers the first raw moment, and I find it a bit strange that there is no mention of how to define $\\mathbb{E}\\left[\\mathbf{Y}^k\\right]$ given my experience in univariate probability, nor do I have the expertise to define it. Furthermore, if $\\mathbb{E}\\left[\\mathbf{Y}^k\\right]$ isn't defined, is there perhaps a related concept that I don't know about that is used instead?",
"I have several files with the same base filename. I'd like to remove all but one foo.org #keep foo.tex #delete foo.fls #delete foo.bib #delete etc If I didn't need to keep one, I know I could use rm foo.*. demonstrates ^ to negate a match. Through trial and error, I was able to find that rm foo.*[^org] does what I need, but I don't really understand the syntax. Also, while not a limitation in my use case, I think this pattern also ignores foo.o and foo.or. How does this pattern work, and what would a glob that ignores only foo.org look like?",
"The most efficient way to implement an integer based power function pow(int, int) What is the most efficient way given to raise an integer to the power of another integer in C? // 2^3 pow(2,3) == 8 // 5^5 pow(5,5) == 3125",
"How do I read image files directly from a zip without extracting to disk?"
] |
medi_sts_stackexchange_dupe
|
Optimize the code to run faster (with MatrixPower and Partition)
|
Rewrite code to make it faster
|
[
"I've got a dashboard that shows both active and unactivated parts of an app (users opt in to a service). Is there any standard for the best way to show an element/section is unactivated? Any way to encourage activation? I'm sure there are numerous examples out there of apps that have \"can't use this till you pay\" section, but I can't seem to find anything that would illuminate a standard practice here. Thanks! edit: I'm picking this up from someone else's design. Here's my starting point:",
"Suppose that an entire function $f(z)$ satisfies $\\left|f(z)\\right|\\leq k\\left|z\\right|^n$ for sufficiently large $\\left|z\\right|$, where $n\\in\\mathbb{Z^+}$ and $k>0$ is constant. Show that $f$ is a polynomial of degree at most $n$.",
"I wanted to align a set of equations to left. I found on the Internet that you can do it easily with align* environment. I found it here: So I did it: \\begin{align*} f(b)-f(a)=&f((b_1,b_2,\\dots,b_k))-f((a_1,a_2,\\dots,a_k))=\\ &=\\sum_{i=1}^{k}[f((a_1,\\dots,a_{i-1},b_i,\\dots, b_k))-f((a_1,\\dots,a_i,b_{i+1},\\dots, b_k)) \\end{align*} Unfortunately, I got bunch of red errors saying that there are missing $s. Why? Doesn't that align* environment provide a math environment already?",
"Is there a quasistatic process that is not reversible? I have seen several questions and good answers on the link between reversible and quasistatic processes, such as or . However, these questions only adress one side of the problem : a reversible process is necessarily quasistatic. I am interested in the other side of the equivalence : is there a process that is quasistatic, yet not reversible ? It looks to me that an irreversible process cannot be made perfectly quasistatic. The article about quasistatic processes takes as an example the very slow compression of a gas with friction. As the compression occurs very slowly, the transformation is quasistatic, and the friction makes it irreversible. I am not convinced by this example : if you press on the piston with a vanishingly small force you will have to reach the threshold of the Coulomb law for solid friction before moving the piston anyway. It makes the process non-quasi-static, however small the Coulomb threshold might be. Another example I've heard of is the reaction between a strong acid and a strong base. It is always an irreversible process, and you could make it quasistatic by adding very small drops of base into acid at a time. But by trying to do that, you would inevitably reach a limit to the size of the drop imposed by surface tension. Even if \"reversible\" and \"quasistatic\" mean very different things, is it true to consider that in practice, a reversible process and a quasistatic process is essentially the same thing ?",
"I am trying to make a histogram with the fitted curve plotted on it. Here's the mwe: \\documentclass[a4paper]{scrartcl} \\usepackage{tikz} \\usepackage{pgfplots,pgfplotstable} \\usepackage{filecontents} \\pgfplotsset{compat=1.10} \\usepackage[active,tightpage]{preview} \\setlength\\PreviewBorder{2pt} \\newcommand{\\plots}{0.611201} \\newcommand{\\plotm}{2.19882} \\begin{filecontents}{data.dat} 2 0.0629921259843 3 0.0236220472441 4 0.0314960629921 5 0.125984251969 6 0.0629921259843 7 0.102362204724 8 0.110236220472 9 0.0551181102362 10 0.0629921259843 11 0.0314960629921 12 0.0236220472441 13 0.0314960629921 14 0.0629921259843 15 0.0551181102362 16 0.0393700787402 17 0.0472440944882 18 0.00787401574803 19 0.0393700787402 24 0.00787401574803 27 0.00787401574803 33 0.00787401574803 \\end{filecontents} \\begin{document} \\begin{preview} \\begin{tikzpicture} \\begin{axis}[ yticklabel style={/pgf/number format/fixed}, scaled y ticks = false, minor y tick num={1}, xtick pos=left, legend cell align = left, legend style={draw=none}, xlabel = {group size}, ylabel = {ratio} ] \\addplot[blue,ybar,fill, fill opacity=0.3, bar width = 0.8,] table {data.dat}; \\addplot[red, line width = 1,domain=1:40,samples=100] {1/(x*sqrt(2*pi)*\\plots)*exp(-(ln(x)-\\plotm)^2/(2*\\plots^2))}; \\legend{empirical,lognormal fit} \\end{axis} \\end{tikzpicture} \\end{preview} \\end{document} As you can see, the legend is not really good. How can I change the legend so it looks more like this?",
"What is the volatile keyword useful for? At work today, I came across the volatile keyword in Java. Not being very familiar with it, I found . Given the detail in which that article explains the keyword in question, do you ever use it or could you ever see a case in which you could use this keyword in the correct manner?",
"\"There Is\"/\"There are\" depends on plurality of the first list element or not? It seems I put a Bounty assigned by outside party, two lengthy, reference-citing answers, one \"-1\" (awarded the bounty), one \"-2\", two others scored \"0\" and \"-2\" respectively, the answers suggesting one or the other is correct, 73 comments and no consensus so far - and me, as the asker, lost without a clue what to think of the answers anymore - this is no longer \"Learners' Level\" question, so I thought I'd bring it here and hear what the experts have to say. Original question: Plurality of verb depending on plurality of list elements An edit was suggested to my sentence. There was were an orange, some grapes, two apples and a small pile of cherries on the plate. In my native language plurality of the verb always follows plurality of the first element on the list. There were an orange,... sounds awkward to me, no matter what follows up. My simple solution was reordering: There were some grapes, an orange, two apples and a small pile of cherries on the plate. But that's not the first time I faced this situation and I'd like to know what the rules of grammar say about that - was my editor overzealous or am I trying to copy rules of my language that don't apply in English? Someone linked a for negatives, where the situation is more clear-cut (\"There is no...\"). Same applies to connection with \"or\" apparently, per accepted answer there. Still, nothing for \"and\". It seems there is a consensus that in that if the verb goes after the list, it will be plural. an orange, some grapes, two apples and a small pile of cherries were on the plate. There doesn't seem to be clear consensus for: On the plate { was | were } an orange, some grapes, two apples and a small pile of cherries Adding more to the confusion is the abbreviated form: \"There's\" One last note. In North America, at least, there is a widespread use of using a singular form like \"there is\" and \"there was\", without regard for the subject item or items, and this \"there is\" is often shortened to \"there's\": There's three apples on the table! Could you please clarify this mess?",
"Improve the user self-deletion process The current process for self-deletion of a user account has several problematic aspects, both in the process itself and in the end result. Some of these issues are: The process requires manual intervention of a mod or SE employee, leading to delays and sometimes mistakes. It is more complicated than it has to be, which can lead to the impression that SE is imposing some rather arbitrary-looking restrictions and steps one has to take. This can give the impression that the user isn't really in control of his private data at SE. It is irreversible once the account is deleted, although an account can be partially reconstructed with a lot of manual effort from an SE developer. There is no real protection against mod/SE employee errors, if an account is deleted in error, there is no easy way to undo the damage. Because it is manual, it consumes the time of SE employees that have to deal with it (unless is used), removing useful voting information and annoying users that lose reputation that way. I'm proposing an alternative way of handling self-deletion that would be automated, and also reversible to some extent, while still being pretty much a hard-delete (and not a soft-delete that would be problematic with respect to user privacy). The process would work roughly like this: The user clicks a \"delete profile\" button in his profile. There should be a way to indicate if you want to delete all profiles on all SE sites, only on this site and a way to select multiple sites from a list where the profile should be deleted. It is verified that the user has true access to the account in some way (confirmation mail?) and not just someone that found the unlocked computer of the user. A countdown until deletion is started (I'd go with 48h, but that could be different). The timer shouldn't be too long, but long enough to correct mistakes and leave users a bit of time to reconsider. Alternative options would be to enable users to override the countdown if they really want to nuke their account immediately. Another option would be to soft-delete the account immediately, and make the countdown only for hard-deletion of the user data. Upon deletion, the posts of the user and his votes are transferred to a newly created blank account, the original account itself is hard-deleted with all the remaining data it contains. The dummy account that holds the user's data should be flagged in some way as deleted, so that the profile links will be disabled, the profile won't be accessible and it won't appear in any user lists. The user receives a private code that can be used to claim ownership of the account. Other ways are not possible as all private information is removed about the account. This allows for an automatic way of reclaiming most of the important parts of a deleted account. The ability to restore a deleted account might have to be somewhat restricted to avoid misusing it to get rid of the account history. It is more meant as an additional safeguard so that account reconstruction is more easily possible in rare cases. Such additional safeguards might be necessary as the deletion itself would be automatic and without oversight from SE or moderators. I personally think that the information which posts and votes were connected to a (now anonymized) account is not sensitive enough that it would have to be removed on account deletion. My idea is that this would be close enough to a hard-delete that it satisfies any privacy concerns, but still allow reassociation of posts with a recovered account. The partial reversibility would alleviate concerns about removing the manual oversight by mods and SE employees over the account deletion process.",
"I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.",
"An annulus in $\\mathbb R^2$ is path connected Let $A = \\{(x,y) \\in\\mathbb{R}^2: a \\leq (x-c)^2+(y-d)^2 \\leq b\\}$ for given $a,b,c, d$ real numbers. I want to show that $A$ is path-connected. How can I do that? I know that every open subset of $\\mathbb R^2$ that is connected is path connected. But this is obviously not open so I cannot use that. Then I thought of multiple cases. If we take arbitrary $x$ and $y$ and draw the line between them and they do not intersect with the circle centred at $(c,d)$ then we can obviously draw a line between the points which is still in the set, so we can then define the function. I am stuck on the other case.",
"I am using an APEX batch to process and insert large amounts of data. Essentially I would like it to process every row to catch any errors with the data and then rollback the entire batch if a single error is found. Is there any simple way to do this? I have tried using a Save Point, but because they are not serialisable, it doesn't work across the entire batch. Just to clarify, by error I mean an error that I have defined, error with validation, etc. Not an Exception thrown by the system.",
"Prevent Windows 10 installer from using the preinstalled serial key without disabling UEFI",
"Is there a number whose absolute value is negative?",
"Determine when $\\sum_1^\\infty \\frac{(2n)!x^n}{n(n!)^2}$ converges. By ratio test, when $|x|<1/4$, the sum converges, $|x|>1/4$ diverges. But I'm not sure about $|x|=1/4$. By Stirling's approximation $\\frac{(2n)!(1/4)^n}{n(n!)^2}\\sim\\frac{4^n}{n{4^n}\\sqrt{ \\pi n}}\\sim\\frac{1}{\\sqrt{\\pi}n^{3/2}}$, so when $|x|=1/4$, the sum converges. But I haven't learned Stirling's approximation yet, so how to prove that when $|x|=1/4,$ the sum converges, without using it?",
"How should I address a potential FERPA violation by a professor? In the United States, federal law prohibits professors from releasing any student's grades to any party other than the student and any party whom the student authorizes to receive the grades. One of my professors appears to be violating this law by uploading each student's lab grades in one file, which is accessible to anyone who is enrolled in the class. Here is my proposed plan of action: Ask the professor - in private - to post the grades using the online management system the professor already uses for other things. If the professor doesn't fix this privacy violation, inform the professor that the method by which he/she post grades is a violation of federal law. As a last resort, contact the department dean.",
"How long does the Truffle take to move in after building the mushroom biome?",
"pdfTeX error (font expansion): auto expansion is only possible with scalable",
"How is it possible that Dumbledore worked on the Philosopher's stone with Flamel? I apologize in advance if this is a common question, I searched for \"flamel\" here first and couldn't find the answer. If Nicolas Flamel is several hundreds of years old, how did Dumbledore work on the Philosopher's Stone with him? Did he use it a bit himself? To clarify, Flamel would've died without the PS, at a reasonable age -- so it can be assumed he made it about ~500 years ago. But I seem to recall the book saying that Dumbledore helped him make it. So either Dumbledore used the stone as well (unlikely it seems) or Flamel had already artificially extended his life, or Dumbledore is somehow hundreds of years old. Am I remembering this incorrectly? Thank you!",
"On my Windows 7 system I installed via from Fonts.com: The font does not appear in C:\\Windows\\Fonts. However, it shows up in certain desktop applications, for example as: Sabon Next Com Display My intention was to use the font in a LaTeX document test.tex: \\documentclass{article} \\usepackage{polyglossia} \\setromanfont{Sabon Next Com Display} \\begin{document} Hello World! \\end{document} Unfortunately, xelatex test.tex fails: […] Couldn't find `Sabon Next Com Displ.cfg' miktex-maketfm: No creation rule for font \"Sabon Next Com Display\". !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: \"font-not-found\" ! ! The font \"Sabon Next Com Display\" cannot be found. ! ! See the fontspec documentation for further information. ! ! For immediate help type H <return>. !............................................... l.4 \\setromanfont{Sabon Next Com Display} % Sabon Next Com Display, SabonNex... ? Can XeLaTeX even work with fonts installed via SkyFonts? If not, what could be a workaround?",
"A better serial voting trap"
] |
medi_sts_stackexchange_dupe
|
How to install Ubuntu to use only part of a disk
|
How to use manual partitioning during installation?
|
[
"Can I use lens brand X on interchangeable lens camera brand Y?",
"Variable amount recurring billing Hi i'm looking for a payment gateway that can do recurring billing that changes month to month. Fogbugz do this, they charge based on how many active users there were that month. All of the APIs that i've found only let you set a fixed amount and it's difficult/impossible to vary the subscription amount month to month. Has anyone come across any services that do this?",
"Is it possible to use the fact that $\\sum_{n=1}^\\infty \\frac{1}{n^4} = \\frac{\\pi^4}{90}$ to compute $\\sum_{n=1}^\\infty \\frac{(-1)^n}{n^4}$?",
"How Can I Butcher Animals en Masse? So, my friend just implemented a bunch of new mods into his SMP server, which meant a host of new commands to play with. I thought I'd give the /mobspawn command a few goes, and see what I could achieve. So I headed off to the server's jail (I forget why this particular location compelled me), and gave it a few spins. I seem to have made a bit of an error in judgement. What can I do to get rid of this mess? Is there a command or some other technique I can use to clear out any mobs in my immediate vicinity?",
"Has anyone used PostgreSQL with PostGIS successfully? I am a semi-experienced ArcGIS user and want to build out a database and connect it to ArcCatalog. I've scoured the internet for resources but nobody has really given a good walkthrough.",
"Functions vs. patterns",
"I'd like to be able to tail the output of a server log file that has messages like: INFO SEVERE etc, and if it's SEVERE, show the line in red; if it's INFO, in green. What kind of alias can I setup for a tail command that would help me do this?",
"No connection could be made because the target machine actively refused it (PHP / WAMP)",
"Word for \"things which exist\"",
"How to Create a Grid Inside a Polygon that is Oriented with the Longest Side? I have been using a process called \"Create Polygon Graticule\" to create a grid within a polygon with assigned row and column attributes. It is a SAGA tool which I have been running in QGIS. It generates a grid based on the extent of the input polygon with the cell running N to S and E to W. It would be better for my analysis if the direction of the grid was parallel to the longest edge of the polygon. For reference I have attached images of the current automated output and an output that I manually altered to align the grid with the polygon. The grids originally covered the entire extent of the polygon but have been clipped to show only the cell parts that are inside. Above image is what the tool out puts by default. This is an image of a grid that was edited manually to fit the necessary parameters. My question is, is there a way to produce grids that are aligned such as the one in the second image in an automated fashion? I will need to generate grids for a few thousand polygons.",
"Can I change the color of the last selected face?",
"How to recognise/thank great cabin crew? Those of us who fly a lot will know that there is a bit of a variety in cabin crew. Some (sadly more common on certain airlines) do the very bare minimum to ensure a safe flight, but nothing more. Many (especially on airlines noted for good customer service) provide a good service. Every so often though, you come across a flight crew who go the extra mile. These are the ones always friendly, always helpful, always thinking ahead and solving the problem before it has happened. One moment they're serving you your drink, the next reassuring a little old lady about the flight, the next magicing a colouring book to turn an impending toddler crisis into a happy small child, then answering queries on arrivals and immigration for a first time travaller, then back to offer you a top up of what you're drinking (which they've remembered exactly). Not very often found, but very much appreciated when you happen across them on your travels! In the case when you do luck out and find yourself on a flight with a great cabin crew (who go well beyond what you normally experience as \"good\" on that airline/kind of airline), is there a standard/common way to recognise them at the end of the flight? Not just to thank them then and there, but also to let the airline know that this person/group are what the rest of their staff should be aspiring to. Is there any standard way, or does it vary entirely by carrier?",
"How to create a GUID/UUID in Python How do I create a GUID in Python that is platform independent? I hear there is a method using ActivePython on Windows but it's Windows only because it uses COM. Is there a method using plain Python?",
"Adding unknown (at design time) properties to an ExpandoObject",
"Can I pass a System.Net.MailMessage to a WCF service? I'd like to setup a WCF service to send emails. The System.Net.MailMessage doesn't seem to be serializable, and cannot be passed in a [DataContract] The error I receive is Type 'System.Net.Mail.MailAddress' cannot be serialized. Consider marking it with the DataContractAttribute Any suggestions?",
"Generate a comma-separated list of cell contents, excluding blanks To concatenate a certain four cells, I'd use: =CONCATENATE(A2,\",\",C2\",\",D2,\",\",F2) This would make it so that... A2 = \"Matthew\" C2 = \"Mark\" D2 = \"Luke\" F2 = \"John\" would result in Matthew,Mark,Luke,John. But we run into problems with something like... A2 = \"Jesus\" C2 = \"\" D2 = \"Mary\" F2 = \"Joseph\" which would result in Jesus,,Mary,Joseph. Here, the extra comma is undesired. Is there a way to gracefully handle this so that all non-blank cells are included in the comma-separated list, while avoiding the addition of unnecessary commas when some cells are blank? Certainly, this can be done with a fair number of nested IFs, but I really want to avoid that if possible. Can it be done with native Excel functions, or perhaps an array formula? Or would one have to resort to VB Script for something like this?",
"How would I find a minimum weight spanning tree for W?",
"How to increase battery life on Ubuntu 20.04 and what power saving software should I install, if any? I recently installed Ubuntu 20.04 LTS on my Lenovo Ideapad Flex 5 and realized that battery life in Ubuntu is not as good as Windows. The battery drains faster in Ubuntu. I have seen the questions in Ask Ubuntu about this, but I haven't found anything that regards Ubuntu 20.04 LTS. I've done some research and found out that the battery drain is because most vendors optimize their drivers for Windows and with Linux, you have to hope that the kernel drivers do the job (which they usually do). After that, I researched how to increase my battery life and almost all sources I found recommended installing tlp or powertop or something similar to these. But I have a few questions. Does tlp, powertop, and similar software actually affect battery life? If the answer to 1 is yes (in a positive way), what would you recommend I install (such as whether I should install tlp or powertop by itself or in a combination)? Are there any other ways to increase battery life in Ubuntu 20.04? Note: I am a beginner to Linux and Linux distros and do not want to mess with anything advanced that may negatively affect the system. I may not be able to immediately know how to tweak any of the aforementioned software, so please suggest any tweaks if they are needed to get results. And if it helps to know, here are my system specs: OS: Ubuntu 20.04.1 LTS x86_64 Host: 81X2 IdeaPad Flex 5 14ARE05 Kernel: 5.7.17-050717-generic CPU: AMD Ryzen 7 4700U with Radeon Graphics (8) @ 2.000GHz GPU: AMD ATI 04:00.0 Renoir (These were given by neofetch) P.S: If you need anything else, just ask. Thanks in advance!",
"Unable to preserve ownership in a copy but able with a move?",
"If $f$ is measurable and $fg$ is in $L^1$ for all $g \\in L^q$, must $f \\in L^p$? 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
|
How to choose company logo resolution?
|
Industry standard file format deliverables for logos?
|
[
"About free quarks and confinement I simply know that a single free quark does not exist. What is the reason that we can not get a free quark? If we can't get a free quark then what is single-top-quark?",
"Intuition for uniform continuity of a function on $\\mathbb{R}$",
"Modify all bash commands through a program before executing them I am trying to create a program which require such feature. The flow will be like: User enter a bash command User hit the enter My script will get command, current directory,.. as variables. Program can optionally modify the command. Modified command will get executed normally. Is there any way to do this? Note: I need this for my personal use, I am not going to distribute this program.",
"Forgotten PostgreSQL Windows password",
"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?",
"\"Which\" vs. \"what\" — what's the difference and when should you use one or the other? Most of the time one or the other feels better, but every so often, \"which\" vs. \"what\" trips me up. So, what's the exact difference and when should you use one or the other?",
"Abstract class with all concrete methods",
"Could a constant function be considered increasing? Given the definition of an increasing function as a function $f:E\\to\\mathbb{R}$, where $E$ is nonempty such that $x_1,x_2\\in E$ and $x_1<x_2$ imply $f(x_1)\\leq f(x_2)$, then couldn't, for example, $f(x)=-1$ considered increasing? Since the inequality is not a strict inequality.",
"How do I get the local machine name?",
"Apt/Synaptic needs to reinstall package but can't find the archive for it Running Synaptic I get the following error message: E: The package hl1440lpr needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report. Upon accepting the message, Synaptic quits.",
"libpng problems for QGIS I'm using ubuntu 18.04 and if I download QGIS 2.18 and I try to run it, I get this: libpng warning: Application jmp_buf size changed Segmentation fault (core dumped) If I try with QGIS 3.2, the error is: libpng warning: Application was compiled with png.h from libpng-1.6.34 libpng warning: Application is running with png.c from libpng-1.2.56 libpng error: Incompatible libpng version in application and library So it's clear that the problem is with libpng. I purged libpng-dev and reinstall again but nothing changed. I tried to purge libpng16-16 but I get: sudo apt purge libpng16-16 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libgdk-pixbuf2.0-0 : Depends: libpng16-16 (>= 1.6.2-1) but it is not going to be installed Recommends: libgdk-pixbuf2.0-bin libgtk-3-0 : Depends: libcairo-gobject2 (>= 1.10.0) but it is not going to be installed Depends: libcairo2 (>= 1.14.0) but it is not going to be installed Depends: libfontconfig1 (>= 2.12) but it is not going to be installed Depends: libpango-1.0-0 (>= 1.40.5) but it is not going to be installed Depends: libpangocairo-1.0-0 (>= 1.40.5) but it is not going to be installed Depends: libpangoft2-1.0-0 (>= 1.40.5) but it is not going to be installed Depends: adwaita-icon-theme Recommends: libgtk-3-bin E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. and then: ~$ sudo apt install libgdk-pixbuf2.0-bin libgtk-3-bin Reading package lists... Done Building dependency tree Reading state information... Done libgdk-pixbuf2.0-bin is already the newest version (2.36.11-2). libgtk-3-bin is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ~$ sudo apt install libgtk-3-0 libgdk-pixbuf2.0-0 Reading package lists... Done Building dependency tree Reading state information... Done libgdk-pixbuf2.0-0 is already the newest version (2.36.11-2). libgtk-3-0 is already the newest version (3.22.30-1ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. At this point I'm afraid of breaking something if I continue trying things, so I come here for advice before. I deleted and reinstalled ubuntu. I installed first thing qgis and it was working. Afterwards I compiled gdal, from source to have it from python as stand alone. It might be this, but I had done this previously without any problems.",
"How to disk copy with unreadable sectors? I want to clone a whole disk bytewise, something like dd if=/dev/$SRC of=/dev/$DST bs=65536 count=$count There are better tools for the job, which understand the file system (Windows) and work faster (I don't care), but they fail because of unreadable sectors on the old source disk. There's actually a single invalid block I have to skip. So I thought about using dd multiple times like dd if=/dev/$SRC of=/dev/$DST bs=65536 count=... dd if=/dev/zero of=/dev/$DST bs=65536 count=... skip=... seek=... dd if=/dev/$SRC of=/dev/$DST bs=65536 count=... skip=... seek=... with replacing the broken sector data by zeros. Is this a valid approach? I found this which confuses me.",
"Show that $\\int_0^\\pi f(\\sin x)\\,\\mathrm{d}x = 2\\int_0^{\\pi/2}f(\\sin x) \\, \\mathrm{d}x$",
"How to prevent applications from discovering my phone as being Rooted I have to install an application that has discovered my device to be rooted. So this is a two part question. How did it discover in the first place that my phone has been rooted How to prevent the application from discovering my phone as being rooted",
"Files disappearing on linux server I've got 4 specific files that seem to keep disappearing from a user's home directory. As far as we know, there are no cronjobs or other automated tasks that would be removing them. I've setup auditd on them but the logs aren't really showing anything of interest. I can see our backup utility accessing them every night until the point they aren't there anymore, but nothing else. Is there anything that would be causing those files to be removed that would get around auditd? The files in question are these: /home/username/.bashrc /home/username/.bash_profile as well as a couple of files in that user's .ssh directory. Copies of these files placed into a subfolder called \"keepers\" get deleted at the same time as well. Changing the permissions on them to 000 and having them owned by root hasn't helped. I've currently got inotifywait setup to log create,delete,move on that subfolder, so hopefully that will turn up something, although it doesn't log much aside from when it happened, not what caused it.",
"Google Chrome will take up my memory to the point where it causes my computer to freeze to a near halt. What can I do to prevent this? It gets so horrible that I can not even switch to TTY1 to force a reboot. I have to hard reset, and I lose work. Ideally, I would like to be able to use the chrome browser on Ubuntu without having to keep reminding myself to close tabs. Are there any extensions for Chrome, or tools for Ubuntu that can help prevent me going past the point where Ubuntu eats up all the RAM and becomes incapacitated?",
"How to recover a deleted file from /data partition? I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software for ext4 on that image? I have a little knowledge about ADB.",
"Does a size large or larger creature killed by Negative Energy Flood rise as a medium sized zombie?",
"How to apply multiple format to a list",
"How to approximate the student-t CDF at a point without the hypergeometric function? Is there a way to closely approximate the CDF of a student-t distribution at a point $x$ without involving the hypergeometric function? For example, by using a series expansion, or expressing the CDF in terms of simpler functions? The t-distribution can $$t = \\frac{X\\sqrt{n}}{Y}$$ where $X$ is normally distributed with mean 0 and variance $\\sigma^2$; $\\frac{Y^2}{\\sigma^2}$ has a chi-squared distribution. Maybe this expression can help simplify the t CDF? I am trying to write an algorithm to compute the student-t CDF for any real number, so using the hypergeometric function will be extremely difficult. I am also trying to avoid integrating the PDF to get the CDF."
] |
medi_sts_stackexchange_dupe
|
Why this python code gives me output "False"?
|
Is floating point math broken?
|
[
"How can I insert a newline in a framebox?",
"Title vanishes when editing a question",
"Review bans should escalate beyond 30 days",
"How to use Whatsapp mobile application on Ubuntu Touch? In my Android I have \"Whatsapp\" application running. But mobile freak I am not, and specially the mobile keyboards. So how can I run my same application, same account from my Ubuntu desktop PC? Follow up: Just to do keyboard routing, i have used . Which allows me to takeover the Android input fields access via web link to type in my PC keyboard, and then it re-route the keys to Mobile. Features: Allows me to copy and paste large texts to Android input fields without using the keyboard of Android but simply using my Desktop PC, via web link http://android.ip.address.goes.here:port/ Allows me to have key submit which is similar to key press of mobile set itself At-least works without having mobile in rooted. Hope it helps you!!",
"Question Tag problem! 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.",
"How to permanently switch Caps Lock and Esc How can I permanently switch the Caps Lock and Esc key functions in Saucy? I can use this command to do it temporarily (until reboot): /usr/bin/setxkbmap -option \"caps:swapescape\" I tried adding that command as a Startup Application, but it doesn't seem to do anything.",
"I want to make the teeth a separate child object from the mouth. I want to know the best way to do this. I have tried going into edit mode with Tab and trying to select all the vertices but that doesn't move the teeth. Is there an easy way to select just that part and make it a separate child mesh to the rest of the mouth?",
"If $\\sum_{n=1}^\\infty \\frac{1}{a_n}$ converges, must $\\sum_{n=1}^\\infty \\frac{n}{a_1 + \\dots + a_n}$ converge? Suppose $\\sum_{n=1}^\\infty \\frac{1}{a_n} = A$ is summable, with $a_n > 0,$ $n = 1,2,3,\\cdots.$ How can we prove that $\\sum_{n=1}^\\infty \\frac{n}{a_1 + \\dots + a_n}$ is also summable? This question came from a problem-solving seminar, but I'm quite stuck without a push in the right direction. I tried a few things, including Cauchy-Schwarz (which says $\\sum_{n=1}^\\infty \\frac{n}{a_1 + \\dots + a_n} < \\sum_{n=1}^\\infty \\frac{A}{n}$) and also the idea of assuming the latter series diverges and attempting to deduce the divergence of the former series from that, using facts such as $\\sum a_n = \\infty \\implies \\sum \\frac{a_n}{a_1 + \\cdots + a_n} = \\infty$. Nothing has worked so far.",
"Importing DWG into QGIS project? I have a lot of DWG files like basemap, and water and wastewater network. How do I import these files into my QGIS project?",
"I have a large set of pictures, and I want to apply predefined settings to each using the optional argument of the \\includegraphics macro from the graphicx package. I would like to define the settings once at the top of the file (like \\def\\settings{width=\\textwidth, angle=90}), and then apply them to all of my images so that I can modify all of the settings from one place. If I run the following code block, it gives me the versions of the error \"Package xkeyval Error: 'width=\\textwidth, angle=90' undefined in families 'Gin'\", which seems to be because it's interpreting my entire group of settings as a single key input. \\documentclass{article} \\usepackage{graphix} \\begin{document} \\def\\settingsA{width=\\textwidth, angle=90} \\def\\settingsB{page=1, scale=.1} \\def\\settingsC{angle=90, scale=.5} \\begin{figure} \\includegraphics[\\settingsA]{filename1.png} \\label{fig:oneofonehundred} \\end{figure} \\begin{figure} \\includegraphics[\\settingsB]{filename2.pdf} \\label{fig:twoofonehundred} \\end{figure} \\begin{figure} \\includegraphics[\\settingsC]{filename3.jpg} \\label{fig:threeofonehundred} \\end{figure} \\end{document} What is the technique to modify this settings string so that it is interpreted correctly? How do I pass an optional argument that is interpreted as a set of arguments instead of one string? Thanks in advance!",
"I'm on a Toshiba Satellite C660_EL trying to install . lspci -v Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01) However, I can't get the driver from there to compile (I've installed build-essentials already). Running make (with or without sudo makes no difference) I get make -C /lib/modules/3.8.0-19-generic/build M=/root/rtl_driver modules make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic' CC [M] /root/rtl_driver/base.o In file included from /root/rtl_driver/base.c:39:0: /root/rtl_driver/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’ make[2]: *** [/root/rtl_driver/base.o] Error 1 make[1]: *** [_module_/root/rtl_driver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic' make: *** [all] Error 2 There is a relevant PPA here: but there's no 13.04 build. Thanks in advance for any help!",
"What's the best way of handling permissions for Apache 2's user www-data in /var/www? Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the Apache 2 user is www-data. We've got two regular users & root. So when messing with files in /var/www, rather than having to... chown -R www-data:www-data ...all the time, what's a good way of handling this? Supplementary question: How hardcore do you then go on permissions? This one has always been a problem in collaborative development environments.",
"Renormalized mass I am reading Schwarz QFT and I reached the mass renormalization part. So he introduces, after renormalization, a physical mass, defined as the pole of the renormalized propagator, and a renormalized mass which can be the physical mass, but can also take other values, depending on the subtraction schemes used. Are these masses, other than the physical one, observable in any way experimentally, or are they just ways to do the math easier (using minimal subtraction instead of on-shell scheme, for example)? Also, in the case of charge renormalization, the explanation was that due to the vacuum polarization, the closer you are to the charge, the more you see of it, so the charge of the particle increases with the momentum you are testing the particle with. However, I am not sure I understand, from a physical point of view, why do you need to renormalize the mass. Is this physical mass (defined as the pole of the renormalized propagator) the same no matter how close you get, or it also changes with energy? And if it changes, what is shielding it at big distances?",
"InDesign CS5 tables: Can I automatically fit rows or columns to the size of content? You know how Excel has the function \"Autofit,\" where you select a whole row or a whole column and it resizes the entire thing to the height or depth of the largest content item? I want to do that in an InDesign table, but with one click. (I know I can drag the column out until the overflow box goes away, but I want to know if there's some automated function I'm overlooking.) Does this automatic function exist anywhere?",
"How to show that there is an element of order $51$ in the multiplicative group $(Z/103Z)^∗.$ I can't use Cauchy's theorem since $51$ is not prime.",
"How to approach proving $f^{-1}(B\\setminus C)=A\\setminus f^{-1}(C)$?",
"I have an org with hundreds of apex classes, all of which have api versions ranging between 30-37. Is there an easy way to bring them all to the latest api version at once without resorting to manual updates?",
"This problem comes from another equation on another question (. I tried to split it in half but I found out that $$\\sum_{k=0}^\\infty \\frac{k}{2^k}$$ can't be divided. Knowing that $$\\sum_{k=0}^\\infty x^k=\\frac{1}{1-x}$$ I wrote that $$\\sum_{k=0}^\\infty \\frac{k}{2^k}=\\sum_{k=0}^\\infty \\left(\\frac{\\sqrt[k] k}{2}\\right)^k=\\frac{1}{1-\\frac{\\sqrt k}{2}}=\\frac{2}{2-\\sqrt[k] k}$$ But that's not what I wanted. Could anyone help me?",
"Proving : $ \\bigl(1+\\frac{1}{n+1}\\bigr)^{n+1} \\gt (1+\\frac{1}{n})^{n} $ How could we prove that this inequality holds $$ \\left(1+\\frac{1}{n+1}\\right)^{n+1} \\gt \\left(1+\\frac{1}{n} \\right)^{n} $$ where $n \\in \\mathbb{N}$, I think we could use the AM-GM inequality for this but not getting how?",
"I have an 3TB external disk and Windows XP 32 bit. It works as a USB 2 disk with its enclosure, but I want to use it as an internal SATA disk. I don't want to use it as a boot disk, only as a data disk. I understand that normally I need GPT (GUID partition table), and then I can't use Windows XP 32 bit anymore. I would prefer to avoid this. But what I did not understand by googling around is: can I partition the disk in 2 parts (so that each part is less than 2TB) with MBR and use it in Windows 32-bit? If yes, which tools do I need?"
] |
medi_sts_stackexchange_dupe
|
\textsubscript undefined in Beamer?
|
How to typeset subscript in usual text mode?
|
[
"Green is the most common circuit-board color because it has become an industry standard. What I'm interested in is How the traditional \"PCB Green\" become a standard in the first place? Were there any interesting historical reasons for the initial choice, or was it just a product of what one particularly successful company was doing that became the de-facto standard?",
"App keeps crashing & rendering error since update to 1.0.68",
"Polynomial degree 3 Equation",
"Symmetric and exterior power of representation Does there exist some simple formulas for the characters $$\\chi_{\\Lambda^{k}V}~~~~\\text{and}~~~\\chi_{\\text{Sym}^{k}V},$$ where $V$ is a representation of some finite group? Thanks.",
"How to find all graph isomorphisms in FindGraphIsomorphism",
"I would like to associate the last installed version of my Mac OS X application with a certain type of file. A little experimentation shows that the info.plist file seems to be read and interpreted by the operating system when launching the application, not when dragging the application bundle to the disk. does not say much on that topic. Is there any way, using a simple .dmg image as installation medium, to make sure the system associates that particular file type with my newly installed app without having to launch it first? I should clarify that I want this to be done automatically during the installation (I don't want my users to have to do it themselves).",
"Who or what was Tom Bombadil?",
"A gold reviewer badge? For your continued efforts in reviewing posts, even though the system sometimes messes up and doesn't let you actually review things and keeps displaying them over and over and over. So also, for your patience in putting up with the glitches in the review panel too! Haha Anyways, a gold reviewer badge: 20000 reviews, over 4000 actioned I just multiplied both numbers by 20. Think those numbers seem challenging? Is anyone up near those numbers or should it be multiplied by 10 instead? I prefer the higher amount because it would be gold and something harder to work for. :) But we also have to consider the longevity of when all these posts are eventually reviewed and it's only new posts being created. Anyways, my stats for those who are interested (I wouldn't get the badge to start because I only have ~2000 actioned): Upvoted 189 Downvoted 11 Edited 926 Commented 127 Voted to Close 44 Flagged 447 Reviewed 21609 As far as the name of the badge, I really like \"The Owl is Watching\" but not sure if that would be too long. Sounds snazzy though. Ideas? Personally, I was on a quest to try and clear out all the posts in a single tab before it started showing me the same things over and over (and over) and then it got frustrating because I wasn't even making progress. Quest denied. :( Lately I've noticed a massive build-up of unreviewed posts. When the review panel was first implemented, there would only ever be maybe 50 unreviewed posts at a time (in a given tab) for my monthly view. Now I log in and there's a thousand or two thousand pending. I think a lot of people quit reviewing after the first badge, so having a gold badge with a high threshold would really improve activity in the review panel and keep people going to improve the community.",
"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?",
"How do I make Windows 10's File Explorer open \"This PC\" by default? I know how to do that on Windows Vista and Windows 7, and I know how to do that on Windows 8 and Windows 8.1, but neither of the ways work with Windows 10; it always defaults into the \"Home\" view. (I am basically reposting for Windows 10.)",
"If an polynomial has a complex root, is it necessary that the conjugate of that root is also a root of the polynomial? I am not sure about this. Please comment on this.",
"How do I know if food left at room temperature is still safe to eat?",
"How do I pull from a Git repository through an HTTP proxy? Note: while the use-case described is about using submodules within a project, the same applies to a normal git clone of a repository over HTTP. I have a project under Git control. I'd like to add a submodule: git submodule add http://github.com/jscruggs/metric_fu.git vendor/plugins/metric_fu But I get ... got 1b0313f016d98e556396c91d08127c59722762d0 got 4c42d44a9221209293e5f3eb7e662a1571b09421 got b0d6414e3ca5c2fb4b95b7712c7edbf7d2becac7 error: Unable to find abc07fcf79aebed56497e3894c6c3c06046f913a under http://github.com/jscruggs/metri... Cannot obtain needed commit abc07fcf79aebed56497e3894c6c3c06046f913a while processing commit ee576543b3a0820cc966cc10cc41e6ffb3415658. fatal: Fetch failed. Clone of 'http://github.com/jscruggs/metric_fu.git' into submodule path 'vendor/plugins/metric_fu' I have my HTTP_PROXY set up: c:\\project> echo %HTTP_PROXY% http://proxy.mycompany:80 I even have a global Git setting for the http proxy: c:\\project> git config --get http.proxy http://proxy.mycompany:80 Has anybody gotten HTTP fetches to consistently work through a proxy? What's really strange is that a few project on GitHub work fine ( for example), but others consistently fail ( for example).",
"Standard purpose of favorites I am wondering if my behavior regarding favorites is typical. More importantly, if it isn't typical, does my behavior conflict with an internal metric designed to reward favorite'd questions? I mark a question as a favorite for a few reasons: A -- I find the question/answer(s) remarkable enough that coming back to them time and time again is of benefit to me. B -- I am waiting to see if a sub-par quality question is going to be revised enough for me to come back and answer it. Either way, I eventually remove my favorite. C -- I have answered a question (of any quality) and am wanting to be notified of any competing answers. Situations B and C are the most common for me and they typically mean I will go back and remove my favorite star later; I don't remove it because the quality of the question degraded, I merely don't want to be notified any longer. Even stranger, I am often favoriting questions that are rather low-quality (reason B) making me wonder if low-quality posts are being rewarded via some invisible metric because I (at least temporarily) have given it what looks like a stamp of approval akin to an up-vote. I suppose the feature being called \"Favorite\" makes me confused because most of the questions I select are not my favorite. Am I accidentally messing with an invisible metric that is drawing attention to posts when that isn't desired behavior?",
"Is there a way to install a newer version than in the repository? Ubuntu installs vagrant 1.4.3 at the moment, but I need at least 1.5",
"How can I draw simple trees in LaTeX? I need to draw a tree, and constantly using dotty and including the PNGs is starting to be a pain. Is there a way to get LaTeX to draw it's own trees that doesn't involve learning an entirely new language like TikZ?",
"interior points and limit points of $\\{(x,y): x^2+2y^2 < 1\\}$ Find out all interior points and limit points of $ A =\\{(x,y): x^2+2y^2 < 1\\}$ I understand this problem graphically, but i'm not quite sure how to prove the answer rigorously using mathematical word. My try : Let k be an element of A, and suppose t is an element of $\\{(x,y):x^2+2y^2 =1\\}$, which makes minimum $||t-k||$. Then $N(k,\\delta)\\subset A$ when $\\delta = \\||t-k||$. I suppose this will work, but I want more clear and detailed proof. Thank you in advance.",
"Boolean and Texts I have used Hexagon for years but find that it sometimes crashes when trying to do Boolean operations with texts. I have been trying to make the two tables of the Ten Commandments and have been trying to use Blender. I did it about two years ago in Blender and lost everything on my computer so I am trying again with the latest version of Blender and am having difficulty. I start with a cube and then get it close to the dimensions I would think the Ten Commandments might look like. I then bevel the top using the bevel modifier. But in doing it this way I don't have any cross sub divisions on the face of the object. I have tried sub dividing first but then I find that I can't bevel the top arches as far as I would like. I still don't know how to add divisions after I bevel the top. Yes I am still a novice at this program. In any case I did figure out how to make text and turn them into an object. When I make the texts I do all four of the commandments for one side and then the other six for the other side. So this makes allot of texts to cut out. When doing the Boolean operation in Difference sometimes nothing happens. I am thinking I need to have some sub - divisions on the face of the sized cube after it is beveled but am not really sure if this is the problem. This whole thing about normal's is still Greek to me. I have watched some videos on how to cut letters into a cube but for some reason it does not work this easy after I bevel the top of the cube. Or it could be that Blender does not like a bunch of texts all at once. Could someone show me a video or give me some simple steps to make my project work?",
"I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get? W: GPG error: lucid Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Oracle Corporation (VirtualBox archive signing key)",
"Which application does the vi command open? When you type vi in the terminal, the following output is shown ~ VIM - Vi IMproved ~ ~ version 7.3.547 ~ by Bram Moolenaar et al. ~ Modified by [email protected] ~ Vim is open source and freely distributable ~ ~ Help poor children in Uganda! So according to this, vi must be launching VIm. But when you type vim it gives aditya@aditya-desktop:~$ vim The program 'vim' can be found in the following packages: * vim * vim-gnome * vim-tiny * vim-athena * vim-gtk * vim-nox Try: sudo apt-get install <selected package> This shows that vim is not installed. Notably man vi and man vim launch the same man pages. So what does the vi command actually launch?"
] |
medi_sts_stackexchange_dupe
|
How to prefix any output in a bash script?
|
How to capture ordered STDOUT/STDERR and add timestamp/prefixes?
|
[
"Can Barbarians use 2 two-handed weapons in Diablo 3? Can barbarians dual wield two-handed weapons? My barbarian character is only a level 50 now, but I'm not sure if I can dual wield two-handed weapons at a later level or not - or is there a special skill I need? UPDATE It is sweet, that Blizzard have finally updated Diablo 3, so that the Crusader can have a 2-handed weapon in 1 hand ( passive). It is a shame that the Crusader can't dual wield a 2-handed weapon in both hands.",
"Method defined as testMethod do not support web service callouts, test skipped",
"Pagination broken when merging search results with additional WP_Query On the search results page (search.php) I would like to perform an additional WP_Query to keep a specific order of search result types e.g. search results from authors should always be shown before the other results - The first few pages should hold the author results, the other results should be shown on all the following pages only (not mixed on each page). global $wp_query; //holds the results of the initial search query $authorposts = $wp_query->posts; $query = new WP_Query( 'year=2012&monthnum=12&day=12' ); $otherposts = $query->posts; $wp_query->posts = array_merge( $authorposts, $otherposts ); $wp_query->post_count = count( $wp_query->posts ); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> //show results loop... The problems appear with the behaviour of pagination - while the $authorposts seem to paginate correctly i.e. correct page numbers for author posts and pagination works as only those where existent. But the $otherposts on the other hand are shown at the bottom of each page, right under the author posts. And they are the same on every page! Also the page count reflects the count of the first query only. I have also tried to merge with the plus operator: $wp_query->posts = $authorposts + $otherposts; but in this scenario the $otherposts don't show up at all and the page count stays the same (page count for author posts). All the examples with similar goals using two separate queries I've seen looked quite the same - So I'm wondering if the my way of extending the original search query results with that additional WP_Query is sufficient or if I'm missing some $wp_query fields to be populated (correctly)? What's the correct way doing this? Update: It should be noted that I'm using the WP-PageNavi plugin to paginate but this should not be relevant in the first place as the first page is already rendered wrong. And it's also initialized with the query object: wp_pagenavi( array( 'query' => $wp_query ));",
"I am looking for a package to create bullet gauge graphs, but I couldn't find any. A bullet graph looks like this: and an ample description/specification can be found It is available in Mathematica 9 () Is it possible create this kind of graphs in a easy way with TeX (like Matehmatica 9 or similar)?",
"Reason for LCM of all numbers from 1 .. n equals roughly $e^n$ I computed the LCM for all natural numbers from 1 up to a limit $n$ and plotted the result over $n$. Due to the fast-raising numbers, I plotted the logarithm of the result and was surprised to find a (more or less) identity curve ($x=y$). In other words, $LCM(1, 2, 3, ..., n)$ appears to be roughly the value $e^n$. Is a there a simple explanation on why this is so? $LCM(a, b, c, …)$ shall be defined as the least common multiple of all arguments $a, b, c, …$",
"How to split a string with any whitespace chars as delimiters What regex pattern would need I to pass to java.lang.String.split() to split a String into an Array of substrings using all whitespace characters (' ', '\\t', '\\n', etc.) as delimiters?",
"$\\{\\emptyset\\}$ is a set containing the empty set. Is $\\{\\emptyset\\}$ a subset of $\\{\\{\\emptyset\\}\\}$? My hypothesis is yes by looking at the form of \"the superset $\\{\\{\\emptyset\\}\\}$\" which contains \"the subset $\\{\\emptyset\\}$\".",
"What is the size of this microcontroller? Having trouble reading a data sheet",
"Distribution of range of Uniform $(0,1)$ distribution Let $X_1,...,X_n$ be iid as $U \\sim [0,1]$ with pdf $f(x) = 1(0 <x< 1)$. Determine the range distribution. I have managed to determine the distribution of the minimum and the maximum, however I cannot/do not know how to determine the distribution of range. Minimum: $f_N = n(1-x)^{n-1}$ and maximum $f_M= nx^{n-1}$ I am aware that the calculation of range distribution is based on convolution: $f_R=\\int f_{N,M}(x,x-r)dx$, However I cannot get the correct result, which according to my lecture slides is : $f_R= n(n-1)r^{n-2}(1-r)$ Could someone break this down for me ? My math background is not great",
"How to create a desktop shortcut in Unity? Is there an easy way to create a desktop shortcut for an application in Unity? The ability to right click or drag and drop icons to the desktop in Unity does not seem to be there.",
"In order to solve $$y''-2y'+y=te^t$$ I did: $$y = (at+b)e^t\\implies\\\\ y' = ate^t+ae^t+be^t\\implies \\\\y''= ate^t+2ae^t+be^t$$ but when I put these in the differential equation I'm getting zeros eveywhere. Does somebody know what I'm doing wrong?",
"My intent is to show that a composition of bijections is also a bijection by showing the existence of an inverse. But my approach requires the associativity of function composition. Let $f: X \\rightarrow Y, g: Y \\rightarrow Z, h: Z \\rightarrow W$ be functions. $((f \\circ g) \\circ h)(x) = h((f \\circ g)(x)) = h(g(f(x)))$, and $(f \\circ (g \\circ h))(x) = (g \\circ h)(f(x)) = h(g(f(x)))$. However, I am having problems in justifying that the two compositions, $(f \\circ g) \\circ h$ and $f \\circ (g \\circ h)$, have the same domain and range. When I consulted ProofWiki, whose link is at the bottom, I got even more confused. Specifically, for $(f \\circ g) \\circ h = f \\circ (g \\circ h)$ to be defined, ProofWiki requires that dom$g =$ codom$f$ and dom$h =$ codom$g$. First of all, I think that it should be dom$g =$ range$f$ .... Moreover, as you can see in the example below, you actually have to adjust domains and ranges of $f, g, h$ for the requirement to hold true. Let $f: \\mathbb R \\rightarrow \\mathbb R$ be $f(x) = 2x$, $g: \\mathbb R^+ \\rightarrow \\mathbb R$ be $g(y) = ln(y)$, $h: \\mathbb R \\rightarrow \\mathbb R$ be $h(z) = z - 10$. Then $((f \\circ g) \\circ h)(x) = ln(2x) - 10 = (f \\circ (g \\circ h))(x)$, with dom$((f \\circ g) \\circ h) = \\mathbb R^+$ = dom$(f \\circ (g \\circ h))$. As a result, we need to set dom$f = \\mathbb R^+$, range$f = \\mathbb R^+$; dom$g$, range$g$, dom$h$, and range$h$ remain the same. Am I allowed to do that? This adjustment implies that when we say dom$f = X$, $f$ must be defined for all elements in $X$, but $X$ may not be the entire set of elements for which $f$ is defined.",
"Extracting Data Between two Characters in Excel I have the following format in Excel and I am trying to extract the data between the characters: First Last <[email protected]> I need to extract the email address between < and > into its own cell Thanks!",
"When to use 'by' instead of 'at' or 'on' to specify time/date?",
"What would be a good term for continuous testing post-deployment?",
"Linear Combination of Random Normal Variables In order to prove that the linear combination of two independent normal distributions(say Z=X+Y) is normal, i am using their MGFs to show that the linear combination also has a similar mgf. This works okay when Z = X+Y. But when Z=X-Y, i run into trouble : E[$e^{tZ}$] = E[$e^{t(X-Y)}$] = E[$e^{tX}$]E[$e^{-tY}$] Now i cannot put this as $M_{x}$(t) * $M_{y}$(t) because of the negative sign.",
"I used the jQuery Form plugin for asynchronous form submission. For forms that contain files, it copies the form to a hidden iframe, submits it, and copies back the iframe's contents. The problem is that I can't figure out how to find what HTTP status code was returned by the server. For example, if the server returns 404, the data from the iframe will be copied as normal and treated as a regular response. I've tried poking around in the iframe objects looking for some sort of status_code attribute, but haven't been able to find anything like that. The $.ajax() function can't be used, because it does not support uploading files. The only way to asynchronously upload files that I know of is using the hidden iframe method.",
"Alias and functions From the bash manual The rules concerning the definition and use of aliases are somewhat confusing. Bash always reads at least one complete line of input before executing any of the commands on that line. Aliases are expanded when a command is read, not when it is executed. Therefore, an alias definition appearing on the same line as another command does not take effect until the next line of input is read. The commands following the alias definition on that line are not affected by the new alias. This behavior is also an issue when functions are executed. Aliases are expanded when a function definition is read, not when the function is executed, because a function definition is itself a compound command. As a consequence, aliases defined in a function are not available until after that function is executed. To be safe, always put alias definitions on a separate line, and do not use alias in compound commands. The two sentences \"Aliases are expanded when a function definition is read, not when the function is executed\" and \"aliases defined in a function are not available until after that function is executed\" seem to be contrary to each other. Can you explain what they mean respectively?",
"$F_\\sigma$-subsets in a normal space can be separated Let $X$ be a normal Hausdorff space and let $C,D$ be two $F_{\\sigma}$ subsets of $X$ such that $\\overline{C} \\cap D = \\emptyset$ and $C \\cap \\overline{D} = \\emptyset$. Prove there exists disjoint open subsets $U,V$ such that $C \\subset U$ and $D \\subset V$. No idea how to show this. Can you please help?",
"How do I remove a directory and all its contents? In bash all I know is that rmdir directoryname will remove the directory but only if it's empty. Is there a way to force remove subdirectories?"
] |
medi_sts_stackexchange_dupe
|
Keyboard types random keys
|
My keyboard is typing by itself, could there be a ghost in it?
|
[
"Benefit of date in URL segments I was curious about the date in URL segments, is there any SEO point of benefit? For example the following URLs: http://techcrunch.com/2013/06/18/netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows/ http://tips-for-new-bloggers.blogspot.in/2007/02/adding-favicon-icon-to-blogger-url.html https://community.jivesoftware.com/blogs/jivespace/2013/05/15/eol-of-the-html5-ipad-web-app In all the above URLs there is date segment. The information of those blogs can be fetched via blog stub like \"netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows\" so why to use that date part?",
"How to install wps office via terminal? It's pretty complicated and sometimes the system freezes when I try to download and install wps office. I think it is much more convenient to use the terminal. But I never used installed WPS Office from the command line. That would be great if I could update it using software manager or terminal. Third party deb files are from separate locations. I specifically want to know about WPS",
"Travelling in Schengen area while waiting for permit of stay renewal in Italy",
"How can I list all the printable ASCII characters in the terminal?",
"When writing custom classes it is often important to allow equivalence by means of the == and != operators. In Python, this is made possible by implementing the __eq__ and __ne__ special methods, respectively. The easiest way I've found to do this is the following method: class Foo: def __init__(self, item): self.item = item def __eq__(self, other): if isinstance(other, self.__class__): return self.__dict__ == other.__dict__ else: return False def __ne__(self, other): return not self.__eq__(other) Do you know of more elegant means of doing this? Do you know of any particular disadvantages to using the above method of comparing __dict__s? Note: A bit of clarification--when __eq__ and __ne__ are undefined, you'll find this behavior: >>> a = Foo(1) >>> b = Foo(1) >>> a is b False >>> a == b False That is, a == b evaluates to False because it really runs a is b, a test of identity (i.e., \"Is a the same object as b?\"). When __eq__ and __ne__ are defined, you'll find this behavior (which is the one we're after): >>> a = Foo(1) >>> b = Foo(1) >>> a is b False >>> a == b True",
"Simple: every other race in Middle Earth has rings, why do Hobbits and Orcs not?",
"What does outputting to /dev/null accomplish in bash scripts?",
"scanf() misbehaving",
"I'm reading An Introduction to Manifolds (Tu) and got confused on p.123 Theorem 11.13. Let me briefly explain what was done before that. The author defines an embedding between two manifolds $f: N\\rightarrow M$ as an injective immersion (differential is injective everywhere) with the additional property that $f(N)$ as a subspace of $M$ is homeomorphic via $f$ to $N$. Then a canonical form theorem is proven, namely, that for any point $p \\in N$, there are charts $(U,\\phi = x^1, \\ldots, x^n) \\ni p$ and $(V,\\psi = y^1, \\ldots, y^m) \\ni f(p)$, such that the transition map takes the following form: $$\\psi \\circ f \\circ \\phi^{-1} : (r^1,\\ldots,r^n) \\mapsto (r^1,\\ldots,r^n,0,\\ldots,0).$$ (I guess it is implicitly assumed that $f(U) \\subset V$). Now in the process of proving that $f(N) \\subset M$ is an , he states that $f(U) \\subset V$ is defined by the vanishing of the coordinates $y^{n+1},\\ldots,y^m$. I can prove that $$ f(U) \\subset \\{q \\in V: y^{n+1}(q) = \\cdots = y^m(q)\\} $$ but not the reverse inclusion. Can anyone explain why this should be true?",
"script custom previews in a menu I want to know how to create a menu with previews for an add-on. Until now I know that this is related with the bpy.utils.preview. I'm making an add-on that appends objects from a .blend file, I know how to append objects but what I want to do is to create a menu with previews of the objects /(similar to the matcaps menu - see below), select them and then press an "import button" to append the object. Here's some documentation about the module: Also, as this is an add-on I don't know if I should have a def register() and a def unregister() inside this .py file as well as in the __init__.py file.",
"How to make the numbering of subsections independent from the numbering of sections? I am writing a constitution for a society. I would like to have the subsections numbered independently of the way that the sections are numbered, i.e: Section 1 Subsection 1 Subsection 2 Section 2 Subsection 3 How can this be done?",
"Pie chart labels I want to create a pie chart with labels (one blank an one with percentage for the teacher, the mwe is the teachers version) so that my students have to fill the percentage in by themselves. So far I created a pie chart using the code given in the answer here and then I used labels from the code given in the answer here Now I have this The node in the violett part is the one I created manually and the other ones are implemented in the code, but I don't know what to change so that the automatic generated ones look like the one I created manually My MWE \\documentclass[11pt]{article} \\usepackage{tikz} \\usetikzlibrary{arrows} \\usepackage{xcolor} \\usepackage[utf8]{inputenc} \\definecolor{rosso}{RGB}{220,57,18} \\definecolor{giallo}{RGB}{255,153,0} \\definecolor{blu}{RGB}{102,140,217} \\definecolor{verde}{RGB}{16,150,24} \\definecolor{viola}{RGB}{153,0,153} \\makeatletter \\tikzstyle{chart}=[ legend label/.style={font={\\scriptsize},anchor=west,align=left}, legend box/.style={rectangle, draw, minimum size=5pt}, axis/.style={black,semithick,->}, axis label/.style={anchor=east,font={\\tiny}}, ] \\tikzstyle{pie chart}=[ chart, slice/.style={line cap=round, line join=round, very thick,draw=white}, pie title/.style={font={\\bf}}, slice type/.style 2 args={ ##1/.style={fill=##2}, values of ##1/.style={} } ] \\pgfdeclarelayer{background} \\pgfdeclarelayer{foreground} \\pgfsetlayers{background,main,foreground} \\newcommand{\\pie}[3][]{ \\begin{scope}[#1] \\pgfmathsetmacro{\\curA}{90} \\pgfmathsetmacro{\\r}{1} \\def\\c{(0,0)} \\node[pie title] at (90:1.3) {#2}; \\foreach \\v/\\s in{#3}{ \\pgfmathsetmacro{\\deltaA}{\\v/100*360} \\pgfmathsetmacro{\\nextA}{\\curA + \\deltaA} \\pgfmathsetmacro{\\midA}{(\\curA+\\nextA)/2} \\path[slice,\\s] \\c -- +(\\curA:\\r) arc (\\curA:\\nextA:\\r) -- cycle; \\pgfmathsetmacro{\\d}{max((\\deltaA * -(.5/50) + 1) ,1)} \\begin{pgfonlayer}{foreground} \\draw[*-,thin] \\c -- (\\midA:\\r) node[above,near end, pos=\\d,pie values,values of \\s]{$\\v\\%$}; \\end{pgfonlayer} \\global\\let\\curA\\nextA } \\end{scope} } \\newcommand{\\legend}[2][]{ \\begin{scope}[#1] \\path \\foreach \\n/\\s in {#2} { ++(0,-10pt) node[\\s,legend box] {} +(5pt,0) node[legend label] {\\n} } ; \\end{scope} } \\begin{document} \\begin{tikzpicture} [ pie chart, slice type={comet}{blu}, slice type={legno}{rosso}, slice type={coltello}{giallo}, slice type={sedia}{viola}, slice type={caffe}{verde}, pie values/.style={font={\\small}}, scale=2 ] \\pie{Sommerjobs in Österreich}{52/comet,12/legno,20/sedia,16/coltello} \\legend[shift={(-1cm,-1cm)}]{{Eisverkäufer}/comet, {Schwimmbad}/legno, {Zettelverteiler}/coltello} \\legend[shift={(1cm,-1cm)}]{{Kellner}/sedia} \\draw [*-,thin] (0.6,-0.2) -- (0.7,-0.2 + 0.5ex) -- (2,0.5ex) node[above, near end]{20\\%}; \\end{tikzpicture} \\end{document}",
"If a commutative ring is semiprime and its prime ideals are maximal then it is von Neumann regular (absolutely flat). If a commutative ring is semiprime and its prime ideals are maximal then it is von Neumann regular (absolutely flat). The converse, although not immediately apparent, can be proven quite easily. But I've been stuck on this one for awhile. I found that Bourbaki has a question in his treatise on commutative algebra, namely: if all points in Spec(A) are closed (ie. prime ideals are maximal) then A/R (where R is the nilradical) is von Neumann regular (absolutely flat). If this can be proven, the above statement follows immediately since the nilradical of a semiprime ring 0? Ideas? Ps: this is my first time posting a question so apologies for any formatting issues.",
"I clean-installed Ubuntu 11.10 today, and then installed VirtualBox. This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a group, I ran the following command: sudo usermod -G vboxusers stephane This is a problem. I now see what I should have run instead is: sudo usermod -aG vboxusers stephane The end result is I'm no longer in the groups I should be in. Including whatever group is required to run \"sudo\". When I run any command as sudo now, I get the following: $ sudo ls [sudo] password for stephane: stephane is not in the sudoers file. This incident will be reported. Is there a way to fix this, or do I need to re-install from scratch again?",
"I've been trying to find this darn series of books for ages, I read them back in early 2001-02 and can't really remember much of them. I think there were 10-ish books, it was an easy read but a long series. On early publications, the covers, were mainly yellow, with small pictures of whatever happens in that book. The book began with two siblings, a brother and a sister, running in a forest. She conjures up what can only be remembered as a golem type creature. He then uses a high magic 'blast' and wipes out the golem, knackering himself. His sister laughs at him for being 'powerful' but expending himself too much on one big magic blast. The beginning I remember vividly, the rest, not so much. The story continues as a conflict happens, I believe two worlds are involved? The brother and sister are split up, but this is where my memory becomes vague. The mechanics of the world seems that there are gems, or stones, set in the backbone, which in turn give access to magic. When the person uses them, they can draw too much, which ends up exhausting them. The 'big bad evil king' kills their father, and destroys their farm early on in the story.",
"The problem is, when I open applications I need to always right click, select run as admin. When I don't do it getting unexpected application errors. BTW, I turned off UAC. It's annoying. Is there any way to change behavior of double left-click to act as \"Run as administrator\" action? I mean to make \"Run as administrator\" action by default. Thx in advance",
"How loud/obvious is a wizard casting a spell? Some spells have somatic and vocal components, that's well known. How loud must a wizard talk? How obvious/wide should his gestures be? Some spells that would be awesome would be fairly limited if you need to shout them (ex: mage hand, range 30ft).",
"MySQL Date Between",
"I have this code: DECLARE @MyTable AS TABLE ( [Month] INT, Salary INT ); INSERT INTO @MyTable VALUES (1,2000), (1,3100); SELECT [Month], Salary FROM @MyTable; Output: I want to concat the Salary (grouping by month) so that it will be NVARCHAR like this: '2000,3100' How would I do this efficiently?",
"Tangential component of Electric field The above question i'm trying for so long but failed. This is from my class $12$ book(india).First of all i'm confused with tangential component of electric field, I mean why this? So far I've studied that electric field(Whether its own or someone's else) is always perpendicular to a charged body. So, there shouldn't be any tangential component. Could someone please explain me visually what's happening? Strict Note: A class $12$ answer required. No complex statements please. Only for school childs."
] |
medi_sts_stackexchange_dupe
|
"Warning: Cannot modify header information - headers already sent by" error
|
How to fix "Headers already sent" error in PHP
|
[
"What are the benefits of nickel-plated chains? Bicycle chains with higher model numbers (and slightly higher prices) are often nickel-plated or half-nickel-plated. What are the benefits of nickel-plated chains over non-nickel-plated chains? How durable is the plating--does it wear off, or do its benefits last for the life of the chain?",
"I am trying to do SVD by hand: m<-matrix(c(1,0,1,2,1,1,1,0,0),byrow=TRUE,nrow=3) U=eigen(m%*%t(m))$vector V=eigen(t(m)%*%m)$vector D=sqrt(diag(eigen(m%*%t(m))$values)) U1=svd(m)$u V1=svd(m)$v D1=diag(svd(m)$d) U1%*%D1%*%t(V1) U%*%D%*%t(V) But the last line does not return m back. Why? It seems to has something to do with signs of these eigenvectors... Or did I misunderstand the procedure?",
"What is the difference between public, protected, package-private and private in Java? In Java, are there clear rules on when to use each of access modifiers, namely the default (package private), public, protected and private, while making class and interface and dealing with inheritance?",
"Estimate on the derivative at fixed point Let $D$ be a bounded domain and let $f$ be analytic function from $D$ into $D$. Show that if $z_{0}$ $\\in D$ is a fixed point for $f$ , then $|f' (z_{0} )| \\leq 1$. WHAT I WAS THINKING: To have a conformal mapping from $D$ to the unit disc & after composing it with $f$ ; I was thinking to use Pick's Lemma. So, can anyone tell me any conformal map from any bounded domain to the unit disc?? OR Is there any other way out to solve this problem??",
"What would you call someone who makes no lasting impression?",
"Example of quasi-compact, non-quasi seperated scheme where qcqs fails?",
"How to transfer between International T2 to Domestic 1B terminals in Mumbai? I will be arriving in Mumbai Terminal T2 on a Turkish Airlines international flight. I have a separately-purchased IndiGo ticket 5 hours later from Terminal 1B (Domestic). In the past I heard of a free bus to transfer. Is that still the case and if not how do I get to Terminal 1B from Terminal 2?",
"When is a cellular automaton \"bidirectional\"?",
"Gandalf (as with all the Istari) did not have a corporeal form before coming to Middle-earth and was essentially ageless. We also know that Gandalf did age, albeit very slowly, while on Middle Earth. By the end of the Third Age (before battling Durin's Bane), he had the appearance of an old human male (non-Númenórean, etc) in his 70's or 80's. This leads me to wonder: Is there any indication in Tolkien's writings that describes Gandalf's appearance (in human-looking years) when he arrived in Middle Earth? In other words, was Gandalf the Grey originally \"Gandalf the Tall Dark & Handsome in his 20's\"? I'm not talking about his actual age, but rather his appearance in human years.",
"When $f(x+1)-f(x)=f'(x)$, what are the solutions for $f(x)$? The question is: When $f(x+1)-f(x)=f'(x)$, what are the solutions for $f(x)$? The most obvious solution is a linear function of the form $f(x)=ax+b$. Is this the only solution? Edit I should add that $f:\\mathbb R\\to\\mathbb R$ to the question.",
"I've recently installed Ubuntu on Oracle's Virtualbox. Now I want to install the guest additions. I started up my Ubuntu guest OS, clicked \"Devices\" and chose \"Install Guest Additions\". Nothing happened, and I don't see the CD icon on my desktop. How can I make this work?",
"I'm close to maxing out my character and I want to beat Ganon solely for the TRUE ending, but I'm too scared of losing some of my personal favorites from the Guardian Spear++ to fighting those damned Guardians (it was so fun). So, after beating Ganon Do monsters disappear? - Including the corrupted Guardians, but also the blood moons, I don't want to just face off against the Yiga Clan... Am I gonna run out of resources? - As a survival game Zelda BOTW has some emphasis on the survival genre but to me it is a survival-esque action-adventure game. Are special weapons still available when you max out? - Like the Savage Lynel Spears or Swords)",
"PHP: Static and non Static functions and Objects",
"$ {L}_{1} $ Regularized Unconstrained Optimization Problem",
"Does $x^2 - y^2 = 12345678$ (x,y are integers) have any solutions? This question appeared in KVPY online exam held on Nov 5. This equation is the equation of a hyperbola so any solution must be of the form $a\\sec(k),a\\tan(k)$. So no solutions.",
"I'm making an app with a custom list in multiple languages. Is there an easy way so that I only have to create the site columns, content type and list once? So I don't have to create them for each language? My app will be in English, French and Dutch. My lists elements.xml looks like this <?xml version=\"1.0\" encoding=\"utf-8\"?> <Elements xmlns=\"http://schemas.microsoft.com/sharepoint/\"> <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. --> <ListTemplate Name=\"List1\" Type=\"10000\" BaseType=\"0\" OnQuickLaunch=\"TRUE\" SecurityBits=\"11\" Sequence=\"410\" DisplayName=\"List1\" Description=\"My List Definition\" Image=\"/_layouts/15/images/itgen.png\"/> <Field Name=\"Adres\" ID=\"{2a32d9eb-ad3b-4dbb-abba-66dd01ca7c6e}\" DisplayName=\"$Resources:Adres\" Type=\"Text\" Required=\"TRUE\" /> <Field Name=\"Naampje\" ID=\"{ac47be45-2f43-4d16-9a06-162c85945ec9}\" DisplayName=\"$Resources:Naampje\" Type=\"Text\" Required=\"FALSE\" /> <Field Name=\"Nickname\" ID=\"{6B0A2CD7-A7F9-41ca-B932-F3BEBB603793}\" DisplayName=\"$Resources:Bijnaam\" Type=\"Text\" Required=\"FALSE\" /> </Elements> Well if i change my language in Sharepoint (Office 365) it's not changing the titles from dutch to the other languages i have added.",
"Isomorphism of a product $C_n \\times C_m$ of cyclic groups with the cyclic group $C_{mn}$ Given that $C_n$ is a cyclic group of order $n$, what conditions must integers $n$ and $m$ satisfy such that the group $C_n \\times C_m$ is isomorphic to C$_{mn}$? So I attempted to investigate a few lower-order cyclic groups to find a pattern. In particular, I looked at $C_2 \\times C_3$ and compared it to $C_6$. Here are a couple of diagrams: $C_2 \\times C_3$ - $C_6$ - They Cayley tables look pretty different (identity elements are all over the place for $C_2 \\times C_3$) so I concluded that they are not isomorphic. I did the same for $C_2 \\times C_4$ and $C_8$: $C_2 \\times C_4$ - $C_8$ - Again, I arrived at the conclusion that the 2 groups are not isomorphic due to their Cayley table structure. It seems I'm stuck now. Are my conclusions wrong for the examples I examined? If so, how do I find the conditions for the general case of comparing $C_m \\times C_n$ with $C_{mn}$?",
"In Episode 1: The Phantom Menace, Anakin's mother, Shmi, said that he does not have a father, although it seemed to me that she doubted that. Is there a canonical answer as to who Anakin's father is? If so, who?",
"Show that $e^{-\\beta} = \\frac{1}{\\sqrt{\\pi}} \\int_{0}^{\\infty} \\frac{e^{-u}}{\\sqrt{u}} e^{-\\beta^2 / 4u} du$. Show that $e^{-\\beta} = \\frac{1}{\\sqrt{\\pi}} \\int_{0}^{\\infty} \\frac{e^{-u}}{\\sqrt{u}} e^{-\\beta^2 / 4u} du$. I'm not really sure of how I should proceed to show this, and it's pretty un-intuitive as well. I've managed to manipulate the RHS into $$\\frac{e^{4\\beta}}{\\sqrt{\\pi}} \\int_0^\\infty \\frac{1}{\\sqrt{u}} e^{-(\\beta+2u)^2/4u} du$$ which now vaguely resembles a Gaussian. However, substituting $v = \\beta + 2u$ in in order to to get something like $e^{-x^2}$ doesn't particularly help. I got $$ \\frac{e^{4\\beta}}{\\sqrt{2\\pi}} \\int_0^\\infty \\frac{1}{\\sqrt{v - \\beta}} e^{-v^2/2(v-\\beta)} dv. $$ I'm really unsure of how I should proceed; any help would be appreciated.",
"Expected number of rolling a pair of dice to generate all possible sums A pair of dice is rolled repeatedly until each outcome (2 through 12) has occurred at least once. What is the expected number of rolls necessary for this to occur? Notes: This is not very deep conceptually, but because of the unequal probabilities for the outcomes, it seems that the calculations involved are terribly messy. It must have been done already (dice have been studied for centuries!) but I can't find a discussion in any book, or on line. Can anybody give a reference?"
] |
medi_sts_stackexchange_dupe
|
Make greek numeration
|
Greek numbering
|
[
"This question has an inverse: What would be the most efficient way to translate a combination of $k$-tuple into its positions within the $\\left(\\!\\!\\binom{n}{k}\\!\\!\\right)$ combinations? I need this to be fast for combinations of $\\left(\\!\\!\\binom{70}{7}\\!\\!\\right)$ order of magnitude - very large, but not exceeding 2 billion (fits into int32 maximum value). Below is an example of $\\left(\\!\\!\\binom{6}{3}\\!\\!\\right)$, where the aim is to quickly translate (a, d, f) tuple to value 9, while in the real problem $k$ ranges between 5 and 8. $$\\begin{array} {cccccc|c} a&b&c&d&e&f&^{combination}/_{sort\\_order}& \\\\\\hline x&x&x& & & &1\\\\ x&x& &x& & &2\\\\ x&x& & &x& &3\\\\ x&x& & & &x&4\\\\ x& &x&x& & &5\\\\ x& &x& &x& &6\\\\ x& &x& & &x&7\\\\ x& & &x&x& &8\\\\ x& & &x& &x&9\\\\ x& & & &x&x&10\\\\ .&.&.&.&.&.&.\\\\ & & &x&x&x&20\\\\ \\end{array}$$ I know that I could pre-calculate all the combinations and reverse the lookup dictionary. However, such dictionary would not be efficient in terms of memory usage. Therefore I am looking for either calculation-based approach, or a more efficient data structure to perform this mapping.",
"I want to make a plane for my supply on my PCB and a plane for my MCU to isolate the MCU from the power supply noise. I found this article in Altium designer : But it isn't clear how the split plane tool work. Can someone explain it in a different manner? [EDIT] This is a picture how I see the planes:",
"Flow On Schedule I\"ve created a flow that I'd like to run monthly on the 7th day of each month. How can I do this with scheduled apex. I have no experience writing apex from scratch. Any suggestions or starting off points appreciated. Thanks, Kris",
"When to use an object pronoun or a possessive adjective before a gerund",
"Function $f: \\mathbb{R} \\to \\mathbb{R}$ that takes each value in $\\mathbb{R}$ three times Does there exist a function $f: \\mathbb{R} \\to \\mathbb{R}$ that takes each value in $\\mathbb{R}$ three times? If not, how could I prove that such a function does not exist?",
"Trisect a quadrilateral into a $9$-grid; the middle has $1/9$ the area Trisect sides of a quadrilateral and connect the points to have nine quadrilaterals, as can be seen in the figure. Prove that the middle quadrilateral area is one ninth of the whole area.",
"From this on Bayesian Least Mean Square estimation: $$\\mathbf E\\left[(\\Theta -\\hat\\theta)^2\\right] = \\rm{var}(\\Theta -\\hat\\theta) + \\left(\\mathbf E[\\Theta -\\hat\\theta]\\right)^2 = \\rm{var}(\\Theta) + \\left(\\mathbf E[\\Theta -\\hat\\theta]\\right)^2$$ which is to say that $\\rm{var}(\\Theta -\\hat\\theta) = \\rm{var}(\\Theta)$. I would like to ask how that comes about? Thanks. $\\Theta$ is the random variable being estimated, and $\\hat\\theta$ is a constant estimate.",
"Unable to load styles and script from static resource in LWC after summer'19 release",
"How can I detect mouse events on sprites in a canvas? I'm making an HTML 5 game. I want mouse clicks on sprites drawn in a canvas element cause events that my code can react to. At the moment, I'm doing it by checking through all of my sprites in a for-loop on each click. Is there a way to do that by adding an event listener to a sprite so it would respond just like that? Are Javascript's custom events useful in this situation? I know it's possible with KinectJS, but I don't have any experience with it and really I'd like to learn how to do this myself without the help of a library.",
"How to fix Terminal error DYLD_ environment variables being ignored because main executable (/usr/bin/login) is setuid or setgid?",
"Is there a backquote on the iPhone keyboard? Is there a backquote (backtick `) on the iPhone keyboard, and if so, where is it? When I'm writing a post on a site in the SE family (especially SO), I want to use the backquote for inline code blocks. Under the single quote key, I've found two curly/angled quotes, but those (’ and ‘) don't seem to do the trick...",
"I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's another story). The best I can do so far is to add a layer file to the current map, using the following (\"addLayer\" is a layer file object): def AddLayerFromLayerFile(addLayer): import arcpy mxd = arcpy.mapping.MapDocument(\"CURRENT\") df = arcpy.mapping.ListDataFrames(mxd, \"Layers\")[0] arcpy.mapping.AddLayer(df, addLayer, \"AUTO_ARRANGE\") arcpy.RefreshActiveView() arcpy.RefreshTOC() del mxd, df, addLayer However, my raw data is always going be shapefiles, so I need to be able to open them. (Equivalently: convert a shapefile to a layer file without opening it, but I'd prefer not to do that).",
"To make Latin-letter variables bold I can use e.g. \\mathbf{a}, but while putting Greek letters or symbols such as \\nabla inside \\mathbf doesn't cause any errors or warnings, it also doesn't do anything else. What is the best way to make bold math symbols, in particular Greek letters and \\nabla?",
"Applications of complex numbers to solve non-complex problems Recently I asked a question regarding the diophantine equation $x^2+y^2=z^n$ for $x, y, z, n \\in \\mathbb{N}$, which to my surprise was answered with the help complex numbers. I find it fascinating that for a question which only concerns integers, and whose answers can only be integers, such an elegant solution comes from the seemingly unrelated complex numbers - looking only at the question and solution one would never suspect that complex numbers were lurking behind the curtain! Can anyone give some more examples where a problem which seems to deal entirely with real numbers can be solved using complex numbers behind the scenes? One other example which springs to mind for me is solving a homogeneous second order differential equation whose coefficients form a quadratic with complex roots, which in some cases gives real solutions for real coefficients but requires complex arithmetic to calculate. (If anyone is interested, the original question I asked can be found here: ) EDIT: I just wanted to thank everyone for all the great answers! I'm working my way through all of them, although some are beyond me for now!",
"Best resources to learn bash scripting?",
"Why is angular velocity of any point about any other point of a rigid body always the same? I have the following question regarding an ideal rigid body. Firstly, is it always true without any exceptions that the angular velocity of any point about any other point on a rigid body is always the same? If so, what happens in case of precession, in which two different angular velocities are predefined?",
"understanding Debian dpkg package version numbers",
"How can I show that the sum $$ \\sum_{k = 0}^n 2^k \\binom{n}{k}$$ is equal to $3^n$?",
"What is the purpose of LongLength for .Net Arrays? What is the purpose of the LongLength property for arrays in .Net. Using a standard integer for length, you could accommodate up to 2 billion indices. Are there really people using .Net to maintain a single array with more the 2 billion elements. Even if each element was a single byte, that would still be 2 GB of data. Is it feasible to use such a large array in .Net?",
"There are two vectors called $\\vec{a}$ and $\\vec{b}$. Vector $\\vec{c}$ is the bisector and it can be given as $$\\vec{c} = |b|\\vec{a} + |a|\\vec{b}$$ How to prove that? I have used the dot product method. But there I can't find the angle between them. Then I tried to do this by using unit vectors. Then I got an answer like in the given picture. . Can you help me to get the correct answer"
] |
medi_sts_stackexchange_dupe
|
Interpretation of the t.test in R
|
Interpretation of the t.test and Wilcox.test in R
|
[
"White space below footer",
"Are the complements of two homeomorphic compact, connected subsets of $\\mathbb{R}^2$ homeomorphic?",
"Finding derivative of $\\sqrt[3]{x}$ using only limits I need to finding derivative of $\\sqrt[3]{x}$ using only limits So following tip from : I multiplied top and bottom by conjugate of numerator $$\\lim_{h \\to 0} \\frac{\\sqrt[3]{(x+h)} - \\sqrt[3]{x}}{h} \\cdot \\frac{\\sqrt[3]{(x+h)^2} + \\sqrt[3]{x^2}}{\\sqrt[3]{(x+h)^2} + \\sqrt[3]{x^2}}$$ $$= \\lim_{h \\to 0} \\frac{x+h-x}{h(\\sqrt[3]{(x+h)^2} + \\sqrt[3]{x^2})}$$ $$= \\lim_{h \\to 0} \\frac{1}{\\sqrt[3]{(x+h)^2} + \\sqrt[3]{x^2}}$$ $$= \\frac{1}{\\sqrt[3]{x^2} + \\sqrt[3]{x^2}}$$ $$= \\frac{1}{2 \\sqrt[3]{x^2}}$$ But I think it should be $\\frac{1}{3 \\sqrt[3]{x^2}}$ (3 instead of 2 in denominator?) UPDATE I found that I am using the wrong conjugate in step 1. But this (wrong) conjugate gives the same result when I multiply the numerator by it. So whats wrong with it? (I know its wrong, but why?)",
"How can I model flips until N successes? You and I decide to play a game where we take turns flipping a coin. The first player to flip 10 heads in total wins the game. Naturally, there is an argument about who should go first. Simulations of this game show that the player to flips first wins 6% more than the player who flips second (the first player wins approx 53% of the time). I'm interested in modelling this analytically. This isn't a binomial random variable, as there are no fixed number of trials (flip until someone gets 10 heads). How can I model this? Is it the negative binomial distribution? So as to be able to recreate my results, here is my python code: import numpy as np from numba import jit @jit def sim(N): P1_wins = 0 P2_wins = 0 for i in range(N): P1_heads = 0 P2_heads = 0 while True: P1_heads += np.random.randint(0,2) if P1_heads == 10: P1_wins+=1 break P2_heads+= np.random.randint(0,2) if P2_heads==10: P2_wins+=1 break return P1_wins/N, P2_wins/N a,b = sim(1000000)",
"Is there a continuous bijection from $[0,1]$ onto $[0,1] \\times [0,1]$? That is with $I=[0,1]$ and $S=[0,1] \\times [0,1]$, is there a continuous bijection $$ f: I \\to S? $$ I know there is a continuous bijection $g:C \\to I$ from the Cantor set $C$ to $[0,1]$. The square $S$ is compact so there is a continuous function $$ h: C \\to S. $$ But this leads nowhere. Is there a way to construct such an $f$? I ask because I have a continuous functional $F:S \\to \\mathbb R$. For numerical reason, I would like to convert it into the functional $$ G: I \\to \\mathbb R, \\\\ G = F \\circ f , $$ so that $G$ is continuous.",
"What is the difference between the two \"worlds\" when going thru the day/night wormhole at the altar?",
"Some websites and textbooks refer to $$\\Delta x \\Delta p \\geq \\frac{\\hbar}{2}$$ as the correct formula for the uncertainty principle whereas other sources use the formula $$\\Delta x \\Delta p \\geq \\hbar.$$ Question: Which one is correct and why? The latter is used in the textbook \"Physics II for Dummies\" (German edition) for several examples and the author also derives that formula so I assume that this is not a typing error. This is the mentioned derivation: $\\sin \\theta = \\frac{\\lambda}{\\Delta y}$ assuming $\\theta$ is small: $\\tan \\theta = \\frac{\\lambda}{\\Delta y}$ de Broglie equation: $\\lambda = \\frac{h}{p_x}$ $\\Rightarrow \\tan \\theta \\approx \\frac{h}{p_x \\cdot \\Delta y}$ but also: $\\tan \\theta = \\frac{\\Delta p_y}{p_x}$ equalize $\\tan \\theta$: $\\frac{h}{p_x \\cdot \\Delta y} \\approx \\frac{\\Delta p_y}{p_x}$ $\\Rightarrow \\frac{h}{\\Delta y} \\approx \\Delta p_y \\Rightarrow \\Delta p_y \\Delta y \\approx h$ $\\Rightarrow \\Delta p_y \\Delta y \\geq \\frac{h}{2 \\pi}$ $\\Rightarrow \\Delta p \\Delta x \\geq \\frac{h}{2 \\pi}$ So: Which one is correct and why?",
"if $a,b$ are nilpotent elements of a commutative ring $R$, show that $a+b$ is also nilpotent",
"How can I determine the list of files in a directory from inside my C or C++ code? I'm not allowed to execute the ls command and parse the results from within my program.",
"How do I create a very long delay with Redstone? The only things I've found so far are a cart method (which ceased working in 1.6), a dispenser method (utilizing the decay on dropped items, but this requires occasional feeding), and a binary counter (which won't work for a single input but rather a fluctuating one). I want to have a circuit that when I apply an input signal, the output signal doesn't change for 2 to 5 minutes. When the input turns off, I again want a 2 to 5 minute delay. I could accomplish this with (roughly) 240 to 600 redstone repeaters, but this is far in excess of being useful. The only method I can think of, but would require a XOR gate (on the button-input and final output) to start and stop a clock attached to a binary counter. While I can make room for a device of this size, I was hoping for something simpler.",
"Definite integral, quotient of logarithm and polynomial: $I(\\lambda)=\\int_0^{\\infty}\\frac{\\ln ^2x}{x^2+\\lambda x+\\lambda ^2}\\text{d}x$ I was thinking this integral : $$I(\\lambda)=\\int_0^{\\infty}\\frac{\\ln ^2x}{x^2+\\lambda x+\\lambda ^2}\\text{d}x$$ What I do is use a Reciprocal subsitution, easy to show that: $$I(\\lambda)=\\int_0^{\\infty}\\frac{\\ln ^2x}{\\lambda ^2x^2+\\lambda x+1}\\text{d}x =\\frac{1}{\\lambda}\\int_0^{\\infty}\\frac{(\\ln x-\\ln \\lambda)^2}{x^2+x+1}\\text{d}x \\\\ =\\frac{\\ln ^2\\lambda}{\\lambda}\\int_0^{\\infty}\\frac{1}{x^2+x+1}\\text{d}x+\\frac{1}{\\lambda}\\int_0^{\\infty}\\frac{\\ln ^2x}{x^2+x+1}\\text{d}x \\\\ =\\frac{\\ln ^2\\lambda}{\\lambda}\\frac{2\\pi}{3\\sqrt{3}}+\\frac{2}{\\lambda}\\int_0^1\\frac{\\ln ^2x}{x^2+x+1}\\text{d}x$$ But I hav no idea on process the remaining integral:( Anyone knows how to solve it? THX guys! I came with another method might work for this: Recall the handy GF $$\\frac{1}{x^2+x+1}=\\frac{2}{\\sqrt{3}}\\sum_{k=0}^{\\infty}\\sin \\left(\\frac{2\\pi}{3}\\left(k+1\\right)\\right)x^k$$ Then we have : $$\\int_0^1\\frac{\\ln ^2x}{x^2+x+1}\\text{d}x=\\frac{2}{\\sqrt{3}}\\sum_{k=0}^{\\infty}\\frac{2}{\\left(k+1\\right)^3}\\sin \\left(\\frac{2\\pi}{3}\\left(k+1\\right)\\right)x^k$$ With $$\\sum_{k=1}^{\\infty}\\frac{\\sin (kx)}{k^3}=\\frac{\\pi ^2}{6}x-\\frac{\\pi}{4}x^2+\\frac{x^3}{12}$$ What can we arrived?",
"Book recommendations",
"Any way to see mail sent by other user through shared address? My wife and I have a \"shared\" email address, like [email protected] which we both use from Gmail when we both want to get replies or for signing up for certain websites. When an email is received at that address, it gets forwarded to both of our personal Gmail accounts. The problem is that when either one of us \"sends as\" that address, the other does not see the sent message. So we have to cc or bcc each other (and she usually forgets.) Is there any automagic way to have those sent emails appear in BOTH of our Gmail accounts? I've tried filters but I don't think they work on outgoing messages. Basically we want a filter that would automatically forward emails from that address to the other person. I know this can be done with standalone mail clients, but neither of us uses those.",
"An inequality involving 4 real or complex numbers",
"Proof that a Combination is an integer From its definition a combination $\\binom{n}{k}$, is the number of distinct subsets of size $k$ from a set of $n$ elements. This is clearly an integer, however I was curious as to why the expression $$\\frac{n!}{k!(n-k)!}$$ always evaluates to an integer. So far I figured: $n!$, is clearly divisible by $k!$, and $(n-k)!$, individually, but I could not seem to make the jump to proof that that $n!$ is divisible by their product.",
"Limit of $\\lim_{n\\rightarrow \\infty} \\sum^{n}_{i=1} \\frac{1}{\\sqrt {n^2 +i} }$",
"How do I invoke a private static method using reflection (Java)?",
"Truncated trivariate normal - conditional expectation",
"Head or tail sound fine to my ESL ears. What's the reasoning behind the plural usage? I looked it up on etymonline but didn't find anything interesting.",
"How to get only time from date-time C#"
] |
medi_sts_stackexchange_dupe
|
Violation of normality of residuals in glmm
|
Resolving heteroscedasticity in Poisson GLMM
|
[
"Zero to the zero power – is $0^0=1$? Could someone provide me with a good explanation of why $0^0=1$? My train of thought: $x>0$ $0^x=0^{x-0}=0^x/0^0$, so $0^0=0^x/0^x=\\,?$ Possible answers: $0^0\\cdot0^x=1\\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined PS. I've read the on mathforum.org, but it isn't clear to me.",
"What is the size of this microcontroller? Having trouble reading a data sheet I am trying to find a small enough microcontroller for a project, but I am not familiar with the notation used to denote the sizes in this image: What does that mean when it says 12,20/11,80 SQ and 7,50 TYP. The image is from . OR is this not where I find the physical dimensions? If these do not denote the physical dimensions of the part, then where in the datasheet is that written?",
"When trying to execute a symbolic link which points to an exe file (on Windows 7), the \"Open with\" windows appears. When renaming it to a \".exe\" file, it says \"The specified path does not exist. Check the path, and then try again.\". Symlinks to other destinations seem to work fine. So is there any way to execute a symlink? EDIT: In the command prompt, I execute the following and the MyProgram.exe runs both times. However, if I double-click on the symbolic link in Windows Explorer it fails with the above error message. C:\\Temp>mklink SomeProgram.exe MyProgram.exe symbolic link created for Backup.exe <<===>> Backup-1.0.1.exe C:\\Temp>SomeProgram.exe C:\\Temp>del SomeProgram.exe C:\\Temp>mklink SomeProgram.exe C:\\Temp\\MyProgram.exe symbolic link created for Backup.exe <<===>> C:\\Temp\\Backup-1.0.1.exe C:\\Temp>SomeProgram.exe",
"I am reading that finite-dimensional subspaces of normed vector spaces have closed direct sum complements. This is the proof: Let $\\{e_1, ..., e_n\\}$ be a basis for $\\mathcal M$. Every $x \\in \\mathcal M$ has then a unique representation $$x = \\alpha_1(x)e_1 +...+ \\alpha_n(x)e_n.$$ Each $\\alpha_i$ is a continuous linear functional on $\\mathcal M$ (a linear map from finite dimensional space is always continuous) which extends to a member of $\\mathcal X^*$, by the Hahn-Banach theorem ($\\mathcal X^*$ is the dual of $\\mathcal X$). Let $\\mathcal N$ be the intersection of the null spaces of these extensions. Then $\\mathcal X = \\mathcal M\\oplus \\mathcal N$. I follow it until the last sentence. Clearly $\\mathcal N$ is closed, as it is the intersection of closed sets (the inverse of $0$ under any continuous function, and in particular any linear functional on a vector space, is closed). Also it is easy to see that $\\mathcal M \\cap \\mathcal N= \\{0\\}$, since if some $m\\in\\mathcal M$ is in every null space, it must have the zero coefficient for every basis vector, and so it must be zero. My question: Why do we have $\\mathcal X =\\mathcal M + \\mathcal N$? This seems to only hold if the extension given by Hahn-Banach is zero off of $\\mathcal M$, but I see no reason why this should be the case.",
"What Is Energy? Where did it come from?",
"Cosine of the sum of two solutions of trigonometric equation $a\\cos \\theta + b\\sin \\theta = c$ Question: If $\\alpha$ and $\\beta$ are the solutions of $a\\cos \\theta + b\\sin \\theta = c$, then show that: $$\\cos (\\alpha + \\beta) = \\frac{a^2 - b^2}{a^2 + b^2}$$ No idea how to even approach the problem. I tried taking two equations, by substituting $\\alpha$ and $\\beta$ in place of $\\theta$ in the equation and manipulating them, but that didn't get me anywhere. Please help!",
"May $y=e^x$ be satisfied with both $x$ and $y$ be positive integers? I think it is not possible as $e$ ,a transcendental number, when multiplied by itself would never result in rational number. Am I right?",
"How to force nginx to resolve DNS (of a dynamic hostname) everytime when doing proxy_pass? I am using nginx/0.7.68, running on CentOS, with the following configuration: server { listen 80; server_name ***; index index.html index.htm index.php default.html default.htm default.php; location / { root /***; proxy_pass http://***:8888; index index.html index.htm; } # where *** is my variables The proxy_pass is to a DNS record whose IP changes frequently. Nginx caches the outdated IP address, resulting in a request to the wrong IP address. How can I stop nginx from caching the IP address, when it is outdated?",
"Prove that $\\sum_{n=0}^\\infty \\frac{(-1)^n}{3n+1} = \\frac{\\pi}{3\\sqrt{3}}+\\frac{\\log 2}{3}$",
"I have several identical elements with different attributes that I'm accessing with SimpleXML: <data> <seg id=\"A1\"/> <seg id=\"A5\"/> <seg id=\"A12\"/> <seg id=\"A29\"/> <seg id=\"A30\"/> </data> I need to remove a specific seg element, with an id of \"A12\", how can I do this? I've tried looping through the seg elements and unsetting the specific one, but this doesn't work, the elements remain. foreach($doc->seg as $seg) { if($seg['id'] == 'A12') { unset($seg); } }",
"An instructor has an exam of 5 questions and a question bank of 50 questions. Are there $50\\choose 5$ or $(50)_5$ possible exams? Where $(50)_5 = 50! / 45! $ and $50\\choose 5$ $= 50!/(5!45!)$ I've narrowed it down to these two possibilities (though even these may be wrong), but I think I'm confusing myself as to which one I use. Can anyone suggest a good way of thinking of this problem that will make it apparent whether I need use use the falling factorial or the binary coefficient? Edit: thank you for all the answers! Indeed, I meant $50!/45$ as the falling factorial. Also, the question doesn't specify whether it was meant to be ordered or unordered, but I think I understand my confusion now!",
"I know that who is used when asking about a subject (Who is at the door?) and whom is used when asking about an object (By whom was the door opened?). How do you determine which one to use when the object becomes the subject of another clause? For example, take the sentence: I gave the prize to ____ deserved it most. Would it be whomever because it's the object of \"gave,\" or would it be whoever because it's the subject of \"deserved\"? Is their a hard-and-fast rule to rely on in situations like this?",
"A smooth vector field on $S^2$ vanishing at a single point",
"SE Android app for tablet has bad formatting on feed",
"On OpenBSD and with OpenBSD's and , is it possible to store the of a user in a repository of the same user? What would be the proper way to accomplish something like this? (To steer the answer into the correct direction, I would not be opposed to changing some permissions in the system, although I'd rather not have to recompile the binaries, nor violate any good security paradigms.)",
"Sugar daddy wants my online banking login info to make deposits — is it a scam?",
"Let $ D = 2^\\mathbb{N} $, i.e., D is the set of all sets of natural numbers. What's the meaning of this definition? Intuitively, I would suggest that $ D = \\{1,2,4,...\\} $ but the explanation \"set of all sets\" leads me to the guess that this is wrong.",
"Does higher education exist in Harry Potter?",
"Does the closedness of a subgroup $H$ of $G$ imply that for $h\\in H, g\\in G \\setminus H: hg \\not \\in H$? I'm new to abstract algebra and this would appear to be a useful result. However, by definition, a subgroup is nearly closed, and I don't think this directly implies that for any element $g$ from $G$ not in $H$, the composition $gh \\not \\in H$. Is this in fact a true statement?",
"Is there any direct relation among first, third, fourth order moments?"
] |
medi_sts_stackexchange_dupe
|
Why would the number of columns in the "Stack Exchange Network" section in the footer vary?
|
Display maximum possible count of sites in footer
|
[
"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",
"Regarding the sum $\\sum_{p \\ \\text{prime}} \\sin p$ I'm very confident that $$\\sum_{p \\ \\text{prime}} \\sin p $$ diverges. Of course, it suffices to show that there are arbitrarily large primes which are not in the set $\\bigcup_{n \\geq 1} (\\pi n - \\epsilon, \\pi n + \\epsilon)$ for sufficiently small $\\epsilon$. More strongly, it seems that $\\sin p$ for prime $p$ is dense in $[-1,1]$. This problem doesn't seem that hard though. Here's something that (to me) seems harder. If $p_n$ is the nth prime, what is $$\\limsup_{n \\to +\\infty} \\sum_{p \\ \\text{prime} \\leq p_n} \\sin p?$$ What is $$\\sup_{n \\in \\mathbb{N}} \\sum_{p \\ \\text{prime} \\leq p_n} \\sin p? $$ Of course, we can ask analogous questions for $\\inf$. I'm happy with partial answers or ideas. For example, merely an upper bound.",
"A closed ball in a metric space is a closed set Prove that a closed ball in a metric space is a closed set My attempt: Suppose $D(x_0, r)$ is a closed ball. We show that $X \\setminus D $ is open. In other words, we need to find an open ball contained in $X \\setminus D$. Pick $$t \\in X-D \\implies d(t,x_0) > r \\implies d(t,x_0) - r > 0 $$ Let $B(y, r_1)$ be an open ball, and pick $z \\in B(y,r_1)$. Then, we must have $d(y,z) < r_1 $. We need to choose $r_1$ so that $d(z,x_0) > r$. Notice by the triangle inequality $$ d(x_0,t) \\leq d(x_0,z) + d(z,t) \\implies d(z,x_0) \\geq d(x_0,t) - d(z,t) > d(x_0,t) - r_1.$$ Notice, if we pick $r_1 = d(t,x_0)-r$ then we are done. Is this correct?",
"Bottom to top explanation of the Mahalanobis distance? I'm studying pattern recognition and statistics and almost every book I open on the subject I bump into the concept of Mahalanobis distance. The books give sort of intuitive explanations, but still not good enough ones for me to actually really understand what is going on. If someone would ask me \"What is the Mahalanobis distance?\" I could only answer: \"It's this nice thing, which measures distance of some kind\" :) The definitions usually also contain eigenvectors and eigenvalues, which I have a little trouble connecting to the Mahalanobis distance. I understand the definition of eigenvectors and eigenvalues, but how are they related to the Mahalanobis distance? Does it have something to do with changing the base in Linear Algebra etc.? I have also read these former questions on the subject: I have also read . The answers are good and pictures nice, but still I don't really get it...I have an idea but it's still in the dark. Can someone give a \"How would you explain it to your grandma\"-explanation so that I could finally wrap this up and never again wonder what the heck is a Mahalanobis distance? :) Where does it come from, what, why? UPDATE: Here is something which helps understanding the Mahalanobis formula:",
"How do I connect to a WPA wifi network using the command line? So basically, I'd like to use iwconfig to connect to my wifi network when I'm not inside X. But I just don't see a way to do it in the man page. Any idea?",
"Is there any adjustment required when computing the correlation coefficient between: continuous and discrete variable two discrete variables ? Thanks !",
"Using ArcMap 10.0, I am working on a map that shows many villages. Each village has a name attribute that I want to use for a label, but in some areas there are so many villages that not all can be labeled. I am using the Maplex label engine and have not checked the \"Never Remove (allow overlap)\" box. I am quite happy that not all village names are displayed as this would be way too much. And it is ok that Maplex chooses which labels to display, as I have no way to know which village is more important than another one. This also means that I can't base the labeling on a field such as population or something else, even though that would be less random. However, I would also like the village points that are not labeled to similarly not be displayed. I think it unlikely that someone would want to see the point without knowing the name of the village. If all points are shown, it is also difficult to tell which point a name label goes with in crowded areas. So instead of choosing just labels not to be shown, I also want the computer to chose features not to be shown. To give you a better idea on what I mean: Is there a way to make these features/points not draw if their label is not shown?",
"I've noticed that in comments, when you create `code region` with backticks, the backslash will still work as an escape character within that region (but it should not, IMHO). To clarify: In comments, `\\\\` will be rendered as \\, but it should be rendered as \\\\ In the post body itself, `\\\\` will be rendered as \\\\ (i.e., correctly) This is especially confusing when you enter regular expressions into a comment, since backslash-escaping is very common there, and confusion increases if you are dealing with a regex that is double-escaped for representation in a string. At some point you lose track how many backslashes you must make so the comment renders correctly, or you don't notice fast enough (or at all) and the comment contains wrong code where the same markup in a question or answer would come out as perfectly correct. It's just that comments can't be corrected anymore after the grace period, leaving you with the choice of either deleting the comment, thus crippling the conversation, or engaging in a trial-and-error game of writing another comment with even more backslashes to explain the issue. My question is two-fold: Will this error be corrected? If yes, existing comments should probably be searched and \"fixed\" by a routine that tries to do the right thing (this is probably somewhere between hard and impossible) Or, can I rest assured that never ever the behavior of the backslash in comments is going to be changed, so I can start working around this issue by hand, knowing that they won't start displaying incorrectly at some point in the future?",
"Q) Prove that if $0\\rightarrow V_1\\rightarrow V_2\\rightarrow...\\rightarrow V_k\\rightarrow 0$ is an exact sequence of finite dimensional vector spaces, then $\\sum_{i=1}^{k}(-1)^idim (V_i) = 0$. For $k=3$, I see that the statement is true. For $k>3$, am I correct in understanding that $V_2 = V_1\\oplus V_3 (\\implies dim(V_2)=dim(V_1)+dim(V_3))$ and $V_3 = V_2\\oplus V_4(\\implies dim(V_3)=dim(V_2)+dim(V_4))$ and so on? If it is true, then for $k=4$, $\\sum_{i=1}^{4}(-1)^idim (V_i) = -m_1+m_1+m_3-m_2-m_4+m_4$ and am not sure why $m_2=m_3$ for the sum to be $0$? where $m_i = dim(V_i)$. Thanks.",
"read only access to all files in a specific sub-folder I have got a specific folder located in \"/home/.../reboot/\". I have a series of users that require read-only access to the ever changing files within. My problem is that the same users are not authorized to view any of the parent directory files. Right now, the only thing I have in place is that their starting folder is at \"/home/.../reboot/\" by changing the etc/passwd file; and I need to block all access to other folders. How could I only give them access to this directory?",
"win 10 home how to rename my home directory and account login",
"Choice function for collection of arbitrary finite sets. AC required?",
"How do I login to the Gamecenter on PewDiePie's Tuber Simulator, if you have not done it when they asked?",
"How to prove that for all natural numbers, $4^n > n^3$? This is a problem set I have, it's not a homework but it's very important practice... Send me some hints please, I don't want an answer I need to get it by myself but I'm failing miserably... The problem is: Prove that for all natural numbers $n$, $4^n > n^3$",
"Integral representation $B_T^3$ I have to find a $F_t$ such that $B_T^3=E[B_T^3]+\\int_0^T F_t dB_t$. I have shown by ito formula that $B_T^3=\\int_0^T 3 B_s^2 dB_s+\\int_0^T 3 B_s ds$. Could you please help me?",
"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.",
"How do I redirect to another webpage? How can I redirect the user from one page to another using jQuery or pure JavaScript?",
"System installation is stalled on Compaq Presario R3000",
"Time Dilation inside a hollow shell Assuming I have a hollow shell with total mass $M$ and radius $r$. On the surface, the gravitational time dilation would be $$\\tau=t \\cdot \\sqrt{1-\\frac{v_{esc}^2}{c^2}}$$ where $$v_{esc} = \\sqrt{\\frac{2 \\cdot G \\cdot M}{r}}$$ but inside the shell there would be no gravitational field (Newton's shell theorem and Birkhoff's theorem). But still, the escape velocity required to escape to infinity would be the same as on the surface, since inside the shell you could move without any accelerating or decelerating forces acting on you until you reach the surface, from where you would get pulled backwards. So is the time dilation inside the hollow shell relative to a field free observer at infinity zero (I assume it's not) or the same as on the surface (my best guess), or something completely different? I found some not really duplicate but related threads on the interior of black holes which did not really focus on the math, but I am more behind the calculations in terms of $M$ and $r$.",
"Why aren’t my villagers breeding? I’ve got one villager up 7 blocks surrounded with 6 doors. On ground level I have villagers who are supposed to breed. They are willing, their inventories are full of potatoes, and I’ve been sitting here for hours. Hearts are popping up above their heads but nothing happens. I am playing on Xbox One."
] |
medi_sts_stackexchange_dupe
|
Evaluate the limit $\lim_\limits{x\to-\infty} (1+\frac{1}{x})^{x^2}$
|
Computing limit of $(1+1/n)^{n^2}$
|
[
"Mutable vs immutable objects I'm trying to get my head around mutable vs immutable objects. Using mutable objects gets a lot of bad press (e.g. returning an array of strings from a method) but I'm having trouble understanding what the negative impacts are of this. What are the best practices around using mutable objects? Should you avoid them whenever possible?",
"Showing that the orthogonal projection in a Hilbert space is compact iff the subspace is finite dimensional Suppose that we have a Hilbert Space $H$ and $M$ is a closed subspace of $H$. Let $T\\colon H\\rightarrow M$ be the orthogonal projection onto $M$. I have to show that $T$ is compact iff $M$ is finite dimensional. So if we assume that $M$ is finite dimensional then $\\overline{T(B(0,1))}$ is a closed bounded set in a finite dim vector normed space and so it is compact. Which gives that $T$ is compact. But I am unsure how to prove that if $T$ is compact then $M$ is finite dimensional? Thanks for any help",
"At the end of the game, how are medals awarded? As a secondary, what is the relation between bronze silver and gold medals, and how much experience do they reward?",
"I have a table and I am always getting the data by ordering a column. In my case, I order by datenum. However, the selection is so slow because of the ordering. Is it possible to order the table after datenum. This column is defined as unique. If defined as an index, would the selection will be faster?",
"I'm looking for a bijection from the closed interval [0,1] to the real line. I have already thought of $\\tan(x-\\frac{\\pi}{2})$ and $-\\cot\\pi x$, but these functions aren't defined on 0 and 1. Does anyone know how to find such a function and/or if it even exists? Thanks in advance!",
"How to group distinct values from a list using odata rest api Hi I have a list with two fields \"Regions\" & \"Countries\" I am using a rest api to retrieve the list of just regions like so: http:mysitename/_api/web/lists/getByTitle('TaxTool')/items?$select=Region In the results there are lots of duplicates and I was wondering how to return unique values.",
"$S := \\{x \\in \\Bbb R^3: ||x||_2 = 1 \\}$ and $T: S^2 \\to \\Bbb R$ is a continuous function. Is $T$ injective? $S := \\{x \\in \\Bbb R^3: ||x||_2 = 1 \\} \\subset (\\Bbb R^3, || \\cdot ||_2 )$ and $T:S^2 \\to (\\Bbb R, |\\cdot |)$ is a continuous function. I've already shown that $$T_{\\mathrm{max}} := \\mathrm{sup}\\{ T(x) : x \\in S^2\\} \\: \\: \\mathrm{ and }\\: \\: T_{\\mathrm{min}}:= \\mathrm{inf}\\{ T(x) : x \\in S^2\\}$$ are reached by $T$ with the argument that $S^2$ is closed and bounded and therefore after the Heine-Borel-Theorem compact, and therefore since T is continuous it assumes its max and min in $S^2$. Now i have answer the following: 1) Is there a point $x_0 \\in S^2$ with $T(x_0)=T(-x_0)$ ? 2) Is there a value $T \\in(T_{\\mathrm{min}}, T_{\\mathrm{max}})$ which is only assumed at exactly one point of $S^2$ ? I wanted to show that $T$ is injective to get that 1) is false and 2) is true but i didn't get anywhere. Any ideas? Thanks in advance!",
"I have a login called user1. user1 can execute stored procedure [Test].[SP1] EXEC [Test].[TestSortation] EXEC [TestSortation] Both of the above commands work. Now if I give the user1 the server role of sysadmin in addition to public. the later of the 2 statements above fails, and throws this error: Could not find stored procedure 'TestSortation'. I don't want to have to change every stored procedure in the database to have the schema name included with EXECute commands manually. Can someone explain to my why this is happening. Also, is there a way to get around this, automatically fix my stored procedures, have the schema default to [Test]?",
"A friend of mine misplaced his passport while staying in Jeju island. Normally I would advise him to just travel to Seoul, get an emergency passport from his embassy and fly back home without issues, but I know that Jeju island has a special immigration regime. Are there any immigration checks on the way from Jeju island to Seoul? If not, can one travel that route without a passport?",
"How do I redirect a domain to another domain locally? My /etc/hosts file looks like this: 127.0.0.1 localhost 10.20.7.67 testsitealpha.dev othersite.dev testsitebeta.dev The first two work. The last one doesn't. Why not? How do I make it work? The reason I am doing this, is because I have a test server (othersite.com), which is on the local network, but it's ip can vary. e.g. 10.20.7.98 one day, 10.20.7.35 another, etc. So, how do I make my system always resolve testsitebeta.dev to the same ip as othersite.dev?",
"Why is energy in a wave proportional to amplitude squared?",
"Why can't a single ReLU learn a ReLU? As a follow-up to I simplified even more and tried to train a single ReLU (with random weight) to a single ReLU. This is the simplest network there is, and yet half the time it fails to converge. If the initial guess is in the same orientation as the target, it learns quickly and converges to the correct weight of 1: If the initial guess is \"backwards\", it gets stuck at a weight of zero and never goes through it to the region of lower loss: I don't understand why. Shouldn't gradient descent easily follow the loss curve to the global minima? Example code: from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, ReLU from tensorflow import keras import numpy as np import matplotlib.pyplot as plt batch = 1000 def tests(): while True: test = np.random.randn(batch) # Generate ReLU test case X = test Y = test.copy() Y[Y < 0] = 0 yield X, Y model = Sequential([Dense(1, input_dim=1, activation=None, use_bias=False)]) model.add(ReLU()) model.set_weights([[[-10]]]) model.compile(loss='mean_squared_error', optimizer='sgd') class LossHistory(keras.callbacks.Callback): def on_train_begin(self, logs={}): self.losses = [] self.weights = [] self.n = 0 self.n += 1 def on_epoch_end(self, batch, logs={}): self.losses.append(logs.get('loss')) w = model.get_weights() self.weights.append([x.flatten()[0] for x in w]) self.n += 1 history = LossHistory() model.fit_generator(tests(), steps_per_epoch=100, epochs=20, callbacks=[history]) fig, (ax1, ax2) = plt.subplots(2, 1, True, num='Learning') ax1.set_title('ReLU learning ReLU') ax1.semilogy(history.losses) ax1.set_ylabel('Loss') ax1.grid(True, which=\"both\") ax1.margins(0, 0.05) ax2.plot(history.weights) ax2.set_ylabel('Weight') ax2.set_xlabel('Epoch') ax2.grid(True, which=\"both\") ax2.margins(0, 0.05) plt.tight_layout() plt.show() Similar things happen if I add bias: 2D loss function is smooth and simple, but if the relu starts upside down, it circles around and gets stuck (red starting points), and doesn't follow the gradient down to the minimum (like it does for blue starting points): Similar things happen if I add output weight and bias, too. (It will flip left-to-right, or down-to-up, but not both.)",
"I am needing to auto increment a field based on groups within a feature class. I have 8 plots within a given polygon and I need to assign them an ID from 1-8 for each set of plots within each polygon. The polygon would have its own unique ID number to be used to group the plots. I assume it would be an alteration of this: rec=0 def autoIncrement(): global rec pStart = 1 pInterval = 1 if (rec == 0): rec = pStart else: rec = rec + pInterval return rec",
"Date and time panel is greyed out, how do I restore it? Date and time is showing in the login screen (unity-greeter) but not when I login to my session. When I go to date and time settings the panel is all grey : Any idea how to recover from this ?",
"I often find that I can zoom in to a point, but then cannot zoom any more, even when there is a lot of room to zoom to the meshes on the scene. This is particularly annoying in the following scenario: I often land up left clicking on the scene and the 3D cursor shifts there. I use Shift+C to shift the 3D cursor back to the origin. However, this also centers the view on the cursor and shifts the view to show all objects, and sometimes this zooms things way out – at this point, if I try to zoom in, I can zoom in to a point (using the pinch/zoom on trackpad), but then it stops zooming in. How do I zoom in after that? Is there anything else I am doing wrong in this case?",
"I remember reading this as a kid and it starts out with: a boy in his home village where the other kids are mean to him during sports and they heat up their home with floating logs or something. The kid is being hunted by some reaper character and that reaper finds him at a place called \"The Edge\" or something similar. He buys a glove covered in an expensive dust that purifies things and is really rare. In one book they had to climb down the edge for some reason. There was another part where people only communicated telepathically and when sneaking into somewhere he only thought of light. One of the main things is the floating ships and how he is really good at flying them and he assembles a team for a mission or something. There is like float powder and stuff. I read this close to 10 years ago.",
"Which is correct: \"has died\" or \"died\"? To me, using Present Perfect form means the event can occur again. So, saying someone has died may not be grammatically correct. Also, I noticed (it might be just coincidence): passed away is used more often than has passed away Is using Present Perfect correct here?",
"My storage was not updated",
"g++ undefined reference with a shared library",
"I have tried using glm::rotate and such. glm::translate works fine, but rotate doesn't work (if I rotate before/after a translation). Here is my current setup: glm::vec4 Off = glm::vec4(0, 0, 0, 1); glm::vec4 result = Util::createTransform(offset) * Off; for (int i = 0; i < Tvertex.size(); i++) { Tvertex[i] += glm::vec3(result.x, result.y, result.z); Tcolors[i] = currentColor; } And here is my Util::createTransform: glm::mat4 Util::createTransform(glm::vec3 pos) { glm::mat4 trans = glm::mat4(1.0); trans = glm::translate(trans, pos); return trans; } glm::mat4 Util::createTransform(glm::vec3 pos, glm::vec3 rot) { glm::mat4 trans = glm::mat4(1.0); trans = glm::rotate(trans, glm::radians(rot.x), glm::vec3(1, 0, 0)); trans = glm::rotate(trans, glm::radians(rot.y), glm::vec3(0, 1, 0)); trans = glm::rotate(trans, glm::radians(rot.z), glm::vec3(0, 0, 1)); trans = glm::translate(trans, pos); return trans; }"
] |
medi_sts_stackexchange_dupe
|
Telepathic female alien crash-lands on earth, fights bug-like aliens
|
Please help identify this 2-part TV movie: Alien woman crash-lands on earth, falls in love, 199x
|
[
"\"(CRON) info (No MTA installed, discarding output)\" error in the syslog",
"How can I attach a file to a question?",
"Portrait for phone, landscape for Tablet (Android-Layout)",
"What finite groups always have a square root for each element? If $G$ is an odd cyclic group of order $n$, then each element $g$ of $G$ has another element $h$ such that $h^2=g$. This is because $2 x = y \\mod n$ is solvable for $x$. (Note this is not the same as solving $x^2=y \\mod n$.) What other finite groups have this property?",
"On sites with new responsive theme, word wrap on long titles breaks in the middle of a word For sites that have the new responsive theme enabled, where the \"Ask Question\" button is in line with the question title on question pages, the word wrap on long titles is not working correctly. It will break a word across two lines. Here is an from Personal Finance and Money: Maximum width, left nav hidden: Narrow width: This is also happening on beta sites. Here is an on Sports: These screenshots were all taken on Firefox, but I am seeing the same problems in Chrome and Internet Explorer. One more example:",
"A flying fly inside a sealed box on a scale suppose there is a scale able to measure weight with an uncertainty of $10^{-9}kg$ . On the scale, an airtight plastic chamber is placed. Initially, a fly of mass $10^{-5}kg$ is sitting at the bottom of the chamber, which sits on the scale. At a later point in time the fly is flying around the chamber. Will there be a difference in the observed weight as measured by the scale when the fly is sitting at the bottom of the chamber compared to when it is flying around the chamber at some point in time? If so, what does the value of this difference depend on (I am most concerned with the case where the fly has not touched any surface of the container in enough time for the scale to reach some equilibrium value (or do the pressure variations induced from the flies wings cause constant fluctuations in the scale)?",
"Let $ \\sigma(A)$ be the set of all eigenvalues of $A$. Show that $ \\sigma(A) = \\sigma\\left(A^T\\right)$ where $A^T$ is the transpose matrix of $A$.",
"$P[X=x]=0$ when $X$ is continuous variable",
"How do I fork a process that doesn't die when shell exits?",
"How to only append to clipboard (but not overwrite current data)? I have a rather large file, I need to copy the entire contents somewhere, but when I scroll down the page all the data I have selected becomes unselected. I could just copy and paste block by block, but I would find it much easier as there is a lot of data, to just be able to append the contents to the end of the current clipboard data. Is that possible? That is so that I can have a keyboard shortcut which will enable me to copy this to the clipboard: I am some nice new text. When this is what is already there: I am the old text. And have it look like this when pasted: I am the old text. I am some nice new text. So there are 3 things that I would really like from this (I would have 3 separate keyboard shortcuts to do this): Append the data to the end of the clipboard and have it put in a RETURN before it (as shown in the example above). Append the data to the end of the clipboard but have it so that there is not RETURN before it so that it would continue on on the same line initially. Have all this but so that the data is put at the beginning of the clipboard before all the data which is currently there. I am running Ubuntu GNOME 16.04 with GNOME 3.20.",
"How to automatically create large number of columns in Excel 2013 I would like to start a new excel spreadsheet, create a column named Column1, and quickly fill in increments, (Column2, Column3 etc) up to Column500. Is there an easy way to do this? Also is there an easy way to afterwards select all 500 columns and add 10 rows of data to all of them?",
"Filter subscription email is not being delivered (June 2019 - Feb 2020) I have created a custom filter in and specified that I would like to get email updates: However, I never got a confirmation mail nor any notifications based on my filter. I tried the "resent confirmation mail" button on the right hand sidebar: But again nothing happens. The mail address should be fine I used it for all kinds of notifications from Stack Exchange. For example the rep recalculation email arrived just fine on this address. I retyped it several times to make sure there really isn't any typo I double checked that it did not end up in the spam filter I don't think it is a problem with my particular email provider, users with other mail providers seem to have the same problem, see This is possibly related to , but this claims to be "status complete". EDIT: Although the "status-completed" tag was added, the problem still persists EDIT 2: As of Feb 2020, it finally works",
"Show that for any prime $ p $, there are integers $ x $ and $ y $ such that $ p|(x^{2} + y^{2} + 1) $. So we obviously we want $ x^{2} + y^{2} + 1 \\equiv 0 ~ (\\text{mod} ~ p) $. I haven’t learned much about quadratic congruences, so I don’t really know how to go forward. I suppose you can write it as $ x^{2} \\equiv -1 - y^{2} ~ (\\text{mod} ~ p) $, but again, I’m not sure where to go. I know about the Legendre symbol and quadratic residues, which I know are involved in this question, but I don’t know how to apply what I know. :(",
"Finding an isomorphic subring of matrices",
"Some mesh-edges in object-mode aren't displayed So I have been extruding a cube to make a low poly banana and when I go from edit to object mode half the edges don't appear as well as half is dark. I tried looking for an solution couldn't find one and its making me feel like I am doing something wrong so I decided to come here.",
"Proving that a Hölder space is a Banach space I am trying to show that the Hölder space $C^{k,\\gamma}(\\bar{U})$ is a Banach space. To do this, I successfully proved that the mapping $\\| \\quad \\| : C^{k,\\gamma}(\\bar{U}) \\to [0,\\infty)$ is a norm, by proving its properties. But how do I show that the sequence $\\{u_k\\}_{k=1}^\\infty \\subset C^{k,\\gamma}(\\bar{U})$ converges to $u \\in C^{k,\\gamma}(\\bar{U})$, that is, how do I show that $$\\lim_{k \\to \\infty}\\|u_k-u\\|=0,$$ which would mean the normed linear space is complete, and hence a Banach space? Here are the following taken from PDE Evans, 2nd edition, page 255: Definition. The Hölder space $$C^{k,\\gamma}(\\bar{U})$$ consists of all functions $u \\in C^k(\\bar{U})$ for which the norm $$\\|u\\|_{C^{k,y}(\\bar{U})}:= \\sum_{|\\alpha|\\le k} \\|D^\\alpha u \\|_{C(\\bar{U})}+\\sum_{|\\alpha|=k} [D^\\alpha u]_{C^{0,\\gamma}(\\bar{U})}$$ is finite. Also from page 254, Definitions. (i) If $u : U \\to \\mathbb{R}$ is bounded and continuous, we write $$\\|u\\|_{C(\\bar{U})}:=\\sup_{x\\in U}|u(x)|.$$ (ii) The $\\gamma$th-Hölder seminorm of $u : U \\to \\mathbb{R}$ is $$[u]_{C^{0,\\gamma}(\\bar{U})}:=\\sup_{\\substack{x,y\\in U \\\\ x \\neq y}} \\left\\{\\frac{|u(x)-u(y)|}{|x-y|^\\gamma} \\right\\},$$ and the $\\gamma$th-Hölder norm is $$\\|u\\|_{C^{0,\\gamma}(\\bar{U})}:=\\|u\\|_{C(\\bar{U})}+[u]_{C^{0,\\gamma}(\\bar{U})}.$$ This is all I got so far: \\begin{align} \\|u_k-u\\|_{C^{k,\\gamma}(\\bar{U})}&=\\sum_{|\\alpha|\\le k} \\|D^\\alpha u \\|_{C(\\bar{U})}+\\sum_{|\\alpha|=k} [D^\\alpha u]_{C^{0,\\gamma}(\\bar{U})} \\\\ &= \\sum_{|\\alpha|\\le k} \\sup_{x\\in U} |u_k(x)-u(x)|+ \\sum_{|\\alpha|=k} \\sup_{\\substack{x,y\\in U \\\\ x \\neq y}} \\left\\{\\frac{|[u_k(x)-u(x)]-[u_k(y)-u(y)]|}{|x-y|^\\gamma} \\right\\}. \\end{align} Now, where can I go from here, to show that $\\lim_{k \\to \\infty}\\|u_k-u\\|_{C^{k,\\gamma}(\\bar{U})}=0$? The sequence is Cauchy, and I have to use that fact somehow.",
"CentOS 7 DVD ISO vs Everything ISO different",
"In case of shell-builtins (eg type itself): $ type type type is a shell builtin $ which type <Doesn't return anything since it's a shell builtin, silently exits> In case of commands (normally) (eg python): $ type python python is /usr/bin/python $ which python /usr/bin/python In case of which (which is a command located at /usr/bin/which) $ type which which is hashed (/usr/bin/which) $ which which /usr/bin/which Why does type which say that which is hashed? What is the significance of which being hashed and what does it actually mean?",
"Prediction based on bayesian model I have created a bayesian model that estimates 6 parameters using rjags from R. Now i want to do some predictions based on new data in R. Can anyone help me with an example. model { B.m[1] <- Kb # mean B[1] B[1] ~ dnorm( B.m[1], tau_B) for(t in 2 : 10) { # Process model B.m[t]<- max( B[t-1] + rB[t-1](1 -B[t-1]/K) - C[t-1] , 0.0) B[t] ~ dnorm(B.m[t], tau_B) } # Observation mode for (t in 1: 10) { LogC_mean[t] <- log( max(qsegB[t]Eff[t], 0.000001)) C[t] ~ dlnorm(LogC_mean[t], tau_c) } # Prior b~dbeta(1, 1) cv <- 1 K.mean <- 500000 K.v <- pow(cvK.mean, 2) K.tau <- 1/K.v K ~ dnorm(K.mean, K.tau) r ~ dlnorm(0.0, 1.4) qseg ~ dlnorm(-15.4, 1.44) tau_c ~ dgamma(0.001,0.001) tau_B ~ dgamma(0.01,0.01) } }",
"Custom thumbnailers don’t work on Ubuntu 18.10 and 18.04 Recently I had a bunch of my own scripts for the thumbnails in Nautilus: , , office documents and so on. Seems like either I’m doing something wrong (thumbnail generation behavior changed), or custom thumbnailes don’t work in latest GNOME at all, even my previous scripts, which worked smoothly on previous versions of Ubuntu. I’ve done some research, tried to run a simple script (see below) and it didn’t work out. My test thumbnailer in /usr/share/thumbnailers/z.thumbnailer: [Thumbnailer Entry] Exec=/home/maximal/thumb.sh %s %i %u %o MimeType=image/webp;image/x-webp Where /home/maximal/thumb.sh is: #!/bin/bash echo $0 >> /home/maximal/thumb.log echo $1 >> /home/maximal/thumb.log echo $2 >> /home/maximal/thumb.log echo $3 >> /home/maximal/thumb.log echo $4 >> /home/maximal/thumb.log Then, when I remove thumbnail cache rm -rf ~/.cache/thumbnails and restart Nautilus nautilus -q, my log file doesn’t contain anything and ~/.cache/thumbnails/fail/gnome-thumbnail-factory contains all the failed thumbs (looks like corrupted/empty PNGs): So, apparently, Nautilus even didn’t try to execute my thumbnailer script. When I try to run thumb command itself, it works perfectly. For example convert through cwebp|dwebp package: convert -thumbnail 256x256 file.webp png:file.webp.png When I wrap this command to a thumbnailer, it looks like it wasn’t even requested to run by Nautilus. [Thumbnailer Entry] Exec=convert -thumbnail %sx%s %i png:%o MimeType=image/webp;image/x-webp; Exactly the same situation occurs with other my thumbnailers: audio waveforms, office documents, photoshop files and so on. Could anyone help?"
] |
medi_sts_stackexchange_dupe
|
Replacing axiom of infinity
|
A weaker Axiom of Infinity?
|
[
"How do I share variables between two functions? So...here is part of my code for a plugin. I'm a newb of sorts so be kind. I've read up on global variables but I can't seem to get it to work and I've read you shouldn't use them anyway. So what would be the best way to write the code below without having to re-declare the variables for each function? Here is the if necessary. // Display the product badge on the shop page add_action( 'woocommerce_after_shop_loop_item_title', 'wc_simple_product_badge_display_shop', 30 ); function wc_simple_product_badge_display_shop() { $title = get_post_meta( get_the_ID(), '_wc_simple_product_badge_title', true ); // badge title $class = get_post_meta( get_the_ID(), '_wc_simple_product_badge_class', true ); // badge class $duration = get_post_meta( get_the_ID(), '_wc_simple_product_badge_duration', true ); // badge duration $postdate = get_the_time( 'Y-m-d' ); // post date $postdatestamp = strtotime( $postdate ); // post date in unix timestamp $difference = round ((time() - $postdatestamp) / (24*60*60)); // difference in days between now and product's post date if ( !empty( $title ) && empty( $duration ) || !empty( $title ) && $difference <= $duration ){ // Check to see if there is a title and the product is still within the duration timeframe if specified $class = !empty( $class ) ? $class : ''; echo '<span class=\"wc_simple_product_badge ' . $class . '\">' . $title . '</span>'; } } // Display the product badge on the single page add_filter( 'woocommerce_single_product_image_html', 'wc_simple_product_badge_display_single' ); function wc_simple_product_badge_display_single( $img_html ) { $title = get_post_meta( get_the_ID(), '_wc_simple_product_badge_title', true ); // badge title $class = get_post_meta( get_the_ID(), '_wc_simple_product_badge_class', true ); // badge class $duration = get_post_meta( get_the_ID(), '_wc_simple_product_badge_duration', true ); // badge duration $single_opt = get_post_meta( get_the_ID(), '_wc_simple_product_badge_single_page_option', true ); // badge on single page $postdate = get_the_time( 'Y-m-d' ); // post date $postdatestamp = strtotime( $postdate ); // post date in unix timestamp $difference = round ((time() - $postdatestamp) / (24*60*60)); // difference in days between now and product's post date if ( !empty( $title ) && empty( $duration ) && $single_opt === 'yes' || !empty( $title ) && $difference <= $duration && $single_opt === 'yes' ){ // Check to see if there is a title and the product is still within the duration timeframe ()if specified) and the checkbox is checked to show on single page view $class = !empty( $class ) ? $class : ''; echo '<span class=\"wc_simple_product_badge ' . $class . '\">' . $title . '</span>'; return $img_html; } elseif ( $single_opt === 'no' ) { // Check to see if the checkbox is unchecked to show on single page view return $img_html; } }",
"When a Battle Master fighter gets a critical hit and uses a maneuver that adds a superiority die to the damage, is that damage die doubled? The Battle Master fighter has access to a number of maneuvers that add a superiority die to the damage roll. For instance, the Trip Attack maneuver says (PHB, p. 74): When you hit a creature with a weapon attack, you can expend one superiority die to attempt to knock the target down. You add the superiority die to the attack’s damage roll, and if the target is Large or smaller, it must make a Strength saving throw. On a failed save, you knock the target prone. The Critical Hits rule states (PHB, p. 196): When you score a critical hit, you get to roll extra dice for the attack’s damage against the target. Roll all of the attack’s damage dice twice and add them together. Then add any relevant modifiers as normal. [...] If the attack involves other damage dice, such as from the rogue’s Sneak Attack feature, you roll those dice twice as well. During our game, the fighter PC rolled a critical hit. He then wanted to use a superiority die to use the Trip Attack maneuver to trip the enemy. Based on the above rules, is the damage from the superiority die also doubled? I'm assuming the answer is yes based on the last statement in the Critical Hits section, but I wanted to confirm.",
"What exactly is the difference between a parametric and non-parametric model? I am confused with the definition of non-parametric model after reading this link and . Originally I thought \"parametric vs non-parametric\" means if we have distribution assumptions on the model (similar to parametric or non-parametric hypothesis testing). But both of the resources claim \"parametric vs non-parametric\" can be determined by if number of parameters in the model is depending on number of rows in the data matrix. For kernel density estimation (non-parametric) such a definition can be applied. But under this definition how can a neural network be a non-parametric model, as the number of parameters in the model is depending on the neural network structure and not on the number of rows in the data matrix? What exactly is the difference between parametric and a non-parametric model?",
"When performing machine learning, the performance of the machine learning method is dependent on the original function $f$ that we are trying to learn (let's forget for a moment the non-deterministic error and focus on the properties of $f$). I have a conceptual question. What would make a function easy to learn? For instance, a linear function can be easily learnt by linear methods such as linear regression and SVM. But in the general case, what would make a function easier to learn for decision trees or a neural network? I believe feature engineering helps us move to a feature space in which the function we want to approximate is easier to represent. But what properties exactly are we trying to achieve for this function?",
"Why do I get compiler errors with this Java code? 1 public List<? extends Foo> getFoos() 2 { 3 List<? extends Foo> foos = new ArrayList<? extends Foo>(); 4 foos.add(new SubFoo()); 5 return foos; 6 } Where 'SubFoo' is a concrete class that implements Foo, and Foo is an interface. Errors I get with this code: On Line 3: \"Cannot instantiate ArrayList<? extends Foo>\" On Line 4: \"The method add(capture#1-of ? extends Foo) in the type List<capture#1-of ? extends Foo> is not applicable for the arguments (SubFoo)\" Update: Thanks to Jeff C, I can change Line 3 to say \"new ArrayList<Foo>();\". But I'm still having the issue with Line 4.",
"How do you compute the earth's radius at a given geodetic latitude?",
"I'm trying to graph the function $y = \\frac{x^2-4}{x-2}$. I factored the numerator into $(x+2)(x-2)$, and then canceled the common factor (x-2), leaving the function as $y = x + 2$. Is it acceptable to graph the original function as $y = x + 2$, a straight line with domain and range all real numbers? Or do you have to restrict the domain as in the original function? Thanks, Sean",
"I'm looking for a short story from about 50 years ago about a robot who escapes after being slated to be melted down and discovers while in hiding that it has evolved to have some supernatural powers.",
"(c) Let $\\mathcal{L}^*\\subseteq\\mathcal{L}^{\\text{FOPC}}$ be a first order language of predicate calculus consisting of three unary function symbols $f,g,h$. (i) Write down an $\\mathcal{L}^*$-sentence $\\phi$ such if $\\mathcal{A}$ is an $\\mathcal{L}^*$-structure with $\\mathcal{A}\\vDash\\phi$ then the restriction of $h_\\mathcal{A}$ to the range of $f_\\mathcal{A}$ gives a one-to-one function onto the range of $g_\\mathcal{A}$. (ii) Write down an $\\mathcal{L}^*$-sentence $\\psi$ such that if $\\mathcal{A}$ is an $\\mathcal{L}^*$-structure with $\\mathcal{A}\\vDash\\psi$ and the domain $A$ of $\\mathcal{A}$ is finite then the cardinality $|A|$ is a square. Part (i) is easy enough, but I'm having trouble with part (ii). I assume that you can use part (i). My initial idea was to use $h$ to ensure $|Range(f_A)| =|Range(g_A)|$ but I'm not sure where to go from there. Thanks.",
"I'm working with that has X Y coordinates. They are akin to '3672187.92698000, 534175.72095400'. I would like to convert them to longitude latitude so they are more like '-90.097017, 29.963176'. I've seen this however I don't have that software. I was able to download and install but I am unfortunately perplexed by its complicated interface. Would like to do the conversion with it, if possible.",
"Properties of invertible matrices Show that if $A$, $B$, and $A + B$ are invertible matrices with the same size, then $A(A^{-1}+B^{-1})B(A+B)^{-1}=I$ What does the result in the first part tell you about the matrix $(A^{-1}+B^{-1})$? I get the first part. Help me with the second part.",
"Is JavaScript a pass-by-reference or pass-by-value language? The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself). Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?",
"How to fix \"The system is running in low-graphics mode\" error?",
"Lightning Cancel Enqueued Server Side Action",
"Rotation and translation of a conic-section I tried to solve the following exercises, so I want to ask you if my answers are correct. 1) Given the coordinates system $(O'; X'' Y'')$ asociated to the basis $B=[{b_1=\\frac{1}{\\sqrt{2}}; \\frac{1}{\\sqrt{2}}; > b_2=\\frac{-1}{\\sqrt{2}}; \\frac{1}{\\sqrt{2}}}]$ with origin in $O'=(2;5)$ and the system $(O;XY)$ asociated to the standar basis, find the intersection between $Q: y''^2=-4 \\sqrt{2} x''$ and the straight line in $(O,XY)$ $V=(0;5)+t(-1;1) t\\epsilon R$ Well, first I tried to write $Q$ in terms of $X$ and $Y$, and not in terms of $X''$ and $Y''$. I used the formula: $(\\begin{matrix} X''\\\\ Y'' \\\\ \\end{matrix})$ =$(C)_B$ × $(\\begin{matrix} X-2\\\\ Y-5 \\\\ \\end{matrix})$ Then I replaced those values in the equation of $Q$ and I got $Q: \\frac{(-x+y-3)^2}{2}=-4 \\sqrt{2} \\frac{(x+y-7)}{\\sqrt{2}}$ After that, I found the intersection between $Q$ and $V$ using equations and I got that the intersection points in $(O;XY)$ are $P_1(3;2)$ and $P_2(-1;6)$ 2)Given the coordinates system $(O,X'Y')$ asociated to the basis $B=[{b_1=\\frac{1}{\\sqrt{2}}; \\frac{1}{\\sqrt{2}}; > b_2=\\frac{-1}{\\sqrt{2}}; \\frac{1}{\\sqrt{2}}}]$ with origin in $O=(0;0)$ and the ellipse $9X'^2+5Y'^2-3X'+2Y'-10=0$ find the coordinates of the centre of the ellipse in $(O,XY)$ So, here I found the centre of the ellipse in $(O,X'Y')$ and it was $(\\frac{1}{6}; - \\frac{1}{5})$, then, doing something similar to what I've done before I found out that the centre in $(O,XY)$ was $( \\frac{11}{30 \\sqrt{2}};$ $\\frac{-1}{30 \\sqrt{2}}$)",
"How can I recover photo files from a memory card with a corrupt filesystem? I know this is not specifically a photography issue but since many of us with prosumer/professional-level DLSRs use Compact Flash cards, it is bound to happen to others as well. I have a Sandisk 16GB Ultra card that occasionally had the camera reporting inability to access the card. I had to reinsert the card to continue using it. I was able to read the card and transfer the photo files to my computer drive. Today, the same thing happened again, just that nearing the capacity of the card, it failed one last time and the camera was subsequently unable to read it anymore. Despite reinsertion. My other CF cards never once exhibited this problem, so it's pretty much isolated to this card. The card is similarly unrecognisable on my computer CF card reader. I think the filesystem is toast, but I suspect the photo files are still intact. I would like to find ways where I can inspect the raw binary data in the card and hopefully recover the photos?",
"I need rules to drop some malicious Apache connections I drop all traffic on ports except on 80 for my web server. I have some rules like this on iptables: iptables -A INPUT -p tcp -m tcp --dport 80 -m string --string \"cgi\" --algo bm --to 1000 -j DROP Someone who have more can share? I know always the bad hackers still updating, but some of them always begin with the same code. I need to Drop the connection based on some criteria. Here are some Apache log (I remove ips but each atack come from the same): Attack 1: This I don't know what are trying to do, but make it 50 times from the same ip GET / HTTP/1.1 301 224 - Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 GET / HTTP/1.1 302 3387 - Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.152 Safari/537.22 Attack 2: this try to get information about server only. GET / HTTP/1.1 301 224 http://myip:80/ Go-http-client/1.1 GET / HTTP/1.1 302 3228 http mywebsite Go-http-client/1.1 GET /es/ HTTP/1.1 200 40947 https mywebsite Go-http-client/1.1 Attack 3: they try get access to a login page vulnerability GET /userlogin/login.aspx HTTP/1.1 302 186 - - Attack 4: this try to access a cgi at first request, (see my first iptables rule to drop this) GET /hndUnblock.cgi HTTP/1.0 302 186 - Wget(linux) GET /tmUnblock.cgi HTTP/1.0 302 186 - Wget(linux) I'm very new with server this 4 attacks are from only last 12 hours... Have thousands per week.",
"The sequence of triangular numbers is well known. Consider now the triangular numbers modulo some positive natural number $k$. That is, let $T_{n,k}$ be the remainder of dividing $T_n$ by $k$. For the regular sequence of triangular numbers, we can take as convention $T_n = T_{n, \\infty}$. Question: For all values of $k, i < k$, does there exists some $n$ such that $T_{n, k} = i$",
"Elementary central binomial coefficient estimates",
"I have a Alcatel onetouch model 50540 running android 5.1.1 as in the title. it is rooted and began uninstalling pre-installed bloatware on my device. I do not have a complete list of uninstalled apps because I had only kept track after the first few, but ill list the ones I do know about Download Manager Downloads Talkback Hangouts Cricket Wi-Fi Manager Camera Email Onetouch Launcher That is the essence of what I did. I do have an edited hosts file as a makeshift adblock. Play store gives me an error code 0 to which I removed app data and tried again, same problem. I have tried installing local apps which brings up an \"app not installed\" box. Lastly I have tried do directly extract the app into /data/app and rebooting which didn't work."
] |
medi_sts_stackexchange_dupe
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.