I am using DUALBOOT (Windows+Ubuntu)  I am unable to access my windows content in Ubuntu platform. When i am trying to use Ubuntu, I am getting this error  Error mounting /dev/sda6 at /media/satya/New Volume: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda6" "/media/satya/New Volume"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda6': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux
How to revert uncommitted changes including files and folders? I have seen this a lot but i ran into this question today:    And the answer (while good) has 83 upvotes which seemed a little over the top.  I see dozens of answers of this caliber every week that only seem to get a few upvotes.    Was there some sort of SO policy that encouraged people to upvote more during this period?  Am I just imagining that answers from this period received more votes than comparable ones now? I am being prompted with the following error while using \pagestyle{headings} on a book class LaTeX document:  Overfull \hbox (240.44835pt too wide) has occurred while \output is active \OT1/cmr/m/sl/12 CHAPTER 1. THE CITY OF CARTHAGE WAS THE CENTRE OF THE ANCIENT CARTHAGINIAN CIVILIZATION \OT1/cmr/m/n/12 2   The following is the offending code:  \documentclass[12pt,letterpaper,oneside]{book}  \pagestyle{headings}   \begin{document}  \pagenumbering{arabic}  \chapter{The city of Carthage was the centre of the ancient Carthaginian civilization} The city of Carthage was the centre of the ancient Carthaginian civilization. The city developed from a Phoenician colony of the 1st millennium BC into the capital of an ancient empire.[2] The area of Carthage was before inhabited by Berber people who also became the bulk of Carthage's population and constituted a significant part of its army, economy and administration. Native Berbers and settling Phoenicians in Carthage mixed in different ways including religion and language, creating the Punic language and culture.  The name of Carthage, Latin: Carthago or Karthago,  meaning "New City"   The first civilization that developed within the city's sphere of influence is referred to as Punic (a form of the word "Phoenician") or Carthaginian. The city of Carthage is located on the eastern side of Lake Tunis across from the centre of Tunis. According to Greek historians, Carthage was founded by Canaanite-speaking Phoenician colonists from Tyre (in modern Lebanon) under the leadership of Queen Elissa or Dido. It became a large and rich city and thus a major power in the Mediterranean. The resulting rivalry with Syracuse, Numidia, and Rome was accompanied by several wars with respective invasions of each other's homeland.  Hannibal's invasion of Italy in the Second Punic War culminated in the Carthaginian victory at Cannae and led to a serious threat to the continuation of Roman rule over Italy; however, the Romans gained the upper hand by invading Africa and defeating Carthage at the Battle of Zama in 202 BC. Following the Third Punic War, the city was destroyed by the Romans in 146 BC. However, the Romans refounded Carthage, which became the empire's fourth most important city and the second most important city in the Latin West. It later became the capital of the short-lived Vandal kingdom. It remained one of the most important Roman cities until the Muslim conquest, when it was destroyed a second time in 698.  The ancient Greek philosopher Aristotle wrote extensively on Carthaginian politics, and he considered the city to have one of the best governing institutions in the world, along with those of the Greek states of Sparta and Crete.[5][6]  \section{Topography} Carthage was built on a promontory with sea inlets to the north and the south. The city's location made it master of the Mediterranean's maritime trade. All ships crossing the sea had to pass between Sicily and the coast of Tunisia, where Carthage was built, affording it great power and influence.  \end{document}    The \hbox refers to:      How can I solve this issue using \pagestyle{myheadings}? Or how can I solve this issue keeping the book class heading format? Recently, there was some news that said that the researchers at NASA have come across some impossible kind of space engine which does not require any fuel. I have read at a few places like ,  and . They all say that this engine seems to violate the laws of physics including conservation of momentum.  The original paper is .  Is the statement that it violates conservation of momentum true? I have set up my site with sample pages and data (lorem ipsum, etc..) and Google has crawled these pages. I deleted all these pages and actually added real content but in webmaster tools, i still get a lot of 404 errors Google trying to crawl these pages. I have set them to "mark as resolved" but some pages still come back as 404.   Furthermore, I have a lot of these sample pages still listed when i do a search of my site on Google. How to remove them. I think these irrelevant pages are hurting my rating.   I actually wanted to erase all these pages and start getting my site being being indexed as a new one but I read it's not possible? (I have submitted a sitemap and used "Fetch as Google.") Install macOS Sierra on VirtualBox? I’m trying to install macOS Sierra on VirtualBox, but can’t seem to make it work. For reference, here are the steps I took.   Downloaded the Install macOS Sierra app from the App Store. Used the inbuilt media creation executable, CreateInstallMedia on a disk image. Created a new VM with the default settings for an OS X El Capitan, plus 128 VRAM. Since VirtualBox refused to accept the DMG, I tried splicing out the InstallESD. VirtualBox now accepted it, but wouldn’t boot. I tried to boot through rEFInd, but still no luck. I tried to patch it both ways (base system and ESD) with iesd. No luck. When booting to GParted LiveCD, it flat-out refused to discover any of the installer CDs.   How can I patch the installer to work with VirtualBox? I don’t want to use pre-patched versions of either the installer or an existing installation, as though to avoid piracy. How to set page geometry for a single page only? The problem:  Assume $f: \mathbb{R} \rightarrow \mathbb{R}$ satisfies $|f(t) - f(x)| \leq |t - x|^2$ for all $t, x$. Prove $f$ is constant.  I believe I have some intuition about why this is the case; i.e. if $t$ and $x$ are very close, ($|t - x| = \epsilon$), then $\sqrt{\epsilon}$ will converge to 0, so $|f(t) - f(x)|$ will also converge to zero if you keep taking $t$ and $x$ closer and closer to each other. However, how do I formalize this argument? Thanks. Modify footer used by elsarticle.cls Two tables side by side with minipage Purchasing a Switch - AC vs DC Current Specifications? I'm trying to purchase several switches for a DC system with moderately low current (a few amps at 12V). When browsing for switches in parts catalogs (e.g.  and ) there are always separate voltage ratings for AC and DC applications. I understand that AC switches are less expensive because the switching time does not need to be as fast and arcing is less of a concern. There is only one current rating listed and I am not sure if it applies to AC switching, DC switching, or both.  Does this current rating apply to both the rated AC and DC voltages? Is there a good rule-of-thumb for converting between AC and DC voltage/current ratings? What is the highest current I could reasonably expect from a DC switch before moving to a relay? Why do function pointers all have the same value? I've only found a recursive algorithm of the extended Euclidean algorithm. I'd like to know how to use it by hand. Any idea? Get lists of dependent picklist options in Apex Finding $\int_0^{\infty}xe^{-\lambda x} \, dx$ How to integrate:  $$\int_0^\infty x \, \lambda e^{-\lambda x} \, dx$$    I tried using integration by parts:  Let $u = x$ and $dv = \lambda e^{-\lambda x} \, dx$  Then $du = dx$  And $v = - \lambda e ^{-\lambda x}$  Correct so far?   Then   $$\begin{aligned} uv - \int v \, du &amp;= -\lambda x e^{-\lambda x} - \int (- \lambda e^{- \lambda x}) dx \\ &amp;= -\lambda x e^{-\lambda x} - \lambda e^{-\lambda x} \end{aligned}$$    The correct answer from lecture notes      UPDATE 2  Let $u=\lambda x$ and $dv = e^{-\lambda x} dx$  Then $du = \lambda \, dx$  $$dv = e^{-\lambda x} \, dx$$  Let $y = -\lambda x$  Then $dy = -\lambda \, dx$  So $dx = -\frac{1}{\lambda} dy$  $$\begin{aligned} v &amp;= \int e^u \cdot - \frac{1}{\lambda} du \\ &amp;= - \frac{1}{\lambda} e^{-\lambda x} \end{aligned}$$  But here I seem to have an extra $- \frac{1}{\lambda}$ in $v$?  If I continue using integration by parts, I get:   $$-x e^{-\lambda x} + \color{red}{\frac{1}{\lambda}} \int e^{-\lambda x} \, dx$$ Scamming a scammer? I have seen many questions like:      My question is: what happens if you receive this money (without doing anything or giving your bank account number) but do not do anything scammer wants?  I especially want to know about what happens with the money you got and possible legal consequences.    Is it considered yours because scammer transfered it to you? Do you have to return it? If yes, to whom and in what form? And finally, how is it that scammers are just sending money to random people? Aren't they scared that someone will simply not return it? I understand that this may be stolen money, but it surely took some effort (cash/time) to "acquire" it, so why are they just sending it away? Difference in output between SAS's proc genmod and R's glm I'm trying to replicate a model fitted in SAS in R but the fit I'm getting gives me slightly different coefficients and standard errors.  Data:  testdata &lt;- data.frame(matrix(c("f","Test", 1.75,   16, 0,  16, 0,  1,  1, "m",    "Test", 1.75,   15, 1,  16, 6.25,   1,  0, "f",    "Test", 2.75,   4,  12, 16, 75, 1,  1, "m",    "Test", 2.75,   9,  6,  15, 40, 1,  0, "f",    "WHO",  1.75,   15, 1,  16, 6.25,   0,  1, "m",    "WHO",  1.75,   14, 2,  16, 12.5,   0,  0, "f",    "WHO",  2.75,   2,  13, 15, 86.6667,    0,  1, "m",    "WHO",  2.75,   3,  13, 16, 81.25,  0,  0 ), ncol=9, byrow=TRUE)) names(testdata) &lt;- c("sex", "vaccine", "dose", "not_p", "para", "n", "pct",                       "vacnum", "sexno")   SAS:  proc genmod data=model_data; class sex; model para/n  = dose sex vacnum    /dist=bin    link=logit   type3; run;  Analysis Of Maximum Likelihood Parameter Estimates  Parameter   DF Estimate Std Error Wald 95% Conf Lim Wald Chi-Square Pr &gt; ChiSq  Intercept   1 -9.4020   1.6220    -12.5810  -6.2230  33.60           &lt;.0001  dose        1  3.9208   0.6460      2.6546   5.1870  36.83           &lt;.0001  sex f       1  0.5574   0.5184     -0.4587   1.5735   1.16           0.2823  sex m       0  0.0000   0.0000      0.0000   0.0000    .              .  vacnum      1 -1.3221   0.5483     -2.3967  -0.2475   5.81           0.0159  Scale       0  1.0000   0.0000      1.0000   1.0000        R:  testdata$sexno &lt;- as.factor(testdata$sexno)     a &lt;- contr.treatment(2, base = 1, contrasts = TRUE)  contrasts(testdata$sexno) &lt;- a  fitreduced &lt;- glm(para/n ~ dose + as.factor(sex) + vacnum,                    family=quasibinomial(link="logit"), data=testdata)  coef(summary(fitreduced))                    Estimate Std. Error   t value    Pr(&gt;|t|) (Intercept)     -9.4013750  1.7613982 -5.337450 0.005935450 dose             3.9173794  0.7001133  5.595351 0.005007179 as.factor(sex)1  0.5704671  0.5568436  1.024466 0.363525300 vacnum          -1.3336100  0.5887552 -2.265135 0.086189704   I believe I have the right contrasts to give me a type III SS but there is a small discrepency in values, have a missed something here? Is the following equivalent to the axiom of choice? In the radio series, how did Zaphod get into the artificial universe? In the book The Restaurant at the End of the Universe, it's very clearly explained how Zaphod gets into the simulated universe; he's in it from the moment he enters Zarniwop's office, and a big deal is made of him leaving via the window rather than the door so that he stays in it.  In the radio series, however, this doesn't happen. At the end of Fit the Seventh, Zaphod asks "How do we get to this universe, then?" and Roosta replies "I'm afraid it looks like we don't...", pointing out that the building is splitting down the middle, preventing them reaching the office.  Later, in Fit the Twelfth, Zaphod finally meets Zarniwoop in the lounge of the slightly-delayed spaceliner and reacts with astonishment at learning he's been in the artificial universe all this time. "How did we get into it? I mean like where, when?"  Zarniwoop only replies enigmatically: "You didn't notice? Well, I'll let you work it out for yourself."  So, how did he get in? As noted, he never actually entered Zarniwoop's office. My only thought is that it happened during the "body debit" incident with the disco, but there's no particular indication that that should be the case. Is there any other possibility? Covariance of a variable and a linear combination of other variables Let $X,A,B,C,D$ be time-series variables and the covariance between any two pairs of these are known.  Suppose we want to find $\textrm{cov}(X,aA + bB + cC + dD)$, where $a,b,c,d$ are constants.  Is there any way of doing this without expanding out $E[(X-E[X])(aA+......)]$?