residual normality test in R
Non-normality in residuals
Are partitions to the inner/outer edge significantly faster Some linux dual/multi-boot tutorials / general partitioning tutorials say that the inner side of a hard disk is faster than the outer side so partitions towards the outside tend to be slower while some say that the exact opposite is true.  Which side is actually faster?  Is the difference noticeable?  How are the partitions physically placed on the disk as compared to the partition listing order-for example gparted shows a logical ribbon layout of the partitions. Are the partitions shown to the left side of this ribbon near the outer or inner edge of the disk physically?  Are there software benchmarks like testing some disk intensive stuff for the first time on identical vanilla installs of the same OS but on different partitions, inner and outer?  EDIT: Links   ctrl + f for "slower" on this page   Says outer side is faster   Says inner side is faster   Says outer side is faster(not about dual-booting) A line is drawn through the point $A(1,2)$ to cut the line $2y=3x-5$ in $P$ and the line $x+y=12$ in $Q$. If $AQ=2AP$, find the coordinates of $P$ and $Q$.  I found the lengths of the lines $AQ$ and $AP$ in terms of $x$ and $y$ and used $AQ=2AP$ to get this equation $11x^2-40x-16=0$  Working: $AP=\sqrt{(x-1)^2+(\frac{3}{2}x-\frac{9}{2})^2}=\sqrt{\frac{1}{4}(13x^2-62x+85)}$  $AQ=\sqrt{(x-1)^2+(-x+10)^2}=\sqrt{2x^2-22x+101}$  $AQ=2AP\Rightarrow \sqrt{2x^2-22x+101}=2\sqrt{\frac{1}{4}(13x^2-62x+85)}$  $\Rightarrow 2x^2-22x+101=13x^2-62x+85\Rightarrow 11x^2-40x-16=0$  Using the quadratic formula I found $x=4,x=-\frac{4}{11}$  I then substituted these values into the two equations in the question to get the coordinates $(4,\frac{7}{2}),(-\frac{4}{11},-\frac{15}{11})$ or $(4,8),(-\frac{4}{11},\frac{136}{11})$  But the answers in the book are $(4,\frac{7}{2}),(7,5)$ or $(\frac{2}{5},-\frac{19}{10}),(\frac{11}{5},\frac{49}{5})$  I don't know where I went wrong in my method.  Edit: Found some errors in my method and calculation.  Using $x=4$ in $2y=3x-5$ gives $P(4,\frac{7}{2})$  Line with points $AP$ has equation $y-2=\frac{\frac{7}{2}-2}{3}(x-1)\Rightarrow y=\frac{1}{2}x+\frac{3}{2}$  $Q$ lies on the same line. Therefore, the intersection between $y=\frac{1}{2}x+\frac{3}{2}$ and $y+x=12$ is the point $Q$. Working: $\frac{1}{2}x+\frac{3}{2}=-x+12\Rightarrow x=7$ Therefore, $y=-7+12=5$. Point Q has coordinates $(7,5)$.  But $x=-\frac{4}{11}$ is not the other $x$ coordinate of $P$ according to the answers in the book. I have no idea where I went wrong at this point. I'm trying to parse an INI file using C++. Any tips on what is the best way to achieve this? Should I use the Windows API tools for INI file processing (with which I am totally unfamiliar), an open-source solution or attempt to parse it manually? unicode-math broken Sum of First $n$ Squares Equals $\frac{n(n+1)(2n+1)}{6}$ What is the best base to use? Prevent iMac from sleeping, for VPN login? We have an iMac in the office, and I have been getting inconsistent access when trying to log in to it. The firewall isn't going down, since I can connect to the VPN. After discussing it with the people at the office, we suspect that the iMac is going to sleep.   Is it possible to keep the iMac "awake" 24 hours a day? How do I instruct the people at the office to configure the iMac? What settings should be changed? The iMac is running OS X Lion 10.7.3. Hello Physics StackExchange!  I will put the TL;DR in the beginning: I need a self contained, relatively hand-holding sequence of textbooks that covers up from the end of Griffith's Intro to QM to relativistic QM/particle physics to QFT.    This will be my first post. I'm a medical physics grad student who majored in biomedical engineering for my undergrad, with serious regrets about not doing math/physics double major in hindsight. Oh well. I've made it my goal to eventually understand QFT.  My background in relevant subjects is Calc 1 to 3 and Diff EQ, 2 part freshman physics, an E&amp;M course that used Griffiths Electrodynamics, a summer of self studying Griffith's QM (got most of the way through). I will also be officially taking a class in QM using Griffith's textbook this next spring. I am aware of the Lagrangian and Hamiltonian approaches to mechanics as well. In addition I have familiarity with special and basic general relativity using tensors and all this. What would be the best way for me to get from where I am now to a strong understanding of QFT autodidactically? I have no aversion to studying pure maths where I need to.  EDIT: My question is much different than simply asking for a handholding explanation of QFT. Generally these textbooks assume a certain amount of physics/math background, and I was asking for a sequence of textbooks leading up to QFT from the end of a specific textbook, Griffith's QM. Did you even read my question? Did you read the thing you linked me to? How to set a command block with a command inside using the setblock command Does someone know how to set a command block with a command inside using the setblock command?  I have created this code /setblock &lt;x&gt; &lt;y&gt; &lt;z&gt; command_block {TileEntityData:{Command:"testfor @p[_=1]"}} but it doesn't works.  Do someone know how to do that? I have a filter using pre_get_posts to change the number of posts per page from 4 on the news landing page to 8 on all other pages (page 2, 3, etc). However I don't seem to have got the offset correct, or something, because my get_next_posts_page_link doesn't show a page 3, even though it does exist if I go to the url manually. The current offset is something I somehow managed to conjure up accidentally, I thought it worked as page 2 was correct but as I added more test posts, I realised it didn't work.  function page_2_posts_per_page_filter( $query ) {      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;      if ( !is_admin() &amp;&amp; $query-&gt;is_paged &amp;&amp; $query-&gt;is_main_query() ) {          $offset = 4 + (($paged - 2) * 8);         $query-&gt;set( 'offset', $offset );         $query-&gt;set( 'posts_per_page', 8 );      } else if (!is_admin() &amp;&amp; $query-&gt;is_main_query()) {          $query-&gt;set( 'posts_per_page', 4 );      }     return; } add_action( 'pre_get_posts', 'page_2_posts_per_page_filter', 1 );   EDIT: SOLUTION  function page_2_posts_per_page_filter( $query ) {      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;     $offset = 4;      if ( !is_admin() &amp;&amp; $query-&gt;is_paged &amp;&amp; $query-&gt;is_main_query() ) {          $offset = (($paged - 1) * 8) - $offset;         $query-&gt;set( 'posts_per_page', 8 );         $query-&gt;set( 'offset', $offset );      } else if (!is_admin() &amp;&amp; $query-&gt;is_main_query()) {          $query-&gt;set( 'posts_per_page', 4 );      }     return; } add_action( 'pre_get_posts', 'page_2_posts_per_page_filter');  function found_offset( $found_posts, $query ) {      $offset = 4;      if( !is_admin() &amp;&amp; $query-&gt;is_main_query() ) {         $found_posts = $found_posts + $offset;     }     return $found_posts; } add_action( 'found_posts', 'found_offset', 10, 2 ); How can I make content disappear when a user logs in? I am working in Wordpress, and I would like to make certain elements disappear once a user logs in. How can I do this?  I have social icons on my page that I positioned to the center of my menu bar at the top of my website.  those icons are generated by a plugin  that is what i want to disappear WordPress Installation Failed I am trying to install Wordpress on Lubuntu. I followed the instructions . Including PHP Apache and MySQL setups. Apache and MySQL appear to be running fine.  However, when I go to http://localhost/blog/, I get the following error:     Neither /etc/wordpress/config-localhost.php nor /etc/wordpress/config-localhost.php could be found.   Ensure one of them exists, is readable by the webserver and contains the right password/username. Having links relative to root? SQL Coalesce in WHERE clause I'm trying to implement optional parameters in a stored procedure that I have but I am running into a problem. Here's a simplified query to illustrate the issue:  SET ANSI_NULLS OFF  DECLARE @MiddleName VARCHAR(20); SET @MiddleName = NULL;  SELECT * FROM [Customer] WHERE [LastName] = 'Torres' AND [MiddleName] = COALESCE(@MiddleName, [MiddleName])   When I run this query I need to get one row back because one Torres has NULL in the [MiddleName] column. But the query returns zero rows. Using IFNULL() produces the same result. From researching COALESCE, I was under the impression that NULL would be returned if all expressions are NULL. As I am not a SQL expert I assume that I am missing something, but what is it.....  Thanks in advance for any help. Change Default Scrolling Behavior of UITableView Section Header The "correct" way to write a set without a specific element is as follows: $S \setminus \{s\}$  But in some contexts this is cumbersome to write/type or read, and it detracts from the flow of the writing. Is it acceptable to just use $S \setminus s$?  Edit: By "cumbersome" i mean they look bad when you're trying to inline formulas in LaTeX. Workaround for Android 4.4 not being able to write to SD cards? Is there any way to ensure that a specific USB key always gets the same drive letter? I have basic programming skills (I program simple vba python and lisp scripts and had gone through a java course a long time ago), but it seems to me (judging by ESRI publications) that there is no escaping the need to learn .NET for future relevance in the GIS job market (even as an analyst). I've gone through a basic c# course and can program (regrettably) quite poor programs, but I have no idea how to link the c# knowledge to actually programming for ArcGIS in order to progress.  I know the differences aren't big, but does ArcGIS use .NET or C#?  I know the best way to further my experience in .NET is to program more and more but are there any good .NET programming books or courses I can learn techniques from?  In your opinion, what is the best way to learn to program in .NET for ArcGIS? Are there any useful books or websites?   I seek your comments regarding ArcGIS 10 (and will be saving them for later) but also for ArcGIS 9.3.1. Each time I changed and saved .config/user-dirs.dirs, and after restarted the system, the XDG_DOWNLOAD_DIR are reverted:  diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 8f6e2db..dcff34e 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs @@ -7,11 +7,9 @@  #   XDG_PUBLICSHARE_DIR="$HOME/public"  XDG_TEMPLATES_DIR="$HOME/public/template" -  XDG_DESKTOP_DIR="$HOME/private/desktop"  XDG_DOCUMENTS_DIR="$HOME/private/doc"  XDG_PICTURES_DIR="$HOME/private/picture"  XDG_MUSIC_DIR="$HOME/private/music"  XDG_VIDEOS_DIR="$HOME/private/video" - -XDG_DOWNLOAD_DIR="$HOME/var/downloads" +XDG_DOWNLOAD_DIR="$HOME/"   How to make my changes permanent?