I'm trying to choose my own items instead of just following a guide, but keep struggling with understanding when to use Blood Thirster or Blade of the Ruined King (or vice versa) on Marksmen champions. Since they are ranged, at least Ravenous Hydra is not an option (though, it would be great if answers included how to pick between all 3 for melee ADCs).  I tend to go for BotRK on champs with on-hit stacking effects like Varus, Twitch etc. and lean towards BT for those with good AS steroid like Jinx. For Lucian I was going BotRK as it synergizes with his ult, then I see a guide and its recommending BT (then I realized, its probably to get higher damage for his passive double AAs?)  I am not looking for a list of recommendations on what to build for each champion - rather, hoping to get explanations on what kind of thought process to use when itemizing. e.g. I've heard Vayne has different builds where you choose one or the other depending on skill order.
Effects:  +25 attack damage +15% life steal +40% attack speed Passive  Unique: Your attacks deal 5% of the target's current health in physical damage (60 max vs minions and monsters). Active   Unique: Drains target champion, dealing 15% of the champion's maximum Health in physical damage and healing you by the same amount. Additionally you steal 30% of their movement speed for 4 seconds - 60 second cooldown. (500 range)  Cost: 3200g VS.   Effects:  +70 attack damage +12% life steal Passive: Gain +1 attack damage and +0.2% life steal per kill (maximum +30 attack damage and +6% life steal). Half of the bonuses are lost upon death.  Cost: 3200g What is better for what situations, and when should you build BT instead of BotRK and Vice Versa. Which provides more lifesteal, the only variable being the stats of the weapon? I find myself constantly questioning my decision on which weapon to get and would really love some in depth answers. Would be great if any examples given were given from the ADC side of the house.
How do I change a switched outlet to a half-hot outlet? I am trying to change a switched outlet to a half-hot outlet. If you can see the picture, the outlet currently only has a white, black, and ground wire coming to it.   The switch is on the other side of the wall and it would be eextremely difficult and ugly to run another wire to it. (no crawl or attic space). So my question is, can I change the current outlet/wiring within the outlet to make it a half-hot? My understanding is that removing the brass connector will just make half of it dead. I have this file:  sometext1{ string1 }  sometext2{ string2 string3 }  sometext3{ string4 string5 string6 }   I want to search this file for a specific string and print everything before this string up to the opening { and everything after this string up to the closing }. I tried to achieve this with sed but if I try to print everything in the range /{/,/string2/ for example sed prints this:  sometext1{ string1 }  sometext2{ string2 sometext3{ string4 string5 string6 }   If I search for the string "string2" I need the output to be:   sometext2{ string2 string3 }   Thanks. What do I use on linux to make a python program executable Check if macro is fully expandable Question  Is there a way to check whether a macro is fully expandable (or rather "safe in an expansion-only context" )?    Consider this code:  \def\a{Just a string} \def\b{\a} \def\c{\def\unsafe} \def\d{\c}   How could I check which of the macros (a-d) are safe in an expansion-only context? By looking at them I know that a and b are whereas c and d are not but if I wanted to know the same for a macro I haven't written myself this could get quite useful.      Background  I am working on a way to detect whether some input is a valid number in PGF. For this I developed  which makes use of passing the input into \pgfmathfloatparsenumber. The problem I have run into is that said macro appears to somehow manages to expand the input until there is an error (if the input is in fact not safe in an expansion-only-context). I tried using protected, noexpand and similar but somehow PGF manages to circumvent those.    So the idea is to check whether the input is safe before actually passing it to PGF. The problem is: I don't know how I'd go about that... I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area.  Is something like this possible with jQuery?  $("#menuscontainer").clickOutsideThisElement(function() {     // Hide the menus }); So, I'm working creating a lamp... yes, newbie here.  After modeling for a bit, I noticed that my point of origin was no longer the center of my object:    How to I reset an object origin point to the center of it's geometry? One of my Fellows asked me whether total induction is applicable to real numbers, too ( or at least all real numbers ≥ 0) . We only used that for natural numbers so far.  Of course you have to change some things in the inductive step, when you want to use it on real numbers.  I guess that using induction on real numbers isn't really possible, since $[r,r+\epsilon]$ with $\epsilon > 0$, $r \in \mathbb R$ is never empty.  Can you either give a good reason, why it isn't possible or provide an example where it is used? How to automatically start programs in specific workspaces on start up Use $\delta-\epsilon$ to show that $\lim_{n\to\infty} a^{\frac{1}{n}} = 1$? Hope this is a meaningful question, but I'm curious if is possible to show that   $$\lim_{n\to\infty} a^{\frac{1}{n}}=1, \text{where  }a&gt;0$$  using $\delta-\epsilon$ directly or other methods. One method that I am aware of is to use the following:     If $\{s_n\}$ is a nonzero sequence, then $\liminf\bigl|\frac{s_{n+1}}{s_n}\bigr|\le \liminf |s_n|^{\frac{1}{n}}\le \limsup |s_n|^{\frac{1}{n}}\le\limsup\bigl|\frac{s_{n+1}}{s_n}\bigr|$ What does the number in parentheses shown after Unix command names in manpages mean? For example: man(1), find(3), updatedb(2)?   What do the numbers in parentheses (Brit. "brackets") mean? How can I prove these statements? Why is quadratic integer ring defined in that way? Quadratic integer ring $\mathcal{O}$ is defined by \begin{equation}    \mathcal{O}=\begin{cases}       \mathbb{Z}[\sqrt{D}] &amp; \text{if}\ D=2,3\ \pmod 4\\       \mathbb{Z}\left[\frac{1+\sqrt{D}}{2}\right]\  &amp; \text{if}\ D=1\pmod 4    \end{cases} \end{equation} where $D$ is square-free.   I understand $\mathbb{Z}\left[\frac{1+\sqrt{D}}{2}\right]$ is not closed under multiplication if $D=2,3\pmod 4$. But still, isn't it more natural to define $\mathcal{O}=\mathbb{Z}[\sqrt{D}]$ for all square-free $D$? (in that case, it really seems like 'quadratic integer') I wonder what is the motivation of this definition. How do I change my default account with Google multiple sign-in? After I enable multiple sign-in, and login to multiple accounts, I see that one of them says "(Default)". How do I change which of the accounts is the default one? If I know $\| f_n - f \|_{L^p(\mathbb{R})} \to 0$ as $n \to \infty$, do I know that $\lim_{n \to \infty}f_n(x) = f(x)$ for almost every $x$? Why upload to academic preprint sites like arXiv? The recent question  made me realize that I don't have any understanding of why one would upload to a preprint site.  (I don't work in a field where they seem to be common.)  Why would one be concerned about getting a manuscript on arXiv, if it's already under review with a journal?   Is it because of the long publishing timeline of journals?  (That could explain why computer science &mdash; which publishes much more in conferences &mdash; doesn't seem to do much with them.) Prove $\sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^n = n!$ and $\sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^m = 0$ Prove $$\sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^n = n! \qquad\text{and}\qquad \sum_{k = 0}^{n}(-1)^{n - k} \binom{n}{k} \cdot k^m = 0,$$ where $m \in \{0, 1, 2, \cdots, n - 1\}$.  To be honest, I tried to use some combinatorial ideas but was not able to see interconnections. Also, I had an idea to prove it using induction but failed to do that either. Help will be much appreciated! I just got stuck and don't see any continuation of solution for this problem How can I modify the advanced search form when my hook runs too early? I'm using  to modify the content of the form on the search page &mdash; I want to remove the "phrase" and "not" fields, and restrict the "only of the types" checkboxes to a hand selected list of types.  I have the following code, which is being called and which I think should work:  function MYMODULE_form_search_form_alter(&amp;$form, &amp;$form_state, $form_id) {     unset($form['basic']);     unset($form['advanced']['keywords']['phrase']);     unset($form['advanced']['keywords']['negative']);     unset($form['advanced']['type']);     $form['advanced']['type'] = array(         '#type' =&gt; 'checkboxes',         '#title' =&gt; t('Only of the type(s)'),         '#options' =&gt; array(             'blog' =&gt; 'Blog entry',             'event' =&gt; 'Event',             'news' =&gt; 'News article'         )     );     // print_r($form);     // die; }   Except  gets to the search form after my form alter hook runs, so I don't get a chance to modify any of the form elements that it's adding.  I'm running Drupal 7.22.  How can I modify the advanced search form when my module hook runs before the hook that defines the advanced search form? How to read an already existing NgSpice raw file This has taken me a couple of days to solve. I have a set of NgSpice raw files that I would like to exploit so as to visualize the voltage distributions in different circuits. What is the python command to use or python package to import in order for me to achieve this. Note: I am a bit familiar with the PySpice python package, but from what I have read and understood it works when you use it to create your netlist and run it, by using the already stored variables in its memory. In my case however, raw files are already generated... Hope I was clear enough. I uninstalled my wine, and installed a higher version of wine by compiling source.  However when I run an exe executable (whose path is in $PATH), it doesn't work as it used to:  $  PDFXCview.exe     run-detectors: unable to find an interpreter for /home/tim/program_files/document/pdfxchange_portable/PDFXCview.exe   I am not sure why I was able to run this executable directly before I uninstalled my old wine and installed the new one. How can I make $  PDFXCview.exe work now?  Note:  $ wine /home/tim/program_files/document/pdfxchange_portable/PDFXCview.exe   will work.   $ wine PDFXCview.exe   wine: cannot find L"C:\\windows\\system32\\PDFXCview.exe"   doesn't work. Note that the path of PDFXCview.exe is still in $PATH  Thanks. I'm currently trying to configure our exchange 2010 to be used as a external smtp relay. What I'm trying to do is allow certain websites that we manage to send email using our exchange server smtp relay. I was told that I needed to created a receiver connector under Server Configuration>Hub Transport. After I created the receiver connector I added the following confi in which I added the website IP address in the "Receiver mail from remote servers ect" then unders Authentication I selected Externally Secured,TLS and under permissions I selected exchange servers.   I went to one of our websites and configure it with this configuration and I'm still getting "SMTP connect failed."  Can someone help me? or what is the  proper way to get this to work. Multiple websites are going to be using this exchanger server SMTP relay in a secure way.