Input from terminal into C file
mixed declarations and codes
CPU clock speed versus CPU core count - higher GHz, or more cores for SQL Server? We are beginning to provision a set of physical servers for a virtual cluster of SQL Server 2016 nodes within VMware. We will be utilizing Enterprise Edition licenses.  We plan on setting up 6 nodes, but there is a bit of a debate on what the ideal way to provision the physical servers with regards to CPU clock speed versus CPU core count.  I know this is largely dependent on transaction volume and number of databases stored among other software-specific factors, but is there a general rule of thumb that is advised?  For instance, is a dual 8-core, 3.2 GHz physical server (16 cores) more preferential to a dual 16-core, 2.6 GHz server (32 cores)?  Has anyone come across a white paper that further delves into this type of topic? Shared email on 2 Facebook accounts is stopping access to both accounts My husband wanted me to set up a Facebook account for him and I accidentally used our shared email address, which is set against my own account.  Since then, neither of us has been able to log in, so I can't alter any settings.  Can anyone advise how to resolve this please? I installed the ubuntu 12.04 server edition for my server pc . i had installed lamp server. i need to change the var/www location to my secondary hard disk location. i was configured so many time to at gedit /etc/apache2/sites-available/default here is my code  &lt;VirtualHost *:80&gt;     ServerAdmin webmaster@localhost      #DocumentRoot /var/www     DocumentRoot /media/myserver/     &lt;Directory /&gt;         Options FollowSymLinks         AllowOverride None     &lt;/Directory&gt;     #&lt;Directory /var/www/&gt;         &lt;Directory /media/myserver/&gt;         Options Indexes FollowSymLinks MultiViews         AllowOverride None         Order allow,deny         allow from all     &lt;/Directory&gt;      ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/     &lt;Directory "/usr/lib/cgi-bin"&gt;         AllowOverride None         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch         Order allow,deny         Allow from all     &lt;/Directory&gt;      ErrorLog ${APACHE_LOG_DIR}/error.log      # Possible values include: debug, info, notice, warn, error, crit,     # alert, emerg.     LogLevel warn      CustomLog ${APACHE_LOG_DIR}/access.log combined      Alias /doc/ "/usr/share/doc/"     &lt;Directory "/usr/share/doc/"&gt;         Options Indexes MultiViews FollowSymLinks         AllowOverride None         Order deny,allow         Deny from all         Allow from 127.0.0.0/255.0.0.0 ::1/128     &lt;/Directory&gt;  &lt;/VirtualHost&gt;   and also used  sudo chown -R var/www /media/myserver/   and  chmod -R 755 /media/myserver/   still i was not able to connect my /media/myserver and my browser show the following message  Forbidden  You don't have permission to access / on this server.   Please tell anyone how to mount myserver at my var/www, thanks advance Has the concept of non-integer $(n+m)$-dimensional spacetime ever been investigated by theoretical physicists? The following image serves to aid the reader in understanding the "privileged character" of $3+1$-spacetime.    The wikipedia article on , and the  "The priveleged character of $3+1$-dimensional spacetime" in particular, made me think a bit about the possibility that we might live in a non-integer amount of spatial and/or time dimensions.   The notion of attaching a non-negative real number to a metric space has at least mathematically already been described by such concepts as "" and "".   This may sound silly/ignorant/absurd to professional practicing theoretical physicists. To me (a layman), however, it doesn't sound much stranger than the idea of wrapping up six extra dimensions (which is, from what I understand, considered to be a serious possibility by those who study $10$-dimensional String Theory) into intricate shapes called "Calabi-Yau Manifolds".   Has any research on $(a +b)$-dimensional spacetime (where $a,b \in \mathbb{R}_{\geq 0} $) ever been done? If so, what where the findings? If not, why not? How to deal with very long lines that do not contain spaces? If $\sum_{n_0}^{\infty} a_n$ diverges prove that $\sum_{n_0}^{\infty} \frac{a_n}{a_1+a_2+...+a_n} = +\infty $ I've tried to use the limit test: $\lim_{n \rightarrow \infty} \frac{a_n}{b_n} = C$ in the series of $a_n$ and $\frac{a_n}{a_1+a_2+...+a_n}$ but it was inconclusive.  The question does not especify the sign of $a_n$ but proving it for positives would already help.  I think the sign can change as long as the partial sums never get to be zero. Like if the series has only negative numbers the result seems to stil hold. Easy way to determine the virtualization technology of a Linux machine? Shouldn't this table span the whole page width? I have this table definition as part of a invoice  \begin{tabularx}{\textwidth}[ht]{lXrr}%   It worked fine for years until I have a very short word in the X column for the first time. Now my table is very small in width and centered horizontally on the page.  In my expectation the X column should fill up all space until the width of the table reaches the width of the page except the margins.  I have read about workarounds specifying something like 1.2\textwidth, but I don't like that, because the table is a template included via \include, so it would affect all my invoices.  I also tried \linewidth, \hsize and \columnwidth, but everything results in the same layout.  Is there a way to make the only X column expand so that it uses all available space?    Complete included table definition (Rechnungstabelle.tex):  \newcommand{\Rechnungstabelle}[4]{% vielen Dank für Ihren Auftrag. \noindent \begin{tabularx}{\textwidth}[ht]{lXrr}% \toprule% \bf{Anzahl} &amp; \bf{Bezeichnung} &amp; \bf{Einzelpreis} &amp; \bf{Gesamtpreis} \\% \midrule% #1% \bottomrule% &amp; \bf{Rechnungsbetrag}  &amp; &amp; \bf{\EUR{#2}} \\% \ifthenelse{\equal{#3}{}}{}{&amp; Enthaltene MwSt. 19\% &amp; &amp; \EUR{#3} \\}% \ifthenelse{\equal{#4}{}}{}{&amp; * Enthaltene MwSt. 7\% &amp; &amp; \EUR{#4} \\}% \end{tabularx}% }   Changing the table header row to  \bf{Anzahl} &amp; \bf{Bezeichnung} \hspace{\textwidth} &amp; \bf{Einzelpreis} &amp; \bf{Gesamtpreis} \\%   is a workaround, but I don't think that would be good TeX style.  Minimum example for reproducing:  \documentclass[ fontsize=12pt,                  paper=a4,                 foldmarks=TBMPL,                 fromalign=center,                 ngerman                 ]{scrlttr2} \usepackage{babel} \usepackage[utf8]{inputenx} \usepackage[right]{eurosym} \usepackage{tabularx} \usepackage{ltablex} \usepackage{booktabs} \usepackage{ifthen}  \input{Rechnungstabelle} \begin{document} \begin{letter}  \Rechnungstabelle{     1,0 h &amp; Do something &amp; \EUR{99,00} &amp; \EUR{99,00} \\      }     {99,00}     {}{} \end{letter} \end{document} Opposite of "trendy" without a negative meaning I am looking for an opposite to the word trendy without giving a meaning that those who adopted the trend are old-fashioned in hindsight. For example,     Service Oriented Architecture is the trend as of now. But what is trendy in 2014 can become ______ in 2015.   So in 2015, the trend becomes widespread to the extent that it is no longer trendy, but not necessarily old-fashioned.  Edit: I am currently thinking of using mainstream. But still any other thoughts are welcome! On my Windows 7 system I installed via  from Fonts.com:   The font does not appear in C:\Windows\Fonts. However, it shows up in certain desktop applications, for example  as: Sabon Next Com Display  My intention was to use the font in a LaTeX document test.tex:  \documentclass{article} \usepackage{polyglossia} \setromanfont{Sabon Next Com Display}  \begin{document} Hello World! \end{document}   Unfortunately, xelatex test.tex fails:  […] Couldn't find `Sabon Next Com Displ.cfg' miktex-maketfm: No creation rule for font "Sabon Next Com Display".   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" !  ! The font "Sabon Next Com Display" cannot be found. !  ! See the fontspec documentation for further information. !  ! For immediate help type H &lt;return&gt;. !...............................................    l.4 \setromanfont{Sabon Next Com Display}                                            % Sabon Next Com Display, SabonNex...  ?    Can XeLaTeX even work with fonts installed via SkyFonts? If not, what could be a workaround? Sum of closed spaces is not closed In what cases should I use a comma before "or"? Proper submodules of Noetherian modules are intersections of indecomposable modules If $M$ is Noetherian, any submodule $N \neq M$ can be written as a finite intersection of intersection-indecomposable ones.   I just don't know how to begin with the proof of this proposition.   Very kind of you for reading or answering. I've been trying to prove that given a ring $R$ and a collection of ideals $\{I_{\beta}\}_{\beta \in B}$ in $R$, the set $$\sum_{\beta \in B} I_{\beta}=\{f_1+\cdots+f_r:f_j \in I_{\beta_j}, \mbox{ for some } I_{\beta_j}\}$$ is an ideal and is the smallest ideal containing $\cup_{\beta \in B} I_{\beta}$.  I've already proved when I only have two ideals, and so, using induction, I've seen it for finite sums. But I don't see how to generalise that to an arbitrary family of indexes (maybe infinite) $\beta$.   Could someone please give me a hand? Thank you. Use /testfor to make a custom command Basically, I'm trying to recreate the Faction plugins /f map in my single-player without mods as my PC doesn't run them very well. (I know it sounds strange.) I am trying to use the /testfor to test if I have written '/f map' in chat, and if I have, it would show me a custom generated map. I don't know how to word this better xD Essentially what I want is for it to test if I have written a command in chat, and if I have, display something. Error with square bracket in table Limit of function of hyperbolic Continued fraction of $e^{-2\pi n}$ I found this problem on a well-known problem solving website. It is apparently from Ramanujan.     With   $$\LARGE{a = \frac{1}{1 + \frac{e^{-2\pi}}{1 + \frac{e^{-4\pi}}{1 + \ddots}}}},$$   what is $a$?   The basic methods I know for questions of this type were not helpful to me.  I do not require a full solution, but feel free to post one if you would like. Hints or lecture notes on how to solve problems of this nature would be appreciated.   Keep in mind that I am at an undergraduate level in mathematics. Is it possible in PHP to do something like this? How would you go about writing a function? Here is an example. The order is the most important thing.  $customer['address'] = '123 fake st'; $customer['name'] = 'Tim'; $customer['dob'] = '12/08/1986'; $customer['dontSortMe'] = 'this value doesnt need to be sorted';   And I'd like to do something like   $properOrderedArray = sortArrayByArray($customer, array('name', 'dob', 'address'));   Because at the end I use a foreach() and they're not in the right order (because I append the values to a string which needs to be in the correct order and I don't know in advance all of the array keys/values).  I've looked through PHP's internal array functions but it seems you can only sort alphabetically or numerically. Prove $\sum_{i=1}^n i! \cdot i = (n+1)! - 1$? Prove the summation:  $$\sum_{i=1}^n i! \cdot i = (n+1)! - 1$$ using induction.   base case:  $n=1$: \begin{align*} \sum_{i=1}^1 i! \cdot i &amp;= (1+1)! - 1 \\ 1 &amp;= 2 - 1 \\ 1 &amp;= 1 \end{align*}   This is a question from my test review packet, currently have the base case completed and I am a bit lost on where to go from there. Any help/hints are appreciated.