I first had Windows 8.1 already installed on my machine, and then I decided to install Ubuntu 14.04 LTS as well.  I first shrunk the size of my Windows Disk. Then I installed Ubuntu, splitting it into two partitions (One for swap and the other for the Ubuntu file system).  However, now whenever I attempt to boot via Windows Boot Manager(on /dev/sda2), I get the following error message:  /EndEntire file path: /ACPI(a0341d0,0)/PCI(2,1f)/Sata(0,0,0)/HD(2,1f4800,82000,0f6afd19c5af524e,2,2)/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire error: cannot load image.   How would I fix it so that Windows 8.1 can boot again as well?
I've just bought a new Toshiba laptop, on which Windows 8 is preinstalled. I've installed Ubuntu Gnome 13.10 and GRUB2 correctly detects Ubuntu and Windows. But the strange problem is that when I try to boot Windows 8, it appears the following error:  /EndEntire file path:/ACPI(a0341d0,0)/PCI(2,1f)/UnknwnMessaging(12)/HD(2,200800,82000,a8d996409dcfe211,a8,59)/File(\EFI|Microsoft\Boot)/File(bootmgfw.efi)/EndEntire error: cannot load image.   I've tried to solve using boot-repair, using the auto-correction. But never has changed. Here is the log generated by boot-repair:   How can I fix this?
\includegraphics PDF, color problem I'm using pdflatex, and use \includegraphics to include content of figures from PDF. PDF are exported from InkScape.  \begin{figure} [!h]     \centering     \includegraphics[height=3cm]{fig/SUSAN.pdf} \end{figure}   Included PDF or source SVG has same colors. Green has always RGB value (0, 255, 0). Problem occurs when I include this files from LaTeX. In output PDF on some pages colorspace is darker. Even same image on other page has different colourity.  My PDF  . As you can see on page 7 (11 in PDF) USAN areas are bright green, but then on page 5 (9 in PDF) are green points on corners more darker. How do I create a vertical version of \not? Update on Ubuntu - coloured lines around everything Everyday I check for updates on Ubuntu 16.04 LTS. I updated to 4.4.0-65-generic today and now on everything I'm getting thick rainbow coloured lines around every dialog box in every program. My setup is pretty standard. Skylake i5-6500, Nvidia 950gtx. Does anyone know how to fix it? Show this equality (The factorial as an alternate sum with binomial coefficients). "Can’t help but" vs. "can help but" Let $G = \mathbb{R} / \mathbb{Q}$. Is this an interesting group to study?  Is it isomorphic to any more natural mathematical objects? JavaScript get clipboard data on paste event (Cross browser) How to make bash put prompt on a new line after cat command? What I get:  host:~ user$ cat example.txt some texthost:~ stas$   What I want to get:  host:~ user$ cat example.txt some text host:~ stas$   Is there a way I can make cat behave like this?  I'm using bash on Mac OS X. After migration to MacOSX 10.11 "El Capitan", how to run simple utilities such as "texdoc" and "kpsewhich"? Last night, I migrated my MacBook's operating system from 10.10 "Yosemite" to 10.11 "El Capitan". Everything seemed to go smoothly. Happily, regarding my TeX-related work, I am able to use the GUI front ends "TeXworks" and "TeXshop" just fine since completing the OS upgrade. I use MacTeX2015, with all the latest updates installed.  Oddly, though, since completing the upgrade I can no longer run any MacTeX command-line utilities such as texdoc and kpsewhich. (Actually, as I just discovered, I can no longer run pdflatex either from a command line. However, I never do run pdflatex from a command line prompt, so that's not an urgent problem for me -- at least not for now.)  The suggestions given in the posting  do not seem to be applicable to this case, as they all seem to revolve around setting up /usr/texbin correctly -- /usr/texbin is no longer allowed under MacOSX 10.11. The document  by Herb Schulz deals in depth with adjusting settings in the GUI front ends, but it appears not to touch on what to do about /usr/texbin, which appears to be the now-missing link to TeX's command line utilities.   Pointers and solutions most welcome! Film in which people can time-travel to relive the biggest world disasters; main character changes a destiny, saving many people I saw a film about 10 years ago. It was about people that could live the biggest disasters in the world that had happened again. They could travel in time and see these disasters. There were some plane crashes, metro crashes, Titanic disaster and so on.  But one man (positive main role) saw another bad man who was throwing a coin in the air and this coin fell down. This positive role changed a destiny and saved many people. This saving caused some damages to negative roles in this film. How to render a pixelated, occluded wireframe with freestyle? I'd like to combine these features:    The pixelated look of a wire material with anti-aliasing disabled. Proper occlusion of hidden lines.   A wireframe material produces the first feature, freestyle produces the second. Can a line set be created that produces neither double pixels nor gaps? Line thickness alone does not seem to be the answer.  There is the trick with two materials and z-offset, but I have trouble getting a really clean solution at the outline of the object. So a freestyle solution would be best.    The main problem is that freestyle (to the right) produces double pixels: How do I get started with RAW photography? Having read about the benefits of shooting in RAW as opposed to JPEG (for example ), I'd like to have a go with it myself. However, I'm not really sure how to go about it.  I can turn RAW mode on in my camera (that's easy!), but what do I do with the files when I get them on to my computer? I presume I need to process them to get the RAW data into something that I can work with, but do I need a specific tool for my camera (a Finepix S5100), or will something like the GIMP do what I want? I'm also a little confused about how I then take advantage of the abilities that RAW gives me when I'm processing it on the computer — do RAW processing tools have more processing options than standard tools? Can I get the output of a command line program with TeX (using e.g. \read18)? My question might appear the same as the question , but actually I did read all the answers and none of them helped me with the details I need.  I am new to cryptography and my problem is with two time pad attacks on OTP. The problem I had in my course was that I have 10 ciphertexts encrypted with the same key $K$. I am then given another ciphertext that I should decrypt.  I know that XOR-ing two ciphers gives me the XOR of their original messages.  My question is what is the correct thing to do after that?  I tried to take 3 ciphertexts $C_1, C_2$ and $C_3$.  Then get $S_1 = C_1 \oplus C_2  \oplus $' ', also get $S_2 = C_1 \oplus C_3 \oplus$ ' '.  After that I compared all corresponding characters in $S_1$ and $S_2$,  and if $S_1[i] = S_2[i]$ then I calculate $S_1[i] \oplus C_2[i]$ to get $K[i]$.  I tried this on paper before coding and it worked, but I might be missing something.  Is this the right approach? Why does it work? How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)? I have Ubuntu 18.04 LTS installed.  I installed Arduino IDE v1.8.5 as a snap with  snap install arduino-mhall119   I have added my user to dial-out group and rebooted:  sudo usermod -a -G dialout $USER  $ groups  username adm dialout cdrom sudo dip plugdev lpadmin sambashare   I connected my Arduino Nano to the laptop, it is detected on port /dev/ttyUSB0 (ch341-uart).  $ ls /dev/ttyUSB0 -al crw-rw---- 1 root dialout 188, 0 авг 13 11:59 /dev/ttyUSB0   I tried to upload the simpliest Blink sketch and get the following errors in the terminal:  $ arduino-mhall119.arduino    avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied   Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.**   Also I have installed arduino 1.8.5 with umake - it can access serial port in usual way.  Note: we already have  here, but the solution was to use , not fix for the Snap.  So my question is: How to make Arduino (Snap) access serial port /dev/ttyUSB0 (or /dev/ttyACM0)?  Update: connecting serial-port to the snap fails with the following message  $ snap connect arduino-mhall119:serial-port  error: snap "core" has no "serial-port" interface slots   Current interfaces are:  $ snap interfaces | grep arduino :home                            arduino-mhall119,gedit,organize-my-files,vlc :network                         arduino-mhall119,gedit,organize-my-files,pulsemixer,vlc :unity7                          arduino-mhall119,gedit,organize-my-files,vlc :x11                             arduino-mhall119,organize-my-files,pulsemixer,vlc -                                arduino-mhall119:serial-port   Changing permissions of serial port to 777 with sudo chmod 777 /dev/ttyUSB0 does not help.  The following do not work too (because of syntax errors):  $ sudo snap connect arduino-mhall119:arduino error: snap "arduino-mhall119" has no plug named "arduino"  $ snap connect arduino-mhall119:/dev/ttyUSB0 error: snap "arduino-mhall119" has no plug named "/dev/ttyUSB0"  $ snap connect arduino-mhall119 error: cannot resolve connection, plug snap name is empty   Information about YAML-manifest:  $ ls -l /snap/arduino-mhall119/current/meta/snap.yaml -rw-r--r-- 1 root root 353 июл 28 00:20 /snap/arduino-mhall119/current/meta/snap.yaml  $ cat /snap/arduino-mhall119/current/meta/snap.yaml |grep -A 12 slots  $ cat /snap/arduino-mhall119/current/meta/snap.yaml |grep -A 5 plug     plugs:     - x11     - unity7     - home     - network     - serial-port What are metaclasses in Python? Why does putting a 1/2 in front of the squared error make the math easier? Olympiad Inequality $\sum\limits_{cyc} \frac{x^4}{8x^3+5y^3} \geqslant \frac{x+y+z}{13}$ $x,y,z &gt;0$, prove   $$\frac{x^4}{8x^3+5y^3}+\frac{y^4}{8y^3+5z^3}+\frac{z^4}{8z^3+5x^3} \geqslant \frac{x+y+z}{13}$$   Note: Often Stack Exchange asked to show some work before answering the question. This inequality was used as a proposal problem for National TST of an Asian country a few years back. However, upon receiving the official solution, the committee decided to drop this problem immediately. They don't believe that any students can solve this problem in 3 hour time frame.   Update 1: In this forum, somebody said  that BW is the only solution for this problem, which to the best of my knowledge is wrong. This problem is listed as "coffin problems" in my country. The official solution is very elementary and elegant.   Update 2: Although there are some solutions (or partial solution) based on numerical method, I am more interested in the approach with "pencil and papers." I think the approach by  in  may help.    Update 3: Michael has tried to apply Peter Scholze's method but not found the solution yet.  Update 4: Symbolic expanding with computer is employed and verify the inequality. However, detail solution that not involved computer has not been found. Whoever can solve this inequality using high school math knowledge will be considered as the "King of Inequality". How do you handle the varying sizes of filters in your kit? I have a variety of Nikon DX lenses that take differently sized filters. Most take 52mm filters, but there are a few that take larger 67mm or 77mm filters. The advice I've read most commonly online is to buy one filter size and get filter conversion rings to step up to that size filter. In my case, the largest size appears to be 77mm.  So, I walked into a couple local photo shops and asked about 52mm-77mm filter conversion rings and they looked at me like I had two heads. One guy suggested I stack a 52mm-67m and a 67mm-77mm. I have found 52mm-77mm rings online, so I know they exist.  Is this not a common thing to do? How does the stack exchange community handle the varying sizes of filters in their kit?  Thanks, PaulH What is the best algorithm for overriding GetHashCode? In .NET, the  is used in a lot of places throughout the .NET base class libraries. Implementing it properly is especially important to find items quickly in a collection or when determining equality.  Is there a standard algorithm or best practice on how to implement GetHashCode for my custom classes so I don't degrade performance?