I need to install Windows XP on a computer without a CD drive I have the following in mind Please suggest on whether it is feasible or not, or if it cannot work for some reason, what else I can try The computer can be booted with USB, and I have the windows XP installation files with me I want to copy the windows XP installation files to the D: of the computer (computer has 1 physical HDD, partitioned into C and D, with Windows XP currently on C: )    This is what I intend to do:    I will create a DOS (or FreeDOS, what ever I can manage) bootable USB, boot in tot the computer with the USB, go to the folder in D drive with the Windows XP setup file, and launch Windows XP setup winnt32.exe from command line    Will this method work? Can FreeDOS launch Windows XP setup, or do I have to make sure I get a version of MSDOS? Will any version of MSDOS work? Once the Windows XP setup is launched in this manner, does it still expect a Windows XP CD to be present on the cd drive? Can this cause any problems during setup?    Please help. Thank you.
I want to install Windows XP on my desktop computer (only XP), but my CD drive is not working.  I've only found installation tutorials on how to install it on the pen drive rather than from the pen drive.  How can I install Windows XP from a USB flash drive?
Change icon on MATE main menu How can I change the default logo icon to a custom icon by the applications menu in Ubuntu MATE without changing the theme? Let $f:X\to Y$ be a function and $E\subseteq X$ and $F\subseteq X$.   Show that in general $f(E − F)\nsubseteq f(E) − f(F)$.   I have no idea about how to prove this; and could anyone please explain the basic theory of functions(by relating to this question. Thank you. CMake & CTest : make test doesn't build tests Difference between “with”, “at” and “for” with a business title and a company name Duplicating Environments They agreed to stay connected for hours in their provisional support group, looking for answers in their counterparts.   I want to change the bold part to say that they all shared the same problem.  Might end up using one of the above, but I feel like I need some more options to weigh in.    Edit for context: they all share the same rare cognitive impairment threeparttablex table notes for tabu tabulars with less than \textwidth Is God either immoral or not omnipotent? The usual (Christian) justification for suffering/evil in the world created by a benevolent God is freedom of the will. However, the more interesting question is not about the source of evil (which the free will may very well be) but why God chose to create the world such as it is. Why not create a world with freedom of the will, but without suffering? Even assuming that God is bound by logic such combination doesn't seem to be logically impossible: creatures certainly can do good of their own free will. There are two alternatives.  1) God is powerful enough for all practical intents and purposes, enough to be called God, but not omnipotent. He created only the best of all possible worlds (Leibniz). This position is perhaps the most defensible philosophically, it also avoids logical problems with , etc., but it does diminish deity's status and invites unpleasant questions like what limits God (logic only, inert matter, outer chaos, other beings), is there someone/thing more powerful, etc.    Interestingly enough, the original Christian theodicy wasn't free will. St.Augustine says poetically "the canvas of creation requires both the black and the white paint". "Requires" here can be interpreted differently,  is to explain the black by the "just punishment" for the original sin, which brings us to Adam and Eve, and back to the free will. But if God is still omnipotent and hence omniscient creating creatures he knew would sin, and then punishing them for it is hardly an improvement.   2) However, Augustine can be read more straightforwardly. Evil is "required" for the perfection of the world just like black paint is required for the perfection of a painting (evil can be interpreted as lack of good rather than something onto itself but that is beside the point). God is immoral, and he is beyond our conception of morality, his notion of perfection is his own. This is much bolder, and similar to Plotinus's position on the existence of the One, the One can not exist because it is "prior to all existence". But it does evoke the unpleasant taste of "ends justify the means". It is one thing to use "God is beyond our logic and comprehension" to get rid of unliftable stones, it is quite another to convince people to worship an immoral perfectionist.  Formally, there is another logical possibility of asserting both morality and omnipotence, but defending the morality of creating a world full of suffering, for a higher purpose perhaps. For example, the suffering only appears bad to us, not to an absolute being in its wisdom. But this simply redefines morality and is only different in phraseology from the Augustine's position. The question is asked in human terms and has to be answered in kind. One is free to argue that God is beyond human logic and/or morality, but it still leaves him immoral as commonly understood.   There does not appear to be a way to square this circle, one has to accept Leibniz's or Augustine's alternative (or both) and deal with the downsides. Option 2) looks more consistent, but it is rarely embraced, at least not openly. Perhaps, for "public relations" reasons it is more attractive to dismiss the question with something like "this is beyond us" or change the subject to the free will.      What are the modern theological positions on the morality/omnipotence in catholisism, protestantism, etc.? Is the question relevant to other religions?   EDIT: I am not sure that it came through but by immoral I did not mean morally deficient or evil. Rather at the God's plane of being morality becomes meaningless, like tastes or smells are meaningless when applied to elementary particles. How do I check if a list is empty? For example, if passed the following:  a = []   How do I check to see if a is empty? How to install the latest versions of NodeJS and NPM? I noticed over at the  website that node is currently at v 0.12.0.  Can someone let me know how to install the latest version of node together with npm (terminal commands please)? How to use a decimal range() step value? Gravatar profile image not showing sometimes It seems that with some profiles the Gravatar image is broken. I am not sure if this is an issue with SE or Gravatar, or both, so posting here.  As an example,  shows an error on , which shows a HTTP 500 on Gravatar.  Profile image on SO:        Image on Gravatar:        Switching to the MSE profile of the user, the image is working (but has a different hash).  Is this a bug on the SE side? Can anything be done to make Gravatar fix this?    Update 2016-10-04:  It happened to me again two times today. The last user profile was . Calling the service two or three times fixes the issue. C# HttpWebRequest with XML Structured Data Optimal way to ignore duplicate inserts? Background  This problem relates to ignoring duplicate inserts using PostgreSQL 9.2 or greater. The reason I ask is because of this code:    -- Ignores duplicates.   INSERT INTO     db_table (tbl_column_1, tbl_column_2)   VALUES (     SELECT       unnseted_column,       param_association     FROM       unnest( param_array_ids ) AS unnested_column   );   The code is unencumbered by checks for existing values. (In this particular situation, the user does not care about errors from inserting duplicates -- the insertion should "just work".) Adding code in this situation to explicitly test for duplicates imparts complications.  Problem  In PostgreSQL, I have found a few ways to ignore duplicate inserts.  Ignore Duplicates #1  Create a transaction that catches unique constraint violations, taking no action:    BEGIN     INSERT INTO db_table (tbl_column) VALUES (v_tbl_column);   EXCEPTION WHEN unique_violation THEN     -- Ignore duplicate inserts.   END;   Ignore Duplicates #2  Create a rule to ignore duplicates on a given table:  CREATE OR REPLACE RULE db_table_ignore_duplicate_inserts AS     ON INSERT TO db_table    WHERE (EXISTS ( SELECT 1            FROM db_table           WHERE db_table.tbl_column = NEW.tbl_column)) DO INSTEAD NOTHING;   Questions  My questions are mostly academic:   What method is most efficient? What method is most maintainable, and why? What is the standard way to ignore insert duplication errors with PostgreSQL? Is there a technically more efficient way to ignore duplicate inserts; if so, what is it?   Thank you! How to calculate $$\int_{0}^{\pi/2}{\{\tan(x)\}dx}$$ where $\{x\}$ means the fractional part of $x$. I mentioned the zero points of $\{\tan(x)\}$. $\{\tan(x)\}$ equals to 0 iff $x=\arctan(k)$, $k$ is an integer. I tried to separate it into$$\sum_{k=0}^{\infty}{\int_{\arctan(k)}^{\arctan(k+1)}{(\tan(x)}-k)dx}$$ Then I found it hard to continue. I don't think I am on the right way. How to open port via SSH tunnel? There is a system B with the following open servers: I have a web server listening on port 80 and a ssh server listening on 22. However, only port 22 is publicly available. Now, I would like to create some kind of tunnel, so that I can access B:80 from A. However, my client computer A that would like to connect to the system B is not publicly open, either.  So, all I have is a client computer A from where I would like to access the server B and, there, an open port 22. On A, no port is open or can be opened.  What (I think) I would need is to open locally (on A) some port that connects in some way through port 22 of B to port 80 on B.  Is this possibly without using any man-in-the-middle open servers with multiple ports? Difference between staticmethod and classmethod What is the difference between a function decorated with  and one decorated with ? How do I suppress the whitespace above an equation block at the page top? How do I suppress the whitespace above the equation block at the page top ? It is added to the top margin, and I don't want that to happen. I know that \abovedisplayshortskip controls this for the whole document, but how can I change this for this particular equation block and NOT for any others ? Negative vspace doesn't work.  \documentclass[pdftex,12pt,a4paper,english,dutch,leqno]{article} \usepackage[top=1cm,right=1cm,bottom=1cm,left=1.5cm,noheadfoot]{geometry}         \usepackage{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{empheq}  \begin{document}  \abovedisplayskip=6pt \abovedisplayshortskip=3pt % This should NOT be changed \belowdisplayskip=6pt \belowdisplayshortskip=3pt  \begin{equation*} \left.\begin{array}{r} a_{31}'=a_{11}\cdot a_{31}-a_{31}\cdot a_{11}=0\\ a_{32}'=a_{11}\cdot a_{32}-a_{31}\cdot a_{12}\\ a_{33}'=a_{11}\cdot a_{33}-a_{31}\cdot a_{13}\\ a_{34}'=a_{11}\cdot a_{34}-a_{31}\cdot a_{14}\\ b_{3}'=a_{11}\cdot b_{3}-a_{31}\cdot b_{1} \end{array}\!\!\right\} \Longrightarrow\; \begin{matrix*}[l] \text{Pseudo-code :}\\ a_{11}\cdot b_{3}-a_{31}\cdot b_{1}\mapsto b_{3}\text{.}\\ \forall\;i\in\{4,3,2,1\} : a_{11}\cdot a_{3i}-a_{31}\cdot a_{1i}\mapsto a_{3i}\text{.} \end{matrix*} \end{equation*}  \end{document} How do I give players already enchanted Tools/Armour/Weapons OS X has this really nice feature when you have 3+ keyboard input sources (languages) and press Cmd + Space you switch between only two of them.  If you want to switch to another (third) language you just hold Cmd and press Space to choose from the list of input sources available.  How can I have similar functionality on Windows 10? I have 3 input sources and looping through them to get to the one I need is really annoying.