Bounty question no longer relevent to OP
What to do with bounty on question which is no longer relevant?
In Fantastic Beasts: The Crimes of Grindelwald Dumbledore teaches DADA. But from the books we always heard about him as of a Transfiguration teacher (say, in Tom Riddle's days). It is stated in the movie that Dumbledore was prohibited to teach DADA by the Ministry, though the limitations seemed to be canceled at the end of the movie together with the removal of his handcuffs (not completely clear about the teaching though). The strange thing is, however, that Dumbledore was a Transfiguration teacher and even the Head of Transfiguration Department in Hogwarts before Newt's days, as we learn from Pottermore:  Under the guidance of her [McGonagall] inspirational Transfiguration teacher, Albus Dumbledore, she had managed to become an Animagus She [McGonagall] sent an owl to Hogwarts, asking whether she might be considered for a teaching post. The owl returned within hours, offering her a job in the Transfiguration department, under Head of Department, Albus Dumbledore.  That is of course if we accept that Minerva McGonagall in the movie is the same Minerva we know. So it seems that he taught Transfiguration, then for some reason switched to DADA and then to Transfiguration again. While it is possible in general, is there any explanation for the reasons? Find the Limit (n to infinity) Hi I have a question regarding of limits to infinity please help! Thank You!  The question states the user to find the following limit:  $  \lim_{n\to\infty} n^2 ({\sqrt[n]{x}-\sqrt[n+1]{x}}) $      Where $(x &gt; 0) $  Thank You!!! I want to schedule my script for last Saturday of every month. I have come up with the below:  45 23 22-28 * *  test $(date +\%u) -eq 6 &amp;&amp; echo "4th Saturday"  &amp;&amp; sh  /folder/script.sh    Is this correct or I need to change it? I can't test it right now as it will be invoked only on last saturday. Please advise.  I have the below for last sunday of every month but i can't understand much of it. The first part gives 24 which is sunday and after -eq gives 7 which i don't know what it means:  00 17  * * 0 [ $(cal -s | tail -2 | awk '{print $1}') -eq $(date | awk '{print $3}') ] &amp;&amp; /folder/script.sh   Can i modify the above to get last saturday?  With Romeo's help I was help to come up with the below answer:  00 17 * * 6 [ $(cal -s | tail -2 | awk '{print $7}') -eq $(date | awk '{print $3}') ] &amp;&amp; /folder/script.sh How to find hydrogen wave-functions? I have found the hydrogen wave functions and would now like to calculate the function that describes the orbitals so that I can plot this function and see how they look.  I don't know how I can do that and it is crazy how I cannot find anything on the subject on the internet as if there was no relation between the wave functions and the orbitals.  Could you please tell me what I need to do to get a function $r(\theta,\phi)$ out of my wave functions $\psi(r,\theta,\phi)$. How do I install and use the latest version of GNOME? I followed the instructions for compiling GNOME Shell and it did compile with a few errors here and there but it didn't run. I installed GNOME Shell using sudo apt-get install gnome-shell but I got version 2.31.x, while the latest is 2.91.5 or something. So is there a way for me to install the latest build?   Is there some repository available for the latest build? iBooks preview not working? I recently converted one of my books into an iBooks format using Author. However when I connected to my iPad and went into 'preview', I saw my device, clicked it, but the 'preview' button to enable the previewing process was faded and I could not click it. Has anyone actually used the preview feature enough to give me some help? Thanks! I've just upgraded to Ubuntu 17.10 and am missing the Ubuntu Dock settings, i.e. in gnome-control-center the dock settings are blank:    I think I might be missing the "ubuntu-dock" package, but can't find this anywhere in the software centre.  Also the gnome-control-center was completely missing after the update, and I had to install this separately - not sure if this is related.  I think this is different from  because changing the type of GNOME session doesn't fix the problem. If I go for GNOME* I get no Dock settings section at all, and if I got for Ubuntu* I get the blank Dock settings section described above.  Output of apt-cache policy gnome-shell-extension-ubuntu-dock:  rob@rob-pc:~$ apt-cache policy gnome-shell-extension-ubuntu-dock gnome-shell-extension-ubuntu-dock:   Installed: (none)   Candidate: 0.7   Version table:      0.7 500         500 http://gb.archive.ubuntu.com/ubuntu artful/main amd64 Packages         500 http://gb.archive.ubuntu.com/ubuntu artful/main i386 Packages Drop Tables with Bigger size We have a mysql database with a size of 2 TB, in which we have for to five big tables ranging from 110GB to 350GB. When we try to drop these tables the mysql goes to the defunct mode and hangs in that state for a long time. Is there a solution to drop these tables without mysql hanging. We have a machine which has a memory of 122GB and swap of 60 GB. We use an InnoDB Engine Hope the information suffices kindly help us with this issue Aligning multiple points to line in QGIS? I would like to align multiple points to a line, or lines within a layer, using a specified tolerance or buffer around the line objects. Please refer to the sample sketch attached.  For the sake of this example, the points closest to the line in the BEFORE picture are within 5 map units of the line, while the outermost points are over 10 map units away. I would like to snap the closest points onto the nearest line, using a tolerance of 5 map units to achieve the result in the AFTER picture. I was working on a userscript today, which had a goal of displaying chat pings immediately at the main site. This would allow me to respond more quicker-like to chat pings.  However, I was met by this fearsome warrior:     Can we please set some decent header things? I want to be able to do this really bad. I put a video in my pdf with Acrobat and there I can watch my video. But if I open the pdf on my mobile, I can't watch the video, I only see an image. Is there a way to watch videos of a pdf in a mobile? I have a samsung J5. How add 14 days on end date I have End Date column and I want to add 14 Days on it auto when created, can I do it by workflow? Can I do it via jQuery. If yes how? if no how I can do it? I have an ASUS N550JK laptop (BIOS version 204) running Ubuntu 14.04 (3.13.0-43-generic kernel).  My issue is that the battery indicator ALWAYS shows that it's using battery power - even when plugged in and fully charged. So even though I have selected to show the battery status in the menu bar only when charging or in use (in power settings), it is ALWAYS displayed. When it reaches a full charge, the indicator icon will either show just the percentage (usually 99% or 100%), or sometimes a very big number for time (like 22:14) along with the percentage. If I go to the power settings menu, it always says "Using battery power", with something like 40 hours remaining. This is all while plugged in and fully charged.  Are there any fixes less drastic than trying to update BIOS, or is a BIOS update necessary to fix this? The latest BIOS version is 208 according to the ASUS website, but the (very brief) descriptions of the updates don't mention anything about battery issues. If at all possible I'd like to avoid updating BIOS because of the risk involved.  I've already tried letting the battery drain all the way and then charging to full, with no luck.  Thanks in advance! Find the sum $\sum_{n=1}^{\infty} \frac{\ln n}{n(n- \ln n)}$ Find the following sum : $\sum_{n=1}^{\infty} \frac{\ln n }{n(n- \ln n)}$  I couldn't find any way to solve.   I just want a hint, how to initiate? This is about the upcoming  Zack Snyder movie , where Ben Affleck is playing Batman. I just read an  that Christian Bale wanted to be Batman again. So I wanted to ask why wasn't he cast as Batman in this movie. I checked the Wikipedia entry but nothing suggests why Christian Bale was not there. Nolan is associated with the movie as an adviser and DC Entertainment is producing this one too. So sort of familiar turf, right? But how come Ben Affleck is the new Batman?  EDIT: I would like to add another interesting piece of information. Bale is aged 40 (born 1974) and Affleck is 42 (born 1970). So they have actually cast an older actor. How do I declare and initialize an array in Java? Get name of caller function in PHP? Is there a PHP function to find out the name of the caller function in a given function? What happens when a photon hits a mirror? When a photon of light hits a mirror does the exact same photon of light bounce back or is it absorbed then one with the same properties emitted? If the same one is bounced back does it's velocity take all values on $[-c,c]$ or does it just jump from $c$ to $-c$ when it hits the mirror?  Or, is the phenomenon of a mirror better explained using a wave analogy? If so, what is this explanation? How to check if a string contains a substring in Bash I have a string in Bash: string=&quot;My string&quot;  How can I test if it contains another string? if [ $string ?? 'foo' ]; then   echo &quot;It's there!&quot; fi  Where ?? is my unknown operator. Do I use echo and grep? if echo &quot;$string&quot; | grep 'foo'; then   echo &quot;It's there!&quot; fi  That looks a bit clumsy. It's a series of fantasy books in which the inhabitants of the world, from the time when they're children, get to somehow have an accompanying small animal that represents their soul or their personality.