I recently browsed WooCommerce source, and it appears that they're doing this:  &lt;?php /**  * The template for displaying product content within loops.  *  * Override this template by copying it to yourtheme/woocommerce/content-product.php  *  * @author      WooThemes  * @package     WooCommerce/Templates  * @version     1.6.4  */    if ( ! defined( 'ABSPATH' ) )  exit; // Exit if accessed directly  global $product, $woocommerce_loop;   So I did some reading about checking if ABSPATH is defined - it appears to be used for security purposes.   However, I don't see _s theme ( developed by automattic ) doing anything with ABSPATH, so my question is - is this a plugin thing, a paranoid thing, a best security practice ? Who should be checking for ABSPATH ?   Should I check for ABSPATH in my theme files ? Custom function files ? Should I check at all ?
I've run across the following snippet in themes from time to time:  if ( ! defined('ABSPATH')) exit('restricted access');   It's at the beginning of some (all?) PHP files in a theme and it's supposed to prevent direct access of the file by nefarious sources.  I see that this isn't included in Twenty Ten or Eleven and I've never seen it recommended in official WordPress documentation. It seems like a good idea to me, but I also don't know enough about security to judge it and can't find much with Google.  Is this something I should have in my custom themes? If so, should it be in all PHP files or just some?
I have a shape (rounded rectangle) in PowerPoint 2007 of which I would like to increase the vertical size only (to illustrate de-bottlenecking). So, the width will stay the same but the height will grow (both from the top and bottom, so the centre will remain in the same location).  Custom Animation -> Emphasis only appears to change the whole shape.  Is it possible to increase only the vertical size (stretch the shape)?  This is during animation of the shape. Whats this white stuff on my board? I'm not an engineer, but my monitor stopped working yesterday (it just wouldn't display anything but still gets power) so I figured I'd like to take it apart and see what went wrong.  At the very least I'd get to see what the inside of a monitor looks like :).  Anyway, I took it apart, and also read around about my issue and it seems the capacitors have gone bad, at least some of them.  However, I also noticed some white elastic stuff all over the board.  Some of them are sticking two capacitors together and to the board, but I also see some from where power socket connects to the board.  My question is, what is the white stuff?  Should I replace all capacitors that have white stuff around it, and should I also replace the power socket part?  Or should I just replace the bulging capacitors and leave it at that?  UPDATE: I'm trying to send an E-mail message using Gmail to a contact group where some of the contacts have more than one E-mail address and I want to send the mail to all of them.   Is there a way for me to do that? I have a firewall with these simple rules:  iptables -A INPUT -p tcp -s 127.0.0.1/32 --dport 6000 -j ACCEPT iptables -A INPUT -p tcp -s 192.168.16.20/32 --dport 6000 -j ACCEPT iptables -A INPUT -p tcp --dport 6000 -j REJECT   Now, suppose I am using TCPDUMP like this:  tcpdump port 6000   And I have host 192.168.16.21 trying to connect to port 6000.  Will/should tcpdump output some packets coming from 192.168.16.21? Is “ ’s ” ever correct for pluralization? A relatively modern dictionary (I don’t know which one, because we’ve cut out the pages and used them as wallpaper in our bathroom, but I know it’s less than 20 years old) indicates that R’s is one correct pluralization of R, as is Rs, but whichever dictionary this is, it’s kind of a no-name brand, so I’m not sure I trust it.  I’ve always wondered what the best way was to pluralize single letters or numerals, like 2’s or 2s.  What’s correct? How Special Relativity causes magnetism How to prove or disprove following statement :     There are infinitely many primes of the form : $\lfloor \sqrt {3} \cdot n \rfloor $    Note: This is a problem I made myself.  There is a theorem that states :  $\lfloor nx \rfloor = \begin{cases}  n\lfloor x \rfloor, &amp; \text{if } 0 \leq \{x\} &lt; \frac{1}{n} \\  n\lfloor x \rfloor +1, &amp; \text{if } \frac{1}{n} \leq \{x\} &lt; \frac{2}{n} \\  n\lfloor x \rfloor +2, &amp; \text{if } \frac{2}{n} \leq \{x\} &lt; \frac{3}{n} \\  \vdots \\  n\lfloor x \rfloor +n-1, &amp; \text{if } \frac{n-1}{n} \leq \{x\} &lt; 1 \\ \end{cases}$  where $\{x\}$ is a non-integer part of $x$ .  Hence :  $\lfloor \sqrt{3}\cdot n \rfloor = \begin{cases}  n, &amp; \text{if } 0 \leq \sqrt{3}-1 &lt; \frac{1}{n} \\  n +1, &amp; \text{if } \frac{1}{n} \leq \sqrt{3}-1 &lt; \frac{2}{n} \\  n +2, &amp; \text{if } \frac{2}{n} \leq \sqrt{3}-1 &lt; \frac{3}{n} \\  \vdots \\  2n-1, &amp; \text{if } \frac{n-1}{n} \leq \sqrt{3}-1 &lt; 1 \\ \end{cases}$  How can I proceed from here ? How to work with iAds using xcode 3.1.3 Using a non-centralized structure for tex files - similar to \graphicspath I'm running Drush on a host that has multiple versions of PHP installed. By default, php --version would give you 5.2.x, but php53 and php54 are also available. So in my .bash_profile I have alias php='php53' (php --version = 5.3.13), which makes Drush work for some commands.  However, I still get "Your command line PHP installation is too old. Drush requires at least PHP 5.3.2" messages for some very useful commands.  A couple of really annoying instances:   drush pm-update will report that it has backed up and then updated all modules and core successfully, then return the PHP version error and restore all backups. In verbose mode, the command that comes before the error is: php /home/[username]/drush/drush.php  --backend=2 --verbose --root=/home/[username]/webapps/drup --uri=http://[domain name]  pm-updatecode-postupdate 2&gt;&amp;1 drush archive-dump will immediately return the PHP version error   The other commands I have tried so far work fine. I'm not sure why this would be, if Drush is sometimes using the php53 binary, and other times not, or if it just has trouble detecting the version correctly, but some very important features are broken for me. Where does the energy for osmosis come from? A thought experiment:     A U-shaped tube with semi-permeable membrane at the base. The tube is completely thermally isolated from its surroundings. The liquid (solvent) is at some temperature $T$. When solute is added to one side of the tube the fluid level on that side rises until the increased pressure due to gravity ($\rho gh$) equals the osmotic pressure.   If I understand correctly, osmotic pressure could be used to do work (i.e. lift a weight as the solvent level in one side of U-shaped tube increases). Where does this energy come from? I guess it must be from the internal energy of the fluid.  At this point has the temperature of the fluid decreased?? If so, has it decreased by exactly the work done against gravity divided by the specific heat of the fluid? What does the quantitative treatment of this problem look like? New 16GB of RAM installed yet I see 15.3 on my system. Why? Just switched 4GBs to 16GBs of RAM. However, when I look at how much memory I have, it says 15.3. I'm just wondering why did my memory drop down when I just installed 16 GBs of RAM. Lock time not involved in MySQL slow query selection? I wish to analyze some read-write contentions problems on a very huge table where writes are very fast, less than 1ms in most case. The point is that the contention makes those write queries sometimes wait for the lock for a long time, i.e. hundreds of milliseconds. But the query itself remains very fast so it's not selected as a "slow query", which threshold is actually 10ms.  The only way to gather the information I need is to put à 0ms threshold so I can capture all queries, but it's not sustainable for more than 10mn on our production environment, where it would produce about 200MB of logs per minute.  In fact I can't understand why MySQL don't include the lock time, added to the execution time, for the slow query log selection process. At least, I wish there were an option for that.  Am I missing something ? consider the following subsets of complex plane $$\Omega_1=\left\{c\in\Bbb C:\begin{bmatrix}1&amp;c\\\bar c&amp;1\\ \end{bmatrix}\text{ is non-negative definite } \right\} $$  $$\Omega_2= \left\{c\in\Bbb C:         \begin{bmatrix}         1 &amp; c &amp; c \\         \bar c &amp; 1 &amp; c \\         \bar c &amp; \bar c &amp; 1 \\         \end{bmatrix} \text{ is non-negative definite } \right\}$$  Let $$\bar D=\{z\in\Bbb C:|z|\le1\}$$ Then 1) $\Omega_1=\bar D,\Omega_2=\bar D$  2). $\Omega_1\neq\bar D, \Omega_2=\bar D$  3). $\Omega_1=\bar D, \Omega_2\neq\bar D$  4). $\Omega_1\neq\bar D, \Omega_2\neq\bar D$  How to proceed? Thank you. I need to refer to a model described elsewhere, from a section title, like  \section{Analysis of model X}    One way of referring to a model is to create a new counter, and then write  \section{Analysis of \cref{grandmodelofeverything}}   But now hyperref will complain because of invalid token, and it does not look good in the TOC either, especially since the titles of the sections the describe the models are more descriptive than  \section{Model 1}   They are currently like  \section{Adding the effect from Y processes}   Do I need to invent semi-descriptive long names like "The model by Authors with this modification" or can I live with these quirks? Tagging best practices I am wondering what I should do when tagging a question that fits multiple tags, in the particular case were the question might belong to general as well as more specific tags.  Let me give you an example to illustrate this:  Let's say I have a question about ASP.NET MVC 3.0 and I use C# as my main language.  The following tags could apply:   c# .net .net-4.0 asp.net asp.net-4.0 asp.net-mvc asp.net-mvc-3   Tagging with C# might make .NET redundant (I don't think C# is used anywhere else outside of the .NET scope), and tagging with  certainly makes  and  redundant. However, my question would get a better visibility with tags such as ,  and , as probably no one browses a tag as specific as .  How shall I tag my questions? Using more general or more specific tags, or a mix of the two? What kind of rhetoric is (this particular) "No one ever [...]" The President also knows that we have to stop blaming victims for these crimes.  No one ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing?  What did you say?  Did you offend someone?  We encourage people to come forward.  We don't have to explain why someone took our money.     I think the "No one ever [...]" claim is literally false, and actually obviously so. So, I understand it to mean:          The President also knows that we have to stop blaming victims for these crimes.  No one in their right mind ever asks the person who got robbed at gunpoint in the street -- why were you there, what were you doing, what were you wearing?  What did you say?  Did you offend someone?  We encourage people to come forward.  We don't have to explain why someone took our money.      Supposing that I am right, what is this kind of rhetoric called? I would appreciate it if someone could refer me to a proof (or simply give one here) for the statement in the title. That is:  If $k&lt;n$, then every $k-$dimensional subspace of $\mathbb{R}^{n}$ has $n-$dimensional Lebesgue measure zero.  I've seen some proofs that use Sard's lemma but I'm not really familiar with that subject and I've never seen a proof of said lemma so I'd appreciate a proof that doesn't use it if possible.  Thanks in advance! Prove a differentiable function between banach spaces is continuous I really don't know where to start with this problem. It intuitively makes sense from basic calculus knowledge but I have absolutely no clue how to show it. , $n^2 + 3n +5$ is not divisible by $121$ Question:  Show that $n^2 + 3n + 5$ is not divisible by $121$, where $n$ is an integer.