"Is" or "are"? What is the subject here?
Agreement in "[Singular Noun] Is/Are [Plural Noun]"?
How can I install Ubuntu encrypted with LUKS with dual-boot? The Ubuntu installation disk has an option to install Ubuntu encrypted using LUKS. However, there is no option to perform an encrypted installation along-side existing partitions for a dual-boot scenario.  How can I install Ubuntu encrypted alongside another partition from the live disk? How can energy be useful when it is 'abstract'? The topic which haunted me for two years until I gave up on it. But now I am doing engineering and this topic suddenly popped out of my textbook from nowhere. I seriously need to understand this topic because I wasn't able to do so in the past. I have read many book on 'energy' and it came to nothing. Maybe just because the many books I have read all said 'energy' is something which doesn't 'exist'! It is 'abstract'! It is just a number which represents the state or orientation of a system. But then I see so many examples that 'uses' energy to do 'work'. But the question here is that if anything doesn't exist in this universe, then how can the same thing be used to do something that exist?  My problem is that I didn't understood the topic 'energy' and all the other topics related to it (work, power etc.) Why is using "for...in" for array iteration a bad idea? This is intended to be a canonical question regarding possible endings of the game.  For each question, assume a single proper strike was made, and note where an improper strike would change the game outcome (beyond an additional point for the opponent).  If the Queen has been covered:     What happens if I pocket my last C/m and the Striker? What happens if I pocket my opponent's last C/m? What happens if I pocket my opponent's last C/m and the Striker? What happens if I pocket both players' last C/m? What happens if I pocket both players' last C/m and the Striker?     If the shot covers the Queen:     What happens if I pocket my last C/m and the Queen? What happens if I pocket my last C/m, the Queen and the Striker? What happens if I pocket my opponents' last C/m and the Queen? What happens if I pocket my opponents' last C/m, the Queen and the Striker? What happens if I pocket both players' last C/m and the Queen? What happens if I pocket both players' last C/m, the Queen and the Striker?     If the Queen is left on the board:     What happens if I pocket my last C/m, leaving the Queen? What happens if I pocket my last C/m and the Striker, leaving the Queen? What happens if I pocket my opponent's last C/m, leaving the Queen? What happens if I pocket my opponent's last C/m and the Striker, leaving the Queen? What happens if I pocket both players' last C/m, leaving the Queen? What happens if I pocket both players' last C/m and the Striker, leaving the Queen? I have a DVD I was trying to rip, and handbrake froze up when scanning it.  I tried to eject the DVD by dragging and dropping it to the trash, which trashed the icon, but didn't eject the DVD.  I then forced Handbrake to quit, but without an icon on my desktop to select, how can I eject the DVD? Given a joint density function, what is the conditional expectation $E[Y|x]$? The random variables $X$ and $Y$ have the joint density $$f_{X,Y}(x,y)= \left\{\begin{matrix}e^{-y}, \mbox{ } 0\leq x \leq y \le \infty \\ 0,  \mbox{   otherwise}\end{matrix}\right.$$ Evaluate the conditional expectation $E[Y|x]$.    I'm not sure if I'm doing this correctly. Please let me know if something is off in my solution. Thanks for reading.  My solution: (My expected value is negative, which I'm pretty sure can never be the case. Also in line 4 and 8, are the domains correct?)  $$E[Y|x] = \int_{-\infty}^{\infty}yf_{Y|X}(y|x)dy.$$  $$f_{Y|X}(y|x) = \frac{f_{X,Y}(x,y)}{f_{X}(x)}.$$    $$f_{X}(x) = \int_{-\infty}^{\infty}f_{X,Y}(x,y)dy$$   $$= \int_{0}^{\infty}e^{-y}dy $$  $$=\left [ -e^{-y} \right]\Big|_0^\infty $$  $$ = -e^{-\infty}-(-e^{0})=1. $$ $$f_{X}(x) = 1, x \geq 0.$$ Thus,   $$E[Y|x] = \int_{0}^{\infty}-ye^{-y}dy$$  $$= -\int_{0}^{\infty}ye^{-y}dy$$ After integration by parts,  $$E[Y|x] = \left [ ye^{-y}+e^{-y} \right]\Big|_0^\infty$$ $$=0-[e^{0} + 0]=-1$$ Therefore, $E[Y|x] = -1.$  Thanks in advance for reading this long problem and responding! Why use "need not" instead of "do not need to"? "Cancellation", "Canceled", "Canceling" — US usage I'm trying to figure out if there is a specific rule behind the word "cancel" that would cause "cancellation" to have two L's, but "canceled" and "canceling" to have only one (in the US).    I understand the rules are very loose when it comes to double L's in English, and I have read several posts on here talking about "canceled" and "canceling" (vs "cancelled" and "cancelling"), but my specific question is more about the spelling of "cancellation".    - they do NOT mention cancelation with one "L"  - they do seem to have cancelation listed with one "L" Microsoft Word marks "cancelation" as an invalid word Same with the spell checker in Firefox   So my question is: is there a reason or rule why in US English, "cancellation" seems to have two L's (to most dictionaries), while "canceled" and "canceling" does not? Can I insert elements to the beginning of an element using .appendChild()? If the user selects an option in a dropdown box, there must be added a label and a textbox. Using appendChild, these elements get added to the end of the container.  var newFreeformLabel = document.createElement('label'); newFreeformLabel.innerHTML = 'Omschrijving:';  var newFreeformField = document.createElement('input'); newFreeformField.className = 'textfield'; newFreeformField.name = 'factuur_orderregel[]';  var newFreeformSpacer = document.createElement('div'); newFreeformSpacer.className = 'spacer';  container.appendChild(newFreeformLabel); container.appendChild(newFreeformField); container.appendChild(newFreeformSpacer);   The issue is that these elements should be inserted at the beginning of container, not at the end.  Is there a solution to this in PrototypeJS? Start modal operator from a click in panel I want to start a modal operator by clicking a button in a panel in the properties region. It should then stop when I click somewhere in the 3D viewport. I want to execute some code when I start and finish the operator (see the code below). I tried modifiyng the modal operator template with an execute method to start the modal operator. But the now the context.space_data.type is always &quot;PROPERTIES&quot; because that's where the panel is located, I guess. Is this a bad way of doing what I want? class MY_OPERATOR_OT_click_on_3dview(bpy.types.Operator):          bl_idname = &quot;mesh.click_on_3dview&quot;     bl_label = &quot;Click on 3D&quot;      def modal(self, context, event):                  if context.space_data.type != 'VIEW_3D':             return {'PASS_THROUGH'}                  if event.type in {'MIDDLEMOUSE', 'WHEELUPMOUSE', 'WHEELDOWNMOUSE'}:             # allow navigation             return {'PASS_THROUGH'}         elif event.type == 'LEFTMOUSE':             # DO ALL THE POST-SELECT STUFF             return {'FINISHED'}         elif event.type in {'RIGHTMOUSE', 'ESC'}:             return {'CANCELLED'}          return {'RUNNING_MODAL'}      def execute(self, context):         # DO ALL THE SETUP STUFF           context.window_manager.modal_handler_add(self)              return {'RUNNING_MODAL'}            def cancel(self, context):         print(&quot;CANCEL???&quot;) Integral $\int_0^\infty \frac{\arctan(x) dx}{x(1+x^2)}$? How would one evaluate the integral $$\int_0^\infty \frac{\arctan(x) \,dx}{x(1+x^2)}$$?  I was told it had a nice closed form and could have been solved with differentiation under the integral sign; however, I tried to set $$I(\alpha) = \int_0^\infty \frac{\arctan(\alpha x) \,dx}{x(1+x^2)}$$ and got nowhere (the resulting integral was very messy). Is there a much more clever substitution that can be used to tackle the integral? How can I install a Nautilus script? I found a nautilus script I would like to use. How do I install it? How to restrict awk math output to 2 decimal places My Command is below and its print Free CPU and Used CPU below format.  I want to restrict awk output to 2 decimal place.  grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} {free=($5)*100/($2+$3+$4+$5)} END {print "Used Cpu:",usage "%"} {print "Free Cpu:",free "%"}'   Output :   Free Cpu: 98.9588%  Used Cpu: 1.04125%   Desired output :  Free Cpu: 98.95%  Used Cpu: 1.04% Can a Half-Elf have Drow Ancestry? After deleting all nodes, how do I reset the node ID to start from 1 again? I generated tons of dummy content for testing, and then deleted them all.  As nid is auto-increment, newly created node will have a nid of last created nid +1.  How can I make nid start from 1 again? Positioning relative to page in TikZ Is B1 visa in perfect condition valid on old damaged passport? I got my US B1 visa last month on my Indian passport. Someone in my family wrote a phone number on one of the blank page of my passport. As my passport is damaged now, can I travel with my current passport to US or I should apply for new passport? Also, will B1 visa be valid on old damaged passport if I get new passport? Can I revert to the Mountain Lion style labels instead of Mavericks tags? How? Why does Perl's sprintf not round floating point numbers correctly? Definite Integral: $\int_0^1\frac{x^{2} -1}{\log x}\,dx$ How to figure out the following integral? I have not been able to solve it from some time. $$\int_0^1\frac{x^{2} -1}{\log x}\,dx$$