Have I been granted the visa or not?

A couple of days ago, I received the following email from Home office(UK) for my spouse visa. I have deposited my IHS fee and it’s been a week since I submitted my passport. Is there any chance where they can still refuse my visa? Additionally, how long would it take for them to return my passport?

The decision to refuse your visa application has been overturned and our office will now proceed to the next stage of your application. To complete this process we require you to undertake the following steps:

  1. Immigration Health Surcharge (IHS) payment needed On 6 April 2015, the UK Government introduced a Health Surcharge payment requirement for non-EEA nationals who apply to come to the UK to work, study or join family for a period of more than 6 months. Shortly, you will receive a further email providing a link for your IHS payment. If you do not receive an email within 7 working days of this email, please contact IHS.Sheffield@fco.gov.uk with your name, GWF reference and request the IHS payment email be sent. Want to find out more?

To speak to someone about this, please visit: https://www.gov.uk/contact-ukvi To find out more about IHS: www.gov.uk/healthcare-immigration-application To find out about refunds: https://www.gov.uk/browse/visas-immigration

  1. Once you have received the IHS email and made your IHS payment, please take your passport along with a copy of this e mail to the visa application centre where you initially made your application.
  2. If you require a TB certificate for travel, please ensure you have this with your carry-on luggage, in order for you to present to the Immigration authorities on arrival.

To prevent any further delays with processing your application, once you have made this IHS payment and submitted your passport please send an e-mail to IHS.Sheffield@fco.gov.uk containing your name, GWF reference, the amount that you have paid for IHS and when you submitted your passport.

Kind regards,

UK Decision Making Centre

css style overrides?

I was able to get my custom font to my theme. I made a style to use it, but the text-transform and letter-spacing attributes are being inherited from another style sheet? What do I need to do to make sure that my ss_logo style always wins?

Please forgive my ignorance. I haven’t done any web-type development for over 10 years.

enter image description here

Question on complexity of Barnes-Hut algorithm

A common algorithm used in N-body gravitational calculations with large numbers of bodies (stars in a galaxy, galaxies in the universe, etc.) is the Barnes-Hut algorithm, which assembles particles into an octree for approximate bulk calculations of gravitational forces between distant areas. The complexity of this algorithm is O(N log N), compared to the O(N^2) of a more realistic direct calculation between all pairs of points.

I’m trying to fully understand where the N log N comes from. I understand that, once the octree is assembled, the calculation of forces is N log N because you have to go through each particle (N), and each particle “sees” approximately log N other particles because of the octree reducing the number of calculations needing to be performed for distant particles.

What I’m still trying to understand is what the complexity is for assembling the octree in the first place. Is it also N log N? N because you need to do it for each particle, and log N because that’s approximately how deep you’ll have to go (with some factor in front) to reach an isolated leaf in the tree?

install windows 10 via bootcamp not on the main drive

I did repair my early 2009 mac pro 4.1; and after installing a gtx970 I did realize that I may use it also for windows gaming.

Although my main drive is just a boot for OSX, which is a 90 GB SSD drive; the rest of my home directory and application support is on a SATA mechanical drive. Is possible to install Windows 10 via bootcamp, on a drive that is not the main drive? I am running 10.11 (el capitan), which is the highest OS that my machine seems to be able to run.

How to create a “read more” button using AJAX in a module?

I’m working on a really simple module in Drupal 8 to get the hang of things. What it does (or rather, what the page I’m asking about in this question does) is grab some data of a bunch of simple article-style entries, and display them.

What I would like to be able to do is to have it only display the first few (say, 5), and then have a “Read more” button, which uses AJAX to display the next 5, lengthening the page so it now shows 10.

Here is the controller as I have it at the moment. The routing.yml file points to MyController::build. For the sake of simplicity, I’ve left out exactly how it gets things from the database, and some simple processing (in particular, image gets converted from a managed_file in the database into a URL to the image).

class MyController extends ControllerBase {    public function build() {     $  stuff = $  this->getStuff();     return array(       '#theme' => 'my_theme',       '#stuff' => $  stuff,       '#attached' => array(         'library' => array(           'my_theme/style',           'my_theme/readmore',         ),       ),     );   }    private function getStuff() {     $  stuff = getStuffFromDatabase();     $  result = array();     foreach($  stuff as $  key => $  item) {       $  tmp = new \stdClass();       $  tmp->id = $  item->id;       $  tmp->title = $  item->title;       $  tmp->description = $  item->description;       $  tmp->image = $  item->image;       $  result[] = $  tmp;     }   } } 

Which then gets sent to a template file:

<section>   <ul>     {% for item in stuff %}       <li>         <h3><a href="stuff/{{ item.id }}">{{ item.title }}</a></h3>         {% if item.image is not empty %}           <a href="stuff/{{ item.id }}">             <img src="{{ item.image }}" />           </a>         {% endif %}         {% if item.description is not empty %}           <p>{{ item.description }}</p>         {% endif %}       </li>     {% endfor %}   </ul> </section> <form method="post" action="" onsubmit="readmore()">   <button name="read-more" type="submit">Read more</button> </form> 

What I want is a way to change this set up so that at first the controller only sends a few of the entries, but when the button is pushed, it sends the next few, and the template displays the new ones as well as the old.

Thanks


Okay, I think I may have worked out to at least make a start on this problem. I’ve followed this tutorial, and want to get a small message displaying at the bottom, to at least get a feel for how Ajax works with Drupal 8. I’ve added

<div id="current-msg">   <h2></h2>   <p></p> </div> 

to the bottom of the .html.twig file.

I created a file identical to his ReadMessageCommand.php, except named mine MyMessageCommand.php (and renamed the class inside it accordingly). The function render has myMessage in place of readMessage.

I added a method called myMessageCallback into MyController, which works the same as in that guide, but with my_module_load_message and MyMessageCommand in the appropriate places.

To readmore.js, I added the function from the above guide, but with readMessage replaced by myMessage. I also added the following, just so I can know more easily if the function is at least being called.

console.log(response.subject); console.log(response.content); 

And I added the core/drupal.ajax dependency to the readmore library.

My question is, how do I actually get this function to be called. As far as I can tell, the guide that I’ve used has no indication of it. How to I get a message to be displayed in the div at the bottom? Once I’ve figured that out, I feel extending it so that the button acts as a “read more” shouldn’t be too much trouble.

How many ways to fill in a square grid with certain restrictions

Suppose I have a 5×5 grid of squares. I would like to fill in 15 checkmarks in the squares such that (1) each of the 25 square cells contains at most one checkmark, (2) each row has exactly 3 checkmarks, and (3) each column has exactly 3 checkmarks. How many ways are there to fill in these 15 checkmarks?

More generally, suppose I have an $ n \times n $ square grid, and I would like to fill in $ mn$ checkmarks such that (1) each of the $ n^2$ square cells contains at most one checkmark, (2) each row has exactly m checkmarks, and (3) each column has exactly m checkmarks. How many ways are there to do so? If $ m=1,$ I think the answer is $ n!$ . But I am not sure about the general case.

Also, if I have an additional restriction that no checkmarks on the diagonal, i.e., no checkmark in the (1,1), (2,2),… (n,n) cells. How many ways are there?

Thanks very much! Wish all very happy new year!

Minha data esta sendo salva 0000-00-00 no banco de dados como corrigir para o valor passado 1995/04/05

objCliente.Data_De_Nascimento = DateTime.Parse(txtData.Text);  public DateTime Data_De_Nascimento { get; set; }          string sql = "insert into pessoa (nome,cpf,data_de_nascimento,rg)" +                      "values ('{0}','{1}','{2}','{3}')";         sql = String.Format(sql, Nome, Cpf, Data_De_Nascimento, Rg);          objDAL.ExecutarComandoSQl(sql); 

Lost Mines of Phandelver as PC base [on hold]

I am DMing Lost Mines of Phandelver, and it’s looking like the party wants to keep the cave as a base to replace the BBEG and turn evil.

Main question is: if I decide to let them fix up the forge of spells after a few quests for parts, what level / how challenging should this be?

I love the rule of unintended consequences, but am not sure of any down sides.