The .profile file includes a statement to add the $HOME/bin directory to the PATH (if that bin directory exists). This is not being executed on my bash login.  If I manually load the .profile file   . .profile    then the PATH is set.  On session start, the .bashrc file is read. It includes a statement to read the .bash_aliases file if it exists, and I can see that the aliases are set.   The .profile file includes a statement to read the .bashrc file if it exists so I assume that the bash init should read the .profile where it is now reading the .bashrc.   This isn't happening. Please advise.  Thanks.
The three files are read in this order?  .bash_profile .profile .bashrc   This is not happening when I first open a terminal.   I have trace statements in the files appending to the file init.log. Please take a look at the following. It begins after opening a terminal. I have placed a comment to show where the log picks up after the su command.  stephen@debian:~$ cat init.log reading .bashrc done reading .bashrc stephen@debian:~$ su - stephen Password:  stephen@debian:~$ cat init.log reading .bashrc done reading .bashrc # # after su # reading .bash_profile reading .profile reading .bashrc done reading .bashrc done reading .profile done reading .bash_profile stephen@debian:~$    So the su - login triggers the expected sequence however the initial login reads only the bashrc. This cannot be correct. Can someone explain under what conditions this would occur. I could modify the bashrc and profile files so that the initial read includes all expected files but I would rather get to the root of the problem and fix it there.
Given Ohm's law, how can current increase if voltage increases, given fixed resistance? According to Ohm's law, $V=IR$ (voltage equals current times resistance).  So if the voltage increases, then the current increases provided that the resistance remains constant.  I know that Voltage or potential difference means work done per unit positive charge in bringing that charge from one point to another.  So according to Ohm's law, if the work done per unit charge increases then current will increase. How can this be true? Point out my mistakes. How to import all files of a folder at once? Rendered image looks pixelated When I hit F12 to render an image and zoom in it is quickly pixelated. How can I render a higher res display? I have looked through the settings and couldn't find a solution. What's better to use in PHP for appending an array member,  $array[] = $value;   or  array_push($array, $value);   ?  Though the manual says you're better off to avoid a function call, I've also read $array[] is much slower than array_push(). What are some clarifications or benchmarks? The meaning of action The action  $$S=\int L \;\mathrm{d}t$$  is an important physical quantity. But can it be understood more intuitively? The Hamiltonian corresponds to the energy, whereas the action has dimension of energy × time, the same as angular momentum.  I've heard the action being described as a measure of change, although I don't know how this description can be justified. Grandi's Series; tends to $1/2$, but why is this considered a valid sum? Grandi's series,  $$1+1-1+1-1+1-1+...$$  can be expressed as the below:  $$\sum_{n=0}^\infty(-1)^n$$  Two valid sums that make sense to me are $1$, and $0$, depending on how you approach the series. $(1+1)-(1+1)-(1+1)-...=0$, and $1+(1-1)+(1-1)+(1-1)+...=1$.  There is consensus, however, that the actual sum is $\frac{1}{2}$. Why? I understand the approach of finding partial means of the series, and they do indeed tend to $\frac{1}{2}$, but it seems unintuitive to assert that the sum is neither $1$ or $0$.  A more convincing method I found was assuming the series is $S$, then shifting it such that $S-1 = S$, then through algebra finding $S = \frac{1}{2}$, but again, it seems more intuitive answer is either $0$ or $1$. I say this strictly because adding and subtracting integers should equal an integer, never a fraction.  Is this a characteristic of infinite series, which is not specific to Grandi's series? Number of ancestors 750 years ago I have 2 ancestors, a father and a mother. Two generations back - 4 ancestors. Three generations back - 8 ancestors.  30 generations back: 2^n = 2^30 = ~1,000,000,000 ancestors.  If a generation is 25 years long, 30 generations are 750 years and 30 generations ago the year was 1,267. But the world population was only 400,000,000 people so how can my math be wrong? and is there a way to estimate the number of ancestors I had 750 years ago? Is there a single word or very short phrase to describe the act of contemptuously referring to someone by using a diminutive "nickname", with which that person is not normally associated?  For example, referring to Henry Wadsworth Longfellow as Hank Longfellow? Or William Penn as Billy Penn? Particular nodes are missing from node editor Why cant we replace diode connected BJTs by simple diodes in a current mirror circuit? dpkg error: "trying to overwrite file, which is also in..." Reducing voltage with resistors When I make an animation, it always starts out slow, then speeds up, then slows down at the end.  I cannot figure out how to fix this. We walk or ride on our vehicles to our destinations daily. Does our movement have any effect on the rotation of the earth according to Newton's law? What will be the effect if we move all the peoples along with their vehicles at their maximum velocity in one line in one direction along the equator? How much effect will it make? Proving set of interiors is open Does a man contain all the genes needed to make a woman? This question is brought on by a Sci Fi novel I am thinking about writing. The plot device involves a colonist in charge of building a population on a new planet who loses his supply of embryos and so forth in the landing. With the artificial "wombs" intact, he populates the planet with clones of himself.  If he wanted to introduce enough variation (without making up new genes, only rearranging) in the population to allow them to be able to reproduce naturally without inbreeding problems, would he be able to? In particular, could he make a woman?  Alternately, could a woman (without a Y chromosome) do the the inverse?  At the risk of introducing bias into the answers, the plot as it stands assumes he is a male and he CAN'T do any of the above and he is restricted to clones. Proving the countability of algebraic numbers I am trying to prove that algebraic numbers are countably infinite, and I have a hint to use: after fixing the degree of the polynomial, consider summing the absolute values of its integer coefficients, and setting the sum less than or equal to $m$, for each $m \in \mathbb{N}$. I am also allowed to use the fact that every polynomial has a finite number of roots. I am not sure where to begin... Perhaps after fixing the degree of the polynomials, I could try enumerating them, and after proving countability of the set that contains the roots of all polynomials of a certain degree, I could state that the union of infinitely many ($\bigcup_{n=1}^{\infty}$, $n \in \mathbb{N}$) countably infinite sets is countable, and thus the algebraic numbers are countably infinite, too, but I am not sure if this is a good approach/how to enumerate the polynomials. Thanks! When I have these facts,   French coins were not found in the ruin. German coins were not found in the ruin.   which of these sentences are grammatically correct?  1.     No French and German coins were found in the ruin.   2.     No French or German coins were found in the ruin.   3.     No french nor German coins were found in the ruin.   I think 1 is correct but I'm not sure.  By the way, I can also say     Neither German nor French coins were found in the ruin.   Also, when you have an additional fact   Italian coins were not found in the ruin   which of these statements are grammatically correct?  1.     No French, German and Italian coins were found in the ruin.   2.     No French, German or Italian coins were found in the ruin.   3.     None of French, German and Italian coins were found in the ruin.   4.     None of French, German or Italian coins were found in the ruin.   Thanks, How to control Windows 7 snap feature with two monitors? There is an  feature in Windows 7. However, it seems to not work when dragging a window to the edge that is adjoined to the second monitor. How to make it work properly? Maybe some regedit modification or something? How a Gmail username can be taken but not recognised simultaneously? Being at  I enter a desired username (without @gmail.com which is supposed), and I get error:     "That username is taken. Try another."   But when I try to login into Google with that xxx@gmail.com at  it fails with:     "Sorry, Google doesn't recognise that email."   How that can be?  P.S.: I want that username still.