This specific issue isn't tied to just Ubuntu, It seems to effect a whole range of distributions. As I use Ubuntu as my main OS I ask this question here.  The issue is to do with soft locks and constant freezing I can't quite work out what the issue is. It may be a kernel bug, or it might just be tied to specific CPUs.  I've ruled out the possibility of it being my hardware, my brand new laptop has the exact same issue, and so do my older 1151 socket computer.  This issue doesn't seem to happen on my spare core 2 duo machine that I've used with Ubuntu for some time.  Both my desktop and laptop have different processors and different graphics cards, one being a AMD R7 360 and the other being integrated so it can't be graphic driver related.   My desktops CPU is a Haswell 1150 LGA Intel Core I3 4170. My laptop has a baytrail can't remember the rest, but it's a Intel pentium.  Completely ruled out ram as being the issue two, tested ram on both the laptop and desktop, put new sticks in. Hard drives have been tested, replaced them not long ago as general maintenance.  These freezes happen at random, and always require a hard reset, or they mouse just jumps very slowly than freezes.  I was thinking it could be the hard drive, as the hard drive light usually stays red before the lockup, but it's a brand new SSD and windows seems to work absolutely fine, and even happens with a LIVE USB with the hard drive taken out.  Older Linux distros like puppy linux don't seem to have this issue on either of my hardware, so I'm tying it to a kernel bug.  I surely can't be the only one with this issues, is there any known fixes for this? updating the kernel doesn't really do anything other than improve performance.  Only difference between the two computers is that, desktop seems to freeze randomly every couple hours, while my laptop would be anywhere from 10 minutes, to an hour.  I should add I think its related to this.
My system freezes completely at random, frequent intervals. I started to have the same problem in Ubuntu 14.04 but after recent upgrade to 16.04 there is no improvement, in fact it seems worse.  When it happens, it's impossible to do anything. I've tried everything in this thread:  but nothing works, I have to hard reset. I have read all the system logs and journalctl but there is never any information that could help diagnose the problem.  This is a dual-boot system with Windows 10 and there's no problem there, so it's not defective hardware.  My laptop has an Intel Bay Trail processor (Pentium N3540)
How to execute multiple statements in a MATLAB anonymous function? I'd like to do something like this:  &gt;&gt; foo = @() functionCall1() functionCall2()   So that when I said:  &gt;&gt; foo()   It would execute functionCall1() and then execute functionCall2().  (I feel that I need something like the )  EDIT:  functionCall1 and functionCall2 are not necessarily functions that return values. How can I check if a program exists from a Bash script? Sufficiency to prove the convergence of a sequence using even and odd terms In The Force Awakens, Finn and Poe steal and escape in a TIE wearing no personal life support apparatus. TIEs have been upgraded with shields, hyperdrives (for "/sf"), weapons etc, but as far as I know they weren't upgraded with built in life support.   Finn and Poe should have frozen and/or suffocated after hitting space in the TIE. In the Rebels series, Sabine did the same thing. I've looked at what Wookieepedia states about the TIE as well as the old video game Star Wars "TIE Fighter".  Does the movie or any other work explain how Poe and Finn survived? The rulebook states that carrying capacity is the strength score times 15 (lbs). Find familiar allows me to get a hawk, which has a strength score of 5. This results in a carrying capacity of 75 lbs. This is well within the range of weights for small people such as gnomes or halflings. Does this mean my familiar can carry them and fly away (given they do not struggle)? "Recent Badges" list is displayed without margins on "Home" page When the &quot;Hide Hot Network Questions&quot; preference is enabled (i.e. HNQ sidebar is hidden), we see &quot;Recent Tags&quot; and &quot;Recent Badges&quot; in the homepage instead of the HNQ. However, the &quot;Recent Badges&quot; list is displayed with no margins. ex.)   I think that the appropriate margins were set in the past. cf.) For an existing set of line features, I would like to generate a perpendicular line, of say 1km, at the midpoint of each existing line feature in ArcGIS.  I imagine that The methodology would be to:   create a tangent line at the midpoint of each existing line feature calculate the angle of the tangent line based on the angle of the tangent line, calculate the location of the endpoint of the new line create the new line with the calculated endpoint of the new line and the existing midpoint of the old line   Let's assume that we are in a UTM projection and can use coordinates to calculate distance and direction.  How would I do this with ArcGIS tools or with ArcPy? I was having a time getting my bootable USB 3, 32GB W10 install USB to be recognized. It recognized one time but I had to restart for something and it never came up again. I eventually removed all other boot up options to make it easier and faster to try again (no F12 needed).  Finally I gave up and tried another drive (16GB this time FWIW) and then it worked.  HOWEVER, it's stuck on a reboot loop now. I can choose to install, then to select the right disk, then it says it's loading file and then next thing I know it's saying do you want to install or upgrade. How can one run multiple versions of PHP 5.x on a development LAMP server? Does anyone have an intuitive explanation (no formulas, just words! :D) about the "$n-1$" instead of "$n$" in the unbiased variance estimator $$S_n^2 = \dfrac{\sum\limits_{i = 1}^n \left(X_i-\bar{X}\right)^2}{n-1}?$$ The difference between GPU and CPU In Peter Jackson's film The Fellowship of the Ring, when the Council of Elrond takes place it shows a total of 22 members:    We all know the names of the ones who were part of the Fellowship, but I want to know who are the rest of the people in the council. Who are the elves that came with Legolas? The men next to the dwarves? The three old men sitting next to Boromir? Or the two elves next to Aragorn?  Starting from left to right:   Frodo Gandalf Elf Elf Legolas Elf Old Man Old Man Dwalin Gloin Gimli Nori Old Man Boromir Old Man Old Man Elf Elf Aragorn Elladan Elrond Elrohir I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error:  System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)** at x.Foo.FooGO() at x.Foo.Foo2(String groupName_) in Foo.cs:line 123 at x.Foo.UnitTests.FooTests.TestFoo() in FooTests.cs:line 98** System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.203, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)  I look in my references, and I only have a reference to Utility version 1.2.0.203 (the other one is old). Any suggestions on how I figure out what is trying to reference this old version of this DLL file? Besides, I don't think I even have this old assembly on my hard drive. Is there any tool to search for this old versioned assembly? Label rows of a matrix by characters How can I force a long string without any blank to be wrapped? I have a long string (a DNA sequence). It does not contain any whitespace character.  For example:  ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTCGATGTAGCTAGTAGCATGTAGTGA   What would be the CSS selector to force this text to be wrapped in a html:textarea or in a xul:textbox? How can I make sure texts from friends with iPhones don't go to iMessage instead of my Android phone? I have always used an Android phone, but text messages from certain friends get hijacked by iMessage. How do I prevent iPhones and MacOS Messages from sending me iMessages? I need all messages to be SMS or MMS. Some friends with iPhones will text me, but I don't receive the message. Today I noticed the Message app on my Mac had notifications. I never open this app since I don't use iMessage, but I looked today, and found multiple &quot;lost&quot; messages from several weeks ago. Please note that this is NOT the same question as . My Android phone is not, and has never been, registered with iMessage, and I have already followed those instructions. Another poster () had the same question as me----but it was closed, being deemed as the same as the Removing phone number question. It's actually fairly different. I have tried:  Leaving my Messages app closed on my Mac. But somehow messages from these people get hijacked. Deregistering my mobile number using Apple's online Deregister iMessage tool. When I attempted this, I got the message &quot;Your phone number is not registered with iMessage.&quot; Finding a setting on my Android phone that addresses this. The problem is apparently (and logically seems to be) on the Apple end.  Things  says he tried:   Closing Messages.app. I still get macOS notifications of messages. In Messages &gt; Preferences… &gt; Accounts &gt; [my email address], untick &quot;Enable this account&quot;. Then my friends messages disappear and I never see them at all, at least until I reenable in Messages.app. Looking in System Preferences and on icloud.com and appleid.apple.com    to see if there is some setting I can disable—but I've not found    anything relevant. Using Apple's Deregister iMessage tool to unregister my mobile    number. When I attempted this it gave me the message &quot;Your phone number is not registered with iMessage.&quot; I'm looking for a command (or command line program) to toggle (disable/enable) internet access to the outside world in Windows XP machines. It should temporarily block internet access but leave the LAN working.   I looked for ways to change the DNS, but browsers like Chrome keep their own cache. The machines are configured via DHCP. PHP & MYSQL: using group by for categories First and foremost I am sorry for this; in order to make the questions clear I must first upload the lecture notes from my institution $^\zeta$ for the derivation of Hydrostatic Equilibrium:          $^\zeta$ Lecture notes courtesy of Imperial College London, Astrophysics dept, 2017-2018 edition.    Firstly, in equation $(3.1)$ why is there no negative sign for $F_g$? Last time I checked, Newton's law of gravitation told us that   $$F=-\frac{GMm}{r^2}$$  Nextly, I have a conceptual problem with equation $(3.2)$; when they use the term 'pressure' I am going to assume that they are referring to the radiation pressure that is released due to nuclear fusion reactions taking place in the sun. In that formula it must be the case that $P(r) \gt P(r+\delta r)$ if this is the case then $(3.2)$ should read $$F_p=-\left(\frac{dP}{dr}\right)\delta r\,\delta A $$   Correct me if I'm wrong but Hydrogen nuclei are fused together to generate the more stable Helium and hence lots of radiation pressure acting outwards from the centre of the star. If this is correct then $P(r+\delta r)=0$, since the outside face of that cylindrical volume element in Figure $3.1$ will not 'feel' any of this radiation pressure because this pressure only acts on the inner face. What am I not understanding here?  Moving on to equation $(3.3)$, let's suppose the sign of the gravitational force in $(3.1)$ really is neglected. Does this mean that the negative sign in $(3.3)$ is due to $P(r+\delta r) \lt P(r)$ and hence $$\frac{GM(r)\rho(r)}{r^2}=-\left(\frac{dP}{dr}\right)\,?$$ I know this is the same equation as in $(3.3)$ but I have written it with the negative sign next to the pressure differential as I would like to know where this minus sign originates from. Does anyone know?  My final concern is the sign in $(3.4)$ as last time I checked $$g=-\frac{GM}{r^2}$$ and not $$g=\frac{GM}{r^2}$$  Hence, equation $(3.4)$ should read  $$\left(\frac{dP}{dr}\right)=\rho(r)\,g\,?$$     I forgot to mention that I have done some research and  is the closest derivation I could find, which, needless to say is no less helpful than the notes I have. Is there an issue tracker for already reported Mathematica bugs?