Why don't NS records contain IP addresses?

The point of an NS record is to tell client which name server will know for sure the actual IP address for a domain name. So for instance, the following query tells you that if you want to get an authoritative answer about facebook.com you must ask a.ns.facebook.com:   > dig ns facebook.com                                                                                19:58:27  ; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> ns facebook.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32063 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0  ;; QUESTION SECTION: ;facebook.com.          IN  NS  ;; ANSWER SECTION: facebook.com.       65000   IN  NS  a.ns.facebook.com. facebook.com.       65000   IN  NS  b.ns.facebook.com.  ;; Query time: 13 msec ;; SERVER: 127.0.1.1#53(127.0.1.1) ;; WHEN: Sun Mar 20 19:58:40 CET 2016 ;; MSG SIZE  rcvd: 65   This seems cool and useful but I'm wondering why the ANSWER section contains the hostname and not IP of the authoritative source? Wouldn't it be easier for the client to get the actual IP address of the authoritative source and not the hostname?  I mean if it gets the hostname it will have to make another query to resolve this hostname into an IP and then ask this new IP about the initial facebook.com domain it was looking for. Isn't this inefficient?   I'd be interested in answer that points me to some paragraphs in some RFC that explains this problem.


I am modeling plane and I don't want to model a cockpit so I want to use black windows which will reflect a lot of light but you can't see thought.   Currently I just use Glossy BSDF (GGX) with almost black color (0.01, 0.01, 0.01) and Rougness 0.015 but it don't look quite right. It lacks glass shine and looks too matt.  Edit:  Here is my simplified blend file:    Also here is what i want. Glass on this tie fighter is blackish and it looks like glass. In my blend file it looks more like plastic.    One more thing i noticed is when light reflect from glass whole glass section reflect same amount of light. It can be seen on tie fighter example above.


Rigorous Mathematical Proof of the Uncertainty Principle from First Principles

While looking at an intuitive explanation for the Heisenberg Uncertainty Principle (related question below), there was a mention of an axiomatic approach to establishing the uncertainty principle. Could someone please point out a source with detailed steps and explanations from first principles? Related Question  Some (re)-search will reveal the below proof (and others) which are perhaps not immediately grasped by people unfamiliar with certain terminology / concepts. Related Proof  In the above answer, It is not clear  How the product of vectors, $PQ$, is decomposed into real and imaginary parts?  How the expected value of $PQ$ squared is the square of the imaginary and real parts separately?  How both square things are positive since a complex portion is involved?  How square things being positive means that the left hand side is bigger than one quarter the square of the commutator?  Why the commutator is unchanged by the shifting $[P,Q]=[p,x]=ℏ$ ?   Please note, I was a decent physics student (perhaps not, but am still deeply interested) who has wandered off into the social sciences for graduate studies. Hence, I am a bit rusty on the notation and terminology. Any pointers to brush up the concepts and fill the gaps in existing explanations would be much appreciated. I understand my questions might seem very trivial or obvious to experts, hence please pardon my ignorance of any basic concepts. EDIT: Please note, this is not a duplicate question. The question to which the reference is made to mark this question a duplicate is linked into this question. This present question originated as a result of a few doubts regarding the other question. I will remove this edit once this is clear.


I am stuck on this problem: Simplify the sum $$ \sum_{k=0}^n {n+k \choose k} 2^{-k}. $$ I multiplied it by $\frac{2^n}{2^n}$ to get $$ \frac{1}{2^n}\sum_{k=0}^n {n+k \choose k} 2^{n-k} = \frac{1}{2^n}\sum_{k=0}^n {n+k \choose n} 2^{n-k} $$ How should I proceed? I tried to use the formula $\sum_{i=r}^n {i \choose r} =  {n+1 \choose r+1}$ but I don't know how to aply it here.


Export/Deploy Drupal site/page to static? (no cache)

I wonder if there is an existing  module that can help in the subject. I am not looking for a caching module (like Boost or Varnish), but a way to export my whole site (or only certain pages) into static.  The idea is that I want my web server will be a very simple and light and will only serve static files (html/css/js) - no database on production, no php engine will be installed on server. All the Drupal engine will be on another server, export will be done each time adding/editing/changing a node or view, and a new set of html files will be created in a directory structure.  These files will later on be copied to the production site that will serve always and only static files, no .htaccess that will check requests if file exist etc.   Is there a module for that, or a workaround that this can be achieved with Drupal?  Thanks


The voltage drops measured across very high value resistors do not add up - why is that?

I have a very simple series circuit which I originally built hoping to measure voltage from an Arduino, but while calibrating realized an irregularity, so stripped it down to its basic parts.         – Schematic created using   The circuit now consists of a lithium-ion battery (unknown Ri), a 10Mohm resistor, and a 1Mohm resistor. When measuring the voltage drops across these resistors, the voltage does not add up.  Unlike in previously asked questions, I am not referring to a small margin of error around 5-10%. Instead, the voltage when measured across both resistors is 3.68V. R1 has a measured voltage of 1.78V across it, and R2 has a voltage of 0.17V across it. This does not add up by a very large margin, and I have no idea what could be causing it.  I have considered possible bad connections across the wires and in the breadboard, and have not been able to find any significant voltage drops to make up for the 1.7V difference. I'm at a loss for what could be causing what appears to be a violation of KVL and would appreciate any explanation for this.


$$ Fn =  \frac{1}{n+1} +\frac{1}{n+2}+\frac{1}{n+3}+\cdots+\frac{1}{n+n}$$  I need to show that 1 is an upper bound for this sequence.I tried to use induction but didn't manage to prove it.


What’s going on with “food > feed”? Is it like “foot > feet”?

I am looking for a particular linguistic term for this process of turning nouns like food into verbs like feed. For all I know, it may be older than English, perhaps even going back all the way to OE. English has a bunch of noun-verb pairs like these: food, feed blood, bleed brood, breed doom, deem? What is going on there? What does it mean?


'Owner' formatting incorrectly applied on deleted comments

There is special formatting for user links in comments posted by the author of the question; it has a different background, to distinguish it from comments from other users. However, this background is also applied to ♦ moderators when they delete such comments:    I'd expect my user link to be formatted as in the second comment, without special 'owner' formatting.


Why Greedy Coin Change Algorithm is not Showing right result for double values?

On the image the highlighted 0.03 should be 0.04 but showing 0.03 and coin needed should be 10 but showing 9  My Code:   #include <stdio.h>  int main(){      double coins[6] = {0.01,0.05,0.10,0.25,1,2};     double ans[15];     double V = 5.64;     int j=0,i=5,Tcoin = 0;     while(V>coins[0])     {         if(coins[i]<=V)         {             j = V/coins[i];             //printf("%.2lf - %.2lf = %.2lf\n",V,j*coins[i],V-(j*coins[i]));//This is for testing purpose             V = V-(j*coins[i]);             Tcoin += j;         }         i--;     }     printf("Number of coin needed is: %d\n",Tcoin);      return 0; }


how to select data from one table and check condition from other table mysql query

I'm creating a website in which a registered user can see a post only once.i have used a DB table (viewed posts) in which i save user id  of the logged in user and post id of the post he viewed . i want to show only those posts to user which he has not seen yet from the (post) table. please help me how i can do this . i have tried left joint etc but none of them works well   i also tried this one but it not works  select * from post, viewed_post  where post.p_id !=viewed_post.p_id    AND viewed_post.u_id!='$logged_in_user_id';


Does Disciple of Life work with spells cast from a Staff of Healing?

If I have a Cleric who is Life domain and a Staff of Healing does Disciple of Life work with the spells cast from the Staff?     Staff of Healing:  While holding it, you can use an action to expend 1 or more of its charges to cast one of the following spells from it, using your spell save DC and spellcasting ability modifier: [spells follow]        Disciple of Life: Also starting at 1st level, your healing spells are more effective. Whenever you use a spell of 1st level or higher to restore hit points to a creature, the creature regains additional hit points equal to 2 + the spell’s level


Mid 2011 iMac 27 inch 1 TB hard drive partitioned 50% Mac and 50% Win 7 bootcamp

Bought iMac from new. Works perfectly and installed bootcamp by dividing the 1TB drive 50/50. iMac came with 4GB RAM. Made enquiries and have found that there are 4 memory slots. Kept the 4GB and added 2 4GIG Ram modules to make full memory 12GIG. Installed Windows 32 bit and Office etc In MAC states I have 12GIG Ram: In Windows native (I.e. booting to Win 7 without bootcamp) I see it states I have 12 GIG RAM but only 2.32 USABLE RAM.  The whole point of upgrading the RAM was to get more available in the machine when bootcamp running. When running Win7 in bootcamp it simply says there is 2.32 usable RAM. BUT ... presumably Win 7 should run the full 4GIG when in native mode.  I note somewhere here that if certain hardware is installed the RAM may be limited to 2.32 in Win 32 bit and someone upgraded to Win 64 bit to see then a magical change. Is that what I will have to do Seems not right that Win 7 limits itself to 2.32 RAM particularly when it knows that 12 GIG RAM is installed. Any ideas how to make it recoginise the full 4GIG that Win 7 32 bit is supposed to work with? csr


I am self teaching myself python 2.7. I  have some experience in using BATCH, which has a GOTO statement.  How do I do that in python? For example, suppose I want to jump from line 5 to line 18.  I realize there have been previous questions regarding this topic, but I have not found them sufficiently informative or, are too high level in python for my current understanding.


Why does this bash script for apt upgrade not actually run in the background?

I am trying to create an alias/bash script that will use apt to fully upgrade all applications on my computer as a background process.   But for some reason, later parts of the standard out appear to be printing to the main commandline, even if I spawn an entirely different bash instance and disown my script  bred@loaf:~$ alias aptup='sudo apt-get update > ~/aptlog && sudo apt-get dist-upgrade >> ~/aptlog && sudo apt-get upgrade >> ~/aptlog &' bred@loaf:~$ aptup [1] 24361 bred@loaf:~$ Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Entering ResolveByKeep ^C [1]+  Done                    sudo apt-get update > ~/aptlog && sudo apt-get dist-upgrade >> ~/aptlog && sudo apt-get upgrade >> ~/aptlog    bred@loaf:~$ alias aptup="sudo bash -c 'apt-get update > ~/aptlog && apt-get dist-upgrade >> ~/aptlog && apt-get upgrade >> ~/aptlog & disown'" bred@loaf:~$ aptup bred@loaf:~$ Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Entering ResolveByKeep ^C bred@loaf:~$    Note the "^C" is me using Ctrl+C to exit the process and regain control because the task is done.  EDIT: Also, I should be running the  --yes --force-yes   tags on each of the upgrade commands so that apt has permission to do upgrades if there are any. But the same result occurs nonetheless


