I have been hit with a Virus that disables Windows Security by removing all its components (Windows 10). Startup Repair fails to run and I don't have a system restore that dates back before this (or even the virus somehow survives system restores not sure). The virus also disguises as the winrmsrv service and tries to get firewall access (I denied that).  I've downloaded MalwareBytes and scanned for malwares, the threats were detected and removed but the security components are still missing. Previously, I've resorted to resetting the PC which fixed the issue but now it's back again (after around 6 months) and I can't find the source of it. My initial thought is that the malware could be up within a removable flash drive (I got an infection previously within a drive but it was scanned and removed before opening anything within the drive). But upon further inspection, all other laptops within my home are not affected and we use the flash medias interchangeably so it must be still stuck somewhere within my PC. The Defender Firewall appears to be running but can only be accessed from the start menu, and I get this message as well (screenshot below). In control panel, the firewall appears to be working.   My question is: How it is coming back after a PC reset? Is there something that I'm missing or misunderstanding? In addition, can I fix missing components in Windows without resorting to a factory reset?
What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.
I have a text file named "Hex_data.txt". I want to load content of Hex_data.txt into a variable name RAM in verilog. When I try this, I get an error that the text file can't be found. Where is this file loaded from?  The content of "hex_data.txt" :            21            a4          2a          26          7a          ff           6f   I want to create a variable name "RAM" defined like:   reg [6:0] RAM; in which the above content save like:  RAM[0]=21     RAM[1]=a4           RAM[2]=2a             RAM[3]=26            RAM[4]=7a             RAM[5]=ff             RAM[6]=6f   I wrote a code:  module file_read;      reg [7:0] RAM [0:6];          initial $readmemh("Hex_data.txt", RAM);   integer i;               initial begin                    $display("data:");                for (i=0; i &lt; 7; i=i+1)                $display("%d:%h",i,RAM[i]);              end                 endmodule        But the above code not working. How can i get desired output? How can I get apt to use a mirror close to me, or choose a faster mirror? Downloading from the main Ubuntu archive is slow even when it's not release day, how can I get apt-get to automatically use a mirror that is close to me? I have an old PowerMac G4 that I installed Lubuntu 16.04 on a while ago. I've been getting notifications in the terminal that 18.04 is available to upgrade, but the upgrader fails to run, saying that the package ubuntu-minimal is not available. I haven't seen any ISOs for PowerPC available, and ports.ubuntu.com doesn't have any bionic distributions available for architecture  powerpc. But while searching I found  that suggests that there is/was a version of Ubuntu 18.04 for PowerPC. Is this just a pre-generated page, or is there somewhere I can get Ubuntu Bionic for PPC? I have two Date values. I need to find number of weeks between them. I want to do it Apex Class. Not looking for formula fields.  So far I tried:  Integer numberofweeks = (projectStartDate - opp.Project_Start_Date__c)/7;    I receive this error:     Date arithmetic expressions must use Integer or Long arguments give space above and below a DIV Why did Terence Tao write Proposition 2.1.11 about mathematical induction in "Analysis I"? Why does a Tesla car use an AC motor instead of a DC one? I was just watching a mega factory video and wondered why they use an AC motor which requires a power inverter instead of DC which may be powered directly from their DC battery? Introducing an inverter means more cost (weight, controller, etc).  Are there any reasons for that? What are the differences between an AC and DC motor that may have lead to this decision? Also does anyone know what kind of motor is used in other electric cars? Prove that $\phi(n) \geq \sqrt{n}/2$ How can I override the OnBeforeUnload dialog and replace it with my own? I need to warn users about unsaved changes before they leave a page (a pretty common problem). window.onbeforeunload = handler  This works but it raises a default dialog with an irritating standard message that wraps my own text. I need to either completely replace the standard message, so my text is clear, or (even better) replace the entire dialog with a modal dialog using jQuery. So far I have failed and I haven't found anyone else who seems to have an answer. Is it even possible? Javascript in my page: &lt;script type=&quot;text/javascript&quot;&gt;        window.onbeforeunload = closeIt; &lt;/script&gt;  The closeIt() function: function closeIt() {   if (changes == &quot;true&quot; || files == &quot;true&quot;)   {       return &quot;Here you can append a custom message to the default dialog.&quot;;   } }  Using jQuery and jqModal I have tried this kind of thing (using a custom confirm dialog): $(window).beforeunload(function () {     confirm('new message: ' + this.href + ' !', this.href);     return false; });  which also doesn't work - I cannot seem to bind to the beforeunload event. Prove the Probability of Two Events I'm taking my first course in Probability and one of my homework problems is to prove that for any two sets:  $$P(A \cup B) = P(A) + P(B) - P(A \cap B) $$  Note that the function $P$ is the probability of an event happening.  From the third axiom, we are given that for any two disjoint sets, that is $ A \cap B = \emptyset$:  $$P(A \cup B) = P(A) + P(B)$$    My thought process follows from this third axiom, but I run into a problem near the end:  Since $A$ and $B$ are disjoint sets, $P(A)=P(A-B)$ and $P(B)=P(B-A)$, so  $$P(A \cup B) = P(A) + P(B)=P(A-B)+P(B-A)$$  From this, it appears that we are essentially taking the symmetric difference of A and B.  This, to me, seems to be equivalent to:  $$P(A-B)+P(B-A)=P(A)+P(B)-P(A \cap B)$$  Hence, by my logic:  $$P(A \cup B) = P(A)+P(B)-P(A \cap B)$$  Which, in essence, doesn't care whether two sets are disjoint or not as we are subtracting the intersection of them.  If the sets are disjoint, then the intersection is merely null.  If they intersect, then we are removing the "extra pieces".  I feel like this is inadequate proof despite my ability to convince myself that it is true..  Where, if anywhere, did I go wrong?  Thanks! Difference between UART and RS-232? Most of the time  and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of the RS-232 protocol. Am I correct? How to find continued fraction of pi I have always been amazed by the continued fractions for $\pi$. For example some continued fractions for pi are:  $\pi=[3:7,15,1,292,.....]$ and many others given .  Similarly some nice continued fractions for $e$ and it's derivatives are given .I have tried to prove that the are indeed the continued fractions but did not get very far.If any one can can help it would be great(especially if there is some easy way to get continued fraction of derivatives of e from the original continued fraction of e).Here derivatives of e I mean $\sqrt e,\frac{e-1}{e+1} $ etc. How to use oEmbeds on Post Content during AJAX requests I have an AJAX request that returns a post. The post_content has links to Twitter, YouTube, TED and other platforms that are registered as oEmbed providers in a default, vanilla WordPress install. By now, the WordPress oEmbed handler does not register them and displays plain links and nothing else.   How can I fetch content via AJAX with oEmbed support? Cannot do a `composer install` even though my minimum stability is listed as dev I am trying to build the master branch in my project after updating to 8.5.0, but am being met with an error from composer (which I did not get on my develop branch):     The requested package drupal/focal_point 1.0.0-beta6 is satisfiable by   drupal/focal_point[1.0.0-beta6] but these conflict with your   requirements or minimum-stability.   In my composer file, I have:  "drupal/focal_point": "^1.0",   as well as:  "minimum-stability": "dev",   How can I fix this so TravisCI gets unstuck? It worked fine for the develop branch, and the master is now updated with it. Why is the Fisher Information matrix positive semidefinite? Excel VBA code to turn a row with a variable number of columns into fixed-length rows I would like to change this:  Filer   ShareName       IPAddress1    IPpaddres2    IPAddress2    ... ... .... ServerA /share1/tools   192.168.1.52  192.168.1.65  192.168.1.158 ServerA /share/library  192.168.1.65  192.168.1.61  192.168.1.155 ServerB /share/tools    192.168.1.158 192.168.1.159 ServerD /share/misc     192.168.1.7 .. ... ..... .......   To this, in a new worksheet:  Filer   ShareName       IPAddress ServerA /share1/tools   192.168.1.52 ServerA /share1/tools   192.168.1.65 ServerA /share1/tools   192.168.1.158 ServerA /share/library  192.168.1.65  ServerA /share/library  192.168.1.61  ServerA /share/library  192.168.1.155 ServerB ... ... ServerD ... ... .. ... ..... ....... What are the different widely used RAID levels and when should I consider them? This is a  about RAID levels.    What are:   the RAID levels typically used (including the RAID-Z family)?  deployments are they commonly found in? benefits and pitfalls of each? I'm looking for a specific scifi book that I read years ago, I only partially remember the story, and I don't remember the author or the title.  What I remember of the story is:   An alien race picks up a signal from humans that includes instructions on how to make their own humans (genetic instructions). The humans grow up knowing they are created and are taught by the alien race. They are eventually given resources to build a ship, and go looking for their origins. They eventually find the solar system, but nobody answers. They find some stations orbiting earth and find that the station is very old, so old in fact that humans have long been extinct and other creatures have reached local space, and have been looking around the station as an archeological dig. I think they refer to two developed races from earth, but one developed from rats.   If anyone know what story this is, and can point me at it, its been driving me crazy for at least 15 years, and I think it's actually been much longer, since I can't remember when I read it. Can we have a list of all the Stack Exchange domains somewhere, for firewall purposes? I work behind an really annoying firewall, and I just want the net admin to add all the SE websites to the whitelist. Right now I've lost access to Stack Overflow's authentication, but not Meta's... so I have to come here before I log in there.  It's driving me nuts. Basically I just want to add an exclusion rule for all SE domains; not only the website domains, but also the content domains such as gravatar.com, quantserve.com, the domain that holds static content, etc... Tag scores update is supposed to happen at 03:00 UTC every day. Tag scores are updated by a scheduled job that is time consuming and often times out  (see for example the answers for  and ).  In the past month or two, the issue with not updating the scores has gotten much worse. Tag scores are now regularly not updated for 2-3 days in a row. The job fails more often than it runs which obviously lowers usability and appeal of tag badges (which are not awarded when the script fails) and scores to some extent.  I can also guess that if a job fails on consecutive days, it only makes it harder to make it work as it has more and more tags and answers to recount.  This issue happened in the past but not to the extent it's happening now.  Please do not close it as duplicate. I'm creating a separate post as I've been asked to do it by Adam Lear in a comment for the answer for the first of the linked questions. Other posts reporting this issue have accepted answers which makes them difficult to track for the SE team.  UPDATE  I've been writing down whether the scores were updated or not every day in April.  The results are:  Day      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15   Updated  -   -   -   ✓   -   ✓  -   -   -   -   -   ✓   -   -   -   Day      16  17  18  19  20  21  22  23  24  25  26  27  28  29  30 Updated  ✓   -   ✓   -   ✓   -   -   ✓  ✓   -   ✓  -   ✓   -   -   The update succeeded on 10 days, failed on 20. The situation got somewhat better in the second half of the month. Has something been done about it?