Why does Stack Overflow not honor the order of tags?

I just posted , and after tagging it as such added the 'ruby' tag as well, since (of course) Capybara is used from and written in Ruby.  Although 'capybara' was the first tag, Stack Overflow chose 'ruby' as the primary tag to display in the title.  Why is this?  What are the effects of this?  Is there any way to change this other than just removing the 'ruby' tag?  Because Ruby is a much more general category than Capybara, it seems to me that making 'capybara' the primary tag makes more sense and will be more likely to make it stand out to the right people.  Is this correct?  But on the other hand, a good portion of Rubyists know something about Capybara, so I'd like to keep the 'ruby' tag there too, so they notice it too.


$$\lim_{n\rightarrow \infty}n\left[\frac{1}{n^{\alpha +1}}(1^{\alpha}+2^{\alpha}+\cdots+n^{\alpha})-\frac{1}{\alpha+1}\right]=\frac{1}{2}$$  I know that this can be solved by the Stolz theorem, as , but when I do it myself, I first try this: $$\text{The origen}=\frac{\frac{1}{n}\sum_{i=1}^{n}(\frac{i}{n})^\alpha-\frac{1}{\alpha+1}}{\frac{1}{n}}$$, it seems that the summation is somehow like $\int_{0}^{1}x^{\alpha}dx$, but I do not know what to do next, Could it can be done following my method? Thank you!


Cannot Install Programs Through Terminal on Ubuntu 12.0.4

I recently made Ubuntu 12.0.4 bootable through my flashdrive. I've done this before, and have had no problems on previous flashdrives; the only problem I ran into then was I ran out of space, and now I reformatted my flashdrive to give me more space. The program I am trying to install is Wine 1.7, and the instructions given  aren't working for me this time. When I try and install it through terminal, I get this message every time:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.12-0ubuntu1) but it is not going to be installed            Depends: wine1.7-i386 (= 1:1.7.12-0ubuntu1)            Recommends: fonts-droid but it is not installable            Recommends: ttf-mscorefonts-installer but it is not installable            Recommends: fonts-horai-umefont but it is not installable            Recommends: winetricks but it is not going to be installed E: Unable to correct problems, you have held broken packages.   If anyone knows what this means I'd appreciate it.


How do i Optimize/Improve ram while running a massive import into sql server

I currently am importing a massive database of around 180 million records with roughly 300+ columns. I am sure you are all aware this takes a very long time. I am using sql server on a windows server 2012 machine. The first upload failed at about 38 million. I am on my second try and have been running my server for days with no break. So my question is, even though I am running this import currently, am I able to do anything to reduce the physical memory that is being used? My system has 24gb of ram and it currently is using 22.5 of that (93-94%). I don't want this upload to fail. The system is a 4 core processor. What can I do?


Champions League biggest comebacks after 1st leg

Barcelona managed to beat PSG 6-1 in the second leg of 2017 round of 16 to win 6-5 on aggregate, having lost 4-0 in the first leg. Inspired by Barcelona' win, what are the biggest comebacks in champions league history after a loss in the 1st leg of knockout stage match?


Show that T(X) is a sufficient statistic for theta

Consider the following pdf : $$f_{X}(x;\theta) = \frac{\Gamma(3\theta)}{\Gamma(\theta)\Gamma(2\theta)}x^{\theta-1}(1-x)^{2\theta-1}$$, with $x \in (0,1)$, and $\theta > 0$, where $\Gamma(\theta)$ is the gamma function. Show that $$T(\boldsymbol{X}) = \prod_{i=1}^{n}X_{i}(1-X_{i})^2$$ is a sufficient statistic for $\theta$. I have already figured out the likelihood function : $$L(\theta, \boldsymbol{x}) = (\frac{\Gamma(3\theta)}{\Gamma(\theta)\Gamma(2\theta)})^{n}\prod_{i=1}^{n}x{_{i}}^{\theta-1}(1-x{_{i}})^{2\theta-1}$$ I am now trying to use the factorisation theorem, with $h(x) = (\frac{\Gamma(3\theta)}{\Gamma(\theta)\Gamma(2\theta)})^{n}$ I am trying to find $g(T(\boldsymbol{X}), \theta)$ s.t. $$g(\prod_{i=1}^{n}X_{i}(1-X_{i})^2, \theta) = \prod_{i=1}^{n}x{_{i}}^{\theta-1}(1-x{_{i}})^{2\theta-1} $$ But I cannot find a way to fit $T(\boldsymbol{X})$ in the second part of my Likelihood function.


How do I make sample photos for cameras/lenses?

If I want to compare different cameras or lenses, what properties should the photos that I use have? And what should I do in order to get the most information?  I can think of the following, but probably it's just a subset:   Good lighting (how do I define that?) Proper exposition and manual settings; Same aperture and field of view (the focal length might differ) - is there a "scientific way to do this?"; Scene with good amount of details, colors and contrasts; Use of a tripod (?)   Also, what can I do if I want typical lens flaws (distortion, chromatic aberration) to pop out?


Deriving the wave equation for electromagnetic waves

I'm currently referring to the wave equation derivation given in "Introduction to Electrodynamics" by David J. Griffiths. It follows something like this:  The electromagnetic wave equations are given by the equations: \begin{equation}  v^2_{ph}\nabla^2\textbf{E} = \frac{\partial^2 \textbf{E}}{\partial t^2} \tag{1}\label{eq1} \end{equation} \begin{equation} v^2_{ph}\nabla^2\textbf{B} = \frac{\partial^2 \textbf{B}}{\partial t^2} \tag{2}\label{eq2} \end{equation} Where, $v_{ph} = \frac{1}{\sqrt{\mu\epsilon}} $, is the velocity at which the wave travels in the medium    We have the Heaviside' form of Maxwell's equations in differential form, $$\nabla . \textbf{E} = \frac{\rho}{\epsilon_0}$$ $$\nabla . \textbf{B} = 0$$ $$\nabla \times \textbf{E} = -\frac{\partial\textbf{B}}{\partial t}$$ $$\nabla \times \textbf{B} = \mu_0 \left(\textbf{J} + \epsilon_0\frac{\partial\textbf{E}}{\partial t}\right)$$ In a vacuum and charge-free space ($\rho = 0, \textbf{J} = 0$), these equations are:, \begin{equation} \nabla . \textbf{E} = 0 \tag{3}\label{eq3} \end{equation} \begin{equation} \nabla . \textbf{B} = 0 \tag{4}\label{eq4} \end{equation} \begin{equation} \nabla \times \textbf{E} = -\frac{\partial\textbf{B}}{\partial t} \tag{5}\label{eq5} \end{equation} \begin{equation} \nabla \times \textbf{B} = \mu_0\epsilon_0\frac{\partial\textbf{E}}{\partial t} \tag{6}\label{eq6} \end{equation} We also have the vector identity for any vector function of space, \begin{equation}  \nabla \times \textbf{V} = \nabla.(\nabla\textbf{V}) - \nabla^2\textbf{V} \tag{7}\label{eq7} \end{equation} We thus try to find the curl of $ (5) $ \begin{equation} \nabla \times (\nabla \times \textbf{E}) = \nabla \times -\frac{\partial\textbf{B}}{\partial t} = -\frac{\partial}{\partial t}(\nabla \times \textbf{B}) \tag{8}\label{eq8} \end{equation} Plugging $(6)$ into $(8)$, we get \begin{equation} \nabla \times (\nabla \times \textbf{E}) = -\frac{\partial}{\partial t}\left(\mu_0\epsilon_0\frac{\partial\textbf{E}}{\partial t}\right) = -\mu_0\epsilon_0\frac{\partial^2\textbf{E}}{\partial t^2} \tag{9}\label{eq9} \end{equation} Using the identity (7), \begin{equation} \nabla.(\nabla\textbf{E}) - \nabla^2\textbf{E} = -\mu_0\epsilon_0\frac{\partial^2\textbf{E}}{\partial t^2} \tag{10}\label{eq10} \end{equation} Plugging (3) into (10), we get \begin{equation} 0 - \nabla^2\textbf{E} = -\mu_0\epsilon_0\frac{\partial^2\textbf{E}}{\partial t^2} \tag{11}\label{eq11} \end{equation} With a slight bit of rearrangement we can see that, $$- \nabla^2\textbf{E} = -\mu_0\epsilon_0\frac{\partial^2\textbf{E}}{\partial t^2} $$ $$\nabla^2\textbf{E} = \mu_0\epsilon_0\frac{\partial^2\textbf{E}}{\partial t^2}$$ \begin{equation}  \frac{1}{\mu_0\epsilon_0}\nabla^2\textbf{E} = \frac{\partial^2\textbf{E}}{\partial t^2} \tag{12}\label{eq12} \end{equation} (12) and (1) correspond to the same equation under the conditions imposed. Following a similar line of reasoning for equation (6), we will get the equation; \begin{equation}   \frac{1}{\mu_0\epsilon_0}\nabla^2\textbf{B} = \frac{\partial^2\textbf{B}}{\partial t^2} \tag{13}\label{eq13} \end{equation} which corresponds to equation $(2)$. Thus, we have obtained the electromagnetic wave equation from Heaviside' form of Maxwell's equations in differential form.   Is there a way to derive the same wave equations without assuming to be in a vacuum and charge-free space i.e $ \ \textbf{J} = 0, \rho = 0$?


ImageURLs not returned when querying the Users table in Data Explorer

When I run this query on  for Stack Overflow:  select Id, ProfileImageUrl from Users where Id= 13   the imageURL for the user with userID 13 is not returned even though the user has a profile image. May I please know what am I missing here?


Are static methods and class methods in Python only defined once per class?

I want to know if there is a memory advantage when using this kind of method, decorated with @staticmethod and @classmethod. It could be useful when instantiating several objects of a class.


Why position and momentum operators are both continuous spectrum while angular momentum is discrete?

We know that position $\hat{r}$ and momentum $\hat{p}$ are both continuous spectrum operators, i.e. $$\hat{r}|r'\rangle=r'|r'\rangle, \quad \hat{p}|p'\rangle=p'|p'\rangle.$$ But the angular operator $\hat{L}=\hat{r}\times\hat{p}$ is not: $$\hat{L}^2|l\rangle=\hbar^2 l(l+1)|l\rangle.$$ Could anyone give some explanation?


Quantum Entanglement - faster than light communication

very new here - first question in fact.  So, don't be fooled by the title of my question.  I understand that the Bell Paradox - and non-locality - prevents information being exchanged in a faster than light matter.  So, Spaceman A on Neptune, cannot send a morse-coded message to Earth using quantum entangled particles - the need to force a particle to choose a state releases the entangled particle at the other end from behaving (instantaneously) in a determined matter.  Information from Spaceman A cannot be sent from Neptune to Earth at faster than light.  But - my question is - who cares about spaceman - or any conscious entity sending information - -the fact is the entangled particles themselves are affected at faster than light speed.  Particle A observed on Neptune at midday will have the same state of spin as Particle B observed at an equal time on Earth.  The observation and confirmation of the fact takes place retrospectively - but this doesn't detract from the fact that the wavefunction will be demonstrated to have collapsed simultaneously across a vast distance - something is acting on them at faster than light speed.   Any thoughts, or comments to explain why this is wrong, greatfully recieved !!


