If KL-divergence's asymmetrical should I minimize KL(P||Q) or KL(Q||P)?
Intuition on the Kullback–Leibler (KL) Divergence
I no longer need an answer to a question; what should I do to the question? Are there any advantages to stunning an alien besides being able to interrogate it? Aside from being able to interrogate an alien in the Alien Containment chamber, are there any particular advantages to risk trying to stun an alien instead of just killing it outright? Make the network profile editable on the main Stack Exchange page Currently, the Stack Exchange Network Profile links to all the network accounts and acts as a centralized profile page. Seeing that the ability to edit the profile is available from the profile pages of all *.SE sites, I think the ability to edit profiles should be available on that Network Profile page as well.  It will be consistent with the nature of the centralized profile page and will better the user experience.   EDIT: As the current Network profile, is actually the oldest profile on the Network, providing an edit option on the Network profile which links to the oldest profile edit page, would be one way to implement this. $15x\equiv 20 \pmod{88}$ Euclid's algorithm Use Euclid's algorithm to find a multiplicative inverse of 15 mod 88, hence solve the linear congruence $15x\equiv 20 \pmod{88}$  So far I have:   $88=5\cdot15+13$  $15=1\cdot13+2$  Backwards substitution gives  $15v+18w=1$   $1=15-1\cdot13$   $=15-1(88-5\cdot15)$   $=15\cdot15-1\cdot88$   now very stuck what to do from here:( How to fix "404 Not Found" crawl errors reported by Google in Search Console I was checking on Google webmaster tools for my blog site to see if there's any indication on why my blog traffic decreased to half in one day and i saw 43 Not Found crawl errors and 5 in Sitemap Not Found errors.   The 5 Not Found errors in Sitemap were the links to categories. I guess I renamed categories that's why Google can't find the links.   As for the 43 other Not Found errors, I see blog post titles that contain ' or . For example "McDonald's" or "O.N.E."  They weren't found by Google crawler.   There is also a blog post with /CachedYou at the end and a blog post with /www.example.com attached at the end.  They weren't found by Google crawlers either.   How do I correct those Not Found Errors? I have a block of text that I would like to automatically break in blocks of equal length. Something like what \num does with numbers.  What I need is a definition for what I called \makeBlocks. The MWE below should output: aaaaa bbbbb ccccc ddddd followed by abc def ghi  \documentclass{article}  \newcommand{\makeBlocks}[1]{???}  \begin{document} \makeBlocks{5}{aaaaabbbbbcccccddddd}  followed by \makeBlocks{3}{abcdefghi} \end{document} I have a list of items   John ID Matt ID John ID Scott ID Matt ID John ID Lucas ID   I want to shove them back into a list like so which also means I want to sort by the highest number of duplicates.   John ID 3 Matt ID 2 Scott ID 1 Lucas ID 1   Let me know how I can do this with LINQ and C#.  Thanks All  EDIT 2 Showing Code:      List&lt;game&gt; inventory = new List&lt;game&gt;();     drinkingforDataContext db = new drinkingforDataContext();     foreach (string item in tbTitle.Text.Split(' '))     {          List&lt;game&gt; getItems = (from dfg in db.drinkingfor_Games                                where dfg.game_Name.Contains(tbTitle.Text)                                select new game                                {                                    gameName = dfg.game_Name,                                    gameID = Boomers.Utilities.Guids.Encoder.EncodeURLs(dfg.uid)                                }).ToList&lt;game&gt;();          for (int i = 0; i &lt; getItems.Count(); i++)         {             inventory.Add(getItems[i]);         }     }      var items = (from xx in inventory                  group xx by xx into g                  let count = g.Count()                  orderby count descending                  select new                     {                         Count = count,                         gameName = g.Key.gameName,                         gameID = g.Key.gameID                     });      lvRelatedGames.DataSource = items;     lvRelatedGames.DataBind();   This query displays these results:   1 hello world times 1 hello world times 1 Hello World. 1 hello world times 1 hello world times 1 hello world times 1 Hello World. 1 hello world times   It gives me the count and name, but it doesn't give me the ID of the game....  It should display:   6 hello world times   234234 2 Hello World.  23432432 I'm looking to find records in a table that match a specific number that the user enters.  So, the user may enter 12345, but this could be 123zz4-5 in the database. I imagine something like this would work, if PHP functions worked in MySQL. SELECT * FROM foo WHERE preg_replace(&quot;/[^0-9]/&quot;,&quot;&quot;,bar) = '12345'  What's the equivalent function or way to do this with just MySQL? Speed is not important. DXF file not to scale in Blender When I open the DXF file in LibreCAD, then it shows the correct size of an object, but when I import that file in Blender, then the size of that object becomes very large. How to redirect output of a program to a ZIP file? List comprehension rebinds names even after scope of comprehension. Is this right? If I do not edit the .bashrc or other config files, the environment variables that I've setted are gone when I logout, or turn off the terminal.   What I'm curious is, where are those 'temporary' env vars saved in?   As I guess, they might be in the memory. That makes sense because they will disappear when the terminal is turned off(equals the terminal I was using is gone from the memory). Am I correct? Why does my regular expression work in X but not in Y? In Group theory proofs what is meant by "well defined" What is exactly meant or required for a mapping to be well defined. I was reading the first Homomorphism theorem () and the first thing the proof does is define a map and find it if its well defined.  Intuitively it makes sense, but what are the requirements for a map to be well defined? For example in the link given, I understand they show one-one relationship as being well defined and later on they again prove its injective.   What have I understood wrongly?  Soham using gedit through ssh connection - should I have gedit installed on the server? I wanted to try out using graphical tools over ssh. Just to learn a new thing :)  so my understanding is this, I connect like this: ssh -port -x user@server  But I'm running ubuntu server so it has no gui and thus no gui tools. My understanding is I've to install gedit on server. But also xserver?  Can someone clear up this concepts to me? What would I do if I want to have a generic method that only accepts types that have overloaded an operator, for instance the subtraction operator. I tried using an interface as a constraint but interfaces can't have operator overloading.   What is the best way to achieve this? My computer only has one USB-C port and I want to connect multiple USB-C devices to it.  I have trawled through Amazon but am amazed that I cannot find a single one. There are many hubs that have USB 3.1 USB-A ports but not USB-C ones.  Is there a limitation in the spec that prevents this being possible? Detecting absolute motion inside a box This is not a contradiction and I know it is impossible but still consider a thought experiment by me and point out if something is wrong. See the following picture and then the explanation follows.    Rest frames are easy to understand. They are just for clarification. Lets move on to the moving frames. The velocity of the box is $0.1\ c$. Now a photon is emitted (I am not taking a light ray to avoid complication in discussion). After emission the box also moves a certain distance ahead. So the photon takes more than one second to reach the wall. But even the source moves that much distance ahead. When the light is reflected back, the source and the wall again move forward as the box is moving. But after reflection the wall has no role to play. We are concerned about the source. The source moves a certain distance ahead and therefore light takes less than one second to reach back. But the difference of the first case and the second case is not the same. To explain, I will give some equations.  Moving frame 1:  Velocity of the box: $0.1\ c = 30,000km/s$  Time taken by light to reach the wall $=\frac{330,000\ \text{km}}{300,000\ \text{kms}^{-1}}= 1.1s$  Distance moved ahead by the box from original position: $30,000\ \text{km}$  Moving frame 2:  distance moved ahead by the box from original position  $&gt;30,000\ \text{km}$ as the box also moves ahead after reflection.  let $d$ be the distance moved ahead by the box after reflection.  Time taken by light to reach the source: $\frac{270,000\ \text{km}\ -\ d}{300,000\ \text{kms}^{-1}} &lt;0.9s$  Therefore we see that this could possibly determine the absolute motion.  So in total we see that the light will take lesser time to reach the source. Please correct me if I am wrong and give your opinion why is it so.  EDIT 2 for clarification  The box is the compartment in space in which you are moving and I am calculating the time the light takes to reach back the source. I am not even adding velocities. Please correct me and tell me where did I add velocities. For clarification just let me give a simple example. Suppose person A is standing still and B is running towards a light source. Obviously he will see the light before person A even though the speed would be the same. So, what I am doing over here is not increasing the speed of light, but instead decreasing the distance to be covered by it. How do the review limits work? I got the brand new Custodian badge today for reviewing posts. Inspired by that, I reviewed some more suggested edits. Now I ran into a limit:     You have no more suggested edit votes today; come back in x hours.   How is that limit calculated? I made 61 reviews today which seems to be some calculated limit.  I searched for an answer on meta but found nothing helpful. I went for B1 U.S. Visa at the U.S. Embassy in Delhi.   Interviewer: *Good Morning*. Me: *Good Morning* Interviewer: *What is your designation?* Me: *I am a Software Engineer.* Interviewer: *What is the name of your company?* Me: *It is XXX (I replied).* Interviewer: *What is the name of your client?* Me: *It is YYY (I replied).* Interviewer: *Have you ever been to U.S. before?* Me: *NO* Interviewer: *Have you ever been abroad before?* Me: *NO*   At this point he rejected my Visa with letter mentioning 214 (b) as the reason. I don't know why he actually rejected it.  But, I have decent 2+ years of experience with my company. And, I was going on a business meeting with the client. I would have come back after 2 weeks.  I don't know if re applying will help.