how SELECT people within age range
Mysql: Select all data between two dates
Lunch Meeting Probability for two person to meet in given 1 hour slot and none would wait more then 15 minute. Two friends who have unpredictable lunch hours agree to meet for lunch at their favorite restaurant whenever possible. Neither wishes to eat alone and each dislikes waiting for the other, so they agree that each will arrive at a random time between noon and 1 pm, and each will wait for the other for 15 minutes or until 1:00. What is the probability that the friends will meet for lunch on a given day? Regionalism or just bad English? I've encountered a particular type of writing occasionally and it being, derp, in writing, it's hard to tell whether there's an accent behind it. The English used seems to me to be simply incorrect, but I can't help but feel that the following features are part of a dialect or a regional style of English. One of the most glaring (and grating) features is the substitution of &quot;saw&quot; with &quot;seen&quot;.  He seen him at the shop the other day. I seen that you were looking for... etc.  The use of &quot;away (to)&quot; is also peculiar, if not incorrect.  He was away to open the door when... He was away to get what he had asked for. etc.  I haven't come across these forms very often, and even then it was accompanied by otherwise mostly correct English, which is what makes me wonder what the hell. This is more intellectual curiosity than anything else. Incompatibility with mathtools and unicode-math in xelatex? I find unexpected behaviour in using mathtools in conjunction with unicode-math, which shows up if the 'range' command is used. Some incompatibilities have been noted before, so perhaps this is related. However, it only showed up for me in Texlive2016; previous versions worked as expected. In the following example I wish to draw calligraphic fonts from a different set than the main maths fonts, and some calligraphic symbols, and a regular italic bold face math, are missing.   \documentclass{article} \usepackage{mathtools}  \usepackage{fontspec} \usepackage{unicode-math} \unimathsetup{math-style=ISO,bold-style=ISO,sans-style=italic} \setmainfont{xits-regular.otf} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal}]{latinmodern-math.otf} %\setmathfont[range={}]{xits-math.otf} % Try with and without this line % \begin{document} Test $a+b = \mathcal{C H G}C \mathscr{D}$ $$-\frac{a}{b} \mathcal{O} . $$ \begin{equation}     \mathrm{d} = \mathcal G(\varphi,x,y,z,t) ,  \end{equation} The symbol $\mathcal{G}$ is missing.  The following equation is wrong if I include the line  ``setmathfont[range=\{\}] \{xits-math.otf\}'' \begin{equation}     \mathup{d} = \symbf{u}(\varphi,x,y,z,t) ,  \end{equation} The glyph $\symbf{u}$ is missing. \end{document}   If mmathtools is called after unicode-math the problem does not arise, but this ordering is not recommend by the unicode-math developers.  My specific question is, is this a bug or is it something I am doing wrong? I have some section where user can upload CV and profile images,  I'm using the native attachment functions,  $attachment_cv_id = media_handle_upload( 'candidate_cv', 0 ); if ( ! is_wp_error( $attachment_cv_id ) ) {     // We link this file to the post      // add_post_meta( $result , 'wpcf-cv-file', wp_get_attachment_url($attachment_cv_id)); } else {     $submit_candidate_errors[] = lang("Hubo error subiendo la CV"); }   Is there any way I can hide this files from the media section in the wp-admin? ( perhaps changing its folder )  Thanks  -EDIT-  i'm trying like Dave suggested, adding a meta: 'rrhh-file'  $attachment_id = media_handle_upload( 'apply_file', 0 );  if ( ! is_wp_error( $attachment_id ) ) {     // The image was uploaded successfully!     add_post_meta($attachment_id, 'rrhh-file', true); }   And even that it has the attribute:  var_dump(get_post_meta(1200)); // last id I uploaded die();   Prints out:  array(4) {   ["_wp_attached_file"]=&gt;   array(1) {     [0]=&gt;     string(20) "2017/06/image001.jpg"   }   ["_wp_attachment_metadata"]=&gt;   array(1) {     [0]=&gt;     string(666) "a:5:{s:5:"width";i:523;s:6:"height";i:122;s:4:"file";s:20:"2017/06/image001.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:20:"image001-150x122.jpg";s:5:"width";i:150;s:6:"height";i:122;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:19:"image001-300x70.jpg";s:5:"width";i:300;s:6:"height";i:70;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"1";s:8:"keywords";a:0:{}}}"   }   ["rrhh-file"]=&gt; // &lt;-- here   array(1) {     [0]=&gt;     string(1) "1"   }   ["_edit_lock"]=&gt;   array(1) {     [0]=&gt;     string(12) "1498731595:1"   } }   With this action this attachment still shows up in the media library  add_action( 'pre_get_posts', 'wpse_hide_cv_media_list_view' ); function wpse_hide_cv_media_list_view( $query ) {     // Bail if this is not the admin area.     if ( ! is_admin() ) {         return;     }      // Bail if this is not the main query.     if ( ! $query-&gt;is_main_query() ) {         return;     }      // Only proceed if this the attachment upload screen.     $screen = get_current_screen();     if ( ! $screen || 'upload' !== $screen-&gt;id || 'attachment' !== $screen-&gt;post_type ) {         return;     }      // Modify the query.     $query-&gt;set( 'meta_query', [         [             'key'     =&gt; 'rrhh-file',             'compare' =&gt; 'NOT EXISTS',         ]     ]);      return; }   Any idea what i'm missing? How to remove lines included in one file from another file? I have two lists, a complete list and a partial list. I want a bash script that will search the complete list for any lines that are in the partial, if there are, they will be removed from the complete list. Can anyone help? Word or Phrase for "Easily Swayed" 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: What form of the verb is used with compound subjects containing "or"? Require v8 only contrib module with v9 patch Given $x_1,x_2,x_3,x_4$ real numbers such that $x_1+x_2+x_3+x_4 = 0$ and $x_1^7+x_2^7+x_3^7+x_4^7 = 0,$ how can I use symmetric functions and Newton's sums to prove that $x_1(x_1+x_2)(x_1+x_3)(x_1+x_4)=0$?  This is what I have so far:   Note that $x_1 = -(x_2+x_3+x_4)$ and the relation between Newton's sums, elementary symmetric polynomials, and power sums gives us that $P_7-S_1 P_6+S_2 P_5-S_3 P_4+S_4P_3=0,$ where $P_k$ denotes the $kth$ power sum and $S_k$ denotes the $kth$ elementary symmetric polynomial of $x_1,x_2,x_3,x_4.$   We want to show that $(x_2+x_3+x_4)(x_2+x_3)(x_2+x_4)(x_3+x_4) = 0.$  But how? Pixel RGB with ImageMagick and Rails "Speak to" vs. "Speak with" What are the differences between these two phrasal verbs and what are the best situations to use each? How to draw a picture by using tikz as backgroud of a character? I am writing some Chinese character and hope to draw simple pictures by tikz and use it as background of this chinese characters. In a short I'd like to get some results as this picture (ignore the lower right noise):    How could I do? Thanks in advance. As an example for least workable code:  \documentclass{article} \usepackage[CJKnumber]{xeCJK} \setmainfont{KaiTi}  \begin{document} \Huge 明月出天山 \end{document} Strange artifacts along window borders after waking computer from sleep mode What equipment and settings do I use for panning shots of moving objects? How do you go about getting great panning shots of things like cars and bicycles so that the background is nice and blurred but the target is sharp as can be. I have tried on many occasion to do panning shots and I just can't get the setup right.  What lens setup, shutter speed would be a good place to start? Windows 7 msconfig lets users select the options No GUI boot and OS boot information to have a list of drivers being loaded during boot. Is it possible to have similar detailed messages during shutting down/restarting/logging off? Here's the screen I want disable or give me more details: Find out which application listens to specific key bindings? Is there an application to know which key is bound by which process and therefore not usable in another application? I need to convert one into 1, two into 2 and so on.  Is there a way to do this with a library or a class or anything? How can I stop certain apps from appearing in the Dash? I'm looking for a javascript that can limit the number of lines (by line I mean some text ended by user pressing enter on the keyboard) the user is able to enter in textarea. I've found some solutions but they simply don't work or behave really weird. The best solution would be a jquery plugin that can do the work - something like , but it should be able to limit text line count not character count. Is it acceptable to write a thank you in a comment? There have been a number of cases where I would like to thank someone for providing me with a thorough response and give them feedback beyond the vote up. Often I wish people would tell me why they voted me up. Not that the thank you part is necessary but it sets it apart from the other comments related to answering the question itself.  In this type of situation is a "Thank you" acceptable in a comment?     For more information, see  in the .