I have FinancialForce installed in my SF instance, I want to deploy 3 new components from my sandbox environment 100% covered, but always I'm receiving the same deployment error related to Financial-force Triggers.    Is there any possible way to deploy my code or to cover those components?
I have several AppExchange apps installed that are failing tests. What is the recommended approach to resolving this? Are tests run when a new package is installed? Is there a way to determine what is actually failing besides the name of the method and something like "expected true, actually false"? The test results rarely show enough information to be useful.   What I'm doing atm, is checking for updates for the packages, and then writing the company with the failing test results.   Any feedback would be appreciated.
How to pass parameters to function in a bash script? I'd like to write a function that I can call from a script with many different variables. For some reasons I'm having a lot of trouble doing this. Examples I've read always just use a global variable but that wouldn't make my code much more readable as far as I can see.  Intended usage example:  #!/bin/bash #myscript.sh var1=$1 var2=$2 var3=$3 var4=$4  add(){ result=$para1 + $para2 }  add $var1 $var2 add $var3 $var4 # end of the script  ./myscript.sh 1 2 3 4   I tried using $1 and such in the function, but then it just takes the global one the whole script was called from. Basically what I'm looking for is something like $1, $2 and so on but in the local context of a function. Like you know, functions work in any proper language. Definite article, repetition in lists Which would be correct?        The fridge, the shelves, the walls, the floor, and John himself, were all covered in foam.   The fridge, shelves, walls, floor, and John himself, were all covered in foam.      The the can be applied to all the nouns, so is there a need to repeat it? A set with a finite integral of measure zero? Prove, or give a counter example: Let $\mu$ be a finite positive borel measure on $\mathbb{R}$. Then $\int (x-y)^{-2} d \mu (y) = \infty $ almost everywhere on $\mu$ (for the selection of x's).  This is a question I had in an exam, and the answer is supposed to be presented in less than 30 words, so there must be something quite simple I'm missing. sed append after a line containing multiple unordered strings I'm trying to use sed to append appendstring after a line that contains both Hello and World.  Hello something here World World fsf Hello   This works if I do consider order:  sed -i '/Hello*World\|World*Hello/a appendstring' file   But if I have many strings to match and they are not in order, this is definitely not effective.  Then I tried solutions from another link which discussed deleting a line that contains both strings without considering their order.     However,  sed -i '/Hello/!b;/World/d' file   This does not even work for deletion.   The following one, also one of the answers to that question:  sed -i '/Hello/{/World/d}' file   works, so I tried to implement it to append. Using:  sed -i '/Hello/{/World/a} appendstring' file   But received error:  sed: -e expression #1, char 0: unmatched `{'   Update: The post in the link stated the solution with !b, and it was not working in cshell because of the exlamation mark, but it is working in sh and bash. And it can also be easily extended to inserting many lines when running sed inside a script and the appending a large paragraph.  sed -i '/Hello/!b; /World/a \ addline \ addanotherline ' file Can you not sell/destroy buildings? So I've started playing Gathering Storm, built a bunch of coal plants and now Global Warming is out of control mainly because of me. I've been trying to remove these power plants, but I haven't found any option to sell/destroy or even replace these buildings.  Is there seriously no way to do this? I've been at this for almost two hours and no one seems to have the same problem as I and I doubt this will be solved but I'll try anyway.  this is the code  /tellraw @p ["Would you like to teleport?",{"text":"Yes","color":"green","bold":"true","clickEvent":{"action":"run_command","value":"/tp @p ~ ~4 ~ "},"hoverEvent":{"action":"show_text","value":{"text":"Confirm"}},{"text":"No","color":"red","bold":"true","clickEvent":{"action":"run_command","value":"/tellraw @p{"text":"Come back when you want to teleport"}"}}}]   this part is fine  /tellraw @p ["Would you like to teleport?",{"text":"Yes","color":"green","bold":"true","clickEvent":{"action":"run_command","value":"/tp @p ~ ~4 ~ "},"hoverEvent":{"action":"show_text","value":{"text":"Confirm"}}   it's just when I add this  ,{"text":"No","color":"red","bold":"true","clickEvent":{"action":"run_command","value":"/tellraw @p{"text":"Come back when you want to teleport"}"}}}]   Minecraft gives me the error:     Invalid JSON at line 1 column 203   I've tried to space it out and figure out what column 203 is but I can't, I don't know what I did. Anyone got any ideas? If Obi-Wan and Yoda were trying to keep Luke safe from Vader, why would they let him keep the Skywalker name? How do I show that $a^p + b^p > (a + b)^p$ for $a,b>0$ and $0<p<1$? A question on my math homework asks us to show that if $0 &lt; p &lt; 1$ and $a, b &gt; 0$, then $a^p + b^p &gt; (a + b)^p$. I have no idea how to do this, any pointers? Proving that $ 2 $ is the only real solution of $ 3^x+4^x=5^x $ "She will be visiting" vs. "she will visit" When she goes to Mexico, she will be visiting Chichen Itza. When she goes to Mexico, she will visit Chichen Itza.  Is there a particular difference in meaning, or it is just the matter of style? Series $\frac{x^{3n}}{(3n)!} $ find sum using differentiation Find sum of the series $$\sum_{n=1}^{\infty}\frac{x^{3n}}{\left(3n\right)!}$$ using differentiation. So far I found that $$S(x)+1=S'''(x)$$ but it does not help. Then I tried different interesting ideas  like $$S(x)+S'(x)+S''(x)=e^x-1\,.$$Maybe if I get the third equation it will allow me to construct a kind of differential equation. Then, by solving it, obtain $S(x)$. $ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} dx dy $ Question : The integral   $$ \int_{0}^{ \infty} \int_{0}^{ \infty} \frac { e^{-(x+y)}}{x+y} \mathop{dx}\mathop{dy} $$  is   (a) infinite   (b) finite but can not be evaluated in closed form   (c) 1  (d) 2 .  I tried substituting $u=x+y$ and $v=y$ that led me no where . I'm not even sure about convergence of integral .Any help would be greatly appreciated . When I dip a paper towel in a cup of water the water gets drawn up due to . How is this reconciled with conservation of energy, as it would seem on the surface that the potential energy of the system has gone up with no work being done? Could someone with experience in using these exercise typesetting packages please offer a quick compare and contrast of these packages to help me choose?  Packages under consideration are:         Having read briefly the documentation, they all seem to do the same thing generally, so could you please focus on the differences?  Some differences will not be obvious until I've learnt and used all the different packages but I want to better appreciate the differences now, a priori. Proof by Induction: For any integer $n > 0$, $3|(5^{2n} − 1)$. Is there any difference in proving "for any integer $n &gt; 0$, $3|(5^{2n}-1)$" and proving "for any integer $n \ge 0$, $3|(5^{2n} -1)$"? Or are they the same? Recursively list files with file names, folder names and permission Is there a problem with Beamer in the latest MiKTeX update? This is about MiKTeX Revision 2.9.6360.  Immediately after the latest MiKTeX update, my Beamer files stopped compiling.  When i tried to compile a file that had been working fine I got a Package installation popup saying:  tex\latex\beamer\beamerbasemodes.sty  Is missing.  It is part of the following package  beamer   So i clicked to have it installed.  All that achieved is that i got an error message  ! LaTeX error: File 'beamerbasemodes.sty' not found   I repeated this a few times with minor changes to the file, and then went to the MiKTeX Package Manager to see what parts of Beamer are installed.  It said none were.  Either the update had removed Beamer, or the attempt to install beamerbasemodes on the fly had done it.  So I reinstalled it by hand.  In fact i did this several times in various ways.  It made one difference.  Sometimes the problem package was identified as  translator.sty  In case it would help, I ran Update FNDB and restarted my machine.  Each time I installed Beamer, the Package Manager then reported that Beamer was installed.    But when I tried to compile the file, the same things happened all over.   And when i went back to the MiKTeX Package Manager it reported Beamer is not installed.   Is Beamer now out of date?  Or is this a problem on the new update?  Is there a simple fix i can use? Why can’t the Doctor’s companions understand babies and horses? The Doctor claimed to speak both horse and baby. The reason human companions can understand every language is because the TARDIS translates. So why can't anyone else understand babies and horses? Schengen visa refusal on threat to public policy, security, health I applied for German Schengen visa as a medical escort to my relative in a different country from  where I reside, but my visa application was refused and the refusal letter  was written in German as the following:        Ein oder mehrere Mitgliedstaaten sind der Auffassung, dass Sie eine Gefahr für die öffentliche Ordnung, die innere Sicherheit, die   öffentliche Gesundheit gemäß Artikel 2 Absatz 19 der Verordnung (EG)   Nr 562/2006 (Schengener Grenzkodex) oder die internationalen   Beziehungen eines oder mehrerer Mitgliedstaaten darstellen.      I was in Germany for nearly a year with my relative during his treatment; I extended my stay there 3 times; and I returned back home two months ago in order to renew my passport. I applied again using the same documents that I used for my extension in Germany.    First, can anyone tell me what the refusal means? Next, is there any possibility that there is a mistake in the assessment?    Note: In English this reason is...     One or more member state(s) consider you to be a threat to public   policy, internal security, public health as defined in Article 2(19)   of Regulation (EC) No 562/2006 (Schengen Borders Code) or the   international relations of one or more of the member states). Show that $\{\cos\ n:n \in \mathbb{N}\}$ is dense in $[-1,1]$ by using the fact below:      Suppose $x$ is irrational. Then there exists $p_n,q_n \in \mathbb{Z}$   such that $\bigg|x -\frac{p_n}{q_n}\bigg| &lt; \frac{1}{q_n^2}$   I have no idea on how to apply the fact above to show the set is dense in $[-1,1]$. Can anyone help me?