I have read their documentation, but I still don't get when to use each of them and their difference.  Let's consider the situation of having a general string in a variable and needing to echo it inside HTML code. If it has any HTML markup in it, I want it converted to HTML code (< replaced by &lt;, & replaced by &amp;. If it has UTF special chars that aren't available in HTML code, it's replaced by HTML number (• replaced by &#8226;).  What's the best function for that?  A harder need: unprintable chars, like \n, char(10), char(13), etc, be replaced by their number code, in the case the string is printed inside <pre> or any special textarea so that the string be dumped.


Is 100 hours per year of teaching a heavy load for a lecturer?

I have recently been appointed as a  in a scientific department. This is a permanent position. The responsibilities of the position include: teaching, conducting high level research, administration tasks, mentoring and supervising students. The teaching load is 100 hours/year, which I found a little bit excessive.  My question is: are 100 hours of teaching a heavy load or is this common in academic institutions (universities)? In particular, scientific departments (chemistry, mathematics, physics ...).


Is 'please tell me how can I help you' grammatically correct?

Is it the right way to ask if someone is asking for your help?


I'm using Blender 2.76, with Cycles renderer.   I'd like to build a model of a thin opaque plate with glass beads embedded in it, with light shining through the glass. I know how to create the plate, the light, and the glass pieces. What functions should I look into as a way to put the glass in the plate so the hole exactly fits the glass?    Here's an image of the pieces. I duplicated the glass piece and simply moved it to coincide with the opaque plate.


How to write Stirling numbers of the second kind?

What is the best way to write a ? Isn't there any standard command in LaTeX? For example, a command \binom is for binomial coefficients.  In the wikipedia article on Stirling number of the second kind, they used \atop command. But people say \atop is  recommended.


How to prove the divergence of the sequence $(n!)^{1/n}$

How to prove that $(n!)^{1/n}$ tends to infinity as $n$ tends to infinity ?


Can I use an Xbox 360 controller to play Xbox One?

So I broke my Xbox One controller, and while it is easy enough to go out and buy another, I have a couple of Xbox 360 controllers.   Is there any way to use an Xbox 360 controller to play Xbox One?


How can I fix ubuntu winboot wubildr.mbr missing error?

I have installed Ubuntu 12.04 (64 bit) operating system. It supports uefi so I installed it like a normal dual booting now (not like Wubi).  When I try to load Windows 8 it works fine. But when I try to run Ubuntu, I get the following error:  ubuntu winboot wubildr.mbr missing   How to fix the Ubuntu boot-loading issue?  UPDATE: I have tried bootinfoscript on my lap and this is the URL:


ASUS X302UV compatibility with Ubuntu 17.10 Artful Aardvark

I'm about to purchase a new laptop and -R4023D seems to be the best option for me. Mine will be:   i5 6200U 1TB HDD 5400 GeForce® 920MX with 2GB DDR3 13.3" 16:9 Full HD (1920x1080) DDR3L 1600(O.C.) MHz SDRAM - 8 GB   I need a laptop for hard browsing, business tasks (using messengers heavily), media entertainment (watching HD movies offline and online).   I'm going to test Artful Aardvark on this model with my USB flash at the local shop. However, it's scheduled on Saturday. Before this I'd like to have your advice. Maybe, someone used this laptop with Ubuntu. Did you have any issues?  I've checked the model's nVidia video-card - it does have drivers for Ubuntu. I also searched askubuntu and saw there are touchpad issues with other Asus X-series laptops. Anything like that in X302U?


Can you debate a mod if they make an edit on your question?

A mod changed a few spellings on one of my questions that I don't agree with. Where is the best place to discuss this with him?


Allow adding a custom reject reason when marking an edit as "Reject and Edit"

Since we are rejecting their edit, we should still be able to add a comment to the reject reason when reviewing a suggested edit as "Reject and Edit".  For example, take  which attempted to add a <!-- language --> comment to the post. He put the comment at the beginning of the post, which means the comment doesn't do anything at all (I tested, it didn't get used). The comment has to be placed directly above the code block it affects.  This means I had to go in and improve the edit just to move it to a different spot. I chose "Reject and Edit" instead of "Improve Edit" because it wasn't helpful. The edit he made was incorrect since it was in the wrong spot. But that suggested edit permalink page only marks it as "Rejected by Community ♦" with the canned reason that the edit didn't correct critical issues with the post. It would be nice to be able to explain to the user that they put the comment in the wrong spot, and how to properly insert language comments. Also, the canned comment wasn't really correct in this case.  Note: I know some people might argue that I should have instead chosen "Improve Edit" since it made me make the correct edit or whatever, but that is a bad argument. You have to remember that choosing that option adds that incorrect revision to the revision history. It's far better off only having the correct revision. Also, the suggester will likely just ignore it, and make incorrect edits of the same type later on.  Also, expanding off a , the reject reason should be listed under my username rather than Community, listing Community as a second reject-user only when another user hasn't rejected the post as well.


Is it acceptable to bump a question by editing it?

Some of my old questions have rather low views and have been buried by newer posts. I think that these questions are not worth putting a bounty on them. The edit feature allows the question to reappear on the top of the questions list.   Is the practice to edit a question just to make it temporarily reappear on the top of the questions list acceptable? Or is it frowned upon by the community?


Get rid of /reduce Noise in Cycles Render

Im new to 3D object creation(2 weeks at most) and I was wondering if there is a way to reduce if not get rid of the noise when rendering using the cycles render.  thank you for the answers.


If $E/F$ is algebraic and every $f\in F[X]$ has a root in $E$, why is $E$ algebraically closed?

Suppose $E/F$ is an algebraic extension, where every polynomial over $F$ has a root in $E$. It's not clear to me why $E$ is actually algebraically closed.  I attempted the following, but I don't think it's correct:   I let $f$ be an irreducible polynomial in $E[X]$. I let $\alpha$ be a root in some extension, so $f=m_{\alpha,E}$. Since $\alpha$ is algebraic over $E$, it is also algebraic over $F$, let $m_{\alpha,F}$ be it's minimal polynomial. I now let $K$ be a splitting field of $m_{\alpha,F}$, which is a finite extension since each root has finite degree over $F$.  If $m_{\alpha,F}$ is separable, then $K/F$ is also separable, so as a finite, separable extension, we can write $K=F(\beta)$ for some primitive element $\beta$. By assumption, $m_{\alpha,F}$ has a root in $E$, call it $r$. Then we can embed $F(\beta)$ into $r$ by mapping $\beta$ to $r$. It follows that $m_{\alpha,F}$ splits in $E$. Since $f\mid m_{\alpha,F}$, we must also have the $f$ is split in $E$.  But what happens if $m_{\alpha,F}$ is not separable? In such case, $F$ must have characteristic $p$. I know we can express $m_{\alpha,F}=g(X^{p^k})$ for some irreducible, separable polynomial $g(X)\in F[X]$. But I'm not sure what follows after that.  NB: I say $E$ is algebraically closed if every nonconstant polynomial in $E[X]$ has a root in $E$.


How RAM does Ubuntu accept in 32 and 64 bit?

I would like to make a question. I will install Ubuntu OS along my Windows Enterprise 10 x64 bit. When I go to ubuntu.com to download the operating system I see like alternative options 2 version : 32 & 64 bit.   My computer is Fujitsu Siemens with the details shows in photo below. I like to know if the 32-bit version know 5 GB of RAM ?


Do Earth religions persist in Star Trek?

We see that in DS9 the Bajoran religion is alive and kicking, but I've never seen any mention of a religion that came from Earth, or one practiced by humans.  Are any of Earth's religions still practiced in the current setting for Star Trek in the 23rd 24th century, or have they all died out? If they have 'died out', is this ever mentioned?


Should the network use thousands separators in numbers?

Currently the network has a very inconsistent track record when it comes to injecting thousands separators in numbers >= 4 digits. Sometimes on the same page there will be commas in one element and not in another.  The primary advantage to using thousands separators is that it makes a number easier to read, at least for me.  The primary disadvantage is that it makes them harder to read for folks who use different languages or locales, where commas are actually decimals, and thousands separators may be decimals, spaces or other characters (or not even an existent concept).  I've seen arguments that the SE network should use comma separators because "the site is American" or because "English is the language of the Internet." I am not quite obnoxious enough to say I agree with either of those statements. And as a Canadian living in the United States, where arguments about m/d/y vs. d/m/y, gallons vs. liters and miles vs. kilometers have plagued me my entire adult life, it would be fantastic to have some consensus about this and to see some consistency implemented across the network.  I understand that . But I still think it's a valuable discussion to have - should we force thousands separators, prevent them, or cater to the individual locale? The downsides to catering per language are (a) screen shots and other artifacts may still seem strange to users of different locales and (b) what if my computer is set to US-English but I would prefer not to see thousands separators? Perhaps the answer is to  instead of listing out the entire number in some places but not others - then the discussion about separators becomes moot.     PLEASE NOTE: This is not a bug report about the individual cases where the use of thousands separators is inconsistent. There are    , and if pluralization has taught us anything, it seems to be . I hope it is the intention for the localization efforts to push all number and other common formatting tasks through common functions to eliminate this chance for discrepancy.This post is an attempt to discuss what the policy should be, in general, not to discuss individual instances of this inconsistency.


Calculating the integral $\int_{1/3}^{3}\frac{\arctan(x)}{x^2-x+1}\;\mathrm{d}x$

Can somebody help me calculate the following integral:  $$\int\limits_{1/3}^{3}\frac{\arctan(x)}{x^2-x+1}\;\mathrm{d}x$$  I have tried integration by parts, but I got stuck in it. Wolfram also didn't help me.  I would be happy to get some hints.


Why doesn't my function work with spaces? (cd, dirname)

I have had this function I use it very often and it works fine.  Here it is:  cdx () { cd `dirname $1` ; }   However, this does not work with spaces. When I use it like this for example  cdx ~/desktop/folder/file\ file   It returns  usage: dirname path   But what I am passing is, essentially dirname path. So what am I supposed to do to fix this? (It also does the same thing when there are spaces in a folder names)  My first thought was using quotes, like  cdX "directory\ whatever" but it did not work either.


Simplest way to iterate in pairs or more in python over a single list? list1=['Hello ','World','.','I ','heart ','python']  Something like this: for x,y,z in list1:     print x,y,z  What I would like to get as a result:  Hello World. I heart python  I know I can do it like this but I would like to know if there is something that doesn't require index counting. Preferably using a for loop. index=0 while index<len(list1):      print list1[index],list1[index+1],list1[index+2]      index+=3


Show that if $\gcd(a,b)=1$ and $p$ is an odd prime, then ${\gcd(a+b,}\frac{a^p +b^p}{a+b}$$) = 1$ or $p$     Sorry about the duplicate  In another answer, however, the sum $\sum\limits_{k=0}^{n-1} (-1)^{k}a^{n-1-k}b^{k}$ was expressed as $\left(\sum\limits_{k=0}^{n-2} (-1)^{k}(k+1)a^{n-2-k}b^{k}\right)(a+b) + (-1)^{n-1}nb^{n-1}$ How was it done?


A question about Lorentz invariant argument when writing down the Dirac equation

According to the chapter II.1 in "Quantum Field Theory in a Nutshell" by A. Zee, Dirac was trying to write down the relativistic wave equation linear in spacetime derivative.  The author stated that     The equation is supposed to have the form "some linear combination of $\partial_\mu$ acting on some field $\psi$ is equal to some constant times the field." Denote the linear combination by $c^\mu \partial_\mu$. If the $c^\mu$'s are four ordinary number, then the four-vector $c^\mu$ defines some direction and the equation cannot be Lorentz invariant   What I do not understand is the last part of this statement. If $a_\mu$ and $b_\mu$ are four-vectors, it is obvious that $a_\mu b^\mu$ must be Lorentz invariant. Why can it not be true in this case since both $c_\mu$ and $\partial_\mu$ are also four-vectors?


I am trying to get the response time of a server so for example I am using below curl command I got of the internet  curl -w "@curl-format.txt" -o /dev/null -s http://wordpress.$   The curl-format.txt looks like the following:  n         time_namelookup:  %{time_namelookup}n            time_connect:  %{time_connect}n         time_appconnect:  %{time_appconnect}n        time_pretransfer:  %{time_pretransfer}n           time_redirect:  %{time_redirect}n      time_starttransfer:  %{time_starttransfer}n                         ----------n              time_total:  %{time_total}n n   This command works fine when called through the command line.   However when I try to use it in crontab and output the times to a file called Restime.text it does not work.  Below is the crontab command I am using.  * * * * * /usr/bin/curl -w "@curl-format.txt" -o /dev/null -s http://wordpress.$ >> /home/ubuntu/newApp/Restime.txt    Any advice as to where I am going wrong ?  Kind Regards.


Conditional calculation of Text field value based on another text field value using ArcGIS Desktop?

In ArcGIS Desktop 10.1 I created a new field to explain some zoning codes in an attribute Table. I basically want the new field "Zone" to have a string value based on the field "Zoning".  For example if the "Zoning" field value is "AG" then the corresponding "Zone" field should be "Agricultural".  I can do this easily in an Excel Sheet and bring it back to a Layer by a join, But I really want to know if there is a way to do this either with Python or VBScript using the Field Calculator.  The code may be something similar top the one below.  If [Zoning] = "AG" Then  [Zone]= "Agricultural"


How do I get Gmail to ask me to be a mailto handler again?

I noticed that when I open up Gmail on Google Chrome, a  asks me if I want to let Gmail be my "mailto:" handler.  If I select "No," I'm assuming that Gmail will no longer ask me to be a mailto: handler. But then let's say I change my mind and do want Gmail to handle mailto: links, how do I get the popup to appear again?


If $H$ is a subgroup of $G$ having finite index, then $H$ contains a normal subgroup of $G$ of finite index

I'm trying to show that any subgroup $H$ of a group $G$ having finite index must contain a normal subgroup of $G$ of finite index.  I tried to define a homomorphism $\psi:G/H \to G/H$ given by $\psi(xH) =gxH$ and prove that $\ker(\psi)\subset H$. Is there another way to solve this problem?


In a complete metric space with no isolated points, any countable intersection of open dense sets is uncountable?

I was playing with Baire's Theorem, and seemed to deduce the following:     In a complete metric space $X$ that has no isolated points, any countable intersection of open dense sets is uncountable.   Proof: Let $S$ be the countable intersection of open dense sets $\{U_n\}$. By Baire's Theorem $S$ is dense thus $U_n$ are open and dense. This implies that $U_n^c$ are nowhere dense.  $$X = S\cup S^c = S\cup (\bigcap_n U_n)^c = S\cup \bigcup_n U_n^c.$$ If $S$ were countable, then $X = \bigcup_{s\in S}\{s\} \cup \bigcup_n U_n^c$. Since $X$ has no isolated points, every singleton set is closed and has empty interior, thus nowhere dense. We have just written $X$ has a countable union of nowhere dense sets. A contradiction to Baire's corollary.  As a corollary, any connected complete metric space, such as $\mathbb{R}$, must be uncountable (this gives a topological proof that $\mathbb{R}$ is uncountable). Also $\mathbb{Q}$ is not the intersection of open dense sets of $\mathbb{R}$.  I am a little bit suspicious about my proof, is it correct?


How to fill down in Numbers without dragging?

I have a 20,000 line spreadsheet in Apple Numbers, and I need to fill a column with data. I don't want to sit there dragging down the fill handle for thousands of rows.   How can I fill the whole column with a value?


how do i check and create a directory in bash

so, i'm going to check whether a directory exists or not, if not, then the script is going to create one. and here is the code:  APPLICATION_DATA_DIRECTORY="~/.directorychecker/" APPLICATION_DATA_DIRECTORY_CREATE="~/.directorychecker/" CHECK_APPLICATION_DATA_DIRECTORY() {     if [ -d "$APPLICATION_DATA_DIRECTORY" ]     then     echo "directory exists"     else     mkdir $APPLICATION_DATA_DIRECTORY_CREATE     echo "directory is NOT exist, but now created"     fi }   CHECK_APPLICATION_DATA_DIRECTORY   however, while the folder check mechanism runs smoothly, the folder creation mechanism don't want to run and returns  mkdir: cannot create directory `~/.directorychecker/': No such file or directory   i really got no idea on making it work since the script seems fine  does anybody here had the same problem and solution? any answer will be appreciated  Thanks


I want to make available a pool of dev machines to a pool of developers, where each developer should only access its own dev machine. Dev machines are on a private network, behind a NAT, whereas developers are on the DMZ.  I'd want to implement a solution in which:   users connect via ssh (X forwarding included) to the NAT public interface, which in turn forwards the request to an Access Control machine (basically a proxy); the AC machine forwards the connection to the right dev machine, depending on a configurable policy.   Clearly, users should neither know about target machine name or IP nor guess the network structure. They should only initiate an SSH connection without any client-side special configuration (this prevents the use of ProxyCommand).  How can I implement such a solution?


I’m not sure if the moderator diamond is blocked from being included in a username, I assume it is.  However I recently come across a user who was using this symbol in their username: ᛜ  As a fairly new user I assumed this signified something until I realised it was simply what they had entered.  Would it be a good idea to prevent users from having this symbol in their username to prevent misuse or confusion?


Is it OK to use "it" to refer to human beings?

In my understanding, "it" can only be used to refer to objects other than human beings. However, I just found a sentence as follow from a book.     It is Mr. Kenta who came at 8 this morning.   Is it grammatically correct?


Is the apostrophe placed before or after "and" in this instance?

Like when something belongs to (or has a relationship with) two people.  "Dan and Jack's mother" "Dan's and Jack's mother"   Which one is correct? Would it be the same or different with more than two?  PS: Google did not bring up anything.


Prove $$ \sin(2\pi/7) +\sin(4\pi/7) +\sin(8\pi/7) = \sqrt7/2$$  I have squared both sides and have come to the stage where the LHS is as follows  $$3/2 -1/2 (\cos{4\pi/7} + \cos{8\pi/7} + \cos{16\pi/7})$$  How do  I get it to equal 7/4  PS; I DO NOT KNOW ANYTHING ABOUT COMPLEX NUMBERS


How do I fix a freestyle outline that is ahead of an animation?

for some weird reason after adding animation the hair of my character, freestyle is now ahead a frame. I don't have Motion Blur on, I tried using just my CPU, and rendering at different freestyle value. Here is an example of the problem:  Has anyone else run into this problem and does anyone know how to fix it? I tried looking for other posts, but it doesn't look like there are any definitive answers.


Calling non static method inside of main method

I am trying to call the private Client() inside of the main method but it is saying      non static method Client can not be referenced from a static context.   public class Client extends JFrame  {     private Client()      {             ImageIcon icon = new ImageIcon(getClass().getResource("/appIcon.png"));          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);          setSize(900, 450);          setExtendedState(Frame.MAXIMIZED_BOTH);           setLocationRelativeTo(null);         setIconImage(icon.getImage());         setVisible(true);      }      public static void main(String[] args)      {      }    }


Windows 10 is about to install - Any way to stop it?

I've been avoiding the Windows 10 Upgrade to my Windows 7 install, but after a reboot recently, I am now getting the following notice from Windows Update:    Is there any way to back out at this point before I reboot? I would like to hold off for a while until I am sure a few legacy applications can handle it.


Why class need to implement serializable marker interface for serialization?

Techincally i know why  class need to implement serializable . Reason is writeObject method of ObjectOutputStream internally checks the "instance of serializable" before writing the state of object.   But my question is what is the need of that? writeObject method can simply write the object state whether object (whose state needs to be written ) implements serializable  or not?  As per  ,a class implements this interface to indicate that its non-transient data members can be written to an ObjectOutputStream. But again question is why class needs to implement serializable just to determine whether field is transient or not. Even a class that does not implement serialiable should be serialized (except the fields marked as transient).  Marking an object as serializable (with an interface) doesn't magically make that object serializable, it was serializable all along, it's just that now you expressed something that the system could have found on his own, so I see no real good reason for serialization being the way it is now.  Why class need to implement serializable marker interface to serialize the class?


Image not displaying on mouseover at review page

If you look on the review page on SO you can see the last 6 people who have reviewed. When looking at some of those people I noticed that it sometimes does not display the image for certain persons. Instead of showing the profile image it shows this:    This only happens on specific users and I could only find 2 persons where the same thing happens. These 2 persons are:    I know this is kinda hard to reproduce since it almost never occurs but maybe someone can take a look if they see something wrong.   A couple of hours after seeing this the first time I saw the same user in the list and it still did not display the right image so it really is user specific.


I'm really new to TeX and I'm trying to learn how the different levels of TeX relate to each other. As far as I understand LaTeX is a set of macros for Plain TeX with the purpose of making life easier, in that sense I wonder whether LaTeX will compile Plain Tex, since LaTeX is just a set of macros. For instance, I've tried the very basic \bye command of Plain TeX with a LaTeX compiler and it didn't work, I would love to learn the logic behind it. Edit: I've figured that Plain TeX is also a set of macros, I thought that it was the pure TeX (which turned out to be called "Virgin TeX"), that explains why \bye won't be compiled in LaTeX but when I try  in LaTeX it still won't be compiled.


Difference between declaration statement and assignment statement in C?

I am new to programming and trying to learn C. I am reading a book where I read about these statements but could not understand their meaning.


Creating wordpress user registration form

I am having a form page called Test Form with this form :  <div id="container"> <form action="wp-content/themes/max-magazine/TestForm.php" method="post" name="myForm"> User <input type="text"  name="uname" /> Email  <input id="email" type="text" name="uemail" /> Password  <input type="password"  name="upass" /> <input type="submit" value="Submit" /></form> </div>   And in backend am having a php file named TestForm.php  <?php  function create_account(){ $user = 'AccountID'; $pass = 'AccountPassword'; $email = 'email@domain.com'; if ( !username_exists( $user )  && !email_exists( $email ) ) {     $user_id = wp_create_user( $user, $pass, $email );     $user = new WP_User( $user_id );     $user->set_role( 'contributor' ); }  } add_action('init','create_account'); ?>   Now if this function is defined in function.php then it works fine and create the user but same function in TestForm.php does not work. Please help  Also I will be fetching data from form like this :  <?php $user = $_POST['uname']; $pass = $_POST['upass']; $email = $_POST['uemail']; ?>


Were can i find the original old releases of ubuntu 8.04.0 without any viruses

Were can i find the original old releases of ubuntu any viruses? Please respond If you know.


$q$ an odd prime and $p$ divides $1+n+\dots +n^{q-1}$. Show $p=q$ or $p\equiv 1$ mod $ q$.

$n$ is a natural number and $p$ is prime.  I have seen the question that is marked as duplicate, but it does not awnser my question.  This is what I tried: First suppose $n\equiv 1$ mod $q$. Then $1 + n+\dots n^{q-1}\equiv 0$ mod $ q$. So there's an $a$ with $ap\equiv 0$ mod $q$. From here I want to show $p=q$, but don't now how to continue.  Now suppose $n\not\equiv 1$ mod $q$. We know $p(n-1)\mid (n^q - 1)$, so there's an $a$ with $ap(n-1) = (n^q -1)$. Using Fermat's little Theorem we see $ap\equiv 1$ mod $q$. From here I want to show $p\equiv 1$ mod $q$, but again don't know how to continue.  I would appreciate any help.


How to concatenate multiple rows into one field in sql server

Using simple query , I can do something like  SELECT hobbies FROM peoples_hobbies WHERE person_id = 5;   and get:  shopping  fishing    coding   but instead I just want 1 row, 1 col:  shopping, fishing, coding   for ref--   I want to do this in sql server ??


Prove that $\sin(2A)+\sin(2B)+\sin(2C)=4\sin(A)\sin(B)\sin(C)$ when $A,B,C$ are angles of a triangle   This question came up in a miscellaneous problem set I have been working on to refresh my memory on several topics I did earlier this year. I have tried changing $4\sin(A)\sin(B)\sin(C)$ to  $$4\sin(B+C)\sin(A+C)\sin(A+B)$$ by making substitutions by reorganizing $A+B+C=\pi$. I then did the same thing to the other side to get $$-2(\sin(B+C)\cos(B+C)+\sin(A+C)\cos(A+C)+\sin(A+B)\cos(A+B))$$ and then tried using the compound angle formula to see if i got an equality. However the whole thing became one huge mess and I didn't seem to get any closer to the solution. I am pretty sure there is some simpler way of proving the equality, but I can't seem to figure it out. Maybe there is a geometric interpretation or maybe it can be done using just algebra and trig. Any hint's would be appreciated (I would prefer an algebraic approach, but it would be nice to see some geometric proofs as well)


Why do we need to rationalize fractions?

Teachers often take off points from students who write 1/sqrt(2) instead of sqrt(2)/2. Why do we need to write it as sqrt(2) / 2 ? Where did that convention come from? Do we need to even do it? Why do teachers care so much?


Why does part of my model disappear when I zoom in on it in the 3D Viewport?

I'm having an odd issue - When I try to zoom in on a detail using my MMB, the "camera" in the 3D view seems to be cutting off the exterior surface of my object and showing me the inside instead. I'd expect this behavior, but only when I was much more zoomed in.  If I zoom out a bit (one click on the scroll wheel) then I can see the exterior as I intend.  Is there any way to adjust this behavior?  Thanks!


How come in free fall you feel weightless even though gravity is pulling down on you? (ignore air resistance when answering this question).


Detect if Visualforce Page is in Salesforce1

I have a Visualforce page that is used in both Salesforce1 and the desktop. On that page is a button. That button should only display if the user is loading the page on the desktop. It should be hidden on Salesforce1. Any suggestions?  Essentially I am just looking for a way to detect if the Visualforce page is loaded in Salesforce1 or not. I can handle the logic of displaying the button, I just don't know if it is possible to tell if it is Salesforce1 or not.


Early 90s mecha anime where the mecha was like Voltron in that each pilot controlled a portion of the mecha that would merge into a bigger mecha

I'm trying to find an anime movie I watched when I was younger; I believe I first watched it in 90/91. The story revolved around the recruitment and training of a group that would pilot a mecha that was similar to Voltron in that each pilot controlled a portion of the mecha that would merge into a bigger mecha. Points that I remember:   Started on Earth Program was government funded One of the pilots was related to the creator of the program, I think a female Mecha had chain weapon and a sword that was summoned from it's superhero-like chest icon. Killing blow was an m or w shape Ended with father/creator of mecha? being kidnapped by the aliens and used as human shield to deter attack on alien vessel


Is it possible to "sample size weight" the effects of multiple regressors to that of a "big" regressor?

I know that you can't just take averages and state that it is the average effect of the big regressor (Simpson's paradox). But I would be interested in knowing wether you could state that a positive or negative effect should at some significance level exist for a subgroup of the big regressor.  Two examples: 1: A negative effect of crime numbers (in neighbourhood A) on the amount of tourists visiting amsterdam was found in one studie and the same effect was found for neighbourhood B in another study but no significant effect was found for neighbourhood C in a third study. Could you sample size weight these and claim that with (p = the overall p value or smaller) that this effect exists for crime numbers somewhere in the entire city?  2: A positive effect on agression was found for the activity of one brain area (area A) in one study and a positive effect was found for the adjacent area (B) in two other studies. Could you sample size weight these together to say that the effect exists with (p = overall p-value or smaller) at least some where in the area A+B?  I have not yet found any literature describing just this and any referrences or general thoughts would be much appreciated!


Is there a way to find out which packages are used (rather than merely called) by a document?

Is there any way to find out which packages you have loaded in your preamble are actually being used given the (La)TeX that follows?  I don't believe I'm looking for , since as far as I understand that would only return the packages called in the preamble (and whatever packages those packages may have, themselves, called).  What I am seeking to do with this is cut down on unused packages in an unwieldy preamble. I know that I could comment out each package and look for errors, cutting the packages that can be commented out without error. I'd like to know if there is an (at least semi-)automated way to accomplish this same task for when the number of packages is large.


Convergence of series $\sum_{n=1}^{\infty} \frac{\ln^\beta(n)}{n^\alpha}$

I know if $\beta = 0$ it converges $\iff$ $\alpha > 1$. Also, it doesn't converge if $\alpha = 0$. I don't know what test to apply for the rest of cases. Any hints?


Header in quote shown differently in preview and article

The following  header ====== renders correctly in the editor preview  but once posted it renders incorrectly.


I'm trying to use mytheme_preprocess_html() to load a different html.html.twig file based on certain conditions (GET variables in URL).  In D7 I've done the this with:  if (isset($_GET['response_type']) && $_GET['response_type'] == 'embed') {     $variables['template_file'] = 'raw'; }   Where variables['template_file'] = 'raw'; set the name of the tpl file to load (raw.tpl.php). It works fine.  Now I need to do the same thing in D8, but I can't find the way. I tried:  function mytheme_preprocess_html(&$variables) {      if (isset($_GET['response_partial']) && $_GET['response_partial'] == 'header') {         $variables['html']['#theme'] = 'raw';     } }   But it doesn't work.  Edit  I know how to set different template for page.html.twig, but I can't figure out how to do the same for the file html.html.twig  The function   function mytheme_theme_suggestions_page_alter(array &$suggestions, array $variables) {      $suggestions[] = 'html__raw';     $suggestions[] = 'page__header'; }   Works properly for the page template but not for the html.


Assume a street of 300 meters, that you can park your car alongside the pavement. Assume that there is a big parking problem in the area. Assume that the pavement is continuous, without interruptions, and that you can park alongside all of it. Assume that the length of a car is 3 meters long. Assume, for simplicity, that cars can park without space between them (bumper to bumper). Assume, that when a car comes to the street if chooses an equally random parking space (please try to express this randomness) from the free spaces left. Therefore, it may "ruin" parking places for other cars. Please try to determine what is the expectancy of cars the can park alongside the street.


The default output format for a query is something like this:  ID | field1 ----------- 1  | val1  2  | val2   Is it possible in SQL to change it to a CSV format like this?  ID , field1 1  , val1  2  , val2   Currently, I am converting fields to string values and then concatenating them using the || operator, e.g.  SELECT ID::text || ', ' || field1 ...   FROM ...    But this is really cumbersome to write, and not very readable either.  Is there a more succinct way of doing this without converting to strings?  This isn't a duplicate of  because as shown in my example, I am looking to output in CSV, not store the output as a CSV file.


Only 2GB of Device Memory is shown on Samsung Galaxy S2

I have Samsung Galaxy S2 GT-I9100. As it has 16GB internal memory but it only shows that it has 1.97GB of device memory. I am not talking about the memory that is free after using some of the space. This is the max memory that it is showing. I have tried resetting to factory settings and erasing everything. Also, I cleared cache and dump logs. Nothing have helped me yet. When I connect it to my laptop, it shows that phone has 8.56GB used out of 11.4GB. But that is USB storage, isn't it? Under settings > storage > device memory [Total space = 1.97 GB]. The problem arises when I install few of the applications and it starts showing that you are running out of storage. I don't understand what it is showing only that much space.


What are the plural forms of the words "octopus" and "platypus"?

I've seen "octopuses" and "platypuses", respectively, but I've also seen "octopi" and"platypi". Which is correct, and why?


If my world has silver instead of Tungsten, can I still make an Emerald Staff?

The recipe for Emerald Staff says I need Tungsten. Isn't silver supposed to be interchangeable with tungsten? Why should I have to re-make my world just to get a metal...


What electronic component of a computer produces (sound) noise?

Certain mechanical components of a computer produce noise, such as speakers, fans, harddrives and disk readers.  Can electronic components of a computer (transistors, resistors, capacitors, ICs, screens, power supplies, etc.) also produce noise, or is noise limited to the realm of mechanics?


Concatenating SQL rows with multiple values

Current Table:    txtFullName  | First Activity _____________________________  Joe Bloggs   | Football  Joe Bloggs   | Tennis      Katie Bloggs | Tennis    Where I'm trying to get it as...   txtFullName  | First Activity _____________________________ Joe Bloggs   | Football, Tennis  Katie Bloggs | Tennis    **I've tried using COALESCE AND FOR XML PATH('').. Which I can't seem to fit correctly in this statement.. is there another way to do the same thing?  Any help would be appreciated!!


Change web folders names with uppercase to lowercase or not?

I have web directories with upper case letters and site is on Apache server.  Example: www.example.com/ServiceTools/page.htm  I have read that using upper case letters in folder name is bad practice and could cause problem with accessing page and produce 404 pages?  Should I change folder to lowercase and will this have influence on SEO?   www.example.com/servicetools/page.htm


1.In 1582, scientists pointed out that the calendar was 10 days behind the sun      2.By the year 1582, scientists pointed out that the calendar was 10 days behind the sun.   I wanted to know the difference between "by the year 1582" and "in 1582".


How can I automatically run an AppleScript on shutdown or logout?

I am more used to the Javascript style event handlers,  but is there a similar thing in applescript that listens to system events like logout or shutdown to execute code  or is there a way to have an applescript run on shutdown or logout?  I know about  but I would rather have something free.  All my script does is mute the volume for the next startup.


Rudin exercise 2.18: perfect set with only irrational numbers.

I am trying to solve exercise number 2.18 in Rudin. The question is the following:  "Is there a nonempty perfect set in R1 that contains no rational numbers"?  My solution is basically to construct a set E that contains all irrational (to be more specific: non-rational) numbers between sqrt(2) and sqrt(3), both included. And then the proof that this is perfect proceeds similarly to question 2.17 (since every irrational number can be written as a series of infinite decimals with no repeats).  Am I missing something? I don't see why I should construct a set similar to the cantor set. Thank you for your help.


How can I install on a non-PAE CPU? (error "Kernel requires features not present on the CPU: PAE")

After burning Ubuntu 12.04 to a CD, I tried booting and got the message:  This kernel requires the following features not present on the CPU: pae  Unable to boot - please use a kernel appropriate for your CPU.   What does this mean?


How to maximize a window programmably in X Window?

I'm wondering if there is any commands or programs to make some window maximized in X Window? For example, what I imagine is something like this  xmaximize -window *window_id*


How can I modify the frame rate without changing overall animation speed?

How can I change the animation fps when I already have finished making an animation? I already did an animation and I don't want spend some time recalculating the time by hand, is there a easy way to change the frame rate without making the animation speed up or slow down?


I am from Canada. My flight will depart from Toronto to Chicago, United States, then Chicago to Asia. Do I need some kind of US transit visa to transfer airplanes? Or transiting to a different airport?


Story where aliens find and resurrect a man after the whole planet went extinct, then the man resurrects the entire species

Alien invaders find a deserted earth and revive a human mummy to get answers. He doesn't have a clue and they kill him. They revive a man's ashes from the city and he disappears.    In the end the man has arranged things so that the aliens fearing they are taking him back to their home planet commit suicide by aiming their spaceship into a sun while the man leaves the ships with the secret of the device that animates dead bodies.


Word for killing off or attempting to kill off an entire bloodline?

I would like to know if there is a word or phrase for a systematic campaign to annihilate every descendant of a particular ancestor.   We have the word 'genocide' for killing off an entire race, and plenty of words for killing people based on how they are related to you (fratricide, filicide, et. al.), but looking over the  and the , I couldn't find a term for systematically killing an entire bloodline.   My question is prompted by a US news story about the horrific murder of 8 members of the same family, but those murders are not an example of what I'm thinking of because the children of the victims were left alive, so the motive for the killings was not to kill off the bloodline. The sense that some group had coordinated an attack against just one family is what made me wonder what the "not an entire race, just one bloodline" version of 'genocide' would be called.   Searching the Internet for "kill off" and bloodline sends me straight into the land of vampires, Illuminati, reptilian overlords, and, naturally, Priory of Sion nonsense so I haven't had much luck finding a thread to pull.   It may be that there is no word for it in the sense of murdering a human bloodline, because we just don't attempt kill off our royals down to the last heir often enough to coin a term for it. Maybe there is a scientific term for culling a line from a test population as part of biological research?


Could you please help me with the following? I think it is a Lebesgue Dominated Convergence Theorem but I am not sure.  Compute the following: For $1\leq p<\infty$ and $f\in L^p(\mathbb{R})$ $$\lim_{h\rightarrow \infty}\int_{-\infty}^\infty\left|f(x+h)-f(x)\right|^p \, dx$$


I need to draw an image like this:    I saw  and , but I could not modify it properly. Basically, I could not write the on the labels. Need your help.


How should I approach peeling a clove of garlic to get the skin off most quickly?  Is it different if I'm doing a bulb whole?


If a proper subgroup of maximal order is solvable and normal, then the group is solvable. Generalization.

Let $H$ be a proper subgroup of maximal order in a group $G$. Now suppose $H$ is solvable and normal in $G$ so there exists a series of normal subgroups:  $1 = H_0 ⊲ H_1 ⊲ ... ⊲ H_n = H$, with $\dfrac{H_{j+1}}{H_j}$ abelian. Consider the cyclic group $<g>$ = $K$ generated by some $g\in G-H$. Now $HK = G$ by maximality of $H$. Thus $\dfrac{G}{H}\cong\dfrac{HK}{H}\cong\dfrac{K}{H∩K}$ wich is a quotient of an abelian group ($K$ is cyclic and hence abelian) so $G/H$ is abelian. We can now construct a series of normal subgroups as following: $1 = H_0 ⊲ H_1 ⊲ ... ⊲ H_n = H ⊲ G = H_{n+1}$  with $\dfrac{H_{j+1}}{H_j}$ abelian. So G is solvable.   My question is, is there another way to approach this proof or in some way generalize it?   Can we in some way have less restrictions on $H$ and still make the proof work for example?


What is Post Secondary Education? Does it include only PhD (or) any degree lower than PhD?


Refusal of a UK visit visit visa due to unexplained deposits. How to re apply?

I have applied for UK standard visitor visa to attend my graduation ceremony for the Postgraduate course which i have completed last year. I have submitted the invitation letter from university, flight reservation, educational certificates, hotel booking. My uncle is funding my trip i have attached his banks statement and affidavit of financial support, he is funding because  i have opened bank account two months ago so according to UKVI policy banks statements should be for last six months so for that reason i have attached my statement as well to show the proof that why my uncle is funding my trip and still got rejected. Kindly please help me related to this problem and after how many days i should re apply again and what documents i should provide because my graduation ceremony will be held on 20th July 2017.     THE DECISION      I Have refused your application for visit visa because i am not satisfied that you meet the requirements of paragraph V 4.2 - V4.10.   of appendix V: Immigration rules for visitor because:      ⦁ You have applied for a visa to visit the United Kingdom for 2 weeks. I have considered your application against paragraphs V4.2 - V   4.10.       ⦁ I note that you have previously travelled to the united Kingdom, and with your earlier application provided full details to satisfy the   Entry Clearance Officer (ECO) at that time that you had met the   requirements of the immigration Rules as a visitor; however each case   must be decided on its individual merits at the time of application.      ⦁ You state you wish to visit the UK to attend your graduation ceremony held on 18/07/2017 at ABC University. I note you have   provided a letter from the University. Whilst i acknowledge this   invite, I must be satisfied with your overall personal circumstances   and intentions.      ⦁ You state in your application you are a Voluntary/ Unpaid worker. In support of your application you have provided your bank   statement. However the documents you have provided do not demonstrate   you are involved in any volunteering or unpaid work and as such it is   not clear how you are now financially supported in Pakistan. You have   submitted a bank statement from BARC  with a latest balance of 700   pounds. However there are a number of unexplained cash deposits into   the account throughout which are not sourced and it is not clear where   these funds originate from. You state your uncle will cover your cost   of 1500 pounds towards your trip. I note you have provided a letter   from him, a copy of passport and his bank statement. However the   documents do not demonstrate his employment circumstances or his   monthly income. It is therefore not clear where the 2900 pounds held   in his bank account originate from. As such, without evidence of the   origin of this money, i am not satisfied that is genuinely yours and   available to fund the proposed visit. I have considered the evidence   and information submitted in your application but i am not satisfied   that you have accurately presented your circumstances and therefore   your intentions in applying to enter the UK. This undermines the   credibility of your application to the extent that i am not satisfied   that you are genuinely seeking entry as a visitor or intend to leave   the UK at the end of your visit. Paragraph V4.2(a) (c) (e)       Future applications      Any future UK visa applications you make will be considered on their individual merits, however you are likely to be refused unless   the circumstances of your application change.      In relation to this decision there is no right of appeal or right to administrative review.


How Macbook Pro detects an external microphone through TRRS jack?

An audio port on a MBP is a combination output. If you plug in 4-conductor 3.5mm connector (TRRS) like the one on Apple earbud with microphone, it appears that that port can be use as an input.  I just bought a bare male TRRS audio jack. (without cable, it is for soldering your own) When I plug just that into the MBP, the MBP did not change the output to "External Microphone" as when I plugged an earbud with microphone to it. So I am wondering how did the hardware detects the mic? Does it communicate with the other end by some means?


If there are no centrifugal forces in reality then how to explain weight loss due to rotation of earth or dynamic balancing of a rotating mass?


I have a marix that is  $$R=\pmatrix{1&1&1\\1&1&1+2a\\0&2&2+2b}$$  and the span of R is   span=$\left\{\pmatrix{1\\1\\0},\pmatrix{0\\0\\1}\right\}$  In my preliminery thinking, the span is the combination of vectors that indicate each vector in R, but in reverse, If I know a matrix, how can I derive the span?  Could anyone tell me I can I calculate the span of a matrix  Taking this as an example, how can I get to this result?


If a complex number $Z$ satisfy following relationship $(Z+\frac{1}{Z})(Z+\frac{1}{Z}+1)=1$ then find out value of $(3Z^{100}+\frac{2}{Z^{100}}+1)(Z^{100}+\frac{2}{Z^{100}}+3)?$ My Attempt let $u=(Z+\frac{1}{Z})(Z+\frac{1}{Z}+1)$ Then given condition become $(u)(u+1)=1$. $(3Z^{100}+\frac{2}{Z^{100}}+1)(Z^{100}+\frac{2}{Z^{100}}+3)=(2(Z^{100}+\frac{1}{Z^{100}})+Z^{100}+1)((Z^{100}+\frac{1}{Z^{100}})+\frac{1}{Z^{100}}+3)$. With this I expected to reduce it down in terms of $(Z+\frac{1}{Z})$ and then using given condition we can find the value. But I am unable to reduce it down in terms of $(Z+\frac{1}{Z})$. Can anyone help? Or am I making a mistake in strategy? Thanks in advance.


Reviewing Late Answers in First Post Queue

I have noticed it is not uncommon for new users to post short, sometime barely related, answers to questions that are more than a year old.    Obviously if it should be a comment, is spam, or is not related at all, it should be dealt with accordingly, but I'm more interested in getting feedback on answers that don't necessary address the question but might be related.  Had it been posted at the time the question was first asked, it would have received enough attention to be fixed or clarified at that time, but since it is on an old question, the OP may no longer be around and/or the question does not have enough attention anymore to have the community deal with it.  The best example I ran into today is .  So this question is barely related to the original question.  But I can make an argument that it might be helpful to someone in the future because it does suggest a potential solution to a similar problem.  However it doesn't address the OP's question, especially since the OP accepted an answer that is not related to this late answer.  What is the correct method for dealing with such a response:   Do we flag it as "not an answer" Should this be downvoted since it doesn't answer the OP's question, even though it might be technically accurate. Or is something like this perfectly acceptable as an answer?   To clarify, I'm trying to get some feedback/guidance on where is the line (or gray area) between "Not an Answer" and a bad (downvote worthy) answer.  How related (or unrelated) to the original question does it need to be before "Not an Answer" becomes a better option.


Some question titles get cut off by the right margin here on Meta

In Chrome 34.0.1847.116, on Windows 7, when I go to this question: , I see the following:    As you can see, the "y" in "automatically" in the title is partially cut off.


Some public beta‘s have ~0 views suddenly

Health.SE apparently has 1 view/day, according to Area51 (given that multipler users were active just minutes ago, this seems rather unlikely), Pets and Latin Language are even down to nil.        (Pictures are just proofs in case this can’t be replicated)   eosio.SE has 328 visits/day, seems legit Bioinformatics, IoT, SiteCore,  have 1 visit/day Monero has 3 visits/day all other sites have  0 visits/day   So far, I went until Latin Language in the Area51 tab, then I got rate limited [This IP address has performed an unusual high number of requests and has been temporarily rate limited.]


Naive visualization of space-time curvature

With only a limited knowledge of , I usually explain space-time curvature (to myself and others) thus:  "If you throw a ball, it will move along a parabola. Initially its vertical speed will be high, then it will slow down, and then speed up again as it approaches the ground.  "In reality, the ball in moving in a straight line at constant velocity, but the space-time curvature created by the Earth's gravitation makes it appear as if the ball is moving in a curved line at varying velocity. Thus the curvature of space-time is very much visible."  Is this an accurate description, or is it complete     nonsense?


As my fedora repos are way behind and still on blender 2.69, I've gone and compiled the latest myself. Everything seems to work and is quite recent. I can even bake CPU SSS, which is great. However I still get the error "Volumes/SSS not supported on GPU". Have I missed a flag or library (eg OSL support) in CMAKE or is this still on the todo list? If its just not finished yet, I don't mean to rush the devs but definitely looking forward to its release.


I'm confused on the limit of $\left(1+\frac{1}{n}\right)^n$

Okay so I read Richard Rusczyk's AoPS Volume 2 Book, and I stumbled upon the part where he informs very briefly that $\lim_{n \rightarrow \infty} \left(1+\frac{1}{n}\right)^n=e$. But he doesn't really provide a rigorous proof as to why that's true (not criticizing him or anything).. It would really help if someone could provide me with the simplest proof possible as to why $\lim_{n \rightarrow \infty} \left(1+\frac{1}{n}\right)^n=e$. Thank you in advance!


Proof that $\|fx\| \leq \|f\|\cdot\|x\|$

From the  on the dual of a norm:  $X$ and $Y$ are normed spaces, and we associate with each $f\in L(X,Y)$ (the space of bounded linear operators from $X$ to $Y$) the number $$\|f\| = \sup\{|f(x)|:x\in X, \|x\| \leq 1\}.$$  At some point in the proof that $L(X,Y)$ is bounded, it seems like they use the inequality $$\|fx\| \leq \|f\|\cdot\|x\|,$$ where $\|x\|\leq 1$.  I can't see why this should holds.   $\|f|\|$ is the supremum of what $|f(x)|$ can be, given that $\|x\|\leq 1$. So, given that $\|x\| \leq 1$, $|fx|$ should be bounded by $\|f\|$. But why should it be bounded by $\|f\|\cdot\|x\|$?


What's the name of a book about the adventures of a group of orphans?

About ten years ago, I read a book that follows the adventures of a group of orphans. I've been looking for it for some number of years, but I can't really piece the story back together. I still recall the setting: a future version of a very big city in which most cars drive by themselves and there is a heavy focus on spacefaring. Whilst I've forgotten most of the story, there are still some pieces of it that I remember:     In the beginning of the story, we witness an accident of a self-driving car. For some reason the driver has to take control of the   wheel, but since he doesn't know how to drive, he crashes the car, which had been full   of orphans on their way to an orphanage.      In order to be able to stay in the orphanage, the   children must execute some tasks. There is mention of an   afternoon spent at the movie theatre with impressive 3D capabilities where the kids have to   watch adverts and fill in a query gauging their responses to the   videos.      At the end of the day, the children get their food. The food is   picked up cheaply from a military dump or something like that.  Not   only is the food is edible, but so too are the containers, which are consumed by the orphans. The taste of the food is foul, which is also why it is so   cheap.      As this is not such a good life, some of the orphans make an attempt   at escaping. They are hunted down, and at one point one of the children is   shot by a drone with a drug. As a remedy, the kids have him eat a rotten loaf of bread.   As my memory is fairly vague about this book, it is possible some of these story elements have been altered during my long mental attempts at reconstructing the film.


I compiled tmux from source on Ubuntu 12.04 and it is installed in /usr/local/bin/tmux by default.  However, when I type tmux in terminal I get the following message:  $ tmux -bash: /usr/bin/tmux: No such file or directory    How do I fix this? And how to install it in another location the next time? Is there any difference between putting it in /usr/bin or /usr/local/bin?


In a UFD if $x$ is irreducible, then $(x)$ is prime

I know how to show that if $(x)$ is prime ideal then $x$ irreducible element.   I know the converse is true if the ring is a UFD, but how to show it?     i.e. in a UFD, if $x$ is irreducible, then $(x)$ is a prime ideal.


How do I break $q=\sqrt{a+ib}$ into its real and imaginary parts?

I am unsure on how to do so with I under the square root. I can do so by just simply squaring both sides but I am trying to do so without using this method (need q for part of an equation).


Will a Pentax K-1 charge a battery in the camera?

If I plug in the Pentax K-1 to a wall socket using the adapter, will it charge the battery if I leave the "on/off" switch "off"? And will it still charge the battery if I leave it "on", just at a slower rate??


How does one go about determining the standard deviation of an entire sample data set?

I have frequently been faced with analyzing csv files that are limited in length to approximately 32,000 records in length (overflows at 32,768, from signed integer limits on a 16 bit wide data bus).  As a result, I have often had data that spans several hundred files, each containing up to the 32,000 records. Even this 32,000 record file length is variable and random, owing to an automated data collection process whose collection will halt if the process being monitored should stop.   Here is the issue -- I can very easily open these two-hundred plus files completely algorithmically and sequentially determine how many data points they contain and some desired summary statitistics. The typical statitistics of interest are the sample size, mean, and standard deviation.  Armed with these two-hundred-some-odd summary stats, I wish to extrapolate the mean and standard deviation of the entire sample population collected (up to 200+ times 32,000max). It seems to me that some moments about a mean are somehow involved in that the standard deviation of a hypothetical subset of say 16,000 data points will carry less weight (and therefore have less influence on determining the overall standard deviation), than a data set of 32,000 for example. For that reason, I suspect that variances of each subset somehow play a roll in this, or that a root-mean-square procedure will be able to reconstitute these summary statitistics in a meaningful way to further weight them in deriving the mean and standard deviation of the entire sample set. Your assistance is appreciated.


What is the result of:  summation from one, two, four, eight until $n$ power of two?  Thank you!


How to concatenate text from multiple rows into a single text string in SQL server?

Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary?


Is possible iterate over all classes inside a package with Reflection?

I have a String with some value. I want to iterate over all classes in a package calling a specific method, and if the value returned by the method is equals the value in my String, create an object of that class.  I want do this in a dynamic way, so if I add a class in this package, it will automatically be in the iteration.  Is possible do this? If not, there is a way to do what I want?    I was expecting something like.  for(Class clazz: SomeClass.listClasses("org.package")){      //code here }


How to shuffle an array with a seed value by using npm modules in angular ?(like e.g;shuffle-seed )

I am shuffling an array with below algorithm,       let _sectionItems=section.items;    if (this.testType === this._testType) {       let i = 0, j = 0, temp = null;       for (i = section.items.length - 1; i > 0; i -= 1) {           j = Math.floor(Math.random() * (i + 1))           temp = section.items[i];           section.items[i] = section.items[j]           section.items[j] = temp           //   this.sectionItems.push(_sectionItems);           // console.log("shuffing items:",section.items[j]);       }   }   Later the requirement change, right now I wanted to shuffle an array with a seed value. Instead of math.random(). How to get randomize an array with seed value. How to achieve that in typescript. I am using typescript because angular 4.


Is it possible to compress or split '.blend' files within Blender? If so, how?

I have a large blender file.  How can I compress this file and can I split the file into multiple files to ship it?


Showing $X$, $Y$ are not independent but $\operatorname{Cov}[X, Y] = 0$

A pair $(X, Y)$ is a point on a single circle $\{(x, y) \mid x^2 + y^2 \le 1\}$. Place this point in the form It is determined randomly and uniformly distributed. What I want to show is $X$ and $Y$ are not independent But $\operatorname{Cov}[X, Y] = 0.$


Homemade coconut milk separates into different layers after a day in the fridge

I made some coconut milk. After a day in the fridge there was two layers of liquid in the jar, coconut water and solid coconut which I found out afterwards that it is called coconut butter! When I stir them together to  have my coconut milk back, it didn't work. Is there a way to prevent this? If not, is there a way to have coconut milk again?


What is the most suitable word for a person who doesn't feel shame in telling a lie? Or is always lying?  Is 'Proud Liar' a good word?


Why do many Star Trek fans insist that Trelane could have been from the Q Continuum, when he needed a device to enhance his powers?


Dos and Don'ts of \countdef\mycount= and \newcount vs \newcounter{} in LaTeX

Let's clarify that countdef\mycount=<number> is a bad idea in LaTeX, then clarify appropriate usage of \newcount\mycount vs \newcounter{mycount} in LaTeX.  Background: I only started with TeX last year and before long I got tired of doing everything from scratch. Everyone surely knows what it's like reading The TeXBook. At any one time I had the book at my fingertips with around 10 or so cardboard bookmarks interspersed, jumping from bookmark to bookmark, referring to the index, adding more bookmarks, driving myself towards some solution or other.  I discovered countdef\mycount=<reg number> on page 119, where Knuth just tells you how to use them without any warning. So, as a naive rookie I used them, my solution worked and I had no reason to look further. Sometime later, working in LaTeX, I dredged this out of my memory and got in to trouble using it. I discovered \newcounter{mycount} and didn't look back.  Now that I'm looking into matters more deeply I need to raise the issue again. Back during my initial struggle to understand Plain-TeX, if I'd continued to read on to page 121, where Knuth explains the importance of \newcount, I wouldn't have been asking the first part of my question now. The TeXBook is a vast and complicated book and I think raising this question is a useful awareness raiser of one of the "traps for young players" in delving into Plain-TeX.  Hopefully this explains how I originally fell foul of such a fundamental error and I'm pointing out that others could do the same. Also, as there are many times when using Plain-TeX in creating a LaTeX solution is useful, I'd really like to know the dos and don'ts of \newcount vs \newcounter{} in LaTeX.


Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new workspace using it:  curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' \  -d '<workspace><name>restProba</name></workspace>' \  http://localhost:8080/geoserver/rest/workspaces   It's correctly created as shown by Geoserver's admin ui, but when I try to add a coveragestore to that workspace by executing  curl -u admin:geoserver -v -XPOST -H 'Content-type: text/xml' -d '<coverageStore><name>int_dec</name><enabled>true</enabled> <type>GeoTIFF</type> <url>$home/int_dec.tif</url></coverageStore>'      "http://localhost:8080/geoserver/rest/workspaces/restProba/coveragestores?configure=all"   even though it is correctly loaded, it goes directly into the default workspace, which is not the one I want it in. Is there any way of defining which workspace i want it in? I thought it'd enough by mentioning it in the URL where I point to restProba's workspace URI but it seems to be omiting it.  Thanks for your help :-)  pd: newbie with geoserver, I've tried searching for this but either i'm not using the correct search criteria, im a fool or it's just too simple for anyone to ask that i'm even fooler for asking it :p


While proving $\sqrt2$ irrational how did they guess the below expression for $q$

I hope it was purely trial and error and there was no systematic way to arrive at this expression as the textbook didn't provide the work and I'm not able to see how one cooks this up systematically. For example, how would one go about cooking such an expression for showing that the set of rational numbers satisfying $p^2<3$ has no largest number ? I've tried this by replacing $2$ in the given expression by $3$. It doesn't work. Appreciate any ideas. Thanks !


JQuery - Changing element id isn't working

I am trying to change the functionality of a button by changing its ID dynamically.  <srcipt> $("#old-id").click(function func_P(){   //Some code   this.id = "new-id"; }); $("#new-id").click(function func_Q(){   // some other code }); $("#clear").click(function func_R(){   $(".in").attr("id","new-id"); }); </script>  <body>   <button id="old-id" class="in">Button A</button>   <button id="clear">Clear</button> </body>   But the problem I am facing is that when I click "Button A" the id gets changed but when I click "Button A" again func_P() is executed again instead I intend to call func_Q.


Beamer: Multiple videos simultaneously with autoplay?

I am trying to make presentation in Beamer and add 2 vides on one slide. Here comes the problem: I want to start them immediately after opening the slide using autoPlay=true, but only one video starts and the rest of them need to be to started with mouse click.   Here's my code:  \begin{frame}    \begin{columns}     \begin{column}{5.5cm}         \begin{figure}                               \centering               \includemedia[label=vidA,                           addresource=Video1/pohyb1.mp4,                           activate=pageopen,width=4cm,height=3cm,                           flashvars={                           source=Video/pohyb1.mp4&autoPlay=true&loop=true                           }]{}{VPlayer.swf}         \end{figure}                 \end{column}      \begin{column}{5.5cm}         \begin{figure}                               \centering               \includemedia[label=video2,                          addresource=Video/pohyb2.mp4,                          activate=pageopen,width=4cm, height=3cm,                          flashvars={                          source=Video/pohyb2.mp4&autoPlay=true&loop=true                          }]{}{VPlayer.swf}         \end{figure}                                                         \end{column} \end{columns}    \end{frame}   Do someone know, why it doesn't work and how to fix it? Is it possible to do it witout using buttons?  Tomas


I've stuck with basics of JavaScript array. here is my code let arr = ['students', 'exams', [{'sub1':80, 'sub2':60},{'grade_sub1':'A', 'grade_sub2':'B'}]]; let new_arr = [];  new_arr = new_arr.concat(arr); console.log(new_arr); //output : ['students', 'exams', [{'sub1':80, 'sub2':60},{'grade_sub1':'A', 'grade_sub2':'B'}]]  new_arr[2].pop(); let sub_arr = []; sub_arr = sub_arr.concat(arr);  console.log(sub_arr); //output: ['students', 'exams',[{'sub1':80, 'sub2':60}]]   Expected output for sub_arr is ['students', 'exams', [{'sub1':80, 'sub2':60},{'grade_sub1':'A', 'grade_sub2':'B'}]]  I've tried using slice() also. it didn't work. plz help me with this issue.


Terminal command to open URL's in default and non-default browser

about how to open a URL in your default browser using the Terminal. Basically, you use the command   xdg-open http://google.com   My default browser is Firefox. But lets say that I wanted to open a specific website in Chrome, instead of Firefox. Is there a command to open it in Chrome instead of Firefox?


Iterating over an array with named objects

I have to iterate over 3 triangles (Dreieck x,y,z, IT IS NECESSARY THAT THEY HAVE THESE NAMES), and I want them in one Array.   I have written a method "check If Valid" which checks if it is possible to construct these triangle. If it is possible, it should return "true". I have written a foreach loop and I want that for every triangle in the array dreiecke it should print "true" if it is possible to construct it and "false" if it isn't possible. In my case it throws a NullPointerException.   Is there something wrong with initializing the Array?  public class DreieckTest { public static void main(String[] args) {     Dreieck[] dreiecke = new Dreieck[3];      //triangle     Dreieck x = new Dreieck(1, 7, 5);     Dreieck y = new Dreieck(3, 4, 5);     Dreieck z = new Dreieck(5, 3, 3);      for(Dreieck dreieck: dreiecke) {         System.out.println(dreieck.istGültig());     }    }    }   and here is the class Dreieck:  public class Dreieck { // attribute private int a; private int b; private int c;  public Dreieck(int a, int b, int c) {     this.a = a;     this.b = b;     this.c = c; }  //check if possible public boolean istGültig() {     if (a + b > c ^ a + c > b ^ b + c > a) {         return true;     } else {         return false;     } }


How can a demoralized research student restore the passion for research?

To the point, I do love conducting research, however, I have put myself in a very difficult point of research that made me switch to another Ph.D. program for the sake of more technical support. However, I found the other group doesn't have the required set-up devices as they have mentioned earlier before arrival, moreover, they don't have any idea how to solve this complicated point which they are interested in already. Finally, I felt I am in the same blank loop.  To be honest, I began to lose motivation and passion and sometimes I feel lost. I don't know what to do, I see crappy research published and seems everything to me to be fake, I am asking myself: Why this happens to me?.  My dream is to be like Carl Segan, Neil Degrasse Tyson, and present interesting science TV show one day, but I don't know how to reach this goal and present what I am really interested in.   Honestly, I don't know how should be the exact question, but I feel miserable, I don't know whether I have to look for another different point of research and easy to be solved. This would obligate me to look for another different research lab.  Maybe I am not smart enough, but, I began to feel academic field is so dull and boring. I would like to hear what I should do in that complex situation as I cannot dare to speak with anyone in my current research lab about my situation.


I have a 414(h) pension plan as a teacher in New Jersey. Am I permitted to also contribute yearly to an individual Ira?

My husband is a teacher in New Jersey; 61 years of age. He has a pension plan listed on w-2 in box 14 (other). It is coded as 414(h). He asked the tax advise person at the school if he could still contribute maximum yearly amount to an individual Ira and was told yes. An accountant we know told us this was incorrect. Can he deduct the amount placed in individual Ira?


how do I make my computer only play through my speaker even if headphones are plugged in?

My mini-jack input is broken, so my computer(HP pavilion dv6 Notebook) thinks there is headphones plugged in at all times. If I physically press lightly on the headphone intput location, speakers start working again. Even if headphones are plugged in, the cable needs to have tension in a certain angle to work. This is extremely annoying! Fixing it wud cost more than the computer is worth, and I can't afford a new one worth buying. I'm running Windows 7 with IDT audio. In all different options I've found, the speakers and headphones seems to have the same muscle. If I deactivate one, i deactivate the other. In fact, I cant find different options for them at all. Does anyone know a way I can force my computer to ONLY play through the speakers, even if headphones are detected? Not both at the same time, ONLY speakers!


Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed.  Is there a way to separately set the colors inside the TOC and outside?


How to proceed with inverse Laplace of $s\log\frac{s+4}{s-4}$

I have found the inverse Laplace transform of $\log\frac{s+4}{s-4}$, but do not know how to proceed


SQL rollup colum values into 1 concatonated value

What kind of SQL is needed to group by GroupID and then concatonate all of the Name values into 1 row with comma's separating the values?  So this:  GroupName   GroupID Name All screens 139091  Business All screens 139091  Business  All screens 139091  Cafeteria/Bathrooms All screens 139091  Lobby   Would become this:  GroupName   GroupID Name All screens 139091  Business, Cafeteria/Bathrooms, Lobby   This would need to be done on as many GroupID's as there are in the table and I am guessing skip duplicates. Is this better done on the C# side? The SQL version is 2008 R2  Group_Concat does not exist for use in SQL Server


Which is correct word "Log in" or "Login"

Which word is correct Log in or Login?    For an employee's daily log, to fill it's in and out timing.  What word is preferable in that context?


Word for a type of question that's founded on a misunderstanding of a concept?

Suppose someone asks the question:  How long ago did humans evolve from monkeys?  Since humans did not evolve from monkeys, this question is unanswerable as it is based on a misunderstanding of the concept of human evolution. Is there a technical word for these types of questions founded in a misunderstanding of a concept?  As in you would respond to this by saying:  I cannot answer that because you've asked me a _______ question.


How to plot ROC for LOOCV by hand based on output probabilities returned by SVM?

I want to plot ROC for Leave-one-out (LOO) cross-validation (CV). I have the decision values as well as probability values for each class from SVM classifier. I did see the answer to this ; however, the answer was not complete about plotting ROC according to probabilities.  As an example the output of my classifier for one sample is like this:  c1a   1  attr(,"decision.values")           1/0 c1a 0.1338180 attr(,"probabilities")             1         0 c1a 0.6824716 0.3175284 Levels: 0 1


How to report data for an entire population?

I am conducting a descriptive study, and I am  using the entire population in my study and not a sample. I understand that everything I am reporting is a population parameter at this point. However, how do I  report the relationships I might find between variables. For example, if I were to set up a contingency table, how will what I find be demonstrated as being significant. Should I use chi square?


Can I skip the second segment of a one way flight?

I'm planning to take a trip from Los Angeles to Houston, and found the ticket price is too high. However, I found a flight Los Angeles to Dallas/Fort Worth with a stop in Houston (LAX-IAH-DFW) that is more than $200 bucks less than the non-stop flight. Since I won't have any checked bags, can I just skip the IAH-DFW segment? What kind of problems could I run into if I do so (like being placed on the blacklist, shutting down my frequent traveler program, being charged for price difference, fine, etc.)? It's United I'm planning to take.


In the final phase of the Hunter Exam, why does Killua act the way he does?

I've just watched episode 20 of Hunter X Hunter, in which it is revealed that:      During the final phase of the Hunter Exam, Killua kills Bodoro as soon as the fight between Bodoro and Leorio starts.   Why would Killua act in this way?      He knows that both interfering in other fights and killing other applicants is against the rules.   So I don't understand why he did what he did.


What books are recommended for learning calculus on my own?

I recently graduated with a degree in bachelor of science with a focus interactive and multimedia design. I had to opportunity to take 1 C++ course and 1 HTML course. I was also only required to take one math class, introduction to calculus (and it was hardly calculus, it was more of a math class for designers)  Since graduating I have pursued a career in web development. I'm considering going back for a MS in computer science or MS in web technologies.   I feel my math has suffered dramatically as I have always been behind most others on my math studies (middle school through college). I want to learn calculus as I feel it's an integral part of any CS degree.   Does anyone have any recommendations on any great books that I can read through and teach my self a bit of calculus or other advanced math topics?  Thanks for any advice


What should I do when I receive downvotes for a question?

I have seen many questions on Stack Overflow with downvotes. If I receive too many downvotes, what should I do?  Should I remove the question?


How to find elements inside a commerce order form with dpm()?

I want to identify a specific field inside a commerce order form. The machine name of the field inside the order form is: commerce_customer_profile.  Using Devel Themer I've got:  $form['element']['#field_name'] = 'commerce_customer_profile';   But I don't know if that's correct, or how programatically get that information?  I know that I could add dpm($node, 'Debugging node ' . $node->title); to my node.module file, but how may I do the same with commerce module without actually hacking it?


What causes the chaotic trajectory of a balloon going flat?

I think this is not a duplicate of the question John mentions. That question asks specifically why the balloon makes a spiraling movement, which in general is not the case (the answers pay only attention to two variables: the nozzle and air resistance, for which there isn't a fixed centre of drag) while I ask the broader question which variables make the movement chaotic (which it is for sure while its velocity responds in a non-linear way to these variables). The non-spiraling movement can be seen as a sequence of (infinite) little pieces of circular trajectories because there are other variables influencing the motion of the balloon too (like the chaotic air movement around the moving balloon, which causes a non-fixed center of drag).  When a balloon goes flat it makes a chaotic movement through the air. Is it the interaction with the air, the behavior of the part through which the air escapes (in which case the balloon will also trace out a chaotic trajectory on the moon), or what?


Is there a way to do a quote:     like so   inline similar to code block?  While attempting, > This doesn't work > or > this <  I want to bring attention to my inline quote, and I don't feel quotations marks are enough.


My new 1,5 TB ext4 Hard Disk makes mysterious noises and fails to read and write. But not always. Sometimes it just works. But then I get those following errors. Does anyone know a solution for that or is my new WD Caviar Black 1.5 TB hard disk broken?  [  551.162286] ata7: SATA link down (SStatus 0 SControl 310) [  551.162294] ata7.00: link offline, clearing class 1 to NONE [  551.178223] ata7: EH complete [  551.190802] ata7: exception Emask 0x10 SAct 0x0 SErr 0x4040000 action 0xe frozen [  551.190807] ata7: irq_stat 0x00000040, connection status changed [  551.190811] ata7: SError: { CommWake DevExch } [  551.190818] ata7: limiting SATA link speed to 1.5 Gbps [  551.190822] ata7: hard resetting link   Update Mainboard P7P55D LE:


How to generate the entire bibliography while using refsection for partial bibliographies?

I would like to generate a global bibliography with all the cited entries.  Problem: the same document uses also small bibliographies for chapters with refsection. The final \printbiblioraphy does not print anything because all citations are enclosed by refsection.  How to generate the whole bibliography while keeping the partial ones? (i.e. print all references regardless if they are inside a refsection or not)  MWE:  \documentclass{book} \usepackage{biblatex} \addbibresource{biblio.bib}  \begin{document} \chapter{Test Chapter One} \begin{refsection}  \cite{goossens93}, \cite{lamport94}, \cite{rahtz89} \printbibliography[heading=subbibliography] \end{refsection}  \chapter{Test Chapter Two}  \begin{refsection} \cite{greenwade93}, \cite{patashnik88}, \cite{knuth79} \printbibliography[heading=subbibliography] \end{refsection}   \printbibliography[title=The whole bibliography]  \end{document}   biblio.bib  @book{goossens93,     author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",     title = "The Latex Companion A",     year = "1993",     publisher = "Addison-Wesley",     address = "Reading, Massachusetts"  }  @article{greenwade93,      author = "George D. Greenwade",     title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",     year = "1993",     journal = "TUGBoat",     volume = "14",     number = "3",     pages = "342--351",            url=" www.ctan.org" }  @book{knuth79,     author = "Donald E. Knuth",     title = "Tex and Metafont, New Directions in Typesetting",     year = "1979",     publisher = "American Mathematical Society and Digital Press",     address = "Stanford" }  @book{lamport94,     author = "Leslie Lamport",     title = "Latex: A Document Preparation System",     year = "1994",     edition = "Second",     publisher = "Addison-Wesley",     address = "Reading, Massachusetts" }  @misc{patashnik88,     author = "Oren Patashnik",     title = "{B}ib{T}e{X}ing.  Documentation for General {B}ib{T}e{X} users",     year = "1988",     howpublished = "Electronic document accompanying BibTeX distribution" }  @techreport{rahtz89,     author = "Sebastian Rahtz",     title = "A Survey of {T}ex and graphics",     year = "1989",     institution = "Department of Electronics and Computer Science",     address = "University of Southampton, UK",     number = "CSTR 89-7" }


Save an entire webpage, with all images and css, into just one folder and one file, with wget?

Is there a way to mimic the "Save - as" function in a browser with wget?  When I save a webpage in a browser, I get a folder with the assets(images, js, css) and the index file, which has the page name:  Nov 28 reddit: the front page of the internet_files Nov 28 reddit: the front page of the internet.html   But no matter what, when I use wget, I get something like this:  Nov 28  a.thumbs.redditmedia.com Nov 28  b.thumbs.redditmedia.com Nov 28  m.reddit.com Nov 28  out.reddit.com Nov 28  reddit.com Nov 28  www.reddit.com Nov 28  www.redditstatic.com   I tried using these:  wget -E -H -k -K -p https://reddit.com wget -r -x -mirror https://reddit.com       and came up with this: wget -E -H -k -p -e robots=off https://www.reddit.com  but all of them either made several folders or didn't download everything needed to view the page offline.  How would I set this up?


Application should skip the unity launcher

How can I skip the unity launcher for a (Py)Qt-app?  As you see when running the code below, there is an icon in the launcher. I don't need that icon because I manage the windows of that application by a menu in the unity top panel.  I could of course use devilspie and set skip_taskbar, but than I can't show the window again after it has been minimized.  Moreover, I know a Gtk-application that works as intended, but in contrast to my application, its GUI is generated by an .ui-file. There it is done by  <property name=”skip_taskbar_hint”> False < /property >. I need this in PyQt.  import sys from PyQt4.QtGui import QMainWindow, QApplication  class MyApp(QMainWindow):     def __init__(self, parent, title):         super(QMainWindow, self).__init__(parent)         self.show()  if __name__ == "__main__":     app = QApplication(sys.argv)     myapp = MyApp(None, "App")     app.exec_()   EDIT: Qt.X11BypassWindowManagerHint does remove the icon from the launcher, but makes the window always stay on top regardless if Qt.WindowStaysOnTopHint is set or not. So as a 2nd solution, does anyone know how to fix that? I guess because X11 is now bypassed, no Flag will work.


Show that $\lim_{p \to \infty} \| f \|_p = \| f \|_\infty$

In a space with measure $1$, $||f||_p$ is an increasing function with respect of $p$. To show that $\lim_{p \rightarrow \infty} ||f||_p=||f||_{\infty}$ we have to show that  $||f||_{\infty}$ is the supremum, right??   To show that, we assume that $||f||_{\infty}-\epsilon$ is the supremum.  From the essential supremum we have that $m(\{|f|>||f||_{\infty}-\epsilon\})=0$.  So, we have to show that $m(\{|f|>||f||_{\infty}-\epsilon\})>0$.   Let  $A=\{|f|>||f||_{\infty}-\epsilon\}$.   We have that $\int_A |f|^p \leq \int |f|^p \leq ||f||_{\infty}^p$.   $\int_A |f|^p >\int_A (||f||_{\infty}-\epsilon)^p=(||f||_{\infty}-\epsilon)^p m(A)$   So, $m(A)^{1/p} (||f||_{\infty}-\epsilon)<||f||_p \leq ||f||_{\infty}$  How could we continue to show that $m(A)>0$??   EDIT:   Is it as followed??  We have that $0<||f||_{\infty}-\epsilon<||f||_{\infty}$ for some $\epsilon>0$.  $||f||_{\infty}$ is the essential supremum. So, from the definition we have that $m\left ( \{|f(x)>||f||_{\infty}-\epsilon\} \right )>0$.   Let  $A=\{|f|>||f||_{\infty}-\epsilon\}$.   We have that $\int_A |f|^p \leq \int |f|^p \leq ||f||_{\infty}^p$.   $\int_A |f|^p >\int_A (||f||_{\infty}-\epsilon)^p=(||f||_{\infty}-\epsilon)^p m(A)$   So, $m(A)^{1/p} (||f||_{\infty}-\epsilon)<||f||_p \leq ||f||_{\infty}$  Taking the limit $p \rightarrow +\infty$ we have the following:  $$\lim_{p \rightarrow +\infty}m(A)^{1/p} (||f||_{\infty}-\epsilon)<\lim_{p \rightarrow +\infty} ||f||_p \overset{ m(A)>0 \Rightarrow \lim_{p \rightarrow +\infty}m(A)^{1/p}=1}{\Longrightarrow} \\ ||f||_{\infty}-\epsilon<\lim_{p \rightarrow +\infty} ||f||_p$$   Is this correct?? How do we conclude that $\lim_{p \rightarrow +\infty} ||f||_p=||f||_{\infty}$ ??


Linear regression - trend line with pgfplots


What's the Advantage of using MassEmailMessage instead of multiple SingleEmailMessage?

I'm scoping out a project that will involve sending outbound email messages, and I'm a little confused about why one would use a MassEmailMessage instead of multiple SingleEmailMessages.  If you look at the documentation, Singles have far more options available when it comes object types that can be used in the setWhatId methods, especially since they can accept Custom objects. Mass emails have very limited options for the setWhatIds.  SingleEmailMessage:   MassEmailMessage:   Single and Mass emails have separate limits, but they both have the same limit of 1,000 external email addresses per day.  And when it comes to using the Messaging.sendEmail(), you have pass in an array of messages anyway, so why not send in an array of many Singles instead of an array of one Mass?  So what am I missing? What's the advantage of using a MassEmailMessage for sending out a batch of emails when the SingleEmailMessages have more options?


Finding the argument of $z=1-\cos(2\theta)-i\sin(2\theta)$

So the complex number z is given as   $z=1-cos(2\theta)-isin(2\theta)$  And the question is to find the argument of z in terms of $\theta$.   So, I used the formula for calculating the argument of a complex number:  $arg(z)=arctan (\frac{sin(2\theta)}{1-cos(2\theta)})$  $=arctan (\frac{2sin\theta cos\theta}{1-(1-2sin^2\theta)})$  $=arctan (\frac{2sin\theta cos\theta}{2sin^2\theta})$  $=arctan (\frac{cos\theta}{sin\theta})$  $=arctan (cot\theta)$  $=arctan (tan(\frac{\pi}{2}-\theta))$  $=\frac{\pi}{2}-\theta$  But apparently the answer is $\theta-\frac{\pi}{2}$.  Where might have I gone wrong?  Edit: the domain given in the question for $\theta$ was $0≤\theta≤\pi$


My desktop wallpaper screen becomes fuzzy and pixelated after turning on

I installed Ubuntu 20.04 on my DELL G3 (now upgraded to 20.04.2). Everything worked fine, but after installing my graphics card driver (460) the background became fuzzy (Nvidia 1650Ti). I downloaded the driver through Additional Drivers. It was using Nouveau before.  Laptop Specifications:  Dell G 3 (2019) NVIDIA   (1650 Ti) 460 driver Ubuntu (20.04.2)  After turning on I have to change the wallpaper to remove those fuzzy things. I have tried using wallpaper with less / more memory but there was no change. Also tried changing resolution, but no change. Sometimes even font appear distorted in the same way. Please suggest proper solutions. Wallpaper without distortion (after changing wallper to default):  Wallpaper after restarting laptop:


How to define a recurrence relation in Maple without the command proc?

I want to calculate $u_1, u_2,\ldots,u_n$.  Can anyone help me to define this recursive series: $u_{n+1}=\sin(u_n)$ with $u_0=1.5$ without proc or loops?


I am tasked with proving that for $n\in\mathbb{N}\ge 3,$  $$Z(D_{2n})=\{e\}$$ where $Z(G)$ is the set of all elements of a group $G$ that commute with every element of $G$, and the Dihedral group is defined to be $$D_{2n}=\{r,s|r^n=s^2=1, rs=sr^{-1}\}$$    Clearly the identity element is always in $Z(G)$ for all groups $G$.  With the Dihedral group of order $2n$, if we simply look the subgroup $C_{2n}$, since this is a commutative group, all elements of the subgroup $C_{2n}$ commute with each other.  Now I have to look at the remaining elements of $D_{2n}$, the reflectional elements, $r^is$. For the product of a reflection and a rotation to be commutative, it must satisfy $$r^is*r^j=r^j*r^is$$ but by the property of the Dihedral group, $r^{i-j}s=r^{j+i}s$.  So then $i-j=j+i$  This should finish the problem, I feel, but I just get that $i=j=0$, which is not helping...How do I finish?   What's really annoying me is I haven't even used the faact that we have an odd order group.  Where am I going awry?


What are the differences and advantages of the integral and differential forms of Gauss's law?

What are the differences and  advantages of Gauss's Integral and Differential Equations? Thank you so very much!


C++ template member function not declared in this scope

I'm trying to create a linked list, but when I run IsEmpty(test) it just says it was not declared in this scope even though it's public.  I'm pretty new at templates, but I couldn't find the answer on google so I have to ask here.  Anyone know what the problem is?  Also, the error points to main() where I call IsEmpty()  //.h template <typename ItemType> class Node {     public:         ItemType Data;         Node <ItemType> *next;         int position; };  template <typename ItemType> class Linked_List {         public:         Node <ItemType> *start;         Linked_List();         bool IsEmpty(); }   //.cpp   #include "Linked_List.h" #include <iostream> #include <cstdlib> using namespace std;  template <typename ItemType> Linked_List <ItemType>::Linked_List(){     start = NULL; }  template <typename ItemType> bool Linked_List <ItemType>::IsEmpty(){     if (start == NULL){         return true;     }     return false; }  int main(){     Linked_List <int> test;     cout << IsEmpty(test) << endl;   //error points to here }


Book with a main character who uses bells to dispel the dead

I'm trying to remember a book set in an alternate England with a walled-off section that contains undead and other magical phenomenons, which can be controlled and dispelled by playing special musical bells. The owner of these bells is the main character's father, and is responsible for maintaining peace between the walled-off area and the rest of England. When he is captured by a powerful undead, the main character goes into the walled-off land to rescue him using her own set of bells.


Effect of Eath's rotation on a ball thrown upwards

Since the Earth is rotating it should have acceleration (in the sense that there is change in direction of velocity). So if we throw a ball upwards won't this acceleration affect its trajectory in some way? (If yes is it due to the smaller size of the ball and length of its path, compared to that of the Earth, we are not feeling it?)


Synthesist summoner and Linnorm Death Curse, Taiga rage power

I am playing a Synthesist summoner level 7. I am thinking of taking 6 levels in skald to get the Linnorm Death Curse, Taiga rage power but i am not sure if it would activate while using raging song when my eidolon dies.


Referencing a cell from another sheet using a value in another cell

I'm trying to find a way to reference a cell from another sheet using a value in another cell from the "home sheet." I've tried to use INDIRECT but I'm not quite sure how to use it when the cell I'm trying to reference is from another sheet. For example: Let's say that I have two sheets, Sheet1 and Sheet2. Cell B30 of Sheet2 contains data I want to be referenced in cell A2 of Sheet1. In Sheet1, the cell A1 contains the number 30. So in cell A2 of Sheet1, I want to reference cell Sheet2!B<the number that is in Sheet1!A1>. Does anyone know how I can go about this, if I can at all? As mentioned I tried using INDIRECT but not exactly sure if this works if the cell referenced is from another sheet.


Does increasing voltage increase the torque of a brushless motor?

1.) I have a brushless motor with testing data at 12V. I want to know if I increase the voltage supply, will this increase the torque?   In my research I keep seeing "current controls torque, and voltage controls speed." But that doesn't seem quite right. Let's say I have a theoretical electrically powered unicycle that is weighted. With a 5V source and 2A, the motor can't move the unicycle. But now I increase the voltage to 10V, and I believe current will also increase by x2 if resistance is constant (V = IR). So now the torque increases and the unicycle can move itself. It that a reasonable sequence of events? Can I say that increasing voltage increases torque?   2.) A similar question: if P = VI = tau*omega, then P/omega = tau, so:  2*(P/omega) = 2*tau, which means increasing power will increase torque, correct? And since P = VI, increasing V will increase P, which will in turn increase torque. Is this accurate at all?


I am trying to take advantage of the new georeferenced PDF export in QGIS 3.10 but the checkbox is grayed out with a message that "GeoPDF creation required GDAL version 3.0 or later".  The answers from  include a workaround for windows as well as claims that the newest releases and nightly builds are now built against GDAL 3.  However, I downloaded the mac nightly from  and it still uses GDAL 2.4.1.  Can anyone tell me how to get the necessary versions on a Mac?


How to remove prefix from multiple files in a directory

I have ~250 files with the name:  no_responseEvent_2002.02.07.03.15.56.970/        no_responseEvent_2002.02.10.01.47.07.450/        no_responseEvent_2002.02.13.14.18.46.00/   I want to remove 'no_response' from each file name. How do I do that? I know a for loop could work, but I am confused about how to implement it.


Parsing data directly from the given URL

Could someone give me an idea how I can parse the this link  directly from this given link:  I can only get that cache link from chrome network panel. But i want to direct from the link. I'm getting some string from the cache url. Just give me tip and I'll explore it


How can I easily delete many items at once from the Chrome history?

I want to remove a large number of specific items from the Chrome history.  I can search for my term, but then I have to click a lot of checkboxes just to remove every item. Is there a way to make this process faster?


Is it possible to use a 12V 3,35A power supply to power a 20V 2,5A device?

title says it all.. The device works with that power supply (adapter), but will it make any damage to the device or even worse (blow out or something like that)?  thanks


Closed form expression for infinite series

I was given the following function:   $$ f(x) =  x + \frac{2x^3}{1\cdot3} + \frac{2\cdot4x^5}{1\cdot3\cdot5} + \frac{2\cdot4\cdot6x^7}{1\cdot3\cdot5\cdot7}...   $$  $$ \forall x    \in [0,1) $$  And then I was asked to find the value of $ f(\frac{1}{\sqrt{2}}) $, which obviously requires me to compute the closed form expression of the infinite series.  I tried 'Integration as a limit of sum' but I was unable to modify the expression accordingly. How do I approach the problem?


I want to create a Python's code snippet which includes single quotes using minted package. I've put it altogether like this:  \begin{minted}[     autogobble,     frame=lines,     framesep=4mm,     fontfamily=fdm,     fontsize=\footnotesize,     python3=true,     style=vs]{python} >>> D.mro() [<class '__main__.D'>, <class '__main__.B'>, <class '__main__.C'>, <class '__main__.A'>, <class 'object'>] \end{minted}   But the output does look a bit odd:    However changing single quotes to double quotes does not seem to work either. Does anyone know how to fix such behaviour? Thanks


Question: Let $V$ be span of $(1,1,1)$ and $(0,1,1)∈\mathbb{R^3}$, let $u_1=(0,0,1)$, $u_2=(1,1,0)$, $u_3=(1,0,1)$ then which of the following are correct?   $1.(\mathbb R^3\backslash V)\cup \{(0,0,0)\}$ is not connected.  $2.(\mathbb R^3\backslash V)\cup \{ tu_1+(1-t)u_2:0\le t\le 1\}$  is connected.  $3.(\mathbb R^3\backslash V)\cup \{ tu_1+(1-t)u_3:0\le t\le 1$} is connected.  $4.(\mathbb R^3\backslash V)\cup \{(t,2t,2t):t\in \mathbb R$} is connected.  My attempt: I know what is definition of connected sets, but usually I had applied the definition to subsets of $\mathbb{R}$ but yet i didn't applied it subsets of bigger space $\mathbb{R^3}$. But to start the problem, first I had to find $V$.   Now, $V= span\{(1,1,1),(0,1,1)\}$  $= \{x(1,1,1)+y(0,1,1): x, y ∈\mathbb{R^3}\}$  $=\{(x,x+y,x+y): x,y ∈\mathbb{R}\}$  Now, what will be, $(\mathbb R^3\backslash V)$? it's complement of $V$ in bigger space $\mathbb {R^3}$, beyond my imagination!!  Got stuck! From hours, Please help me..


For what value of n this inequality is true and how to find it step by step?

The inequality is  $1000n^3<2^n$ I'm trying to see for what value of $n$ an algorithm A who takes ($1000n^3$) steps takes less time than another algorithm B who takes($2^n$) steps.  Any idea how to do that step by step?