How to upgrade Git on Ubuntu?
How to upgrade Git on Ubuntu Hardy?
Using Thunderbird and gmail, sent items appear as unread in "All Mail" I'm using a gmail account in Thunderbird. When I send a message, a new mail notification appears (sound and system try icon), an unread message appears in the gmail All Mail folder, and the account name turns blue.  I have to click on "Sent Mail" or "All Mail" to get rid of the notification. Unsubscribing from "All Mail" is not effective (it still turns the account name blue).  This seems to be popping up elsewhere (), but nobody has posted a helpful answer.  How do I keep Thunderbird from thinking that a sent message is new unread mail in the All Mail folder? The union of a strictly increasing sequence of $\sigma$-algebras is not a $\sigma$-algebra Is it possible to run Snow Leopard on a LATE 2011 MacBook Pro? I want to buy a new MacBook Pro, from Apple. However I want to run Snow Leopard instead of Lion.  I did some Google searches and found a few success stories of people who got SL to run on their early-2011 MBPs. I didn't find much of any experiences of people doing the same on a late-2011 MBP though, so I'm wondering (and really hoping!) if it's possible? Show that $\forall (x,y)$ in the first quadrant: $\frac {x^2+y^2}{4}\leq e^{x+y-2}$ I can't open/ping any antivirus sites I have a problem with a virus in windows 7, I don't know what kind of virus is infected my OS, I installed kasersky antivirus, and clear all detected viruses. After that I can't open any antivirus sites, can't ping any antivirus sites. example:  C:\Windows\system32&gt;ping kaspersky.com Pinging kaspersky.com [38.117.98.231] with 32 bytes of data: General failure. General failure. General failure. General failure.  Ping statistics for 38.117.98.231:     Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),   When I ping to other sites, I get reply normally: example woth pinging to google.com  C:\Windows\system32&gt;ping google.com  Pinging google.com [31.7.160.224] with 32 bytes of data: Reply from 31.7.160.224: bytes=32 time=2ms TTL=61 Reply from 31.7.160.224: bytes=32 time=2ms TTL=61 Reply from 31.7.160.224: bytes=32 time=1ms TTL=61 Reply from 31.7.160.224: bytes=32 time=1ms TTL=61  Ping statistics for 31.7.160.224:     Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:     Minimum = 1ms, Maximum = 2ms, Average = 1ms   I tryed any antispyware/antimalware softwares, but null results.  Anyone else encountered this problem? Ubuntu 17.10 and later: can't change the input switching shortcut to alt+shift When I try to set the default combo for switching to different language layouts in my keyboard from Shift+Super+Space to Alt+Shift I can't.  I used to have this combo since Ubuntu 14 and even before that when I used to have Windows. Now for some stupid reason it does not allow (actually nothing happens its not like I get an error or the combo is used elsewhere). How could I bypass this bug? How exactly do I install Minecraft Mods and what is Forge? I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful.  I've seen on several sites about the use of something called Forge. The Mod I want to use requires 1.6.4 Forge and I have both Forge and the Mod folders sitting in my downloads folder.  I haven't installed any kind of mods for any game prior to this and I have little clue to the technical side of Minecraft, so please keep this in mind when you give me an answer please!  Things that might help you figure out how to help me:   I want to play this mod  and am using the 1.6.4 Forge given on a link that website gives For what values of $\theta$ does $\sum_{1}^{\infty} \frac{e^{i n\theta}}{n}$ Converge? I just came across the problem of what happens in the boundary cases of .  More concisely, for what $\theta$ will the following sum converge? $$\sum_{n=1}^{\infty} \frac{e^{ni\theta}}{n}$$ It is well known that this sum will diverge for $\theta=0$ and will converge for $\theta=\pi$. In fact, for any odd multiple of an even root of unity, since we have symmetry, for each line through the origin of the complex plane, we can use the alternating series theorem to show that they converge.  Another idea I had was to split  the sum into imaginary and real parts, and if we can prove each of these converges, then we are all set. So now we must prove that both of the following converge $$\sum_{n=1}^{\infty}\frac{\cos(n\theta)}{n}\space, \space \sum_{n=1}^{\infty}\frac{\sin(n\theta)}{n}$$ Now these can be shown to converge easily by Dirichlet's test for any rational multiple of pi, but what about irrational multiples of pi? I know it has been shown to converge with $\theta=1$, but I don't see how to generalize this. How to generate a chirped signal Preservation of ideals in localized rings Refer to localization of rings in Lang's Algebra p. 108. In particular, let $A$ be a commutative ring, $S$ a subset of $A$ that is a submonoid of the multiplicative monoid structure of $A$, containing the identity. Then  $S^{-1}A$ is the set of elements $\frac{a}{s}$ with $a \in A$ and $s \in S$.  We have $\frac{a_1}{s_1}=\frac{a_2}{s_2}$ if there exists $\bar{s} \in S$ such that $\bar{s}(s_2a_1 - s_1 a_2)=0$. Now consider the injection of $A$ into $S^{-1}A$ given by $x \mapsto \frac{x}{1}$. This is a ring homomorphism. Let $J$ be an ideal of $A$. Ring homomorphisms preserve ideals and so the injection of $J$ into $S^{-1}A$, call it $J^{*}$, will be an ideal. My problem is that i don't see why for any $\frac{a}{s} \in S^{-1}A$ and any $\frac{j}{1} \in J^{*}$ we will have that $\frac{aj}{s}$ will be in $J^{*}$, i.e. why there must exist an element $\kappa \in J$ such that $\frac{aj}{s}=\frac{\kappa}{1}$. For QGIS 2.2.0-Valmiera, how does one increase the label size of OpenStreetMap layer or any other basemap layer?  Presently the labels are way too small to read.  For example, I find that for the same zoom level of a map in www.openstreetmap.com vs the same map in QGIS2.2, the map in QGIS2.2 has labels much smaller than the one from www.openstreetmap.com.  For illustration, click here: Evaluate the sum: $\sum\limits_{n=0}^{\infty} \frac1{F_{(2^n)}}$ Evaluate the sum:  $$\sum_{n=0}^{\infty} \frac{1}{F_{(2^n)}}$$  where $F_{m}$ is the $m$-th term of the Fibonacci sequence. I need some support here. Thanks. Zombies - Why do they need to feed on living animals/humans? Proving convergence of sums: If $\sum_{n=1}^{\infty}a^2_n$ and $\sum_{n=1}^{\infty}b^2_n$ converge then $\sum_{n=1}^{\infty}a_nb_n$ converges How to use my aliases in my crontab? implicit operator using interfaces I have a generic class that I'm trying to implement implicit type casting for.  While it mostly works, it won't work for interface casting.  Upon further investigation, I found that there is a compiler error: "User-defined conversion from interface" that applies.  While I understand that this should be enforced in some cases, what I'm trying to do does seem like a legitimate case.  Here's an example:  public class Foo&lt;T&gt; where T : IBar {     private readonly T instance;      public Foo(T instance)     {         this.instance = instance;     }     public T Instance     {         get { return instance; }     }     public static implicit operator Foo&lt;T&gt;(T instance)     {         return new Foo&lt;T&gt;(instance);     } }   Code to use it:  var concreteReferenceToBar = new ConcreteBar(); IBar intefaceReferenceToBar = concreteReferenceToBar; Foo&lt;ConcreteBar&gt; concreteFooFromConcreteBar = concreteReferenceToBar; Foo&lt;IBar&gt; fooFromConcreteBar = concreteReferenceToBar; Foo&lt;IBar&gt; fooFromInterfaceBar = intefaceReferenceToBar; // doesn't work   Does anyone know a workaround, or can anyone explain in a satisfactory way why I shuouldn't be able to cast interfaceReferenceToBar implicitly to Foo&lt;IBar&gt;, since in my case it is not being converted, but only contained within Foo?  EDIT: It looks like covariance might offer salvation.  Let's hope the C# 4.0 specification allows for implicit casting of interface types using covariance. I just saw now that a new build had rolled out in which the comment upvote and flag options are always visible. Previously, one had to mouse over the area in order to see them.  Why was this just changed? Is it to support touch screens? I'll admit, it was difficult to find the flag button using my touchscreen laptop running Microsoft Edge.  Cross-site duplicate on MSO: Oracle: Inserting into table error - either duplicate column name or invalid datatype I'm trying to insert data from an external table. INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct        (construct_id,       n_term ,       enz_name,       c_term,       cpp,       mutations,       mw_kda) SELECT *     FROM EXTERNAL ((       construct_id NUMBER(10),       n_term VARCHAR2 (50),       enz_name VARCHAR2 (50),       c_term VARCHAR2 (50),       cpp VARCHAR2 (50),       mutations VARCHAR2 (50),       mw_kda NUMBER (7,3))      TYPE ORACLE_LOADER     DEFAULT DIRECTORY data_to_input     ACCESS PARAMETERS (         RECORDS DELIMITED BY NEWLINE         SKIP 1         BADFILE bad_files:'badflie_insert_into_construct_from_construct.bad'         FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '&quot;'         MISSING FIELD VALUES ARE NULL          )      LOCATION ('CONSTRUCT.CSV')     REJECT LIMIT UNLIMITED) ext          WHERE NOT EXISTS (         SELECT * FROM construct c         WHERE c.n_term = ext.n_term         AND c.enz_name = ext.enz_name         AND c.c_term = ext.c_term         AND c.cpp = ext.cpp         AND c.mutations = ext.mutations     );  But now i get this error: Error at Command Line : 171 Column : 7 Error report - SQL Error: ORA-00957: duplicate column name 00957. 00000 -  &quot;duplicate column name&quot;  Line 171 is the last line of this part INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct        (construct_id,       n_term ,       enz_name,       c_term,       cpp,       mutations,       mw_kda)  Which is clearly not a duplicate column. If I do: INSERT /*+ ignore_row_on_dupkey_index ( consruct ( construct_id ) ) */ INTO construct      (construct_id,      n_term,      enz_name,      c_term,      cpp,      mutations,      mw_kda) SELECT *     FROM EXTERNAL ((       ext.construct_id NUMBER (10),       ext.n_term VARCHAR2 (50),       ext.enz_name VARCHAR2 (50),       ext.c_term VARCHAR2 (50),       ext.cpp VARCHAR2 (50),       ext.mutations VARCHAR2 (50),       ext.mw_kda NUMBER (7,3))      TYPE ORACLE_LOADER     DEFAULT DIRECTORY data_to_input     ACCESS PARAMETERS (         RECORDS DELIMITED BY NEWLINE         SKIP 1         BADFILE bad_files:'badflie_insert_into_construct_from_construct.bad'         FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '&quot;'         MISSING FIELD VALUES ARE NULL          )      LOCATION ('CONSTRUCT.CSV')     REJECT LIMIT UNLIMITED) ext          WHERE NOT EXISTS (         SELECT * FROM construct c         WHERE c.n_term = ext.n_term         AND c.enz_name = ext.enz_name         AND c.c_term = ext.c_term         AND c.cpp = ext.cpp         AND c.mutations = ext.mutations     );  I get Error at Command Line : 174 Column : 10 Error report - SQL Error: ORA-00902: invalid datatype 00902. 00000 -  &quot;invalid datatype&quot;  Line 171 is ext.construct_id NUMBER (10), Android reject incoming call How do I add a Javascript library to a field formatter? I'm trying to include a Javascript gallery () on my new Drupal 8 site and wrote a field formatter for this purpose.   Now I need to add the jQuery lightGallery to pages using this field formatter and call the library when the page is ready. I am confused about how I am supposed to do this, though.   I defined the library in the module containing my field formatter, but I'm not sure how I attach it only on sites that contain the field.   The documentation of the library uses the jQuery $(document).ready function to call the libary, how would that work inside a Drupal module?