I'm on Mac OS X and have texlive 2013 installed. For a journal paper, I need to install two .cls and .clo files. All the read says is Copy svjour3.cls and svglov3.clo to a place where LaTeX can find them.  I dropped these files to  /usr/local/texlive/texmf-local/tex/latex   and tried to run texhash but this is what happens:  texhash: /usr/local/texlive/2013/../texmf-local: directory not writable. Skipping... texhash: /usr/local/texlive/2013/texmf-config: directory not writable. Skipping... texhash: /usr/local/texlive/2013/texmf-dist: directory not writable. Skipping... texhash: /usr/local/texlive/2013/texmf-var: directory not writable. Skipping... texhash: Done.   If I try to compile a .tex file that's in the same directory as the .cls and .clo files, it works, but not if the file is somewhere else. So where is the proper place to put this?
I've searched online, but I have not found any clear instructions how to permanently add .sty files to my TeXShop installation. I'm using a Mac with OSX (TeXShop is a mac only program).  What is the best way of doing this? The one comprehensive set of instructions I found .   I've got as far as extracting the files (running LaTeX on the .ins and . dtx files) but after that I don't know what to do. I also don't understand how to update the index of my distribution, and whether there are particular OSX specifics (the instructions are for Windows).
Showing that $\int_0^1 \log(\sin \pi x)dx=-\log2$ I need help with a textbook exercise (Stein's Complex Analysis, Chapter 3, Exercises 9). This exercise requires me to show that $$\int_0^1 \log(\sin \pi x)dx=-\log2$$ A hint is given as "Use the contour shown in Figure 9."    Since this is an exercise from Chapter 3, I think I should use the residue formula or something like that. But the function $f(x)=\log(\sin \pi x)$ becomes singular on $x=0$ and $x=1$, which makes the contour illegal for the residue theorem. Can anyone give me a further hint on this problem? Many thanks in advance!  P.S. This is my first time on Math Stack Exchange. If you find my post ambiguous, let me know. How can I install Visual Studio? How can I install Visual Studio?    I'd prefer to use it in Wine or PlayOnLinux if possible. I've read that it is possible to add a method to an existing object (i.e., not in the class definition) in Python.   I understand that it's not always good to do so. But how might one do this? Chrome: remove URL from autocomplete which doesn't show up in history? I own a Nikon D40X and just the kit lens and I'm considering buying either a macro lens or some extension tubes.  I don't necessarily want to do true 1:1 macro, just some close ups of bugs, fungi and flowers. What is the relation between computational security and provable security? I read the book "Introduction modern cryptography". It gives the notion of computational security of private-key encryption at first which comes from perfect security and statistical security.     Let $(E,D)$ be an encryption scheme that uses $n$-bits keys to encrypt $l(n)$-length messages. $(E,D)$ is computationally secure if    $$E_{U_{n}}(x_{0}) \approx E_{U_{n}}(x_1)$$   And then it introduces the secure game (e.g. CPA, CCA)? I think it is a part of provable security.  "Unconditional security" (or "information-theoretic security" or "perfectly secrecy") and "computational security" are two opposite classes of security. But I do not think "computational security" and "provable security" are two independent classes of security. I know that computational security emphasizes the power of attacker is bounded (polynomial-time algorithm). And the provable emphasizes the mathematical assumptions or cryptography primitives. But it also related to the computational power. Can anyone help me identify a story about kids with silver blood? What is the best way to remove accents (normalize) in a Python unicode string? When I boot my Windows 8 laptop (see details below), it displays this message:  Recovery  Your PC needs to be repaired  A required device isn't connected or can't be accessed.  Error code: 0xc0000225  [ A text saying I should use recovery tools on my installation media to fix the issue. ]  Press Enter to try again  Press F8 for Start-up Settings  Press Esc for UEFI Firmware Settings   If I press Enter or F8, the central part of the message changes to:  The application or operating system couldn't be loaded because a required file is missing or contains errors.  File: \Windows\system32\winload.efi  Error code: 0xc0000225   I don't have a recovery disk and I have owned this computer for a year with no problems. All I did prior to this error was unistall avast and restart. I can only access UEFI Firmware Settings and have no clue what to do from there. PLEASE HELP! I'm using Google calendar, and I subscribe to my Google Calendar from multiple computers.  Whenever I set an event with (an) email reminder(s) on Google calendar, I'll get multiple emails because (1) Google calendar itself sends me the email reminder and (2) each computer that subscribes the calendar tries to send the email reminder (when the computer wakes up).  It's very annoying. How to remove all files in a directory except hidden ones? I just wanted to make some input where I press a key and the auto-repeat function engages so I don't have to press the 0 key many times to make a long number.  10000000000000000000000000000  This has always worked without fail in the past, but it's not something I do often and I'm not sure where to look next to figure out what might be preventing this.     I've toggled the sliders to change the delay for key repeat, but the only thing I can hang my hat on is that perhaps Lion disables this with the new feature where you hold down some keys (like the vowels, but also some consonants) to get alternate accented characters.  s turns into ß or ś or š and so on....  Am I missing an obvious setting, or is this something that has moved to a hidden setting or is simply a bug that these controls are still around since key repeat is now deprecated?  Comments welcome if anyone doesn't have an answer, but can provide specifics where this does work for them. I've checked two Macs so I'm guessing it's not related to keyboard type or connection method. What is the standard/recommended font to use in papers? I looked around but did not find that anyone has asked this before, but what are the fonts that are standard/recommended while writing academic reports/papers? Lorentz Invariant Integration Measure Returning from a finally block in Java I was surprised recently to find that it's possible to have a return statement in a finally block in Java.  It seems like lots of people think it's a bad thing to do as described in ''. Scratching a little deeper, I also found '' which shows some pretty horrible examples of other types of flow control in finally blocks.  So, my question is, can anyone give me an example where a return statement (or other flow control) in a finally block produces better / more readable code? What is the term for replacing a name or brand with a funny pejorative / sardonicism? What is the term for when one replaces a well-known name [(Proper) noun, company, brand, etc.] with one that tries to be funny yet pejoratively descriptive, different but similar enough that one's audience can likely understand the replacement?  For example: Whole Foods ===> Whole Paycheck; Comcast ==> Scumcast; Starbucks ==> Charbucks; Kinko's == Stinko's; eBay ==> Evil Bay  I tend to use sobriquet don't believe this explicitly implies funny as well as insulting. Moniker again is close but not specific to the above description.  There is a similar question which proposes tortonym and malapropsim, but it does not seem to settle the argument definitively:   Another answer here proposes dysphemism, but to me it isn't a full fit:  because it doesn't cover the humor aspect. Does throwing a watch into the air cause it to gain or lose time? Suppose I'm on a non rotating planet. I have two identical, perfect watches. I synchronize them. Then I throw one of them into the air and catch it. Does the one I throw into the air gain or lose time with respect to the one I was holding? As per c99 standard, size of long long should be minimum 64 bits. How is this implemented in a 32 bit machine (eg. addition or multiplication of 2 long longs). Also, What is the equivalent of long long in C++. Is it possible to make signing up gracefully fail over to logging in if the SE OpenID account exists? For most OpenID options, it doesn't much matter if you pick the "Sign up" versus the "Log in" tab on the sign in page.  Whether you have an account on the site or not, it just does the right thing. Not so if you are using the Stack Exchange OpenID service:    (Bonus bug: the reCAPTCHA box is a bit too wide for the expanded "Sign up using Stack Exchange" container.)  Since we already have collected an email and password (well, two copies of the password), could we not check to see if they match and automagically log the user into their SE OpenID?  If not, the error needs to be reworded somehow to explain that while the email might have been used to create a Stack Exchange OpenID, that doesn't mean they can't log in with that OpenID to create an account.  Counterintuitively, they need to use the  even if they've never had an account there before.  The  link adds to the confusion since it sends an email that leads off with:     Someone requested an account recovery on The Workplace Stack Exchange for jericson@stackexchange.com, but we don't have an account on this site that matches this email address.   (For people with accounts on other sites and/or Stack Exchange OpenIDs, this paragraph is followed by other instructions that would probably work if followed. By that time I imagine many users are at wit's end.)  To simplify: If a user already has a Stack Exchange OpenID (likely because they have an account on another site) they should be able to use the  to sign up for an account or there should be clear instructions on what to do next if they fail. I am trying to calculate the last two digits of $3^{400}$, but working $\bmod {100}$ is proving intractable. I did the last digit case pretty handily, and now I'm stuck at last two.