Infinitely many primes
Proof of infinitely many primes, clarification
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? Evaluating $\int_{0}^{1}\frac{x-1}{(x+1)\ln x} dx $ Evaluate the following integral $$\displaystyle I=\int_{0}^{1}\frac{x-1}{(x+1)(\ln x)} \mathrm{d}x $$ My work: I tried it by letting $\displaystyle I(a)=\int_{0}^{1}\frac{(x-1)x^a}{(x+1)(\ln x)} \mathrm{d}x$ and then $\displaystyle I'(a)=\int_{0}^{1}\frac{(x-1)x^a}{x+1} \mathrm{d}x$. Now $\displaystyle I'(a)=\int_{0}^{1}x^a \mathrm{d}x-\int_{0}^{1}\frac{2x^a}{x+1} \mathrm{d}x$ Now if $\displaystyle J(a)=\int_{0}^{1}\frac{x^a}{x+1}\mathrm{d}x$ , then by applying integration by parts, we get the reccurence relation $J(a)+J(a-1)=\dfrac{1}{a}$ and we can solve it then, but the thing is, we neet to find $I(0)$ ,so even if we compute $J(a)$, it wouldn't be defined at $0$ and so would $I(a)$, then how do I find $I'(a)$ by other method? I also tried the substitution $x \to \frac{1}{x}$, which yields $\displaystyle I=\int_{1}^{\infty}\frac{(x-1)}{(x+1)(\ln x)} \mathrm{d}x$ and when I saw their graphs, it clearly doesn't seem that the area under the graph of this function from $0$ to $1$ and from $1$ to $\infty$ are equal. I would appreciate if someone could  continue from my method and other solutions are also welcomed... Pass An Instantiated System.Type as a Type Parameter for a Generic Class Number reference headline I try to number the header of my references. I succeeded to add the number to the table of contents, but I can't get it to work for the header.  To add the number to the toc I used:  \addcontentsline{toc}{section} \protect\numberline{\thesection}References}   If I try the same for \refname, I get 5References without space.   \renewcommand{\refname}{\protect\numberline{\thesection References}}   When I put the references title outside the curly brackets, it's shown in a new line. What am I missing here? The full bibliography call looks like this:  \renewcommand{\refname}{\protect\numberline{\thesection References}} \addtocounter{section}{1} \cleardoublepage \phantomsection \addcontentsline{toc}{section}{\protect\numberline{\thesection}References} \bibliographystyle{apacite} \bibliography{bachelor}   EDIT 1:  As @TeXnician stated, a tilde would solve the problem. It is not very elegant, though, as I have to use approximatly three of them to get the same space as in the other headlines.   \renewcommand{\refname}{\protect\numberline{\thesection~~~References}}   EDIT 2: @Werner suggested a shorter solution, but it throws multiple errors, when I try to integrate it into my .tex file. Here's a short reproducable example which replicates the errors.  \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[margin=1.1in]{geometry} \usepackage{listings} \usepackage{apacite} \usepackage{natbib}  \begin{filecontents}{mybib.bib}  @Article{draxler2010sample,     author    = {Draxler, Clemens},     title     = {Sample size determination for Rasch model tests},     journal   = {Psychometrika},     year      = {2010},     volume    = {75},     number    = {4},     pages     = {708--724},     publisher = {Springer}, }  \end{filecontents}   \begin{document}  \tableofcontents      \section{First Chapter}  \citep{draxler2010sample}  \let\oldsection\section% Store \section in \oldsection \renewcommand{\section}[2]{\oldsection{#2}}% Update \section to gobble * \bibliography{mybib} \bibliographystyle{apacite}  \appendix  \section{R Code}  \subsection{Greedings Function}  \begin{lstlisting}     print("Hello World") \end{lstlisting}  \end{document} Can the Ubuntu logo be used for a commercial website? Is there an Ubuntu logo that can be used on a commercial website to indicate that Ubuntu can be installed for customers? Change the folder that Windows Explorer starts at In Windows7, when you open the Windows Explorer using the pinned Windows Explorer button on taskbar, it opens WE and points it to My Documents folder.  Is there a way to change this so it doesn't open My Documents, but rather "Computer" just as Windows+E keyboard shortcut does? Is the simulation hypothesis outside of science? On the question of the  (i.e. that reality is a simulation), a friend of mine once remarked he didn't accept it on the grounds of . To me (with my admittedly instrumentalist view of science) this seems a misuse of Ockham's razor in that all my friend is really claiming is that it isn't empirically necessary (and hence outside of science).  Is the simulation hypothesis outside of science? If so, then does it pose a problem for scientific realism? If not, is it falsifiable? Is it an empirical question? As a  developer I'm used to running through constructors:    class Test {     public Test() {         DoSomething();     }      public Test(int count) : this() {         DoSomethingWithCount(count);     }      public Test(int count, string name) : this(count) {         DoSomethingWithName(name);     } }   Is there a way to do this in C++?  I tried calling the Class name and using the 'this' keyword, but both fail. What is the difference between a relative phase and a global phase? In particular, what is a phase? I know that $re^{i\theta} = x + iy$ for any complex number $x + iy$ by Euler's formula. How do you calculate relative and global phase? org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15 I wonder is it legal to register a domain name that contains a company name. For example cococola.cc (considering that this domain name is available). Can I buy and use any domain names that contain a name of a trademark? Disk brakes severely reduced in power after replacing bearings Limit of $(\cos1/n)^{n^2}$ when $n\to\infty$ I've been trying to solve this limit: $$\lim_{n\to \infty} \left(\cos\left(\frac{1}{n}\right)\right)^{n^2}$$ I solved it using l'hopital but I have to try in another way. I tried to make the expression:  $$ \lim_{n \to \infty}\exp\left(n^2\ln\left(\cos\left(\frac{1}{n}\right)\right)\right)$$  but it didn't work out for me... wpa_supplicant store password as hash (WPA-EAP with phase2="auth=PAP") Is there a way to store my password in /etc/wpa_supplicant/wpa_supplicant.conf as some hash instead of plaintext?  By "password" I refer here to the password used for phase2 authentification. I do not refer to the Preshared Key (PSK) which could be hashed using wpa_passphrase.  For phase2 MSCHAPv2 or MSCHAP authentification I could store the password as MD4 hash using nt_password_hash (see example wpa_supplicant.conf line 659).  Is there any way to store my PAP password as hash?  Or: Is there a way to store the password in some sort of external storage? The example wpa_supplicant.conf suggests the use of such an external storage (using ext:????) but I could not find any documentation about it.  I am aware that storing the password as hash does not increase wifi security. But as the password MUST be the same as the password for other services (account management, subscriptions, payments ...) I don't want it to be stored as plaintext. I'm preparing a new template for our students' projects based on memoir. All this projects are supervised (directed) by one or more professors so I would like to declare a command like \author but called \director.   This way the student can declare \director{My professor} and the template will place and format the name.   I would like to be like \author and not just a simple \newcommand because it can include affiliation, several names, etc.  I don't know where is \author declared, where should I look? I have been taught to use the if I had form in conditional clauses referring to the past:     If the president had asked me, I would have told him the same thing.   As far as I can tell though, the would have construct is sometimes used in conditional clauses as well, so it wouldn't be incorrect to say:     If the president would have asked me, I would have told him the same thing.   What is the difference between the two and the proper use of the latter? I have a custom script and I want to send a desktop notification (the one that appears in the top right corner of the screen) with a custom message. How do I do that? How do I run a 'sudo' command inside a script? For some time, Microsoft has supported an option to remove the limit of 260 symbols for NTFS file name length.  The web is full of articles, describing what should be done.   Hit the Windows key, type gpedit.msc and press Enter. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS. Double click the Enable NTFS long paths option and enable it.   However, I don't have such option. Please see the screenshot below:    Am I missing some Windows update, or is it something else? How to Customize the Email template on chatter posts