How can I extend the background of an image?
How to extend the background of an image?
Do trees really get a large share of their mass from the carbon in the air? I remember hearing that trees and other plants actually obtain a large amount of their mass from the carbon floating in the air, not the ground beneath them. Does the makeup of air actually contain enough carbon to support this theory, and is a tree's surface area actually large enough to obtain the amount of carbon it needs directly from the air? How to exclude some files from filename expansion mechanism in bash? I made a script that should notify me when there's a new chapter of manga that I'm reading. I used the command notify-send to do this. The program works when I am trying to run it in terminal. The notification is showing. However, when I placed this in my crontab, the notification doesn't show. I'm pretty sure that the program is running since I made it to create a file for me. The file was created, but the notification didn't show.  Here's my script  #!/bin/bash    #One Piece Manga reminder     #I created a file named .newop that contains the latest chapter.     let new=$(cat ~/.newop)     wget --read-timeout=30 -t20 -O .opreminder.txt http://www.mangareader.net/103/one-piece.html  if (( $(cat .opreminder.txt | grep "One Piece $new" | wc -l) &gt;=1 ))     then         (( new+=1 ))         echo $new         echo $new &gt; ~/.newop         notify-send "A new chapter of One Piece was released."     else         notify-send "No new chapter for One Piece."         notify-send "The latest chapter is still $new."     fi         exit   And here's what I wrote in my crontab  0,15,30,45 12-23 * * 3   /home/jchester/bin/opreminder.sh CString to char* We are using the CString class throughout most of our code. However sometimes we need to convert to a char *. at the moment we have been doing this using variable.GetBuffer(0) and this seems to work ( this mainly happens when passing the Csting into a function where the function requires a char *). The function accepts this and we keep going.  However we have lately become worried about how this works, and whether there is a better way to do it.  The way i understand it to work is it passes a char pointer into the function that points at the first character in the CString and all works well.  I Guess we are just worried about memory leaks or any unforseen circumstances where this might not be a good idea. Rationale behind pronunciation of "subtle" How to remove selected commit log entries from a Git repository while keeping their changes? I would like to remove selected commit log entries from a linear commit tree, so that the entries do not show in the commit log.  My commit tree looks something like:  R--A--B--C--D--E--HEAD   I would like to remove the B and C entries so that they do not show in the commit log, but changes from A to D should be preserved. Maybe by introducing a single commit, so that B and C become BC and the tree looks like.  R--A--BC--D--E--HEAD   Or, ideally, after A comes D directly. D' representing changes from A to B, B to C and C to D.  R--A--D'--E--HEAD   Is this possible? if yes, how?  This is a fairly new project so has no branches as of now, hence no merges as well. Limit of sequence in which each term is defined by the average of preceding two terms We have a sequence of numbers $x_n$ determined by the equality   $$x_n = \frac{x_{n-1} + x_{n-2}}{2}$$  The first and zeroth term are $x_1$ and $x_0$.The following limit must be expressed in terms of $x_0$ and $x_1$ $$\lim_{n\rightarrow\infty} x_n $$  The options are:   A)$\frac{x_0 + 2x_1}{3}$ B)$\frac{2x_0 + 2x_1}{3}$  C)$\frac{2x_0 + 3x_1}{3}$ D)$\frac{2x_0 - 3x_1}{3}$  Since it was a multiple choice exam I plugged $x_0=1$ and $x_1=1$. Which means that all terms of this sequence is $1$,i.e, $$x_n=1, n\in \mathbb{N} $$  From this I concluded that option A was correct.I could not find any way to solve this one hence I resorted to this trick. What is the actual method to find the sequence's limit? Why are image thumbnails cropped proportionally (not per dimensions)? For some reason WordPress is ignoring my thumbnail sizes and keeping thumbnails cropped proportionately instead of specific dimensions. Here is what I have in functions.php:  add_image_size( 'main-thumbnail', 728, 410, true );   and in content.php:  &lt;div class="thumbnail"&gt;     &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;        &lt;?php the_post_thumbnail( 'main-thumbnail' ); ?&gt;     &lt;/a&gt; &lt;/div&gt;   I added these two things and regenerated my images with the  plugin, but it doesn't seem to matter. The images don't change.  For some reason WordPress isn't recognizing the hard crop and is keeping the images proportional, so some of my images are way taller than 410 pixels. Why is this? Is it possible to instantiate an object at runtime if I only have the DLL name and the class name, without adding a reference to the assembly in the project? The class implements a interface, so once I instantiate the class, I will then cast it to the interface.  Assembly name:     library.dll    Type name:      Company.Project.Classname     EDIT: I dont have the absolute path of the DLL, so Assembly.LoadFile won't work. The DLL might be in the application root, system32, or even loaded in the GAC. What is the concept of erasure in generics in Java? What is the concept of erasure in generics in Java? Simple Hadamard Circuit gives incorrect results? Dihedral group - elements of order $2$ I read a book of this series probably around 2000. I think the series was quite new then but not sure.  The main thing I remember about it is that magic is based on words of power. If you knew one word you got some extra ability, knowing two words gave you yet some other ability, and if you knew three words you became a very powerful wizard. Only one person at a time could know each word, and telling someone your word meant you died.  The main protagonist somehow gets hold of one word and then for some reason strives to learn more.  EDIT: I think that I accidentally picked up the second book of the series and never read the first one. From what I remember, the protagonist learned one word of power and got some kind of supernatural ability (cannot remember what though). He then ends up in some kind of challenge where he has to cooperate with another person who knows another word that gives super-strength.  Not very coherent memories, but I hope someone knows what series it is. It has been bugging me for years. (Not even sure if the series is good at all, but still would like to know the name.)  EDIT2:  I remember the world as being medieval-ish. I do not think there were dragons, but there may have been other humanoid races (I have a very weak recollection that there may have been an orc or similar in the story, but this could be completely wrong). The protagonist was male. I have 16GB of system RAM. On startup with no applications open except the task-manager Windows is using about 3gb of RAM. I looked in the processes tab, but nothing seems to be out of the ordinary. How can I find out why my Windows is using so much RAM.    all processes from all users      Reading from the poolmon it seems that my wireless broadcom driver is using about 0.4GB of of RAM. Even if I remove  it would still be using  2.6GB on start-up, which is still too much.      After reinstalling the wireless driver associated with the memory leak. I have a new screenshot and would like to confirm that it was indeed a memory leak. Matrix doesn't shrink when put in fraction. How can reincarnated souls be summoned using Edo Tensei? Quoting ,     Reincarnation is the philosophical or religious concept that an aspect of a living being starts a new life in a different physical body or form after each biological death. It is also called rebirth or transmigration, and is a part of the Saṃsāra doctrine of cyclic existence.   Then, since Ashura has reincarnated into Naruto, and Indra into Sasuke, how can Uchiha Madara and Senju Hashirama (their previous reincarnation) be summoned using Edo Tensei? Failed a Reopen Question audit — sure looks like "Not a real question" to me I just failed , which was shown as being closed as "Not a real question".  Seeing as the vote count was positive, I figured it was an audit, but I selected "Leave Closed" anyways because to me     It's difficult to tell what is being asked here.  This question is ambiguous, vague...   There's no code examples, and the phrasing is clunky at best.  This is my second failed audit in two days for difficult questions (first failed audit is , also now closed), so if I get temporarily suspended, it won't be the end of the world (I'll think of it as a forced vacation).    That said, is there a way to dispute these audits?  Or is posting the audit here sufficient? Please do not close this as a duplicate unless you can remove the “status-completed” tag from the  (because it’s obviously not been completed).  Steps to reproduce:   Have someone post an answer. Downvote the answer. Have the someone edit the answer within the initial 5 minutes of the answer’s existence. Try to undo the downvote more than 10 minutes later.   You cannot undo the downvote. I want to know a proof of an alternative form of Fermat-Euler's theorem   $$a^{\phi (n) +1} \equiv a \pmod n$$   when $a$ and $n$ are not relatively prime.   I searched some number theory books and a cryptography book and internet, but there were only proofs of the original theorem  $a^{\phi (n)} \equiv 1 \pmod n$ or in case n=pq which is used for RSA. So I would be very thankful if someone show me a proof or book I should read. QM without complex numbers I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier?