Reason for rejection
UK visa refusal on V 4.2 a + c (and sometimes 'e')
error: file '/grub/i386-pc/normal.mod' not found. grub rescue&gt;   What can I do? I just sit and stare at it.   I found my old netbook (Dell Inspiron 1010) which I have not used for about four years. I replaced Windows XP with Ubuntu 12.10. I used my bootable USB drive. I installed and rebooted. I got the message that normal.mod is not found.   What should I do? Type exit, reboot, or quit? Should I re-install? Did Voldemort refer to Snape as one of the missing Death Eaters at his rebirth? In Goblet of Fire, Voldemort says of the missing six Death Eaters:     “And here we have six missing Death Eaters… three dead in my service. One,   too cowardly to return… he will pay. One, who I believe has left me forever… he   will be killed, of course… and one, who remains my most faithful servant, and   who has already reentered my service."   The answer to  speculates about who the three dead Death Eaters were.  We know who the last one is. I’m guessing one of the remaining two is Karkaroff. Is the other Snape? If so, which one? Newton's Law of Universal Gravitation tells us that the potential energy of object in a gravitational field is $$U ~=~ -\frac{GMm}{r}.\tag{1}$$  The experimentally verified near-Earth gravitational potential is  $$U ~=~ mgh.\tag{2}$$  The near-Earth potential should be an approximation for the general potential energy when $r\approx r_{\text{Earth}}$, but the problem I'm having is that they scale differently with distance.  $(1)$ scales as $\frac 1r$.  So the greater the distance from the Earth, the less potential energy an object should have.  But $(2)$ scales proportionally to distance.  So the greater the distance from the Earth, the more potential energy an object should have.  How is this reconcilable? Prevent questions with movie/tv shows/game spoilers from appearing in the hot questions list I've noticed that occasionally "hot questions" from SciFi and the Movies &amp; TV network contain major spoilers about the movie/show discussed.  The Matrix spoilers:      (just now there's something about Cypher betraying Morpheus in the Matrix, which is a big deal for people who haven't seen the movie).   I like browsing through those but fear that one day one of these questions will spoil a show I'm excited about and yet to finish   Breaking Bad spoilers:      (like the finale of Breaking Bad, imagine a question asking why did one character betray another at the end or something).   Can users posting such questions be asked to label those with a tag (such as 'spoilers') and then somehow have the network hide those from the "hot questions" list? Or possibly format them differently?  Similarly, this could apply to the Arcade network too.  P.S. Love how this question spikes in popularity around the time GoT starts running again. I swear it should be fairly simple technically to ban questions that have a tag that says 'spoilers' from appearing in the Hot Network Questions.  P.P.S. Oh, and with every fresh release of Star Wars (The Last Jedi being the most recent one)!  P.P.P.S. Another year, another Game of Thrones, another spike in popularity! PHP PDOException: "SQLSTATE[HY093]: Invalid parameter number" How to programmatically close a JFrame Passing multidimensional arrays as function arguments in C In C can I pass a multidimensional array to a function as a single argument when I don't know what the dimensions of the array are going to be?  Besides, my multidimensional array may contain types other than strings. Where can I find a Java to C# converter? I needed to convert a Java 1.5se app to C# 2.0.  Does anyone know of a tool (preferably free/open source) to do this? MBR recovery - Corrupted MBR after it changed to dynamic & testdisk gives up . No backup sector found I had a Windows 7 installation on my 1TB SSD laptop with 4 primary partitions. I wanted to install Lubuntu Linux but the process failed with an error which kind of said:     cannot write MBR   It gave me an option to put an MBR somewhere else or to boot without MBR. None of these options worked and it became a useless install. After this failed dual boot attempt, Windows would give a BSOD wit Code 007 ending - translated to inaccessible boot device. That is a huge NTFS partition and I don't think I have any other media to back it up before formatting it.  My only option is somehow rebuilding the old MBR. Hence I started creating a whole bunch of live USB boot environments  including Super GRUB Disk and MiniTool Partition Editor Live CD, but none of this could ever help me recover my lost MBR.  Win PE 4.0 reported the partition as bad disc and the latest version did not even have an option for MBR. I managed to create a live USB with Testdisk Running on Ubuntu. Whatever partition was seen as HPFS on quick  search was written in the MBR and after this the disc is totally unreadable. Earlier I could see my data through Linux and now I can see nothing.  Here are my questions:   When some data could be read (but Windows would not boot) the MBR was shown as dynamic MBR. As far as I know dynamic MBR is a Windows concept and my Linux attempt would not have converted it. While installing Linux I tried to delete 2 primary partitions which I found to be not really useful (I backed up their data first). So I am not sure what created the dynamic MBR.  Did my dual install convert those basic MBR to dynamic MBR? How did that happen? Here is a screenshot of my deep search attempt with TestDisk which is still in progress. I can see 4 NTFS partitions and one of these two system partitions should be the original MBR. When I tried to write both these system partitions (after stopping the deep search momentarily) I got an error like "partition not found". The file system utility showed me that there is no backup sector and that may be the reason why it cannot be read.  What other Resorts do I have, other than doing a plain format and then using some recovery tool to recover all my lost data? I am not even sure I will recover the folder names.  What other options should I be trying to restore my old MBR so Windows can boot?      Update  as of last I managed to create a live USB w/ W7  I used AOMEI Partition assistant 6.0 and on deeper  search I can see the 909 gb partition - it wont let me select it for recovery. I am sorry if my earlier Q was not clear. I referred to restoring an MBR from a partition . What happened earlier  - superficial search revealed all old partitions but NOT this one   and the later partitions showed up on Deep search &amp; I can select Other partitions for recovery but for this one. It wont let me select the partition I want  Here are some more screen shots    So in summary all that happened is   4 primary windows 7 partition -->  wanted to install Linux so I deleted 2 non bootable partitions after backing them up  ended up with BSOD ( inaccessible boot device ) and noticed that some windows partitions showed up as Dynamic MBR  (using Live USB Linux,gparted )  Use standard testdisk procedure to write MBR from the superficial NTFS-HDFS partition.  this is where I screwed up . Hindsight I should have really done a deep search and caught the 901gb partition to write MBR. I am not sure if I can undo this action  after this - life gets worse. I am  on a ventilator ! Now C is unreadable by windows and linux both and testdisk cannot list file ( see screenshots ) and I have been using a series of live USB's with some recovery s/w but no luck. ALL I want is to recreate that 901gb partition and the boot partition and put the MBR on the latter so I can get my windows 7 back again PHP __PHP_Incomplete_Class Object with my $_SESSION data I've just installed QGIS 3.2.2 and after installation, tried to use the Plug in Manager to install the OpenLayers plugin.  But it's not in the list to install.    Any ideas? How to align floating point variables in Latex3 I would like to have the variables (defined in Latex3) aligned in a table with the decimal point. Of course, without using the &quot;trial and error&quot; extra space &quot;,&quot;. Is there any possibility? Thank you very much. \documentclass{article} \usepackage{xparse} \usepackage[version=4]{mhchem}  \usepackage{siunitx,booktabs}  % \ExplSyntaxOn \NewDocumentCommand{\calcnumd}{o m}   {\IfValueTF{#1}      {\num[round-mode = figures, round-precision = #1, round-integer-to-decimal]{\fp_to_decimal:n{#2}}}      {\num{\fp_to_decimal:n{#2}}}   } % data \fp_set:Nn \dhfbiox {33.18} \fp_set:Nn \dhftetrox {9.16} \fp_set:Nn \dgfbiox {51.31} \fp_set:Nn \dgftetrox {97.89} \fp_set:Nn \cpbiox {37.20} \fp_set:Nn \cptetrox {77.28} % calculations % \ExplSyntaxOff % \begin{document}  \begin{center} \begin{tabular}{l|ccc}    &amp; $\Delta_f H^{\ominus}$ &amp; $\Delta_f G^{\ominus}$ &amp; $C_P$ \\    &amp; \si{\kilo\joule\per\mole} &amp; \si{\kilo\joule\per\mole} &amp; \si{\joule\per\kelvin\per\mole} \\ \midrule \ce{NO2} &amp; \calcnumd{\dhfbiox} &amp; \calcnumd{\dgfbiox} &amp; \calcnumd[4]{\cpbiox} \\ \ce{N2O4} &amp; \,\,\,\calcnumd{\dhftetrox} &amp; \calcnumd{\dgftetrox} &amp; \calcnumd{\cptetrox} \\ \bottomrule \end{tabular} \end{center}  \end{document} Suppose we define the following relationship of ordering between propositions in PROP: $$ \phi &lt; \psi := (\models \phi \rightarrow \psi \land \lnot(\models \psi \rightarrow \phi) ) $$ Show that if exists $\phi$ and $\psi$ such that: $$ \phi &lt; \psi $$ Then there is a $\sigma$ such that: $$ \phi &lt; \sigma &lt; \psi $$ I have tried to use valuation to find what $\sigma$ could possibly be, so for all valuations v:  If $v(\phi)=0$ and $v(\psi)=0$ then, since $\models \sigma \rightarrow \psi$, $v(\sigma)=0$  If $v(\phi)=1$ and $v(\psi)=1$ then, since $\models \phi \rightarrow \sigma$, $v(\sigma)=1$  It is impossible that $v(\phi)=1$ and $v(\psi)=0$ since $\models \phi \rightarrow \psi$  If $v(\phi)=1$ and $v(\psi)=0$ then $v(\sigma)$ could be either 0 or 1, and it would satisfy the tautologies, but if:  $v(\sigma)=0$, then the valuation of $\sigma$ would be equal to valuation of $\psi$ for all valuations and thus $\models \psi \rightarrow \sigma$, which is a contraditcion; $v(\sigma)=1$, then the valuation of $\sigma$ would be equal to valuation of $\phi$ for all valuations and thus $\models \sigma \rightarrow \phi$, which is a contraditcion. There is a button in the "basic math assistant" which wraps highlighted text in chosen brackets. Is there no keyboard command for this? Django: AppRegistryNotReady() Batch processing LiDAR files (.las to raster) with PyQGIS? for layers in glob.glob("*.las"):         processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"E:/las_new/.tif")      {'output': 'PNOA_2016_CAT_huso31_346-4560.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4562.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4564.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4566.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4568.lasE:/las_new/.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4570.lasE:/las_new/.tif'}   output_ras=("E:/las_Ras")   for layers in glob.glob("*.las"):     processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"output_ras.tif")      {'output': 'PNOA_2016_CAT_huso31_346-4560.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4562.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4564.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4566.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4568.lasoutput_ras.tif'}   {'output': 'PNOA_2016_CAT_huso31_346-4570.lasoutput_ras.tif'}     for layers in glob.glob("*.las"):     processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,"output_ras.tif")      {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   {'output': 'output_ras.tif'}   I would like to batch process many LAS files to rasters using the PyQGIS algorithm. As you can see in the code, I think the final problem is with the output. It does not write the files out to my defined output pathway as tif files. Also how can I make sure the naming of output rasters are according to the original LAS they are generated from? What am I doing wrong here? Not a pro at Python. Started 3 days ago. How do I get the coordinates of a mouse click on a canvas element? What's the simplest way to add a click event handler to a canvas element that will return the x and y coordinates of the click (relative to the canvas element)?  No legacy browser compatibility required, Safari, Opera and Firefox will do. How can I delete my printer from Ubuntu? Using 12.04 my printer a canon ip2600 will not print.   SystemSettings/printers shows it as installed, connected to local host, enabled, accepting jobs, shared and allowing printing for everyone. Yet it does not print.   I have tried to remove it but get a request for user name and password which I enter (I only have one password) but the password is listed as incorrect.   I need a sudo command which I can use to delete the printer so I can attempt to re-install it. As it is the printer is useless and I can not even uninstall it. Can Git hook scripts be managed along with the repository? We'd like to make a few basic hook scripts that we can all share -- for things like pre-formatting commit messages.  Git has hook scripts for that that are normally stored under &lt;project&gt;/.git/hooks/.  However, those scripts are not propagated when people do a clone and they are not version controlled.    Is there a good way to help everyone get the right hook scripts?  Can I just make those hook scripts point to version controlled scripts in my repo? Wildcard not working in subprocess call using shlex