Permalink Structure change killed traffic - change back?

On my website I had a wordpress permalink structure that was as follows:  http://example.com/2012/03/post-name/   Having read in many places that a simpler permalink structure could boost SEO rankings, I changed the structure and created permanent redirects to the following:  http://example.com/post-name/   It seems google did not like the change. In the three months since the change was implemented traffic has dropped by about 50%.  Would changing the structure be helpful or would it simply screw things up further?


The following integral can be obtained using the :   $$\int \frac{dx}{1+\cos^2 x} = \frac{\tan^{-1}(\frac{\tan x}{\sqrt{2}})}{\sqrt{2}}$$  Now assume we are performing this integration between $0$ and $2\pi$. Hence the result of the integration is zero.  On the other hand when looking at the integrand, $\displaystyle \frac{1}{1+\cos^2 x}$, we see that it is a periodic function that is never negative. The fact that it is never negative guarantees that the result of the integration will never be zero (i.e., intuitively there is a positive area under the curve).  What is going on here?


Can we get the Gnome3-Extention: Pixel-saver to be added into Ubuntu 17.10? How can we petition for this addon?

Our handicapped users really cannot live without this extension:  Gnome 3 Addon:    Just as DashToDock will be adopted into the new Ubuntu, can we please do the same for this extension? The extra space it saves for using a web browser (the pixels at the top of the screen being merged into the top Gnome 3 bar) is really important for our work on small screens. (This will help my handicapped staff members as well)  Can anyone help for this? (I attached a photo using Fedora, but Ubuntu is the same way with it will be released with Gnome3).


Evaluating a sum (alternating binomial series with odd denominators)

How do I evaluate the following sum (for some positive integer $m$)?: $$S=\sum_{k=0}^{m}{{m \choose k}\frac{(-1)^k}{2k+1}}$$ After expanding it looks like: $$S={m \choose 0}-\frac{1}{3}{m \choose 1} + \frac{1}{5}{m \choose 2} - \frac{1}{7}{m \choose 3}+-\dots$$ Can someone help me out?


Deleted files from Macintosh HD still take up space

I just deleted about 50GB of files from my Mac's onboard storage, however it only resulted in the removal of about 8GB.  What happened and how can I fix this?


Ridiculous error on all google play store Using CM 10.1.3

I have a crazy problem. Whenever I update anything I get this error     update for (insert Google app here) could not be downloaded due to an error (error while retrieving information from the server. [RPC:S-7:AEC-7 QNHM-TYSO-UNVHY])   It may also be worth telling you the very last 5 letters vary. It also happens to any new apps I attempt to install.


Proof of inner product property: $\langle Ax,x \rangle = \langle x,A^Tx \rangle$

$A$ is a matrix in $\mathbb{R}^{m \times n}$ and $x \in \mathbb{R}^n$. I want to prove that: $$\langle Ax, x \rangle = \langle x , A^T x \rangle $$ Having $A^T$ as the transpose of the matrix $A$.  Just realized I use this property so much, yet I don't known how to prove it.


Illustrator • Permanent Shear Rectangles

This is a self-answered question.  This has been asked before, but I did not see a solution in the forum. I did find the answer myself (at least for my case) and I wanted to share it with you guys, as it was the reason that brought me here in the first place.  For the record, the original question I saw is posted with the following name: "Illustrator - my rectangles are all sheared skewed?"  I could not add a comment on that question, so I decided to do this to help others with the same problem.  Final detail: Original answer was deleted, as it was created in the Q&A format.  With that out of the way, here is what I found that worked for me...


How can I recursively list Md5sum of all the files in a directory and its subdirectories?

I want to list (and save) Md5 check sum of all the files in a directory and  save that list in a text file called md5sum.txt  it would be also nice if I could    Integrate it within tree command (which creates a tree structure of folders and files) Make it work on Folders and Sub folders (this is sort of important)


How to foster proper use of comments, and deter comment-as-answers

Recently I've noticed a pattern of users answering questions by way of comments. Generally this is followed by downvoting the question itself and eventually the question gets closed. Is that considered "good form"? I fail to see how that provides an actual answer and it ends up in questions without answers, but with comments. Commenting is fine, don't get me wrong. But I feel it produces poor answers... usually one-liners, and things can become fragmented when a user deletes their comment, which was at one point referenced in another user's comment on that comment. If it is bad form, how do we combat/flag these cases? UPDATED: Based on the comment by @jenayah new information came to light, which I feel is very relevant to my question, in highlighting the primary issues with using comments as answers. In a related , the following anti-patterns come to light.  Most often I do this when I have some input to give that I think is helpful, but I don't have the time/care to write a detailed answer that meets my personal quality standards. Rather than an incomplete answer or not helping at all, I'll leave a comment to point them in the right direction.   If I vote to close a question, I refuse to answer it as well. But sometimes I will give some input in the form of a comment. Occasionally such a comment from me will be a real answer.   Sometimes I'll put in a half-answer in the comments when I'm really not sure if I'm right or not, hoping that somebody can confirm what I'm saying. Then I'll go off and research the answer, and by the time I get back somebody else has confirmed what I said in a real answer, so I'll vote them up, or if nobody has, I'll answer myself.   There are probably as many answers to this question as there are people answering in comments...   Other times, like when my answer is really a joke and the question isn't CW, I'll choose to answer with a comment so that it isn't confused with a real answer to the question.   I'm really just trying to spur a quick correct answer, and not put down something as an answer if I'm not sure it's right.   Also someone may be afraid of losing rep from an answer that may not be what people want to hear if the truth is unpopular or politically incorrect.  Those are some of the answers to the question  which perfectly demonstrate the flaws in using comments to answer questions. Ironically, those where the top upvoted answers, and the reputation generated essentially rewarded such behaviors By , comments are intended to be employed as:  You should submit a comment if you want to:  Request clarification from the author; Leave constructive criticism that guides the author in improving the post; Add relevant but minor or transient information to a post (e.g. a link to a related question, or an alert to the author that the question has been updated).  When shouldn't I comment? Comments are not recommended for any of the following:  Suggesting corrections that don't fundamentally change the meaning of the post; instead, make or suggest an edit;  Answering a question or providing an alternate solution to an existing answer; instead, post an actual answer (or edit to expand an existing one);  Compliments which do not add new information ("+1, great answer!"); instead, upvote it and pay it forward;  Criticisms which do not add anything constructive ("-1, see previous comments you scallywag!"); instead, downvote (and provide or upvote a better answer if appropriate);  Secondary discussion or debating a controversial point; please use chat instead;  Discussion of community behavior or site policies; please use meta instead.     Side Note: My question is about how I as a member of the community can help combat the anti-pattern of  "comment-as-answer" behavior, not why or when comments should be used, as such, I don't think it is [duplicate], it's a different question.


How to use variable as range upper bound

I have the following problem in a bash script. I'm trying to use a variable N as the upper bound in a simple range, like  #!/bin/bash  N=10  for n in {1..$N}; do     echo $n done;   However, instead of displaying each number in the loop, the code above literally displays {1..10}. If I change $N to its value, i.e. 10, things work as expected. How can I overcome this and use the variable as the upper limit of the range?


How can I easily deal with differences between BSD and GNU sed?

BSD and GNU sed have some small differences in what arguments they accept. I just learned that I have to use different command lines when using -i:  sed -i '' # BSD sed -i    # GNU   I solved this with an IMO ugly hack involving storing the correct parameter in an environment variable.  Is there a nicer way to do that?


How is this possible, technically? What is the logic behind this?


Problem with matrix (too many alignment tabs)

