Downloading Ubuntu, Removing wrecked OS and Windows 10
How do I install Ubuntu?
How to make clickable links and cross-references in pdfs produced by LaTeX? How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents. Expected value of the number of flips until the first head Suppose we flip a coin until we see a head. What is the expected value of the number of flips we will take?  I am pretty new to expected value, so I tried to evaluate it by multiplying the probability of each scenario with the number of flips it took to get there (like taking the arithmetic mean). This didn't work though, because of the infinite possibilities. I'm really confused, and if someone were to provide an answer, I would really appreciate it if they could go into detail. How to calculate the signal-to-noise ratio (SNR) in an image? I am working with an image X, I apply the "adaptive median filter" in it and I get the image Y. I'd like to measure the SNR in both in order to evaluate the quantity of noise deleted.   I know the formula to calculate the SNR is:   SNR = Psignal / Pnoise  but I don't know how to get these values from both images I have. I was thinking in substract the image X from Y and get the noise value. But I am not sure about the method. This question is similar, but not identical to:   Whereas the aforementioned question is about whether the hand’s movement is measured from the hand’s point of view or from the caster’s, this question revolves around the total distance the hand can travel to reach its destination.  To illustrate, let me give an example: Two narrow stone pillars stand next to each other, 10 feet apart. They are several kilometers high and on top of each pillar stands a wizard. One wizard casts Maximillian's Earthen Grasp and lets the hand made from compacted soil rise from the ground on his own pillar. With another action, he wants to move the hand in order to restrain the other wizard, who is within range of 30 feet.  Would the hand retract into his own pillar, then rise again from the ground on the other pillar? Or would the hand move several kilometers down the first pillar, across the floor, then several kilometers up the second pillar? What if both pillars would float in the Astral Plane, without a direct ground-based connection between them?  This might seem like a stupid and unnecessary convoluted question, but lo and behold, something similar happened in one of my games. unblock slime presta valve My Son's bike has slime inner tubes.  The bike has been sitting in the garage since last summer and the front tyres valve now seems blocked.  Its has what feels like 15-20 psi in it but I can not get the valve to let any air out or take any more in.  I have no idea at this point how to get it to unblock the valve so I can use it again.  For that matter I don't know how I could get the tire off as it has a reasonable (not ridable) amount of air in it without slashing the tyres (nice kings 2.2 which are pretty new).  I have tried putting the pump on it and putting a bit of air into it to try and clear the blockage but that didn't do anything.  Any ideas please? What is the command line way of sending files to the recycle bin? Is there a command line program that can send files to the recycle bin? This is on XP and Vista. Why $\gcd(qb+r,b)=\gcd(b,r)$? Given: $a = qb + r$. Then it holds that $\gcd(a,b)=\gcd(b,r)$. That doesn't sound logical to me. Why is this so?    Addendum by LePressentiment on 11/29/2013: (in the interest of  and averting a duplicate)  What's the intuition behind this result? I only recognise the proof and examples solely due to algebraic properties and formal definitions; I'd like to apprehend the result naturally. Custom entity datetime field in calendar Diminishing returns / non-linear reputation from “great” answers Over time I realized a very annoying property of the Stack Overflow reputation system: Easy answers to popular question are rewarded with a lot more reputation points than actually great answers. In case anybody actually needs examples for this, here are two examples from :   gained me 420 rep, I invested 2 minutes writing it, and it only was a wild guess.   took me about an hour for the research and the math and gained me 40 rep.  Now I know that you are bound to get more rep for answers that are useful to more people, and I'd say that's fine. But the current situation is quite extreme: 30% of my reputation is from 5 of my 330 answers, and they are definitely far from being my best ones.  A final example that is not from my profile, but more extreme: Do you really think  is worth 40000 reputation?  My proposition to improve that situation would be to make the reputation gain from a single answer non-linear, maybe even have it capped at a certain point. I'm not sure on how that non-linear function should look exactly, and would leave good proposals for that to users with more experience than me. Start Ubuntu Unity With Dash Open This morning I read this sentence (see ):     On July 24th and again on July 29th,   Egyptian police did shoot dead unarmed   African migrants attempting to cross   that border.   Why "did shoot" and not "shot"? I want to combine two ffmpeg commands to a single command. I am using ready made ffmpeg binary in my Android application. I want to concat .ts files and overlay an image.  I am using following commands:   To concat .ts files:  String[] ffmpegcommand = {"ffmpeg", "-i","concat:"+input_file_path+"|"+input_file_path1, "-c", "copy", "-bsf:a", "aac_adtstoasc", output_file_path};  Apply image overlay effect:  String[] ffmpegcommand = {"ffmpeg","-y" ,"-i", input_file_path,"-strict","experimental", "-vf","movie="+AppStaticData.BASE_FOLDER_PATH + File.separator + "watermarklogo.png"+" [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]", AppStaticData.BASE_FOLDER_PATH+"/" + output_file_path}; When I create a form using the form API, the resulting html includes all sorts of unwanted divs. For example, if I use:  $form = array(     'myFieldset' =&gt; array(         '#type' =&gt; 'fieldset'     ) );   The resulting html looks like this:   &lt;form action="/drupal-7.15/?q=chercheur" method="post" id="form-chercheur" accept-charset="UTF-8"&gt;     &lt;div&gt;         &lt;fieldset class="form-wrapper" id="edit-myfieldset"&gt;             &lt;div class="fieldset-wrapper"&gt;             &lt;/div&gt;         &lt;/fieldset&gt;         &lt;input type="hidden" name="form_build_id" value="form-87Dv5ezVpaLI5mD345ofMkLgPhsv_dawudUp73ePQTc" /&gt;         &lt;input type="hidden" name="form_token" value="sXXINWr7rmParm0tRJoEb6QKGIH_QH-ffRSOtnvxYY0" /&gt;         &lt;input type="hidden" name="form_id" value="form_Chercheur" /&gt;     &lt;/div&gt; &lt;/form&gt;   As you can see, two extraneous divs are added here. They are making the javascript I'm writing uselessly complicated, so I was wondering if there was a way to remove the extraneous divs. Ideally, I would like to obtain something like this:  &lt;form action="/drupal-7.15/?q=chercheur" method="post" id="form-chercheur" accept-charset="UTF-8"&gt;     &lt;fieldset class="form-wrapper" id="edit-myfieldset"&gt;     &lt;/fieldset&gt;     &lt;input type="hidden" name="form_build_id" value="form-87Dv5ezVpaLI5mD345ofMkLgPhsv_dawudUp73ePQTc" /&gt;     &lt;input type="hidden" name="form_token" value="sXXINWr7rmParm0tRJoEb6QKGIH_QH-ffRSOtnvxYY0" /&gt;     &lt;input type="hidden" name="form_id" value="form_Chercheur" /&gt; &lt;/form&gt;   Is this possible? Blender 2.8 : python code to switch shading mode (between wireframe and solid mode) If i switch between solid and wireframe mode, i can see in the info window that these commands are invoked :  bpy.data.screens["Layout"].shading.type = 'WIREFRAME' bpy.data.screens["Layout"].shading.type = 'SOLID'   Now i want to execute this command using python console. So i cut and paste the codes into python console but i got this error :   &gt;&gt;&gt; bpy.data.screens["Layout"].shading.type = 'WIREFRAME' Traceback (most recent call last):   File "&lt;blender_console&gt;", line 1, in &lt;module&gt; AttributeError: 'Screen' object has no attribute 'shading'  &gt;&gt;&gt; bpy.data.screens["Layout"].shading.type = 'SOLID' Traceback (most recent call last):   File "&lt;blender_console&gt;", line 1, in &lt;module&gt; AttributeError: 'Screen' object has no attribute 'shading'   Does anyone know why ? and what the correct script should i use in python console ?  Thanks for working with MS word files in python, there is python win32 extensions, which can be used in windows. How do I do the same in linux? Is there any library? I'm considering buying the MacBook Pro (Late 2016) with Touch Bar. As I'm a programmer and a Ubuntu user, could anyone tell me if the Touch Bar is compatible with Ubuntu? How to Store Fresh Herbs What is the best way to store fresh herbs like parsley or cilantro?  I find I have about the same luck with them whether they are left in a plastic bag or I put them in a cup of water. Low rep users should be able to fix broken links At present a low rep user (under 2k) can only make an edit suggestion of more than 6 chars, however when someone has taken the time to find to correct link it is a real shame the correction can help other users!  So I think link fixing should be special cased somehow.  (Also the checkering of a changed link need to be better than other edits, so a page that showed what both the old a new links point to (in frames) could help with the approving processes.) What is the difference of closing for duplicate and flagging for duplicate? When I encounter a duplicate, I have two choices: Vote closing because it is a duplicate, or flag it as a duplicate. What is the difference and should I do both? Redefining nodata value into zero in QGIS I have an image which I clipped with an AOI polygon. The contour area was set to pixel value = 0 and I have a nodata value of -32768. I want to redefine the nodata value into zero. I used to do this with ArcMap easily in the raster calculator, but in QGIS I don't see how I could do it. Any ideas?