I have a dataset as follows:  ni-xi 76 48 38 19 20 14 26 29 39 45 38 36 32 34 26 21 23 12 24 18 14 61 35 21 32 20 89 30 34 35  xi    0  0 16 26  1  8 23 19 24 16 16 19  0  0  0  6  8  3  5  9  5  0 34 17 13  0  1 11 13 22   I want to model this dataset as a beta-binomial distribution: $x_i \sim \mathcal{Binomial}(p, n_i)$ where $p \sim \mathcal{Beta}(α, β)$.  I use VGAM package to do the fitting.   fit=vglm(cbind(ni-xi, xi) ~ 1, betabinomial.ab, trace = TRUE) coef(fit)  VGLM    linear loop  1 :  loglikelihood = -95.9867 VGLM    linear loop  2 :  loglikelihood = -95.6633 VGLM    linear loop  3 :  loglikelihood = -95.6483 VGLM    linear loop  4 :  loglikelihood = -95.6477 VGLM    linear loop  5 :  loglikelihood = -95.6477 VGLM    linear loop  6 :  loglikelihood = -95.6477   However, I get the results as follows:  (Intercept):1 (Intercept):2      0.9006006    -0.3794863   Can anyone tell me why I get the negative parameters? How can i solve this problem.


Solve $x + \lfloor y \rfloor + \{ z \} = 13.2$; $\{ x \} + y + \lfloor z \rfloor = 15.1$; $\lfloor x \rfloor + \{ y \} + z = 14.3$

The equation system is —  $x + \lfloor y \rfloor + \{ z \} = 13.2$  $\{ x \} + y + \lfloor z \rfloor = 15.1$  $\lfloor x \rfloor + \{ y \} + z = 14.3$  Now I've tried substituting $n$ with $\lfloor n \rfloor + \{ n \}$ everywhere possible and then gone on with algebraic manipulations. But everything gets messy from there. I tried solving the problem more than thrice over the past few days, but always ended up with different answers.


Calculate the probability that the needle crosses at least one of the lines when tossed at random on the floor: for $\alpha$ = 45

A floor is ruled with equally spaced parallel lines. A needle is such that if its two ends are placed on adjacent lines the angle between the needle and the lines is α  where 0 ≤ α ≤ $\pi$/2. Calculate the probability that the needle crosses at least one of the lines when tossed at random on the floor:  a) for $\alpha$ = 45   b) for a general $\alpha$ between 0 and $\pi$/2


If $a$ and $b$ are two roots of $x^4 + x^3 - 1 = 0$ prove that $ab$ is a root of $x^6 + x^4 + x^3 - x^2 - 1$.  Students and I are unsure how to go about this problem. Also will this be a problem I can solve and prove in front of a class in 20 minutes?


There's a famous riddle that involves giving people a choice of 3 envelopes, one of which contains a dollar, and after the person selects an envelope one of the other two is removed and the person is given the option to switch. Is anyone familiar with this and what the math behind it is?


In $S_5$, consider $\langle \sigma \rangle = \langle (12)(345) \rangle$. Find the normalizer of $\langle g \rangle$ in $S_5$.  Since $\langle \sigma \rangle$ is cyclic, it is abelian, so its normalizer equales its centralizer, and the center of $S_5$ is a subgroup of the centralizer. I can therefore state that $$Z(S_5) \leq C_{S_5} (\langle \sigma \rangle) = N_{S_5} (\langle \sigma \rangle) \leq S_5$$ and that $$\langle \sigma \rangle \leq N_{S_5} (\langle \sigma \rangle).$$ By Lagrange's theorem, I have that $6$ divides the order of the normalizer and that the normalizer divides $120$, the order of $S_5$. So the order is some positive integer multiple of $6$. The only elements that are obviously in it are the identity (the center of $S_5$), $(12)(345)$ itself, and its inverse. Is there a way to find the normalizer other than brute force?


Converting HTML into special characters for saving on SQL

My problem is. I have an input on HTML code which receives the users text. That could be  just an "example" of an entry (on the input);   So, I need to convert that special caracters ", (, ), ', ' to the special codes   I'm trying to use php function str_replace to swap the caracters with the code, but when I do that the new string keep the caracters instead of the code. Is there any way to convert those caracters to use them on a sql insert/update without errors?  I hope that edit help a little. Sorry about my english.


IISReset is overriding the application pool status

I have manually stopped app pool and started it by C# code. Then I did IISRESET by C# code only, its stopping again my application pool.


Using permutation matrix to get LU-Factorization with $A=UL$

Let $Q$ be the $n$x$n$ permutation matrix  $$Q= \begin{bmatrix} 0&0&...&0&1\\ 0&0&...&1&0\\ .& \\ .&\\ .&\\ 0&0&...&0&0\\ 1&0&...&0&0\\ \end{bmatrix}$$  If $L \in \mathbb{R}$ is lower triangular, what is the structure of $QLQ$? Use this to show that one can factorize $A=UL$ where $U$ is unit upper triangular and $L$ is lower triangular.  I can see that $QLQ = L^T$  And $Q^2=I$  So here's what I am doing  $A=LU$  $QAQ=QLUQ = QLQ^2UQ =QLQQUQ = UL$  But now I am left with $QAQ = UL$ rather than $A=UL$  But does that matter?  It seems like it does as the factorization I get would be for solving $A^Tx=b$ rather than $Ax=b$  So have I missed something, is there a way to get the factorization $A=UL$ or have I actually got it but it's the case that I am misinterpreting my answer?


Prove that $r \in R$ such that $0 \lt r \lt 1$ then $\frac{1}{r (1 - r)} \ge 4$  My method:  Assume that $r \gt 0$, and $1 - r \gt 0$. Hence $r(1 - r) \gt 0$. So, $1 \le 4r (1 - r)$. Hence, $1 \le 4r - 4r^2$. Hence, $4r^2 - 4r + 1 \ge 0$. Thus, $(2r - 1)^2 \ge 0$.  I think I might be missing something but I am not sure.


Evaluate the following definite integral by letting $u= \pi/2 - x$.  The integral is  $$\int_0^{\pi/2} \frac{\sin(x)}{\cos(x)+\sin(x)}dx.$$


$f_n, f \in L^1$ and pointwise convergence implies ...

Let $f_n, f \in L^1(\mathbb{R}), f_n \to f$ pointwise. Then $\int \left|f_n-f\right| \to 0$ iff $\int \left|f_n\right| \to \int \left|f\right|$.    My attempt was to use the Triangle Inequality for one side. Certainly taking convergence in mean as true we have convergence in mean of the absolute values, because of the triangle inequality.   Now, take convergence in mean of the absolute values. How to show convergence in mean of the original functions? I'm not even sure where pointwise convergence comes into play at this point. The only thing I tried was Egoroff's Theorem, and that led to nothing.   I would appreciate a hint, or a link if this is a repeated problem (I have a feeling it's standard, but I couldn't find it in the drop-down menu when I typed out the title).


i have this query in spring:   private String SQL_Clear_Deleted_Options = "DELETE FROM vote_votes WHERE poll_id=? AND option_id NOT IN ?"   my problem is with second ?. the correct form would be (id1,id2,id3,...). how can i pass a string like cl="0,1,2,3,6" to this query?  i'm using jdbcTemplate. so it would be   jdbcTemplate.update(SQL_Clear_Deleted_Options, id,cl)   what should be cl?


Weird output after using \to (or \rightarrow) in TexMaker

I am having a problem with TexMaker. When compiling the following section, it says ! Missing $ inserted.<inserted text>$ ...13 is the smallest value on the path 1 \to [...] (can't see the rest).  Source text:  The maximum amount of flow between 1 and 3 would hence be 13 in our example, for 13 is the smallest value on the path 1 \to 2 \to 6 \to 5 \to 3 in the Gomory-Hu-Tree.    pdf-output:    The problem is the last part, where all the words are thrown together for some reason (and also printed cursive I think). I have not worked with Latex before, so I do not have any idea what might be causing the issue, any help would be


If $A $ is a square matrix of size $n$ with complex entries such that $Tr(A^k)=0 , \forall k \ge 1$ , then is it true that $A$ is nilpotent ?

If $A$ is a  square matrix of size $n$  with complex entries and is nilpotent , then I can show that all the eigenvalues of $A^k$ , for any $k$ , is $0$ , so $Tr(A^k)=0 , \forall k \ge 1$ . Now conversely if $A $ is a square matrix of size $n$ with complex entries such that $Tr(A^k)=0 , \forall k \ge 1$ , then is it true that $A$ is nilpotent ?


I have an array with names of constructors var arr = ['Class1', 'Class2', 'Class3'].   function Class1() {      this.name = 'class1'; }   Is it possible to dynamically create instances of these classes? I mean something like  var class1Object = new arr[0]();   I tried that but it isn't working (Uncaught TypeError: string is not a function).


How to I edit a photo to have a old vintage look? I'm looking to achieve this sorta of vintage film like look. I'm looking for a way to achieve this without purchasing a "auto" effect program by using just the basic controls. It seems like desaturation is a start but there's more to it?  My basic editing program of choice is Aperture (but I assume Lightroom or anything else out there all have the same basic set of controls).


how to find maximal linearly independent subsets

Given a set of vectors, we can compute the number of independent vectors by calculating the rank of the set, but my question is how to find a maximal linearly independent subset. Thanks!


How is the "best loser" determined in football?

We have played a 7-team competition, all seven teams met, we eliminated the team with the lowest points. After that the remaining six teams played knock out games and the three winning teams will go direct to semi-finals.  We decided that 4 teams should be picked to go for semi-final and that the best loser will join the other three to make it four teams to battle at the semi-final and final.  During the quarter final games, one team is beaten 2-0, another is beaten 3-0 and the third team is beaten in a penalty shoot-out by 4-0.  Now should you want a best loser to join the other three teams making four teams to play in the semi-final, who among these three teams would be in the best losers position.


had a problem with a database on a machine that needed to be formatted, and I backed up the MySQL Server folder yesterday containing the .IDB and .FRM data regarding the DB structure and data.  When replacing files of the same structure on another machine and attempting to perform a query, the database is corrupted. After a bit of research I read that after version 5.5 MySQL creates a reference so it does not exchange this data.  How could I recover this data? Is there any other tool for me to read the file?


Standardizing variables with negative values?

This question here  says you can only standardize or center variables after transforming them into log. Because my variables are in different units, my coefficients vary widely from > 10,000 to less than 0. I need to use the scale function on R, but because some of my data is negative, it's impossible to take log of some of the variables. Can I standardize the values without log transformation first or is there any other way to standardize the units?


In Metal Gear Solid 5: The Phantom Pain, Mission 23 Kaz wants me to Fulton child soldiers to save me a lot of time. How do I do that?


Can a player choose to fail a spell's ability check contest?

It has been established that a character cannot willingly . But can they willingly fail an ability check contest?  While most spells say that the target must succeed to fail a Saving Throw,  states:     You can try to move a Huge or smaller creature. Make an ability check with your spellcasting ability contested by the creature's Strength check   I wanted to cast this on the party rogue so they could get up to the second story window to sneak in; a rich man's Levitate spell. Alternately, cast it on a fighter and help him chase around the flying monsters.  The obvious work around is to have them stand on an object that cannot contest the spell and lift them up, but then there is a chance of balance failing.  In the PHB, it talks about :     Sometimes one character's or monster's efforts are directly opposed to another's. This can occur when both of them are trying to do the same thing and only one can succeed, such as attempting to snatch up a magic ring that has fallen on the floor. This situation also applies when one of them is trying to prevent the other one from accomplishing a goal — for example, when a monster tries to force open a door that an adventurer is holding closed. In situations like these, the outcome is determined by a special form of ability check, called a contest.   This assumes that the two efforts are at odds. However in this case a contest would not be required as the characters are working together. But the spell description bypasses that and flat out says there is a contest; no mention of willing or unwilling.  So can my warlock give a boost easily, or is there a chance of failure?


Can a character intentionally fail their save against shadow conjuration?

Can a character intentionally fail their save to disbelieve against a Shadow Conjuration spell that is mimicking a summoning spell to gain the full benefit of any healing that a summoned creature might grant, even if they are fully aware that the creature summoned is an illusion?


Why do we use cross products in physics?

We can define cross products mathematically like if we take two vectors, we can find another vector with certain properties but why do we use it in physics, if we consider a hypothetical physical quantity like force which is equal to cross product of certain vectors?     For example, the force exerted on a charge in motion in an uniform magnetic field.   Why is it so? Why does that force have to be a cross product of two vectors?  Is it possible to come up with them when what we do is just observe the nature?


I have an XPS-15 7590 running 18.04 and I have both the Intel & NVIDIA graphics card.  The specs are basically: i9 processor, NVIDIA GTX 1650 GPU, and 4K OLED. I've been trying to work on the NVIDIA & Intel drivers (installed Nvidia proprietary and iwlwifi Intel driver) through the Software & Updates manager and tried to install simulators like CARLA, Lgsvl and so on.  I tried to switch to the NVIDIA graphics card with this command (because Nvidia X server settings didn't work):  sudo prime-select nvidia  After a reboot, I am welcomed with a screen overlaid by repeating artifacts:    I tried running the same command sudo prime-select intel but the situation persists.  Now when I look at Nvidia X Server settings manager (it decided to work again for some reason), Intel is selected so I'm definitely not on the Nvidia GPU.   This isn't the only screen issue I'm having. Apps like Android Messages shows vertical screen ripping as you can see below.    Although I don't mind doing a fresh install, I don't think that is necessary as I believe there are existing solutions to this problem.  Not only that but a fresh install is pretty much pointless since this problem will start once again when I install my necessary software.  FOLLOW-UP:    A clean reinstall of 18.04 solved the problem.


