Is there a way to pipe to a visual editor and then continue the pipeline?
How to invoke vim editor and pipe output to bash
poll() failed, context incorrect? - Example: bpy.ops.view3d.background_image_add() I keep on getting context errors in the Blender Python API.  I don't understand the issue of the context in the API, how do I know which is the correct context?   Thanks! Password Reset for Users on a Multisite Subsite According to Hubble's Law, how can the expansion of the Universe be accelerating? Scientists today think the expansion of the universe is accelerating.   According to Hubble's law, objects further away are moving faster than objects closer to us. The further away an object is, the further back in time we are seeing, so in the past objects moved faster (is this sentence correct?).  So because objects moved faster before than they do now, surely that's deceleration not acceleration?  my textbook says "if Scientists today think the rate of expansion of the Universe were decreasing then distant objects should appear different to Hubble's Law predictions: universe is accelerating. More distant objects would seem to be receding faster (since expansion was faster in the past)" Warning when battery is fully charged I would like to get an alert (with sound) when my laptop battery is fully charged.  How can I do that? Why redirect output to 2>&1 and 1>&2? I have come across several commands that use 2&gt;&amp;1 and 1&gt;&amp;2, but I quite can't get my head around the purpose of using it and when I should be using it.  What I understand  I know that 1 represents standard out and 2 represents standard error. I understand that 2&gt;&amp;1 combines the output of 2 to 1 and vice versa.  What I don't get   When should I be using it? What purpose does it serve? Appreciate your wisdom on this,  My understanding is most of the tutorials recommend normalizing / scaling the data prior feeding the tensorflow models. Doesn't normalization require that data conforms to the normal parametric distribution?  What good is a non-linear model if scaling / normalizing is a pre-requisite prior using the non-linear model such as tensorflow?   So back to the question, should I always normalize / scale my data prior feeding my tensorflow models?  thanks Now that I have Google Chrome all set up, I got myself a new laptop. Does anyone have any idea how to transfer my settings, cookies, favorites, etc?   I checked documents and settings\me\application data, and found nothing. How to prove those "curious identities"? How to prove $$ \prod_{k=1}^{n-1} \sin\left(\frac{k\pi}{n}\right) = \frac{n}{2^{n-1}}$$ and $$ \prod_{k=1}^{n-1} \cos\left(\frac{k\pi}{n}\right) = \frac{\sin(\pi n/2)}{2^{n-1}}$$ Zsh get terminfo keys with modifiers I had parked my follower at an inn with a bunch of valuable items that I didn't want to carry. I guess I have been out a bit too long as this message appears:      Your follower tires of waiting and leaves.    There have been other situations where my follower has mysteriously disappeared as well.  How can I find my follower when they get up and leave or disappear into thin air? Allowing line break at ',' in inline math mode? In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g.  very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc   may be rendered as  very long text followed by a very long equation like a+b+c+d+e+f+g+h+i+ j+k+l etc   However, the break won't happen if they are separated by commas, e.g.  very long text followed by a very long equation like $a,b,c,d,e,f,g,h,i,j,k,l$ etc   will overflow the page like  very long text followed by a very long equation like a,b,c,d,e,f,g,h,i,j,k,l etc   How to make LaTeX able to insert line breaks after a comma too? mathtools: \dddot cause the term to rise Did English ever have a word for 'yes' for negative questions? The Germans have doch and the French have si as a word that means "yes" in response to a negative question, such as:     Don't you want some ice-cream?   Yes [I do]!   In English, we only have yes (as far as I know) and further clarification is required in order to be unambiguous.  Did we ever have such a word in English and, if so, what happened to it? If not, given the French and Germanic influences on English, any idea why not? Is it possible to navigate to a Visualforce page from an LWC with parameters and community compatible The LWC framework includes the NavigationMixin.Navigate functionality that can be used to obtain URLs or perform navigation to generated URLs. This supports a number of different page types, as covered in the . What I can't find is how to create a URL to a specific Visualforce page, with parameters and compatible with communities. Using the &quot;web page&quot; navigation type seems wrong to me, since the URL for a Visualforce page varies based on whether access is direct or within a community. Do you know what the correct approach is for navigating from a flexipage via an LWC component to a Visualforce page in the same org, passing the page some parameters? I have two tensors that i must calculate double dot product. matrix A is rank 2  and matrix B is rank 4. I want to multiply them with Matlab and I know in Matlab it becomes: A : B = trace (A*B) but it has one error and it says: Inner matrix dimensions must agree So how can I solve this problem? anybody help me? Thanks Odds of rolling doubles or triples given N 6-sided dice Over the holidays I played a dice game where each player had 3 to 7 d6 to roll each turn.  The game gave certain advantages to doubles and triples.  I wanted to know the odds of rolling doubles or triples given N dice to understand the importance of "upgrading" to more dice.  My question is really about how to reason about such problems:  It's easy to see that the odds of rolling doubles with 2 d6 are 1/6 (first die can be anything, and 1/6 of the time the second will match).  It's also easy to see that with 7 dice the odds are 1.0 (6 dice could be 1..6, but the 7th must match one of them).  The middle cases are fuzzier to me.  I ended up writing a program to enumerate all of the possibilities (even 6^7 is only 279,936 cases to evaluate) because that was the only way I felt I could verify any closed formula I came up with.  This also enabled me to distinguish cases of multiple doubles (or triples).  I would like to know how to derive closed forms and how to validate such solutions without brute-force simulation. Detecting TCP Client Disconnect Why can't I change my desktop background? Prove that if $p \equiv 3 \pmod{4}$ then $x^2+y^2 \not \equiv 0 \pmod{p}$ Let $x$ and $y$ be integers not congruent to $0$ modulo $p$ where $p$ is a prime. Prove that if $p \equiv 3 \pmod{4}$ then $x^2+y^2 \not \equiv 0 \pmod{p}$.   I thought about proving this algebraically and by contradiction. So we say $x^2+y^2 = pz$ and have to show this is impossible. Integral $\int_0^\infty \frac{\arctan(x) dx}{x(1+x^2)}$? How would one evaluate the integral $$\int_0^\infty \frac{\arctan(x) \,dx}{x(1+x^2)}$$?  I was told it had a nice closed form and could have been solved with differentiation under the integral sign; however, I tried to set $$I(\alpha) = \int_0^\infty \frac{\arctan(\alpha x) \,dx}{x(1+x^2)}$$ and got nowhere (the resulting integral was very messy). Is there a much more clever substitution that can be used to tackle the integral?