Why is password confirmation common in password resets and updates?
Is password confirmation necessary on a Change Password dialog?
Prove that if $B$ is the set of rationals in $[0,1]$ with a finite subcover, then: $1 \leq \sum_{k=1}^n m^*(I_k)$ I have the following homework problem:  Let $B$ be the set of rational numbers in the interval $[0,1]$, and let $\{I_k\}_{k=1}^n$ be a finite collection of open intervals that covers $B$. Prove that $\sum_{k=1}^n m^*(I_k) \geq 1$.    This is my approach, First we have that $B = \mathbb{Q}\cap [0,1]$. Now, $B \subset \bigcup_{k=1}^nI_k$, where $I_k$ are open intervals.In particular $0 \in B \wedge 1 \in B$.Now, since $B \subset \bigcup_{k=1}^nI_k$ then there exist positive numbers, $\epsilon_0, \epsilon_1$ such that: $$(0-\epsilon_0,0+\epsilon_0)\subset \bigcup_{k=1}^nI_k$$ $$(1-\epsilon_0,1+\epsilon_0)\subset \bigcup_{k=1}^nI_k.$$   Clearly, $-e_0 \notin [0,1]$ and $e_1 \notin [0,1]$.I am not sure, if so far I am in the right track. How to Link/Append a data-block using the Python API? I'm searching a way to append a group in Python.  It should behave exactly like the Append function (ShiftF1) works, all objects should be local and editable. The idea is to append a character (with rig etc.) via Python and not Link it (to be able to modify it without making everything local one by one).  Thanks Theme Image Style for image located in module directory Probably coming at this from too much of a Drupal 6 view point but...  How do I theme an image in a given image style when that image lives in a module folder?  This is driving me batty and I know I'm just missing something simple.  Here is some example code showing what I'm trying to do:  $file_uri = 'public://sites/all/modules/my_module/logo.jpg'; $data['logo'] = theme('image_style', array('style_name' =&gt; 'medium', 'path' =&gt; $file_uri));   Even if I use file_build_uri(), I end up with a path to a file that doesn't exist. If I move the image to the files directory and change the $file_uri to 'public://logo.jpg', it works just fine.  Do I need to copy the image to the files directory as part of the module code?  If so, isn't this ridiculous?  What am I missing?  Is there documentation on how to do something like this?  I've spent over an hour mining the Drupal documentation and came up completely dry. How do I give myself an item that can only be placed on a block with a certain damage value? I'm currently in the process of making a custom map and I want to add blocks that can only be placed on a certain colour clay.  This is the command I tried using.  /give @p cobblestone 1 0 {CanPlaceOn:["hardened_stained_clay"],Damage:3}   However, even with this command the cobblestone can be placed on any colour of stained clay. What command can I use for placing only on a certain block? Can humans eat grass? Can a human eat grass and digest it? Could it be possible to use it as food just like other plants such as wheat or beans? Another way to evaluate $\int\frac{\cos5x+\cos4x}{1-2\cos3x}{dx}$? What I've done is this:$$\int\dfrac{\cos5x+\cos4x}{1-2\cos3x}{dx}$$ $$\int \dfrac{\sin 3x}{\sin 3x}\left[\dfrac{\cos5x+\cos4x}{1-2\cos3x}\right]{dx}$$ $$\dfrac {1}{2}\int\dfrac{\sin 8x -\sin 2x +\sin 7x -\sin x}{\sin 3x - \sin 6x}$$ $$-\dfrac {1}{2}\int\dfrac{ \sin \frac{7x}{2} +\sin \frac{5x}{2} } {\sin \frac{3x}{2} }$$ $$-\int\dfrac{ \sin {3x}\cos \frac{x}{2} } {\sin \frac{3x}{2} }$$ $$-\int\dfrac{2\sin \frac{3x}{2} \cos \frac{3x}{2}\cos \frac{x}{2} } {\sin \frac{3x}{2} }$$ $$-\int {2\cos \frac{3x}{2}\cos \frac{x}{2} }$$ $$ -\left(\frac{\sin 2x}{2} +\sin x \right) +c $$ Is there any other way to do so ? Is it possible to do it by substitution ? Is there a platform-agnostic and filesystem-agnostic method to obtain the full path of the directory from where a program is running using C/C++? Not to be confused with the current working directory. (Please don't suggest libraries unless they're standard ones like clib or STL.)  (If there's no platform/filesystem-agnostic method, suggestions that work in Windows and Linux for specific filesystems are welcome too.) Recently, my iPhone 5 was stolen, and while I have a new iPhone 6, I received a message from a number of someone claiming to be in possession of the device, with a new number.   All images, contacts, Outlook mail, you name it, are still on the device.  While I realize it's my fault for not having it connected to iCloud to wipe manually, is there anything I can do to have this sensitive information wiped from the device? How can I scale all images in a folder to the same width? I want to scale all images in a given folder to the same width (but different appropriately scaled heights). How can I do this using  a GUI-based or command-line tool?  For bonus points, is it possible to restrict which images are scaled based on their initial width (that is, only scale images that have a width > x and/or a width &lt; y)? Fighting Spam - What can I do as an: Email Administrator, Domain Owner, or User? Is there animation software available? Is there commercial-grade computer animation software available for Ubuntu, similar to the professional software sold for the Windows operating system?  This question goes out to those of you who may be using such software professionally.  My daughter recently graduated from the Art Institute of Seattle, and needs to put together an animation portfolio in order to interest employers in the field.  As you know, such software is usually provided by the employer and the costs are high - several thousand dollars.  I suggested that she investigate Ubuntu as a possible way to acquire the tools she needs.  But, since I have no idea what might be available, either as open source or proprietary animation software, I am reaching out to the Ubuntu community for help in the hope someone who is using such software can help her.  Thank you for reading this post, and for any information you might have. Given 3 distinct primes {$p,q,r$}, then $|G|=pqr \implies G$ not simple What is the difference between "lay" and "lie"? Difference between "did + verb" and just "verb+ed" This is something I always get confuse with (native language German). As far as I know "did + verb" is something done and finished in the past. But isn't it the same with "verb + ed"? I can't really remember how long ago it was, but I think the book was marketed towards children/teens.  All I remember is the basic premise of the story.  Some story about these unusual little blue electric critters that only certain people could see, and these kids took it upon themselves to go about destroying them since they fed off energy or something like that.  Not sure whether they fed off people or off electricity... or both maybe?  I think the dominant method of destroying them was an electric baton that was taken from law enforcement.  I wanna call them buzz batons, but that's probably thanks to Artemis Fowl. In reading through the original GCM specification (), the composition of the 128 bit Initialization Vector as a concatenation of a 96b nonce and a 32b unsigned wrapping counter seems arbitrary and forces the scrambling pattern to repeat every 232 16-byte block.  Is the algorithm expected to be secure for significantly longer stream lengths if for example the IV were a 128b nonce XORed with a 64b or 128b counter, or are there known cryptanalysis issues that begin to arise? If I pay off lease amount early for a car, is there any impact on my credit?  Let's say I'm paying $400/month for 36 months, which is 14,400 total. If I pay 14,400 within 6 months, are there any disadvantages on my credit? Do the laws of physics evolve? How to Improve Mathematical Thinking and General Problem Solving Skills? I'm a sophomore in university and seriously feel that I'm bad at solving mathematical and algorithmic problems (be it discrete math, calculus or just puzzles). I noticed that I'm only good at solving questions that are similar to the ones that have been taught to us.  Here's how I generally approach it:   What is the problem? What do I need to do here? Does it look like I've encountered this before?  Can I think of a smaller problem to solve instead?   If the answer is no to all the above then I sort of blank out. I stare at it and force my brain to run through a wide variety of stuff, almost like a brute force attempt of solving it. Obviously that leads me to nowhere everytime. I simply can't think "outside the box."   What can I do to improve my situation? check the availability of the WCF Web Service I want to check the availability of the WCF web service i.c service is up or down through  the C# code. How to achieve that?