I can not see any problem here. I guess that some problem with encoding or end of line could be the reason.  See the image.     The code.  \documentclass[11pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage{amsmath} \begin{document}  \[J_{i} = \begin{bmatrix}% x_{i}   & 1         & 0         & \cdots    & 0         & | & 0         & 0         & 0         & \cdots & 0        &  & \cdots      \\% %0      & x_{i}     & 1         & \cdots    & 0         & | & 0         & 0         & 0         & \cdots & 0        &  & \cdots      \\ %\vdots & \vdots    & \vdots    & \ddots    & \vdots    & | & \vdots    & \vdots    & \vdots    & \ddots & \vdots   &  & \cdots      \\ %0      & 0         & 0         & \cdots    & 1         & | & 0         & 0         & 0         & \cdots & 0        &  & \cdots      \\ %0      & 0         & 0         & \cdots    & x_{i}     & | & 0         & 0         & 0         & \cdots & 0        &  & \cdots      \\ %-      & -         & -         & - - -     & -         & - & -         & -         & -         & - - -  & -        &  &             \\ %0      & 0         & 0         & \cdots    & 0         & | & x_{i}     & 1         & 0         & \cdots & 0        &  & \cdots      \\ %0      & 0         & 0         & \cdots    & 0         & | & 0         & x_{i}     & 1         & \cdots & 0        &  & \cdots      \\ %\vdots     & \vdots    & \vdots    & \ddots    & \vdots    & | & \vdots    & \vdots    & \vdots    & \ddots & \vdots   &  & \cdots      \\ %0      & 0         & 0         & \cdots    & 0         & | & 0         & 0         & 0         & \cdots & 1        &  & \cdots      \\ %0      & 0         & 0         & \cdots    & 0         & | & 0         & 0         & 0         & \cdots & x_{i}    &  & \cdots      \\ %-      & -         & -         & - - -     & -         & - & -         & -         & -         & - - -  & -        &  &             \\ %\vdots     & \vdots    & \vdots    & \vdots    & \vdots    &   & \vdots    & \vdots    & \vdots    & \vdots & \vdots   &  & \ddots \end{bmatrix} \] \end{document}


Shilov's Linear Algebra - Chapter 1, Problem 9

Calculate the $n$-th order determinant: $$\Delta= \begin{vmatrix} x&a&a&\ldots&a\\ a&x&a&\ldots&a\\ a&a&x&\ldots&a\\ \cdot&\cdot&\cdot&\ldots&\cdot\\ a&a&a&\ldots&x \end{vmatrix}$$ The answer is $\Delta=[x+a(n-1)](x-a)^{n-1}$. If we add all the other columns to the first column, we get the first multiplicative factor of the answer, and are left with the following determinant: $$\begin{vmatrix} 1&a&a&\ldots&a\\ 1&x&a&\ldots&a\\ 1&a&x&\ldots&a\\ \cdot&\cdot&\cdot&\ldots&\cdot\\ 1&a&a&\ldots&x \end{vmatrix}$$ How can we calculate this determinant to obtain the answer?


Given A $m\times n$, $\{u_1,...,u_n\}$ ON basis of $R^n$, prove eigenvalues aren't negative

Given $A$ $(m\times n)$, $\{u_1,...,u_n\}$ ON(orthonormal) basis of $R^n$ which are eigenvectors of $A^TA$ with $\lambda_1 , ... , \lambda_n$ eigenvalues accordingly.  Prove: Eigenvalues are not negative, $Au_1,..,Au_n$ are orthogonal basis of $R^n$.  Any ideas, hints how to prove it are appreciated.  Edit: I believe I'll find the proof of the first part soon in the book, so I'll update as soon as possible.


I searched a lot but wasn't able to find. Also, there's no option I am able to find in GUI.   How can I change the password for WiFi hotspot in Ubuntu 17.10? It's very urgent.  Thanks for the help and regards!


Rewrite a find command that uses sed -i for AIX

I have a script that searches for a string and replaces it via the sed command. If that string contains special characters, the script will escape them (except for the slash because it's my current delimiter for sed and the column because it marks the string on the bash line).  Here it goes:  raw_searchstring='SearchForThis'; raw_replacementstring='ReplaceWithThis';  #Escape special characters: quoted_searchstring=$(printf %s "$raw_searchstring" | sed 's/[][()\.^$?*+]/\\&/g'); quoted_replacementstring=$(printf %s "$raw_replacementstring" | sed 's/[][()\.^$?*+]/\\&/g');  find ./ -type f -exec sed -i -r "s/$quoted_searchstring/$quoted_replacementstring/" {} \;   I tested this on Ubuntu and it worked just fine.  However, I need to run the script on a AIX system. Since it does not support in-line editing with sed -i I tried the following, as suggested on a similar question here ():  find ./ -type f -exec sed -r 's/$quoted_searchstring/$quoted_replacementstring/' infile > tmp.$$ && mv tmp.$$ infile {} \;   This is where I get the error  find: missing argument to `-exec'   so I tried to pass more than one -exec statement to find with this line:  find /home/tobias/Desktop -type f -exec sed -r 's/$quoted_searchstring/$quoted_replacementstring/' infile > tmp.$$ {} \; -exec mv tmp.$$ infile {} \;   that doesn't work either:  sed: can't read infile: No such file or directory   I am not sure what I did wrong. Can you help me fix this line of code or point me in the right direction?


Which is the best batch image watermarking software?

I have lots of images to be watermarked. Is there a good batch image watermarking application that can do the job quickly and easily. I have found some, but none of these have a professional touch.


"E: Unable to locate package vlc-plugin-libde265" while installing VLC

I tried installing VLC using the following commands:  sudo apt-get install vlc sudo apt-get install vlc-plugin-libde265    and it is showing this error:  E: Unable to locate package vlc-plugin-libde265


Upgrading convergence in probability to L1 convergence

Let $A_n,A$ be random variables such that $A_n \rightarrow A$ in probability. Let us moreover have $B$ with $E|B| < \infty$ such that $|A_n| \leq |B|$ for all $n$. Does it hold that $A_n \rightarrow A$ in $L_1$? If we talk about almost sure convergence, then this is clearly the case by the dominated convergence theorem. Is it also the case for convergence in probability?


Mathematical Basis behind inflation of Standard errors of Regression estimates due to multicollinearity

We know that due to multi-collinearity, the standard errors of beta estimates get inflated. But what is the mathematical basis to it?   I am looking for some mathematical relationship or something to explain this.   Like I understand if standard error of betas goes up, then t-statistics goes down and we might not be able to reject the null or the variables would appear non-significant.   But what is the mathematical relationship between multicolllinearity and inflation in variance of coefficients?


I am Getting Sorry, no posts matched your criteria on form submit only for certain page

I have created my own custom forms plugin in which I have created a form and after submitting I get "Sorry, no posts matched your criteria". The strange thing is when I added form to other 2 pages its working fine.


"Are you a human?" frequency hugely increased

I see there are similar questions from 2012, but cannot find something more recent.  The frequency of "Are you a human" checks has become excessive recently - I get them on the majority of searches I make. Most of the time I am not logged in, but my device and IP are not predictable.   I suspect that the cause is most of the time that I am making a search on a stack exchange site using the search function itself I am looking for a list of interesting looking discussions. So for instance, I will search for "bug compatibility" to see if there are any interesting looking tales of what folk have had to implement over the years.  I can see how this can look a lot like a bot. But surely I'm not the only person who uses stack exchange sites like this?


What's the easiest way to set up a LAMP stack?

I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be tweaked, if any, etc.).


I am working on a problem with the following set:  $$S =  \{\varnothing,\{\varnothing\}\}$$  My solution was: $P(S) = \{\varnothing, \{\varnothing\},\{ \varnothing , \{ \varnothing \}\}\}$, but the solution on the textbook shows: $P(S) = \{ \varnothing , \{ \varnothing \}, \{\{\varnothing\}\}, \{ \varnothing , \{ \varnothing \}\}$  Where does the $\{\{\varnothing\}\}$ come from?  Thanks


I have a problem with the Drupal cache. The cache remembers session and cookie values. Everything works fine when I'm logged in or when I completely turn off any cache. Is it possible to use cookies and avoid they are cached for anonymous users?


Is there a nice example of integral domain $R$ and $s,t \in R$, with $Rs \cap Rt$ not principal but lcm($s,t$) exists?

I am currently searching for an integral domain $R$ which allows lcm, but where the intersection of two principal ideals is not necessarily a principal ideal (or at least an example with two certain elements).   As converse example (where the sum of two ideals is not principal but $R$ allows gcd) is $\mathbb Z[X]$. It allows gcd, but obviously $\left<X+1,2\right>$ is not principal.  An example of an integral domain where the intersection of two principal ideals is not principal would be $\mathbb Z[\sqrt{-5}]$ with the ideal $\left<2\right> \cap \left<1+\sqrt{-5}\right>$, but this doesn't allow lcm.  Since I can't find a nice example, I put the question here. Maybe someone has already seen this? (I am not completely sure, one even exists, but pretty certain there is an example. In the case my hunch is wrong, I would be happy, if someone could proof me wrong.)


I have written: "They knew me from having seen me through the window, and from inquiring about me from John and Angel." Should that be "to John", or even "of John," ?


World with fire/water/air/earth/shadow/light users; girl on a fire-owned submarine attacked by shadow rebels

It's a world that includes fire, water, air, earth, shadow and light users. This world has at least one archipelago with a king, that's died in the previous squashing of rebellion, his descendant lives known only to few. At the beginning of the series a girl is on a fire-owned submarine vessel that gets attacked by Shadow rebels. The Shadow rebels have at least one base in the archipelago and train people there. I'm not totally sure, but I believe there's also an island that has a lot to do with trade. Also, the fire... clergy, I guess? Has absorbed the light part, so basically there are only 5 separate elements remaining.  Some info I'm not quite 100% sure about, but I think the king of the archipelago might also be called The or a Pharao  Unfortunately this is pretty much all I remember.


When does $\lim_{n\rightarrow \infty} a_n = 0$ imply $\sum_{n = 0}^{\infty} a_n$ converges?

This is just a general question. I know the opposite statement is always true. I'm just asking when the converse holds. I know that the converse is not true in some cases, such as for harmonic series. What additional restrictions are needed to make this statement true?


I am trying to setup a dual screen configuration on debian 8 jessie with Gnome.  My computer has 3 graphical outputs : 2 displayport and 1 HDMI. I can't manage to have two of this 3 outputs to work simultaneously.  output of xrandr is (with the other display on displayport):  xrandr: Failed to get size of gamma for output default Screen 0: minimum 1680 x 1050, current 1680 x 1050, maximum 1680 x 1050 default connected primary 1680x1050+0+0 0mm x 0mm 1680x1050      0.00* `   output of xrandr is (with hdmi working):  xrandr: Failed to get size of gamma for output default Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080 default connected primary 1920x1080+0+0 0mm x 0mm 1920x1080      0.00*   I also tried to use both displayport but it does not work either.  output of lshw -c videò:  *-display UNCLAIMED         description: VGA compatible controller    product: Intel Corporation    vendor: Intel Corporation    physical id: 2    bus info: pci@0000:00:02.0    version: 06    width: 64 bits    clock: 33MHz    capabilities: pciexpress msi pm vga_controller bus_master cap_list    configuration: latency=0    resources: memory:f6000000-f6ffffff memory:e0000000-efffffff  ioport:f000(size=64)   (with both screens connected via displayport)  output of lspci -v -s0:0:2.0  00:02.0 VGA compatible controller: Intel Corporation Device 1912 (rev 06) (prog-if 00 [VGA controller]) Subsystem: Dell Device 06b9 Flags: bus master, fast devsel, latency 0, IRQ 255 Memory at f6000000 (64-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] I/O ports at f000 [size=64] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied>


Use integration by parts to calculate 𝐼 =   f  e^(ax) cos 𝑏𝑥 𝑑𝑥 for 𝑎 ≠ 0 and 𝑏 ≠ 0.  This is my working so far. The part where i have to integrate is confusing so with some help maybe i can do it .


What does "perfect" in say past perfect imply?

Many verb tenses such as "past perfect", "present perfect", and "future perfect" exist.  I understand what these tenses mean and when they should be used, but what does the word perfect imply? Are other tenses somehow not perfect?


1 time shrink of abused databse or restore from backup

I have a database that I have inherited which has been left for a long time to grow and grow. 95% of this growth is caused by 1 log table used by our application. The database is 120GB and in full recovery mode. The compressed backups are around 10GB. The server is 2008. The log file is 3.5GB  After asking I have found that I can remove all data from this log table over 3 months old. This gives me 100GB of free space. I have also written an agent job to keep the log table at this level.  This means I will have roughly 100GB sat in this file forever (as long as no other table starts growing in way it hasn't previously or the agent job fails)   I would like to free some of this space up while leaving enough room for future growth which should be much less then it was before my agent job was put in.  So I don't want to shrink and then defrag indexes as this may require a lot of downtime and is almost always a bad idea.   Is dropping the database and restoring the 10GB backup an option? I'm not even sure if this will give me the desired result which is a smaller database with something like 2GB free in it's file for future growth.   Thanks


Duplicate meta description for paging in Google Webmaster Tools

In Google Webmaster tools I get duplicate content warnings for paging pages. How do I fix this? Do I need to add Page 2, Page 3, etc. to my meta description?     HTML Improvements   Duplicate meta descriptions Meta description   information can give users a clear idea of your site's content and   encourage users to click on your site in the search results pages.     I have these already in place.  <link href="http://site.com/youth-basketball-tournaments?page=2" rel="canonical" />  <link rel="prev" href="/youth-basketball-tournaments?page=1" /> <link rel="next" href="/youth-basketball-tournaments?page=3" />


Booting ubuntu usb gives terminal?? How can I install ubuntu?

I have NOT installed ubuntu, and I want to; the guidelines on the website suggest that when I boot from the USB I get some kind of a GUI which guides me through setup; however, what I get is a black terminal screen. What is going wrong here?  I have ubuntu-14.10-desktop-amd64.iso on my formatted USB.


Null Pointer Exception in java servlets pages

Im very beginner in Java servlets... i have tried to connect servlet with database but NullPointerException  I tried to resolve this problem ,but no luck...   Error is     java.lang.NullPointerException     JDBCServlet.service(JDBCServlet.java:(42)   import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.DriverManager;//1 import java.sql.Connection;//2 import java.sql.SQLException; import java.sql.Statement;//3 import java.sql.ResultSet;//4  public class JDBCServlet extends HttpServlet {     Connection con;      Statement st;     ResultSet rs;     String sql;      protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {         System.out.println("JDBC Servlet Invoked");          //1st step: load JDBC MySql Drivers         try {             Class.forName("com.mysql.jdbc.Driver");             System.out.println("Drivers Loaded");         } catch (ClassNotFoundException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }          //2nd Step: create a connection         try {             con = DriverManager.getConnection("jdbc:mysql://localhost:3306/webtech1", "root", "123456");         } catch (SQLException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }          String sql = "select * from user";         try {             st = con.createStatement();             rs = st.executeQuery(sql);              while(rs.next()){                  System.out.println(rs.getInt("id"));                 System.out.println(rs.getString("firstName"));                 System.out.println(rs.getString("lastName"));                 System.out.println(rs.getString("email"));                 System.out.println(rs.getString("password"));                 System.out.println(rs.getString("createdate"));             }          } catch (SQLException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }        } }


What are the different doctypes in html and what do they mean?

As the title describes, what are the different doctypes available and what do they mean? I notice that the layout looks a little different in IE7 when I switch from   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >   to  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   Are there any others and what are the effects or ramifications?  Thanks!


Can you help me with this problem?  Find the center of mass of a lamina whose region R is given by the inequality:   and the density in the point (x,y) is :    Any help?  Thanks


Using OpenSUSE leap 15.1 10.2.29-lp151.2.9.1-x86_64 from vendor OpenSUSE (installed)  CREATE TABLE testtab2(     my_id2 INT AUTO_INCREMENT,     name2 VARCHAR(10),     comment2 VARCHAR(20),     PRIMARY KEY (my_id2) );   testtab.txt:  |Roger |hurray   | |George|today    | |Paul  |yesterday| |John  |last year| |Ringo |tomorrow |   LOAD DATA LOCAL INFILE 'testtab.txt' INTO TABLE testtab FIELDS TERMINATED BY '|';   works fine with linenumbers (my_id) 1-5  INSERT INTO testtab (name,comment) VALUES ('Beatles','band');   this gets linenumber (my_id) 8 - should be 6.  If testtab.txt have 8 records and using INSERT INTO 1 record this gets linenr (my_id) 16. This happens in other tables too - one moved from 199 to 256.  Anyone who can solve the problem?


Heating a hollow disc maintaining same temperature at centre?

If a hollow disc made of brass is heated at the same time the circular hole is kept at a constant temperature, would the circular hole still show a change in shape?  Also, does the position of the circular hole in the disc dictate how much it expands / contracts ?   Ps. Any mathematical proof would be really appreciated.


Is there a way to condense the following regex replace? (javascript)

I'm trying to remove the whitespace from the beginning and the end of the input string, replace more than 1 space with just one space and remove all special characters. The snippet (attached herewith) works but I just wanted to ask if there is a way I can make this look slightly less uh... ugly? There must be a better way of writing this, right?     const filterInput = (vals) => {   console.log(vals.replace(/^(\s*)|(\s*)$/g, '').replace(/\s+/g, ' ').replace(/[^\w ]/g, "")); };  filterInput(" squid*^%ward     sponge((bob        ")


How can I find online playtesting groups to playtest my game?

I'm just putting the finishing touches on the 9th iteration of my self-designed RPG system (with its own setting), and though it was woefully rocky in its early days I think that it's really coming together well. I'm running a handful of pbp games in v8.3, and have collected some encouraging data, and v9.0 is really feeling close to my initial vision.  Now, however, I'd like to see the game tested from a GM's point of view. When 9.0 is fully written up I'd like to find a group to pick up and use the materials with my input being limited to observation, and question fielding.  Do groups exist who like to playtest different systems? I can't imagine it's the world's most attractive pitch to try someone's homebrew pet project, but I also think this one stands up. If so, how or where do I find them?  Again, I'm keen to hand off the entire system to another GM with his/her own players, observe, and be available in whatever capacity becomes necessary. I'd consider this the next step after GMing playtests myself. And I'd be looking specifically for an online venue, as being based in New Zealand doesn't lend itself to large-scale conventions or the like.


How is the server background color changed? Not using the desktop version. Have been able to customize the bash command line, but not the overall background color.  Thanks  From the answers i am assuming there is no simple way of accomplishing this, such as editing a file. The setterm only highlights the command line with a color but doesnt really change the background as a whole.


i am using a proxy server and i was unable to download any software from ubuntu 15.04

i am unable to install Ubuntu restricted extras and VLC and many. when i use sudo apt-get install Ubuntu restricted extras in terminal it is showing unable to locate  ubuntu restricted extras. how can i make it possible


How vulnerable to physical hits are Federation ships?

EDIT3: Thanks for very varied answers. I with I could approve two answers and not just one. The question was answered, by both Omegacron and Nate Watson. While Omegacron's answer is much better formatted, Watson's had more relevant examples. My question is about kinetic projectiles like simple shells and debris, not about nukes or chemical weapons, which almost everyone here insists on bringing up. However, these two answers, as well as Jim2B's, paint a complete picture about Federation hulls. Which is "nowhere near as tough as the theory behind them claims"  I've had a discussion with someone, a silly what-if - NCC-1701-x Enterprise vs Battlestar Galactica 2004.   We've been unable to conclude who would get the upper hand - Galactica with it's huge size, incredibly thick armour, rain of metal fire, nukes and armour-piercing explosive rounds that could level Pentagon in a hit, or Enterprise, with it's shields, high-tech, and great, but highly concentrated firepower.   The main problem is that we just can't remember a fight or an example where a Federation ship bigger than a shuttle was hit by a projectile physical. So we can't judge how will Galactica's rain of steel would affect the Enterprise. Our rules were "on-screen events > theory/words" (for example photon torpedoes are said to destroy small planets in Voyager, but in a fight, they struggle to breach shields) and that both ships are moving at a speed they usually are shown to fight at. Slowly.   The only example of physical hit vs shields that I can remember was when the Enterprise-E bumped into a Mogai's wing and lost more than half of it's shield strenght and took minor internal damage, in the movie Nemesis, and I'm pretty sure there were ships destroyed by debris in DS9 and First Contact. I also remember (vaugely) Romulans threatening the Federation with nukes, something the Federation took seriously (on a semi-related note).  I'm looking for an answer compatible with TV shows and movies, not the theory behind them, and I'm looking for both examples where the the damage was mitigated as well as when it was catastrophic.   Also, this is not a Galactica vs Enterprise question, I've only mentioned it because I thought some context would be useful.   EDIT: I am fully aware of Star Trek's inconsistencies, this is why I am asking for examples of both shrugging off the hit AND when it did catastrophic damage. I know there are both. And once again, this is NOT Galactica vs Enterprise.   EDIT2: This is not about nukes! This is specifically about not nukes - kinetic projectiles, be it ammo or debris or meteors or garbage. Not nukes, not chemical weapons, not energy-based weapons. Nukes are different from plain kinetic projectiles. They explode and generate heat, emit radiation, and make a shockwave. a) most of it goes into emptiness, b) space already has a lot of radiation, c) only in atmosphere tl;dr nukes usually are not that dangerous. Now, a small but very very fast projectile can pierce a ship.


This is a 9GAG picture I saw tonight. The way it's put, it is evidently false, since 0.10100100010000… (the powers of 10 all in a row) is definitely decimal, infinite and nonrepeating (or in one word, irrational), but most surely doesn't contain every possible number combination. I was just wondering: can this be proved for pi? And more in general, are there sufficient conditions for a decimal number to contain, in its decimal expansion, all possible number sequences?  PS I wasn't sure how to tag this. I think this question deserves more than just the tag "pi". Any ideas on another tag for this question?


The groups $G_1, G_2$ and the normal subgroups $N_1,N_2$ are isomorphic. Dis/prove $G_1/N_1\cong G_2/N_2$

Let $G_1, G_2$ be groups, and let $N_1\trianglelefteq G_1, N_2\trianglelefteq G_2$ such that $G_1\cong G_2, N_1\cong N_2$. Prove or disprove $G_1/N_1\cong G_2/N_2$.   Let $\varphi:G_1\to G_2, \psi:N_1\to N_2$ be isomorphisms.  I think that if this isn't true then I have to find an example such that $\varphi[N_1]\ne N_2$. I didn't find any disproofing.


I have the series $\sum_{n=0}^\infty \frac{n}{2^n}$. I must show that it converges to 2.   I was given a hint to take the derivative of $\sum_{n=0}^\infty x^n$ and multiply by $x$ , which gives   $\sum_{n=1}^\infty nx^n$ , or $\sum_{n=0}^\infty nx^n$.   Clearly if I take $x=\frac{1}{2}$ , the series is  $\sum_{n=0}^\infty \frac{n}{2^n}$. How do I proceed from here?


I'm having problems solving this type of irrational integral:  $$\int_{}^{}\frac{2\sqrt[5]{2x-3}-1}{(2x-3)\sqrt[5]{2x-3} + \sqrt[5]{2x-3}}dx$$  I've tried using the following substitution: $2x-3 = t^5$ but hopeless. If anyone sees how the integral should be solved please reply to my question.  P.S. This is the result that I should get: $$\frac{5}{2}\left[\ln(\sqrt[5]{2x-3}+1) -  \arctan\sqrt[5]{2x-3}\right] +c$$


Can one get a faculty position by posting CV on job websites?

As I see faculty positions in Europe and North America is always based on applications. Is it common that a department head suggest a faculty position to a possible candidate?  I do not mean based on personal connection. Job websites (consider those devoted to academic jobs) encourage job seekers to upload their CVs.  Is it common that a department head search CVs uploaded on academic job websites and suggest a faculty possible to a job seeker?  Is there any success story? Does this system work in practice?


Problem with beamer and the vertical alignment in the header and footer

I use Latex with beamer and Warsaw to create a presentation:  \documentclass[9pt, compress, aspectratio=169]{beamer}  \usetheme{Warsaw}                           \usecolortheme{beaver}                      \setbeamertemplate{navigation symbols}{}      Unfortunately, the text in the footer and header is not vertically averaged out. The text is displayed at the top of the footer and header. Half a year ago this behavior did not exist. The text was displayed vertically centered. Is this an error in a new version of beamer?


I recently downloaded QGIS 2.8 and opened an existing project in it to check how it handled it and make any changes required. This project includes several raster heatmap layers.  My problem is that many of these raster layers seem to have shifted by a significant degree (but not all of them so additionally confusing). At first I thought it was a styling issue but then realised they were being displayed outside of the visible area.  They all have the same CRS set (EPSG: 27700, British National Grid), the project is set to this also.  I can see no differences between the settings for the affected raster layers and the single unaffected raster layer. Some of the affected layers are .ntf and some are .tif. The one unaffected layer is a tif.  Re-importing the layers doesn't seem to help. Creating a heatmap from scratch leads to the same problem, very odd!


So I'm creating a document for some documentation we have to turn in for an upcoming review.    How would I go about creating an individual title page for each new chapter, that follows a specific design?


I am trying to load ubuntu-18.04.3-desktop-amd64.iso on my laptop PC( Toshiba Satellite C855D ).  Toshiba instructed me to press the F12 key as the PC is first trying to boot.  This re-directs the PC to boot off of a selected media. I then get an opportunity to select the bootable media.  I have tried using both the optical drive and the USB thumbdrive as a target to boot off of.    In each case it says that it is "checking media", and posts a "Fail" message. The PC then continues on and boots into windows 8.     It does not seem to know what to do with the ISO file.  Am I missing something here ?  Thank you


What are the best books on general relativity for beginners?

so, I've tried several books. but many of them weren't designed to suit beginners such as myself. thus, being a beginner is completely related. in my case starting off with the motion, equations is the ideal start point {proof is ESSENTIAL}.


Is it time to be rid of automatic down votes on certain closed questions?

Right now,  carry automatic downvotes.  The  for this was largely to enforce specific quality bans in part because people were not down voting questions. Now that question down votes are free on questions and it seems to be pretty commonplace for question quality bans to trigger, even without the automatic votes from closure, and we have completely revamped the closure system. Is it time to reevaluate whether or not these automatic votes are still a good idea?  What benefits do the automatic votes provide and have they effectively run their course?


How many Jedi have helped the Rebel Alliance?

From the rise of the Galactic Empire in 19 BBY to the death of the Emperor in 4 ABY, which known Jedi has the Alliance to Restore the Republic and its predecessors benefited off of?  This includes any Jedi who has directly  helped the Alliance in any capacity or form, such as but not limited to formal members, non-members but friends nonetheless who has offered assistance before, or any who lent their services whether as a favour or as part of a transaction/deal of any sort.  I would like to know both Disney Canon and Legends versions. Also, the term Jedi here is loosely defined as a catch-all for any Force user who is aligned with the good guys and opposed to the dark side - "part-time" Jedi like Ahsoka would qualify.  Edit: Well...I didn't realise I asked this before. Request to reopen this question as the answer here is more complete. I want to delete the other one (seems the wording for the older question is more convoluted too).


How do I get the latest (beta and development) version of Chromium?

Confronted with  I found that I need to run a version of Chromium that is newer then the one in the repositories in order to use an extension that I want.  Can I get a such new, even latest version?  In Windows I can use beta Chromium portable that is newer than Google Chrome.  How to get that newest Chromium here in Ubuntu?   Related:


Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is detailed in roughly 20 lines here:      I am using Linux Mint (an Ubuntu distro) and I know I can use puttygen in the terminal. However, I have no idea how to use this tool, nor how to configure the needed parameters. When I type puttygen --help I get   PuTTYgen unidentified build, Aug  7 2013 12:24:58 Usage: puttygen ( keyfile | -t type [ -b bits ] )                 [ -C comment ] [ -P ] [ -q ]                 [ -o output-keyfile ] [ -O type | -l | -L | -p ]   -t    specify key type when generating (rsa, dsa, rsa1)   -b    specify number of bits when generating key   -C    change or specify key comment   -P    change key passphrase   -q    quiet: do not display progress bar   -O    specify output type:            private             output PuTTY private key format            private-openssh     export OpenSSH private key            private-sshcom      export ssh.com private key            public              standard / ssh.com public key            public-openssh      OpenSSH public key            fingerprint         output the key fingerprint   -o    specify output file   -l    equivalent to `-O fingerprint'   -L    equivalent to `-O public-openssh'   -p    equivalent to `-O public'   But I have no idea whatsoever on how to do what the website tells me to do and all my tentatives failed so far.  How do I do what the website tells me to do, using puttygen on the terminal?


I just added a comment . The poster (眠りネロク) has a non-western username, which I copy-pasted into the comment (I don’t have Japanese language input ability installed on my PC).   However, I notice that doing so failed to activate the "link-to-reference" kind of behavior I've come to expect on SE, meaning that it is unlikely that the poster will know I just tried to tag him with a note.  Is this a failing with the language on SE? (Japanese is well-within the BMP.) Or did I do something wrong?  edit  I do not consider this a duplicate of (above): the question is about using CJK characters with @, not whom can I ping (which I admit I did wrong).


Is it possible to put a Steam game onto a USB drive and have it work without a direct way to install Steam?

At my school programing class, our teacher encouraged us to gather other types of video game design software to allow us to make more complex games, instead of just the base Greenfoot and Bluejay games. I remembered I had RPG Maker VX Ace on my computer at home, so now I am stuck at how I would get it to school, seeing that the county blocks Steam (and everything else good on the internet (besides this site)).   Is there a way I could get it onto a USB drive and use it on the other computer without a direct way (from the school computer) to download Steam?


Solving trigonometric equations of the form $a\sin x + b\cos x = c$

Suppose that there is a trigonometric equation of the form $a\sin x + b\cos x = c$, where $a,b,c$ are real and $0 < x < 2\pi$. An example equation would go the following: $\sqrt{3}\sin x + \cos x = 2$ where $0<x<2\pi$.  How do you solve this equation without using the method that moves $b\cos x$ to the right side and squaring left and right sides of the equation?  And how does solving $\sqrt{3}\sin x + \cos x = 2$ equal to solving $\sin (x+ \frac{\pi}{6}) = 1$


Fade in each element - one after another

I am trying to find a way to load a JSON page to display my content, which I currently have. But I am trying to fade in each element one after another? Is anyone familiar with a way to do that?  Fade in each element with a slight delay?  Here is an example of my code, I am using the jquery framework.  CODE:


Installed it wrong and cannot uninstall ubuntu

I installed ubuntu alongside windows 8 but dual boot isn't working. It doesn't appear in control pannel to simply uninstall.  I have 2 HDD and there are 20GB on the second one (first one is for windows os) that dont add up so I'm guessing that is where it's installed.  I installed it from usb so I got to ask does it matter what HDD boots after the usb stick? Because the primary HDD (with windows) was set after ubuntu media. And the second HDD had 3rd place. So I dont believe the virtual partition was created on the secondary one.  Anyway how do I get rid of it in order to reinstall it?


"Enable Wifi" Missing eventhough driver is installed

"Enable Wifi" is missing on my Ubuntu 16.04. This happened after I upgraded from 14.04. It was all fine on 14.04  The driver is enabled already in Additional Drivers (BCM43142)  I have tried many suggestions from AskUbuntu. Some suggested restarting the network service manager to get temporary solution but even that doesn't work.  $ lspci  00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b) 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04) 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) 00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4) 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) 00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) 00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4) 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04) 08:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01) 09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 08) 0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)   $ sudo lshw -c network    *-network UNCLAIMED             description: Network controller        product: BCM43142 802.11b/g/n        vendor: Broadcom Corporation        physical id: 0        bus info: pci@0000:08:00.0        version: 01        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress cap_list        configuration: latency=0        resources: memory:b5500000-b5507fff   *-network        description: Ethernet interface        product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:09:00.0        logical name: eth0        version: 08        serial: 6c:c2:17:65:7c:a1        size: 10Mbit/s        capacity: 100Mbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-2_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s        resources: irq:41 ioport:4000(size=256) memory:b5404000-b5404fff memory:b5400000-b5403fff   *-network        description: Ethernet interface        physical id: 3        logical name: enp0s20u6        serial: 06:5e:2b:de:58:2c        capabilities: ethernet physical        configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.138 link=yes multicast=yes   Need help!


Do you receive Trading Cards at set intervals?

When playing a Steam game that supports Trading Cards, you can receive a certain amount of trading cards which you can use to craft badges or sell on the Steam Market.  Does Steam give away these cards randomly, or do they give it away at set intervals (Ex. every hour a new card is given)?


I am trying to compile a latex file but I noticed that the file ``freezes" at the point of this array:   \[\left(\begin{array}{ccc} a_{11} & a_{12} & a_{13}\\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{23} & a_{33} \end{array}\right) \left(\begin{array}{c} u_{t}^{\tau} \\ u_{t}^{g} \\ u_{t}^{y} \end{array}\right) = \left(\begin{array}{ccc} b_{11} & b_{12} & b_{13}\\ b_{21} & b_{22} & b_{23} \\ b_{31} & b_{23} & b_{33} \end{array}\right) \left(\begin{array}{c} e_{t}^{\tau} \\ e_{t}^{g} \\ e_{t}^{y} \end{array}\right) \]   That array was a copy and paste from another latex file. Is there a particular package that creates this problem ? Once I remove the array from the file it compiles with no problems.  The document class that I use is {book} with the following sample of packages:   \usepackage[a4paper, total={6in, 9.5in}]{geometry} \usepackage{amsmath, mathtools} \usepackage{amssymb} \usepackage{multirow} \usepackage[flushleft]{threeparttable}


How can I restore an uncommited file between branches?

The situation is:          branch2         /        / master        \         \        branch1   I created a file (aaaa.py) in branch1, but I didn't commit it. Later I changed to branch2 and I did some changes in the file (aaaa.py) and I committed it in this branch (branch2) but now I want to restore the file (aaaa.py) like it was at branch1 before it was changed.  IMPORTANT: Now aaaa.py doesn't exist in branch1 because I didn't commit it in that branch.  How I can do it?


I have certain apps, like Google Maps, on my phone which I am unable to move to my SD card from the internal memory. I tried moving it from the App management menu in Phone settings, but the move to SD card option isn't enabled. Is moving these apps going to affect the working of the device?


Display all the lines which ends with the word “unix” or specific word in terminal

How to display all the lines which ends with the word unix in any given file and sorts those lines in ascending order.


Use epigrafica font for sections, otherwise newtxtext,newtxmath?

I'd like to use epigrafica specifically for chapters and sections, but like to use times font for main texts.  \usepackage{epigrafica}          % for chapter/section \usepackage{newtxtext,newtxmath} % for main text   Is there any way to do this? I can only use pdftex.


pgfplots: don't plot each point from table

I have a large file with data which I want to plot using pgf. Since I don't want to edit the file and it consists of roughly 5000 data points, compiling takes quite a while. Is there any way to tell pgfplots to plot only every n-th data point?  Here is an example:  \documentclass{article} \usepackage{pgfplots} \usepackage{filecontents} \begin{filecontents*}{mydata.csv} x,       y 1,       0.000004824 2,       0.000004687 3,       0.000009425 4,       0.000004794 5,       0.000004565 \end{filecontents*}  \begin{document} \begin{tikzpicture} \begin{axis}[] \addplot table [col sep=comma] {mydata.csv}; \end{axis} \end{tikzpicture} \end{document}


What is the difference between the following sentences?     It has been developed   vs   It is being developed      It has been held   vs.   It is being held    Which tense is "is being" used here and when do we use it? Is there any difference between "It is being held" and "It is helding"?


As a non native english speaker i wonder which one is the correct form to use ?  to think outside the box ? to think out of the box ?  is there any difference in meaning ?


How can I completely remove files of Anaconda as it is not installing properly?

I tried to install Anaconda3-4.1.1-Linux-x86_64.sh, but after saving files in terminal an error comes saying permission denied. How can I resolve this?


When wanting to connect to a server it says "Invalid name", however the world name appears the same. How do I get my daughter and son to connect?


Referencing images found in public domain

How should I reference images found in public domain in my thesis?   I mean, if it would be copyrighted, I would add a comment a la "reproduced with permission from X". If it would be under Creative Commons license, I would add a comment "licensed under XY license".   What about public domain? Should I add some sort of comment to make clear it is public domain? E.g. if I would like to use something from NREL website ().


Every cyclic group with order > 2 has at least 2 distinct generators   Here's what I've got so far:  Either order of our group, $G$, is finite or infinite.  Suppose infinite: then our group is isomorphic to $\mathbb Z$ under addition. This group has two distinct generators, therefore so does $G$.  Suppose finite: Then $G$ is isomorphic to $\mathbb Z_n$ under addition modulo $n$.  We know order of $G$ is $\geqslant 3$. If order of $G$ is odd, both 1 and 2 are generators of $\mathbb Z_n$ under addition modulo $n$, so $G$ has at least two generators.  If order of $G$ is even, then both 1 and some odd number between 1 and $n$ are generators. How do we determine this odd number?  Does this look like I'm on the right track?


Does the 'mutable' keyword have any purpose other than allowing the variable to be modified by a const function?

A while ago I came across some code that marked a member variable of a class with the mutable keyword.  As far as I can see it simply allows you to modify a variable in a const method:  class Foo   {   private:       mutable bool done_;   public:       void doSomething() const { ...; done_ = true; }   };   Is this the only use of this keyword or is there more to it than meets the eye?  I have since used this technique in a class, marking a boost::mutex as mutable allowing const functions to lock it for thread-safety reasons, but, to be honest, it feels like a bit of a hack.


How come when I change an ENV variable and echo it in the same command, I don't see the new value?

When I run PATH=abc:$PATH echo $PATH, I get the old value for PATH, not abc:PATH  Why is this? How can I get abc:$PATH?  Edit: How about for PATH=/mybin:$PATH which python if /mybin has a python executable?


How to deal with a player who refuses to learn the description of their spells and abilities?

I am currently running Lost Mines of Phandelver for a fluid group of about 10 people. We play once a week and on a given night 4-6 people will show up. We've been doing this for 4 months now. I have very limited experience as a DM so for all intents and purposes, I am new. At this point most of the players have a working understanding of how their classes work and what their various class and race specific quirks and abilities are.  Whenever someone forgets something relating to their class, I'll pass them the PHB or basic rules and let them look it up on their own. If there are questions regarding the rules, I look up the answer myself. I've never explicitly stated this but it's the precedent. It is very important that players are expected to be as self sufficient as possible because we have a large group and I'm stretched thin.  I have a problem player (PP) who wanted to be a sorcerer. I told him that he'd have to keep track of his spells and more stats than everyone else and that he'd probably have more fun playing a non-magic class but he insisted. I handed him the PHB to choose his spells and he chose all of them at random.  Below are the primary issues, most of which come up during combat, and what I've done to remedy them:   PP does not know what any of his spells do but tries to cast them anyway. Whenever he casts a spell I'll ask him what it does or if he has the requisite materials and he'll say he doesn't know. This turns into me pausing the flow of the game to look up the spell, explain it to him, and then continue. I have tried asking him to write his spells down but that results in the next problem. PP takes horrible notes. He'll write out a couple words on a spell that he can't decipher later or straight up write the wrong spell down. He does the same with his ability scores and stats. We've had to reroll his health before because he was not tracking max health. He is so inconsistent and disorganized that we have to recalculate his stats for every relevant action he takes. This also annoys the other players because he is constantly losing items. I give him unlimited crossbow ammo as a courtesy and match his xp to the average of the other players. I've asked PP repeatedly to print out all his spells from the wiki or something but he forgets every time. I would do this for him but then I'd have to do it for everyone (I have far too many players) and I don't want to set a precedent of being a nanny. Also I'm afraid that if I give him any more help he'll expect me to track everything for him. So, I keep holding up the game to look up spells and ask him to do something about this. He understands the problem but does not deal with it. PP does not understand the larger meaning behind any of the numbers. All of the other players understand that difficult actions require higher rolls and they have a feel for when their health is low. PP doesn't get this and won't do anything (including self preservation) but fire his crossbow unless the other players ask him to. I encourage him to read the PHB. I've sent him links, I've put the book in front of him, he'll open to a page to humor me but won't actually read. I don't want to lend him my PHB to read on his own because he has a history of forgetting things at home.   I don't want to kick him out. He really shines during the RP segments (he even uses spells outside of combat very effectively) and he's a fun player but he is such an impediment during combat that I need help dealing with him. Other players will occasionally memorize spells for him or look things up while I'm doing other things but we're all new and the table gets easily frustrated.  What should I do?


Which optimization algorithm to use for problems with many local optima and expensive goal function?

I've got an optimization problem with these properties:   The goal function is not cheap to compute. It can be evaluated up to around 10^4 times in the optimization. There's a lot of local optima. High values are clustered around the maximum, so the problem is kind of convex. The solutions are constrained to a known hyperbox. The gradient is unknown, but intuitively, the function is smooth. It's a function of up to 50 variables. The graphs below are examples of the 2D special case.   Nelder-Mead gets stuck in the local optima a lot. Above three variables, there's no chance of using brute force. I've looked into genetic algorithms, but they seem to require a lot of evaluations of the goal function.  What kind of algorithm should I be looking for?


I'm trying to alias an ip address onto Lo or create a new loopback interface such as lo:1  I've created /etc/sysconfig/network-scripts/ifcfg-lo:10  DEVICE=lo:10 IPADDR=192.168.10.1 NETMASK=255.255.255.0 NETWORK=192.168.10.0 BROADCAST=192.168.10.255 ONBOOT=yes NAME=lo10   When I do ifup lo:10   [root@xxxx network-scripts]# ifup lo:10 Error: no device found for connection 'lo10'.   Can anyone please shed some light on this issue.  I have used this method for aliasing ip addresses on physical interfaces without issues.   This is not a duplicate as Michael has tried to point out as I'm trying the correctly documented way and would rather not use the rc.local as suggested in what he feels the same question.


How to scp through two intermediate servers to a third-hop server

I have seen plenty of examples for scp through an intermediate server to a second-hop server via ProxyCommand operator such that:  A:/infile.txt -> B -> C:/outfile.txt   Which looks something like the following from A:  scp -o 'ProxyCommand ssh userB@hostB nc %h %p' infile.txt userC@hostC:"~/outfile.txt"   My question, is how to scp through two intermediate servers to a third-hop server such that:   A:/infile.txt -> B -> C -> D:/outfile.txt   I'm looking for a way to do this using one-liner similar to the second-hop example provided above ...  but all answers and means are valid if that's not possible.  What I'm trying to do is not the same as  or variants thereof, which uses /etc/ssh/ssh_config file for setting up aliases.  That's not what I'm wanting to do, I'm looking for a one-liner.  I've also not seen any examples of two or more proxy hosts in between origin and destination, so I believe the question is quite valid.


Imagine a steel bar floating in space. Assuming the bar wouldn't break or bend, if I shoot a bullet at one end, would it rotate, fly away, or both?

Is there a formula to calculate both the translational and rotational velocity? Does the bar always bend, and if so is there a formula on how it bends (maybe related to the velocity/force of the bullet)? What if the bar is very long, to the point where if the bar rotate it'd be at relativistic velocity?  What if I shoot at a string of cloth instead? Would the behavior of the bar/string be different if there's air drag?   Sorry for asking too many questions, but if you can answer any of them I'd be grateful.


Centos 5 Apache WHM Cpanel Server Limit, Max Clients

Hello today my VPS server goes down, the node have this: 2GB RAM 1/2 CPU 40 GB Storage The Server Limit and Max Clients as default: Server Limit: 256 Max Clients: 150  So .. i set the  node to: RAM 8GB 2 CPUs 160 GB Storage    The "Server Limit" and "Max Clients" still having default values My question.. exists any table or something, to change the "Server Limit" and the "Max Clients" for the new hardware  Thanks


ñ character showed as �, when retrieving from mysql to php

I have a data in my mysql database's table which is Biñan. However, when I try to retrieve it using php, it showed as Bi�an in my dropdown list.   Here is my sample code:  <?php    $query = "SELECT * from municipality";    $res = mysqli_query($conn,$query);    while($row = mysqli_fetch_assoc($res))    {      echo "<option value='".$row['m_id']."'>".$row['m_name']."</option>";    } ?>   But when I manually echo/insert the character ñ in php/mysql it displayed as is. I have also set the charset to UTF-8.  PROBLEM SOLVED!: I just have to replace the ñ with Ã± in my database's table. So it shows ñ in my website.


I am using a specific book template (and .cls file). I want to put a subtitle. When I try to do that, an error is shown at \maketitle, saying "Use of \@icentercr doesn't match its definition.  \def " How can I fix this ? Do I have to go to the .cls file and fix it there itself.  \begin{document} \title{  Main Title \\        Subtitle  }   Apologies for not including a mwe, the template I'm working on, I cannot do that.


How to convert absolute path to relative path?

How do I use a command to convert an absolute path to a path relative to the current working directory?


How can I install a script into blender?

I want to install this extension to my blender to get materials to save from blender render to cycles render. Anyways when I clicked on the installation link this is what appeared(picture). How do I use this to install the script to blender?


I've discovered a new pattern.  Is this pattern well known or what is the opinion about it?  Basically, I have a hard time scrubbing up and down source files to figure out what module imports are available and so forth, so now, instead of  import foo from bar.baz import quux  def myFunction():     foo.this.that(quux)   I move all my imports into the function where they're actually used., like this:  def myFunction():     import foo     from bar.baz import quux      foo.this.that(quux)   This does a few things.  First, I rarely accidentally pollute my modules with the contents of other modules.  I could set the __all__ variable for the module, but then I'd have to update it as the module evolves, and that doesn't help the namespace pollution for code that actually lives in the module.  Second, I rarely end up with a litany of imports at the top of my modules, half or more of which I no longer need because I've refactored it.  Finally, I find this pattern MUCH easier to read, since every referenced name is right there in the function body.


Can I use the possessive to indicate the origin of products?

Suppose an apple is produced in a place called Gotham. Can I call it Gotham's apple to indicate the place of its orign?  I guess it is natural to call it an apple from Gotham or a Gotham apple by using the proper noun as an adjectve. I understand that salmon caught in Alaska are usually called Alaskan salmon or Alaska salmon. But I have spotted on the Internet Alaska's salmon.


Java - JTextField throws NullPointerException when attempting to getText()

I've got a class with a JTextField as a instance variable, that I pass a reference to in the class's constructor.   Problem is: I keep getting a NullPointerException if I try to getText() or setText(). I fee like I passed it properly but I'm obviously doing something wrong. Anyone have any idea what I should do to fix it?  code below:  public class GraphicCalculator implements Runnable {     private JFrame frame;      @Override     public void run()     {         frame = new JFrame("Calculator");         frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);          createComponents(frame.getContentPane());          frame.pack();         frame.setVisible(true);     }      private void createComponents(Container container)     {         GridLayout gl = new GridLayout(3,1);         container.setLayout(gl);          JTextField out = new JTextField();         out.setEnabled(false);         JTextField in = new JTextField("0");          container.add(out);         container.add(in);         container.add(new ButtonPanel(in, out));      }      public JFrame getFrame()     {         return frame;     } }       Problems Start down here:  public class ButtonPanel extends JPanel {     private JTextField in;     private JTextField out;      public ButtonPanel(JTextField input, JTextField output)     {         super(new GridLayout(1, 3));         this.createComponents();          this.in = input;         this.out = output;       }      public void createComponents()     {         JButton addition = new JButton("+");         JButton sub = new JButton("-");         JButton zero = new JButton("Z");           System.out.println(this.in.getText());         String s = this.out.getText();            add(addition);         add(sub);         add(zero);     }  }   Output:  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at ButtonPanel.createComponents(ButtonPanel.java:33)     at ButtonPanel.<init>(ButtonPanel.java:12)     at GraphicCalculator.createComponents(GraphicCalculator.java:32)     at GraphicCalculator.run(GraphicCalculator.java:15)     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)     at java.awt.EventQueue.access$500(EventQueue.java:97)     at java.awt.EventQueue$3.run(EventQueue.java:709)     at java.awt.EventQueue$3.run(EventQueue.java:703)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


I used ">NUL 2>&1" on a 7-Zip command line script

The thing is, it seems to work, but I think it's ignoring the second half. Does it make sense to use this on an app like 7-Zip?


How can one prove that $\lim_{n\to\infty}(1 +\frac k n)^n = e^k$?

The equality in question is widely used to solve for limits like $\lim_{n\to\infty} \frac{n+1}{n-2}$, but how do you actually prove that  $$\lim_{n\to\infty} \left(1+\frac{k}{n}\right)^n = e^k.$$ Is it possible to prove it using the other formula: $\lim(1+\frac 1 n)^n = e?$  EDIT: I think I already got it: $$(1+ \frac{k}{n})^n = (1+ \frac{1}{\frac{n}{k}})^{k \cdot \frac{n}{k}} \rightarrow e^k$$ Is this correct?


"He is a genius, he is." Is there a term for the "he is" addition to this sentence?

Just as we have tail-questions (or question tags), affirmative additions to affirmative remarks ("so do I", "so did he") and negative additions to negative remarks ("neither do I", "neither would I", etc), is there a term for this kind of addition to a sentence?    "Despite all the corruption, he was re-elected. He is a masterpiece, he is." "She is a fly customer, she is." "He is a genius, he is.


How do I copy hyperlink only (and not text) to another cell?

I have a spreadsheet where column A displays names. There are a few hundred names and each has a different hyperlink (which links to that person's web page). I want to transfer those hyperlinks across to a different column which has different text in and no hyperlinks.  Not every cell in column A has a hyperlink. There are groups of cells merged together, so A2:A7 has one link, A8:A13 the next, A9:10 the next (i.e. number of cells merged is not uniform).  e.g. where A2:A7 reads "Bob" and links to www.bob.com, I want I2:I7, which reads, "Smith," and does not link to anything, to link to www.bob.com. I want to do this repeatedly, copying links from A2:A579 into I2:I579.  The information is copied from a table within a web page, and that is where the hyperlinks come from.


Please consider a closed room with light reflecting walls and in the centre of the room there is a Lighting Bulb. Now if I switch on the bulb, the room is obviously illuminated with light. When I switch off the bulb, since the light photon cannot escape the room, will the room be infinitely illuminated?


Is there any evidence of outbreeding depression in human beings?


When using PWM, what is the purpose of having two complimentary square waves on the same channel?

I'd like to use the PWM I/O on the SAMA5D2 Series Microprocessor (Microchip).What I'm confused about is why each PWM channel has a high and low output pin. The datasheet specifies     Each channel controls two complementary square output waveforms.   My understanding is that you only need one of these outputs to drive an external peripheral such as a fan. In what instance would two complementary PWM outputs be used?  Also, do I need these two complementary waveforms to drive a 4-wire PWM fan?  I've added a I/O description and timing diagram example from the datasheet for clarity.


Has Marvel commented on the extra Infinity Gauntlet?

Way back in Thor, there was an Easter Egg Infinity Gauntlet in Odin's vault.  They even  that year to show it off.  Presently in the Marvel Cinematic Universe, they're clearly building to an Infinity Gauntlet story, and they've shown several Infinity Stones out in the universe.  The Infinity Stones are clearly not all sitting in Odin's vault, on a gauntlet.  Has Marvel commented on this issue at all in interviews?  Has the gauntlet been retconned into being some other gauntlet, or some other piece of the Infinity Gauntlet puzzle?


In-universe, why does Doc Brown program the time machine to go to 1955?

The night on the first part at the Two Pine mall and when all the ruckus happened, Doc Brown already programmed the time machine to go to Nov 05 1955.  Why so? I mean, I don't recall if there is a reason for that or it was only chance or no reason at all. If this was the first time tested, perhaps he could have gone to the Old West, or wherever.  But why, in-universe, did he choose that time? Does it have to do with the flux capacitor?


How to replace the last octet of a valid network address with the number 2

Lets say I have a string that can be any possible/valid network address like so:  STR="192.168.1.0/24"   What I want to do is replace the last octet (in this case it's 0/24, however it can be anyting) with the number 2, however I don't know what the last octet could (do not will be print the new value, so change:  192.168.1.0/24   to:  192.168.1.2   Whatever the network address is, I want to replace the last octet with "2"  Note: it is not important to check if the string is a valid network address as all strings being tested are assumed to be valid network addresses.


Missing footer on first Beamer slide of TikZ example

I'm having problems with this particular TikZ example:    When I change the theme, for instance:  \usetheme{Madrid}   the footer is not working on the first slide, but it is on the rest of them. Any idea how to solve this particular problem?


Embedding unmanaged dll into a managed C# dll

I have a managed C# dll that uses an unmanaged C++ dll using DLLImport. All is working great. However, I want to embed that unmanaged DLL inside my managed DLL as explain by Microsoft there:    So I added the unmanaged dll file to my managed dll project, set the property to 'Embedded Resource' and modify the DLLImport to something like:  [DllImport("Unmanaged Driver.dll, Wrapper Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", CallingConvention = CallingConvention.Winapi)]   where  'Wrapper Engine' is the assembly name of my managed DLL 'Unmanaged Driver.dll' is the unmanaged DLL  When I run, I get:     Access is denied. (Exception from HRESULT: 0x80070005   (E_ACCESSDENIED))   I saw from MSDN and from  that's supposed to be possible...


Bar graph with groups(inner group bars next to each other) and whitespace between groups including error bars

I tried to replicate a bar graph for the first time and have two problems with the x-axis. Could someone help me?  This is the graph i would like to replicate.  1. How do I get a group of bars next to each other separated from another group? And 2. how to center the label for each group?  Here is my MWE and a screenshot.  \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ xbar, xlabel = $\beta$, width=\linewidth, bar width=30pt, xtick={}, xticklabels={neutral, anger}, axis lines*=left, clip=true, ymin=0, ymax=1, ylabel={annual discountfactor}, legend style={at={(1,1)},font=\tiny} ]  \addplot[ fill=blue, draw=black, ybar, point meta=y, error bars/.cd,     y dir=both,     y explicit ]  table [y error=error] { x            y           error    1   0.0401    0.0177  1.8   0.0252    0.0048 }; \addlegendentry{$\delta_{1}$} \end{axis} \end{tikzpicture} \end{document}


OpAmp with slightly negative supply for ADC input

I would like to discuss a design idea around the supply of OpAmps that drive a ADC cannels of a microcontroller or DSP. Let the ADC be supplied by 3.3V and 0V ("analog" supplies separated from similar "digital" supplies), with an internal or external reference of 3.0V, that defines the full-scale input.     – Schematic created using  If the OpAmp is supplied by the same 3.3V - 0V, even if it is a rail-to-rail model, there is always a "footroom" limit of at least some tents of milliVolts. Therefore, my idea is to use a "Single Supply OpAmp" where its negative supply is connected to a slightly negative voltage, in order to use its complete voltage swing compensating for its rail-to-output difference both on the positive and the negative side of the amplifier. What do you think about?


What are evolutionary reasons for humans' limited regeneration abilities?

As far as I understand (I am not a biologist), a ability of a species arises during the evolution if:  It increases reproduction chances It is not too energy expensive It is physically possible  At the same time, if a human loses his/her hand/eye/tooth/almost anything, it won't regrow. However, if such regeneration was possible  It would definitely increase reproduction chances, because it would make it much easier to survive (or maybe something even more direct, like reproduction of sexual organs) Ability to regenerate isn't supposed to require any energy until the moment such regeneration is needed (and, therefore, energy spending is justified) It seem to be indeed physically possible, at least for some organs ( provides examples of species who can regenerate their teeth, body parts (tails) or even lungs)  This seem to be strong reasons why this ability should have been gained during the evolution, but this didn't happen. Why?


Forbidden Island - Extending to 5 players

I'm having friends over this weekend and we are going to play Forbidden Island, we are 5 all in all and was wondering if we can play Forbidden Island with 5 players. Are there any adjustments to be made? Will the additional player make the game too easy or all in all break the game?  Thanks!


Inductive Proof of Euler's Formula $v-e+r=2$

I'm just studying for finals here.  My professor told me that there would be an inductive proof on the final, and I've never done one before.  He told me a good sample problem was to prove Euler's formula $v-e+r=2$ inductively.  I've submitted my proof below.  I'm just looking for criticism / corrections!  Is it a proper inductive proof?  If not, could you show me one / make corrections?


An option for flagging comments in mobile view

There is an option for flagging comments in the desktop version, whereby comments can be flagged as rude or abusive. This option is not valid in mobile view, only voting on comments is available.  So, the option to flag comments should be added to the mobile view as fast as possible.


PostGIS ERROR: could not load library "/usr/lib/postgresql91/lib64/postgis-2.0.so"

OS is openSUSE 12.1, PostgreSQL - 9.1, PostGIS - 2.0. Postgre/PostGIS are installed from Application:Geo repository.  After recent updates when I try to connect to my database I get the following error:      ERROR:  could not load library "/usr/lib/postgresql91/lib64/postgis-2.0.so":  /usr/lib/postgresql91/lib64/postgis-2.0.so: undefined symbol: pj_get_spheroid_defn   I searched the web for this error (, ) and seems that it may have something to do with ld.so.config (or ldconfig command). But I can't figure out what I have to do in my case.


How do you use output redirection in combination with here-documents and cat?

Let's say I have a script that I want to pipe to another command or redirect to a file (piping to sh for the examples). Assume that I'm using bash.  I could do it using echo:  echo "touch somefile echo foo > somefile" | sh   I could also do almost the same thing using cat:  cat << EOF touch somefile echo foo > somefile EOF   But if I replace "EOF" with "EOF | sh" it just thinks that it's a part of the heredoc.  How can I make it so that cat outputs text from stdin, and then pipes it to an arbitrary location?


"Each of these is" vs. "each of these are"

Each of these CDFIs are finding solutions for communities that lack   access to traditional financial products and services, and the NEXT   Awards will accelerate their success.   OR     Each of these CDFIs is finding solutions for communities that lack   access to traditional financial products and services, and the NEXT   Awards will accelerate their success.   The difference is, the first one uses "CDFIs are" and the 2nd sentence uses "CDFIs is"  Which one is correct? Any why?


How much kinetic energy does a helicopter use in a hover?

A helicopter just circulates air in a hover and maintains a stable altitude. So, how much energy is used to do this? Using the standard equation $KE = \frac12 mv^2$; then the kinetic energy used would be $0.5$ times the mass of air displaced down each second ($m$), times the vertical velocity of this air squared ($v^2$). Is this correct?     I couldn't find this in any engineering textbook. Estimates (guesses) from fuel burn is helpful, but are very inaccurate; as they rely on estimates (assumptions) of how efficient the fuel conversion to mechanical energy is, how efficient the motor is at using this energy, and then how efficient the rotors are at displacing air down. Which is too many assumptions.


How to fix OS X Finder window with file/folders panel that doesn't draw itself?

For no apparent reason, my OS X 10.9.5 Finder has gone haywire. Whenever I create a new Finder window, the main panel, where the files/folders are usually shown, just shows whatever is beneath it, as if there's nothing there. If you drag any other window over the Finder window, that panel will take on the pixels from the other window -- basically the panel is not drawing itself at all.  See screen shot below. It's all greyed out because that's the overlay from the screen shot functionality -- if you look closely you can see how the background is showing through.   I have no idea how or why this happened. I can't think of anything that triggered it. Any idea how to fix this?  Clue 1: rooting the machine doesn't fix it. But  does -- at least immediately. After a few minutes of use after the NVRAM reset, the problem reappears.  Clue 2: Icons and Cover Flow view modes work normally. List and Columns view modes do not -- i.e. they show the behavior noted above.


DataExtension - reorder the fields on existing Data Extension

This may seem silly !. But honestly I have faced this many times during our custom implementation but still unable to find a solution.  Is there a feature either on SFMC UI or using custom API, if we could re-arrange the fields which are already existing in the Data Extension.  To be more clear I just want to bring email_address field as the first field in my DataExtension.   Note:   I am aware that we can clear the records and delete the fields and re-create fields as per our requirement; which would re-arrange the fields. But I want to achieve this without clearing the records.


My name is Aniket and I have started 11th class recently. I have studied only my school textbooks( Books) and I am not happy with them.  I want to learn Algebra,i.e, all the topics covered in algebra 1 and 2. I want to learn algebra enough to master up to 12th class, but I am very confused which is the best book to achieve all of my goals.  Book Price = less than $17 (American Dollars) And I don't want an eBook.  Any suggestions would be very appreciated, thank you!


Ban "What have you tried?" links in comments

Recently on SO, I've been noticing a lot of link-only comments on (admittedly bad) questions.  The typical comment looks like this:        Now, my first instinct is to flag the comment as "not constructive" or "too chatty", but the fact is that the blog post linked to is actually good advice.  On the whole though, the way it is being wielded like a blunt instrument comes across as—at best—lazy arrogance in my opinion and is not adding anything to the network.  Can we ban "What have you tried?" links like we did with ?  An example:    To be clear, I'm not proposing that we stop people asking for clarification or expecting askers to explain themselves properly. I just don't think comments like these are particularly constructive.


Changing 7-speed Shimano cassette to 10-speed

I have a bike with a 7 speed cassette. My question is can I swap it to a cassette with more speeds (like 10). I will change the derailleur to a compatible one.


How to recover Google Account when I only have my email address and a YouTube Name?

I had a Google Account that I used roughly 6 or 7 years ago for PlayStation Store Purchases. Since I am trying to recover my account on PlayStation Network (PSN) I am now looking for that Google Account since it held the verification emails and account info that are required to sign back in.  All I have is my email associated with the account and the YouTube name that I used. I can’t recall anything else and since I have not used the account in over 6 years, it has been difficult for me to try come up with the password I originally used. Has anyone encountered this problem and, if so, how did you solve it?  Also, if there is not a solution it is not necessarily a problem. But I would just rather not repurchase media that I already payed for albeit 6 / 7 years ago.


Problems with dpkg -i and brackets on 15.04

I downloaded the deb file from http://brackets.io/ and ran  sudo dpkg -i ~/Downloads/Brackets*  and getting following error:   dpkg: dependency problems prevent configuration of brackets: brackets depends on libgcrypt11 (>= 1.4.5); however: Package libgcrypt11 is not installed.   This occurred after fresh install.


This is my total reputation for today:    I just started my carreer as an active member on the StackExchance sites, so I don't have the Mortarboard badge yet:    I am assuming either the 100 rep bounty or the 100 rep association bonus did not count towards the daily reputation badge. Is this intended? If so, I think the user should get some information about this - for example in the notification he gets.  I found something that actually makes me think this is a bug. When hovering over my account name I get this:    The reputation is displayed there but the sum isn't right in the column today.


Filtering Lookup Column By Expiration Date

Scenario: I have created a lookup column  with two columns.  A department column and Expiration Date column.  Each Department has a Expiration Date.  For example see the image.  When the Department Expiration date is met or passed, I want the department to drop off the lookup column list.      Possible Solution:   1. Create the look up column and enter in the department names and expiration dates  I created a calculated column that filters the lookup column and the dates.  (I think)   This is the formula I used:  =DATEIF([DepartmentExpDate]=>TODAY,"")   The formula is not working.  I am not sure if any of this is correct.    Question:  How would I filter the lookup column to have the department drop off the list once the Expiration date equals today's date or passes automatically?


The question is This is what I have so far:  dict(nafta_capitals) = canadian_capitals, mexican_capitals, us_capitals   Given three dictionaries, associated with the variables , canadian_capitals, mexican_capitals, and us_capitals, that map provinces or states to their respective capitals, create a new dictionary that combines these three dictionaries, and associate it with a variable , nafta_capitals.


Prediction of collision place and time in Unity

I have two moving objects. I have chosen trajectories for objects that they would definitely collide if they don't change speed or trajectory. Is there easy way to check at which point and time the objects will collide with given parameters (current object positions, their velocity vectors and speeds or any other parameter accessible from Unity)?


Why does `df` indicate no available space when used is much less than total size, on my VPS?

My VPS display this with df -h  Filesystem      Size  Used Avail Use% Mounted on /dev/simfs      100G   46G     0 100% /   Does anyone have a idea to fix this ?


How to reinstall retail Windows 8.1 Pro on another PC?

I have retail Windows 8.1 Pro installed on my PC.  But now I want to uninstall this license from current PC and install Windows with that key on another. How could I do it?


I'm a CNA and I just got home from a very long day at work. I just started this job and I got hurt at work last night which made me wonder can enough pain cause death (without suicide)?  I think the answer is yes, but I'd like to know how/why.


The iteration of exponents laws I learned gives: $$i^{4/3}=i^{4\cdot1/3}=(i^{4})^{1/3}=1^{1/3}=1$$ I know this is wrong but now the iteration of exponents laws I have used over the years somehow doesn't apply or is flawed. This is quite embarrassing as I have been studying mathematics for quite some time now. Please help.


Can I destroy a Whirler Virtuoso in time to stop it making a thopter?

My opponent plays a . Can I  it before its ETB effect to stop my opponent from making a thopter?


I just bought a ThinkPad style desktop keyboard that has no Windows key.  Is it possible to configure a specific key combo to behave like the Windows key?


What do you call a space whose only compact sets are finite?

What do you call a topological space where a subset is compact iff it's finite? Is there a technical name?  For example, take the discrete topology, or the countable complement topology.


finding examples for a non negative and continuous function for which the infinite integral is finite but the limit at infinity doesn't exist

Question:  a. Find an example for a non-negative and continuous function s.t. $\int _0^\infty f(x)dx$ is finite but the following limit doesn't exist: $\lim_{x\to \infty} f(x)$.  b. Is it possible that $\int _0^\infty f(x)dx$ is bounded but $f(x)$ is not bounded?  What we did with A: We suggested the function $|sin(x^2)|$ which has periods that get smaller and smaller until they no longer imply on the sum. But since it's a trig function it doesn't have a determinate limit. Wolfram didn't have the integral value for that func, and we were wondering if it really converges and if it is really a good example.  What we did with B: We thought about the function: $f(x)=  { x\in \Bbb N },{e^{-x} \notin \Bbb N }$ and we had a disagreement whether f(x) is integrable. I said no because similarly to Dirichlet function, one sum's limit will be 0 while the other one's will be infinite. My partner said that if I find a $\delta<1$ then the definition of Riemann's integral does hold and so this integral is equal to that of $f(x)=e^{-x}$ She was trying to say this functions integral will be 0, but still it won't be bounded. I disagreed. Who's right?


How to call a future method from a batch class?

How can I solve this problem? Can you please give me an example or an idea for a potential solution?


What does really mean by- power of a number or an exponential function is dimensionless?

Is power of only a number or an exponential function is dimensionless? If power of any other thing can also be dimensionless then please explain with examples.


Let's say that I want to ask a simple question like "How are planes able to fly?" or "Where on the internet can I find the list of all presidents of USA?". Asking these questions I'd have to add a description because otherwise I get the error:     Body is missing.   What if I have nothing to add? Should I repeat the question? In my opinion adding why I need the answer to these questions is useless and clutters the thread.  Edit: This is not the same question as mentioned "How to leave body of question empty?". I'm asking why can't it be empty. Ramhound's comment on that question does not satisfy me at all. Not exery question needs more details. Examples what I should add as a description to mentioned above questions are welcome so I can feel what to add to my future simple questions.  The Tin Man's comment also doesn't satisfy me. In my opinion, SE is also for simple questions and they are not always simple.


i have a function that scans a directory and builds a key,value pair of all folders and their respective files in it. const listNotes =  () => {     const listing = [];     try{       const folders = fs.readdirSync(defaultPath);       folders.forEach((folder) => {         let v = fs.readdirSync(`${defaultPath}/${folder}`);         listing[folder] = v;       });             } catch (err) {       console.log(err);     }      return listing;   };   and this is an output of such scan [ DailyTask: [ 'Chores.json' , 'Sunday.json'] ]  that is a folder called DailyTask containing 2 files. How do i convert this structure to JSON.


Backup and restore settings in Texstudio

Does someone know, how to save all the settings of Texstudio and restore them in a simple way?  Thank you in advance!


There's this exercise: let $\,f\,$ be analytic on $$D:=\{z\;\;;\;\;|z|<1\}\,\,,\,|f(z)|\leq 1\,\,,\,\,\forall\,z\in D$$  and $\,z=0\,$  a zero of order $\,m\,$ of $\,f\,$.  Prove that $$\forall z\in D\,\,,\,\,|f(z)|\leq |z|^m$$  My solution: Induction on $\,m\,$: for $\,m=1\,$ this is exactly the lemma of Schwarz, thus we can assume truth for $\,k<m\,$ and prove for $\,k=m>1\,$ . Since $\,f(z)=z^mh(z)\,\,,\,h(0)\neq 0\,$ analytic in $\,D\,$ ,  put  $$g(z):=\frac{f(z)}{z}=z^{m-1}h(z)$$   Applying the inductive hypothesis and using Schwarz lemma $\,\,(***)\,\,$ we get that  $$|g(z)|=\left|\frac{f(z)}{z}\right|=|z|^{m-1}|h(z)|\stackrel{ind. hyp.}\leq |z|^{m-1}\Longrightarrow |f(z)|\leq |z^m|$$ and we're done...almost: we still have to prove $\,|g(z)|\leq 1\,$ for all $\,z\in D$ in order to be able to use the inductive hypothesis and this is precisely the part where I have some doubts: this can be proved as follows (all the time we work with $\,z\in D\,$):  $(1)\,\,$ For $\,f(z)=z^mh(z)\,$ we apply directly Schwarz lemma and get $$|f(z)|=|z|^m|h(z)|\leq |z|\Longrightarrow |z|^{m-1}h(z)|\leq 1$$ And since now the function $\,f_1(z)=z^{m-1}h(z)\,$ fulfills the conditions of S.L. we get  $(2)\,\,$ Applying again the lemma,  $$|f_1(z)|=|z|^{m-1}|h(z)|\leq |z|\Longrightarrow |z^{m-2}h(z)|\leq 1$$and now the function $\,f_2(z):=z^{m-2}h(z)\,$ fulfills the conditions of them  lemma so...etc.  In the step$\,m-1\,$ we get  $$|z||h(z)|\leq |z|\Longrightarrow {\color{red}{\mathbf{|h(z)|\leq 1}}}\,$$  and this is what allows us to use the inductive hypothesis in $\,\,(***)\,\,$ above.  My question: Is there any way I can't see right now to deduce directly, or in a shorter way, that $\,|h(z)\leq 1\,$ ?


I have to run a JavaScript regex on URLs to detect any (one or more) special character after URL and put space before them, like:  url, --> url , or url), --> url ),   e.g.   (), into ( ),


According to , "A dimensionless quantity is a quantity to which no physical dimension is applicable." The article then explains, a few sentences later, that time, as an example, is a quantity with dimension.   states that "the International System of Units assigns special names to 22 derived units, which includes two dimensionless derived units, the radian (rad) and the steradian (sr)."  Why are radians "dimensionless" if a unit like seconds aren't? I feel like angle measures have more of a "physical dimension" aspect to them than seconds.


Does my interstellar pole thought experiment violate casualty?

I have heard that it is impossible to send a signal faster than light. However, what if I had a long (4.5 light years) pole and placed one end on Earth and the another end around Proxima Centauri. If I pushed on one end of the pole, then it seems obvious that the other end of the pole would move too, without any delay. But then I could send information faster than light, which apparently is not possible. Why wouldn't this work?


Interpretation of the Odds-Ratio for percentage value in logistic regression

Running a logistic regression, I have a dependent variable   Loyal Customer can be 0 or 1   and an independent variable   Return.rate is a continuous percent value from 0 to 1   If my odds ratio for Return.rate is 5, how do I interpret the result in words?   What is a unit? 1 which is 100%? Or 0.01 which is 1%?


Let $T:V→V$ be a linear transformation satisfying $T^2(v)=-v$ for all $v\in V$. How can we show that $n$ is even?

Let $V$ be a real n dimensional vector space & let $T:V→V$ be a linear transformation satisfying $T^2(v)=-v$ for all $v\in V$. Then how can we show that $n$ is even?  I am completely stuck on it. Can anybody help me please?


Nginx conditional proxy pass configuration

I have 2 different ( Node & Angular ) applications running under a domain. I am trying to configure nginx in way to serve like, whenever anyone access "domain.com" it should serve the node app running on port 4200 and if someone access "domain.com/admin" it should serve the contents from Angular app. Below is my nginx configuration.  server {     listen   80;     listen   [::]:80;      server_name domain.com  }   server {     listen   443 default_server ssl;     ssl on;     server_name domain.com;     root /home/domain/public_html/angular/dist;     ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; # managed by Certbot     ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem; # managed by Certbot     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot        location / {                         proxy_pass http://127.0.0.1:4200;                         proxy_http_version 1.1;                         proxy_set_header Upgrade $http_upgrade;                         proxy_set_header Connection 'upgrade';                         proxy_set_header Host $host;                         proxy_cache_bypass $http_upgrade;                         proxy_redirect off;     }      location /admin {          try_files $uri /index.html;     }     }  The problem I am facing now is all the requests including /admin is getting proxy passed. Is there any way I can restrict the /admin requests to not get proxy passed? Below is the nginx log. connect() failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: domain.com, request: "GET /admin HTTP/1.1", upstream: "http://127.0.0.1:4200/admin", host: "domain.com"  Can someone please shed some light to get this resolved?


Define a sequence of real numbers recursively as follows. Let $a_1 = 1$ and $a_{n+1} = 1 + \frac{1}{1+a_n}$.  First, show the sequence is not monotonic.  Second, show that $a_n \geq 1$ for all $n$ and conclude that the sequence is super Cauchy.