I understand that scientists believe the earth and the moon were spinning at the same speed as each other at the time they experienced acceleration (were formed). I also know that the reason given for why the moon no longer spins is that the earths gravitational attraction for the moon stole the energy after 3.5 billion years.    So why is the earth still spinning?  Given that the sun's attraction for the earth is 100 times stronger than the earths attraction for the moon.
In  answer to the question "why does the moon have the same rotation and revolution periods?", we read:     The mass and speed of rotation of the Earth influence the moon in that some of its rotational energy is actually transferred to the moon. (...) Many of the moons in the solar system have also reached this point of equilibrium. In Jupiter, the moons Amalthea, Thebe, Io, Ganymede, Callista, and Europa, all have identical rotational and revolutionary periods.    My two questions are:   Can we show the mechanics of this quantitatively?  Does the system Earth-Sun experience the same phenomenon, in some measure? Will then the earth slow down its rotation speed until it will show always the same face to the sunlight? In this last case, on which timescale?
I configured a journey in Marketing Cloud where i sent an email. My requirement is adding BCC email addresses to this email, but I noticed that we can only add valid email addresses. Could you confirm me that is not possible to add BCC /CC Address using personalization strings or Ampscript functions (e.g. Lookup) inside the Journey Email's settings? RSA is not designed to be used on long blocks of plaintext like a block cipher, but I need to use it to send a large (encrypted) message.  How can I do this? Counting the number of surjections. How many functions from set $\{1,2,3,\ldots,n\}$ to $\{A,B,C\}$ are surjections? $n \geq 3$  Attempt  I was hoping to count the number of surjections by treating $A,B,C$ like bins, and counting the number of ways to fill them with $1,2,3,\ldots,n$ such that no bins are empty. This is equivalent to putting two "separator" bars in between the $n$ numbers or $n-1 \choose 2$.  However, I think I am missing a step here: prior to putting in the separator bars, I should permutate the $n$ elements. So, multiply by $n!$.  The order of elements in the same bins do not matter. So I should be divided by the number of permutations of the elements in each bins. This is where I am stuck.  Additional Info  I made the question up myself. Feel free to modify the question into a more solvable form if it is too difficult/complicated. USB-C to MagSafe 2 Adapter I have a 2015 MacBook Pro with a MagSafe 2 charging cable. My wife has a new MacBook Pro from 2016 with USB-C. I was wondering whether I could technically (in the matter of electronic feasability) use her charging cable on my MacBook and vice versa with some sort of adapter / dongle, and, if so, where I would get one? Javascript Array.sort implementation? Which algorithm does the JavaScript Array#sort() function use?  I understand that it can take all manner of arguments and functions to perform different kinds of sorts, I'm simply interested in which algorithm the vanilla sort uses. Check out the below program.   try {     for (String data : Files.readAllLines(Paths.get("D:/sample.txt"))){         String[] de = data.split(";");         System.out.println("Length = " + de.length);     } } catch (IOException e) {     e.printStackTrace(); }   Sample.txt:   1;2;3;4 A;B;; a;b;c;   Output:   Length = 4 Length = 2 Length = 3   Why second and third output is giving 2 and 3 instead of 4. In sample.txt file, condition  for 2nd and 3rd line is should give newline(\n or enter) immediately after giving delimiter for the third field. Can anyone help me how to get length as 4 for 2nd and 3rd line without changing the condition of the sample.txt file and how to print the values of de[2] (throws  ArrayIndexOutOfBoundsException)? Badge Notification Repeats Not sure if someone else has already raised this - I've got eleven notifications that I've received a Caucus badge on English Language Learners. Perhaps one notification for each community that I'm a member of?  I am a member of the community, and did visit the election. Also, the badge hasn't been awarded more that once (so I think it's just the notification that's at fault).  Note that this seems to happen for other badges, it has been reported for: Caucus, Nice Answer, Enthusiast. Why does US Customs & Immigration ask the purpose of my trip when I'm returning home? As a US citizen, when I re-enter the US, I am often asked where I was, how long I was there, and the reason for my visit.  Why am I asked these things?  Am I required to answer? Don't I have a legal right to enter the US (as long as I'm not doing or carrying anything illegal)?  If I were to refuse to answer these questions, would I be permitted entry?  Note: I'm not really bothered by the questions (except when the agent asking them is especially rude), I'm just curious. Looking for intro to Conformal Bootstrap No connection could be made because the target machine actively refused it (PHP / WAMP) How to apply custom headers/footers on pages with new chapters? I'm writing my final report in LaTeX for my bachelor's degree. I'm aiming at having a document similar to the .doc template used normally.   I want to have my customs headers and footers applied on pages when I'm starting a new chapter.  I'm using documentclass report with fancyhdr and lastpage packages.  My headers are defined like this:  \lhead{\myTitle} \rhead{\today} \cfoot{\thepage\ of \pageref{LastPage}}   My chapters are created using standard \chapter{title} macro.  On pages with new chapters, the only headers/footers I see is the standard page number at the bottom.  What should I do?  EDIT: I've finally gone with Peter Breitfeld's solution. I'Ve gone a step further and created my own chapter command:  \newcommand{\myChapter}[1]{     \chapter{#1}     \thispagestyle{fancy} }   Thanks for the help! I want to generate some formatted output of data retrieved from an MS-Access database and stored in a DataTable object/variable, myDataTable. However, some of the fields in myDataTable cotain dbNull data. So, the following VB.net code snippet will give errors if the value of any of the fields lastname, intials, or sID is dbNull.     dim myDataTable as DataTable    dim tmpStr as String    dim sID as Integer = 1     ...    myDataTable = myTableAdapter.GetData() ' Reads the data from MS-Access table    ...     For Each myItem As DataRow In myDataTable.Rows      tmpStr = nameItem("lastname") + " " + nameItem("initials")      If myItem("sID")=sID Then         ' Do something     End If      ' print tmpStr     Next   So, how do i get the above code to work when the fields may contain dbNull without having to check each time if the data is dbNull as in ? I frequently need to do the following things in MySQL:   Create a non-root user Set that user's password Grant that user all privileges Make a database with the same name as the new user Allow usage only for users from the localhost.   Previously I did this using PHPmyadmin, but I would prefer doing it directly from BASH. Is there a CLI way to execute these steps? Making the bibliography appear in the table of contents What do you call someone who has extensive knowledge but won't share it? At 9th level, the Armorer Artificer (from Tasha's Cauldron of Everything) gains the &quot;Armor Modifications&quot; feature :  You learn how to use your artificer infusions to specially modify your Arcane Armor. That armor now counts as separate items for the purposes of your Infuse Items feature: armor (the chest piece), boots, helmet, and the armor’s special weapon. Each of those items can bear one of your infusions, and the infusions transfer over if you change your armor’s model with the Armor Model feature. In addition, the maximum number of items you can infuse at once increases by 2, but those extra items must be part of your Arcane Armor.  This special weapon is called 'Thunder Gauntlets' (a simple melee weapon) for the 'Guardian' Armor Model, and 'Lightning Launcher' (a simple ranged weapon) for the 'Infiltrator' Model. But I am wondering which Artificer Infusions are appropriate for this special weapon ? Is it only the 'Enhanced Weapon' and 'Radiant Weapon' infusions, or are there others ? If I install the Dev Preview 3 on my Nexus 5 right now, will I get an OTA to the stable build or will I have to flash it as well? Number of genes required to sustain life Are there estimates of the minimum number of genes required to sustain life?   In what I mean by life here, I don't include viruses. Is it possible to see the history of changes to a particular line of code in a Subversion repository?  I'd like, for instance, to be able to see when a particular statement was added or when that statement was changed, even if its line number is not the same any more. Custom action to set emblem in thunar