Regex.IsMatch not working on target directories
Learning Regular Expressions
How to work with "FIFO" in C# .NET? Is there a robust command line tool for processing csv files? I work with CSV files and sometimes need to quickly check the contents of a row or column from the command line.  In many cases cut, head, tail, and friends will do the job; however, cut cannot easily deal with situations such as  "this, is the first entry", this is the second, 34.5   Here, the first comma is part of the first field, but cut -d, -f1 disagrees. Before I write a solution myself, I was wondering if anyone knew of a good tool that already exists for this job.  It would have to, at the very least, be able to handle the example above and return a column from a CSV formatted file.  Other desirable features include the ability to select columns based on the column names given in the first row, support for other quoting styles and support for tab-separated files.  If you don't know of such a tool but have suggestions regarding implementing such a program in Bash, Perl, or Python, or other common scripting languages, I wouldn't mind such suggestions. I want to better understand why the construction something + [adjective] makes grammatical sense. Background: I was recently reading a Washington Post article and came across the following sentence.  So if you fall in that category, [the movie] feels more like magic than repetitive.  (Note: I've copied the relevant spoiler-free sentence above; following the link to the article will open you up to movie spoilers! ) The phrase more like magic than repetitive struck me as odd, presumably because it was non-parallel (more like [noun] than [adjective]). I would have expected &quot;...more like magic than something repetitive.&quot; (Actually, that needs to be rewritten to flow better, but the point is that at least it appears to be grammatical.) Thus, one would have the noun phrase &quot;something repetitive,&quot; of the form &quot;[noun] [adjective].&quot; This got me to thinking about the use of adjectives after nouns. There is a great Stack Exchange article  that involves the characteristics of the adjective that indicate it should come after the noun. But I haven't been able to find examples of how the word &quot;something&quot; requires a postponed adjective. Consider the following sentences:  I want to buy something red. I am looking for something sweet to eat.  You cannot say:  *I want to buy red something. *I am looking for sweet something to eat.  But you can say:  I want to buy something (that is) red. I am looking for something (that is) sweet to eat.  So, my question:  Do the above examples mean that the &quot;something [adjective]&quot; construction is an example of the ellipsis of &quot;that is&quot;?  Is there something special about the word &quot;something&quot; that requires the postponed adjective? Note that I am NOT looking for details about adjectives that are postponed; I'm interested in the word that precedes the adjective (either &quot;something&quot; or similar words).   By the way, I am not interested in the following constructions, which are different:  I want to paint the house red. I tried to build the brick house taller.  Thanks in advance! I have got a new installation of windows recently. Now when I do unpin items from taskbar that were there (IE, Edge, Explorer), they do come back after restart. A pinned chrome does not disappear though e.g.  Anything to fix this issue?  P.S. Just created a new user, and he has the same problem  P.P.S. Sign out is enough to get it back, no full restart needed I'm running an Ubuntu 14.04 and want to install the Eclipse IDE for both Java and C/C++ programming. I installed the separate installation files from their official website. I followed this thread . (The top answer)   The steps helped me install the Java IDE but I don't know what changes I should make to the procedure to install the C/C++ IDE.   Another thread , recommended to install eclipse-cdt but the Eclipse version installed is outdated. (Doesn't allow me to install Pydev)   I have TWO questions:   Can the C/C++ libraries be downloaded from within eclipse, like Pydev? If not, how do I install both IDEs without interfering with each other?   P.S. I commented this query in the first thread but got no reply, that is why I'm asking a fresh question! I looked up several tutorials on how to install and they dont work. I do everything correctly but then i get this:     The file   '/home/mike/Downloads/minecraft.jar'   is not marked as executable.  If this   was downloaded or copied from an   untrusted source, it may be dangerous   to run.  For more details, read about   the executable bit.   I run the minecraft.jar with the Sun java runtime 6 but it doesnt work:/. Any help would be greatly appreciated! Helpful flags not getting updated after getting 'close question' privilege Computing matrices of linear transformation under different basis Came across a problem in my textbook and I am having trouble with it, the book provides an answer but no workings. Looking to get an explanation of what is going on  help I prepare for an exam. If we let $T : \mathbb R^2 \to \mathbb R^2$ be a linear transformation. Consdider two bases $V$ and $W$ of the vector space $\mathbb R^2$, where $V=\{v_1,v_2\}$ with $ v_1 =  \begin{bmatrix} -2 \\1   \end{bmatrix}$ and  $ v_2 =  \begin{bmatrix} 1 \\1   \end{bmatrix}$ and where $W = \{w_1,w_2\}$ with  $ w_1 =  \begin{bmatrix} -1 \\4   \end{bmatrix}$ and  $ w_2 =  \begin{bmatrix} 0 \\1   \end{bmatrix}$. Suppose that  $ A =  \begin{bmatrix} 1&amp;2   \\-1 &amp;4    \end{bmatrix}$ is the matrix of $T$ under basis $W$. I need to find the matrix $B$ the matrix of $T$ under basis $V$.  The solution is:   $ B = P^{-1}AP$ = $   \begin{bmatrix} -30&amp;22   \\-48 &amp; 35    \end{bmatrix} $  But I don't know why. jQuery: Check if image exists When to use the double not (!!) operator in JavaScript $A$ is normal and nilpotent, show $A=0$ Given a matrix $A \in R^{n \times n}$ which is normal ($AA^H=A^HA$ where $A^H$ is hermitian of $A$) and nilpotent ($A^k=0$ for some $k$). Now we need to show that $A=0$. (This is essentially exercise 5(b) in sec. 80 on p.162 of Paul R. Halmos' Finite-Dimensional Vector Spaces.) I tried to show in the following way, we know that, $AA^H=A^HA$ pre-multiply by $A^{k-1}\implies A^kA^H=A^{k-1}A^HA$ Now, we have $0 = A^{k-1}A^HA$, since $A$ nilpotent. I am not sure how to proceed from here to show $A=0$. Can someone help me in this problem? For the Quadratic Form $X^TAX; X\in\mathbb{R}^n, A\in\mathbb{R}^{n \times n}$ (which simplifies to $\Sigma_{i=0}^n\Sigma_{j=0}^nA_{ij}x_ix_j$), I tried to take the derivative wrt. X ($\Delta_X X^TAX$) and ended up with the following:  The $k^{th}$ element of the derivative represented as  $\Delta_{X_k}X^TAX=[\Sigma_{i=1}^n(A_{ik}x_k+A_{ki})x_i] + A_{kk}x_k(1-x_k)$  Does this result look right? Is there an alternative form?  I'm trying to get to the $\mu_0$ of Gaussian Discriminant Analysis by maximizing the log likelihood and I need to take the derivative of a Quadratic form. Either the result I mentioned above is wrong (shouldn't be because I went over my arithmetic several times) or the form I arrived at above is not the terribly useful to my problem (because I'm unable to proceed).  I can give more details about the problem or the steps I put down to arrive at the above result, but I didn't want to clutter to start off. Please let me know if more details are necessary.  Any link to related material is also much appreciated. Is there a way to force the Nikon D40's rear LCD panel to stay off? Is there an off/disable control anywhere? I realize that the INFO button toggles it off, but it comes right back on as soon as you tap the shutter, and that it a problem in low light situations where the LCD keeps blasting me in the eye. is looking bad right now. No errors in the console, but the following files have no content:         The CSS on another subdomain works fine though: I am using Sql Server 2008 on Small Business Server 2003; client is using WinXP.   I added a user to my Active Directory Security Group; Why can't this user immediately access the database? It seems there is a delay before the user is recognized in Sql Server.   I am using AD Security Groups for permissions expressly so that I don't need to add individual users in Sql Server. So effectively I don't need to do anything but add the user to the AD Security Group in order to grant access.  But for some reason Sql Server doesn't immediately recognize the addition. I've seen this a number of times. I add the user to the group but that user can't access data until the next day. It seems that it doesn't query the Active Directory in real time. Can you confirm that is so?  What do I need to do so that Sql Server "refreshes" the list of users from Active Directory? Organize uploads by year, month and day What is the average number of deaths per episode? While watching Game of Thrones and seeing people being killed left and right, I began to wonder:  Just how many people die per episode (not just major characters but the minor characters as well)?   I'm just wondering about an average, but a list that mentions the number of deaths for each episode would be good too. What word or phrase best communicates the idea that a human (or other sentient being) is easily swayed, particularly between moral good and evil? Words I have found that are close are:   Impressionable - Easily influenced because of a lack of critical ability.   Implies that the subject lacks critical skills, and misses the concept of good and evil.  Gullible - Easily persuaded to believe something   Misses the concept of good and evil    I created a typical angels and demons scenario to demonstrate the polar extremes of the the spectrum. In this scenario, I lack the word to describe the humans, who can be influenced towards either end of the spectrum if impressed upon by an external entity.     The angels are devoted to good, and are immovable in their ideals. The demons are wicked, and will feign morality only to manipulate others. Both prey upon the humans, who are ____________.   I think that the key here is the spectrum of good an evil. Here are examples of other spectra and their associated words, for comparison.   Easily pushed from calm to angry: Temperamental Easily moved from determined to hopeless: Weak-willed Easily influenced by propaganda: I navigate with Ctrl-n,p,f,b (readline/ keys), so that I don't have to move my hands too much and get  again. Is there a way to disable Ctrl-b being hotkey for bold?  Note that this is not just an Emacs thing. Standard web browsers, like Firefox and Chrome, use things like  Ctrl + K and Ctrl + L to navigate to the Google search bar and address bar respectively. In a family with two children, what are the chances, if one of the children is a girl, that both children are girls?  I just dipped into a book, The Drunkard's Walk - How Randomness Rules Our Lives, by Leonard Mlodinow, Vintage Books, 2008. On p.107 Mlodinow says the chances are 1 in 3.   It seems obvious to me that the chances are 1 in 2. Am I correct? Is this not exactly analogous to having a bowl with an infinite number of marbles, half black and half red? Without looking I draw out a black marble. The probability of the second marble I draw being black is 1/2.