Can a multiclass character use either of its spellcasting modifiers for spells?  When character multiclasses into multiple classes that can cast spells, which modifier do you use for casting the spell? Or do you use whichever you prefer?   Say, for an example, someone multiclasses Wizard into Warlock. Does the combination of classes even matter?  Is it the same for exclusive spells too? Like using Eldritch Blast, can you use your intelligence modifier instead of charisma?
I would really love to play wizard/warlock multiclass with low charisma (just 13 for mutliclass). The handbook says that I can use Pact Magic slots to cast wizard spells, but doesn't specify which ability I use for spellcasting.     Pact Magic.   If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and [vice versa].   When I cast wizard spells using Pact Magic slots (or warlock spells using wizard's "Spellcasting" slots) do I use spellcasting ability of the slot, or do I get to choose?
I've installed a version of Ubuntu Server and although I'm fairly still fresh with Ubuntu, I'm trying to create a bash file to run a program in the background. More importantly, I'm trying to get a file nameto display correct and create it before I start running the program (I like my debug stuff).  However, here is my bash script:    #!/bin/bash  PATH="/var/log/servers/Game/"  FILENAME="startup"  EXT=".log"  DATE=$(date +%d-%m-%Y)  NEWFILE=${PATH}${FILENAME}_${DATE}${EXT}   I have verified that the file does exist in the PATH directory. However, the issue is with the date command. When I run the script bash -x game.sh this is what is displays.   + PATH=/var/log/servers/Game/  + FILENAME=startup  + EXT=.log  ++ date +%d-%m-%Y  game.sh: line 5: date: command not found  + DATE=  + NEWFILE=/var/log/servers/Game/startup_.log  + echo /var/log/servers/Game/startup_.log   I don't understand why it would say the command doesn't work, when I can go to the main console and run date and get a valid response.  Any help is greatly appreciated! Other than portability, are there any other advantages (or disadvantages) to storing apps on external storage? I have got codes like the following (generated by Kile). How can I add a caption. I guess I should have used the table environment. Is there any solution now?  \newcommand{\mc}[3]{\multicolumn{#1}{#2}{#3}} \begin{center} \begin{tabular}{rccll}      &amp;   &amp; \mc{3}{c}{Colin}\\      &amp;   &amp; a &amp; \mc{1}{c}{b} &amp; \mc{1}{c}{c}\\\cline{3-5} Rose &amp; \mc{1}{c|}{A} &amp; \mc{1}{c|}{(1,2)} &amp; \mc{1}{c|}{(2,5)} &amp; \mc{1}{c|}{(4,4)}\\\cline{3-5}      &amp; \mc{1}{c|}{B} &amp; \mc{1}{c|}{(7,4)} &amp; \mc{1}{c|}{(3,5)} &amp; \mc{1}{c|}{(0,6)}\\\cline{3-5} \end{tabular} \end{center} Hi I have a question regarding finding the values of limit for the following question.  Let $a, b \in \mathbb R$. Find the limit $$\lim_{x\to+\infty}\left(\sqrt{(x+a)(x+b)}-x\right)$$ Rotate (group) objects outwards on spherical particle system? I'm trying to create a mini-world with (among other things) trees on it. I have created an icosphere, modeled several trees and put them in a group. Next I added a particle system to the sphere, and chose hair. In the "render" section I selected Group and the name of the group I created. As expected the trees show up but they're all oriented in the same direction, while I would like them to pop up just like the default hairs do (along the normal of the individual faces). I tried fiddling with all kinds of settings, had them oriented in all kind of ways (e.g. towards the "north pole"). I also tried using the emitter instead of hair setting but without success as well. In how many ways can $500$ indistinguishable students select books from $10$ titles if no more than $20$ copies of one particular text are selected? Assume that there are an arbitrarily large number of copies of ten diﬀerent discrete math books (which we will call titles) for cmsc250. Each student must choose one title as the course text book. Assume that the ﬁve hundred students taking the course are indistiguishable.  How many diﬀerent ways can the students choose titles, if Epp must be chosen by at most twenty students?   I understand that this is a stars and bars problem where the formula would be ${n+r-1}\choose{r-1}$, but whats throwing me off is the "at most" parameter of the problem. My answer is ${480+9-1}\choose{9-1}$ My reasoning was that we now have one less "bar", and that should be shown by lowering $r$ by 1  Am I approaching this the right way? Can a Muggle inadvertently create a horcrux-like object? I think that we have it well-established (regardless of whether or not one sees this as flawed logic) that Harry is not a Horcrux.  A Horcrux has to be made intentionally, and the recipient is cursed and classified as an "evil object," etc.  Neither of which is true for Harry - so, as stated by JKR herself, Harry is not a Horcrux as such.  But the fact remains that murder can, in fact, accidentally create something that shares a key property of the Horcrux: the soul splits, attaches itself to the nearest recipient, and lingers inside.  As it does in Harry's case.  So my question is: is this only true for wizards?  A Muggle cannot utilize a spell to create a Horcrux.  But, if a Horcrux-like object / being can be created accidentally through murder without intentional Horcrux-creating spells, can this also happen in the case of a Muggle committing murder?    Can a Muggle commit murder, have their soul split, and have the piece of the soul inadvertently attach itself to something nearby without any Horcrux-creating spell being cast? How can I prove that if $G$ is an Abelian group with elements $a$ and $b$ with orders $m$ and $n$, respectively, then $G$ contains an element whose order is the least common multiple of $m$ and $n$?  It's an exercise from Hungerford's book, but it's not homework. I could not solve it when I take the course on groups and I think it should be easy. There is a hint that says to first prove when $m$ and $n$ are coprimes. I did this part. But I have no idea how to solve the general case.  Thanks. I am unable to open gnome-control-center due to an error stemming from pop repositories. Ubuntu 20.04 Best Method to SFTP or FTPS Files via SSIS This question originally asked which is the best method for uploading files via SFTP or FTPS in SSIS.  It now just lists the pros and cons of each solution.  I personally use CozyRoc's SFTP library these days, but I've used each of the below solutions at one point or another.  SSIS COMPONENT LIBRARY  Method: Install a SSIS component library from , , , , or some other vendor on each development and production server and use the SFTP task to upload the files.  Pros: Easy to use.  It looks, smells, and feels like a normal SSIS task.  SSIS also recognizes the password as sensitive information and allows you all the normal options for protecting the sensitive information instead of just storing it in clear text in a non-secure manner.  Works well with other SSIS tasks such as ForEach Loop Containers.  Errors out when uploads and downloads fail.  Works well when you don't know the names of the files on the remote FTP site to download or when you won't know the name of the file to upload until run-time.  Cons: With the exception of the Codeplex solution, this costs money to license in a production environment.  Requires installing the libraries on each development and production machine.  If it is the Codeplex solution, then you are using software that isn't supported by any specific vendor.  This also makes you dependent upon the vendor to update their libraries between each version.  For instance, before 2008 RTM'd, I was developing a new server on a CTP version of 2008 and the CozyRoc 2005 library was incompatible with it.  Eventually they released a 2008 compatible version, but I had to temporarily use the command line solution to work around this issue.    COMMAND LINE SFTP PROGRAM  Method: Install a free command-line SFTP application such as Putty and WinSCP and execute it either by running a batch file or operating system process task.  Instructions for doing this via WinSCP are listed .  Pros: Free, free, and free.  You can be sure it is secure if you are using Putty since numerous GUI FTP clients appear to use Putty under the covers.  You DEFINATELY know you are using SSH2 and not SSH.  Cons: The two command-line utilities I tried (Putty and Cygwin) required storing the SFTP password in a non-secure location.  I haven't found a good way to capture failures or errors when uploading files.  The process doesn't look and smell like SSIS.  Most of the code is encapsulated in text files instead of SSIS itself.  Difficult to use if you don't know the exact name of the file you are uploading or downloading.  A 3RD PARTY C# or VB.NET LIBRARY  Method: Install a SFTP or FTPS library and use a Script Task that references the library to upload the files.  (I've never tried this, so I'm going to guess at the pros and cons)  Pros: Probably easy to capture errors.  Should work well with variables, so it would probably be easy to use even when you don't know the exact name of the file you are uploading or downloading.  Cons: It's a script task combined with .NET libraries.  If you are using SSIS, then you probably are more comfortable with SSIS tasks then .NET code.  Script tasks are also difficult to troubleshoot since they don't have the same debugging tools and features as regular .NET projects.  Creates a dependency on 3rd party code that may not work between different versions of SQL Server.  To be fair, it is probably MORE likely to work between different versions of SQL Server than a 3rd party SSIS task library.  Another huge con -- I haven't found a free C# or VB.NET library that does this as of yet.  So if anyone knows of one, then please let me know! No more than 10,000 results are visible in search If you make a search for something that returns more than 10,000 items in result. For example, search for  return 161,338 results on MSE. But if you select a page where 10,000+ result should be shown:        In the edge case  shows zero results:        But this is actual for any page where per_page * page_number is more than 10,000.  Though this does not happen for Stack Overflow in English. It looks like all other sites are affected.  Related bug report on ruSO.meta: I need to construct a real function with is exactly $C^2$ (that is, it is continuous and two times differentiable but it is not three times differentiable) such that its first derivative never vanishes.  I tried  $x^5 \sin(\frac{1}{x}) + \exp(x)$  $x^{\frac{5}{2}} + \exp(x)$  ${|x|}^3 + \exp(x)$  all these functions are exactly $C^2$, but their first derivatives vanish in some point(s). :( Proving $1-\exp(-4x^2/ \pi) \ge \text{erf}(x)^2$ This is a follow-up to  question. I came across a tighter potential bound and checked it numerically for $0\le x\le 5$. I think it holds for all positive $x$, can anyone see a proof?  $$1-\exp(-4x^2/ \pi) \ge \text{erf}(x)^2$$  Note: using analysis for previous  you can show that $1-\exp(-k x^2)$ is an upper bound on $\text{erf}(x)^2$ for $k=2$ and a lower bound when $k=1$. The factor $k=4/\pi$ comes out when numerically searching for tightest upper bound. Not only does it seem to give an upper bound, but it also tracks $\text{erf}(x)^2$ very closely.  Dashed graph below is $\text{erf}(x)^2$, red is $1-\exp(-k x^2)$ for $k=4/\pi$, other two graphs are for $k=1$ and $k=2$ Why are American-style options worth more than European-style options? Why are American-style options worth more than European-style options?   I realize I can exercise American-style options anytime before the  expire, but I can only exercise European-style options during their  "exercise period" (usually right when they expire, but no earlier).   So it makes sense that an American option is worth at least as much as  a European option.   But why is it worth more? If I exercise my American option early, I  may make more money than waiting until expiration, but I also may make  less. Mathematically, there's no advantage, since I'm equally likely  to make as much money by waiting for expiration.   Mathematically speaking, is there ever a good reason to exercise an  American option early?   I realize people don't always behave logically, but even the formulas  that valuate options show that American options are worth more.   EDIT (answering comments):    Many of the comments people made would apply to lookback options  (), but not to American  options.  American options can do everything European options can and more. I  understand that, and that means American options can't be worth any  LESS than European options, but I'm still not clear on how you would  mathematically calculate this extra value.  @Aaronaught: "The difference between an American and European  option is the difference between getting N chances to get it right (N  being the number of days 'til expiration) and getting just one  chance. It should be easy to see why you're more likely to profit  with the former, even if you can't accurately predict price  movement."    REPLY: I don't think you really get N chances. Once you exercise the  option, that's it, no more chances. And, if you decide not to exercise  the option today, and the underlying's price falls, you can't go back  in time and exercise it yesterday.    @jdsweet: Think of it this way, if you traveled back through time  one month - with perfect knowledge of AAPL's stock price over that  period - which happens to peak viciously then return to its old price  at the end of the period - wouldn't you pay more for an American  option?    REPLY: Well, no. I'd simply buy a cheaper European option that expires  right at the spike. Or, I'd buy a European option that expires later,  and sell it when the spike occurs. American options don't give you  precognition, so you're still guessing as to when to sell/exercise.    @jdsweet: "one of the more common reasons people exercise (as  opposed to sell) an American option before expiration is if an  unexpected dividend (larger than remaining time value of the option)  was just announced that's going to be paid before the option contract  expires"    REPLY: This makes sense. I'm actually trading FOREX options, so there  is no dividend. In that scenario, are European and American options  worth the same? Include ALL pdf graphics in document I have several plots saved as .pdf in a folder and I would like to know if there is a way of adding all of them in a document at once, without typing the path to each file. Installing Reaver 1.4 I am trying to install reaver 1.4, but when I run ./configure ; make I get this message at the end  int ret_val = EXIT_FAILURE, r = 0;   I have searched a fair bit and cannot find an answer, any help would be appreciated. I apologize if this has been answered and I've just failed to find it. Luggage transfer in Dubai between flights, without a visa I am traveling from Stockholm to Dubai and Dubai to Nairobi using two different airlines. I have Kenyan nationality and can't go through Immigration because I don't have a Dubai visa.    How I will get my luggage? Homotopy functions I'm new here. Can anyone give me a hint in this problem? Please.  Let $X$ be a topological space. If $f,g$ are continuous function of $f,g\colon X\to S^n$  which $f(x)\neq -g(x)$ for all $x$ in $X$, show $f$ and $g$ are homotopics. I try to show a homotopy using $$q(x) = \frac{f(x)+g(x)}{\|f(x)+g(x)\|}$$ it's well defined, but i'm stuck. Is there a program to mount all of my drives automatically? What's the difference between  and ,  and ? What's the difference between &lt;b&gt; and &lt;strong&gt;, &lt;i&gt; and &lt;em&gt; in HTML/XHTML? When should you use each?