Apparent compilation error with template arguments
Why can templates only be implemented in the header file?
Identify this novel: youngsters psychologically tested for abilities/profession, hero wants to author the tests, society uses moving walkways 4 fast cores or 6 slower ones? GCD in polynomial rings with coefficients in a field extension Protected Question does not show Add an Answer button This question is protected. To answer it, I must have at least 10 reputation.        Ignoring the association bonus of 100, I should .  Yet, the Android app does not show the blue "Add an Answer" button at the bottom. The app also does not show the protection status.  If I view the question in the desktop or mobile browser (and I'm signed in), I can add an answer there. How does two-weapon fighting work? I'm quite confused about attacking with two weapons in both hands and wondering what is required to be able to do to (in Pathfinder).  1. Base Attack Bonus Looking at the base attack bonus tables for different classes (e.g. the ) it seems like up to +5 you get only one attack per full action but starting from base-attack-bonus of +6 you get a second attack with +1.  2. Feats There is a feat . The existence of the feat sounds like you could not do two-weapon-fighting without it. However, in the description of "normal" it says:     If you wield a second weapon in your off hand, you can get one extra attack per round with that weapon. When fighting in this way you suffer a –6 penalty with your regular attack or attacks with your primary hand and a –10 penalty to the attack with your off hand. If your off-hand weapon is light, the penalties are reduced by 2 each.   3. Core Rulebook Chapter about combat If I understand the  it says that you need a full-round action do attack with both weapons in two hands.  So how do these things interact? Can I only attack with my off-hand weapon if my base-attack-bonus is high enough that I get second one with +1?  If not, how does the "multiple attacks from high base-attack-bonus" interact with dual-wielding? Assuming I reached a state of base-attack-bonus with +11/+6/+1 and have a full-round action to attack. Does that mean I can either attack with my primary weapon three times or use the primary weapon and off-hand weapon to attack only twice? Why would I then ever choose dual-wielding? Or can I attack three times with both weapons (leading to a total of 6 attacks with heavy malus) Or would I get 3 attacks with the primary weapon + 1 attack with the off-hand weapon? If so, what attack bonus do I have to use for each of the attacks? Well the question is to solve for $x$ in $$a^x+b^x=c \tag{a,b,c are constants}$$   Well as of me, I tried to put $\ln{}$ on both sides which does not seem to help. Apart from this I don't seem to have any other way to solve it.   I turned to WolframAlpha and the solution which was given was : $$x=\dfrac{-i(2\pi n +\pi)}{\ln{a}-\ln{b}} , {n \in \mathbb{Z}}$$  And if $n=0$ $$x=\dfrac{-i\pi}{\ln{a}-\ln{b}}$$  The only thing I am able to recognize is $e^{i\pi}=1$ ... i guess is used.  Link :   So I see that $x$ is independent of the constant $c$.  So how to solve it? Please help...Thanks!    EDIT - It seems that WolframAlpha is taking $c=0$ as suggested by Donkey_2009. And when i write "Solve for x in a^x + b^x = k" it is not returning anything. So are you guys aware of a method to solve this? Also are you guys aware of any other website/software like WA?    P.S. - Also I see that IF we know the values of $a,b,c$ resulting in something like $2^x+3^x=100$ , then Newton's method is the only method I am aware of that can solve it...  Any other suggestions? Greek Text (babel) and English Code Text (listings): Problem I use the babel package in order to write in greek with font "kerkis".  I want to add code in english ("courier new" font) to my latex document but I get some difficulties.  Can anybody help me, please. Thank you in advance.  \documentclass[12pt]{article} \usepackage[english,greek]{babel} \usepackage[utf8x]{inputenc} \usepackage{graphicx} \usepackage{fancybox} \usepackage{verbatim} \usepackage{courier} \usepackage{kerkis} \usepackage{float} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage{tocloft} \usepackage{hyperref} \usepackage{afterpage} \usepackage{color}    \usepackage{listings}  \renewcommand{\lstlistingname}{Κώδικας}  \lstset{  %matlab   backgroundcolor=\color{white},     basicstyle=\normalsize,    % COURIER NEW?        commentstyle=\color{green},    % comment style   escapeinside={\%*}{*)},           extendedchars=true,               frame=single,                              keywordstyle=\color{blue},       % keyword style   numbers=left,                     numbersep=5pt,                     numberstyle=\normalsize\color{black},    rulecolor=\color{black},           stepnumber=1,                      stringstyle=\color{magenta},     % string style }   \begin{document}  \selectlanguage{greek} Ελληνικά: \textlatin{this word means greek}  \selectlanguage{english} Now I write in english  \selectlanguage{greek} Ελληνικά  %\selectlanguage{english}???  \begin{lstlisting}[caption = \textlatin{example1.m}] { % Entropy E = 0; for i = 1:J     if p(i) ~= 0         E = E + p(i)*log2(1/p(i));     end end } \end{lstlisting}  \end{document} The set that only contains itself What does a confidence interval with a negative endpoint mean? Starting iPhone app development in Linux? I've heard that you need to get a Mac if you want to develop iPhone apps. Is this true?   Is it possible to develop iPhone apps using Linux? If yes, what do I need and where do I download the necessary tools? Sum of the series $\frac{1}{2\cdot 4}+\frac{1\cdot3}{2\cdot4\cdot6}+\dots$ I am recently struck upon this question that asks to find the sum until infinite terms $$\frac{1}{2\cdot 4}+\frac{1\cdot3}{2\cdot4\cdot6}+\frac{1\cdot3\cdot5}{2\cdot4\cdot6\cdot8}+.....∞$$ I tried my best to get something telescoping or something useful, but I failed. I even made a recurrence as $t_n=t_{n-1}\frac{2n-1}{2n+2}$, but this question was expected to be done with simple logic of series (Also that the recurrence on solving gives a higher order charasteristic polynomial, which might be difficult to solve without calculator). So, thus I ended up being confused with this question. So, can anyone prode a small solution to this (might be easy) problem  . Hi Blender coders and artists.  I am updating one of my add-ons for Blender 2.8 and have run into some  issues finding the appropriate way to hide a collection that is added to my scene.  I want to deselect the eyeball on the toolbar with a python command in a script but I don't want to disable the collection in the view-port entirely as it is used as a collection in a particle system.   I just want to deselect the eyeball circled in green below.  Anyone know the python API for this? Are there any non-green, non-artifact mana ramp cards? I have looked and can't seem to find any.  I have seen many green cards and some artifacts that do this, but nothing in Red, Blue, Black or White.    Are there any?  Note: By "Mana Ramp" I mean a card that generates mana, or one that lets you play more than one land per turn.  The end result, for example, would be on turn 4, playing a white only deck, I could tap more than 4 mana.  (Normally you only get one land per turn so a max of 4 mana on turn 4.) This may be a silly question, but I ask it still. If I have declared a shebang  #!/bin/bash    in the beginning of my_shell_script.sh, so do I always have to invoke this script using bash  [my@comp]$bash my_shell_script.sh   or can I use e.g.  [my@comp]$sh my_shell_script.sh   and my script determines the running shell using the shebang? Is it the same happening with ksh shell? I'm using AIX. Cards entering the battlefield simultaneously and "Enter the Battlefield" effects I was playing modern with the owner of a shop.  He played a  which he used to bring in 7 lands: 5 basic mountains and 2  cards.  He then claimed that each  triggered 5 times (killing me).  I am doubting this now.    Here is my reason: The two  cards entered at the same time as the other 5 basic lands.  That means when they were on the battlefield and their ability was in effect, the other 5 basic lands were already there too.  That seems too late to trigger a "Enters the Battlefield" effect.  So here is my question.  Am I right or wrong?  If I am wrong, please show me how the enter the battlefield effect can trigger for something that enters the battlefield at the same time as itself.  If I am right, please show me the rules that prove it.  I now have two shop owners that are convinced that this is a legal play.  If it is not legal, I am going to need clear rules citations to convince them.    Side note:  If I am wrong and it is a legal play, then I have a follow up scenario.  Say I have 2  cards and 5 other human cards in my graveyard.  If I play a spell that lets me return all of them to the battlefield at the same time (say ), would the  cards get 6 +1/+1 counters on them?    To me, if the trick that was played on me with  is legal then my  cards should also get the +1/+1 counters. How to fix Finance::Quote to pull quotes in GnuCash I made the jump from Jumsoft's Money app to GnuCash a while back. It appealed to all my OCD tendencies. I don't know how to use Perl, or stuff of the sort, but with detailed instructions I manage to get things done... when I can find them.  I set up Finance::Quote to pull quotes after I set up GnuCash. I even managed to get it to pull quotes for Korean funds. And every thing had been working well, until tonight. I only get back a pop-up that states "There was an unknown error while retrieving the price quotes." That's where I need help. What can I do?  I dug around and found that it seems that it has something to do with Yahoo Finance ending it's API support. I also learned that Finance::Quote can pull data from many sources, so I don't really understand why one missing API would break it. I also saw that someone out there is trying to use AEX to pull the quotes instead for GnuCash specifically. I found Finance::Quote on cpan (I also first heard of cpan), but I don't understand what I'm looking at. But that's all beside the point. I don't know how to fix this.  Any help would be appreciated. I'm on Windows 10, GnuCash version 2.6.17, and have Strawberry Perl 5.18.2.2-32bit installed.  edit Thanks everyone who responded. It seems to be working more or less. The currency and Korean funds still haven't updated, but you've shown this horse to water. I'll do my best to drink it now. I don't do math a long time, so I completely don't remember how to prove that: $$ \sum_{i=1}^\infty \frac{i}{2^i} = 2 $$  Can anybody help me? My keyboard is typing by itself, could there be a ghost in it? Any idea why the piece of code below does not add the script element to the DOM?  var code = "&lt;script&gt;&lt;/script&gt;"; $("#someElement").append(code); This is from page 3 of  ().  Copying the relevant segment:     Stirling’s approximation tells us $\sqrt{2\pi n} (n/e)^n \leq n! \leq e^{1/12n} \sqrt{2\pi n} (n/e)^n$. In particular we can use this to say that   $$ {n \choose k} \leq \left(\frac{en}{ k}\right)^k$$   I tried the tactic of combining bounds from $n!$, $k!$ and $(n-k)!$ and it didn't work. How does this bound follow from stirling's approximation?