Can a student apply for a new PhD (in the US or UK) while he is currently enrolled into a PhD (in the US)?
Is transferring to another university an option for an unhappy PhD student?
I read it in Reader's Digest in the seventies. Archaeologists interpreted everyday objects as the TV set and the toilet seat to be sacred and precious. Multivariable limit proof: $\lim\limits_{(x,y)\rightarrow (0,0)}\frac{\left|x\right|^a\left|y\right|^b}{\left|x\right|^c + \left|y\right|^d} = 0$ What is the most practical way to implement camera/viewport to a 2D-game?  I've read, that I should store the object world position instead of position relative to the screen?  Current situation:  I have implemented a simple 2D-game where I load objects and levels from XML-files. Currently the level XML-file looks like this:  &lt;map&gt;    &lt;tile obj="ground" x="0" y="555" /&gt;    &lt;tile obj="ground" x="16" y="555" /&gt;    &lt;tile obj="ground" x="32" y="555" /&gt;    ... &lt;/map&gt;   All objects have a 2d-vector "position" storing their current location on the screen.  What I want it to be:    In the picture:   Camera is either 800x600 or 640x480 Blocks and sprites are 16x16 pixels. World size may vary The coordinates probably should be normalized relative to the world, not to the screen? Viewport position relative to player's x, y and moves when the player reaches camera dead zone (similar to ).   I'm asking pseudo examples / articles, but if you need to know what I'm using for the development: SDL &amp; C/C++. How to read and write excel file Endpoint of a line knowing slope, start and distance In a Cartesian system, I've got the slope, start point and distance of a line segment.  What's the formula to find the endpoint? Is there an option to output a manual page in a different language? I don't want to change the computer language completely, but only specific manual pages. For example  $ man -English man Man is a manual program … $ man -Russian man Инструцтия для Unix, BSD и Linux. … I tried to upgrade from Ubuntu 16.04 to Ubuntu 18.04. First, after downloading and installing of packages, I was unable to login. Login screen hanged completely and it showed Failed to authenticate. But then I logged into tty1 and then logged in Ubuntu. It was saying that I am in Ubuntu 18.04. Then it asked for reboot. So I rebooted Ubuntu from terminal. It got stuck at something like /dev/sda4 : Cleaning files. After trying for a few times, I got into tty1 and here I logged in as root user and tried to update and upgrade. But now I am getting errors like unmet dependencies and broken packages. I have done sudo dpkg -- configure -a. I don't want to do a reinstall of Ubuntu. How do I get access to my Ubuntu Desktop? Why does signing on to one site not sign me on to all of them? I've seen this question asked 3 times, but in none of those threads did I find a satisfactory answer.  I'm not asking about reputation: it makes sense that different sites should have different reputations.  However, consider the StackExchange drop-down menu at the top left of the screen.  When looking through the "Hot questions", the links are often to sister websites of StackExchange (programmers.stackexchange i.e.).  It doesn't make sense to me that if I go to one of those sister sites, I'm no longer logged in.  I feel like it's counterintuitive to click a link to go answer a question, only to find that you can't answer that question until you log in.  What is the reason for this?  Is there an option to do as I'm suggesting? Does $\int_{0}^{\infty}\frac{dx}{1+(x\sin5x)^2}$ converge? I would like your help with deciding whether the following integral converges or not:  $$\int_{0}^{\infty}\frac{dx}{1+(x\sin5x)^2}.$$  I tried to compare it to other functions and to change the variables, but it didn't work for me.  Thanks a lot! Why is the nucleus of an Iron atom so stable? Lighter nuclei liberate energy when undergoing fusion, heavier nuclei when undergoing fission.  What is it about the nucleus of an Iron atom that makes it so stable?  Alternatively: Iron has the greatest nuclear binding energy - but why? What do the .eh_frame and .eh_frame_hdr sections store, exactly? Renting a car in Ireland when under 25? My friend and I are planning a vacation to Ireland later this year. We'll be there for a week, flying into Dublin and then renting a car and driving around the country.  Both of us are 23. Are there any age restrictions on renting cars in Ireland? What would be the cheapest/best option for us? Too much memory getting used I have been feeling this way for a while, looking at task manager mentally ballparking how much physical memory should be in use, and noticing a large disparity. I finally got around to measuring it. Taking the results of tasklist and adding, gave about 3.87 GB. Task manager told me I was using 4.6 GB of memory. This seems like a large disparity. Where did it go?  EDIT: So its clear, it is not going to prefetch. It has also been suggested that its part of the OS, but not part of any of the system processes. If this is true, please find a way to get the OS to tell me how much memory is getting used. Since I want to find out where the memory went, asking me to look at the difference does nothing for me.  EDIT 2: It is not the following:   The kernel The cache Hardware reserved memory   Picture of resources taken up. Not quite sure what it will do but... Shapefile: "table1.shp"   Field name: "Name" Field name: "Result"   Flat file: "referenceTable"   Field name: "STREET" Field name: "AKA"   I need to compare the value "Name" in "table1.shp" to the value "STREET" in "referenceTable"  If the values are the same then put the "AKA" value into the "Result" in "table1.shp"     Here is my code.  I got stuck on accessing the elements from the array  import arcpy, os, sys, string from array import *   table1 = "G:\\xStreetNew\\table1.shp" table1_column = ['Name', 'Result'] referenceTable = "G:\\xStreetNew\\Test.gdb\\referenceTable" referenceTable_column = ['STREET', 'AKA']  referenceTable_List = [] with arcpy.da.SearchCursor(referenceTable, referenceTable_column) as rCur: for r_row in rCur:     reference_row = r_row[0].split(",")     referenceTable_List.insert(0,reference_row) ##print sorted(referenceTable_List)  Table1_Update_Cursor = arcpy.da.UpdateCursor(table1, "Name") for row in Table1_Update_Cursor:   if row[0] == None:   row[0] = row[0] else:   row[0] = row[0].replace(";",",")   Table1_Update_Cursor.updateRow(row)  table1_List = [] with arcpy.da.SearchCursor(table1, table1_column) as tCur: for t_row in tCur:     row = t_row[0].split(",")     table1_List.insert(0,row) ##print sorted(table1_List)  Table1_row = len(table1_List) Table1_column = len([table1_List]) ref_row = len(referenceTable_List) for i in range(0,Table1_row):  #Table Row   for ii in range(0,Table1_column):   #Table Column     print table1_List[i][ii]   Below was my old post.  Sorry for the confusion.  I have a shapefile named "table1.shp".     I would like to get all values from fielname "Name" from this table and put them into a list. Able to output each element from the list     So far, I'm able to create a list but not too sure how to get to value "AVENUE 33" or "CHAPMAN ST"  This is my code:  import arcpy, os, sys, string from array import *   table1 = "G:\\xStreetNew\\table1.shp" referenceTable = "G:\\xStreetNew\\Test.gdb\\referenceTable" cursor = arcpy.da.UpdateCursor(table1, "Name") for row in cursor: if row[0] == None:     row[0] = row[0] else:     row[0] = row[0].replace(";",",") cursor.updateRow(row) table1_column = ['Name'] table1_curObj = arcpy.da.SearchCursor(table1, table1_column) table1_List = [] for row in table1_curObj:    table1_row = row[0].split(",")    table1_List.insert(0,table1_row)    print table1_List[0] How to calculate the difference between two dates using PHP? Has the Doctor’s memory been reset? At the end of The Time of the Doctor, it is shown that Matt Smith has received an entire new regeneration cycle and using it he regenerates into Peter Capaldi. Capaldi's first question to Clara is about how to fly the TARDIS. Does this mean there has been a memory reset for the Doctor?  If so, has he forgotten his true name?  If he has forgotten his true name, then he can't bring back the Time Lords now can he? Dollar Sign corrupts question In  my question () contains a "$" in a quoted section of the question.  Originally I had a second "$" in a second quoted  section of the same question.    However when I did this the second $ seemed to trigger a style that made the text italic and lost spacing between words.  I took out the second "$" and instead emphasized it with the word "dollars" which solved the immediate problem.  However, in the listing of the question, (not the question itself) the same thing happens after the first "$".  The summary shows the text without spaces between words and in italic.  Seems like a bug.  Below is a verbatim copy/paste of the original issue (two dollar signs):    I was able to find a small ESC for about $12 off of ebay.  If you were designing a robot, would you see that and think?       $12 bucks for an ESC that connects to simple pulse-wave interface -   sign me up!   Or would you think:     $12 just to control a motor? I could throw together an H-bridge for   $0.50 and be done with it.   My robot in particular actually has two motors and therefor $24 to control the two of them.  But the interface is really easy (plus has the added advantage of being R/C vs computer controlled with a simple change of connectors.  Which way would you go? What is butterfly lighting, and when do I use it? I often hear the term 'Butterfly Lighting' used when discussing high-fashion and glamor photography. How do I set up Butterfly Lighting, and when do I use it? What are Harry, Ginny, Ron and Hermione's professions? After the end of the Second Wizarding War Harry Potter later married Ginny Weasley, and the couple had three children of their own: two sons James Sirius, Albus Severus, and one daughter Lily Luna. What are Harry and Ginny's professions? I heard that Harry became an Auror, but what about Ginny, Ron, and Hermione? From what items can a wizard learn his spells? I'm now wondering after googling for a while, what are the different sources a Wizard can learn his spells from? Is it only limited to scrolls and tomes, or can a Wizard learn spells from other magic items?  The following quotes are from the PHB, page 114 Your spellbook      You might find other spells during your adventures. You could discover a spell recorded on a scroll in an evil wizard's chest, for example, or in a dusty tome in an ancient library.      Copying a Spell into the Book   When you find a wizard spell of 1st level or higher, you can add it to your spellbook if it is of a level for which you have spell slots and if you can spare the time to decipher and copy it.      For each level of the spell, the process takes 2 hours and costs 50gp. The costs represents material components you expend as you experiment with the spell to master it, as well as the fine inks you need to record it. Once you have spent this time and money, you can prepare the spell just like your other spells.   The way this is worded and considering the few examples we're given, shouldn't it be possible to learn a spell from more than just written sources?  An example would be Wand of Magic Missile: would it be possible for a Wizard to learn the spell Magic Missile by studying the spell when used by the item and write down his research and thus learning how to use the spell on his own and eventually master it?