I've deleted the wrong partition of my disk where is my ubuntu, and I have important files there, is there any way to recovery them?
I normally dual-boot with 12.04 and Win XP pro sp3 on a Thinkpad R60.  I needed to reinstall windows because of problems piling up, so I ran the computer's built-in hard-disk recovery software.  I told it not to mess with the other partitions, but somehow it deleted the Linux partition.  That's what I was using to backup all of my windows files, so now everything I have is gone.  I just ran the USB setup with linux, and the partition is deleted - it just shows it as empty space.    Is there ANY way to get all of my files back?
Get next / previous element using JavaScript? What is the difference between data mining, statistics, machine learning and AI?  Would it be accurate to say that they are 4 fields attempting to solve very similar problems but with different approaches? What exactly do they have in common and where do they differ? If there is some kind of hierarchy between them, what would it be?  Similar questions have been asked previously but I still don't get it: How to replace a string on the 5th line of multiple text files? I want to replace the 5th line of multiple text files (file1.txt,file2.txt,file3.txt,file4.txt) with the string " Good Morning " using a single terminal command.  All the text files are located on my ~/Desktop.  Note: My desktop consists of 6 .txt files.I want to apply the change to above mentioned 4 text files only. Let $a,b,c $ are non-negative real numbers, and $a+b+c=3$.  How to prove inequality $$ ab^2+bc^2+ca^2\le 4.\tag{*} $$    In other words, if $a,b,c$ are non-negative real numbers, then how to prove inequality $$ 27(ab^2+bc^2+ca^2)\le 4(a+b+c)^3.\tag {**} $$ $\color{gray}{\mbox{(Without using "universal" Lagrange multipliers method).}}$  Thanks! Using something like this:  try:    # Something... except Exception as excep:    logger = logging.getLogger("component")    logger.warning("something raised an exception: " + excep)    logger.info("something raised an exception: " + excep)   I would rather not have it on the error-level cause in my special case it is not an error. What is the difference between Python's list methods append and extend? What's the difference between the list methods append() and extend()? Get referenced node fields in twig In Drupal 8, I have a content type, that has an "entity_reference" field and I wish to access the referenced node's fields in twig template. the kint() output for the field is:   In this list I can't find the referenced node's field values. How can I (if at all possible) load the node or node fields/values in twig?  Best,  Alari Why would using higher ISO and faster shutter speed yield more noise than using lower ISO and slower shutter speed? How is Faulhaber's formula derived? I have been wanting to understand how to find the sum of this series.   $$1^p + 2^p + 3^p +{\dots} + n^p$$  I am familiar with Gauss' diagonalised adding trick for the sum of the first $n$ natural numbers.  I can prove the formulas for  $$\begin{align}   \sum_{1}^{n} k^2 &amp;= \frac{n(n+1)(2n+1)}{6}\\  \sum_{1}^{n} k^3 &amp;= \frac{n^2(n+1)^2}{4}\\ \sum_{1}^{n} k^4 &amp;= \frac{n(n+1)(2n+1)(3n^2+3n-1)}{30} \\ \end{align}$$  With mathematical induction. But, beyond that even proofs with mathematical induction are difficult.  I'm interested in learning the theory and the proof behind Faulhaber's formula. What is the knowledge required to understand this proof ? Whenever I'm running or playing a game, I consistently run into an issue of setting atmosphere. I've realized the best way to do this is through more effective, engaging descriptions of settings, actions, and objects that the characters see and feel.  As a player, I feel that my actions are generally "I attack the goblin," or some variation thereof, but I'm afraid that I'll stumble over my words and further confuse the other players and I'll resort to "I attack the goblin" as to not drag the game out longer.  As a DM, my issue tends to be more with setting atmosphere with settings, locations, and objects. Effectively, the flavor texts that comes with walking into some amazing location that the characters (not necessarily the players) should be suitably impressed by. My goal here is to engage the players with some degree of spectacle, and be more inquisitive in their environment and whatever lies within it.  How can I create more descriptive, concise flavor text for the games I play in? I have Ubuntu 13.1 installed with the default window manager and DE.   I am trying to enable single click so I can open files and folders with only one click. I tried googling and all results said to open files, then go to preferences from top bar but my top bar has no options.  picture of desktop: I would like to use multiple .bib files for my article, such as file1.bib, file2.bib. However, I would like my references not to be separated (such as &quot;Primary sources&quot;, &quot;Secondary sources&quot;, etc.). These bibliographies just need to be merged into one. One way to do this is to copy-paste these .bib files into one .bib file, and this would solve the problem. However, I would like to keep it split into several .bib files, by topic (file1.bib contains articles on topic1, file2.bib contains articles on topic2, and so on). I tried to do \bibliographystyle{alpha}  \bibliography{file1} \bibliography{file2}  but this just gives me the same bibliography twice! I've discovered a rather weird behaviour of PdfLaTeX. In this example  \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} \url{http://www.emarketer.com/blog/index.php/quick-stat-smartphone-users-account-38-mobile-phone-users/} \end{document}   PdfLaTeX won't break the URL and create a too long line. However, if I replace \url with \href like this:  \documentclass{article} \usepackage{hyperref} \begin{document} \href{http://www.emarketer.com/blog/index.php/quick-stat-smartphone-users-account-38-mobile-phone-users/}{http://www.emarketer.com/blog/index.php/quick-stat-smartphone-users-account-38-mobile-phone-users/} \end{document}   I get the line broken, but the font of the link is not right any more of course (normal instead of texttt). Why doesn't URL break the line at dashes and what could I do to get a nicely typeset line-broken link? Changing parameter values according to other parameter choice in Processing script using QGIS 3? I couldn't find anything about this problem.  Suppose to have the first parameters in a Processing script defined as an Enum:     self.addParameter(         QgsProcessingParameterEnum(             self.CHOICE,             self.tr('Choose the parameter'),             ['param1', 'param2']         ) )   While the second one as a number:  self.addParameter(     QgsProcessingParameterNumber(         name=self.VALUE,         description=self.tr('My value'),         type=QgsProcessingParameterNumber.Double,         defaultValue=40,         optional=False,         minValue=0,         maxValue=100     ) )   Is it possible to change the minValue, maxValue, description, ecc.. of the second parameter depending on the first or second choice of the first parameter already in the GUI?  e.g. if the user choose param1 then the second parameter should become:  self.addParameter(     QgsProcessingParameterNumber(         name=self.VALUE,         description=self.tr('My value'),         type=QgsProcessingParameterNumber.Double,         defaultValue=40,         optional=False,         minValue=0,         maxValue=100     ) )   while if he choose param2 it should became:  self.addParameter(     QgsProcessingParameterNumber(         name=self.VALUE,         description=self.tr('My AWESOME value'),         type=QgsProcessingParameterNumber.Double,         defaultValue=0,         optional=False,         minValue=50,         maxValue=500     ) ) Whether and how to thank a girlfriend or boyfriend in the acknowledgements of thesis? How is it received by the academia if someone thanks to his/her girlfriend/boyfriend in the acknowledgements of the thesis?  I have seen writers including his/her fiancee in the acknowledgements, however I don't know if including an informal relationship in the thesis will be received well.  If it is acceptable, how should I refer to my girlfriend? Show that the series $\sum\limits_{n=2}^{\infty} \frac {(n^3+1)^{1/3}-n}{\log n}$ converges Why do the directories /home, /usr, /var, etc. all have the same inode number (2)? Can you wait to add optional damage dice that apply on a hit (such as Divine Smite) until after seeing if the roll is a critical? Show by a counterexample that for a family $(X_i)_{i\in I}$ of random variables the independence of all pairs $(X_i,X_j)$ with $i,j\in I, i\neq j$ does not imply the independence of the family (It is enough to consider $\mbox{card}(I)=3$.).      Hello, I am searching for a simple example. The professor gave the hint that one might consider random variables which only can take two different values, but I do not know exactly what is meant.  By the way:  We call the family $(X_i)_{i\in I}$ of random variables independent, if $(\sigma(X_i))_{i\in I}$ is independent, whereat we call a family $(\mathcal{E}_i)_{i\in I}$ with $\mathcal{E}_i\subset\mathcal{A}$ independent, if for any finite subset $I_0\subset I$ and any choice $E_i\in\mathcal{E}_i, i\in I_0$, it is $$ \mathbb{P}(\bigcap_{i\in I_0}E_i)=\prod_{i\in I_0}\mathbb{P}(E_i). $$ Although Ubuntu 16.04 release notes mention that:  The default VIM package has been built against python3 instead of python2.  Yet after I installed vim with the following command:  sudo apt-get install vim   And checked:  vim --version   It showed:  -python -python3   Is it a bug? How do I get vim with Python support?