public static boolean isIsomorphic(String s, String t) {     HashMap<Character, Character> res1 = new HashMap<Character, Character>();     HashMap<Character, Character> res2 = new HashMap<Character, Character>();     char[] sToArray = s.toCharArray();     char[] tToArray = t.toCharArray();     if (s == null && t == null)         return true;     if (s == null || t == null || s.length() != t.length())         return false;     for (int i = 0; i < sToArray.length; i++) {         ***if ((!res1.containsKey(sToArray[i])) && (!res2.containsKey(tToArray[i])))*** {             res1.put(sToArray[i], tToArray[i]);             res2.put(tToArray[i], sToArray[i]);          } else {              if ((res1.get(sToArray[i]) != tToArray[i]) || (res2.get(tToArray[i]) != sToArray[i]))                 return false;          }      }     return true;  }   Given two strings s and t, determine if they are isomorphic. When the test case is "ab" "aa"; there will be an nullpointerexception for if ((!res1.containsKey(sToArray[i])) && (!res2.containsKey(tToArray[i]))) I checked res1 does not equal to null and res2 does not equal to null. Could anybody tell the reason? Thanks very much!

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?


What is the limit superior of  $\dfrac{1}{\left| \left(\frac{1}{n!}\right)^\frac{1}{n} \right|}$ as n approaches infinity?  So far I have been able to establish that $n≤n!$ for $n≥1$ which the gives that $\frac1{n!}≤\frac1n$ from there I used the sandwich theorem on $0≤\frac1{n!}≤\frac1n$ to reach the conclusion that $\frac1{n!}$ tends towards zero as $n$ approaches infinity. I am now stuck on how to deal with the exponent $\frac1n$.

How do I prove that $ \displaystyle\lim_{n \to{+}\infty}{\sqrt[n]{n!}}$ is infinite?


I found this thread:    It works great. But when I change to LuaLaTeX there is still just 1 cpu active.  So is there a way to achive this with LuaLaTeX aswell?

I am using \write18 enabled (or --shell-escape) with externalization to compile a bunch of PGFplots. The first run takes much time, and I noticed that pdflatex only runs on one CPU core.  Is there any way to have pdflatex use multiple cores? (at least when \write18 is enabled)


A 60 card deck has 4 1a, 1b, 2a, 2b, 3a, 3b, 4a, and 4b cards (32 in total) and 28 blank cards. When x cards are drawn, what are the chances that at least 1 of any of the four pairs are drawn (such as drawing both a 1a and 1b or a 3a and two 3bs). It should be 100% above 44 and 0% below 2.  How do I arrive at the answer to it? I've tried several equations but they've gotten close, not exactly correct.

Yesterday my housemates and I were playing card games and someone popped this question. We tried to solve the problem, but we couldn't figure it out. This morning I woke up and I am still wondering how to solve it. Will you please help me out?


I've made a script to execute rsync only when $VAR (part of a file path) has some content and in case it's empty the script will stop and return error 1. This is the command: test -n $VAR && rsync -rHptgoz --delete "$ORIGEN$VAR/" "$DESTI" || exit 1  So if before that command I add VAR='' the script should exit but it doesn't. What am I doing wrong?

Any idea why echo statement is being executed in both scenarios?  Outputs it worked:  #!/bin/bash  rizwan='' if [ -n $rizwan ]; then   echo "it worked" fi   Replace -n with -z, and it outputs it worked when expecting no output:  #!/bin/bash  rizwan='' if [ -z $rizwan ]; then   echo "it worked" fi


My understanding of "is" is that it checks if the two operands point to the same structure. I am unsure why this is true   x = 1 y = 1 y is x   and why this is false  l1 = [1,2,3] l2 = [1,2,3] l1 is l2   Similarly, why is the first not false as well? Is it saying that when I initialize x, it creates the object with int value "1", and from now on, whenever I initialize variables to have "1", it will point to the first object.    If so, I am curious why its not the same with the second example.

My  has failed me.  In Python, are the following two tests for equality equivalent?  n = 5 # Test one. if n == 5:     print 'Yay!'  # Test two. if n is 5:     print 'Yay!'   Does this hold true for objects where you would be comparing instances (a list say)?  Okay, so this kind of answers my question:  L = [] L.append(1) if L == [1]:     print 'Yay!' # Holds true, but...  if L is [1]:     print 'Yay!' # Doesn't.   So == tests value where is tests to see if they are the same object?


Let $A \in \text{M}_{n \times n}(\mathbb{C})$. How do I see that if $\lambda_1, \dots, \lambda_n$ are the eigenvalues of $A$, then for any polynomial $P(\cdot)$, I have that $P(\lambda_1), \dots, P(\lambda_n)$ are the eigenvalues for $P(A)$?

Title looks a little bit twisted. What I want to say is the following:  $A\in\mathbb{R}^{n\times n}$, polynomial of matrix $A$: $P(A)=\displaystyle \sum_{k=0}^{n} c_k A^k$. $\lambda(A)$ is the set of eigenvalues of $A$.   So, we want to prove $\lambda(P(A))=P(\lambda(A))$  So far, I can prove it when $A$ is diagonalisable, but when $A$ is not diagonalisable, it seems we can't just simply use Jordan normal form to prove it. (Or this statement won't hold when it's not diagonalisable?)  Can anyone suggest me something and help me out? Thanks!


There's a related question about editing the text of spam: . I've always understood this to include any sort of edits on a spam post, including tag edits. The tag exert for the Stack Overflow  tag includes an explicit warning  DO NOT USE THIS TAG ON QUESTIONS THAT ARE SPAM, we have a special flag for that!  I recently noticed that an  on ExpressionEngine Answers SE was treated exactly the way it is not supposed to be treated on Stack Overflow - a 3000+ rep user has retagged the question as [spam] and voted to close it seven hours after it was posted. So, Should questions that are spam be retagged as [spam] in addition to flagging as spam? This is not the same question as  as that question is about editing out the text of spammy advertisements. This question is about leaving the text as-is and retagging the question as [spam], presumably to adjust its visibility on the site or bring it to the attention of users who might be interested in flagging it as spam.

I noticed that the posts of the recent spam surge on Ask Ubuntu were all edited by community members into something like     EDITED - REMOVED SPAM ANSWER   or similar.  While I understand why the users have done this and I too don't want to leave the spam content visible for longer than absolutely necessary, it made flagging more time consuming for me.  I had to check the revision for every of those possible spam posts to check if it is actually spam, instead of being able to flag directly from the review site. Spam flags carry a serious penalty, I'm not willing to add my spam flag without checking that it's really spam.  I see the benefit of editing spam, but it also causes some more effort for the later flaggers. Should we as a general policy edit out the content of spam posts, or should we deal with them solely by flagging?


With the following code, I am able to draw a parabola y=x^2, but unable to draw parabola x=y^2, showing some error, please help.   \documentclass{article} \usepackage{tikz,pgfplots} %\usepackage[x11names]{xcolor} \usepackage{tikz} \usetikzlibrary{intersections} \pgfdeclarelayer{bg}    % declare background \pgfsetlayers{bg,main}  % order of layers (main = standard layer) \pgfplotsset{compat=1.13} \usepackage{amsmath} \usetikzlibrary{positioning}      \begin{document}    \begin{tikzpicture}[domain=0:2, scale = 0.75] \draw(-4,0)--(4,0); \draw (0,-4)--(0,4); \draw[black, line width = 0.50mm]   plot[smooth,domain=-2:2] (\x, {(\x)^2});  \draw[black, line width = 0.50mm]   plot[smooth,domain= -2:2] (\y,  {(\y)^2}); \end{tikzpicture} \end{document}

pgfplots is not quite comfortable plotting sqrt(x) near x=0. The graphic can be improved by setting samples=2000 (not less), but this seems overkill to me.  Is there a way to plot x as a function of y, while keeping the x axis horizontal and the y axis vertical? This would solve the issue of plotting sqrt(x) by simply replacing it with x=y^2.  \documentclass{article}  \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture}  \begin{axis}   \addplot[] {sqrt(x)};   \addplot[] {-sqrt(x)};  \end{axis} \end{tikzpicture}  \end{document}


Since sin⁻¹(x) means the inverse of sin(x), also written as arcsin(x), how would you write 1/sin(x)? Since sin²(x) actually does mean sin(x) * sin(x), can you write 1/(sinx *sinx) as sin⁻²(x)?

I know that different people follow different conventions, but whenever I see $\arcsin(x)$ written as $\sin^{-1}(x)$, I find myself thinking it wrong, since $\sin^{-1}(x)$ should be $\csc(x)$, and not possibly confused with another function.  Does anyone say it's bad practice to write $\sin^{-1}(x)$ for $\arcsin(x)$?


I am new in Deep learning. And was implementing linear regression NN from scratch I have seen y = X*W +b  so i believe bias is for per node. Like layer haveing 4 node then number of biases will be 4. Per according to this formula it saying bias is for per layer. And all the nodes have that same bias Is that correct ?

I am trying to understand biases in neural nets, but different websites show very different answers.   For example, how many biases is there in a fully connected neural network with a single input layer with 5 units and a single output layer with 4 units? And what about a fully connected neural network with a single input layer with 5 units, a single hidden layer with 4 units, and a single output layer with 3 units?  For example, if I understand this correctly, , the answer of the first should be 5 and for the second 4 + 3. Each neuron except for in the input-layer has a bias.  However, at , it is explained such that each layer including the input-layer has one bias. So the answer to the example above is one in the first and two in the second.   What is correct? What am I misunderstanding here?


This is how text looks like in TeX:   Here's under magnification:  This persists and looks about the same even when I print it out.  By comparison, here's how the text looks in Word (Calibri):  And magnified:  When reading the TeX paragraph, I feel like the letters are swimming before my eyes and can't be focused on. Is this font style on purpose, perhaps because it's easier to read in the long run, or is that an error in my configuration?  This happens even with the example here:

What are the differences between the original (rasterized) CM fonts and the current (smooth PDF-friendly) type1 versions of these fonts?  It seems to me that the originals are much better looking. They are "thicker". You can clearly see the difference in printed output. The type1 ones are somewhat "thinner".  Why is this? Why aren't they exactly the same?  And final question: On a modern MacTeX distribution (on my Mac OS X), how can I compile my document with the older fonts?  Update: I feel the current answers haven't answered some of the sub-questions and, more importantly, haven't provided the proper understanding that I'm looking for. The question can be rephrased: I look at "Digital Typography" by Knuth and a recent mathematics book on my shelf. Both are clearly printed in very high resolution—the fonts are smooth and look how they are supposed to look. But the font in Knuth's book is far "thicker" and has a much warmer, juicier, and nicer feel to it. On the other hand, I recognize the font in the mathematics book as the modern ubiquitous "smooth type1" CM font. In comparison to the font in Knuth's book, it looks thin and pale. I'm looking for some foundational understanding for why this is the case and why it turned out this way. Any font experts in here?


