Two old gamblers alternate at rolling a fair 6-sided die until the first 6 comes up. Compute the probability of the first player winning.
Alternate moves, first one to roll a 6 wins: what's the probability of winning?
If $\int_0^x f \ dm$ is zero everywhere then $f$ is zero almost everywhere I have been thinking on and off about a problem for some time now. It is inspired by an exam problem which I solved but I wanted to find an alternative solution. The object was to prove that some sequence of functions converges weakly to zero in $L^2$.   I managed to show (with some help) that the limit $f$ (of a subsequence) satisfies $\int_0^x f \ dm=0$ for all $x&gt;0 $. From this I want to conclude that $f=0$ a.e. I can do this with the fundamental theorem of calculus in its Lebesgue version but there ought to be a more elementary proof.  Can someone here help me out? How to change the name of a thread How can I display site logo, name and slogan? how can i show site logo, name and slogan Separately in custom area in my site theme, I now use this code to display theme, buts this code don't allow me to edit each of them Separately.  {{ page.header }} Does using the Console Commands negatively affect me? I'm wondering in case I get stuck in an area that I'm unable to get out of or if I clip into a wall and I suddenly can't move. I've had to disable clipping to get out of certain areas in Skyrim before but I want to make sure that things like my achievements and stuff won't shut out on my playthrough.  If I enable something, spawn an item that didn't spawn for me, or just basically use the console command to fix any bugs, what will happen achievement and game-wise? Rerouting stdin and stdout from C Apply SP3 on SQL Server 2012 AlwaysOn AAGs I am trying to copy specific attribute table rows from one shapefile to a new shapefile that will contain only the specified rows in its attribute table, that is, if a field GDP_TOP10 = 1.   I am using this at the moment:  #Grab rows using Search Cursor with WHERE clause rows = arcpy.SearchCursor("C:/CGDP.shp", "GDP_TOP10 = 1") for row in rows:     arcpy.CopyFeatures_management("CGDP.shp", "New.shp") del row del rows   However, this just copies the entire shapefile, not the rows I want to select with the cursor. If I execute a print statement under my for loop instead, it works and prints only the relevant fields, but the copy to new shapefile command does not seem to copy specifically.   Is there a different ArcPy command to only copy rows that match a query? Invoking JavaScript code in an iframe from the parent page The question is, what elements on a DM screen are essential? I'm new at playing and DMing, altough a lot of experience watching games, just got a group to play with now. Started with the starter set in 5E and the Lost Mine of Phandelver adventure, however I've noticed the game can come to a stop when checking the rules or how to do something, while getting the books and stuff like that. So I thought to make a DM screen with some cheat sheets, of the most usual things new players, and new DM's have doubts on, and how to make the game flow well without long rule-checking breaks. What are the essential things to have on that screen? So far this is what I found  but not sure if it has all I need or so much stuff that'll also make the game stop a lot while cheking it out. It's driving me nuts! I just want to transfer one simple file from laptop to server.  I'm using ubuntu on both machines.  So I have:  -rwxr-xr-x 1 sandro    414622 2011-10-14 23:42 sandrophoto-html.tar.gz   And I'm sending it using:  sudo scp -P XXXX sandrophoto-html.tar.gz usern@server.local:/media/xx/xx/xx   And I get: scp: /media/xx/xx/xx/sandrophoto-html.tar.gz: Permission denied  p.s. I might be doing this other way around - I want to send file tar.gz that is located on my desktop, to remote server into the folder /media/yadayda Adding coordinate system to layout in QGIS composer? I would like to know if there is a way to add a dynamic coordinate system field into a QGIS composer layout.  I can use an expression to add many items such as document name, file path, etc but I can;t seem to figure out how to add the coordinate system? On , this is my tag blacklist:        Note well that I have them set to hidden, because I would prefer not to see questions on this topic. Bridge players, don't take offence &mdash; I don't have problem with the game itself. I don't understand the game's mechanics, though, so I find questions about it incomprehensible, and I'd rather stick to just seeing questions I can understand.  I still see [bridge] questions galore on the Android app though. Could it be updated to pay attention to whether I have certain tags ignored and set to be hidden? How much web can Spider-Man produce? Especially if he is not using his  but .   Also what happens to the web that he leaves behind? Does it decay after certain time or lose it stickiness and drops off? Do the beacon lighters really live on top of the mountains? Following this image I found online:    Do the beacon lighters really live on top of the mountains?  It seems really cold on top of some of these mountains and there are no villages or whatsoever. Possible Duplicate:           My name is Greg — this is Greg 's post.  If my name ended with an 's', I am aware of the proper apostrophe usage (James&nbsp;→ James'), but how should this be pronounced?  Phonetically, am I Jameses best friend or James best friend? Scale-dependent displaying of a layer using OpenLayers plugin? When I am creating a layer in QGIS the layer position/lines does not stay the same when I zoom in closer than, it seems like 1: 1000. I am adding 2 images to explain the problem. The moment I zoom in closer than 1: 1 000 then the original layer does not display correctly anymore.  Please, can you assist in this matter? Starters on Stack Overflow tend to lose interest as soon as their first question starts getting downvotes. Their first question also sometimes gets closed because it was either not framed properly or it missed some very common things.  There should be way to cope with this for instance give some starter bonuses to new users. Access .mat file containing matlab classes in python HBONOW on Ubuntu 16.04LTS I am trying to watch HBONow on Ubuntu 16.04LTS on Chrome browser. It is showing the certification video (i.e. PG-13, TV-MA) and then when it tries to load content it's never shows up.  My windows browser is able to load it successfully. What could be the possible solutions? In my experimentation, I've used only BJTs as switches (for turning on and off things like LEDs and such) for my MCU outputs. I've been repeatedly told, however, that N-channel enhancement-mode MOSFETs are a better choice for switches (see  and , for examples), but I'm not sure I understand why. I do know that a MOSFET wastes no current on the gate, where a BJT's base does, but this is not an issue for me, as I'm not running on batteries. A MOSFET also requires no resistor in series with the gate, but generally DOES require a pull-down resistor so the gate doesn't float when the MCU is rebooted (right?). No reduction in parts count, then. There doesn't seem to be a great surplus of logic-level MOSFETs that can switch the current that cheap BJTs can (~600-800mA for a 2N2222, for example), and the ones that do exist (TN0702, for example) are hard to find and significantly more expensive. When is a MOSFET more appropriate than a BJT? Why am I continually being told that I should be using MOSFETs?