Ordering Array - C# WPF
Natural Sort Order in C#
Is there a word to describe a person who likes chaos? I am wondering if there is a word to describe a person who likes chaos. By this I mean a few specific things:   The person is pleased to hear when chaos is created, or confusion emerges The person will take opportunities to create chaos or confusion The person enjoys taking part in chaotic or disorganized situations.   I can't seem to think of a word to describe the type of person who would act in this way.  I hope this question is clear.  EDIT: Below gbutters sums up nicely:     What I wonder is if there is a word for a generally good-natured person who just likes some good old-fashioned chaos. It seems like any person that thrives on chaos would have to have some extra baggage. The recipe that I used did not call for cornstarch or corn syrup. The result is that they are slightly wet. Can I do anything to dry them up, such as dusting them with corn flour?  I did dredge them in a mixture of confectioners sugar and corn flour; it helped a little, but I think I will find a recipe that has corn starch in it for next time! Change Folder Permissions I started off with changing to the folder I want to change permissions for, and that is the opt folder.  $ cd /opt/ test@testVM:/opt$   So I tried changing the permissions for this folder now using:  sudo chmod 775   And that hasn't worked. It showed this message:  Try 'chmod --help' for more information.   There is something I am forgetting or leaving out.  Please can you show me what I am doing wrong?  Thanks in advance. What is the difference between DX format and FX format lenses, and which to choose for what purpose?  What are the pros and cons of both? How do I write content to another browser window using Javascript? I've opened a new window with window.open() and I want to use the reference from the window.open() call to then write content to the new window.  I've tried copying HTML from the old window to the new window by using myWindow.document.body.innerHTML = oldWindowDiv.innerHTML; but that's doesn't work.  Any ideas? Cannot find hard drives after installing Ubuntu 13.10 how to create a histogram in java I am trying to define a proof for  $A \cup B = B$ if and only if $A \subset B$  I started with:  $$A \cup B$$ $$x \in A \lor x \in B$$   but I am unsure on how to continue. How do I install, update and remove GNOME Shell Extensions? I am running Ubuntu GNOME and would like to know how exactly I can install, uninstall, upgrade, deactivate, and activate GNOME Shell Extensions. What are all the font styles I can use in math mode? As can be seen in above picture, there are lots of fonts or font styles that can be used in math mode.  What are all the fonts or font styles I can use in math mode, and which packages are required in order to use them?  Let's assume I'm using standard Computer Modern or Latin Modern (lmodern) fonts.  Edit: It'd be great to see examples of what the different styles look like, probably via images.    I'm not interested in a reproduction of the picture, which can be found at ; the picture is for illustration purposes only. Furthermore, this is supposed to become a one-catches-all question for questions like the beforementioned. If I actually were looking for these fonts, I wouldn't just lazily ask here but look e.g. at  , tables 3.14 and 6.4 first.) How can I add a new user as sudoer using the command line? After I add a user using adduser, I can't see it via System > Administration > Users and Groups unless I log out and then log in again. Is that normal?  Also, can I set a newly added user as a sudoer or do I have to change that only after adding it? How can I do that via the shell?  Finally, can I delete the original user that was created upon initial installation of Ubuntu, or is this user somehow 'special'? Give an example of a relation R on $A^2$ which is reflexive, symmetric, and not transitive In Russian we have idiom/saying "To shoot out of cannon into sparrows" (literal translation) which is used to convey an idea of applying too drastic measures to small problems. I believe there should be some native-English equivalents to this saying. Can you share if there are any? What apps to sync movie subtitles easily are available for Ubuntu? I have a subtitle file that is about 3 to 4 seconds behind. What tools can I use to automatically move all the times in the subtitle file so they are correct with the time of the movie? Something that I can for example just add the time I want to add and it will add this time to the synced times in the subtitle files without having to edit each line individually. how can I find sum of series $ \sum_{n=1}^{\infty} (n\cdot \ln \frac{2n+1}{2n-1} - 1) $? It is so weird for me because I put this to Mathematica and it tells me that sum does not converge...  Let consider sum no to infinity, but to n  $$ \sum_{k=1}^{n} (k\cdot \ln \frac{2k+1}{2k-1} - 1) =$$ $$ ln \frac{3}{1}\cdot \left(\frac{5}{3}\right)^2 \cdot...\cdot \left(\frac{2n+1}{2n-1}\right)^n - n = ln \frac{1}{1}\cdot \frac{1}{3}\cdot \frac{1}{5}\cdot ... \frac{1}{2n-1} - n $$ but $$ n = ln e^n $$ so it will be $$ln\frac{1}{e^n} \cdot \frac{1}{1}\cdot \frac{1}{3}\cdot \frac{1}{5}\cdot ... \frac{1}{2n-1}$$  So the limit of it is $-\infty$ Have I done this well or I missed sth? Soving a Complex Integral along a circle When a user is suspended, their account is reduced to 1 rep and all of his privileges are stripped. However, they can still join chat rooms.   This leads to various forms of possible abuse (all of which I've seen by suspended users):   Join/leave spams Expletives in profile messages Hold one sided conversations with users of the room via    Suspended users cannot be kicked, and even moderators can do very little (aside from completely removing the account, which is often overkill).  My proposal is to extend  for suspended users to one of two levels:   Prevent them from being shown in the user list at all. Strip their profile profile picture and description from the profile view visible from chat rooms (not from profile pages). Connection pools being reset with Error: 18056, Severity: 20, State: 46. & Perfmon Counters not showing We are using SQL Authentication (to reduce the number of connection pools) &amp; .NET 4.0 connection strings to connect to SQL Server Enterprise Edition 2012 SP1 on a Windows 2008 R2 Enterprise Server:     Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)   Oct 19 2012 13:38:57   Copyright (c) Microsoft Corporation   Enterprise Edition (64-bit) on Windows NT 6.1  (Build 7601: Service Pack 1)   We use about 50 servers split into 8 different groups different parts of a website.  Our website is using this SQL Server to log visit tracking data. Over the last few days it has spat out the following messages about the resetting connection pools:     The client was unable to reuse a session with SPID 1327, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message.   Error log reads:     Error: 18056, Severity: 20, State: 46.   The client was unable to reuse a session with SPID 959, which had been reset for connection pooling. The failure ID is 46. This error may have been caused by an earlier  operation failing. Check the error logs for failed operations immediately before this error message.   Login failed for user 'xxxx'. Reason: Failed to open the database 'xxxxxxxx' configured in the login object while revalidating the login on the connection. [CLIENT: 10.xx.xx.xxx]   After some digging, I found this document on the CSS blog:  and this one by Aaron Bertrand: . I know the error number is different but the failure ID is the same with a number of the messages are identical).  Failure ID 46 suggests that the login did not have permissions. Our logins default to the master database and the db name is specificied in the connection string.  I wanted to check the number of connection strings pools, etc. and checked all the counters in Perfmon for .Net Data Provider for SqlServer. It only gave me the option of defaultdomain9675 for the instance, so I selected that assuming that is a system generated ID name for our Datacentre network. Unfortunately all of the counters are reading zero. On one of our other main servers the connection pools are hovering around 10 which is what I expected to see on a healthy server with that kind of load.  My question is 3 fold   Can anyone suggest why the Windows 2008 R2 Server is not showing .Net Data Provider for SqlServer? Has anyone experienced this as I obviously believe that the login not having permissions is a red herring ? If different groups of web servers have the same connection string syntax but with slightly different whitespace, would this cause the server to use another connection pool?   Min &amp; max memory settings are 20GB &amp; 58GB respectively. The server is a dedicated database server with 64GB of RAM. I don't think memory is the issue as the box seems to have a decent page lfe expectancy. Auto close is not enabled. The server is always up: this is a 24x7 website with heavy usage. Cardinality of a totally ordered union Let $(X_{\alpha})_{\alpha \in A}, (Y_{\alpha})_{\alpha \in A}$ be families of sets such that for $\{X_{\alpha} \mid \alpha \in A \}$ and $\{Y_{\alpha} \mid \alpha \in A \}$ are totally ordered by inclusion. We have $(X_{\alpha},Y_{\alpha}) \neq (X_{\beta},Y_{\beta})$ for $\alpha \neq \beta$. Suppose that $|X_{\alpha}| \leq |Y_{\alpha}|$ for any $\alpha \in A$. It is true that $|\bigcup_{\alpha} X_{\alpha}| \leq |\bigcup_{\alpha} Y_{\alpha}|$? How to write startup script for Systemd? I have 2 graphics cards on my laptop. One is IGP and another discrete.   I've written a shell script to to turn off the discrete graphics card.  How can I convert it to systemd script to run it at start-up?