Counting independent components of Riemann curvature tensor

I'm having some trouble understanding the counting procedure for the number of independent components of Riemann curvature tensor $R_{iklm}$ in 4D spacetime. (The answer is supposed to be 20, but I'm trying to understand how so!)  Let's do it sequentially:   Since we are looking at a rank 4 tensor in 4D, $R_{iklm}$ could bear $4^4 = 256$ components in general. (I follow this argument.)  Since the tensor is anti-symmetric w.r.t. first and second pair of indices, i.e. $$R_{iklm} = - R_{ikml} = - R_{kilm}$$ all 256 are not independent. e.g. $R_{1234} = - R_{2134}$, and those where these antisymmetric indices get repeated, vanish. e.g. $R_{1134} = - R_{1134}$, and hence $=0$. Thus, the number of independent components is far lesser. (I follow this qualitative argument.)   Trouble begins when we have to count how many. An attempt towards the answer can be found at , from which I quote verbatim:     The two conditions show that all components where either the first and second indices, or the third and fourth indices are equal must be zero. In four dimensional spacetime, this means that at most $\left[\ {}^4C_2\ \right]^2 = 36$ components can be non-zero, since we can choose two distinct values for both the first and last pairs of indices.   I don't get the above argument cleanly: of course with repeated indices, we get a vanishing answer, so the indices have to be distinct, but how does number of independent components amount to "choosing two distinct values for both the first and last pairs of indices"?  i.e. what is the origin of the latter half of the sentence?     An alternative reasoning is adopted in a comment made below the post in the aforementioned link:      It was stated,…. “The two conditions [(1) & (2)] show that all components where either the first and second indices, or the third and fourth indices are equal must be zero.”      …This is correct as stated, since an interchange of two indices that are equal refers to the same tensor component, and the only number that can be equal to the negative of itself, is zero. However this only accounts for 112 components being zero; with 256 – 112 = 144 still left that are not proven to be zero.      A 4 X 4 anti-symmetric matrix is one where the 6 bottom-left triangle of components are equal to the negative of the 6 upper-right triangle of components, and so dependent, and that the diagonal components are zero (already counted).      So, for the nj-matrix, get rid of the 6 dependent, for each of the lm combinations,.. that’s 6*4*4=96. For the lm-matrix, again get rid of the 6 dependent, for each of the nj combinations,.. that’s 4*4*6=96. That’s 96nj + 96lm – 84 (that are counted twice) = 108. Now, 256 – 112 (above) – 108 = 36.   The spirit underlying this answer looks cleaner, but there are some missing steps:  How do we count that 112 vanish? How do we count that 84 were counted twice as per the former argument?  I'm sure that if I am able to understand this part, I would be able to figure out the rest of the counting myself too (i.e. slashing 36 to 21 because of the symmetry argument, and reducing one more due to the Bianchi identity constraint.)  Any help in clearing the haze would be greatly appreciated.


How to get distinct value from array of object in C#?

I have an array of an object called storing, some of the object's attribute (skuID) is the same with some of the other storing with different (storingID), how do i make my array distinct depending on their (skuID)?  Storing(string storingID, skuID, storageID, price, expiry)   I have tried this but it doesn't work:  List<storing> storingAll = (List<storing>)Session["storingAll"]; List<storing> displayedStoring = storingAll.Distinct().ToArray();


How can I change the size of one symbol in an equation?

I want to use a symbol f in some of my equations (to denote a very important function), and I want it to stand out, so I was thinking of boosting its size. Unfortunately, I cannot find a way of enlarging particular parts within an equation, as opposed to enlarging an equation as a whole (with, , \scaleboxfrom graphicx package) or shrinking a particular part (with, , \scriptsize of mathtools). Of course, I could make  a separate equation for every f, but this would be quite messy in practice, and it is hard to phrase as a \newcommand (and I definitely want a \newcommand{\f} for this).  So, is there a way I can go about obtaining the enlarged f in math mode?


Applying L'Hopital's rule for $\lim_{x\to\infty} x((1+1/x)^x-e)$

I know the limit is $-e/2$ but I can't get there. I know I should be using L'Hopitals Rule here, I tried both $0/0$ and $\infty/\infty$, either way it's a big mess. Please help. Maybe you can use the $e^{log(...)}$ trick but I haven't found it to be useful.  Edit: I'm not familiar with the Big-O notation


Why did the normal distribution become such a popular (important) distribution? I know one reason is because of CLT. Can you please give more reasons?


Why implicit constructor with one parameter prints the last value, if multiple values are passed during object creation?

I have a class 'Entity'. It has a user-defined constructor (implicit) with one argument as shown below. class Entity { public:     Entity(int a)     {         std::cout << a << std::endl;     }     Entity(const std::string& s)     {         std::cout << s << std::endl;     } };  int main() {     Entity e1 = (10, 20);     Entity e2 = (10, 20, 30);     Entity e3 = (10, 20, 30, 40);     Entity e4 = (std::string("Hello"), std::string("World"));     return 0; }  The output of the above program is 20   30   40   World  Can anyone tell me why only the last value (integer, string) passed is printed? Note: If the constructor is made explicit, then there will be compilation error. Why this output with implicit constructor?


With + noun+noun? Does this structure work?

"With cats and dogs the most popular companion animals around the world, it’s no surprise that they are often compared to one another in the great cats vs dogs debate." Please help me understand this part"With cats and dogs the most popular companion animals around the world" I know how the nominative absolute works with with, however, the predicate here is a noun. Is it grammtically correct?


How Often Does Total 'Data Received' Reset in Activity Monitor?

How often does "Data Received" and "Data Sent" reset in the activity monitor pane shown below:    Nothing I can think of (daily, since last restart, all time, etc.) seems correct given the numbers I'm getting, so I'm baffled as to what it could actually be.    I know that I've downloaded more than 24 GB since I've owned the computer, but less than 24GB today.


When applying for a visa has there ever been a case of embassy asking for proof of right to be in the present country?

I believe I heard cases when a Chinese citizen living in the US attempted to renew their passport they were asked for proof on what grounds they were residing in the US as there was no US visa in their expiring Chinese passport (the person was a US dual citizen).  Now, has anything like this ever happened when a person applied for a visa to some other country and instead received a similar request to justify on what legal basis they are in the present country?  So, to give an example of what I mean, if a Chinese citizen living in the US sent their Chinese passport (without a US visa) applying for a tourist visa to, say, an Australian, Russian, Polish, etc embassy. Just an example, I'm trying to see if anything like this is possible/has happened in general.


Missed the connecting flight, separate tickets on same airline - who is responsible?

I have missed my connecting flight from Frankfurt to New York. The time gap between incoming flight and connecting flight was about 2 hours. The incoming flight was delayed for about 90 minutes. Both flights were operated by same airlines but both tickets were separate (no single ticket). Now who is responsible for the missed flight?


Possible Duplicate:          How do you write the # character in LaTeX?


In the following sentence , should locally owned have a hyphen?  A fun, causal way to sample the sights, stories and flavors of a cross-section of locally owned restaurants.


Prove that the unit disk is homeomorphic to $\mathbb{R}^2$

I have been stuck on this problem and am not quite sure where to begin. Based on my readings I am aware an analytic function exists, but I am not sure how that is derived. How would one go about showing the two spaces are homeomorphic?


View top week/month questions on pages I am not logged in

On Stack Exchange sites where I am not logged in, I see the header saying "How it works" and a list of questions saying "Explore our questions".  On sites where I am logged in, these disappears and there are tabs to switch between "active", "hot", "week" and "month" questions.  How can I view them on sites where I am not logged in?  I want to do this because I find it interesting reading the top questions of a week/month of a site, but do not want to log in for that.


Cannot log in to Ubuntu Forums and cannot contact administrator

I have a dilemma. I can't log in to Ubuntu Forums using my user name. When I try to recover my password. It says my email is not in the system. It says I can contact the administrator. When I click on the link to contact the administrator, it says I have to be logged in.  I believe I was in the midst of setting up and account after signing in with Launchpad. The process never completed, so I don't have a password. I'm pretty sure the user name I'm trying to use does not belong to anyone else.


Selecting predefined ArcMap template using ArcPy?

i have managed to create script for search cursor which will replace the text element in one of the template from help provided from my previous question  I would like to know how i can specify the predefined template in the script below so that the script automatically load the template..   Currently i am change the template manually. the template is located in my Map template folder inside Arcgis installation directory.  note: this script is used in creating a map printout which also has select by attribute > zoom to selected feature, change view to layout view > update text element > print.   import arcpy mxd = arcpy.mapping.MapDocument(r"Current") table = r"C:\Users\name\Documents\ArcGIS\DATA.gdb\\Layer" # lyr from which data will be pulled value = arcpy.GetParameterAsText(0)# enter UNIQUE_REC from layer query = "\"UNIQUE_REC\" = %s" % (value) # string conversion via str() prior to formatting theseRows = arcpy.SearchCursor(table, query)  for row in theseRows: if theseRows:     print(row.getValue("LOT")) else:        print "CORRECT UNIQUE_REC" for elm in arcpy.mapping.ListLayoutElements(mxd, "TEXT_ELEMENT"):    if elm.text == "text7":      elm.text = (row.getValue("LOT"))   arcpy.RefreshActiveView() del mxd


is it possible to issue dynamic include in asp-classic?

I mean, like php'h include...  something like   my_file_to_be_included = "include_me.asp"  -- >   for what I've seen so far, there are a couple of alternatives, but every one of them has some sort of shortcoming...  what I'm trying to figure out is how to make a flexible template system... without having to statically include the whole thing in a single file with a loooooong case statement...  here there are a couple of links            but it has some shortcomings I'd like to avoid... seems like (haven't tried yet) Server.Execute code runs in another context, so you can't use it to load a functions your are planning to use in the caller code... nasty...        I'm not sure about it (couldn't test it yet) but it seems like this one dinamycally handles the page to a SSDI component...  any idea???


How would I go about creating a filename with invalid characters such as :?> ?

I need to do create a file with a filename such as :>?, is this possible somehow? Windows stops it.


Order of cyclic groups and the Euler phi function

According to Wikipedia, a  (in group theory) is one which is coprime to its Euler phi function and is the necessary and sufficient condition for any group of that order to be cyclic. Why is that true?  I can see that if $n$ is prime, that guarantees any group of order $n$ is cyclic, but I don't seem to see how to extend it to $(n,\phi(n))=1$  It would be nice if someone could explain it to me. Thanks.


Cannot boot from Ubuntu live usb (pcie bus error)

