I have Toshiba Satellite c850 B516 with Original Win8 installed. I accidentally formatted the internal hard disk. There is no serial number written on the bottom of my laptop. How can I recover my original Win8 even if all my personal data is lost.
My new laptop came preinstalled with Windows 8. Naively, as I am, I just formatted the harddrive and installed fine old Ubuntu. Now I want to install Windows 8 for dual boot again, but I have no DVD and to download the ISO one needs a product key. That key is not on the back of the laptop anymore but somewhere on the mainboard.  Is there any way to recover the product key from the mainboard using Ubuntu?
bounding a $C^1$ function that upholds $f'(t)\leq 1-f(t)^2$ How can I make a .jar file executable? I'm trying to run a jar application under Ubuntu, so I installed OpenJDK Java 7 Runtime, but when I open this application I got this message :     The file '/home/aimad/Programms/jMerise/JMerise.jar' is not marked as   executable.  If this was downloaded or copied from an untrusted   source, it may be dangerous to run.  For more details, read about the   executable bit. A friend's visa has expired in Thailand. How does he get back to the UK? Visiting two Schengen countries, coming back home in between, do I apply for single-entry or multiple-entry visa? From the man page on git-merge, there are a number of merge strategies you can use.     resolve -  This can only resolve two heads (i.e. the current branch and another branch you pulled from) using 3-way merge algorithm. It tries to carefully detect criss-cross merge ambiguities and is considered generally safe and fast. recursive -  This can only resolve two heads using 3-way merge algorithm. When there are more than one common ancestors that can be used for 3-way merge, it creates a merged tree of the common ancestors and uses that as the reference tree for the 3-way merge. This has been reported to result in fewer merge conflicts without causing mis-merges by tests done on actual merge commits taken from Linux 2.6 kernel development history. Additionally this can detect and handle merges involving renames. This is the default merge strategy when pulling or merging one branch. octopus -  This resolves more than two-head case, but refuses to do complex merge that needs manual resolution. It is primarily meant to be used for bundling topic branch heads together. This is the default merge strategy when pulling or merging more than one branches. ours -  This resolves any number of heads, but the result of the merge is always the current branch head. It is meant to be used to supersede old development history of side branches. subtree -  This is a modified recursive strategy. When merging trees A and B, if B corresponds to a subtree of A, B is first adjusted to match the tree structure of A, instead of reading the trees at the same level. This adjustment is also done to the common ancestor tree.   When should I specify something different than the default?  What scenarios are each best for? bases and binary I can not figure this out.   I started off by making a table and putting the base(2) on one side, the number in the middle and the remainder in the third row and for 2010 I got 11111011010 but I cant find the next two numbers please help and please explain in detail.  Thank you =)   to express 2010 in base 2, we use exactly 8 ones and 3 zeros. find the next two integers in base 2 that use the same number of ones and zeros Windows 8.1 Keeps Turning Off Automatic Updates My OS keeps turning off automatic Windows updates without even logging off or restarting the computer.  Action center icon in the task bar warns me about choosing an option for Windows update as if I haven't chosen countless times already.  It started to get really annoying to keep choosing a Windows update option 5 - 10 times a day.   I really appreciate any help you can provide on this matter.  Things I have tried so far;   I have tried  suggested by . Unfortunately didn't help my case Tried following commands; reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 0 /f  and then sc config wuauserv start= auto as suggested . Googling. Tried few suggestions which didn't help my case. Differential equation for Harmonic Motion Particle undergoes simple harmonic motion.  Initially Its displacement is $1$, velocity $1$ and acceleration is $-12$   Compute displacement and acceleration when the velocity is square root of $8$.  I am not familiar with this kind of application question.  So, its displacement is $1$, does that mean that $y=1$ when $x=0$ ? $f$ holomorphic on $D\setminus \{0\}$ and takes no values in $(-\infty,0],$ then $0$ removable If $f$ is holomorphic on $D\setminus \{0\}$ and takes no values in $(-\infty,0]$ then $0$ is a removable singularity.   I thought to prove this by elimination, but I can't really tell anything about the behavior of $f$ around $0$. How can one translate the information about the definition of $f$ in semi-open interval $(-\infty,0]$. I have a bibliography in which a particular author wrote two papers in the same year. Bibtex is sorting them alphabetically by title, but I want them listed chronologically. (So in the example below 'universal grammar' should precede 'English as a formal language'.) What's the appropriate way to flip the order?  MWE:  \documentclass{article} \usepackage{natbib} \begin{document}  ... formal semantics in the  Montagovian tradition \citep{montague1970aug,montague1970befl,montague1973ptq}.   \bibliographystyle{harvard} \bibliography{test} \end{document}   This generates the text 'formal semantics in the Montagovian tradition (Montague, 1970b,a, 1973)' whereas I actually want '1970a,b,1973'.  test.bib file for MWE:  @incollection{montague1973ptq,   title={The proper treatment of quantification in ordinary {English}},   author={Montague, Richard},   booktitle={Approaches to natural language},   editor={Hintikka, K. Jaakko J. and Moravcsik, Julius M.E. and Suppes, Patrick},   pages={221--242},   year={1973},   publisher={Dordrecht} }  @article{montague1970aug,   title={Universal grammar},   author={Montague, Richard},   journal={Theoria},   volume={36},   number={3},   pages={373--398},   year={1970},   publisher={Blackwell Synergy} }  @incollection{montague1970befl,   title={English as a formal language},   author={Montague, Richard},   booktitle={Linguaggi nella Societa e nella Tecnica},   editor={Visentini, Bruno and others},   publisher={Edizioni di Comunità},   pages={189--224},   year={1970} } Removing trailing newline character from fgets() input TinyMCE disable escaping Maximum sum sublist? 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. Expectation and variance of the geometric distribution How can one use memorylessness and the  and the  to find the expectation and variance of the geometric distribution?  I will post my own answer, but as always, that shouldn't stop anyone else from posting theirs. This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance.  EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this. Anthology series with suspended animation and a galaxy-wide empire? Is temperature in vacuum zero? From      The temperature of an ideal monatomic gas is a measure of the average kinetic energy of its atoms.    Now if I remove all the particles from the box shown below will the temperature be zero? Find the Values of $p$ and $q$ such that $\int_0^{\infty} x^p\ln(1+x)^q dx$ Converges or Diverges. The question is to find the value values of $p$ and $q$ such that the improper integral converges or diverges.  My friend indeed found some values of $p$ and $q$ such that it converges, but after many trials, I am still getting divergent for all values.  Via L'Hospital, we have the following:  $$\lim_{x \to 0} x^c\ln(1+x)^q = \infty \space \text{when} \space  c &lt; 0$$ $$\lim_{x \to 0} x^c\ln(1+x)^q = 0 \space \text{when} \space  c &gt; 0$$ $$\lim_{x \to \infty} x^c\ln(1+x)^q = \infty \space \text{when} \space  c &gt; 0$$ $$\lim_{x \to \infty} x^c\ln(1+x)^q = 0 \space \text{when} \space  c &lt; 0$$  Thus, $$\int_1^{\infty} x^p\ln(1+x)^q dx = \int_1^{\infty} x^{p-c}x^c\ln(1+x)^q dx &gt; \int_1^{\infty} x^{p-c} dx$$ which diverges when $p &gt; -1$.  Here, we set $c = \frac{1}{2}(p+1) &gt; 0$.  On the other hand, $$\int_0^1 x^p\ln(1+x)^q dx = \int_0^1 x^{p-c}x^c\ln(1+x)^q dx &gt; \int_0^1 x^{p-c} dx$$ which diverges when $p &lt; -1$.  Here, we set $c = \frac{1}{2}(p+1) &lt; 0$.  Thus, the integral diverges whenever $p \ne –1$.  Then, let $p = -1$.  $$\int_0^{\infty} \frac{1}{x}\ln(1+x)^q dx = \int_0^1 \frac{1}{x}\ln(1+x)^q dx + \int_1^{\infty} \frac{1}{x}\ln(1+x)^q dx $$ $$ \ge \int_0^1 \frac{1}{x+1}\ln(1+x)^q dx + \int_1^{\infty} \frac{1}{x+1}\ln(1+x)^q dx $$  The first summand diverges when $q &lt; -1$ and the second diverges when $q &gt; -1$.  Finally, let $ p = -1$ and $q = -1$.  The integral $\int_0^{\infty} \frac{1}{x\ln(1+x)} dx ≥ \int_0^{\infty} \frac{1}{(x+1)\ln(1+x)} dx$ diverges on both ends.  Did I make a mistake? Is gravitational time dilation different from other forms of time dilation? Is gravitational time dilation caused by gravity, or is it an effect of the inertial force caused by gravity?    Is gravitational time dilation fundamentally different from time dilation due to acceleration, are they the same but examples of different configurations?    Could you recreate the same kind of time dilation without gravity using centrifugal force?