I have a 5TB hard drive (4.54TB in reality). Properties tells me I've used 4.45TB. It includes one system backup of roughly 1.8TB.   I decided to move everything (except system files, recycle bin, and that backup) to a new drive. Windows 7 tells me I'm moving 587GB. I've set all hidden and system files to be visible.   How is that one backup plus the rest of the files -- which together are about 2.5TB -- somehow amount to 4.45TB? What am I missing here?
How can I visualize which folders and files are taking up all of the space on my hard drive?  I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space.   I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.
how to plot two graphs in a single sheet? I am new to Latex. Cann some one tell me how can I plot two graphs in a single page and How can resize the legend. I have attached the picture how the legend looks. I need it out from the plot and how can i have gridded lines in the plot. Please help me. My code is as follows: \documentclass[12pt, a4paper]{report} \usepackage{filecontents,pgfplots}  \begin{filecontents}{mydata.dat} m0_FEED, AT 773.15K, AT 823.15K, AT 873.15K, AT 923.15K, AT 973.15K 0.005, 1.30E+04, 12959.71536,12959.71536,12959.71536,12959.71536 0.007, 1.81E+04, 18145.78478,18145.78478,18145.78478,18145.784 0.009, 2.33E+04, 23333.9541,23333.9541,23333.9541,23333.9541 0.011, 2.85E+04, 28524.71381,28524.71381,28524.71381,28524.71381 0.013, 3.37E+04, 33718.48576,33718.48576,33718.48576,33718.48576 0.015, 3.89E+04, 38915.61947,38915.61947,38915.61947,38915.61947 0.017, 4.41E+04, 44116.39602,44116.39603,44116.39603,44116.39603 0.019, 4.93E+04, 49321.02848,49321.02848,49321.02878,49321.02849 0.021, 5.45E+04, 54529.67237,54529.67238,54529.67238,54529.67238 \end{filecontents}  \begin{document}   \pgfplotstableread[col sep=comma]{mydata.dat}{\mydata} \begin{tikzpicture}[scale=1.8] \begin{axis}[minor tick num=1, xlabel=Degrees, ylabel = temperature] \addplot [black,very thick] table [x={m0_FEED}, y={AT 773.15K}] {\mydata}; \addplot [red,very thick] table [x={m0_FEED}, y={AT 823.15K}] {\mydata}; \addplot [blue,very thick] table [x={m0_FEED}, y={AT 873.15K}] {\mydata}; \addplot [green,very thick] table [x={m0_FEED}, y={AT 923.15K}] {\mydata}; \addplot [dashed,yellow,very thick] table [x={m0_FEED}, y={AT 973.15K}] {\mydata}; \legend{AT773.15K, AT823.15K, AT873.15K, AT923.15K, AT973.15K} \end{axis} \end{tikzpicture}  \begin{filecontents}{mydatax.dat} m0_FEED AT 773.15K  AT 823.15K  AT 873.15K  AT 923.15K  AT 973.15K 0.005   4.06E+03    4601.511738 5147.966831 5703.120845 6267.035737 0.007   5.69E+03    6439.241858 7204.278989 7981.494608 8625.923 0.009   7.31E+03    8274.205759 9257.824928 10257.10215 11272.14896 0.011   8.92E+03    10105.75535 11307.95656 12529.29539 13769.90815 0.013   1.05E+04    11933.33165 13354.1149  14797.51533 16263.69405 0.015   1.21E+04    13756.46929 15395.83457 17061.29661 18753.04129 0.017   1.37E+04    15574.79159 17432.7389  19320.26254 21237.57317 0.019   1.53E+04    17388.009   19464.53834 21574.12348 23717.00014 0.021   1.69E+04    19195.90581 21491.01717 23822.664   26191.10653 \end{filecontents}  \pgfplotstableread{mydatax.dat}{\mydatax} \begin{tikzpicture}[scale=2] \begin{axis}[minor tick num=1, xlabel=Degrees, ylabel = temperature] \addplot [black,very thick] table [x={m0_FEED}, y={AT 773.15K}] {\mydatax}; \addplot [red,very thick] table [x={m0_FEED}, y={AT 823.15K}] {\mydatax}; \addplot [blue,very thick] table [x={m0_FEED}, y={AT 873.15K}] {\mydatax}; \addplot [green,very thick] table [x={m0_FEED}, y={AT 923.15K}] {\mydatax}; \addplot [dashed,yellow,very thick] table [x={m0_FEED}, y={AT 973.15K}] {\mydatax}; \legend{AT773.15K, AT823.15K, AT873.15K, AT923.15K, AT973.15K} \end{axis} \end{tikzpicture}   \end{document} IndentationError: unindent does not match any outer indentation level When I compile the Python code below, I get      IndentationError: unindent does not match any outer indentation level     import sys  def Factorial(n): # Return factorial     result = 1     for i in range (1,n):         result = result * i     print "factorial is ",result     return result   Why? Disable commandButton after first click to prevent double submission I have an apex:commandButton on a visualforce page that invokes a method on the controller. There is currently no rerender value set for the button. Instead the controller method returns a PageReference to redirect the user as required.  E.g.  Visualforce:  &lt;apex:commandButton value="Save" action="{!save}"/&gt;   Controller:  public PageReference save() {     // save body ...      // return the user the a parent opportunity     return new PageReference('/' + opp.Id); }   Users are currently able to click on the resulting save button multiple times before the controller completes and returns the PageReference to redirect the browser to an opportunity.  How can I disable the commandButton after the first click?    I tried wrapping the commandButton in an actionStatus and facet, but the need to define the rerender property prevented the resulting PageReference redirect.  E.g.  This will render nicely in the browser and prevent multiple clicks, but doesn't redirect to the Opportunity on completion.  &lt;apex:actionStatus id="saveStatus"&gt;     &lt;apex:facet name="stop"&gt;         &lt;apex:commandButton value="Save" action="{!save}" status="saveStatus" rerender="saveParentBlock" /&gt;     &lt;/apex:facet&gt;     &lt;apex:facet name="start"&gt;         &lt;apex:commandButton value="Saving..." disabled="true" status="saveStatus"/&gt;     &lt;/apex:facet&gt; &lt;/apex:actionStatus&gt;     There is a similar question . I need to support an existing PageReference redirect, which slightly alters the requirements.  Force.com Discussion Boards:   Ideas: There seems to be some bug where mac os is constantly contacting . You can prevent it by turning off the wifi, but then your computer is nothing more than a fancy calculator. Is there a program, vpn, or even the firewall option, to block this site from the whole os? Privilege progress indicator interferes with (old) Stack Exchange dropdown I know I'm late with this; this could be the last bug report about the old topbar. But the text on the privilege progress indicator (on your profile page) appears above the dropdown menu coming from the Stack Exchange button, as can be seen in the picture below.     Changing the z-index property of .s-progress-bar._badge .-info, .s-progress-bar._privilege .-info from 2 to 1 solves the problem.    The new menu seems to have a high enough z-index so that this is no longer a problem anymore: Prove $kf(x)+f'(x)=0 $ when conditions of Rolle's theorem are satisfied . Are there surface-mount pin header footprints for KiCAD? Tracking very long shot with no points in common between first and last frame Is it possible to track an handheld shot (there is already an answer on here about tripod shots: ) that doesn't have any visible points in common between the first and the last frame? As an example, imagine a shot of someone driving in a car for thirty minutes. Obviously everything from the first couple of seconds won't be there anymore at minute 15. vertical align middle in When should "no problem" replace "you're welcome" as a response to "thank you"? I have a problem. I have several large equations within the text. And when LaTeX does not manage to put the equation on the same page and moves it to the next one, he spreads the paragraphs of the text in the first page. How could I prevent this? I know about \pagebreak and \newpage, but I do not want to force the \newpage, as the text may move (if I add something later or so on) and the pagebreaks may not be valid. I would like to make LaTeX not to spread the paragraphs over a page automatically. Is it possible?  I tried to make an example:  \documentclass[a4paper,12pt,twoside]{book} \usepackage{amsmath} \begin{document}  LaLaLa\\\  LaLaLa\\\  LaLaLa\\\  LaLaLa\\\  \begin{eqnarray} 123&amp;+&amp;123 \\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ \end{eqnarray}  LaLaLa\\\  LaLaLa\\\  \begin{eqnarray} 123&amp;+&amp;123 \\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ 123&amp;+&amp;123 \nonumber\\\ \end{eqnarray}  \end{document} String manipulation with & or + in VB.NET Why are Python's 'private' methods not actually private? Number of pairs of strings satisfying the given condition We are provided with a string A (may contain repeated characters as well ). One needs to make all possible permutations of A , and find out how many pairs of strings chosen from these permutations are not similar.  Two strings are similar if we can make both of them exactly same by carrying out at most 1 swap in each of them .  Example :- if we are provided with string abcd  , then for permutation abcd , the permutations which are not similar to it are bcda , bdac , cadb , cdba , dabc , dcab . Similar is the case for other permuations as well. So overall number of desired pairs are 24*6=144 .  I tried solving it for each possible pair by approach mentioned here     But as the permutations can be large enough , I need a better approach of solving this. How to pass parameters to function in a bash script? I'd like to write a function that I can call from a script with many different variables. For some reasons I'm having a lot of trouble doing this. Examples I've read always just use a global variable but that wouldn't make my code much more readable as far as I can see.  Intended usage example:  #!/bin/bash #myscript.sh var1=$1 var2=$2 var3=$3 var4=$4  add(){ result=$para1 + $para2 }  add $var1 $var2 add $var3 $var4 # end of the script  ./myscript.sh 1 2 3 4   I tried using $1 and such in the function, but then it just takes the global one the whole script was called from. Basically what I'm looking for is something like $1, $2 and so on but in the local context of a function. Like you know, functions work in any proper language. form in a .tpl.php file This is the code in my template.php file.  function studiga_theme_theme($existing, $type, $theme, $path) {         $items['add_property_form'] = array(         'render element' =&gt; 'form',         'template' =&gt; 'node--14',         'path' =&gt; drupal_get_path('theme', 'studiga_theme') . '/templates/node',     );      return $items; }    function custom_add_property_form($form, &amp;$form_state) {     $form['first_name'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('First name')),     );     $form['last_name'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Last name')),     );     $form['address'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Address')),     );     $form['city'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('City')),     );     $form['state'] = array(         '#type' =&gt; 'select',         '#options' =&gt; array(             'default' =&gt; 'State',             '...' =&gt; '...',         ),     );     $form['zip'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Zip')),     );     $form['email'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Email')),     );     $form['phone'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Phone')),     );     $form['submit'] = array(         '#type' =&gt; 'submit',         '#value' =&gt; 'Submit',     );      return $form; }   This is the code in node--14.tpl.php.                                          Contact Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;div class="row"&gt;     &lt;div class="small-12 medium-12 large-8 large-offset-2 columns"&gt;         &lt;?php print render($form['submit']); ?&gt;     &lt;/div&gt; &lt;/div&gt;     But no fields are appearing - what am I doing wrong? You can't have a straight forward  in a tpl.php file can you? How do I create a very long delay with Redstone? R: Trouble using SMOTE package "invalid 'labels'" Using SMOTE package from DMwR library. After loading the data frame, I try to perform sampling as follows :   crime_bal$target &lt;- as.factor(crime_bal$target) crime_bal &lt;- SMOTE(target ~ .,crime_bal,perc.under = 200, perc.over = 100)   But it always ends up to this error :   Error in factor(newCases[, a], levels = 1:nlevels(data[, a]), labels = levels(data[,  :    invalid 'labels'; length 0 should be 1 or 2 In addition: Warning messages: 1: NAs introduced by coercion  2: NAs introduced by coercion    Details of my dataset :   &gt; summary(crime_bal)      text               url            target    Length:6326        Length:6326        0:5994    Class :character   Class :character   1: 332    Mode  :character   Mode  :character   Why do I always end up with the error? On my Windows 7 system I installed via  from Fonts.com:   The font does not appear in C:\Windows\Fonts. However, it shows up in certain desktop applications, for example  as: Sabon Next Com Display  My intention was to use the font in a LaTeX document test.tex:  \documentclass{article} \usepackage{polyglossia} \setromanfont{Sabon Next Com Display}  \begin{document} Hello World! \end{document}   Unfortunately, xelatex test.tex fails:  […] Couldn't find `Sabon Next Com Displ.cfg' miktex-maketfm: No creation rule for font "Sabon Next Com Display".   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" !  ! The font "Sabon Next Com Display" cannot be found. !  ! See the fontspec documentation for further information. !  ! For immediate help type H &lt;return&gt;. !...............................................    l.4 \setromanfont{Sabon Next Com Display}                                            % Sabon Next Com Display, SabonNex...  ?    Can XeLaTeX even work with fonts installed via SkyFonts? If not, what could be a workaround? Electromagnetic waves in vacuum If there is no source then also there is electromagnetic waves described by Maxwell equation. how if there is no source then existence of EM waves. What gives energy to this EM  waves. Is it vacuum fluctuation or something else?