How to Make a Simpler Python Fibonacci Sequence Prompt?
How to write the Fibonacci Sequence?
Running command on multiple files within multiple directories I want to run the command   python quast.py -o quast contigs.fasta   but I want to do this for multiple contigs.fasta files in multiple directories.  I'm running OSX. What color are Nissa, Worldwaker's lands? I wanted to try out different desktop environments so I installed XFCE, KDE, GNOME, etc on top of Unity in Ubuntu 12.04  After a while I decided that I didn't like those other DEs and would stick to Unity. So I changed my default DE to Unity by configuring gdm.  sudo dpkg-reconfigure gdm   Now I am able to choose my DE at login time and all of DEs are working properly.   But the strange thing is that my boot up screen says 'lubuntu', my login screen is KDE, and my desktop is Unity.   How and why is this happening? Why didn't my gdm configuration have any effect? Does login and boot up screen need to be configured separately from the DE?  There are other similar questions here but they are not the same as this one. I do not want to remove the other enviroments I'm quite happy with having a list of DEs to select from. I want to know how to set proper defaults. grub2 not able to find the new kernel This is very strange issue, i have CentOS7 running on HP server and everything was working till date until i did "yum install kernel" after reboot it drop me in grub&gt; shell that means it won't able to read or find grub.conf file.   in grub&gt; i found grub.conf has still old files there is no new entries of new kernel   I did this, and found there is no new kernel entries but if i boot with old kernel then i can see latest grub.conf (with new kernel)  grub&gt;cat /grub2/grub.conf   Question: where grub2 getting that old file from? why it's not able to find new kernel ? cube collider losing shape upon rotation I'm not sure what's going on here. I have a cube which I have turned into a rectangle; it's a child of a plane which is the "ground" so that they share rotation (this is a pinball table).   To create these cubes, I just used the create => 3d shape => cube/plane option. No packages are used.   The issue is when I rotate the rectangle, the collider visibly becomes wrong.  This is before rotation:    This is after rotating on the y axis:    The collider does seem to rotate, but not at the correct amount. Can anyone shed some light as to what's going on here?  Here's the inspector and hierarchy:      I also tried making the plane a cube, it didn't change anything. SubView slide in animation, iphone I have some non-Gaussian distributed variable and I need to check if there are significant differences between the values of this variable in 5 different groups.  I have performed Kruskal-Wallis one-way analysis of variance (which came up significant) and after that I had to check which groups were significantly different. Since the groups are kind of sorted (the values of the variable in the first group are supposed to be lower than the values of the variable in the second group which are supposed to be lower than the values of the variable in the third group and so on) I only performed 4 tests:  Group 1 vs Group 2 Group 2 vs Group 3 Group 3 vs Group 4 Group 4 vs Group 5   I have performed this analysis with two different methods. I started by using Dunn's Multiple Comparison Test but nothing came up significant. On the other hand if I use Mann-Whitney test and correct for the number of tests (4) using Bonferroni, 3 tests come up significant.  What does it mean? Which results should I trust? I'm trying to prove the following statements in Folland's book.  Let $(X,\mathcal{M},\mu)$ be a measure space. If $f_n\to f$ in measure and $g_n\to g$ in measure, then $f_n+g_n\to f+g$ in measure and $f_ng_n\to fg$ in measure (in this last case, assume $\mu(X)&lt;\infty$).  The first one is already done, but the second one is giving me trouble.   My attempt: We can take subsequences $f_{n_k}$ and $g_{n_k}$ such that $f_{n_k}\to f$ a.e. and $g_{n_k}\to g$ a.e. In this case, we know that $f_{n_k}g_{n_k}\to fg$ a.e. Note that $\mu(X)&lt;\infty$, so we can use Egoroff's theorem to conclude that $f_{n_k}g_{n_k}\to fg$ almost uniformly. Finally, almost uniform convergence implies convergence in measure, therefore $f_{n_k}g_{n_k}\to fg$ in measure.   The problem is that I just have convergence in measure for some subsequence of $f_ng_n$ and I need convergence in measure for the whole sequence. Also I don't know if using Egoroff's theorem is unnecessary, if this is the case, I would appreciate to see some more elementary prove.  Detail: We say that $f_n\to f$ almost uniformly if for every $\varepsilon &gt; 0$ there is some $E\subset X$ measurable, such that $\mu(E) &lt;\varepsilon$ and $f_n\to f$ uniformly on $E^c$.  Thank you! When I double-click on a script in Nautilus in order to run it, the script opens in my text editor with no option to do so.  Using Nautilus, how do I run executable text files and/or scripts? Creating Ellipse in WGS84, but with metric parameters I have the function  --Ellipse(x,y,rx,ry,rotation,#of segments in 1/4 of ellipse) SELECT ST_Translate( ST_Rotate( ST_Scale( ST_Buffer(ST_Point(0,0), 0.5, $6), $3, $4), $5), $1, $2)   I have points in WGS84 (x,y), radiuses in meters (rx, ry), rotation angle in degrees. And I need a new WGS84 geometry as a result.  As you can see I can't call this function without conversions between WGS84 and some metric SRID. But my points aren't in a definite region. So a SRID which is optimal for one point, throws an error for another point during conversion.  Is there a common way to get an optimal metric projection (SRID) for a WGS84 point? Or at least to use some rough, but world-wide universal metric projection? Or maybe there's a trick for this case? Filter dict to contain only certain keys? What are the mechanics by which Time Dilation and Length Contraction occur? I am teaching myself information about groups, but don't really understand how to work through this problem. Here is what I have been thinking so far (please note that I do not need to work through showing any closure): $\mathbb{Z}^*$ denotes the nonzero integers. Prove or disprove: $(\mathbb{Z}^*, \cdot)$ and/or $(\mathbb{Z}^*, \div)$ is a group.  For $(\mathbb{Z}^*, \cdot)$:  Group. Associative Law: Let $a,b,c \in \mathbb{Z}^*$. Then $(a\cdot b)\cdot c=a\cdot (b \cdot c)$, and the associative law holds. Existence of Identity: Let $a \in \mathbb{Z}^*$, then $a \cdot 1 = 1 \cdot a = a$, and the identity holds. Existence of Inverses: Let $a \in \mathbb{Z}^*$. Then the inverse of $a^{-1}=-a$, and the inverse holds. Note that this only works because we are ommitting zero.  Hopefully this looks like I am on the right track. I don't know to what extent I can explain logic vs showing it with mathematical operations, so I would appreciate guidance in this respect.  For $(\mathbb{Z}^*, \div)$: Not a group. Disprove by counterexample.  Yeah, I dunno about this one. I don't think it's true, because we will be introduction rational expressions that won't allow this to hold, but I'm not sure where I can use this information to disprove the statement. Some sort of battle school (no, not Ender's Game), where teens are being trained as military commanders.   The control system for their army hinges around some sort of system that requires extremely fine motor control -- being able to "push" around digital representations of military units using a special interface that interprets minute finger movements.  The boy protagonist eventually meets a girl in the battle school, and is astonished to learn that most people do not live as well as he does -- for instance, he gets a fresh jumpsuit outfit every day and disposes of the old one; this is a luxury.  One scene I recall is them kissing for a moment in some sort of underground passageway; the boy protagonist notes the exact length of the kiss, as he has been trained to have heightened time perception.  I don't recall much about other commander characters; I think they have different special abilities, and one other major character might have physical deformities, possibly because of postwar-radiation-related birth defects.  They have been training for an upcoming, prearranged final battle between all the existing national governments; the military units are very possibly robotic or entirely digital in nature, so as to avoid wasting materiel / human life.    They ultimately win the battle, just barely; I think the girl protagonist gives them an edge in the competition by hacking the timing / control system in favor of their team, causing a discrepancy which only the boy protagonist notices due to his heightened perceptions.  It was agreed that the winning government gets dominion over one of the few islands of land left that was not irradiated in some previous war; the protagonists get to live there as a reward for their victory.  I believe the boy protagonist later realizes he's gradually losing his ability to exactly quantify the passage of time.  Published no later than 2004, likely somewhere between 1980-2000, probably sometime in the '90s. Windows 10 puts my first and last name to lock screen. How to avoid this? After upgrading to Windows 10, I see my LastName and FirstName on the lock screen. Is there a way to change this? On Windows 8.1 there was just my nickname and email address (maybe there were my first name and last name, but not displayed so large as they are now).  I mean the name and surname parameters specified in my Microsoft account.  Another question: I prefer the format FirstName LastName, not vice versa.  Is there any way to change this as well?   Apart from Lock Screen I see it on the Start Menu. I have a PDF with 100 pages. How can I make a new PDF that displays 4 pages on one?  I know that I can do it with Chrome by printing the PDF to new PDF and change this in the options. But I want to make it for a lot of files and put it as a script. Are there any subtle differences between "somebody" and "someone", or can they be used completely interchangeably? Similarly, can you imagine a situation in which you would prefer "anybody" to "anyone" or vice versa? Fast calculation for $\int_{0}^{\infty}\frac{\log x}{x^2+1}dx=0$ I want to show that $\int_{0}^{\infty}\frac{\log x}{x^2+1}dx=0$, but is there a faster method than finding the contour and doing all computations?  Otherwise my idea is to do the substitution $x=e^t$, integral than changes to $\int _{-\infty}^{\infty}\frac{t e^t}{1+e^{2t}}dt$. Next step is to take the contour $-r,r,r+i\pi,-r+i\pi$ and integrate over it... Let $\mathbb{F}_3$ be the field with three elements. Let $n\geq 1$. How many elements do the following groups have?   $\text{GL}_n(\mathbb{F}_3)$ $\text{SL}_n(\mathbb{F}_3)$   Here GL is the , the group of invertible n×n matrices, and SL is the , the group of n×n matrices with determinant 1. Seo: Change the title of a page Lets say my website looks like this:  News -Hello world -Foo -Bar  So the parent page will list the last 3 news messages. For each news message there is a sub-page. For the parent page I was thinking of setting the page title to: News - Hello world, Foo, Bar.  Now if somebody adds a new message the title tag will also change. I googled this and read a few blog posts where people said that changing the title actually hurts the ranking of that page.  So is this true? Should I just set a static title tag for all my pages?