I have acquired an SSD which I have performed a clean Windows 8.1 install upon it.  Works great.  It is the first in the BIOS boot order to load and it is the drive connected to my first SATA port via AHCI.  My HDD (which once held Windows for me; what the SSD replaces as the OS holder) has been backed up of all files I wish to keep, so the issue of losing files does not factor into my question.  I want to use this drive in tandem with the new SSD to hold all media and temporary files created by Windows (set in the environment variables, natch) and the programs installed on it.  However, there's a bunch of partitions on it from the previous Windows installation and any kind of exploration into the Disk Management tool does not outwardly show a feature to completely obliterate everything on a drive (including the partitions).  Google has only turned up sites about erasing everything to donate a drive but doesn't go into detail if the options and procedures outlined erases all partitions and the containers themselves.  The sites I found also speak about re-installing Windows, which is not my aim here.  How do I completely format an HDD to erase everything including partitions back to a completely empty state with zero multiple partitions?  I wish to use the NTFS file system and have a large allocation unit size since this will hold large media files more so than small temporary text files.  The drive is 2 TB.  (I heard about  but it does not explicitly say if it wipes out partitions as well.  I am getting conflicting and personally confusing (at least to me) information about DBAN and partitions as  talks about.)  ANSWER: Use the command utility DISKPART.  As @chue-x explained and linked from  (and I have confirmed by doing it):  Type cmd at the metro start screen.  Right-click the Command Prompt program that pops up in the upper right search.  Select "Run as Administrator".  DISKPART  list disk  (note the number of the disk you want to erase all partitions on, mine was 1.)  select disk 1  clean
I am trying to encrypt an entire USB drive with Truecrypt 7.1a. But as long as there is a partition it will only encrypt that. This will make it appear like the USB is full instead of completely empty, which isnt what Im aiming for.   I've tried with DISKPART, USB Partition Tool, and the built-in storage manager. When I delete all partitions, Windows still assigns the drive a letter and assumes that it has a partition covering the whole space.  I know that it is possible as I have done it with another USB, but I just don't remember how I did it.  Ideas?
Make 15 lines / ticks with Photoshop, each of them rotated of 20° Hi I would like to know whether the trace of the inverse of a symmetric positive definite matrix $\mathrm{trace}(S^{-1})$ is convex.  Actually I know that the trace of a symmetric positive definite matrix $S\in M_{m,m}$ is convex since we can find $B\in M_{n,m}$ such that $S=B^T\times B$ then we can write the trace as the sum of scalar quadratic forms, i.e. $\mathrm{trace}(S)=\mathrm{trace}(B^T\times B)=\sum_{j=1}^mb_j^T\times b_j$ where $b_j$ is the $j^{th}$ column of $B$.  for instance if we have  $trace([\begin{array}{cc} 1 &amp; 2  \\ 3 &amp; 4  \\ \end{array}] \times [\begin{array}{cc} 1 &amp; 3  \\ 2 &amp; 4  \\ \end{array}])= [\begin{array}{cc} 1 &amp; 2  \\ \end{array}]\times [\begin{array}{c} 1   \\ 2   \\ \end{array}]+ [\begin{array}{cc} 3 &amp; 4  \\ \end{array}]\times [\begin{array}{c} 3   \\ 4   \\ \end{array}]=30$  And so I wonder if $\mathrm{trace}(S^{-1})$ is convex too.. putting a tikzpicture inside a \caption{} I'm attempting to put a small tikzpicture inside a \caption{} belonging to a figure environment. The reason for doing this is fairly simple - to create an in-caption legend for a PGFplot, with consistency between the TikZ styles in the figure and in the caption. Previously I would have done this using dashes and the xcolor package, however, this is an awful hack. In this MWE:  \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure} \caption{\raisebox{0.5ex}{ \begin{tikzpicture}\draw[dashed,color=red,thick] (0,0) -- (0.5,0);\end{tikzpicture}} Gas--Phase}  \end{figure} \end{document}   The expected output:    is generated, but I get ! Argument of \@caption has an extra }. and ! Paragraph ended before \@caption was complete. Within the larger context of the document that I'm writing, which includes chapters in external .tex files, compilation fails catastrophically (dozens of errors) with no output, so I can't just ignore the warnings in this instance. Any ideas? Why doesn't the T-800 run? I just re-watched the first two films in the Terminator series. The T1000 (Robert Patrick) does a lot of running, and is quite fast.  I didn't see many scenes where the T800 (Arnie) ran. Is it because he's really heavy? Is he mainly designed as a heavy "stand your ground" machine?  The only scene I could see him running is in T2 in the mental hostpital where the T1000 morphs through the metal gate and his gun gets caught. Then the T800 does a little jog to get into the elevator following John and Sarah. (anybody know of any other running/jogging scenes?) (EDIT Arnie also breaks into a run while pursuing Reece and Sarah down the alley after the NOIR nightclub attack.)  If he can at least jog though, why wouldn't he do this throughout the entire film? You would think that from a "chance of survival" point of view, if he could get a John even the slightest bit faster then he'd do so.  Of course, maybe I am overthinking this... Arnie walking around slowly is a lot more badass than Arnie jogging around.  Edit: Just watched T3 again, the T800 also ran towards the end when the big hangar door was closing and he ran over to slow it down. Interested in other examples of the T800 running too. I used to say "sharp sign" to refer to the # sign.   Today a friend told me that the correct term is number sign or hash sign or even just hash.  What is the difference between these options and what's the correct usage of the names for this sign? Consider a rocket in deep space with no external forces. Using the formula for linear kinetic energy $$\text{KE} = mv^2/2$$ we find that adding $100\ \text{m/s}$ while initially travelling at $1000\ \text{m/s}$ will add a great deal more energy to the ship than adding $100 \ \text{m/s}$ while initially at rest: $$(1100^2 - 1000^2) \frac{m}{2} \gg (100^2) \frac{m}{2}.$$ In both cases, the $\Delta v$ is the same, and is dependent on the mass of fuel used, hence the same mass and number of molecules is used in the combustion process to obtain this $\Delta v$. So I'd wager the same quantity of chemical energy is converted to kinetic energy, yet I'm left with this seemingly unexplained $200,000\ \text{J/kg}$ more energy, and I'm clueless as to where it could have come from. Log out button illogical placement In the previous version the logout button is under your username, which it can be found by clicking the down arrow. However, in the new version, after a couple minutes of searching, it is under the "site-switcher" button:        This is really illogical since the logout button is usually under your username, including Google and Yahoo! services.  I suggest bringing back the  which will definitely benefit new users and even old users. How can I port forward with iptables? How to force the browser to reload cached CSS and JavaScript files I have noticed that some browsers (in particular, Firefox and ) are very zealous in using cached copies of .css and .js files, even between browser sessions. This leads to a problem when you update one of these files, but the user's browser keeps on using the cached copy. What is the most elegant way of forcing the user's browser to reload the file when it has changed? Ideally, the solution would not force the browser to reload the file on every visit to the page.  I have found  and  suggestion to be useful. It turns out there is a term for this: auto-versioning. I have posted a new answer below which is a combination of my original solution and John's suggestion. Another idea that was suggested by SCdF would be to append a bogus query string to the file. (Some Python code, to automatically use the timestamp as a bogus query string, was .) However, there is some discussion as to whether or not the browser would cache a file with a query string. (Remember, we want the browser to cache the file and use it on future visits. We only want it to fetch the file again when it has changed.) Text Distortion Effect (like it is written on a page) I want to display a text like it is written on some surface like notebook page or wall via Photoshop CS6. I added two example.   This image seems like image distortion:    And this image looks like text distortion:    I tried this with distort and skew transformation but I'm unable to get this much clear &amp; real effect. I'm trying to find a movie with an underground facility with people wearing white suits. The people have been affected such that they show no curiosity. There is one person that does and asks one of his co-workers where a tube leads to.      At the end there is an uprising where everyone gets to see the surface and sunlight.   What is the name of this movie? Prove that if $\gcd(a,b)=1$ then $\gcd(ab,c) = \gcd(a,c) \gcd(b,c)$ How do I get a Realtek RTL8723BE wireless card to work? Are drops in Google ranking common after switching to https? About a week ago I made the switch to https on one of my sites. I'm positive I did everything right. Properly setup 301 redirects from http to https versions. Added and verified https version in Webmaster Tools. Updated all internal links. Submitted new sitemap.  Despite that, many of my pages (about 40%) lost their rankings almost immediately. Those that dropped went from page 1 to nowhere. I can still see them indexed if I search for the URL, but otherwise it's like Google doesn't know they exist.  SSL Labs shows an "A" when I run their test and I have no manual actions showing in Webmaster Tools.  This is really frustrating. I don't actually need SSL, but Google finally scared me into it. Now I'm regretting the switch and contemplating going back to non-secured URLs.  Anything else I could have missed? How to prove $\,x^a-1 \mid x^b-1 \iff a\mid b$ How can I remove the site URL from enqueued scripts and styles? I'm dealing with an SSL issue and I would like to strip the domain from all scripts and styles being output via wp_enqueue_scripts. This would result in all scripts and styles being displayed with a relative path from the domain root.  I imagine there is a hook that I can use to fileter this, however, I am not sure which one, nor how to go about it. Why didn't Elizabeth get cursed? In Pirates of the Caribbean, whoever has the Aztec gold gets cursed.  But Elizabeth had the gold coin with her which Bootstrap gave to his son Will before he was tied to a cannon and dropped to the ocean floor.  Barbossa states that they were cursed because of Aztec gold.  Also in the fight between Jack and Barbossa, Jack takes a gold coin and he was also cursed.  Why didn't Elizabeth get affected? Or was she also cursed and nobody noticed? 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? Clean install of Windows 10 OEM: license key issues? Mechanics around a rail tank wagon