Well, I have a SQL table that is as below:   Name title dept salary Abc aaaa qazwsx 15 Abc aaaa hehene 73 Abc aaaa geneh 55 Abc bbbb thghbh 33 Abc bbbb hehehe 433 Abc bbbb eyehhe 54  Statement to create data -  CREATE TABLE #StackOverflow (Name VARCHAR(5) ,Title VARCHAR(5) , Dept VARCHAR(10) , Salary INT);  INSERT INTO #StackOverflow (Name, Title, Dept, Salary) SELECT 'Abc', 'aaaa', 'qazwsx', 15  UNION ALL SELECT 'Abc', 'aaaa', 'hehene', 73  UNION ALL SELECT 'Abc', 'aaaa', 'geneh', 55   UNION ALL SELECT 'Abc', 'bbbb', 'thghbh', 33  UNION ALL SELECT 'Abc', 'bbbb', 'hehehe', 433 UNION ALL SELECT 'Abc', 'bbbb', 'eyehhe', 54   I need to write a query which will give me the top 2 depts whose name are abc and title is aaaa , whose name is abc and title is bbbb. This should be ordered by salary!  How do I implement it using SQL sub queries?


Although this topic has been discussed on the thread numerous times, I have yet to read a convincing argument for why the mean is favoured over the median as a measure of central tendency. This is particularly prevalent in financial economics and for decision making under uncertainty, where the expected value and the expectations operator are widely used.   Is it due to efficiency? Does the mean have favourable properties? Or is it perhaps just used for computational convenience?  I may be mixing several things up, in asking this question, so if you could clarify any misunderstandings, I would be very grateful.


How to prevent unification when animating in photoshop?

I am trying to create an animated gif where text drops down and smashes into the background and cracks it. Whenever I try and transform it though, the transformation is applied to all frames. How do I prevent this? I'm using Adobe Photoshop CS6 (64-bit)


How does ServerName and ServerAlias work?

It's the following part of a virtual host config that I need further clarification on:  <VirtualHost *:80>   # Admin email, Server Name (domain name), and any aliases   ServerAdmin example@example.com   ServerName  141.29.495.999   ServerAlias example.com ...   This is and example config, similar to what I currently have (I don't have a domain name at the moment).  <VirtualHost *:80> - Allow the following settings for all HTTP requests made on port 80 to IPs that this server can be contacted on. For instance, if the server could be accessed on more than one IP, you could restrict this directive to just one instead of both.  ServerName - If the host part of the HTTP request matches this name, then allow the request. Normally this would be a domain name that maps to an IP, but in this case the HTTP request host must match this IP.  ServerAlias - Alternate names accepted by the server.  The confusing part for me is, in the above scenario, if I set ServerAlias mytestname.com and then made an HTTP request to mytestname.com, there would have to be a DNS record pointing to the server's IP for this to work? In which case, is ServerAlias just basically EXTRA ServerName entries?  Say I had a DNS entry such that foobar.com = 141.29.495.999 but then I had ServerName = 141.29.495.999 and ServerAlias was empty, would that mean that although foobar.com gets resolved to the right IP, because there is no reference to accept foobar.com in ServerName or ServerAlias?  Or something. Man I'm confused.


I would like to ask a question about the meaning of the status "Draft" of my submitted article in a Taylor and Francis journal?


How do you validate phone number in asp.net?

I need to validate phone number that allows numeric and symbols + - ()  how can i do so in asp.net?  <asp:TextBox ID="TxtNo" runat="server"></asp:TextBox>     <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Enter valid Phone number" ControlToValidate="TxtNo" ></asp:RegularExpressionValidator>


Where did the brush size lock go for sculpt mode in 2.8???


What are irreducibles in the ring $R$ of entire functions?

Here's how far I have gone:  I first find the units in $R$. Let $f$ $ \in $ $R$ be a unit. Then $\exists$ $g$ $\in$ $R$ such that $fg=1$, i.e $f(z)g(z)=1$ $\forall$ $z$ $\in$ $\Bbb C$.  Then, $f(z)$ $=$ $\frac 1{g(z)}$ $\forall$ $z \in \Bbb C$. Hence $f(z),g(z) \neq 0$ $\forall$  $z \in \Bbb C$.  Now to find the irreducibles, let $f \in R$ be an irreducible. Hence whenever  $f(z)=g(z)h(z)$ for $g,h \in R$, then $g$ or $h$ is a unit.  Let $h$ be the unit and $\alpha$ be a zero of $f$. Then $f(\alpha)=g(\alpha)h(\alpha)=0$ $\Rightarrow$ $g(\alpha)=0$. Hence $z-\alpha$ is a factor of $g$. So $g(z)=(z-\alpha)^ng_1(z)$ for some $n \in \Bbb N$, where $g_1$ is unit. Since $f$ is irreducible, hence $n=1$.  I'm stuck here. What can be my next step?


Prove that there are no positive integers $x$ and $y$ such that $x^3 + y^3 = 10^3$.   This is a homework question, and I understand that its part of Fermat's Last Theorem, but when I looked that up to try to figure out the homework, I realized that it is way further than what we've learned in class so far. We have to prove this, but the only way I can think to do it is by exhaustion, which would be extremely lengthy. Any little shove in the right direction would be appreciated. Thanks!


There is an ISTQB certificate for model-based testing, but I cannot understand what it is studying and who will need it?


Alternative to Photoshop that can handle smart objects

I would like to edit a simple PSD with a smart object like . I only need to replace the smart object with a screenshot of an app and export the image as a PNG or JPG. Is there an alternative to Photoshop available that can do this? (I'm using Windows 8.1 and I don't need any other of the advanced Photoshop features)


Custom APEX HTTP POST class fails to pass code coverage

I wrote a simple APEX class that should send some data as a HTTP POST request to some webhook. It receives some parameters as a collection and is called from a flow.  global class send_sms_to_webhook {      @InvocableMethod      public static void post_to_webhook(List<List<String>> input) {          Http http = new Http();         HttpRequest request = new HttpRequest();         request.setEndpoint(''); //AWS endpoint         request.setMethod('POST');         request.setHeader('Content-Type', 'application/json;charset=UTF-8');         request.setHeader('Authorization', 'Bearer ');         request.setBody('{"number":"' + input.get(0).get(0) + '","body":"' + input.get(0).get(1) + '","title":"' + input.get(0).get(2) + '"}');         HttpResponse response = http.send(request);     } }   For this post I left the Authorization and Endpoint out. Everything works well in the sandbox, but when I push it to production it fails code coverage.


Should "are" necessarily be used in "where you at"?

I've heard a lot of people saying just "Where you at" instead of "Where are you at"? And when I corrected my friend, he said that it is so colloquial to be corrected. And I also want to ask if it is wrong to end a sentence in preposition.


Extra inter-line spacing in a tabular environment

I have a table that is typeset using a tabular environment.  (I want to keep it in a tabular environment.)  The contents of each row is an expression involving radicals. The inter-line spacing is inconsistent with other tables in my file and with the inter-line spacing of the text in my file.  I seem to recall that the inter-line spacing should be 1.2 times the height of the current line or current row.  Is that right?  \documentclass[10pt]{amsart}  \begin{document}  \noindent {\textbf{Example}} \vskip1.25mm The following functions are increasing on the interval $[0, \, \infty)$. \vskip1.25mm \noindent \hspace*{1em} \begin{tabular}{r l} i.)     &       \hspace*{-0.5em}$x^{2} + x$ \\ ii.)    &       \hspace*{-0.5em}$x^{3} + 2x^{2} + 3x - 7$ \\ iii.)   &       \hspace*{-0.5em}$x^{2} + \sqrt{x}$ \end{tabular} \vskip0.25in  \noindent {\textbf{Example}} \vskip1.25mm The following functions are increasing on the interval $[0, \, \infty)$. \vskip1.25mm \noindent \hspace*{1em} \begin{tabular}{r l} i.)     &       \hspace*{-0.5em}$\sqrt{x^{2} + x}$ \\ ii.)    &       \hspace*{-0.5em}$\sqrt[\uproot{1} \leftroot{-1} 3]{x^{3} + 2x^{2} + 3x - 7}$ \\ iii.)   &       \hspace*{-0.5em}$(x^{2} + \sqrt{x}){\vphantom{x^{2} + \sqrt{x}}}^{3}$ \end{tabular}  \end{document}


Overhead of using loop-mounted images under Linux

Is there a CPU/RAM overhead associated with using loop-mounted images versus using a physical partition under Linux?


Chrome Shows all passwords without asking for login password

I use Ubuntu 18.4 with the latest Chrome. I am facing this issue that Chrome shows all my password (on clicking the eye button) without asking for any login password. How can I enable it?     While Chrome might be similar to Chromiun certain aspects can be differnt. So how is this a duplicate?


Proof: if $|a|<1$ then $a^n$ converges to $0$

I'm trying to proof a basic statement: if $|a| < 1$, $a\in \mathbb{R}$ then $\lim_{n\rightarrow \infty } a^n = 0$. On one hand, it's quite intuitive, on the other hand, I wasn't able to prove it formally. Is this statement needs to be proved or it's some kind of convention? Thank you.


If I have an entity, is it possible to teleport that player to face the entity without teleporting the player to the entity (Just changing his rotation)? How could I accomplish this?


Proving if a set is True or False: (A x B) $\cup$ (C x D) = (A $\cup$ C) x (B $\cup$ D)

As the title suggests I'm trying to determine if the following example is true or false. AND if it is false, to provide a counter example.   This is the example:  (A x B) $\cup$ (C x D) = (A $\cup$ C) x (B $\cup$ D)  Now here is what I have attempted:  For the L.H.S. (A x B) $\cup$ (C x D)  (x,y) $\in$ (A x B) OR (x,y) $\in$ (C x D) $\Leftarrow\Rightarrow$ x $\in$ A OR y $\in$ B OR x $\in$ C OR y $\in$ D  For the R.H.S. (A $\cup$ C) x (B $\cup$ D)  x $\in$ (A $\cup$ C) OR y $\in$ (B $\cup$ D) $\Leftarrow\Rightarrow$ (x,y) $\in$(A  $\cup$ C) x (B $\cup$ D)   To be honest I'm not really sure if what I have done is even correct. Given my working I guess it would be a FALSE statement?  But a counter example? I just need the expertise on this forum to help me fill a few gaps.   Thanks so much!  EDIT: It is slightly different from the linked solution as they asked $(A \times B) \cup (C \times D) = (A \cup B) \times (C \cup D)$  And I asked  (A x B) $\cup$ (C x D) = (A $\cup$ C) x (B $\cup$ D)  I realise that's not much of a difference but just thought for peoples future reference.


Will it ever be the year 2000 in The Matrix?