Solve $15x$ "congruent to" $20\mod 88$  So far I think I know $15\mod 88$ is $-41$ or if positive $47$`

Use Euclid's algorithm to find a multiplicative inverse of 15 mod 88, hence solve the linear congruence $15x\equiv 20 \pmod{88}$  So far I have:   $88=5\cdot15+13$  $15=1\cdot13+2$  Backwards substitution gives  $15v+18w=1$   $1=15-1\cdot13$   $=15-1(88-5\cdot15)$   $=15\cdot15-1\cdot88$   now very stuck what to do from here:(


I have an old iMac (500GB HDD, 4GB Memory). How do I partition my disk to install and run (only) Ubuntu on it?  Another question, what are the differences between partitioning a disk as /, /home, and /boot, /home, /usr?  Should I partition my iMac as  /, /home, or /boot, /home?   How do I crate a "swapfile"?  According to my iMac's spec, how do I set the disk space for each partition?  I'm using the 19.10 Ubuntu.  Some say that the question is duplicate. But I cannot find the info I want at Ask Ubuntu.

Till now I was windows user. From now on I want to use only Linux.   I have 500Gb HDD. How do I partition it properly? I read that there is no right or wrong way, but still, I am confused. I did something and I have primary partition mounted on / (160Gb) which I believe is a OS and 350Gb extended partition of which I have 4Gb of swap and 346Gb mounted on /home.  I got used to C:\ and D:\ partitioning, but I don't see file system in that way. I am lost. Where is what? How can I make C:\ partition for OS and D:\ for apps, movies, music, photos. Or what I want is Windows way and I have to get used to Linux way?


I would like to see which numbers in Column A are not in Column B, with "Yes" or "No" displayed in Column C. I am trying to find a text with 10 numeric digits.  More specifically, I want to know which digits are in column A that are not in Column B. These are ISBNs of books that often begin with 0. Is there a format that would work better? As indicated, the results should be in Column C.  Example Data

First off, I'm not that advanced of an Excel user. I'm certain Excel can do what I'm about to ask, but I've yet to find a way in any of my attempts or searches.  My question is very similar to  except that A) the answers there didn't work for me, and B) even if it did, it's not quite the correct output I need.   Basically, I have 2 columns. Column A contains URLs (16388 rows). Column B contains URL slugs (202 rows).   I want to search to see if any of the values in column B are contained within any of the values of Column A. If they are, I want to return the value TRUE in column C.   From what I've read, VLOOKUP ought to work for this, but for the life of me I can't get it to work. I also tried in the answers in the link above that use COUNTIF and MATCH, but in both of those cases, all I got were FALSE returns, when I know that there are values in Column B that are contained in a URL in Column A.   Does that make sense?  EDIT: Both answers are providing results (thank you!), but I suspect I may not have asked the question correctly. In both of the answers, I'm getting TRUE results, but it looks like the TRUE is correlating to the slug in Column B rather than the URL in Column A. Let me put it this way:  I'll move the slugs from Column B to C so that B can be used for the TRUE responses. What I want the fomula to do is:   Look at URL in A1 Are any of the values in Column C contained within the URL in A1? If yes, then return TRUE in B1. If FALSE, leave it blank.    So I will be able to see which of the URLs contain the slugs I am searching for. I apologize for not being clearer in my original ask (though I feel like it's only a slight tweak from the answers I've already been given.)


Cycles render incorrect shadows on default UV-Sphere when I shade smooth it. I used 2 different versions of the blender to test it but got the same result in both versions. It looks like it renders both shade flat and shade smooth at the same time. Eevee shadows are correct. How do I fix it? Reducing light won't help Cycles Shade Smooth: Cycles Shade Flat: Cycles Shade Flat Reduced Light:

I'm creating a dune model in blender with cycles and the shadows are kind of messed up. the model is only created from a subdivided plane and then using noise textures. it already has 1.7 million vertices so i don't want to increase the subdivision modifier any more. Do you have any ideas how to make the shadows "softer" without increasing subdivision? Thanks in advance!


When I try to push the temp object of type update it creates duplicates instead of adding a new object to updatedjson. Basically I am reading list of ip address from a file and create new json objects of type sample and adding it to updatedjson array.  sample =[    {     "destination": "string",     "destinationType": "string",     "isStateless": true,     "protocol": 6,     "tcpOptions": {       "destinationPortRange": {         "max": 0,         "min": 0       }     }   } ]; var updatedjson = []; var tempjson = sample[0]; tempjson.isStateless = false; tempjson.protocol = 6; tempjson.tcpOptions.destinationPortRange.min = 443; tempjson.tcpOptions.destinationPortRange.max = 443; tempjson.destinationType = "CIDR_BLOCK";  for (var i = 0; i < inputArray.length; i++) {   for (var j = 0; j < inputArray[i].cidrs.length; j++) {     var tempjson = sample[0];     tempjson.isStateless = false;     tempjson.protocol = 6;     tempjson.tcpOptions.destinationPortRange.min = 443;     tempjson.tcpOptions.destinationPortRange.max = 443;     tempjson.destinationType = "CIDR_BLOCK";      tempjson.destination = inputArray[i].cidrs[j];       addToUpdate(tempjson);   } }  function addToUpdate(temp) {     updatedjson.push(temp); }  Even if the tempjson.destination is different it pushes same object like for ip address 166.35.25.12/24 and 36.34.25.12/24 updatedjson is like this. [   {     destination: '166.35.25.12/24',     destinationType: 'CIDR_BLOCK',     isStateless: false,     protocol: 6,     tcpOptions: { destinationPortRange: [Object] }   },   {     destination: '166.35.25.12/24',     destinationType: 'CIDR_BLOCK',     isStateless: false,     protocol: 6,     tcpOptions: { destinationPortRange: [Object] }   } ]

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?


This has been bugging me for a while but will a monitor unit work if I make common ground for returns for RGB and the ground?   A bit scared to test it on my monitor.

On a VGA connector, there are numerous 'ground' pins. Three of these are Red return, Green return and Blue return; But why does each color component have its own ground pin?


There are particles like tachyon which moves faster than light theoretically,does this holds good enough for neutrinos?

I was quite surprised to read this all over the news today:     Elusive, nearly massive subatomic particles called neutrinos appear to travel just faster than light, a team of physicists in Europe reports. If so, the observation would wreck Einstein's theory of special relativity, which demands that nothing can travel faster than light.   —  Apparently a CERN/Gran Sasso team measured a faster-than-light speed for neutrinos.   Is this even remotely possible? If so, would it be a real violation of Lorentz invariance or an "" effect?   The ; a webcast is/was planned .  News conference video


Could anyone please advise how to find out between a date range if there is leap year or not.  e.g Start Date = 1 Jan 2019 and End Date is 31 Dec 2022  now using formula field or Apex , how to check if there is a leap year is present or not between a date range.

I am writing a formula where I need a logic for calculating the earliest leap year.     Formula   (Sum(Mort1, Mort2, Mort3)*1.08^(current year-earliest LP year))+water+ECB+Taxes   What logic we can apply for earliest LP year?


I'm new to Java and trying to split multiple strings and store it in a String array. The layman program follows:       Scanner sc = new Scanner(System.in);     String s1 = "Hello1 Hello2";     String s2 = "Hello3 Hello4";     String s3 = "Hello5 Hello6";     String[] parts = s1.split(" ");     parts = s2.split(" "); //Rewrites     parts = s3.split(" "); //Rewrites     for(String s4:parts) {        System.out.print(s4 + " ");     }   The ouput of the program is obviously : Hello5 Hello6. ()  Regardless I expect the output Hello1 Hello2 Hello3 Hello4 Hello5 Hello6. Which is, the incoming string must not replace the existing Strings inside the array.

I need to concatenate two String arrays in Java.  void f(String[] first, String[] second) {     String[] both = ??? }   What is the easiest way to do this?


I got stuck at two points: I followed the hint and easily proved the case when $f$ is non-negative and compact supported. Then I want to show that for every compact supported $f$ ($f$ can take negative values) the inequality holds. I tried: write $f=f^+-f^-$ we have $||f||_{p}^p=||f^+||_{p}^p+||f^-||_{p}^p$, but how to deal with the integral $F(x)$? This is the first point I got stuck. After solving this, since $C_c(\mathbb{R}^+)$ is dense in $L^p(\mathbb{R}^+)$ with $L^p$ norm, for any $f \in L^p(\mathbb{R}^+)$, we can take $f_n \in C_c(\mathbb{R}^+)$ such that ${f_n}$ tend to $f$ and let $F_n(x):=\frac{1}{x} \int_{0}^{x} f_n(t)dt$. I have trouble showing that $F_n \rightarrow F$ (in $L^p$ norm):I write down the formula and use Fubini's Thm but the integral tends to infinity, it requires a more precise scaling. Can anyone help me with this exercise? Thanks in advance.

Classical Hardy's inequality (cfr. Hardy-Littlewood-Polya Inequalities, Theorem 327)  If $p>1$, $f(x) \ge 0$ and $F(x)=\int_0^xf(y)\, dy$ then   $$\tag{H} \int_0^\infty \left(\frac{F(x)}{x}\right)^p\, dx < C\int_0^\infty (f(x))^p\, dx $$  unless $f \equiv 0$. The best possibile constant is $C=\left(\frac{p}{p-1}\right)^p$.   I would like to prove the statement in italic regarding the best constant. As already noted by Will Jagy , the book suggests stress-testing the inequality with   $$f(x)=\begin{cases} 0 & 0\le x <1 \\ x^{-\alpha} & 1\le x \end{cases}$$   with $1/p< \alpha < 1$, then have $\alpha \to 1/p$. If I do so I get for $C$ the lower bound  $$\operatorname{lim sup}_{\alpha \to 1/p}\frac{\alpha p -1}{(1-\alpha)^p}\int_1^\infty (x^{-\alpha}-x^{-1})^p\, dx\le C$$  but now I find myself in trouble in computing that lim sup. Can someone lend me a hand, please?    UPDATE: A first attempt, based on an idea by Davide Giraudo, unfortunately failed. Davide pointed out that the claim would easily follow from   $$\tag{!!} \left\lvert \int_1^\infty (x^{-\alpha}-x^{-1})^p\, dx - \int_1^\infty x^{-\alpha p }\, dx\right\rvert \to 0\quad \text{as}\ \alpha \to 1/p. $$  But this is false in general: for example if $p=2$ we get   $$\int_1^\infty (x^{-2\alpha} -x^{-2\alpha} + 2x^{-\alpha-1}-x^{-2})\, dx \to \int_1^\infty(2x^{-3/2}-x^{-2})\, dx \ne 0.$$


I have found many similar questions, but no one fully satisfying.   Please correct me if wrong, but from what I understand the Voltage of the power supply should match closely the specs, while the Power (Amperes or Watts, which for a fixed voltage are proportional to each other) supplied is referred to the maximum possible output the brick is capable of and should "enough", as the laptop will drain at any moment the power it needs.  What I would like to understand is what are the scenarios if I used a brick, for example a 60W one while the official one is 120W: - I guess most of the time the laptop would use less than 60W, thus working correctly - at times the laptop will require more than 60W     - Do most modern brick self-limit the output or do they risk to burn?      - Given the the brick does not deliver enough power, will the laptop start to drain the battery or malfunction? (And if draining the battery, just for the missing power, or will ignore the power brick and start running completely on battery?)  And finally: Can I use a smaller power brick (easier to carry around) given that MOST of the time will provide enough power, counting on the fact that the battery will make up for those short moments of high drain, without malfunctions or hardware breaking?  Thanks :)

I have a Toshiba Satellite laptop. My charger has stopped working.  I have access to a Lenovo charger. Can I use this charger on my laptop?


I just broke the screen on my phone, and the way my insurance works, they're going to replace it with a new one...   However, I've spent a lot of time setting up everything in my phone, and would like to not have to do it again...   Is it possible to transfer EVERY SINGLE BIT OF DATA on my phone to my pc, and then restore it in a new one?

I know I'm asking for the close-to-impossible -- as a real full-backup certainly requires root permissions. But still there are many folks around not wanting to root their devices -- afraid of voiding their warranties or bricking their devices, or just not having their devices supported by any rooting method.  I also know there were a lot of questions asked already on this topic, and I checked all of them having the backup tag -- none covers the entire topic, all just have pieces, and especially people new to Android (but other non-power-users as well) would have a hard time figuring out the best way.  So I want a detailed canonical answer to the question:  Not involving root-solutions, how to achieve a backup as close as possible to a full backup?  Please do not give simple one-liner answers like "Use app xyz [full-stop]." If mentioning an app (and I doubt a single app would be the answer here), include what parts are covered by it -- as well as ideas on how to fill the gaps it leaves. (And to make it absolutely clear: I know the first thing coming to mind is Titanium Backup -- I use it myself, but this does not apply here: This question is strictly about methods for non-rooted devices!) Moreover, the answer should be as generic as possible in terms of applying to a wide range of devices (i.e. it should not be restricted to one device or manufacturer).  I already mentioned having investigated all questions here tagged backup. These will certainly be helpful providing details for answers here, so I will list up the topmost ones concerning my question:            All these provide some details for my question (so feel free to get inspired by them) -- but I feel there are still details missing. Also it would be helpful to have a summary -- say, an answer including the full description of "the maximum possible".  A last criterium: While I'd consider cloud-based solutions legit, I'd favour local solutions. If you can provide both: all the better. But some people value privacy quite high (I'm one of them), and thus would not trust their data to some cloud service.    Thanks to Ryan, we now have a solution for a really complete backup of all apps and their data -- which I didn't dare to hope for! The only disadvantage: His solution only works for less than 10% of all Android users; namely those whose devices are running at least with Android 4.x.  So again, I ask the close-to-impossible: Any solutions applicable at least on Gingerbread (2.3.x) or, better, even Froyo (2.2.x) -- so they cover the majority of current devices? These solutions may involve multiple tools (try to keep it as simple as possible though; think of your mother to follow your instructions ;)  And keep in mind: NO ROOT!    To further motivate high-quality answers (and hopefully avoid low-quality ones), I will be a harsh one here: As I rarely do, I will down-vote answers not fitting the mentioned criteria on one end -- but on the other end, I will setup a bounty for the best answer (which cannot be done immediately, but earliest after 2 days).


I don't really know the right words to describe this problem, but every once in a while (sporadically, maybe about twice a day), whatever view is displayed on my iPhone (iPhone 6, iOS 8.3) screen will slide down to about a third of the way down the screen, as shown in these three screenshots:    (I've whited out personal data.)  After a matter of seconds, I think it slides back up on its own, though I've discovered that the most convenient way for me to cancel this phenomenon is by pulling the notification center into view from the top of the screen and then pushing it back up, which causes the main view to slide back up right away.  What is going on here? Has anyone else seen this?  Update:  Today I learned that I fidget with my thumbs "sporadically, maybe about twice a day".

I was fooling around with iPhone 6 plus and found that when you place finger twice on finger scanner or rotate your finger on the scanner the currently running app or the menu views move down to half for the screen.     I'm not worried of this behavior but I am curious why such thing is happening.


I wanna restore my database and i use sql server 2012 express edition but when i restore my backup file in sql server management studio, i take this error:     System.Data.SqlClient.SqlError: There is insufficient free space on disk volume 'c:\' to create the database. The database requires 84260749312 additional free bytes, while only 47428677632 bytes are available. (Microsoft.SqlServer.SmoExtended)   My .bak file is 8.27 gb and my C disk has 44.1 gb free space. Why do i take this error ? how can i fix this error ? Thanks in advance.

I have a legacy database whose nightmarish lack of design I will not get into here, but the files on the server are (relatively) enormous. I have:  MyDatabase.mdf: 24.8GB MyDatabase.ldf: 114.6GB  This database is backed up to a .bak file every night and shipped over to our reporting server, where it's restored. The .bak file is much smaller at only 1.8GB.  However, when I try to restore it on the reporting server, it fails due to insufficient space. There are around 100GB free on the server, and it's trying to eat up the entire 139.4GB that the files consumed on the original server. Unless my knowledge of compression is horrifically wrong, I'm fairly confident that the 1.8GB file is not actually expanding by 7400%.  My Question: Is there any way to tell SQL Server to restore this backup file without reserving that space upfront? I do not care about any of the logs; I just need the data to be there. I understand databases from the development and schema perspective, but I am by no means any sort of DBA.  This is on SQL Server 2008 R2. Thanks for any help or suggestions.


As said in the title, I have a French residence permit and I would like to know if I need a UK visa if I transit there?  Thank you!

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I am ready to upgrade to the next version of Ubuntu.  I know that Ubuntu 18.10 has not yet been released, but I like to live on the edge.    It also makes me feel good to get massive upgrades of over 100 packages on some days.  This really makes me feel that I am getting my money's worth (even though it is free software and I haven't paid anything for it!).  I therefore would like to upgrade from Ubuntu 18.04 to 18.10 now.  When I run sudo do-release-upgrade, it tells me that no further upgrades are available.  Similarly in /etc/update-manager/release-upgrades there are no options for the development release.  Is there a special command to upgrade to the current development release?

How do I upgrade to the unreleased version of Ubuntu for testing?


Code  public class test{     public static void main(String[] args){         double first = 3.14 ;         first++;         System.out.println(first);     } }   Result  ubuntu@john:~/Desktop$ javac test.java  ubuntu@john:~/Desktop$ java test   Output : 4.140000000000001  I am getting expected answer for almost every other case... Eg : For 4.14 ,result is 5.14...  Why this case is special ?

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


Suppose that I give an answer to a question and I get 2 upvotes and 2 downvotes.  The reputation of that answer is supposed to be 16 ( 10x2 - 2x2 ). If you look at the question you will just see 0 as the numbers of upvotes/downvotes, giving the impression that the question has never received an upvote or an downvote. Is there a way to know the number of downvotes and upvotes to deduct the reputation of the answer?

Sometimes I felt just total vote count do not represent the whole scenario(liking/disliking) of the community. In case of mine, my  got upvoted 5 times and downvoted 4 times. But the total vote, 1 does not represent so many difference of opinions in the community. So, can the upvote and downvote counts be shown separately? The sorting still will be on the total votes. But the numbers will show more information.


In FTL if I damage an enemy ship there is sometimes an option to accept their surrender. Is there any point in this? I always get more scrap if I either kill their crew or destroy their ship.

Sometimes after taking heavy damage an enemy will offer to pay you off if you accept their surrender.   It's possible to deny this and go for the kill, which will also give you a reward. Which option gives you the most benefits?


I'm helping my uncle transferring all his photography images from a Windows machines internal and external hard drives to his newly bought NAS and we stumbled across a little problem (happening to 'only' 3.000 files..), called 'File name/folder name too long to copy'. So.. I'm looking for an application that can find all files with a certain name length for me.  Windows Explorer can search by name, type, size, etc. but as far as I can tell it cannot search by name length. Therefor I'm looking for an application that can do so.   Note: This may be a prompt command providing that the outcome can simply be exported.     Bonus! Also applicable on the command prompt: changing file/folders name from the same application! Dashes, dots and spaces are in fact unnecessary and can result in shorter names, thus perhaps possible to transfer!

I need to make backups of some files on a network share. However, I need to copy those files to my local drive before burning the disks because those files might be in use. Some of the files won't copy because the file path is too long. Is there any workaround other than changing the file structure?


I'm trying to remember the name of a historical figure whose name has since entered the lexicon. He confused the order of words to say things like it's all nuff and stonsense for example. - I think he was a member of the clergy or a Don.

People often make these mistakes in speech on purpose, just for amusement. Sometimes, however, they are unintentional and prove even funnier.  In this case, is there a specific term for them?  e.g.        "belly jeans"  for  "jelly beans"   "a can of boot reer"  for  "a can of root beer"   "a wottle of bine"  for  "a bottle of wine"   "holed and sealed"  for  "soled and healed"    "cling spreaning"  for  "spring cleaning"


Self-explantory question. I'm looking to make an image unsavable for someone browsing a doc online in overleaf, could be jpg, png or pdf.

When an image is inserted in a pdf with the graphicx package, a right click on the image in the output gives the possibility to copy the image. My question is how can one block this possibility?   I guess there is an option in the graphicx package to do so, but I couldn't find it in the package manual (I find this manual not very helpful, especially for the neophyte).  As requested, here is a Minimal Example (where image is any image .jpg):  \documentclass{article}  \usepackage{graphicx}   \begin{document}      \begin{center}      \includegraphics{image}    \end{center}   \end{document}


The  that some galaxies have dark matter and others do not leads to the question of how this could be possible. If galaxies are merely groups of stars that gathered together (under gravitational pull) leaving space in-between, then would not the randomly spread dark matter also have been pulled into the galaxy?  Or does a galaxy have a central birth such that some contain dark matter and others do not?

Why do stars exist in groups like galaxies rather than individual stars, and why do galaxies exist as different entities without continuity and with large intergalactic spaces?


Like the title states, I am unable to find a way to type ⱱ (the voiced labiodental flap aka v with a right hook) in my document using the tipa package. Perhaps I am just unable to find it (searched for both "ⱱ" and "voiced labiodental flap" with no results) or Rei Fukiu forgot to add it, which I cannot believe (as many other non-IPA symbols are included). I also tried different commands which I thought might work, like :v, \textrtailv, \texthtv, but none did. Can you help me out? Thanks

I need the ⱱ character (prefereably with the advanced diacritic underneath it) for a phonetics paper, but the tipa package doesn't seem to contain it.  I have at least one font with this character on my computer (Charis SIL).  How do I get the character into my LaTeX document?


I have a USB car charger plugged in the accessory port of my car and I also have a simple bluetooth USB to aux adapter plugged into it. As I start the car, the power drops to the accessory port and the adapter's bluetooth connection disconnects from my phone. It's annoying having to wait for it to reconnect and start my music every time, plus its illegal to operate a phone here in the UK.  I want to know if I could create a simple circuit to hold enough power to keep the adapter running while the power drops. I think the power drop lasts roughly 5-10 seconds and the bluetooth adapter is only 5v 0.1a. Could a capacitor help in this situation?

I just bought a  for my car. It's input is 5V/0.3A and is powered via a 5V/1A USB power adaptor that is plugged into the 12V/10A/120W max. socket in the center console of my 2004 Honda Accord.   It turns on automatically when I turn my key halfway, but when I start my engine it shuts off, and I have to unplug it and plug it back in to get it to power back on.   I emailed the company, and this is what they said:     "We are sorry for all the inconvenience it caused to you. As you know, there is no internal battery for the SoundSync. The power is from the car or car charger. For some cars, when we turn the car ON, the SoundSync will power on at the same time. However, when we start the engine, the power shut off for a very short time. It shuts the SoundSync off and the SoundSync will not auto power on again. Therefore, we will change it to button control version in the short future."   I'm trying to figure out a way that I can fix this. Unfortunately, my knowledge of electronics is limited.  If I had a capacitor between the device and my car, would it solve the problem? I.e. the capacitor takes 1-2 seconds to charge, which interrupts the on-off-on of the car starting, and provides continuous power to the bluetooth module?   I have a soldering iron and am pretty tech-savvy, I just don't know where to begin troubleshooting the issue. Any input would be greatly appreciated.   Thanks!  Edit: How would I go about adding a capacitor? Solder together a circuit board, capacitor, and male/female USB pieces? Cut an existing USB cable and use it instead of the USB components?


I have several PDF documents which have the "no copy" and "no print" restriction bits set. Are there any free tools for removing such restrictions, on Linux?  I tried pdf2ps | ps2pdf but the size increase is horrible. The originals are fairly large too, so I'd rather use a local tool than a website.

I am trying to fill out some docs, but the provided PDFs are "SECURED", meaning I can't use FoxIt's typewriter tools.    Is there any way to remove the security?


I have a variable that I'm using throughout my scripts.  I've been passing it into functions using closures.  var options = { etc };  I need to use an asynchronous XMLHttpRequest to get the html text from another page.    var xhr = new XMLHttpRequest(); xhr.open("GET", this.options.messageUrl, true); console.log(this.options.branded) // returns true  xhr.onreadystatechange = function () {      if (xhr.readyState === 4 && xhr.status === 200) {         console.log(xhr.readyState, xhr.status) // returns 4 and 200          console.log(xhr.response); // do something with this response     } } xhr.send(null);   I want to use the options object within the async so I tried to pass it in with a closure like so  var xhr = new XMLHttpRequest(); xhr.open("GET", this.options.messageUrl, true); console.log(this.options.branded) // returns true  xhr.onreadystatechange = function (ops) {      ops.branded // returns true.       // I'm able to get pass this info in,      // but now my ready state is no longer returning the 4 and 200      if (xhr.readyState === 4 && xhr.status === 200) {         console.log(xhr.readyState, xhr.status) // returns 1 and 0          console.log(xhr.response); // I'm not able to get here     } }(this.options) xhr.send(null);   How do I accomplish passing the data in AND getting a correct response?

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


Is there some usefull web site where known bugs/issues with Ubuntu 16.04 and workarounds are collected.

I found a problem with an application on Ubuntu.   Questions :   How do I best report the issue?  What sort of information should I provide?


I'm trying to clone javascript div id with this code  <script>      var div = document.getElementById('pruebaz2'),                             clone = div.cloneNode(true); // true means clone  all childNodes and all event handlers     clone.id = "pruebaz2";     document.body.appendChild(clone);  </script>   but my clone div id not have any effect in my html page my original id add a record when a doing a click  my clone id do nothing  how I can clone with same functionality

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Is there a common property of spaces, where one squares coordinates to obtain distance (such as Euclidean, Minkowski spaces), responsible for this choice of power (i.e. 2)?

So  $$a^2+ b ^2 =c^2$$  in a right triangle, but where does the power $2$ come from? I know we can use different metrics in the Euclidean space. If we use the $p$-metrics, where $p$ is in place of $2$, the case $p=2$ is the only one that makes $\mathbb{R}^n$ an inner product space (right?). So it's the only case where we can even talk about right triangles.  But I guess my question is then that is there some sort of underlying (physical) reason for the exponent $2$?


I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo gedit my terminal prompts ~: unable to resolve host <my_new host_name_i_gksudo>.  When i sudo cat /etc/hosts it gives me:  sudo: unable to resolve host <not_of_your_business!> 127.0.0.1   localhost 127.0.1.1   leviathan  # The following lines are desirable for IPv6 capable hosts ::1     ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters   How could i get rid of this problem? Thanks in advance.

When I run sudo the terminal is stuck for a few seconds and then outputs an error message. My terminal looks like this:  ubuntu@(none):~$ sudo true sudo: unable to resolve host (none)   What can I do to solve it?


Can someone explain me the working of this boost converter and the function of individual components. Please. I am unable to understand.  Why are the transistors connected to the MOSFET. What purpose do they serve?   Can someone explain me one cycle of the output current path, please?    The data sheet for IC1 can be found

I am using this IC in boost converter configuration :   It steps up the voltage from 16.5V to 23V.   It drives a load current of 270mA.  I need to calculate the input current of the converter.   I understand that output power/input power is efficiency.   Since I know the output power, can I take the efficiency value from the graph 21 of the attached datasheet (86.8% approx - obtained from fig 21 graph) and find the input power?   With the input power, and since I know the input voltage, I can calculate the input current.   Is this the right way?   And I want to check if all the components at the output of the IC are properly rated.   Which parameters and components should I check and how to check?    Sorry for the poor image quality. The two transistors are taken from the SWE pin.


If $p,q$ are prime, solve $$p^3-q^5=(p+q)^2$$  I can't think of a nice idea for the solution. Since there's a solution $(7;3)$, consisting of two distinct numbers, I really doubt modular arithmetic would help here in any way. I wonder if there's an interesting and simple approach. Thanks.

Find all pairs of prime nummbers $p,q$ such that $p^3 - q^5 = (p+q)^2$.  It's obvious that $p>q$ and $q=2$ doesn't work, then both $p,q$ are odd. Assuming $p = q + 2k$ we conclude, by the equation, that $k|q^3 - q - 4$ because $\gcd(k,q)=1$ (else $p$ is not prime) and $k=1$ has no solution.  I also tried to use some modules, but I couldn't.


I am wanting to invest in a polarising filter for my camera (a Canon T2i/550D). What sort of things should I be looking for? What differentiates a good polariser from a bad one? Are there any brands to go for/avoid? Do you have any particular recommendations for specific filters?

It was suggested that I should get myself a polarizer filter to get over my reflection problem. (  )  I found out that a Nikon 52mm Circular Polarizing Filter CPL   while I can get another filter for less than half the price — . (Please note that I know nothing about these filters and googled them just for the example.)  What is the difference between polarizer filters?  I need to remove the glare and nothing else — would either of the two do the magic for me? What filter do you recommend for me?


For example i have this quadratic form $q(x_1,x_2)=8{x_1}^2-4x_1x_2+5{x_2}^2$ , here it's a simple factoring:  $q\begin{bmatrix}x_1 \\x_2 \\x_3\\\end{bmatrix}=\begin{bmatrix}x_1 \\x_2 \\x_3\\\end{bmatrix} \cdot \begin{bmatrix}8x_1 &-2x_2\\-2x_1&5x_2\end{bmatrix}=\vec{x}^{T}A\vec{x} ,A=\begin{bmatrix}8 &-2\\-2&5\end{bmatrix}$.  But this is not always the case where one can simply see how the matrix is going to be ,so is there a certain method of finding this matrix?

I was wondering. If I have a bilinear symmetric form, it is easy to find its matrix. But, when I have a quadratic form, which is the procedure to do that?  I heard that one possibility is: If $q$ is my quadratic form, then $$f(x,y) = \frac{1}{4}q(x+y) - \frac{1}{4}q(x-y)$$ is the bilinear symmetric form associated, so the method reduces to find the matrix of $f(x,y).$   The point is that seems a little noising... How to find, in practice, the matrix of quadratic form?  Thanks in advance.


Internet was working fine on my MacBook Pro until this morning and now suddenly stopped working.  I'm able to establish a connection with the Wi-Fi network but I can't access Internet or even ping the router.  I have tried setting up manual IP address, tried different values for DNS including 8.8.8.8, restarted modem and the laptop few times. I have also removed all the unused networks from the advance network settings and also rejoined my Wi-Fi network.  Other devices connected to the modem are working fine. I tried to connect my MacBook to my iPhone hotspot but still no luck. I can connect but internet does not work.

I'm really hoping someone here can help me, as I'm getting pretty frustrated with my macbook now. I have a late 2011 model 15" macbook pro running OSX 10.9.5 that refuses to connect to Internet on my home network. I have the same problem whether it's WiFi or through ethernet cable, I have full signal but not getting online. Every other device connects fine; android phones and tablets,xbox one, iPhone and other macbooks, all online and browsing the net. I have had no problems connecting to other networks with my macbook pro before and I just tried at a friend's house to check, with no problems. A little something, that may be a clue to someone: when I open network diagnostic tool, my macbook pro connects for something that seems like a microsecond and it tells me I'm connected to Internet and everything seems fine. My IP is 192.168.0.5 subnet mask 255.255.255.0 and IPv6 is set to automatic. None of the options are checked under the proxies tab. Now I've tried the following, in different order and a number of times, to no avail:   Renewing/turning off&on/inputting manually DHCP.  Restarting/resetting the router and the macbook.  Turning WiFi on/off. Remove & add services (WiFi & ethernet). Checked and copied all network settings from another macbook pro that's connected and online on my network. Ran network diagnostic and assistant tools Duplicated/removed/added location Removed the /Library/Preferences/SystemConfiguration folder. Removed network password from keychain.      I've tried other things too, but can't remember what else right now.  Response from ifconfig en1:  en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500              ether 28:cf:da:e6:95:0a              inet6 fe80::2acf:daff:fee6:950a%en1 prefixlen 64 scopeid 0x5               inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255              nd6 options=1<PERFORMNUD>              media: autoselect               status: active    I'm praying that someone out there has the magic words or the 2-click solution for me, but I would be grateful for a long thorough guidelines to solve it too! <3        Regards Trond


Excuse me for the confusing title. I was asked to find $gcd(x^2+3x+2,x^2+x)$  What i did is i factorized both polynomials $x^2+x=(x+1)x$  $x^2+3x+2=(x+1)(x+2)$  So i expected the gcd to be $x+1$   But using the euclidean algorithm i found out the gcd to be $2x+2$. Why is factorizing wrong? Is it because $K[X]$ is not factorial ? Would the euclidean algorithm also work if the polynomials are in $\Bbb Z[X]$ ???

The definition in my text reads, An integer $d$ is said to be the greatest common divisor of two non-zero integers $a$ and $b$ iff,  $d|a$ and $d|b$ and if $k$ is any other common divisor of $a$ and $b$ then $k|d$  Now here's the thing, if $d|a$ and $d|b$ then surely $-d|a$ and $-d|b$ as well, also $k|-d$ What I take from this? GCD is not unique! That is if $\mathrm{gcd}(12,8)= 4$ then by the definition, $\mathrm{gcd}(12,8) = -4$ as well. Yet I never ever seen a negative gcd. Someone please explain. Maybe, $4>-4$, and we want the "greatest common factor" so...? But that still doesn't justify the definition.


Surely, as a newbie here at SE, I have missed something.  The title will display "Title cannot be longer than 150 characters" if it is too long, but no indication of the actual length.  My usual approach is to create in a word processor and then copy/paste.  If my title is too long, I will edit in the title box, removing unessential words, until it is the correct length, but see no display to help here at SE.  I suppose I could check the length of the title in my word processor, but am I missing something?  The body box lets me know how many characters are left, that's what I am looking for here...     SEE ANSWER BELOW:

I just ran into this while writing .  [I originally wrote:     you need a minimum of X reputation to comment on questions that are not your own, and on answers that are not to your own questions   But had to shorten it to:     you need a minimum of X reputation to comment]   First, it didn't tell me that I'd gone over the character limit for the title until after I had already tabbed out of the title field.  Second, it didn't tell me how much I'd gone over or anything. I had to copy-paste the text I'd written into my text editor in order to get some real-time feedback on the exact character count, to help figure out how to best shorten it.


I've recently installed Ubuntu 16.04 LTS dual boot with Windows 10 and I still can’t get access back to Windows 10. When grub appears after switch on my computer it gives me a few options apart from Ubuntu, like Windows UEFI boot and some more.   I've tried with all of them, when I click some it says that it couldn't find the file, and some others take me through the reparation menu of windows to end up in Ubuntu's GRUB again.  I've been through some of the posts on this topic, and I've already tried a few things.   Reinstall and refresh grub via Boot-Repair. I've also tried as recommended in another post to create the file /boot/grub/custom.cfg.  I've also run boot info script so you can have some more information about this. I do have the Bootinfo that I got after running Boot-Repair app.  This is the URL I got after running the Boot-Repair:

I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install.  What can I do to fix this?


$$ 4^{x+1} - 6^x - 2*9^{x+1} = 0$$  I recently stumbled across this logarithmic Equation and really I have no clue how to solve this. Also , please provide a tactical way to approach such questions

I want to solve: $$9^x - 6^x - 2\cdot 4^x = 0 $$  I was able to get to the equation below by substituting $a$ for $3^x$ and $b$ for $2^x$:  $$ a^2 - ab - 2b^2 = 0 $$  And then I tried   \begin{align}x &= \log_3{a} \\ x &= \log_2{b} \\ \log_3{a} &=\log_2{b}\end{align} But I don't know what to do after this point. Any help is appreciated.


I'm trying to call the manual of the GCC compiler from the terminal, but I seem to be unable to, I only get error messages when I type:  gcc man   Surely I'm doing it wrong, but I can't find any topics around.

I'm new to Linux. I got the "Unix And Linux System Administration Handbook" It speaks of several verisons of linux and unix, and the commands for viewing linux man pages and not specific to ubuntu.   How do I view the manpages?


It is a general question on linear regression with polynomial terms. I am using x and x^2 as my independent variables and my regression equation is as follows y=a0+a1*x+a2*x^2+a3*z+e. I am doing regression to find the coefficients. I have read through  article, which explains that I need to de-mean the variable x before I run the regression to obtain my coefficients a1 and a2. Once we de-mean our new variables (de-meaned and its square) are not correlated.  I was wondering is it necessary to always de-mean the variables when we use the polynomial term as well?  EDIT: Clarifying further - when i am using the linear and quadratic terms both. Do I need to de-mean the linear term (call it demean_x) and take the square of it (demean-x^2) and use them for regression instead of x and x^2.

The regression model y= b0+ b1 x + b2 x^2 + b3 x^3  and the second regression model y = b0 +b1 (x-u) + b2 (x-u)^2 + b3 (x-u)^3 where u is the mean of x  These two models lead to the same curves, or says the same fitted values. I understand centering the variables for polynomial or interaction regressors will lower the correlations of regressors and therefore reduce the multicolinearity, variance inflation, prediction interval... But they are still the same model, does the difference between the variances of two identical models really mean something important?  R code example:  y <- rnorm(100) x <- runif(100) u <- mean(x)  model1<- lm(y~x+I(x^2)+I(x^3)) model2 <- lm(y~x+I((x-u)^2)+I((x-u)^3))  summary(model1) summary(model2)   They have the same sd error, R squared.... Their fitted values are the same as well.


Prove that ::     If $A$ is an $n\times n$ matrix such that $AB = BA$ for any $n\times n$ matrix $B$, then $A=\lambda I_n$

The question is from Axler's "Linear Algebra Done Right", which I'm using for self-study.  We are given a linear operator $T$ over a finite dimensional vector space $V$. We have to show that $T$ is a scalar multiple of the identity iff $\forall S \in {\cal L}(V), TS = ST$. Here, ${\cal L}(V)$ denotes the set of all linear operators over $V$.  One direction is easy to prove. If $T$ is a scalar multiple of the identity, then there exists a scalar $a$ such that $Tv = av$, $\forall v \in V$. Hence, given an arbitrary vector $w$, $$TS(w) = T(Sw) = a(Sw) = S(aw) = S(Tw) = ST(w)$$ where the third equality is possible because $S$ is a linear operator. Then, it follows that $TS = ST$, as required.  I am, however, at a loss as to how to tackle the other direction. I thought that a proof by contradiction,  ultimately constructing a linear operator $S$ for which $TS \neq ST$, might be the way to go, but haven't made much progress.   Thanks in advance!


I am working with C# in Unity3D (2018.3.0f2) and I need to create a random function with multiple outcomes and multiple parameters. Is there any better way? Mine works, but I would like to have it in a list and if possible shorter.  float rndFloat = Random.value;  if      (rndFloat <  0.33f)  occlusionTime = 0.3f; else if (rndFloat >= 0.33f && rndFloat < 0.66f) occlusionTime = 0.7f; else                                            occlusionTime = 1.1f;  rndFloat = Random.value;  if (rndFloat < 0.25f) {     BallEnd.transform.position = EndPositions[0];     endPosPixelCoords = EndPositionsPixel[0]; }  if (rndFloat >= 0.25f && rndFloat < 0.5f) {     BallEnd.transform.position = EndPositions[1];     endPosPixelCoords = EndPositionsPixel[1]; }  if (rndFloat >= 0.5f && rndFloat < 0.75f) {     BallEnd.transform.position = EndPositions[2];     endPosPixelCoords = EndPositionsPixel[2]; }  if (rndFloat >= 0.75f) {     BallEnd.transform.position = EndPositions[3];     endPosPixelCoords = EndPositionsPixel[3]; }

What is the best way to randomize an array of strings with .NET? My array contains about 500 strings and I'd like to create a new Array with the same strings but in a random order.  Please include a C# example in your answer.


I want to give some examples of a special type of clause.     1) Too tall to enter the room, he remained standing at the door.      2) Whether successful or unsuccessful, he always puts his best efforts in his work.      3) To nervous to move, she stood on the floor, trembling.      4) Laughed at, they lose heart.      5) He declares the meeting open.   This are the some examples of verbless clause. I want to know more about verbless clause. I searched in net a lot, but unfortunately what I found were not sufficient. Those were not enriched with proper description. I want to know the ways used to express verbless clauses into other way. I want to learn how these clauses are being formed. Please mention some useful links/PDF files that are related to this topic and able to fulfill my demand.

In a casual search of the web, I found a few indications English does not allow zero copulas ().  However, I frequently see sentences with subordinate clauses that juxtapose a noun phrase with an adverb phrase, such as the following from a contemporary sci-fi author:  Kai stares up at me from the grave, his eyes hard as obsidian.  If this clause were made into a sentence, it would take an obligatory verb:  *His eyes hard as obsidian.  His eyes are hard as obsidian.  The original clause seems to contain an implicit "to be."  Is it an example of a zero copula?  If not, what is this construction called?


When people say that every moving particle has an associated wave, do they mean that the particles will move up and down physically, for example when we say that a moving electron has a wave associated with it, does the electron physically oscillate?  Or is it some other wave, like a probability wave? I really don't understand the latter.

I have been trying to understand "wave-particle duality" and other cases related to it. I am currently a college level student. I have few question which I am not getting answers clearly.   In double slit experiment, A particle behave like a wave, then how is "wave-particle duality" explained? I mean, If the particle behave like wave, then is it generating a wave or behaving as a wave? Is that wave going horizontally through slits (Double Slit Experiment) or vertically up and down or in which direction/axis the particle is vibrating to have a specific frequency?  How does light behave as waves in it? and how does observer modify the experiment?  I may be thankful to you, If you clear my problems. I have read the theories on Wikipedia and other informational sites and tried to understand it.


Can one do Phd in mathematics directly after completing bachelors in mathematics

I've always had an interest in electrical engineering (actually all engineering in general) and I've decided that I'd like to pursue a graduate degree.  I guess I'm wondering if I should really try to do this or just keep it as a fun hobby I spend all my free time doing.  So, the question is,  how does one change fields between undergrad and grad school?  A specific example follows, but please provide answers that address a more general case, so that your answers will be helpful to other people with the same general question.  I already have a BS and MS in chemistry with a minor in applied math.I published three papers during my MS, one first author in the top journal in my specialty and two as coauthor in an average and a so-so journal.  I hope those will count for something.  I finished my BS with around 3.1 and my MS with a 3.9 gpa.  I'm sure that my MS advisor would write me a great letter.  My GRE scores are too old to count so I'd have to retake it or try and get a pass on it since I already have a graduate degree.  Since finishing school I've been working for 4 years as a chemist.  I can get great recommendations from my supervisor who is a PhD chemist.      I've been working for a while to cover some of the things I would have learned in a BSEE to try and make up for my lack of one.  I worked through some texts on analog/digital design, lots and lots of programming, built a balancing robot that got a bit of internet attention, and I'm currently working on an autonomous robotics project that's looking really good so far.  After that I have more project ideas than I have time or money for.    I want to apply for PhD programs (specifically in controls/robotics) but I'm worried that my application will get tossed right away because I don't have a BSEE.  Maybe I should just apply to MS programs?


I have been playing Pokemon for a few weeks, and yesterday I tried to do a GPS/location spoof and removed all the software, however, I can no longer catch Pokemon without them running away.   Is there any way this will stop (or I can stop them)?

Today I started having the following issues in Pokémon GO:   I can't spin pokéStops and get rewards When I catch pokémon, even the lowest CP ones, they escape every time. I've tried using razz berries, that doesn't work. Neither does using great balls.   I do have Internet. I'm not on wifi. I can send messages and browse Internet.  NOTE: I did try to modify my gps location and I was unsuccessful. I only got a pokémon or two and deleted them immediately. I do apologize for trying to hack it but I'm now fully legit.


def group(l,size):     length = len(l)     new = []     for i in range(0,length):         for j in range(i,size):             new[i].append(l[j])     print new   The above function group(list, size) that take a list and splits into smaller lists of given size.  I need something like this     input: group([1, 2, 3, 4, 5, 6, 7, 8, 9], 3)   output: [[1, 2, 3], [4, 5, 6], [7, 8, 9]]   But the problem with the above code is showing index out of range.what's wrong in code?  how to append elements into list of lists?

I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive.  I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators.  I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though.  Related question:


I have ubuntu 12.04.2 along with windows 7. I absolutely liked it! But I now want to uninstall this version, reinstall windows 7 and again install ubuntu. How do I remove ubuntu 12 from my system? I have a boot usb from which I installed the software. The control panel shows ubuntu installed on the system. I tried removing it from the add/remove programs. But it did not work! How do I go about it.?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


Can I add some music bands in the acknowledgement section of my bachelor thesis? I used to listen these bands during all my 3-year long studies and during all the writing of my thesis, so I think they helped me quite a lot.

How is it received by the academia if someone thanks to his/her girlfriend/boyfriend in the acknowledgements of the thesis?  I have seen writers including his/her fiancee in the acknowledgements, however I don't know if including an informal relationship in the thesis will be received well.  If it is acceptable, how should I refer to my girlfriend?


It's mentioned in  that the /tools/post-feedback page is removed for 10k users.  And it doesn't show up in Links:    However, the page seems to be still up and running when navigated there manually.

I first noticed this a while back. But it has yet to resolve itself.  When I click on the  in the 10k tools, it hangs for a while.Then it gives me an error message:


I write a mathematical paper. Do you capitalize "subsection" when you refer to a specific subsection? For example, I would write:  "In Subsection 3 we show ..."   But I would write:  "In the previous subsection we showed that ..."   What is the consensus on that issue?

I am submitting a Ph.D. thesis fairly soon and my supervisor has flagged my use of capitalisation in "Section" and "Chapter" as possibly incorrect. I have googled about a bit and I see mixed opinions.  So my question is, when writing a computer science Ph.D. thesis, what is the correct way to capitalise "Section", "Chapter", "Appendix", "Figure", "Table", ... ?  For example, what is the correct capitalisation for the following:   "In Chapter 3, it was shown that..." "In the previous Section, a method was presented to..." "The graph in Figure 3 shows..."


<template>

1

2

3

 </template>   So.. How do i put this flexbox in the middle of the screen using TailwindCSS? Everything i try fails so far! I cant figure out how to position Flexboxes on the page in-general.

I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support.
Div to be aligned vertically
   How can I center a div vertically in all major browsers, including Internet Explorer 6?


A village has about 1 million residents. Suppose each resident has a jar with 100 coins in it.Two jars are considered to be “equivalent” if they have the same number of 10c, 20c, 50c, \$1 and \$2 coins in them. How many different (i.e. nonequivalent) jars of coins exist? Is it theoretically possible that every person in this village has a different jar of coins?  To my understanding, we know the number of coins in each jar is always 100, so for example if we have five 10c coins in a jar then there are 95 coins of other values in that jar. If we have k1 10c coins in the jar where k1 is between 0 and 100 inclusive, then there are 100-k1 coins of other denominations in the jar. We also have k2 20c coins in the jar where k2 is between 0 and 100 inclusive, so the combined number of 50c, \$1, and \$2 coins in the jar is 100-k1-k2 and so on. And we always have some k1, k2, k3, k4, k5, let's say, so that the sum of those k's is 100. Also, I assume there's no concept of the order of coins in a jar of coins, they're just in there. I got stuck from here, is anyone able to help me out?

A village has about $1$ million residents. Suppose each resident has a jar with $100$ coins in it.Two jars are considered to be “equivalent” if they have the same number of 10c, 20c, 50c, $\$$1 and $\$$2 coins in them. How many different (i.e. nonequivalent) jars of coins exist? Is it theoretically possible that every person in this village has a different jar of coins?  I understood that if we have $k_1$ 10 coins in the jar where $k_1$ is between $0$ and $100$ inclusive, then there are $100-k_1$ coins of other denominations in the jar. Likewise, we also have $k_2$ 20c coins in the jar where $k_2$ is between $0$ and $100$ inclusive, so the combined number of 50c, $\$$1, and $\$$2 coins in the jar is $100-k_1-k_2$. And we always have some $k_1, k_2, k_3, k_4, k_5$, let's say, so that the sum of those $k$'s is $100$.  I got stuck since I don't know how to 'compare' the number of coins in jars for different residents.


WE are planning to shoot LARGE SIZE CARPETS ( 5m /10 m ) with High Quality Resolution for professional Usage , ( LARGE PRINTING , MUSEUM CONSERVATION..ect ) Please can you advise the best camera  , Lenses and Required Lighting. we want to build a studio to take high quality images of  CARPET / RUGS.  few people suggest me to use  " Gig Pan " ..  i need your valuable suggestions to choose the right equipment.  with best regards

I am trying to take pictures of large rugs. The rug size is about 10mx5m, and I'm  planning to purchase , and Canon 7D Mark II with Canon EF 50MM F/1.2L USM lens, since we need high quality images.  We want to set up a studio to take giga-pixel quality images of the large rugs for museum conservation purposes  Could you please suggest the best way for mounting the camera to the ceiling, and any other recommendations for my camera/lens setup, and required lighting? It will be  an indoor shoot. Just we want to setup a studio to shoot the large rugs.


I was studying about the properties (foci , directrix and axis) of the conics. There all the properties were given for only the conic with axis along the co-ordinate axes . Then a question suddenly hit my mind - How can we find the properties of a conic given in general form (ax²+2hxy+by²+2gx+2fy+c=0) ? Please anybody help me.

The general equation of a conic is $A x^2 + B x y + C y^2 + D x + E y + F = 0$.  At Wikipedia, there is an equation for the eccentricity, based on ABCDEF.    Is there a similar equation for getting the foci or directrix for a general ellipse, parabola, hyperbola from ABCDEF?  Please assume that a non-degenerate form of the equation is given.


I would like to have my text "DFS-Baum" on the same line as "Graph", so in the vertical center of the graph that is following. At the moment they are on different lines and it doesn't look very ordered. My code:   \documentclass[a4paper, 11pt]{article} \usepackage{comment} % enables the use of multi-line comments (\ifx \fi)  \usepackage{fullpage} % changes the margin \usepackage[swedish]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[dvipsnames]{xcolor} \usepackage{tikz} \usepackage{tabularx} \newcolumntype{C}{>{\centering\arraybackslash}X} \usepackage{amsmath} \usepackage{fancyhdr} \usetikzlibrary{positioning} \usepackage{titlesec} \titleformat{\subsection}[runin]{}{}{}{}[] \usepackage{libertine} \colorlet{Lila}{Orchid!70!}  \begin{document} \begin{tabular}{ll} \begin{tikzpicture}          > = stealth, % arrow head style         shorten > = 1pt, % don't touch arrow head to node         auto,         node distance = 4cm, % distance between nodes         semithick % line style     ]      \tikzstyle{every state}=[         draw = black,         thin,         fill = Lila!50!,         minimum size = 10mm     ]  \begin{scope}[node distance=1cm and 0cm, every node/.style=state]      \node (a) {$v$};     \node (b)[below right= of a] {$u$};     \node (c)[below left= of a] {$w$};     \end{scope}      \path[->,thick] (a) edge node {} (b);     \path[->,thick] (b) edge node {} (c);     \path[->,thick] (c) edge node {} (a);       \end{tikzpicture} ~~~~ &  DFS Baum:  \begin{tikzpicture}          > = stealth, % arrow head style         shorten > = 1pt, % don't touch arrow head to node         auto,         node distance = 4cm, % distance between nodes         semithick % line style     ]      \tikzstyle{every state}=[         draw = black,         thin,         fill = Lila!50!,         minimum size = 10mm     ]  \begin{scope}[node distance=1cm and 0cm, every node/.style=state]      \node (a) {$v$};     \node (b)[below left= of a] {$u$};     \node (c)[below left= of b] {$w$};     \end{scope}      \path[->,thick] (a) edge node {} (b);     \path[->,thick] (b) edge node {} (c);     \path[->,thick][bend left=45, magenta, very thick] (c) edge node {} (a);       \end{tikzpicture} \\     \end{tabular}    \end{document}    Thanks in advance!

I'm trying to get the math part the equation to be centered with the tikz picture:  \begin{equation}   \mathcal{G} =    \begin{tikzpicture}[]     \tikzstyle{vertex}=[anchor=base,baseline,     circle,fill=black!25,minimum size=18pt,inner sep=2pt]     \node[vertex] (G1) at (0,0)   {1};     \node[vertex] (G2) at (1,0)   {2};     \node[vertex] (G3) at (1,1)   {3};     \node[vertex] (G4) at (0,1)   {4};     \draw (G1) -- (G2) -- (G3) -- (G4) -- (G1) -- cycle;   \end{tikzpicture} \end{equation}   But instead it places it on an even baseline:    My attempts at the tikz portion come from the related questions:      I think I'm misunderstanding the syntax between \tikz \node, \tikzpicture and \tikzstyle. What do I change to align the tikz picture without adjusting the raw coordinates?


I have created a script to modify my touchpad settings, based on the   I've done the following:  synclient -l > touchsettings   to create a file named 'touchsettings' containing all my touchpad's settings.  Then I used gedit to edit the settings as I want them, as well as adding a hash bang to the start of the script. I ran  chmod u+x touchsettings   to give the file execute permission.  The script does what it's supposed to if I then run ./touchsettings  But when I add the script to startup using the Startup Applications GUI (Add > Browse, then browse to file location of touchsettings), then restart the computer, touchpad functionality stops working entirely.  Why does this script work fine when calling ./touchsettings, whereas it breaks the touchpad when called at startup?

I have a simple one line command which works perfectly in terminal, but does not work in the "Startup Applications" app thing.  The line of code is : xmodmap /home/seph/Code/Ubuntu\ Scripts/Xmodmap  It's not that much of a hassle to copy it from "Startup Applications" and paste it into terminal, but I don't really get why it isn't working.  I followed someone else's instructions to do it in the first place, so maybe I did something wrong?  In any case, wouldn't it be the obvious and logical assumption that it just types whatever you put in it into Terminal?


This question has been asked a few times before, but even after following tutorials such as   and following the settings, I've been unable to get rid of fireflies in my render. The current render looks like this:   What additional steps can I take to decrease the amount of fireflies / reduce graininess in my renders? I've tried clamping and all of the other techniques in the tutorial but it doesn't seem to help, or at best, has a minimal effect.  Here's the model itself. It's pretty simple, no textures (just shaders).   For reference, the blend file is here:

I know that this question is a bit old or maybe overdone, but I'm running the latest edition of Blender and when I use the Cycles engine I get really fuzzy results and I can't find a simple, non-compromising solution to the quality.  I don't know exactly what I'm doing wrong here, but I'm sure others share my frustration.  Leaving everything in default settings, I started a new project and switched to the Cycles render.  I duplicated the cube and set colors for two Diffuse BSDF shaders, then went ahead and made walls and a floor all sharing the same diffuse shader.  I made two windows to emit blue light.  The screenshot has gaps between the walls because of the setup:  I'm aware that it's considered very incomplete and many have come to terms with some amount of noise, but is this normal?  Furthermore, with default settings or not, I can't change the amount of noise produced.  Supposedly, using "progressively refine" in the rendering tab should make it refine itself indefinitely, however Cycles only counts to 10 refines and then stops, creating a render which is a pixel-perfect match of the ordinary rendering method when it's completed.  I understand that there are tricks that can be used to reduce noise, but at the cost of extra processing time and usually small quality conflicts, like blurring.  My question essentially boils down to is this Cycles' current limit?


I'm writing to ask your advice on the time it normally takes for journals to assign an issue number to accepted manuscripts? Recently had a manuscript accepted, it is the first one I have published solo, and therefore the first time I have had to handle interactions with publication staff, etc. My manuscript currently appears as an Advance Article on the journal website, has been archived and the corrected article is due to be published tomorrow (after I followed up). I should mention it is now 4 months since the manuscript was first accepted. Is this normal?  With regards to issue publication, we are not able to provide a firm estimate regarding the print publication of your article, as a print publication is dependent upon issue assignment and the issue publication date. Issue assignment is ultimately up to the discretion of the journal’s editor, and articles are assigned to issues on a largely issue-to-issue basis. As your article has not yet been assigned to an issue, we are not able to provide a print publication date.  I kind of assumed that the manuscript would be included in the next issue of the journal (well, it's biweekly, so maybe the one after that, considering that the administration takes some time). What is your experience of issue assignment?

What steps does a manuscript typically go through from submission to publication (or rejection) in a typical journal? How are these steps referred to, in particular by editorial systems, and how long do they each typically take?  Note that this question is about the typical situation and hence not about:   Journals with an atypical workflow, e.g. those that allow for an instantaneous reviewer–author interaction. Exceptional steps or rare occurrences such as withdrawal or .   This is a canonical question on this topic as per . Due to its nature, it is rather broad and not exemplary for a regular question on this site. Please feel free to improve this question.


Basically I am executing this script remotely via an SSH session. It works fine on Linux Mint, but not on Debian (7.5). It looks like the export display or nohup command isn't working, but I'm not sure what to try to test this. Can anyone see anything wrong with this?  #!/usr/bin/env bash mount -t cifs //10.50.18.114/Presentation -o 'username=Administrator,password=***,sec=ntlm' /mnt/share pkill soffice.bin cp -v /mnt/share/Pres.ppt /home/kyle/Documents chmod 777 /home/kyle/Documents/Pres.ppt export DISPLAY=":0" nohup libreoffice --norestore --nolockcheck --show /home/kyle/Documents/Pres.ppt & sessionid="$(pidof -s sshd)" kill $sessionid exit   EDIT: This is not the same issue as shown in the 'duplicate' link provided, I've used the information in that thread and it didn't work.  To answer the comments: I have 2 separate machines. The presentation PC has the above script saved locally. I am executing this script remotely over SSH, I put echo commands in between each stage and it looks as if it executes all the way to the end (I actually commented out the kill sessionid), but the presentation doesn't display on the presentation PC. The script works if I execute locally as root (it needs root to use the mount command).  The only error I see is:      (soffice:3747): GConf-WARNING **: Client failed to connect to the   D-BUS daemon: Did not receive a reply. Possible causes include: the   remote application did not send a reply, the message bus security   policy blocked the reply, the reply timeout expired, or the network   connection was broken. GConf Error: No D-BUS daemon running   However, I get this error whether I run locally or over SSH, so I don't think this is the issue. I still believe it is something with the EXPORT and nohup command, but I don't know enough to troubleshoot effectively.  EDIT 2: It actually works when I SSH with my 'kyle' account, it seems connecting via SSH with root isn't able to connect to 'kyle's local display because it is a different username. I will work on finding a solution to this.

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.


When I copied some files from work onto my external hard drive it copied them as encrypted files.  NOTE: The drive is not encrypted - just individual files.  Now when I try to copy files from the external drive to my PC, Nautilus crashes. In fact Nautilus crashes even when I browse a directory that contains an encrypted file.   I can browse the file system using the terminal, although I get "Permission Denied" errors if I try to copy the encrypted files. On Windows the encrypted files are listed in green in Windows explorer.  Is there anyway that I can list which files on the external drive are encrypted?  UPDATE #1  I understand that you cannot decrypt these encrypted files under Linux per this Q&AL . However, I can list them in the terminal so I'm looking for a way to list which ones are encrypted and which ones are not.

Windows allows the  of certain files or folders. I currently have a Windows folder that is set to "encrypt contents to secure data". (The Windows partition is NTFS.)  If I mount this drive under Linux, is there anyway to decrypt the contents of the directory so that I can read the files without having to reboot into Windows?


How to prove that;     The cardinality of power set of $\mathbb N$ is equal to cardinality of $\mathbb R$   I need a reference or proof outline. I looked up but didn't find results  thanks.

I have learnt that the cardinality of the power set of the natural numbers is equal to the cardinality of the real numbers. What is the function that gives the one-to-one correspondence between these two sets?  I have also learnt that there exists no set whose cardinality is strictly between the natural numbers and the real numbers. Is there a proof of this or at least some intuitiveness behind it?


In Illustrator, I create some designs in RGB mode (eg: glow effect and blending mode), If I drag and drop the CMYK document some blending options are changing. So please give me the solution for this problem, I am very confused by this problem...

Below you find the design for our business cards. The triangles are yellow, as you can see outside of the canvas. However, inside the canvas, only when I set the Color Mode to CMYK, they appear pink. When I switch the Color Mode back to RGB, they appear yellow as expected. However, when I print them, in both cases they turn out pink...   I would just like to know what is going on here and how I can change them back to the right colors?  CMYK Colors:


While adding ingredients to mixture(for cookies), I forgot to put brown sugar..  Now that when i've baked cookies, what alternate can I add to retain their taste?

I remembered everything else, it taste fine but a little bland. Even though i already cooked it, is there anything I can do to make it taste better?


I get a mysterious error running the following MWE (with both XeLaTeX and LuaLaTeX):  \documentclass{article}  \usepackage{fontspec}  \setmainfont{texgyrepagella-regular.otf}  \begin{document}  Hello World!  \end{document}   The error description in the .log file reads:  ... LaTeX Info: Redefining \upshape on input line 2245.  ("C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec.cfg"))) ! Undefined control sequence. <recently read> \str_case:nnF   l.5 \setmainfont{texgyrepagella-regular.otf}  The control sequence at the end of the top line ...   And the document that's produced looks like this:   I'm using MiKTeX 2.9 on Windows 7 with a very recent version of fontspec, which according to MiKTeX's Update Manager was packaged only four days ago (2015-07-214).  Is this a bug?

I'm using this document class type  and I get the following error when I run it throgh XeLatex:  ! Undefined control sequence. <recently read> \str_case:nnn   l.72     ]{BookmanOldStyle}   I read and tried what the following post suggests (), but I still have no solution. The font files are in the right path and installed.  It was working perfectly last week, but reinstalled MikTex and started having this issue.  Any idea about what is happening?  The code I'm running is  \ifxetex     %% If the document is compiled with XeLaTeX, we load the TU Delft house     %% style fonts: Bookman Old Style (serif) for titles and Tahoma (sans-serif)     %% for text. Even if the nativefonts option was specified, we need these     %% fonts for the cover. \newfontfamily\tudrmfamily[     Path = fonts/,     Extension = .ttf,     BoldFont = *-Bold,     ItalicFont = *-Italic,     BoldItalicFont = *-BoldItalic ]{BookmanOldStyle}


Let $f: \omega_1 \to \mathbb{R}$ be a contionuous function. Prove that $f$ is eventually constant.  I was trying to prove it by contradiction but I did not have any idea.

Some things I know:  omega_1 is the first uncountable ordinal, made up of all of the countable ordinals f is not necessarily continuous    For this proof, I currently have x as a condensation point in my range, and I know that (x - (1/n) , x + (1/n) ) is uncountable and everything to the left and right of this interval is countable. I understand that I want to shrink this interval small enough just to x (which will be my constant), making everything around x eventually countable. I also understand that this will eventually make all of the elements in omega_1 go to x but I am having a hard time seeing where my contradiction comes in. I also am struggling with writing this proof in a presentable fashion.   Thank you!


I am asking about solving this $$\int_{-\infty}^{\infty} \frac{x\sin x}{(x^2+a^2)(x^2+b^2)} dx$$ without using complex analysis' knowledge, but using something like integration by substitution, integration by parts, etc. I can tell the answer is $\frac{\pi}{b^2-a^2}(e^{-a}-e^{-b})$, but I don't know how to do it.

$$\int_{-\infty}^{\infty}\frac{x\sin x}{(x^2+a^2)(x^2+b^2)}\,\mathrm{d}x$$  This is easy to evaluate with complex analysis but is there an elementary way (substitution, partial fractions, integration by parts)?


Sometimes, iPhone suggests emojis based on the text you have typed, like so   I have been trying to trigger this emoji 😝 on the Predictive bar shown above without success. I know there is some personalization involved, but is there a way to find the text that can trigger a particular emoji? I would think there is are some default text mapping to each emoji.

In iOS 10, the QuickType menu is a lifesaver whenever the user needs to type a long word and doesn't feel like typing it (and it's also fun to make up ).  It also randomly suggests Emojis. But finding what to type to make the intended Emoji appear can be quite discouraging. For example if I want to type the "" 😈 there doesn't seem to be a way to QuickType it without having to go in the Emoji Keyboard. See examples below showing attempts at entering "Demon", "Evil" and "Devil":        My questions:   Can all the Emojis be called through QuickType without having to go into the Emoji Keyboard?  How do I know how what to type to call the right ones?


I started using Xubuntu a few weeks ago, and I'm annoyed with a strange behaviour : when I accidentally type a certain keyboard shortcut (yet to be determined), my screen shifts to a "magnified" mode (it gets a 10% zoom and starts to move the opposite way of my mouse pointer).  I'd like to know the shortcut (so I can at least leave this mode without disconnecting my session everytime...) and if possible, how to disable this completely. I found nothing related in the Keyboard manager.

In XFCE4 desktop environments, alt+scroll wheel zooms my entire desktop. I'm finding this very annoying because sometimes I flick the scroll wheel to go to the top of a document then press the alt key for a some unrelated keyboard shortcut and find myself zoomed in so far I can't see anything at all. Is there any way to disable this feature?


I had accidently deleted the Render Layers and Composite nodes in the Compositing nodes section. When I discovered this problem (as it wouldn't render of course) I re-added those nodes. However now when it renders it only renders the white cap part and not the glass bottle of my scene. Any suggestions please?

I have a model of a building with a sidewalk around it.  Both show up when I switch to rendering mode in both Blender Render and Cycles Render mode.  But:  when I hit F12 for a final proper render, the building shows up -- but the sidewalk doesn't.    I've checked the normals and I thought the normals seemed pointed in the right direction.  I've set the Clipping on the Camera to a high number.  I removed all the materials from the sidewalk and added a new material-- the problem persists.  I've exported the blend as an FBX file and the Sidewalk shows up fine in Unity.  Just in final renders, it doesn't show up.    Here is a blend file: .  I tried to destroy everything unrelated to the issue and label things in a clear way.    Thanks.


I've build some snippets to generate a fields for a setting class. I'm now using 2 variables - $setting$ and $Setting$ - to generate names for the property and the backing field. I like to use a single variable, because the only difference is that the backing field is always a lower-cased version.  Current code:  string $setting$;  /// <summary> /// Gets the $bigComment$. /// </summary> /// <value>The $smallComment$.</value> public string $Setting$ {     get     {         if (String.IsNullOrEmpty($setting$))         {             $setting$ = CFW.Common.Configuration.GetAppSetting("$Setting$", $defaultValue$);         }          return $setting$;     } }   Is this possible?

Is there any way that I can change how a Literal of a code snippet renders when it is used in the code that the snippet generates?  Specifically I'd like to know if I can have a literal called say, $PropertyName$ and then get the snippet engine to render "_$PropertyName$ where the first character is made lowercase.  I can't afford R#.  Please help :)


Let $Y = \ln(X)$, where $Y$ follows a normal distribution with mean $μ$ and variance $σ^2$. What is the mean and variance of $X$? I know that if $Z$ follows a normal distribution with mean $μ$ and variance $σ^2$ , then $M_z(t) = e^{μt+ \tfrac{1}{2}σ^2 t^2}$

The computed moments of log normal distribution can be found . How to compute them?


I am trying to check if urls which are present in video_list has audio or not. and if one url appears twice or more then it is giving same index where the url first appeared. for example if i put same url 5 times then it will give index 0 5 times. Is there any way to fix this problem ? the snippet of code is below.     video_list = ["url1", "url1", "url1", "url1", "url1"]     index_list = []     for url in video_list:         stream = os.popen(             "ffmpeg.ffprobe -loglevel error -select_streams a -show_entries stream=codec_type -of csv=p=0 '{}'".format(                 url))         output = stream.read()         if len(output)==0:             index = video_list.index(url)             index_list.append(index)

How do I access the index in a for loop like the following?  ints = [8, 23, 45, 12, 78] for i in ints:     print('item #{} = {}'.format(???, i))   I want to get this output:  item #1 = 8 item #2 = 23 item #3 = 45 item #4 = 12 item #5 = 78   When I loop through it using a for loop, how do I access the loop index, from 1 to 5 in this case?


In CMD language you can define all at once like:del C:\randomfiles\* That Means you select ALL files at once. I have the Code var names = new List<System.Drawing.Color> { Red, DarkRed, 1000 colors later... }; but I dont want to tipe in all colors because that may take years... How can I define all at once like in CMD language?  EDIT: This is not the same as:  because I want al ist of all colors WITHOUT spending years writing all colors....

How can you enumerate an enum in C#?  E.g. the following code does not compile:  public enum Suit {     Spades,     Hearts,     Clubs,     Diamonds }  public void EnumerateAllSuitsDemoMethod() {     foreach (Suit suit in Suit)     {         DoSomething(suit);     } }   And it gives the following compile-time error:     'Suit' is a 'type' but is used like a 'variable'   It fails on the Suit keyword, the second one.


You are standing still in a vacuum, and you throw a ball that moves 10 m/s away from you.  Now you start moving in one direction at 5 m/s, and throw the ball in the other direction, away from the direction you are moving.  The ball, relative to you, is going 10 m/s, but relative to an unmoving body, it is traveling 5 m/s.  My question is: is this same concept applied to light?  If a light source is traveling away from you at a speed greater than that of light, would you be unable to see it?  Or would light just keep going the same speed relative to an unmoving body?

Lorentz contraction and time dilatation can be deduced without Lorentz transformation. Can you deduce also the theorem of    $$w~=~\dfrac{u+v}{1+uv/c^2}$$   without Lorentz transformation? Using just the constancy of light speed.


(sorry for my bad english) I have a problem with the boot screen. When i turn on my PC, i see the Ubuntu logo and after that, a black image with 5 dots (and after that i see the locker screen). The problem is: Why i see the black screen and how to fix it ? In this photo is what i see when PC starts: This is what i see first:  And after, i see this: This is what i see after:  I hope you understood me! Thanks! (I use the last Ubuntu LTS version). My specs: Processor: Intel Core 2 Duo CPU E7500 @2.93GHz Graphics: Geforce GT 730 OS type: 64-bit Ubuntu 16.04 LTS

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


$ a_n = (1+ \frac{1} {n}) ^n  $ where n is a natural number then which one is greater $ a_{2013} $ or $ a_{2014} ?$  I tried using binomial expansion but could not solve it. I also tried using monotonicity but expression is complicated.

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?


Im trying to fix my friends Toshiba laptop. She has Windows 7, no anti-virus and is infected with a virus. The computer shows no connection problems; but I cannot access the internet or download a disc to clean it up. I want to use esetnod32 and malwarebytes. I`m not as tech savvy as most of you, but I can hold my own. Melissa.

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


I am writing a document of class \documentclass[sigconf]{acmart}  When I create a subsubsection \subsubsection{Data1} % For HIV....  \subsubsection{Data2}  Instead of getting 1.3.1 Data1   For HIV  I am getting 1.3.1 Data1 For HIV  I tried adding new lines by \, \nointendent and some comments between but it didn't work. How to fix it ?

When I have \subsubsection{sub sub section} Some Contents and some description for it. I cannot distinguish between the title and description as they appear in the same line.   For instance if I do:  \documentclass[prodmode,acmtecs]{acmsmall}  \usepackage[ruled]{algorithm2e} \usepackage{array} \renewcommand{\algorithmcfname}{ALGORITHM} \SetAlFnt{\small} \SetAlCapFnt{\small} \SetAlCapNameFnt{\small} \SetAlCapHSkip{0pt} \IncMargin{-\parindent}  \begin{document}  \section{First Section} This is the first section. \subsection{Sub Section} This is the sub section. \subsubsection{Sub Sub Section}  This is the sub sub section.  \end{document}   Then the output is like:  *Sub Sub Section*: This is the sub sub section.   This is how the acm template works like. I tried with article and it was okay.   What I would like to have is:  Sub Sub Section:   This is the sub sub section.   Can anyone help me with this?