I recently created an Ubuntu 20.04 Live USB via Rufus but when I try to start from the USB, I get a screen full of messages like pcieport 0000:00:01.2: AER: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=000a(Transmitter ID) pcieport 0000:00:01.2: AER: device [1022:1483] error status/mask=00001000/00004000  flooding my screen. Nevertheless, I cannot even boot up my Live USB. I haven’t seen any good solutions on the web. My PC is custom built with Nvidia gtx graphics and an MSI x-570 motherboard. I don’t see how either would cause this to occur. How do I fix this? Thanks.


If I chose "Replace Windows with Ubuntu", do I lose the other partition too?

I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose "Replace Windows 8 with Ubuntu", do I lose the other partition too?   And are there other ways to leave the other partition as it is, and install ubuntu in the partition  where windows was installed.


How come the universe is made of matter and not antimatter?

Antimatter is like matter on opposite day: it has the same properties as the stuff that makes up planets, stars and galaxies, but one vital piece is different—its charge. The universe supposedly started off with equal parts matter and antimatter, but somehow, matter won out. Most of both substances annihilated each other shortly after the big bang, and left a small surplus of matter remaining.


Hello I am using ubuntu server and I am getting an error when I try to use sudo:   sudo: unable to resolve host ira: Resource temporarily unavailable  I have looked this error up and people say its something with /etc/hosts/  Here is mine:   127.0.0.1       localhost.localdomain   localhost ::1             localhost6.localdomain6 localhost6  # The following lines are desirable for IPv6 capable hosts ::1     localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts    What is wrong with this file? Also what could cause this? was it someone changing this file by hand or is it the system that did it?  Thanks, Ira.


Where should I post a question regarding Source Filmmaker?

