How to create folder with date and time using timestamp with robocopy command I want to create a folder using  this Timestamp: %DATE:/=-%_%TIME::=-%  My Robocopy command is :  ROBOCOPY "%BUILD_SOURCESDIRECTORY%\sourcefolder\" "\\server\destination\%date:/=-%_%time::=-%" /V   but it is not working, getting an error:  2020-04-07T03:53:21.7269608Z ##[error]Process completed with exit code 1. 2020-04-07T03:53:21.7292925Z ##[debug]System.Exception: Process completed with exit code 1. at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.ProcessHandler.RunAsync() at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)   Note: I referred to the below link but I want to create a folder with date and time.in this link only date stamp mentioned.    if anyone has an idea about, please let me know.
How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's     What's a Windows command line statement(s) I can use to get the current datetime in a format that I can put into a filename?  I want to have a .bat file that zips up a directory into an archive with the current date and time as part of the name, for example, Code_2008-10-14_2257.zip. Is there any easy way I can do this, independent of the regional settings of the machine?  I don't really mind about the date format, ideally it'd be yyyy-mm-dd, but anything simple is fine.  So far I've got this, which on my machine gives me Tue_10_14_2008_230050_91:  rem Get the datetime in a format that can go in a filename. set _my_datetime=%date%_%time% set _my_datetime=%_my_datetime: =_% set _my_datetime=%_my_datetime::=% set _my_datetime=%_my_datetime:/=_% set _my_datetime=%_my_datetime:.=_%  rem Now use the timestamp by in a new ZIP file name. "d:\Program Files\7-Zip\7z.exe" a -r Code_%_my_datetime%.zip Code   I can live with this, but it seems a bit clunky. Ideally it'd be briefer and have the format mentioned earlier.  I'm using Windows Server 2003 and Windows&nbsp;XP Professional. I don't want to install additional utilities to achieve this (although I realise there are some that will do nice date formatting).
How to align a cluster of points? If you have a cluster of points selected like this:    how do you align the points so that they create a flat plane? How to reduce memory usage on a Unix webserver I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, 512M swap). I wasn't too far over them yesterday, but after restarting Apache several times today, I'm now 411M rss, 721M swap (prstat -Z -s cpu).  Searching in Server Fault only gives me lots of ways and specific tools to monitor the server, but no advice on how to reduce/optimize it's memory usage. I've also seen , but I don't think it's good for this particular (or may I say generic?) situation.  The server is running Solaris on a shared CPU, and I'm using a Apache + MySQL + PHP stack.  I'm interested in knowing the steps one can take to troubleshot this and solve the issues. However, I'm also running out of time to lower my memory foot print and downgrade the plan before the current ends, so anything that can make magic and save the day is welcome as well :) Proving bessel identity $[J_0(x)]^2 + 2[J_1(x)]^2 + 2[J_2(x)]^2 + \cdots = 1$ and $|J_0(x)|\le 1$ The generating function for a Bessel equation is:      $$g(x,t) = e^{(x/2)(t-1/t))}$$      Using the product $g(x,t)\cdot g(x,-t)$ show that:      a) $$[J_0(x)]^2 + 2[J_1(x)]^2 + 2[J_2(x)]^2 + \cdots = 1$$      and consequently:      b)      $$|J_0(x)|\le 1, \forall x$$      c) $$|J_n(x)| \le \frac{1}{\sqrt{2}}; n=1,2,3,\cdots$$   For a) I tried the product:  $$e^{(x/2)(t-1/t))}\cdot e^{(x/2)(-t+1/t))} = 1$$  I at least arrived at the right side of the equation. Since this generates the bessel functions, I should arrive at something related to $J_n$ in the left side. I know that  $$e^{(x/2)(t-1/t))} = \sum_{n=0\infty}^{\infty} J_n(x)t^n$$  $$e^{(x/2)(-t+1/t))} = \sum_{n=0\infty}^{\infty} J_n(x)(-t)^n$$  but it's not just a matter of multiplying coefficients from the two infinite series, right?  For $b$, I tried to use  but it's not as obvious  I have no idea how to deal with $c$, could somebody help me? How to compute the  formula $\sum  \limits_{r=1}^d r \cdot 2^r$? Given $$1\cdot 2^1 + 2\cdot 2^2 + 3\cdot 2^3 + 4\cdot 2^4 + \cdots + d \cdot 2^d = \sum_{r=1}^d r \cdot 2^r,$$ how can we infer to the following solution? $$2 (d-1) \cdot 2^d + 2. $$   Thank you In AVR datasheets under the Electrical Characteristics section you will typically find a graph like this (this one is from the ATMega328):    I've seen designs that seem to "work" but operate outside the shaded envelope. Specifically, I've seen 3.3V (Arduino) designs that run the clock from an external 16MHz crystal. Clearly, this is out of spec. What are the practical negative consequences of running outside this envelope? I want to show that $$\log N&lt;\sum_{n=1}^{N}\frac{1}{n}&lt;1+\log N.$$ But I don't know how to show this. How find this $x^3-5x+10=2^y$ let $x,y$ is positive integer,and such $$x^3-5x+10=2^y$$ find all $x,y$.  since $$x=1\Longrightarrow 1^3-5+10=6$$ can't $$x=2,2^3-5\cdot 2+10=8=2^3$$ so $x=2,y=3$  $$x=3,LHS=27-15+10=22$$ $$x=4,LHS=64-20+10=54$$ $$x=5,LHS=125-25+10=110$$ $$x=6,LHS=216-30+10=236$$ $$\cdots$$  I find $$(x,y)=(2,3)$$  I only find $x\le 7$ this solution.  maybe this have other solution.and This problem is from Mathematical olympiad problems Thank you I started to work with EEVEE short time ago and I was amazed by the capabilities of this engine. However, I noticed something strange when I was rendering some tests. Some objects/reflections/shadows dissapear when they're off canvas. I imagine that maybe this is for save memory data, but it can be not suitable to some projects. To make my point graphical, I made a simple scene with simple objects. The main object is the sphere with a mirror-like shader. Out of focus there are different objects with different shaders. A yellow cone, a blue cylinder and a white cube light. But surprisingly, those objects dissapear when the composition is rendered. See the rendered animation below:  Notice that the blue cylinder is not even showing at all in the final render. And the blooming effect from the light cube also dies. I would like to improve this bahaviour and render the objects that are still out of canvas using EEVEE. Do I missing something like memory configuration or reflection/shadow tweaks? Is this caused by the EEVEE engine or by my GPU config (GTX1060)? Thank you in advance! As a programmer, I have no problem with seeing or using "and/or" in technical documentation. For example,     I can upvote an answer that satisfies me and/or mark it as accepted.   That's perfectly good English to me. However, if I were writing a novel, or even just an essay, or — heaven forbid — a poem, "and/or" would seem extremely out of place.  My question is, what should I be using instead? (I solemnly swear I will not use that knowledge to actually write a poem.) Where's the Strangedupe blog post? Previously, in order to explain the benefits of (certain limited kinds of) duplication on Stack Exchange sites, I've seen a blog.stackoverflow blogpost with the words "Dr. Strangedupe" in the title.  The post comes up in a search on the new blog, but       Can we please bring this post back? I'd love to link to it when , to reassure the questioner that there is value in not deleting their question because of search terms, but the blog post explained it a lot better than I could in a comment. 20GB of Temporary Files, Only 50MB in Temp Folder I recently discovered that the Settings app is showing around 20GB of space used by temporary files. But when I go to remove them I can only remove about 28MB. When I open the temp folder by using Run and then %temp% it only shows around 40-50MB of files right after boot. How can I remove these 20GB of invisible files? I only have a 240GB SSD so space is quite scarce. Here are a few photos:    I run Windows 10 Home Activated. I have tried Disk Cleanup but this removed only around 30MB of files.  UPDATE: After turning on hidden items I found a folder name WINDOWS-BT, after doing some research it turned out to be a folder for the previous windows version. I deleted it using TakeOwnerShip pro and this removed around 12GB of temporary files, but 8GB still remain. I am currently downloading TreeSize free to find out where the other 8GB is.  UPDATE 2: Hi, I downloaded TreeSizeFree and I didn't really find anything there.   The biggest folder is 87GB of Program Files which mainly consists of my GTA V install. The Program Files (x86) folder was mainly made up of my Steam games (CS:GO, Besiege, etc). The 5.5GB [3 Files] location was noted as being my pagefile.    The Windows folder shows up as 25GB when in Settings it is only 18GB, this could explain where the other 8GB are coming from. What are some things I should look for in there?  FINAL UPDATE: After deleting the Windows-BT folder it reappeared a few hours later. I decided to check from system updates and surely enough one was downloaded and pending to be installed. After installing the update the Windows-BT folder disappeared on it's own and a new folder taking up 20GB called Windows.old was created. I then followed this  to remove the .old folder and I had all my disk space back! NOTE: Disk Cleanup wasn't able to find the Windows.old folder, this is why I had to delete it from the settings app. Proof of $\pi$ not being a quadratic irrational number. Does someone know a proof (books, articles) that $\pi$ is not a quadratic irrational?   The proof should not use that $\pi$ is transcendental.  Any hints would be appreciated. I run into this infinite product today. I don't have that much experience evaluating products therefore I don't have any idea of how to tackle this.   Here is the question. Evaluate (if possible) in a closed form the product:  $$\Pi = \prod_{n=1}^{\infty} \frac{1}{1+\pi^{{\large \frac{1}{2^n}}}}$$  The numerical value seems to be $\Pi= 0.534523$ which is very close to $\frac{\pi}{6}$ taking into account that $\frac{\pi}{6} \approx 0.523598$. In the mean time W|A evaluates it to $0$. I'm lost.   Can the community help?  Edit: Based on the answer we have two products. The product I asked tends to zero and the bonus product provided by @you're in my eye (thanks for that) is $\frac{\ln \pi}{\pi-1}$.   Thanks for the quick response. Assumptions of linear models and what to do if the residuals are not normally distributed I am a little bit confused on what the assumptions of linear regression are. So far I checked whether:  all of the explanatory variables correlated linearly with the response variable. (This was the case) there was any collinearity among the explanatory variables. (there was little collinearity). the Cook's distances of the datapoints of my model are below 1 (this is the case, all distances are below 0.4, so no influence points). the residuals are normally distributed. (this may not be the case)  But I then read the following:  violations of normality often arise either because (a) the distributions of the dependent and/or independent variables are themselves significantly non-normal, and/or (b) the linearity assumption is violated.  Question 1 This makes it sound as if the independent and depend variables need to be normally distributed, but as far as I know this is not the case. My dependent variable as well as one of my independent variables are not normally distributed. Should they be? Question 2 My QQnormal plot of the residuals look like this:   That slightly differs from a normal distribution and the shapiro.test also rejects the null hypothesis that the residuals are from a normal distribution: &gt; shapiro.test(residuals(lmresult)) W = 0.9171, p-value = 3.618e-06  The residuals vs fitted values look like:   What can I do if my residuals are not normally distributed? Does it mean the linear model is entirely useless? How to migrate from test environment to production environment? The migration is from the local environment to the production environment. The production environment has run some time and created a lot of articles.   In order to add new things to my site, I added a custom theme and installed CCK, Views and other modules in my local test environment. Now that the local test environment is finished, how do I migrate it to the production environment, without destroying the content of its database? How to get a vintage/dreamy look like this photo?   It has some yellow color cast and seems like extra blur added in post process? Density of $\mathbb{Q}^n$ in $\mathbb{R}^n$ What is the purpose of the first test in an inductive proof? Learning about proof by induction, I take it that the first step is always something like "test if the proposition holds for $n = \textrm{[the minimum value]}$"  Like this:       Prove that $1+2+3+...+n = \frac{n(n + 1)}{2}$ for all $n \ge 1$.   Test it for $n = 1$:  $$n = \frac{n(n + 1)}{2} \implies 1 = \frac{2}{2}\textrm{, which holds.}$$  * The rest of the proof goes here *    So, I do it all the time (like a standard). But I never really thought about why. Why do I do such test? I can see that if the test does not hold, it cannot be proven by induction, I guess. But is there another reason we do this? Find the smallest value of $c$ such that $(1-x)\ln(1-x)+(1+x)\ln(1+x)\leq c x^2$ holds for $0&lt;x&lt;1$.   I saw the curve and realized this is true for $c=2$. How can I prove it? What is the smallest $c$ that still makes the inequality valid?  I think we should use the Taylor expansions of the $\ln$s. Unable to install Cisco Packet Tracer 7.3 on Ubuntu 20.04 I am trying to install Packet Tracer 7.3 (latest version) on Ubuntu 20.04 but do not succeed to so so because of two dependencies which are not installable ("libdouble-conversion1" and "qt-at-spi").  However I successfully installed the previous version (7.2.2) which was available in an Ubuntu installer format (.run file) but I nothing happens when I run it from my gnome desktop.  I am quite a newbie in Linux so I appologies if answers are obvious...  Thanks in advance ;-)  Denis