A comment on  raised another interesting question, specifically this comment:   If they kept it in 1999, they'd have no y2k bug to deal with.{/tongue-in-cheek}   And it got me thinking...The Matrix is a simulation of the year 1999.  Everybody in The Matrix thinks that it is the real world, and pass their lives as if it were exactly that.    But if that is the case, it wouldn't be 1999 forever.  Years pass.  People keep track of time and have children that grow up and have birthdays.  They're going to keep track of what year it is.    Will it ever be the year 2000 in The Matrix, or do the machines 'reset' people's memory of what year it is, so that it is perpetually 1999?


My Apple Store notifies me that i have 4 updates, but when i go to the Updates tab i cant see anything.


I have a problem with rounding rectangle. I know how to round a cube, but not how to evenly round a rectangular prism. When I use bevel, it does not seem to bevel evenly. But I want to do it correctly. Please see the following pictures for an example:  This is my model comparison. Here you can see my model is not rounded evenly.   And this is standard cube, that you can see when program starts. It's rounded evenly, but when you will scale it, you can see, that it will round not evenly, like my model (But my model was created not on this method)


Can a collegiate player reject a draft pick?

I'm asking this question because of my ignorance of the fine aspects of drafts.  Suppose that I'm playing basketball in college (I don't know if the specific sport matters; let's stay with basketball) and I'm good enough to have a decent stab at getting into the NBA. I declare draft eligibility, and on draft night, the Phoenix Suns (say) pick me. Suppose now that I just don't want to play for them, for whatever reason (for example, because it would require me to live in Phoenix long term). Do I have a right to pass on their offer?


How to make a ToolStrip button immediately clickable without clicking on the form first?

I have a windows forms app with a toolstrip that contains buttons. Frustratingly, I have to click twice on any button to get it to fire when the form isn't focused. The first click seems to activate the form, and then second click clicks the button (alternatively, I can click anywhere on the form and then click the button once). How can I fix this so that, even when the form is not activated, I can click directly on a button?  EDIT: I feel like this should be feasible, since it works in programs like SQL Server Profiler and Visual Studio (not that these use WinForms, but it would suggest that it's not an OS issue).


Mount NTFS partition with write access for everyone

How can I mount a NTFS partition so that all user accounts on my machine have write access? My mount options are  nosuid,nodev,nofail,x-gvfs-show,nobootwait,uid=1000,gid=1002,fmask=113,dmask=002   This gives me write access but when other users try to delete a file the error message pops up  Cannot move file to trash, do you want to delete immediately?    As I understand this is because they don't have write access which is what I want to change.  I created a new group (with gid=1002) and assigned it as primary group to both user accounts but that didn't help. I also tried mounting without the fmask, dmask and uid options.


