When I report a bug I may be asked to "try out the latest upstream Kernel", how do I do that?  I see a lot of version specific answers to this question here on ask ubuntu, what are the general instructions?
Currently I'm running Linux-3.0 and I want to update it to Linux-3.3.1 the latest stable kernel release as mentioned at . Can I update to 3.3.1 in Ubuntu without any risk of crashes? I'm updating my kernel regularly as provided by the Update Manager..Currently I have Linux-3.0.0.17..Can I update?  NOTE:  The latest kernel version any user is supposed to use in Ubuntu is updated automatically via the Update Manager, so no action is normally required by user regarding kernel upgrades. What the question author is referring to is mainline kernel, see:
How can I prove that $\frac{n^2}{x_1+x_2+\dots+x_n} \le \frac{1}{x_1}+ \frac{1}{x_2} +\dots+ \frac{1}{x_n}$? How can I prove that $\frac{n^2}{x_1+x_2+\dots+x_n} \le \frac{1}{x_1}+ \frac{1}{x_2} +\dots+ \frac{1}{x_n}$?   im trying to use AM-GM  $\sqrt[n]{ \frac{1}{x_1} \frac{1}{x_2} \frac{1}{x_3} ..\frac{1}{x_n}}   \le \sum_{k=1}^n \frac{{\frac{1}{x_1} +\frac{1}{x_2}+ \frac{1}{x_3}+ ..\frac{1}{x_n}}}{n}$  $ln\sqrt[n]{ \frac{1}{x_1} \frac{1}{x_2} \frac{1}{x_3} ..\frac{1}{x_n}} \le ln \frac{1}{n} \sum_{k=1}^n {\frac{1}{x_1} +\frac{1}{x_2}+ \frac{1}{x_3}+ ..\frac{1}{x_n}}$  $ \frac{1}{x_1} \frac{1}{x_2} \frac{1}{x_3} ..\frac{1}{x_n}\le  \sum_{k=1}^n {\frac{1}{x_1} +\frac{1}{x_2}+ \frac{1}{x_3}+ ..\frac{1}{x_n}}$  im not sure is this right or not, however i dont know how to include the $n^2$ in the nominator? is there also alternative proof using jensen inequality? How to inset a face? I am trying to set up a Minecraft rig mouth that will have more controls and will be rounded, but I am having issues trying to figure out what this guy did here. First, he did what looked like a loop cut and slide, but instead of drawing a line it selected all the edges it passed through. He then cut to a new clip where the mouth was already set up like this.    The video is in 3 times speed but if you download a youtube plugin you can slow it down to 0.25 speed of the video and then if you do the spacebar trick you can slow it down so it shows 1 frame at a time and it is really slow.  if you want or need to see the video.  All I am asking is how can I create those 8 basic segments. Explicitly finding the sum of $\arctan(1/(n^2+n+1))$ This is from a GRE prep book, so I know the solution and process but I thought it was an interesting question: Explicitly evaluate $$\sum_{n=1}^{m}\arctan\left({\frac{1}{{n^2+n+1}}}\right).$$ How do Minecraft biomes work? I've never seen any information about the distribution of biomes in a generated world.   First, are all types of biomes, guaranteed to exist in a world? Will I always find snow somewhere, and desert somewhere? I've got one world that doesn't seem to have cactus (so I guess the sand is beaches, no actual desert).  Second, is there any kind of pattern or relation to biomes? Is snow to the North, and desert South, for example?  Third, how about density of biomes? If all types do exist, would I find them all within distance X of my spawnpoint, or have to travel for weeks to find a given type? Remotely changing hard drive boot order, windows 7 I have one workstation chassis with two hard drives.  Depending on which one I boot from, I get one of two different operating systems: both are windows 7, but they have different static IPs, serve totally different purposes, etc.    The workstation has a modern asus motherboard, core i7 intel CPU, 32 GB ram.   Is there a way to remotely change which hard drive is booted from on a reboot?  Both systems have remote users, and i'd like a solution that is more elegant than being physically present and selecting boot order manually. How to do a bias-variance analysis on a machine learning modelling process Segmentation fault on large array sizes How do I install .run files? Number of combinations of dice having different number of faces that add to $10$ A function $\textbf{face}_{\mathrm{sum}}$ that takes a vector  $f$ that represents the number of faces of each die, and a positive integer  $s$ , and returns the probability that the sum of the top faces observed is  $s$ .  For example, if $f=[3,4,5]$  and  $s≤2$  or $s≥13$ , $\textbf{face}_{\mathrm{sum}}$ returns $0$, and if  $s=3$  or  $s=12$ , it returns  $\frac13*\frac14*\frac15=\frac1{60}$  $\textbf{face}_{\mathrm{sum}}([2,4,4,6], 10)$  I tried to solve this but I can't find the formula to calculate the number of combination of die faces that add to $10$, as the number of faces are different for each die.  Since max no of possible combination is $6*4*4*2=192$, all I need to find is the number of combination of die faces that add to $10$.  Thanks in advance. Is it possible to add a user and restrict him to run special programs? For example after this user logs in, he can only open Firefox to use Internet and no other programs can be run by this user. For example in a terminal, commands will not be accessible when you delete some environment variables like $HOME. But is it possible to avoid running programs in a graphical shell, like Gnome? If yes, how? How can I do traffic shaping in Linux by IP? We have a transparent proxy setup. I tried looking for traffic shaping in Linux, and all I could find online was to limit traffic by interface (eth0/eth1...).  I need to limit the bandwidth (never exceeding a specific limit) by IP address or IP ranges and I can't find a way to do that.  Is there any way to do that? How can I assign different random values to each row in a SELECT statement? Please look at this code:  create table #t1(   id int identity (1,1),   val varchar(10) );   insert into #t1 values ('a'); insert into #t1 values ('b'); insert into #t1 values ('c'); insert into #t1 values ('d');   Now, whenever you execute this  select *,      ( select top 1 val from #t1 order by NEWID()) rnd  from #t1 order by 1;   you will get a result with where all rows have the same random value. e.g.  id          val        rnd ----------- ---------- ---------- 1           a          b 2           b          b 3           c          b 4           d          b   I know a way using a cursor to loop throw the rows and get different random values, but that is not performant.   A clever solution to this is   select t1.id, t1.val, t2.val from #t1 t1     join (select *, ROW_NUMBER() over( order by NEWID()) lfd from #t1) as t2 on  t1.id = t2.lfd    But I simplified the query. The real query looks more like  select *,      ( select top 1 val from t2 where t2.x &lt;&gt; t1.y order by NEWID()) rnd  from t1 order by 1;   and the simple solution doesn't fit. I'm looking for a way to force repeated evaluation of  ( select top 1 val from #t1 order by NEWID()) rnd    without the use of cursors.  Edit: Wanted output:  perhaps 1 call  id          val        rnd ----------- ---------- ---------- 1           a          c 2           b          c 3           c          b 4           d          a   and a second call  id          val        rnd ----------- ---------- ---------- 1           a          a 2           b          d 3           c          d 4           d          b   The value for each row just should be a random value independent from the other rows  Here is the cursor version of the code:  CREATE TABLE #res ( id INT, val VARCHAR(10), rnd VARCHAR(10));  DECLARE @id INT DECLARE @val VARCHAR(10) DECLARE c CURSOR FOR SELECT id, val FROM #t1 OPEN c FETCH NEXT FROM c INTO @id, @val WHILE @@FETCH_STATUS = 0 BEGIN     INSERT INTO #res     SELECT @id, @val, ( SELECT TOP 1 val FROM #t1 ORDER BY NEWID()) rnd      FETCH NEXT FROM c INTO @id, @val END CLOSE c DEALLOCATE c  SELECT * FROM #res When you cast invisibility on your turn, and walk away from 2 enemies, do they get an attack of opportunity? When a PC is in melee with a creature, casts the basic invisibility spell, and leaves melee, does an NPC get an attack of opportunity? How do I use variables in a sed command? First I should clarify I don't have previous experience with the field, so I don't know the technical terminology. My question is as follows:  I have two weather datasets:    The first one has the regular coordinate system (I don't know if it has an specific name), ranging from -90 to 90 and -180 to 180, and the poles are at latitudes -90 and 90. In the second one, although it should correspond to the same region, I noticed something different: latitude and longitude were not the same, as they have another reference point (in the description is called a rotated grid). Together with the lat/lon pairs, comes the following information: southern pole lat: -35.00, southern pole lon: -15.00, angle: 0.0.    I need to transform the second pair of lon/lat to the first one. It could be as simple as add 35 to the latitudes and 15 to the longitudes, since the angle is 0 and it seems a simple shifting, but I'm not sure.  Edit: The information I have about the coordinates is the following    Apparently, the second coordinate system is defined by a general rotation of the sphere  "One choice for these parameters is:   The geographic latitude in degrees of the southern pole of the coordinate system, thetap for example; The geographic longitude in degrees of the southern pole of the coordinate system, lambdap for example; The angle of rotation in degrees about the new polar axis (measured clockwise when looking from the southern to the northern pole) of the coordinate system, assuming the new axis to have been obtained by first rotating the sphere through lambdap degrees about the geographic polar axis, and then rotating through (90 + thetap) degrees so that the southern pole moved along the (previously rotated) Greenwich meridian."   but still I don't know how to convert this to the first one. Rewriting a custom-post-type permalink with taxonomy term? I changed both the desktop and login screen background photos. However,only desktop photo is changed. The one on the login screen is still the purple Ubuntu one. Is this a bug? I really love Eclipse (PDT)... But i'm developing sites using HTML5 and CSS3 and it mark the HTML5 tags like &lt;nav&gt;, &lt;section&gt; and &lt;article&gt;  as invalid tags (inexistent).  How can I add those new tags to it?  And what about CSS3 rules?  I read something about remove the "invalid tag" check... and that's not what I want. :( SyntaxError: invalid syntax // SyntaxError: unexpected EOF while parsing How do I detect text inside of this, this is HTML &amp; this is XPath. I tried  HTML     &lt;span class="messageText"&gt;Hello.&lt;/span&gt; XPath     //*[@id="liveAgentChatLogText"]/span[22]/span[2]   I tried with this but it didn't work, it said no such element found.  driver.find_element(By.XPATH, '//*[@id="liveAgentChatLogText"]//*[contains(string(.), "Hello")]') This question is the flip-side of the commonly asked food temperature safety concerns. I'd like to know, if a meat-based soup stock (chicken/pork/beef/etc) were to be held constantly at a safe hot temperature of 165F/73C-180F/82C, how long could it stay at this temperature and still be considered safe to eat?  Obviously, it would reduce over time, but suppose it's reconstituted with water regularly so that it could continue being held... Is there ANY sort of time limit (even completely unreasonable spans like, months, years, etc)?