When you email a professor to inquire about an available PhD position is it a good idea to ask if they have any available projects?
When needing to ask a professor about something important and potentially delicate, what is an appropriate way to phrase the question or write the email?  Examples include:   Requesting a recommendation letter Asking for exceptions to policy (e.g., ignoring a course prerequisite, rescheduling an exam) Asking if you can do research with them, join a group, get into a program Scheduling a meeting, exam, or defense Letting them know about a change of plans Letting them know about a life event affecting your work or studies (e.g., wedding, funeral, sickness, vacation)
I am making a regex expression in which I only want to match wrong tags like: &lt;p&gt; *some text here, some other tags may be here as well but no ending 'p' tag* &lt;/p&gt;   &lt;P&gt;Affectionately Inscribed &lt;/P&gt;&lt;P&gt;TO &lt;/P&gt;&lt;P&gt;HENRY BULLAR, &lt;/P&gt;&lt;P&gt;(of the western circuit)&lt;P&gt;PREFACE&lt;/P&gt;   In the above same text I want to get the result as  &lt;P&gt;(of the western circuit)&lt;P&gt; and nothing else should be captured. I'm using this but its not working:  &lt;P&gt;[^\(&lt;/P&gt;\)]*&lt;P&gt;   Please help. How fast would the Earth need to spin for us to feel weightless? It's a classic question with many answers all over the Internet, but none here so I figured I'd ask it:  How fast would the Earth need to spin for a person (or anything for that matter) to feel weightless while on the surface at the equator?    In this situation everything on the Earth's surface would essentially be in orbit around the Earth at the radius of the Earth's surface (let us assume the atmosphere was also spun up to this angular velocity so there would be no air drag slowing things down).  Let us also say by "surface of the Earth" we mean mean sea level.  You can decide for yourself if/how to factor in the bulge of the Earth.  You can assume that the Earth somehow is able to maintain its present shape while spinning up.  Any comments on whether an Earth spinning slightly faster than this speed will cause it to break apart or not will also be appreciated. How would you count occurrences of a string (actually a char) within a string? I am doing something where I realised I wanted to count how many /s I could find in a string, and then it struck me, that there were several ways to do it, but couldn't decide on what the best (or easiest) was.  At the moment I'm going with something like:  string source = "/once/upon/a/time/"; int count = source.Length - source.Replace("/", "").Length;   But I don't like it at all, any takers?  I don't really want to dig out RegEx for this, do I?  I know my string is going to have the term I'm searching for, so you can assume that...  Of course for strings where length > 1,  string haystack = "/once/upon/a/time"; string needle = "/"; int needleCount = ( haystack.Length - haystack.Replace(needle,"").Length ) / needle.Length; Automatic left and right commands Do supply lines share stored items between settlements? I can setup a supply line to share crafting material between settlements. But does this also share any buildings/crafted entities I stored in the settlement?    If not, is there some other way to move them between settlements? How do I get breading to stick to pre-cooked chicken for pan frying? I was browsing through the apt folder to try my proxy settings and I was unable to find the apt.conf file in Ubuntu 11.04. Is there any alternative file for it?  Adding proxy settings to 99-synaptic in apt.conf.d does not help as it gets overwritten everytime I restart the system. How to add coloured line before caption? Will an iOS reinstall make a jailbroken iOS device "unjailbroken" and “supported by Apple” again? Will an    Work on any jailbroken-iPhone and Make a jailbroken-iPhone "unjailbroken"? Make a jailbroken-iPhone "supported by Apple"?   Similarly, does such an iOS reinstall reset the iPhone (jailbroken or not) back to a "clean, factory default" state?  My near-term purpose: I have an iPhone 4S running iOS 5.1 I'd like to jailbreak to at least install better Google Voice integration like . TikZ: Named nodes in nested `pic`s I am using the new TikZ/PGF 3.0 pic feature.  I use them heavily, including using a pic inside another pic.  The problem is that Tikz sometimes cannot find the node names of nested pics.  I expect the following to work:  \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \tikzset{complex/.pic={   \node(re) {re};   \node[right=0mm of re](im) {im}; }} \tikzset{su3v/.pic={   \path pic(c0) {complex};   \path pic[right=1mm of c0im](c1) {complex};   \path pic[right=1mm of c1im](c2) {complex}; }} \tikzset{spinor/.pic={   \path pic(v0) {su3v};   \path pic[below=2mm of v0c2re](v1) {su3v};   \path pic[below=2mm of v1c2re](v2) {su3v};   \path pic[below=2mm of v2c2re](v3) {su3v}; }}  \path pic {su3v};       % Works \path pic(name) {su3v}; % ! Package pgf Error: No shape named namec0im is known. \path pic {spinor};     % ! Package pgf Error: No shape named v0c1im is known. \end{tikzpicture} \end{document}   What is wrong here? When users create a node, they should be redirected to a payment page; if payment is successful, the user can see the node.  Is there any way to achieve this? My professor was lecturing today and he made this statement which I was unable to verify.  (I worded it nicer)  There is no map which is both smooth and onto from $S^1$ to $S^1$$\times$ $S^1$.  When he said this he included the original "one can clearly see" statement which is usually when the most people seem to be confused in his class.  Thus, I was hesitant to ask why.  So, please no one lecture me on the fact that I should have asked anyway.  If it is really that obvious, I would rather look stupid here than in class :) Assume $x \in \mathbb{R}$ and $(x + \frac{1}{x}) \in \mathbb{Z}$.   Use Induction to prove that for all $n \in \mathbb{N},~ (x^n + \frac{1}{x^n}) \in \mathbb{Z}$.  I'm not sure how to use the information given to prove the induction step. What I have so far is.  $P(n) : (x^n + \frac{1}{x^n}) \in \mathbb{Z}$  Base Case Then $(x^0 + \frac{1}{x^0}) = 2 \in \mathbb{Z}$  Induction Hypothesis: $x^k + \frac{1}{x^k}\in \mathbb{Z}$  Want to prove: $x^{k+1} + \frac{1}{x^{k+1}} \in \mathbb{Z}$  My first step was  $x^{k+1} + \frac{1}{x^{k+1}} = x \cdot x^k + \frac{1}{x} \cdot \frac{1}{x^k}$ Missing vertices in Edit Mode How can I put the computer to sleep from Command Prompt/Run menu? Continuous function on closed unit ball Take a continuous mapping $f: \bar{B^{n}} \rightarrow \bar{B^{n}}$, where $\bar{B^{n}}$ is a closed unit ball in $\mathbb{R}^{n}$. Assume that $f(x) \neq x$ for every $x \in \bar{B^{n}}$. Define another function $r$ by following the directed line segment from $f(x)$ through $x$ to its intersection with $\partial B^{n}$, and let the intersection point be $r(x)$. Is it immediately evident that $r$ is a continuous function? Is so how does it follow? Thanks. What is the name of the horizontal division line? What is the name of the horizontal division line? Is there a name for it other than "division line? Minecraft directory doesn't have a 'Resource Packs' folder? I go into my .minecraft folder and there's Assets and all the other files and folders, but no resource packs folder?  If I create one manually, and place the textures inside, they don't show up in-game.  I'm on a Mac. An idiom for deriving pleasure from another's suffering I believe it is what the Germans call "". English itself has no such equivalent word. (Although it has been adopted as a .)  Does an idiom exist that describes it? What can cause "System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out"? What else, other than insert/update/upsert/delete, can cause "System.CalloutException: You have uncommitted work pending. Please commit or rollback before calling out"?  I've search the debug logs multiple times, and there absolutely is not a DML statement executed between the startTest and the failing callout.  Are there any other commands, or perhaps another callout (even though it's only an inquiry), that can cause this?  Does anyone know how to get around this problem?