Could alias python=python3 in my bashrc cause problems?
How to make 'python' program command execute Python 3?
You are here, but where's here? I find the .youarehere a styling for the main navigation links causes the text to be a little difficult to read on the also-blue header background. Could we give it a little bit of background colour or something else that would provide more contrast?  For example:    which is the product of the following CSS*:  .nav ul li {     margin: -2px 10px 0 0;     padding: 5px; }  .nav ul li.youarehere {     background-color: rgba(0, 80, 112, 0.25);     border-radius: 5px; }  .nav ul li.youarehere a {     color: #A1E9FF; }   *For bonus points, also reduce the line height for the codeblocks! How do you pull first 100 characters of a string in PHP I am looking for a way to pull the first 100 characters from a string variable to put in another variable for printing.    Is there a function that can do this easily?  For example:  $string1 = "I am looking for a way to pull the first 100 characters from a string variable to put in another variable for printing."; $string2 = 100charfunction($string1); print $string2   To get:  I am looking for a way to pull the first 100 characters from a string vari Introduction to string theory I'm not too sure how to describe the effect that I'm going for or what it is even called.  Thus, I'm having some trouble finding any help through Google.    I want to accomplish something like this "SLOPED" text below, but have the bottoms of the letters follow the slope as well instead of being horizontal.    I have tried using the free transform tool, skewing, and using perspective, but I don't like the effect they are resulting in.  All of the tools that I just mentioned result in the appearance of the word being angled away from the viewer (perspective).  I want more of this style effect, whereas the letters are not skewed horizontally, but scaled evenly along a path that I lay out.  What is the name of this text effect?  Can anyone point me in the right direction to a tutorial or know how to accomplish this themselves?  I know that I could go through and do this letter by letter, but I was really hoping to find an easier method.  EDIT I have removed many elements of my design and quickly threw some sample text in it, but this should give you an idea of what I am trying to accomplish.  I want a mixture of the above and below effects. I am running Ubuntu 14.04.2 and I want to format my disk for another operating system (Windows 10).  My desire to do this stems from a recent problem I have been having with installing the new OS. I try to boot from a live DVD (which I have confirmed is working), but my computer does enter the Windows 10 installation setup.  So, I am hoping that completely wiping the disk will solve this issue. Ideally, I want to do this with my only resources being Ubuntu and an internet connection. I can't connect the hard drive to another computer, and it would be difficult for me to have to burn a disc for any reason.  Thank you. Hat duplicates when info is expanded When I turn 13 years old, will some of my Roblox account restrictions unlock automatically? What is the number of strings at size $n$ that is constructed from ${a,b,c,d}$ and there is an even num of $a$ What is the number of strings at size $n$ that is constructed from ${a,b,c,d}$ and there is an even num of $a$?  I have tried to answer it as recursion formula in the following logic:  In order to build $ A(n) $, I will split into several cases:   if the string starts with $a$, then I will need another $a$ to make an even number of $a's$. so we get $aa[A(n-2)]$ meaning 2 $a's$ at the start + a valid string at the size of $n-2$. if it starts with $b,c,d$ we get $b[A(n-1)]$ + $c[A(n-1)]$ +$d[A(n-1)]$, meaning a one of the letters + a valid string at the size of $n-1$.   So we will get a recursion formula that looks like that:  $A(n) = A(n-2) + 3A(n-1)$  I'm not 100% on my answer, am I right to approach it in that direction? How should we deal with duplicate answers? Duplicate questions are "solved" &#8212; it's clear what to do with them, there're tools to deal with them... but what happens when two users post the same answer? This happens a fair bit, particularly on questions with simple answers ("Click this button"-type ones).  Do we upvote both answers, since they are both correct? Do we upvote the first one (although if the answers were posted within a few minutes of each other, after an hour it's impossible to tell as they both show up as "answered 1 hour ago")? Do we upvote the currently highest voted one? Do we upvote one and downvote the other? Do we flag one (seems a little excessive)? Something else? I read that this is because the mean and variance completely specify a normal distribution. However, e.g. for a Poisson distribution the mean, variance and third moment can all be expressed with the same parameter lambda. Is this not what it means to 'completely specify' a distribution?  What is an example of two Poisson distributions having the same mean, variance and different higher moments? If we treated weak stationary as if it was strict stationarity, what would happen when we try to do time series analysis? Help me understand adjusted odds ratio in logistic regression I've been having a hard time trying to understand the use of logistic regression in a paper. The paper available  uses logistic regression to predict probability of complications during cataract surgery.   What is confusing me is that the paper presents a model that assigns odds ratio of 1 to baseline described as follows:     A patient whose risk profile was in the reference group for all risk indicators (ie adjusted OR=1.00 for all in Table 1) may be regarded as having a ‘baseline risk profile’, and the logistic regression model indicates a ‘baseline predicted probability’ for PCR or VL or both=0.736%.   So the probability of 0.00736 is presented with odds ratio of 1. Based on the transformation from probabilities to odds ratios: $o=\frac{p}{1-p}$, this can't be equal to 1:  $0.00741=\frac{0.00736}{1-0.00736}$.  It gets even more confusing. The composite odds ratios that represents multiple covariates having values different than the baseline is used to calculate predicted risk.      ...the composite OR from Table 1 would be 1.28 X 1.58 X 2.99 X 2.46 X   1.45 X 1.60 = 34.5, and from the graph in Figure 1, we see that this OR corresponds with a predicted probability of PCR or VL or both of around 20%   The only way to arrive at the values the paper is giving as examples is to multiply the baseline probability with composite odds like this: $0.2025=\frac{(34.50\ \times\ 0.00736)}{1\ +\ (34.50\ \times\ 0.00736)}$.  So what is going on here? What is the logic for assigning odds ratio 1 to a baseline probability that is not 0.5? The update formula I've came up with above comes up with the right probabilities for examples in the paper but this is not the direct multiplication of odds ratio I'd expect. What is it then? I know that taking the derivative of position with respect to time defines what we call velocity, but I've never heard of physicist going in the opposite direction with position. Is there any application for the integral of position with respect to time?  Maybe with respect to something else? Can I visit UK with Italian stay permit? I'm an Egyptian citizen, who holds Schengen visa and stay permit in Italy. Can I go to UK for some days with my stay permit and Schengen visa? Scenario:   Create SymLink: C:\Data\workspaces --&gt; C:\Users\****\Documents\workspaces Navigate to C:\Data\Workspaces in explorer Click and drag the the path from the address bar onto "Quick Access" in the navigation pane.   Expected Result:   Clicking on the shortcut takes you to C:\Data\workspaces   Actual Result:   Clicking on the shortcut takes you to C:\Users\****\Documents\workspaces   How do you make it so that the shortcut points to the correct path. (the SymLink)  Command Used to create the SymLink:  mklink /D C:\Data\workspaces C:\Users\****\Documents\workspaces   Updated with pictures:  Please note the workspaces symlink inside C:\Data:    When I double-click on the symlink it works correctly. (note the address bar.    When i pin it to the Quick access bar, however, it uses the address that the symlink points to and NOT the symlink address. How will Cryptography be changed by Quantum Computing? I realise this isn't a 'yes or no' question, and I apologise for asking something that could be seen as a discussion thread, but I had to ask.  I'm currently doing an EPQ in CS (specifically how QC will change Cryptography). I'm trying to gather up topics to cover, and so far I've scribbled down -  Effects -   National security, classical cryptographic methods (RSA, DSA, AES-256). Including Shor's algorithm. Communications Online services, e.g. BitCoin.   How would we counter this (not sure how better to phrase this) -   Lattice-based Multivariate Hash-based signatures Code-based cryptography   Is there anything else you'd recommend me including (as well as the above), or anything in the above you don't think I should include?   Honestly, the list above is a rough, first draft the main bulk of it... so don't it as gospel.  Best regards,  Cameron. 3.8 GPA, but 3 Fs and 1 D on transcript So here's a funny thing: I have 3 Fs and 1 D on my transcript, but my GPA is ~3.8, which is "high" because I double majored in math and computer science. The reason for those 4 bad grades is that I had 2 bad semesters where I suffered from depression; I didn't drop the classes before the deadline so I ended up failing the classes. However I retook the classes and got As in them (hence my GPA), and in fact got A/A-s in all subsequent classes (quite an improvement). I plan to apply to a master's for computer science, and eventually a phd. However I know the admission officers eyes will bleed when they see my transcript, despite my GPA, because my school keeps ALL grades on transcripts, even if the grades were replaced by retaking classes. Do I still have a chance at top-10 graduate school for computer science even with these grades (which were retaken and then aced)? How should I deal with becoming discouraged as a graduate student? I am a third year (starting fourth year in the fall) PhD student in mathematics. I've passed all qualifying exams and am currently doing research. As far as I can tell, I am not doing poorly. I have the good fortune of having a great advisor, being in a very supportive department, and having friends and family who genuinely care about my success.   The fact is research is hard. It appears to consist primarily of staring at a problem for days and days and days without getting anywhere. Sometimes, rarely, I do figure something out and that feels wonderful, but the overwhelming majority of my time appears to be spent banging my head against a mostly figurative wall. I am not complaining about the material being hard, and I am not averse to putting in hard work, but I get frequently discouraged when I realize the vast volumes of mathematics that I yet know nothing about (and probably never will). It's very hard to quantify progress - in particular, there are too few tangible returns after too many hours worked. I find myself thinking along the lines of "Oh, if only someone actually smart were thinking about this problem they would have solved it in moments" and so on.   I've talked about this to some number of people; here is some advice I have received:   Take a day off. Putting in hours upon hours of trying things doesn't magically lead to a solution, particularly if the brain is tired and just wants to sleep. Have a hobby. Since math research doesn't exactly provide instant gratification, a hobby might provide some instead.  Talk to other graduate students. Realize that many graduate students go through this.   I'm interested to know how other folks have dealt with being discouraged as a graduate student. Does it get better with time and experience? Is this a sign that research is not for me and that I should seriously consider a life outside academia? I am constructing a bibliography of as much of the prior research in a field I am working in. I would like to use BibTeX to print the citation in the pdf, and then I would like to add the details of the paper after the citation. Only then would I like to print the next citation. For example:  [1] Jahan M. Dawlaty and Yunquing Chen. Measurement of the optical absorption of graphene in the terahertz. Applied Physics Letters, 2008. Research Group: Cornell Pump Wavelength: 500 nm. Probe Wavelenth: 7 microns. Relaxation Time: 50 fs. [2] Paul George and Dmitry Vekslar, Measurement of Ultrafast Carrier Dynamics in Graphene. Applied Physics Letters, 2009.  . . . and so on. Does anyone know how this could be done? Does an unpublished document you upload to ResearchGate count as prior publication when submitting to a journal? On ResearchGate, if you upload something like a thesis, and then it says publish resources, does this mean the thesis becomes properly published in the sense of the usual requirements of journals that there be no prior publication of the submitted work?   I ask because I’m drafting thesis chapters into journal articles and did not choose to publish the thesis as a whole work in order to do so, so I want to make sure that by clicking publish resources I am not actually publishing the copy I’ve uploaded, I’m just making it publicly available? Does this mean it becomes published despite it not technically being a published work? (If so, I’ll just remove the copy I uploaded). martingale and stochastic Integral