I work for my company's ECM group and my manager is considering pushing to upgrade the server infrastructure due to an increasing user community. Currently it's a single VM that has 2 cores and 4 gigs of ram running Windows Server 2008 (May upgrade to 2012 next year)  There are 2 options that's he's considering; either increasing the core count or increasing the memory. In the end we would have either 2 vm's with 4 cores and 8 gigs each or 4 vm's with 4 cores and 4 gigs each. Either scenario will end up in an F5 load-balancer.  Is it better to have fewer vm's with more memory per vm or more vm's with less memory?  Additional Information: The software package that we are using is a 64-bit web server &amp; app server on a single vm. I'm not sure if this is enough info. I can provide more if needed.  Thank you for any insight provided!
This is a  about capacity planning for web sites. Related:      What are some recommended tools and methods of capacity planning for web sites and web-applications? Please feel free to describe different tools and techniques for different web-servers, frameworks, etc., as well as best-practices that apply to web servers in general.
I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file.  Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't create a new config file as you might expect.   How can I restore a missing config file? build argument lists containing whitespace In bash one can escape arguments that contain whitespace.  foo "a string"   This also works for arguments to a command or function:  bar() {     foo "$@" }  bar "a string"   So far so good, but what if I want to manipulate the arguments before calling foo?  This does not work:  bar() {     for arg in "$@"     do         args="$args \"prefix $arg\""     done      # Everything looks good ...     echo $args      # ... but it isn't.     foo $args      # foo "$args" would just be silly }  bar a b c   So how do you build argument lists when the arguments contain whitespace? Isekai manga where the mc is reincarnated through his own magic The MC reincarnated himself through his own magic after his party defeated the demon king. Before he used his magic to do so, he took the daughter from the demon king and traveled with her over the world. After he used his reincarnation magic he was born in a noble family where the daughter of the demon king is now working as a maid in this family. He also has an older/younger (not sure) brother. Through his knowledge he starts his training of body, swordsmanship and magic as a baby. Years later his brother wants to play with him but he denies him every time. But one day he accepts it to play tag. His brother can't catch him. After that, he requests from the mc to teach him his magic. He denied again, but made an offer. Only when he can catch him, would he teach him his magic. I hope I'm not mixing up different mangas. A switch that is only ON if the reference voltage is matched -+ 0.1 volts Im a beginnerish will electronic and im looking for a switch that is only ON if the reference voltage is matched -+ 0.25 volts. So if i have a reference of 2.7v to match and i feed the switch a 2.75v the switch would be ON. But if i feed it  2.5v or 2.85v the switch would is OFF.   This might be a simple google search, but i am lacking the correct terminology. What happens with lethargy when Haste is cast again on a creature before first cast runs out? How can I disable the button of my CD/DVD drive? Up until Fedora 14 I was successfully using  to enable/disable the CD/DVD eject button on my laptop (Thinkpad T410). Sadly it has stopped working now.  I've consulted the methods discussed in these 2 questions:       None of which have worked for me. So I turn back to cdctl to see if we can't fix what's broken with it, since it's worked for so long.  Debugging the issue  So starting with cdctl switches I notice that most things seem to work just fine.  Examples  These things work.  ejects the drive  $ cdctl -e   list capabilities  $ cdctl -k Tray close             : 1 Tray open              : 1 Can disable eject      : 1 Selectable spin speed  : 1 Is a jukebox           : 0 Is multisession capable: 1 Can read the MCN (UPC) : 1 Can report media change: 1 Can play audio discs   : 1 Can do a hard reset    : 1 Can report drive status: 1   According to that list cdctl even thinks that it can enable/disable the eject button.   Can disable eject      : 1    So I continue on with debugging the issue.  Debugging cdctl  So I figure lets do an strace on cdctl to see if it can shed some light on what's going on.  $ strace cdctl -o1 ... brk(0)                                  = 0x1371000 open("/dev/cdrom", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory) open("/dev/cd", O_RDONLY|O_NONBLOCK)    = -1 ENOENT (No such file or directory) open("/dev/scd0", O_RDONLY|O_NONBLOCK)  = -1 ENOENT (No such file or directory) open("/dev/sr0", O_RDONLY|O_NONBLOCK)   = 3 ioctl(3, CDROM_LOCKDOOR, 0x1)           = 0 close(3)                                = 0 exit_group(0)                           = ? +++ exited with 0 +++   Curiously it seems like cdctl thinks it's disabling the button.   $ strace cdctl -o1 ioctl(3, CDROM_LOCKDOOR, 0x1)           = 0  $ strace cdctl -o0 ioctl(3, CDROM_LOCKDOOR, 0)             = 0   NOTE: If I understand this right, the return of a 0 means it was successful.  One thing that caught my eye here was the list of devices that cdctl is attempting to interact with. So I thought "what if I try these devices with eject"?  eject command  One of the other commands I used to use years ago was the eject command to interact with the CD/DVD device. I noticed that this command also now has a similar named switch:  $ eject --help  -i, --manualeject &lt;on|off&gt;  toggle manual eject protection on/off   Example  $ eject -i 1 /dev/sr0 eject: CD-Drive may NOT be ejected with device button  $ eject -i 0 /dev/sr0 eject: CD-Drive may be ejected with device button   So eject too thinks that it's disabling the button, yet it isn't either. Using strace here I see the same system calls:  $ strace eject -i 1 /dev/sr0 |&amp; grep ioctl ioctl(3, CDROM_LOCKDOOR, 0x1)           = 0  $ strace eject -i 0 /dev/sr0 |&amp; grep ioctl ioctl(3, CDROM_LOCKDOOR, 0)             = 0   So now I'm wondering if UDEV or something else is potentially blocking or taking ownership of device?  Thoughts? I edited a question, on Stack overflow and when submitting preview, got red bar telling me my account isn't allowed to make suggested edits.  On the Sandbox android question it works fine, but that is editing an answer to my question.   The message I receive is:     Account is not allowed to suggest edits   Are the rules for suggested edits different for Android app? A complete ring with respect to an ideal I would like to know what does it mean to say " a ring $R$ is complete with respect to some ideal $I \subset R$.  Is it like, we define a metric by saying two elements in $R$ is "close" if the difference lies in a higher power of $I^n$ and $R$ is a complete metric space? Is ArcSDE no longer needed at ArcGIS 10.1? Tall fraction puzzle I was given this problem 30 years ago by a coworker, posted it 15 years ago to rec.puzzles, and got a solution from Barry Wolk, but have never seen it again.  Consider the series:  $$1, \frac{1}{2},\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}},\frac{\displaystyle\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}}}{\displaystyle\frac{\displaystyle\frac{5}{6}}{\displaystyle\frac{7}{8}}},\cdots$$  Each fraction keeps its large bars while being put atop a similar structure. This can also be represented as $$\frac{1\cdot 4 \cdot 6 \cdot 7 \cdot\cdots}{2 \cdot 3 \cdot 5 \cdot 8 \cdot\cdots}$$ terminating at $2^n$ for some $n$, where it is much closer to the limit than elsewhere.  The challenge:   Find the limit, not too hard by experiment In the last expression, find a simple, nonrecursive, expression to say whether $n$ is in the numerator or denominator Prove the limit is correct-this is the hard one. Change the default editor when sudo visudo When doing sudo visudo, the default editor is nano. I want to change it to vi or vim.     I already made vim the default editor, and use it as a substitute for gedit to open php, .txt, .c and .h files, by placing a vim.desktop file in ~/.local/share/applications/ and by correctly editing either  ~/.local/share/applications/mimeapps.list or /etc/gnome/defaults.list. However apparently this does not apply to nano.    Any clue ? Why was Enterprise on a five-year mission in TOS? There is a small difference between intro texts in TOS:     Space: the final frontier. These are the voyages of the starship Enterprise. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.   and in TNG:     Space: the final frontier. These are the voyages of the starship Enterprise. Its continuing mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before.   (emphasis mine)  It's pretty obvious that no man was changed to no one to include women. But, is there any explanation why was five-year changed to continuing? Also, why was it a five-year mission at all?  My only assumptions are:   Gene Roddenberry hoped to get funding to run the show for 5 seasons. Gene Roddenberry just made up a number without any special meaning. Gene Roddenberry was a .   Is there any official explanation, in universe or not? Is there a known well ordering of the reals? So, from what I understand, the axiom of choice is equivalent to the claim that every set can be . A set is well ordered by a relation, $R$ , if every subset has a least element. My question is: Has anyone constructed a well ordering on the reals?  First, I was going to ask this question about the rationals, but then I realised that if you pick your favourite bijection between rationals and the integers, this determines a well ordering on the rationals through the natural well order on $\mathbb{Z}$ . So it's not the denseness of the reals that makes it hard to well order them. So is it just the size of $\mathbb{R}$ that makes it difficult to find a well order for it? Why should that be?  To reiterate:   Is there a known well order on the Reals? If there is, does a similar construction work for larger cardinalities? Is there a largest cardinality for which the construction works? How can I bind arguments to a Python method to store a nullary functor for later invocation?  Similar to C++'s boost::bind.  For example:  def add(x, y):     return x + y  add_5 = magic_function(add, 5) assert add_5(3) == 8 The Earth in all of its varieties has wide ranging climates. At the top level it has tropical, dry, temperate, continental, and polar climates. And yet often the planets depicted in science fiction are often single climate planets.    The forest moon of Endor The desert planet of Dune The desert planet of Tatooine The desert planet of Vulcan The outer planets in Firefly all appeared to be mostly desert (supiciously like Calfornia desert).  The inner planets in Firefly were all temperate or tropical.  The icy Breen homeworld The icy Andorian homeworld The icy Frost Giant planet   I'm not suggesting there are no Earth-like planets in science fiction, but it feels like it is less common than it should be. Considering the only planet we have as an example is our own, it seems like planets should be just as varied in the cosmos. How did Jaqen H'ghar get caught? Following a recent 9gag post:    Did Jaqen H'ghar end up in that cage because he knew that he would meet and "recruit" Arya, or was it some strange coincidence? Is it described somewhere in the books, or left unexplained? I am trying to create a vase that looks similar to this:    If there is another post out there I will happily remove this one or redirect it there.  Specifically, I am trying to create the creased effect in the geometry that looks like it is twisting around the vase.  I have tried using Checker Deselect and extrude->scaling the verts but that really screws up my mesh.  Link to my model if it helps: Relation between power and energy If I have an expression for the 'rated generator power' of a wind turbine, call it $P(t)$ how is the energy, that the wind turbine generator generate, related to the power $P(t)$?  So: $$E(t)=\dots$$ Centering sections How to get back to a site when viewing one of its questions When viewing a question on a site which I don't use (I never registered on it), I can't figure out how to get back to the list of questions of the site.  See this example  from the Stack Exchange Android app. Where should I click to see the list of questions? (I chose Mathematics Educators because it's the most recent site, it is very likely that most users don't have an account on this website)  Here is a random example:    When viewing a question, I don't know how to view the list of questions. This site can't be found in the sidebar since it's not in my Your Sites list. The top menu containing the site's title only opens the sidebar.