threading through a vector of functions
Piping data through arbitrary functions in Clojure
Word for people who don't make their deadline I'm writing a thesis which is an aggregate of separate articles. I have the source code for the articles and I'm using \include to include them in the main document of the thesis. So in my main.tex (thesis document), I have  \include{article1} some pages in between the two articles \include{article2}   The problem that I'm getting is with the Appendix sections. In article 1, I have at the end:  \appendix \numberwithin{equation}{section} \section{Coefficients}\label{sec:Coeffic} \subsection{Good coefficients} then comes the first line of appendix   This gives in article 1 (when  compiled separately with the article class):     A. Coefficients      A.1. Good coefficients   and equation numbers in the Appendix A as (A.1), (A.2)  which is ok and what is expected.  When I put article 1 within main.tex, I use \include command. Also, I removed the document class for article 1 and put \chapter instead.  But when I compile main.tex (the thesis document), I get the appendix sections as:     .1 Coefficients      .1.1 Good coefficients   and the equation numbers in the appendix A as (.1.1), (.1.2) etc  My article 1 is treated as a chapter in the main thesis document (main.tex) and the title and section numbers, equation numbers are preceded by A in main.tex. This is what I want.  Maybe it would be ok to get the appendix in my main.tex as     A.A. Coefficients      A.A.1 Good coefficients   and the equation numbers in the Appendix as (A.A.1), (A.A.2) etc  to denote that it refers to appendix A of paper A. First A is for the first article and second A is for first appendix. How to get this? Logo is slightly misaligned By definition a matrix representing a Lorentz transformation is orthogonal, so that its inverse is equal to its transpose.   Consider a pure boost in the t-x plane; $$\Lambda_x=\begin{pmatrix} \cosh(\gamma) &amp;&amp; \sinh(\gamma) &amp;&amp; 0 &amp;&amp; 0\\ \sinh(\gamma) &amp;&amp; \cosh(\gamma) &amp;&amp; 0 &amp;&amp; 0\\ 0 &amp;&amp; 0 &amp;&amp; 1 &amp;&amp; 0\\ 0&amp;&amp;0&amp;&amp;0&amp;&amp;1 \end{pmatrix}.$$ $\Lambda_x$ has inverse  $$\Lambda_x^{-1}=\begin{pmatrix} \cosh(\gamma) &amp;&amp; -\sinh(\gamma) &amp;&amp; 0&amp;&amp;0\\ -\sinh(\gamma) &amp;&amp; \cosh(\gamma) &amp;&amp; 0&amp;&amp;0\\ 0 &amp;&amp; 0 &amp;&amp; 1 &amp;&amp;0\\ 0&amp;&amp;0&amp;&amp;0&amp;&amp;1 \end{pmatrix}$$ but tranpose  $$\Lambda_x^T=\begin{pmatrix} \cosh(\gamma) &amp;&amp; \sinh(\gamma) &amp;&amp; 0&amp;&amp;0\\ \sinh(\gamma) &amp;&amp; \cosh(\gamma) &amp;&amp; 0&amp;&amp;0\\ 0 &amp;&amp; 0 &amp;&amp; 1&amp;&amp;0\\ 0&amp;&amp;0&amp;&amp;0&amp;&amp;1 \end{pmatrix}.$$ These are not equal. Where have I gone wrong? Control custom properties How can I add remove and create a callback/event for a custom property using bpy. I have a scene, called scene, and I want to add a custom property named x, defulat value 2 (as intereger), and a callback foo, to run when it is changed. I also need to be able to read the value from it, and delete it. How do I do this? How do I ping a website or IP address with Python? Geometric interpretation of $\frac {\partial^2} {\partial x \partial y} f(x,y)$ Are there any geometric interpretation for the second partial derivative? i.e.  $$f_{xy} = \frac {\partial^2 f} {\partial x \partial y}$$  In particular, I'm trying to understand the determinant from  for determining whether a critical point is a minima/maxima/saddle points:  $$D(a, b) = f_{xx}(a,b) f_{yy}(a,b) - f_{xy}(a,b)^2$$  I have no trouble understanding $f_{xx}(x,y)$ and $f_{yy}(x,y)$ as the of measure of concavity/convexity of f in the direction of x and y axis. But what does $f_{xy}(x,y)$ means? Why does ice form on bridges even if the temperature is above freezing? So with this "arctic blast" continuing, I've noticed that for my area, the temperature drops below freezing just long enough to cause freezing rain, but then the sun comes out and the temperature rises immediately. However, on bridges, ice continues to form.   How can ice form even if the temperature is above freezing? Yesterday, I have downloaded and installed Windows 8 Professional, after downloading it (legally) and burning it to a DVD, on my 3-year-old  (Intel Core Duo 2x2.4&nbsp;GHz, 4&nbsp;GB RAM,  hard disk drive).   The installation failed two or three times, each time differently (error codes, for example 0xc000021a, with an infinite boot loop), but finally I completely formatted the hard drive and installed. Seemingly, everything was OK.  However, after booting successfully, the OS is extremely slow. When I open the task manager, it shows that the HDD is at 100% - however, no application or background process or Windows process can be made responsible. I searched the Internet and found that Windows might try to "index" the hard drive, but I did't find a process that isn't also on my second computer, which still uses the Release Preview (restarting every two hours). Also, the startup is empty, and HD Tune and HDD Health show that the drive health is OK, even though I don't know how reliable these two programs are.  I looked for diagnose software from Toshiba, but they only offer tools for "Fujitsu branded Toshiba devices"; I tried it out, and it did not work on my hard drive.  Does this sound like a hard drive failure? The laptop is 3.5-years-old, has been carried around sometimes roughly and was used (and on) most of the time. However, it would have failed exactly the night before installing Windows&nbsp;8 Profesional, which seems - unlikely.  If this is a software error - then what did I do wrong if this occurs from the moment of installation (even the personalization at the end of installation took half an hour)? How can I fix this? Cannot do a `composer install` even though my minimum stability is listed as dev I am trying to build the master branch in my project after updating to 8.5.0, but am being met with an error from composer (which I did not get on my develop branch):     The requested package drupal/focal_point 1.0.0-beta6 is satisfiable by   drupal/focal_point[1.0.0-beta6] but these conflict with your   requirements or minimum-stability.   In my composer file, I have:  "drupal/focal_point": "^1.0",   as well as:  "minimum-stability": "dev",   How can I fix this so TravisCI gets unstuck? It worked fine for the develop branch, and the master is now updated with it. Why is $(0, 0)$ not a minimum of $f(x, y) = (y-3x^2)(y-x^2)$? There is an exercise in my lists about those functions: $$f(x, y) = (y-3x^2)(y-x^2) = 3 x^4-4 x^2 y+y^2$$  $$g(t) = f(vt) = f(at, bt); a, b \in \mathbf{R}$$  It asks me to prove that $t = 0$ is a local minimum of $g$ for all $a, b \in \mathbf{R}$  I did it easily: $$g(t) = 3 a^4 t^4-4 a^2 t^2 b t+b^2 t^2$$ $$g&#39;(t) = 2 b^2 t-12 a^2 b t^2+12 a^4 t^3$$ $$g&#39;&#39;(t) = 2 b^2-24 a^2 b t+36 a^4 t^2$$  It is a critical point: $$g&#39;(0) = 0; \forall a, b$$  Its increasing for all a, b: $$g&#39;&#39;(0) = 2b^2 &gt; 0; \forall b \ne 0$$ and $$b = 0 \implies g(t) = 3 a^4 t^4$$ which has only one minimum, at $0$, and no maximum  However, it also asks me to prove that $(0, 0)$ is not a local minimum of $f$.  How can this be possible? I mean, if $(0, 0)$ is a minimum over every straight line that passes through it, then, in this point, $f$ should be increasing in all directions, no? How to Remove URLs from Google Search Engine Etiquette for username changes I'm thinking of changing my username to my real name. Given that I have a presence on some of the sites here (mostly codegolf), what etiquette should I follow when choosing my new name?  As my username is currently Quincunx, I'm thinking of changing it to MyRealName (formerly Quincunx). Or perhaps MyRealName (né Quincunx). Maybe just MyRealName (Quincunx). If I do use these usernames, will people be able to recognize who I am? Or is there already a standard way to change usernames (such as relying on the profile picture)? Conditions for vertical circular motion If a bob attached to a string is swinging in vertical circular motion, we say that the bob leaves the circular path when the tension in the string becomes zero, but even when tension becomes zero, there's always a component of the bob's weight towards the center of the circle. Why then does the bob leave the circular trajectory? Multicollinearity when individual regressions are significant, but VIFs are low I have 6 variables ($x_{1}...x_{6}$) that I am using to predict $y$. When performing my data analysis, I first tried a multiple linear regression. From this, only two variables were significant. However, when I ran a linear regression comparing each variable individually to $y$, all but one were significant ($p$ anywhere from less than 0.01 to less than 0.001). It was suggested that this was due to multicollinearity.  My initial research on this suggests checking for multicollinearity by using . I downloaded the appropriate package from R, and ended up with the resulting VIFs: 3.35, 3.59, 2.64, 2.24, and 5.56. According to various sources online, the point you should be worried about multicollinearity with your VIFs is either at 4 or 5.   I am now stumped about what this means for my data. Do I or do I not have a multicollinearity problem? If I do, then how should I proceed? (I cannot collect more data, and the variables are parts of a model that aren't obviously related) If I don't have this problem, then what should I be taking from my data, particularly the fact that these variables are highly significant individually, but not significant at all when combined.  Edit: Some questions have been asked regarding the dataset, and so I would like to expand...  In this particular case, we're looking to understand how specific social cues (gesture, gaze, etc) affect the likelihood of someone producing some other cue. We would like our model to include all significant attributes, so I am uncomfortable removing some that seem redundant.  There are not any hypotheses with this right now. Rather, the problem is unstudied, and we are looking to gain a better understanding of what attributes are important. As far as I can tell, these attributes should be relatively independent of one another (you can't just say gaze and gestures are the same, or one the subset of another). It would be nice to be able to report p values for everything, since we would like other researchers to understand what has been looked at.  Edit 2: Since it came up somewhere below, my $n$ is 24. When does a flying creature start and end falling? Situation:  Alice the Aarakokra sees Bob the Battlemaster coming. She ascends to 605', just out of the 600' range of Bob's longbow.  Bob (Str 14) performs a running high jump 5' into the air and successfully hits Alice with his longbow, despite firing at disadvantage for long range. He spends one of his maneuver dice to perform the Trip Attack maneuver, and succeeds on the contested roll to knock Alice prone.  Alice is now flying and prone, so she falls. Falling does 1d6 bludgeoning damage per 10' fallen, to a maximum of 20d6.  Questions:   When does Alice start falling? It is on Bob's turn as soon as she's knocked prone, or some time else such as the beginning of her own next turn? When does Alice hit the ground? On Bob's turn as soon as she's knocked prone, or some time else?   These answers determine whether anyone can save Alice from her 20d6 of certain doom.   Is a reaction (e.g. casting Feather Fall) on Bob's turn the only hope? Can Alice's ally Charlie swoop in on his subsequent turn within the same round to catch her? Can Alice spend half her movement on her next turn to "stand from prone" and pull out of her involuntary dive? If Alice had expected to be shot down, could she have spent an action to be Ready to "stand from prone" while moving through Bob's airspace? How to show $n\sum_{i=1}^n {x_i^2} \ge (\sum_{i=1}^n{x_i})^2$ Using the Well Ordering Principle to Show that n^3 - n is divisible by 6. I read the following two sources and I think I understand the structure of proofs involving WOP, but I am stuck on the open-ended part where you prove P(n-1) for the  following problem:    Use the well-ordering principle to show that n^3 - n is divisible by 6.    Any help would be greatly appreciated!   Note: After factoring out (n-1)^3 - (n-1) it took the form of n^3 - 3n^2 + 2n and the only difference between that and n^3 - n is "3n^2 - 3n" which I proved was divisible by 6 via induction. Is there a better way to solve this problem?  Edit: , post is useful however I not supposed to use induction for the main part of the proof. Render Glass like materials with Alpha Channel to composite in external app Hope you can help me with some issues I've been dealing these days.  As I'm rendering products, most of the time I need to render some transparent materials in order to do a post-pro in Photoshop, change the backgrounds, superpose images, etc.  I've been looking for an answer but yet I've couldn't get a solution for this problem.  I need to render materials with transparency and no background in Cycles.  I've found that there are two ways to do this:   Render with transparency in the materials.  Render and get two renders, the original and another one only with the alpha channel to edit in Photoshop.   For the first option, I've achieved to render a glass-like material, as PET plastic using this node tree:    For the second option, I haven't found a way to get the alpha channel in cycles that includes the object with transparency and, if possible, the shadows in the background| but without the background. How to make `man` work for shell builtin commands and keywords?