After Windows 10 Anniversary update the grub OS choice menu no longer shows, I just get the grub prompt. From the grub prompt I can use ls on only one of the partitions, which has three folders: ubuntu, boot and windows but I'm not sure what to do from the grub command line.  I've tried using the boot-repair tool but it didn't work.  I tried the bcdedit approach mentioned here  but it didn't change anything.  I fear for the worst because the partition that had ubuntu on it is not recognized properly by gParted (it says file system unknown), and fdisk -l /dev/sda6 says "Disk /dev/sda6 doesn't contain a valid partition table" I've not much experience with partitioning or grub, and maybe it's a wrong assumption, but since I have only two partitions with more than 100GB, and gParted says sda4 has the Windows label I've assumed that sda6 is my old Ubuntu partition.  I tried the accepted answer from here:  but immediately hit problems because I couldn't mount my ubuntu partition. Without type (or with -t auto) mount says I must specify type, but with type I get:  sudo mount -t ext4 /dev/sda6 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sda6,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so   Here is the output from sudo parted -l  Model: ATA Crucial_CT250MX2 (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/4096B Partition Table: gpt  Number  Start   End     Size    File system     Name                          Flags  1      1049kB  735MB   734MB   ntfs            Basic data partition          hidden, diag  2      735MB   1008MB  273MB   fat32           EFI system partition          boot  3      1008MB  1142MB  134MB                   Microsoft reserved partition  msftres  4      1142MB  103GB   102GB   ntfs            Basic data partition          msftdata  5      103GB   104GB   855MB   ntfs                                          hidden, diag  6      104GB   230GB   125GB  7      230GB   238GB   8468MB  linux-swap(v1)  8      239GB   250GB   11.5GB  ntfs            Basic data partition          hidden, diag   Here is the output from the recovery tool:   I haven't tried TestDisk yet because I'm not sure if it can fix it (and I don't want to break the windows partition) but if anyone thinks it's worth trying I can do that.  Overall it's been a very sad anniversary for Windows for me. When I saw the Windows "Hi.. We've updated your PC" on screen I wanted to put my fist through it.  Update: I tried TestDisk and now windows isn't booting either after just doing the basic "scan" and write partition table.
I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back?
How can I repeat the header but not the caption with longtable? I am trying to set up a longtable where the header is repeated on every new page but the caption only appears once at the top of the page.  The table is defined as follows:  \begin{longtable}{|l|l|l|} \caption{the table caption} \label{tab:11swpkg}\\ \hline \rowcolor{gray} HeaderCol1 &amp; HeaderCol2 &amp; HeaderCol3\endhead     \hline\hline Item11 &amp; Item12 &amp; Item13 \\ \hline Item21 &amp; Item22 &amp; Item23 \\ \hline Item31 &amp; Item32 &amp; Item33 \\ \hline \end{longtable}   This nearly works because the header is indeed repeated after a page break but so is the caption. How can I get rid of the caption after a page break? When to use self over $this? In PHP 5, what is the difference between using self and $this?  When is each appropriate? I came across this problem when I was at a book store inside of a book made to prepare Berkeley graduates to pass a mandatory exam. I wanted to buy the book, but, alas, I didn't have the money (forty bucks is a lot of money when you don't have a job). So I took my phone out and started taking as many pictures as I could. Unfortunately, I didn't take any pictures of the solutions!  Enough backstory. Time for math. The problem is as follows:  Prove that $\cos^p( \theta) \le \cos(p \theta)$ if $0\le\theta\le\frac\pi2$ and $0\le p\le 1$.  I tried using the series expansion for cosine, but that seemed to be a dead end. Then I tried using Euler's theorem, but I got stuck. Then I got distracted and started to think about other cosine identities. For example, $$\cos\left(\frac\theta2\right)=\pm\sqrt{\frac{1+\cos(\theta)}{2}}.$$ Then what is $\cos(\frac\theta3)$ equal to? I tried to figure it out then I realized that I needed to find the root of a cubic polynomial. Then I realized that I'm better at staying focused than finding the roots of cubic polynomials.  Anyways, a proof would be nice here. I really appreciate any hints or answers. I apologize for my digressions! Why is the decay of a neutral rho meson into two neutral pions forbidden? If $0$ is the zero-object $ \Longrightarrow F(0) $ is the zero object when $F$ additive I have a sight hosted on .ie domain but it is near the NI(Northern Ireland) border and the business has a lot of NI traffic. So when someone searches in NI with certain key words I would like the site to appear in the results, it currently doesn't.   I have seen this post    But was wondering the best way around this. Would it be to create a .co.uk version that redirects to the .ie site? Or would I have to create a separate .co.uk site?  Any help appreciated thanks. What does Superman do with his regular clothes after changing in the phone booth? We all know that Superman changes in the phone booth. But where does he put his regular clothes while he's on a mission? He doesn't throw it out, because he changes back. But we don't see him carrying a bag of dirty laundry while he's on a mission.  ("In his right hand, Superman has Lois Lane, and in his left hand he seems to be holding... boxers??)  And I can't imagine he leaves it in the phone booth.  So where does Superman leave his regular clothes after he changes? Run multiple Python scripts in Blender from the command-line I have 8 python scripts and I need to lunch them at once. For one script, I used   blender --background --python script1.py   for the eight scripts, I tried this command but it does not work.  blender --background --python *.py Multiple panel figure, with caption in one of the panels? I want to put three figures inside a multi-figure with a single caption. If you imagine a 2x2 table, I want to place the three figures in three of the table cells, and the caption in the remaining cell.   Each subfigure should have its own label, and small captions (like (a), (b), and (c), to number the figures inside the panel). Then inside the caption for the whole figure, I want to reference the subfigures, but without using the figure number (that is, just (a) instead of Fig.3(a)), but outside the panel, I'll reference the subfigures as Fig.3(a), etc.  For example,  \begin{figure} \centering     \begin{subfigure}{.4\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_a.pdf}         \caption{}\label{fig:fig_a}     \end{subfigure} %     \begin{subfigure}{.4\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_b.pdf}         \caption{}\label{fig:fig_b}     \end{subfigure} %     \begin{subfigure}{\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_c.pdf}         \caption{}\label{fig:fig_c}     \end{subfigure} \caption{Some general caption of all the figures. In (\subref{fig:fig_a}) you can see a green square....} \end{figure}   But this puts two figures ((a) and (b)) side by side on the first row, then (c) alone on the second row, and the caption appears below. The second row has much space unused. The following is a picture of what I expect to get:    How can I do this? I'm having difficulty with exercise 1.43 of Lang's Algebra. The question states     Let $H$ be a subgroup of a finite abelian group $G$. Show that $G$ has a subgroup that is isomorphic to $G/H$.   Thinking about this for a bit, the only reasonable approach I could think of was to construct some surjective homomorphism $\phi\colon G\to K$ for $K\leq G$, and $\ker\phi=H$, and then just use the isomorphism theorems to get the result.  After a while of trying, I've failed to come up with a good map, since $H$ seems so arbitrary. I'm curious, how can one construct the desired homomorphism? This is just the approach I thought of, if there's a better one, I wouldn't mind seeing that either/instead. Thank you. Read echo'ed output from another PHP file Steam not opening in Ubuntu 16.04 LTS Earth Engine convert list with coordinates and values into a feature collection for export I need to create a feature collection from a list containing coordinates and band values.  These are extracted from a landsat image as shown in this linked script.    I'm unable to find a solution in creating a feature collection.  Here is the tail end code.  var valuesList = joinedImage.reduceRegion({   reducer: ee.Reducer.toList(4),   geometry: myGeometry }).values().get(0);  var feature = ee.Feature(null, valuesList);   // Wrap the Feature in a FeatureCollection for export. var myFeatures = ee.FeatureCollection([feature]);   // Export the image, specifying scale and region. Export.table.toDrive(myFeatures, "data", "myData", "B4-B5",  "CSV");   This doesn't work, because it is clearly the wrong way to create the feature collection.  I've tried to create it similar to Rodrigo E. Principe's solution of mapping a Feature Collection but I can't seem to create the initial feature collection to start with. Why does Perl's sprintf not round floating point numbers correctly? Is there a difference in meaning among 'should', 'happens to', or 'should happen to'? Take the following function:  DataTable go() {     return someTableAdapter.getSomeData(); }   When I set a breakpoint in this function, is there a possibility to inspect the returned value? go() is directly coupled to a datagrid in an .aspx page.  The only way to inspect the returned datatable is to use a temporary variable. However, that's a bit inconvenient. Isn't there another way? Can future execution start before the synchronous execution is completed Is there a way for @future annotated method to start execution before the synchronous request which invokes it has completed.  In other words, do I have some guarantees that the timing will look like this:  -start sync---call future---end sync---execute future-&gt;   instead of like this:  -start sync---call future---execute future---end sync-&gt;   I couldn't find the execution order guarantees in the documentation, although  states:     The reason why sObjects can’t be passed as arguments to future methods   is because the sObject might change between the time you call the   method and the time it executes. In this case, the future method will   get the old sObject values and might overwrite them.  To work with   sObjects that already exist in the database, pass the sObject ID   instead (or collection of IDs) and use the ID to perform a query for   the most up-to-date record.   This can be read as saying that the future is not queued at the end of the transaction, otherwise Salesforce could guarantee that the sObject sent is the most recent version. And since it's queued during the transaction, it might imply that it also might execute and complete while the synchronous transaction is still running.  On the other hand,  implies that futures are only fired after the transaction completes:     Invoking Database.rollback not only rolls back inserts, but it goes   much, much further.   [...]   It also rolls back:      Calls to @future methods. Any methods called within the rolled back part of your script will not be invoked (also why @future doesn't start until your script completes). If $G/Z(G)$ is cyclic, then $G$ is abelian Continuing my work through Dummit &amp; Foote's "Abstract Algebra", 3.1.36 asks the following (which is exactly the same as exercise 5 in ):     Prove that if $G/Z(G)$ is cyclic, then $G$ is abelian. [If $G/Z(G)$ is cyclic with generator $xZ(G)$, show that every element of $G$ can be written in the form $x^az$ for some $a \in \mathbb{Z}$ and some element $z \in Z(G)$]      The hint is actually the hardest part for me, as the quotient groups are somewhat abstract. But once I have the hint, I can write:  $g, h \in G$ implies that $g = x^{a_1}z_1$ and $h = x^{a_2}z_2$, so \begin{align*}gh &amp;= (x^{a_1}z_1)(x^{a_2}z_2)\\\  &amp;= x^{a_1}x^{a_2}z_1z_2\\\ &amp; = x^{a_1 + a_2}z_2z_1\\\ &amp;= \ldots = (x^{a_2}z_2)(x^{a_1}z_1) = hg. \end{align*} Therefore, $G$ is abelian.  1) Is this right so far?  2) How can I prove the "hint"? How to clear the Skype chat history how clear the skype chat history ? How to skip validation when a specific button is clicked?