I had 2 partitions more or less 225GB each one. In the first partiton I had installed Windows 8 and in the second I have installed Ubuntu 14.0 2. My problem is that when I installed Ubuntu in the second partition everything went fine (I could access to windows) but now I can't access Windows and Ubuntu shows me that there is only a partition (450GB partition that belongs to Ubuntu). How can I fix my trouble? I tried reinstalling grub with .
I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.
'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all? Could I replace headphones NIMH battery with Lithium Ion phone battery of the same voltage? $ KC $ spaces imply $ US $ spaces , but vise versa is false. In the $ US $ space , each convergent sequence has unique limit.      In the $ KC $ space , every compact subset is closed.      It easy to show that $ KC $ spaces imply $ US $ spaces.   The example below show that $ US $ spaces do not imply $ KC $ spaces.      Let $ X = [ 0, 1 ] $ with the the usual topology and attach  a new point z whose neighborhood are open dense subsets of $ [ 0,1 ]$. Observe $ [ 0,1 ]$ is a compact non-closed  of $X$ and then $X$ is not a $KC$ space. However no sequence in $ [ 0,1 ]$ converge to $z$ and in particular  all convergent in $X$ have unique limits.   can you give me more details?   Why $X$ is not closed? Why no sequence in $ [ 0,1 ]$ converges to $z$ and in particular all convergent sequences in $X$ have unique limits ? "X Department" versus "Department of X" I would like to know whether these phrases "English Department" and "Department of English" have the same meaning. Thanks! How do I fix Outlook only showing the first line of every message? I'm experiencing a strange problem with Outlook 2019. When viewing a message it only shows the first line. On an HTML message, it stops at the first close paragraph tag. On a plaintext message, it stops at the first newline character. This is true if viewing a message in the reading pane as well as if double-clicking the message to open in its own window. I have the preview pane set to show 3 lines and it does show more of the message so it seems like Outlook can see more of the message than it's rendering in the reading pane. If I use View Source, the underlying data seems fine and the whole message is there. I've tried the following:  Deleting and re-creating the user's mail profile Uninstalling &amp; re-installing Office Creating a new Windows account &amp; connecting Outlook to a different Exchange account than the one that originally exhibited the problem Checked for Windows updates Checked for Office updates  Any ideas what might be causing this? I feel like I've tried everything obvious &amp; I'm striking out on Google. How to avoid the blackening fruits once they are cut? Apples and bananas start to blacken and sour in taste soon after cutting, which spoils the presentation of dish, especially in fruit salads. How can I avoid this?  Also, does browning impact nutritional value? Who did that to the priest's dog? In John Michael McDonagh's wonderful philosophical black comedy , a good priest receives a death threat during a confessional giving him a week to sort out his affairs.   During the course of the week there are a lot of encounters between the priest and his parishioners, many acting as red herrings to distract the audience form the identity of the potential killer. Several threatening acts also take place: the church is burned and the priest's dog is killed.   But in the final encounter between the priest and the mystery antagonist (I'm not saying who to avoid spoilers) the antagonist admits burning the church but claims not to have killed the priest's dog.  Are they lying? Or is there a good reason that someone else might have killed the dog? Why are second order linear PDEs classified as either elliptic, hyperbolic or parabolic? Is there a geometric interpretation of second order linear partial differential equations which explains why they are classified as either elliptic, hyperbolic or parabolic, or is this just a naming convention? That is, do they have any relation with actual ellipses, hyperbolas and parabolas? When is $A- B = B- A$? Hello I am taking a Discrete Mathematics course and having some trouble with this question about sets:  Under what conditions is $A- B = B- A$  Diagram:   Diagram:   Maybe I'm understanding incorrectly, but how can A-B and B-A be equal if they contain elements that are not in each other? Character reading from file in Python How to use fakeslant as slanted but not italic font with fontspec? Using fontspec with Luatex it is possible to create a fake slant and use that as italic should no italics be around:  \setmainfont[ AutoFakeSlant=0.15 ]             {FontName}   However, also if an italic version exist this faked slant will be used both for \itshape and \slshape. How can I keep using the shipped italic font defined by the ItalicFont= parameter to \setmainfont but use fake slant for \slshape? Fetch the row which has the Max value for a column Table:   UserId, Value, Date.   I want to get the UserId, Value for the max(Date) for each UserId. That is, the Value for each UserId that has the latest date. Is there a way to do this simply in SQL? (Preferably Oracle)  Update: Apologies for any ambiguity: I need to get ALL the UserIds. But for each UserId, only that row where that user has the latest date. I need a 'good' way to initialize the pseudo-random number generator in C++. I've found  that states:     In order to generate random-like   numbers, srand is usually initialized   to some distinctive value, like those   related with the execution time. For   example, the value returned by the   function time (declared in header   ctime) is different each second, which   is distinctive enough for most   randoming needs.   Unixtime isn't distinctive enough for my application. What's a better way to initialize this? Bonus points if it's portable, but the code will primarily be running on Linux hosts.  I was thinking of doing some pid/unixtime math to get an int, or possibly reading data from /dev/urandom.  Thanks!  EDIT  Yes, I am actually starting my application multiple times a second and I've run into collisions. Format not available in tag wiki excerpt For example, :   Format like bold or italic are not available , so it leaves ugly text there:  **This tag is *extremely* ambiguous. Consider using other tags instead.**    Does this need to get fixed, or it's not supported and the tag-wiki needs to be format-free? On Windows 7 can one make UAC on an admin account prompt for the password, just like a limited account? I am one of the very few who likes the security of UAC and so I have the UAC set to "Always Notify" on my Admin account. But I would be even happier if the system would prompt me for a password, when notifying me.  I can get what I want by adding a second non-admin user and using that account.  But somehow it seems wasteful to have two accounts set up when I will always use the non-admin account day-to-day.  So I am wondering if there is any setting that would cause an Admin account to behave password-prompting-wise as a standard account? How can I analytically prove that randomly dividing an amount results in an exponential distribution (of e.g. income and wealth)? In this current  the following is being proposed:      Suppose you randomly divide 500 million in income among 10,000   people. There's only one way to give everyone an equal, 50,000 share.   So if you're doling out earnings randomly, equality is extremely   unlikely. But there are countless ways to give a few people a lot of   cash and many people a little or nothing. In fact, given all the ways   you could divvy out income, most of them produce an exponential   distribution of income.   I have done this with the following R code which seems to reaffirm the result:  library(MASS)  w &lt;- 500000000 #wealth p &lt;- 10000 #people  d &lt;- diff(c(0,sort(runif(p-1,max=w)),w)) #wealth-distribution h &lt;- hist(d, col="red", main="Exponential decline", freq = FALSE, breaks = 45, xlim = c(0, quantile(d, 0.99)))  fit &lt;- fitdistr(d,"exponential") curve(dexp(x, rate = fit$estimate), col = "black", type="p", pch=16, add = TRUE)     My question How can I analytically prove that the resulting distribution is indeed exponential?  Addendum Thank you for your answers and comments. I have thought about the problem and came up with the following intuitive reasoning. Basically the following happens (Beware: oversimplification ahead): You kind of go along the amount and toss a (biased) coin. Every time you get e.g. heads you divide the amount. You distribute the resulting partitions. In the discrete case the coin tossing follows a binomial distribution, the partitions are geometrically distributed. The continuous analogues are the poisson distribution and the exponential distribution respectively! (By the same reasoning it also becomes intuitively clear why the geometrical and the exponential distribution have the property of memorylessness - because the coin doesn't have a memory either). Converting mobi files to pdf files I have a Hanlin V3+ e-book, unfortunately it crashes too often when reading mobi files, so I want to convert them first into pdf, and then read pdf on V3+. Is there any tool for converting mobi files to pdf files? Thanks. "Can’t help but" vs. "can help but" Prove that $f$ has a fixed point . For $f:[a,b]\rightarrow [a,b]$ is a continuous . Prove that $f$ has a fixed point . Is that true if we change $[a,b]$ by $[a,b)$ or $(a,b)$. My only problem is making them line up three-across and have equal spacing. Apparently, spans can not have width and divs (and spans with display:block) don't appear horizontally next to each other. Suggestions?  &lt;div style='width:30%; text-align:center; float:left; clear:both;'&gt; Is what I have now.