Multiple armor pieces not giving stacked bars?
Why won't attribute modifiers add up on my armor?
Continuous and bounded imply uniform continuity? Find orphaned users In SQL Server 2005, is there a way to find users that either don't exist at the server level (an account that was deleted at server level but wasn't disassociated from databases before it was deleted) or accounts that aren't linked (an account may have been deleted at the server level but not db level, then readded but the db level was never cleaned up).  I've got a very messy server and it would be awesome if there was a query to run to find these. Splicing a list of arguments into a function with Sequence Escaping WP_Query tax_query when term has special character(s) Here's my issue. I have a custom post type that I'm attaching a custom taxonomy to. This taxonomy will allow the admin to provide search suggestions that will ensure the post is found when a user searches. This taxonomy is also used on the front-end to autocomplete the search field with these suggestions.  The system works fine, except when the term contains a forward slash, a space or other "special" characters.  &lt;?php $keyword = 'Ski-in%2FSki-out';//Submitted via $_GET $keyword = urldecode($keyword); // (string)'Ski-in/Ski-out'  $taxQuery = new WP_Query(array(     'post_type' =&gt; 'ml_properties',     'tax_query' =&gt; array(         'relation' =&gt; 'OR',         array(             'taxonomy' =&gt; 'mc_tax_lifestyle',             'field' =&gt; 'name',             'terms' =&gt; array($keyword),             'operator' =&gt; 'IN'         )     ) )); ?&gt;   I've looked into using the escaping features provided by WordPress, but haven't had any luck there. I thought this would be a simple problem, but either my Google-fu is not strong, or I'm just not having any luck.  I've also verified that that Ski-in/Ski-out is the exact string stored in MySQL. I've looked into using esc_attr(), $wpdb-&gt;esc_like() and esc_sql() but none have an effect.  Perhaps I'm missing something obvious? cron.hourly sendmail errors even though my scripts do not involve sending mail Out of Bag Error makes CV unnecessary in Random Forests? How to disable touchscreen permanently on ubuntu 18.04 How to read dash files How can I read a dash file from the terminal other than delimiting it with ./  For example to read a - file we can read it by   cat ./-file_name  Q: Is there an alternative way to achieve the same thing? #include&lt;iostream&gt; using namespace std;  class A  {    int a;    int b;    public:    void eat()    {       cout&lt;&lt;"A::eat()"&lt;&lt;endl;    } };  class B: public A {    public:    void eat()    {        cout&lt;&lt;"B::eat()"&lt;&lt;endl;     }  };  class C: public A {     public:    void eat()     {        cout&lt;&lt;"C::eat()"&lt;&lt;endl;     }  };  class D: public B, C {  };  int foo(A *ptr) {  ptr-&gt;eat();  } main() {  D obj; foo(&amp;(obj.B)); //error. How do i call with D's B part.  }   The above foo call is a compile time error.  I want to call foo with obj's B part without using virtual inheritance. How do i do that.   Also, in case of virtual inheritance, why the offset information need to be stored in the vtable. This can be determined at the compile time itself. In the above case, if we pass foo with D's object, at compile time only we can calculate the offset of D's A part. I have an existing trigger which converts leads into peron accounts if the company name is blank.  Trigger AutoConvert on Lead (after insert) {      LeadStatus convertStatus = [           select MasterLabel           from LeadStatus           where IsConverted = true           limit 1      ];      List&lt;Database.LeadConvert&gt; leadConverts = new List&lt;Database.LeadConvert&gt;();       for (Lead lead: Trigger.new) {           if (!lead.isConverted &amp;&amp; lead.Company == null) {                Database.LeadConvert lc = new Database.LeadConvert();                String oppName = lead.Name;                 lc.setLeadId(lead.Id);                lc.setDoNotCreateOpportunity(true);                lc.setConvertedStatus(convertStatus.MasterLabel);                 leadConverts.add(lc);           }      }       if (!leadConverts.isEmpty()) {           List&lt;Database.LeadConvertResult&gt; lcr = Database.convertLead(leadConverts);      } }   I need to also write a trigger that stops records from coming into Salesforce if that email already exisits in a contact or an account (we use person accounts).  The issue is how do I get it working with the existing trigger (I need it to run before the trigger that converts it into a person account is run).   Is there a way to combine the two or add the functionality to create the record only if the email address doesn't already exist as a contact in the org? alias multi commands as one alias I made an alias for youtube-dl  with some options  like that  yd="youtube-dl -cit -f 18"   so I can download it like   yd URL   I want to modify it to show only the two lines from the output using   grep -e "Downloading video #" -e ETA  I can make it in two aliases using the |   but is there a way to make it one alias Capitalization of "Theorem 1" in mathematics papers In many mathematics papers, I read sentences like:     With an appeal to Theorem 4.5 we get …   Is the capitalization of theorem in this case correct? If it is correct why do we capitalize the word? I received a table template, which I'm intended to generate dynamically with data using Java. But when the table becomes to large, the compilation with LaTeX fails. The specific about this template is, that it stretches the table width into the maximal page width and has same column widths for all data columns (except the first column).  Here is a minimal version of the full template, that still works fine:  \documentclass[final,authoryear,3p,twocolumn]{elsarticle}  \usepackage{amssymb,amsmath} \usepackage{calc} \usepackage{array} \newcolumntype{L}[1]{&gt;{\raggedright\arraybackslash}p{#1}} \newcolumntype{R}[1]{&gt;{\raggedleft\arraybackslash}p{#1}} \usepackage{eurosym} \usepackage{microtype} \usepackage{needspace} \usepackage{fp}  \usepackage{graphicx} \DeclareGraphicsExtensions{.pdf} \input{pgfexternal}  \newcommand\tabt{\rule{0pt}{2.6ex}} \newcommand\tabb{\rule[-1.2ex]{0pt}{0pt}}  \begin{document}  \begin{table*}[t]     \footnotesize     \begin{tabular*}{\linewidth}{@{}L{2em}@{}*9{R{(\linewidth-2em)/9}@{}}}\hline\tabt $i$ &amp; $1$ &amp; $2$ &amp; $3$ &amp; $4$ &amp; $5$ &amp; $6$ &amp; $7$ &amp; $8$ &amp; $9$\tabb\tabularnewline\hline\tabt $1$ &amp;  &amp; $48.87$ &amp; $0.01$ &amp; $0.05$ &amp; $1.23$ &amp; $0.00$ &amp; $0.20$ &amp; $5.67$ &amp; $2.35$\tabularnewline     \end{tabular*} \end{table*}  \end{document}   But when extending this example by another column, so that the table would look like the following example, it fails:  \begin{table*}[t]     \footnotesize     \begin{tabular*}{\linewidth}{@{}L{2em}@{}*10{R{(\linewidth-2em)/10}@{}}}\hline\tabt $i$ &amp; $1$ &amp; $2$ &amp; $3$ &amp; $4$ &amp; $5$ &amp; $6$ &amp; $7$ &amp; $8$ &amp; $9$ &amp; a\tabb\tabularnewline\hline\tabt $1$ &amp;  &amp; $48.87$ &amp; $0.01$ &amp; $0.05$ &amp; $1.23$ &amp; $0.00$ &amp; $0.20$ &amp; $5.67$ &amp; $2.35$ &amp; b\tabularnewline     \end{tabular*} \end{table*}   This fails, no matter how many columns I add. So far, it seems for me to be a problem with the division by 10. May it be, that LaTeX isn't able to handle that properly by default? How can I solve this problem and make even larger tables work using this template. Or is that to any other problem I don't see yet? Thanks for any help! Wasted screen space due to multiple horizontal bars at the top when an application is open in GNOME desktop Just moved from Unity to GNOME with the update to Ubuntu 17.10. There is a HUGE amount of wasted space at the top of the screen, when an application is open.  Evolution and Firefox both have four "bars" with 90% of each empty. Unity, to its credit was able to blend / mix these horizontal bars so there was only one / two.      Four is way too much. If this is GNOME I may carry on with Unity for the next six months.  Can anybody suggest a tweak/change/fix for this? What is the difference in this specific breadboard wiring? Redirect STDERR and STDOUT to different variables without temporary files func() {     echo 'hello'     echo 'This is an error' &gt;&amp;2 }  a=$(func) b=???   I'd like to redirect the stderr to b variable without creating a temporary file.   echo $b  # output should be: "This is an error"   The solution that works but with a temporary file:  touch temp.txt exec 3&lt; temp.txt a=$(func 2&gt; temp.txt); cat &lt;&amp;3 rm temp.txt   So the question is, how do I redirect the stderr of the  function func to the variable b without the need of a temporary file? Not able to query standard user field 'StartDay' in salesforce I want to query start of day and end of day field from the user object but I am getting error for that refer images for more details Dollar cost averaging - Should I still do it if I have a large pile of cash now? I currently have a large pile of cash savings ($240,000) which I really should have been investing all this time, but the past is past and no point dwelling on it.  I am currently 38 years old (2 kids. Wife who is also a high earner - $100,000), with a high salary ($150,000). I have read "The Intelligent Investor" and am really sold on dollar cost averaging as a strategy, using the index funds offered by Vanguard.  My current dilemma is what to do with the cash I already have. My current plan is to still follow the dollar cost averaging and slowly move it into vanguard over a period of 4 years (~$5000 per month). While leaving the remaining parts of the cash in term deposits. So $50,000 in a 3 year term deposit at 3%, $50,000 in a 2 year term deposit at 2.8% etc.  But in someways it feels overly conservative. Should I just move all the money now? Or perhaps in a shorter time frame (3 years? 2 years? 1 year?).  There are a few other questions on the site similar to mine, but they are from 2013/2014 etc. Given that currently the stock market is at a high and there is a lot of economic uncertainty on the horizon, putting everything in the stock/bond market at once now seems like a risky move. And it seems to violate the principle of dollar cost averaging. Or am I violating dollar cost averaging by trying to "time the market" by looking at it's current value?  Reading this section  seems to indicate that I should just invest everything now. But the first paragraph also seems to suggest giving more weight to that advice if the market was trending upwards (Which I am not certain the current market is/will be for long).  PS: My current investment horizon is long. Basically retirement, about 20 years from now. $f_n(x) = x - x^n$ for $x\in [0,1]$. Does the sequence converge pointwise or uniformly on $[0,1]$? $f_n(x) = x - x^n$ for $x\in [0,1]$. Does the sequence converge pointwise or uniformly on $[0,1]$?   We also have to prove why it is or isn't pointwise or uniformly convergent.   I have worked out that on $x\in[0,1)$, the limit as $n$ approaches infinity is $x$. And when $x=1$ the limit is $0$.   So this means its pointwise convergent right? But how do I prove this?  Also how on earth do I prove it is not uniformly convergent? (I'm just assuming it's not). Salesforce - Maximum simultaneous requests callout limit Salesforce says      Maximum simultaneous requests to URLs with the same host for a callout   request is 20   Statement is very simple to read but it is not very clear as to what it means. Can anyone explain what this statement means and how can i reproduce this exception in my Sandbox?     Once more thing what is the difference between simultaneous and   concurrent? Are both same or different?