How can I know what is # in equation?
How do I work with Root objects?
Question on operator: // N When —the bartender at the Cantina at Mos Eisley spaceport in the first Star Wars—says:     “We don’t serve their kind here.”   In reference to C-3PO and R2-D2 entering the bar, it’s certainly a bit prejudicial, but are these commonly held views in this universe? We don’t see it happen anywhere else in the films but is it implied elsewhere? How do I add a Javascript library to a field formatter? I'm trying to include a Javascript gallery () on my new Drupal 8 site and wrote a field formatter for this purpose.   Now I need to add the jQuery lightGallery to pages using this field formatter and call the library when the page is ready. I am confused about how I am supposed to do this, though.   I defined the library in the module containing my field formatter, but I'm not sure how I attach it only on sites that contain the field.   The documentation of the library uses the jQuery $(document).ready function to call the libary, how would that work inside a Drupal module? MacBook Pro never goes to sleep I got a brand new mid-2015 MacBook Pro 15", OSX 10.11.3.  Display never turns off even it is configured to turn off after 10 mins in power adapter AND in battery mode. Screen saver (aerial) stays active forever. I tried disconnecting all USB peripherals connected - it did not help.  Any ideas? How to prevent a scrollview from scrolling to a webview after data is loaded? Understanding how references and labels work incoming mail just sits in the drop folder I want a document library to recieve email and store it so followed the steps outlined here:   I seem to be a bit stuck.  The mail's being delivered to the machine and it's appearing as .eml files in the drop folder, so SMTP and delivery is OK.    I assume Sharepoint's supposed to pick up the file, stick it in a library and delete it, but it doesn't, the mail file just sits there.  Nothing in the logs, obviously.  I haven't set this up before, how often does the timer service come about and pick up the mail? I am trying to use squared loss to do binary classification on a toy data set. I am using mtcars data set, use mile per gallon and weight to predict transmission type. The plot below shows the two types of transmission type data in different colors, and decision boundary generated by different loss function. The squared loss is $\sum_i (y_i-p_i)^2$ where $y_i$ is the ground truth label (0 or 1) and $p_i$ is the predicted probability $p_i=\text{Logit}^{-1}(\beta^Tx_i)$. In other words, I am replace logistic loss with squared loss in classification setting, other parts are the same. For a toy example with mtcars data, in many cases, I got a model &quot;similar&quot; to logistic regression (see following figure, with random seed 0).  But in somethings (if we do set.seed(1)), squared loss seems not working well.  What is happening here? The optimization does not converge? Logistic loss is easier to optimize comparing to squared loss? Any help would be appreciated.  Code d=mtcars[,c(&quot;am&quot;,&quot;mpg&quot;,&quot;wt&quot;)] plot(d$mpg,d$wt,col=factor(d$am)) lg_fit=glm(am~.,d, family = binomial()) abline(-lg_fit$coefficients[1]/lg_fit$coefficients[3],        -lg_fit$coefficients[2]/lg_fit$coefficients[3]) grid()  # sq loss lossSqOnBinary&lt;-function(x,y,w){   p=plogis(x %*% w)   return(sum((y-p)^2)) }  # this random seed is important for reproducing the problem set.seed(0)  x0=runif(3) x=as.matrix(cbind(1,d[,2:3])) y=d$am opt=optim(x0, lossSqOnBinary, method=&quot;BFGS&quot;, x=x,y=y)  abline(-opt$par[1]/opt$par[3],        -opt$par[2]/opt$par[3], lty=2) legend(25,5,c(&quot;logisitc loss&quot;,&quot;squared loss&quot;), lty=c(1,2)) Multiple regression in R results different to simple linear regression? Lots of ram. How to use it? My PC has 8 Gb of ram. Is there any way to make ubuntu use most of it? I mean rarely drop caches and keep once opened programms in ram longer, preload apps on boot, etc. Every increasing function from a certain set to itself has at least one fixed point Function $f(z)$ such that $|f(z)| > |z|$ for every $z\in\mathbb{C}, 1/f(z)$ $f(z)$ is a function such that $|f(z)| &gt; |z|$ for all $z\in\mathbb{C}$  How would you prove the function $\frac{1}{f(z)}$ is bounded. I think you have to use the $|f(z)|\leq M$ but I'm not sure. I have built my house in Minecraft PE, and I have a ton of fences and sticks, but I need to know how big of a perimeter I need to let me sleep at night? I have realized that to pronounce the plural form of words ending in -th, we have to drop the letter "h". e.g. Months is pronounced /mʌnts/. But I have never seen this point mentioned in any context. I just want to make sure that this rule is correct and can be always applied. List of all "partitions"/ "cuttings" of a list Selecting and manipulating CSS pseudo-elements such as ::before and ::after using javascript (or jQuery) Diagram of an artificial neural network Make CMD-Delete a keyboard shortcut in Apple Mail to move a message to the archive? When A and B are positively related variables, can they have opposite effect on their outcome variable C? A is positively related to B.  C is the outcome of A and B, but the effect of A on C is negative and the effect of B on C is positive.  Can this happen? How could towns restrain a magic user? The modern concept of crime and punishment is very reliant on the ability to disarm and restrain and control an individual (think handcuffs, the dividers in police cars, and jails).  How can that be replicated in a world where even a wizard's apprentice has a much power as an armed man with a handgun?  I've seen stories where magical restraints are present, but you can't write that into every thorp and hamlet, even in Eberron.    How can you restrain a magic user in a fantasy setting?   Either answers that conform to modern concepts of crime and punishment or answers about restraining a magic-user in a psuedo-medieval setting are acceptable.