How to find eigenvectors/eigenvalues of a matrix where each diagonal entry is scalar $d$ and all other entries are $1$
Determinant of a rank $1$ update of a scalar matrix, or characteristic polynomial of a rank $1$ matrix
I just ran into the problem of embedding fonts while trying to publish with lulu.com. Although everyone apparently is 'supposed' to handle those 35 standard fonts for some strange reason they won't accept pdf's without them included. So one way that according to  is supposed to work (I haven't tried yet, but hopefully it does work) is to convert the pdf to ps and then back to pdf and include the fonts at that time:  pdftops file.pdf ps2pdf14 -dPDFSETTINGS=/prepress file.ps   But this feels at least to me like the wrong way of doing things. Is there some way of passing the parameter directly to pdflatex to tell it to embed those fonts?   And, if not -- How do we go about getting such a feature? (Because it can't only be me who has this sort of problems) Why isn't my website in Google search results? right now   I have setup /etc/fstab like this:  //192.168.5.167/H /mnt/ssd cifs credentials=/root/.smbreds,noauto,x- systemd.automount 0 0   I want to set it up like first network should be connected and then fstab mount should get mounted. Varying behavior for possible loss of precision I am having trouble getting onto a server in Minecraft PE on iOS. When I tap on the person's server it just says invalid name:    I have tried turning off and restarting the iPad, going to home screen and logging back into the server but I have had no luck and no change. Is there a reason why this is so? Using launchd to update MacPorts I want to use launchd to update my MacPorts tree periodically (i.e. port selfupdate.  I have created /Library/LaunchDaemons/org.macports.selfupdate.plist:   $ ls -l /Library/LaunchDaemons/org.macports.selfupdate.plist -rw-r--r--  1 root  wheel  669  8 Nov 12:49 /Library/LaunchDaemons/org.macports.selfupdate.plist   It has the following contents:   &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; &lt;plist version="1.0"&gt; &lt;dict&gt; &lt;key&gt;Label&lt;/key&gt; &lt;string&gt;org.macports.selfupdate&lt;/string&gt; &lt;key&gt;ProgramArguments&lt;/key&gt; &lt;array&gt;     &lt;string&gt;/opt/local/bin/port&lt;/string&gt;     &lt;string&gt;selfupdate&lt;/string&gt; &lt;/array&gt; &lt;key&gt;StandardOutPath&lt;/key&gt; &lt;string&gt;/var/log/org.macports.selfupdate.log&lt;/string&gt; &lt;key&gt;StandardErrorPath&lt;/key&gt; &lt;string&gt;/var/log/org.macports.selfupdate.err&lt;/string&gt; &lt;key&gt;RunAtLoad&lt;/key&gt; &lt;true/&gt; &lt;key&gt;StartInterval&lt;/key&gt; &lt;integer&gt;604800&lt;/integer&gt;&lt;!-- 1 week --&gt; &lt;/dict&gt; &lt;/plist&gt;   I've loaded it and verified that it's loaded:  $ launchctl list | grep macports -   78  org.macports.selfupdate   But it doesn't look like it actually run.    $ port info wireshark Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'. wireshark @1.12.8_3 (net) ...   What am I missing? Should I use 'or' or 'nor' after a negative statement? This document does not cover the SDK interfaces nor any other reference material.   I think the above is correct, but my grammatical checker in Microsoft Word underlines nor and suggests or. Why? SWR surname that in fact describes or applies to the human in question? There are (in real life) many amazing examples of this (Bill Gates, "gates" being the fundament of computers, Tiger "Woods", the greatest ever user of "woods" golf-clubs, etc) and it is a staple of fiction.  Is there a single-word for this, or a frequently-used term?  Note that in fictional usage, I observe there is literal "X", so, for example I just saw a children's movie where "Madame Work" was a taskmaster. However, authors often employ near-literal "X": for example, most of the minor character surnames in Harry Potter are 'kind of" "X".  So, is there an "X" for Bill "Gates", Tiger "Woods", an undertaken named Mr. Death, etc?  Sorry if this has been asked already, I couldn't find it.    Note - I've just found there's a "wikipedia" page claiming 'aptonym' or 'euonym' is sometimes used.  Wikipedia is often valueless, so I do not know if this is a meaningful claim. I'm adding two footnotes to a section heading:  \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum}  \usepackage[stable]{footmisc}  \usepackage{titlesec}  \begin{document} \section{test \footnote{This is footnote no1.} \footnote{This is footnote no2.} } \lipsum[4] \end{document}   The heading will have both of the footnotes, but at the end of the page only the second is displayed. The problem appears to be \usepackage{titlesec}, because it works fine without it.    Stuff I specified in \usepackage{titlesec}:  \renewcommand\thesection{\arabic{section}}  \renewcommand\thesubsection{\arabic{subsection}}  \renewcommand\thesubsubsection{\arabic{subsubsection}}  \titleformat{\section}[block]{\Large\scshape\centering}{\thesection}{1em}{}  \titleformat{\subsection}[block]{\large\scshape}{\thesection.\thesubsection}{1em}{}  \titleformat{\subsubsection}[block]{\large\scshape}{\thesection.\thesubsection.\thesubsubsection}{1em}{}   Thanks in advance! How to customize the Ubuntu Live CD? I would like to customize Ubuntu live CD by installing some additional packages. I have followed   but it doesn't seems to work. Can anyone provide clear instructions?   Note: I do not prefer Remastersys, manual way will be appreciated.  Customization  Packages that I want to install:   Thunderbird    Samba    SSH       Changes that I need:   Remove Games menu from the Application menu Firefox shortcut on Desktop Radiance as the default Theme Different default Ubuntu Wallpaper   Configuration file changes   I want the panel to be placed at the bottom I want to paste my Samba configuration file instead of default Samba configuration I have few Firefox shortcuts and folders I would like to show that in Desktop Also it will be nice if you say me how to change the icon sets   Recent Updates   I have customized Ubuntu 10.10 with Firefox shortcuts and few folders on desktops. Everything went smooth. But the installer gets crashes after choosing the timezone. How do i fix this issue? Also setting wallpaper affects the login screen. The wallpaper which i set is displayed on the login screen also. I just want the default one for the login screen. I'm try to change to my Desktop directory from the terminal.  Running  cd /home/desktop   gives an error in the terminal saying no directory found.  What am I doing wrong? su command + authentication failure \includegraphics PDF, color problem I'm using pdflatex, and use \includegraphics to include content of figures from PDF. PDF are exported from InkScape.  \begin{figure} [!h]     \centering     \includegraphics[height=3cm]{fig/SUSAN.pdf} \end{figure}   Included PDF or source SVG has same colors. Green has always RGB value (0, 255, 0). Problem occurs when I include this files from LaTeX. In output PDF on some pages colorspace is darker. Even same image on other page has different colourity.  My PDF  . As you can see on page 7 (11 in PDF) USAN areas are bright green, but then on page 5 (9 in PDF) are green points on corners more darker. How to Fix Broken Packages? How do I fix broken packages when it is not working? When I try to fix broken packages, it tells me to "fix broken packages." How to calculate the rotation matrix between 2 3D triangles? I need to calculate the rotation matrix and the translation vector between 2 given triangles in Euclidean space.  This is really just a rotation and a translation, the lengths of sides of the triangle are equal.  Coordinates of the points are real. $P_1, P_2, P_3$ are the 3 points of the 1st triangle, $Q_1, Q_2, Q_3$ are the 3 points of the 2nd.  My idea was: I translate the center of the triangles to the point of origin with $t_1 := \frac{P_1+P_2+P_3}{3}$, $P'_i = P_i-t_1$ and  $t_2 := \frac{Q_1+Q_2+Q_3}{3}$, $Q'_i = Q_i-t_1$ and then I only need to solve the set of 9 linear equations with 9 unknown (the 9 entries of the rotation matrix $R$):  $$ Q'_i = R.P'_i $$ Afterwards I could calculate the translation with  $$ t = t_2 - R.t_1 $$ The problem is: after I translate the triangles to the point of origin the points are linearly dependent ($P_3 = -P_1 - P_2$)  So in fact I only have 6 equation with 9 unknown, which allows multiple solutions for $R$. But I need "one" precise solution, because the triangles are just parts of two identical models, which I need the rotation for.   I think the approach will work, if I use 4 points instead of 3.  But can I somehow calculate the rotation matrix with "only" 3 points? Why is HMAC-SHA1 still considered secure? This Q &amp; A   says that the security of HMAC-SHA1 does not depend on resistance to collisions? Are they are saying specifically with respect to HOTP or for HMAC-SHA1 for any use?     If HMAC-SHA1 is used for verifying the integrity of a document and you can find a collision, you can make changes in the document, right?      Even the RFC says that resistance to collisions is relevant       The security of the message authentication mechanism presented here depends on cryptographic properties of the hash function H: the resistance to collision finding (limited to the case where the initial value is secret and random, and where the output of the function is not explicitly available to the attacker), and the message authentication property of the compression function of H when applied to single blocks    What am I missing here? A feature of C++ is the ability to create unnamed (anonymous) namespaces, like so:  namespace {     int cannotAccessOutsideThisFile() { ... } } // namespace   You would think that such a feature would be useless -- since you can't specify the name of the namespace, it's impossible to access anything within it from outside. But these unnamed namespaces are accessible within the file they're created in, as if you had an implicit using-clause to them.  My question is, why or when would this be preferable to using static functions? Or are they essentially two ways of doing the exact same thing? Requesting raw data from previously published research Why does pgfplots plot functions only until x = 5 and y = 5, but not any further?    \documentclass{article}  \usepackage{tikz} \usepackage{pgfplots}  %%%&lt; \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt} %%%&gt;  \begin{document} \begin{tikzpicture} \begin{axis}[samples=100,ymin=0,ymax=10,xmin=0,xmax=20]  \addplot [thick] plot  (\x,  {1/(1 + exp(-0.6*(\x - 12)))}); \addplot plot (\x, {\x});  \end{axis} \end{tikzpicture} \end{document} 'Which', 'whose' or something else?