I needed to downgrade from 18.04 to 16.04 in order to make use of Intel's OpenCL. I put Ubuntu 16.04 on a USB and configured the USB with the "Startup Disk Creator" tool. I booted my  laptop using the installation media, and all went fine until it needed to shut down and restart to complete the installation. I got a black screen with some white text telling me that the core temperatures were too high. I powered down the laptop, and then when I booted again, I was brought to the BIOS "choose startup device" menu. I selected the recently installed Ubuntu option, but the screen just flashed and went back to the selection menu.  I tried to boot from the (same) USB again, and reformatted it first this time, to see if I could just re-install in a colder area, but I got this very strange message:     Failed to open \EFI\BOOT\mmx64.efi - Not Found Failed to load image   \EFI\BOOT\mmx64.efi: Not Found Failed to start MokManager: Not Found   Something has gone seriously wrong: import_mok_state() failed: Not Found     It should be looking for the grub EFI file, shouldn't it? I have tried wiping the USB and putting the image back on with the startup creator, but I get the same error.   Under EFI/BOOT/ on USB device, I have the following files: BOOTx64.EFI and grubx64.efi. I have tried copying the grubx64.efi file and renaming it with the "mmx64.efi" name it's looking for, but I am unable to paste anything into the device. I suspect that the USB device got set to read-only after the disk startup utility completed. In which case, how could I set it to write? I have tried adjusting the permissions by right-clicking in the file explorer and going into properties, but it won't let me change it to allow write permissions. Is there a way to force this by issuing commands in a shell?  Has something gone wrong with the bootloader in my laptop's hardware? How can I repair it?
I tried to install Ubuntu 18.10 on my XPS 15 9570 earlier. Everything was working fine until I got to the partition selection part of the installation. That's when the installer crashed and I had to shut down my machine. I think it's because I had my SATA configuration set to RAID ON instead of AHCI, which is now fixed.  Now when I try to run the installer from my bootable USB I get the following error  Failed to open \EFI\BOOT\mmx64.efi - Not Found Failed to load image \EFI\BOOT\mmx64.efi: Not Found Failed to start MokManager: Not Fond Something has gone seriously wrong: import_mok_state() failed   Hoping someone might have some idea as to what is going on
How do I handle the window close event in Tkinter? Fixing "Page is not mobile friendly" report from Google test In search results google reports "this page is not mobile-friendly". I want to fix this.   when I test my website in the mobile-friendly test, it reports:   Content wider than screen. Clickable elements too close together.   How can I find the items/content that are creating these problems?  Any help would be appreciated. How can I avoid soft dull "spots" in my pictures? Recently, I've been doing a lot more photography, particularly with my 100-400mm telephoto and 16-35mm wide. I am skilled enough that I can capture the shot mostly as I want with just the camera gear, requiring minimal post processing. I'm a huge fan of ETTR now, so most of my shots are overexposed to support more shadow DR and improve the noise performance of my el-chepo 450D body.  I've noticed quite a bit lately during post processing in lightroom that my sky's or any other lighter areas of my shots tend have spots on them. They are soft and dull to one degree or another (seems to depend on the zoom factor), so probably something either on the sensor or the lens. I'm having a hard time figuring out exactly what they are, as I try to use my lens pen brush before any shoot, yet I still have them. I am having to make quite a few healing corrections post-process to get rid of them.  Is there an easy way to identify where the spots are on my lenses? Once identified, if a quick brush of the outer lens element with a lens pen (or soft camel hair brush) doesn't do the trick, does that mean the spots are on my sensor? Is it possible there is particulate inside the lens body (all of my gear is less than a year old outside of my 450D body, and its all Canon L-Series gear, so I would home that I don't already have detrimental particulates floating around inside my lenses messing up my shots. :|)  Here are a couple examples. The spots are harder to see on screen, and I first noticed them when I printed a few of my more recent shots. There are quite a few, and the shot the examples below were taken from, where the sky took up about 30% of the top edge of the photo, there were probably 10-12 different spots, some of them darker, many of them lighter. The darker ones are the ones that are very visible in prints, where as the softer ones are not as visible, but still apparent enough to ruin an expensive print. When to use the double not (!!) operator in JavaScript I think my device got a malware. A lock screen with ads sometimes appear, and I must swipe an area at the bottom of the screen to open the phone. I am in Eastern Europe, some ads are in Slavic languages, and they are seemingly related to travel.    Image resized. Click to view the full image  I have seen ads for Lot Air (Polish carrier). I recently went to their site.  Considering my recent surfing activity and the nature of the ads, I guess the malware is connected to airlines active in Eastern Europe.  The lock screen also promotes the app "DU Quick Charger" by claiming it has recharged the phone extra fast during screen off. (!?) It also shows battery level. I have never installed DU Quick Charger. I doubt DU Quick Charger is installed on the phone.  The problem started after installing Ryanair app. The problem is maybe, but not surely, related to this. Uninstalling Ryanair and restarting the phone doesn't remove the occasional appearance of this lock screen. After a while the situation has changed for the worse, now this lock screen appears after EVERY screen off.  I have always used Avast. I am not rooted and only install via Google Play.  What is this? And how do I remove it? Is it okay to use the phrase "try and"? Is it grammatically correct? e.g. "I will try and answer ..." I read the following sentence in book (App).     I will try and answer any questions you ask.   Why don't they use the following? (it is much common):     I will try to answer any questions you ask.   Is there any difference in meaning?  Update:  I noticed that a lot of books and news websites are using this phrase:        Although Katty will try and answer as many questions as she can.    He puller would have a chance to try and answer the question on her own ... How to compute the  formula $\sum  \limits_{r=1}^d r \cdot 2^r$? tikz trees: How to not draw a single edge I have a map of a city and a .csv-file containing 700 geographic coordinates pointing to locations within that city.  How can I plot these 700 locations on the map? It seems that in the words Englishman, Frenchman, and Scotsman, the ‑man part is pronounced /mən/ (just like in Roman).  Whereas in snowman, the ‑man part is pronounced /mæn/ (just like in no man).  Why is it that when ‑man is appended to snow‑ to make snowman, the pronunciation of the man part doesn’t change?    Wouldn’t it logically follow for it to be pronounced /ˈsnowmən/ not /ˈsnowˌmæn/? My parents are Indian Citizens. They hold a valid B2 Tourist Visa to USA. I'm planning to book a flight with Hyderabad (India) - Abu Dhabi (UAE) - Dublin (Ireland) - USA. The leg from Hyderabad to Dublin is operated by Etihad and I know there is no problem hopping at Abu Dhabi. The leg from Dublin to US is operated by Aer Lingus. I called Aer Lingus customer care agent told me a transit visa is required to land in Dublin. She did not care to ask for the citizenship of traveller or about the USA visa. I went through Irish immigration website - (), India is not in list of countries that require transit visa. I'm now confused. Can some one confirm if they traveled with the same itinerary recently  Update: I called Aer Lingus again. Another agent told as long as I don't exit the airport, a transit visa is not required. I think these people don't really understand trouble we go through when boarding is denied. I put this question because I read a person was denied boarding earlier - . His case mentions about denied because of different day. But I see his transit time is 12 hours only. How to tell what method was used to log in (Password vs. Keyfile) from the bashrc Is there a way how you can check what auth method the user which just logged in to an account were using?  I like to print out a warning after login if someone is using a password instead of a keyfile.  Sure one solution is to check the ssh-logs. But is there a nicer way to do this? Since looking up logs could impact performance depending on the log size and method you use to gather this information.  We are using SUSE and Ubuntu. I often find myself in the following position: I've started typing a long command at the bash prompt, but half-way through I find out I need to check something with another command. This is a problem when I'm at the console (no X), which is often the case, because then I only have the following unsatisfactory ways to do it, that I know of:    Hit ctrl+alt+F2 and log in on another virtual console, and find out what I wanted, then go back and continue  ctrl+a, type echo + space + enter, find out what I wanted, press ↑ until I find my command, ctrl+a, del x 5, ctrl+e, and continue  Highlight what I've typed so far with my mouse (if gpm is running, which it usually is), press ctrl+c to interrupt, find out what I wanted while being careful not to use my mouse to highlight stuff, then press middle mouse button on a new prompt and continue  Pray to the command line gods that the half-written command will have no adverse effects but simply fail, and gingerly press enter, then find out what I wanted, press uparrow until I get my command back, and continue  Jump into my time machine, travel back in time and remind myself to start screen before starting to type command, travel back to the present, press ctrl+a c, find out what I wanted, press ctrl+a ctrl+a, and continue   So what I want to know is, is there some more elegant way of doing this? A sort of subshell-command or similar?  I'm most interested in methods that do not require any preparations or setup to work. Grandi's Series; tends to $1/2$, but why is this considered a valid sum? I have something like that  how do I convert this to a YouTube playlist? Extracting text from HTML file using Python I'd like to extract the text from an HTML file using Python.  I want essentially the same output I would get if I copied the text from a browser and pasted it into notepad.    I'd like something more robust than using regular expressions that may fail on poorly formed HTML.  I've seen many people recommend Beautiful Soup, but I've had a few problems using it.  For one, it picked up unwanted text, such as JavaScript source.  Also, it did not interpret HTML entities.  For example, I would expect &amp;#39; in HTML source to be converted to an apostrophe in text, just as if I'd pasted the browser content into notepad.  Update html2text looks promising. It handles HTML entities correctly and ignores JavaScript.  However, it does not exactly produce plain text; it produces markdown that would then have to be turned into plain text. It comes with no examples or documentation, but the code looks clean.    Related questions: How can I get the size of a memory block allocated using malloc()? Ability to retract reopen/delete votes It seems that now we can retract close votes but we cannot retract reopen votes or delete votes.  I am trying to retract my reopen vote  but it does not allow me to.  Can we have that ability? Can I load a .NET assembly at runtime and instantiate a type knowing only the name? Pressing Enter in comment box unexpectedly submits form