On my Ubuntu 18.04, in the list of my apps (which I see when I press the Super key), I have "Fichier" ('File'), "Capture d'écran" ('print screen') or 'Logiciels Ubuntu' ('Ubuntu software').   But the real name of these applications are Nautilus, Gnome-screenshot and Gnome-software respectively  The question is : where can I find this link, "Fichier"==Nautilus?  Why would I want to do that? For exemple, I want to remap the printscreen key to open to open the print-screen application, instead of taking a picture. So in the keyboard setup, I created a shortcut with the command gnome-screenshot -i, but I had to ask internet what was the name of the screenshot app. Is there a way I could have found it myself?
I have installed some apps through the Ubuntu Software center. How can I find the corresponding terminal command? For many apps, this is not the same as the displayed name. For example, the app called Text Editor can also be launched by typing "gedit" in the terminal, but how can I find this for other apps?
Using apt-get how to check have installed latest version ? Hello im just new for Linux   I know that  sudo apt-get   is for installing application   but how I would know that I have installed the latest version of the application   for example apt-get install sun-java6-jdk   is there an option to upgrade or see the latest version   or its ok to install an old version the application and Linux will upgrade it for me ? How do I stop an effect in jQuery I have a page that uses   $(id).show("highlight", {}, 2000);   to highlight an element when I start a ajax request, that might fail so that I want to use something like  $(id).show("highlight", {color: "#FF0000"}, 2000);   in the error handler. The problem is that if the first highlight haven't finished, the second is placed in a queue and wont run until the first is ready. Hence the question: Can I somehow stop the first effect? Irreducible polynomial which is reducible modulo every prime How to show that $x^4+1$ is irreducible in $\mathbb Z[x]$ but it is reducible modulo every prime $p$?   For example I know that $x^4+1=(x+1)^4\bmod 2$. Also $\bmod 3$ we have that $0,1,2$ are not solutions of $x^4+1=0$ then if it is reducible the factors are of degree $2$. This gives that $x^4+1=(x^2+ax+b)(x^2+cx+d)$ and solving this system of equations $\bmod 3$  gives that $x^4+1=(x^2+x+2) (x^2+2x+2) \pmod 3$. But is there a simpler method to factor $x^4+1$ modulo a prime $p$? Are shell scripts sensitive to encoding and line endings? I am reading an older physics book that my professor gave me. It is going over Coulomb's law and Gauss' theorem. However, the book gives both equations with an $r^3$, not $r^2$, in the denominator. Can somebody please explain why it is given as r^3? An image is attached for reference.  Also for equation 1-24, can somebody please explain how the middle side is equal to the right side with the del operator? Relation between real roots of a polynomial and real roots of its derivative I have this question which popped in my mind while solving questions of maxima and minima. First Case:Let $f(x)$ be an $n$ degree polynomial which has $r$ real roots. Using this can we say anything about the number of real roots of $f'(x)$?  Second Case:Suppose, $f(x)$ has all  $n$ real roots. Then will all of its derivatives also have all real roots?  Also, if any of its derivatives do not have all real roots, then will $f(x)$ also have not all real roots? If the above is true then what about its converse?  Comment Case:For the third case:Suppose f'(x) is a 5 degree polynomial with 3 real roots.Then f(x) will be a 6 degree polynomial.(correct me if I am wrong).What are the possible no. of roots that f(x) can have(3,4,5 etc.?).Basically I am asking for an example.Also it would be great if you follow all cases with an example like in the 4th case. If there are two twins. such that one of them goes on a space voyage maintaining a constant velocity, and that one never returns to earth, and the twins decide to never meet but send information about their age to each other by some light pulse or any other method.  If then one knows that he is younger, won't he know he is the one travelling thus violating the postulate of relativity that all inertial frames are equal w.r.t. all phenomena and that one can never know if he is moving with a constant velocity. What should I do when I see a "question ban warning"? When I  question, It says following:     Wait! Some of your past questions have not been well-received, and   you're in danger of being blocked from asking any more.      For help formulating a clear, useful question, see: How do I ask a   good question?      Also, edit your previous questions to improve formatting and clarity.   Here is screen-shot:   So, What should I do? (How long to wait?) Perfect set without rationals What is an alternative to execfile in Python 3? It seems they canceled in Python 3 all the easy way to quickly load a script by removing execfile()   Is there an obvious alternative I'm missing? How can I save the command and its execution output to file at the same time Suppose I have a command java -cp src/ nlp.lm.BigramModel wsj/ 0.1, I want to save the command itself and the command execution output to the file at the same time.  One way to do this is to   echo "$ java -cp src/ nlp.lm.BigramModel atis/ 0.1" &gt; trace/bigram-trace.txt     java -cp src/ nlp.lm.BigramModel atis/ 0.1 &gt;&gt; trace/bigram-trace.txt   Is there a better way to do this? Is there a simple way to change the thickness of a curved tube without scaling its overall size? E.g. scaling the minor radius of an already created torus without affecting its major radius or change the bevel width of a curve that has already been converted to a mesh. I can show this best by a picture:    This cross also shows when I export it as raster or pdf. What is it and how can I get rid of it?  I am using Qgis 2.4 and the map was done with the help of the Grass plugin AniMove on Linux Mint. I just finished taking my first year of calculus in college and I passed with an A.  I don't think, however, that I ever really understood the entire $\frac{dy}{dx}$ notation (so I just focused on using $u'$), and now that I'm going to be starting calculus 2 and learning newer integration techniques, I feel that understanding the differential in an integral is important. Take this problem for an example: $$ \int 2x (x^2+4)^{100}dx $$ So solving this... $$u = x^2 + 4 \implies du = 2x dx \longleftarrow \text{why $dx$ here?}$$ And so now I'd have: $\displaystyle \int (u)^{100}du$ which is $\displaystyle \frac{u^{101}}{101} + C$ and then I'd just substitute back in my $u$. I'm so confused by all of this.  I know how to do it from practice, but I don't understand what is really happening here.  What happens to the $du$ between rewriting the integral and taking the anti-derivative?  Why is writing the $dx$ so important?  How should I be viewing this in when seeing an integral? WPF Binding to Grid Column Width I'm attempting to bind a DependancyProperty in one of my usercontrols to the Width property of a Column in a Grid.   I have code similar to this:  &lt;Grid x:Name="MyGridName"&gt;     &lt;Grid.ColumnDefinitions&gt;         &lt;ColumnDefinition x:Name="TitleSection" Width="100" /&gt;         &lt;ColumnDefinition Width="*" /&gt;     &lt;/Grid.ColumnDefinitions&gt;      &lt;Grid.RowDefinitions&gt;...&lt;/Grid.RowDefinitions&gt;      &lt;GridSplitter x:Name="MyGridSplitter" Grid.Row="0" Grid.Column="0" ... /&gt; &lt;/Grid&gt;   In a separate Usercontrol I have the followingDependancyProperty defined.  public static readonly DependencyProperty TitleWidthProperty = DependencyProperty.Register("TitleWidth", typeof(int), typeof(MyUserControl));  public int TitleWidth {     get { return (int)base.GetValue(TitleWidthProperty); }     set { base.SetValue(TitleWidthProperty, value); } }   I am creating instances of the Usercontrol in code, hence I have a binding statement similar to this :  MyUserControl Cntrl = new MyUserControl(/* Construction Params */); BindingOperations.SetBinding(Cntrl , MyUserControl.AnotherProperty, new Binding { ElementName = "objZoomSlider", Path = new PropertyPath("Value"), Mode = BindingMode.OneWay }); BindingOperations.SetBinding(Cntrl , MyUserControl.TitleWidthProperty, new Binding { ElementName = "TitleSection", Path = new PropertyPath("ActualWidth"), Mode = BindingMode.OneWay }); /* Other operations on Cntrl */   The first binding defined works fantastically, although that is binding to an actual UIElement (in this case a Slider), but the Binding to "TitleSection" (which is the ColumnDefinition defined in the Grid) fails. Putting a breakpoint in the code and doing a watch on "TitleSection" returns the expected object.   I am beginning to suspect that a x:Name'd ColumnDefinition can't be bound to. Can anyone suggest how I might be able to bind to the changing width of the first column in my grid?  EDIT #1 - To answer comments  The databinding 'fails' in the sense that with a breakpoint set on the setter for the TitleWidth property, and using the GridSplitter control to resize the first column, the breakpoint is never hit. Additionally, code I would expect to be fired when the DependancyProperty TitleWidth changes does not get executed.  The usercontrol is being created and added to a Stackpanel within the Grid in the Window_Loaded function. I would expect that the Grid has been rendered by the time the Usercontrols are being constructed. Certainly the x:Name'd Element TitleSection is watchable and has a value of 100 when they are being constructed / before the binding is happening.  EDIT #2 - Possibly something to do with this?  I've been having a sniff round the MSDN pages for the Grid ColumnDefinition documentation and have come across  but I can't get my head around how I can use this in a binding expression. I cannot use the associated GridLengthConverter as a converter in the binding code as it does not derive from IValueConverter.   I am leaning towards somehow binding to the ActualWidth property of one of the cells in the Grid object. It doesn't seem as clean as binding to the column definition, but at the moment I cannot get that to work. How do I copy a property from an active object to selected objects? I have been using the Copy Attributes add-on to copy some properties from active object to selected objects. This add-on is not enabled by default and must be explicitly enabled. But its a very useful workflow enhancing tool.    There is a limitation though. Not all properties can be copied and even those that can be copied are copied in groups (Its hard-coded in to the add-on).  My question is if there is a built-in feature or any another other way to copy any property from the active object to the selected objects? Connection pools being reset with Error: 18056, Severity: 20, State: 46. & Perfmon Counters not showing We are using SQL Authentication (to reduce the number of connection pools) &amp; .NET 4.0 connection strings to connect to SQL Server Enterprise Edition 2012 SP1 on a Windows 2008 R2 Enterprise Server:     Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)   Oct 19 2012 13:38:57   Copyright (c) Microsoft Corporation   Enterprise Edition (64-bit) on Windows NT 6.1  (Build 7601: Service Pack 1)   We use about 50 servers split into 8 different groups different parts of a website.  Our website is using this SQL Server to log visit tracking data. Over the last few days it has spat out the following messages about the resetting connection pools:     The client was unable to reuse a session with SPID 1327, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message.   Error log reads:     Error: 18056, Severity: 20, State: 46.   The client was unable to reuse a session with SPID 959, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier  operation failing. Check the error logs for failed operations immediately before this error message.   Login failed for user 'xxxx'. Reason: Failed to open the database 'xxxxxxxx' configured in the login object while revalidating the login on the connection. [CLIENT: 10.xx.xx.xxx]   After some digging, I found this document on the CSS blog:  and this one by Aaron Bertrand: . I know the error number is different but the failure ID is the same with a number of the messages are identical).  Failure ID 46 suggests that the login did not have permissions. Our logins default to the master database and the db name is specificied in the connection string.  I wanted to check the number of connection strings pools, etc. and checked all the counters in Perfmon for .Net Data Provider for SqlServer. It only gave me the option of defaultdomain9675 for the instance, so I selected that assuming that is a system generated ID name for our Datacentre network. Unfortunately all of the counters are reading zero. On one of our other main servers the connection pools are hovering around 10 which is what I expected to see on a healthy server with that kind of load.  My question is 3 fold   Can anyone suggest why the Windows 2008 R2 Server is not showing .Net Data Provider for SqlServer? Has anyone experienced this as I obviously believe that the login not having permissions is a red herring ? If different groups of web servers have the same connection string syntax but with slightly different whitespace, would this cause the server to use another connection pool?   Min &amp; max memory settings are 20GB &amp; 58GB respectively. The server is a dedicated database server with 64GB of RAM. I don't think memory is the issue as the box seems to have a decent page lfe expectancy. Auto close is not enabled. The server is always up: this is a 24x7 website with heavy usage. Simulating a Brownian Excursion using a Brownian Bridge? Schengen visa refused from German embassy For the following block of code:  For I = 0 To listOfStrings.Count - 1     If myString.Contains(lstOfStrings.Item(I)) Then         Return True     End If Next Return False   The output is:  Case 1:  myString: C:\Files\myfile.doc listOfString: C:\Files\, C:\Files2\ Result: True   Case 2:  myString: C:\Files3\myfile.doc listOfString: C:\Files\, C:\Files2\ Result: False   The list (listOfStrings) may contain several items (minimum 20) and it has to be checked against a thousands of strings (like myString).  Is there a better (more efficient) way to write this code?