Can't Play DVDs on Ubuntu 14.04?
How can I play encrypted DVD movies?
What would you call someone who imposes on other people's generosity? What would you call someone who isn't afraid to ask for money or any kind of favor or who misinterprets someone's generosity for a consistent resource for what they need? How to extract logs between two time stamps I want to extract all logs between two timestamps. Some lines may not have the timestamp, but I want those lines also. In short, I want every line that falls under two time stamps. My log structure looks like:  [2014-04-07 23:59:58] CheckForCallAction [ERROR] Exception caught in +CheckForCallAction :: null --Checking user-- Post [2014-04-08 00:00:03] MobileAppRequestFilter [DEBUG] Action requested checkforcall   Suppose I want to extract everything between 2014-04-07 23:00 and 2014-04-08 02:00.  Please note the start time stamp or end time stamp may not be there in the log, but I want every line between these two time stamps. Is 45 mins enough in Newark airport terminal C to change the plane for connecting flight? I never know how to order food correctly but succinctly the first time. :(  Basically: I can't eat hot stuff (i.e. most pepper, similar spices, ...).  On the one hand, I don't want to say "Please don't make it spicy", because I really don't mind spice (heck, a lot of them are great!) -- I just don't want it to be hot spice.  On the other hand "Please don't make it hot" would seem to imply I'd like my food cold!  Possibilities I've considered:   "Please don't add hot spice" just sounds weird "Please don't add pepper" is the best I've thought of so far, but I'm pretty sure I've come across foods without pepper (or apparently so) which nevertheless tasted pretty hot. And not just that, but it would also exclude bell peppers, etc. which I don't mind much.   Any ideas for how to communicate this clearly? The fewer words the better, haha. How can I reduce the delay before window previews are shown in the Windows 7 taskbar? I really love the preview feature of the Windows 7 taskbar. There's only one reason I don't use it more often -- it takes a relatively long time to display the actual window.  There is a registry trick () to reduce the delay used by general menus, and make the submenus open instantly when hovered upon. I'm wondering if there's a similar trick that can be used for the Windows 7 taskbar's previewing. How does one actually show from associativity that one can drop parentheses? I need help to solve following problem from Rudin's Mathematical analysis book:    Convergence of the series $\sum a_n$  implies the convergence of $\sum \dfrac{\sqrt {a_n}}{n}$, if $a_n&gt;0$  I tried to construct a suitable convergence sequence $b_n$ such that $\sum b_n$ converges and $a_n \leq b_n$ but, I am not able to find such sequence $b_n$ .  Thanks for the help and sugestions. Pages documents created on Yosemite cannot be opened by Pages on Yosemite after latest update (5.5.2) Seemingly every single document that I created in the previous version of Pages (I update regularly whenever I see that a new update is available) on this same MacBook Pro with Yosemite will now not open with Pages after the latest update (5.5.2). I am still on Yosemite and nothing has changed aside from updating Pages, Numbers &amp; Keynote.  All of my documents are stored on my internal hard drive. When I attempt to open them I get a message stating the following:     This document can't be opened because it's too old. To open it, save it with Pages '09 first.   As I mentioned above, however, these documents were created in whichever version was right before the current version on the same computer with the same operating system (Yosemite).  Can anybody help? These are time sensitive documents. For now, I may try opening them with my iPad, but wow, if I knew this was going to happen I certainly would not have updated. jQuery Event Keypress: Which key was pressed? With jQuery, how do I find out which key was pressed when I bind to the keypress event?  $('#searchbox input').bind('keypress', function(e) {});   I want to trigger a submit when ENTER is pressed.  [Update]  Even though I found the (or better: one) answer myself, there seems to be some room for variation ;)  Is there a difference between keyCode and which - especially if I'm just looking for ENTER, which will never be a unicode key?  Do some browsers provide one property and others provide the other one? Showing that $\mathbb{R}$ and $\mathbb{R}\backslash\mathbb{Q}$ are equinumerous using Cantor-Bernstein I need to prove that $\mathbb{R}\backslash\mathbb{Q} \sim \mathbb{R} $  Using Cantor-Bernstein, need to show an injection from $\mathbb{R}\backslash\mathbb{Q}$ to $\mathbb{R}$ and from $\mathbb{R}$ to $\mathbb{R}\backslash\mathbb{Q}$.    $\mathbb{R}\backslash\mathbb{Q}$ is a subset of $\mathbb{R}$ so only need to show injection from $\mathbb{R}$ to $\mathbb{R}\backslash\mathbb{Q}$ to complete the proof.    Possible injection: $f:\mathbb{R}\to \mathbb{R}\backslash\mathbb{Q}$ defined as $f(x) = \pi x$ if $x$ is not a multiple of $\pi$; otherwise $f(x) = \sqrt{2} x$.    Not sure if $f$ actually is an injection... I noticed that the these two commands to list files below 5 GiB produce different results:  find . -type f -size -5368709120c find . -type f -size -5G   Specifically the one that uses kilobyte unit (5368709120c) returns additional files that are larger than the maximum file size returned by the one that uses the GiB unit (5G).  From the find manual page I read the following:  -size n[cwbkMG]           File uses n units of space.  The following suffixes can be used:           `b'    for 512-byte blocks (this is the default if no suffix is used)           `c'    for bytes           `w'    for two-byte words           `k'    for Kilobytes (units of 1024 bytes)           `M'    for Megabytes (units of 1048576 bytes)           `G'    for Gigabytes (units of 1073741824 bytes)  The size does not count indirect blocks, but it does count blocks  in sparse files that are not actually allocated.  Bear in mind that the `%k' and `%b' format specifiers of -printf handle sparse files differently.   The  `b'  suffix always denotes 512-byte blocks and never 1 Kilobyte blocks,  which is different to the behaviour of -ls.   So, given that the unit of G is 1073741824, 5G should be 5368709120c. Is the issue due to how sparse or indirect blocks are counted?  Thanks in advance for the help. \pause in tikzpicture breaks footline I've discovered that you can \pause within a tikzpicture, which works well until I switched the theme to one with a footline.  I've created a "test case" that illustrates the problem.  \documentclass{beamer} \providecommand\thispdfpagelabel[1]{} % Not sure what this does but our installation requires it. \usepackage{tikz} \usetheme{Madrid} % Has a footline.  \begin{document}   \begin{frame}     \frametitle{test}     \begin{tikzpicture}       \node at (0, 1) {Hello};       \pause       \node at (0, 0) {World};     \end{tikzpicture}   \end{frame} \end{document}   This creates two slides, but the footline is only drawn on the second (the headline/title appears on both). Is there anything I can do about this? Before I met her I had a poor opinion of her.   As person had a poor opinion before a particular time in past (before He met her) so I think there should be had had.   There are some more example like this:   Before I went to the university, I worked/had worked as a carpenter for 5 years. Before I opened the door, I put/had put the key in the lock. Before I opened the door, I looked/had looked carefully into the barn for snipers.   In all these sentence, for me, it should be perfect tense.  I asked that question on another platform where I was told that if sequence of past event is obvious and sentences uses "before"and "after", we often use past tense. Which means we should use past tense in all these sentences. But I have another sentence "The train had left before I reached the station." If I follow above mentioned rule there should be "left" instead of "had left". But I am damn sure this sentence is correct with "had left".   Am I correct?  Thank you Etiquette for username changes I'm thinking of changing my username to my real name. Given that I have a presence on some of the sites here (mostly codegolf), what etiquette should I follow when choosing my new name?  As my username is currently Quincunx, I'm thinking of changing it to MyRealName (formerly Quincunx). Or perhaps MyRealName (né Quincunx). Maybe just MyRealName (Quincunx). If I do use these usernames, will people be able to recognize who I am? Or is there already a standard way to change usernames (such as relying on the profile picture)? A word for a symbol which has outlived its origin I am quite sure that there is a word for a symbol which was originated by a real-life, physical prototype but has since then outlived its origin.  Most notable example: the save button with floppy drive on it. Also, to a lesser degree, envelopes in email clients, and so on.  The "anachronism" or "metonymy" are close, but not exactly what I'm searching for. How do I get the number of days between two dates in JavaScript? I am getting FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject. I know that it is because it is not returning any rows in the SOQL query but what I want is that if it returns any row, it should update ALO field on contact object, if it is null then ALO field should be set to null.  Here is my code:  ziptoLOD = [SELECT Id, Name, LOD__c             FROM Zip_3_to_LOD__c             WHERE Name =: contact.Extract_Zipcode__c ];  Zip_3_to_LOD__c ziptoLOD2 = (ziptoLOD != null) ? ziptoLOD : null;  if (ziptoLOD2 == null) {     contact.ALO__c = ' ';    } else {     System.debug(System.LoggingLevel.ERROR, 'Zip to LOD' + ziptoLOD2);     contact.ALO__c = ziptoLOD2.LOD__c; }   My code gets stuck at the SOQL query and gives me the list has no rows error. Return dynamically allocated memory from C++ to C Can't do reviews after failing 1 audit PDF video Embedding Problem I have embed an mp4 video in the PDF file as given below:  \documentclass{beamer} \usetheme{Singapore} \usepackage{media9} \usepackage{hyperref} \begin{document}  \begin{frame}\frametitle{Title}  \includemedia[ width=\paperwidth,height=0.7\linewidth, activate=pageopen, flashvars={aaa.mp4 &amp;autoPlay=true} ]{}{C:/Users/name/Desktop/aaa.mp4}  \end{frame}  \end{document}    There is no compile time error in the code but after running it this massage comes along a  blank pd f file....  "To view the Flash @R Technology content in this pd f file, please install the required version of Flash Player"  I would like to add here that I already have installed the latest version of Flash Player(Adobe Flash Player 12 ActiveX). So,Can anyone tell what version is required to be installed to obtain Video in pd f file.