Is it wrong to fully charge your android phone in general to 100% will it hurt battery life? and is it also to drain your battery to below 20% will it also hurt the battery life?
The comments in  say that I shouldn't wait until low battery charge level before I charge, because that reduces battery life (this is contrary to my understanding before that the faster we charge (without waiting for battery to discharge) the worse it will be for battery life). My question is, when I should generally start charging to avoid this effect? 20%?   Interesting question: If we always limit the usage of the battery only 20% and above, won't we, in effect, reduces our battery capacity to 80%, because we will only use the battery in 20%-100% state?
If we remove the square in the upper right corner of a $8\times 8$ chessboard.  The question is: Is it possible to cover the entire remaining area, with $1\times 3$ chocolate bars? (they can be laid on the chessboard vertically and horizontally aswell)  For the answer: We know that there will be $63$ squares left on the chessboard, of which $32$ are white and $31$ are black, since the one in the upper right corner was black. $63$ is divisible by $3$, so it could be possible to cover the area, but that doesn't prove that an arrangement exists to do it. I'm not sure how to continue and am seeking help. Thanks. Use the view from other cameras in the scene as VideoTexture in Cycles I have a scene with monitors that display video from cameras in the same scene (or other scenes, but all of them are linked i.e., same objects in the scene). The cameras shown on the monitors do not view the monitors, so no looping should occur.  I found  that shows how to get the effect in the Game Engine.  I would like to do this in cycles.  Essentially I would like a material input node that corresponds to the output of the composition of a particular scene. The incoming image should honor the render settings of the particular scene and any compositing applied to it.  The Render Layer node does not appear to honor the resolution or compositing settings of the scene it comes from, and is not available to apply as a texture in the material node editor (that I can find).  I understand that this could be done by rendering the animation from the various cameras, then applying that video as textures to the monitors, then rendering the camera of the monitors. That's super tedious if your making changes to the whole scene, and I don't want to do that. Multiple submit buttons in an HTML form Let's say you create a wizard in an HTML form. One button goes back, and one goes forward. Since the back button appears first in the markup when you press Enter, it will use that button to submit the form.  Example:    &lt;form&gt;   &lt;!-- Put your cursor in this field and press Enter --&gt;   &lt;input type="text" name="field1" /&gt;    &lt;!-- This is the button that will submit --&gt;   &lt;input type="submit" name="prev" value="Previous Page" /&gt;    &lt;!-- But this is the button that I WANT to submit --&gt;   &lt;input type="submit" name="next" value="Next Page" /&gt; &lt;/form&gt;     I would like to get to decide which button is used to submit the form when a user presses Enter. That way, when you press Enter the wizard will move to the next page, not the previous. Do you have to use tabindex to do this? Users with less than 50 reputation points cannot write comments on questions and answers that they don't own.  Why does this limit exist? But I want to contribute now. What should I do instead? But I can't write a good answer without more information! Shouldn't I be allowed to post comments if I have reputation on a different site? But I saw a new user posting a comment! How did they do it? Why do I need 50 reputation to comment on my own post?   See also:    in the Help Center I'm trying to make taint spread to a certain area in my world, as in, to a small NPC structure. Is there any way I can do this? I even tried using MCEdit to set the biome, but there's no "enter biome ID" thing, and Tainted Land isn't listed. So, as the title read I happened to overstayed my Schengen visa for 6 months does anyone know what the consequences could be. If I wanted to return back to Saudi Arabia. Get the raw HTML of selected content using javascript Biometric information for a UK visitor visa for the second time I submitted my biometric information when I applied for (and successfully received) the UK visitor visa.  Now, the visa has expired and I would like to apply for it again.   Do I need to submit my biometric information again?  Will the process be the exact same as before? Proof that the coefficients in an OLS model follow a t-distribution with (n-k) degrees of freedom mysqli or PDO - what are the pros and cons? In our place we're split between using mysqli and PDO for stuff like prepared statements and transaction support. Some projects use one, some the other. There is little realistic likelihood of us ever moving to another RDBMS.  I prefer PDO for the single reason that it allows named parameters for prepared statements, and as far as I am aware mysqli does not.  Are there any other pros and cons to choosing one over the other as a standard as we consolidate our projects to use just one approach? Suppose $\mu(X)&lt;\infty$. Show that if $\ f\in\ L^q(X,\mu)$ for some $1\le q&lt;\infty$ then $\ f\in\ L^r(X,\mu)$ for $1\le r&lt;q$   In the solution the assistant wrote this:  If $1\le r&lt;q$ then $q/r\ge 1$. Let p be the dual exponent to $q/r$ (i.e. $\frac{1}{q/r}+\frac{1}{p}=1)$  then by Hölder Inequality  $\int_{X}|f|^rd\mu\le\underbrace{(\int_{X}|f|^qd\mu)^{r/q}}_{??????}(\int_X1^pd\mu)^{1/p}&lt;\infty$  for me the middle part doesn't make sense (it is not the hölder inequality) can somebody show it ?  instead of this can't we say (only in this case) that   $\int_{X}|f|^rd\mu\le (\int_{X}|f|d\mu)^r$ then  $(\int_{X}|f|d\mu)^r\le ((\int_{X}|f|^qd\mu)^{1/q}(\int_X1^pd\mu)^{1/p})^r&lt;\infty$  ? Why WordPress choose data serialization over json_encode? In my little age with WordPress, I've seen WordPress itself and its friendly plugins are using PHP serialize() in storing data into db in many cases. But in a recent search I found a serious community support for the json_encode() over the serialize().     And I personally tested an associative array with both of 'em, that shows:  serialize() stores 342 chars json_encode() stores 285 chars  Why I'm asking this? I'm on a project while I'm going to store repeating meta fields to a post. Where:  Data would be basically in English, but sometimes can be Bengali Data would be associative array, 3 level deep (I hope I understood levels correctly):   array(     1 =&gt; array(         'key'=&gt;'value',         'key2'=&gt;'value'     ),     2 =&gt; array(         'key'=&gt;'value',         'key2'=&gt;'value'     ) )  I've checked the postmeta table's meta_value field it's a longtext,  a length of 4,294,967,295 chars (4GB). So I need a robust solution into storing things. Should I use #define, enum or const? Looking for an intuitive explanation why the row rank is equal to the column rank for a matrix Compactness of $A:=${$f \in C[0,1], |f|_\infty \le K, |f'|_\infty \le M$} Here we use infinity norm as metrics for $C[0,1]$. The professor claims that this set is compact. I can show this set is relative compact by Arzela Ascoli, i.e., for each subsequence there is a further sub-subsequence that uniformly converges to a continuous function on $[0,1]$. But it is not intuitive to me why this set is compact, i.e. the limiting function also satisfies $|f'|_\infty \le M$. Is it true that $A$ is close and therefore compact? Let's say I write a mine.service file. Then I use systemctl enable mine.service.  If I later decide to edit mine.service, do I have to tell systemd that mine.service was changed? If so, how do I do that? Configure Postfix to use external MX servers for delivery of local mail if user is unknown When I parent mesh to an armature (automatic weights), the mesh "jumps" forward a bit. If I select armature and switch to edit mode it "jumps" backward a bit.   Why is it happening and how can I fix it? I already applied location, rotation, and scale to the mesh and armature, but it didn't help.  Thank you in advance! The following MWE compiles (for me)  \documentclass{article}  \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{external} \tikzexternalize[prefix=figures/externalized/]   \begin{document} \begin{figure}     \centering     \begin{tikzpicture}          \begin{axis}  %           \addplot3[surf,mesh/rows=129,mesh/cols=129,mesh/ordering=y varies] table[x=X,y=Y,z=psi] {figures/data/LidDrivenCavity/Lid_SPIKE_128x128_Re1000_psi.dat};              \addplot3[contour gnuplot,mesh/rows=129,mesh/cols=129,mesh/ordering=y varies] table[x=X,y=Y,z=psi] {figures/data/LidDrivenCavity/Lid_SPIKE_128x128_Re1000_psi.dat};          \end{axis}      \end{tikzpicture}     \caption{ciao} \end{figure} \end{document}   where the data file is . If I de-comment the first \addplot3 and comment the second one, then I get an error. The final part of the log file (the interesting one, I think) is  ===== 'mode=convert with system call': Invoking 'pdflatex -shell-escape -halt-o n-error -interaction=batchmode -jobname "figures/externalized/prova-figure0" "\ def\tikzexternalrealjob{prova}\input{prova}"' ======== \openout3 = `prova.auxlock'.  runsystem(pdflatex -shell-escape -halt-on-error -interaction=batchmode -jobname  "figures/externalized/prova-figure0" "\def\tikzexternalrealjob{prova}\input{pr ova}")...executed.  \openout3 = `prova.auxlock'.   ./prova.tex:22: Package tikz Error: Sorry, the system call 'pdflatex -shell-esc ape -halt-on-error -interaction=batchmode -jobname "figures/externalized/prova- figure0" "\def\tikzexternalrealjob{prova}\input{prova}"' did NOT result in a us able output file 'figures/externalized/prova-figure0' (expected one of .pdf:.jp g:.jpeg:.png:). Please verify that you have enabled system calls. For pdflatex,  this is 'pdflatex -shell-escape'. Sometimes it is also named 'write 18' or som ething like that. Or maybe the command simply failed? Error messages can be fou nd in 'figures/externalized/prova-figure0.log'. If you continue now, I'll try t o typeset the picture.  See the tikz package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.22    \end{tikzpicture}  ?  PGFPlots: reading {figures/data/LidDrivenCavity/Lid_SPIKE_128x128_Re1000_psi.da t} Runaway argument? {\pgfkeyssetvalue {/pgfplots/execute at begin plot visualization}{}\pgfkeyssetv alue \ETC. ./prova.tex:22: TeX capacity exceeded, sorry [main memory size=5000000]. &lt;argument&gt; ...5e-1],2Y7.753628e-3]}{2Y8.20894\ETC.  l.22    \end{tikzpicture}  If you really absolutely need more capacity, you can ask a wizard to enlarge me.   Here is how much of TeX's memory you used:  20761 strings out of 493054  547383 string characters out of 6134761  5000001 words of memory out of 5000000  23958 multiletter control sequences out of 15000+600000  3640 words of font info for 14 fonts, out of 8000000 for 9000  1141 hyphenation exceptions out of 8191  62i,4n,84p,728b,1519s stack positions out of 5000i,500n,10000p,200000b,80000s ./prova.tex:22:  ==&gt; Fatal error occurred, no output PDF file produced!   similar (or the same) error appears if externalization is not enabled/used.  My TeX distribution is TeX Live on Mac OS X 10.9.5 and I use TeXShop as editor.  Once I (partially) solved a  on Windows+MikTeX+TeXniccenter by modifying/adding options to the command executed when compile button is pressed. I say partially since I actually solved the problem for some data file. Then I experienced the same problem with larger datafile and/or different plots (I don't remember anymore) and didn't find a way out, no matter how much I extended the memory.  What should I do now? Calculating extent of custom tiles? Problem  The picture is just an example of my case, but I am left with blank space on the left when I load all the tiles and I get error message in the console:   Failed to load resource: the server responded with a status of 404 (Not Found) http://path/to/the/tile//base/8/6/53.png  etc.     I could guess and limit the extent of the layer, but I would really like to know is there any way to calculate it and also be able to get rid of the error message.  What I know about the tiles?   Originally they are served as TMS They represent png images 256*256 They are in projection: EPSG:3857 In OpenLayers2 they were called like TMS layer In OpenLayers3 (v.3.8.2) they are called like XYZ layer (that includes -y):     var baseLayer = new ol.layer.Tile({   source: new ol.source.XYZ({     url: 'http://path/to/the/tiles/base/{z}/{x}/{-y}.png'   }) });   Thoughts and questions   How can I calculate extent of the tiles? Or in another words how can I find out zmin zmax xmin ymin xmax ymax or whole range of x/y?  What does x/y really represent? Are they coordinates of the left bottom corner or center of the tile? In which direction does x/y increase? How can I figure out x/y of at least one of the tile, for example left bottom one?    (I have modified the question for better understanding of the problem)