Will anything happen to Ubuntu if I uninstall Python from my Ubuntu machine?  I want to run minimal software in the OS.  OS installed: Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-131-generic x86_64)  Installed Python: 2.7.12-1~16.04 AND python3
I am a new Ubuntu user running Ubuntu 13.04.  I've been trying to install and use a DeDRM tool, but I've been having problems doing so. I was following some directions that said I needed a version of Python 2.7, but not anything Python 3.0 or later (because 3.0 versions are missing some necessary libraries?). I tried to install Python 2.7.5.6, but it didn't work. I thought it was probably because I had the later version of Python, so I went through terminal and removed Python 3.3, so I could install the earlier version of Python.  Now that I've uninstalled Python 3.3, a lot of applications no longer work, including the terminal and the Ubuntu Software Center. I have no idea how to fix this problem now.
How to remotely display my Android on my PC? There is a thing which is called miracast, it can mirror the display of the Android phone to another monitor, but my screen doesn't have this function, am I possible to do it in Ubuntu? How to write a while loop with the C preprocessor? No command 'bla' found, did you mean:? So, when a command is not found, by what means is the "did you mean:" list populated? What program finds these alternate commands?  What is the meaning of: "(main), (universe)..."? Can I change which program finds these? Is it worth buying a 5D Mark I or an EOS 1Ds II today? Print leading zeros with C++ output operator? Data from multiple lists using single REST API call How to create a folder in HOME Folder with ModelBuilder in ArcGis 10? I changed my username and now I cannot play online Age from Date of Birth using JQuery I need to calculate if someone is over 18 from their date of birth using JQuery.  var curr = new Date(); curr.setFullYear(curr.getFullYear() - 18);  var dob = Date.parse($(this).text());  if((curr-dob)&lt;0) {     $(this).text("Under 18"); } else {     $(this).text(" Over 18"); }   There must be some easier functions to use to compare dates rather than using the setFullYear and getFullYear methods.  Note: My actual reason for wanting to find a new method is length of the code. I have to fit this code into a database field that is limited to 250 chars. Changing the database is not something that can happen quickly or easily. I'm trying to get my csv table aligned to the left of my graph. The graph is appearing below (and indented) the table. Any ideas?  \begin{minipage}{0.5\textwidth} \pgfplotstabletypeset[col sep=comma, columns/distance/.style={column name={Col1}, column type={|c|}}, columns/loss/.style={column name = {Col2},column type={c|}}, every head row/.style={before row=\hline}, after row={\hline} ]{graph-data/data.csv} \end{minipage}  \begin{minipage}{0.5\textwidth} \begin{tikzpicture} \begin{axis}[ xlabel = Distance ($m$), ylabel = Loss ($dB$)] \addplot table [col sep=comma]{graph-data/data.csv}; \end{axis} \end{tikzpicture} \end{minipage} Illustrator CS5 brick pattern with perspective I created a curving arrow shape that starts wide at the bottom and thins out near the top where the point is. I also created a brick pattern swatch but when I apply it to the shape it appears like the pattern is overlaid instead of like a real road where the bricks follow the shape and narrows near the most distant point. How can I apply a perspective to the brick pattern without looking like I used a clipping mask?  Here is a link to what I achieved with a clipping mask - not what I want though. I need the bricks to look like they are inlaid just like in real life. When writing large numbers, should a comma be inserted? I know that it is common to write the number 'ten thousand' as a numeral with a comma delimiting the 10 and the 000 like so: 10, 000  However, I have never seen a comma used for numbers less than 10,000, such as 8000 where, I assume using a comma would look like: 8,000.  Are there any rules relating to when a comma should be inserted into a numeral?  N.b. I live in the UK, so answers pertaining to UK English are preferred. I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it.  This only happens on this world. How do I fix it?  If I know I'm in the correct game mode, what else can cause this?  Are there different causes in multiplayer? I have a trained logistic regression model that I am applying to a testing data set. The dependent variable is binary (boolean). For each sample in the testing data set, I apply the logistic regression model to generates a % probability that the dependent variable will be true. Then I record whether the acutal value was true or false. I'm trying to calculate an $R^2$ or Adjusted $R^2$ figure as in a linear regression model.  This gives me a record for each sample in the testing set like:  prob_value_is_true         acutal_value    .34                          0    .45                          1    .11                          0    .84                          0     ....                        ....             I am wondering how to test the accuracy of the model. My first attempt was to use a contingency table and say "if prob_value_is_true > 0.80, guess that the actual value is true" and then measure the ratio of correct to incorrect classifications. But I don't like that, because it feels more like I'm just evaluating the 0.80 as a boundary, not the accuracy of the model as a whole and at all prob_value_is_true values.  Then I tried to just look at each prob_value_is_true discrete value, as an example, looking at all samples where prob_value_is_true=0.34 and measuring the % of those samples where the acutal value is true (in this case, perfect accuracy would be if the % of samples that was true = 34%). I might create a model accuracy score by summing the difference at each discrete value of prob_value_is_true. But sample sizes are a huge concern here, especially for the extremes (nearing 0% or 100%), such that the averages of the acutal values are not accurate, so using them to measure the model accuracy doesn't seem right.  I even tried creating huge ranges to ensure sufficient sample sizes (0-.25, .25-.50, .50-.75, .75-1.0), but how to measure "goodness" of that % of actual value stumps me. Say all samples where prob_value_is_true is between 0.25 and 0.50 have an average acutal_value of 0.45. Is that good since its in the range? Bad since its not near 37.5% (the center of the range)?  So I'm stuck at what seems like should be an easy question, and hoping someone can point me to a resource or method to calculate an accuracy stastic for a logistic regression model. Can a negative charge ionize air? Adding to this question, I have studied that positive charge ionizes air but never studied that negative charge ionize air. If possible, please explain how does it ionize air? I'm facing this frustrating "feature" that I can't seem to remedy; when I duplicate an object (and now, even when I create two completely new objects), their transformations/scaling is synchronized. This is extremely annoying when trying to use any sort of transformation keyboard shortcut.  It should be noted by going to the properties menu (N) and manually setting the properties works just fine.  For instance, here is just the camera selected (trust me, I made sure):   And when I try to transform by clicking+dragging on the X axis OR by hitting G->X, this happens:   They are not grouped (verified by going to the Groups list up in the Scene panel) and they do not have parents (verified by going to Object->Relations).  I have tried the unlink command as well, to no avail.  I have seriously run out of options; what did I change to have my G->X shortcuts transform multiple objects? It seems completely at random, too; certain objects seemed to be "linked" to other random objects, and this "linking" is guaranteed when duplicating even when I do a non-linking duplicate (Shift+D).  What gives? How to convert numbers between hexadecimal and decimal We are currently developing a site that currently has 8 million unique pages that will grow to about 20 million right away, and eventually to about 50 million or more.  Before you criticize... Yes, it provides unique, useful content. We continually process raw data from public records and by doing some data scrubbing, entity rollups, and relationship mapping, we've been able to generate quality content, developing a site that's quite useful and also unique, in part due to the breadth of the data.  It's PR is 0 (new domain, no links), and we're getting spidered at a rate of about 500 pages per day, putting us at about 30,000 pages indexed thus far. At this rate, it would take over 400 years to index all of our data.  I have two questions:   Is the rate of the indexing directly correlated to PR, and by that I mean is it correlated enough that by purchasing an old domain with good PR will get us to a workable indexing rate (in the neighborhood of 100,000 pages per day). Are there any SEO consultants who specialize in aiding the indexing process itself. We're otherwise doing very well with SEO, on-page especially, besides, the competition for our "long-tail" keyword phrases is pretty low, so our success hinges mostly on the number of pages indexed.   Our main competitor has achieved approx 20MM pages indexed in just over one year's time, along with an Alexa 2000-ish ranking.  Noteworthy qualities we have in place:   page download speed is pretty good (250-500 ms) no errors (no 404 or 500 errors when getting spidered) we use Google webmaster tools and login daily friendly URLs in place I'm afraid to submit sitemaps. Some SEO community postings suggest a new site with millions of pages and no PR is suspicious. There is a , too, in order to avoid increased scrutiny (at approx 2:30 in the video).      Clickable site links deliver all pages, no more than four pages deep and typically no more than 250(-ish) internal links on a page. Anchor text for internal links is logical and adds relevance hierarchically to the data on the detail pages. We had previously set the crawl rate to the highest on webmaster tools (only about a page every two seconds, max). I recently turned it back to "let Google decide" which is what is advised. A matrix and its transpose have the same set of eigenvalues/other version: $A$ and $A^T$ have the same spectrum Let $ \sigma(A)$ be the set of all eigenvalues of $A$. Show that $ \sigma(A) = \sigma\left(A^T\right)$ where $A^T$ is the transpose matrix of $A$. Nested Virtualization What I do: I want to write a kernel module that does stuff to the KVM data structures. But I don't want to run it on the real machine, so I run one guest, inside it I run another two guests, and want to test my module.  The problem: VirtualBox (which now runs the outer guest), doesn't support nested virtualization, and when I cat /proc/cpuinfo | grep vmx I get no output.  What can I use that has nested virtualization?  You may look at my  to get an idea of what I want to do.