PhD Applications: Can a good academic record in my master's compensate for a horrible UG academic record?
How does the admissions process work for Ph.D. programs in the US, particularly for weak or borderline students?
Non-Affine image transformations in .NET Are there any classes, methods in the .NET library, or any algorithms in general, to perform non- transformations? (i.e. transformations that involve more than just rotation, scale, translation and shear)  e.g.:      (source: )      Is there another term for s? SQL Query; Admin Log System; Foreign Keys; Retriving multiple rows form different tables at once Table A (users)  id     | name   | ip 52433    Yashas   1.1.1.1 512      Admin    5.6.7.8   Table B (admin_record)  id    | admin | time    | date    | reason | action  52433   512     2312352   1213213   Test     WARN   id is FOREIGN key  Table B keeps a log of all actions an administrator takes on his users. And the table A stores the account information of the users &amp; administrators.  I am trying to display a list of actions taken by a administrators on a user.   I want to write a query which gets me all the rows of table B where id = fixed number.  Here is what I want to display:  "Administrator1 [Name]" took action on "User Name" for "[Note]" on XX/XX/XXXX. "Administrator2 [Name]" took action on "User Name" for "[Note]" on XX/XX/XXXX. "Administrator3 [Name]" took action on "User Name" for "[Note]" on XX/XX/XXXX.   All I have is the user's id using which I need to obtain all the entries in the log along with the administrator names. I need to obtain the admin's name, users name and all the contents of table B related to a particular user in one single query. If possible, I want the to change the field name(not literally change, but want the SQL server to send the data with new field names to separate admin name &amp; user name) of the admin's name to admin_name and user's name as . I mean something like this  SELECT users.name AS admin_name WHERE users.id = %i  AND SELECT users.name AS user_name WHERE users.id = %i   (the query isn't correct,it us just an example to show what I am trying)  Progress so far:   SELECT player.name, player.ip, admin.name, record.date, record.time, record.action, record.reason FROM admin_record AS record JOIN users AS player ON player.id = record.id JOIN users AS admin ON admin.id = record.admin WHERE player.id=%i   where admin_record is table B &amp; users is table A. How can I prevent my Wi-Fi connection from glitching? Occassionally my Wi-Fi goes into this weird state where the phone "thinks" I'm connected, but the connection simply doesn't work.  Apps still seem to think I have connectivity, though they can't actually connect to anything, and the status bar still shows that I'm connected to Wi-Fi.  Turning Wi-Fi off and back on resolves the issue, and this occurs on multiple networks.  It seems sort of like whatever service manages the Wi-Fi connection gets killed occasionally.  It usually happens when I've been playing a game (that doesn't access the Internet) for a while or if my phone's been sitting for a while; it never happens while I'm actively using the connection.  I have my Wi-Fi timeout set to "Never" and the normal timeout isn't the issue since my phone regularly lasts several hours without the Wi-Fi dying.  Sometimes it dies a couple times in a day, and recently I went a week or so without it happening.  How can I fix this or prevent the service from being killed (if that's indeed what's happening)?  Shouldn't that be a system process that never gets killed?  (Does Android ever kill system processes other than when they crash?)  Could it be related to TouchWiz?  I have an SGS Vibrant running 2.2 (Bionix NextGen v1, but this has occurred on multiple ROMs). Virtual Host Setup Redirecting Request to Local IP address Given a file L with one non-negative integer per line and text file F, what would be a fast way to keep only those lines in F, whose line number appears in file L?  Example:  $ cat L.txt 1 3  $ cat F.txt Hello World Hallo Welt Hola mundo  $ command-in-question -x L.txt F.txt Hello World Hola mundo   I'm looking for a command that can handle a file L with 500 million or more entries; file L is sorted numerically.  Note: I'm halfway through an implementation for a command-in-question but I just wondered, whether one might be able to use some Unix tools here as well.    Update: Thank for all the answers, I learned a lot today! I would like to accept more one answer, but that's not possible. Is there any hint of of the first Wizarding War being an international event? I see this often in the build scripts of projects that use autotools (autoconf, automake).  When somebody wants to check the value of a shell variable, they frequently use this idiom:  if test "x$SHELL_VAR" = "xyes"; then ...   What is the advantage to this over simply checking the value like this:  if test $SHELL_VAR = "yes"; then ...   I figure there must be some reason that I see this so often, but I can't figure out what it is. How can I animate the Restrict Visibility property of an object? I've been trying to create an animation where an object blinks on and off.   For example, I have a Cube and I set a keyframe on it's Restrict Visibility icon (the "eye" icon) with I, then I toggle off that "eye" so my cube doesn't show in the Viewport and again I press I to record that keyframe. Then, when I preview the animation in the Viewport, I see my cube appears and then disappears like I want, but when I render it, the cube does not disappear at all.  What am I doing wrong? How (and why) use stderr for both reading and writing? According to , less reads navigation commands from stderr if it's not able to open /dev/tty.  This seems puzzling, since I've never seen anything write to another program's stderr stream, and I don't know how I would even accomplish that.  What is the purpose of stderr being open for both reading and writing? And if this is useful, how do I make use of it on modern systems? (Is there some arcane syntax to pipe something into stderr instead of stdin, for instance?) Usage of that: There are many reasons [that] I am confident [that] I will excel at this job I always find it hard to see when it's best to use &quot;that&quot;. Which of these sounds best?  There are many reasons I am confident I will excel at this job. There are many reasons that I am confident I will excel at this job. There are many reasons I am confident that I will excel at this job. There are many reasons that I am confident that I will excel at this job.  Are there ways of looking at this that I can apply elsewhere? Is there a completely different formulation that works better? Where are Time Machine local backups/snapshots stored? Out of curiosity, I'm wondering where in the file system Time Machine stores its local backups/snapshots. In his lectures on String Theory (), Tong gives a proof of the Weyl anomaly, using equation $(4.36)$. It seems wrong to me.  Here he uses the OPE between the stress-energy tensors $T_{zz}T_{ww}$  obtained when trace vanishes, i.e. $T_{z \bar{z}} = 0$: this implies that they are holomorphic functions $T_{zz} = T_{zz}(z)$. But in this proof he starts from the fact that $T_{z \bar{z}} \neq 0$ (we want to proof this thing after all) and so $T_{zz}$ is not a holomorphic function anymore! In the OPE $(4.36)$ I should have also terms with $(\bar{z}- \bar{w})$.  I can't also understand why he uses in the rest of the proof only the singular term $(z-w)^{-4}$, neglecting the other ones $(z-w)^{-2}$, $(z-w)^{-1}$.  (The same proof is given in these lectures  on conformal field theory, equation $(6.9)$).  I'll be really thankful if someone could explain me this proof :) Why don't we include $\rho g h$ in a hydraulic jack below? I need the cs_CZ.ISO8859-2 locale to exist on Ubuntu 12.04 so a specific unit test can pass. The test makes the following call:  std::locale("cs_CZ.ISO8859-2")   On my OS X Lion install, this locale does exist, so the call to std::locale should work:  $ locale -a | grep cs cs_CZ cs_CZ.ISO8859-2 cs_CZ.UTF-8 $   However, on my Ubuntu 12.04 install, there is only a UTF8 variant, and no ISO8859-2 version of the cs_CZ locale, despite having installed language-pack-cs:  $ dpkg -l | grep language-pack-cs ii  language-pack-cs                       1:12.04+20120417                        translation updates for language Czech ii  language-pack-cs-base                  1:12.04+20120417                        translations for language Czech $ locale -a | grep cs_ cs_CZ.utf8 $   The unit test fails on this machine. Running the unit test under strace shows that it really is looking for the ISO8859-2 variant and not finding it anywhere:  open("/usr/lib/locale/cs_CZ.ISO8859-2/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/cs_CZ.iso88592/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/cs_CZ/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/cs.ISO8859-2/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/cs.iso88592/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/cs/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs_CZ.ISO8859-2/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs_CZ.iso88592/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs_CZ/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs.ISO8859-2/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs.iso88592/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/share/locale-langpack/cs/LC_CTYPE", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)   I know absolutely nothing about locales, i18n, etc. However, I would like to get this test passing, and changing the test is not an option. If anyone can offer any insight into how to make this locale exist on Ubuntu 12.04 I would appreciate it greatly. Let $G = (\mathbb{C} - \{0\}, \cdot)$, a subgroup $U = \{x+yi \mid x^2 + y^2 = 1\}$. Use the Fundamental Theorem to show that $G/(\mathbb{R}_{&gt; 0},\cdot)$ is isomorphic to $U$ where $\mathbb{R}_{&gt; 0}$ denotes the positive reals.  I am struggling to find the correct mapping from $G$ to $U$ that results in the the kernel being the nonnegative reals under multiplication. I'm hoping to get help with this mapping then I can show it is a homomorphism and onto and can use the Fundamental Theorem. How can I handle autocorrelated residuals? In the Breusch-Godfrey test we use a model  $$ e_t = \varepsilon_t + \beta_1 \varepsilon_{t-1} + \dots+ \beta_p \varepsilon_{t-p}. $$  If we reject the null hypotesis of no serial auotocorrelation of the error, it means that the residuals follow an auto-regressive model of order ($p$).  If I want to avoid this problem, I must add a certain number of lags of the response variable $y$ as regressors in the original model. However, in some cases this method is not useful.   Are there other options to consider? When and why will a compiler initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete? I know that the compiler will sometimes initialize memory with certain patterns such as 0xCD and 0xDD.  What I want to know is when and why this happens.  When  Is this specific to the compiler used?  Do malloc/new and free/delete work in the same way with regard to this?  Is it platform specific?  Will it occur on other operating systems, such as Linux or VxWorks?  Why  My understanding is this only occurs in Win32 debug configuration, and it is used to detect memory overruns and to help the compiler catch exceptions.  Can you give any practical examples as to how this initialization is useful?  I remember reading something (maybe in Code Complete 2) saying that it is good to initialize memory to a known pattern when allocating it, and certain patterns will trigger interrupts in Win32 which will result in exceptions showing in the debugger.  How portable is this? "is a field and used like a type" error Traces of all positive powers of a matrix are zero implies it is nilpotent Let $A$ be an $n\times n$ complex nilpotent matrix. Then we know that because all eigenvalues of $A$ must be $0$, it follows that $\text{tr}(A^n)=0$ for all positive integers $n$.  What I would like to show is the converse, that is,      if $\text{tr}(A^n)=0$ for all positive integers $n$, then $A$ is nilpotent.   I tried to show that $0$ must be an eigenvalue of $A$, then try to show that all other eigenvalues must be equal to 0. However, I am stuck at the point where I need to show that $\det(A)=0$.  May I know of the approach to show that $A$ is nilpotent? In the header of my document I set the maximal author names to 2:  \usepackage[style=authoryear-icomp, maxbibnames=9, maxcitenames=2, backend=biber]{biblatex}   Now, when I cite texts with two authors, LaTeX gives me the following:     (Author_A/ Author_B 2012: 232)   When I have three authors or more, LaTeX makes it:     (Author_A/ Author_B et al. 2012: 232)   But I want LaTeX to just name the first author if there are more than two authors ... like this:     (Author_A et al. 2012: 232)   Any tips on how to achieve this ?