Are SE staff open to dialogue and find a different solution about gender pronouns?

The new CoC is now in effect. And it includes the new gender pronouns aspect.   But   (like me) are more than sure that the feeling of one group cannot prevail over others. One mod has been fired and many have resigned in protest   .  We understand that it is clearly unfair when the feeling of those who want other people to change the way they express themselves (by changing gender pronouns when "required") is prioritized over the people that feels coerced to do so.  This does not sound like a cordial request, but as an imposition.  We do not feel well because it is authoritative and hurts our personal values. (with this new rule, our feeling is not being taken into account)  It seems inevitable that problems will arise. Especially because it is very likely that most users have not even read the code of conduct and therefore are completely unaware of this new rule.  So, how does SE intend to solve this?  For users who still disagree, even after a warning, what will be your solution?    This question is not answered by  because the mentioned question and its answers start from the assumption that this is an issue already resolved.  This question was asking indirectly (now directly), if SE staff is open to dialogue and find a different and more impartial solution.  From the downvotes  (-267 at the time I'm writing), it's clear that this is an unsolved issue, and it would be interesting if we could find another solution.


Implement MicroController Power Switch and re-use the button for other features

This is similar to other questions, but I feel it is different because of the reuse of the "power" button.   I want a "latching" Momentary Power button.  Behavior:   User Pushes momentary button, holds down as long as necessary and the device powers up. Between Power On and Off the same button will be re-used for other functions  When it is held down for 5 +/- seconds the MicroController will turn itself off.    Design Constraints:   Battery provides between 3.7V to 2.9V during it's usable life The Voltage regulator requires Vin +/- 0.3V on the Enable Pin, 3.1V output. MicroController operates at 3.1V MicroController Output Pin High state is 2.7V Max   Debouncing: In this case I'm not concerned about debouncing the switch, if the user doesn't hold it down long enough for the MicroController to set it's Digital Output pin  High the device doesn't power on.  I've worked up the following schematic, which kind of works.    It assumes 3.7V from the battery. Uses an Analog Input for the Power button, which then uses the variation in voltage to determine if the button has been pressed. In the current design the difference is 0.12 V (from 3.4 to 3.52), but the MicroController has a 12 bit ADC so that shouldn't be a problem, in addition I can adjust the sensitivity range of the ADC.   Questions:  What is the difference between reality and the simulator?  Is there a better way?  How can I get a greater voltage difference on the button input? I've tried many different combinations but they increase the voltage range above the 3.6V Input High Maximum specified in the datasheet.  I'm not excited about the "Leakage current" when the uC Controlled Power Pin is Low, any suggestions?   Thank you for any ideas/suggestions/answers.


Best way to simulate "group by" from bash?

Suppose you have a file that contains IP addresses, one address in each line:  10.0.10.1 10.0.10.1 10.0.10.3 10.0.10.2 10.0.10.1   You need a shell script that counts for each IP address how many times it appears in the file. For the previous input you need the following output:  10.0.10.1 3 10.0.10.2 1 10.0.10.3 1   One way to do this is:  cat ip_addresses |uniq |while read ip do     echo -n $ip" "     grep -c $ip ip_addresses done   However it is really far from being efficient.  How would you solve this problem more efficiently using bash?  (One thing to add: I know it can be solved from perl or awk, I'm interested in a better solution in bash, not in those languages.)  ADDITIONAL INFO:  Suppose that the source file is 5GB and the machine running the algorithm has 4GB. So sort is not an efficient solution, neither is reading the file more than once.  I liked the hashtable-like solution - anybody can provide improvements to that solution?  ADDITIONAL INFO #2:  Some people asked why would I bother doing it in bash when it is way easier in e.g. perl. The reason is that on the machine I had to do this perl wasn't available for me. It was a custom built linux machine without most of the tools I'm used to. And I think it was an interesting problem.  So please, don't blame the question, just ignore it if you don't like it. :-)


Which countries would allow me to remote work while I am travelling there

I am planning to go travelling extensively for the next few months. I am employed in a company that allows me to work remotely, I can do my job from any place that has an internet connection.   The countries I'm thinking of travelling to are those for which I would not require a visa, so I don't think "tourist visa" or "business visa" issues apply to me.   I have heard that there are countries which do not allow remote workers to work while they are in that country, but I'm having trouble finding out specifically which countries those are.   Can anyone give me more information regarding this or point to a place where I could get more information? If it helps, the countries I'm thinking of going to are Israel, Brazil, and Colombia.


Let $G$ be a group of order $8$ and $y$ be an element of $G$ of order $4$. Prove that $y^2 \in Z(G)$

The question  Let $G$ be a group of order $8$ and $x$ be an element of $G$ of order $4$. Prove that $x^2 \in Z(G)$ already posted  . But the answer is not given there. SO I have tried to solve the problem.  Let us consider the subgroup $H=\langle x\rangle=\{e,x,x^2,x^3\}$. Then $[G:H]=2$. The cosets of $H$ in $G$ are $H$ and $g-H$. The quotient group is of order $2$. Therefore $(G-H)^2=H, H$ being the identity element in the quotient group. Let $x\in H$. Then $x^2\in H$. If $x\in G-H$. Then $(xH)^2=(G-H)^2=H\implies x^2H=H\implies x^2\in H$. Therefore for every $x\in G, x^2\in H$.  If I can show that $H=Z(G)$, then everything is done. Is it possible to show this ?


I have defined an environment called answer that displays the answer of a question of a test I'm supposed to prepare.  The idea is to compile a version where the answers are displays and one were they are not (in order to test the students).  Is there an elegant way to disable environments?  One can of course define a command \ifanswer and then write \ifanswer{\begin{answer}foo\end{answer}}. For each environment. The problem with this approach however is that one needs to remember and insert this command each time, and of course forgetting this one time would be embarrassing.    MWE:  \documentclass{article} \newenvironment{answer}{\textit{Answer} }{\textit{the end.}} \begin{document} Question: Bla \begin{answer} Foo \end{answer} \end{document}


Does Vandermonde matrix always have its inverse?

Vandermonde matrix is widely used in many fields, e.g. Fast Fourier Transform.  Does this matrix always have inverse matrix?


If a suggested edit by me to a post is approved, I get a message saying it got approved and what post it was:    If a suggested edit by me to a tag wiki is approved, I get this unspecific message (and a lot of the time I get five or four at a time):    It'd be useful to easily see which one was approved, so I can more quickly tell what sort of edits are good.  For consistency's sake with post edits and for usability, I think that it should look more like this, specifying what was edited:


I created a bibliography library .bib-file with JabRef. Some sources are cited in the text and the bibliography entry in the end is automatically added - very nice. But how can I add sources that are not cited in the text in the same bibliography style as the cited ones? With \bibitem{keyword} they are numbered and do not appear in the same style.  Moreover, for some sources not all required information is given. How can I make the bibliography entry look the same as the complete ones, but just with some information missing?


Non-EU national with Irish residence permit. Can I visit UK?

I am an Indian national with Irish residence permit.      Can I visit the UK without visa?   I plan to visit the London for 1 week.  I know that Irish citizens can visit UK without any restrictions, but what about Non-EU nationals holding valid residence permit issued by irish authorities?  I just learned that Ireland neither part of UK, nor in Schengen zone.


Torque on rotating rigid body and pivot point

Consider a rigid body performing a rotational motion around a vertical fixed axis $z$ with constant angular velocity $\vec{\Omega}$.  The angular momentum vector $\vec{L}$ is not parallel to $z$ (and so to $\vec{\Omega}$) and follows a uniform precession motion.   Supposing to take as pivot point for the calculation of momenta any point $P$ on the $z$ axis. Then the axial component of $\vec{L}$ (called $L_z$) does not depend on the choose of the pivot point $P$ on the axis, while the component of $\vec{L}$ perpendicular to $z$ (called $L_n$) does depend on the choice of $P$.  Since $\vec{L}$ is not constant there must be an external torque $\vec{\tau}$ acting on the system. In particolar, since $\vec{L}$ follows a uniform precession motion  $\vec{\tau}=\frac{d\vec{L}}{dt}=\vec{\Omega} \wedge \vec{L} \implies \tau=L_n \Omega$  Does this mean that $\vec{\tau}$ depends on the choice of the pivot point $P$? And is the $\vec{\tau}$ calculated with this formula the torque with respect to the same point $P$ used for calculation of $\vec{L}$?  Example Take the following dumbell rotating around a vertical axis $z$ not passing through its center with constant angular velocity $\omega$.    If the pivot point (here I called it $O$ instead of $P$) is on the dumbell (situation (A)) then the resulting angular momentum is axial, and that means no external torque on the system. If the pivot point $O$ is somewhere else on the $z$ axis (situation (B)) then the angular momentum is not axial anymore and the external torque must be different from zero.  Does this mean that if I calculate the torque on the dumbell about the point $O$ (on the $z$ axis) I necessarily find:   zero if $O$ is at the intersection between the dumbell and the $z$ axis  not zero if $O$ is somewhere on the $z$ axis?


Word for the ability to deliver clever replies?

What do we call the person who comes back with clever replies when someone insults them?  Also what is this ability (personality trait) to cleverly thrash rivals on-the-spot called?     Example:      Person A: "I can't bear fools."      Person B: "Apparently, your mother could..."   What should I call Person B in this?  What is the personality trait he possesses that made him comeback so cleverly against the insult?


Which ubuntu version suits best my configuration?

My sister has a netbook with this configration :  LG X110-G.A7HBG weiss XP Home Atom N270 1.60GHz, 1GB RAM, 160GB HDD,   Which Ubuntu version should I install on it? I already tried the current version 13.10 but it crashes often and i don't want to repair it again and again.  Could you recommend the version which suits the above specs best?


Can Phantasmal Force block the effects of a gaze attack?

Say, the party encounters a Medusa.   Can the Warlock cast phantasmal force on the Cleric to create, say, a "stone wall" between the Cleric and the Medusa, such that the Cleric will be not be affected by the gaze attack since she can't see the Medusa?  Or is the gaze attack more like a physical thing, such that by looking at the wall (the Medusa), the Cleric is still turned to stone? (The latter would be a mean trap!)


When I connect to Linux 18  I get this  name@server-Belkin ~> How can I remove "name"? and change it to other name


I hid a couple of Stack Exchange networks from my network profile, yet the activities I have done in those hidden networks (answering questions, gaining badges, meta) are still showing up. I would like to hide activities from networks I have hidden, please.  Or if it was a feature, is there a reason why it was suspended/removed?


Question: Let $v \in \mathbb{R}^3$ be a unit vector. If $\{v_1, v_2, v_3\}$ is an orthonormal basis of $\mathbb{R}^3$ and $v = a_1v_1 + a_2v_2 + a_3v_3$, can we have $|a_1| > 3$?  What I think:  Since the norm of $v$ is one, then   $\sqrt{v\cdot v} = 1$  $(a_1v_1)^2 + (a_2v_2)^2 + (a_3v_3)^2 = 1^2$  Since $3^2 = 9 $ and $v_1 \cdot v_1 = 1^2$ (since each vector's norm in an orthonormal basis is 1), then $(a_1v_1) \geq 9$. Since $(a_2v_2)^2 + (a_3v_3)^2 > 0,$ then $(a_1v_1)^2 + (a_2v_2)^2 + (a_3v_3)^2 > 1$. Hence, $|a_1| < 3.$  I'm pretty sure my assumption of $(a_1v_1) \geq 9$ is wrong but I don't know how else to solve this problem.


How can I remove or hide the left navigation bar?

Can I remove the navigation bar as this is distracting and clutters the site especially on Stack Overflow.


How do I blend multiple photos to remove random people from the background?

I'm very excited about the new  for Android/iPhone. Let's say you're taking a picture of your friend in front of a landmark with several people walking by. The app allows you to remove the people from the photo, leaving only the background and your friend. The app isn't just doing a clone of the surrounding image to paint over unwanted subjects. It's actually taking multiple images, detecting which objects are moving, and letting you select them for removal. This sounds awesome! But I don't want to be limited to taking pictures with a smart phone.  I would like to take multiple photos of the same scene. (Maybe with a tripod, but it would be better if I didn't have to use a tripod.) Then I would somehow blend them together to remove unwanted elements. How do I do that? I know there are tons of photoshop tutorials out there, but all the ones I find just tell you how to use the clone tool.


Function is Riemann integrable in $[a,c]$ and $[c,b]$ then is RI in $[a,b]$

i need to prove that  if Riemann integrable in $[a,c]$ and $[c,b]$ then is RI in $[a,b]$, maybe is easy but i can't see it.     Definition of Riemann Integral   A function $f:[a,b]\rightarrow \mathbb{R}$ is Riemann Integrable on $[a,b]$ if   $\exists \thinspace L \in \mathbb{R} : \forall \epsilon >0\thinspace \exists \thinspace \delta >0 :$  if $P$ is any tagged partition of $[a,b]$ with $\|P\|<\delta$ then    $\|S(f,P)-L\|<\epsilon$ , where $S(f,P)=\sum_{i=1}^{n}f(t_{i})(x_{i}-x_{i-1})$ is Riemann sum, $t_{i}\in[x_{i-1},x_{i}]$  and $\|P\|:=\max\{|x_i-i_{i-1}|1\leq i\leq n\}$   Here is my trial: Give $\epsilon>0$: $f\in R([a,c])$ $\rightarrow \exists \delta'>0$ $\forall$ $P'=\{a=x_{0},...,x_{m}=c\}$ with $\|P'\|<\delta' \rightarrow$ $\big|\sum_{i=1}^{m}f(t'_{i})(x_{i}-x_{i-1})-L\big|<\epsilon/2$    $f\in R([c,b])$ $\rightarrow \exists \delta''>0$ $\forall$ $P''=\{c=x_{m},...,x_{n}=b\}$ with $\|P''\|<\delta ''\rightarrow$ $\big|\sum_{i=m+1}^{n}f(t''_{i})(x_{i}-x_{i-1})-K\big|<\epsilon/2$     Taking $\delta=min\{\delta',\delta''\}$ then for $\|P\|<\delta$, where $P$ is a partition $P=\{x_{1},...,x_{m},x_{m+1},...,x_{n}\}$ ; we have:$\big|\sum_{i=1}^{m}f(t'_{i})(x_{i}-x_{i-1})-L\big|<\epsilon/2$ $\thinspace$ and $\thinspace$ $\big|\sum_{i=m+1}^{n}f(t''_{i})(x_{i}-x_{i-1})-K\big|<\epsilon/2$  I'm thinking about using triangular inequality, but my question is what happens with the $t'_{i}$ and $t''_{i}$  how are these terms grouped or is it just a sum, please help. Thanks in advance


A house "made of " or "made from" mud bricks?

I know the difference between "made of" and "made from", but could you help me choose which one I should use in the following sentence?      This house is made of (or) from mud bricks


What if every nontrivial closed subset is compact?

I am struggling with this problem. I couldn't obtain anything from an arbitrary open covering of the space. I couldn't think of any counterexample. I tried googling it, but there were no results.  The problem is:  Is a topological space $X$ compact if every nontrivial closed subset of $X$ is compact?


Can mass be totally converted into energy?

Suppose you have 1 kg of lead, can the whole thing be converted into energy so that no mass remains? Or does the conversion stop at the protons/neutrons?


Where are packages stored installed with APT in Ubuntu 16.04?

I know that packages installed with apt-get are stored in /var/cache/apt/archives.  I just installed mariadb server in Ubuntu 16.04 with following command:  sudo apt install mariadb-server   When I tried to find packages in /var/cache/apt/archives, there are no packages. Where are they stored if it's not in this directory?


What is the probability of shuffling a deck and not getting a repeating card for the whole deck?

What are the odds of shuffling a deck of 52 cards and going through each card one by one without getting any repeats (like 2 kings back to back).  I'm bad at this kind of deduction, but at a high level it seems roughly like 1 in 13 odds over 52 iterations.   Can anyone provide a more accurate approach to solving this?


Short story about a girl who lost/replaced her personality

I'm trying to remember the title/author of a short story I read about 5-10 years ago; I think it was new at the time.   It's about a teenage girl who lost her personality because of overdosing on some drug, written from the perspective of her new personality after the event. She can access her old memories but feels like they belong to someone else. Her parents want to restore her old personality and send her to a doctor/psychologist who turns out to be a quack (perhaps there were a series of other doctors before that but her parents keep switching until they find one who says s/he can help?).   There's a metaphor about a messenger not being able to find the queen so he gives the message to a servant instead (referring to how the new personality took over from the old one). I remember reading it twice, so it was probably reprinted in a 'best of [year]' anthology or perhaps nominated for some award and posted online.


I will put my way here, the way that I'm not sure about, and wait for good suggestions :)  Let $a+bi$ be a nonzero element of $\mathbb{Z}[i]$. For $a+bi$ to be a unit, there should be another nonzero element $c+di$ in $\mathbb{Z}[i]$ where $(a+bi)(c+di)= 1$.  so this system is then obtained:  $ac-bd=1$  $ad+bc=0$  Since we have that $a+bi\neq 0$, so $a\neq 0$ or $b\neq0$.   We have 3 cases here:  First one: if $a=0$,  then $bd=1$ and so $b=\pm1$ and $d=\pm 1$.  Second one: if $b=0$,  then $ac=1$ and so $a= \pm1$ and $c= \pm1$.  Third one: if $a\neq 0$ and $b\neq0$:  We have from the second equation of the system above that $d=\frac{-bc}{a}$, but $d$ is an integer, so we have 2 cases here, first is that $a=b$ then $d=-c$, and this will give, from the first equation of the system above that $a=\frac{1}{2c}$ which is not an integer, so this case is excluded. Second one is that $a=c$, then $d=-b$ and so, from the first equation of the system $c^2 + b^2 =1$ which gives either $c=0$ and $b=\pm1$ or $b=0$ and $c=\pm1$. Then finding $a$ and $d$ from the system above, we conclude that   $U(\mathbb{Z}[i])=$ {$\pm1, \pm i$}.   In the third case I put, I feel like it's not correct to decide that if $d=\frac{-bc}{a}$ and $d$ is an integer, then either $b=a$ or $c=a$ without knowing that this fraction can't be simplified more. Any suggestions for improvements are welcomed.


After years of not wanting Word and Excel to automatically turn things into hyperlinks, the one time I want them to they refuse.  I have a list of strings in Excel which I am concatenating with a string to create a URL, I would like the resulting URL to be a clickable hyperlink but Excel won't play ball. Is this possible?


my camera (Nikon D3200) taken black pictures even if the room is light enough. I have it on manual mode, if i turn on flash it takes perfectly fine pictures. also if i put it on auto mode it takes black pictures, only normal ones with flash. I tried to change aperture, shutter speed and ISO but nothing works. Help!! I tried changing the settings but nothing helps


I want to make a "hole" on few line on illustrator

I'm having trouble while making a project, I want to create this :    But for now, it's just lines with a circle to fake the transparency, I try using pathfinder but I didn't find how to do it.  I find a solution by making it a pattern but I prefer having an object I can edit if I need.  Thank you in advance to the nice people who will answer and sorry for my broken english.


What are the benefits of a "deep" over a "shallow" architectures?

What are the benefits of a deep neural network architecture over a shallow architecture with many computational elements.  What are pros and cons of these two architectures and its limitations?


How to get icons in pcmanfm Ubuntu 12.10 with only fluxbox

I installed Ubuntu 12.10 via mini-iso, after that I installed xinit, xorg, fluxbox, xterm, pcmanfm , chromium-browser and lxappearance. There is for now one set of icons, in lxappearance I chose the icon set and applied but they don't show up in pcmanfm, there I see only text.   How do I get pcmanfm to show folder icons?


I’m doing some long-running, CPU-intensive work. This means that I am tethered to a power outlet at all times.  What I’d like to do is ask macOS to suspend a particular program when I’m on battery power and resume it when I plug in.  Googling has failed me. Is there any way? I’m a programmer so I don’t mind going low level if necessary.


I'm using Skydrive to host files for my blog, such as zip files of source code. I'm trying to provide direct links that users on my blog can click to immediately download the file in question, without being confronted with a Skydrive page filled with all the files related to all posts on my blog.  Is there a way to do this? I've tried getting a link to the file, shortening it et cetera, but visiting this link always shows the Skydrive page. Here is .  At this point I can only assume Skydrive is doing this on purpose and am also wondering whether there's another provider I can switch to that will yield a better user experience.


Is there an easy way to chase down table/stored procedure/function dependencies in SQL Server 2005+?  I've inherited a giant application with lots of tables and even more stored procedures and functions that are long and interlinked.    At the end of the day is there a way to build a dependency tree?  Ideally what I'm looking for goes in both directions:  For a table/procedure - what depends ON it?:  Show me all the stored procedures that eventually reference it (ideally in a tree view such that sub procedures nest out to the bigger procedures that call them)  For a procedure - what does IT depend on?:  Show me all the procedures and tables that a given procedure will (or could) touch when running.  It seems this tool shouldn't be that hard to make and would be incredibly useful for DB maintenance generally.  Is anyone aware of such a thing?  If this doesn't exist, why the heck not?  The built-in functionality in Management Studio is nice but the information does not appear to be complete at all.


How can I test to see if a player is NOT in a boat?

MADEUP, but with a real account. I'm making a Mini game for my friends realm called IceBoat,which is pretty self explanatory, but there is an essential command that I can't find anywhere! I tried modifying a command to do what I want, and here is my modified command:   testfor @e {type!=RootVehicle:{Entity:{id:Boat}}}    and it gives me this error:      The entered UUID provided is in an invalid format.   With slight variations of this command, (I mean changing location of type and brackets) I get the same error. So, how can I create a testfor to see if anyone is NOT in a boat?


Partial derivative of $xy\frac{x^2-y^2}{x^2+y^2}$

I am asked to show, that  $f(x,y)=\begin{cases} xy\frac{x^2-y^2}{x^2+y^2}\space\text{for}\, (x,y)\neq (0,0)\\ 0\space\text{for}\, (x,y)=(0,0)\end{cases}$ is everywhere two times partial differentiable, but it is still $D_1D_2f(0,0)\neq D_2D_1 f(0,0)$  But this does not make much sense in my opinion. Since $f(0,0)=0$ hence it should be equal? I calculated $\frac{\partial^2 f(x,y)}{\partial x\partial y}$ and $\frac{\partial^2 f(x,y)}{\partial y\partial x}$ and I got in both cases the same result (for $(x,y)\neq (0,0)$) which is: $\frac{x^6+9x^4y^2-9x^2y^4-y^6}{(x^2+y^2)^3}$ Wolframalpha says, that this is correct. So is there a mistake in the task? Or do I not understand it? Also, when I want to show, that $f$ is everywhere two times partial differentiable. Is it enough to calculate $\frac{\partial^2 f}{\partial^2 x}$ and $\frac{\partial^2 f}{\partial^2 y}$ and not needed to go by the definition, since we know, that this function is differentiable as a function in $\mathbb{R}$? What do you think? Thanks in advance.


Post-apocalyptic book where people can enhance or alter their appearance with animal qualities

I read this book probably 10 or 15 years ago. I remember it starting out with a  young woman (I think) talking to a computer and altering her appearance in a mirror. I believe she was making subtle changes that were up-to-date with what was popular for the time and I believe the book explained that other people had chosen to make less subtle changes and go full-on were-animal.   The book follows her and her father who becomes a leader of a new civilization, when the main computer is hit by terrorists or something. They fall into the dark ages and have to resort to surviving like they did in the middle ages. It was very descriptive at one point as the woman was trying to figure out how they used to handle menstrual cycles without technology. I remember there was bad guy, and I believe he was were-tiger or panther man, but he wanted the girl. He started raiding the small settlements that had arose in the aftermath, and became like a warlord wreaking havok, pillaging, and raping. The girls boyfriend fought the last battle with him and lost his arm.   I'm pretty sure the book was written in the 1950s. I remember thinking that it was strangely accurate and advanced for when it was written. I have been trying to remember this book for the last 10 years because it was open-ended and I believe it was part of a series. I remember this book being one of the best I've ever read. It could make you clench your teeth, laugh and cry all at once. Can anyone help me find it?


Can I use a US Business visa obtained while working from one company to travel for another?

I have got a US Business visa (B1/B2) from my past company, but I didn't travel. Now I have an opportunity to go to the US for my present company. Shall I use the same visa?  Note: The visa is multiple entry and no company name is on the visa.


I used python add in to make a tool bar in Arcmap that edits features on a map. It works on a file geodatabase, but not on an ArcSDE version one. I've been getting an FDO error: 0. The solutions that I've found all involve opening a workspace, but I'm getting an error doing that as well. Here is the relevant portion of my code:          outFolderPath = r"U:\tempStuff"         outName = "Stuff.sde"         databasePlatform = "SQL_Server"         instance = "SQL Server"         arcpy.CreateDatabaseConnection_management(outFolderPath, outName,                                                   databasePlatform,                                                   instance)         print "Centroid of buidling:(%r,%r) Side length: %r" % (xCoordinate,                                                                 yCoordinate,                                                                 bob)         print "workspace is %r" % outName #outName is workspace          #Start edit session with an undo/redo stack then start         #edit operation         print "Starting editing"         edit = arcpy.da.Editor(outName) #outName is workspace Line 86         edit.startEditing(True, True)         edit.startOperation()          #stuff happens          cursor = arcpy.da.InsertCursor( fc, ["SHAPE@"])         cursor.insertRow([stuff])             #stop the edit operation and then save changes         edit.stopOperation()         edit.stopEditing(True)          del cursor         print "Building should be drawn"   This is the exact error I've been getting:  Traceback (most recent call last):   File "C:\Users\153289\AppData\Local\ESRI\Desktop10.3\AssemblyCache\{0BEF4E61-6332-4BCA-A908-959CA3C0B4E7}\leetScripts_addin.py", line 86, in onClick     edit = arcpy.da.Editor(outName)#outName is workspace RuntimeError: cannot open workspace   What's am I doing wrong in my code?


Why do we need to have a reference temperature to define thermal coefficient of resistance (TCR)?   TCR is the change in resistance per change in temperature divided by the resistance at a specified, fixed reference temperature:


In my application, in which I have two JLists, I'm trying to show the contents of the second one depending on what is selected in the first one. Let's say I have group 1, group 2 and group 3 at List1, and when I select Group 1, I want List2 to display what I have at Group 1, and so on. I have actually coded it, and it works, but it gives this warning:  [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList             exampleGroup2.setModel(group2Container.get(exampleGroup1.getSelectedIndex()));   where E is a type-variable:     E extends Object declared in class JList 1 warning   I've read similar questions, like , about generics and so, and they resolved similar problems which gave a similar warning, in which I had to specify the <String> type, but it doesn't help here.  The line itself, where the warning pops out, is this one:  exampleList2.setModel(list2Container.get(exampleList1.getSelectedIndex()));   Where everything is declarated as:  DefaultListModel<String> list1Container = new DefaultListModel<>(); ArrayList<DefaultListModel<String>> list2Container = new ArrayList<>(); list2Container.add(new DefaultListModel<>());  JList exampleList1 = new JList<>((ListModel<String>) list1Container); JList exampleList2= new JList<>((ListModel<String>) list2Container.get(0));   Sorry if it's a bit messy, I've tried to make it as short and clear as possible. As I said, I've looked on generics, and so, but I cannot find where should I put the <String>, or even what do I have to put, in this case.  Thank you very much, for your help.


Brachistochrone Problem for Inhomogeneous Potential

about holes dug through the Earth led me to wonder: if I wanted to dig out a tube from the north pole to the equator and build a water slide in it, which shape would be the fastest?    We're assuming a frictionless tube, of course.  Let's ignore centrifugal forces.  Coriolis forces do no work, and so shouldn't matter.  Also, let's assume the Earth is a sphere with uniform density.  I tried to solve this problem by writing down an integral in polar coordinates for the time, then applying the Euler-Lagrange equations.  However, I didn't make any progress on the resulting differential equation.  Is there an analytical expression for the curve?


Name of shape with constant distance to a line segment

For a computer graphics problem I have a shape that is defined by a constant distance to a line segment:    I tried to find a name for this shape, but my Google skills have failed me. Does it have a dedicated name?


What is the number  of  abelian groups of  order 108 upto isomorphism ?  To answer  this I wrote explicitly the possible abelian groups of order 108 as follows :   $$\Bbb Z_{108}$$  $$\Bbb Z_{4}\times\Bbb Z_{3}\times\Bbb Z_{9}$$  $$\Bbb Z_{2}\times\Bbb Z_{2}\times\Bbb Z_{27}$$  $$\Bbb Z_{4}\times\Bbb Z_{3}\times\Bbb Z_{3}\times\Bbb Z_{3}$$   $$\Bbb Z_{2}\times\Bbb Z_{2}\times\Bbb Z_{3}\times\Bbb Z_{9}$$  $$\Bbb Z_{2}\times\Bbb Z_{2}\times\Bbb Z_{3}\times\Bbb Z_{3}\times\Bbb Z_{3}$$  And I  found  the  answer  to be 6. But  my problem  is  that  what  if  I  was  given  a much bigger  number? Is this  the  only  way  to  find  abelian  groups  of  a  certain  order? If there  are  better  ways  to find  the  exact  answer  to  such  question please  let  me  know.


PBKDF2 uses HMAC-SHA1 to generate keys, but what is the key for the HMAC?

I was reading up on PBKDF2 and noted the following:   DK = PBKDF2(PRF, Password, Salt, c, dkLen)   PRF is a keyed HMAC, but I can't seem to find out what they use as key for the HMAC?


I can't compile my beamer file when I insert any equation in it!

I'm having some troubles with my beamer presentation. When I insert any equation that involves letters (either greek or latin), My compilation fails. It doesn't matter whether I'm doing this in equation environment or between $$. I just don't what's happening, 'cause it should work normally. Here follows my simplified code:  \documentclass{beamer} %   \usepackage[latin1]{inputenc} \usepackage[brazil]{babel} \usepackage{amsmath,array,amssymb} \usepackage{graphicx,color} \usepackage{bm}   \usetheme{Warsaw}  \setbeamertemplate{blocks}[rounded][shadow=true]  \definecolor{orange}{rgb}{1.0,0.647,0.0} \definecolor{darkorange}{rgb}{1.0,0.546,0.0} \definecolor{sienna}{rgb}{0.627,0.321,0.176} \definecolor{navy}{rgb}{0.0,0.0,0.50} \definecolor{darkred}{rgb}{0.9,0,0}    \title[Blabla]{\mbox{}\\ \vspace{0.1cm} Blabla \vspace{0.5cm} } \date{\color{navy} Blabla}  \author[bla, \\ bla]{{ \footnotesize \underline{blabla}, blabla} } \institute{blabla} \subject{????}  \begin{document}  \begin{frame} \frametitle{A abordagem perturbativa} \framesubtitle{}  Partindo da métrica na forma  \begin{equation} ds^{2} = -h(r) dt^{2} + h(r)^{-1} dr^{2}+r^{2}(d\theta^{2}+\sin^{2}\theta d\phi^{2}) \end{equation} \end{frame} \end{document}   The error message displayed at the end of the process was:     Running miktex-makemf.exe... miktex-makemf: The mathkerncmssi source   file could not be found.      Running ttf2pk.exe... miktex-makepk: PK font mathkerncmssi10 could not   be created.      LaTeX Font Warning: Size substitutions with differences (Font)   up to 1.0pt have occurred.      ) (see the transcript file for additional information) !pdfTeX error:   pdflatex.exe (file mathkerncmssi10): Font mathkerncmssi10 at 657  not   found  ==> Fatal error occurred, no output PDF file produced!   Thanks for supporting!


How to implement an ADPLL in Verilog that locks onto an arbitrary sine wave?

I'm unable to figure out how to implement an ADPLL on an FPGA that can take in an arbitrary periodic input and lock onto its frequency (some finite range is okay) and phase. A square wave output will do.   As a first step I thought of assuming that the input is a sine wave. I know how to digitise the same using the onboard ADC.  How do I proceed from here?   Any links to existing code repositories that implement all or parts of this are welcome.


This question differs from e.g.    since if it is known that the cause of the described problem is "the difference between g++ and gcc", there's no need to look for an answer anymore. In other words, though the answer is the same, the question is different.  I have the following program test.cpp:  struct CircuitElement {     bool value;     const char *name;     CircuitElement *next;      CircuitElement (const char *name);         virtual void evaluate () = 0;        };  struct Button: CircuitElement {     Button (const char *name);     virtual void evaluate (); };  CircuitElement::CircuitElement (const char *name): name (name), next (0) { }  Button::Button (const char *name): CircuitElement (name) { }  void Button::evaluate () {     // Some statements }  Button button ("button");  int main () {     return 0; }   It compiles alright on www.cpp.sh, but if I compile it with locally with:  gcc test.cpp   I get the following errors:  C:\Users\info_000\AppData\Local\Temp\cceVLVFd.o:test.cpp:(.rdata$_ZTV14CircuitElement[_ZTV14CircuitElement]+0x10): undefined reference to `__cxa_pure_virtual' C:\Users\info_000\AppData\Local\Temp\cceVLVFd.o:test.cpp:(.rdata$_ZTI6Button[_ZTI6Button]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' C:\Users\info_000\AppData\Local\Temp\cceVLVFd.o:test.cpp:(.rdata$_ZTI14CircuitElement[_ZTI14CircuitElement]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' collect2.exe: error: ld returned 1 exit status   I must be doing wrong something trivial, and I've been Googling for an answer quite some time, but to no avail.  What am I missing?


I have a d20 that seems to be, well, remarkably lucky.*  How can I determine whether it's really just luck, or whether the die is in fact unfairly biased?  *) Well, I don't, really.  This is actually a spin-off from , which is specifically about determining whether a die is loaded.  This one is intended as a more general question about how to detect any kind of bias in dice, since we apparently don't have one yet.  I've posted my own answer below, but feel free to add more.


How do you visualize neural network architectures?

When writing a paper / making a presentation about a topic which is about neural networks, one usually visualizes the networks architecture.  What are good / simple ways to visualize common architectures automatically?


Calculating age from datetime field including time span

I'm trying to call this function which should return the age of 57 but is returning 58 if I run it today October 18, 2016.      DateTime myDate3test = Convert.ToDateTime("1958-10-17 13:45:59.473");     Console.WriteLine(CalculateAge(myDate3test)); //this should return 57 if run today October 18, 2016 since the person is not yet 58       public static string CalculateAge(DateTime dtDateOfBirth)     {         int age = 0;         DateTime dtNow = DateTime.Now;         string measurement = string.Empty;          if (DateTime.Compare(dtNow, dtDateOfBirth) == 1)         {             TimeSpan tsAge = dtNow.Subtract(dtDateOfBirth);             DateTime dtAge = new DateTime(tsAge.Ticks);                var vNowDate = Convert.ToInt32(dtNow.ToString("yyyyMMdd"));             var vBirthdate = Convert.ToInt32(dtDateOfBirth.ToString("yyyyMMdd"));             double diff = (vNowDate - vBirthdate) / 10000;             age = Convert.ToInt32(Math.Truncate(diff));              measurement = " year";              if (age == 0) // patient is not 1 year old yet             {                 age = dtAge.Month - 1;                 measurement = " month";                  if (age == 0) // patient is not 1 month old yet                 {                     age = dtAge.Day - 1;                     measurement = " day";                 }             }             if (age > 1)             {                 measurement += "s";             }         }         else         {             // Future date!!!             measurement = " Unable to calculate age";             age = -1;         }          return age.ToString() + measurement;     }   Any help is appreciated.


How to capitalize first letter of each word, like a 2-word city?

My JS woks well when the city has one word:   cHIcaGO ==> Chicago   But when it's   san diego ==> San diego   How do I make it become San Diego?  function convert_case() {     document.profile_form.city.value =         document.profile_form.city.value.substr(0,1).toUpperCase() +          document.profile_form.city.value.substr(1).toLowerCase(); }


Strange dark color and reflection spots on solid mode

I am new to Blender. My model appear darker with strange white reflections/spots, even on Solid Mode.  Parts that are disconnected from the main body are fairer for some reasons, and the mirror modifier edge has more spots than other places (when I deactivate the Mirror modifier, those spots disappear). Those spots are visible in material preview too  The texture is completely homogeneous, and it is not the weight painting, right? Must have activated a special view or something.  I think I must have pressed a shortcuts while working on it. I tried copy-paste it on a new blend file, but the problem is copied with it. Complete new blend file don't have this problem, though.* How do I repair it? Or, in worst case, is there a way to only copy vertices (without the problematic properties) into a new blend file?


Mobile site: can we see views somewhere?

One thing that bugs me when using the mobile site is you can't see the views of a question anywhere (even though you can rank questions by views on your profile!). Can this be added somewhere?


Is it possible to run a .exe file in Ubuntu in a script? For example a simple Matlab code like this:  system("dir/WAV2RAW.exe")


I would like to know who is following my questions. Voting, I know could create problems with this, but I don't see how it could be bad to see who's following you.


I found a bug in the latest version of Safari, how can I report it to Apple?  They no longer have the menu option to submit bug reports. I've tried searching Google but all the results are outdated.


In StackEgg there's this fairly ambiguous "progress toward winning the internet" bar.  So far no action has made a noticeable affect on it, and it doesn't appear to mention it in the FAQ.  Which aspects of the site most influence winning the internet?  What are the requisites for doing so?


Extreme file size increase after editing in Photoshop CS5

I have a PDF file which was saved from Photoshop, that I need to edit. File size is 30 MB.  It opens in Photoshop directly, without an Import prompt window, so it was probably saved from Photoshop originally.  Then, after all the edits, I merge visible layers, so that the file would have roughly the same amount of information as before.  After it was saved, file size increased to 150MB, 5 times the original size.   Why? I haven't used "Save As" command so shouldn't it be saved with original settings and have roughly same size?  To add: I compared the initial file and the edited file dimensions in mm, DPI and pixel dimensions, with Pitstop Inspect tool - they are the EXACT same! The only thing which was changed is "Compressed file size" went from 19% to 37% of original size - what's up with that? What compression level does Photoshop use on regular "Save" command, how do I see/change it?


How do you calculate the probability when you don't know how many trials will be held?

You toss a fair coin until you toss two consecutive heads. Find the probability that you have to toss the coins exactly 4 times.


I'm trying to work with WorkOrder object on my scratch org, but when I pull changes I'm getting error:  sfdx force:source:pull -f -u 13285 --loglevel debug ERROR:  Settings type: 'FieldService' is unknown.


Which sets are removable for holomorphic functions?

Let $\Omega$ be a domain in $\mathbb C$, and let $\mathscr X$ be some class of functions from $\Omega$ to $\mathbb C$. A set $E\subset \Omega$ is called removable for holomorphic functions of class $\mathscr X$ if the following holds: every function $f\in\mathscr X$ that is holomorphic on $\Omega\setminus E$ is actually holomorphic on $\Omega$, possibly, after being redefined on $E$.   (An example of the above: $E$ is a line interval, $\mathscr X$ consists of continuous functions. In this case $E$ is removable, which is shown in the answer.)  It is clear that the larger $\mathscr X$ is, the smaller is the class of removable sets. In the extreme case, if $\mathscr X$ contains all functions $\Omega\to\mathbb C$, there are no nonempty removable sets. Indeed, if $a\in E$, then $f(z)=\frac{1}{z-a}$ (arbitrarily defined at $z=a$) is holomorphic on $\Omega\setminus E$ but has no holomorphic extension to $\Omega$.   The problem of describing removable sets is nontrivial in many classes $\mathscr X$ such as    $L^{\infty}(\Omega)$, bounded functions  $C(\Omega)$, continuous functions $C^{\alpha}(\Omega)$, Hölder continuous functions $\mathrm{Lip}(\Omega)$, Lipschitz functions      Which sets are removable for holomorphic functions in these classes?


How to update raster pixel values based on another raster with conditions in QGIS?

I have 2 land cover rasters. I want to update parts of the first raster with values from the second using QGIS.  The workflow should be like this:  1. Select values equal to 30 and 34 in the first raster.  2. Check if there is a value at the corresponding pixel in the second raster.  3. If there is a value in the second raster and it is different from 0,    change the value in the first raster to the value of the second raster.  4. If not, do nothing.   How should I proceed to achieve such updating tasks? I think raster calculator is not supporting conditional statements, so I'm not sure how I can do that.


When should a Test Case be marked as "No Apply"?

When executing test cases when should we mark a test case as 'No Apply'. When the test conditions/requirement is not clear or when its not feasible/possible to perm a test. Also why not mark a test case fail...if we cant understand it.


Book on tetrads formalism and tetradic formulation of General Relativity

Could anyone give me some references for mathematicians (coordinates free notation, formalism of fiber bundles etc.) about tetrads, Palatini-Cartan theory, stuff about formulation of GR with tetrads?  Please no books with explicit coordinates notation.


Where can I find a list of WM.Call_Menu names?

I'm trying to create shortcuts so I can hotkey the various menus in Blender.  But I can't find the "name" of the menu I want.   .  I'm trying to do the same thing, but for the 2D view window.  Right clicking the menu didn't give me any info, and a web search didn't turn up anything either.  Where can I find a list of all available wm.call_menu names, so I can do this with other menus?


Help me please.  I translate the program from the console into Windows forms. After loading and displaying the form, the StartWork() function should work. The code from console Main() I wrote in   private void Form1_Shown (object sender, EventArgs e)  {    StartWork(); }   But I'm faced with a problem, the form does not appear until the entire StartWork() function has completed. This takes a long time.  Then I drove StartWork() into a parallel thread, so as not to interfere with the display of the form.  private void Form1_Shown(object sender, EventArgs e) {      Thread hread = new Thread(StartWork);      thread.Start(); }   But there was another problem: in the StartWork() function. I refer to Label.Text and I want to assign it a string, but I get an exception, that I can't do this because I get access to Label.Textnot from the thread where it was created.  How to solve this?


If $E \in \sigma(\mathcal{C})$ then there exists a countable subset $\mathcal{C}_0 \subseteq \mathcal{C}$ with $E \in \sigma(\mathcal{C}_0)$

Given a collection of sets $\mathcal{C}$ and $E$ an element in the $\sigma$-algebra generated by $\mathcal{C}$, how do I show that $\exists$ a countable subcollection $\mathcal{C_0} \subset \mathcal{C}$ such that $E$ is an element of the $\sigma$-algebra, $\mathcal{A}$ generated by $\mathcal{C_0}$?    The hint says to let $H$ be the union of all $\sigma$-algebras generated by countable subsets of $\mathcal{C}$....although I don't know why.


Chemnum makes the temporary markers TMP disappear but doesn't replace them

This question follows one I posted earlier this week .  I'm having trouble using chemnum, for replacement of temporary labels (TMP1, TMP2, TMP3) in a scheme made with chemdraw. It indeed affects the labels, as they disappear, but they are not replaced at all.   Here is the code I use:   \documentclass[a4paper,12pt,notitlepage]{book}   %Packages \RequirePackage{etex} \usepackage[utf8]{inputenc} \usepackage[francais]{babel} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[crop=off]{auto-pst-pdf} \usepackage{psfrag}  %chemistry packages \usepackage{chemstyle} \usepackage{chemnum} \usepackage{chemscheme} \usepackage{titling}  \usepackage{titlesec}    %to correct spacing of chapters         \titleformat{\chapter}[display] {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge} \titlespacing*{\chapter}{0pt}{-50pt}{20pt}     \titleformat{\chapter}[hang] {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter:}{1em}{}    %Title \title{Partie expérimentale} \author{Me}   \begin{document}  \chapter{Partie Expérimentale} \section{Synthèse du thiéno[3,2-b]thiophène-2,5-diylbis((3-bromothiophèn-2-yl)méthanol)}   \cmpd*{a} \cmpd*{b} \cmpd*{c}  \begin{scheme}[ht]    \replacecmpd{a}     \replacecmpd{b}     \replacecmpd{c}          \includegraphics[scale=0.7]{Schema_Synthese_3.eps}                   \caption{Schéma réactionnel 1}  \end{scheme}   \end{document}   Here is the result:   And here is the  if needed.  Any piece of advice on how to get the labels I want?


Show $f(x)=x\ln x$ is not uniformly continuous

Show $f:(0,\infty)\rightarrow \mathbb{R}, f(x)=x\ln x$ on $(0,\infty)$ is not uniformly continuous.    I think that the general way to prove that something is not continuous in a metric space is to let $\epsilon=...$ and show that $\forall\delta>0$, $d'(f(x)-f(y))>\epsilon$. I can't use the Mean Value Theorem because we haven't gone over it yet.    Here's an attempt: Let $\epsilon=1$. Without loss of generality, let $x>y>0$. $|x\ln x-y\ln y|<|(x-y)(\ln x)|\leq|x-y||\ln x|$...$\delta=\frac{\epsilon}{\ln x}$ and therefore doesn't work for all $x$?


hard voting versus soft voting in ensemble based methods

Not able to figure out the difference between hard and soft voting in context to ensemble based methods  In my view they are doing the same thing.   In hard voting, the voting_classifier counts the number of each class_instance and then assigns to a test_instance a class that was voted by majority of the classifiers. In soft computing, there is a probability term coming that takes the average of probabilities for each class and then uses it to classify the test_instance.  How are they different from one another? Any mathematical formulation etc. that could make the difference between them more obvious?  For soft voting classifier, I also read that "it gives more weight to highly confident votes". How is it implemented mathematically. Is it the weighted average that the author is talking about or anything else?


How to change / configure font fallback?

Recently I re-installed Windows XP English, and after setting the locale to Japanese, and installing my favorite fonts, all Japanese text in the GUI became strange. The GUI font is Tahoma (default).  In the past it would render foreign scripts with Windows' own fonts, but now, for some reason, it's using one of my own installed fonts, and a bad one at that! (the font I call Kiddie in this screenshot)    I deleted this font, and then windows took one of the very unreadable semi-cursive fonts. I re-installed the Kiddy font and windows immediately used that again (all without rebooting)  Does anyone know how to change/alter/configure the windows font fallback strategy? I don't care if it takes third-party software.


It is possible that 25 is the correct answer since I guessed (educated guess) that and got a predication of 170 IQ (obviously not accurate)  I saw that   63 + 25 = 88 and  16 + 9 = 25   but then that breaks apart the lower you go.  Any ideas?  I saw that nine was repeated so maybe 25 would also be repeated?


So, I was working on some basic finance, trying to simulate a number of random stock price paths, when I encountered this inscrutable bug in the code. I try to print out a single number many times in a nested loop, but for some reason the number varies.  My code so far:   # Imports.  %matplotlib inline import numpy as np import pandas as pd import matplotlib.pyplot as plt from math import *  # Error-producing section - randnorm holds a 10x10 vector of normally distributed  # random numbers, used in calculating my price path.  sims = 5 intervals = 5 r=.02 T=1 sigma=.15  paths = [[1]*intervals]*sims randnorm = [[np.random.normal() for x in range(10)] for y in range(10)] # print(randnorm)  for i in range(sims):     for j in range(1,intervals):         paths[i][j] = paths[i][j-1] * exp((r - .5*sigma**2)*(T/intervals) + sqrt(T/intervals)*randnorm[i][j-1])         print(paths[0][1])   I knew something was wrong with my previous code, so I tried debugging by printing in each loop, and I get this,  0.5937221173702402 0.5937221173702402 0.5937221173702402 0.5937221173702402 1.4849274521869171 1.4849274521869171 1.4849274521869171 1.4849274521869171 0.860018700453769 0.860018700453769 0.860018700453769 0.860018700453769 1.0709782525755074 1.0709782525755074 1.0709782525755074 1.0709782525755074 0.7184834195858915 0.7184834195858915 0.7184834195858915 0.7184834195858915   What gives? I seriously do not know where I could be wrong here. It's not my random numbers, which are all different, or an index issue.


Get only some attributes from a gigantic json file (Cast json to another?)

I have a big json(more than 1 GB) object which looks like below (the real object looks very complicated, which has many levels (around 700 fields, and i want only about 100 fields), i have a json schema for boot initial and final json result (if this could help) { "a" : "va", "b" : "vb", "c" : "vc", "d" : "vd", "d2" : {    "dd1": "ddv1",    "dd2": "ddv2" }, [  {  "e": "ve",  "f": {        "ff1": "vvf1",        "ff2": "vvf2",        "ff3":{                "fff1":"vvfff1",                "fff2":"vvfff2",                "fff3":"vvfff3",                "fff4":"vvfff4"              }      }   },  {  "e": "ve2",  "f": {        "ff1": "vvf12",        "ff2": "vvf2",        "ff3":{                "fff1":"vvfff12",                "fff2":"vvfff22",                "fff3":"vvfff32",                "fff4":"vvfff42"              }      }   } ] }  And i want to get for example just these fields and ignore others, using java but i didn't find an apropriate solution {  "a" : "va",  "d" : "vd",  [   {   "e": "ve",   "f": {         "ff1": "vvf1",         "ff3":{                 "fff3":"vvfff3",                 "fff4":"vvfff4"               }       }    },   {   "e": "ve2",   "f": {         "ff1": "vvf12",         "ff3":{                 "fff3":"vvfff32",                 "fff4":"vvfff42"               }       }    }  ] }  Thanks


I think I read that a few decades ago borrowed in a public library, a story about a world with floating islands orbiting an axis, not really on a planet.  I think people were flying dragons between those islands. I remember something about geography of the world, or directions given, being described in terms of the orientation with respect to that axis, and the word used (read that in French, probably a translation) was something like "orbitàdroite" or 'orbitàgauche", which would be "on the right of the orbit" or "on the left of the orbit". Any ideas?


Interested in running mid2015 MBP 15 with AMD gpu on a Dell U4919DW

I am concerned if the resolution of the U4919DW is supported since it is a whopping 5160 x 1440.  I have a dual monitor now and one of them died....so thinking to upgrade to this 49" monster.  What sort of refresh and resolution can I expect if I connect this dell U4919 to a 2015 MacBook Pro with a 15 inch screen running Mojave?


Does there exist an automorphism of $\mathbb{C}$ that does not keep $\mathbb{R}$ fixed?

I'm going to take Galois theory in the upcoming semester and I'm working on some basic problems right now. I was trying to figure out what $\mathrm{Aut}(\mathbb{C})$ should be. If $f: \mathbb{C} \to \mathbb{C}$ is an automorphism, then it's straightforward to see that $f(i) = \pm i$. Obviously, if I can prove that $f \mid_{\mathbb{R}}=\mathrm{id}_{\mathbb{R}}$, I'm done and $\mathrm{Aut}(\mathbb{C}) \cong \mathbb{Z}_2$.  However, no matter how much I struggled with the problem, I failed to prove that an automorphism of $\mathbb{C}$ must send real numbers to real numbers. In fact, now I even doubt that it's true. Is it possible for an automorphism of complex numbers to send a real number to a complex number? If yes, how exotic $\mathrm{Aut}(\mathbb{C})$ is? Is it uncountable, for example? Can we construct any of these automorphisms without relying on the axiom of choice?


Search is not taking multiple tags if the user is not logged in

If a user in not logged into Stack Overflow, search removes the tag after space.  Steps to reproduce:   Go to incognito/private mode Hit this URL for instance:    This will be resolved as   On logging in, the behaviour is as expected.


How is resistance defined when there is no current?

By definition, a component has a resistance of $1\Omega$ if a potential difference of $1$V makes a current of $1$A flow through it. So I was a bit confused when I saw somewhere "a filament lamp has a resistance of $4\Omega$ when it carries no current."  How is it possible to define resistance if there is no current (and hence no potential difference, since $V=IR$)?


It is possible to write a command as  \cite[Capter 2]{tag}   which will display in the text something as "...as stated in [tag, Chapter 2]...". No problems so far. I want to do the same while inserting a description of an environment. To be clearer, it is possible to write  \begin{Proposition}[\cite{tag}]   with no problems but when I try to write  \begin{Proposition}[\cite[Chapter 2]{tag}]   i get an error as  Argument of \@citex has an extra }   Can somebody help me?


How can row operations on a matrix change the linear dependence of the rows?

I'm having troubling finding an example/proof that the following statement is true.     Row operations on a matrix A can change the linear   dependence relations among the rows of A.   Any tips on understanding this would be greatly appreciated.


How can I filter my Gmail messages that aren't labeled?

I'd like to sort all of my Gmail messages that don't have label, so I can process them (I miss some every now and then).  I can sort by every label by clicking on it at the left, but how do you sort the unlabeled ones?


Interior of the boundary of an open set is empty

Let $(X, \mathcal{T})$ be a topological space. Suppose $A \in \mathcal{T}$. We define the interior of $A$, the closure of $A$ and the boundary of $A$ as follows:   $\operatorname{int}A=\lbrace x \in A\mid A \in \gamma(x) \rbrace$, where $\gamma(x)$ denotes the neighborhood filter of $x$.  $\operatorname{cl}A=\lbrace x \in X\mid \forall V \in \gamma(x): V \cap A \neq \emptyset \rbrace$  $\partial A= \operatorname{cl}A \cap \operatorname{cl}(X\setminus A)$  How do you prove that $\operatorname{int}(\partial A) = \emptyset$? I already have that $\operatorname{int}(\partial A)=\operatorname{int}(\operatorname{cl}A \setminus A)$, but how do you continue from this point?


I would like to type something similar to the following:    i.e., a sum of k ones. Is there an easy way to do this in LaTeX?


What is the difference between metonymy and synecdoche?


Why is $\cos(\cos(\cos(0))) = 0.739$ (with infinite $\cos()$)?

I was calculating the field of view for some telescopes, but then I came to this interesting expression:  $$\cos(\cos(\cos(\cos(\cos(\cos(\cos(\cos(\cos(\cos(0))))))))))) = 0.739$$  where we have an infinite number of $\cos()$ and terms are expressed in radians.  I first discovered, that it has a limit, and then I made a program in Python for visualizing this:    import matplotlib.pyplot as plt import numpy as np import math end = 100 fig, ax = plt.subplots() x = np.arange(0, end) y = [0] i = 1 temp = 0 while i < end:     temp = math.cos(temp)     y.append(temp)     i += 1 ax.plot(x, y)   and it's clear that it has a limit.  So I would like to have proof. I tried to start, but it seems so hard, that I've stuck.  Thank you in advance!


Do arxiv moderators not work on Sundays?

I have noticed one thing that whenever I submit a paper in arxiv  on Friday, they keep "on hold" from  Saturday to Sunday and then accept it later Monday or Tuesday.  On the other hand, it happened that when I submit a paper during Monday, Tuesday etc,  then process of submission becomes much faster. On Sunday and Saturday, the system seems to stop. Thus: do the arxiv moderators not work on Sundays?


I installed Sublime Text 2 on 12.04 as per this .  However I don't have adequate permissions when launching the program from the Unity launcher. For example I cannot install packages, or if I add a folder to the sidebar when I close Sublime and reopen, the folder is no longer listed. If I run sudo sublime in the terminal all changes remain after closing.  I've tried chown-ing the Sublime Text 2 folder in usr/lib sudo chown -R mylogin:mylogin /usr/lib/"Sublime Text 2" but this seemed to have no effect.


numbers in string come out as "not numbers" or fals - Python

So, I have a list of strings in python, and I am trying to find which keys are numbers. I am trying to use list.[key].isdigit() but it only works with '0' For instance:  list = ['0', '0', '0', '0.450000000000000', '0', '0', '0', '0.550000000000000']   will only determine that '0' is a digit, but '0.45' and '0.55' are not. How can I fix this problem?  Thank you very much


Make a button on a layout be visible only to a specific group of users

If I want a specific field to be visible only to a specific user or group of users on a layout, I set up field-level security for this field. I want to be able to do the same for my custom button added to a layout. I want a specific button be visible only by a specific group of users.  Is there a way to set a 'button-level' security in order to achieve this? It would be perfect if I could use a permission set.  UPDATE: I know that there were some questions on how to hide a specific button depending on a specific value of an object's field (I already use this solution is another situation), but I want a different thing. I want to be able to specify a permission to see a specific button for a specific group of users.


For $f(x) = p(x)g(x)$, By writing them out repeatedly, I am guessing that $f^{(k)}(x) = \sum_{i=0}^{k} {k \choose i} p^{(k-i)}(x) g^{(i)}(x)$   (where $f^{(k)}(x)$ : $k$-th derivative of $f(x)$). I tried proving this by mathematical induction, but am stuck on how to proceed from the induction hypothesis. how can I prove by mathematical induction that $f^{(k)}(x) = \sum_{i=0}^{k} {k \choose i} p^{(k-i)}(x) g^{(i)}(x)$     ? Please help! Thank you in advance.


Is there any sdk for developing ubuntu desktop application

I want to develop an application for my Ubuntu desktop but i am not able to find anything like android studio to develop my own application. Please do suggest me how i can make a desktop application on my own desktop.


If $\lim_{n \rightarrow \infty }s_n = s$, is it true that $\lim_{n \rightarrow \infty} \frac{1}{n}\sum_{k=1}^n s_k =s $ as well?

If $\{s_n\}$ is a sequence of positive real numbers such that $\lim_{n \rightarrow \infty }s_n = s$, is it true that $\lim_{n \rightarrow \infty} \frac{1}{n}\sum_{k=1}^n s_k =s $ as well?


strtold parsing lower number than given number

I'll cut right to the chase: I am trying to parse a string with strtold to get a long double, but it is giving me the wrong value. Specifically, I am parsing the number 97777777777777777777777777777777777777.0, but strtold parses it as 97777777777777777779155292002375958528.000000.  I check errno, HUGE_VALL, and end_ptr, but errno does not report an error, my number is no where near HUGE_VALL, and end_ptr is empty. I've been trying to debug this for a while, but I'm at my wits end.  I don't think this is a bug in strtold because the same problem happens if I take out some 7's from the number.  This code works for small numbers, like 97.  I would greatly appreciate it if someone could help me here.  The code:  #include <stdio.h>          // printf #include <stdlib.h>         // strtold #include <errno.h>          // errno #include <string.h>         // strerror #include <math.h>           // HUGE_VALL  int main(int argc, char** argv) {     char* theNum = "97777777777777777777777777777777777777.0";     printf("HUGE_VALL = %Lf\n", HUGE_VALL);    // just to make sure I'm not insane     char* endbuf;     errno = 0;     long double n = strtold(theNum, &endbuf);     if (n == HUGE_VALL && errno != 0)     { printf("strtold err: %s\n", strerror(errno)); }     else     { printf("strtold status: %s\n", strerror(errno)); }     printf("the number: %Lf\n", n);     printf("endbuf: %s\n", endbuf);     return 0; }   Output:  HUGE_VALL = inf strtold status: Success the number: 9777777777777777777835998445568.000000 endbuf:    Some details:  64-bit Red Hat Linux: (uname -i says x86_64)  Running Red Hat Enterprise Linux Server release 7.1 (Maipo)  gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-9)  I'm compiling using c99: c99 primefactors_test.c ../../src/primefactors.c -o primefactors_test -I../../include/ -O3 -lm  I also tried a simpler compile statement where I take out all of the unneeded dependencies: c99 primefactors_test.c -o primefactors_test -lm


A gateway to a new world/future where things can be improved with use

This book is about an explorer (with robot companion) who walks through a "gateway" into the future/parallel world. In this world, things that are created do not fall into disrepair, instead things get better.  The main character is kidnapped early on in the story and forced to labor by beating the outside of a castle with a spear. It is explained to him that this makes the wall better and able to resist attacks by these weapons. In his cell, he meets a man wearing an extravagant shirt and asks about it and the man explains to him that the shirt has been in his family for several generations, which is why it looks so nice.   To escape from the jail cell, the man tears one of his zippers from his jump suit and uses it like a saw to cut a hole in the wall. He escapes with the man in the fancy shirt and a woman.   The woman, is something special in this world. (She can focus on the change that is happening to an item and somehow enhance or speed up the process)  The man makes a wheeled cart for them to escape in. While the wheels are at first rough and wobbly, they soon "become better" and spin better.


I need to test images on a webpage.  How should I deal with the following situation:   To check whether all images are loaded. To check if broken images are loaded. To that the description in Alt="" if the image is not loaded.   Kindly suggest how should I do this. I need a code in Java which works like the like given:


Choosing BotRK or BT for Marksmen (ranged AD)

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.


How can I annotate an image with arrow and text?

I am using LaTeX to make a manual. I would like to annotate an image with arrows pointing to parts of the image and a textual annotation outside of the image. Is there a simple way I can do this with TikZ or something similar?    The question is not answered already... the linked "duplicate" (which I had seen) doesn't describe drawing arrows with text annotations, which is what i asked about!


I'm looking for some guidance in solving this. I have read through my text multiple times trying to find something similar to this and I'm coming up with nothing. I'm not really sure where to start on solving this problem.  The question simply states     Prove that ${{n}\choose{k}} = {{n - 2}\choose{k}} + 2{{n - 2}\choose{k - 1}} + {{n - 2}\choose{k - 2}}$.   I'm very new to binomial coefficients, and extremely lost.


Are farmers needed once the harvest is complete?

Once the harvest is in, is it necessary to keep settlers assigned to the Farmer job, or can I assign them to other jobs during winter?


Why was I notified for another user's mentions?

I logged into Stack Overflow and saw that I had three notifications; turns out those notifications were meant for another user:  I've gone in and checked the chat message where I was apparently mentioned; none of them were edited:    and this:    and also this:    Why was I 'pinged' when another user was mentioned? Was this supposed to happen, or is this a bug of some kind?


As short as possible: From what I understand the Cosmic Microwave Background was predicted by multiple people as a theoretical consequence of the Big Bang theory, and hence today, is evidence for the Big Bang. So of course there was also a prediction of the age of the CMB, because it was predicted to have occurred at a certain point in time.  Now, is that the only reason cosmology dates the CMB to 13.8 billion years ago, i.e. is the dating inferred by the theory? I assume there must be many types of measurements that somehow connect to this so as to infer the exact age of what we are seeing there.


My understanding is that light can not escape from within a black hole (within the event horizon).  I've also heard that information cannot propagate faster than the speed of light.  It would seem to me that the gravitational attraction caused by a black hole carries information about the amount of mass within the black hole.  So, how does this information escape?  Looking at it from a particle point of view: do the gravitons (should they exist) travel faster than the photons?


How to get macOS Sierra to stop asking me to enable Siri

macOS Sierra is constantly displaying an "Enable Siri?" dialog. If I pick cancel it just pops up again 5 seconds later.     How do I tell macOS Sierra to stop asking?


How does relativity holds for universal speed limit?

According to relativity nothing in the universe can move faster than light through space time.  The light always appear to be at c regardless of the velocity of the observer , same is true for any object moving at c.  So how does it happens?  Does the space relatively contracts and expands when the observer is moving towards and away respectively from the direction of light?


How to get section numbers and page numbers with Bengali numerals in latex or xetex?

How i can give section numbers and page numbers with Bengali numerals in latex?


Saturated BJT Transistors. $V_{CE} < V_{BE}$ : AKA - Things that make you go "Hmmmm"

We use them every day and those in the know fully understand the functional characteristics of BJT transistors. There are documents and links galore explaining the operational math. There are even tons of nice videos that explain current theories of how they physically work. ( Most of the latter given by folks that speak "Tele-marketer English" for some reason. ) However, I have to admit, even after 40+ years, a lot of it I have to accept at face value, since the descriptions of how the collector junction fits into the equation is always a bit hand-wavy. Anyhow, that aside, there is one facet I really just don't get. It seems to defy the laws of physics, Kirchhoff's Laws et.al. I'm talking about your standard saturated common emitter circuit. It is known, and we accept, that when saturated, the collector voltage will be less than the base voltage. We obviously use that to our advantage in circuits and chose parts to give us as low a Vce-Sat as possible for a particular load current. All fine and dandy, till you look at the quintessential mode of a typical NPN transistor...  How the heck can the collector be a lower voltage than the base in that sandwich? Even if you add in some back-EMF type voltage in there to account for it, the collector current would be going the wrong way through the base-collector junction..


The second Newton's law of motion is : $\vec{a} = \frac{\vec{F}net}{m}$ I wanted to ask what was the need to define first law when we can easily derive from second law that when $\vec{F}net=0$ then ${\vec{a}=0}$.


Find continuous functions such that $f(x+y)+f(x-y)=2[f(x)+f(y)]$

Here is the problem: Find all continuous $f:\mathbb{R}\rightarrow\mathbb{R}$ which satisfy  $$f(x+y)+f(x-y)=2[f(x)+f(y)]\;\;\;(1).$$  Here is my attempt:  Fix $\delta>0$ and let $C=\int_{0}^{\delta}2f(y)dy.$  Then  $$\begin{align*} 2\delta f(x)+C&=\int_{0}^{\delta}2[f(x)+f(y)]dy\\ &=\int_{0}^{\delta}f(x+y)+f(x-y)dy\\ &=\int_{x}^{x+\delta}f(y)dy+\int_{x-\delta}^{x}f(y)dy\\ &=\int_{x-\delta}^{x+\delta}f(y)dy. \end{align*}$$  Now since $f$ is continuous, the last expression is a differentiable function of x and thus the first expression must also be differentiable; hence $f$ is differentiable. By induction, f is infinitely differentiable.  Differentiating (1) first with respect to y, we arrive at: $$f'(x+y)-f'(x-y)=2f'(y)\;\;\;(2).$$   Differentiating once more with respect to x, we have: $f''(x+y)=f''(x-y),$ so $f''$ is constant. It follows that $f(x)= ax^2+bx+c$ are the only potential solutions.  Substituting $x=y=0$ in (1) and (2) implies $f(0)=f'(0)=0$; hence $f(x)=ax^2\;\;\;(a\in\mathbb{R})$.  It is easy to check that all such $f$ are indeed solutions. $\square$  Is my proof correct?


Let $a,b,c$ positive integers such that $\left(1+\frac{1}{a}\right)\left(1+\frac{1}{b}\right)\left(1+\frac{1}{c}\right) = 3$. Find those triples.

Full question: Let $a$,$b$,$c$ be three positive integers such that $\left(1+\frac{1}{a}\right)\left(1+\frac{1}{b}\right)\left(1+\frac{1}{c}\right) = 3$. Find those triples.  This is actually a national competition question in Vietnam (Violympic), which I have attended (and did poorly, but had a lot of fun).   I have understood almost every questions asked that day, but this one really makes my head pop, because I haven't learn much about integer solution equation and how to solve hard cases (like that one)  I have solved that a,b,c can't be all the same, because:  $$a = b = c$$ $$\implies(1+\frac{1}{a})(1+\frac{1}{b})(1+\frac{1}{c})=(1+\frac{1}{a})^3=3$$ $$⟺1+ \frac{1}{a}=\sqrt[3]{3}$$ $$⟺\frac{1}{a}=\sqrt[3]{3}-1$$ $$⟺a=b=c= \frac{1}{(\sqrt[3]{3}-1)}$$  And using , I found out that $(a,b,c) \in \{(1,3,8),(1,4,5),(2,2,3)\}$, but stuck at how to solve it.  Thank you in advance for checking out. I really appreciate your effort.


About installing packages in Ubuntu 18.04

My machine is not an Internet connected. So I mounted the ISO image and installed some packages. If I want to INSTALL GDB and some other packages how should I install in the machine?


Nature of spacetime 4-vector and tangent space?

An entry level confusion about spacetime. I understand that a 4-vector describes a point or event in spacetime. But I've also read (Bertschinger, 1999) that re spacetime "we are discussing tangent vectors that lie in the tangent space of the manifold at each point". If a point/event is described by a single 4-vector, what are all these tangent vectors that lie on the same point? Do they have different co-ordinates to the 'point/event' 4-vector? Could I also ask how a 4-vector 'contains' any sense of direction (I'm thinking here of a vector having direction and magnitude)?


