Was doing some development using a Java library and started getting a buffer overflow error that I thought was being caused by an Nvidia driver update so I started fooling around with those a bit and now I've got an odd error that shows up.  Basically if I put my computer into suspended mode (running Ubuntu 16.04 LTS), I have the following odd pixel stuff showing up:    As you can see, this could prove rather annoying.  The problem doesn't appear if I have the windows in full screen mode, only in windowed mode.  I've tried running a purge on the nvidia stuff and reinstalling the nvidia-375 package as well as going into the addition drivers option and trying different items listed there.  However, nothing appears to be working.  There's also a problem where opening anything new freezes the monitor where it opens.  I'm at a loss of what else to do about this so any suggestions would be greatly appreciated.
After some gorgeous updates I witness this:
Does python optimize modules when they are imported multiple times? If a large module is loaded by some submodule of your code, is there any benefit to referencing the module from that namespace instead of importing it again?  For example: I have a module MyLib, which makes extensive use of ReallyBigLib. If I have code that imports MyLib, should I dig the module out like so  import MyLib ReallyBigLib = MyLib.SomeModule.ReallyBigLib   or just  import MyLib import ReallyBigLib How long does Alchemist's Fire burn? Looked and looked, can't find the answer anywhere (maybe I'm blind):  How long does Alchemist's Fire burn for?  In the item description within , it says:     On a hit, the target takes 1d4 fire damage at the start of each of its turns. A creature can end this damage by using its action to make a DC 10 Dexterity check to extinguish the flames.   Yet no mention of the burn rate.  One round after a hit?  2?  A minute?  Continuous until extinguished? If $(a,b)=1$ then prove $(a+b, ab)=1$. I have defined my own custom vim file type with highlighting etc.  I would like to open it using the terminal based vim when I double click on it.  I am using mac os x.  Any pointers on how to start on this? Can HTML checkboxes be set to readonly? I thought they could be, but as I'm not putting my money where my mouth was (so to speak) setting the readonly attribute doesn't actually seem to do anything.  I'd rather not use Disabled, since I want the checked check boxes to be submitted with the rest of the form, I just don't want the client to be able to change them under certain circumstances. Why can't I suggest edits on SE meta sites? When you click &quot;edit&quot; on a meta site as a non-edit-privileged user, the error message appears:  Suggested edits are not allowed on non-tag-wiki posts on meta sites.  Right as I was going to post this as a possible bug, I finally found  which says that per-site Metas don't have suggested edits by-design because it's &quot;not needed&quot;. However, I've been participating a lot over at  where there is a lot still to be figured out in terms of site guidelines.  The Meta is one of the most active I've seen and a lot of the questions are really trying to gather community-built suggestions.  So maybe more of those need to be Community Wiki, but it still brings me to ask why don't per-site-metas &quot;need&quot; suggested edits? Adding bounty: The more betas I participate in, the more I don't get this. Can I legally downgrade from Win 7 64 bits to Win 7 32 bits? Possible Duplicate:          Tired of the unstable Win 7 64bit I got when I purchased my laptop (it was impossible to find a powerful laptop with Win 7 32 bits).  Can I legally downgrade from Win 7 64 bits to Win 7 32 bits? The key/activation will work?    Details: Everybody comments about the stability of Win 64.  Well, I made a mistake. Is not that Win 64 is unstable (it never crashed). It just works very poor. It feels choppy. Compiling a large program (on an old AMD desktop PC) takes 1.5 seconds on Win 32. The same program compiles on Win 64 in 4-5 seconds in this new and "powerful" laptop. All programs are less responsive. How should I deal with becoming discouraged as a graduate student? I am a third year (starting fourth year in the fall) PhD student in mathematics. I've passed all qualifying exams and am currently doing research. As far as I can tell, I am not doing poorly. I have the good fortune of having a great advisor, being in a very supportive department, and having friends and family who genuinely care about my success.   The fact is research is hard. It appears to consist primarily of staring at a problem for days and days and days without getting anywhere. Sometimes, rarely, I do figure something out and that feels wonderful, but the overwhelming majority of my time appears to be spent banging my head against a mostly figurative wall. I am not complaining about the material being hard, and I am not averse to putting in hard work, but I get frequently discouraged when I realize the vast volumes of mathematics that I yet know nothing about (and probably never will). It's very hard to quantify progress - in particular, there are too few tangible returns after too many hours worked. I find myself thinking along the lines of "Oh, if only someone actually smart were thinking about this problem they would have solved it in moments" and so on.   I've talked about this to some number of people; here is some advice I have received:   Take a day off. Putting in hours upon hours of trying things doesn't magically lead to a solution, particularly if the brain is tired and just wants to sleep. Have a hobby. Since math research doesn't exactly provide instant gratification, a hobby might provide some instead.  Talk to other graduate students. Realize that many graduate students go through this.   I'm interested to know how other folks have dealt with being discouraged as a graduate student. Does it get better with time and experience? Is this a sign that research is not for me and that I should seriously consider a life outside academia? Resistor in series We know that when a resistor is connected in series , the current flowing through that resistor will be constant.But how do we use a resistor to limit the current flowing through a circuit ,when resistor is connected in series with the circuit ? How to turn the white colour portion to transparent I got this map icon in work in illustrator, and would like to turn those white dash line and the white outline of the location mark to transparent. Can you please advise me how to do it? Thank you in advance. Duplicate explanation should encourage improvement of original Testing random variate generation algorithms Which methods are used for testing random variate generation algorithms? A complete residue system from an arithmetic progression I'm solving a problem, and the solution makes the following statement: "The common difference of the arithmetic sequence 106, 116, 126, ..., 996 is relatively prime to 3. Therefore, given any three consecutive terms, exactly one of them is divisible by 3." Why is this statement true? Where does it come from? Is it generalizable to other numbers? How do you copy the contents of an array to a std::vector in C++ without looping? How can I install Ubuntu on a second hard drive with Windows being on the first? I have recently got an Alienware M17x R4 and since it has two hard drive bays I was thinking of putting my hard drive from my old laptop and installing Ubuntu on it without making any changes to the drive that has Windows on it. Also if possible to add a entry to the Windows boot loader to boot Ubuntu instead of using GRUB. Fastest Gun in the West Problem Extra slash added to the chat room URLs in the side bar Obtain user and kernel time of a running process? Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel?  In other words, exactly the "user" and "sys" values that you get when using time, but during process runtime?  NOTE: one way is to use WBEM and enumerate Linux_UnixProcess, but I need to use other tool than this; my aim is to verify what WBEM provider tells me, i.e. I need to use different tool. Picklist dependent on 2 controlling picklist I have 3 picklist in an object Test1, Test2, Test3  1. Test2 is dependent on Test1  2. Test3 is dependent on both.. Test1 and Test2    I want to have Test3 picklist showing values accordindly. i.e  if U selected Test1 = First and Test2 = SA . I should be able to see "IST,ABC and PQR" in Test 3.   Is this possible??? Is editing sources.list a good idea? This doubt is hitting me since 2-3 days, so I decided to test it myself. What I did is I installed Ubuntu 16.04.4 in VMWare and edited /etc/apt/sources.list and replaced xenial with bionic using:  sudo sed -i 's/xenial/bionic/g' /etc/apt/sources.list   Then I ran  sudo apt-get update &amp;&amp; sudo apt-get upgrade    I was able to upgrade to 18.04, confirmed by using lsb_release -a. However, I encountered some problems like:   apt does not have a stable CLI interface. Use with caution in scripts. unmet dependency of  python3-aptdaemon.pkcompat Release 'bionic-backports' for 'appstream' not found Broken Unity   I solved all the errors and installed gnome and gdm3.   So, I just want to know is it a good idea to edit sources.list? I know that my system might broke but is there any other specific reason not to use this.  Note: I tested this on Ubuntu 16.04 in VMWare to clear my doubts only.