is framerate the same for video as for photo?
Why don't digital cameras shoot video at full sensor resolution, or do continuous drive at video framerates?
Why is there no chat in the footer on Stack Overflow like on other sites? How precisely do I need to post close to 7:00 (somewhere) to get hero of time? Timezones... are complicated. We have full hour offsets, half hour offsets...  And time keeping isn't always accurate. So does the Hero Of Time hat assume full or half hour offsets (or literally any timezone) and how close to 7:00 at somewhere do I have to post for my hat? I have a question regarding selections in ArcGIS for Desktop. Assumed I have one layer in ArcMap and I have selected two of five features.   Is it possible to get a list of all selected features by using Python?   It would be fine if there is a way to get one special (or all) attribute(s) of the selected features stored in a list that can be written into a txt file.  Is it possible to do this in ArcGIS for Desktop? php String Concatenation, Performance In languages like Java and C#, strings are immutable and it can be computationally expensive to build a string one character at a time.  In said languages, there are library classes to reduce this cost such as C# System.Text.StringBuilder and Java java.lang.StringBuilder.  Does php (4 or 5; I'm interested in both) share this limitation?  If so, are there similar solutions to the problem available? What algorithm(s) are used by MoleculeModify's GenerateConformers? zeros of a polynomial Given $P(z)=z^6+6z+10$, find how many roots are in each quadrant    I have already seen that $P(z)$ has six different roots, and that none of them are real or of the form $ki$, $k\in \Bbb R$. Since the coefficients of $P(z)$ are real, then it's roots are 3 conjugate pairs, and therefore the possibilities are limited to two.  Defining $f(z)=z^6$, $g(z)=z^6+6z+10$ and applying Rouche in $|z|&lt;2$, $|f(z)-g(z)|&lt;|f(z)|$ I get that all roots are contained in the disc, but how do I go about splitting them into the four quadrants? From what I know about this polynomial, finding zeros in one quadrant is enough to determine the rest, but I'm stuck trying to apply rouche to a quarter circle (basically I'm having trouble finding a suitable f and g) No room for a new \dimen I have this error message:  ! No room for a new \dimen . \ch@ck ...\else \errmessage {No room for a new #3}                                                 \fi   which I can not find a cure for. Imagine your college buddy is now running a multi-billion dollar company, while you're still stuck at the same white-collar day job 5 years after graduation. You chat with him and want to express the idea that you're happy for him and fancy having his lifestyle--something like "I wish I could buy a yacht and cruise around the world like you do; I'm glad you're doing really well!"  Basically, it's the feeling of envy when you take out the resentment from it. Is there a word for it?   (I thought about "admire", but found it too strong and broad) HTML Element Array, name="something[]" or name="something"? When is the past perfect exactly needed? I would like to know how I can get the value of a node with the following paths:   config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username config/global/resources/default_setup/connection/password config/global/resources/default_setup/connection/dbname   from the following XML:  &lt;?xml version="1.0"?&gt; &lt;config&gt;     &lt;global&gt;         &lt;install&gt;             &lt;date&gt;&lt;![CDATA[Tue, 11 Dec 2012 12:31:25 +0000]]&gt;&lt;/date&gt;         &lt;/install&gt;         &lt;crypt&gt;             &lt;key&gt;&lt;![CDATA[70e75d7969b900b696785f2f81ecb430]]&gt;&lt;/key&gt;         &lt;/crypt&gt;         &lt;disable_local_modules&gt;false&lt;/disable_local_modules&gt;         &lt;resources&gt;             &lt;db&gt;                 &lt;table_prefix&gt;&lt;![CDATA[]]&gt;&lt;/table_prefix&gt;             &lt;/db&gt;             &lt;default_setup&gt;                 &lt;connection&gt;                     &lt;host&gt;&lt;![CDATA[localhost]]&gt;&lt;/host&gt;                     &lt;username&gt;&lt;![CDATA[root]]&gt;&lt;/username&gt;                     &lt;password&gt;&lt;![CDATA[pass123]]&gt;&lt;/password&gt;                     &lt;dbname&gt;&lt;![CDATA[testdb]]&gt;&lt;/dbname&gt;                     &lt;initStatements&gt;&lt;![CDATA[SET NAMES utf8]]&gt;&lt;/initStatements&gt;                     &lt;model&gt;&lt;![CDATA[mysql4]]&gt;&lt;/model&gt;                     &lt;type&gt;&lt;![CDATA[pdo_mysql]]&gt;&lt;/type&gt;                     &lt;pdoType&gt;&lt;![CDATA[]]&gt;&lt;/pdoType&gt;                     &lt;active&gt;1&lt;/active&gt;                 &lt;/connection&gt;             &lt;/default_setup&gt;         &lt;/resources&gt;         &lt;session_save&gt;&lt;![CDATA[files]]&gt;&lt;/session_save&gt;     &lt;/global&gt;     &lt;admin&gt;         &lt;routers&gt;             &lt;adminhtml&gt;                 &lt;args&gt;                     &lt;frontName&gt;&lt;![CDATA[admin]]&gt;&lt;/frontName&gt;                 &lt;/args&gt;             &lt;/adminhtml&gt;         &lt;/routers&gt;     &lt;/admin&gt; &lt;/config&gt;   Also I want to assign that value to the variable for further use. Let me know your idea. How do I prevent the blank screensaver when using keyboard shortcut to lock the computer? This question is a result of having too much free time years ago during military service. One of the many pastimes was playing tic-tac-toe in varying grid sizes and dimensions, and it lead me to a conjecture. Now, after several years of mathematical training at a university, I am still unable to settle the conjecture, so I present it to you.  The classical tic-tac-toe game is played on a $3\times3$ grid and two players take turns to put their mark somewhere in the grid. The first one to get three collinear marks wins. Collinear includes horizontal, vertical and diagonal lines. Experience shows that the game always ends in a draw if both players play wisely.  Let us write the grid size $3\times3$ as $3^2$. We can change the edge length by playing on any $a^2$ grid (where each player tries to get $a$ marks in a row on the $a\times a$ grid). We can also change dimension by playing on any $a^d$ grid, for example $3^3=3\times3\times3$. I want to understand something about this game for general $a$ and $d$. Let me repeat: The goal is to make $a$ collinear marks.  I assume both players play in an optimal way. It is quite easy to see that the first player wins on a $2^d$ grid for any $d\geq2$ but the game is a tie on $2^1$. The game is a tie also on $3^1$ and $3^2$, but my experience suggests that the first player wins on $3^3$ but the game ties on $4^d$ for $d\leq3$. It seems quite credible that if there is a winning strategy on $a^d$, there is one also on $a^{d'}$ for any $d'\geq d$, since more dimensions to move in gives more room for winning rows.  to a related question tells that for any $a$ there is $d$ so that there is a winning strategy on $a^d$.  This brings me to the conjecture:     There is a winning strategy for tic-tac-toe on an $a^d$ grid if and only if $d\geq a$. (Refuted by TonyK's answer below.)   Is there a characterization of the cases where a winning strategy exists? It turns out not to be as simple as I thought.  To fix notation, let $$ \delta(a)=\min\{d;\text{first player wins on }a^d\} $$ and $$ \alpha(d)=\max\{a;\text{first player wins on }a^d\}. $$ The main question is:     Is there an explicit expression for either of these functions?   Or decent bounds?   Partial answers are also welcome.   Note that the second player never wins, as was discussed in .    A remark for the algebraically-minded: We can also allow the lines of marks to continue at the opposite face when they exit the grid; this amounts to giving the grid a torus-like structure. Now there are no special points, unlike in the usual case with boundaries. Collinear points on a toric grid of size $a^d$ corresponds to a line (maximal collinear set) in the module $(\mathbb Z/a\mathbb Z)^d$. (If $a$ is odd, then $a$ collinear points in the mentioned module add up to zero, but the converse does not always hold: the nine points in $(\mathbb Z/9\mathbb Z)^3$ with multiples of three as all coordinates add up to zero but are not collinear.) This approach might be more useful when $a$ is a prime and the module becomes a vector space. Anyway, if this version of the game seems more manageable, I'm happy with answers about it as well (although the conjecture as stated is not true in this setting; the first player wins on $3^2$). Expression Functions for Lightning Web Components How can expression functions similar to Visualforce and Lightning Aura Components be achieved within lightning web components?   For example, &lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt; expression index % 5 == 0 is not compyling at all.  accountList.html  &lt;template&gt;     &lt;template if:true={accounts.data}&gt;         &lt;template for:each={accounts.data} for:item='item' for:index='index'&gt;             &lt;!--LWC DOES NOT SUPPORT EXPRESSION FUNCTIONS--&gt;             &lt;!--&lt;template if:true={index % 5 == 0}&gt;&lt;br&gt;&lt;/template&gt;--&gt;             {item}         &lt;/template&gt;     &lt;/template&gt; &lt;/template&gt;   accountList.js  import {LightningElement, wire} from 'lwc'; import getAccounts from '@salesforce/apex/TestController.getAccounts';  export default class AccountList extends LightningElement {      @wire(getAccounts) accounts;  }   Since LWC doesn't support Expression Functions, I'd like to know how to implement them. What is the difference between 'sudo' and 'su -c' Placing listing and figure side by side in memoir I have multiple Amazon EC2 accounts and want to quickly be able to switch variables, such as $EC2_HOME, using a script.  I have have a shell script set up like this:  #!/bin/sh export EC2_HOME=/home/me/.ec2 echo $EC2_HOME   When I run the script I know that EC2_HOME is set, but I thought that using export would make the variable stick around after the script completed. It does not, as running echo $EC_HOME does not show anything.  I know this must be very rudimentary Linux scripting knowledge, but I don't know it. I tried looking for related questions without luck - so my apologies if this is a duplicate. Share wireless Internet connection through ethernet I want to share the wireless Internet connection on my desktop with my old laptop, through ethernet.  I have ticked the option "Make available to others" on both connections, on my desktop, but my laptop doesn't connect. Am I doing something wrong or is it a bug? $\int_{\frac{1}{3}\pi}^{\frac{2}{3}\pi} {\sin(x)\;dx}$ using Riemann sums? Backgrounder:  The  (Pointer to IMPLementation) is a technique for implementation hiding in which a public class wraps a structure or class that cannot be seen outside the library the public class is part of.  This hides internal implementation details and data from the user of the library.  When implementing this idiom why would you place the public methods on the pimpl class and not the public class since the public classes method implementations would be compiled into the library and the user only has the header file?  To illustrate, this code puts the Purr() implementation on the impl class and wraps it as well.  Why not implement Purr directly on the public class?  // header file: class Cat {     private:         class CatImpl;  // Not defined here         CatImpl *cat_;  // Handle      public:         Cat();            // Constructor         ~Cat();           // Destructor         // Other operations...         Purr(); };   // CPP file: #include "cat.h"  class Cat::CatImpl {     Purr(); ...     // The actual implementation can be anything };  Cat::Cat() {     cat_ = new CatImpl; }  Cat::~Cat() {     delete cat_; }  Cat::Purr(){ cat_-&gt;Purr(); } CatImpl::Purr(){    printf("purrrrrr"); }