Longer object length is not a multiple of shorter object length?
Why do I get "warning longer object length is not a multiple of shorter object length"?
How to force file download with PHP I am looking for a way to replace a string in a file with a string that contains a slash by using sed.  connect="192.168.100.61/foo" srcText="foo.bar=XPLACEHOLDERX" echo $srcText | sed "s/XPLACEHOLDERX/$connect"   The result is:  sed: -e Expression #1, Character 32: Unknown option for `s' Deserialize JSON object into dynamic object using Json.net How to access QGIS Plugin Repositories from behind a proxy? I have been trying to teach myself QGIS by using this forum and others to help. Most of my questions can be answered by downloading plugins that are available through 3rd party repositories but for some reason I am not able to connect with these. Anyone have any ideas why this is the case? What’s the point in having “www” in a URL? Other than for historical reasons, is there is reason to have “www” in a URL?  Should I create a permanent redirect from www.xyz.com to xyz.com, or from xyz.com to www.xyz.com? Which one would you suggest and why? I saw a thing called VPN connections under the Internet button at the top of my screen.   So I would like more info on this, and possibly instructions on how to set one up. Thanks! How should I determine whether a deck is legal in a particular format? I have a list of cards for a deck I want to build or buy. What should I do to check whether that deck is legal in a particular format (Standard, for example)? Let $\mathbb{S} = \{ (X,Y,Z) \in \mathbb{R}^3 :X^2 + Y^2+Z^2=1\}$ denote the Riemann sphere. The following problem is taken from Gamelin "Complex Analysis" chapter one:     What is the image of the spherical cap $ C := \{(X,Y,Z) \in \mathbb{S} : A \leq X \leq 1\}$, where $A$ is some fixed real number between $-1$ and $1$, under the stereographic projection $ \pi(X,Y,Z) = \frac{X+iY}{1-Z}$?   Here is my work so far:  ( The case $A=1$ is trivial, so assume $A &lt;1$)  We want to find $\pi(C) = \{z \in \mathbb{C} \mid \exists(X,Y,Z) \in C: \pi(X,Y,Z) = z \}= \{z \in \mathbb{C} \mid \pi^{-1}(z) \in C\}$, where the last equality holds by $\pi$ being a bijection. Write $z=x+iy$.  Here, $ \pi^{-1}(z) \in C\iff A\leq \frac{2x}{1+x^2+y^2} \leq 1 \iff (\star) :A \leq \frac{2x}{1+x^2+y^2}$, since the inequality $2x \leq 1+x^2+y^2$ holds for all $x,y \in \mathbb{R}$.  $A=0$: $( \star)$ reduces to $ 0 \leq x$, so in this case the image is $\{z \in \mathbb{C} \mid \Re(z) \geq 0 \}$.   $A &gt;0$: Since $A \neq 0$ in $(\star)$ we have,  $ \frac{2x}{1+x^2+y^2} \geq A \iff Ax^2-2x+Ay^2+A \leq 0 \iff (x-\frac{1}{A})^2 +y^2 \leq \frac{1}{A^2}-1$. Thus the image is the interior and boundary of the circle centered at $\frac{1}{A}$ with radius $\sqrt{\frac{1}{A^2}-1}$. Note $\frac{1}{A^2}-1 \geq 0$ as $A \in (0,1)$.  $A &lt;0$ : By symmetry and the above, here the image is $ \mathbb{C} / \{ $ interior and boundary of circle centered at  $  \frac{1}{A}$ with radius $\sqrt {\frac{1}{A^2}-1} \}$.  Is my working correct? Many Thanks! I am trying to think of what the name of the word/phrase is for when: An important task (not a difficult one, but a mission critical one) is at hand and instead of one person being assigned to it, a group takes on the responsibility to mitigate any consequences happening to one person in case something goes wrong and also to prevent a mistake or malicious intent occurring from one persons doing. (NOT because the task is big and needs to be divided in a group.) E.g.   Two different people needing to turn a key each in a device simultaneously to launch a missile.  Group of people tallying up votes for an election in case one of them were bridged to rig the outcome. What is the difference between encrypting something and hashing something?  in what situations would I want one or the other? Sum from $n=1$ to $N$ of $\sin(nx)/2^n$ The question states:    I'm not sure what to do here. I used the geometric sum to do $2^{-n}$, but I can't think of a way to sum $\sin(n\theta)$ to get the required RHS.    Further working     Apologies for maybe being slow or missing something obvious here... I don't know how to get it into required form. Do different databases use different name quote? For example, mysql quote table name using   SELECT * FROM `table_name`;   notice the `   Does other database ever use different char to quote their table name What does the "bugs" section of /proc/cpuinfo actually show? On a Debian Stretch and testing/Buster system with a current kernel and installed microcode I still see meltdown and spectre listed as bugs in /proc/cpuinfo.  However, running the spectre-meltdown-checker shows not vulnerable.   So I'm wondering what /proc/cpuinfo does show. Are these just the vulnerabilities for this cpu and will those always be listed despite having a patched system? No feedback when comment fails to post on Android 2.3.5 In the mobile theme on Android 2.3.5, comments that do not meet the minimum length will fail to post but no feedback message is displayed to the user.  The submit button changes to its active state, but nothing else happens. Allow all reviewers to see deleted posts they reviewed So moderators just got . Often, these bans are due to specific very bad reviews, like approving spam or non-answers. It will be common for us to give links to these bad reviews in the ban message that the reviewers will be presented with.  However, many of these reviewers lack the necessary reputation to see deleted posts. If we're banning someone from review for approving spam or non-answers, almost all of the time those posts will be deleted. If we give them links to the reviews they performed, they won't see the now-deleted posts that they approved, and won't have a chance to learn what they did wrong.  As examples of this, I had to actually take a screenshot to show the reviewers  and  the posts that triggered their ban, because they could no longer see them.  I propose that reviewers of any reputation level be able to see posts that they reviewed, even ones that were later deleted, if they are presented with a link to their review. They already saw the post once, so there's no harm in showing it to them again, and reviewers are going to need to see why they made a bad call on a particular review. The title says it all, just wondered if accessing the iOS will count towards your consecutive visited days. Mcrypt extension is missing in 14.04 server for mysql The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says:   The mcrypt extension is missing. Please check your PHP configuration.   My current php config is . If you need anymore information, please contact me through the comments.  $ sudo apt-get install php5-mcrypt     Reading package lists... Done     Building dependency tree            Reading state information... Done     php5-mcrypt is already the newest version.     0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Can "it" be used with plural subject? Several years ago I heard of something called dummy subjects in high school. It was then stated that, for example, it is a dummy subject when it starts many instances of sentences, e.g.        It is rainy today.   It is hard to imagine how hard is to live alone.   It is not my university degree that matters here.     My question is if we can use it with plural subjects? For example in       If some think that in Mahmoud Dowlatabadi’s works it is only social themes that matter and the writer is ignoring fictional arrays and artistic techniques, at least, endings of his stories show wrongness of this idea.     My question deals with the italicized part. If this usage is OK, can we also write they are social themes that matter? I mean can they also play the role of a dummy subject? What is the use of the Dot Product of two vectors? Something has changed in server 16.04 LTS, I can't find tty1, but I need to make an auto-login on tty1 (in console mode), in 14.04 LTS I can make this work.  I can't find /etc/init/tty1.conf  How to, or a link?