Over the past week or so, I've been trying to create a bootable USB on Xubuntu for Windows. It seems like everything has more or less been unsuccessful, with varying degrees of success.   Using the dd command doesn't make the .ISO file bootable on the usb, and UNetBootin isn't able to create windows bootable USBs. I've tried to run Wine to run Rufus, a program that creates bootable USBs on Windows, but it was unable to find my USB while it was mounted. I've tried CrossOver to install a multitude of ISO burning programs, but none have worked so far. I'm at the end of my rope,  and I'm wondering if there's anything else I should be doing or something I may have missed.   I am running Xubuntu 16.04 LTS.


How to use flags on appplication that use env?

I'm using env in a shell script like so: #!/usr/bin/env bash ... ...  Mainly so my scripts are more portable. Anyway, i noticed that adding arguments to application that use env doesn't always work... #!/usr/bin/env bash -x ... ...  yield /usr/bin/env: ‘bash -x’: No such file or directory /usr/bin/env: use -[v]S to pass options in shebang lines  I'm unsure on the correct formatting for the arguments. I checked the man page and i didn't see anything that would help either (afaik).


return cur == NULL ? -1 : cur->val; (I am confused for this c++ sentence)

/** Helper function to return the index-th node in the linked list. */ SinglyListNode* getNode(int index) {     SinglyListNode *cur = head;     for (int i = 0; i < index && cur; ++i) {         cur = cur->next;     }     return cur; } /** Helper function to return the last node in the linked list. */ SinglyListNode* getTail() {     SinglyListNode *cur = head;     while (cur && cur->next) {         cur = cur->next;     }     return cur; } /** Get the value of the index-th node in the linked list. If the index is invalid, return -1. */ int get(int index) {     SinglyListNode *cur = getNode(index);     return cur == NULL ? -1 : cur->val; }     This “ return cur == NULL ? -1 : cur->val; ”  I confused this syntax, can someone separate this sentence?