htaccess 404 code does not trap an incorrect URL path (with a / in the string

I have a simple 404 redirect in my .htaccess file:  ErrorDocument 401 /404.htm  ErrorDocument 404 /404.htm  RewriteEngine On  RewriteCond %{SERVER_PORT} 80  RewriteRule ^(.*)$ https://hypnosis-retreat.co.uk/$1 [R,L]   When I enter the domain https://example.co.uk/bhabha it correctly renders the 404 page. Where I enter the URL https://example.co.uk/bhabha/morebhabha it fails to render the 404 page correctly.  I need to trap a path that goes nowhere.


I have a power supply which is 19.5V and 6.15A. My friends power supply or laptop probably broke and his power supply has a 19V and 6.32A. His charger comes with an adapter which fits my plug perfectly, would it hurt if we tested my charger on his laptop?


Suppose that $\left (X, \langle \cdot,\cdot \rangle \right)$ be a complex inner product space. Let $x,y \in X$ be such that $\|\alpha x + \beta y \|^2 = \|\alpha x\|^2 + \|\beta y\|^2$ for all pairs $\alpha, \beta \in \Bbb C$ $($ where $\|\cdot\|$ is the norm induced by the inner product on $X$ $).$ Then $\langle x,y \rangle = 0$ i.e. $x \perp y.$   How do I show that? Please help me in this regard.  Thank you very much.


Haven't Received Any Email on Watched Tags Ever

I wonder if this is a broken functionality just on the stack exchange that I'm part of. I've subscribed to ethereum.stackexchange.com and I have three watched tags solidity parity and ethereum-classic and I've been watching them since mid-October 2018 but I have yet to receive any emails about new questions asked with those tags in it. Checking those tags manually shows that they are being used for asking questions on the site.  I guess the email functionality isn't working? Not sure what's causing this.


Are photon rest frames distinguishable from other inertial frames?

The principle of relativity suggests that all inertial frames are indistinguishable. But if I consider the rest frame of a photon (i.e. an IRF traveling at speed $c$ w.r.t. me), then won't it be distinguishable from my rest frame? And both are IRFs. For example, time is not well-defined for the photon rest frame. I've heard that time stands still for a photon. Isn't that a special property of photon rest frames, and therefore something that can be used to fundamentally distinguish it from regular IRFs (like mine)?


Retrieving Google Chrome web search history

How can I retrieve web search history on Google Chrome? My history data gets cleaned after 10 weeks. Is it possible to view the files? If so, how do I access them?


I have a Windows 8.1 laptop and the CD/DVD drive periodically makes noises as if something is trying to acccess it, even though there is no disk in there. Also the optical disk access mouse cursor periodically appears.  Is there any way to diagnose this?


Increasing the size of the memory: not all files are built successfully

I am trying to compile a large file which contains a tikz picture with more data points than tex can handle.  Following the questions  and  I set to increase the capacity of tex by changing the file texmf.cnf in my path /usr/local/texlive/2012. I included the line  main_memory = 10000000   and on terminal I run  sudo fmtutil-sys --all   The problem is that this memory is not enough, and numbers bigger than that don't finish the fmtutil run properly. I get the error   fmtutil: Error! Not all formats have been built successfully.   To give a better idea of where the problem is coming from, if I only include in the file texmf.cnf the lines  main_memory.latex = 15000000 main_memory.pdflatex = 15000000   then these are the files which are not properly built:  This is a summary of all `failed' messages: `pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed   How can I increase the size of the memory beyond 10000000? Am I doing anything wrong?  (BTW, I am running texlive 2012 on a mac)


How do I give mobs custom names using command blocks?

I'm playing on iOS, and I need some help with commands. I'm trying to give mobs that I spawn custom names. I have tried the following:   /summon villager ~ ~ ~ {CustomName:"Dr.Tray"}   The error message I got was "Invalid Command Syntax"  If you know the correct way to do this, Please do not hesitate to tell me!


Determining direction of polygons using QGIS?

Is it possible to get the direction of the longest side of a rectangle in QGIS?    I know how to get the direction of a line layer. But I need to know the direction of a polygon. One could start at the center of a polygon and find the shortest way to the border by using a line and take the direction of this line, but I don't know how to draw this line automatically for 30000 polygons.


For loop assignments overflow into another variable

I am trying to use a for loop to assign values to an array in C (I'm using minGW).  At first I tried doing:  double flag[5] = {0.1};   but that only assigned the first variable in the array to 0.1.  Then I tried doing a for loop to assign each individually.  The reason why I don't want to hard code it is because I want the size of the flag variable to be flexible to the user's input.  My current code looks like this:      int cnt;     double flag[5];     for (cnt = 0; cnt < sizeof(flag); cnt++) {         printf("sizeof(flag) is %d\n",sizeof(flag));         printf("size is equal to %d and cnt is %d\n",size,cnt);         flag[cnt] = 0.1;     }     printf("size is equal to %d\n",size);   The variable "size" changes from 6 as it was previously determined to a garbage number, and I cannot modify the number of iterations.  For example, if I set cnt < sizeof(flag)-1, there is no change.  -2,-5, etc no change.  However if I drastically reduce the size, it gets stuck in an infinite loop.  sizeof(flag) is 40, not 5 like I'd want it to be, but dividing by 8 also gets it into an infinite loop somehow.  Any advice?  This question was answered, thank you everyone!


What are the equivalent PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen?

The PC port of Dark Souls shows Xbox 360 game controller buttons on its in-game messages and the UI. However, I'm playing with a mouse and a keyboard. This makes learning the controls a bit awkward.  What are the equivalent (default) PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen?


Why does Stack Exchange choose to track reputation separately?

Why does Stack Exchange choose to track reputation in separate categories? Like you could have 100,000 rep in the Arqade one, but only have 100 over in Role-Playing? And that’s because they reward you with a hundred for ‘trusting you’. Can someone explain the sites' potential reasoning for doing this?


I have learnt these words so far, please correct me if I'm wrong:   Dawn, maybe 4am–6am? Morning, maybe 6am–9am? The food for the morning is called breakfast. People greet each other Good morning! Noon, maybe 11am–1pm? The food is called lunch. Afternoon, maybe 2pm–4pm? People greet each other Good afternoon! Evening, maybe 6pm–9pm? The food for the evening is called supper. People greet each other Good evening! Night, maybe 9pm–11pm? However, Good night means "have a good sleep". Mid-night, maybe 11pm–1am?   You see, I've missed some parts of a day, I may be not correct on the time boundaries of each part, though.  I would like to complete the list, especially the part after the morning but before the afternoon. My teacher never told us to use the word noon, and good noon seems never used by anyone.  I would like to know each part of a day, its corresponding food term (like lunch, supper, etc.), and its corresponding greeting words, thanks.  Summary  I'll update the table to reflect the answers:  Part          Begin End   Meal             Greeting ------------- ----- ----- ---------------- --------------------- morning/dawn   0:00  5:00                   early morning  5:00  6:00                  Good morning morning        6:00  9:00 breakfast        Good morning mid-morning    9:00 11:59 elevenses/       Good morning                           morning tea/                           brunch noon          12:00 12:00 - afternoon     12:00 17:00 lunch/           Good afternoon                           afternoon tea evening       17:00 21:00 supper           Good evening night         21:00 23:00 night-time snack Good evening midnight      23:00  1:00 midnight snack   Good night


Table does not use entire space of page!


Black area on my 3d model. How would I fix this?

I'm trying to model a coffee cup and then when I connected the grip to the main cup this happened.


This is a very simple question, but I can't find an answer anywhere.  Earth's gravity at sea level is 1 (approximately 9.8m/s^2)  What happens being under sea level in a cavern/chasm/ravine, how much does gravity increase normally here on Earth?


Have a command in my $PATH, but it is not being recognized when I use sudo

I’m using Ubuntu 14.04.  I’m having trouble getting a command picked up in my $PATH using sudo.  I have added this to my /root/.profile file  # ~/.profile: executed by Bourne-compatible login shells.  if [ "$BASH" ]; then   if [ -f ~/.bashrc ]; then     . ~/.bashrc   fi fi  export PATH=$PATH:/usr/local/rvm/rubies/default/bin  mesg n   I have logged out and logged back in as my user with sudo privileges.  Then I try and run the command within the $PATH but I get a “command not found” …  daveuser@mymachine:/home/rails/myproject$ sudo gem pristine --all sudo: gem: command not found daveuser@mymachine:/home/rails/myproject$ sudo echo $PATH /usr/local/rvm/gems/ruby-2.3.0/bin:/usr/local/rvm/gems/ruby-2.3.0@global/bin:/usr/local/rvm/rubies/ruby-2.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/    bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin daveuser@mymachine:/home/rails/myproject$ sudo which gem daveuser@mymachine:/home/rails/myproject$ which gem /usr/local/rvm/rubies/ruby-2.3.0/bin/gem   Notice that when I echo $PATH I get exactly the PATH where the “gem” command lives.  What else do I need to do to get my “gem” command recognized when I run the command as the sudo user?  Edit: The preserve-env didn’t work.  here’s what happened …  remoteuser@remotemachine:/home/rails/myproject$ sudo --preserve-env gem pristine --all [sudo] password for remoteuser:  sudo: gem: command not found   Edit 2: output of sudo -l  remoteuser@rtemotemachine:/home/rails/myproject$ sudo -l Matching Defaults entries for remoteuser on rtemotemachine:     env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin  User remoteuser may run the following commands on rtemotemachine:     (ALL : ALL) ALL


Find out what is causing add/remove hardware sound

I have a Windows 10 computer that every 5 minutes or so, plays the Windows Add/Remove hardware "removal" sound and then a few seconds later plays the "added hardware" sound. Sometimes it does this four or five times in immediate succession.  No changes are being made to the computer, so I suspect I have a faulty peripheral.  Without disconnecting things and waiting to see if it goes away (it could be an on-board peripheral that is flaky, but cannot be physically unplugged) how can I figure out what is causing the add/remove hardware sounds to play? Is there an event in the event log somewhere I can look at?    Update: I have used usblogview which did show an offending peripheral. However even with that peripheral unplugged the issue is still occurring, but now usblogview is not showing anything, which means it's likely not a USB device causing it. Maybe it's the USB chip itself on the motherboard? I have enabled Audit PNP Activity as per HelpingHand's comment however I don't see any events in the event log


Evaluating $\lim\limits_{n\to \infty}\frac1{n^n}\sum\limits_{k=1}^n k^n$

Evaluate the limit $$\lim_{n\to \infty}\frac{1}{n^n} \sum_{k=1}^nk^n$$ I tried expressing the summation as $1^n+2^n+3^n+\cdots+n^n$ and then dividing it by $n^n$, but couldn't proceed further. I also tried using LH rule, but couldn't proceed. Any help would be appreciated.


Limit $\lim\limits_{x \to +\infty} \sqrt[n]{(x+a_1)(x+a_2)...(x+a_n)} - x$ =?

What is the limit of $ f(x) = \sqrt[n]{(x+a_1)(x+a_2)...(x+a_n)} - x$ when $x$ goes to plus infinity? The number $n$ is fixed and $a_i$ are some constants.   All I know is the answer: $(a_1 + a_2 + ... + a_n) / n$  I figured out that I can limit the root from above with the arithmetic mean. And this gives me some nice expression as an upper limit. But OK... this only proves the limit is $\leq (a_1 + a_2 + ... + a_n) / n$.  But how do I limit it from below with the same value. I tried using the harmonic mean but it seems it does not lead me to anything nice. So... any ideas?


QGIS Buffer Not Recognizing All Features in Layer

I'm completing online course GST 101 for QGIS (my version is 2.18.3) and I'm stuck on the Buffer tool.   All of my layers are set to CRS "NAD83(HARN)/New Mexico Central (ftUS) (EPSG:2903)" as instructed in the lab.   The goal is to use the query builder to filter the municipal limits in Bernalillo county down to only Albuquerque. Then after filtering create a buffer layer of 5280 ft around it.   The problem is I get an empty layer from the buffer tool with no entries in the attribute table. So I tried Buffer on the entire layer (with 0 ft buffer to pinpoint the problem areas) and this is the result.    There appears to be a number of features in this layer that aren't recognized because I would have expected the entire layer to be selected.   I've also tried the query builder to filter Albuquerque and save to a new layer. Then try to buffer the new layer, still results in an empty attribute table.  I've tried the shp file included in the lab as well as downloading the file directly from here:  (Municipal Limits / Various municipal limits in Bernalillo county / SHP File).   I'm still fairly new at GIS but I'm following a youtube video and pdf instruction but I'm clearly on a newer version of QGIS.     Any suggestions on what the problems may be?


What consequences should there be for a 5 year old, who throws tantrums when told "no" or constantly wants her way?

Pre-schooler is out of control with demanding to have her way.we have tried time outs, talking it out and taking away of material things of hers. Nothing is working


Is there a way I can derive the value of the integral  $ \int_0^1 \ln(x)\ln(1-x)dx$  using the fact that  $\displaystyle\sum_{i=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6}$  ? (the actual value of the integral is $2-\frac{\pi^2}{6}$)  Thanks in advance


Constraints of relativistic point particle in Hamiltonian mechanics

I try to understand constructing of Hamiltonian mechanics with constraints. I decided to start with the simple case: free relativistic particle. I've constructed hamiltonian with constraint:  $$S=-m\int d\tau \sqrt{\dot x_{\nu}\dot x^{\nu}}.$$  Here $\phi=p_{\mu}p^{\mu}-m^2=0$  $-$ .  Then $$H=H_{0}+\lambda \phi=\lambda \phi.$$   So, I want to show that I can obtain from this Hamiltonian the same equation of motion, as obtained from Lagrangian.  But the problem is that I'm not sure what to do with $\lambda=\lambda(q,p)$. I tried the following thing:  $$\dot x_{\mu}=\{x_{\mu},\lambda \phi\}=\{x_{\mu},\lambda p^2\}-m^2\{x_{\mu},\lambda\}=\lambda\{x_{\mu},p^2\}+p^2\{x_{\mu},\lambda\}-m^2\{x_{\mu},\lambda\}$$$$=2\lambda \eta_{\mu b} p^b+p^2\{x_{\mu},\lambda\}-m^2\{x_{\mu},\lambda\}=2\lambda \eta_{\mu b} p^b+p^2\frac{\partial \lambda}{\partial p^{\mu}}-m^2\frac{\partial \lambda}{\partial p^{\mu}},$$  $$\dot \lambda=\{\lambda, \lambda \phi \}=\{\lambda,\lambda p^2\}-m^2\{\lambda,\lambda\}=\lambda\{\lambda,p^2\}+p^2\{\lambda,p^2\}=2\lambda\eta_{ak}p^{a}\frac{\partial \lambda}{\partial x^{k}},$$  $$\dot p_{\mu}=\{p_{\mu},\lambda p^{2}-m^2\lambda \}=p^{2}\{p_{\mu},\lambda\}-m^2\{p_{\mu},\lambda\}=-p^{2}\frac{\partial \lambda}{\partial x^{\mu}}+m^2\frac{\partial \lambda}{\partial x^{\mu}}.$$  If we recall that $p^2-m^2=0$, then we get from the third equation: $\dot p=0$, and from the first: $$\dot x_{\mu}=2\lambda\eta_{ak}p^{a}.$$  So we have    $\dot x_{\mu}=2\lambda\eta_{\mu b}p^{b}.$ $\dot \lambda=2\lambda\eta_{ak}p^{a}\frac{\partial \lambda}{\partial x^{k}}.$ $\dot p=0.$   But I don't know what to do next. Can you help me?


When people quote the  no reference seems  to be made to the frequency, presumably this is about the current state of detectors. Or are the frequencies detected the same as the resonant frequencies of the bars used? What range of frequencies are  gravitational waves expected to have?


Im really into cryptography and to find the private key of a message I need to use modular arithmetic. I understand how modular arithmetic using a clock with whole numbers. But I get really stuck when I get to fractions, for example:     1/3 mod 8   How do I find a modular of a fraction? Is there a method for finding this?  Thanks in advance!


Help finding probability generating function

I have an exercise where X has an exponential distribution with rate 1, and Y|X=x is a poisson distribution with parameter x.   I can find the expectation and variance of Y using the law of total expectation and law of total variance - and I have gotten 1 and 2 respectively - I'm fairly sure this is correct.  Now I am trying to find the probability generating function of Y, but I'm struggling. I think I need to use the law of total expectation to help me here, but I'm not too sure how.   Any help is appreciated.


I am using  on Windows 7 to SSH to my school computer lab. Can I transfer files from my Windows machine to my user on the school machines using SSH?


Missing delimiter (. inserted). error in array environment

It is a ``missing delimiter (. inserted)."-type error. I spent a great amount of time but still can't spot the missing part. Can anyone help to fix it? \begin{align*}     \begin{array}{ccc|ccc}          &   & & &          & \\          & A & & & \big\ast & \\          &   & & &          & \\\hline          &   & & &          & \\          & 0 & & & B        & \\           &   & & &          &      \end{array}   \end{align*}


Digital Surface Model data for Switzerland?

I'd like to get Digital Surface Model data from Switzerland. I want to calculate building volume from it. Even I am searching for LIDAR data, but I did not find any free data.   Is there any free LiDAR or DSM data set available for this country?


The linker is giving me an undefined reference when I'm compiling my code but my function is defined

The linker gives me an error that my function is undefined but the code has been defined and there's no difference  between my definition and usage or anything like that  In my Main  vector<char> path = pathfinder(arr)   arr is a 2D array that has been previously defined  in my header file for pathfinder  template<std::size_t rows, std::size_t cols> vector<char> pathfinder(char (&maze)[rows][cols]);   In my cpp file for pathfinder  template<std::size_t rows, std::size_t cols> vector<char> pathfinder(char (&maze)[rows][cols])   The error that the compiler is giving  me is   /tmp/ccJM5V9F.o: In function `main': pathMain.cpp:(.text+0x5b): undefined reference to `std::vector<char, std::allocator<char> > pathfinder<15ul, 20ul>(char (&) [15ul][20ul])' collect2: error: ld returned 1 exit status   Anybody have any ideas?


Unable to resolve key error while updating Ubuntu 16.04

I am unable to update/upgrade the packages because I keep getting the following errors.  W: GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F W: The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release: The following signatures were invalid: KEYEXPIRED 1553542768 W: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: https://sourceforge.net/projects/usuproject/files/repository/skss/Release.gpg: Signature by key 08F210B54CB352AB21E9DDC08095DBD6EA79208A uses weak digest algorithm (SHA1)   I have tried solutions from several post from StackOverflow and blogs but none of them has worked so far.  Please let me know if any other information is required.  PS: I have tried the solutions  and


If my question is moved from one SE site to another, are the existing answers removed?

At the suggestion of someone else, I am wondering what will happen to the existing answers in  if I try to get it migrated to another stack exchange site?  The current answer on the original site has some great answers and information that I hope to preserve if the question is moved.


Are identical particles always entangled even when not interacting?

Aren't the states of two identical particles always entangled even if they are not interacting? The states of two identical particles are either symmetric or antisymmetric i.e., cannot be written as product states.


The Double Slit Experiment - delayed measurement

I'm not a physicist; I'm just curious about what would happen.  According to this video "" (at 2:50):     "Somebody decided to leave the detectors on but just not take any data. [...] So if it was also going to a magnetic tape - there was no magnetic tape loaded. [...] And what do you think happed? They got this. They got the diffraction pattern."   So the act of measuring (beeing concious of the data) destroys wave-form pattern?  If so lets consider these cases:   What if I'd throw a dice after the experiment to decide if I should look at the data or to destroy it? (e.g. look at the data if the number on dice is even) What if the information about measurement would need to travel longer period of time than the particle would need to hit the wall?    To above cases: Would it mean that information travelled instantly - faster than light or that "the particle can look into the future"?


Why does my Task Manager window outline keep disappearing?

Possible Duplicate:          I'm not sure what the proper term for the window outline is (chrome, I think?), but it keeps disappearing.    As you can see, theres no File->Exit or buttons that allow me to minimize or close this dialog. So instead it stays on top of everything else (unless I 'Switch To' another window). There is also no Processes tab or anything.  Since you cant right click the toolbar or bring up another instance of Task Manager, the only way to actually kill this dialog seems to be restarting. However the next time I bring up Task Manager, it will still refuse to go away.  Anyone know whats going on? I'm running 32-bit Vista SP1.


Incompatibility with mathtools and unicode-math in xelatex?

I find unexpected behaviour in using mathtools in conjunction with unicode-math, which shows up if the 'range' command is used. Some incompatibilities have been noted before, so perhaps this is related. However, it only showed up for me in Texlive2016; previous versions worked as expected. In the following example I wish to draw calligraphic fonts from a different set than the main maths fonts, and some calligraphic symbols, and a regular italic bold face math, are missing.   \documentclass{article} \usepackage{mathtools}  \usepackage{fontspec} \usepackage{unicode-math} \unimathsetup{math-style=ISO,bold-style=ISO,sans-style=italic} \setmainfont{xits-regular.otf} \setmathfont{xits-math.otf} \setmathfont[range={\mathcal,\mathbfcal}]{latinmodern-math.otf} %\setmathfont[range={}]{xits-math.otf} % Try with and without this line % \begin{document} Test $a+b = \mathcal{C H G}C \mathscr{D}$ $$-\frac{a}{b} \mathcal{O} . $$ \begin{equation}     \mathrm{d} = \mathcal G(\varphi,x,y,z,t) ,  \end{equation} The symbol $\mathcal{G}$ is missing.  The following equation is wrong if I include the line  ``setmathfont[range=\{\}] \{xits-math.otf\}'' \begin{equation}     \mathup{d} = \symbf{u}(\varphi,x,y,z,t) ,  \end{equation} The glyph $\symbf{u}$ is missing. \end{document}   If mmathtools is called after unicode-math the problem does not arise, but this ordering is not recommend by the unicode-math developers.  My specific question is, is this a bug or is it something I am doing wrong?


Is there a single word for "moving unhinderedly"?

For example, in a novel, if someone is so powerful that no one can stop him, something like this would be said:     He [insert word] in the continent [or some other location].   "Moved unhinderedly" somewhat fits it, but it doesn't really seem like the right term.  The word I'm looking for describes a few things:   Should have an implication that the person himself is powerful That person can go wherever he wishes to, and cannot be stopped because of his strength That person can do whatever he wishes to, and like above, cannot be stopped because of his strength   The other word I have is "swept", i.e.:     He swept through the continent.   I used "swept" because when you sweep the floor, nothing stops you and everything is swept away, similar to the example. However, the dictionary definitions don't match up, so that isn't the word either.  Any suggestions?


Use of static keyword to global variable in c

If I apply static keyword to local variable, its value is maintained within function invocations. However, if I apply static keyword to global variable, will it be as good as declaring the variable as global? What I mean to say is does static keyword has any effect on global variables?


Prevent monitor from losing signal after screen saver / lock activates

After the screen saver activates, or after I manually lock the screen via Ctrl+Alt+L, I see a blank black screen with just the date / time in the upper right corner. A few seconds after that, my HP flat screen monitor(s) lose the video signal and display ugly hopping "No Input Signal" boxes.  I'd like to keep the blank black screen (It's less distracting, consumes about as much power, and allows me to unlock faster, as the monitors don't have to re-sync), so Ubuntu should keep driving the video output while the screen is locked.  How can I configure this? I'm using Ubuntu 14.04.3 LTS with the Gnome Classic Fall-back. Graphics card is NVIDIA with the open source Nouveau driver, but I also see this with an external HP NL571AA USB graphics adapter.


How can I view data usage on my home network?

My ISP has a 1TB cap on my usage and we nearly hit that cap or go over each month. I want to be able to see some data on this so I can see what is using the data and what the device/network is calling so much to use all that data. I know this is a complex question but been searching all over. I know I may need a new router to do so but want to be sure I am going in the right direction. I asked them for the usage and they told me it's private and cannot supply it.   Ideally I would like to see which services/domains and how much bytes they are using, but at a minimum see how much each device is using.   Currently Set-Up: Motorola Arris Surfboard (2014) Apple Airport Extrene (2013 maybe)


Find the derivative of $y = \frac{\sqrt[3]{4x^3+8}}{(x+2)^5}$

Can anyone solve 1b?         Find the derivatives of each of these functions.   b. $y = \frac{\sqrt[3]{4x^3+8}}{(x+2)^5}$      I am really confused, I used the quotient rule for differentiation of the chain rule and keep getting stuck.After the $y′=\frac{f′(x)g(x)−g′(x)f(x)}{g(x)^2}$.   so far this is what I have done


What Ray Bradbury story contains a line about autumn burning the land?

What Ray Bradbury story contains the line...     ..."Autumn was burning the land down into winter.  The smoke of the burning, thick, blue, and invisible...."   Since I cannot google it up, I suspect I may remember it incorrectly, but I would bet that it is close to this.


Exception in strange class (generated code)

I am new to a project and are looking in crashlytics for crashes, one of the top crashes have the following stack trace:  Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Map se.domain.android.api.a.b.theMethod()' on a null object reference            at se.domain.android.screen.zerohit.ZeroHitReportFragment.se.domain.android.api.request.MyRequest.zeroHitsRequest(SourceFile:4841)   First of all there are no class with that long package name and line number 4841, and the method is only called private, that seem strange way to get NPE?  So I am thinking this is some generated code? Any one have a clue?


Question: Is it possible to compile a program on linux using a .dll file?  Where this is going: This .dll will be used to write a php extension to some proprietary software from a third party.  Background and Research:  I have been given a library called proprietary.lib.  I was curious, as I have never seen the .lib extension before, so I typed:  file proprietary.lib   The output was:  proprietary.lib:  current ar archive   I did some research and found that ar is more-or-less tar (and in fact, I guess tar has since replaced ar in most *nix environments).  Upon inspecting the ar manpage, I saw the t option, which displays a table listing of the contents of that archive.  Cool.  So I type:  ar t proprietary.lib   And get:  proprietary.dll proprietary.dll ... (snip X lines) ...


I need to see how  $T_n=\sum_{i=1}^{n-1}\frac{1}{n-1}i(n-i){n-1\choose i-1}T_iT_{n-i}$  where $T_n$ denotes number of trees in a complete graph on $n$ vertices.  I have found out that # trees with one fixed edge is equal to  $E_n =\sum_{i=1}^{n-1}{n-2 \choose i-1}T_iT_{n-i}$  however I am not sure how to continue.


My phone is OnePlus 5t. In fastboot mode I flashed TWRP fastboot flash recovery twrp-3.5.2_9-0.img and every time I try to enter recovery mode it just start the original recovery mode that came with the system. But if i enter 'fastboot' and type: fastboot boot twrp-3.5.2_9-0.img the TWRP comes up.... How can I make it automatically TWRP? ty!  Edit: someone send me this:  And this was the problem: Another common mistake after flashing TWRP you must not boot into android. Reboot straightforward into recovery right after flashing, otherwise your custom recovery will be replaced with stock recovery /system/recovery-from-boot.p


The differential equation $u'(x)v(x) + u(x)v'(x) = u'(x)v'(x)$

What are all solutions to the differential equation  $$ u'(x)v(x) + u(x)v'(x) = u'(x)v'(x) $$  Where the derivative is with respect to $x$.


I can not boot Linux in my ASUS x507u laptop

Whenever I boot Linux in my ASUS x507u laptop, I can not shut it down. This infinite loop keeps going on.  I have to force off my laptop with power key. After 3/4 days the laptop becomes so slow. That's why I updated my Bios and tried to boot again by disabling graphics card. But it did not boot and this loop showed up again. So I did not try to boot it anymore. Any solution? I don't want to use Windows anymore.


Let X and Y be normed spaces and let operators $A,B\in L(X,Y)$ continuously invertible (exists $A^{−1},B^{−1}∈L(X,Y)$). Prove that if  $$\Vert B−A\Vert\leq \frac{1}{2\Vert A^{−1}\Vert},$$ then $$\Vert B^{−1}−A^{−1}\Vert\leq2\Vert A^{−1}\Vert^2\Vert B−A\Vert.$$  I have no idea how to solve this problem, can anyone help me please?


Placement of images in row using subfigure

I want to put four figures in a single row. The code I am trying to use is taken from .  This puts three figures in a row. When I add a fourth one, I get three images in row and the last one appears in the second row. But I want all of them in one row. Here is my code.  \documentclass[12pt,twoside]{report}% Use this line for the print version of the thesis   \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document}  \begin{figure}         \centering         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{gull}                 \caption{A gull}                 \label{fig:gull}         \end{subfigure}%           \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{gull}                 \caption{A gull2}                 \label{fig:gull2}         \end{subfigure}%          ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.           %(or a blank line to force the subfigure onto a new line)         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{tiger}                 \caption{A tiger}                 \label{fig:tiger}         \end{subfigure}         ~ %add desired spacing between images, e. g. ~, \quad, \qquad etc.           %(or a blank line to force the subfigure onto a new line)         \begin{subfigure}[b]{0.3\textwidth}                 \centering                 \includegraphics[width=\textwidth]{mouse}                 \caption{A mouse}                 \label{fig:mouse}         \end{subfigure}         \caption{Pictures of animals}\label{fig:animals} \end{figure} \end{document}   As I have mentioned above, it works for three figures.  But I can not use it for four figures. What should I change?   What does  width=\textwidth mean?   I changed    \begin{subfigure}[b]{0.3\textwidth}   to  \begin{subfigure}[b]{0.2\textwidth}   but it didn't help.  Then, I changed     \includegraphics[width=\textwidth]{mouse}   to  \includegraphics[width=0.5\textwidth]{mouse}   Still no solution.


