apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))
What commands (exactly) should replace the deprecated apt-key?
I'm more of a math guy than a physics guy so bear with me....  In fractal geometry, fractals are considered to have fractional dimension. For instance an object such as the Koch curve has a fractal dimension of around $1.2$. You can also define a concept called fractal extent (which is the experimental version of hausdorff measure). This extent is a measure of how large a fractal is. It's even been used to more accurately model the distribution of coastline bird nesting.   Even though fractals work as an interpretation of geometrical units, I don't think they would describe things such as $kg^{1/2}$ very well. In addition, I've heard about white Gaussian noise that has square root time units.   What is the physical meaning of fractional units such as the above? (Since it obviously has little geometric meaning) Must $k$-subalgebra of $k[x]$ be finitely generated? Invalid characters for XML parsing in posthistory.xml from Stack Overflow We got the April 2011 data dump from Stack Overflow and, while trying to put everything into a database, we got      SyntaxError: reference to invalid character number: line 1105549, column 5445   in the middle of the posthistory.xml file. It seems that there are sets of characters (&amp;#xC I believe) within a few posthistory entries which break our XML parser.  Is there a solution besides manually changing all the C's? Usage of “when” or “while” in this context He left the house _ I was still sleeping   Would this sentence be better completed with when or with while? ASP.NET MVC JsonResult Date Format I have a controller action that effectively simply returns a JsonResult of my model. So, in my method I have something like the following:  return new JsonResult(myModel);   This works well, except for one problem. There is a date property in the model and this appears to be returned in the Json result like so:  "\/Date(1239018869048)\/"   How should I be dealing with dates so they are returned in the format I require? Or how do I handle this format above in script? Differentiable but not continuously differentiable. Given $f: \mathbb{R} \rightarrow \mathbb{R}$ defined as $$f(x)=\left\{\begin{array}{cc}x^2\sin\left(\frac{1}{x}\right)&amp;,x\neq 0\\ 0&amp;,x=0\end{array}\right\}.$$ I am trying to prove $f$ is differentiable at $x=0$ but not continuously differentiable there. Why don't gksu/gksudo or launching a graphical application with sudo work with Wayland? The new GNU Octave 4.0.1 was released March 23, 2016.  I would like to find some standard way to install it in El Capitan (mine OS X 10.11.3) because it has significantly better support in some functions than Matlab, discussed in the thread .  I do brew search octave and get  homebrew/science/octave    Caskroom/cask/octave       Caskroom/cask/xoctave       where one of the first two should be a correct one. The project's homepage  for OS X is down  about installing Octave on OS X systems.  There is also ruby's way of installing Octave described in the thread  but for Yosemite.  I would like to find some standard way of getting Octave for OS X.   I do successfully brew update and brew upgrade before the commands. My Homebrew is 0.9.5 (git revision 80d1; last commit 2016-03-24).  . I run brew info octave but I get  Error: No available formula with the name "octave"     How can you install Octave in some standard way for El Capitan? Screen resolution stuck at 1024x768 Time Manager (QGIS) date format I've been through associated answers but cannot quite seem to find something which works!  I'm having trouble getting TimeManager to recognise a simple data field (this is in QGIS2 - but I've had this error in earlier versions). I have these fields formatted in what appears to be one of the acceptable formats:    ... here is a screenshot of the field properties:    The format appears to be recognised in QGIS as I've worked out days difference between two dates (the "Time on Market" field shown in the image).  However ... I always end up with:   The Twitter.shp file works fine as a test, so I don't think this is an issue with the install / phyton conflict.  Any thoughts welcome! For example, rigid bodies and fluid. I know it's kind of possible by setting the rigid bodies as fluid obstacles, but it's not "true" interaction in that the fluid does not affect the rigid bodies...  By "true" interaction I mean where two (or more) physics systems affect each other simultaneously. For example, with rigid body and cloth, the rigid body affects the cloth but the cloth doesn't affect the rigid body (at least the way I'm doing it), so the rigid body just eventually stretches the cloth to an extreme and falls through...  Are there any ways to achieve this? (for any interaction, not just rigid bodies and fluid)  Or, if not, does anyone know whether there are any plans to implement this sort of feature?  Thanks How do I stop Outlook Out-Of-Office from replying to certain addresses? When I am out of the office, if I turn Out-of-Office on, it auto-replies to the automated emails I get from our Bug Tracking system, which leads to our Bug Tracking system getting full of message about my holiday.  With Outlook Out-of-Office, how do I set it to not respond to certain 'From' addresses? I see its something to do with the optional Rules in the O-o-O dialog, but its not that clear how to stop it from replying using the rules.  I'm on Outlook 2003 and Exchange 2003 but advice for any version will probably be useful to people. Video grid with vstack and hstack I've heard that ratios or inverses of random variables often are problematic, in not having expectations. Why is that? The title is the question. I am told that ratios and inverses of random variables often are problematic. What is meant is that expectation often do not exist. Is there a simple, general explication of that? GNU screen: Running commands in different window when screen is started How can I pass a class member function as a callback? I'm using an API that requires me to pass a function pointer as a callback. I'm trying to use this API from my class but I'm getting compilation errors.   Here is what I did from my constructor:  m_cRedundencyManager-&gt;Init(this-&gt;RedundencyManagerCallBack);   This doesn't compile - I get the following error:      Error  8 error C3867: 'CLoggersInfra::RedundencyManagerCallBack': function call missing argument list; use '&amp;CLoggersInfra::RedundencyManagerCallBack' to create a pointer to member   I tried the suggestion to use &amp;CLoggersInfra::RedundencyManagerCallBack - didn't work for me.   Any suggestions/explanation for this??  I'm using VS2008.  Thanks!! 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? Sex worker student offering her (lawful) services One of my students is an escort/stripper and she has offered me (and other faculty in my department) her "services". I am pretty sure my initial reaction of "thanks for letting me know, now can you answer the question about how to calculate the standard deviation", may not have been the best reaction. The offers have continued. My head of school is aware of the issue, and has asked if I want him to do anything.  Is the student doing anything wrong by offering her services to me? For what it is worth, prostitution is legal in the UK. Is this any different then a student telling me she works in a restaurant?  What is the correct response in a situation like this? I have a 3-wire  that looks like this:    I'm trying to wire it up to my Arduino to detect changes in weight. From what I understand, the changes in voltage are so small that the Arduino can't detect the changes without amplifying the voltage. So I bought an  at  that looks something this:    I found  that shows how to wire everything up. However, I can't figure out the schematic and why they are using two load sensors instead of just one. They also mention resistors but I'm not sure why they are using them (and why the sizes they chose), or where in the circuit to put them.  Can someone please help me figure out how to wire this thing up to detect changes in voltage? Also, is there a way to do this by using only one of these sensors? This is what I've done so far:    The amp also has some pins that I don't understand: Offset null, NC. What are these pins for? Should I be using them?  Update: Now I am working with an Instrumentation Amplifier (). I also now have a 4-wire load sensor that I am playing with. Still can't get it to work, but I thought I would try to understand that before moving to the 3-wire load sensor. I want the entries in the TOC for the indices to align with the Chapter entries. I can do this with \addcontents. \printindex also puts an entry in the TOC but it is aligned with the section entries.   So I want to:    change how printindex makes its entry into the TOC or  to eliminate printindex entry.   MWE:  \documentclass{book} \usepackage{multind}        % create the indices \makeindex{names}            \makeindex{subject} \newcommand{\Ndx}[1] { \index{names}{#1} }     % define the type of entry \newcommand{\Sdx}[1] { \index{subject}{#1} }   % to the indices \usepackage[headings]{fullpage}         % 8-1/2, 11 page with 1" margins \usepackage{fancyhdr} \pagestyle{fancy} \begin{document} \fancyhead{} \fancyfoot{} \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} \fancyhead[LE,RO]{\rightmark} \fancyhead[RE,LO]{\thepage} \tableofcontents        % put table of contents here  \chapter{\bf Logic, Plausibility, and Probability} \label{Ch:Logic} \section{Logical Arguments and Reasoning } It is obvious that logical arguments are essential to the judicial system. The logic must be able to treat syllogisms\Sdx{syllogism} that range from deductive\Sdx{syllogism!deductive} to abductive\Sdx{syllogism!abductive}, that is from strong to weak syllogisms \Sdx{syllogism!weak}\Sdx{syllogism!strong} as illustrated in the table taken from Author \Ndx{Author} \Ndx{Cohen} \Sdx{Cohen on probability} \clearpage \addcontentsline{toc}{chapter}{Subject Index} \printindex{subject}{Subject Index} \addcontentsline{toc}{chapter}{Name Index} \printindex{names}{Name Index} \end{document}