How to url-encode all characters (special and non-special) in bash
How to urlencode data for curl command?
In viewing the weekly list of rep change, I see  on top: razpeitia2 5 16  member for: 2 years, 7 months link #1 week rank +8529 change 727 total reputation 2,286 week reputation    How can someone with 727 total have 2286 for the week with no bounties?  Call me curious.  Is this a bug or something else here? My company has purchased a product that renders an ASP.NET control on the page. This control uses jQuery 1.2.3 and adds a script tag to the page to reference it. The developers of the control will not support use of the control if it modified in any way (including modification to reference a different version of jQuery).  I'm about to start development of my own control and would like to use the features and speed improvements of jQuery 1.3. Both of these controls will need to exist on the same page.  How can I allow the purchased control to use jQuery 1.2.3 and new custom development to use jQuery 1.3? Also out of curiosity, what if we were to use an additional control that needed to reference yet another version of jQuery? In an ideal case, we assume strings and ropes to be massless and having same tension throughout.  However, I was doing some questions which involved a rope with mass.  The question was that if a uniform thick rope of length 5 m is resting on a horizontal smooth (assume frictionless) surface and is pulled by a force of 5N from one end, then what is the tension in the rope at the point 1 m away from the end where force is applied? (sorry for the poor image)    I came to the conclusion that since rope is not fixed, tension anywhere should be zero. However, when I checked the answer, it was 4 N. I failed to understand how.  Then the next part of the question was that if the rope now hangs between two fixed points which are at same level, then what would be the tension in the rope at its lowest point?    The answer has to be expressed in terms of mass of string m, acceleration due to gravity and $\theta$ where $\theta$ is the angle that tangents to the rope make with the horizontal.  I took that force acting on lowest point is mg, since it is center of mass and hence T = mg. However, according to the answer it depends upon $\theta$ as well. However, I failed to see what I was doing wrong?  I would appreciate any help in solving these questions, since I have no clue of where exactly I am wrong. I did search the Internet and a few books, but everywhere they assumed string/rope to be massless. Does Perl have PHP-like dynamic variables? Principled way of collapsing categorical variables with many levels? What techniques are available for collapsing (or pooling) many categories to a few, for the purpose of using them as an input (predictor) in a statistical model?    Consider a variable like  (discipline chosen by an undergraduate student). It is unordered and categorical, but it can potentially have dozens of distinct levels. Let's say I want to use major as a predictor in a regression model.  Using these levels as-is for modeling leads to all sorts of issues because there are just so many. A lot of statistical precision would be thrown away to use them, and the results are hard to interpret. We're rarely interested in specific majors -- we're much more likely to be interested in broad categories (subgroups) of majors. But it isn't always clear how to divide up the levels into such higher-level categories, or even how many higher-level categories to use.  For typical data I would be happy to use factor analysis, matrix factorization, or a discrete latent modeling technique. But majors are mutually exclusive categories, so I'm hesitant to exploit their covariance for anything.  Furthermore I don't care about the major categories on their own. I care about producing higher-level categories that are coherent with respect to my regression outcome. In the binary outcome case, that suggests to me something like linear discriminant analysis (LDA) to generate higher-level categories that maximize discriminative performance. But LDA is a limited technique and that feels like dirty data dredging to me. Moreover any continuous solution will be hard to interpret.  Meanwhile something based on covariances, like multiple correspondence analysis (MCA), seems suspect to me in this case because of the inherent dependence among mutually exclusive dummy variables -- they're better suited for studying multiple categorical variables, rather than multiple categories of the same variable.  edit: to be clear, this is about collapsing categories (not selecting them), and the categories are predictors or independent variables. In hindsight, this problem seems like an appropriate time to "regularize 'em all and let God sort 'em out". Glad to see this question is interesting to so many people! "Knowledge of" vs. "knowledge on" Cyclic Group Generators of Order $n$ SO Blog icon has partial white background when tab is inactive When you open a tab on the , and switch to another tab, the icon has a partial white background: Firefox (Most obvious) - note the difference between that and the normal Stack Overflow logo  IE  Edge  Tested on Windows 10 with Firefox 41.0.2, Internet Explorer 11 and Microsoft Edge v20.10240.16384.0. (If someone could test this on chrome that would be great) Creation and annihilation operators in the hydrogen atom Possible Duplicate:          Proof to the formula  $$1+x+x^2+x^3+\cdots+x^n = \frac{x^{n+1}-1}{x-1}.$$ Add a way to see where links go in Android app I think it would be good to have a way for the user to view the target URL of a link before following it. I'm pretty sure that I'm not the only one who dislikes blind-clicking -tapping links.   When I use SE in the mobile browser, I routinely long-press links to find out where they go before following them. I wish I could do the same thing in the app, with the same or a similar method.  (It's important that this won't conflict with text selection, since you can't long-press on links to select them now anyway.) In some papers or documents, "linear times series" seems to refer to a time series that can be modeled as a linear AR (auto-regressive) model.   In other places, "linear time series" seems to refer to a time series with a linear trend.   When someone just drops "linear time series" out of the blue without any context, what do they mean usually? How to install Android Studio on Ubuntu? Please tell me the full process of installing Android Studio and its necessary dependencies. Dim screen past the minimum on Ubuntu My laptop's screen is far too bright at night, even if I set it to minimum brightness. I know that it is capable of being dimmer, because Windows will dim it further if I leave it idle. However, I can't figure out how to dim it lower to minimum on Ubuntu. Is there a way?  I've looked at  question, but it's talking about Windows. Why is college tuition high, but academic salaries low? Convergence of sequence given by $x_1=1$ and $x_{n+1}=x_n+\sqrt{x_n^2+1}$ Be $(x_n)_n\ge 1 $  such that $x_1=1$ and $x_{n+1}=x_n+\sqrt{x_n^2+1}$ for every $n\ge 1$. Prove that the sequence $y_n=(2^n/x_n)_n \ge 1$ is convergent and find it s limit.  Being positive and decreasing, $y_n$ is clearly convergent. But finding it's limit really put me intro trouble. Any help?  Thank you! My grandparents bought a flight on United Airlines, as the one and same ticket, from Toronto, to ORD with one 55-minute layover, then to Maui. :     You won’t need to pay extra for airfare if you miss the flight, but on the other hand, you will most likely not be compensated by the airline for the incurred delay. It always depends on the amount of time, the reason for the delay and the airline’s policies. As soon as it’s weather-related, you won’t be getting a penny (and that’s normal: airlines can’t control the weather).    Yet they obviously prefer to avoid such charges from missing the 2nd flight.   Please see the titled question? Would they need to hotfoot or scamper from one gate to another, to not miss the 2nd flight? If yes to 2, can they request an airport electric shuttle cart now, before the flight? If $x_1,x_2,\ldots,x_n$ are the roots for $1+x+x^2+\ldots+x^n=0$, find the value of $\frac{1}{x_1-1}+\frac{1}{x_2-1}+\ldots+\frac{1}{x_n-1}$ When I run sudo, what exactly happens to my environment?  When I run sudo command, it doesn't seem to see my or root's environment. For example, my path for both includes /usr/local/bin, but if I try to run one of the program's without the full path, it fails.  I thought sudo ran as root, and hence got root`s environment. Is there a different way that bash executes under sudo than under root or my normal user?  EDIT:  I have been using sudo -i lately, but recently it has been causing problems because my current working directory gets set to /root. This is as expected (sorta), but I still don't understand why sudo isn't recognizing my executables in /usr/local/bin.  EDIT:  I am running Fedora 15. Why doesn't an orbiting body keep accelerating? As a physics newbie I'm trying to get a grip on basic orbital mechanics. I think I'm beginning to get grasp on how bodies interact with each other. When a body approaches another body it accelerates due to gravity. It can reach a point where its velocity is high enough to keep falling but also keep missing the object it is falling towards. What keeps it from accelerating (because of gravity) and eventually reaching escape velocity? I feel like I'm either looking at things the wrong way or I have the entire thing wrong.