Send custom data when Salesforce is a SAML SSO identity provider

We configured Salesforce as an Identity Provider for an External App.  We want to be able to make Idp-Initiated SSO and send custom attributes with the SAML Message, for example the Case or Account ID the user is working on.  However,    In the SAML connected app we are only able to send user/system data. Tried also to add parameters to Idp Start URL attribute1=value1&attribute2=value2... it doesn't relay custom parameters to resource provider.   Did you face a similar requirement ?  What is your recommended approach to send Salesforce data in a SAML Assertion ?  Thanks a lot


How can I reduce the glare when recording the occupant of a vehicle driving towards the camera?

A scene in this video for school necessitates a shot of someone driving towards the camera under varying light conditions. How can I reduce the glare on the windshield? It's very hard to get a clear shot, especially if the headlights are on.


The definitions between on- and off-shell are given in .   Why is it so important in QFT to distinguish these two notions?


I was working on a logo design for a client in Illustrator CS4 when suddenly the default brushes were no longer there. The brush files are still in place but they do not show up in the brushes panel. The options to show the brushes by type are checked but greyed out.   I tried a preference reset, that didn't fix it. I haven't tried any new brushes because the brush I needed was in the stock set. I know its bad form not to try everything but I needed one of the stock brushes to tweak an existing design.