What are the statistics and mechanics behind the Spawning of Presents from the 2014 X-Mas Trees?

Apparently the 2014 X-mas trees in Clash of Clans spawn presents. The trees give you 50k  gold surplus when removed and are able to spawn presents which in turn are worth 5k Elixir. Also, a friend of mine just told me that he got 25 Gems from the tree.  What I did not find when searching for it is how the spawning of presents works in detail. The only data I found was that a tree can only have 5 presents around it at a given time. This is mentioned in an answer to the question "" but wrong. I raided a base which had three trees with two times seven and once six present around them.   Does each tree have its own spawn chance?   Is there a total limit of how many presents any given tree can spawn in total?


Do ranged spells count as attacks for purposes of a Rogue's Sneak Attack?

Our DM was saying that an Arcane Trickster Rogue casting a Firebolt does not get the sneak attack damage on a hit. Is that right?


Show that $\left[\alpha\right]+\left[\alpha+\frac{1}{m}\right]+\cdots + \left[\alpha+\frac{m-1}{m}\right] = \left[m\alpha\right]$

Let $m$ be a positive integer and let $\alpha$ be a real number. Show that $$\left[\alpha\right]+\left[\alpha+\frac{1}{m}\right]+\cdots + \left[\alpha+\frac{m-1}{m}\right] = \left[m\alpha\right]$$ where $\left[\ \ \right]$ is the integral part function.  Remark: Attempt to prove this result by induction but  I failed in the inductive step, I have been unable use the induction hypothesis.


Shouldn't null and alternative hypothesis always be exhaustive?

I am studying about hypothesis testing and I find that many books have different views on whether the set of parameters in null and alternative hypothesis should be exhaustive or not. But in my opinion I think that they should be exhaustive to make meaningful result.  For example if true parameter is not in the union of set of parameters in null and alternative hypothesis, the conclusion we make from hypothesis testing would be meaningless.   Thus I believe that they should be exhaustive! But if not, why is it so and please give me an example.


problem while removing package from ubuntu 13.10

$ sudo apt-get --purge remove libpixman-1-0  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  libatk-wrapper-java : Depends: default-jre but it is not going to be installed or                                 java2-runtime                        Recommends: libatk-wrapper-java-jni but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


Solving this trigonometric task: $\sqrt{3}\cos{\theta}-\sin{\theta}=R\cos(\theta+\alpha)$

Find the values of $R$ and $\alpha$ in the identities below, given that $R>0$ and $\alpha$ is an acute angle.  $$\sqrt{3}\cos{\theta}-\sin{\theta}=R\cos(\theta+\alpha)$$  I'm a bit confused by this task.  How should I start? I have $$ \cos(a+b) = \cos(a)\cos(b)-\sin(a)\sin(b). $$       If I square anything, I can use the trig identity  $$ \sin^2(x) + \cos^2(x) =1. $$


Windows 10 installation driver not found after using dd

I wrote Windows 10 iso file to a usb using dd. This is the command I used:  sudo dd if=windows.iso of=/dev/sdb1 bs=1MB conv=fdatasync status=progress   The computer that I want to reinstall Windows 10 on currently has Ubuntu 18.04. I formatted my USB file type to be FAT before I wrote to it. When I went into the boot menu, the installation starts up, but it notified me of a missing driver.     I tried browsing through the system to find the driver but it was no use. Then I thought this was a file type issue, so I formatted the USB file type to NTFS and rewrite the Windows iso to it again. The same issue occurred. I opened up Startup Disk Creator, but it doesn't even detect the Windows iso.  Is this a common issue with trying to create a Windows boot USB with dd? Will I need to use a third-party program for it?


How to modify an invalid '/etc/sudoers' file?

How do I edit an invalid sudoers file? It throws the below error and it's not allowing me to edit again to fix it.  Here is what happens:  $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no valid sudoers sources found, quitting


Find the value of $a$ and $b$ if $x+1$ and $x−2$ are factors of $ax^3−4x^2+bx−12$      Attemption $$ \begin{cases} f(-1) = -a - b - 16\\ f(2) = 8a + 2b - 28 \end{cases} $$ But then when I plug in $$b = 28 - 8a$$. Then I get $$-a -(28- 8a) - 16=0$$$$a = 34/7$$  In the book it says $a = 10$ and $b = -26$. So I am stumped. Please help


What is wrong with the variance formula for linear regression betas in high dimension?

According to linear regression formula, assumming the predictors are nonreandom, $$var[\hat{\beta}]=MSE *(X'X)^{-1}$$ where MSE is an unbiased estimator of the population variance.  Intuitively, when the number of predictors (p + 1) is greater than the number of data, the regression model is overfitting the data. Because of overfitting, one would expect the variance of $\hat{\beta}$ to be big.  However, according to the formula, because MSE = 0, we have $$var[\hat{\beta}]=MSE *(X'X)^{-1} = 0$$  What goes wrong? There must be some implicit assumption with this formula that failed in this scenarios.


Diamonds (♦) break the automatic hyperlink parser

Questions like:   ♦ ♦-should-discriminate-more-when-bumping-unanswered-questions ≠-users-who-want-to-write-good-posts   well, you can see there.  The diamond (and other problematic Unicode characters) in the title breaks the automatic prettification of internal question links.  This becomes a bit more of an issue when one wants to link to an answer.  For example ♦-break-the-automatic-hyperlink-parser/242572#242572 should link to Martijn's answer, but, it doesn't (tangent, but a different issue is that  which is the share link doesn't auto-prettify unless the userid part is removed - one keeps having to manually remove things to get the auto prettify to engage).  If one looks at the html generated for  for the title and the url linked in the
 of the page, we get:  <title>Users who can&#39;t write good posts ≠ users who want to write good posts - Meta Stack Exchange</title>
 Users who can&#39;t write good posts ≠ users who want to write good posts
   And while that's a long link title, I will point out that the quote as part of the word "can't" was removed from the slug.  The bug is that this should be done for other characters too.


I know the question is a weird title.     Define $f:\mathbb{R}\to\mathbb{R}$ by   $$\begin{cases}     8x & \text{if $x$ is rational}\\     2x^2+8 & \text{if $x$ is irrational}    \end{cases}$$           Determine at which points of $\mathbb{R}$ the function $f$ has a limit and justify your conclusions.   So we see that it is possible that they may approach the same point at $x=2$. Since this is an accumulation point for both parts of the function we can inquire as to the existence of a limit here. We don't consider other points since there will clearly be no other accumulation points that might give the same limit.  I'm confused on how to show the limit formally exists though I am pretty sure it converges to 16 obviously. So I know I have something of the form $0<|x-2|<\delta$ and $|f(x)-16|<\epsilon$. Where I am stuck is talking about the function itself. I don't think showing this with sequences will work but I'm not sure.  Thanks!


It would make sense if both of these sentences were grammatically correct; but is anything different between them meaning-wise?  He acted very strange when I told him about the missing amulet. He acted strangely about the whole deal.  What difference is there between using an adverb here and using an adjective?


Prime Ideals: $ab\:\in \:I$ such that $a\:\in \:I\:\:\vee \:\:b\in I$ vs. either $a\:\in \:I\:$ or $b\:\in \:I\:$ but not both?

Everywhere I read it's "a is element of I or b is element of I", but I couldn't find an explanation if it's a mathematical or (so that it can be the case that a is element of I and b is element of I), or if it's a language or (so that it's impossible that both belong to I)


How can Obito use his Mangekyo so often?

It's been said that excessive use of the Mangekyo Sharingan causes blindness and eye-bleeding, as demonstrated by Itachi. However, Obito used his Mangekyo almost constantly nearly every time he's made an appearance. How come he has shown no signs of pain, blindness or eye-bleeding?   My own theory on this is that the Senju DNA Madara used to rebuild his body has something to do with it, but I have never seen this explicitly stated. If it has, can you tell me where or explain how this works in more detail.


How can I get Google to stop thinking I'm a Bot?

So, I'm getting the occasional CAPTCHA message, which is irritating but fine, but occasionally Google just blocks my network wholesale. I've submitted automated requests to unblock it, but I have no idea who I can email directly to clarify the issue.  I've run all manner of anti-virus, parsed my router's logs, combed through Fiddler to see if any errant packets were slipping by. Nothing. The only Google searches that happen are made by me through the web-browser.  Who or what do I have to do to get Google to stop falsely flagging my network as a spam-bot?


Can I create a Twig file of a field which can be reused in many different content types with the same Twig effect?

I created a Twig file for a field of a content type and made some changes in the Twig for that field. Now I want to reuse the same field  in different content type with the same Twig effect.   Is it possible if yes then how we can achieve that?


Is there a generic link to your site profile that doesn't require your user ID?

Six years on, is this possible yet?    I ask as I wanted to link up all the sites in the first list, here:  but I can't without a generic link.  Unlike the first question though, I'm not suggesting we base it off of name, but the user id should be stored somewhere in the page request (?) in Django it's just request.user to get the user object. The site is Ruby on Rails, so I'm guessing it will be different but similar.  Not sure if this is currently possible so taggin as both  and .


I will be flying to Bangkok in a couple of weeks and for the fourth night in a row not getting any sleep (3-5 hours). This is affecting my performance now, especially at work (programmer).   EDIT: I wouldn't say that I am afraid of dying more than usual. I never had problems with sleep more than one night before travel (or project) myself (I always take sleeping pills), but never 5 nights in a row...   That this is travel related is on a large part assumption, I just thought it was (I wouldn't think Xmas is nearly exciting enough at 33 to loose sleep over 😭) and that some other travellers had it too, and that it's a very much solved problem, so instead of suffering insomnia or starting with sleeping pills it would make sense to ask here first...  How to deal with pre-travel insomnia?


Some times when you trade with an acquaintance you get a prompt asking if you want to be friends with the other person. Most of the times it does not. It happens randomly too. It could be  after the first trade  after just trading 1 pokemon or it could happen after the 3rd trade request with that person after trading 10 pokemon.  When and how can I get the friend request to appear?


