For sake of question, we are UK based.  Myself and fiancée are looking to book our honeymoon for September this year to Singapore.  She will be taking my surname after the wedding.  The issue is that her passport, which is in her maiden name, expires in May, and we do not get married until June.  We do not want to pay to renew her current passport, and then have to pay again to change her name after the wedding.  If her passport was not due to expire, we would have just booked it in her maiden name and changed her name on the passport after the honeymoon.  If we were to book the honeymoon via Expedia, with flights via Qatar Airways, would this be safe enough to do by using her name with my surname, and then apply for the new passport after the wedding seeing as there are 2 full months between the wedding and travel date?


How can I completely suppress ligatures?

The  package allows to completely suppress ligatures. However, this feature requires pdfTeX 1.30 or newer. That's unfortunate if I'm using LaTeX or XeLaTeX while having to avoid ligatures.  Is there any other way to disable ligatures for a complete document or just an environment?


Java: Why does this swap method not work?

I have the following code:  public class Main {      static void swap (Integer x, Integer y) {         Integer t = x;         x = y;         y = t;     }      public static void main(String[] args) {        Integer a = 1;        Integer b = 2;        swap(a, b);        System.out.println("a=" + a + " b=" + b);     }  }   I expect it to print a=2 b=1, but it prints the opposite. So obviously the swap method doesn't swap a and b values. Why?


How do I access the "transform pattern" function in Illustrator on a French keyboard?

In Illustrator, "Tilde" key ~ seems to have some magical power: According to Adobe's site, it can "transform pattern (independent of object) when using Selection tool, Scale tool, Reflect tool, or Shear tool".    Sounds great! I wish I could play around with it, but... I use a French keyboard. No such key on my keyboard.      ² key is not working. And to access the tilde character, I must combine alt + é/2 keys, which obviously results to a duplication of the selected object.   I know I could change my keyboard through the Windows regional settings, but maybe there's another way. Maybe this key is hidden somewhere, or maybe I could change it through the keyboard shortcuts menu.    Any help appreciated.  Specs: CS6 - Windows 7  Edit : I do NOT want to type a Tilde. I want to find the key on my French keyboard that allows to transform an Illustrator pattern independantly of its container object. This has nothing to see with the thread "". This is not a duplicate... cheers


Does an Ana boosted Mech deal more damage during self-destruct?

What happens if Ana boosted D.va just before she uses her ultimate? Can the boosted mech destroy shields and kill tanks?


I am writing a thesis document in Latex. I have already written several pages in it but suddenly at one page the spacing between paragraphs is too much (3-4 lines).   As its a long documents so, its a bit difficult for me to provide the working example. I was wondering if somebody has also faced the similar problem or know the possible reason of this weird results.  By the was, I am writing the paragraphs in the following way:  Here the para-1 ends.   The para-2 begins here after a gap of one line. Now, it ENDS here.  Para-3 has started with a gap of one line.   PS: it is a single sided document   UPDATE:  I have found that if I remove the line below the equation then everything become ok but if i put the line below the equation then, the problem of weird spacing comes. I have used the same method of putting equation and paragraphs in other sections but did not face any problem.  \begin{gather} \text{positional distance component, } d_p(i,j) = \sqrt{            (   n_x^i - n_x^j   )^2 + ( n_y^i - n_y^j   )^2     } \\ \text{and color distance component, } d_c(i,j) = \sqrt{         (   n_L^i - n_L^j   )^2 + ( n_a^i - n_a^j   )^2 + ( n_b^i - n_b^j   )^2     } \end{gather}  The weightage of the two distance components can be varied by chaning the value of two multiplying constants ($\mathit{w_p}$ and $\mathit{w_c}$) for position and color components of distance measure.


How to find sum of $\sum_{k=1}^\infty k(\frac{7}{8})^{k-1}$

How do we compute the following infinite series? $\sum_{k=1}^\infty k(\frac{7}{8})^{k-1}$ It arises as part of a more general problem. What is the expectations of the number of draw srequired from a uniform [0,1] distribution before you get a number that is $\epsilon$ close to 1? Intuitively, it is $1/\epsilon$, but to show this, you would need to calculate the expectation: $E[X] = \sum_X f(X)\cdot X = \sum_{k=1}^\infty k(\frac{7}{8})^{k-1}$


I want to define an abbreviation, for example, \newcommand{\pca}{Principal Component Analysis}. It seems trivial, but I am unable to do it. Please see below the code snippet-  \documentclass{article}  % define an abbreviation \newcommand{\pca}{Principal Component Analysis}  \begin{document} \pca is an unsupervised, non-parametric statistical technique primarily in machine learning. The dimensionality reduction can be done using \pca. \end{document}   Below is a screenshot of the generated output-    It can be seen that there is no space between "analysis" and "is" as highlighted in the screenshot above.   Adding a space intentionally using \pca~is could be a workaround, but I believe there must be a better way. Please suggest.


80's (or earlier) book about a role-playing group getting sucked into a new realm

The details I can remember are:    The trope of a role-playing group getting sucked into a different realm, possibly becoming their characters. One of the females becomes graceful, has the power to fly like a moth, possibly something about bracelets as part of her abilities(?). In one scene she might get stuck in a huge spider web.  One of the males is a scrawny guy but becomes a muscle-bound oaf in the realm they travel to.  They do get back to their own Earth realm, to the gaming table, but everyone was pretty bummed because they no longer had their alternate abilities/bodies.  It seems to have been some "journey to adulthood" type theme overall.    This was a book that was in my high school library in the 90's, was possibly published in the 80's or earlier.  I've searched for a bit, but have not found any books that fit what I remember.


Mutlivariable integral, How to compute it?

Can anybody please tell me, how to evaluate a multivariate integral with a gaussian weight function. $$\mathcal{Z_{n}}=\int_{-\infty}^{\infty} dx_{1}dx_{2}dx_{3}dx_{4}...dx_{n}\exp(-\frac{a}{2}\sum_{j}x_{j}^2)\times f(x_{1},x_{2},x_{3},x_{4}....x_{n})$$  where $f(x_{1},x_{2},x_{3},x_{4}....x_{n})=\Pi_{j} \frac{1}{\sqrt{(1+i\,b(x_{j}^2-x_{j+1}^2)^2)}}$, and $i=\sqrt{-1}$. Also we have the condition $x_{n+1}=x_{1}$.  I need a hint to solve this integral. This is how I proceeded,  \begin{eqnarray} \mathcal{Z_{n}}=\int_{-\infty}^{\infty} \Pi_{j=1}^{n} dx_{j}  \exp{\Bigg(-\frac{a}{2}\sum_{j=1}^{n}x_{j}^2-\frac{1}{2}\log{\Big(1+i b(x_{j}^2-x_{j+1}^2)^{2}\Big)\Bigg)}} \end{eqnarray}  Now the integral is of the form of the canonical partition function integrated over the configuration space. Hence the integral can be identified as an $n-$particle partition of the canonical ensemble, which is given by \begin{eqnarray} \mathcal{Z}_{n}= \int_{-\infty}^{\infty} \Pi_{j=1}^{n} dx_{j}  e^{-\beta \mathcal{H}}, \end{eqnarray} where $$\mathcal{H}=\Bigg(\frac{a}{2}\sum_{j=1}^{n}x_{j}^2+\frac{1}{2}\log{\Big(1+i b(x_{j}^2-x_{j+1}^2)^{2}\Big)\Bigg)}.$$ and $\beta=1$. Then I got stuck !


Are there any standard icons for qml-app-development?

I am developing a qml-app and I want to put icons on the buttons. I would like to use ubuntu standard icons to get the real ubuntu look for my app. How can I do this?


which one is correct, "Master's student" or "Masters student" or "MSc student"?

I don't know exactly which one is more official and correct? Master's Student Masters Student MSc Student   What is main difference?


Can I challenge the rejection of a suggested edit?

Someone tried to make a helpful edit to one of my posts. (A community wiki post which specifically states "please add definitions as needed").   I got a notification that a suggested edit was pending, but by the time I responded, it had been rejected with two incorrect reasons.  (The edit neither "changed the meaning" nor was it incorrect.)  I know I can go ahead and edit the post to include the denied contribution, but is there a way to challenge the rejection?  The original editor deserves credit for doing something useful,and the rejectors could use a mild scolding, for rejecting something they didn't understand.


Every time I add a new mesh it goes behind the background image, how to make it on top?

I have a background image on the side view angle, I added a new mesh to model a part of my image but can't for the life of me put the background image behind the mesh... Edit: Solved it, Depth parameter of the image was set to Front, I have set it to default and it took care of the issue, thank you


QGIS 2.14 - Saving Lat/Long csv file to ESRI Shapefile Error

I have a csv file that I bring into QGIS 2.14 with standard lat and long formatting. The file displays fine but when I try to save it as an ESRI shapefile I get an error:  Export to vector file failed.     Error: Feature write errors:   Feature creation error (OGR error: Error in psSHP->sHooks.FSeek() while writing object to .shp file.)   I have tried many other files including examples from various sites on the internet and get the same error. In other words, I cannot get this functionality to work at all and I do not think it is file specific.  Note the below has been ruled out as a cause of the problem, but I am leaving it in for future reference: I will also note that when I try to start QGIS 2.14 Desktop I get an error as follows:     Runtime Error!   Program: C:\PROGRA~1\QGIS Essen\bin\qgis-bin.exe   R6034   An application has made an attempt to load the C runtime library incorrectly.   I suspect that is probably the problem although it hasn't affected any functionality up to this point.


My UK visa refusal letter came back without a specific reason for refusal that I can rectify the next time am applying and for the record I don't see any reason for refusal coz I provided both my father and the other sponsor's official employment letters , pay slips and bank statements covering the last six months. My father takes care of me here in my home country where we both leave and my other sponsor who is my aunt is UK citizen and she was the one supposed to care of me in UK as she stated in the invitation letter and the sponsorship under taking form. Am a full time university student so I don't work, I provided my university enrollment certificates and a letter from the dean stating I was free to travel because its the official university holidays given that I come back in time when studies resume so that I can finish my third and final year Am always in touch with my aunt coz she usually visits us here and we regularly chat so I also provided screenshots of our WhatsApp chats I show that we keep in touch. So I don't know the exact reason why my application was refused that I can rectify the next time I apply. They only told me the change the circumstances of my application and check Appendix V


How to prepare files for rsync on a case insensitive filesystem?

I am transferring a large number of files on a HFS+ filesystem.  The files are currently on ext2 partitions.  I have conflicts due to case insensitivity of the target partition (HFS+).  I want to identify the files that have duplicates filenames once they are in lower case, and delete them if they are actually duplicates.  I also found that I will have duplicate folder names if I convert everyhing to lower case. Basically these hard drives contain years of unsorted data, and I happen to have this problem with folder names too.   Does this seem reasonable:  find . -type f | while read f; do echo $f:l; done | sort | uniq -d    $f:l is ZSH for convert to lower case.  Now I want to keep only one instance of each file that have duplicates. How to do this efficiently ?  I do not want to find files with duplicate content, unless they have the same lower case filename. I will deal with duplicates later.


How do I list all databases and tables using psql in a pipable format?

deals with getting a list. So I get this:  $ psql --list                                     List of databases       Name      |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges ----------------+----------+----------+-------------+-------------+-----------------------  testdb1        | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |  odoo           | openerp  | UTF8     | en_US.UTF-8 | en_US.UTF-8 |  odoo-demo      | openerp  | UTF8     | en_US.UTF-8 | en_US.UTF-8 |  odoo8          | openerp  | UTF8     | en_US.UTF-8 | en_US.UTF-8 |   I could use psql --list|grep UTF8|awk '{ print $1 }' to get a list of just the databases. Can psql also give me a clean useful list directly?