Why does an oscillating mass does not produce gravitational waves (in contrast with an oscillating electric charge)?

I would like to gain insight about this question. I have read it is related with the conservation of momentum, but cannot really differentiate it from the oscillating charge. The monopole radiation and how it would be produced seems quite intuitive for me, on the other side: a mass (or charge) appearing and disappearing.


Is yamato dead? If not what happened to him. We saw him being taken prisoner by Kabuto and then we never see or hear from him again, even with Kabuto defeated we see no mention of him. So what happened to him?


Force responsible for increasing a spiraling object's tangential velocity

Suppose we have a small mass attached to a string that has been fed through a hole in the friction-less table on which the mass is rotating. Pulling the string downwards thus decreases the radius of the mass's circular motion.   In this scenario, several things seem to be true:   The system's angular momentum is conserved. The kinetic energy of the mass increases as the radius of its circular motion decreases.  Pulling on the string does work, which is presumably translated into the kinetic energy gained by the mass.    It would appear that the object is in circular motion at any given instant, which implies that the tension force provided by the string is always perpendicular to the velocity of the mass. But what force or force component is then responsible for increasing the tangential velocity of the mass as the radius decreases?


I add a class to div and want to use this added class as condition, but it seems, that it doesn't work:  Here is the code:
Knock

Say hello
   $( ".knock" ).click(function() {     $( ".msg" ).addClass( "sayhello" ); });  $( ".msg.sayhello" ).click(function() {     alert("Hello!"); });   The codepen:


Calculate voltage in circuit with capacitor

I have a circuit where I have a capacitor (2F) in series with a resistor (1 Ohm) and a voltage source (v(0) = 10V). Now I am supposed to calculate v(t) for different t, like t=1s, t=2s and so on.   How do I do that? Is there a formula available for this? I need some ratio between the Farad of the Capacitor and the time it takes for it to load i guess...


Safari icon from iPhone showing in macOS Dock

Just now a Safari icon appeared to the left of my Dock with a tooltip saying it was from my iPhone. I have never seen this before! What is the point of it, why has it appeared today for the first time, and why has it now disappeared again?


I need a regex to find all matches for my pattern.  The text is something like this:  "someother text !style_delete [company code : 43ev4] between text !style_delete [organiztion : 0asj9] end of line text"   And I would like to find all matches for the pattern:   !style_delete [.*]   I have tried like this:  Pattern pattern = Pattern.compile("!style_delete\\s*\\[.*\\]");   With this the match text is coming like this:  !style_delete [company code : 43ev4] between text !style_delete [organiztion : 0asj9]   But I am expected as follows:  match 1 : !style_delete [company code : 43ev4]  match 2 : !style_delete [organiztion : 0asj9]   Please help me, what will the regex in java to get above output.


Download graphics driver in ubuntu 20.04

How to download graphics driver for Intel G41 express chipset in ubuntu 20.4?


Why is http://teststackoverflow.com/ in an iframe below Meta's footer?

I was just browsing Meta Stack Overflow, when I found this <iframe> hiding below the footer:        Could someone explain why  needs to be embedded at the bottom of the page?


How to avoid rasterized vector to cover minimum area?

I rasterized vector data(Lines) with QGIS. The resulting raster covers minimum area, but actually I want it to cover more area for my purpose(See image).  How can I make the resulting raster data cover more area specifically ?


How to evaluate this logarithmic integral?

$$ \displaystyle \int_{0}^{1}\dfrac{\ln(x)\ln(1+x)\ln(1+x+x^{2})}{(1-x)(1+x^{2})}\,dx$$ I posted this on I&S but there was no response , so posting it here. Wolfram gave $-0.223434$, can it be evaluated in terms of special functions functions?


Suppose $A$ is a 2 x 2 matrix, prove that if $A^{3} = 0$, then $A^{2} = 0$  I was given this equation as a hint:  $$A^{2} - tr(A)A + det(A)I = 0$$  where $tr(A)$ is the sum of the diagonal entries of $A$.  My attempt:  $$A^{2} - tr(A)A = -det(A)I$$ $$A(A - tr(A)) = -det(A)I$$ $$A[-\frac{1}{det(A)}A(A - tr(A))] = I$$ $A$ is invertible, thus $det(A)$ is not equal to $0$. Multiplying $A^{2}$ to both sides of equation 2:  $$A^{3}(A - tr(A)) = A^{2}(-det(A)I)$$  Since $A^{3} = 0$ and since $-det(A)I$ is not equal to $0$, then $A^{2}$ must be equal. QED.  Is this proof correct?  EDIT: There seems to be a similar question, but my question is more specific in that I have to use the equation given in the hint.


Is it grammatically correct to use his, her, or his/her?

I've always thought that using the word "his" as a gender-nonspecific pronoun has been acceptable; in recent years, however, I've been told off by people when I do this, saying it is now "politically" correct you use "her" for a gender-nonspecific pronoun. I've always have, since these occurrences, used "his/her" (or "his or her") instead, though I am now pondering which of these to use, for I am currently writing a paper, and have no idea which pronoun to use; the "his or her" seems a little clunky, and I would much rather prefer an alternative.  This is not a duplicate of , because I am asking which is generally accepted; also I am unable to use the word "one," as my paper should be understood by little ones. I already know that the use of the singular "they" is frowned upon (by English professors, both mine and others'), and that using a plural noun doesn't work for a good deal of my sentences that encounter this problem.  Any clarification is appreciated!


How to check that SObject field is present in SOQL query

When you try to attempt to the field that not present in SOQL query, you get error like that:     System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Opportunity.Account   AnonymousBlock: line 5, column 1   How I can to check that the field field is present in SOQL query?


