I've been having some issues with Windows 7 lately and have scoured as many relevant forum threads Google can muster up, but to no avail. The problem seems somewhat common among users, but each potential solution seems to go off in a completely different direction than the next, so here I am making my own customized post and seeking your expert advice.  Randomly when running any application (even just Event Viewer or the file browser, but also when using Chrome, Skype, Adobe products, etc.), my computer will freeze for anywhere between 30 seconds to 1.5 minutes. I usually notice my system is going to lock up when internet tabs stop loading. I see the loading wheel in the Chrome tabs, and I know the program is about to hang. Shortly after one application begins to freeze, most of the other applications I click on/mess with freeze too. Interestingly, for programs that are recording or outputting sound (Skype calls, YouTube videos, iTunes) will continue to play/record sound so long as I don't touch them. Once a minute or two has gone by, the entire system frees up again and all the applications continue as normal, all at the same time.  Custom computer build specs (PCPartPicker list: /list/MfMHhq):   CPU: AMD FX 8350 8-Core 4.00 GHz  mobo: Gigabyte GA-970A-DS3P ATX AM3+  GPU: Gigabyte GeForce GTX 970 4GB WINDFORCE 3X  CPU Cooler: Noctua NH-D14 65.0 CFM (applied Arctic Silver 5 AS5-3.5G thermal paste) SSD: Transcend 256GB 2.5"  HDD: WD Blue 2TB 5400 RPM SATA 6 Gb/s 64MB Cache 3.5" RAM: 2 ✕ 4GB DDR3-1600 (it should be noted that I had a difficult time installing one of the RAM sticks during assembly. It seemed like one of the bays was a tiny bit smaller than the stick so I had to be more forceful than I'd hoped/liked. Nothing snapped/broke to the best of my knowledge.)   DVD: Asus 24x DVD-RW SATA Internal OEM optical drive   PSU: Corsair CXM 750W 80+ Bronze Semi-Modular ATX    OS: Windows 7 Professional 64-bit SP-1 (activated)     I wore an anti-static wrist band apparatus during entire build time.  Troubleshooting steps already taken:   Boot the system with many things disabled (from msconfig) --  System File Checker -- nothing to report Downgrading from Windows 10 (when it was a free upgrade. It sucks for me now.) Reinstalling Windows 7  Check Disk -- took literally 24 hours to complete and it found a few corrupted or missing things (not sure of the jargon here...) but offered to fix them so I accepted. They were raw image files (.NTF) I had imported from my Nikon D3200 DSLR camera. "Smart Scan" with Avast Antivirus (free) --  I'm not sure what to think, but I'm not thinking too deeply about this. Updating drivers -- I've updated all my drivers that programs like AVG and Avast have told me are out of date, but none of by devices that connect with USB 3.0 work in any of the ports on my motherboard. I've installed the Eltron USB3.0 Host Controller driver from Gigabyte's website, and I (hope) this is a separate issue I can solve later. Keeping Event Viewer and Task Manager open at all times to observe behavior during freezes -- I've looked through all (yes, all) of the logs under Applications and Service Logs/Microsoft/Windows and the only section that had anything that matched the timestamp of the latest freeze was the "CAPI2" Operational log. Lots of "Information" level entries and one or two "Error" entries. When applicable, I've copied the URLs in the "Details" tab of the "Error"-level entries, downloaded the file, right-clicked, and chosen "Install CRL". I've always restarted my computer after installing any CRL files. Nothing's fishy in Task Manager during these freezes either. About 80-88% from System Idle Process, 13% from svchost.exe, and maybe 8-12% from Chrome during the most recent freeze.  I'm guessing you'll want to see those CAPI2 entries, so just let me know of the best way to dump that information.   Any and all help/suggestions are appreciated. I will gladly run any necessary tests thrown at me and will report back results. Just make sure I know how to report/dump the results.
A machine is described as being "really slow" or "freezing". How can I troubleshoot/resolve this issue? What should be the first steps to take?
Java map with values limited by key's type parameter Is there a way in Java to have a map where the type parameter of a value is tied to the type parameter of a key? What I want to write is something like the following:  public class Foo {     // This declaration won't compile - what should it be?     private static Map&lt;Class&lt;T&gt;, T&gt; defaultValues;      // These two methods are just fine     public static &lt;T&gt; void setDefaultValue(Class&lt;T&gt; clazz, T value) {         defaultValues.put(clazz, value);     }      public static &lt;T&gt; T getDefaultValue(Class&lt;T&gt; clazz) {         return defaultValues.get(clazz);     } }   That is, I can store any default value against a Class object, provided the value's type matches that of the Class object. I don't see why this shouldn't be allowed since I can ensure when setting/getting values that the types are correct.  EDIT: Thanks to cletus for his answer. I don't actually need the type parameters on the map itself since I can ensure consistency in the methods which get/set values, even if it means using some slightly ugly casts. Is there a gender-neutral word for "aunts and uncles"/"parents' siblings"? When does the placement of a resistor matter? I've been a programmer for years but am very new to electronic engineering. So far I see people saying it doesn't matter where a resistor goes in your LED circuit as long as it is present, but it sounds like that's the nature of the basic LED circuit.  When does the placement of a resistor start to become important? Embeddings $A → B → A$, but $A \not\cong B$? Are there any nice examples of structures (groups, modules, rings, fields) $A$ and $B$ such that there are embeddings $A → B → A$ while $A \not\cong B$? I would especially like to see an example for modules $A$, $B$. Or is it even true that the existence of such embeddings implies $A \cong B$?  Background: I’m correcting exercises and I wanted to give a counterexample to a failing argument. (Well, I’m not certain it fails, but I’m pretty sure it does and it’s not sufficiently justified at least.) remove locked by android device manager message I have played with Android device manager and I have blocked my phone. I have deblocked but everytime my phone enters into standyby it apears me the message "locked by android device manager" and I have to enter the password again.  Do you know how to remove this message? Travel on a Schengen visa stating EEA family member without spouse? How do I download a YouTube video? What are instructions on how to download videos from YouTube?    Notice: Terms of Service Violation  Please be aware that by following any of the answers below, you will be violating YouTube's . In particular, from Section 5.B.:     Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content. npm commands not working on WSL with zsh Finding places to play Magic the Gathering games A friend of mine recently got MTG for the XBox and is talking us into getting real cards.  I'm all up for starting but I dread the idea of playing the same two people over and over with no change epically since one of them is over competitive and exploits every loophole he can to win.  Does anyone know of any a reliable (not just google it) way to find places where people play MTG? I see pictures online of everyone having all these Pokémon to catch being everywhere around them, but it seems like I can only ever see one or two. I live in a rural area, but even walking miles through the farmland, it's rare to find any Pokémon.  Why is this? How can I find more Pokémon? I am confused about the usage of the words like and unlike in sentences. Like and unlike make me confused because I see them being used everywhere almost interchangeably, and to make matters worse I even saw commas making difference in meaning.  Which of the following sentences is most correct, and least ambiguous?      Unlike Xbox, Playstation can't play Halo.     Playstation can't play Halo unlike Xbox can.     Playstation can't play Halo, unlike Xbox can.     Like Xbox, Playstation can't play Halo.     Playstation can't play Halo like Xbox can.     Playstation can't play Halo, like Xbox can.     Playstation can't play Halo unlike Xbox.     Playstation can't play Halo, unlike Xbox.     Playstation can't play Halo like Xbox.     Playstation can't play Halo, like Xbox.    In case you don't know what I actually wanted to say in those sentences: I'm trying to say that Playstation can't run the Halo video game and Xbox can run that game. I probably should have tried sentences with no brands but I can't imagine any meaningful sentences at this moment which contains like/unlike. I am a computer scientist, and one of my professors today used the symbol $\propto$. I tried to search that using google, but it returns no results, and I do not even know its name.  So, I would like to ask, what does the operator $\propto$ mean? What is its name, and how is it used? Geocoding USA addresses that cannot be sent over internet? I've heard of the idea of bootstrapping a language, that is, writing a compiler/interpreter for the language in itself.  I was wondering how this could be accomplished and looked around a bit, and saw someone say that it could only be done by either   writing an initial compiler in a different language. hand-coding an initial compiler in Assembly, which seems like a special case of the first   To me, neither of these seem to actually be bootstrapping a language in the sense that they both require outside support.  Is there a way to actually write a compiler in its own language? Probability that two random numbers are coprime is $\frac{6}{\pi^2}$ This is a really natural question for which I know a stunning solution. So I admit I have a solution, however I would like to see if anybody will come up with something different. The question is     What is the probability that two numbers randomly chosen are coprime?   More formally, calculate the limit as $n\to\infty$ of the probability that two randomly chosen numbers, both less than $n$ are coprime. Cannot install R-forge package using install.packages Black nontransparent glass (Cycles) I am modeling plane and I don't want to model a cockpit so I want to use black windows which will reflect a lot of light but you can't see thought.   Currently I just use Glossy BSDF (GGX) with almost black color (0.01, 0.01, 0.01) and Rougness 0.015 but it don't look quite right. It lacks glass shine and looks too matt.  Edit:  Here is my simplified blend file:    Also here is what i want. Glass on this tie fighter is blackish and it looks like glass. In my blend file it looks more like plastic.    One more thing i noticed is when light reflect from glass whole glass section reflect same amount of light. It can be seen on tie fighter example above. What is the difference between \emph{...} and {\em ...}?  When to use each of them? Can I mask an input text in a bat file? How do I display 2 sections side-by-side?