I just noticed this weird behavior on Ubuntu 18.04, I have SMPlayer 18.6.0 installed, if SMP is closed, I double click on a media file, SMP will open up and start playing, but if I minimize it and double click on a media file, I got a notification on my desktop (like the screenshot in the attachment), saying the file is ready, but it did not come into focus, I have to click on the apps icon for it to come into focus. Is there a way for it to come into focus when double click it? I asked SMPlayer Forum, and they said the message does not come from SMP, it's from Ubuntu!
Every time I open a folder from the desktop, a prompt is shown that the said folder is opened. How do I stop that?
Why can't I edit attribute table imported through 'text as layer' I imported the coordinates from an Excel table. They show as single points as intended. Now I want to add columns to the attribute table, but I'm not able to edit it. I wanted to import the following columns from Excel as well, but that doesn't seem to work either.  Sorry for the noob-question, but I couldn't find anything relating the theme through google and such.  Ok, with pictures then: I want to use that to add columns with information to these       You see, the small pensil thingy is greyed out, so I can't edit anything in this layer and I can't add any information to my points.  If I try Ale suggestion I get this error: Meaning of convolution? How to understand dot product is the angle's cosine? How can one see that a dot product gives the angle's cosine between two vectors. (assuming they are normalized)  Thinking about how to prove this in the most intuitive way resulted in proving a trigonometric identity: $\cos(a+b)=\cos(a)\cos(b)-\sin(a)\sin(b)$.  But even after proving this successfully, the connection between and cosine and dot product does not immediately stick out and instead I rely on remembering that this is valid while taking comfort in the fact that I've seen the proof in the past.  My questions are:   How do you see this connection? How do you extend the notion of dot product vs. angle to higher dimensions - 4 and higher? Scrolling has stopped working in chat Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\infty, +\infty]$, then $f(x) = ax$, a real. Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\infty, +\infty]$, then $f(x) = ax$, a real.  We know $f(0)=0$, and if one assumes differentiability it is quite easy.      But how does monotone make up for differentiability? Why is it called an “Indian file”? I want to load the new entries without reloading the page. I found a great solution for: The ajax script:  &lt;script&gt;     $(document).ready(function() {     var refreshId = setInterval(function()     {         $('#content').fadeOut("fast").load('http://neocsatblog.mblx.hu/new.php').fadeIn("fast");     }, 10000);      }); &lt;/script&gt;   And the php:  &lt;?php require_once("wp-blog-header.php"); ?&gt; &lt;div id="content" &lt;?php cyberchimps_filter_content_class(); ?&gt;&gt;          &lt;?php do_action( 'cyberchimps_before_content'); ?&gt;          &lt;?php if ( have_posts() ) : ?&gt;              &lt;?php while ( have_posts() ) : the_post(); ?&gt;                  &lt;?php get_template_part( 'content', get_post_format() ); ?&gt;              &lt;?php endwhile; ?&gt;          &lt;?php elseif ( current_user_can( 'edit_posts' ) ) : ?&gt;              &lt;?php get_template_part( 'no-results', 'index' ); ?&gt;          &lt;?php endif; ?&gt;          &lt;?php do_action( 'cyberchimps_after_content'); ?&gt;      &lt;/div&gt;   However, this is a special feature that works perfectly here:  However, the main page refuses to load new entries, I do not understand the reason for this, as we use everything the same. What is the word or term used to describe doing an activity or work with a high level of concentration and intention, trying your best? Showing arrowheads in line end using QGIS? Do you get to use the additional attack from the Extra Attack feature as well when you Ready an Attack action?  One of my players, a monk, decided to Ready an action as an earth elemental was about to attack. The trigger was the elemental moving within five feet of him. When this occurred, he took his Attack action, and then proceeded to take the extra attack as well.  I was unsure at the time whether or not the extra attack would also happen, and I haven't had much luck figuring it out. How do I send an HTTP request in C# without using System.Net classes? 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 Graphics file extensions and their order of inclusion when not specified When using 's \includegraphics you can specify the file extension or not. For generic use and perhaps portability, extensions are commonly dropped. The types of "approved" inclusions and their order of precedence depends on the driver/compiler being used. What are these driver-defaults?  Related: I started by Time Series Analysis by Hamilton, but I am lost hopelessly. This book is really too theoretical for me to learn by myself.   Does anybody have a recommendation for a textbook on time series analysis that's suitable for self-study? The editor asked me to use the following format.      Reference   1. Author, blah blah   Instead of      Reference   [1] Author, blah blah ...   Even though in the main text, [1] style has been used.   For example,        Smith [1] has proposed ...      Reference   1. Smith,      This is what I want.   Could you please advise how I can do the above?  Thanks in advance. I've doing some researches since few days and I haven't really got an answer to my question.  I am in the process of building a huge file server for the company I work for. We bought a server case  with 24 bays and drives. Now I am stuck at the point where I have to choose the RAID card. I saw a RAID card from LSI that offer 6 internals mini-SAS 8087 ports (6x4) and would work perfectly with my build. However, it's not cheap.  I have been reading about the subject and I found something called SAS Expander. They are cheap.  with 6 mini SAS 8087 for 225$ (instead of 1150$ of the other one).  Now my question, how would I link an SAS Expander with a RAID card ? Do I need to a buy a RAID card with only 1 external 8088 port and link it with the other card ? Could someone clarify this for me because I haven't found any good documentation on it.  Thanks you. Generating random results by weight in PHP? I know how to generate a random number in PHP but lets say I want a random number between 1-10 but I want more 3,4,5's then 8,9,10's. How is this possible? I would post what I have tried but honestly, I don't even know where to start. Ubuntu 18: Top bar for all monitors I just installed Ubuntu 18. Since the top bar is only on the primary monitor, I can't use the mouse to grab and move my Chrome window (the top of the screen looks like below). Trying to do so results in grabbing a single tab and opening it in a new window.     Is there a way around this? Ideally, I'd like to have the top bar  across all screens. Another obvious disadvantage of only having the top bar on one screen is that the window menu of any window, not just Chrome, is displayed on the left upper corner of my left screen even when the window is in the lower right corner of the right screen. Biasing circuit - Voltage follower circuit Example of the equality of an inequality This question is related to Daniel Fischer's answer . Suppose $f$ is a real $C^{1}$ function on $[0, 1]$ such that $f(0) = 0$ and $\int_{0}^{1}f'(x)^{2}\, dx \leq 1$. Then (essentially by Cauchy-Schwarz), we have $\left|\int_{0}^{1}f(x)\, dx\right| \leq 2/3$ as Daniel Fischer stated in his answer.  My question is: Is there an example of a function such that we have equality in $\left|\int_{0}^{1}f(x)\, dx\right| \leq 2/3$? I was thinking of maybe a smoothed version of a function which takes the value $0$ on $[0, 1/2)$ and $4/3$ on $(1/2, 1]$ but that seems complicated to construct, moreover, the derivative in some neighbourhood of $1/2$ might be hard to control.