Intersection of a closed set and compact set is compact
Is the intersection of a closed set and a compact set always compact?
I am creating a GUI frontend for the Eve Online API in Python.  I have successfully pulled the XML data from their server.  I am trying to grab the value from a node called "name":  from xml.dom.minidom import parse dom = parse("C:\\eve.xml") name = dom.getElementsByTagName('name') print name   This seems to find the node, but the output is below:  [&lt;DOM Element: name at 0x11e6d28&gt;]   How could I get it to print the value of the node? Can I downgrade to Mavericks after installing Yosemite (beta/developer preview)? I have installed the developer preview for Yosemite.  Huge mistake. Everything in my workspace is broken.  I don't have any sort of backup image. I was wondering if I could re-download Mavericks and run the installer - would that effectively downgrade me back to Mavericks? I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu? Heterogeneous vs. inhomogeneous How can one express frequentist p-value in terms of Bayesian concepts? Using swap space instead of RAM can drastically slow down a PC.  So why, when I have more than enough RAM available, does my Linux system (Arch) use the swap?  Checkout my conky output below:    Also, could this be the cause of speed and system-responsiveness issues I'm having?  Output of free -m :  $ free -m              total       used       free     shared    buffers     cached Mem:          1257       1004        252          0         51        778 -/+ buffers/cache:        174       1082 Swap:          502        144        357 What is the limiting factor in lens construction when it comes to f-stop values? I dont need this vertices and/or edge. What is the best way to get rid of them? I was watching this  on making a custom UI tab using Python, and in the line from bpy.types import Menu, Panel, UIList, I see the names of objects that look like they can all be used to make different UI elements. Does bpy.types contain all the objects that people use when they want to make custom UI elements? How can multithreading speed up an application (when threads can't run concurrently)? Modifying list while iterating I know that its is the possessive and it's is the contraction, and know when to use them.  But why doesn't the possessive have an apostrophe?   "The bear's eating a fish." [contraction] "The bear's coat is brown." [possessive] "It's eating a fish." [contraction] "Its coat is brown." [possessive] "One's eating a fish." [contraction] "One's coat is brown." [possessive]    lists the etymology as "From  +‎ ", and  says that this is actually the original form:     Originally written it's, and still deliberately spelled thus by some writers until early 1800s.   So what happened to the apostrophe?  When did people stop using it, and why did they?  It seems that it's as the possessive is more natural, as most people do this until they're taught that it is wrong (or even after).  Update: Online Etymology Dictionary has been updated to include two potential explanations:     The apostrophe came to be omitted, perhaps because it's already was established as a contraction of it is, or by general habit of omitting apostrophes in personal pronouns (hers, yours, theirs, etc.).   Can anyone back up either of these arguments?  The possessive one's still has the apostrophe, despite these. Bjarne Stroustrup once mentioned in one of his bigthink interviews that one of the greatest problems most programmers have is not finding or using the right libraries.  On stackoverflow and programmers, I've observed a trend towards questions like "I want to do this, is there a [library | programming language] for that", or "I have these {n} [library | language] candidates for my project; which one would yield me the least amount of headache given these requirements".   Since questions like these aren't exactly programming questions in the sense of "this code should do this, but it does this, why?", they are often (though not always) being closed as "not constructive" because they do not have a definite answer (which is true, and according to the FAQ they would be off-topic on both stackoverflow and programmers).  Nonetheless, I think library questions are valid, and that it is helpful for any programmer to receive independent input from experienced programmers (at least it helps me a lot every time I browse through one of those closed questions, which I found through google). Does anyone agree that posting library choice questions should be explicitly allowed on either stackoverflow or programmers? I am a senior undergraduate (electrical) engineering student, exceedingly interested in physics. 4 years ago when entering university, for some reasons (better: illusions) I chose engineering as my major, while I was interested (and also really knowledgeable) in physics . Soon after the first semester I realized that I've decided wrong, and I must have chosen physics.  Since our university is a technical institute and does not have a strong physics department I decided to study physics on my own, without changing my major.But I took and passed the basic graduate physics courses (advanced quantum mechanics, advanced statistical mechanics, electrodynamics I &amp; II), have done a few research projects and had a paper published (maybe 1 more in the future). I have explored lots of research areas in physics and I think I have a good potential for doing research.  While concentrating on physics, I was inattentive to EE courses. Today, while searching for graduate programs, I saw that some schools require a minimum GPA, usually 3. I just calculated my GPA and found out that it is 2.95!   Do all universities have a GPA threshold?  Since I'm changing my major and also have a good GPA in graduate physics courses, is there any way I can compensate for my (very) low electrical engineering GPA? (like by taking subject GRE, etc.) If I first (somehow) get a masters degree in physics and then apply for a PhD, can I throw away this electrical engineering GPA in my PhD application ?   Any other suggestion is warmly appreciated. Do stone quarries respawn in Hearthfire? Can you grapple/shove with the Hunter Ranger's Whirlwind Attack? The  states:     You can use your action to make a melee attack against any number of creatures within 5 feet of you, with a separate attack roll for each target.   The rules on "" state (the rules in shoving are effectively identical):     When you want to grab a creature or wrestle with it, you can use the Attack action to make a special melee attack, a grapple. If you're able to make multiple attacks with the Attack action, this attack replaces one of them.   I couldn't find any other features spells or abilities that allow a creature to make a flat "melee attack". If they had said "melee weapon attack" instead this would have meant the same thing but specifically have excluded grapple/shove as an option.  I am unsure whether the rules on grappling/shoving mean that the only time you can grapple/shove are when you take the Attack action, which you are not doing when using the Whirlwind Attack feature.   I would like answers to assume that the following ruling made in the  is correct:     Whirlwind Attack is unusual, in that it’s a single attack with multiple attack rolls... The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this? What are the system requirements for each flavour of Ubuntu Desktop? I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the &quot;official  requirements&quot;, the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below. Im creating a community user from an Apex code. When our internal users (non-admins) run the code they are getting following error. (This was working fine when we test the feature in sandbox)     SObjectException: Field is not writeable: User.ProfileId   The code is       //Grab Community User Profile     Profile p = [Select Id, Name from Profile where Name = :COMMUNITY_PROFILE LIMIT 1];       User PortalUser = new User();          PortalUser.UserName = Con.Email+'-POC';         PortalUser.ContactId = Con.Id;         PortalUser.ProfileId = p.id;         PortalUser.Email = Con.Email;         PortalUser.EmailEncodingKey = 'UTF-8';         PortalUser.FirstName = Con.FirstName;         PortalUser.LastName = Con.LastName;         PortalUser.TimeZoneSidKey = 'America/Los_Angeles';         PortalUser.LocaleSidKey = 'en_US';         PortalUser.LanguageLocaleKey = 'en_US';          if (Con.LastName.length() &gt;= 8){             PortalUser.Alias = Con.LastName.substring(0, 7);             }else{             PortalUser.Alias = Con.LastName;         }             SObjToInsert.add(PortalUser); Changing default width of blocks in beamer