Can you please give me time approximation(like n^2 , n*2 , nlogn) of this New Selection Sort Algorithm made by me
Big O, how do you calculate/approximate it?
Unwanted Lines when rendering using GPU and OpenCL (RX 580) I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I would like to know if I can do any of the following and if so how:   Make it so that a folder is not indexed but leave its contents indexable (so that if I search for that folder's name in my system nothing will come up, but if I search for its contents, that will come up) Make it so that a folder is not indexable and nor is any of its contents (and if it contains sub-folders within it then it should recursively not allow any contents in them to be indexed nor the contents of any sub-sub-folders in the sub-folders etc, nor any of those sub-folders themselves) Make it so that individual files in a folder are not indexable, though not having any impact on other contents nor the parent-folder   So, are any of these variants possible? I believe the indexing program is called Tracker which indexes files and folders and their contents and allows for one to search for them on the system. Let $A$ and $B$ be two $n \times n$ symmetric and positive definite matrices.   If $A \prec B$, then is it true that $B^{-1} \prec A^{-1}$?  Here, $A \prec B$ means that $B-A$ is positive definite. how to use common modulus attack? I am struck with the following problem:  Let Alice, Bob, Chris and Eve communicate over a public network. They encrypt all messages they send using RSA system. Bob and Chris have the RSA modulus $n_B$ and $n_C$ respectively with $n_B$ = $n_C$ But different public encryption exponents: $e_B \neq e_C$. Suppose $\gcd(e_B, e_C)=1$, and that Alice sends the same secret message to Bob and Chris. Show how Eve can decipher the message. What do the different colors mean in ls? What do the different colours in Ubuntu's ls command mean? For example, when I type the ls command in one of my folders, I get one of the files in light green, the other (which is a folder) in blue with green highlighting.   What do those colours mean, and there is any manual about all the colours? Galois Group of $\sqrt{2+\sqrt{2}}$ over $\mathbb{Q}$ So I want to show that $\mathbb{Q}(\sqrt{2+\sqrt{2}})$ is Galois over $\mathbb{Q}$ and determine its Galois group.   My thoughts are as follows:  Define $\alpha := \sqrt{2+\sqrt{2}}$. Then it is easily shown that $\alpha$ satisfies $\alpha^4-4\alpha^2+2=0$.  Define $f(x) := x^4-4x^2+2$. Then $f$ is irreducible over $\mathbb{Q}$ by Eisenstein with $p=2$.  So we have that $f$ is the irreducible polynomial for $\alpha$ over $\mathbb{Q}$.   Further $|\mathbb{Q}(\alpha):\mathbb{Q}|=4$.  For $\mathbb{Q}({\alpha})$ to be Galois, it must contain all roots of $f$.   Define $K=\mathbb{Q}(\alpha)$ for convenience.  Define $\alpha := \alpha_1$.  Since $f$ has only even powers, we know that $-\alpha := \alpha_2$ is a root, and therefore contained in $K$ since $K$ is a field.  We note that the other two roots are $\alpha_3=\sqrt{2-\sqrt{2}}$ and $\alpha_4=-\sqrt{2-\sqrt{2}}$.  So in order to show $K$ is Galois, it must be shown that $\alpha_3$ and $\alpha_4$ lie in $K$.  Now $\alpha_1^2=2+\sqrt2$ and so $\sqrt2 \in K$. Thus $-\sqrt2 \in K$ since $K$ is a field.  Can somebody explain why $\alpha_3$ and $\alpha_4$ lie in $K$?  Next we are to determine the Galois group of $K$.  Assuming $K$ is Galois, since it has degree $4$ over $\mathbb{Q}$ (shown earlier), we know that its Galois group has size $4$. There are only two groups of size $4$, namely $V_4$ and $C_4$, the Klein four group and the cyclic group of order $4$.  How do we determine which of these choice is in fact the Galois Group? I'd like to split strings like these  'foofo21' 'bar432' 'foobar12345'   into  ['foofo', '21'] ['bar', '432'] ['foobar', '12345']   Does somebody know an easy and simple way to do this in python? Can I use a one time pad key twice with random plaintext? How can I find the source of a mysterious bad smell? We have recently moved home, and all is fine appart from a mystery smell which I'm unable to track down. It's driving me crazy (actually, my wife thinks I am crazy as she can't smell it).  I'm hoping someone on here could offer some tips on how to track it down, or what it might be.  Here's some info:  Background: The house is a two floor (plus basement) block/concrete construction.  There is a wide hallway on the groundfloor connecting the rooms (including kitchen, toilet/shower room, stairwell).  The stairs are wood-board on concrete.  The floor in the hall and kitchen  is tiles over concrete, the rest woodblock/parquet over concrete.  Location of the smell: I usually smell it when coming down the stairs, seems to be strongest about half way down.  However sometimes it doesn't smell on the stairs at all, but rather in the ground floor hallway.  Seems to move around quite a lot. Occasionally I have felt it upstairs, but assume this is it drifting. The basement smells fine.  The Smell: The best description of the smell I can give is something like old rubbish.  What I've investigated so far:  1) Something died somewhere?  This was my initial thought, and since I usually notice the smell on the stairs I thought I'd try there first.  I've taken up some of the wood on the stairs (not all yet) but not looking promising, as there really isn't much space between the wood boards and the concrete.  Not really sure where else something could have gotten, as everything seems to be tight against the concrete.  2) Smell from kitchen moving into rest of house? I never really detected a bad smell in the kitchen, but thought I'd rule it out anyway. I thought maybe it was the bin under the kitchen sink that might be causing it.  So I moved the bin to a small storage room at the back of the kitchen (and kept the door closed) and thoroughly cleaned inside the cupboard under the sink. No change.  I also looked behind all of the cabinets for a problem, but could not see anything.  3) Gas from drains? The sink doesn't smell in the kitchen, and it's got a P-bend trap on the pipe - so I can't see a problem there.  Cant detect a smell from the plugholes in the bathroom either.  The bathroom sink waste pipe has a bottle-trap on it.   Don't know if there is a trap on the shower as it's a sealed unit, but I'm guessing yes (and can't smell anything).  Can any one think of something I might have missed, or give any advice? $$\int x^3\sqrt{4-x^2}dx$$ I tried changing the expression like this: $$\int x^3\sqrt{2^2-x^2}dx=\int x^3\sqrt{(2-x)(2+x)}dx$$ And that's where I got stuck. I tried integration by parts but it doesn't simplify the expression. Someone mentioned it in the IRC as the slicing problem. Google Chrome will take up my memory to the point where it causes my computer to freeze to a near halt. What can I do to prevent this? It gets so horrible that I can not even switch to TTY1 to force a reboot. I have to hard reset, and I lose work.  Ideally, I would like to be able to use the chrome browser on Ubuntu without having to keep reminding myself to close tabs.   Are there any extensions for Chrome, or tools for Ubuntu that can help prevent me going past the point where Ubuntu eats up all the RAM and becomes incapacitated? It seems that a List object cannot be stored in a List variable in C#, and can't even be explicitly cast that way.  List&lt;string&gt; sl = new List&lt;string&gt;(); List&lt;object&gt; ol; ol = sl;   results in Cannot implicitly convert type System.Collections.Generic.List&lt;string&gt; to System.Collections.Generic.List&lt;object&gt;  And then...  List&lt;string&gt; sl = new List&lt;string&gt;(); List&lt;object&gt; ol; ol = (List&lt;object&gt;)sl;   results in Cannot convert type System.Collections.Generic.List&lt;string&gt; to System.Collections.Generic.List&lt;object&gt;  Of course, you can do it by pulling everything out of the string list and putting it back in one at a time, but it is a rather convoluted solution. how much money it takes for a day without including accommodation In Uk I am thinking of moving my extensive eBook library to iBooks or Kindle. Has anyone done this, and what does it take?  I just don't want book libraries in multiple proprietary formats, and have to look for content across apps. Performance of Non Clustered Indexes on Heaps vs Clustered Indexes compares the performance for individual select/insert/delete/update and range select statements on a table organized as a clustered index vs that on a table organized as a heap with a non clustered index on the same key columns as the CI table.  Generally the clustered index option performed better in the tests as there is only one structure to maintain and because there is no need for bookmark lookups.  One potentially interesting case not covered by the paper would have been a comparison between a non clustered index on a heap vs a non clustered index on a clustered index. In that instance I would have expected the heap might even perform better as once at the NCI leaf level SQL Server has a RID to follow directly rather than needing to traverse the clustered index.   Is anyone aware of similar formal testing that has been carried out in this area and if so what were the results? I am new to photography, and need a little advice. I currently have a .   To get rolling, where do I go from here? Does the camera matter? Is this camera enough to start with? JavaScript property access: dot notation vs. brackets? Is it true that the order of $ab$ is always equal to the order of $ba$? I can't understand how the "cryptographic functions" are to be selected RSA + OAEP which are used in OAEP. How to choose these "cryptographic functions"(G and H)?