"cd" command in git bash script not working
Why can't I change directories using "cd" in a script?
The  says that there is a moderator election occurring.   How does the election work and how can I get involved? Non-standard signature of main() compiles successfully Topologist's sine curve is not path-connected Should student or supervisor be corresponding author for publications based on student research? Papers published from an academic project (MSc or PhD) usually have two authors; the first author is the student who mainly conducted the research, and the second author is the professor who supervised the projects.  The corresponding author is the one who take the responsibility of a paper, and thus, some believe that students are not yet prepared to take this responsibility.  Ideally, who should be corresponding author for papers published by MSc or PhD projects?  I understand that it mainly depends on personal agreements and preferences, but I want to know which case is more reasonable from academic logic? I have seen people showing one slide progressively by pressing Enter. Could anyone tell me how to realize that in Beamer? I'm trying to generate a secret key to be used for HMAC SHA-256 signature processing. I've seen many sample of keys with variable length from 32 characters to 96 characters.  What is the ironclad rule for this key size? Finite Sum $\sum\limits_{k=1}^{m-1}\frac{1}{\sin^2\frac{k\pi}{m}}$ Using --exclude with the du command This is probably something basic but I'm not able to make it work. I'm trying to use DU to get a total size of files minus certain directories. I need to exclude one specific directory called uploads but not every directory called uploads. For example, my file structure looks a bit like this:  /store   /uploads     /junk_to_ignore     /more_junk_to_ignore   /user_one     /uploads   /user_two   I can run the following command:   du -ch --exclude=uploads*    and it gives me the file size minus all the "uploads" directories. However, in trying to exclude certain directories (and all its sub-directories) I fail. I've tried variations of:  du -ch --exclude=./uploads* du -ch --exclude='/full/path/to/uploads/*'   but can't seem to figure it out. How do I exclude a specific directory? Singular or plural following a list Volume generated by revolving the region in the first quadrant bounded by the parabolas $y^2=x$, $y^2=8x$, $x^2=y$, $x^2=8y$ about the $x$-axis. I came across this question from Schaum's Outlines of Advanced Calculus:     Show that the volume generated by revolving the region in the first quadrant bounded by the parabolas $y^2=x$, $y^2=8x$, $x^2=y$, $x^2=8y$ about the $x$-axis is $\dfrac{279\pi}{2}$.   My solution was to divide the region into three parts:    $$\pi\int_{1}^{2}(x^2)^2 - (\sqrt{x})^2\;dx = 4.7\pi$$  $$\pi\int_{4}^{8}(\sqrt{8x})^2 - (\sqrt{x})^2\;dx = 42\pi$$  $$\pi\int_{2}^{4} (x^2)^2 - \left(\frac{1}{8}x^2 \right)^2\;dx = 44.9\pi.$$  Hence the total volume will be  $$\pi(4.7 + 42 + 44.9) = 91.6\pi$$  which is wrong.  Can someone point out my mistake? Adding new ROLES and USERS through REST in GeoServer I use GeoServer stable version 2.14.1 and get error messages when trying to add new roles and users via REST. I suspect that the GeoServer REST documentation is buggy. When I call the REST interface of my GeoServer instance, I can see that the roles are accessible through the URI http://localhost:8080/geoserver/rest/security/roles. Users are under the URI http://localhost:8080/geoserver/rest/security/usergroup/users. I can query both resources via GET request, but adding new resources via POST or PUT will not work. A POST request to create new roles ends up with status code 405 (Method not allowed). After trying to create new users comes the status code 500 (Internal Server Error). For this, the GeoServer-REST documentation has been referencing the paths  /roles/roles/{role}  for new roles () or  /usergroup/users/  for new users () since several GeoServer versions. But when I use them, this always ends with Status code 404 (Not Found). How can I add new roles and users through REST in GeoServer? The workarround from @implssv in  does not work for me. Prove $a^\alpha b^{1-\alpha} \le \alpha a + (1 - \alpha)b, \; a,b > 0,\; 0 < \alpha < 1$ I have no idea how to do this. Any help would be appreciated. The chapter I'm on is about differentiation and the mean value theorem.  Prove $a^\alpha b^{1-\alpha} \le \alpha a + (1 - \alpha)b, \; a,b &gt; 0,\; 0 &lt; \alpha &lt; 1$ When, where and **how often** do you find polynomials of higher degrees than two in mathematical, pure/applied, research? A formula for solving a polynomial of degree three, see  link; $ax^3+bx^2+cx+d=0$, is  $$\begin{align} x\quad&amp;=\quad       \sqrt[3]{           \left(               \frac{-b^3}{27a^3} + \frac{bc}{6a^2} - \frac{d}{2a}           \right)            +                 \sqrt{               \left(                   \frac{-b^3}{27a^3} + \frac{bc}{6a^2} - \frac{d}{2a}               \right) ^2                 +                \left(                   \frac{c}{3a} - \frac{b^2}{9a^2}               \right) ^3            }       }\\       &amp;+\quad       \sqrt[3]{           \left(               \frac{-b^3}{27a^3} + \frac{bc}{6a^2} - \frac{d}{2a}           \right)            -                 \sqrt{               \left(                   \frac{-b^3}{27a^3} + \frac{bc}{6a^2} - \frac{d}{2a}               \right) ^2                 +                \left(                   \frac{c}{3a} - \frac{b^2}{9a^2}               \right) ^3            }       }       \;-\;\frac{b}{3a} \end{align}$$     Unlike quadratic, cubic, and quartic polynomials, the general quintic   cannot be solved algebraically in terms of a finite number of   additions, subtractions, multiplications, divisions, and root   extractions, as rigorously demonstrated by Abel (Abel's impossibility   theorem) and Galois. However, certain classes of quintic equations can   be solved [...] Source:    At levels of $5^{\text{th}}$ degree polynomials, things are starting to look really serious in my eyes. My question is:     If it is possible to not answer subjectively: When, where and how often do you find polynomials of higher degrees than two in mathematical, pure/applied, research? I don't understand philosophy very well, and so I am wondering whether you can "prove" anything in philosophy. It always seems you can go a layer down, and find another question, almost endlessly until you get to the question of "why/how/are we here?"  Can you prove, absolutely, and 100% that something is true, in the field of philosophy? Maybe I'm searching for the wrong thing, but I can't see how I can do this.  I have two servers:   Server A (has SQL Server 2012 installed) Server B (has SQL Server 2014 installed)   Server A provides an API via IIS. The code both inserts and gets data from the database depending on the API call.  Server B does exactly the same for its local database.  I would like to have it so that the two databases are consistent copies of each other. I do believe this is what HA accomplishes.   So a load balancer, for example, might direct API calls to A sometimes, and B sometimes, but the data needs to be consistent either way.  I found some documentation on HA for SQL Server 2012, but not on how to do this for a mixed environment of 2012 and 2014.  Any help or pointers to documentation would be great! Thanks. How do I capture the milky way? Can the milky way actually be photographed ? I know the image is manipulated, and is probably a composite, but how do you capture such contrast in the milky way? Is an equitorially mounted scope required? Any advice or pointers are welcome, thanks.  I'm heading out towards much less light polluted areas middle of next week and I want to try some nighttime sky captures with my 7D.  Additional info: I just found  on wikipedia that says: 54s, tripod mounted 5D, 16mm lens, f/2.8, ISO800. What else do I need to be aware of? My 7D is only an APS-C and the widest lens I have is 19mm. I'm thinking that might not be wide enough to capture an interesting shot? options for appearance of links in hyperref Automatically show which tags were edited in revision history I’ve developed the habit of using the revision summary to indicate which changes I’ve made to the tags while retagging a question.  For instance, if the question originally had tags   and it should be  instead, I write the following in the revision summary:     Edited tags: -cocoa, -touch, +cocoa-touch   which I find useful (and potentially educational) for the OP and other editors.  On the other hand, when an editor doesn’t type a revision summary, Stack Overflow shows     User (timestamp) edited tags   with no indication of the difference between previous tags and the tags set by that edit.  Since there’s a limit on the number of tags, this difference would easily fit in the revision history list of that question. Could this be automatic in case the editor doesn’t fill the revision summary? Is it worth it? datetime conversion to CDT Can anyone please help me how to convert the given time into CST timezone.  Input timezone will change dynamically, so i want to convert the given timzone into CST and then need to get the hour from that CST timezone in apex. CAST and IsNumeric Why would the following query return "Error converting data type varchar to bigint"?  Doesn't IsNumeric make the CAST safe?  I've tried every numeric datatype in the cast and get the same "Error converting..." error.  I don't believe the size of the resulting number is a problem because overflow is a different error.  The interesting thing is, in management studio, the results actually show up in the results pane for a split second before the error comes back.  SELECT CAST(myVarcharColumn AS bigint)   FROM myTable   WHERE IsNumeric(myVarcharColumn) = 1 AND myVarcharColumn IS NOT NULL   GROUP BY myVarcharColumn   Any thoughts?