\thispagestyle{empty} has no effect with pages with figures

this is my code:  \thispagestyle{empty}  \begin{figure} \centerline{\includegraphics[scale=0.7]{alciatus2.pdf}} \caption{\textit{Alciati Emblematum liber}, Emblema CXLV, In Senatum boni Principis (1531), D1v} \end{figure}   it's part of a double sided book.


Can we make the "expanded user card" privilege universal?

Pursuant to discussion on the , several have asked how far they'll need to search to determine if a user has expressed their preferred pronouns. This requested feature could create an easy solution for that concern.  On sites where I've reached the  privilege level, users can hover over my picture to see a snippet of my profile:    This is where I've included my preferred pronouns, and where I see many others including them as well.  By making this feature universal, users could quickly and easily check for preferred pronouns without needing to navigate to another page.


nginx - Can I configure a global error document?

I have an nginx configuration with a whole bunch of server {} blocks. I want to share error pages between them all, but many of them have different document roots. I can use a configuration like  error_page   404              /404.html; error_page   500 502 503 504  /50x.html;   outside of the server blocks and it gets shared, but then I have to put those same documents in all the roots, or have rules like  location = /404.html {     root /srv/http/errors; } location = /50x.html {     root /srv/http/errors; }   in all my server blocks.  Is there a way to share these documents without repeating myself over and over or having many copies in the filesystem?


