How to delete files that says "source path too long" I could not able to delete a folder completely from my computer because one of the files in the folder is giving out error "Source Path too long for delete".  Operating system : Windows 7
Windows seems to have a length limit on file names when trying to delete, though it won't prevent those files from being created.  Our build process creates a number of temporary files (many build off of a WSDL) that run afoul of this limit.  Our ant script is somehow able to delete them when doing a clean, but sometimes I need to delete the workarea directory (where all the temp files go) without actually doing a full clean from ant.  This is the same errors , but the answers there don't really work for me as I'm dealing with a directory, not a file, and I don't always know what specific files or subdirectories are causing the problem.  And I'm trying to avoid any manual process (other than triggering a single command) to actually delete them.  If I try deleting the directory from Explorer I get the error   Cannot delete [file name]: The file name you specified is not valid or too long.   Specify a different file name   Trying Remove-Item in powershell gives the following error:  Remove-Item : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. At line:1 char:12 + Remove-Item  &lt;&lt;&lt;&lt; -force -Recurse &lt;directory&gt;   Does anyone know of any tools or easy ways to get around this delete error without having to manually find the problem files and move/rename them?
Using ExactTarget DEManager to update record? Is there a way to use ExactTarget DEManager to update a data extension record instead of only add? I have a data extension that adds subscribers to specified lists (each list is its own boolean column). If a user goes to my DEManager form and the subscriber already exists, the form will return the error url ("subscriber already exists" or something similar). Is there any way instead for the form to update the existing subscriber record instead of it returning an error? If so, is there a way to use DEManager to first check if a record exists, and if it doesn't then add, otherwise update?  Reference: the DEManager section at   &lt;form action="http://cl.exct.net/DEManager.aspx" name="subscribeForm" method="post"&gt;         &lt;input type="hidden" name="_clientID" value="12345" /&gt;         &lt;input type="hidden" name="_deExternalKey" value="WebCollectSubs" /&gt;         &lt;input type="hidden" name="_action" value="add" /&gt;         &lt;input type="hidden" name="_returnXML" value="0" /&gt;         &lt;input type="hidden" name="_successURL" value="http://example.com/Success" /&gt;         &lt;input type="hidden" name="_errorURL" value="http://example.com/Failed" /&gt;         Email: &lt;input type="text" name="Email"&gt;&lt;br /&gt;         First Name: &lt;input type="text" name="FirstName"&gt;&lt;br /&gt;         Last Name: &lt;input type="text" name="LastName"&gt;&lt;br /&gt;         &lt;input type="submit" value="Submit"&gt;     &lt;/form&gt; Line breaks in listings Is there a way like wrap the line after at most 60 letters but it should not break inside some commands like listings does?  Example:      \documentclass[a5paper]{article}     \usepackage[T1]{fontenc}     \usepackage[utf8]{inputenc}     \usepackage{listings}     \usepackage{xcolor}      \lstset{%       language=[LaTeX]TeX,       backgroundcolor=\color{gray!25},       basicstyle=\ttfamily,       breaklines=true,       columns=fullflexible     }      \begin{document}     \begin{lstlisting}     The roadrunner is the fastest running bird \remark{Check this again with a zoologist!}.     \end{lstlisting}     \end{document}   Output:      The roadrunner is the fastest running bird         remark{Check this again with a zoologist!}.   That should not happen! In my eyes this problem is not discussed in . How disk space is used on Android device? Showing that a function is not differentiable I am running an HP pavilion dv6000 dual boot win7 and Ubuntu 12.04. (well, up until today).  After a reboot, the boot process drops to the BusyBox shell and I end up at the prompt:  BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) Enter 'help' for a list of built-in commands.  (initramfs)   I've been researching others who have had this same problem, but haven't been able to find any of those solutions to work for me.  I tried the method described , and after the final command   mount -t ntfs-3g /dev/sda1 /root -o force   it does nothing and gives me another (initramfs) prompt.  I can boot to a live CD (USB) and get to a terminal, but it doesn't seem to do much good, as I can see the /dev/sda1 in the ls command, but it doesn't recognize it when I try to cd to it.  One more question: using the command fdisk -l how can I tell which mount point (sda1/sda2) is my windows partition and which one is Ubuntu? Is there something I can do from the terminal when a program freezes up and Ubuntu becomes unresponsive? Can I combine extension tubes and macro filters at once to give better macros? I would like to think that some of the software I'm writing today will be used in 30 years. But I am also aware that a lot of it is based upon the UNIX tradition of exposing time as the number of seconds since 1970.  #include &lt;stdio.h&gt; #include &lt;time.h&gt; #include &lt;limits.h&gt;  void print(time_t rt) {     struct tm * t = gmtime(&amp;rt);     puts(asctime(t)); }  int main() {     print(0);     print(time(0));     print(LONG_MAX);     print(LONG_MAX+1); }   Execution results in:   Thu Jan  1 00:00:00 1970 Sat Aug 30 18:37:08 2008 Tue Jan 19 03:14:07 2038 Fri Dec 13 20:45:52 1901           The functions ctime(), gmtime(), and localtime() all take as an argument a time value representing the time in seconds since the Epoch (00:00:00 UTC, January 1, 1970; see time(3) ).      I wonder if there is anything proactive to do in this area as a programmer, or are we to trust that all software systems (aka Operating Systems) will some how be magically upgraded in the future?  Update It would seem that indeed 64-bit systems are safe from this:  import java.util.*;  class TimeTest {     public static void main(String[] args) {         print(0);         print(System.currentTimeMillis());         print(Long.MAX_VALUE);         print(Long.MAX_VALUE + 1);     }      static void print(long l) {         System.out.println(new Date(l));     } }    Wed Dec 31 16:00:00 PST 1969 Sat Aug 30 12:02:40 PDT 2008 Sat Aug 16 23:12:55 PST 292278994 Sun Dec 02 08:47:04 PST 292269055   But what about the year 292278994? How do I prove this form of mean value theorem for integral? I only knew the standard mean value theorem for integrals. (i.e. $\int_a^b f(x)dx= f(c)(b-a)$ for some $c$ between $[a,b]$ where $f$ is continuous. This is directly derived by applying mean value theorem and Fundamental theorem of calculus) I'm taking numerical analysis this year and there is one theorem stated without a proof in my text. That is:  Let $f,g$ be continuous real-valued functions on $[a,b]$ such that $g$ is nonnegative. Then there exists some $c$ between $a,b$ such that $\int_a^b fg(x) dx = f(c) \int_a^b g(x) dx$  How do I prove this? Quotient of the ring of integers of a number field by a prime ideal How to execute file I'm editing in Vi(m) Interesting topics to research in mathematical physics for undergraduates I've just installed Ubuntu 16.04 LTS on dual boot. I've looked for many solutions and tried them all but Chrome never starts; the logo appears on the left but no window opens.  I downloaded the deb file on google chrome website and installed it through Ubuntu Software, but it doesn't start.   I have tried installing it through the command line with   sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb sudo apt-get install -f   I have checked with uname -a and my system is 64 bit. I have also tried gdebi with the same result.   My repository universe is up to date.  I only have one display in settings>displays> so I can't turn off built-in display nor check the mirror display (I read it could be the problem as I also have a graphic card but it seems it is not in my case).  Here is what I get in the command line when I try to run Chrome from it ( the message is the same, whatever the method I used to install Chrome):  ~$ google-chrome [11831:11831:1122/114854.195473:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195493:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195508:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195515:ERROR:process_singleton_posix.cc(280)] Failed to create /home/basil/.config/google-chrome/SingletonLock: Permission denied (13) [11831:11831:1122/114854.195538:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195564:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195622:ERROR:chrome_browser_main.cc(1498)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. [11831:11868:1122/114854.209297:ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU process.   Any new approach will be much appreciated What is the autocorrelation for a random walk? Seems like it is really high, but this is counterintuitive to me. Can somebody please explain? I am very confused by this issue and would appreciate a detailed, insightful explanation. Thanks a lot in advance! This might be subjective, I don't know. However, it's a serious problem for me. My electrical bill is outrageous. It's three times as large as my next-door neighbor, and four or five times the size of my neighbor's across the street. It's worse in the summer (I live in central TX), but I've had the air conditioner inspected, and while the house is right at the maximum capacity for our unit, the unit should still be able to take care of the load. That also doesn't explain why our winter bills are larger than the comparables.  What I would like to do is check the amount of current drawn by each running appliance and calculate where all my money is going. I just don't know how to go about doing this. I am a super newbie for Ubuntu and basically need Ubuntu for a Python package.  I would like to run a Python file in say e:/username/folder1/folder2/python.py. I tried every method online and the only reply is bash: cd./e: No such file or directory. I am not sure whether it is because of the bash windows or virtualenv.  When I use bash on Ubuntu on Windows, ls, it says VIRTUALENV_DIR. cd, it says /home/username. The cd .. etc changes the directory a little, but not another drive, nor the folder I would like it to find. I honestly have no idea how to approach this question. I have done easier questions eg. show $gcd(a,b)lcm(a,b)=ab$ by letting $a=Alcm(a,b)$ and $b=Blcm(a,b)$ and then using the fact that $A$ and $B$ are coprime. However this approach only works in two variables. Any help with the question in the title would be greatly appreciated, as well as the thought process behind the answer so that I can approach similar problems. Is it true that one should not use NSLog() on production code? I was told this a few times in this very site, but I wanted to make sure this is really the case.  I was expecting to be able to sprinkle NSLog function calls throughout my code, and that Xcode/gcc would automatically strip those calls out when building my Release/Distribution builds.  Should I avoid using this? If so, what alternatives are most common between experienced Objective-C programmers? When I'm using  find . -type f -name "*.htm*" -o -name "*.js*" -o -name "*.txt"  it finds all the types of file. But when I add -exec at the end:  find . -type f -name "*.htm*" -o -name "*.js*" -o -name "*.txt" -exec sh -c 'echo "$0"' {} \;  it seems it only prints .txt files. What am I doing wrong?  Note: using MINGW (Git Bash) "I have never said" versus "I never said" I have never said this.   I never said this.    Is the usage of have in the first sentence justified or grammatically correct?   What is the difference in meaning?   When should I use one form over the other?