How disable key while specific program is running?
Disable key when program is running
Has the below question been answered here before?  Prove: For a given enclosed volume, a sphere has minimum surface area.  Please provide link or ways to solve it. I know it is a problem of Minima and involves finding derivative and second derivatives. However, how to to frame the leading equations which has to be differentiated?  I am looking for a way to solve only using High School level Calculus. I think there must be an answer. In PHP, how do you change the key of an array element? A question about eigenvalues of $5\times5$ matrix Since I updated Windows to 8.1 my Grub menu disappeared. I ran Ubuntu using Live USB, I used Boot-Repair but something went wrong. If I click on Reccomended repair I get this error:     GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again. Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.   So I tried to set my sda9 (I think that it's the Ubuntu system partition, since it's ext4) with the bios_grub flag and then to run Boot-Repair again. It didn't work.  I don't know what to do. My Grub was working fine (using UEFI) before I updated Windows.  I removed the bios_grub flag. Then I used fsck and it didn't find any error. So I tried again with Boot-Repair but it always gives me the "GPT detected" error. My boot is on UEFI mode, Secure Boot is "off".  When I boot my PC with SecureBoot OFF, I can reach the GRUB menu. But it's empty (the only voice is "System Setup").  I mounted my Ubuntu system disk:  sudo mount /dev/sda9 /mnt   and the other things:  sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys   I logged on the system with chroot:  sudo chroot /mnt   I re-installed grub:  grub-install /dev/sda update-grub2   But it still doesn't work. I have got a template class as follows:  class MyClass&lt;T&gt; {     T field;     public void myMethod()     {        field = new T(); // gives compiler error     } }   How do I create a new instance of T in my class? Varnish cache with Nginx SSL termination How can I use varnish cache with nginx SSL termination for my SSL-Only (Https only) website? I use ubuntu 18.04 and I am currently running a wordpress site on my server. What's the term for design ala "object.method1().method2().method3()"? What's the term for this design?  object.method1().method2().method3()   ..when all methods return *this?  I found the term for this a while ago, but lost it meanwhile. I have no clue how to search for this on google :) Also if anyone can think of a better title for the question, feel free to change it.  Thanks  Update-Gishu: After reading about it, I feel that your question is misleading w.r.t. code snippet provided.. (Feel free to rollback)  Method Chaining  object.method1().method2().method3()   Fluent Interfaces  private void makeFluent(Customer customer) {         customer.newOrder()                 .with(6, "TAL")                 .with(5, "HPK").skippable()                 .with(3, "LGV")                 .priorityRush();     } I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go  for UEFI only! Fontspec causes long underscores My collaborator added \usepackage[no-math]{fontspec} to a document we're working on. The result is that \_ underscores become v. long: cf. pictures below.   \documentclass{article} \usepackage[no-math]{fontspec} \pagestyle{empty}  \begin{document} \textrm{metric\_space} \end{document}   With fontspec:    Without fontspec:   The underscores are about twice as long with fontspec, and also much thinner. My question is, how do I get back to the original width? (Ideally I would like to preserve the thinness -- it looks much nicer than the original.)  In case someone asks, "why are you using \_?", the short answer is that I need to typeset identifiers involving an underscore. See  for an example in context. I'd be happy with using something other than \textrm, if it looks decent in the context of that example. I can't play Pokemon GO! What's wrong? Pokemon GO isn't working at all for me right now. I'm in one of the following circumstances and can't do anything:   My game is displaying a "Try Again" message I'm stuck on the Loading Screen When I sign in I get a message that the servers are experiencing problems. I see the map but nothing is loaded, and my team color is wrong The "loading" Pokeball just ends up spinning and I can't catch or interact with things When I try to catch a Pokemon, the Pokeball just sits on my screen doing nothing Gym opponents will drop to 1 HP and won't take any more damage or attack When I open a pokestop, the pokestop image and the name of the pokestop does not load.   What's causing this? Is there a way to fix it? Flight cancelled but doesn't show up on status I booked a SpiceJet flight from Dubai to Ahmedabad on Dec 16 (SG-16) scheduled to depart at 7:25 PM. At noon I received an SMS from SpiceJet to advise me that my flight has been delayed by 4h 50m. Sure enough, when I checked flight status on SpiceJet's website, that was the case. But on other websites like flightstats.com and dubaiairports.ae, the status was that flight was "delayed by 2h 25m".    At 5 PM, I got an SMS that flight had been cancelled. I double checked on Spicejet's website and that too showed the flight to be cancelled. But both flightstats.com and dubaiairports.ae still showed the flight as delayed by 2h 25m.    I went to the airport and met SpiceJet officials. Sure enough, the flight was cancelled. But somehow, the flight cancellation status never made it to the system. I have a Tripit Pro account, and even that never sent me an alert for that. I contacted the travel agent through which I booked my flight (makemytrip) for a refund, and they said that their system doesn't show that flight was cancelled. Now, even the Spicejet website has removed the cancellation status from that flight.    Apart from the SMS, I now have no proof that my flight was cancelled.    Can someone tell me, how can I proceed with a refund claim? I've found in Wikipedia the formula for calculating an individual row in Pascal's Triangle: $$v_c = v_{c-1}\left(\frac{r-c}{c}\right).$$ where $r = \mathrm{row}+1$, $c$ is the column starting from $0$ on left and $v_0 = 1$.  Now, I've tried to do by hand and it works,  but I don't understand how to find this magic formula when I don't have access to Wikipedia...:) What's the possibility of adding a "Did you mean ..." in the tagging system? Get next / previous element using JavaScript? Use of quotes in GNU grep regular expressions What is the Doctor not quite remembering? In season 8 episode 1, when the Doctor encounters the episode's villain(s), he keeps saying that this is all very familiar to him, but he can't quite put a finger on it. Is this a case where the audience is supposed to know more than the Doctor (like when he can't keep Clara and Strax straight), or is he referring to something we (the audience) haven't seen yet? As in, are the serious Whovians yelling at the screen, "it's [insert name of classical Dr. Who villain here]!", or are they as puzzled as the Doctor is (and I am)? $f_n:[0,1]\to [0,1]$ continuous, $f_n\to f$ uniformly, prove: ${\frac1n}\sum_{k=1}^{n}{f_k} \to f$ uniformly I was able to prove, hopefully correctly, that the sum converges uniformly. But, I'm not sure how to show it converges uniformly specifically to $f$.  The way I proved it converges uniformly was by using the Dirichlet convergence test, by taking $a_k(x) = \frac1n$ and $b_k(x) = f_k(x)$. $\sum_{k=1}^n{b_k(x)}$ is uniformly bounded on $[0,1]$ by $n+2$ for instance, and $a_n$ is monotone and uniformly convergent to 0 because it does not depend on the value of $x$.  I got rather stuck after this. I guess I have to use the continuity of the functions and the uniform convergence of both, but I can't figure out how to show that they converge to the same thing. Any help will be greatly appreciated. How do I echo and send console output to a file in a bat script? If $\omega \in \Omega^q(M)$, and $(\omega|_{U})_p = 0$, is $\omega_p = 0$? Output for Print Is there a way to output for Print. I want to save in a higher DPI than the default 72dpi say 300dpi that's a good quality for printed pieces. I tried downloading an add-on but don't know if I am installing it correctly it isn't showing up but the bar in python is green. I'm using the 2.69 version of Blender. If no such feature exists what size have any of you found best for print quality. Thank you