What is the number before an attack's damage roll?

I am very new to dungeons and dragons and for our group of friends I was picked to be the DM, I read the rules and understood them for the most part but some attacks have me stump for example if a goblin hits it would do Hit: 5 (1d6+2) what has me confused is the number on the far left, the 5.


The use of "real" in the following cases

Possible Duplicate:             If you listen real close...      Can you swing by real quick...   Sentences like the above two are what I often hear in daily life. If I didn't hear them in the real world, I would probably be more ready to say "If you listen really close..." and "Can you swing by really quick...".  Is real being used as an adjective in this scenario? If so, is the usage of adj.+ adj. a common practice in English language?


A commutes with everything that commutes with B

Let $A,B$ be two matrices over a field. Suppose that $A$ commutes with every matrix $X$ which commutes with $B$. Show that $A$ is a polynomial in $B$.


prepared meals and storage time in fridge before delivering them to clients

my daughter prepares meals for her small catering business. After she prepares them and stores them in plastic containers she stores them in our fridge which is taking up too mush space. They foods are cooked and vary from pasta to vegetables to seafood and other meats. Sometimes she does not deliver these prepared meals until the 2nd or 3rd days how soon must she deliver them to her clients before they spoil.


Can anyone explain this 'variable does not exist error'?

I have a test class which calls a method from a helper class :  @isTest private class OpportunityCheckTest {      private CheckTestHelper helper = new CheckTestHelper();      @isTest     static void checkTest() {          helper.incrementCount();  <-- ERROR INDICATES THIS LINE      } }   At the moment when I try to save my file, I'm getting the following error:  Result: [DEPLOYMENT FAILED]: OpportunityCheckTest.cls: Variable does not exist: helper     Can anyone explain what the problem is here?


