I wish to find out the class of compact sets in $\mathbb{R}$ which are supports of continuous functions.  To my solution I have an idea that the support will be finite union of closed and bounded sets in $\mathbb{R}$ but I am not sure about the answer and if it is correct then i have no explicit form to prove it. can anyone help me in doing so.
An exercise of Rudin's Real and Complex Analysis says:     Is it true that every compact subset of $\mathbf{R}^1$ is the support of a continuous function? If not, can you describe the class of all compact sets in $\mathbf{R}^1$ which are supports of continuous functions? Is your description valid in other topological spaces?   I proved that, in every metric space, a set (not necessarily compact) $A$ is the support of a continuous function if and only if it is the closure of an open set.  However, I don't think that this characterization holds for every topological space.  So, in order to find a counter-example, I tried to use the discrete and the trivial topologies. However, the discrete topology is metrizable and this characterization holds for topological spaces with the trivial topology.  Is this result true for any topological space? If not, what would be a counter-example?
PDOException when creating the table: Base table or view not found I have Drupal running on MariaDB 5.5.33. When I run update.php (after upgrade to Drupal 7.28 from Drupal 6) I get an error:     Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webdb.location_country' doesn't exist: CREATE TABLE {location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter ISO Country Code', name VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Full Country Name ', PRIMARY KEY (code) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Country data managed by location.module.'; Array ( ) indb_create_table() (line 2720 of /home/web/public_html/includes/database/database.inc).   When I try to run command     CREATE TABLE {location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter ISO Country Code', name VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Full Country Name ', PRIMARY KEY (code) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Country data managed by location.module.';   in phpMyAdmin I get an error     #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter IS' at line 1   But I wasn't able to find out where is the problem. I am looking for a driver for the TP-Link AC600 Archer T2U Nano, on Kubuntu 18.04 (kernel version 4.15.0-51-generic).   I already tried different drivers, none of them worked. Boolean Modifiers not working normally When using a Boolean modifier on an object, the "Operation" choices (Difference, Union, Intersect) are all not working normally. Choosing "Union" makes it do the effect of "Intersect" and "Difference" makes it do what "Intersect" is supposed to do. What's the deal here?   This is happening with following a simple tutorial. It's a simple primitive cube and primitive cylinder. No normals or doubles problems.   My specs are:  Macbook Pro 13" Retina early 2015 512GB i7 with 16gb RAM upgrade OS-X version 10.11.4 Let $n$ is a natural number. Prove that $$\left\lfloor\frac{n}{1}\right\rfloor+\left\lfloor\frac{n}{2}\right\rfloor+....+\left\lfloor\frac{n}{n}\right\rfloor+\left\lfloor{\sqrt{n}}\right\rfloor$$   is even.   I used induction and the inequality $$x-1&lt;\lfloor{x}\rfloor\le{x}$$ to prove it.  Is there any other, nicer way to do it? Terminal returns not found for most commands Mac OSX error in running bash script as root I have a simple shutdown script which i want to run as root  shutdown -h +30; echo "succesfull";   I have followed these answer, to make my script root.  first I run this command  sudo chown root.root $HOME/test/test.sh sudo chmod 4755 $HOME/test/test.sh   and then made changes in sudoers  sudo visudo   added this command after this line %sudo   ALL=(ALL:ALL) ALL  eka ALL=(ALL) NOPASSWD: $HOME/test/test.sh   But when i executed my script its showing this error  shutdown: Need to be root succesfull Which is correct?        She was told that it was against the law to steal.      Or        She was told that it is against the law to steal.        Background information: The original context is that I was relating an incident via email, where my colleague told a customer that some of our actions were part of the organisation's policy. The policy is still valid, but the statement I used to relate the incident in my email went like this:    "Mr Jay was informed that it was our policy to do this."   And I received feedback that it should go like this instead:    "Mr Jay was informed that it is our policy to do this." What *is* an Artificial Neural Network? While writing a proposal at work today I needed to mention a list of things and within that list were multi-part items. It seems like replacing the comma with a semi-colon in this situation would make the sentence easier to understand, but is it correct usage?  With standard punctuation this could get confusing:       Some of my favorite things to do are   camping, playing football and   baseball, watching Laurel and Hardy   Movies, and traveling.   Proposed alternative. Is this acceptable usage?       Some of my favorite things to do are   camping; playing football and   baseball; watching Laurel and Hardy   Movies; and traveling. Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work How to check if value is in range of cells? I want to check if the value of a cell exists in a range of cells. How can I do this?  Just like you would be able to do "if value in list_of_values" in Python for example. Best way to add KeyEvents and faster Quit I am doing an animation. The images I have attached show 2 different render layer view node results.    Image one shows a cube on layer 1, and 2 icosphere on layer 2. I have layer 2 set to fast blur. I have to use transparent film and therefore I use the Alpha over nodes in composition.  Image two shows a cube and 1 icosphere. Image 1 should not be showing 2 icospheres, as the left most one is behind the cube.    Image 2 is from the same render result, and is correcting showing only 1 icosphere. However, that icosphere should be blurred as it is on layer 2. It seems for whatever reason I can not have both the correct composition effect and also have every object's visibility render correctly. I can only either have everything work fine, with no composition, or composition with every emission object showing through every other object in the scene.   I am aware that masks would solve this problem, but because of the complicated setup of object materials and particles, masking produces these very strange and suddenly appearing artifacts. Material Indexing also produces odd artifacts and does not consistently effect the appropriate materials.   This is also a new problem, I did not have this issue in the last blender version. So, material indexing is out, masking is out, object indexing is out.       I want to use the compositor to blur certain layers, but every emission object in the scene shows through. It shows through as though it was on x-ray, regardless if it is behind another or inside another object. The first image is an example of this, the left icosphere is behind the cube, and should not be visible. That is the problem. Why is it visible when it shouldn't be? Why is part of my model not being rendered? Can the Dispel Magic spell be Readied to counter an opponent's spell? When playing as a spellcaster, is it valid the use of the Ready action to prepare Dispel Magic to counter a spell cast by an opponent? In the same vein, when declaring said action, do I have to specify which spell slot I will use when Readying the Dispel Magic spell? If that is the case, does this tactic nullify an opponent's spell? I get the impression that this is basically turning Dispel Magic into a spell with a casting time of &quot;1 reaction&quot;. Is my reading of the rules accurate? What is the difference between "Redirection" and "Pipe"? This question may sound a bit stupid, but I can not really see the difference between redirection and pipes.  Redirection is used to redirect the stdout/stdin/stderr, e.g. ls &gt; log.txt.  Pipes are used to give the output of a command as input to another command, e.g. ls | grep file.txt.  But why are there two operators for the same thing?  Why not just write ls &gt; grep to pass the output through, isn't this just a kind of redirection also? What I am missing? In what cases do I use malloc and/or new? vi shows as vim When I type vi into a terminal it shows the following display:    Note that it says vim not vi, I'm sure I haven't downloaded vim yet and that this is actually vi not vim: for example the arrow keys print ABCD instead of moving. Map "Super+ArrowDown" to minimize a window while the window is focused & the window is not in fullscreen I would like to add a conditional key mapping to Ubuntu 19.10.   Normally when a window is in full screen mode and you press super+arrowDown it enters window mode (or whatever it is called).   When a window now is in "window mode" I would like to be able to minimise it (and only then) by using super+arrowDown on it.  Is it possible to create such a shortcut without affecting the mapping of super+arrowDown on full screen windows? I have a Microsoft XBOX 360 gamepad with the wireless adapter and I was wondering what I would have to install to use them with Ubuntu I do know that when using this on Windows I have to manually install the drivers for the wireless receiver (if that is relevant.)