i have a single page. it's made with html5 and css3. in this page i have one div. i want to align this div . vertical align and horizontal align . for horizontal align i use [ margin 0 auto ] but i don't know how i can vertical align this div.  i use the [ vertical-align: middle ] but didn't work.  i want to align body for showing this div in center vertical & horizontal.  my main question is : How to align body for showing elements in center?  *note : my page is full width and full height.   /*this is a body code*/      body {         width: 100%;         background: url(images/1.png);         direction: rtl;         text-align: center;         background-attachment: fixed;         background-repeat: round;     }      /*this is a div code*/      .indexcard {         width: 90%;         height: 500px;         margin: 0 auto;     }      /*this is a my cssreset code maybe you need this*/      html, body, div, span, applet, object, iframe,     h1, h2, h3, h4, h5, h6, p, blockquote, pre,     a, abbr, acronym, address, big, cite, code,     del, dfn, em, img, ins, kbd, q, s, samp,     small, strike, strong, sub, sup, tt, var,     b, u, i, center,     dl, dt, dd, ol, ul, li,     fieldset, form, label, legend,     table, caption, tbody, tfoot, thead, tr, th, td,     article, aside, canvas, details, embed,     figure, figcaption, footer, header, hgroup,     menu, nav, output, ruby, section, summary,     time, mark, audio, video {     margin: 0;     padding: 0;     border: 0;     font-size: 100%;     font: inherit;     vertical-align: baseline;     }


set theory ,permutation and combination.

Let P be the set of k elements.What is the number of ways we can choose an ordered pair (R,S).Where R and S are disjoint subsets of P.


What is an observer that is not a whole living human person?

In current quantum models, name one or more objects that collapse an entangled waveform into a single classical particle other than a complete living human person.  The "duplicate" I just read has an accepted negative score answer that starts with "An observer is a person...", so I don't know how to make this simpler. If you are interested in jokes related to the issue, continue reading, but otherwise you may begin formulating an answer now.  Here are some examples of solid answers that, while not true, would answer my question if they were in a modern quantum model:   Anyone with a full head of hair is an observer.  Receding hairlines have a reduced probability of collapse.   Wigs count too. Anything with a phone number is an observer; it doesn't matter to the quantum state if anyone picks up.  The classical result and its delta T depends on your carrier, and all possible states use the data plan simultaneously.  Anything that walks on two legs is an observer.  Sorry dolphins.  And you can't just do it sometimes, it has to be your primary mode of transport, so no weasling your way in, dogs. It doesn't quantize until it's published in Nature.  PNAS doesn't work, and we all know the news can be both true and false simultaneously now. God (not yours, the other one) decided that some things should act classical, and entangled quantum stuff is so impressed with the endorsement when they come into contact, it acts like a classical thing from that point forward. The electron over there on your keyboard and/or phone is actually the one and only observer.  Its potential paths look like observers now, but as soon as you touch it, we all disappear.   Include as much math as it takes.  A greek letter with a hat that does the job is fine.  Just no humans in your theory.  Like teaching it to a millenial, one might say.  There may be follow up questions, but it is not necessary to answer them to my satisfaction to receive check mark.


Does a traditional afterlife exist in Lord of the Rings?

I know that, in the Lord of the Rings and associated works, Eru Ilúvatar is basically the Christian God, with Morgoth being Satan. Since Tolkien famously hated allegory, they should be understood as , not as metaphor for such.  Tolkien occasionally hinted at or stated Christian (specifically Catholic) doctrine, for example in the need for divine intervention to save Frodo from the temptation of the Ring, or the statement that Eru might have to personally redeem humanity at a later date. One might imagine that this extends to the afterlife.   We know a little bit about what happens to creatures that die — Elves are bound to Arda until its end, say — but all I’m aware of for Men is that they “pass out of Arda”.  However, did Tolkien ever state or imply that a literal Christian afterlife existed for those humans who died in Arda? In particular, is there any mention of Heaven, or (even more so) Hell? Conversely, did he imply that a different situation held (at least at that point in time)?


I'm quite a big guy and I'm travelling to Benidorm and worried I won't fit in the seat when the armrest goes down. Shall I just buy another seat to save hassle when on the plane ?


A book suggests that we should not interchange "so" and "so that". "So" means "therefore", and "so that" means "in order that". However, it seems to me that in many cases they don't actually have a difference. For example:     Alice got up at 5:00 A.M., so that she could drive her son to school.   If I substitute "so that" with "so", this sentence presents the exact same causal relation to me:     Alice got up at 5:00 A.M., so she could drive her son to school.   I must have missed something here, since English is my second language. Could somebody explain the difference?


Fantasy book: girl and her familiar frog, cat and fish escape their witch jailor and search for who they are

It is a single book story about a girl who, along with a fish, a cat, a frog and maybe some other familiars, escapes the witch who was holding them captive.  The fish had a pearl in its mouth, the frog a stone on its head, the cat had something in its paw and the girl, something in her stomach.  I don't remember much more than it being their journey to finding out who they really are and why the witch had captured them.


Does preventing a creature from taking actions also prevent reactions?

I'm slightly confused by the use of the word "action" in the text. The section on "" states:     Certain special abilities, spells, and situations allow you to take a special action called a reaction...   And then there are times where you cannot take actions such as the  spell which states:     [...] While in the trance, the messenger is aware of his or her surroundings, but can't take Actions or move...   There are also time where something explicitly says you can't take reactions like the  which states:     An incapacitated creature can't take actions or reactions.   And then there is this phrase from the section on "":     [...] anything that deprives you of your ability to take actions also prevents you from taking a bonus action.   There is no similar phrase in the "Reactions" section so I am left wondering: If something, like the spell dream, prevents you from taking actions, but not reactions, can you still take a reaction?


Should we have a quantum computing site? This site would be an intersection of physics, cryptography and software development or more.


Why do banks withhold old statements and transactions in online banking?

I noticed that none of my banks I have accounts with in the US (i.e. my local CU, Bank of America, Chase, and Citi) offer any way to view or download bank statements (e.g. as PDFs), account activity pages, and transaction lists (e.g. CSV, OFX, QFX) older than a few years. For example, my credit-card with Chase was opened in 2014, but both web-page activity listings and CSV/QFX downloads only go back to September 2018:  I understand that banks will keep a record of every transaction: the amount of data that represents a transaction is no more than a few hundred bytes (at most!). Since the mid-1990s there's no technical or economic reason for banks not to store the full details of every transaction indefinitely - and there is business-value in having that data. So assuming that banks do have that data available, why do they all prohibit access to old records? I note that most (but not all) of those banks say on their website that you can contact them to request a print-out of your statements going back an additional 2-3 years, but nothing older than that. This feels arbitrary and frustrating (and I really don't want my statements on paper!) I would assume that being able to determine an account balance by re-running every transaction from the start would be desirable, or even required, for a bank's recordkeeping to be considered trustworthy. I'm asking this question because I recently lost my old manually-downloaded CSV/OFX files that I downloaded every month since I opened my accounts, and I want to re-build my personal-finance database but none of my banks offer any records older than 2014 or even 2018, which is annoying.


I've got strange rendering artifacts; how to avoid it?

I'm quite new to Blender and Cycles render engine, so I need some help to understand how I've got these rendering artifacts and how to fix them.    The overall picture is very noisy and there are a lot of anomalous white pixels.  The whole scene looks like this.    The sphere is used as the source of light and has the emission shader.    Each test tube is imported from another file and has Glass BSDF shader.    I've bumped up a little numbers of light paths transparency and bumps (don't know what does that mean, actually), but I think it does not help much.    I don't know what else to add, so here it is. What should I do?


How do you know if something you want to say should be an answer or just a comment?  I assumed that anything that answers the question should be in an "answer" field, and clarifications should be under "comment". But I found this question () in the English Stackexchange site.  The original question asks for words related to the word "chain" and all the answers so far were provided via comment to the original question, instead of in a separate answer field.  Is this the recommended way to answer a question that requires only one-word answers? Or should the comments to the original question be converted to answers instead?


Finding a dual basis for a space of polynomials with a given degree bound

I am looking over Linear Algebra,and am stuck on this problem.   V is the space of real polynomials of degree 2 or less, and I want to find a dual basis to the basis $\{1,x,x^2\}$. I know the general technique, that each element of the dual basis $e_i'$evaluates to $0$ on the basis vectors $e_j$ for which $i \neq j$ and $1$ when $i=j$ but every time I try and do this on these basis vectors, I get stuck.   Any help appreciated.   Also, a more general question: what is the method for determining in general whether or not something is a dual basis? I know you have to show it to be linearly independent and spanning, and showing linear independence is generally quite easy, but how do I show spanning? If I have a dual basis I'm presuming it doesn't necessarily have to satisfy the above criterion (evaluating to 0 and 1 on different basis vectors), and this is just a way of finding one dual basis, so how would I test whether or not a given dual basis is spanning?   Thanks.


Methods of speeding up a huge DELETE FROM  with no clauses

Using SQL Server 2005.  I am performing a huge DELETE FROM  with no where clauses.  It's basically equivalent to a TRUNCATE TABLE statement - except I'm not allowed to use TRUNCATE.  The problem is the table is huge - 10 million rows, and it takes over an hour to complete.  Is there any way of making it faster without:   Using Truncate Disabling or dropping indexes?   The t-log is already on a separate disk.  Any suggestions welcome!


When a post gets six spam flags, it is .  However, the user account remains in the system.  When this happens, an automatic flag should be raised to allow moderators to check the account to see if it needs to be destroyed, similar to the PostVandalismDeletionsAuto flag.   I will periodically run searches, such as , and see blatant spam that has been deleted, but the spammer's account remains.  When combined with the feature that will , SE will be able to get better information on the spammers.


I need to make an ubuntu installer that only shows 2 languages (in my case, English and Bahasa Indonesia).  What file in the installer ISO do I need to modify to do this?  So it is clear what I mean, see:


The looping of Evolution factories slow the system to sudden and lengthy halts. When I access the System  Monitor I can stop the individual processes that cause the problem. These processes are as follows;  evolution-source-registry   notably,     evolution-addressbook-factory  Once evolution-addressbook-factory is stopped the processes are eventually replaced by similarly named processes, but the looping stops. When I connect to Thunderbird it slows substantially. Initially I used evolution mail when running Ubuntu 12.10 but removed it and have been using Thunderbird.  My laptop specs are: Ubuntu 13.04 32-bit 2.0 GHz (dual core, both cores at 2.0 GHz) 1GB RAM After carrying out the recommended procedures for complete removal I recieved a cache read error after removing evolution from the package manager entirely. Re-downloading the packages in the package manager enabled email recognition and produced the error seen in the screenshot.


Exception thrown at 0x00007FF6E384A096 in NewTest.exe: 0xC0000005: Access violation reading location 0x0000000000000008

