I have serious doubts about how to ask PhD info to a professor, via email. Is there a possibility that a professor don't want to answer me? What I have to avoid to increase the possibility to obtain a response from them? When I see a site announcing a PhD open positions and then the form to send an email, only to ask more info, I shortly describe myself, my skills, my MSc and then I ask info. Maybe I am wrong? Any suggestions?
I know many master's students who get an opportunity to talk to their potential PhD advisors well before applying. In most cases this opportunity is available by the professors with whom they worked for their master's. Moreover, there are many others who establish a contact with professors by mailing them and enquiring about PhD vacancies.   My questions are:   How important is knowing an advisor prior to applying for PhD?  Does an email interaction play a vital role when the department makes its admit decisions? If email contact is important, can a student send out mails to 2-3 professors (working in the same area) in case one of them does not bother to reply? To sum up, is applying of any use (especially in top universities) when you have no contacts and only your credentials to bank on?
Recursively rename all the files without changing their extensions? How to recursively rename all the files in several layers of subdirectories without changing their extensions?  Below's a toned down version (to save room) of what I've got.  For argument's sake, I want all the files to have the same title, yet retain their original extension. There's never more than a single file per directory, so there's no chance of doubling up.  For simplicity, we'll just call them all foo, followed by their current extension.    So just to clarify: Asset\ 1.pdf, Asset\ 1.png, Asset\ 1@4x.png, Asset\ 1.svg Will become: foo.pdf, foo.png, foo.png, foo.svg And so on in that fashion.    I would typically use parameter expansion and a for loop, like:    for f in */*; do mv "$f" "${f%/*}/foo.${f##*.}"; done     But it's not recursive. So I would prefer to use something with find..-exec or similar.    ~/Desktop/Project/Graphics/ ├── Huge │   ├── PDF │   │   └── Asset\ 1.pdf │   ├── PNG │   │   ├── 1x │   │   │   └── Asset\ 1.png │   │   └── 4x │   │       └── Asset\ 1@4x.png │   └── SVG │       └── Asset\ 1.svg ├── Large │   ├── PDF │   │   └── ProjectAsset\ 2.pdf │   ├── PNG │   │   ├── 1x │   │   │   └── ProjectAsset\ 2.png │   │   └── 4x │   │       └── ProjectAsset\ 2@4x.png │   └── SVG │       └── ProjectAsset\ 2.svg ├── Medium │   ├── PDF │   │   └── ProjectAsset\ 3.pdf │   ├── PNG │   │   ├── 1x │   │   │   └── ProjectAsset\ 3.png │   │   └── 4x │   │       └── ProjectAsset\ 3@4x.png │   └── SVG │       └── ProjectAsset\ 3.svg ├── Small │   ├── PDF │   │   └── ProjectAsset\ 4.pdf │   ├── PNG │   │   ├── 1x │   │   │   └── ProjectAsset\ 4.png │   │   └── 4x │   │       └── ProjectAsset\ 4@4x.png │   └── SVG │       └── ProjectAsset\ 4.svg └── Tiny     ├── PDF     │   └── Asset\ 5.pdf     ├── PNG     │   ├── 1x     │   │   └── Asset\ 5.png     │   └── 4x     │       └── Asset\ 5@4x.png     └── SVG         └── Asset\ 5.svg  30 directories, 20 files Symbols of derivatives KKT points and nonlinear optimality (theory) I have some questions about Karush Kuhn Tucker conditions. I am not clear about the theory. There are plenty of theorems and I am confused with it. Let us say we have the following problem: We have a general problem, not a convex problem. $$\min f(x)\\g_{j}(x)\le 0,\forall j\in J\\h_{k}(x)=0,\forall k \in K. $$ I will solve it.....Lagrange function, verifying primal feasibility, dual feasibility and complementary slackness and I will get some KKT points. Now what is the conclusion?  If I get no KKT point, can I say that the problem has no solution or what is the conclusion? If I get only one KKT point, is it a local minimum or even a global minimum? If I get more KKT points, what is the conclusion? In which case I will verify SOSC condition? If I get more KKT points or even for one point is it necessary? And the conclusion is what? The KKT points which satisfies the SOSC condition are strick local minimum and the poins which does not satisfy it are not the solution of the problem?  I am so sorry for so many questions, but any help would be very appreciated. Thank you very much in advance. As I was taught in school and , the T ending sound of words is unvoiced and should be pronounced with air, but recently I met a friend from the US, those aired T sounds were missing from her speaking, like "hat", "hot", "right". She speaks like /hæ/, /hɑː/,/raɪ/.   So I wonder if it's common to miss those sounds for Americans? Windows & Ubuntu dual boot.No menu to choose OS? I just installed Ubuntu alongside Windows 7. Now I cant boot Windows 7 because it automaticaly boots Ubuntu without displaying boot menu. How can I get menu with options to choose which Os to boot? Can anyone help? How can I add a new user as sudoer using the command line? Foolproof way to ensure Google news pulls the correct image for its thumbnails? Google news results have an acompanying thumbnail next to articles that show up in the results.    If Google's crawler can't find a thumbnail to pull from our site, it uses its next best guess from another site, therefore linking the image to another site but still uses our headline.  Example:  Headline from Reuters, Image from Livemint:   Our pages absolutely have images, they are not massive in file-size or dimensions, yet we are not having them pulled / crawled correctly.  We have read up on the suggestions from Google, and from others around the web and nothing is panning out.  Has anyone had any experience where they can ensure Google news will pull a thumbnail of our choosing? How do i renable connecting a network drive using SMB1 since Windows 1709 I find today that I can no longer mount my Netgear ReadyNas drive because apparently it is using SMB1 and Windows 10 have disabled since release 1709. This is very problemaic because I need to access these files and because I have lost the admin password for the ReadyNas itself so I cannot login in order to update/reconfigure it to use SMB2 instead.  Microsoft refers me  to  which in turn refers me to  if I really want re-enable SMB1  And I successfully did re-enable SMB1 by running  Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol   from Powershell as Adminstrator.  However even after reboot I still cannot re-establish connection to my Netgear from Windows Explorer, it gives the same error  What else do I need to do ?  PS C:\WINDOWS\system32&gt; Get-WindowsOptionalFeature –Online –FeatureName SMB1Protocol   FeatureName      : SMB1Protocol DisplayName      : SMB 1.0/CIFS File Sharing Support Description      : Support for the SMB 1.0/CIFS file sharing protocol and the Computer Browser protocol. RestartRequired  : Possible State            : Enabled CustomProperties :                    ServerComponent\Description : Support for the SMB 1.0/CIFS file sharing protocol and the Computer                    Browser protocol.                    ServerComponent\DisplayName : SMB 1.0/CIFS File Sharing Support                    ServerComponent\Id : 487                    ServerComponent\Type : Feature                    ServerComponent\UniqueName : FS-SMB1                    ServerComponent\Deploys\Update\Name : SMB1Protocol   Solution  Thanks Bob, SMB 1.0/CIFS File Sharing Support was enabled but within it SMB 1.0 Client was not enabled, checking that box and rebooting fixed the issue. I haven't had the chance to take any serious low-level programming courses in school. (I know I really should get going on learning the "behind-the-scenes" to be a better programmer.) I appreciate the conveniences of Java, including the ability to stick anything into a System.out.print statement. However, is there any reason why you would want to use System.out.printf instead?   Also, should I avoid print calls like this in "real applications"?  It's probably better to  to print messages to the client's display using some kind of UI function, right? Fourier transform of a radial function Consider a function $f \in L^2(\mathbb{R}^n)$ such that $f$ is radial. My question is, is the Fourier transform $\hat{f}(\xi)$ automatically radial (I can see it is even in each variable $x_i$), or we need some conditions on $f$? Thanks for your help. Show that $R/I\otimes_R R/J\cong R/(I+J)$ I was loading an image resource with the following code and it works fine from my dev environment (netbeans) but threw an exception as soon as it ran from the desktop.  new ImageIcon(Images.class.getResource("images/highlighter24.gif"));   I traced it down to my file having different case than in the code.  Fine, my bad, but why the inconsistent behavior?  Gremlins?  Note: I'm running on windows before you ask. Similar to pissing contest - but not in an aggressive manner. Just each guy attempting to out talk one another to show they are the leader / in charge.   Sample sentence:     Well, that meeting was more of a X than being productive with Greg trying to show he was in control. List sorting by custom field I dont know how to sort a list of SObject Case.  I have a List&lt;Case&gt; newCases which i iterate over in for cycle, where i save Cases to my new List&lt;Case&gt; casesList.  for (Case newCase : newCases) {             if(newCase.Case_Content__c == '111' &amp;&amp; newCase.Status == '24'){                 String cuid = newCase.CUID__c;                 cuidSet.add(cuid);                 casesList.add(newCase);                 casesList.sort(); //TODO sorting by CUID__c             }         }   What i need to do is, to sort this new list by field CUID__c. So the Cases with same CUID are together.  Thank you for any help :) How to run SuperHot at full screen on a Mac? I have SuperHot downloaded through Steam, and am attempting to play it on my 1080p external monitor. It launches , and I don't see a setting to adjust the resolution or switch out of windowed mode.  I'm running a 15" retina Macbook Pro with OS X 10.11.3. How to remove comma between taxonomy terms? I style my taxonomy terms as boxes, so I don't need comma between them.  Could somebody give me any advice? Why can "find" not be used in PowerShell? What does find.exe find objectionable about the parameters when it is used in a PowerShell console shell?  These commands work as expected in a cmd.exe shell:  PS C:\Windows\System32\WindowsPowerShell\v1.0&gt; find /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0&gt; find /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0&gt; C:\Windows\System32\find.exe /i "System.Diagnostics.Process" *.ps1xml FIND: Parameter format not correct PS C:\Windows\System32\WindowsPowerShell\v1.0&gt; C:\Windows\System32\find.exe /i "System.Diagnostics.Process" .\DotNetTypes.format.ps1xml FIND: Parameter format not correct Redshifting of Light and the expansion of the universe What’s (not) spam? Somebody asked the following :    Clearly this is just a troll post so I (and other users) flagged it as spam. The spam flag was subsequently disputed (which I think simply means that a moderator rejected it):    Huh? Puzzled, I took another look at the list of possible flagging reasons:     I am flagging this question because         it is spam   This question is effectively an advertisement with no disclosure. It is not useful or relevant, but promotional.   it is offensive, abusive, or hate speech   This question contains content that a reasonable person would deem inappropriate for   respectful discourse.   it is a duplicate...   This question has been asked before and already has an answer.   it should be closed for another reason...   This question does not meet this site's standards and should be closed.   it is very low quality   This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed.   other (needs ♦ moderator attention)   This question needs a moderator's attention. Please describe exactly what's wrong.      Of these, only a few are applicable at all: “spam”, “should be closed for another reason”, “low quality” and “requires moderator attention”.  But:   it shouldn’t be closed (it has no value – it should be deleted), it’s not “low quality” (the description seems to fit actual, albeit bad, questions), and it doesn’t require moderator attention (I certainly didn’t want to bother a mod with this worthless post).   So I still think “spam” is the most fitting reason. Maybe it would help to have a more apt reason “troll post”, or maybe we could explicitly subsume this under one of the other points? This is a follow up question to . My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would like to achieve is extending the code from Herbert and hyperlink the title of the entry with the following priority: 1. DOI, 2. URL, 3. ISBN/ISSN. What I mean is, if both DOI and URL is available, use DOI. If URL and ISBN is available use URL. If only ISBN is available use that.  There are two further isses:    The URL field might contain several URLs, which are just seperated by a white space. In that case just the first URL should be used.  Herbert's code just extends to articles. I would like to extend this to all entry types.   The code from Herbert to Hyperlink the Title with DOIs is:   \newbibmacro{string+doi}[1]{%   \iffieldundef{doi}{#1}{\href{http://dx.doi.org/\thefield{doi}}{#1}}} \DeclareFieldFormat{title}{\usebibmacro{string+doi}{\mkbibemph{#1}}} \DeclareFieldFormat[article]{title}{\usebibmacro{string+doi}{\mkbibquote{#1}}}   This far surpasses my skill, so it would be great if someone could give me some guidance how to achieve that.