Cannot install the package ttf-mscorefonts-installer
permission error when installing ttf-mscorefonts-installer/Can't drop privileges as file couldn't be accessed by user '_apt'
Can I override the Javascript Function object to log all function calls? Using a new document class/template with LyX? I tried googling this elsewhere but I'm new to LaTeX and extremely confused about certain things. Basically I downloaded MikteX and I'm using the latest version of Lyx with it. Now all I basically know how to do is make pretty looking mathematics and add contents pages/titles/references/etc.  I'm looking to make a dissertation and my unviersity provides a template,  (available for download at that link).  So, what exactly do I need to do (and please be super specific as I am totally clueless to all the jargon I read).   Basically, I need to download ociamthesis.cls in the first line of that webpage. Does it matter where I save it? What exactly do I do next? Locating stolen phone after factory reset I assume any reasonable thief will wipe the phone as soon as possible, thus removing any tracking apps and user accounts.  I there a method to track the phone any way?  A possible method is to use a tracking app (and it's configuration) that's embedded in a custom ROM. I have two hard drives. One is used for Windows and one is empty. I want to install Ubuntu on the empty hard drive. The Windows hard drive is disk0 in Windows and the empty hard drive is disk1. When I install Ubuntu and it asks where I want to install it, I choose "Something Else" but I am stuck there. What do I choose for "boot loader installation"? Find & Delete duplicated files on multiple harddisks at once When is R squared negative? My understanding is that $R^2$ cannot be negative as it is the square of R. However I ran a simple linear regression in SPSS with a single independent variable and a dependent variable. My SPSS output give me a negative value for $R^2$. If I was to calculate this by hand from R then $R^2$ would be  positive. What has SPSS done to calculate this as negative?   R=-.395 R squared =-.156 B (un-standardized)=-1261.611   Code I've used:  DATASET ACTIVATE DataSet1.  REGRESSION /MISSING LISTWISE /STATISTICS COEFF OUTS R ANOVA             /CRITERIA=PIN(.05) POUT(.10) /NOORIGIN             /DEPENDENT valueP /METHOD=ENTER ageP   I get a negative value. Can anyone explain what this means? What is the safest way to clean up /boot partition? I have 200 MB assigned for the /boot partition.  Whenever I try to update the kernel, I receive an error message that basically states /boot is full.  What can I do to cleanup /boot and remove/backup the older kernels? mv : not found when executed from script that modifies PATH variable I have this in my script. But is returning an error. If I execute the command in the console works fine  ./script.sh[16]: mv: not found [No such file or directory]   I want move some files what starts in T353 from one folder to another. REMOTE_PATH is /tmp/ and PATH is my working directory  cd $REMOTE_PATH mv T353* $PATH #this is the line 16   If I make mv /tmp/T353* . works fine. Why do people sometimes use the past perfect form of a verb when the past would suffice? (e.g. "you had mentioned") How can I quickly level up in World of Warcraft? I've been playing for months and I'm barely at level 40, while my classmates play less than I do and have multiple lvl 80 characters.  Is there a better way to level fast in World of Warcraft than just completing quests? How do I get the Minecraft GUI scale to go back to Auto? I have been playing Minecraft, and I went into the settings to see what could be changed. I was in display and I saw the GUI scale was set to "Auto", which was fairly large. I cycled through the scales until I got back to auto, but the GUI scale was stuck at normal size and wouldn't allow me to make it large again. I know this isn't such a big problem, but I really like big font and this is a constant bother to me. Skynet - were AI's actions evidence of Intelligence? Time travel short story where dinosaur doesn't taste like chicken I ran across this  and it reminded me of an old short story I read a long time ago.  I read it in a collection of short stories.  It would have been a book because I borrowed it from a school library.   Probably in the 1970s or 1980s.  The book and the story would have been older, though.  Probably from the 1960s or earlier.  In the story, a scientist has a machine that he can use to view the past.  It isn't like a TV or something, though.  It opens a portal into the past that he can look through.  It is very difficult to control, though.  Pointing it at a place and time is likened to working in a hurricane.  The portal jumps and moves about randomly.  The steadier he can hold it, the clearer the past appears.  When it is really steady, he can hear sounds from the past.  It never gets really steady enough to reach through.  They try pushing tools through the portal to pick up things in the past.  The steadier the portal, the easier it is to push tools through.  It never gets steady enough for them to push a tool all the way through, though.  It just gets easier to make progress.  One day, they have the portal open and it is acting really wild.  At some point the workers take a break.  The portal is still open, and while they are loafing the portal settles down by itself and becomes steadier than it has ever been.  So steady that a piece of the past falls through.  The portal scooped a chunk of the ground out of the past.  The chunk of ground contains a nest with dinosaur eggs.  The scientist  rescues the eggs, and they manage to keep them warm enough until they hatch.  The dinosaurs are some kind of harmless things, and become the lab mascots.  Always wandering the grounds, and in and out of the lab.  One day, the have the portal open again and one of the dinosaurs wanders into the lab and walks into some high voltage terminal.  Crash, bang.  Short circuit.  All the equipment to open the portal is destroyed, and the dinosaur is roasted from the flash.  The roasted dinosaur smells good, like chicken, and the scientist's son (who has been telling the story) takes a bite to see what it tastes like.  He says "It resembled chicken the way an asteroid resembles Jupiter."   It tastes fantastic. With all of their work ruined, and the ruins of a fortune in expensive equipment scattered around them, the scientists and the labworkers all chow down on dinosaur.  Half raw, half burned to a crisp from the explosion.  They eat the dinosaur down to the bones.  They start breeding the dinosaurs, and sell them as food.  The guy's father makes a fortune selling dinosaur meat, but remains unhappy.  With money from selling dinosaur meat, he rebuilt his lab but never ever got the portal steady enough to actually visit the past or take samples.  Does anyone know the name of the story and the author, and maybe what collection it might have been in? How to apply for a Schengen visa when the travel dates are uncertain My husband has a Chinese passport and I am a U.S. citizen; I don't need a visa to travel to Schengen countries. I am helping him to apply for a visa.  Our plans are to go to Paris, Italy and Spain, but we haven't nailed down definite dates; the approximate dates are August 18 to September 11. We made an appointment with Spain consulate to apply for the visa. We need to show air flight reservations, I could book it online without any problems.    Since we don't have definite dates, what dates should he put down on the application?  I know that, once they approve you, they give you 90 days, so does it matter what dates I put down on the visa application?   Our appointment at the Spanish Consulate is in a few days. Are PDO prepared statements sufficient to prevent SQL injection? Why does my query run fast in Environment A, but slow in Environment B? I have a piece of SQL that seems to run really fast in Environment A, but the exact same query runs really slow in Environment B!  Environments are supposed to be the same, so what should I do and/or where should I look in order to see why the query doesn't perform the same? I am developing firefox extension and wanted to count total number of text box of webpage so how to count text box? I need help with this exercise.  I need to prove $$\int_{0}^{1}x^{-x}\ dx=\sum_{n=1}^{\infty}n^{-n}$$  I think I should use some convergence theorem, but I'm stuck.  Thanks a lot! Ubuntu 14.04 multi touch screen support How to get the spaces properly on the x axis, how to place the y values on the corresponding bars? I am using the following commands to draw a barchart.  \begin{tikzpicture}         \pgfplotstableread{ % Read the data into a table macro             Label       Female   Male               2006-2008    3     1              2007-2009    2     0             2008-2010    9     2             2019-2011    3     3             2010-2012    11    1              2011-2013    6     0             2012-2014    12    7             2013-2015    10    7             2014-2016    10    3         }\datatable          \begin{axis}[         compat=newest, %Better label placement %        axis on top,         ybar stacked,   % Stacked horizontal bars         xmin=0,              % Start x axis at 0         ymax=25,         ymin=0, ylabel={Number of students}, xlabel={Batches},bar width=10pt,         y axis line style={opacity=0},         yticklabels={\empty},         ytick style={draw=none},enlarge y limits={upper, value=0.2},         xtick=data,     % Use as many tick labels as x coordinates         enlarge x limits = .2,         xticklabels from table={\datatable}{Label}  % Get the labels from the Label column of the \datatable         ]         \addplot [fill=yellow] table [y=Male, x expr=\coordindex] {\datatable};    % Plot the "First" column against the data index         \addplot [fill=green!70!blue]table [y=Female, x expr=\coordindex] {\datatable}; %        \addplot [fill=red!80!yellow] table [y=Third, x expr=\coordindex] {\datatable}; \legend{Male,Female}         \end{axis}         \end{tikzpicture}   I got the picture as,     How to get the spaces properly on the x axis? How to place the y values on the corresponding bars? How to rotate the label 90 degree? How to take out the ticks on the top? Is there any other way of representing this data(two dim only)? (optional)   I hope all the questions can be answered in a single answer?