I don't know why I am getting this error. I tried to use breakpoint and found out it gives me the error when it wants to go through the 4th for loop (for tt=0...). //Constraints 12 for (cc = 0; cc < NumberOfCourses; cc++)     for (ww = 0; ww < AvailableWeeks; ww++) {         IloExpr Constraint12;         for (rr = 0; rr < AvailableRooms; rr++)             for (tt = 0; tt < AvailableTimeSlots; tt++) { //error line                 Constraint12 += Z[cc][rr][tt][ww];             }         mod.add(Constraint12 = AN[cc][ww]);         Constraint12.end();     }


How to securely wipe files from SSD drive?

When trying to securely wipe SSDs, we have several problems:   SSDs wear out after a limited amount of erase cycles SSDs have a controller that dynamically maps LBAs (logical block addresses used by the system to access the disk) to NVRAM cells (the actual flash memory cells) to balance the wear, which means telling the disk to overwrite the blocks that formerly stored a specific file may result in overwriting any other spare blocks. SSDs have a notable percentage of reserve capacity that is used to compensate dying storage cells and reduce wearing. They are not visible to the system and might hold old data fragments.   Now what options do we have from inside Ubuntu to securely wipe SSDs?  I've heard that some newer SSDs should be able to securely wipe themselves, but how do I find out whether my SSD is capable of this and how would I trigger it? There should also be an ATA secure erase command, how do I find out if that is supported and how would I trigger that?    Are there also ways to securely wipe only a given file or only unused space? I guess making a backup of all partitions, securely wiping the entire disk and then restoring the backup would be possible but sounds too complicated and would take too long to be practical. Are there other alternatives? If not, what tools can I use to backup partitions without also backing up already deleted files?   Of course the standard tools like shred or wipe are not usable here for the points described above. They simply overwrite a a file (by overwriting its file system clusters which are bound to LBAs which are not constantly pointing on the same flash cells due to the wear levelling controller).


What is the syntax for an inner join in LINQ to SQL?

I'm writing a LINQ to SQL statement, and I'm after the standard syntax for a normal inner join with an ON clause in C#.  How do you represent the following in LINQ to SQL:  select DealerContact.* from Dealer  inner join DealerContact on Dealer.DealerID = DealerContact.DealerID


The difference between continuity and uniform continuity.

I need someone's help to make me clear with both definition of continuity and uniform continuity. Let's say a function is continuous on a closed interval $[a,b].$ So what I can relate from this case, if we use the definition of continuity then we can see that delta is depending on the epsilon and an element of the interval $[a,b].$ However, if the function is uniformly continuous, the delta is only depending on the epsilon. Can anyone explain the difference between both definitions? Thanks.


What happens if no one survives the Hunger Games?

It is possible that the remaining last two tributes might get killed at the same time, for example, by a land mine explosion, and in that case the games will end with no victor standing.  Is there a reference in the original books as to what happens if nobody emerges victor in the Hunger Games?


What is really "wp_nonce_field" and how does it work?

wp_nonce_field()   This function making me so confused. The documentation in wordpress codex doesn't make sense. I can't understand why and how to use it.   Last two week I am wasting/spending my time to understand some of the wordpress function to develop a video plugin. Please anyone explain this a function simply.


Returning a non-zero value for int main() in c++

Int main is a function . And it's a integer function , so it should return a integer . When we want to close our program , we should type "return 0 ;" (in int main()) . what if we type "return 34;" ? (returning a non-zero integer) . what will be happened ? I tried it , i didn't see any difference .  Where this returned integer will be used ? If we return a non-zero integer , will it use more memory when program is closed ?


Why do we need to fork to create new processes?

In Unix whenever we want to create a new process, we fork the current process, creating a new child process which is exactly the same as the parent process; then we do an exec system call to  replace all the data from the parent process with that for the new process.  Why do we create a copy of the parent process in the first place and not create a new process directly?


What's the difference between a tuple and list in the python which one is more efficient

In my one of the interview the interview ask me about the tuple and the list in python. And ask which is more efficient in case of finding a element on both .


"to get ubiquitous" or "to become ubiquitous" ...?

I want to write down a sentence to express the fact that from the 1980's on computers got applied in many facets of our daily lives ... and I am wondering what sentence would be correct:  "As computing got more and more ubiquitous in people's daily lives, ..."  or  "As computing became more and more ubiquitous in people's daily lives, ..."  EDIT (CONCLUSION):  Thank you for all the comments! I have rebuilt the sentence as shown below:  "As computing started to become ubiquitous, affecting more and more aspects of people's daily lives, the demand for reliable programs that are proven to be correct increased"


I have Logic Pro X 10.2.4.  I never noticed this problem before today:  I started having the same problem as shown in :     everytime I try to upload an mp3 file into logic, it speeds up the audio by a whole lot. I've made sure that the sample rate of the audio file and the project is the same but it still doesn't make a difference. All the previously saved projects that had audio imported into them don't have a problem but if I try to upload a new audio file into those projects, I am encountering the same problem   I have noticed that this doesn't affect only mp3 files (downloaded from the internet), but also m4a files recorded in my iPhone (with the factory voice recorder app) and sent to my MacBook.  The sample rate of Logic (in Project Settings > Audio) is 44.1kHz, as is the sample rate of all the files I try to import (except potentially the m4a files, soxi doesn't work on m4a though so I don't know their sample rates).  Here is an example of an audio file which I may attempt to import:    here it is after dragging and dropping from Finder into Logic:     It sounds like some parts are just ... skipped. It sounds the same in Logic playback and after exporting (bouncing).    I'm temporarily using the 'fix' that the reddit OP noted:     I managed to bypass the issue by just converting all of my mp3 files to wav files.   I just ran a few quick  ffmpeg -i originalrecording.m4a originalrecording.wav ffmpeg -i originalrecording2.mp3 originalrecording2.wav   etc.  Drag and drop the WAV files instead of the original files, and logic no longer chops them up weirdly.    How come this happens though?  What's the root of this problem, and how can it be resolved?


Unable to Install Viber due to missing libssl1.0.0 package

I'm using Ubuntu 19.04. I'm aware of the question , but when I try to install via sudo dpkg -i viber.deb  I get this: Selecting previously unselected package viber. (Reading database ... 206700 files and directories currently installed.) Preparing to unpack viber.deb ... Unpacking viber (10.3.0.37) ... dpkg: dependency problems prevent configuration of viber:  viber depends on libssl1.0.0; however:   Package libssl1.0.0 is not installed.  dpkg: error processing package viber (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.32.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.23-4ubuntu1) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Errors were encountered while processing:  viber  I have tried the Viber Unofficial snap, but I ran into the huge screen rez and I don't know how to fix that either.


I can't get a div to center horizontally

I can't get a div #buttonwrap to center on my site. I have tried every option that is suggested in . But it still doesn't work. And what is strange is that #backgroundwrap works fine with the same code. I have linted my CSS and HTML markup, but no help.   Hope someone can help me solve this issue, it has been driving me crazy and delete nearly all my code! The full code is online here:   .buttonwrap {     margin: 0 auto;     position: relative;     width: 100%;     display: block;     float: none; }  /* parent */  #container {     width: 100%;     height: 100%;  }


Can Dispel Magic be used on the confusion caused by Yeenoghu's flail?

During tonight's game, the party's wizard became confused because of a failed save against Yeenoghu's flail, which had the effect of:  The target must succeed on a DC17 Wisdom saving throw or be affected by the confusion spell until the start of Yeenoghu's next turn.  Dispel Magic says:  Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, the spell ends.  With this in mind, I had the following question: Is the confusion caused by Yeenoghu's flail a targetable magical effect for the purposes of Dispel Magic? Or does the wizard have to wait for this effect to expire in the normal fashion? To clarify, I'm trying to determine if the magical effect on the Wizard can be removed without hitting the wizard as a creature with Dispel Magic. The latter has some pretty negative consequences for the wizard.


How to use the LOWER function in a Drupal query?

I want the query like below:   select * from tbl where LOWER(name) = $name  My current query is:  $resultArr = db_select('adbanner', 'n')     ->fields('n')     ->condition(LOWER('n.blog_title'), $page, '=')     ->execute()     ->fetchAll();    But it doesn't work.  How should I write this type of query?


Prove if $f$ has a right inverse function: $f\circ g=id_x$ $\iff$ $f$ is onto $Y$

We have the sets $X,Y$ and $f:X\to Y, \ g: Y\to X $      Prove if $f$ has a right inverse function: $f\circ g=id_Y$ $\iff$ $f$ is onto $Y$ (surjective).   $\Leftarrow \forall y\in Y : \exists x\in X$ then $f(y)=x$ I need to show that $f\circ g(x)=x$ but I don't know how.  I have no clue on to start in the other direction.   BTW, I found below similar question but they're either not quite the same as this one or I didn't understand the answers:


Where do the definitions in statistics come from?

The most statistics I ever took was a few lessons on it back in high school. What always bothered me is how arbitrary the definitions seemed. For instance, I remember having trouble with the definition of standard deviation.     The standard deviation of a set of values $X$ is the square root of the average of the squared of the differences between each value in $X$ and the average of $X$.   At school, standard deviation was never given any more precise definition than "a number that gives you a rough idea how 'diffuse' the dataset is". While I can see in a very approximate way that this is basically correct, it's a long way from how definitions of concepts in math are usually explained. Usually there's a precise notion that we're trying to capture, and a clear explanation as to how our definition captures that notion.  But here, when I asked for further information, I was told things like "you square the differences to make them positive", when what I was hoping for was something like:   A specific real-world concept that the definition captures. A class of problems in which the definition arises naturally. A specific mathematical property that we would like to have, which leads necessarily to this particular definition.   Is there any rigorous basis for the definitions in statistics, or do we genuinely just make up formulae that kinda sorta get us something like what we're trying to calculate? Have I just never seen statistics as it really is, or is it actually very different to every other field of mathematics? If the former, can you recommend a book that explains statistics in the way I'd like?


Deleted /usr/bin/env by mistake, how can I recover it?

I am using Ubuntu 12.04 X64, I deleted my /usr/bin/env file by mistake. How could I restore this?  Also I copy a file as /usr/bin/dev, I don't know if I originally had a file called /usr/bin/dev. If so, how could I restore this as well?


I was taught that with the word language, the definite article is used.         The English language versus English   The English language Teacher versus  English teacher      What are article usage rules for 'a/the English Language teacher'?


Short command for frequently used symbols

I am making a TeX file of an old "German" mathematical document, in which the symbols  $\mathfrac{A}$, $\mathfrak{B}$, etc. are occurring in every paragraph. So, when I type this, it takes lot of space, especially in equations: like this   $\mathfrak{A}\mathfrak{B},\mathfrak{C}]=\langle [AB,C] \, | \, A\in\mathfrak{A}, B\in\mathfrak{B}, C\in\mathfrak{C}\rangle.$   How to make a shortcut for the typing of such equations, or symbols?