I have the following equation:  \begin{equation*} \left\{  \begin{array}{ll} {\small -\dfrac{2S_{1}^{f}\left( \mathbf{z}_{\left( j,l,m\right) }\right) + S_{1}^{2f}\left( \mathbf{z}_{\left( j,l,m\right) }\right) +2f}{2f\left( f+1\right) }}, & {\tiny i\in UC_% _{\left( j,l,m\right) }} \end{array} \end{equation}   This equation is very wide and I want small it. How can I do it?  The code {\small $some formula$} works for the formula among the text.


trying to get calculator and RSA calculatin does not make sense

got two question, I am novice in the area of crypto and currently in big learning curve.  From crypto book I am going over with, I see the RSA algorithm example as follows:  it chose two rand #-s: p=47 q=71 n=pq=3337 and (p-1)(q-1) =3220 Now it chose e - encryption key as randomly for 79 but when it calculates the d the answers simply does not match:  From the book notation I understood the formula as: d = 79^(-1) mod 3220 = 1019  So I am wondering is it really 79 to the power of minus 1? 79^(-1) Then no matter what i do, I can not get 1019 as answer.   Second one, this is not directly related to cryptography but will ask here, I was trying to find a good android calculator to do a number crunching to checkout some of the crypto algorithms but so far did not find a decent one. I tried several of them from google store but all of them has some issue. Since i am doing algorithms related to crypto, looking for the one with MOD (%) and number E (exp(1)) but so far can not find one. I even found the virtual replica of good old TI 83+ and learned that one even has not have mod function (although it is possible to program the mod). So I thought may be one of you guys are using suitable calc?


Installing Microcode for dummies new install of Ubuntu

When I try to install Ubuntu I get a TSC_Deadline due to Errata error stating that I need to update to microcode 0x22 or later. Then the install gets stuck on the splash screen.   I have read a lot of post on this and they are all Greek to me. I am a very comfortable windows user with no Linux experience so I need the answer to be written for a 10-year-old.  Much of what is written appears to refer to updating the microcode using Linux code but I cannot get it installed so I cannot fix it using Linux. And I have no idea what GRUB is which seems to be important in this discussion.   I appreciate your time in helping get this fixed.   I'm not sure what computer info you need to help with this but have an Asus machine running Windows 10 with an i5 intel chip. Please just let me know what other info you need. Thanks again. Paul


Can someone explain this template code that gives me the size of an array?

template<typename T, size_t n> size_t array_size(const T (&)[n]) {     return n; }   The part that I don't get is the parameters for this template function. What happens with the array when I pass it through there that gives n as the number of elements in the array?


What's the difference between adjusting highlights and shadows in the basic panel and in the tone curve in the Develop Module of Lightroom?

I wanted to reduce some highlights in a photo and found that there were two possible ways of doing so: one from the basic panel and another from the tone curve. when I reduce the highlights in one pane the value on the other is unchanged. Are both of them the same thing? Which would be better?


What function satisfies $F'(x) = F(2x)$?

The exponential generating function counting the number of graphs on $n$ labeled vertices satisfies (and is defined by) the equations $$ F'(x) = F(2x) \; \; ; \; \; F(0) = 1 $$ Is there some closed form or other nice description of this function? Does it have a name?    Of course, the series itself does not converge for any nonzero $x$, but like the Lambert W function (counting trees) it has combinatorial meaning. And the Lambert W function has a nice description as the inverse of $x e^x$; maybe there is a similar description of $F$?


If a large star goes supernova, but not enough mass collapses to form a black hole, it often forms a neutron star. My understanding is that this is the densest object that can exist because of the Pauli exclusion principle: It's made entirely of degenerate matter, each particle of which cannot occupy the same quantum state of any other.  So these objects are so massive that they gravitationally lens light. If you make them more massive, they bend the light more. Keep going and going until they bend the light so much that light passing near the surface can barely escape. It's still a neutron star. Add a bit more mass, just enough that light passing just over the surface cannot escape. Now it's a black hole with an event horizon (I think?). Does this mean the neutron star has become a singularity? Isn't it still just a neutron star just beneath the event horizon?  Why are black holes treated as having a singularity instead of just an incredibly massive neutron star at its center? Does something happen when an event horizon is "created?"


I've read the , and I don't get it. I am really interested, but I've read the explanation there a couple of times and I still don't get it how the Duff's device works.  What would a more detailed explanation be?


Can user accounts be managed via the command line?

Is there any way to add, remove, or modify user accounts via the command line? I'm not talking about an account for a system process or daemon, I mean is there any way to add a user account, change, user real names, icons, FileVault protection, Admin/normal/limited user status, and basically do everything else that can be done in the System Preferences Users preference pane, but via some command line utility?


Why is sizeof (class with character variable) anomalous in C++?

Consider the following code:  #include <iostream> #include <conio.h>>  using namespace std;  class book  {      char Title;     int no_of_pages;  public:      void read();      void show();  };   int main() {     book ob;     char Title;     cout << sizeof(book) << " " << sizeof(Title) << endl;      getch();     return 0; }   The output of the code is      8 1   If I change the definition of 'Title' in the class to following:     char Title[5];   and the main() 'Title' to     char Title[5];   the output changes to:     12 5   To see if this is something which is done to all string variables in the program, I used the 'Title' in main(). But, the pattern is apparent for a string declared in a class.  For the sake of completion, the pattern is :      Size of character array is taken to be the least multiple of 4 greater than the actual size of array   Question: Although I understand it is implementation dependent, does anyone know or can suggest a reason for this behaviour of C++ 11?  My compiler is VS 2012, for 64-bit Windows.


What's the "right way" to restart services in 11.10?

I have a stack of things I used to do when my wireless was spazzing out (which it seems to do from time to time), including running sudo /etc/init.d/networking restart but lately I'm getting this when I run it:     *Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces`   So ... what am I supposed to do instead?


How can I reset $PATH to its default value in Ubuntu?

I accidentally unset all the directories of $PATH while trying to add a new one in ~/.bashrc. I opened a new terminal window as I was editing and now $PATH is empty. I'm worried if I boot from another drive to find the $PATH I won't be able to boot into this drive again.  Basically, what is the default result of echo $PATH?


Scifi anthology series episode, movie, and book about a man whose dreams change the world

I saw a science fiction anthology series episode in which when a man manipulated by a doctor, I think a psychiatrist, slept and dreamed he would wake up to a world affected by what he had dreamed.  When I saw it, I looked it up and found that it was based on a book, and that a movie had also been made based on it.  I cannot remember the names of any of them.


Reading the solution to  got me thinking.   How can I graphically display a SQL query?   It doesn't need to be cartographic quality. A sketch for debugging  purposes would be sufficient.  For example, this SQL is in the accepted solution:  SELECT  ST_Touches(temp.point1, temp.point2) as geom_touches , ST_Intersects(temp.point1, temp.point2) as geom_intersect  FROM (  SELECT * FROM  ST_Buffer(ST_Transform(ST_GeomFromText('POINT(-105.05083 39.74823)', 4326), 2877), 1500) as point1 , ST_Buffer(ST_Transform(ST_GeomFromText('POINT(-105.04428 39.74779)', 4326), 2877), 1500) as point2   )as temp   How could I draw ST_Touches() and ST_Intersects() - the geometry,  not the boolean?


Looking for a young adult book I read in my high school library in Toronto, Ontario, Canada, back in the early 1990's about a teenager who makes three dragons out of paper mache, and they come to life and attack him.  I have looked all over and cannot find out anything else about this book, author unknown, title unknown.


Can YOAST SEO fields be removed from custom post type

The Yoast SEO plugin is great, but it seems to appear in more places then wanted (columns, custom post type pages, etc.). I want to remove this option because as it stands even when I ignore the fields if I save my custom post type I get several fields added to my database.  _yoast_wpseo_google-plus-description _yoast_wpseo_linkdex _yoast_wpseo_opengraph-description _yoast_wpseo_redirect _yoast_wpseo_canonical _yoast_wpseo_sitemap-html-include _yoast_wpseo_sitemap-prio _yoast_wpseo_sitemap-include _yoast_wpseo_meta-robots-adv _yoast_wpseo_meta-robots-nofollow _yoast_wpseo_meta-robots-noindex _yoast_wpseo_metadesc _yoast_wpseo_title   So the goal is to not have them appear on the admin page at all so that they are not entered as values. Thanks in advance for any help with this


How to run "sudo apt-get update" through proxy in commandline?

In my office i want to update and download through (wget) and here they are using proxy?  How can i do this by commandline?


I'm working in this exercise:  Find $$\lim_{n \to \infty} \frac{1}{n+1}+\frac{1}{n+2}+\cdots +\frac{1}{2n}.$$   I'm thinking about partitions and seeing this like an integral but I don't know which limits of integration should I use, maybe $0$ to $1$ since it's kinda close.  Any help is appreciated.


Is HP Envy TouchSmart 4-1210sg notebook compatible with Ubuntu 14.04.4 LTS?

Is my Hewlett Packard Envy TouchSmart 4-1210sg notebook compatible with Ubuntu 14.04.4 LTS?  Thank you for your help.


Can I leave a garden hose under pressure for long periods of time?

Is it okay to leave the water pressure on using a garden hose and turn the water off by just the sprinkle nozzle? My water faucet is difficult to get to.


I cannot find the first usage of "start from scratch" as start from nothing

it seems that everybody believes it is "start from nothing" but I cannot pinpoint the start of this usage. I used both OED and A dictionary of English etymology by By Hensleigh Wedgwood ...


I am actually trying to study homomorphic encryption (on lattices) but I'm facing a problem. Every paper that I have read so far talk about writing the function to evaluate on ciphertexts as a circuit, either boolean or arithmetic according to our scheme if I understood this part well. My problem is that I couldn't find explicit documentation on how to turn a function to a circuit.   Especially, in circuits, we can't have loops or conditions and I would have liked to apply my FHE scheme to the weights of a neural network, but I'm kinda stuck on how to represent the activation function (I think I would use the sigmoid, that can be represented with its Taylor expansion) and simple gradient descent.  Does anyone have a clue or a good paper to help me understand how to write such functions to circuits?


Texstudio - Spellchecking not working within [ ] brakets with \autocite

In a somewhat similar problem as in  in Texstudio spellchecking does not work when I use \autocite.  Here is a MWE to show what I mean  \documentclass[12pt,a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage{lipsum} % just for dummy text \usepackage[notes, backend=biber, bookpages=false]{biblatex-chicago} \usepackage{filecontents}  \begin{filecontents*}{\jobname.bib} @book{book1, address = {Anytown}, booktitle = {Example book}, pages = {5}, title = {{Any book you want}}, year = {2000} }  \end{filecontents*}  \addbibresource{\jobname} % if you’re using biblatex \begin{document}  \lipsum[1]\autocite[Transcript of Letter from Mr A to Ms B with some mispelledd texte, p.89]{book1}  \end{document}   For some reason the misspelled text in the \autocite[mispelledd texte]{citekey} does not show up in the spellchecker. I have the biblatex-chicago.cwl ticked in the completion tab of configure TexStudio as per  but it has had no effect. I have english-gb dictionary loaded in Texstudio.  My question is that is there any way to enable spellcheck for \autocite?


I am trying to make the infinity stones and I am struggling to make them glow.   since the solution involves creating a duplicate of the object scaling down and making it emit light. This ruins the transmission shading of the original object.  In  the films they emit a strong light from their cores. I want to animate them spinning in a circle so the glowing effect must be done in blender. I am currently using an hdr to light them. (using a gtx 960m chip so the less taxing the better).


create and name vertex groups, assign weights

I tried to google for quite some time, but the results are mixed and the documentation is quite sparse on this one. I need to add 2 sets of vertices to 2 vertex groups, assign a weight of 1 and name them. After selecting my object based on it's name here's what I have - import bpy  bpy.ops.object.editmode_toggle()      indices = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 30, 33]    vertices= [e for e in bm.verts] oa = bpy.context.active_object #group = bpy.context.object.vertex_groups.new(name = 'Left' )  for vert in vertices:     if vert.index in indices:         vert.select = True              else:         vert.select = False           bpy.ops.object.vertex_group_assign_new()                   #selecting right half (to snap cursor, create empty and vert group)  indices = [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32]    vertices= [e for e in bm.verts] oa = bpy.context.active_object  for vert in vertices:     if vert.index in indices:         vert.select = True     else:         vert.select = False          bpy.ops.object.vertex_group_assign_new()          bpy.ops.object.editmode_toggle()  I couldn't figure out how to assign the verts, weights, name the vert group in one go, and for some reason the 2 vert group assignments do some strange things when used together. Anyone any tips for a newbie? Cheers, Dan


I can't install any apps on Aquaris M10 as my ubuntu one login seems to fail

I've tried logging in on the accounts page and after clicking install in the app store. I've checked/changed time settings. I have this problem with both OTA 10.1 and the rc channel.


android null pointer exception when adding custom marker

When i am trying to add custom marker it throws NullPointerException,   java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.maps.model.Marker com.google.android.gms.maps.GoogleMap.addMarker(com.google.android.gms.maps.model.MarkerOptions)' on a null object reference   Here is my map activity    public class GoogleMapActivity extends AppCompatActivity        {           double latitude, longitude;          GoogleMap map;         protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_google_map);         SupportMapFragment mapFragment = (SupportMapFragment)getSupportFragmentManager().findFragmentById(R.id.map);         mapFragment.getMapAsync(this);      }       private void getCurrentLocation()       {      Location location = LocationServices.FusedLocationApi.getLastLocation(googleApiClient);         if (location != null) {             //Getting longitude and latitude             longitude = location.getLongitude();             latitude = location.getLatitude();             moveMap();         }       }     private void moveMap()     {         LatLng latLng = new LatLng(latitude, longitude);              map.addMarker(new MarkerOptions()                      .position(latLng)                     .draggable(true)                     .title("Current Location"));              map.moveCamera(CameraUpdateFactory.newLatLng(latLng));             map.animateCamera(CameraUpdateFactory.zoomTo(15));           }      @Override     public boolean onCreateOptionsMenu(Menu menu) {         getMenuInflater().inflate(R.menu.googlemap, menu);         return true;     }      @Override     public boolean onOptionsItemSelected(MenuItem item) {         int id = item.getItemId();         if (id == R.id.action_search) {             getCurrentLocation();             moveMap();          }         return super.onOptionsItemSelected(item);      }   }   How can i fix this problem?


How do I remove the requirement of being root for modifying a certain directory?

If I execute ls -al, i get:  drwxr-xr-x 14 root   root    4096 Jan 16 02:15  <dir-name>   But I want:  drwxr-xr-x 14 <user> <user>  4096 Jan 16 02:15  <dir-name>


I would like to slim a cuboid with the base of the heart. I want to slim it down only in relation to the X and Y axes by exactly 0.4 mm. I would like the edges of the new and old hearts to be 0.4mm apart. The scaling operation does not do what I would like. Gaps of various widths are created. I wish the gaps were 0.4mm wide everywhere. I attached a picture from another program because it was easier for me to show my problem. The picture shows what I don't want to get. Does anyone have an idea how to efficiently modify an object the way I would like?


Editing the same post twice in First Posts or Late Answers takes me out of the queue

On a site where I have less than 2k reputation, I suggested an edit to a post in the First Posts or Late Answers queue. The first time I click the Edit button under the post and then save my edits, everything works as it should. But then after I've submitted my edit, I noticed that I missed something in my edit. Then I clicked on the Edit button again to edit the things I've missed. When I clicked Save Edits again, it took me out of the review queue to the question page.  I also tested this on a site where I have more than 2k reputation, and everything works fine there.  Steps to reproduce:   Review First Posts or Late Answers on a site where you have less than 2k reputation Suggest an edit to the post and submit your edit by clicking the Save Edits button Click the Edit button again on the same post after submitting the edit Do some more changes to your edit and click the Save Edits button again You will find yourself on the question page outside of the review queue


Humans abducted and sold as gladiators/slaves?

I'm looking for a story where a small number of humans and members of alien species are abducted by alien slavers. I believe they had canine or feline characteristics. I don't recall how it happened, maybe the slavers were betrayed by their employers, but in the end the slaves and their captors were thrown into a large arena of sorts and were being hunted. It was very Hunger-Games-esque. The humans slowly formed a kind of friendship with one of their former captors, although I believe he ended up dying. I don't remember how the story ended.   Two very specific things I remember:   The food intended for the slaves aboard the spaceship was color-coded according to species.   The slaver aliens follow some strange code of honor that forbids them from using ranged weaponry in personal combat. When questioned why they carried guns aboard their ship, they explained to the humans that they did not intend to use them to kill, but considered them tools for herding cattle.


it says this on the bottom right of my computer,  its says ''this usually means that you installed packages that have unmet dependecies.''  I did Run df -i in terminal and it gave me this :   udev            214773    487  214286    1% /dev tmpfs           219974    657  219317    1% /run /dev/sda1      9740288 443560 9296728    5% / tmpfs           219974      1  219973    1% /dev/shm tmpfs           219974      5  219969    1% /run/lock tmpfs           219974     15  219959    1% /sys/fs/cgroup tmpfs           219974     21  219953    1% /run/user/1000   If I try  apt-get update I get this :   E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?    Last thing I tried was : sudo apt-get purge libreoffice-core  It said :   The following packages have unmet dependencies:  dh-python : Depends: libdpkg-perl but it is not installed


LaTeX commands like this:  Here again, four different simulations are run on networks of size  $C^{G} = 25 \times\ 25 = 625$, $C^{G} = 50 \times\ 50 = 2500$, $C^{G} = 250 \times\ 250 = 62500$, and $C^{G} = 500 \times\ 500 = 250000$...   When compiled generate the following:    The spacing in math mode really irritates me. There's too much white space around the equal sign, and the multiplication sign has more right padding than left padding. Is there any way to reduce this spacing?


Is there a way to cast 2  or 3 abilities(spells) in a row with pressing 1 hot key only?


What does it mean for a cone's point of origin to be included or excluded in the cone's area of effect?

As part of the definition of a cone spell in the handbook:     A cone's point of origin is not included in the cone's area of effect, unless you decide otherwise.   As an example, what would either case be for a casting of Burning Hands?   Could the caster include themselves? or does this mean that they can exclude the first square of the cone?


How to make ubuntu 18.04 default boot in grub, instead of 14.04

I installed 18.04 after 14.04. The default grub entry was 18.04 and 14.04 was displayed below. After a 14.04 update, things changed.  Instead of booting into 18.04 advanced options and choose the first kernel before last and then remove the last linux image and headers, reboot again in ubuntu 18.04 and make an update to the last kernel.... I tried to delete the unused linux image and headers hoping that will do the job. It didn't.  I tried 'sudo update-grub' in ubuntu 18.04 and then reboot, but no change. (I use 18.04 ubuntu-mate and 14.04 ubuntu).  Is there a way to put 18.04 as default, besides waiting for a new kernel update in 18.04?


Crontab not running all @reboot services

In my raspberry I'm using the following crontab to start two services at startup. The first one works fine but the second one doesn't (even though it works fine when I launch it manually). Any suggestions what could be causing this are highly appreciated.  # m h  dom mon dow   command 0 * * * * python pythonprojects/temperature_sensor/read_temperature.py @reboot             sudo /usr/local/bin/pigpiod @reboot             sudo /usr/bin/autossh -M 20005 -N -T -R22222:localhost:22 -i ssh-ec2/ec-key.pem ec2-user@xx.xx.xx.xxx


Bathroom emergency when seatbelt sign is lit?

By US federal law (or maybe regulation? not sure which) it is not allowed to use the bathroom or get out your seat while the seatbelt sign is lit.  Thank god, it has never happened to me, but what if there is a diarrhea emergency when the seatbelt sign is lit? Assume that the flight attendant tells me to "get back in my seat" if I rise to try to use the bathroom. In that situation should I just crap in the seat? My guess is that the neighboring passengers will not like flying for the next 6 hours smelling my diarrhea, and I certainly will not like sitting in my own diarrhea for 6 hours.  Note that this can be a concern especially when the plane is stuck on the taxiway. Sometimes, while waiting to takeoff, the plane can be stuck on the taxiway for 30 minutes or more.  The problem may also affect parents who are traveling with children.


G/H is Hausdorff implies H is closed (General topology, Volume 1 by N. Bourbaki)

I am reading General topology, Volume 1 By Nicolas Bourbaki. I refer to the proof of . Could someone kindly explain the G/H Hausdorff $\implies$ H closed part of the proof? I understand that $H$ is an equiv class for the relation $x^{-1}y \in H$ bit, but I am failing to see how the Hausdorffness relates to $H$ being closed. I am also trying to understand the converse part of the proof which I think I'd be more successful in doing so if I understand the first part first. I am trying to self-learn topology, and I apologize for the stupidness of my questions on this site. Thanks in advance.


Why is a prediction interval wider than a confidence interval for values of the predictor?

I have this graph that depicts PI being larger than CI for values of 14.5 and 24 for the independent/predictor variable. CI take into account regression coefficients, which are estimates. The PI has true error, which I am not sure what that means or where that comes from. Is that the noise captured in epsilon? Why is the PI larger than the CI?


Macbook Pro 2014 doesn't recognize internal display

I have a Macbook Pro mid-2014 running macOS Catalina 10.15.3  A few years ago, I dropped it, and broke the screen, then bought a replacement screen and repaired it myself.  Until today, I had no problems with it (except for a minor bug, which I asked about in ).  Today when I turned my mac on, the internal display does not turn on, but the two external monitors I use work fine.  The internal display is not shown in the display settings, nor in system information -> hardware.  What I've tried:   NVRAM reset disconnecting the battery from the motherboard, and all cables that are connected to the internal display, then reconnecting a full reinstall of the OS   I've also tried a plethora of other suggestions, but I don't think they are relevant.  After a bit of research, I suspect the "logic board" might be damaged, but I don't want to spend the money for replacement parts without being certain.     What can I do to diagnose this problem? Is there anything else I can try?


StackOverflow not showing question list and shows incorrect number of tagged question count

I'm a regular user of StackOverflow. When I today logged-in to StackOverflow the question lists are not showing and the total question count for iOS tag is showing as zero.    I refreshed many times and it is not showing me the data. Please help me, thanks in advance.  Additional information:  I'm using Firefox with version 22.0. (The same was working for me till yesterday)  I checked it for Meta, but it is working correctly for Meta StackOverflow, I have the issue only for StackOverflow.


We are currently under attack on one of our servers at a datacenter in Chicago.   1 gbps (peak) 600mbps average UDP flood port 80 (incoming) Consumed 20 TB bandwidth in 2.5 days   We have 50TB of bandwidth per month on this server and paying for the bandwidth is not an option (pricey).  Our host offers a protection plan for 1gbps attacks for $800/mo and $750 setup.  This is a lot of money but seems like the only option at this point to keep the website alive. The attack may only last a few more days.  Is there another host that has DDOS prevention built in or is there a more cost effective way of handling this? In a jam right now. Do we really have to pay for our servers plus $800 per month from now on just to prevent future bandwidth eating DDOS?  I am a small business that can barely afford this service (and still be profitable) but I can't imagine how scared I would be if this service could not be afforded.


How do I list the conjugacy classes of $D_n$?

I know that a conjugacy class looks like this:  $C_y = \{x \mid x = g^{-1} y g \}$ where $g, y \in G$  I also know a dihedral group looks like this:  $D_n = \{e, b, b^{2}, ..., b^{n-1}, a, ab, ..., ab^{n-1}\}$  How can I therefore list all the conjugacy classes for the general case?  Naive me just wrote this down as the answer:  All distinct $C_y = \{x | x = g^{-1} y g \}$ where $g, y \in D_n$  Well... that's not very useful. I'm just not sure what I'm supposed to do to answer the question satisfiably.  Here's the original question:


Refusal of a UK Standard Visitor Visa (no economic ties)

I have applied for my mother to visit me and my children in the UK for six months and the application has been refused.   The decision     I have refused your application for a visit visa because I am not   satisfied that you meet the requirement of paragraph(S) 4.2, of   Appendix V: Immigration rules for visitors becuase;      You state you will visit your daughter a British citizen, in the UK   for six months. You have provided a letter from your sponsor stating   that you are her 'biological mother', however  you have not provided   any evidence you are related as claimed and when your sponsor applied   for entry clearance in November 2004 she stated that her mother was   HAJIA GRACE JONES.       I acknowledge your sponsor proposes to pay for your visit, however, it   is the circumstances of the applicant that remain paramount when   assessing your application. You have provided no evidence regarding   youur own circumstances in NIGERIA such as evidence of income, savings   property or other assets. It is your responsibility to demonstrate   that if granted entry clearance, you will comply with the terms of   your visa and have the intention to leave. I consider you have failed   to demonstrate economic ties in Nigeria.       I acknowledge you have previously travelled to the UK however this was   in November 2011, over four years and I am required to assess your   circumstances as demonstrated in your current application.      The above facts combined means I am not satisfied that your   circumstances are as claimed. I am therefore not satisfied that you   are a genuine visitor and will leave the UK at the end of your visit.   Your application has been refused under paragraph V4.2 (a)and (c).      Future applications Any future UK applications you make will be   considered on their individual merits, however you are likely to be   refused unless:         Your personal circumstances change significantly between now and your next application   you provide compelling new evidence with your next application         in relation to this decision there is no right of appeal or right to   administrative review.   Please Note My mother is 68 years of age and was self employed but retired now. Her finances come from us her children abroad which was stated in the application but provided her bank statement with approximately £1000 equivalent savings. She does not have any dependants back home but often takes care of her grandchildren who visit her frequently.  An error was made in regards to her origin, stating NIGERIA instead of Ghana and the Surname Jones was our dads surname which she used previously. My mum travelled to the UK in 2011 with the same passport she submitted bearing the same surname (Adam) which is her dads surname.   My question is that the refusal was given to her today and I want to reapply again hopefully tomorrow however, I do want to address the concerns raised in the refusal letter which I stated earlier