Settings in 'Media > Settings' is ignored when inserting images

When I upload an image, it is automatically resized as I would expect, however the sizes for inserting the image seem to ignore the settings I've placed in Settings/Media.  In my media settings I have:   Thumbnail: 150 x 150   Medium: 300 x 300  Large: 690 x 9999     I upload an image of: 2226 x 1663. Wordpress generates the correct image sizes, but gives me the following options for insertion:   Thumbnail: 150 x 150 (as expected)   Medium: 300 x 224 (as expected)   Large: 640 x 447 (Wrong. Why?)     I looked on the forums and found a suggestion that I add the following to my functions.php file:  update_option('large_size_w', 690);   However, this did not work.


Why is "an invalid argument, the conclusion of which is a tautology" not possible?

A similar version of this question was answered before, () but I'm still a bit confused about why this is not possible. Like the other asker, I am responding to an exercise from an Intro to Logic text. I thought of this example for a possible invalid argument with a tautology as its conclusion: Monday was a sunny day Tuesday was a rainy day ... On Wednesday, it will either rain or not rain. I think this argument would be inductive, so wouldn't that make it deductively invalid? It doesn't seem like in all cases the truth of the premises would lead to a true conclusion, but since its conclusion is a tautology in this case, does that fit the definition of validity anyway?


