Bring a "human factor" into review audit composition/selection
Add an "I don't understand" option for review audits
Java; String replace (using regular expressions)? As part of a project for school, I need to replace a string from the form:  5 * x^3 - 6 * x^1 + 1   to something like:  5x&lt;sup&gt;3&lt;/sup&gt; - 6x&lt;sup&gt;1&lt;/sup&gt; + 1   I believe this can be done with regular expressions, but I don't know how to do it yet.  Can you lend me a hand?   P.S. The actual assignment is to implement a Polynomial Processing Java application, and I'm using this to pass polynomial.toString() from the model to the view, and I want do display it using html tags in a pretty way. What is the most "pythonic" way to iterate over a list in chunks? jQuery autocomplete tagging plug-in like StackOverflow's input tags? What solutions accomplish the same auto-completion that SO uses for entering tags?  There are plugins that can handle one word but I haven't seen any that handle multiple words. Getting the expectation symbol to behave like $\sum$ instead of $\Sigma$ How can I get an expectation symbol which behaves like $\sum$?  Specifically, I want the underscore to be like that of a summation.  At the moment I use   $$\mathbb{E}_{x\in A}$$    However, I do not like this.  It feels like I am writing a sum as   $$\Sigma_{x\in A}$$    Whereas the alternative  $$\sum_{x\in A}$$   is much nicer when in a centered equation.  (The underscore appears directly below the sigma, instead of slight infront and below.)  Is there a way to make an expectation symbol which behaves like $$\sum$$ rather then $$\Sigma$$? How to add element by element of two STL vectors? how disable resume hard disk from Sleep on Shut Down I'm using Windows 7 , I set my drive to sleep after 10 minutes and it works but, when I shut down windows my hard drive resume from sleep. Why? It shouldn't keep hard drive sleep and shut down the PC ? Encode/Decode URLs in C++ Does anyone know of any good C++ code that does this? Split Java String by New Line I'm trying to split text in a JTextArea using a regex to split the String by \n However, this does not work and I also tried by \r\n|\r|n and many other combination of regexes. Code:  public void insertUpdate(DocumentEvent e) {     String split[], docStr = null;     Document textAreaDoc = (Document)e.getDocument();      try {         docStr = textAreaDoc.getText(textAreaDoc.getStartPosition().getOffset(), textAreaDoc.getEndPosition().getOffset());     } catch (BadLocationException e1) {         // TODO Auto-generated catch block         e1.printStackTrace();     }      split = docStr.split("\\n"); } Parentheses around more than one paragraph Does English allow one to put parentheses around more than one paragraph? Example:     Paragraph 1.      (Paragraph 2.      Paragraph 3.)      Paragraph 4.   (Of course, this is just a simple example. In reality, it looks more clean since the paragraphs are more than one line long, and are not separated by an empty line.) How to request a random row in SQL? How can I request a random row (or as close to truly random as is possible) in pure SQL? Sharing Open Source Python/ArcPy Code and Models for ArcGIS Desktop? I will be writing scripts for ArcGIS Desktop in Python with ArcPy.   Is there a community or open source project where code and models can be shared? Search for all files with a .sql extension in folders and sub folders If I simply wrap my query with:  BEGIN TRANSACTION    COMMIT TRANSACTION   If anything fails inside of that, will it automatically rollback?  From looking at other code, they seem to check for an error, if there is an error then they do a GOTO statement which then calls ROLLBACK TRANSACTION  But that seems like allot of work, to have to check for IF( @@ERROR &lt;> 0) after every insert/update. I have 2 quartz crystal resonators in my pcb board: 32.768 kHz &amp; 20 MHz. They are connected to a Freescale MC12311 transceiver IC, which has an HCS08 micro-controller embedded in it. I want to test if these crystals are working properly or not.  Available tools: Oscilloscope, Frequency-Meter (Digital Counter), Digital Multimeter.  How should I use these tools to test the crystals in board?   Note: The capacitive load-effect of probes should probably be considered. If not, the measurement would not be accurate, or even worse, the crystals would not work at all.     Edit1: I used both the oscilloscope and the frequency-meter (with x10 probes), but unfortunately there was nothing monitored at all. What is the real answer to the Birthday question? "How large must a class be to make the probability of finding two people with the same birthday at least 50%?"  I have 360 friends on facebook, and, as expected, the distribution of their birthdays is not uniform at all.  I have one day with that has 9 friends with the same birthday. (9 months after big holidays and valentines day seem to be big ones, lol..)  So, given that some days are more likely for a birthday, I'm assuming the number of 23 is an upperbound.  Has there been a better estimate to this problem? How to start a GUI software on a remote Linux PC via SSH Sometimes I need to start XMBC media player or other GUI software a one of my PC (small Xubuntu PC used as a media center).  Usually I do this starting a X11vnc server on the remote PC via SSH and than connecting with an Xvnc client to the Xfce desktop.  Is there a way to start a GUI software on a remote Linux PC via SSH?  Thanks! I have a problem with using "too" in a sentence. In what situation would you use "too" instead of "so" or "very"? Please include an example to illustrate the difference. Proof of an inequality by induction: $(1 + x_1)(1 + x_2)...(1 + x_n) \ge 1 + x_1 + x_2 + ... + x_n$ Let $n \in \mathbb N^+$. Show that if $x_1, x_2, ... , x_n$ are $n$ real numbers such that $-1 \le x_i \le 0$ for each $1 \le i \le n$, then $$(1 + x_1)(1 + x_2)...(1 + x_n) \ge 1 + x_1 + x_2 + ... + x_n$$  I am using a proof by induction, but I am unable to complete it. I would appreciate any tips on how I could finish the proof.   Incomplete Proof Let $P(n)$ be the proposition that $(1 + x_1)(1 + x_2)...(1 + x_n) \ge 1 + \sum_{i = 1} ^ n x_i$. When $n = 1$, LHS = RHS = $1 + x_i$. Clearly $1 + x_i \ge 1 + x_i$ and so $P(1)$ is true. Assume that $P(k)$ is true, i.e. $(1 + x_1)(1 + x_2)...(1 + x_k) \ge 1 + \sum_{i=1}^k x_i$. Case 1 Suppose $x_{k + 1}  = -1$. Then $1 + x_{k + 1} = 0$, hence LHS = $(1 + x_1)(1 + x_2)...(1 + x_k)(1 + x_{k+1}) = 0$. RHS = $1 + x_1 + x_2 + ... + x_k - 1 = x_1 + x_2 + ... + x_k$ which is always nonpositive since each $x_i$ is nonpositive. Hence RHS $\le 0$ and so LHS $\ge$ RHS. Case 2 Suppose $x_{k+1} = 0$. Then $1 + x_{k+1} = 1$, hence multiplying it to LHS does not change anything. Also, adding $x_{k+1}$ to RHS does not change anything. Therefore, LHS $\ge$ RHS still holds. Case 3 Suppose $-1 &lt; x_{k+1} &lt; 0$. Then $0 &lt; 1 + x_{k+1} &lt; 1$. Adding $x_{k+1}$ to RHS makes the RHS smaller since $x_{k+1}$ is negative. If LHS $= 0$, then multiplying $1 + x_{k+1}$ to LHS does not change anything, and so LHS $\ge$ RHS holds. If LHS > $0$, then multiplying $1 + x_{k+1}$ to LHS makes the LHS smaller since $0 &lt; 1 + x_{k+1} &lt; 1$. In this case LHS $\ge$ RHS does not necessarily hold? ... Why could centering independent variables change the main effects with moderation? $a,b,c$ are distinct real numbers that $$(a^2)(1-b+c)+(b^2)(1-c+a)+(c^2)(1-a+b)=ab+bc+ca.$$ Prove $$\frac{1}{(a-b)^2}+\frac{1}{(b-c)^2}+\frac{1}{(c-a)^2}=1.$$ I have tried two different approaches to this problem but am stuck.  First I started by expanding the bottom of each fraction. $\frac{1}{(a^2)-2ab+(b^2)}+\frac{1}{(b^2)-2bc+(c^2)}+\frac{1}{(c^2)-2ac+(a^2)}=1$  I also tried to expand $(a^2)(1-b+c)+(b^2)(1-c-a)+(c^2)(1-a+b)=ab+bc+ca$   $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b=ab+bc+ca$ $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b-ab-bc-ca=0$ Then I added one to both sides $(a^2)-(a^2)b+(a^2)c+(b^2)-(b^2)c-(b^2)a+(c^2)-(c^2)a+(c^2)b-ab-bc-ca+1=0+1$ Help will be appreciated.