I am based in India.I will be travelling to France &amp; Spain for holidays with my wife on 3rd Apr 2017. So i have applied for Schengen Visa  and expected to get it by 25th March i.e around 8-9 days prior to my travel dates. Main issue: We are returning back from Madrid to India on 15th April &amp; my flight from Madrid is having layover in London for 1 hr 50 minutes. After that i have flight from London to Mumbai (British airways) In such cases while returning back to our country , do we still need UK TRANSIT VISA even for 2 hrs layover at London... Please guide me. PS: I do hold Valid US visa &amp; my wife doesnt hold it. Thanks in advance
Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.
Recently I saw a widget on the Stack Overflow website which says Stack&nbsp;Overflow now has its own currency called "unicoins". According to this widget, a user can earn reputation, customize Stack Overflow by changing its colors and the user can also remove the vote down button from their questions and answers by spending "unicoins".  This widget does not look real, because this is out of standard of the Stack Overflow website.  Also today is 1st April. Is Stack Overflow fooling us?  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can I extend a class using more than 1 class in PHP? If I have several classes with functions that I need but want to store separately for organisation, can I extend a class to have both?  i.e. class a extends b extends c  edit: I know how to extend classes one at a time, but I'm looking for a method to instantly extend a class using multiple base classes - AFAIK you can't do this in PHP but there should be ways around it without resorting to class c extends b, class b extends a MacBook [Pro] - how many displays, what resolution/frequency? How do I find out the number, type, resolution &amp; refresh rate of additional monitors I can attach to my MacBook or MacBook Pro?  This is an attempt at a canonical QA, as per the Meta QA -   to try prevent the myriad "same but different" questions we get on every possible combination of computers, cable &amp; monitors There are perfectly good resources out there that Ask Different should not have to duplicate the efforts of. out file with multiple criteria in python? Do cell carries have access to FaceTime information? On the newest iPhone, do cell phone carriers have access to FaceTime call data (such as which caller initiated and ended a FaceTime call)? How do I know if an ability is magical? I couldn't add defer tag in plugin javascripts. Google developer pagespeed test suggests me to add defer tag in contact form 7 javascripts.   This is how contact form 7 includes javascript in header.  add_action( 'wp_enqueue_scripts', 'wpcf7_enqueue_scripts' );  function wpcf7_enqueue_scripts() {     // jquery.form.js originally bundled with WordPress is out of date and deprecated     // so we need to deregister it and re-register the latest one     wp_deregister_script( 'jquery-form' );     wp_register_script( 'jquery-form', wpcf7_plugin_url( 'jquery.form.js' ),         array( 'jquery' ), '2.52', true );      $in_footer = true;     if ( 'header' === WPCF7_LOAD_JS )         $in_footer = false;      wp_enqueue_script( 'contact-form-7', wpcf7_plugin_url( 'scripts.js' ),         array( 'jquery', 'jquery-form' ), WPCF7_VERSION, $in_footer );      do_action( 'wpcf7_enqueue_scripts' ); }   Now how to add defer="defer" tag in the above code? (This question is meant to be a resource to direct others to given that this is a common question.)  Given the task of creating an image that will be printed at a certain size, what pixel dimensions and resolution should I be setting my file at? ON an American street, but IN a British one. Do the twain ever meet? Short Story about interminable rain on Venus It's not All Summer in a Day.  This was a story about explorers on Venus, who are separated from their base (possibly they're lost, possibly they suffered equipment failure, possibly they're just traveling from base to base) and are slowly being driven insane because it never stops raining.  The story is old enough that Venus' clouds were still believed to indicate a wet climate.  I can't remember much more detail than that.  I have the impression that the narrator at one point either dreamed of or fantasized about walking into the destination base and being handed a very plush towel to dry off.  I can't remember the central plot points - only the (very wet) setting.  I would have read this in the late 1970's or early 1980's.  I thought it might be an H. Beam Piper short story but I've been through his catalog and don't see any likely suspects. What is the Big-O time complexity of the following nested loops: for (int i = 0; i &lt; N; i++) {     for (int j = i + 1; j &lt; N; j++) {         System.out.println(&quot;i = &quot; + i + &quot; j = &quot; + j);     } }  Would it be O(N^2) still? Let me edit a post in the close review, then vote to close it I think we need a button that says Edit and Close added to the Review Close button options.  Many of these closed posts will be around forever (and should be, closed should not just be a path to deletion), so they need editing.  If I edit it now it goes away, with the only option being a back click to get back to the review, and then click into the post and edit it.  We have an Edit and Reopen button, so this would fit in just fine. What is the best way to filter a Java Collection? I want to filter a java.util.Collection based on a predicate. System.Exception: Too many SOQL queries: 101 I am getting a Too many SOQL queries: 101 error on a trigger when I am trying to deploy another trigger.  I am posting the trigger which is causing the error.  trigger rollupAccountShowings on Account (before insert, before update) {    if (trigger.isinsert) {       for (Account a:Trigger.new){           a.No_of_Viewings__c = 0;        }    } else {      for (account a : [select                   id,                  (select id from pb__Showings__r)                  from account                   where id in:trigger.new LIMIT 1]) {           trigger.newMap.get(a.id).No_of_Viewings__c = a.pb__Showings__r.size();      } }   Can anyone correct me where I have gone wrong and suggest me the changes.  Thanks I'm currently developing a script for Blender to handle Mesh Frequency Decomposition.  The script is nearly complete, but i need one more thing: The SciPy library to compute eigenvalues and eigenvectors.  Following the installation instructions on , I'm able to install it as well as Numpy. Numpy works fine, but I can't even import SciPy:  Traceback (most recent call last): File "/CAF_FD.py", line 4, in &lt;module&gt; ImportError: No module named 'scipy' Error: Python script fail, look in the console for now...   By the way, I'm working on Linux 64 bit and I've installed SciPy and Numpy with my package manager.  Edit: When I try to use SciPy with a terminal prompt, it works. Using article published dates effects SEO? In my blog I publish articles with date below under it.  My questions are:   Using dates will have positive impact or negative impact? After few years of publishing the post, since my post age is old will it remain in same position of search results or it will go down? Finally, should I use published dates or not? Do the 46 human chromosomes form a single unbroken DNA helix?  Or is it rather that a human's genome consists of 46 disconnected helices?    If it is the former, does the common numbering scheme for the chromosomes have any correlation to their actual ordering in the one large strand?  If is the latter, is there a convention on how the chromosomes are ordered in genomic datasets?  Also, is there a clear understanding of how sister chromosomes "find" each other in Meiosis I?  Generally, during periods when Mitosis/Meiosis are not occurring,  what's a good physical picture for how the chromosomes are physically arranged (e.g. a bowl of 46 spaghetti noodles, or maybe the sister chromosomes always stay close together, etc)  thanks! Expandably change letter case and use inside \csname, without a package I want to change the letter-case of a single character argument, and use that changed letter inside a \csname.  And I want to do it without an additional package.  For example, I want to pass a macro the letter {S}, and have it execute the macro \csname macros\endcsname, or pass it the letter {T}, and have it execute the macro \csname macrot\endcsname.    In my MWE, I show three approaches:   I didn't expect \lowercase to work, since I recall reading that it is not truly expanded until the last possible moment.  Surprisingly, it goes into an \edef okay, but it must not be truly expanded, because it breaks the \csname. I also formulated an approach where I used \numexpr to add 32 to the ASCII code of the argument and perform a \char upon that result.  Like \lowercase, it gives the appearance of being expandable, but it also fails inside the \csname. I finally achieve success with the stringstrings package.  Having written the package, I know the conversion was not pretty... essentially, it is an exhaustive 26-fold check of the form \if #1Aa\else\if #1Bb\else\if #1Cc\else...\fi\fi\fi, which has the virtue that it can be expandably placed into an \edef, and so it works.   There has to be a better way.  The MWE works only because I use the inefficiently calculated \tmp from METHOD 3 inside the \csname.  If I use \tmp from either of the two earlier methods, it breaks.  \documentclass{article} \usepackage{stringstrings} \def\macros{Expandably converted an S to a s} \def\macrot{Expandably converted a T to a t} \newcommand\convert[1]{%   %MAKE THE ARGUMENT LOWER CASE   1) LOWERCASE\\   \edef\tmp{\lowercase{#1}}% PRETENDS TO EXPAND, BUT FAILS IN \csname   Here is the ``expanded'' conversion: \tmp\\   % OR   2) ASCII CONVERSION\\   \edef\tmp{\expandafter\char\numexpr`#1+32\relax}% PRETENDS TO EXPAND, BUT FAILS IN \csname   Here is the ``expanded'' conversion: \tmp\\   % OR   3) STRINGSTRINGS PACKAGE\\   \caselower[q]{#1}\def\tmp{\thestring}% WORKS BUT USES A PACKAGE   Here is the ``expanded'' conversion: \tmp\\   %   Now use it in a csname: \csname macro\tmp\endcsname% } \begin{document} \convert{S}\par \convert{T} \end{document}       SUMMARY OF ANSWERS:  I have added egreg's code snippets into this MWE to produce a document (and not just terminal output), showing the methods put forth to this point:  \documentclass{article}  %%%%%%%%%%%%%%%%%%%%%%%%%%%% L3 APPROACH  \usepackage{expl3}  \ExplSyntaxOn \cs_set_eq:NN \Xexplower \tl_expandable_lowercase:n \ExplSyntaxOff  %%%%%%%%%%%%%%%%%%%%%%%%%%%% EGREG'S LESS HACKY SOLUTION  \def\explowerchar#1{%   \ifcase\numexpr`#1-`A\relax    a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or k\or l\or m\or    n\or o\or p\or q\or r\or s\or t\or u\or v\or w\or x\or y\or z\else    #1\fi }  \def\explower#1{%   \doexplowerchar#1\relax }  \def\doexplowerchar#1{%   \ifx#1\relax   \else     \explowerchar{#1}\expandafter\doexplowerchar   \fi }  %%%%%%%%%%%%%%%%%%%%%%%%%%%% STEVE'S HACKY PACKAGE APPROACH  \usepackage{stringstrings}  %%%%%%%%%%%%%%%%%%%%%%%%%%%%  \def\macros{Expandably converted an S to a s} \def\macrot{Expandably converted a T to a t}  \begin{document}  \textbf{Steve's hacky approach}  \caselower[q]{S}\csname macro\thestring\endcsname\par \caselower[q]{T}\csname macro\thestring\endcsname  \textbf{egreg's less hacky approach}  \edef\lcstring{\explowerchar{S}}\csname macro\lcstring\endcsname\par \edef\lcstring{\explower{T}}\csname macro\lcstring\endcsname  \textbf{L3 approach}  \edef\lcstring{\Xexplower{S}}\csname macro\lcstring\endcsname\par \edef\lcstring{\Xexplower{T}}\csname macro\lcstring\endcsname  \end{document} What is the exact reason that normal matter can not exist within an event horizon?  I can understand how a super-dense object like a neutron star could accrete mass until its physical radius is less than its Schwarzschild radius and an event horizon forms around it.   But why can't the neutron star remain inside the event horizon as it was before the event horizon formed? Aside from the escape velocity at the surface reaching $c$, what actually changed?  Why must all matter within an event horizon undergo complete physical collapse to a point? Problem storing arrays with update_user_meta I am writing a function that adds an ID number to an array and puts the array in the usermeta. $_GET['auction'] is the post_id.  Below is the function:  $reminders = get_user_meta( $current_user-&gt;ID, "reminders" ); print_r( $reminders ); if( in_array( $_GET['auction'], $reminders ) ) {     echo "Failed: Auction already in list"; } else {     array_push( $reminders, intval( $_GET['auction'] ) );     if ( update_user_meta( $current_user-&gt;ID, "reminders", $reminders ) ) {         echo "Success";     } else {         echo "Failed: Could not update user meta";     } } print_r( $reminders );   Here is the output after adding one auction:  Array ( )  Success Array ( [0] =&gt; 7 )    Here is the output after adding two auctions:  Array ( [0] =&gt; Array ( [0] =&gt; 7 ) )  Success Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 )   And here is the output after adding three auctions:  Array ( [0] =&gt; Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 ) )  Success Array ( [0] =&gt; Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 ) [1] =&gt; 0 )   Notice that adding a new element to the array using array_push works fine. But when the array is stored in the usermeta then retrieved again, the last element in the array has been put into an array of its own, creating an infinitely dimensional array. I'd prefer to keep this array one dimensional.  Is there a way I can run update_user_meta and get_user_meta without it changing the structure of my array?