If every former Hogwarts student who goes bad was in Slytherin, why has Hogwarts kept the house over the years? Why not disband it?
Maybe I'm just hearing the wrong comments, but it seems that Slytherin is considered a dark house by almost everyone.  I know when both reading the books and watching the movies, I always had a feeling of foreboding when there were a number of Slytherin house members around or the time when Harry and friends went into Slytherin and felt this feeling was emphasized by the writing and film directing.  We hear very little positive about Slytherin (other than the repeated line that Harry would be a great wizard if he went in Slytherin) and there really isn't a list of great wizards who were in Slytherin House.  Even in the movie Deathly Hallows (I can't check the book - I loaned it to my sister 3 weeks after it was published and haven't seen it since!), McGonagall specifically asks Filtch to lead all the Slytherin students into the dungeon while Hogwarts is under siege by Voldemort.  She doesn't specify that any Slytherin students remain behind to help fight.  Is this intentional?  Did JKR intentionally create a bad reputation and not present any counter-examples so we'd believe all of Slytherin was bad?  Most characters in the Potter-verse are complex.  While we can admire James and Lily Potter, we also see how James teased and taunted Snape, showing us a harsh side of James, and we see that there is good in Snape.  We even see complexity in Voldemort as a villain who is mixed-blood, but hates those of mixed blood and wants purity for all witches and wizards.  With all the complex characters, it seems odd that there is essentially nothing to redeem the House of Slytherin - which is not just one character, but is a group represented by a number of characters.  But yet it seems as if it's presented, in both books and movies, as dark and full of schemers and bad people.  Are there indications, and especially more than a few or just tiny ones, that there are a fair number of good witches and wizards in Slytherin?
How to convert physical Ubuntu operating system into a virtual machine? A while ago I turned my PC into dual boot with Windows and Ubuntu. But my experience is, that I rarely boot into Ubuntu, so I wanted to make it available as virtual machine in Windows rather than as a second OS. Can you provide me some information which is the tool of my choice and how I can achieve this migration? I already have VMWare Player installed. Suppose $ \alpha, \beta&gt;0 $. Compute:   $$ \int_{0}^{\infty}\frac{\cos (\alpha x)-\cos (\beta x)}{x}dx $$   Here is what I do: $$\begin{align} \int_{0}^{\infty}\frac{\cos (\alpha x)-\cos (\beta x)}{x}dx &amp;= \int_{0}^{\infty}dx\int_{\alpha}^{\beta}\sin (yx)dy\\ &amp;=\int_{\alpha}^{\beta}dy\int_{0}^{\infty}\sin(yx)dx\\ &amp; \\ &amp;   \qquad\text{let $ yx=u $}\\ &amp; \\ &amp;=\int_{\alpha}^{\beta}\frac{1}{y}dy\int_0^{\infty}\sin u du\\ &amp;=\int_{\alpha}^{\beta}\frac{1}{y}dy\left( -\cos u|_{\infty}+\cos u|_0 \right)\\ &amp;=\log\frac{\beta}{\alpha}(-\cos(\infty)+1)\\ &amp;=\log\frac{\beta}{\alpha}-\cos(\infty)\log\frac{\beta}{\alpha} \end{align}$$  But $ \cos(\infty) $ does not exist right? Does it mean the integral actually diverse?  Edit: The question comes from   Who can point out my mistake in the above deduction? Need linebreaks in some columns of a wide table I am trying to create linebreaks in some of the cells of my table, since I have long sentences and the table doesn't fit on an A4 page. How to let LaTeX choose the linebreaks?  Here is my code   \begin{table}[hbt] \centering \begin{tabular}{lllllll}     \toprule     &amp;  Raumgewicht $\gamma$'$_m$ and [$\frac{kN}{m^3}$] &amp;Reibungswinkel $\phi$'$_m$[]&amp; Kohäsion c'[] &amp; M$_E$-Wert []&amp; N$_SPT$ [] &amp; k-Wert []  \\     \midrule     Auffüllungen/Deckschicht&amp; 18&amp; 27 &amp; 0 &amp; 10* &amp; 17 &amp; -\\     Rückstausedimente nicht vorbelastes&amp; 21 &amp; 28 &amp; 10 &amp; 10 &amp; 15 &amp; $5\times10^-8$ - $1\times10^-6$ \\     Rückstausedimente vorbelastet &amp; 22 &amp; 32 &amp; 10 &amp; &gt;50 &amp; 91 &amp; $5\times10^-8$ - $1\times10^-6$ \\     Moräne &amp; 22 &amp; 36 &amp; 5 &amp; &gt;50 &amp; &gt;100 &amp; $1\times10^-8$ - $5\times10^-6$\\     \bottomrule \end{tabular} \caption{Bodenkennwerte} \label{tab:Bodenkennwerte} \end{table}   My preamble is  \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{booktabs} \usepackage{stackengine} \usepackage[top=3cm, bottom=2.5cm, left=2.5cm, right=2.5cm, footskip = 1cm]{geometry} \usepackage{hyperref} Print lines between (and excluding) two patterns I'm going to submit form using cURL, where some of the contents is come from other file, selected using sed  If param1 is line matching pattern from other file using sed, below command will works fine:  curl -d param1="$(sed -n '/matchpattern/p' file.txt)" -d param2=value2 http://example.com/submit   Now, go to the problem. I want show only text between 2 matching pattern excluding the matching pattern itself.  Lets say file.txt contains:  Bla bla bla firstmatch It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. secondmatch The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.   Currently, lots of "beetween 2 matching pattern" sed command won't remove firstmatch and secondmatch.  I want the result to become:  It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. I have build a website for a finance company.  The Cognito Form is on the website as an application form.  I would like the information sent automatically to the finance company's email address (as soon as the form is submitted) without having to log into Cognito Forms. The finance company needs to know the exact moment the application for finance comes in. The finance company can not possibly log in to Cognito Forms 24/7 to check if there are any finance applications. Does the command pwd in a shell script output the directory the shell script is in? bash if -a vs -e option Both about -a and -e options in  is said:  -a file     True if file exists. -e file     True if file exists.    Trying to get what the difference is I ran the following script:  resin_dir=/Test/Resin_wheleph/Results  if [ -e ${resin_dir} ] ; then     echo "-e "; fi  if [ ! -e ${resin_dir} ] ; then     echo "! -e"; fi  if [ -a ${resin_dir} ] ; then     echo "-a"; fi  if [ ! -a ${resin_dir} ] ; then     echo "! -a"; fi   /Test/Resin_wheleph/Results exists and is a directory. And this is what I get:  -e -a ! -a   which seems to be a little strange (notice -a and  ! -a). But when I use double brackets (e. g. if [[ -e ${resin_dir} ]]) in the similar script it gives reasonable output:  -e -a   So:    What is a difference between -a and -e options? Why -a produces a strange result when used inside single brackets? Comma usage with compound sentences {actually compound predicates as per Rob's answer} Rule 101 of compound sentences is that a coordinate conjunction must be accompanied by a comma most of the time when joining independent clauses, yet I stumble across sentences all that time that seem to abuse this rule. Normally, it's a case of the subject not being present in the second clause, as in the following example:      "They usually start out as an abbreviation, but turn into acronyms   when they become well known."   (taken from the Oxford Style Manual)   To me, this comma cannot be correct because the clause after the comma doesn't contain a subject and therefore cannot be independent (right?). As far as I'm concerned, it's not the 'Comma to set off a contrast rule because I can find plenty of other where 'and' is used and the subject's missing in the second clause.  what's the deal here?   Thanks in Advance for any responses I may receive! Change default shell for Terminator I want to change the default shell of Terminator to zsh. In /etc/passwd/ I've changed the default shell to /bin/zsh. This settings changes the default shell in LXTerminal (the default terminal on Lubuntu), but not in Terminator. So I tried chsh -s /bin/zsh, but that doesn't work either. The Terminator  says:  How do I change my default shell? Terminator will always start the shell specified by the SHELL environment variable. (It will fall back to /bin/sh if the SHELL environment variable isn't set.) You could simply influence Terminator's environment, but the best solution is to tell your operating system which shell you'd like, and it will ensure that SHELL is set correctly for all applications, not just Terminator. See the documentation for your operating system for details on how to change your default shell.  So I expected my attempts to work, but they don't. How can I change the default shell in Terminator. Limits, find a limit that exist in absolute value but not outside the absolute value. Let I be an open interval that contains the point c and let f be a function that is defined on I except possibly at the point c. Suppose that lim |f(x)| as x->c exists. Give an example to show that lim f(x) as x->c may not exist.   Not really sure of an example for this? I've run across (personally or by proxy) a bunch of storage media that exhibited physical problems during their life. Hard disks, solid state drives and other flash storage media all fail after some time. The situation is worse with USB flash drives and flash cards because of the large amount of suppliers with inferior flash cell and flash controller quality.  How can I reliably detect if a storage drive suffers from physical damage?  Note that this question isn't about file system integrity (which can be checked with ). has now probably made around 15 accounts. He consistently uses the , , ,  and  tags, and does not ever do anything constructive.  was his latest.  Unfortunately I haven't been bookmarking his other questions, but here are some of his previous accounts:          He has also gone by many other names (Iraq War Veteran is the one that comes to mind), but those accounts have been deleted.    Is there nothing we can do about this? Deleting and suspending his accounts just seems to give him more reason to create other accounts. Is there a way to block him entirely?    Edit:  seems to have been deleted by Community ♦ Legally possible to re-create/remake an old game? Recently I started remaking an old game on Unity. Basically I want to remake an old RPG that was released for Playstation 1. I'm not ripping anything from the old game, all the assets are being created by me. I'm creating everything from the scratch, music, 3D models, gameplay however I will keep the (copyrighted ?) names, I will try to create the characters and maps/levels as they were in the original version of Playstation 1 but with better graphics.  I'm not planning on selling it or adding in on a platform like Steam (for obvious reasons, copyrights etc), just giving it for free. But I wanna know when I will finish the development, can I share the game on public with other people so they can download it?  Can the company that made the original game sue me/fine me because of copyrights reasons even though I'm not planning on selling for money?  tl;dr Remake an non-profit game of PS1 from the scratch, can the company that holds the copyrights of the game sue me/fine me? postgresql - replace all instances of a string within text field Parsing XML, JSON, and newer data file formats in UNIX using command line utilities The Unix environment has some excellent tools for parsing text in various forms. However, of late, the data is not in the traditional (historical) formats (CSV, TSV, record-based or some other delimiter-based) it used to be before. Data these days is exchanged in structured formats like XML/JSON.  I know there are some good tools like sed, awk and Perl which can chew down nearly any form of data out there. However, to work with this sort of structured data, often one has to write a complete program, and, given the little time available to extract information, one has to sit down and figure out the whole logic of what one wants to query and put it down programmatically. Sometimes this is not OK – basically because the information extracted from those files acts as inputs for further work; also because of the time it takes to search for the appropriate solution and code it up. A command line tool is needed with sufficient switches to find, query and dump data.  I'm looking for tools that take a XML/JSON or other forms of structured data and dump it into other formats like csv, etc., so that from there one could use other commands to get any information out of it.  Are there any command line utilities you know of which do this kind of a job? Are there already awk/Perl scripts available to this? How can I check if the Active Object has a specific modifier so that when I run my code, it doesn't add the modifier again to the object? It should add the modifier only to the object which does not use that modifier. How to get client's IP address using JavaScript? How did nobody at Hogwarts (especially Dumbledore) figure out what killed Myrtle? I'm running into trouble trying to mount a large iso:  dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom mount: warning: /cdrom seems to be mounted read-only. dev@dev-OptiPlex-745:~$    Can you tell me how I should do it? Is there a characterization of groups with the property $\forall N\unlhd G,\:\exists H\leq G\text{ s.t. }H\cong G/N$? A common mistake for beginning group theory students is the belief that a quotient of a group $G$ is necessarily isomorphic to a subgroup of $G$.  Is there a characterization of the groups in which this property holds?  If this question is too broad, I might ask if such a characterization exists for $p$-groups.    History: I originally posed the opposite question, regarding groups for which $\exists N\unlhd G\,:\, \not\exists H \unlhd G\, \text{  s.t. } H \cong G/N$, and crossposted this to .  I received an answer there to the (now omitted) peripheral question about probability, which shows that most finite groups probably have this property.  After this, I changed the question to its current state, as this smaller collection of groups is more likely to be characterizable.