I just moved all of them into Sun/Moon but the game doesn't seem to notice, even if I move a Pokemon I got from another game into the party.   How do I get the National Dex?
I'm at roughly 67% completion of the Alola Dex, with ~200 caught, ~290 seen. After scanning QR codes, I've caught a Swinub and Cyndaquil. However, neither were registered in the Pokédex, since neither are Pokémon in the Alola Dex. This brought up the following question:  When will I unlock the National Dex?   Do I need to have seen all the Pokémon in the Alola Dex? Do I need to complete some specific quest, like catching/defeating the Ultra Beasts?
Why doesn't my Bash script recognize aliases? Why does my dock keep moving back to my other monitor? I have a larger, external monitor connected to my MacBook Pro and have arranged it such that the dock is in the external monitor (via System Preferences > Displays > Arrangement, by dragging the white bar to the larger screen). This works fine, except for the fact that every now and then, the dock will suddenly shift back to my MacBook screen, but when I open up Displays to change this back, the white bar is still on the external monitor. So I have to drag it to the smaller screen, and then drag it back to the external monitor.   It's a minor issue, obviously, but I've noticed that it has been happening more and more frequently and it's getting quite annoying. Perhaps there's something I've been doing unintentionally for this to happen?   I'm using Mavericks, 10.9.5. Suppose $A,B,C$ are sets. Prove that $A\mathbin\triangle B\subseteq C \iff A\cup C=B\cup C$. Suppose $A,B,C$ are sets.  Prove that $A\mathbin\triangle B\subseteq C \iff A\cup C=B\cup C$.  I proved that for $x\in A\setminus B$, $x\in A\cup C$ and for $x\in B\setminus A$, $x\in B\cup C$. How do I show that $A\cup C=B\cup C$, and that $A\mathbin\triangle B\subseteq C \iff A\cup C=B\cup C$? What is a Generic Handler in asp.net and its use? How to Identify Overfitting in Convolutional Neural network? I understand that dropout is used to reduce over fitting in the network. This is a generalization technique. In convolutional neural network how can I identify overfitting? One situation that I can think of is when I get training accuracy too high compared to testing or validation accuracy. In that case the model tries to overfit to the training samples and performs poorly to the testing samples. Is this the only way that indicates whether to apply dropout or should dropout be blindly added to the model hoping that it increases testing or validation accuracy Should moderators be allowed to decline flags on their own comments? Fly and Two Trains Riddle Atiyah-Macdonald, Exercise 8.3: Artinian iff finite k-algebra. Atiyah Macdonald, Exercise 8.3. Let $k$ be a field and $A$ a finitely generated $k$-algebra. Prove that the following are equivalent:   (1) $A$ is Artinian.   (2) $A$ is a finite $k$-algebra.   I have a question in the proof of (1$\Rightarrow$2): By using the structure theorem, we may assume that $(A,m)$ is an Artin local ring. Then $A/m$ is a finite algebraic extension of $k$ by . Since $A$ is Artinian, $m$ is the nilradical of $A$ and thus $m^n=0$ for some $n$. Thus we have a chain $A \supseteq m \supseteq m^2 \supseteq \cdots \supseteq m^n=0$. Since $A$ is Noetherian, $m$ is finitely generated and hence each $m^i/m^{i+1}$ is a finite dimensional $A/m$-vector space, hence a finite dimensional $k$-vector space.  But now how can I deduce that $A$ is a finite dimensional $k$-vector space? Execution of AfterInsert caused by: System.StringException: Invalid id: () - where have I gone wrong? We've had a community deployment and my brain is fried and I just whipped up a quick class that is throwing the below error. What have I done wrong here?     Error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, MSI_UserTrigger:   execution of AfterInsert caused by: System.StringException: Invalid   id: () : [] () : []: ()   What I am trying to accomplish is:   When a new user is created and is active, if they are linked to a ContactId and part of a specific profile (by name), add their ContactId to a Set&lt;ID> Then loop through contacts where the Id is in the set, and update the Community_User__c field to TRUE      Trigger:   trigger MSI_UserTrigger on User (after insert) {       if(Trigger.isAfter){          if(Trigger.isInsert){              MSIUserTriggerHandler.executeAfterInsert(Trigger.new);          }      } }      Class:   public with sharing class MSIUserTriggerHandler {     private static final String COMMUNITY_PROFILE = 'Community Knowledge User';     private MSIUserTriggerHandler() {}      public static void executeAfterInsert(List&lt;User&gt; newList){         setCreatedCommunityUsers(newList);     }      private static void setCreatedCommunityUsers(List&lt;User&gt; newList){         List&lt;User&gt; usersWithContacts = new List&lt;User&gt;();         List&lt;Contact&gt; contactsToUpdate = new List&lt;Contact&gt;();         Set&lt;ID&gt; contactIds = new Set&lt;ID&gt;();          for(User u: newList){             if(u.ContactId == null &amp;&amp; u.ContactId == ''){                 continue;             }             if((u.ContactId != null &amp;&amp; u.ContactId != '') &amp;&amp; u.Profile.Name == COMMUNITY_PROFILE &amp;&amp; u.isActive == true){                 contactIds.add(u.ContactId);             }         }          for(Contact c : [Select Id,Name,Community_User_Created__c from Contact where Id in :contactIds]){             if(!c.Community_User_Created__c){                 c.Community_User_Created__c = true;                 contactsToUpdate.add(c);             }         }         update contactsToUpdate;     } }   Am I not adding the ID correctly to the Set&lt;ID>, or am I querying wrong in my for(Contacts) loop? Acces VBA code combination not working, issue with exit sub? I'm very new at VBA and I can't seem to solve this problem. It seems like it should be an easy problem to fix, I just don't know how.   So what the code does: In the main form is a record. This record will be copied to another table bij pressing a button on the form. Before the copying begins, the code checks first if the 'OMnummer' has been filled in in the subform.  If not, a message box appears saying that the user should fill in the subform and the code stops running.   Secondly the code checks if the record is allready present in the other table. If so, a messagebox appears and the record will not be copied. If not, the record will be copied to the other table.   Both pieces of code work ok seperately. However, when I try to include both pieces in the same private sub, only the first one works. It may be something with the 'Exit Sub' code or I am not using the If - Then right.   Hope you can help me!  Monika   Private Sub KnopProjectVersturen_Click() On Error GoTo ErrProc  If IsNull(Me!Subform_OMnummers.Form!Omnr) Then  If MsgBox("Vul het OMnummer in. Je kan het project niet exporteren zonder OMnummer.")     Then       Exit Sub      DoCmd.OpenQuery "Qry_Depo_ControleAanwezig"  If DCount("Deponering.projectnummer", "Qry_Depo_ControleAanwezig") = 0 Then         DoCmd.SetWarnings False         DoCmd.OpenQuery "Qry_projectnaarDepot"          DoCmd.OpenQuery "Qry_ToevoegProjectDepot"         DoCmd.OpenForm "Depot_uitvoer", , , "[Projectnummer] = '" &amp; Me![Projectnummer] &amp; "' And [subID]=[subID]"     Me.Status = 8     DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")     DoCmd.SetWarnings True  Else         MsgBox "Dit project bestaat al in de Depot_Uitvoer, verander de status in het projectformulier", vbInformation, "Example"         DoCmd.Close acQuery, ("Qry_Depo_ControleAanwezig")     End If  End If  End If    'Als er fouten zijn laat deze code een messagebox zien met het nummer en de melding.  ExitProc:  Exit Sub  ErrProc:     Select Case Err.Number     Case Else         MsgBox Err.Number &amp; "--" &amp; Err.Description         Resume ExitProc         End Select End Sub Do I need to use The Loop on pages? I'm writing my first WordPress theme and have a question about the use of The Loop in page templates. The page templates I've looked at all follow basically the same pattern (example from Twenty Twelve):  &lt;?php while ( have_posts() ) : the_post(); ?&gt; &lt;?php get_template_part( 'content', 'page' ); ?&gt; &lt;?php comments_template( '', true ); ?&gt; &lt;?php endwhile; // end of the loop. ?&gt;   But a page will only have one post associated with it so iterating through the posts seems unnecessary. My page template is more readable and seems to work fine:  &lt;?php the_post(); the_title('&lt;h1&gt;', '&lt;/h1&gt;'); the_content(); ?&gt;   Is this a good practice? Are there any downsides? I am thinking of building a model predicting a ratio $a/b$, where $a \le b$ and $a &gt; 0$ and $b &gt; 0$. So, the ratio would be between $0$ and $1$.  I could use linear regression, although it doesn't naturally limit to 0..1.  I have no reason to believe the relationship is linear, but of course it is often used anyway, as a simple first model.  I could use a logistic regression, although it is normally used to predict the probability of a two-state outcome, not to predict a continuous value from the range 0..1.  Knowing nothing more, would you use linear regression, logistic regression, or hidden option c? I remember reading a story about an alien who came to earth and gave/sold a human a little device.  It was the size of a pen, and when you aimed it at something metal, the metal became malleable, like clay.  A second time, and the metal resolidified.  When the alien came back not long after, human civilization had completely fallen to pieces because of it.  Does anyone know the name and author of the story? How can I calculate the R-squared of a regression with arima errors using R? If I have an arima object like a:  set.seed(100) x1 &lt;- cumsum(runif(100)) x2 &lt;- c(rnorm(25, 20), rep(0, 75)) x3 &lt;- x1 + x2  dummy = c(rep(1, 25), rep(0, 75))  a &lt;- arima(x3, order=c(0, 1, 0), xreg=dummy) print(a)   .  Series: x3  ARIMA(0,1,0)                      Call: arima(x = x3, order = c(0, 1, 0), xreg = dummy)   Coefficients:         dummy       17.7665 s.e.   1.1434  sigma^2 estimated as 1.307:  log likelihood = -153.74 AIC = 311.48   AICc = 311.6   BIC = 316.67   How do calculate the R squared of this regression? Retrieve the position (X,Y) of an HTML element relative to the browser window I want to know how to get the X and Y position of HTML elements such as img and div in JavaScript relative to the browser window. Identify this story about a quickly healing woman Years ago I read a short story about a woman trying to commit suicide. However, because she had a extremely high rate of healing, her wounds were never fatal. The story ends with her being in the morgue after her heart was taken out for transplantation. Before a new heart could grow she was incinerated. The person who received her heart received the quick healing as well.  Does anyone know this story? What is the difference between a gameplay programmer and a game designer/developer? Drag and drop not working inside Nautilus on Ubuntu 17.10 I'm having a strange problem on Ubuntu 17.10: when I try to drag and drop something inside Nautilus it simply doesn't work, it doesn't even select the item, it seems like it's ignoring the action... Also, I cannot select things inside nautilus by drawing rectangles with the mouse.  All of these actions work only on the Desktop. Here is a demo:    I'm using the Xorg session with nVidia proprietary drivers. I also noticed that Nautilus seems to hang when I try to copy, paste or cut a file...  EDIT 1: I solved the problem for the slow copy/paste by disabling the clipboard sync plugin of KDEConnect. I also discovered that if I open Nautilus as root, I can drag and drop or select whatever I want... Do spellcasters know when a dismissable spell has been broken? Do spell casters know how long their spells are active, and can they tell at a glance?  Specifically lets talk about , as I know its a permanent duration and dismissable. Does the spell caster who put someone under this spell know how long it is active? Could they tell automatically just by seeing the person (without any clues like them walking in a maze without difficulty or reacting to a sound)? So could they tell if someone has broken the spell they cast? My father in law is travelling to France, for 4 days, (01/07-04/07). Is there a minimum duration for which the travel insurance needed to apply for a Schengen visa must be valid? In other words, can his travel insurance cover just the duration of the trip, or should it last longer?