I have come to the conclusion that my PHP installation and my MySQL installation are not getting along; I’m working on making my first web page that uses MySQL for content, but after two days, man pages, online documentation, and dozens of tutorials, I just can’t get the PHP/MySQL part to work.  I have an established home web server (I am the only admin/user) that runs Apache and hosts my web pages.  I have MySQL installed, and was able to create and query a database through Terminal.  I have PHP installed, and can use echo to print text to the document.  When I work with MySQL however, everything changes…  I have a page that contains initialization stuff in .  contains a few paragraphs of hardcoded HTML and then PHP code to access MySQL.  When I first loaded the page, all that resulted was a blank page.  I commented out the PHP section and reloaded to confirm that the plain HTML still worked, which it did.  Therefore, some part of PHP was keeping any of the page from ever loading.    To begin troubleshooting my code, I left all of the PHP code commented except the following code for the server connection, which is adapted from several different tutorials:  <? echo("
PHP is working
");  $ses = mysql_connect("localhost","username","password"); if(!$ses){  echo("
Connection to content server failed.
");  exit(); } echo("
Database Connected
"); ?>   When the page is loaded, the beginning HTML loads in addition to a paragraph reading “PHP is working” but neither the failure or success message appear.  I removed the If structure from the code - so that only two echos and the mysql_connect remained – and got the same result.    It seems that the mysql_connect feature is causing the server to stop loading the code when it is run, but I’m out of ideas for how to fix it.  For the record: I’ve modified the php.ini file to include the “connection = msql.so” line, and I’m using MySQL 5.5, Apache 2.2.22, PHP 5.3.10, Ubuntu 12.04.  Also, both my router and modem have been configured to forward port 3306 to the server – though I don’t see how that should be necessary – and my MySQL username and password have been triple checked and are identical to the ones that I use successfully in Terminal.  What am I missing?


How to make the taskbar blink my application like Messenger does when a new message arrive?

Is there an API call in .NET or a native DLL that I can use to create similar behaviour as Windows Live Messenger when a response comes from someone I chat with?


How do I evaluate the following integral $\int_{-\infty}^{\infty} e^{-\sigma^2 x^2/2}\; \mathrm dx$?

How do I evaluate the following integral $$\int_{-\infty}^{\infty} \exp\left(-\frac{\sigma^2 x^2}{2}\right) \mathrm dx\;?$$  How is it even possible to find an antiderivative?  The integral is evaluated "silently" in a book leading to a theorem.  Using Wolfram Alpha (after trying to evaluate on my own) I get     and this is not what I want, since at my level we've never worked with such a function.  Hoping someone can clarify.


java - return two results in one function call?

I'm trying to do something like this:   public void <String,int> getItem  {     return <"Jen",23>;  }   I know I can use a custom class, but how I would I return two results in one function call.  1 - Is the above template function possible in java, and how would by caller get part 1 of it and part 2 later.  2 - Can I do it using an associative array like in actionscript?  3 - Can I do it using a hashmap of some sort?  4 - What are other possible ways are there   I attempted all three ways, but one way or another syntax is hitting me. So if anyone can give clear examples


Long to Double Calculation Getting Rounded to Zero Incorrectly

I'm doing a fairly simple calculation to compute the difference in Business Hours between two DateTimes. This is largely functional, but in the case of short differences (~10 minutes) this gets rounded down to 0. For example, if using a Long value representing 9 minutes (3300000), the following will get rounded to zero:  public static Double diffInBusinessHours(DateTime startTime, DateTime endTime, Id businessHoursId){         Long diffInMilliseconds = BusinessHours.diff(businessHoursId,startTime,endTime);         Double diffInBusinessHours = diffInMilliseconds/(1000*3600); //gets rounded to 0.0         return diffInBusinessHours;     }   while this will correctly return 0.9166666666666666:  public static Double diffInBusinessHours(DateTime startTime, DateTime endTime, Id businessHoursId){         Long diffInMilliseconds = BusinessHours.diff(businessHoursId,startTime,endTime);         Double diffInBusinessSeconds = diffInMilliseconds/1000;         Double diffInBusinessHours = diffInBusinessSeconds/3600;         return diffInBusinessHours;     }   Why is this happening?


Feature Request: Audio Snippets similar to image uploads

Note: First, I have reviewed other audio feature requests posted and they do not appear to duplicate this request. I originally proposed this feature on ... but after some time, the admin notes that feature requests will receive proper attention on META SE. Please note that this feature is about the ability to record a short audio snippet (30s) in-line, not an upload (however I would not be adverse to seeing both capabilities)  EDIT: Based on comments, please see my recent edits to help refine this question.  Feature Request: Audio Snippets  Would it be reasonable to add the capability of small audio snippets (recorded in-line, not uploaded) to the  (CSE) wiki?  The feature might take this form:  Snippets only (no more than 30 seconds long) Able to be embedded similar to image uploads  Implications:  Probably would require an audio recording feature to be efficient  Rationale:  For a language website like CSE wiki, the ability to hear samples of native speech seems to be a no-brainer to me.  Why here:  Other websites provide audio content but no context. A language website wiki seems ideal to house this material as it is highly pertinent to every visitor.  Drawbacks:  The need to not pollute the website wiki with junk.  Argument in favour:  I would argue that the drawbacks are handled using current community mechanism. Technical limitations should be nil as the technology to produce the feature set already exists (see italki.com for example).  Why not Google Translate, SoundCloud, or other tools  Other tools like Google Translate and Sound Cloud have serious drawbacks of their own and make it much harder for CSE visitors to share audio than an embedded audio recorder. Google Translate is getting better but still a far distance from actually translating things correctly.  SoundCloud would require every CSE visitor to open a new account.   Meanwhile the most important aspect of such a tool is to capture the nuances heard from native speakers. This effect cannot be easily reproduced by other tools. Although SoundCloud could do it, the nature of its drawback becomes severe when one considers the possibility of such external websites (outside of CSE) being blocked by different governments. Keeping a tool small and local to CSE would provide fine grained control and encourage participation.  Natural Extension  What seems to me a natural extension of this question is whether such capability belongs on all of the language sites. I think it does, mainly for the same reasons provided above. The ability to learn a language requires interaction with native speakers and trying to learn to speak a language without hearing it can be inefficient.


Identities of the Hyperoperation heirarchy

The hyperoperation heirarchy in the naturals starts with addition, then multiplication, then exponentiation, then tetration, and so on. Each operation is defined as repeated application of the previous in the sequence. Here, we are defining 0^0, 0^^0, etc, x^0, x^^0, etc as 1. In a discussion on some online forum, someone was remarking that exponentiation satisfies the identity (x^y)^z=(x^z)^y but tetration does not. And of course, exponentiation fails to satisfy the commutative law. He wondered if this process keeps on happening as you ascend the hyperoperation heirarchy. So, what I would like to know is if the sequence of sets of identities of the hyperoperation heirarchy starting from multiplication, is strictly descending. By identities I mean universally quantified equations without constants. If anyone can link me to a paper on this or a similar topic, I would be immensely delighted.


When casting a spell using a magic item, is the casting itself visible?

Some magic items allow you to cast spells using them, even if you are normally unable to cast such spells, such as the Wand of Magic Missiles or the Helm of Telepathy.  When you cast a spell with such a magic item, can you be visibly seen to be casting the spell? This is relevant to    Whether or not the spell can be Counterspelled Whether it is obvious to observers that any magic has occurred, if it's a spell like Detect Thoughts that has no visible effect after being cast.


I use next query:   SELECT ROUND(r/h) AS conv FROM table WHERE conv > 1   I receive error "Unknown column 'conv' in 'where clause'", But why? After AS conv is it not exists yet?


I am attending college for computer programming and came across a practice question where I am keep getting a compiler error: local varialbe movieFee, snackFee and couponeFee is not initialized at line 85.   I am new to this and I feel like I have done everything right. Could someone kindly help me out?  Thank you! Joseph  Question is: Calculate the cost of going to the movie theatre.  Pick the appropriate age range – child, adult, or senior; choose a snack bar combo – none, popcorn and pop, chocolate bar and pop, or popcorn and candy and pop; indicate if the patron has a coupon which gives him $2 off the movie fee.  Patron Age Ranges       Movie Fee       Snack Bar Options       Fee child ( < 12)       $5.50       A - popcorn and pop     $7.90 adult (12 - 65)     $8.50       B - chocolate bar and pop       $6.30 senior ( > 65)      $6.00       C - popcorn and candy and pop       $8.90   My code is:  import java.util.Scanner; public class MovieFee {  public static void main(String[] args) {     //scanner class     Scanner input=new Scanner(System.in);      //display the age options and prompt the user to enter one     System.out.println("Child (<12)");     System.out.println("Adult (12-65)");     System.out.println("Senior (>65)");     System.out.print("Choose your age category: ");     String age=input.nextLine();      //display the snak bar options and prompt the user to enter one     System.out.println("\n\nA - popcorn and pop");     System.out.println("B - chocolate bar and pop");     System.out.println("C - popcorn and candy and pop");     System.out.print("What is your snack bar option(enter a letter): ");     String snackOption=input.nextLine();      //calculate the movie fee     //declare fee variables     double movieFee, snackFee;     if(age=="child"||age=="Child")     {         movieFee=5.50;     }     else if(age=="adult"||age=="Adult")     {         movieFee=8.50;     }     else if(age=="senior"||age=="Senior")     {         movieFee=6.00;     }     else     {         System.out.println("\nYou did not enter a correct age group.");         System.out.println("Please try again using one of: child, adult, senior");     }      //calculate the snack fee     if(snackOption=="A"||snackOption=="a")     {         snackFee=7.90;     }     else if(snackOption=="B"||snackOption=="b")     {         snackFee=6.30;     }     else if(snackOption=="C"||snackOption=="c")     {         snackFee=8.90;     }     else     {         System.out.println("\nYou did not enter a correct option");         System.out.println("Please try again using either A, B or C");     }      //ask the user if he/she has a coupon     double couponFee;     System.out.print("\nDo you have a coupon? Type yes or no: ");     String coupon=input.nextLine();     if(coupon=="yes")     {         couponFee=2.0;     }     else if(coupon=="no")     {         couponFee=0;     }       //calculate the total fee and total fee     double result=movieFee+snackFee+couponFee;   //**GETTING ERROR HERE     System.out.println("Final price is "+result);    } //end main } //end class


best practice with RAID0 configuration - to keep all of them in separate drives i.e. tempdb, mdf, ldf, backups

Database size - 145GB Currently our database mdf file, tempdb, backups are in D drive and log files are in C drive. Can we go for the below configuration:  D drive - tempdb, E drive - mdf, f drive - backups, C drive - logs  or  D - tempdb, E - mdf ,F - logs & backups  We have 26 servers with full recovery model which works 24/7 for our clients. and more than 100 for other clients with Simple recovery model which works only 9 to 6. Currently, we have available only 4 hard drives to allocate with this configuration C, D: Mirrored (RAID 1) and E. Can we fit our database all files in this kind of configuration or avoid RAID 1? Front end application crashes frequently during the day time and inaccessible during night time as maintenance tasks runs which are database integrity, rebuild/reorganize, backup and delete old files. Could someone please help me with best suitable approach for this?


A worker carries two bags. Each of the bags initially contains N nails. Whenever the worker needs a nail, he takes it from a bag picked at random. At some point the worker picks an empty bag. Find the probability that the other bag contains exactly m nails.  My reasoning:  The desired probability: $C_2^1 \cdot P(|A| = 0\ and\ |B| = m)$, where A, B - sets of nails in each bag. Then we can "divide" this probability (I suppose that I deal with independent events):  $P(|A| = 0\ and\ |B| = m) = P(|A| = 0) \cdot P(|B| = m);$  $P(|A| = 0) = (\frac{1}{2})^N$, where $|A| = |B| = N$ (initial condition).  $P(|B| = m) = (\frac{1}{2})^{N - m}$  Result: $C_2^1 \cdot P(|A| = 0\ and\ |B| = m)$ = $C_2^1 \cdot (\frac{1}{2})^{2N - m}$  Am I wrong or it is correct?


The program below aims to return all the nonzero values in the array A using the array B.  I am new to Java, but experienced with C++.  Would gladly appreciate any feedback !  public class first  {     static int [] A= { 5, 43, 0, 127, 1, 0 ,0 ,3};      public static int[] NonZeros( int [] A )     {          int [] B= new int [10];         int k=0;         for(int i=0;i<=7;i++)             if(A[i]!=0)             {                  B[k]=A[i];                 k++;             }           return B;     }                         public static void main(String[] args)                         {                               System.out.println(NonZeros(A));                         } }   Output:   [I@659e0bfd


I just saw the movie . When I had first seen the title of the movie I had assumed the movie to be a violent one with a lot of killing and hatred. But the story is completely different! Based loosely on the novel Oil! it's rather about the story of an 'oilman'.  So my doubt is; how is the title of the movie justified? Why didn't the makers name the movie The Oilman (I have read they didn't name it Oil! because it isn't directly based on the book) or Daniel Plainview or something like that? What is the significance of the title in relation to its story?


Word meaning the outcome is different to that intended

A friend has said that there is a word meaning the outcome is something very different from that originally envisaged. For example:     The Australian government introduced a "First time home owner" bonus. Where if you were buying your first house you would get a lump sum cash. Of course everyone selling a house in that price backet put the price up by the same amount as the lump sum and first time buyers didn't benefit at all.   Does anyone know if there is a word meaning this and what it is?


I'm working on a 2D sidescrolling game in Java. All of the blocks and enemies rendered are 32x32px. When I try to make too big levels, the game won't be able to handle them, which will make it lag extremely much. So what I'm trying to do to fix this problem is to make only the blocks visible by the camera render, and only the blocks visible by camera + 200-300px run their tick methods. That would probably make the game lag less.  The code:  All of the typed of objects have an own class which extends a class called GameObject, which gives them all of the methods they need (tick method, render, collision etc). In a class called Handler, GameObject is made into a LinkedList, like this:  public LinkedList<GameObject> object = new LinkedList<GameObject>();   Everything inside that LinkedList is runned like this...  public void tick()     for(int i = 0; i < object.size(); i++){              GameObject tempObject = object.get(i);               tempObject.tick(object);                   if(tempObject.getId() == ID.MovingBlock){                  velX_MB = tempObject.velX;                  velY_MB = tempObject.velY;              }          } }   ...and rendered like this:  public void render(Graphics g){      for(int i = 0; i < object.size(); i++){          GameObject tempObject = object.get(i);           tempObject.render(g);       }  }   I've tried rendering only the blocks inside the camera by doing something like this:  private GameObject player;      for(int i = 0; i < object.size(); i++){   //searching through GameObject LinkedList               if(object.get(i).getId() == ID.Player){ //if found player                  player = object.get(i);              }                  }   After that, I checked if the blocks were close enough to the player to be rendered inside the render method, and if they were, I rendered them, like this:  public void render(Graphics g){       for(int i = 0; i < object.size(); i++){          GameObject tempObject = object.get(i);           if(tempObject.getX() <= player.getX() + Game.xsize + 200 && tempObject.getX() >= player.getX() - Game.xsize - 200){ //this row got error             tempObject.render(g);            }       }  }   But this didn't work, it gave me a NullPointerException error, pointing to the row marked in the previously shown code. The full error message:  Exception in thread "Thread-12" java.lang.NullPointerException at game.main.Handler.render(Handler.java:53) at game.main.Game.render(Game.java:363) at game.main.Game.run(Game.java:302) at java.lang.Thread.run(Unknown Source)   And that was only the render method, but I guess it would be the same when running them instead.  Thank you for taking your time..  EDIT: I fixed the null error and added my old method in both tick() and render(), but it's still lagging extremely much.


Allow user to show / hide sites in the android app Feed

I am a registered user in ,  and several other sites, only because I had to ask 1 or 2 questions. In general, I have no interests in these sites, so I don't want to see them on my Feed. Is it possible to hide them somehow?   For now, I want to see only 4 sites (could be meta or non-meta) on my Feed. Notifications are not an issue, because I normally don't get any notifications from those not-interested-in-sites; I rarely participate there.


Can Ubuntu be installed on Dell XPS15 9530

I'm new to the world of Linux, so I apologise in advance if I say something that appears silly to you.  Over the years I have been frustrated by Microsoft operating systems, and the latest upgrade to Win 10 has disgusted me so much that, despite my age (75), I decided to try Linux.  I managed to get Ubuntu running on a trial basis from a USB stick, and I was delighted.  I then tried to install a dual-boot arrangement, but this failed, despite following the advice provided on various forums.  Eventually, I came across a post which suggested that it is too difficult/risky to do it.  I then decided to go the whole hog and install Ubuntu 16.04 in place of Win 10. luckily, I checked with Dell Support site (my PC is Dell XPS15 9530) to see what it had to say.  Among the comments it advised to check with Canonical that my PC is on their approved list.  Much to my dismay the Canonical list of suitable Dell PCs ends with XPS13 systems.  This leaves me in a tantalising quandary.  I know that Ubuntu works superbly (the trial version) but am worried that a full install attempt might leave me with an expensive 'brick'.  Any (comprehensible) advice would be much appreciated,


Complex Analysis: Show the union of 2 regions is connected

Let G1 and G2 be two regions.  Suppose that G1 ∩ G2 ≠ 0.  Show that G1 U G2 is connected.  I know I have to first show that G1 U G2 is open and then show it is connected but I have no idea where to start or how to even prove this.


How can I remove duplicate icons for "launched" java programs in the launcher?

When launching java programs (like IntelliJ IDEA and Crashplan) in Natty's Unity launcher, duplicate icons are shown (see image).  For IntelliJ I created the .desktop file, for Crashplan the .desktop file is supplied with the application.  Is there something that can be changed in the .desktop files (or somewhere else) that can prevent this from occurring?  I couldn't find a bug report for unity itself but programs like Gnome-Do/Docky have   and had to make internal changes to their applications to prevent this.   In this image the 1st icon is the one created from the .desktop file and the second icon is after launching it.  Second icon disappears when closing the application.  Custom IntelliJ .desktop file  #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_US]=/opt/idea/bin/idea128.png Name[en_US]=IntelliJ IDEA Exec=/opt/idea/bin/idea.sh Name=IntelliJ IDEA Icon=/opt/idea/bin/idea128.png StartupNotify=true   Crashplan provide .desktop file  [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=CrashPlan Categories=; Comment=CrashPlan Desktop UI Comment[en_CA]=CrashPlan Desktop UI Exec=/usr/local/crashplan/bin/CrashPlanDesktop Icon=/usr/local/crashplan/skin/icon_app_64x64.png Hidden=false Terminal=false Type=Application GenericName[en_CA]=


How would Voldemort restore himself from a horcrux?

If Voldemort's body dies, what process would he use to restore himself from a horcrux? His plans seem sloppy for the pains he had taken. For example, why create horcruxes from pieces of jewellery when they dont have the agency to seek out a new body by themselves?  He needed Quirrel, a person with unlikely ambitions to seek him out to gain an useful body. When that body was gone, he needed Barty Crouch, someone with questionable agency (he could be imprisoned) to transport Harry and draw his blood.  Nagini and the diary seems the only horcruxes with agency, the others are mostly inert.  What plans were ever taken to restore Voldemort from his horcruxes?


Deb Repository & PPA Package Whitelisting Security

Is it possible, maybe via  or other, to restrict which packages a repository can upgrade on a whitelist basis?  Example:  If I add the docker repo to apt:  deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable   and I want to specify that the docker repo can only install or upgrade the list of packages I specify:  docker-ce docker-ce-cli   (Same for PPA repos of course). So now the docker repo cannot replace other software or trick me.  How can she do this whitelisting of packages per-repo security?  Ubuntu 18.04


I have a windows xp pc it has an intel celeron CPU and its about 700 MHz a19.1 GB HDD and 128 mb of ram  What's the most modern version of Ubuntu that I can run


I tried writing out the first few powers of 3 to see if I could find any pattern in the last two digits:  $3^0=01$  $3^1=03$  $3^2=09$  $3^3=27$  $3^4=81$  $3^5=43$, etc.  However, I came up empty-handed, and I am unsure how to approach this.   Any ideas? Many thanks.


Why is ampere defined with $2 . 10^{-7}$?

The formal definition of the  is that it is the constant current which, if maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and placed one metre apart in vacuum, would produce between those conductors a force equal to 2 x 10-7 newtons per metre of length.  Why does this number appear here? Why isn't it any other number or defined in terms of electron charges or the speed of light or something fundamental?


Is it possible to tell who is who in each scene?

After reading the answer to this question: , in which Angler was told by the wrong twin which knot resulted in his wife's death.  Is it possible to tell which Borden is which when watching the movie. Is Christain Bale's performance for each character different enough that every scene with Borden can be determined which is which?  The short answer would be yes/no, but a better answer would either present ways to tell the brothers apart, or offer a map of their apperances throughout the film.


Why are vendors offering (much) less gold for items than expected?

As the title says, I've noticed that vendors seem to be willing to buy my items for a lot less than the "value" listed outside of the vendor UI. Examples:   Potion of Lasting Potency is 311 gold in my "items" view, but Lucan Valerius will only pay 126 gold for it Similarly for my Axe of Whiterun: 201 gold in "items," only 81 gold at the vendor 500 gold for Scroll of Bane of the Undead in "items," 203 gold at the vendor   and so on. What's the deal here?


Let $X, Y, Z \sim N(0, 1)$ and are independent. How to show that $\frac{X + ZY}{\sqrt{1 + Z^2}} \sim N(0, 1)$?

Let $X, Y, Z$ be i.i.d. random variables distributed as $N(0, 1)$. How to show that $\dfrac{X + ZY}{\sqrt{1 + Z^2}} \sim N(0, 1)$? The only solution I see is to progressively find the distributions of  First, $ZY$ Then $U := X + ZY$ Then $V := \sqrt{1 + Z^2}$ Then $\dfrac{U}{V}$  But finding these distributions appears to be a nightmare in terms of the number of calculations to be done. And this solution doesn't really explain the intuition behind this problem: how could this expression randomly end up being $N(0, 1)$-distributed? That makes me wonder if there is a more nice solution. I also think, this is probably a well-known problem, but I couldn't find a solution anywhere. Any help would be greatly appreciated!


Should I exclude bonds from our retirement investment portfolio if our time horizon is still long enough?

My wife and I (ages 35 and 38) have 25-30 years until we reach retirement age, and I'm doing some research regarding our asset allocation. In addition to various podcasts, articles, and online posts, I've read A Random Walk Down Wall Street, The Investor's Manifesto, and am currently reading Common Sense on Mutual Funds.   Our current plan is to move (in the next month or two) our retirement investments (~$100,000) from some Nationwide front-loaded funds to a combination of Vanguard index funds - probably largely composed of the Vanguard Total Stock Market Index and the Vanguard 500 Index Fund.  Although I'm currently leaning towards something like a 70%/30% stock/bond split, I'm wondering if there is any wisdom to holding a 100% stock portfolio (50% Vanguard Total Stock Market Index, 50% Vanguard 500 Index Fund) for the next 5-10 years.  I know we can't predict future returns, but wouldn't 25-30 years allow time to recover from a potential market downturn in the next few years? As we got older, we could begin to incorporate bonds.


Radical of a Lie algebra is a characteristic ideal

Let $\mathfrak{g}$ be a Lie algebra over a field $F$, not necessary of characteristic $0$. We say that an ideal $\mathfrak{a} \unlhd \mathfrak{g}$ is characteristic if it is stable under any , i.e. $\delta(\mathfrak{a}) \subseteq \mathfrak{a}$ for any $\delta \in \mathrm{Der}(\mathfrak{g})$. We also denote the radical $\mathfrak{r}(\mathfrak{g})$ to be the (unique) maximal solvable Lie subalgebra of $\mathfrak{g}$.  Is it true that $\mathfrak{r}(\mathfrak{g})$ is a characteristic ideal of $\mathfrak{g}$?   I have a few ideas on tackling this problem but were mostly to no avail. The most convincing approach appears to be showing that $\delta(\mathfrak{r}(\mathfrak{g}))$ is solvable, and hence must lie inside the radical. But I can't seem to proceed much further from here. Even if I were to assume $\mathfrak{r}(\mathfrak{g})$ is abelian, the furthest I can go is that given $x,y \in \mathfrak{r}(\mathfrak{g})$: $$ [\delta(x),\delta(y)] = \delta([\delta(x),y]) - [\delta^2(x),y] $$ which does not seem to help much. Any help is appreciated.


What is the best solution to get rid from login looping in ubuntu?

I have found many people asking for help about login looping issue of ubuntu.One thing i wand to insure is that there is no single particular reason which may result in login looping so there is no single solution to this.But,there is only one solution why works for all and that is reinstalling ubuntu.Well, what is about the data i had in,how can i save it? The answer is we can reinstall it without loosing data of home/ directory.for this,while partitioning,we can use home partition of old installation in new installation without formation it.Other partitions (swap,root,efi) need to be created again.so we can free up these partitions mentioned to create again for new installation.


MySQL Insert query doesn't work with WHERE clause

What's wrong with this query: INSERT INTO Users( weight, desiredWeight ) VALUES ( 160, 145 ) WHERE id = 1;  It works without the WHERE clause. I've seemed to have forgot my SQL.


What is the [:] doing in this line? table[i] = table[i - coin][:]

This is a dynamic programming solution to the minimum change problem in python from .  I don't understand what's going on in the elif block in general.  More specifically, what is the [:] doing in this line   table[i] = table[i - coin][:]   Could this be written with a dictionary instead of the table memoization list?    def solve_coin_change(coins, value):     """A dynamic solution to the coin change problem"""      table = [None for x in range(value + 1)]     table[0] = []     for i in range(1, value + 1):         for coin in coins:             if coin > i:                 continue             elif not table[i] or len(table[i - coin]) + 1 < len(table[i]):                 if table[i - coin] != None:                     table[i] = table[i - coin][:]                     table[i].append(coin)      if table[-1] != None:         print('%d coins: %s' % (len(table[-1]), table[-1]))     else:         print('No solution possible')  coins = [1, 2, 4] value = 11  solve_coin_change(coins, value)


Uniform convergence of ${f_n(x)=\int_{0}^{x}g_n(t)}dt$ where $g_n(x)=\sin^2(x+\frac{1}{n})$.

I need to prove that $${f_n(x)=\int_{0}^{x}g_n(t)}dt$$ where $g_n(x)=\sin^2(x+\frac{1}{n})$ is uniformly convergent on   $[0,\infty)$ $[0,1]$   How can I do this? Is it correct to argue that if $g_n(x)$ is uniformly convergent then $f_n$ is also uniformly convergent? How can I find some $N$ s.t $\forall n>N$ it is true? Any help please.  Edit So I compute $f_n(x)$ and got  $$\lim_{n\to \infty}f_n(x)=\frac{1}{2}\left(x-\frac{\sin2x}{2}\right)$$


How big is the universe 1 second after the Big Bang?

In his book Astrophysics for People in a Hurry, Neil de Grass Tyson starts of with the Big Bang and narrates on what (probably) happened within the first moments of our universe. He further states (p. 26)      By now, one second of time has passed. The universe has grown to a few light years across, about the distance from the Sun to its closest neighboring stars.   Q: Wouldn't this mean that by that means, the universe expanded vastly faster than the speed of light?


I am working on a simulation and I get an error every time! I tried evreything but i cant find an answer. This is the code: Person.java:  package School;  import java.util.Random;  public class Person {     private Random rng;     private String Name;     private String[] Friends;     private int Hobby;     private boolean IsDitch;     public Person(String Name, String[] Friends, int Hobby, boolean IsDitch){         int aof = rng.nextInt(20);         this.Name = Name;         this.Friends = Friends;         Friends = new String[aof];         this.Hobby = Hobby;         if(rng.nextInt(10) == 0){             IsDitch = true;         }else{             IsDitch = false;         }         this.IsDitch = IsDitch;     }      public boolean getIsDitch(){         return IsDitch;     }      public int getMaxFriends(){         return Friends.length;     }      public String getName(){         return Name;     } }   Interaction.java:  package School;  public class Interaction {     public static void main(String[] args){         String[] g;         g = new String[2];         g[0] = "Natasha";         g[1] = "Fill";         Person mrt = new Person("Adam",g,2,false);         System.out.println(mrt.getName());     } }   The error I am getting:  Exception in thread "main" java.lang.NullPointerException     at School.Person.<init>(Person.java:12)     at School.Interaction.main(Interaction.java:9)


I push my hand into a wall... The wall pushes at my hand. That's why I don't fall through the wall. BUT what if I get a sledgehammer and smash through the wall... Now all I see is Newton's third law working up until a point where the wall can't exert a big enough force to react against the sledgehammer.   So Newton's third law isn't universal?  Edit: wait guys, you are not making sense to me. But tell me if this is wrong or right. Is it because the wall pushes back against the sledgehammer with an equal and opposite force as they interact, but when the wall breaks it's just like the hammer is going through the air? Like the wall isn't there anymore?


"kindly request that something IS cancelled", or "WILL BE cancelled?"

Which is the correct usage?        We kindly request that the phone line is cancelled.   We kindly request that the phone line will be cancelled.


If an animal companion wears barding without armor proficiency, do they incur the penalties?

Suppose a ranger puts  on their  to boost its AC. Does wearing the armor cause this creature to have disadvantage on its attacks, ability checks, and saving throws?  Or does the animal companion ignore the penalties somehow?  According to the  rules in the PHB, characters who wear armor without proficiency are penalized on their rolls:     If you wear armor that you lack proficiency with, you have disadvantage on any ability check, saving throw, or Attack roll that involves Strength or Dexterity, and you can’t cast Spells.   However, the PHB rules for  do not mention proficiency or these penalties.     Barding is armor designed to protect an animal’s head, neck, chest, and body. Any type of armor shown on the Armor table can be purchased as barding.   Note: This question is not asking whether the animal companion is proficient with barding. This question assumes the beast is neither  nor  .


Spring Integration - Adding custom headers in Message

I am using Spring Integration filter to do a structural validation of the incoming payload and if the validation fails then i want to add some custom headers to the original message.  The filter code is below :  @Service("structureValidationFilter") public class StructureValidationFilter implements MessageSelector {  @Override public boolean accept(Message<?> message) {     // TODO Auto-generated method stub     boolean status=true;      if(message.getPayload() instanceof CFKRequestBody) {         CFKRequestBody body=(CFKRequestBody)message.getPayload();         if(!body.getInitiatingPartyId().equalsIgnoreCase("BPKV")) {             message = MutableMessageBuilder.fromMessage(message).                     setHeader("BPKV_ERROR_CODE", "Ïnvalid Initiating part id").                     setHeader("HTTP_STATUS", "400").build();              return false;            }      }     return status; }  }   But the headers are not populating in the Message. Not able to see the headers added in the next component. What am i doing wrong here.


Are token creatures considerd as a creature spell?

Are token creatures considerd creature spells? For instince when I use  tap effect combined with  would it allow me to draw a card?


Proof by induction and divisibility $21 | (4^{n+1} + 5^{2n-1}) $

Prove by induction: $21 | (4^{n+1} + 5^{2n-1}) $  Skipping through the basis and onto the induction:  $4\cdot 4^{n+1}+5^2 \cdot 5^{2n-1}=21a  $ for some integer $a$  The following steps  were:  $4\cdot (21a-5^{2n-1})+ 125 \cdot5^{2n-1} \\= 84a-4 \cdot5^{2n-1} + 125 \cdot5^{2n-1}  $   But I can't factor out a 21 from here... Any input?


Programmatically get all names of an entity reference field

Example: I want to get all tag names that are inside field_tags of node 5.  I can get the target_id with $node->field_tags->;     But the problem is, I don't know what entity the target_id value belongs to. Could be a node id, term id, user id. Without that info, I am not able to use the target_id to get the name of the tag.   How can I get all the names of an entity reference field?


Finding the email/account associated with a Google Analytics "UA-XXXXXX-X" id?

I set up Google Analytics for a client some time ago, so the tracking code is installed.   I can't for the life of me find which email account I used to set it up, so now I can't access the stats.  We haven't actually wanted to track anything until now.  Is it possible to somehow find out what email/Google account is associated with the UA-XXXXXXX-X id?


Need advice for UK landing interview (visa-free entry)

I am a Saint Lucian and will be traveling to Manchester, UK soon about which I am a bit nervous.  Run Down:   I own a small business in my country (in the Caribbean), I have a certificate mentioning the details of the business from my Government. I pay rent in my country, but I do not have any loans (I hate owing). I pay life insurance in my country. I have a US B-1/B-2 visa (Visitor & Business). I have visited the US once (last year November) on my US B-1/B-2 visa.   What I will be doing in the UK:   I plan to spend three months out of the six months which would be granted if I get leave to enter stamp. I plan to skydive in the first week and spend a few nights at an Airbnb. I plan to visit the Manchester Football Club stadium, I'm not the biggest of football fans but since I'm in Manchester, why not! I plan to do some more sightseeing and enjoy my time there. After the first week I will be staying with my female friend who owns an apartment for the rest of the time showing me around and helping me experience the UK lifestyle until June.   Why I'm leaving in June:   I am a WordPress enthusiast (I'm a Programmer) and WordCamp EU will be happening in France this year so I plan to fly from the UK to Paris where I will spend three days then take another flight from there to my country.   How my flights will be:   I will be taking a one-way Thomas Cook flight from my country to Manchester but will be purchasing my ticket for Manchester to France ahead of time so I could show Thomas Cook as well as Immigration that I don't plan to stay.   My concerns, could someone address them point by point please?:   I have a bank account but I just use it for collecting easy payments from my clients and pay for expenses. I store my savings in a credit union because of higher interest rates paid than the bank. When I applied for my US visa I showed a credit union statement showing my total balance. I'm seeing online that I should provide statements but these statements would look very bad since I my bank account is just for expenses... I mean it sometimes gets as low as $30 then, when my monthly earnings come in from clients, I withdraw savings to the credit union and leave what I need in the account for expenses. I read another post and it said people with bank statements showing poor spending might have difficulty but it's simply because the account is used for expenses not savings. For the later stages of my visit (after the first week) I will be staying with my friend. I will simply be staying with her to save on cost of Airbnbs for the next two months three weeks, even though they could be cheap, free is better right? I will be booking the Airbnb, skydiving and tours prior to traveling to the UK, will that help? Is my stay too long for staying with someone? I won't be depending on her for anything since I have my own funds...it's just convenient that she has a place where I could stay. If it is then I don't have a problem shortening my stay to 1-2 weeks and just head back to my country and take a separate flight to Paris in June.   I am nervous because I really want to visit the UK and see my friend, I am also not sure if the minimum amount of time that could be given to a visitor is six months? What if I get a round trip for two weeks and the Immigration officer gives me exactly two weeks stay, is that possible? Or is the minimum they could give six months?  Your help is very much appreciated, I want soon to try backpacking (nomad life) but I don't think my poor heart could take the stress of worrying about immigration :(  Update  Since people in the comments are asking about my relationship with the friend I plan to stay with even though she's from my country originally but now a UK citizens and we are simply friends.


$|g(x)| \leq K \int_a^x|g| \ \ \forall x \in I$

Let $I:=[a,b]$ and let $g: I \to \Bbb R$ be continuous on $I$. Suppose that there exists $K > 0$ such that $$|g(x)| \leq K \int_a^x|g| \ \ \forall x \in I.$$  Then $g(x) = 0\ \ \forall x \in I $.  I am stuck with the problem please help!


How can electromagnetic waves be affected by gravity if photons have no mass?

I have found answers that say that gravity interferes with the oscillating electric and magnetic fields of the waves and others that say that since gravity is a bend in space-time, in which case the waves are bent because they travel in a linear pattern along space-time, so that when space-time bends, so does the wave.   Are either of these true and if so which one? If neither is true then why does it occur?   An accurate explanation of space-time would also be appreciated.


how to declare a long long array in Java?

A simple question: Can someone help me declare a long long array in Java? I've tried to cast it, but no luck:  (long long)[] sum = new (long long)[10];   Also, I searched across the internet and didn't really find anyone who uses long long to define an array Any help please?


Check in JS if an Array contains an object with the same attributs value

I'm looking for a method which will generically checks if an Array contains an object with the exact same param values.  Not something specific, a generic implementation.  Exemple :  var obj1 = {name : 'name1', id : 1, value : 'value1'}; var obj2 = {name : 'name2', id : 2}; var obj3 = {name : 'name3', id : 3, value : 'value1', title : 'title3'}; var obj4 = {name : 'name4', id : 4, value : 'value1', title : null};  var arrayObj = [obj1, obj2, obj3, obj4];  var test1 = {name : 'name1', id : 1}; // One missing attribut var test2 = {name : 'name2', id : 2, value : 'value2'}; // One additional attribut var test3 = {name : 'name3', id : 3, value : 'value1', title : 'title33'}; // attribut with different value var test4 = {name : 'name4', id : 4, value : 'value1'}; // same attributs beside the null one var test5 = {name : 'name3', id : 3, value : 'value1', titleBis : 'title3'}; // attributs with different names var test6 = {value : 'value1', id : 1, name : 'name1'}; // same attributs and attributs value but in different order  containsMethod(arrayObj, test1); // false containsMethod(arrayObj, test2); // false containsMethod(arrayObj, test3); // false containsMethod(arrayObj, test4); // true containsMethod(arrayObj, test5); // false containsMethod(arrayObj, test6); // true containsMethod(arrayObj, obj2); // true   Please let me know in comment if it's not clear. I've seen a lot of question for specific object, here I'm looking for a generic version.  Ideally this would also work for String, number etc, not only object with attributs


What is the maximum volume of a pyramid inscribed with a sphere that has the radius 1. Explanations also please.

What is the maximum volume of a pyramid inscribed with a sphere that has the radius 1? Explanations also please.


Does this sequence of real numbers converge?

Let $a_n$ be a sequence of strictly positive real numbers s.t.  $a_n≤a_{2n}+a_{2n+1}$. Does the sum over $a_n$ converge or diverge?   I've played around with the inequality and believe that the sum diverges, but can't seem to find a rigorous proof. I used the counter example $a_n=n$ to show it doesn't converge.


I need to write my document in Arial font, and I have no idea how to install the font. Would anyone be able to give a step by step guide? I have tried to use other guides, but they get rather confusing.  Thank you.


I feel embarrassed to ask this, but I cannot link my small demo program to the xmlrpc-c libs. I know it should be obvious but I am stumped.  I have the same problem if I install the library via apt (Debian) or build/install from source (Debian or macOS).  xmlrpc.c:(.text+0x86): undefined reference to `xmlrpc_client_setup_global_const' xmlrpc.c:(.text+0xba): undefined reference to `xmlrpc_client_create' xmlrpc.c:(.text+0xf9): undefined reference to `xmlrpc_client_call2f' xmlrpc.c:(.text+0x166): undefined reference to `xmlrpc_client_destroy' xmlrpc.c:(.text+0x16b): undefined reference to `xmlrpc_client_teardown_global_const'   The command I used to compile link was gcc $(xmlrpc-c-config --libs --cflags client) xmlrpc.c  The output from xmlrpc-c-config is  -L/usr/lib/x86_64-linux-gnu   -lxmlrpc  -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util  -I/usr/include    This all looks good and the libraries are in the expected place.  I have tried the traditional remedy of repeating the library names on the command line e.g.  gcc $(xmlrpc-c-config --cflags client) xmlrpc.c   $(xmlrpc-c-config --libs client) $(xmlrpc-c-config --libs client)  but this has had no effect. I have also reviewed the answers in , but that does not seem to fix anything.   I have no idea what to try next (I have googled for all I'm worth, but to no avail)


On my iPhone XS Max, the Stack Exchange app doesn’t use the full screen

I think it did in previous updates, but something a few months ago undid that.   App Version: 1.6.6.2 Device: Unknown (iPhone11,6) OS Version: Version 12.4 (Build 16G77)


We are given two numbers $a,b$ such that $a<b$. Now we have a set $\{a,a+1,a+2,\ldots, b\}$ (all number between a and b including them). Then, we have to find how many numbers cannot be formed from the above set. The only operation allowed on the set elements is addition.    Note : We can add these number as many times we want. Only addition allowed on these numbers.  Eg : If numbers are 3 and 5, the set is $\{3,4,5\}$ using these we only cannot make $1,2$.  Can anyone help me with that?  I am not getting any idea. I tried the cases when $b-a = 1$.


Inconsistent parsing of Markdown wrt italics and punctuation in posts and comments

On Language and Usage sites, proper punctuation is sometimes important. Consider the following source:  “*bla*”, *bla*! *bla*… (*bla*), [*bla*], *bla*/*bla* and |*bla*|!   In question and answer posts, almost all bla-s properly italicize:     “bla”, bla! bla… (bla), [bla], bla/bla and |bla|!   Only the one found after a slash is not rendered as one might expect, but it doesn't matter much as the slash should be avoided anyway.  However in comments (and on the chat), this same source yields something completely different:     “*bla*”, bla! bla*… (*bla), [bla], bla*/*bla and |*bla*|!   Please make it consistent! To learn markdown's bloody edge cases is a pain, having to learn them twice is painfully stupid.  “*italics in asymmetric quotes*” (or „*kursiv in Anführungszeichen*”, *ellipsis*…, etc.) is a common combination. It works in posts but not in comments.


I have trouble drawing this diagram in tikz, could anybody help me?