Source Filmmaker is a animation software that allows uses to import any assets for the Source Engine and then animate it. (But not sculpt/use models from scratch; that's the Hammer tool) However, I'm not sure where to put it; StackOverflow is for web development and SuperUser isn't meant for filmmaking... While video.SE doesn't cover the usage of the programs. I'm not making a video; I'm trying to make a map work.   (No, this isn't a game, even though it uses a game engine), so - It doesn't go onto Gaming.SE  Also, there aren't tags (source-filmmaker) for it on any of them.  Where would I ask a question like:   How do I properly run a DoTA 2 map [in Source Filmmaker]?  I've imported and mounted the DoTA 2 assets. However, when I try to open the DoTA 2 map, it crashes. However, I can open any other model (ie. Gear, Couriers, Heroes etc.) and use it in any other map.


I keep reading the phrase 10 times lighter than..... or similar. This quote is current: "Plastic containers are cheaper to make and 15 times lighter than glass ones, says Dairy Crest". This can not be correct usage surely?  I can take 'glass ones being 15 times heavier than plastic ones' or, though unwieldy, plastic ones are 1/15th the weight of plastic (ones), but 15 times lighter?  It seems popular.


How long does Google take for the rating stars to show up in the SERP?

I have a rated page since 10 days ago, and the rating starts are still not showing in SERP.   is not showing any errors.  Should I wait some more time? How long does Google usually take for the rating stars to show up in SERP?


Once other reason I was tempted to set up this account when I saw my bro was having multiple Christmas Hats to show off...  Aren't there any of those this year?


Arguments and positional parameters in `bash -c `

Bash Manual says about bash -c <some-command>:     Read and execute commands from the first non-option argument after processing the options, then exit. Any remaining arguments are assigned to the   positional parameters, starting with $0.   What do the following mean:   "the first non-option argument after processing the options" "Any remaining arguments are assigned to the positional parameters, starting with $0"   In the second one, are the positional parameters for bash or for some-command?


How to compute IVx (Implied volatility for a specific expiration) and the expected move with options?

By searching online, I have found three methods to compute the expected move of a stock based on option prices and implied volatilities: Method 1: Extract the price of a Straddle ATM of the front month  --> Exp_Move = (call ATM + put ATM) Method 2: Take the price of a Straddle ATM of the front month and multiply it by 0.85  --> Exp_Move = (call ATM + put ATM)*0.85 Method 3: Compute the expected move by scaling the implied volatility of the nearest expiration  --> Exp_Move = Stock_Price * IV/100 * SQRT(n/365) DOUBT NO. 1: Which one is the most accurate one between method 1 and method 2? Where does the "0.85" come from? DOUBT NO. 2: To compute the Exp_Move with Method 3 I need the IV... I still do not understand how I can compute the IVx of the front month expiration based on the implied volatility of the options with that expiration. Is that a sort of weighted average of the implied volatilities? I noticed on tastyworks's website this description:  Implied Volatility (IVx): The implied volatility (IVx) metric displayed in the option chain is calculated using the VIX-style calculation described at the following link.  However, this seems something almost impossible to reproduce based on historical option data provided by OptionMetrics. Is there a way to reach very accurate estimation of the IVx based on the implied volatilities or the prices of the options of that precise expiration? I attach a couple of pictures of the same option chain where I explain what I am trying to compute... (By the way... I have no idea why two different brokers platforms provide slightly different IVx values...). Image 1 - Option chain on tastyworks IVx:  Image 2 - Option chain on thinkorswim IVx:


I'd like to understand common and practical username creation conventions which could be used in companies as unique names of user accounts. Let's say a small company with perspective of growth wants to consolidate its home-grown IT and want to deploy their first enterprise-wide solution. What username would be assigned e.g. to Martin Scorsese, Leonardo DiCaprio, Joey McFarland and Emma Tillinger Koskoff? Please illustrate on these names as they cover some less typical cases. Please do not simply suggest a naming scheme, but add an explanation of its rules. Mind the conflict resolution when person with duplicate name joins the company or when different names in some cases lead to same username.  I already have experience with naming scheme which would lead to: mscorsese, ldicaprio, jmcfarland and etkoskoff. It does not give nice result when sorted and usernames are not very readable, but they are kept short and avoid most common duplicates (John and Adrian Smith won't collide).  I'm especially interested in username schemes suitable for companies up to 1000 employees, but experience with usernames in large corporations (100.000+ employees) is welcome, too.


Your attitude and work ethic “reflect...” or “reflects...”?

Which of the following sentences would be correct?   "Your attitude and work ethic reflect your desire to succeed."  "Your attitude and work ethic reflects your desire to succeed."


If the coefficients of a quadratic equation are odd numbers, show that it cannot have rational roots

If the coefficients of a quadratic equation $$ax^2+bx+c=0$$ are all odd numbers, show that the equation will not have rational solutions. I am also not sure if I should consider $c$ as a coefficient of $x^0$, suppose if I take that $c$ is also odd, then $$b^2-4ac $$ will be odd. But that $-b$(odd), in the quadratic formula will cancel out the oddness of $\sqrt{b^2-4ac}$, in case if it is a perfect square. If it's not a perfect square then the root is irrational. If I take $c$ to be even, even then the  same argument runs but we noticed that when we take $c$ odd, we get that when discriminant is perfect square, so that means the question asks for $c$ not to be an coefficient. Final question: Is this right to take $c$ as one of the coefficients of the equation $ax^2+bx=c=0$?


apt-get upgrade: why is lxc-docker being kept back?

Why is lxc-docker being held back? I also notice that my web app, running on Docker, is quite slow. Any suggestions?  [lucas@production]/home/lucas$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required:   linux-image-3.16.0-28-generic Use 'apt-get autoremove' to remove it. The following packages have been kept back:   lxc-docker 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. [lucas@production]/home/lucas$ sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following package was automatically installed and is no longer required:   linux-image-3.16.0-28-generic Use 'apt-get autoremove' to remove it. The following packages have been kept back:   lxc-docker 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.   Note that I have already run sudo apt-get dist-upgrade, which does not resolve this issue. Thus, I don't think my questions is a duplicate of


Could you use these two sentences the same way? Which one is worse:  This wasn't no common day. This wasn't a common day.


If there is a super massive black hole at the center of our galaxy then why is the center of our galaxy so bright?

Below is our galaxy, if there is a such a massive black hole at the center then wouldn't it suck in any light traveling above it, or is the amount of light put out by stars near the center so great that the light is sucked in slower than its produced?


Distribution of a transformation of normally distributed independent variables.

If $W = \frac{X + YZ}{\sqrt{1 + Z^2}}$ where all variables involved are standard-normally distributed and independent, what is the distribution of $W$?  The solution I am reading begins with $$P(W \le w) = \int \int \int 1_{(-\infty, w)} ( (x+yz)/(1+z^2)) \frac{1}{2\pi} \exp^{- (x^2 + y^2)/2} \ dx dy \frac{1}{\sqrt{2\pi}} e^{-z/2} dz $$  but I don't find that particularly helpful. What happened?


Remove custom dns server setting via command line

So I typically run the following to set a custom DNS server when I am on WiFi:   networksetup -setdnsservers Wi-Fi <desired-dns-server-here>   However, I would like to know how to unset custom DNS servers and revert to DHCP provided DNS.  article from 2015 says that running networksetup -setdnsservers Wi-Fi should do this, but on macOS 10.15 that results in ** Error: The amount of parameters was not correct.  Any ideas how this can be done?


Where should looking-for-resources questions go?

Questions like looking for css templates, blog templates, icons ... In general, resources (let's leave the licensing terms aside for now) which you might need when building a project of your own. Where should those questions go?  They're definitely not on-topic on Stack', SuperUser maybe although I doubt it. Webapps? Hmm, probably not.  Is there a place where they would be on-topic on the SE network?


exFAT vs NTFS. Is exFAT stable enough in 14.04?

Is exFAT stable enough in Ubuntu 14.04?  I have an external usb hard drive that I need to access from Windows and Ubuntu. Should I use exFAT or NTFS?   If I only were using Windows PCs, I would go for exFAT. But now that I need to access the drive from Ubuntu too, I am considering NTFS because it has a longer support in that system.  Can someone post a list of cons and pros?


I Have step down transformer that transforms 240V to 9V.  However, I cannot find out, which terminals are for input and which are for output. The turn ratio size is very similar, because it is covered.  How can input and output side be identified?


Is there a way I can share the 3.42 GB download of Windows 8.1 from Windows Store?

Windows 8.1 is out, and I would like to know if it is possible to share the Windows 8.1 download upgrade between different computers so that I don't have to download it over and over again?  This might be helpful for people who are on a metered connection. Store is downloading 3.42 GB of data so it must be stored somewhere. Is there a way I can copy it to my other computers and start the setup so that I don't have to download it over and over again on each computer I own?


Create a tar archive split into blocks of a maximum size

I need to backup a fairly large directory, but I am limited by the size of individual files. I'd like to essentially create a tar.(gz|bz2) archive which is split into 200MB maximum archives. Clonezilla does something similar to this by splitting image backups named like so:  sda1.backup.tar.gz.aa sda1.backup.tar.gz.ab sda1.backup.tar.gz.ac   Is there a way I can do this in one command? I understand how to use the split command, but I'd like to not have to create one giant archive, then split it into smaller archives, as this would double the disk space I'd need in order to initially create the archive.


I forgot my email address and password for my galaxy j7 how to bypass google verification

How do I get I into my account when I forgot email and password. My 4/ year old messed up my phone plz help


Is possible to estimate the value of the following integration.

I need to estimate this integration $\int_{0}^{1}\frac{1}{x}dx$. Is possible to estimate ?


Why did the Ringwraiths not fly the winged beasts to the Shire instead of riding the whole way there?

It seems like it would have been much faster and they probably would have caught Frodo before he was alerted, no?


How to delete all rows from all tables in postgresql?

Is there any SQL query to delete all rows from all tables in postgresql?


Riemann sums upper and lower sums question

I asked a similar question yesterday, but I didn't really get the info I wanted so maybe if I post a question and get an answer I will understand this concept better. Just some background info the topic is using Riemann sums approximation to find upper/lower sums.   The question is $f(x)=(x-2)^{2} +1, [a,b]=1,3,$  find the lower sum with $n=3.$  Here is my attempt: $\sum_{1}^{3}$, by Riemann's definition: $\Delta x= (b-a)/n,$ so our $\Delta\,x$ is $2/3.$ $x*k= a+\Delta\,x*k= 2/3k+1$ for $k\in \{0,1,2,3\}$ according to my book, why does it include 0 is my question?  So I have my $\Delta x$ and my $x∗k.$ Now I have to check where the function given is decreasing and increasing on the intervals given, correct?  So my 3 sub intervals are $[1,5/3]$ and $[5/3,7/3]$ and $[7/3,3]$  If I plug $1$ in $(x-2)^{2} +1$ I get $2,$ plugging in $5/3$ I get $10/9.$ so It appears from $[1,5/3]$ we are decreasing. So for this first interval my lower sum is 5/3.  Next interval is from $[5/3,7/3]$. Plugging in $5/3$ I get $10/9.$  Plugging in $7/3$ I get $10/9.$ In this interval I have no lower sum, so I add the two and divide by 2, giving me a lower sum of 2.  Final interval is from $[7/3,3]$.Plugging in $7/3$ I get $10/9.$ Plugging in $3$ I get $2.$ In this interval the lower sum is 7/3.  Now here is where I get lost. The answer according to me text is 2/3*(((5/3 -2)^2 +1) +((2-2)^2 +1) + ((7/3 -2)^2 +1)). So what I understand what they did is they expanded the summation 3 times, I get that.  They plugged x as the lower for each expansion, ie. 5/3 for the first expansion, 2 for the secound expansion, and 7/3 for the last expansion. I get this.  Then they multiplied the whole thing by $\Delta x$  My main concern is where did we use  2/3K +1. What was the point of even figuring this out, wouldn't we have been fine with just $\Delta x$. I thought we would plug in 2/3K +1  where x is in each expansion like right/left sums.  EDIT: Can someone answer the questions in my post please, I get how to do most of it


Show that $\frac{1}{x^x}$ is continuous on $[0,1]$, and find its integral on this range.

The question is as follows:  Show that  $\frac{1}{x^x}$ is continuous on $[0,1]$, and that its integral on this range is equal  to $\sum\frac{1}{n^n}$ from $n=1$ to $n=\infty$.  The question also provides the following hint:  Write $\frac{1}{x^x} = \sum\frac{(-xlogx)^n}{n!}$ from $n=0$ to $n= \infty$.  Thanks so much for any help! :)


Trading Property to settle a debt in Monopoly

Player 1 has landed on Player 2's property and cannot afford the rent. Can Player 2 accept a property with money to settle the debt?  Example: Player 1 owes the rent of 500, they have 400 and a property worth 100 (according to the bank). Can Player 2 accept the money and the property to settle that debt?   This could be considered a trade and it the official rules don't explicitly restrict the time at which a trade can be completed. (However, since it could be considered a trade, Player 2 could consider the property to be worth what they want [and therefore worthless] to bankrupt the Player 1)  As a family, we have always played it so that the property is worth the equivalent of its face value. We chose this because it reflects the "real world" in a more accurate way.   However, after re-reading the rules, taking them at very face value, you should be bankrupt the moment that you cannot afford the rent after mortgaging and selling houses (if by doing that it will cover the rent).  I'm now more on the side of bankrupting without allowing for trading. However, we've been keeping high scores since 2002, it might not be worth it.   Summary:  When a player cannot pay rent with money, mortgages and buildings, the rules can be interpreted in 4 ways:    the player is bankrupt immediately.  the player may trade with the other players, except the creditor.  the player may trade with any other player.  the player may use the face value of the card to pay towards the debt.


What coordinate system/projection are these Fresno, CA data points?

I have some shapefiles which include various points and a corresponding street address, whose lat/lon I've manually found in Google Maps. There is no .prj file.   Google Maps Lat,Lon,       unknown coordinate system x, y, city, state 36.7448656,-119.7937943,   6329742.00029, 2155243.06469,   Fresno, CA 36.7341137,-119.8126966,   6324144.37016, 2151400.93634,   Fresno, CA


What is the name for words that are only used in a certain order even though switching them would be grammatically correct?

E.g. hammer and anvil, and part and parcel.  Unlike a normal cliche all of these would make sense if you switched the word order, but no one ever does.  I remember seeing a name for this, but can't remember what it was.


Dawnguard vampire lord and companions werewolf question

I have the dawnguard DLC for Skyrim and I want to know what will happen if I become a vampire lord before I start doing the companions quests that eventually turns me into a werewolf.   If I complete dawnguard and chose to be a vampire lord before doing companions werewolf transformation, will I be forced to do the werewolf blessing or can I just skip it?   Also, if I do become a vampire lord, and choose to become a werewolf, will I be able to cure the werewolf disease and become a vampire lord again?


Brouwer fixed-point theorem on non-convex sets

I read about the  in Wikipedia, and got confused about whether it holds when the domain of the function is non convex. On one hand, convexity is explicitly mentioned as a pre-condition. On the other hand, they say that it holds also for domains that are homeomorphic to a disc, and there may be such domains which are not convex (e.g. a concave quadrangle). So, what is the largest family of sets of $\mathbb{R}^n$ on which the BFPT holds?


'less' command clearing screen upon exit - how to switch it off?

How to force the less program to not clear the screen upon exit?  I'd like it to behave like git log command:    it leaves the recently seen page on screen upon exiting it does not exit the less even if the content fits on one screen (try git log -1)   Any ideas? I haven't found any suitable less options nor env variables in a manual, I suspect it's set via some env variable though.


EDIT: I could not figured out how my code is different from the link you provided and the blog, is that possible to pinpoint what/where i'm doing wrong? I'm trying to wrap my head around with promises and I have multiple serverside calls here is what I'm trying to figure out:  Only executes the second server call if the FOUND is true, for the sake of testing I have hard-coded the boolean value but in the real scenario I will be reading from server side.  Why I'm doing the conditional call? I don't want to hit the server if the first call returns false. Here is what I have done so far: Apex: public class PromiseTestController {     @AuraEnabled     public static String serverSideCall1(String message ){         return ' From Server serverSideCall1-->' +message ;     }     @AuraEnabled     public static String serverSideCall2(String message ){         return ' From Server serverSideCall2-->' +message ;     }       }  Component: <aura:component controller="PromiseTestController ">          <aura:attribute name="serverSideCall1" type="String"  default="Not started" />     <aura:attribute name="serverSideCall2" type="String"  default="Not started" />      <ui:button label="PromiseChaining " press="{!c.promiseChaining}" />           <div>         {!v.serverSideCall1}     </div>         <div>         {!v.serverSideCall2}     </div>       </aura:component>  Controller: ({           promiseChaining : function(component, event, helper) {          var found = false; //TESTING         var exeAction = component.get("c.serverSideCall1");         exeAction.setParams( {"message": 'Promise serverSideCall1'});         helper.serverSideCall(component,exeAction).then(             function(res) {                   component.set("v.serverSideCall1" ,res ) ; //RETURN FROM SERVER...serverSideCall1                 if (found) {                   var exeAction2 = component.get("c.serverSideCall2");                   exeAction2.setParams( {"message": 'Promise serverSideCall2});                   helper.serverSideCall(component,exeAction2).then (function (res) {;                    component.set("v.serverSideCall2" ,res ) ; //RETURN FRO SERVER serverSideCall2                 })                              }          .catch(             function(error) {                 component.set("v.status" ,error ) ;                  console.log(error);             }         );     },           })  Helper: ({     serverSideCall : function(component,action) {         return new Promise(function(resolve, reject) {              action.setCallback(this,                                 function(response) {                                    var state = response.getState();                                    if (state === "SUCCESS") {                                        resolve(response.getReturnValue());                                    } else {                                        reject(new Error(response.getError()));                                    }                                });              $A.enqueueAction(action);         });     },         })


I suppose this is an unusual use case. But I've run into it a few times now.  Is it possible to force all inherited classes to have public static variables that are defined in the child class?  Aka:  APacket.ID   = 0; // Abstract parent class, has static ID variable (0) PacketPos.ID = 1; // Inherits from APacket, has static ID variable (1) PacketVel.ID = 2; // Inherits from APacket, has static ID variable (2)   I want all my network packet classes to have unique and public static ID and Length variables.  Is something like this possible?


What could it mean to "Rotate" a distribution?

This question got me thinking about the meaning of variance: .   Variance of a set of data is calculated the same way that the  is calculated for a physical body. The moment of inertia is related to the energy required to rotate the body at a given speed. A figure skater will rotate faster with arms pulled in than stretched out. So what would be the analogous result of reducing variance, if any. Perhaps the analogy simply breaks down. Are there any publications that have investigated this analogy?


Let $$f(t)=\int_{0}^{\infty}\frac{\sin(tx)dx}{x^2+1}$$     Find exact formula for $f$   Very similar integral $$g(t)=\int_{0}^{\infty}\frac{\cos(tx)dx}{x^2+1}$$, has an exact form. It is $$\frac{\pi e^{-t}}{2}$$  I have tried almost everything, including Laplace transform and Feynman integration.  But what if the answer hides in complex analysis? Will it be simpler to calculate some integral of $\frac{e^{tx}}{x^2+1}$?  EDIT:  The thing i really looking for is to find an integral $$I=\int_{0}^{\infty}\frac{e^{itx}}{Ax^2+Bx+C}dx$$ Where $A,B,C$ are complex numbers I was only managed to change it a little $$I=\int_{0}^{\infty}\frac{e^{itx}}{(x+p)^2+q}dx$$, where $p=\frac{B}{2A}$ and $q = \frac{C}{A}- p^2$ And this is similar to orginal $f$ and $g$  Thank you for any help  Regards


why a return is representable as ^^M in tex?

The texbook says that a return is representable as ^^M, I was wondering why is that, and any help on this will be highly appreciated!


UK visitor visa refused: can I still go to university in the UK?

I was refused a UK visitor visa in April. Before that, I had been in and out of the UK twice, and I also schooled in the UK (MSC) and graduated without any dirt to my name. I never had any immigration problems either. I was scheduled to resume a PhD course in September 2017, but had to move it foward to March 2018 due to civil unrest where I live.   Since I was doing nothing at home, my parents decided to sponsor a one week trip back to the UK as I had made plans with my friends already. I went to the UK in October 2017. My parents and I decided I should stay a while longer, as I had a 6-month visa, to look for a house, do some shopping for school and prepare for my PhD program. I left my country with cash, £2000, and had additional money in my bank account. I returned home in January 2018, to discover my dad had a terminal illness, and he asked that I shift my resumption to September 2018, so I could start work in his company and learn the ropes, in case anything happens.   I called my supervisor, and shifted my admission to September 2018, even though I had paid tuition. Three months after I started work, I was to take on my first leave from work. Again my parents agreed to sponsor my trip to the UK, as there were couple of concerts I wanted to attend, and I also wanted to see my friends and to pick some of my stuff that I left in storage.   I was refused a visa, citing the fact that I stayed more than 7 days over my last visit, even though it is not a crime and I was well within my visa. As always, my parents sponsor my trip, this time, he had his accountant transfer money to my account, but they complained that the money did not come directly from my sponsor's account.  When it was time to resume in October 2018, my university asked me if I had ever been refused a visa and I said yes. They did some immigration checks and withdrew my PhD offer, without giving a reason.   The university apologised for the withdrawal and promised it does not affect my chances with another university. They are prepared to issue me a refund, but is it pointless applying to school in the UK because of a refusal? Should just apply to another country? I already applied to a couple of schools, but I am scared they won't admit me if they find out I have been refused a visa. I don't know how to defend myself as I have my bank statement showing all of my withdrawals and account credit while I was in the UK.


why while installing 'xcrysden' error is shown up as 'package has no installation candidate' on ubuntu 19.10?

I have tried running various commands after searching for the solution to this problem from internet to get the software installed like apt-get upgrade update but still the problem has not been resolved.


What font is being used in the latex document

What font is being used here? The text resembles "Computer Modern" (though the texture is dark) but the italic text doesn't resemble Computer Modern. Can anyone help me out with the packages for using these fonts?


Is the Title of a Chapter of a Book a Proper Noun?

If a proper noun is a name that identifies a particular person, place, or thing (), then is the title of a chapter such as 'The Hen and the Hare', or 'Chapter Three: The Hen and the Hare,' or just 'Chapter Three' a proper noun?   I'm trying to figure out whether to capitalize it when referring to it within the text     Example: In Chapter Three, we saw how the hen outsmarted the hare.


Derivative exists implies derivative continuous

It seems to me that if $f^{'}$ exists in an open interval $I$, then $f^{'}$ is continuous in the interval.  I can't come up with an example that $f^{'}$ exists, but $f^{'}$ not continuous.  Thanks for your help in advance.


I get a strange error with a \Verb escape in a footnote:  \documentclass{article}  \usepackage{fancyvrb} \begin{document} Works inline \Verb!S#Var! but doesn't in footnote. % \footnote{No really, it doesn't \Verb!S#Var! you see.} \end{document}   When I uncomment the footnote line, the complaint is:  You can't use `macro parameter character #' in restricted horizontal mode.


I'm using Ubuntu 19.04 and downloaded version 8.13 of MySQL APT config and ran these commands  wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb dpkg -i mysql-apt-config_0.8.13-1_all.deb   I checked mysql.list using  vi /etc/apt/sources.list.d/mysql.list   and found version 8 is configured. And then I ran  apt install mysql-server apt-cache show mysql-server apt update   But still I can't install MySQL 8. APT is still pointing to 5.7.


How to login to Ubuntu after first install?

I know this sounds stupid, but I installed Ubuntu on my laptop alongside Windows 10. Everything worked fine until I tried to login using the password I had provided.   It does not let me in. At first, I though that I had the wrong password. But then I tried changing my password using Ubuntu recovery in the boot menu. To be sure I didn't type the wrong password, I use 123456789 from my numeric pad. Because I was also afraid this could be a keyboard region issue. I still can't login with those simple numbers.   What could be the problem?  UPDATE: I tried solutions proposed in another post on login loop. Doing ls -lA did not work for me. However, in /var/log, I found Couldn't open module nvidia" and "Failed to load module "fbdev" (already loaded, 0).   Is this the answer? And what is the solution. dpkg-reconfigure... command from other post did not work.


I need to develop a web-based map using existing shapefiles.   Using the web-map, we must be able to select a region and produce contours for that selected region.   Can any one suggest the best open source solutions for this?


Let $f: \mathbb{R} \to \mathbb{R}$ such that $\lim\limits_{x \to \infty} \frac{f(x)}{x} = c$ where $c\neq 0$ or $\infty$.  Is it true that for all such functions $f$, if $\lim\limits_{x \to \infty}(f(x+1)-f(x))$ exists, then it is equal to $c$?  Note : Say if $f(x) = x+\sin(x)$, then the condition is clearly false because the second limit does not exist. But say, we impose another condition that the second limit should exist, then is it necessary that it goes to $c$ as well?


What is the advantage of creating an instance of java interface?

Once a Java class implements a Java interface we can use an instance of that class as an instance of that interface like this.  public interface MyInterface {      public String hello = "Hello";      public void sayHello(); }      public class MyClass implements MyInterface {          public void sayHello() {             System.out.println(MyInterface.hello);         }         public void extra(){         System.out.println("this is extra");         }     }  MyInterface myInterface_instance = new MyClass ();  myInterface_instance .sayHello();   But my question is what is the advantage of creating like this?. If we do this it will narrow down the extra methods and attributes in the class that are not in the interface as well. ex  we can't use myInterface_instance.extra()  So why are we instantiating java interfaces like this, rather than assigning it to its own class instance like this?   MyClass myclass_instance = new MyClass ();


Im tracking a scene, and have 14 points tracked with a solve error of 1.16 im trying to get this below one. I have found a point with a solve error of over 2 so i tryed deleting this to see the effect on the overall solve error and blender doesn't like it saying "some data failed to reconstuct" does any one know why this is?


Create an array in bash from given start and end point

I have this code that works:  $ array=( {100..300..100} ) $ for k in ${array[@]} ; do echo $k ; done 100 200 300   I want to parametrize the start and end points (and also the increment, because why not?) I tried this:  $ low=100 $ high=300 $ incr=100 $ array=( {$low..$high..$incr} )   But it didn't work:  $ for k in ${array[@]} ; do echo $k ; done {100..300..100}   What am I doing wrong?


Stack Overflow is not refreshing notifications

I have found a minor bug on the Stack Overflow Website. The notifications are not getting refreshed automatically when we click on some particular notification and click the back button, The notification is still there and it does not get auto refresh. Here are some screenshots.      When we click on the notification and view it. When I click the back button on the browser, The notification is still there. In this way if the user wants to go back to the previous page then the user will always be confused if the notification is new or old. My browser is Mozilla Firefox 70.0.1.


Commutator subgroup of a dihedral group.

I have a few questions concerning an example of the commutator subgroups in the dihedral group. This example is found on pg.171 of Abstract Algebra by Dummit and Foote.      Let $D_{2n}=\langle r,s |r^n=s^2=1, s^{-1}rs=r^{-1}\rangle$. Since $[r,s]=r^{-2}$ we have that $\langle r^{-2} \rangle = \langle r^2 \rangle \le D'_{2n}$. Furthermore, $\langle r^2\rangle \trianglelefteq D_{2n}$ and the images of $r$ and $s$ in $D_{2n} / \langle r^2 \rangle$ generate this quotient.    What exactly is meant by the image of $r$ and $s$?     They (is this referring to $r$ and $s$?) are commuting elements of order $\le 2$ (I know $s$ is of order $2$ but $r$ is of order $n$??) so the quotient is abelian and $D'_{2n} \le \langle r^2 \rangle$. (I thought the quotient was abelian due to the already established properties of $\langle r^2 \rangle$ i.e it is normal and a subgroup of the commutator subgroup.)


My second function is not removing the parent element

HTML  <form action="form.php" method="post">     <fieldset>         <legend>Query string</legend>

                 Parameter                 <input type="text" id="parameter_1" required="required" />

                 Argument                 <input type="text" id="argument_1" required="required" />
 ➕
     </fieldset> </form>   JS  $(document).ready(function () {      var x = 1;      $(".add_query_string").click(function (e) {         e.preventDefault();         x++;         $('\
\
\                     Parameter\                     <input type="text" id="parameter_' + x + '" required="required"/>\
\                 \
\                     Argument\                     <input type="text" id="argument_' + x + '" required="required"/>\
\                 \                 ➖\
').insertAfter(".query_string:last");     });      $(".remove_query_string").click(function (e) {         e.preventDefault();         $(this).parent("div").remove();         x--;     });  });    I'm having difficulty getting my second function to work. I'm not sure why.


What kind of matter are black holes made of?

Imagine a black hole originally formed from, for example, Rubidium atoms. On the other hand, one made from, for example, Helium atoms. Will it be there any difference between the two? Or perhaps once formed it all turns into the same type of matter?  Can the "composition" of the matter-energy in the black hole be inferred somehow?  Could one say that "black hole substance" is a distinct form or state of matter different from other forms or states of matter?


Why are the banks and their customers in the United States still using checks?

Some years ago, a friend of mine visited a US city, and went to a supermarket. Upon trying to pay with his credit card, the transaction failed, and the cashier asked if he could write out a check instead. My friend replied "check?" in a bit confused tone. The cashier replied, "well, maybe someday you will get those in your country too".  The thing is though, checks has been practically extinct in Norway, and surrounding countries, for as long as I have activly used my bank account, closing in on 20 years. We manage our accounts online. Absolutely every bank have online options, and the vast majority of all transactions happen through the internet. Lately mobile transactions though smart phones has become popular too.  How come the US still use checks in such a large scale, when there are so many modern solutions that seemingly are so much better?


Is down voting supposed to be anonymous?

Possible Duplicate:          Is down-voting on SO supposed to be anonymous? I ask because it does not seem to me to be.  Example:   I asked a question today. I got 3 good and 1 mediocre responses. I voted up the two that helped me and accepted the one that worked best. A while later, several new comments from one person appeared, to which I responded (since they were questions for me), and then that same person posted a new answer. This answer was crap. The person missed the whole point of the question and gave vague "pseudo-code" (and calling it that is generous) that basically restated my question.   Though I try to use down votes sparingly, especially when someone takes the time to answer a question I asked, I really want to down vote his answer. However, if I do, then my "reputation" will report "-1 downvoted" today. Since we've been going back and forth in the comments (in my failed attempt to explain the question to him), it's fairly likely that he'll peg me for the down vote.   In rumaging through the his reputation, I noticed that he gets down voted a lot. Moreover, he often votes down things on the same day as he gets down voted. Looking at a few recent questions where he posted an answer that was down voted, it's pretty clear that he (often successfully) down votes questions or competing answers when he is down voted, perhaps based on comments or, as is easier, based on profiles where down votes are recorded.  In this particular case, it's worth it for me to down vote him because (1) it's a stupid answer, (2) I don't live and die by my SO reputation, and (3) it really wasn't a great question that I asked. However, this does bring up the larger point that perhaps a date should not be associated with a down vote.


All the sudden my site show rare characters and links doesn't work.Help

All the sudden my site (drupal 7) shows rare characters like �0�1�0�  Also, the links doesn't work. All links in the site reload the home page.  I can't access example.com/user neither.  Please help. The site was working fine yesterday and did not make any change.  The encoding of the page is: UTF-8  Meta Content-Type is text/html; charset=utf-8  I can use Drush in the site. I already run drush cc all and drush cron and drush updatedb. But problem is not fixed.  Please help.


Name of sci-fi book with Mars and intelligent spheres of light

I am looking for the name of a book I read long ago.   spoilers ahead  The story was that some humans go to Mars for some experiment. They meet spheres of light which are the only physical remains of an earlier Martian specie. They are very intelligent and don't need a body and can communicate with the humans mentally. Later it is discovered they have a malicious intent.  Update  I read it 14 years ago. It was in English.   In the story, the humans we're in their spaceship (landed on Mars) most of the time and would occasionally go out of the spaceship on to the land for experiments. The intelligent lights invaded the minds of humans when they were relaxed and empty minded. Only one of the humans was able to survive for long. I am not sure if he succeeded to escape.


tools/means to money transfer from India to USA legally

I see questions  and , but does not answer on how to do the money transfer from India to USA. For USA to India transfer there are many websites/and Bank.   I left India about 25+ years ago and has been always sending money. Now I may get some money from parental properties( after sibling distribution and if left any thing for me), but what I remember India was a one way street for money transfer, one can send money there but cannot bring money from India as government controls it. So I am looking for tools that can help me bring it legally and does not take too much time( like visiting government offices/bank multiple times). As Time is money.


Checking the normality assumption for ANOVA test

Let's see if I understand this correctly. The normality assumption means that for each group I am testing the response within each group is normally distributed. So in order to check all the groups together would I calculate the residuals and then try to fit the combination of all residuals to a normal distribution?  Thanks  Edit: If normality in this case means tha: The responses in group A should be normally distributed with respect to group A. The responses in group B should be normally distributed with respect to group B. etc. Is the way of checking this to individually check each group? Or is it valid to calculate the residual of each group, for each group the mean value will be different. And then check whether the residuals are normally distributed in one go?  I'm concerned than doing it in one go could lead to the results showing normally distributed when within the group they're not normally distributed.  Thanks


Using Addition Theorem for binomial identities

I know the addition theorem for binomial coefficients:  $\binom{x^*+y^*}{n}=\sum_{k=0}^n \binom{x^*}{n-k} \binom{y^*}{k}$  for $x^*,y^*\in \mathbb{R}$ and $n \in \mathbb{N}$.  Using this theorem i can prove identities such  $\binom{2n}{n}=\sum_{k=0}^n \binom{n}{k}^2$ easily by applying $x^*=y^*=n$.  But what about the identity:  $\binom{x+y+n-1}{n}=\sum_{k=0}^n \binom{x+n-k-1}{n-k} \binom{y+k-1}{k}$  Of course we see that it results from the Theorem but is it a problem that $k$ is "part of $x^*$ and $y^*$ here?


Is the function $id:X \rightarrow X$ always continuous?

Let $(Y,t_1)$ and $(Y,t_2)$ be 2 topological spaces and $id:(Y,t_1) \rightarrow (Y,t_2)$ the identity function, is $id$ always continuous?   $f=id$ trying to find some counter example, I confused myself, if we take $Y=\{1,2,3\}$ $t_1=\{\emptyset, Y,\{2\}\}$ and $t_2=\{\emptyset, Y,\{1\}\}$ Then $f(\{2\})=\{2\} \notin t_2$ or $f(\{2\})=\emptyset$ ? and i have the same question for the inverse $f^{-1}(\{1\})=1 \notin t_1$ or $f^{-1}(\{1\})=\emptyset$? if $f^{-1}(\{1\})=1 \notin t_1$ then clearly $id$ isn't continuous but if  $f^{-1}(\{1\})=\emptyset$ then $id$ is always continuous. what its true?


If a PC Levitates an opponent away, does the PC get an Opportunity Attack against them?

As we understand Levitation, even involuntary movement by an opponent can trigger an Opportunity Attack.   Does that mean that even the wizard who cast the spell get an Opportunity Attack against an opponent they Levitate away from themselves?


Simple function of two random variables, $Z = \frac{Y}{X}$ where Y, X~U(0,1) and independent

I must have missed something important in the formulation of the problem. Can you please help clarify how should the following simple problem be formulated and where my mistake is. Let $Z = \frac{Y}{X}$ where $X, Y\sim U(0,1)$ and independent. Find $f_z(z)$, the pdf of $Z$. $P(Z \leq z) = P(\frac{Y}{X} \leq z) = \iint_A f_{X, Y}(x,y)dx dy $, where $A = \left\{(x,y) = 0\leq x\leq 1, 0\leq y\leq1, \frac{y}{x}\leq z \right\}$ $P(Z \leq z) = F_z(z) = \int_0^1(\int_0^{xz}1\cdot 1dy)dx = \int_0^1 zx dx = z\frac{x^2}{2}|_0^1 = \frac{z}{2}$ The above is only valid for $0 \leq Z \leq1$ or equivalently $Y \leq X $. Where step in my calculation did I introduce $Y \leq X $ ?


I want to extract email " myemail [at] domainemail [dot] com " from html code in string.  So I used this code but it is not working. What should I do ?  public static List<string> Fetch_Emails(string Sourcecode) {     List<string> Emails = new List<string>();          Regex exp = new Regex("\\b[A-Z0-9._%+-]+(\\[at\\])[A-Z0-9.-]+(\\[dot\\])[A-Z]{2,4}\\b", RegexOptions.IgnoreCase);            MatchCollection matchCollection = exp.Matches(Sourcecode);      foreach (Match m in matchCollection)     {         if (!Emails.Contains(m.Value))         {              Emails.Add(m.Value);                                 }     }      return Emails; }


Why won't my phone update to Lolli, and can I force it to?

I was totally looking forward for the update but nothing happened, even when I went to look for updates. Weird. It's a Moto X 2nd generation, with Verizon as my provider and hasn't been rooted. I have no idea why it wouldn't update, I tried looking it up but couldn't find any definite answers. At one point since the release I have had to reset my phone, and the update still hasn't happened, so I'm sure that anything that could've been blocking it should be gone, if that's a possibility.  I have thought about rooting it, but not only am I unsure of how, I don't know how to tell if my phone'll get bricked.


Convergence in measure implies convergence in $L^p$ under the hypothesis of domination

Given a sequence $f_n \in L^p$ and $g \in L^p$, with $|f_n| \leq g$, I am trying to show that $f_n \to f$ in measure implies $f_n \to f$ in $L^p$.  Firstly, I know that if $f_n \to f$ in measure, then there is a subsequence $f_{n_i}$ such that $f_{n_i} \to f$ almost everywhere. Then I can use the dominated convergence theorem to show that $\lVert f_{n_i} - f_p\rVert \to 0$.  Now I am trying to show that $\lVert f_n - f\rVert_p \to 0$. My idea is to assume that $\lVert f_n - f\rVert_p \nrightarrow 0$ and then show that this contradicts the fact that $\lVert f_{n_i} - f\rVert_p \to 0$, but I am not sure of the details. Can anyone help me finish the argument?


What is a reliable method to locate floating islands in Terraria?

I've been playing Terraria for a while, and I'd like to get up onto those Floating Islands for their loot (mainly interested in the Shiny Red Balloon).  What is the most reliable and/or easiest method to locate these Floating Islands?


Why is there no relation between kinetic energy and momentum in collision of two bodies?

The statement that baffles me:     During most of the collisions, part of the kinetic energy evolve as heat, nevertheless momentum is still conserved.   Ok, the statement may be true. But what confuses me is that: Is there no relation between the momentum and kinetic energy? Are they not linked with each other?  Both concerns with velocity. If one decreases, generally it would effect the other. I know something is wrong in my understanding. But I am unable to visualize the above statement. Please help me explaining this.


Combinatorial proof of binomial coefficient summation identity

I am trying to get a combinatorial proof for this summation identity, for $0\leq k\leq \frac{n}{2}$ $$\sum_{m=k}^{n-k}\binom{m}{k}\binom{n-m}{k}=\binom{n+1}{2k+1}$$  The way I interpreted is that, for the right hand side $\binom{n+1}{2k+1}$ is the number of ways to choose $2k+1$ from total of $n+1$, then for left hand side, condition on dividing $n+1$ into two groups of size $m+1$ and $(n+1)-(m+1)=n-m$, then if choose $k$ the group of $n-m$ then it gives $\binom{n-m}{k}$, so there are $2k+1-k=k+1$ to choose from the group of size $m+1$, this is $\binom{m+1}{k+1}$, therefore I got the left hand side as $\sum_{m=k}^{n-k}\binom{m+1}{k+1}\binom{n-m}{k}\neq\sum_{m=k}^{n-k}\binom{m}{k}\binom{n-m}{k}$. what did I do wrong here? please help.


How to rip a scratched DVD-Video? (a "cdparanoia for DVDs")

I usually use the very nice and simple dvdbackup program to rip and backup my .   However some of my DVDs have a few scratches and my DVD drive has some trouble reading a few sectors. So, is there a tool similar to cdparanoia, but for DVDs?


A friend has asked me to repair his Toshiba laptop after a virus crashed it. I've managed to do a clean re-install using the built in recovery partition, but the newly installed Windows is running absurdly slow. As in, it takes upwards of 30 minutes between logging in and the desktop actually showing, and once up doing anything has the same kind of wait periods. Booting up in safe mode seems to be working just fine, however.  I've done the re-install twice now and had the same problem both times. I've also noticed that the Toshiba install comes with a huge amount of bloatware and I'm worried that this is contributing to the issue. Even if its not, it definitely isn't helping things. Since I have his product key and a compatible Windows 7 install disc I've been debating whether to just use that instead.  My question is: is there any potential issue using a standard install disc instead of the built-in OEM version? I realize that I'd have to go find all of the drivers and manually install them this way, but that'd be a small price to pay if it actually works. And I wouldn't have to spend time going through and removing all the useless apps the OEM version adds in. So other than missing drivers, what problems could I run into?  (EDIT) I have used a linux live cd to check the hard disk and it is doing fine. I've tried removing some of the bloat while in safe mode, but half of the apps are could not be uninstalled due to errors/missing uninstaller/whatever. Starting up with a clean boot did not show any real difference in performance.


If I flip a fair 6-sided die I win the amount of money equivalent to the number that shows up. I can play a maximum of three times but have to decide whether to stop or continue with each throw and would win that particular throws face value. How much should I be willing to pay for this game?  Thanks


I am trying to export markers from the Blender motion tracker and found the following script that will do exactly that:  for clip in D.movieclips:     for track in clip.tracking.tracks:         fn = 'data/tr_{0}_{1}.csv'.format(clip.name.split('.')[0], track.name)         with open(fn, 'w') as f:             frameno = 0             while True:                 markerAtFrame = track.markers.find_frame(frameno)                 if not markerAtFrame:                     break                 frameno += 1                 coords = markerAtFrame.co.xy                 f.write('{0} {1}\n'.format(coords[0], coords[1]))   It works but I have two questions:   How can I save the data on my Desktop rather than in folder in MacOS blender content where it saved right now. The following won't work:   fn = '/User/me/Desktop/data/tr_{0}_{1}.csv'.format(clip.name.split('.')[0], track.name) The resulting values I get do not represent the more user friendly marker values in den Blender GUI. Instead of x/y coordinates in screen coordinates, I get a value between 0/1. How can I convert them to those screen coordinates ?    Thanks for your help


Customize equation numbering for Cases environment?

I want to use equation numbering like this  I tried like this but doesn't work \begin{equation} \begin{cases} \varlimsup_{r \to \infty} \dfrac{\log ^{+} n\left\{U_{k=1}^{N} \Omega\left(\theta_{k}+\varepsilon, \theta_{k+1}-\varepsilon ; r\right), f=0\right\}}{\log r}<\mu, &\text{if } \mu>0 \tag{2.5}\label{e2.5}\\  \varlimsup_{r \rightarrow \infty} \dfrac{\sum_{k=1}^{N} n\left(\Omega\left(\theta_{k}+\varepsilon, \theta_{k+1}-\varepsilon ; r\right), f=0\right)}{\log r}<+\infty, & \text{if } \mu=0,\tag{2.6}\label{e2.6} \end{cases} \end{equation}


I would like to create a shell script that will check to make sure all files in a directory are image files.  We recently had an issue where a hacker was able to generate a file in a directory and mask it as a .jpg file. I would like to create a shell script to check all files in the directory to make sure they are real jpg, gif or png files.


Is there anyone left that's not using JavaScript? When designing websites, is it worth to care about that fraction of visitors? At least in Firefox you can't even disable it anymore.


Given that $(X,Y)$ is a random vector with uniform distribution on the unit square $[0,1]^2$ I have to prove that $E(|X-Y|) = \frac{1}{3}$. My work so far is this: $$g(x, y)=|x-y|=\left\{\begin{array}[rl] xx-y&if \quad x \geq y \\ y-x & if \quad x <y \end{array}\right\}$$  Therefore I think I can do this: $$Eg(X, Y)=\iint_{\mathbb{R}}g(x, y)f(x, y) \: dxdy=\int_0^1\int_0^1|x-y|\cdot 1 \: dxdy=$$ $$=\int_0^1\int_0^yy-x\:dxdy+\int_0^1\int_0^xx-y\:dydx=-\frac{1}{3}$$ I think I can separate the integral like this because I have two cases: when $x \geq y$ and when $x<y$. The thing is that I get $E(|X-Y|) = -\frac{1}{3}$ instead of $\frac{1}{3}$ and I don't know where my mistake is. Could someone please help me?


Server 12.04 LTS Desktop Environment install "Package xubuntu-desktop is not available, but is referred to by another package."

I am trying to build the HP SDN VAN controller on Server 12.04 Precise but need a GUI to download the controller.  When i try to install a desktop i get the following (I have already done an apt-get install update)  sudo apt-get install xubuntu-desktop Reading package lists... Done Building dependency tree        Reading state information... Done Package xubuntu-desktop is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'xubuntu-desktop' has no installation candidate   What is causing this issue and how do i resolve it?


Drawing distances from one point to another using QGIS?

I want to be able to generate a distance line between two points on the map, which also has the distance as a label (similar to the second image seen on Google maps or in the first image from the red point to Aberdeen).I have used the measure line tool and it has provided myself with a distance, however I am yet to figure out how to produce a line with the classified distance labeled on it. does anyone know how to solve this issue. I am using QGIS versions 3.2   I want to record the distance from the red point to the location of Aberdeen so that when I go into {print composer} I can make a map which has a line running between the two distance with its distance e.g 100km recorded I don't have the distance recorded in my {attribute table} would I need to download that data then once collected, I would be able to draw the line?


What's the meaning of Mushrooms it is? What is this grammar structure and inversion? Please include a grammar source and some more examples.  Arlene: would you like to go to a movie tonight? Jim: I'd rather stay home and watch T.V. Arlene: Sounds good. Maybe we could make dinner later. Jim: I'd rather not cook tonight. Let's order out for some pizza. We haven't done that for a while. Arlene: OK. Mushrooms or anchovies? Jim: I'm in the mood for pepperoni. Let's get a pepperoni pizza. Arlene: I'd rather not. Pepperoni gives me heartburn. I'd rather have mushrooms than pepperoni, if that’s OK with you. Jim: Mushrooms it is! Now. What should we watch on TV? How about the new Stephen King thriller?


I am planning to replace Windows XP based 100 odd desktops with Ubuntu 12.04 Desktop 32bit on my clients branches across the country. At my home location I would deploy it manually as I have team to do the stuff. But my clients branches dont have technical support personal. Desktops are in warranty so manufacturer takes care of any issues rest is handled remotely.   I wish to install a customized copy of ubuntu 12.04 with few select packages and external softwares in unattended mode via a usb or dvd rom sent to the branch offices. Wherein they will insert the dvd or usb and start the installation and they will get a ready made system. I will also send them a process document of how to assign IP address to the system so that I can take remote control and do rest of the things remaining.   I would like to know if this is possible in first place? I am checking Uck right now. Hope that helps.  Thanks in advance.  To an extent this is a duplicate question, the answers of the previous questions do satisfy my query of customizing the installer CD/USB but I am not able to get the preseeding stuff clearly from it. Especially if I have to include preseeding in my installer DVD/CD.


Identifying duplicate attributes in field using QGIS?

I have a point shapefile with thousands of points. It has an ID code field that is supposed to be unique. Every now and then the data entry clerk wrongly type the ID creating duplicates. Right now I'm manually scrolling the field to find the duplicate.   Is there another way to do this using the Search Query Builder?


iOS7 to iOS6 for iPhone 4 happy to lose data

Is it possible to downgrade to iOS6 if the phone was never jailbroken, I'm happy to jailbreak it now to get it to work though.  Also happy to lose all data, apps, etc.


Writing specific versions of an operator for display and inline modes

I'm busy answering a question by constructing a new math operator that uses the sum symbol and some TikZ placed on top. My answer as it stands can be found . It looks (I think) pretty good in display style, but too large when shown inline. Even if it automatically set the sum symbol into inline size, the placement of the TikZ would be off.  Is there a way to define different code for when the operator is used in display mathematics environments, and when it's inline? Alternatively, is there a way to detect when you are in display or inline mode?  From the aforementioned example, here is the code I constructed:  \documentclass{minimal} \usepackage{amsmath} \usepackage{tikz}  % Modify the coordinate (-0.3ex,0) to adjust alignment, and (0.1) to adjust the size. \DeclareMathOperator*{\osum}{\ensuremath{     \begin{tikzpicture}[baseline=(char.base), inner sep=0, outer sep=0]         \draw (-0.3ex,0) circle (0.1);          \node (char) at (0,0) {$\displaystyle\sum$};  % Want to define a second symbol for inline...     \end{tikzpicture}}% }  \begin{document}  \[ G=\osum_a^b H \]  And now in inline mode the equation $G=\osum_a^b H$ is obviously too big.  \end{document}


Toshiba Satellite C55D-A5392 won't boot install or try Ubuntu

Downloaded 64 bit ISO for 13.10.  Whether burned to DVD or on bootable USB it's the same result.  The laptop boots to the GRUB try/install/oem/check menu.  When try or install is chosen the screen changes to the Ubuntu logo with the animated dots below it and then animates for a while. After that the screen goes blank  and stays that way. Attempts to bring up console with alt-f1 don't work.  Modified boot options and removed splash and quiet, watching the boot process I see nothing unusual, until the system apparently starts X and the screen goes and stays blank.  I ran check on the USB stick and it says the Ubuntu system on there checks out.  I've tried turning off UEFI boot, but then neither USB nor DVD boot at all. Secure boot is off (has been the whole time).  So far I'm stuck booting into Windows 8.1 or not at all it seems. Right now it feels like my options are to use Ubuntu from VirtualBox within Windows or just return the computer.  Any thoughts or advice?


How to address severe class imbalance with lots of zeros in the columns?

My datasets has severe class imbalance with lots of zeros in the columns. Here is the total count of my samples. Total Samples: 12237697 Positive samples: 1061 (0.01% of total) I have tried weighted tree based methods, cost sensitive techniques, threshold moving technique, SMOTE, random under sampling, and oversampling methods as well. Still it didn't help at all. Here is sample output of a weighted logistic regression. How can I improve my model performance? Any thoughts will be appreciated. Thanks!


Why is Lorentz symmetry considered sacred?

In almost all particle physics theories (except some effective field theories) why is it assumed that the Lagrangian of the theory should be Lorentz invariant? What is wrong with theories that consider breaking of Lorentz symmetries in microscopic or high energy scales?  I know that being non-Lorentz invariant means that there is a preferred reference system but why can't a theory have local violations of this symmetry?


I’m having a horrible time trying to get beans cooked to be tender and not bitter.  Overnight soaking and rapid soak methods aren’t making any difference.  If I add anything to the cooking process, it’s a piece of onion and/or a hot green chili.  These beans soak for at least 10 hours and cook for over 4!    Ok, so maybe at my store, the beans are old.  The packages are never past the pull date. How do you tell just by looking whether they’re “too old”?


How do I convert State Plane coordinates to latitude-longitude?

Given a specific state plane coordinate system (whether NAD27 or NAD83), are there any resources to convert to latitude-longitude?


Sum of areas of triangles which have corners which are lattice points with 74 lattice points inside.

Here is a problem I was given: A lattice point in the plane is a point whose coordinates are both integers. Consider a triangle whose vertices are lattice points (0,0),(a,0) and (0,b), where b≤a. Suppose the triangle contains exactly 74 lattice points in its interior, not including those lattice points on the sides of the triangle. Determine the sums of the areas of all such triangles. The only way that I could see to do this problem was to try all possible values of a, checking to see which values of b gave 74 lattice points. I did this and gave up at a=5 so I suspect there must be an easier way. I was thinking Pick's theorem would be useful but I couldn't think of what to do with it. Can anyone provide a shortcut, or at least just give me the answer? By the way, I know it is less than 1000.


70s/80s book: Cold-war Psychic superweapons

I read this quite a while back, part of my parents library (they're in their 50s now) I think the book was probably published in the 70s or 80s, my copy was paperback. I don't recall the cover art, but I have vague recollections of a satellite on the cover and maybe blue with grid-lines below it?  I've made concerted efforts to find it again but to no avail. My parents don't remember it either, but mum's an avowed book-aholic and buys a lot of books, reads them once and forgets about them, so that's not so surprising.  The key parts I remember:   Both the Soviets and Americans were working on psychic techniques and technologies, with real and tangible results including Remote Viewing. MK-ULTRA was explicitly namedropped in relation to the American psychic program. The Soviets and Americans both had orbiting superweapons, One was a microwave laser (or something very similar) and the other used slivers of the brains of psychics to blow people's brains up in a wide area. A super-psychic (male) took offence to the state of the cold-war and took control over the orbital weapons by manipulating the onboard computers psychically. There's a gruesome description of a psychic weapon being tested on monkeys in a lab, the POV character throws up afterwards in horror. I think there might have been more than one POV character. There's an extended description of the psychic orbital weapon as experienced by people in its area of effect. Similar to the monkeys, it builds up, starting with alzheimer-esque hand-shaking and building up to seizures and screaming before their brain liquifies fully and either comes out the nose and ears or outright blows the skull open. (this is one of the more vivid recollections I have of the book) I remember that the super-psychic was working wholly alone and did most of his psychic stuff from motels halfway around the world from events. I believe the super-psychic also killed other psychics explicitly. The weapon satellites had code-names Both weapons were used on cities in the course of the story I vaguely recall an office building getting targeted specifically at one point.


We want to run custom lightning component in the lightbox for quick action. Is there any way to display the same layout but for custom component?


Divisibility is transitive: $\ a\mid b\mid c\,\Rightarrow\ a\mid c$

As the title says, if a number is divisible by a number, is it always divisible by that number's factors?  An example being that $100$ is divisible by $20$, it is also divisible by $10, 5, 4, 2$ as well?  Does this always apply?


URL Issue retrieving data quotes in Yahoo finance

The URL from Yahoo is not working when I try to retrieve quotes from a particular stock. There are several discussion about it, However, it seems nothing is shown regarding VBA macro   Sub Get_Data() Dim URL As String Dim Ticker As String Dim http As New WinHttpRequest Dim sCotes As String Dim Lignes Dim Valeurs Dim i As Long Dim j As Long Dim sLigne As String Dim sValeur As String  Ticker = Range("Ticker")  URL = "https://query1.finance.yahoo.com/v7/finance/download/TECK?period1=1540456339&period2=1571992339&interval=1d&events=history&crumb=kjOZLFv6ch2" http.Send sCotes = http.ResponseText  MsgBox sCotes  Lignes = Split(sCotes, Chr(10)) For i = 1 To UBound(Lignes) 'until the end of the Lignes variable   sLigne = Lignes(i)   Valeurs = Split(sLigne, ",")   For j = 0 To UBound(Valeurs) - 1   Select Case j   Case 0   sValeur = DateSerial(CLng(Left(Valeurs(0), 4)), CLng(Mid(Valeurs(0), 6, 2)), CLng(Right(Valeurs(0), 2)))   Case 5   sValeur = CLng(Valeurs(5))   Case Else   sValeur = CDbl(Replace(Valeurs(j), ".", ","))   End Select   Range("A1").Offset(i, j) = sValeur   Application.StatusBar = Format(Cells(i, 1), "Short Date")   Next Next Application.StatusBar = False  End Sub   Execution error at the step Http.send : "This method cannot be called until the Open method has been called"


How to copy files to read-only NTFS hard drive on a Mac?

I want to copy my some files from Mac (Macbook-Air) to an USB external hard drive, formatted as NTFS.  How is it possible? Because when I do copy my files from the Mac and go to paste them on the external HD there is no option for paste.


Is there a command in Minecraft Bedrock Edition that can repair your armor and weapons to their full health?

I am interested in growing my knowledge of commands and would find something like this very useful.


Plural vs Singular when the number 1 is represented in integer vs decimal form

If I have a noun of cardinality 1, I am taught that I use the singular form.   E.g. I have 1 Apple    If the value is still 1, but represented as 1.0, do I still use the singular form?  E.g. I have 1.0 Apple  It seems laymen would say I have 1.0 Apples; is this just a trick of the brain but not valid English, or is plural correct even though the value is still 1?


R: Explanation of a multiple linear regression summary

I am quite new with R and while i am able to perform the basics i am not yet able to understand the output results. For example:  summary(lmodel) generates the following:  Call: lm(formula = temperature ~ altitude + sea.distance, data = meteodata)  Residuals:      Min       1Q   Median       3Q      Max  -1.40156 -0.46083 -0.04078  0.50961  1.49844   Coefficients:               Estimate Std. Error t value Pr(>|t|)     (Intercept)  19.736000   0.257222  76.728  < 2e-16 *** altitude     -0.016509   0.004006  -4.121 0.000714 *** sea.distance  0.531111   0.414166   1.282 0.216927     --- Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  Residual standard error: 0.7425 on 17 degrees of freedom Multiple R-squared:  0.864, Adjusted R-squared:  0.848  F-statistic:    54 on 2 and 17 DF,  p-value: 4.317e-08   I know about the ?summary, help(summary) and i am familiar with the basic concepts, but i would kindly ask for some thorough explanation of the summary in regards to my model (residuals, coefficients, F-statistic, Residual standard error, etc.).  It seems that there are several similar answered questions in this forum, however none of them macthes exactly my case.  Any help is welcome. Thanks in advance


Is a localization of a UFD at a prime ideal a PID?

I have this problem:      Let $R$ be an UFD and $p$ a prime element. Prove $R_{(p)}$ is a PID.    I think I'm just struggling to get started. I know that $R_{(p)}=\{\frac{a}{b}: a \in R, b \in R\setminus(p)\}$. I also know that any ideal in $R_{(p)}$ will be contained in the maximal ideal $(p)R_{(p)}$. Any ideas?


prove $$\sum_{i=1}^{n}\sqrt{a_i}\ge ({n-1})\sum_{i=1}^{n}\frac{1}{\sqrt{a_i}}$$ if $$\sum_{i=1}^{n}\frac{1}{1+a_i}=1$$ My try: i tried substituiting  $y_i=\frac{1}{1+a_i}$ thus $\sum y_i=1$ also rearranging inequality we have to prove $$\sum_{i=1}^{n}(\sqrt{a_i}+\frac{1}{\sqrt{a_i}})\ge n\sum_{i=1}^{n}\frac{1}{\sqrt{a_i}}$$ putting value in terms of $y_i$  $$\sum_{i=1}^{n}\frac{1}{\sqrt{y_i(1-y_i)}}\ge n\sum_{i=1}^{n}\frac{\sqrt{y_i}}{\sqrt{1-y_i}}$$.i am stuck now i dont know which inequality to use.i tried using A-M$\ge$ H-M inequality. source ' inequalities A mathematical Olympiad approach'


I'm trying to use a break statement in a for loop, but since I'm also using strict subs in my Perl code, I'm getting an error saying:     Bareword "break" not allowed while   "strict subs" in use at ./final.pl   line 154.   Is there a workaround for this (besides disabling strict subs)?  My code is formatted as follows:  for my $entry (@array){     if ($string eq "text"){          break;     } }


How to add leading zeros to field expression contains numeric value?

I have to add 'id' (String) for barcode in iReport.   The id is of 8 digits (this could vary), I want to add 4 leading 0's to it. So that the length of id becomes 12.  jrxml  <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="PadStringNumber" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="07c0dc81-9b58-48f9-8129-e0e08fe1cb98">     <parameter name="id" class="java.lang.String">         <defaultValueExpression><![CDATA["23423552"]]></defaultValueExpression>     </parameter>     <queryString>         <![CDATA[]]>     </queryString>     <title>         <band height="39" splitType="Stretch">             <textField>                 <reportElement x="0" y="0" width="550" height="30" uuid="26317c0f-77c0-46cb-a4d8-1ee4fa1e7387"/>                 <textFieldExpression><![CDATA[String.format("%12d",$P{id})]]></textFieldExpression>             </textField>         </band>     </title> </jasperReport>   My current error is:  Caused by: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: String.format("%12d",$P{id})     at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:291)     at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:618)     at net.sf.jasperreports.engine.fill.JRCalculator.evaluate(JRCalculator.java:586)     at net.sf.jasperreports.engine.fill.JRFillElement.evaluateExpression(JRFillElement.java:1020)     at net.sf.jasperreports.engine.fill.JRFillTextField.evaluateText(JRFillTextField.java:567)     at net.sf.jasperreports.engine.fill.JRFillTextField.evaluate(JRFillTextField.java:551)     at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:281)     at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:504)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:315)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:251)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:119)     at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:558)     at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:119)     at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String     at PadStringNumber_1566475648252_841187.evaluate(PadStringNumber_1566475648252_841187:178)     at net.sf.jasperreports.engine.fill.JREvaluator.evaluate(JREvaluator.java:277)     ... 13 more


Where can i find a COP and input work requierd in a standard modern refrigerator? I need a sample refrigerator, so that I can calculate the heat disposed to the surrounding and use that to design an heat exchanger.


The word "semi-colon" is used for the symbol ";"; but this is not half of a colon ":": half of a colon would be a full stop ".". So why the usage of the term semi-colon, or half-colon, for a symbol part of which does not appear at all in the colon?


Why are my games slower on battery power, even with the power plan set to High Performance?

My laptop is capable of running most games on high settings at decent frame rates. However, if the power cable gets unplugged while I'm playing, the game immediately starts slowing down, even if I'm using the High Performance power plan.  Why does this happen? Is the battery not able to keep up with the power demands of the GPU? Is there any way to fix this?


If $abc=1$ and $a,b,c$ are positive real numbers, prove that ${1 \over a+b+1} + {1 \over b+c+1} + {1 \over c+a+1} \le 1$.

If $abc=1$ and $a,b,c$ are positive real numbers, prove that $${1 \over a+b+1} + {1 \over b+c+1} + {1 \over c+a+1} \le 1\,.$$  The whole problem is in the title. If you wanna hear what I've tried, well, I've tried multiplying both sides by 3 and then using the homogenic mean.  $${3 \over a+b+1} \le \sqrt[3]{{1\over ab}} = \sqrt[3]{c}$$ By adding the inequalities I get $$ {3 \over a+b+1} + {3 \over b+c+1} + {3 \over c+a+1} \le \sqrt[3]a + \sqrt[3]b + \sqrt[3]c$$ And then if I proof that that is less or equal to 3, then I've solved the problem. But the thing is, it's not less or equal to 3 (obviously, because you can think of a situation like $a=354$, $b={1\over 354}$ and $c=1$. Then the sum is a lot bigger than 3). So everything that I try doesn't work. I'd like to get some ideas. Thanks.


Complex polynomial in closed unit disk with its mod value not exceeding $1$ is only of the form $z^n$

Suppose I'm given a polynomial $P(z)=z^n + a_{n-1}z^{n-1}+\ldots+a_0$ in closed unit disk and know that $|P(z)|$ doesn't exceed $1$ in the domain: then $P(z) = z^n$ is it's only possible form My work. If $P(z)=z^n+a_{n-1}z^{n-1}+\ldots+a_0$ then $$P(1)=1+a_{n-1}+\ldots+a_0$$ and since $|P(1)| \le 1$ we have $|1+a_{n-1}+\ldots+a-0|$$\le 1$. I'm just stuck here not able to proceed any further Any idea as how to proceed.


Why would you post answers to stupid questions?

Someone comes and asks a terrible question that can be fixed just by fixing a syntax error.  I would leave a comment (and maybe downvote the question) instead of posting an answer.  ...but why would you post an answer to such a question?  Is this encouraged?   is an example. 4 answers posted after I left my comment was that already containing the solution.


tkz-graph: changing individual vertex type

I'm using these settings for most vertices:  \GraphInit[vstyle=Classic] \tikzset{VertexStyle/.append style = {minimum size = 5pt, inner sep = 0pt}}   But I'd like to have one or two vertices of my graph be hollow with a thick outer edge. I'm very confused about what options can be used in \Vertex, which ones can go in \SetUpVertex, for which I have to use \tikzset, etc. What's the best option here?


Let I be an ideal of a commutative ring R.      Prove or disprove: If R/I is a free R-module, then I = 0.   Need some hints. I know that a free R-module has a basis and is isomorphic to R$^n$ for some finite n.   If R/I is free R-module, why must it be isomorphic to R?


How did the private method called by a reference object variable

How did bird able to call the method fly if it's private  public class Bird {     private static void fly() {          System.out.println("Bird is flying");      }     public static void main(String[] args) {         fly(); // make sense         Bird bird = new Bird();         bird.fly();     } }


Can't shutdown and logout from top panel in Ubuntu 14.04 LTS

I recently installed Ubuntu 14.04. Shutdown and logout from the top panel are not working.  They worked fine when installing the OS, but a few days back I installed fglrx drivers for my ATI graphics card. They didn't work and I got low resolution problems and Ubuntu didn't boot. I solved it by removing the fglrx graphic driver from the recovery mode and Ubuntu started to boot and work just fine, at least that's what I thought.  But now the shutdown and logout options in the top panel don't work. I have to logout using ctrl+alt+delete and shutdown with the shutdown option in the top panel (shutdown option works after logging out but not when logged in as a user).  I re-installed Ubuntu 14.04 LTS and shutdown options worked fine but after installing updates they stopped working again. I thought its the graphic driver fglrx installation problem but now i know its not that. I think its a problem with some file that got installed from Ubuntu updates.  Does any one know how to solve it?


On , one can see that   $$\|fg\|_r\leq \|f\|_p\|g\|_q,$$ when $$\frac{1}{r} = \frac{1}{p} + \frac{1}{q}, \ p,q\in(0,\infty].$$  I have two questions,   Is the statement true? If so, is it stated in some references? I need it for my thesis.


Override parent theme translation on child theme

I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages.  Then I created a child theme that uses load_child_theme_textdomain() to achieve the same thing for its strings.  There are certain translated strings for a particular language on the parent theme that I'd like to replace/override in the child theme.  I know if they were on a template file I could replace the file and simply change the textdomain for those strings, but unfortunately the ones I'm talking about are used in many places and also in the dashboard (so inside some filter/action functions).  So my question is: is there a way to replace those translated strings inside the child theme without having to replace parent template files or functions?  I don't know, maybe adding a parent-theme.mo file inside the languages folder of the child theme with only those strings translated, or something like that.


How to refer to a file with name beginning `--`?

How can I rename or open or do anything with this file?  Everything I try (rm, mv, cat, less, vi) gives unrecognised option '--.html'  So far, only a full ls piped to grep has been useful, or even usable.  stewart$ ls -l | grep html -rw-rw-r-- 1 stewart stewart  18262 Mar 13 06:08 --.html


Zariski topology - normal for finite $\Bbb{F}$, not hausdorff for $\Bbb{F}=\Bbb{R}$

I need to prove that for $n\in\Bbb{N}$, and zariski topology on $\Bbb{F}^n$:  Normal space if $\Bbb{F}$ is finite Not Hausdorff space for $\Bbb{F}=\Bbb{R}$  What I've tried:  prove that any singleton is close, so because $\Bbb{F}$ is finite I can say that its the discrete topology. prove that any open non-empty group is dense in $\Bbb{F}^n$.  And then I can't find 2 disjoint open groups.  Do you think it's correct? Will appreciate any help


Number of occurrences of a character in a string

I am trying to get the number of occurrences of a certain character such as & in the following string.  string test = "key1=value1&key2=value2&key3=value3";   How do I determine that there are 2 ampersands (&) in the above test string variable?


• English verbs can be placed in various classes depending on their   meaning. In other words, they can be classified “semantically.” The   most important of these classes are: event verbs and state verbs.      • Event verbs refer to events—happenings that begin and end at a   definite time. For example, the verb build as it is used in the   sentence Jack built a beautiful house by the beach is an event verb.      • State verbs refer to states—conditions or situations that are seen   as not having any definite beginning or end; they are seen as   permanent, in other words. For example, the verb own as it is used in   the sentence Jack owns a beautiful house by the beach is a state verb.   Why state verbs are seen as not having any definite beginning or end?  Now see this sentence "I am at home" ("to be" is a state verb in this case). And, if you have a good watch, you can pinpoint the precise time you enter your house & the precise time you walk out of your house.  Another example, "I see her! I see her!" ("to see" is a state verb in this case). If you have someone watch your behavior, that person can define the specific time that you start seeing her & the time you stop seeing her.


JavaScript / jQuery: how to split string with multiple values

I have a string that always contains 8 variable values that are separated with a hypen (-) like in the following example:   5-2-2-2-2-2-2-1  What is the best way to split this into 8 separate values so that I can use each of them in a variable if the values can be either an integer or the value 'n/a' ?  Many thanks for any help with this, Tim.


How to enter an account directly at start up

How do you get an account to log in automatically on power up? The idea is the computer is turned on remotely through a power switch, boots up and then automatically logs into the user account. I am using Ubuntu 14.04 with Xubuntu as my GUI on a RaspberryPi 2.  So far, all I have found is how to remove the requirements for a password to login, but you still need to physically click "log in".


I was running an update  sql server query.Unfortunately I realized that I miss a condition so I quickly canceled manually the query with the red (stop) button in sql server management studio. I want to know if a rollback is done on the updated data or not. It was a simple sql server query without begin transaction and commit or rollback clause.


Skype and VLC sounds sizzle/distorted/bad

I have the same problem as described in the questions  and . But it is not only the login, notification, but also when talking to somebody. I tried the solution to remove/re-install skype and most of the solutions in this questions, e.g. checking mixer, sound settings and installing alsa-hda-dkms (incl. system restart). After installing skype (and even after upgrade to skype 4.0) in Ubuntu 12.04 (AMD 64) there was no sound at all. I followed the first step of the  and at least there is now sound:  sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop  linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'` `whoami`   The jittering sound would sometimes disappear, e.g. on the Echo-Testcall after replaying the recorded part. And I noticed that if I let music play in the rhythmbox and then start skype, the sound is fine. So I have a weak solution, but I would be glad it would work without this detour.  In VLC when I play, restart after pause I have to same jittering sound.  As requested: My sound card is a an "AMD High Definition Audio Device" called Advanced Micro Devices (AMD) Hudson Azalia controller (rev01), subsystem Lenovo Device 21ea (according to sysinfo) on a Lenovo Thinkpad Edge 525.


Let $V$ be an inner product space, and $F :V\to V$ a linear map.   Some say that $F$ is an isometry when $\langle F(u),F(v)\rangle = \langle u,v\rangle \forall u,v\in V$. Others say that $F$ is an isometry when $||F(u)||=||u||$ $\forall u\in V$.     Show that these two meanings are equivalent.


Is there only one pair of unequal rational numbers with $n^m = m^n$?

While talking with a friend about the number $16$, I began thinking about what two positive rational numbers, $n$ and $m$, satisfy the condition that $n^m$ = $m^n$ where $n$ and $m$ are not equal. $2$ and $4$, as discussed with my friend, are the first pair of integers to do this, and seem to be the only pair to do this after brute forcing combinations in a python script. It seems like there should be more possible pairs, so are $2$ and $4$ the only positive rational numbers to satisfy these conditions?


Why have all the colors from the picture disappeared?

Hello, can anyone tell me why are the colors from picture disappeared? How can I bring them back? Thanks!


I have a server with 150GB of diskspace. Today I uploaded a dataset of 30GB. I cancelled the import due to internet dying, then noticed there was 29GB of space missing in the database (meaning the CSV was uploaded, but not deleted when I broke the operation). When uploading the data once again, it broke again and I lost another ~25GB. Now there isn't enough free space to upload the data.   This is hosted on AWS RDS, Postgres 10.6.   Is there a way to fix this? I read about VACUUM. But will this delete records? I'm hosting at the moment ~70GB of data and don't want to lose any records. What's the best way to go about this?