Prove that if $p: Y \to X$ is a covering space and $X$ is path connected, then the cardinality of $p^{-1}(X)$ is constant.

Let $p: Y \to X$ be a covering space and $X$ is connected. I want to show that $\forall x \in X$ the cardinality of $p^{-x}$ is the same.   $\textbf{My Attempt:}$ Let us first fix a point $x_0 \in X$ such that $|p^{-1}(x_0)|=\kappa$.  Then let $H=\{x \in X \mid  |p^{-1}(x)=\kappa| \}$  Then let $f: H \to \text{Cardinals}$ be defined as  $f(x)=|p^{-1}(x)|$. Then $f$ is a constant function on $H$.   How do I  show that $H$ is open? $H$ is the inverse image of $\{\kappa\}$ but this is a singleton set from the collection of cardinals. I am not really sure what to do with that.  If I can show that $H$ is open, then I can prove by contradiction, using the assumption of connectedness, that all $x \in X$ are such that $|p^{-1}(x)|= \kappa$.


How to calculate the age of the user inside a SQL query. Be aware I splitted the database into the fields: birthday, birthmonth and birthyear.  I created a  to show what I mean.  CREATE TABLE IF NOT EXISTS `user_profile` (   `user_id` int(11) NOT NULL AUTO_INCREMENT,   `user_birthday` tinyint(4) NOT NULL,   `user_birthmonth` tinyint(4) NOT NULL,   `user_birthyear` smallint(6) NOT NULL,   PRIMARY KEY (`user_id`) ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;  INSERT INTO `user_profile`  (user_birthday, user_birthmonth, user_birthyear) VALUES (31, 12, 1990)


Proof verification for irrationality of $\sqrt{n}$, when $n$ is not the square of a positive integer.

I think I have a valid proof for the irrationality of $\sqrt{n}$, when $n$ is not the square of a positive integer. My teacher taught us a different method to prove $\sqrt{2}$ is irrational, which is perfectly valid, but my method just seems a little neater to me and it works in general for any value of n that isn't a perfect square .  Firstly, lets assume $\sqrt{n}$, when $n$ is not the square of a positive integer, is rational. Hence:  $\sqrt{n}$ = $\displaystyle\frac{a}{b}$, where  $a, b\in\mathbb{N}$ $b\neq0$  Therefore, by squaring both sides we find:  ${n}$ = $\displaystyle\frac{a^2}{b^2}$  Hence, we see $a^2$ = $nb^2$ $(1)$  Let $a$ have a prime factorisation of $a= \prod\limits_{i=1}^n {p_i}^{e_i}$, where ${p_i}$ is a prime, and ${e_i}$ is the multiplicity of the prime power ${p_i}$. Hence, $a^2$ will have a prime factorisation of $a^2= \prod\limits_{i=1}^n {p_i}^{2e_i}$.  Also, we can state $b$ in the form of $b= \prod\limits_{i=1}^n {q_i}^{f_i}$, hence $b^2$ can be expressed as $b^2= \prod\limits_{i=1}^n {q_i}^{2f_i}$, where ${q_i}$ is a prime, and $f_i$ is its corresponding multiplicity.  Now consider equation $(1)$. We know that $n$ is not a perfect square of a positive integer, so the multiplicities in its prime factorisation must not all be even, as a number is a perfect square if, and only if, (iff), the multiplicities of its prime factors are all even. Hence, it is impossible for equation $(1)$ to hold, as the multiplicities on the LHS must all be even, and on the RHS, it is impossible for this to be the case, as the multiplicities in $b^2$ are all even, but in $n$ they are not. Hence, the product of these two can never have even multiplicities for all prime factors, hence equality can never hold.  Hence, this results in a contradiction, so our initial assumption that $\sqrt{n}$, when n is not the square of a positive integer, being rational was false, hence $\sqrt{n}$ must be irrational, for $n$ not being a perfect square.


NullPointerException Issue please assist

Hey guys I'm a beginner (sort off) in java and i'm having some trouble. I'm trying to get the date I set in the Budget class with a variable in the Finances class but I keep getting a NullPointerException.  I'm trying to use the dueDate variable in the finances class but the logCat keeps stating that it's a null object reference even after I've instantiated it.  public class Budget {     private Date mDate = new Date();     public static double budgetAmount;      private static Budget instance = new Budget();     private Budget(){      }      public double getBudget(){         return budgetAmount;     }      public void setBudget(double budget){         budgetAmount = budget;     }      public static Budget getInstance(){         return instance;     }       public Date getDate() {         return mDate;     }      public void setDate(Date date) {         mDate = date;     }  }   Here is the Financial Class  public class Finances extends Activity{     int amtFood; int amtCar; int amtGas; int amtTvBill; int amtInBill;     int amtTronics; int amtWear; int amtLight; int amtWater; int amtOthers;      Date nowDate;     Date dueDate = new Date();      double MainAmount = Budget.budgetAmount;     static int SpentAmount;      Budget budgetDate;      public Finances(){         HashMap<String,Integer> amtAdd = ExpenditureLab.get(this).getExpendMap();         int food= amtAdd.get("Groceries/Food");         int car = amtAdd.get("Car servicing");         int gas = amtAdd.get("Gas Money");         int tvBill = amtAdd.get("Television Bill");         int inBill = amtAdd.get("Internet Bill");         int tronics = amtAdd.get("Electronics");         int wear = amtAdd.get("Clothes/Wearables");         int light = amtAdd.get("Light Bill");         int water = amtAdd.get("Water Bill");         int others = amtAdd.get("Others");            dueDate = budgetDate.getDate();     }      public void addSpent(int amt){         SpentAmount += amt;     }  }


How to demonstrate: $(p→r)∧(q→r) ⇔ p∨q→r$

How to demonstrate $(p→r)∧(q→r) ⇔ p∨q→r$ using the laws of logic?


How to define an anonymous math operator?

I use DeclareMathOperator all the time, but it has a side effect and creates a new definition that pollutes my namespace.  So I have a definition like this \DeclareMathOperator{\case}{case}, and then when I want to use case, I type \case.  I'd like to be able to define a function like op (e.g. \op{case}) and have that behave just like an operator created using DeclareMathOperator. For the most part, I currently use \text{...} if I'm only using something once or twice, which has the drawback that I have to explicit handle spaces myself.  Is it possible to define something like \op?


What are the non-trivial normal subgroups of $O(3)$? My guess is that the only one is $SO(3)$, but it's really only a guess, based on the fact that $O(3)$ is disconnected 3-manifold of $SO(3)$ and the set of reflective symmetries, which I'm not sure is even a subgroup (does it contain identity?)... I have no idea how to prove it.  So first I want to prove that $(\forall o \in O(3)) \space oSO(3) = SO(3)o$, then that there are no normal subgroups of $SO(3)$ and that the set of reflective symmetries is not a group.  (Please, be easy on me. I obviously don't know much about abstract algebra yet.)  Thanks!


Are the planets revolving around the sun in perpetual motion?

I was wondering if the planets revolving around the sun are an example of perpetual motion. Will they ever stop the revolution?


When person is ill because of cold, then he "caught cold" or "got cold"?

When a person is ill because of cold, then we can say about him that      "He caught cold"    (in 1st p.: "I caught cold" or in modal "you can catch cold if you will not dress properly")  or      "He got cold"?    (in 1st p.: "I got cold" or in modal "you can get cold if you will not dress properly")  Normally I've used "got cold" but someone wrote me that she caught cold (she's not Native English speaker) and that's what brought me to ask my question here.   In addition, I would love to know about the usage of these phrases or corresponding phrases in in the main English speaking countries such as: US, Britain, Canada and Australia (AmE, BrE, CaE, AuE).


Configure TexnicCenter with something else than Adobe Reader X

My Adobe decided it should be version X now, and it misbehaves in so many ways. One way is that it is impossible to get it to open a pdf document from within TexnicCenter (or I missed something...) Pressing F5 opens up the Adobe with some start menu asking me to open a recent file blablabla. But not the file I want to see. And TexnicCenter tells me the command could not be executed.  I've had it with Adobe bloatware, so I want to shift to something else. Nitro comes to mind, as I find it a decent PDF reader and editor. So I wondered if anybody had experience setting up TexnicCenter with , as I couldn't really find anything on the net. Or is there another one that is better ( is mentioned as it gives pdfsync, but again, I have no experience in this)  Thank you for your answers.  EDIT :  After some more searching around, I found that there is apparently a problem with the server name for Adobe ( see  ). Still, I've had it with those censored. more censored. So any help on linking TC with either Nitro or something else is greatly appreciated


If f(z) and f(z) whole bar are both analytic on a domain D, then what can you say about the function f(z)?


Give an example of a topological space $X $ such that $S_3$ acts freely on $X $

I need an example of a topological space $ X$ such that $S_3$ acts freely on $X $. I tried to find an easy example with google, but I didn't suceed.


How to detect that the app is running on a jailbroken device?

I have just released my app for iOS, but I'm not sure how to make my app safe from being used by jailbrakers.   Can I do something to prevent my app working on jailbroken devices?


I have this MWE  \documentclass[a4paper, 12pt]{article}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{mathtools}  \DeclareMathOperator{\shift}{décalage}  \begin{document} \(\shift x\) \end{document}   It produces the correct result but throws the following warning:  LaTeX Warning: Command \' invalid in math mode on input line 11.   Is there a situation where I might get a wrong result? I underestand that the problem is that the accent commands are different in text and math mode, and this is the cause of the warning. So I tried \(décalage\) and the letter é is upright instead of italic. Are any such case for the operators?


What is the origin of the trope of a school for magic/wizards/witches?

, , , , others… Many fantasy authors have written of schools where magic is a central part of the curriculum. What work of fiction first presented a school where students primarily studied magic with some degree of description of school life and instruction there? Novels, traditional folk tales, comics, graphic novels as well as radio plays, and film or television are all acceptable.


I stayed at hotels in different places, and each hotel provides different set of towels. But sometimes I don't know what is the purpose of each towel!  For example, attached two photos from a en-suite-bathroom in a businesses-European hotel, with 4 different towels.  I think that 1 is to use after shower (large towel) and 3 is used after washing hands. But what is 2 and 4 used for?!


I want to find the center of a closed oval, but it can't be done with the tools, so I thought that it is possible to connect the extreme points of this oval and where the intersection of these lines will be and there will be a center, how can this be done?  I tried to find the center with the meancenter tool, but it gives strange results, clearly not where the center is. I have an oval that is in the photo, but it doesn't have an attribute table, and there is also a point layer that contains 360 values. I created the lines, but they are not straight and arc-shaped, how can I fix it?   I couldn't find the right center, I don't understand how I can find it


I want to show that $$\frac{1}{\sum_{1}^{n}a^2}\leq \frac{n}{\left ( \sum_{1}^{n}a \right )^2}$$ Until now, I only have $$\left (\sum_{1}^{n}a  \right )^2\leq \left (\sum_{1}^{n}a^2 \right )n$$ Please, any idea on how to procede?


The question itself is really simple: How can I make the sphere draw a line?    The only idea I had was to use a particle system to create a trail of particles behind the sphere. This didn't work since I wasn't able to make the particles stay in place. I didn't find anything by using google so I hope someone can help me here.


Renaming a file in Bash using regular expressions

I have a file named 35554842200284685106000166550020003504201637715423.xml and I simply need to rename it to 42200284685106000166550020003504201637715423.xml (remove everything before the last 48 characters). This simple regular expression (.{48}$) can extract the last 48 characters, but I can't make it work using rename in Bash.  How can I use rename and this regular expression to rename it to only the last 48 characters?  Edit:  Output of rename --help  [root@ip-000-00-0-000 tmp]# rename --help  Usage:  rename [options] <expression> <replacement> <file>...  Rename files.  Options:  -v, --verbose    explain what is being done  -s, --symlink    act on the target of symlinks  -n, --no-act     do not make any changes   -h, --help     display this help and exit  -V, --version  output version information and exit  For more details see rename(1).   Thank you.


When defining class method, why there an equals sign in argument e.g. func(foo=3)

I'm learning python, trying to figure out how does this code actually work:  def func(**args):     class BindArgs(object):        foo = args['foo']        print 'foo is ', foo        def __init__(self,args):            print "hello i am here"     return BindArgs(args) #return an instance of the class  f = func(foo=2)   Output:  foo is  2 hello i am here  But it's very confused that in the argument of a function func(foo=2) that takes equation mark in it. Could you please explain how the flow works?


When I type  echo it's terminal  or anything containing 'blah blah terminal blah blah with echo the output shows  Blockquote  what does this mean.


As you can see in the print screen I have some impressions on my website, but the ads that come from Google Adwords arent making money (They have a 0 RPM). The ads that come from other companies are giving some money, why arent the Google ones too? My website was approved just last month to receive ads.


Comparison between bootstrap percentiles confidence interval and BCa confidence interval?

I have generated a nonparametric percentiles bootstrap confidence interval ($32.27143, 51.08571$), and a BCA confidence interval ($33.26, 53.49$) with an initial sample size of $n=7$.  Evidently, the BCA interval is larger than the percentiles interval. Shouldn't the BCA interval be better than the percentiles interval (and by "better" I mean "smaller")? I noticed also that when the sample size is larger, for example $n=40$, BCa confidence interval decreases.


Proof verification ($p$ prime then $p\mid \binom{p}{k}$ for $1\le k\le p-1$)

We have to prove that  $$p\mid\binom{p}{k}$$ for $1\le k\le p-1$.  My approach was to expand $\binom{p}{k}$ and simplify as  $$\binom{p}{k}=\frac{1\cdot 2\cdot\ldots\cdot p}{1\cdot 2\cdot\ldots\cdot k\cdot 1\cdot 2\cdot\ldots\cdot (p-k-1)\cdot (p-k) }=$$  $$=\frac{(p-k+1)\cdot\ldots\cdot (p-1)\cdot p}{k!}=p\cdot\frac{(p-k+1)\cdot\ldots\cdot (p-1)}{k!}.$$  Now (because of combinatorial reasons) $\binom{p}{k}$ is an integer so the last expression above has to be an integer as well. This means that $\frac{(p-k+1)\cdot\ldots\cdot (p-1)}{k!}$ is eighter an integer self (we have then $\binom{p}{k}=p\cdot n, n\in\mathbb{Z}$) and then we are done or it becomes an integer after multiplication by $p$. Now we simplify in this expression so that the nominator and denominator is relative primes so we get  $$\frac{(p-k+1)\cdot\ldots\cdot (p-1)}{k!}=\frac{a}{b}$$  with $\gcd(a,b)=1$. Now $p$ wasn't a factor in $k!$ since $k\le p-1$ and $p$ is prime and after the simplification we only can have less factors in the denominator so $p$ cannot  be one of the factors. This means that $p=b\cdot m, m\in\mathbb{Z}$ but since $p$ was prime this implies eighter $b=1$ or $b=p$. Now if $b=1$ then the expression is an integer and we are done. And $b=p$ means that the product of all the factors left after the simplification gives $p$ and  since it was prime this means that one of the factors was $p$ itself which is a contradiction because we already saw that all the factors in the denominator has to be smaller than $p$. Q.E.D  This feels like a standard problem that one should tackle with induction but I still would like to know whether this is correct. Any help? Thanks.


Changing the top margin in LaTeX for chapter name

When a new chapter starts I want to decrease the margin between the top of the page and where it says Chapter X. So I have something like   Chapter X  Chapter Title  and I want to decrease the space between the beginning of the page and Chapter X


Why start command works without path for some files?

When I try to start a program with start command without specifying path, for some programs it works and for some programs it doesn't work.  I know that if those programs are in my PATH list or in current directory, I don't have to type the path.  But start command works for some programs even if those aren't in current directory or in my PATH list. What is the reason for this?


Why does arcing occur on helicopter power-line repair

I saw , where a guy did power line inspection from a helicopter, which is isolated from ground. When he held out a "magic wand," a small amount of arcing came off of the power line to the helicopter.     This got me confused, though, because I thought since he was isolated from ground, the power would not want to go anywhere.   The helicopter simply has no relationship to ground.   So, why does the Magic Wand arc to the helicopter?


C - request for member ‘x’ in something not a structure or union

Context: I'm trying to make a few modifications for a game called Grand Theft Auto V.  I'm using GET_ENTITY_COORDS function to get the coordinates of a entity in the game:  static Inline struct Vector3 GET_ENTITY_COORDS(Entity entity, BOOL alive) {     args[0] = entity;     args[1] = alive;     invokeNative(0x3FEF770D40960D5A);     struct Vector3 vector3 = { *(float*)&rets[0], *(float*)&rets[1], *(float*)&rets[2] };     return vector3; }   This should return xPos, yPos and zPos.    Now this is the code what I currently are struggling with:  #include "gta.h"  void invokeNative_s(u64 hash) {     struct Native_s** g_Natives = (struct Native_s**)NativeTableAddress;     struct Native_s* Natives = g_Natives[hash & 0xFF];     while (Natives != 0) {         for (unsigned int i = 0; i < Natives->NativeCount; i++) {             if (Natives->NativeHashes[i] == hash) {                 ((void(*)(struct NativeArg_s*))Natives->NativeFunctions[i])((struct NativeArg_s*)FreeSpaceAddress);                 return;             }         }         Natives = Natives->LastNativeTable;     } }  struct gtaVars_s {     BOOL init;     int frameCount; };  static struct gtaVars_s *gtaVars = (struct gtaVars_s*)FreeSpaceAddress+0x100;  BOOL nativeHook() {     if (!gtaVars->init) {         nativeArg->ArgValues = args;         nativeArg->ReturnValue = rets;         gtaVars->frameCount = 0;         gtaVars->init = TRUE;     }      int newFrameCount = GET_FRAME_COUNT();     if (gtaVars->frameCount < newFrameCount) {         gtaVars->frameCount = newFrameCount;          Ped pedID = PLAYER_PED_ID();         Player playerID = PLAYER_ID();          /* define player coords */         Vector3 playerCoords = GET_ENTITY_COORDS(pedID, 1);         char waterRadius = 10;          SET_SUPER_JUMP_THIS_FRAME(playerID);         SET_PLAYER_INVINCIBLE(playerID, TRUE);          if (IS_CONTROL_JUST_PRESSED(0, Button_Tpad)) {             // teleport to beach             SET_ENTITY_COORDS(pedID, -1374.881, -1398.835, 6.141, FALSE, FALSE, FALSE, TRUE);              // set water             MODIFY_WATER(playerCoords.x, playerCoords.y, waterRadius, 10);             MODIFY_WATER(playerCoords.x+2, playerCoords.y, waterRadius, 10);             MODIFY_WATER(playerCoords.x, playerCoords.y+2, waterRadius, 10);             MODIFY_WATER(playerCoords.x+2, playerCoords.y+2, waterRadius, 10);             MODIFY_WATER(playerCoords.x+4, playerCoords.y, waterRadius, 10);             MODIFY_WATER(playerCoords.x, playerCoords.y+4, waterRadius, 10);             MODIFY_WATER(playerCoords.x+4, playerCoords.y+4, waterRadius, 10);             MODIFY_WATER(playerCoords.x+6, playerCoords.y, waterRadius, 10);             MODIFY_WATER(playerCoords.x, playerCoords.y+6, waterRadius, 10);             MODIFY_WATER(playerCoords.x+6, playerCoords.y+6, waterRadius, 10);             MODIFY_WATER(playerCoords.x+8, playerCoords.y, waterRadius, 10);             MODIFY_WATER(playerCoords.x, playerCoords.y+8, waterRadius, 10);             MODIFY_WATER(playerCoords.x+8, playerCoords.y+8, waterRadius, 10);         }     }      return TRUE; }   But I'm getting multiple errors from the GET_ENTITY_COORDS function even though I have defined the function above in my script:  source/gta.c:42:3: error: unknown type name ‘Vector3’    Vector3 playerCoords = GET_ENTITY_COORDS(pedID, 1);    ^ source/gta.c:42:26: error: incompatible types when initializing type ‘int’ using type ‘struct Vector3’    Vector3 playerCoords = GET_ENTITY_COORDS(pedID, 1);                           ^ source/gta.c:53:29: error: request for member ‘x’ in something not a structure or union   Does anybody know what the cause of this error is, and how I can fix it? I would appreciate it a lot since I'm struggling with this for quite some days and would love to see it resolved, thank you in advance.


Really, why did he?  We see in the prequels (and even more so in Legends) how whenever a Sith becomes weak, he gets killed off by his own kind. One example is the Apprentice who becomes more powerful than the Master. Or as we can see in SWTOR trailers, Darth Malgus kills his badly injured master.  While the situation may be reversed here (it's the apprentice injured, not the master), we saw how Palpatine easily gave up Count Dooku simply because of this age, although he was a very powerful Sith.   And now it becomes clear that Darth Vader would no longer be able to become as powerful as the Emperor predicted because of his injuries (which indeed is the case: although foretold by a prophecy to be an extremely powerful Force user, losing his limbs cuts off of Vader's powers and abilities).  Doesn't it make a lot more sense for Palpatine to give up on Vader and find a new, more powerful apprentice?


Is there a (portable) way to rotate text in a HTML table cell by 90°?  (I have a table with many columns and much text for the headings, so I'd like to write it vertically to save space.)


How do I use an encrypted MySQL password with Cyrus SASL?

In /etc/postfix/sasl/smtpd.conf I have:  auxprop_plugin: sql sql_engine: mysql sql_hostnames: 127.0.0.1 sql_database: mail sql_user: mailadmin sql_passwd: secret sql_select: SELECT password FROM users WHERE smtp_username = '%u' sql_usessl: no   This is working if I place a plain text password in the password field, but the database uses passwords stored with the MySQL ENCRYPT() function. Since the Query selects the password, rather than using the password in the where clause, how do I check that the user supplied password when ENCRYPT()ed matches the encrypted password in the database?  Is it possible to change the query to use ENCRYPT()ed passwords?


Best way to display old, low resolution PC games on modern monitors?

For clarification, I'm not asking about getting the games to simply work on modern hardware/software. A lot of old DOS games had low max resolutions. Many (like Jagged Alliance: Deadly Games) maxed out at 640x480. Modern monitors have such high PPI (pixels per inch) that playing at the native resolution puts the game into a tiny letterbox. Playing fullscreen stretches the textures out causing a pixelated mess. Is there a good way to display these games at a good size without just getting a monitor with a lower PPI? I suspect there's no good solution but maybe something exists that's better than what I do, which is just play in a tiny window.


Alternative proof: Matrix $A$ is similar to $B$ iff $\lambda I - A$ is equivalent to $\lambda I - B$

We have this theorem for square matrices $A,B$ over a field $K$, and $\lambda$ an indeterminate:  If $\lambda I - A$ is equivalent to $\lambda I - B$, then $A$ is similar to $B$. ($A$, $B$ are matrices in $K^{n\times n}$, and $\lambda I - A$ is the characteristic matrix of $A$).  (Note The word "equivalent" above means that you can get one from the other by doing row operations and column operations: a sequence of elementary operations on rows or on columns: add multiple of one row to another, swap two rows, or multiply one by an invertible scalar, or similar operations for columns. In this case the equivalence allows polynomial scalars in $K[\lambda]$). The proof which I'm aware of is very ... "calculation-style": It first proved a lemma, (something like $M(\lambda) = P(\lambda)(\lambda I - A) + R$), then show you the result is correct by doing some calculations. (I think there is good chance that you know which proof I am talking about). After reading the proof, I still have no idea why it is true. Knowing a proof usually helps you understanding something, but for this one, it confuses me. So, my question is: Is there an alternative proof for this theorem, (undergraduate level), that helps me to understand what's going on.


I have the same question as this . I use windows 10 and  USB 3.0. I have seen a lot of angry reviews about well known GPS device brands so I was wondering if anyone has been using GPS tool in QGIS and is willing to share info about type of device being used.


Properties applied with flex are lost when assigning width to the element

Applying width to an element that has been centered horizontally and vertically using flex loses the properties applied by flex    body {   margin: 0;   padding: 0;   height: 100vh; }  header {   padding: 10px;   display: flex;   justify-content: space-between;   border-bottom: 1px dashed lightblue; }  main {   display: flex;   flex-direction: column;   justify-content: center;   align-items: center;   height: 100vh;   min-height: 100vh;   width: 200px; /* if comment this line the properties assigned by flex work properly */ }  ul {   list-style: none;   padding: 0;   margin: 0;   display: flex; }  ul li {   padding: 10px; }

         Link 1

         Link 2

         Link 3

      <button>Dark mode</button>
Lorem ipsum dolor.

     Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus     dolorem aliquam amet impedit.
      What is the reason for this and how should this be implemented correctly?  Update  I get the desired result by modifying the html. I wrap the main content in a div and assign a fixed width to this div. Is it possible to do the same using only CSS?    body {   margin: 0;   padding: 0;   height: 100vh; }  header {   padding: 10px;   display: flex;   justify-content: space-between;   border-bottom: 1px dashed lightblue; }  main {   display: flex;   justify-content: center;   align-items: center;   height: 100vh;   border: 1px dashed tomato; }  main div {   width: 200px; }  ul {   list-style: none;   padding: 0;   margin: 0;   display: flex; }  ul li {   padding: 10px; }

         Link 1

         Link 2

         Link 3

      <button>Dark mode</button>

Lorem ipsum dolor.

       Lorem ipsum dolor sit amet consectetur adipisicing elit. Delectus       dolorem aliquam amet impedit.

      Thanks in advance


So a few days ago I tried to install Spotify and it didn't work... I wasn't that upset since I was installing VirtualBox to run another OS (windows or mac) and had a .iso file on my microSD card. I plug the card into the adapter, plug the adapter into the computer, and it says it can't mount. I've read other forums to fix the mounting but it seems like every single command fails because of this line:   E: The list of sources could not be read. E: Malformed entry 1 in list file /etc/apt/sources.list.d/spotify.list   Does anybody have a solution for this?


Store each function call argument's value in array

I want to store the arguments of abc(10) andabc(15) which is 10 and 15 respectively inside an array var store = []. var store = []; function abc(a){     for (var i = 0; i < 2; i++) {         store[i] = a;     }     console.log(store) } abc(10) abc(15)  Above code's console.log(store) gives me this array  [10, 10] and [15, 15]. I want one  single array [10, 15] and so on if I call abc(20) 20 array must be added to array and outputs [10, 15, 20].


Are there any cryptographic algorithms, which lets the user apply some modifications on the encoded data, without decoding it?

I would like to encode some data with a key, and send it to a third party. They don't know the key to decode it, but I would like to make it possible for them to apply some modifications on it. Then they send i back, I can get decode it, and get the result. For example let the encoded data is the integer 5. I encode it with a key k and it becomes xxxxxx. The user can apply operations to xxxxxx without knowing k, like +5 and *2. After those operaions, the encoded value becomes yyyyyy. If I decode the value with the key k, it should be 20, as if I applied +5 and *2 on the original data 5. Are there any cryptographic algorithms like that?


Allow fullscreen for embedded YouTube videos

Currently, embedded YouTube videos don't allow you to fullscreen them. Clicking the button shows the frustrating message Fullscreen is unavailable.  An example answer with an embedded video (embedding isn't enabled on on this site):    It looks like this is really easy to fix, see for example . Could this be enabled?


I lost my Italian residence permit abroad, how can I obtain a duplicate so that I can fly back to Italy?

Sweden is going to ban me from flying if I can't show them my lost permesso di soggiorno from Italy. It was issued in Florence because my old one expired while I was in school. How do I get a copy?


Comparing Strings when one could be null

am presently trying to get a response from a server which contains a response code of "00,02" i used an if and else if statement to perform an action for each of this response but am getting null pointer for the first if statement  if (str.equalsIgnoreCase("02")){     Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show(); }else if(str.equalsIgnoreCase("00")){     Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show(); }else{     Toast.makeText(getApplicationContext(), message, Toast.LENGTH_LONG).show(); }


Prove the equality $[\sqrt n+\sqrt{n+1}]=[\sqrt{4n+2}]$.

I'm reading Apostol Analytic Number Theory, the question ask me to prove for positive integer $n$,  $$[\sqrt n+\sqrt{n+1}]=[\sqrt{4n+2}].$$ My approach is, define $f(n)=[\sqrt n+\sqrt{n+1}]$, after some examination I try to prove that for any positive integer $k$,   \begin{align}f(k^2)&=f(k^2+1)\\ &=\cdots\\ &=f(k^2+k-1) \\ &=2k \end{align}  and  \begin{align} f(k^2+k)&=f(k^2+k+1)\\ &=\cdots\\ &=f(k^2+2k)\\ &=2k+1. \end{align}  Indeed, let $r$ be an integer with $0\leq r\leq k-1$, then $$\sqrt{k^2+r}+\sqrt{k^2+r+1}\geq k+k=2k,$$ and by Cauchy-Schwarz Inequality, for any positive numbers $a,b$ we have $\sqrt a+\sqrt b\leq \sqrt{2a+2b}$, therefore \begin{align*}\sqrt{k^2+r}+\sqrt{k^2+r+1}&\leq \sqrt{k^2+k-1}+\sqrt{k^2+k}\\ &\leq \sqrt{2k^2+2k-2+2k^2+2k}\\ &=\sqrt{4k^2+4k-2}\\ &< \sqrt{4k^2+4k+1}\\ &=2k+1\end{align*} So the first part is proved.  Turning to the second part, I have tried for a very long time and finally come up with this: I let $r$ be any integer with $k\leq r\leq 2k$ \begin{align*}\sqrt{k^2+k+1}&\geq \sqrt{k^2+k}\\2\sqrt{(k^2+k)(k^2+k+1)}&\geq 2k^2+2k\\ k^2+k+2\sqrt{(k^2+k)(k^2+k+1)}+k^2+k+1&\geq 4k^2+4k+1\\\therefore (\sqrt{k^2+k}+\sqrt{k^2+k+1})^2&\geq (2k+1)^2\\ \sqrt{k^2+r}+\sqrt{k^2+r+1}\geq\sqrt{k^2+k}+\sqrt{k^2+k+1}&\geq 2k+1\end{align*} also that $$\sqrt{k^2+r}+\sqrt{k^2+r+1}\leq \sqrt{k^2+2k}+\sqrt{k^2+2k+1}< 2k+2$$ This complete the propositions.  The remaining is to prove whenever is it the same as $[\sqrt{4n+2}]$, I let $n=k^2+r$ for some $0\leq r\leq k-1$, then   \begin{align} 2k&\leq \sqrt{4k^2+2}\\ &\leq \sqrt{4n+2}\\ &\leq \sqrt{4k^2+4k-2}\\ &< 2k+1. \end{align}  Then let $n=k^2+r$ for some $k\leq r\leq 2k$,   \begin{align} 2k+1&\leq \sqrt{4k^2+4k+2}\\ &\leq \sqrt{4n+2}\\ &\leq \sqrt{4k^2+8k+2}\\ &< 2k+2. \end{align}  Since any positive integer $n$ can be expressed as $k^2+r$ where $k$ is some integer and $r$ is either in $0\leq r\leq k-1$ or $k\leq r\leq 2k$, I have proved the equality.  Above is my complete solution, I use a step stone to achieve the goal, and there is a lot of heavy machinery like Cauchy-Schwarz Inequality and others. Is there any straight forward proof? Like immediately use some elegant tool to bring me from LHS to the RHS?


2  1 The contents of jars of honey may be assumed to be normally distributed. The contents, in grams, of a random sample of 8 jars were as follows:  458, 450, 457, 456, 460, 459, 458, 456  a) Calculate a 95% confidence interval for the mean contents of all jars:  95% CI:  x̅ = 456.75 Sx: 3.059 n = 8 ν = 7  using calculator: Multiplier = 2.365  95% CI = 456.75 +- 2.365 x (3.059)/root(8)  = (454.192, 459.308).  b) On each jar it states `contents 454 grams.' Comment on this statement using the given sample and your results to part a):  Evidence from part a) shows that the mean is above 454g, but some jars will contain less.  c) Given that the mean contents of all jars is 454 grams, state the probability that a 95% confidence interval calculated from the contents of a random sample of jars will not contain 454 grams.:  I know the probability is 0.05, but my question is why? Surely the probability of a jar content not lying in the confidence interval calculated in part (a) is 0.05 right? So why is the probability that X doesn't equal 454 0.05??


Why am I recieving NullPointException from array of objects?

Thank you for taking the time to help me out. I've got 3 classes which are interacting with eachother: Score, Golfer, and GolferTester. Golfer contains an array of Score objects. My issue is with adding singular Score objects to the array via Golfer.addScore(String, int, double, int, String) when running GolferTester. I have tried to rearrange Golfer.addScore() many times now and am still receiving NullPointerException when executing Golfer.findScore(String).   I think the most important aspect here is that everything runs smoothly so long as I refrain from prematurely ending the Golfer.addScore() for loop with return. But not stopping the loop fills the entire array with nextScore, and renders my method for finding which array slot to fill (by locating null slots), useless after one call. I'll show the code below. Thank you for your assistance!  Golfer.addscore(String newCourse, int newScore, double newCourseRating, int newSlope, String newDate) :   public void addScore(String newCourse, int newScore,   double newCourseRating, int newSlope, String newDate) {   Score nextScore = new Score(newCourse, newDate, newScore,             newCourseRating, newSlope);   for (int i = 0; i < scores.length; i++)   {      if (scores[i] == null)      {         scores[i] = nextScore;         return;      }   } }   Golfer.findScore(String date) :  private int findScore(String date) {   int ans = 0;   for (int i = 0; i < scores.length; i++)   {      String iDate = scores[i].getDate();      if (iDate.equals(date))         ans = i;   }   if (ans == 0)      return -1;   else       return ans; }   Golfer.getScore(String date) :  public Score getScore(String date) {   int a = findScore(date);   return scores[a]; }   class GolferTester :   public class GolferTester {    public static void main (String[] args)    {      Golfer golfer1 = new Golfer("John", "homecourse", 4);      golfer1.addScore("course1", 75, 68.5, 105, "05/03/2017");      System.out.println(golfer1.getScore("05/03/2017"));      } }   As mentioned, simply removing the return aspect from the for loop within Golfer.addScore() makes everything run properly. I've tried workarounds that don't involve using "return" specifically, but to no avail. Thanks again for any input.


diffie hellman digital signatures vs MACs

I have the following homework question that im not sure about.  Alice and bob are going to use the diffie-hellman key agreement protocol to agree on a key for use in AES. Explain briefly why they would need to use digital signatures and why they cannot use Message Authentication Codes (MACs) instead.  I find the question a bit hard to understand, im aware that MACs require a shared secret key to compute the MAC so this would have to be done first but am not sure why digital signatures need to be used ?


Adjust handlebar position/height (damaged screw?)

I was trying to adjust the position of my handle bar...but might have turned the screw too hard in the wrong direction or perhaps it was like this earlier...not sure....    Thanks  Update 3 - Thank you All for the help !! This is now resolved, I was messing with the wrong screws...there was one underneath and that was the one I had to loosen to change the position of the handlebar -   and thx to the immediate response from Pacific Cycles (Schwinn) letting me know what had to be done !! Update 2 - I removed the other side screw and am attaching some photos, and a video which might give some more ideas.   Update 1 - thanks for all the great suggestions folks ! I will try out the options and report back !!  The Bad screw (you might see that it is almost gone round)   The Good screw on the other side


I know that the Ubuntu names follow alphabetical order.  Example: 12.04 was precise pangolin; 14.04 was trusty tahr; 16.04 is xenial xerus; 16.10 is yakkety yak.  My question is, what's coming after we pass 'Z'?  What will they do for 17.10 and 18.04 LTS?  P.S.:  I did read .  If you want to dupe this, go ahead, but the remember that the answers back then were totally speculative.  One person even suggested the world might have ended by then.  Is this really a duplicate?


Python error that shouldn't be happening

my friend is getting an error that should not be happening.  He added a variable to the top of his file, and can't access the variable from a function in his script without getting an error.   this is his code:  numbers = [23, 5, 12, 94, 5 , 43, 23, 59, 10, 59, 31] largest = 0 def find_largest(x):      for num in x:         if num > largest:             largest = num     return largest max_number = find_largest(numbers) print(max_number)   this is the error  error message: Traceback (most recent call last):  File "largestElement.py", line 10, in <module>    max_number = find_largest(numbers)  File "largestElement.py", line 6, in find_largest    if num > largest: UnboundLocalError: local variable 'largest' referenced before assignment   why is this happening? when we move the variable definition to the function scope it works, but when we put the variable definition in the top of the script, he gets a called before reference error. Also, the numbers array doesn't have an issue and we are using it in the same way.   Could it maybe be something wrong with his conda environment?


Here is something I made:    It is a mesh I made and rigged and posed and such into a little 11-frame animation meant to play at 10 fps to last a second.   I have two quick questions.  When I click then "Render" animation button in the scene menu, the output is weird as heck. It gives me about 60 black images in my folder, despite the camera pointing to the rig and the animation only being 11 frames long (marked on the timeline too.) How can I make it output my 11 frames?  Thanks!  Edit: I tried using OpenGL viewport mode and the animation works fine there.  Edit: My question isn't a duplicate. The answers in the other question do not solve my question.  Edit: Another user told me to upload the file:


if someone asks me or if there is a question in exams like "who is the author of Xxx book?" Should I answer in the past or present tense,like "Yyy is/was the author of Xxx book". I know the author is not alive.


Are the important factors given by gradient boost more arbitrary compared to random forest

I compared the output from the two approaches using rfsrc() and gbm() in R respectively. The important factors given in the output from the two approaches are totally different. Since the importance of factors in gradient boost depends on the order of the trees, are they somewhat arbitrary? How do we interpret the important influencers from gbm()?


Keyboard shortcut for texture paint brush strength?

When texture painting the two most commonly adjusted settings are (in my experience) brush Radius and Strength. Radius already has shortcuts to decrease or increase: [ and ] keys respectively.  I want to configure a shortcut to similarly adjust the Strength.    From the console I can see that when [ is pressed this happens:  bpy.ops.brush.scale_size(scalar=0.9)   And when ] is pressed this happens:  bpy.ops.brush.scale_size(scalar=1.11111)   Here is what the key configuration for [ looks like:    So I am hoping there is some kind of corresponding command for Strength, but nothing I've tried has worked.  For example: brush.scale_strength does not work.  Is it possible to set keyboard shortcuts for the Strength slider?  Thanks


Does the limit of $e^{-1/z^4}$ as $z\to 0$ exist?

The question is as follows (note that $z = x + yi$):     Does $\lim_\limits{z \to 0} e^{-1/z^4}$ exist?   I've shown that      $\lim_\limits{x \to 0} e^{-1/x^4} = 0$   is equal to      $\lim_\limits{y \to 0} e^{-1/(iy)^4} = 0$   To prove both parts, but I'm not sure this is how it is done. I've been away from class for surgery, so all I have to work off of is what I've read online and in the textbook.   The problem is, it seems that with problems such as this one:     $\lim_\limits{z \to 2} \frac{z^2 + 3}{iz} = \frac{-7i}{2}$   All you have to do is substitute in 2 directly. I can't seem to figure out how to approach these problems, so hopefully all I have explained makes sense. Thanks for any explanations!


How exactly and WHY does matter affect space-time?

According to general relativity, inertial mass and gravitational mass are the same, and all accelerated reference frames (such as a uniformly rotating reference frame with its proper time dilation) are physically equivalent to a gravitational field of the same strength.  Refer: Einstein's thought experiment of a Physicist in an Accelerated Box.  I find that the 'How' part of this question is somewhat easy to understand Mathematically but hard to visualize physically and on the 'Why' part I am totally blank.


Center Vertically Image and UL both at Once (HTML CSS)

I am actually trying to design the navbar for website and I am facing issue , I have one logo to show on the left and UL to right side on nav , I have created both and now I want them both to be center-vertical in their div container , unfortunately I am not able to center-vertical UL tag , need some help in css or html ! Here I am attaching the html   header {   height: 100vh;   background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../img/static/cover.jpg);   background-size: cover;   background-repeat: no-repeat; }  .div_nav {   overflow: auto;   width: 80%;   margin: 0px auto;   padding: 16px 32px;   background-color: rgba(139, 0, 139, 0.459); }  .nav_logo {   background-color: darkorange;   height: 72px;   width: auto; }  .nav_ul {   background-color: darkslateblue;   float: right;   margin: auto 0px;   list-style: none; }  .nav_ul li {   margin-left: 16px;   display: inline-block; }  .nav_ul li a {   color: #fff;   text-decoration: none;   text-transform: uppercase;   font-family: 'Montserrat', sans-serif; }

Para

Sagro

Miasa

Varga

        here I am attaching the image of output which I am currently getting


An era of intelligent machines where vs an era of intelligent machines when

I'm writing a essay and I haven't really studied or have had to use proper grammar in years now. For the following sentence:  We are now in a era of intelligent machines where Amazon has drones and Google has driverless cars....  Is the where correct? Or is it "when"? I think it is where, the where sounds much better. But technically era is a time, not a place? Should there be a comma after the where?


Moving the Properties Shelf to the right of the UI

When I bring up the Properties Shelf (hotkey N) in 2.8, it appears aligned to the left side of my 3d viewport. Youtube tutorial videos I am watching show the Properties Shelf on the right side of the 3d viewport.  I have searched the Blender documentation, Google, Blenderartists, and I cannot find anywhere that shows how to realign this shelf to the right side!    How do I move the Properties shelf to the right side of thew viewport?


Adobe Illustrator Line Pattern Distortion Fold

Does anyone know how to create an effect like this in Illustrator? I need to understand how to create this angled wave/fold effect in a line pattern from scratch so that I can create my own styled one for a logo purpose Please help!   Thanks!


Why did they say Han Solo's carbon freezing has never been attempted before?

I did not check on the details, but I remember that the whole point of carbon freezing Han Solo is to test the carbon freezing technique - which is claimed to have never been done on a living organism - to make sure Luke Skywalker can be frozen and brought to Palpatine intact and unharmed.  But this  from the Clone Wars show that it has been done before, and it is possible that such a technique, while probably not recommended, is not unheard of. So why did they say that Han is the first, in-universe?


Is there any benefit in using compile for regular expressions in Python?  h = re.compile('hello') h.match('hello world')   vs  re.match('hello', 'hello world')


Can I playback Voice Memos recordings using a different app?

I often record meetings that can run 2 hours long. When I play them back, it is very hard to drag that tiny little slider to navigate to the point at which I left off. Often, I will tap the wrong thing and the Voice Memo returns to the beginning point. Both of these scenarios are very frustrating. It would be nice to play recordings back on an app that will Pause and stick even if you close the app. And it would be great to be able to have a more precise slider to navigate within a long recording.


how to count number of null bytes in stream?

i basically want find /dir -print0 | wc -0  , unfortunately wc doesn't have a 0/look-for-nulls argument; this works: find /dir -print0 | php -r '$ret=0;while(!feof(STDIN)){$ret+=substr_count(stream_get_contents(STDIN),chr(0));}echo $ret,PHP_EOL;'  but it looks like ass and requires php, is there some way to do this using just standard-ish linux utilities?


Upon publishing a post, I'd like the post views count to be a random integer between 829 and 1013.  Could you please tell me what code I need to add to functions.php in order to achieve this?  Thank you!


Closed form for $\sum_{n=1}^{\infty}\frac{x^n}{n!\sqrt{n}}$, or an asymptotic for it

In my study I came about the function defined by $$f(x)=\sum_{n=1}^{\infty}\frac{x^n}{n!\sqrt{n}}$$ and I have not been able to find any sort of closed form for it, nor have I been able to find any sort of assymptotics as $x\to+\infty$. Plotting the function on Desmos I can conjecture that $$f(x)\sim c\frac{e^x}{\sqrt{x}}$$ for some constant $c$ (possibly equal to 1), but I cannot prove it. In general, is there a way to express the function $$g(x)=\sum_{n=1}^{\infty}\frac{x^n}{n!n^{\alpha}}$$ where $\alpha\in\mathbb{R}>0$? This function seems to be some sort of exponential analogue of the poly-logarithm $\mathrm{Li}_s(n)$ defined by $$\mathrm{Li}_s(n)=\sum_{n=1}^{\infty}\frac{x^n}{n^{\alpha}}$$ which does not have any closed form (unless $\alpha$ is a negative integer). If one could express $f(x)$ in terms of $\mathrm{Li}_{1/2}(n)$ then that would be perfect.


Is "The meeting was re-scheduled for 16 to 17PM" correct?

What is the correct way to express the following? The original meeting time was 9 AM. And it was later re-scheduled to 16 PM.  Is the following expression correct, if not, what would it be?      The meeting was re-scheduled for 16 to 17PM.


Let $a,b,c$ be positive real numbers such that $a+b+c=3$.  Find the minimum value of the expression  $A= \frac{2-a^3}{a}+\frac{2-b^3}{b}+\frac{3-c^3}{c}$  I tried solving it, but I got nothing


Convergence of $\sum_{n=0}^{\infty}a_n/n$ if $\sum_{n=0}^{\infty}a_n^2$ exists

Let $\sum_{n=0}^{\infty}a_n^2$ a convergent series. Prove that $\sum_{n=0}^{\infty}a_n/n$ converges or give a counter-example. I know that there is already a post concerning this statement with a lot of answers, but i did't find a similar approach to mine in that post and an answer to my question. After a long searching for a counter-example (failed), i started to prove the statement. First, i tried to prove it by comparaison but didn't succeed. So, i tried to pass by Cauchy definition. I'm not sure at all if it holds what i did. If someone could give a feedback and point to my errors, i would really appreciate it. Proof As $\sum_{n=0}^{\infty}a_n^2$ exists, then $\lim_{n\to \infty}a_n^2=0$. Thus, $\forall \epsilon>0 \ \exists N \ \forall n\ge N:$ $|a_n|<\sqrt{\epsilon}$ Let's proof that $\sum_{n=0}^{\infty}\dfrac{a_n}{n}$ is Cauchy. By definition of Cauchy we have to satisfy the following: $\forall \epsilon>0 \ \exists N' \ \forall n\ge N'$: $\Big|\sum_{k=N'}^{n}\dfrac{a_k}{k}\Big|<\epsilon$ But, $\Big|\sum_{k=N'}^{n}\dfrac{a_k}{k}\Big|\le \sum_{k=N'}^{n}\dfrac{|a_k|}{k}\le \sqrt{\epsilon}\sum_{k=N'}^{n}\dfrac{1}{k}$ Let $(x_n)=\frac{1}{n}$. As $\lim_{n\to\infty}x_n=0$ we have by definition that: $\forall \epsilon>0 \ \exists N'' \ \forall n\ge N'':$ $|x_n|<\sqrt{\epsilon}$. Therefore, $\sqrt{\epsilon}\sum_{k=N'}^{n}\dfrac{1}{k}<\sqrt{\epsilon}\sqrt{\epsilon}=\epsilon$. So, if we choose $N'=\max\{N,N''\}$, we satisfy Cauchy definition. Edit: As $x_n$ is a converging sequence: $\exists M>0$: $|x_n|\le M \ \forall n \in \mathbf{N}$. We could then take $|a_n|<\frac{\epsilon}{M(n-N)}$. Thus, $\Big|\sum_{k=N'}^{n}\dfrac{a_k}{k}\Big|\le \frac{\epsilon}{M(n-N)}\sum_{k=N'}^{n}\dfrac{1}{k}\le \frac{\epsilon}{M(n-N)}\cdot M(n-N')$ If we take $N'=N$, we have then: $\Big|\sum_{k=N'}^{n}\dfrac{a_k}{k}\Big|\le\epsilon$ Does it hold this way?


Correlation does not imply causation, as there could be many explanations for the correlation. But does causation imply correlation? Intuitively, I would think that the presence of causation means there is necessarily some correlation. But my intuition has not always served me well in statistics. Does causation imply correlation?


(tag:tagname) links to Stack Overflow tags, not Meta Stack Overflow tags

Right now, I can use [tag:tagname] almost anywhere on Stack Overflow to link to a tag. On Meta Stack Overflow, I can use the same markup, but it still links to tags on Stack Overflow, and not Meta Stack Overflow.  Can we have something like [tag:meta:tagname] and [tag:main:tagname], where plain [tag:tagname] goes to the site which the question/comment is being posted?


Right now from a main site, it takes TWO CLICKS to get to http://meta.SITE.stackexchange.com/ - ONE!  TWO!    Why not ONE click on the "Hot Meta Posts" & "Featured On Meta" -


How to disable Chrome spell check on INPUT with HTML or jQuery code?

I have an input in an HTML page  <input id="SearchBox" type="text" value="" width="300px"         title="Search the card pool" autocomplete="off" maxlength="170">   I would like to switch this off with something like autospellcheck="off". Is there a way to achieve that?  Is there also a way to switch this off for Firefox?


Windows 8 can't connect to ad-hoc network

I recently installed windows 8. We used to share internet via ad-hoc networks or connectify. Windows 7 was able to connect to these but windows 8 isn't. The weird thing is, when the ad-hoc connection is configured without any security (no password), then windows 8 can connect to it but not if the connection is secure. Why could that be happening?


How can a website rank high in SERPs without a blog?

So I'm starting a medical practice, and creating a website for it. We don't want to do a blog, as we see no need to duplicate information out there, and we can't resource ongoing. Yet if we don't have regularly updated content, I'm concerned that we'll slide down the SERPs.  How can we rank high without fresh new content? I'm thinking of the following:   solid linking strategy regular social media posts ensure relevant content on website (and updated regularly), but no blog.   Your thoughts? Should we just do a blog regardless? I don't want to lose ground for our SERPs, or shoot myself in the foot.


I am going to meet a potential supervisor for honours project in 1 week. Its first of a kind meeting for me. I would appreciate any advice on what to expect, would it be a formal or informal meeting and how I should prepare for it.? I am new to this forum, so sorry if this is a repetitive question.


Am I correct in assuming voltage is used to describe two different concepts?

I am hobbyist trying to gain a strong understanding of the basics of electronics. So far I have been confused in trying to understand voltage and its relationship with current by its use to describe what seems to me to be two different concepts. One concept is the force a voltage source applies to a conductor to get current flowing.  The other concept is the amount of energy required to get a charge from one point to another. For example, the energy required to move an electron through a resistor. Is my understanding here correct?


Combinatoric Proof of $\sum_{j=0}^{k} \binom{n}{j} = \sum_{j=0}^{k} \binom{n-1-j}{k-j}2^j$

For a binary string of length $n$ that has at most $k$ $1$'s, it makes complete sense that the total number of possibilities is  $\sum_{j=0}^{k} \binom{n}{j}$. But I am struggling to wrap my head around  $\sum_{j=0}^{k} \binom{n-1-j}{k-j}2^j$ being an equivalent way of counting. I can see where the $2^j$ comes from but I can't quite see the $n-1-j$ part. Can someone could give me some guidance on what that method of counting is actually saying?


How did Stannis's army get north of the wall?

If Mance Rayder had to attack Castle Black to use the tunnel to get through the Wall and get out of the north, how did Stannis get his army across the Wall into the north without anyone knowing? If there was another way over the Wall wouldn't the wildings go that way too?


How to replace text between quotation marks with something from another file?

I have the following kind of text: $OU = 'or'; $DINHEIRO_CAIXA = 'Cash balance'; $PAGINA = 'Page'; $DE = 'from'; $ENVIAR = 'Send'; $PRINCIPAL = 'Main';  I've already got all the text within the single quotation marks using cat arquivo | grep -oP "'[^']+'" | tr -d "'" This extracted text was then translated to Portuguese, but now I don't know how to replace the original text between single quotation marks with the translated text, I was looking for something like $OU = 'ou'; $DINHEIRO_CAIXA = 'Dinheiro em caixa'; $PAGINA = 'Pagina'; $DE = 'de'; $ENVIAR = 'enviar'; $PRINCIPAL = 'Principal';  I've tried using grep -F to replace the file itself, but it failed miserably because the pattern didn't match since I don't have the quotation marks on the new file, is there a way to do this?


Testing for multicollinearity in logistic regression

So far I have checked the tolerance value, VIF and condition indexes. But checking the variance of the regression coefficients I have to wonder: how little variance of the regression coefficient should be associated with the smallest eigenvalue and what is too much (indicating multicollinearity)?


I learning Blender. I have understood some basics in modeling and trying to understand how to work with materials.  Can anyone give me examples when is it better to use Shaders and when is it better to use Texturing?  I'm trying to distinguish the difference in these two approaches.


How can it be proved that $\int e^{-x^2}dx$ has no elementary closed form?

There is a popular question on this site which is similar to this but doesn't answer this question. How can it be proven that $\int e^{-x^2}dx$ does not exist in terms of elementary functions? Context. The function $f(x) = e^{-x^2}$ is one of the most famous and important functions in Mathematics. It is commonly called the gaussian function, although by reading the  on this function, the form $e^{-x^2}$ seems to be a particular case of a more general class of "gaussian functions". As it's know, the gaussian function as it is shown here occurs everywhere in Probability Theory, and because Statistics is spoken in the language of probability, the gaussian function appears everywhere in Statistics as well, particularly in Mathematical Statistics (what we call Statistical Inference) and in Multivariate Statistical Analysis. In particular, in probability theory the gaussian function shows up in the PDF of the  and  distributions. If you care enough about investigating this function further, you will find out that it can be integrated $e^{-x^2}$ over $\mathbb{R}$ using polar coordinates, and that there exists a function, called the Error Function, which is denoted by $\operatorname{erf} x$ and defined as $\operatorname{erf}(z) = (2/\pi) \int_{0}^{z} e^{-t^2}dt $, where $z$ is a complex variable. Issue. If you have ever taken a calculus-based probability class, you'll definitely and simply be told that $$ \int e^{-x^2}dx $$ does not exist. Most people just accept this and don't further investigate it. In particular, what doesn't sit well with me is that this fact is never proved. Even at prestigious universities, , students are just told that the antiderivative does not exist. In the linked video, you have a class from Harvard professor Joe Blitzstein and he mentions in it that it has been proved that the antiderivative doesn't exist. My question is, how? Edit. While there is no explicit answer (which is understandable), some comments were very helpful. The linked questions were  , and especially .


Create a hyperlink from URL and title in Excel

I'm trying to construct a hyperlink from a URL and a name in different cells.  a1 = http://www.example.com/ b1 = example c1 = example   What I want that is the URL in A1 to is made into a hyperlink with the name taken from B1:  example   I created a formula, but it's not working  &”=b1”   should result in  example


General formula for $\sin\left(k\arcsin (x)\right)$

I'm wondering if there's a simple way to rewrite this in terms of $k$ and $x$, especially as a polynomial. It seems to me to crop up every so often, especially for $k=2$, when I integrate with trig substitution. But $k=2$ is not so bad, because I can use the double angle formula; it's the prospect of higher values of $k$ that motivates this question.   I think the law of sines may help? Or maybe even De Moivre's theorem, to find the length of the hypotenuse as the length of the angle changes, if we think of the right triangle drawn from $\arcsin(x)$ with side1 = $x$, hypotenuse = $1$, and side2 = $\sqrt{1 - x^2}$ as a complex number, though I'm not sure how that might work.


Add an administrative edit checkbox for mods that are acting in accord with some meta topic

A check-box should be available to mods to allow them to do useful manual retagging (the type that is not possible to do automatically, like separate the volume tag into logical-drive and audio tags on SU) without flooding the front page.  The check-box should be associated with a text field or something that would hold the meta post that the mod is acting in accord with. This would generate a list on that post with all the posts that have been edited in accordance with the meta post.  This would accomplish three objectives:   Not flood the front page when doing these types of edits Create an easy way for the edits relating to a meta post to be tracked Allow for some review over the process should a user want to look it over for some reason (I.e. a mod cannot do anything they want, and not have it show up anywhere. I don't anticipate this being a problem, but it can't hurt either)   Thoughts?


If I create a new blender file, switch to "lookdev" view and apply the glass shader to an object, this happens:    Where is the image of the reflection coming from? It is a brand new file so it wasn't me who added it, I'm so confused.


What are best practices/important steps when the Windows Server machine hosting SQL Server 2008 R2 is moved to another domain?   What steps definitely/might need to be done for SQL Server before and after the new domain is joined?


Minecraft crashes with "EXCEPTION_ACCESS_VIOLATION (0xc0000005)"

I am trying to install Minecraft for the first time. I have tried to uninstall Java and reinstall. I have tried shutting off the firewalls. I do not know what else to try. Anyone have any ideas? I am getting the following error...  [20:04:06] [Client thread/INFO]: Setting user: dragondecimator [20:04:06] [Client thread/INFO]: (Session ID is token:f5c4b35f76f643488e5207346aabfbf5:31e215dcad9647e6afbef45d1687ae61) [20:04:09] [Client thread/INFO]: LWJGL Version: 2.9.1 [20:04:09] [Client thread/INFO]: Reloading ResourceManager: Default [20:04:10] [Sound Library Loader/INFO]: Starting up SoundSystem... [20:04:10] [Client thread/WARN]: File minecraft:sounds/mob/ghast/fireball.ogg does not exist, cannot add it to event minecraft:item.fireCharge.use [20:04:10] [Thread-6/INFO]: Initializing LWJGL OpenAL [20:04:10] [Thread-6/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org) [20:04:10] [Thread-6/INFO]: OpenAL initialized. [20:04:11] [Sound Library Loader/INFO]: Sound engine started [20:04:13] [Client thread/INFO]: Created: 512x512 textures-atlas # # A fatal error has been detected by the Java Runtime Environment: # #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x27583e88, pid=4092, tid=3656 # # JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18) # Java VM: Java HotSpot(TM) Client VM (25.25-b02 mixed mode windows-x86 ) # Problematic frame: # C  [ig4dev32.dll+0x3e88] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Users\Andrea\AppData\Roaming\.minecraft\hs_err_pid4092.log # # If you would like to submit a bug report, please visit: #   http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # AL lib: (EE) alc_cleanup: 1 device not closed Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


Are there any age limits (formal, informal, or guidelines) that schools use when deciding to accept someone into a PhD program? I'm most curious about the upper age limits. For example, will most schools accept someone in their 40's? How about their 50's?


Can I successfully bake previously-frozen bread dough?

I prefer my bread freshly baked (who doesn't?), but my mixer prefers kneading two loaves at a time to just kneading one. I have tried to freeze the second loaf before baking it, but when I thaw it, it does not rise well before baking. I've tried thawing it entirely in the refrigerator and then letting it rise on the counter, but that did not seem to work. Does anyone have a good technique or suggestion for this?


Move mouse proportionally between different resolution (and DPI) displays

I have three displays, a 4K display flanked by two 1080p displays. Physically, these monitors are roughly the same size. Furthermore, Windows 10 handles the DPI scaling of the 4K monitor separately from the 1080p monitors just fine. So while it appears as such to Windows    the real layout is three monitors of equal size side by side.  The problem is that the mouse keeps getting caught on the edges of display 2 and three when dragging from display 1. I would like the mouse to continue onto display 2 or 3 regardless of which part of the left or right edge of display 1 the mouse touches.  This question has been asked before (e.g. ) and a common answer is to suggest that this behaviour is intentional on the basis that mouse movement should reflect different size displays. Such an answer is not appropriate as it doesn't consider DPI and scaling.


I've installed Ubuntu Server under Virtualbox just to get a nice little shell. I've also installed the VirtualBox "Guest Additions" and set "Shared Clipboard: Bidirectional".  I still can't seem to get any copy-paste working. Am I missing something here?    I've installed  which gives mouse support in server mode (no X), and allows copy-paste using the mouse, but still the VirtualBox integration doesn't work.


What is the point of being able to hide a community on your profile when people can see it anyways?

Click:   Profile -> View network profile -> accounts or activity  Any community you've selected to "hide" from actually is not hidden here; it's completely public. I logged out and tested it on my own profile and nothing is actually hidden.  So, what's the point...? I'd really like to not have my profile tied to certain communities where things are more personal but I really don't want to have to make a separate account and lose my previous points/badges.


Please make the multiple comment timer less annoying (non-resetting etc.)

As a little feature to prevent comment spam, you can only enter one comment every 15 seconds. That's a very reasonable limitation, since you very rarely have a good reason to write comments that quickly. I've only seen it twice at all, I think, but both times it was extremely annoying.     Only 1 comment allowed per 15 seconds; timer reset.   The reason is that every time you hit the limit, the 15 seconds begin anew. You have no indicator that tells you when you are allowed to comment again, and if you hit enter after just 14 seconds, you're back to zero. Yesterday, I went through four cycles of not quite 15 seconds, counting in my head, before I got a myself a coffee and tried again afterwards.  I suggest that you do one or more of the following (in decreasing order):   Make the counter non-restarting Add a visible countdown Make it clearly visible that you can't comment right now You can actually increase the waiting time, if it is clearly visible and there is no unnerving invisible countdown. Actually, just remove all comment fields after one comment, and tell the user to reload the page. Just please don't have UI elements that look like they would work, but feel like they are trolling you.


Author name replaced by a dash for multiple works by same author

When I have the same author appearing more than once in the bibliography, the name of the author is replaced by a dash. How can I change it to always display the full name or names? I'm using BibLaTeX and Biber. I made quite a few changes to the literature style already, so could it be due to one of those changes?  Here is my minimal working example:  \documentclass[listof=totoc,  index=totoc,  bibliography=totoc, parskip,  12pt, headsepline=true, a4paper]{scrartcl}   \usepackage[ngerman, english]{babel}  \usepackage[utf8]{inputenc}  \usepackage[T1]{fontenc}    %% Literaturverzeichnis \usepackage[hidelinks]{hyperref} \usepackage{csquotes} \usepackage{etoolbox} \usepackage[backend=biber, style=authoryear, maxbibnames=999, maxcitenames=2]{biblatex} \addbibresource{Literature.bib}  % Autoren mit Slash getrennt und lastname-firstname \renewcommand*{\multinamedelim}{\slash} \renewcommand*{\finalnamedelim}{\multinamedelim} \DeclareNameAlias{sortname}{last-first}  % Doppelpunkt nach Jahresangabe in Klammern im Literaturverzeichnis  \renewcommand*{\labelnamepunct}{\addcolon\addspace}   % Titel im Literaturverzeichnis nicht kursiv  \DeclareFieldFormat{title}{#1\isdot}  \DeclareFieldFormat{journaltitle}{#1}  \DeclareFieldFormat{issuetitle}{#1}  \DeclareFieldFormat{maintitle}{#1}  \DeclareFieldFormat{booktitle}{#1}  % Jahreszahl im Fußnotenzitat in runden Klammern  \newbibmacro*{cite:parens:labelyear+extrayear}{%    \iffieldundef{labelyear}  {}  {\printtext[parens]{\printtext[bibhyperref]{%     \printfield{labelyear}%     \printfield{extrayear}}}}}   \renewbibmacro*{cite}{%    \iffieldundef{shorthand}      {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}     {\usebibmacro{cite:label}%      \setunit{\addspace}}     {\printnames{labelname}%      \setunit{\nameyeardelim}}%   \usebibmacro{cite:parens:labelyear+extrayear}}  {\usebibmacro{cite:shorthand}}}   \begin{document}  Just some text\footcite{Test1}. And some additional text\footcite{Test2}  \clearpage  \printbibliography  \end{document}   And my bib file looks like this:  @book{Test1, author = {Apostolik, Richard}, title = {Test title 1}, year = {2010a} }  @book{Test2, author = {Apostolik, Richard}, title = {Test title 2}, year = {2010b} }


How can I change the starting number for figures?

Using KOMA report, figures seem to default to numbering from 0.1, 0.2, 0.3... I'd like these to start from 1,2,3 instead.  I'm using    \documentclass{scrreprt}   Related, but don't answer my question:        Edit: This question: , was identified as a solution to my duplicate.  While that does look like a good answer, I've already successfully implemented the answer below.  It is different and does not require using another package.  As such, I prefer it.


Find the value of $\frac{a^2}{2a^2+bc}+\frac{b^2}{2b^2+ca}+\frac{c^2}{2c^2+ab}$

Let $a$, $b$ and $c$ be real numbers such that $a + b + c = 0$ and define:   $$P=\frac{a^2}{2a^2+bc}+\frac{b^2}{2b^2+ca}+\frac{c^2}{2c^2+ab}.$$   What is the value of $P$?   This question came in the regional maths olympiad. I tried AM-GM and CS inequality but failed to get a result. Please give me some hint in how to solve this question.


What is the easiest way to setup Log rotation

Recently, I have setup a script that outputs to a single log file... After quite a while this file begins to become too large to manage. I was wondering what the easiest way is to setup log rotations for every few hundred lines located in the original log file?


Multiple-entry visa application for Germany

I am an Indian citizen living in London. I have a long-term UK resident permit.  I would like to apply for a multiple-entry Schengen visa, as I am planning to make two trips to Germany to visit my friend. The first is from December 29 to January 6, and the second one is from January 15 to 19.  I am not sure how to fill the intended day of arrival and departure in the application form. Shall I fill the arrival date as December 29 and departure as January 19? (If that's the case, do I need to show money for the whole duration i.e. 20 days?)  How do I mention two separate trips in the application form? I am concerned that if I mention only my first trip, then I might get the visa for that specified duration.  PS: I already have received a Schengen visa in 2015. Any help would be appreciated.


Pivoting the table not working when the column is intend to have a text & numeric value

Kindly use below code to reflect the error:  CREATE TABLE TESPVTBL (     Names   NVARCHAR(20),     Salary  INT,     Country NVARCHAR(80) )  INSERT INTO TESPVTBL (Names, Salary, Country)  VALUES ('Karthick', 15000, '1300029INDIA'),        ('BRO1', 15000, '130008INDIA'),        ('DHARU', 15000, 'US'),        ('DHARUBRO', 15000, 'US')  SELECT      NAMES, 1300029INDIA, 130008INDIA FROM      TESPVTBL PIVOT     (SUM(Salary)            FOR Country IN (1300029INDIA, 130008INDIA)) AS PT   Is there any way to solve this?


How do I install Ubuntu on multiple computers (something like Ghost) in a easy way?

One of the local college in my home town in India is planning to implement mass distribution and usage of Ubuntu Linux for the purpose of education. I have been asked by my CTO to look into the matter and bring out some valuable suggestions with which we can roll out multiple installations on more than 450 computers!  I have know a way in Windows that uses the Ghost technique to address this issue. Our purpose is similar in this case but don't know how to proceed further. I have been using Ubuntu for the past six months to get the feel and understanding of the OS and I have to admit it that from the very first day, I was almost into it learning, reading, learning and asking others to use it too. Just amazing!  Help in any form is appreciated.  Note: All the 450 computers are of different configurations/variety of different motherboards, hard drives, ram, etc. But they all meet the minimum criteria for Ubuntu installation's hardware requirement.


What is the current flow logic of this NPN configuration

For a switch i need to put the transistor in cutoff to OFF and saturated for ON as shown in the lecture bellow. My input is a voltage source i need to control the base current to make the collector current as high as possible ,saturated state. How do i control the current going into the the base . how can i see the current mechanism of the circuit bellow? Thanks.


WiFi Issues on HP Stream 14 with Broadcom BCM43142 Network Controller and no Ethernet Port

I just switched my HP Stream 14 laptop to Ubuntu 16.04 LTS from Windows. I have experienced the same problem as many others: I cannot see any wireless networks. Other threads have pointed to the driver as the issue, and I have tried to fix it as suggested  and , but neither of these worked (I am creating this question because I have yet to find an existing source that can guide me through how to fix my connection issues). It is possible that I did the suggested fixes wrong, as I am relatively new to Ubuntu. Can someone walk me through, step by step, how I can fix this issue? I have spent many hours on it already, and could use some expert help. I have re-installed Ubuntu, so it is the factory version I am working with.   Important info:   lspci -nn | grep Network    returns   01:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)  Under "System Settings" > "Software & Updates" > "Additional Drivers", It says   "Broadcom Corporation: BCM43142 802.11b/g/n  This device is using an alternative driver. Using Broadcom 802.11 Linux STA wireless driver source from bcmwl-kernel-source (open source)"  (This part makes me think the driver is not the issue).  Additionally, this laptop does not have an ethernet port, so I can only use the USB I used to install Ubuntu and a separate computer with an internet connection.


wireframe render over an object with the subdivision surface wireframe?

Is there a way to render an object with a subdivision surface modifier with a wireframe which is the original geometry as well as the wires that make the subdivision surface?  Example:   This wireframe here is curved. What if there was displayed the straight wireframe. The wires that make are made by the subdivision surface. Thats what I want to achieve. How to do it?  What I mean is - How to render the curved wireframe (which is the original geometry with the straight wireframe (which is the wireframe the is made by the subdivision surface)?


How do I calculate the sum of this infinite series? $\sum\limits_{n=1}^{\infty}\frac{1}{4n^{2}-1}$

Could someone please help me with how do I calculate the sum of the $$\sum_{n=1}^{\infty}\frac{1}{4n^{2}-1}$$ infinite series? I see that $$\lim_{n\rightarrow\infty}\frac{1}{4n^{2}-1}=0$$ so the series is convergent based on the Cauchy's convergence test. But how do I calculate the sum? Thank you.


I posted  a while back, and I think I may not have made myself clear or shown what I got so far. So let me post this question again with more information and clarification.   I have a sequence of polynomials $Q_k(x, y)$, $k\geq 1$ defined recursively as follows:   $Q_1=x$. There is a sequence of polynomials $p_j(y)$ of degree $j$ such that $Q_{2m}$ is of the form \begin{eqnarray}\frac{p_{0}(y)}{(2m)!}x^{2m}+\frac{p_{1}(y)}{(2m-2)!}x^{2m-2}+\cdots+\frac{p_{m-1}(y)}{2!}x^2+p_{m}(y)\end{eqnarray} and $Q_{2m+1}$ \begin{eqnarray} \frac{p_{0}(y)}{(2m+1)!}x^{2m+1}+\frac{p_{1}(y)}{(2m-1)!}x^{2m-1}+\cdots+\frac{p_{m-1}(y)}{6}x^3+p_{m}(y)x \end{eqnarray} $Q_k(k+1-2i, k+1)$ as a polynomial in $i$ has roots $1, 2, \cdots, k$.    Find a general formula of $Q_k(x, y)$. The following are the first 4 polynomials in the sequence: \begin{align*} Q_1&=x\\ Q_2&=\frac{x^2}{2}-\frac{y}{6}\\ Q_3&=\frac{x^3-xy}{6}\\ Q_4&=\frac{x^4-2x^2y}{24}+\frac{y(5y+2)}{360} \end{align*}  In fact, it suffices to find the sequence of polynomials $p_j(y)$. Here's what I've got so far. By condition (2) and (3), we have \begin{eqnarray} \sum_{j=0}^m \frac{p_j(2m+1)}{(2m-2j)!}(2i-2m-1)^{2m-2j}=\frac{2^{2m}}{(2m)!}(i-1)(i-2)\cdots(i-2m) \end{eqnarray} If we let $m=j+k$, differentiate both sides with respect to $i$ $2k$ times and put $\displaystyle i=\frac{2j+2k+1}{2}$, we have \begin{eqnarray} p_j(2j+2k+1)=\left.\frac{d^{2k}}{di^{2k}}\right|_{i=\frac{2j+2k+1}{2}}\frac{2^{2j}}{(2(j+k))!}(i-1)(i-2)\cdots(i-2(j+k)) \end{eqnarray} Letting $k=0, 1, \cdots, j$, we get the $j+1$ values taken by $p_j$ at $2j+1, 2j+3, \cdots, 4j+1$. $p_j$ then can be computed using Lagrangian interpolation.   It seems to me that, though the above algorithm can be implemented on a computer to get a few polynomials in the sequence, it does not yield directly a general formula I want. Is there another better way to go about getting a general formula?  Edit: The first 5 members in the polynomial sequence $p_j(y)$ are the following: \begin{align*} p_0(y)&=1\\ p_1(y)&=-\frac{y}{6}\\ p_2(y)&=\frac{y(5y+2)}{360}\\ p_3(y)&=-\frac{y(35y^2+42y+16)}{45360}\\ p_4(y)&=\frac{y(5y+4)(35y^2+56y+36)}{5443200} \end{align*}


Continious map from $\omega_1$ to $\mathbb{R}$.

In ZFC, does there exist a continuous map $f: \omega_1 \to \mathbb{R}$ (with order topology on $\omega_1$ and standard topology on $\mathbb{R}$), which is not a constant starting from some countable ordinal?


Why are all circles similar? (Why is $\pi$ a constant?)

I just know that I'm going to look like a crackpot, but here goes. The number $\pi$ is defined as the ratio of the circumference of a circle to its diameter. So there is an assumption here that all circles are similar. Using undergraduate calculus (Moise), I can analytically convince myself that this is true. But how would a 5th century geometer prove this synthetically?


# ps -ef | grep gre root     15067 63614  0 11:03 pts/0    00:00:00 grep --color=auto gre   Another example  # ps -ef | grep sshd root      1186     1  0 Jul26 ?        00:00:00 /usr/sbin/sshd -D root     15439 63614  0 11:05 pts/0    00:00:00 grep --color=auto sshd   How can I stop the grep command being found by itself and not returned as a field?


Is there a serious difference between the following three sentences:        I put the toys in the box.   I put the toys into the box.   I put the toys inside the box.


Keep items in inventory on death in Minecraft

I once played a vanilla Minecraft adventure map (called "Herobrine's Mansion") that prevented the player from losing their items on death. Which commands can be used to prevent the player from losing their items on death (in vanilla Minecraft)?


How to create multicolumns list environment with the package 'enumerate'?

Let us consider The following example   \documentclass{article} \usepackage{enumerate} \begin{document} \begin{enumerate}  \item Which of the following numbers is the largest ?\\ $2^{3^4},2^{4^3},3^{2^4},3^{4^2},4^{2^3},4^{3^2}.$  \begin{enumerate}[(a)] \item  $2^{3^4}$ \item  $3^{4^2}$ \item  $4^{3^2}$  \item $4^{2^3}$ \end{enumerate}  \end{enumerate} \end{document}   This produces :    But I'd like to produce the following using the same package  :   OR     OR   How can I do that?


how do i use tablesorter to work with 4 row groups

I have a table that has 3 rows per record and a blank row following that. I want to consider those 4 rows as a single row when sorting using the tablesorter plugin. Please help!!!


Let $\eta$ be non-negative (a.c.) continuous random variable. How to prove that $\mathbf{E}\eta = \int_{0}^{\infty}\mathbf{P}(\{\eta > z\})dz$ for arbitrary non-negative random variable?  If $\eta$ is discrete random variable it's quite simple. I have an idea that we can prove it easily for random variable $$\xi = \sum_{i=1}^{n}\xi_i\mathbf{1}_{\Delta_i}$$ that can take only finite set of values , where $\mathbf{1}_{\mathbf{X}}$ is an indicator function of a set $\mathbf{X}$. Since for every measurable function $\xi$ there is an approximating sequence $\{\xi_i\}_{i\ge1}$ of the functions of such kind that tends to $\xi$ pointwise, I would like to make a passage to the limit to prove this statement for an arbitrary continuous non-negative random variable? How can one do that rigorously?


Is there a way to run a Java applet on Chrome or Firefox? I get the error message on the  that Java won't run on Chrome or Firefox anymore .  I have an old set of *.class files with an .html to run it, and I just want to be able to run this applet somehow. But how?


It is possible to install Lubuntu with an other computer using LAN cable?

I got a compaq evo n400c computer and it has no BIOS support for the bootable USB flash drives and there is no CD/DVD ROM! So i want to install the Lubuntu 12.04 with the netboot installer, but i have no idea how it works? I never did like that before so anybody please explain me how it happens? I found some advices on UbuntuDocumentations but it was for Ubuntu or ubuntu minimal and there was a lot of codes.... a bit complicated.    The Server Computer has Ubuntu 12.04.1 (2.54Ghz,650GB HDD, 4GB RAM) The target Computer: (850Mhz, 20GB HDD, 512MB RAM)


So I just saw the  and I would like to log in to it using my same Stack Exchange account (which was first connected by Facebook) and looks like there's no Login With Facebook on


Show that any conjugate pair of complex numbers (with non-zero imaginary part) cannot be the spectrum of any 2x2 matrix with real, nonnegative entries

My professor showed me this in her office today but I didn't like her method and wanted to use another method.    So, I computed the characteristic polynomial of some arbitrary $2 \times 2$ matrix with nonnegative entries $a,b,c,d$, and solved for its two eigenvalues using the quadratic formula.   Then I equated the conjugate pair of complex numbers (with non-zero imaginary part) to the two eigenvalues, and am trying to derive some contradiction at this point.  But, I'm stuck.  My professor had used some complexification process and showed that the realizing matrix must have certain trigonometric entries (she mentioned rotation matrices), and then derived an impossibility.  Thanks in advance,


Is the structure "X, whom I've had the pleasure of being the mentor of" proper?

John is the mentor of Anna. John introduces Anna as:    "Anna, whom I've had the pleasure of being the mentor of".    Would the following be more correct?   "Anna, of whom I've had the pleasure of being the mentor"


Why does usb-creator-gtk require root access?

When you want to create a bootable usb memory stick, then you must identify as a sudoer. Why is that? I have no difficulty understanding why unprivileged users shouldn't be allowed to fiddle with the installed system, but why shouldn't you be allowed to copy grub onto the memory stick if you have write access to it?


are all points of outside of Mandelbrot set connected

Mandelbrot set is connected. That is to say within a mandelbrot set for any pair of points there is a path within the set, connecting these points. What abouthe set of all other points? Is there a pair of points that cannot be connected without going through the Mandelbrot set?


TikZ: Box alignment not inline - wrong anchoring?

I came across the problem of correctly aligning a set of boxes in the following TikZ example:    Code  \documentclass[tikz,border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning, shapes.multipart, backgrounds, fit}  \tikzset{   bluebox/.style={     draw,     rectangle,     minimum height=4cm,     fill=blue!50!white,     align=center,     inner sep=2ex   },   whitebox/.style={     draw,     rectangle,     minimum height=4cm,     fill=white,     align=center,     inner sep=2ex   },   item/.style={     draw,     inner sep=1ex,     fill=white    } }  \begin{document}  \begin{tikzpicture}[font=\sffamily]      % Box 1     \node[whitebox, label={\strut Labelpgq}] (Box1) {\rotatebox{90}{\footnotesize{Something}}};      % Box 2     \node[draw, shape=rectangle split, rectangle split parts=2, fill=white, right=of Box1, label=Options A] (OptionsA) {         \nodepart{one} A         \nodepart{two} B};      \node[draw, shape=rectangle split, rectangle split parts=2, fill=white, below=of OptionsA, label=Options B] (OptionsB) {         \nodepart{one} A         \nodepart{two} B};      \begin{scope}[on background layer]         \node[bluebox, fit=(OptionsA) (OptionsB), label={\strut Labelg}] (Box2) {};     \end{scope}      \draw[dashed] (Box1) -- (Box2); \end{tikzpicture}  \end{document}   As you can see, the box labeled as "Labelg" appears shifted, because the first inner box is anchored as "right=of Box1". However, the alignment couldn't be applied to the respective scope box.  How can I align the box correctly (in line)?, and potentially have two "Options A" boxes next to each other?


I am taking Algorithms implementation class. And my teacher mentioned StringBuffer and StringBuilder, he said StringBuffer is safer than StringBuilder because in terms of threading. Is that true? And if so, what does that mean? I've looked up this question and lots of the answers mentioned synchronizing. Can anyone explain what that means and how does that make StringBuffer safer than StringBuilder?


Save string with single quote in database without mysqli_real_escape_string

I want to save the string "thats'one" in my table columns, but I don't want to use mysqli_real_escape_string. Can anyone guide me regarding how to do that?