I have a Wordpress in a directory like mydomain.com/page/ and I'd like to show the posts on my parent directory, like mydomain.com/my-post-url How can I do this? Thanks in advance!  EDIT: I still need the pages to be under mydomain.com/page/about, mydomain.com/page/cart I need only the posts to be shown on a parent directory of the WP website  EDIT 2: I have a plain intro HTML file on the root folder, that's why changing the configuration doens't work. I need to keep this mydomain.com/index.html custom html


Prove that a function is differentiable at $x=0$

Prove that $g(x)=\begin{cases}x^2&x\in\mathbb Q\\0&x\in\mathbb R\setminus \mathbb Q \end{cases}$ is differentiable at $x=0$.


How can I merge two objects in Illustrator?

In Illustrator how can I merge this roof vector to the background of the square?


string birthDay = "";       _birthDay = DateTime.Parse(this.BirthDay.Value.ToString()).ToString("yyyyMMdd");                     DateTime today = DateTime.Today;                     int age = today.Year - _birthDay.Year;                     if (_birthDay > today.AddYears(-age)) age--;     txtbox1.Text = age;   It seems error, How to calculate age from birth day?


Can I make an web application by using Salesforce?

I am SalesForce beginner and trying to make an web application to manage projects.  I don't know where to start, what materials to make it.