Convergence of series $\sum_{n=1}^{\infty}{\frac{1}{\sqrt{1}+\sqrt{2}+...+\sqrt{n}}}$

$\sum_{n=1}^{\infty}{\frac{1}{\sqrt{1}+\sqrt{2}+...+\sqrt{n}}}$ $\\$  I tried a comparison test, Leibniz, Cauchy, Cauchy-integral and D'Alembert criteria but nothing gives me the result. Any hints would be helpful!


How can I use my vintage Canon FD lenses on a digital camera?

I'd like to use a few vintage Canon FD lenses. I have a few telephotos and a fish eye in absolute perfect optical condition. They sit on a shelf.  , I understand I can't simply get a universal adapter and shoot on a Canon EOS mount.   Are there individual mounts available or a different make model camera (digital) that is compatible?


Can Terminators without human tissue talk?

As we all know, in the first Terminator movie a T-800 model came from the future. It came disguised with human tissue and it can talk like a human.   So my question is: can T-800 Terminators and other (endoskeleton) models talk when they aren't covered in human tissue? I never saw a Terminator without human tissue talking in the Terminator films.


Why are Off-Topic > Migration choices restricted to a list?

Really, this is one of the things which makes me most reluctant to review posts. I practically never find the stackexchange site which I believe is most appropriate for migration on the automatically-generated list of migration options. And I can't mark the question for migration unless I select something on that list. Clearly, it would be counter-productive to mark it to be migrated to the wrong site. So I end up frustrated and the ill-placed question remains where it is.  All that is needed is to add an "Other" field which accepts a stackexchange site. In addition to lowering my frustration level, this would also give SE developers some feedback on the autoatically-generated alternative site lists, which might result in improvements. So an all-round win.


Can we know when rolling occurs without slipping?

In school we solve a lot of physics problems involving rolling cylinders/hoops/wheels. Often it is specified in the question statement that "rolling can be assumed to occur without slipping". Then we know we can use the relationship between translational acceleration and rotational acceleration: $a = \alpha r$.  But can we know from a particular set up when the object can be assumed not to slip when rolling? Assume we know the usual macroscopic details of the set up such as the mass and radius of the rolling object, the angle of the plane, friction coefficients etc.. without deep insight into specifics of the materials of the wheel and the plane.


How would I achieve this low poly water effect using cycles?    But the closest I've gotten would be this:


What's a word that means to 'intentionally withhold information'?

I was reading an online editorial a week or so ago in which its author employed an awesome word, the meaning of which was "to intentionally and deliberately withhold information [essential to the endeavor at hand, with the underlying purpose of misleading others by its omission]". Yeah, all of that in one word.  Alas, I can't seem to find the editorial online anymore, I've now I forgotten the word!


I am reading a book on computer architecture. The author discusses how processor chips are made from wafers. Dies (the heart of the chip, that does calculations) are cut from circular wafer plates.  Because dies are square (or rectangular I should say), and the wafer is a circle, not all of the area of the wafer is used for dies.    To calculate how many dies can go into a single wafer, the author uses this equation:  $$\text{Dies per wafer}=\frac{\pi\times(\text{Wafer diameter}/2)^2}{\text{Die area}}-\frac{\pi\times\text{Wafer diameter}}{\sqrt{2\times\text{Die area}}}.$$  The second part of the equation compensates for the problem of squares in a circle. I am interested in the derivation of the second part. Can you help me out?


How to run executable from shell in ubuntu

I have this folder which contains a program i can launch by double clicking on its executable, but it doesn't run from the console.  some info:     ➜  knime_3.5.3 file knime       knime: ELF 64-bit LSB executable, x86-64,   version 1 (SYSV), dynamically linked, interpreter   /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.9, with debug_info, not   stripped      ➜  knime_3.5.3 ls -l knime      -rwxr-xr-x 1 rob rob 80393 apr  4 22:18 knime   Stuff i've already already:   right click on it, go to permission, check the "Allow execution as program"     ➜  knime_3.5.3 knime zsh: permission denied: knime  ➜  knime_3.5.3 sudo knime [sudo] password for rob:  sudo: knime: command not found


Is the distribution of an Ito diffusion at time t absolutely continuous wrt Lebesgue measure?

Suppose we have an sde of the form:  \begin{eqnarray} dX_t=b(X_t)dX_t + \sigma (X_t)dB_t \end{eqnarray} where $b$ and $\sigma$ are Lipschitz. Then we have existence and uniqueness of the solution $X_t$, which is an Ito diffusion.   When can we say that the distribution of $X_t$ for a particular t is absolutely continuous wrt Lebesgue measure (besides perhaps the initial distibution at $t=0$)?


I have problems when calculating this improper integral   $$\int_{-\infty}^{\infty}\frac{e^{-x^2}}{1+x^2}e^{\frac{2x^2t}{1+t}}dx~= ~?~~~|t|<1$$  assistance would be helpful.


Is a conjugation of a Lie subgroup a Lie subgroup?    Conjugation of a subgroup is a subgroup. Thus, a conjugation of a Lie subgroup is a subgroup.  Conjugation is a diffeomorphism. Thus, a conjugation of a Lie subgroup is the image of a manifold by a diffeomorphism, and so it is an embedded submanifold. Finally I need to prove the smoothness of the group multiplication and inverse operation. But I'm not sure that the restrictions of them on the submanifold are still smooth. How can I prove this?


Why not make a dark theme instead of time travel joke

A feature that has been requested several times, which has never been attended to, and with no real arguments other than the amount of work. So my question is:  why instead of working on any kind of theme related we get this awful buggy "time travel" bad joke theme that no one requested?


Finding $\sum_{k=0}^{n-1}\frac{\alpha_k}{2-\alpha_k}$, where $\alpha_k$ are the $n$-th roots of unity

The question asks to compute:   $$\sum_{k=0}^{n-1}\dfrac{\alpha_k}{2-\alpha_k}$$   where $\alpha_0, \alpha_1, \ldots, \alpha_{n-1}$ are the $n$-th roots of unity.   I started off by simplifiyng and got it as:  $$=-n+2\left(\sum_{k=0}^{n-1} \dfrac{1}{2-\alpha_k}\right)$$  Now I was stuck. I can rationalise the denominator, but we know $\alpha_k$ has both real and complex components, so it can't be simplified by rationalising. What else can be done?


How does taking 2 archetypes in from the same core class work?

In the APG it states;     A paladin could, however, be both an undead scourge and a warrior of the holy light, since none of their new class features replace the same core class feature.   So does that basically mean that this PC would be a multiclass Undead Scourge/Warrior of the Holy Light?  Does the leveling/skill/feat acquisition work just like any multiclass character?


Word for unquestioning belief/opinion.... Doctrine? Ideology?

What is the word when someone considers any questioning of their view to be a moral failing or blindness of the questioner?   I'm thinking of a bottom up, community driven acceptance of a view or analytical model. I can think of a few examples in the current public conversation but I don't want to name them for fear of politicising the question.   'Dogma' may just be the word, but perhaps'dogma' suggests a 'Truth' mandated by locus of power rather than the crowd wisdom I have in mind. An example of dogma would be the biblical creation story where it is held to be true through reverence for its source.


Show the $\sum_{k=1}^{\infty}1/k(\log k)^{1+\epsilon}<\infty.$

I am working on an exercise, at the end of which I need to show      $$\sum_{k=1}^{\infty}\dfrac{1}{k(\log k)^{1+\epsilon}}<\infty,\ \text{for}\ \epsilon>0\ \text{fixed}.$$   It is natural to try to get an upper bound of this series which converges, and as $k\geq 1$, we must have $$k(\log k)^{1+\epsilon}\geq (\log k)^{1+\epsilon},$$ and thus $$\sum_{k=1}^{\infty}\dfrac{1}{k(\log k)^{1+\epsilon}}\leq \sum_{k=1}^{\infty}\dfrac{1}{(\log k)^{1+\epsilon}},$$ but how could I show the latter series converges? does this series even make sense (since we have singularity at $k=1$)?  Thank you!


How does dim light affect passive perception?

A group of adventurers enters a dimly lit room. Suddenly monsters lurking in the semi-darkness attack. How do I find out whether the players are surprised?  Dim light in 5E creates a "lightly obscured" area. Lightly obscured areas give you disadvantage on Wisdom (Perception) checks. But if players are not actively searching, they don't do Wisdom (Perception) checks, but rely on their passive perception. If attacked it is Dexterity (Stealth) of the attacker vs. passive Perception of the defender that determines surprise.   So how does dim light play into this? Would you use the same passive Perception to determine surprise and the dim light has no effect? Or do exceptionally the players have to make a active Perception roll, with disadvantage? What about characters with darkvision, who see in dim light as if it was bright light?


I have sendmail installed on CentOS 6 and whenever I try to send an email, it goes to spam on the recipient. (Gmail in this case)  OK, so, the domain I was to send mail on behalf of is: scalpello.info  The subdomain that is pointed to the ip of the server is: mail.scalpello.info.  The SPF / MX Records look like this:   Here is a header from a test email that went to spam:   Anyone have any ideas?


Terminal command to clean tmp folder and set permission flags

Because of a low-graphics error I am not able to log into my system any more, or at least I am not seeing any graphical interface (solutions here  have been tried).  df -h revealed that my /dev/sda6 partition is full:    Filesystem Size Used Avail Use% Mounted on /dev/sda6 7.4G 6.6G 398M 95% / udev 1.9G 4.0K 1.9G 1% /dev tmpfs 762M 424K 762M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1.9G 0 1.9G 0% /run/shm overflow 1.0M 4.0K 1020K 1% /tmp /dev/sda7 449G 266G 161G 63% /home /dev/sda1 447M 115M 308M 28% /boot   and  sudo du -kxa / | sort -nr | head leads to the output   sort: write failed: /tmp/sortXXXXXX (X = any number or letter):  No space left on device   Therefore my question, how do I clean this /tmp/sortXXXXXX folder or directory with terminal commands and how do I set permission flags for that folder or directory to the standard value? I assume I messed up this permissions and now every process is writing to tmp.


What should filenames and URLs of images contain for SEO benefit?

We know that good site architecture usually looks like this:  example-company.com/ example-company.com/about/ example-company.com/contact/ example-company.com/products/ example-company.com/products/category/ example-company.com/products/category/productname/   Now, when it comes to Google Image search, it is clear that the img alt tag, filename/URL, and surrounding text (captions, headings, paragraphs) have an effect on ranking.  I want to ask about the filename of the images that we should use (e.g. product-photo.jpg).   ...but first about the URL:   Often web developers stick all images in a single folder in the root: example-company.com/img/ — and I have stopped doing that. (I don't want to get into it, but basically, it seems more semantic for images which make up part of the content at each sub-directory)   However, when all images appear in a folder, I feel that their filename needs to reflect what they are a bit more than usual, for example:      example-company.com/img/example-company-productname-category.jpg   It's a longer filename than just product.png, but as long as it's relevant, I see no problem with regards to SEO (unless you're keyword stuffing), and it could even help rank for keywords:    "example company" "productname" "category"   So no questions there.    But what about when we have places images in the site architecture we outlined at the beginning? In other words, what if image URL paths look like this:     example-company.com/products/category/productname/productname.jpg   My question is, should the URL be kept short like above and only have the "productname" (and some descriptive keywords) as part of it's filename?  Or, should it also include the "example-company" and "category"? Like so:     example-company.com/products/category/productname/example-company-category-productname.jpg   That seems much longer, and redundant when we look at the URL, but here are a few considerations.   Images are often downloaded onto computers, and, to the average user, they lose their original URL and thus — it isn't clear where they came from. Also, some social networks, forums, and other platforms leave the filename intact when uploaded. (Many others rewrite it, for example, Pinterest and Facebook.) Another consideration, will this really help (even if ever so slightly) rank in Google Image Search, or at least inform Google that the product is something specific to the "example-company"? For example, what if this product can only be bought at this store and is the flagship product? In addition to an abundance of internal links to this product page, would having the "example company" name and "category" help it appear in "example company" searches?   In other words, is less more?


why is 219 running before the gnome login on my computer?

when I restart I get a black screen then a gray screen with a 219 heading and a screen full of entries with ok after some of them and then the gnome login. also after doing a dist upgrade the id in the settings details shows that it has reverted to 14.10 but is still 15.04 i'm confused.


Update software without upgrading the release or edition

I strictly have to stay in 14.04.1 version. I have already disabled the "New Ubuntu version notifications" (and willing to take any further actions that would make a possible accidental release upgrade impossible). I still get software upgrade notifications and I wonder if it may upgrade the release somehow. Is there a safe command to use for that situation? Regards.  Clarification: My version (or edition, or HWE as it is called) must stay at 14.04.1, I can't even use 14.04.2. I just want my software to be at their newest version for 14.04.1 only.


Why Naruto's hand was not injured using rasenhurikan

It was told earlier in naruto Shippuden that if Naruto uses rasenhurikan often it can lead to damaging chakra in his hand but towards the end he uses it often and his hands are not injured. Why?


Why doesn't the Enterprise use stealth/invisibility technology like the Romulans and Klingons?

The stealth mode of starships plays a huge role in many Star Trek films and episodes and is a strong advantage in combat. I remember an episode revealing that the Federation developed a secret stealth technology (afair on Riker's former ship with another captain appearing in this episode) that even made it possible to fly with the ship through matter.   Nonetheless, while stealth technology seems standard for Romulans, Klingons (Ferengi, Vulcans?) and does not break any intergalactic laws (do these exist at all?), the Federation doesn't use it?


I need to remount my linux filesystem from ro to rw. But nothing gonna work. I will be very grateful if someone help me.  # mount /dev/mtdblock3 on / type squashfs (ro) proc on /proc type proc (rw) ramfs on /tmp type ramfs (rw) devpts on /dev/pts type devpts (rw) none on /tmp/netslink type ramfs (rw)  # cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / squashfs ro 0 0 proc /proc proc rw 0 0 ramfs /tmp ramfs rw 0 0 devpts /dev/pts devpts rw 0 0 none /tmp/netslink ramfs rw 0 0   I tried this:  # mount -o rw,remount -t squashfs /dev/root / mount: Mounting /dev/root on / failed: Permission denied   And I tried this:   # mount -o rw,remount -t squashfs /dev/mtdblock3 / Command "mount -o rw,remount -t squashfs /dev/mtdblock3 /" is forbidden!   And just this:  # mount -o rw,remount / Can't find / in /etc/fstab   /etc/fstab:  # cat /etc/fstab proc /proc proc defaults 0 0 ramfs /tmp ramfs defaults 0 0 devpts /dev/pts devpts defaults 0 0   The system doesn't have the root user, but have the root group and I do it by the user which consists in the root group, is it not enough?  What is the right solution? Thanks!


Prove that for each $\alpha \in [0,1]$, there exists $E \in M$ with $\mu(E)=\alpha$

Let $(X,M,\mu)$ be a measure space. Assume that $\mu$ is a non-atomic finite measure, namely for every $E \in M$ with $\mu(E)>0$, there exists $F \subset E$ such that $0<\mu(F)<\mu(E)$. Suppose that $\mu(X)=1$. Show that for each $\alpha \in [0,1]$, there exists $E \in M$ with $\mu(E)=\alpha$.  Thoughts on Question: I've thought about this question for a very long time but I can't seem to figure it out.  Here is my initial partial attempt.  Proof (first following a hint given to me):  Let $E \in M$ with $\mu(E)>0$. Also let $\epsilon>0$. Since $\mu$ is a non-atomic finite measure, there exists $F\subset E$ so that $0<\mu(F)<\mu(E)$. We know that $\mu(F)+\mu(E \cap F^c)=\mu(E)$ by additivity.  We know that one of $F$, $E\cap F^c$ must satisfy $0<\mu(F_1)\leq 1/2*\mu(E)$. Let $F_1$ represent the element that does. Let's continue this process again. Let $F_2 \subset F_1$. Then we have: $\mu(F_2) \leq 1/2* \mu(F1) \leq 1/4*\mu(E)$. For every n, there exists $F_n$ so that $0<F_n\leq 1/2^n*\mu(E)$. Take n big enough so that $1/(2^n) \leq \epsilon$. Thus we know that for $\epsilon>0$ we can find $G\subset E$ so that $0<\mu(G)<\epsilon$.  Concerns: So I have now proved that for  $\epsilon>0$ there exists $0<\mu(G)<\epsilon$,as per a hint but how do I use this to prove the the result the question is asking:for each $\alpha \in [0,1]$, there exists $E \in M$ with $\mu(E)=\alpha$? I have seen some things online but I can't seem to follow any of them.  Also is proof correct for the part above? Did I say anything, even something small inaccurately?  Could someone, if possible, help me clean up my proof above because I want to precise as possible? Thank you very much. I just need help utilizing this to prove the result.


If the egg whites are old, is it safe to make Italian meringue?

If the eggs are little bit old, and I used the egg whites to make Italian meringue, is it safe to it ?  Egg whites could contain salmonella, and especially in my country where eggs are sold locally from local farms without being tested. I have the eggs in the refrigerator since 2 weeks, and sometimes I make scrambled or boiled eggs with them, but could I eat meringue with them that is made by adding hot syrup (Italian meringue) ?   The syrup will cook the whites or there still a danger of eating it ?


I want to know if the following sentence is grammatically correct: "John's largest tomato and largest pumpkin outweighed Bill's by 2 and 17 pounds, respectively."  I am trying to say "John's largest tomato outweighs Bill's largest tomato by 2 pounds and his largest pumpkin outweighs Bill's by 17 pounds."    Thanks


Using tap abilities after blockers have been declared

Alright say i have a 3/3 gutter skulk and a paragon of open grave with a tap ability of 3 (t), another target black creature you control gains deathtouch until end of turn. I declare an attack with the gutter skulk and my opponent declares a blocker say a 4/4, can i use the tap ability to give the skulk deathtouch after the blocker is declared to kill it?


How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example.  What is the simplest way to restrict the document library to only PDF (just checking the extension PDF is fine) ?


Does an ability that refers to the name of the ability’s card have to refer to that instance of the card?

The Question: I believe I’m right here, but I wanted to get some consensus before I rely on it in a game: Can I apply the ability: "{U}: Untap Soliton" to a different Soliton than the one that activated the ability? The Brief I’ve been looking for an infinite mill combo using  for a long time, and have been unable to find one, but I have come close. I now have a plan that will at least allow me to mill a player so much that it doesn’t matter that I can’t get the infinite mana needed to make the loop unending. The Steup:  Soliton has the ability:  {U}: Untap Soliton    has the ability to Soulbond, and if soulbonded has the ability:  {T}: Target player puts the top two cards of his or her library into his or her graveyard   If soulbonded to Stern Mentor, Soliton will also have the ability:  {T}: Target player puts the top two cards of his or her library into his or her graveyard    In a simple set up, of one Soliton soulbonded to one Stern Mentor, I can tap Stern Mentor and mill for two, then tap Soliton and mill for a further two, then pay one blue mana to untap Soliton, then tap Soliton to mill for two and so on… Assuming I have ten blue mana free this will allow me to mill for 24. The Issue: If I have two sets of Stern Mentor soulbonded to Soliton I can’t mill for any more than if I had just the one set because I am restricted by the amount of mana I have. The Plan: I also have several . These have the ability:  Whenever an ability of equipped creature is activated, if it isn't a mana ability, copy that ability. You may choose new targets for the copy.  Now I had originally hoped to clone Soliton’s ability onto an island card and create an infinite mana combo, but then I realised that if I cloned the ability: "{U}: Untap Soliton" onto something else the ability would still be "{U}: Untap Soliton", and I couldn’t untap the same Soliton that had just been untapped. I’m hoping that I can apply that ability to my other Soliton, that way, if I have two sets of Soliton equipped with Illusionist’s Bracers and soulbonded to Stern Mentor, I can tap one to mill, clone the mill ability inherited from Stern Mentor, do the same for the other set, then untap one Soliton and clone the ability across to the other. This will allow two to be untapped for the price of one. If we disregard cloning the ability inherited from the Stern Mentor this would up the mill to 44, but with the inheritance it would up the mill to 92. With 20 mana spare that we be upped to 184, that can be spread across as many players as I like.


Find all positive integral soludions of $\frac{a}{b+c} + \frac{b}{a+c} + \frac{c}{a+b} = 4$

Given an equation $\frac{a}{b+c} + \frac{b}{a+c} + \frac{c}{a+b} = 4$, how to solve this problem in positive integers?  I've tried to assume $a\le b\le c$ and that $b=a+k_1, c=a+k_2$. So the equation become  $$\frac{a}{2a+k_1+k_2} + \frac{a+k_1}{2a+k_2} + \frac{a+k_2}{2a+k_1} = 4$$  or equivalently,  $$\frac{1}{2+\frac{k_1}{a}+\frac{k_2}{a}} + \frac{1+\frac{k_1}{a}}{2+\frac{k_2}{a}} + \frac{1+\frac{k_2}{a}}{2+\frac{k_1}{a}} = 4$$  Now let $x= \frac{k_1}{a}, y= \frac{k_2}{a}$, it is sufficient to find all positive rational solutions of $\frac{1}{2+x+y} + \frac{1+x}{2+y} + \frac{1+y}{2+x} = 4$.


Present perfect + ago for events in the past

If eating starts at 7:00 AM and finishes at 7:30 AM, and the time is now 7:40 AM.  What should I say：   Now I have eaten for 40 minutes.  10 minutes ago I have eaten for 30 minutes.


Can't update from official repositories [Error 409]

I can't update from official repositories with any pc from my local network. I think I haven't changed anything from my router but I also got an error report sentece telling me official repository isn't signed:   E: Failed to fetch http://es.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  409  Conflict [IP: 104.19.139.75 80] E: The repository 'http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease' is not signed.   I'm using Ubuntu 18.04.3 LTS  What can I do? I haven't found anything useful on the Internet.


Given two infinite series $A(x):=\sum_na_n(x)$, and  $B(x):=\sum_nb_n(x)$, suppose they have radius of convergence $r_1$ and $r_2$ respectively, then what is the radius of convergence of $\sum_n a_n(x)+b_n(x)$?  Is the region of convergence the intersection of the region of convergence of $A(x)$ and $B(x)$? I doubt that this is true by the ratio test.


How can I fill the face just between the vertices and not the inner circle?

So, as the title suggests, I want to fill JUST inbetween the inner and outer circles, but whenever I fill them in, it'll fill in that inner circle, something I don't want, I've tried different selections of vertices and edges, but it still fills everything in. Any help is appreciated


Why has my attacking been disabled and why am I receiving, "You have been playing for too long and your villagers need to rest for a few minutes"?

I was searching for a good base to attack this morning and I received two messages.  The first message prompted when I clicked to search for a new base, "Your attacking has been disabled" and then I was kicked from the game.    Now I am receiving a message that says, "You have been playing for too long and your villagers need to rest for a few minutes."  I spoke with a few other people I play clash of clans with and they said they could attack (not a maintenance window).  Why did I get these messages?


Is it possible record videos of my screen?

Suppose that I would like to record some video sessions of Angry Birds on my phone.   Are there any apps that I can use? I have root permissions.


Restricting textbox input to numbers and dot (.) in C#

I want to restrict a textbox to accept numbers from 1 to 4 and contain dot (.) also in C#. How do I do that?


Issues downloading and installing ubuntu iso alongside win7

When downloading the iso it downloads normally for awhile displaying that i have a few hours to wait and then randomly jumps to complete. Upon attempting to burn the iso to USB to install the pendrive program claims numerous file errors and then completes the format of my usb. when i attempt to boot from the usb during post it either comes up with nothing and forces me to reboot my laptop or comes up that i'm missing files and that the boot cannot continue. can anyone help me with this issue?


Given the speed of light is 299,792,458 meters per second and that it is constant through out the universe, (i.e a person who measures the speed of light while standing still will get the same result as a person moving through space in a rocket)  My question is: if I'm standing still, what is the speed of me moving through the universe? Compared to the speed of light?  The following variables should be taken into consideration    the speed at which the earth is rotating,  The speed at which the earth is moving around the sun, The speed at which out solar system is moving around our galaxy, The speed at which our galaxy is moving in our universe.


Which gods really exist and which don't?

According to the books, and the show, the people of the Seven Kingdoms believe in many gods - the Old and the New. However, the Red God (a.k.a the God of Fire) differs from other gods by the real proofs of his existence:   The ability to resurrect The dragons (pure representation of fire) The dark spirits, such as       The one that Stannis' priestes summoned to kill his younger brother.   These are the proofs of God’s existence that even an atheist would accept.  But are there any other gods in the Seven Kingdoms that do show clear signs of their existence - if there is a God of Fire, maybe there also is a God of Water?


I was wondering if there was any way to mute my macbook whenever I physically close it, so if there was anything playing prior to closing it that it does not continue to make noise when I open it later.  Seems like a weird request, but I have a bad habit of forgetting to pause my music/youtube  when I leave for class, than when I open my laptop in class it disrupts the class.   The easy answer would be, "just pause your stuff", but I thought it would be nice if there was something that could accomplish this.


Cleanly swap all occurences of two strings using sed

Suppose I have a file that contains multiple occurrences of both StringA and StringB. I want to replace all occurrences of StringA with StringB, and (simultaneously) all occurrences of StringB with StringA.  Right now, I'm doing something like  cat file.txt | sed 's/StringB/StringC/g' | sed 's/StringA/StringB/g' | sed 's/StringC/StringA/g'   The problem with this approach is that it assumes StringC doesn't occur in the file. While this isn't an issue in practice, this solution still feels dirty -- that is, it feels like an opportunity to learn more unix magic. :)


For this sequence:  $a_1 = 2~~~a_2 =7$  and $a_{n+1} =  \frac{1}{2}\cdot(a_{n} + a_{n-1})$  The questions asks to find the exact formula for the $n$th term of the sequence and hence find the limit as $n \to \infty$   They also gave us this formulae: , I am not particularly sure how to use them though.  Anyways I tried listing out more terms and I found that  $a_3 = \frac{9}{2} ~~~ a_4 = \frac{23}{4}$  And I found out the difference between these terms is $5,\frac{5}{2},\frac{5}{4}$ thus we can write $a_{n+1}=a_{n} + \frac{5}{2^{n-1}}$  I am not sure how to continue though.


Avoid Windows 10 Anniversary edition automated restart on updates

Since the most recent big Windows anniversary update, the previous option to disable automated reboots on Windows Updates has stopped working. The system gives you the option to set "active hours", but only 12 hours may be set. I'm not against rebooting, but I want it fully on my terms, manually. Is there a way since the anniversary update to disable automated reboot?


Why does a ping pong ball change direction when I spin it on a table?

When I spin a ping pong ball on the table, it rolls forward in the opposite direction of the spin, and then eventually changes direction and rolls backward.   Here's a .  Why does that happen?


Is there a name for dialect/variant of English that is commonly used in titles? The one that intentionally omits auxiliary verbs, articles and other words for shortness:   Normal English: The new album is now available, and it contains exclusive booklet inside. “Title” English: New album available, exclusive booklet inside


What is the best way to save Iphone user data in a server?

I want to start an iPhone app for an E-learning recommendation system which does the following:   Let the user register or log in the app. After logging in the app ask the user questions.   My question:  What is the best way to manage users to be able to log/register and save/retrieve user questions and answers?


Hats stay small and in the same place when profile picture expands with message in chat

I have recently noticed that in chat when I type enough and the profile picture expands with my message, the hat stays the same size and it stays in the same place (I have the  app):


How can I calculate the final velocities of two spheres after an elastic collision?

I have two spheres in 3-dimensional space. The mass and initial velocity of each sphere is known. If the spheres collide elastically, how can I calculate their final velocities? The spheres do not necessarily collide head-on.


I used to use almost all the time the implicit type but since someone told me that using the keyword var was a bad practice I'm now trying to use the explicit one. For this I tend to use the shortcut Ctrl+. to change any implicit type to its explicit one. Nevertheless, today I had to deal with two lists in one single Foreach. For this I used .Zip() method. I tried changing its implicit type to the explicit one, but I can't. I also try to use the shortcut I mentioned but for some reason there wasn't the option. var test = enemyTeam.Zip(imageList, (c, i) => new { Champion = c, Image = i });  Test1 (implicit type to Int type):   Test2 (implicit type to explicit type): I can't.    I also tried this implicit type but didn't work: IEnumerable<new {  CurrentGameParticipant Champion, PictureBox Image }> test = enemyTeam.Zip(imageList, (c, i) => new { Champion = c, Image = i });


Non-zero electric field inside a conductor, when applying an large external field

I'm probably missing something, or does not understand conductors well enough. But I have a question related to the title of this message.  In many places you read that there can be no electric field inside a conductor. The arguments typically go something in line with, since there is an electric field, charges inside the conductor will rearrange themselves so cancel the field. Very simply stated.  That I don't understand, is that this seams to assume that there always is "enough" charge to redistribute. To clarify my confusion, let's say we have a conducting solid sphere with some charge. If we apply an "large" external static field to this sphere, charges inside it will tend to cancel it out. But, what if the total charge inside it is not enough? The total charge in the sphere can only generate a limited field, but the external one can be arbitrary large. What if the field outside is so large that the potential it generate, from one side of the sphere to the other, is larger than what the internal charge can generate?  As I said, I'm probably missing something essential, but can someone please point out the misstake in the above argument?


Prove $\sqrt n\leq \sqrt[n]{n!} \leq \frac{n+1}{2}$.   I thought I would use induction to prove this, only I don't know how to use the assumption in the inductive step.   Base: $n=1$ $\Rightarrow \sqrt 1\leq \sqrt[1]{1!}\leq \frac{2}{2}$. So for $n=1$ this inequality holds.   Assumption: $\sqrt k\leq \sqrt[k]{k!}\leq \frac{k+1}{2}$   Inductive step: $\sqrt{k+1}\leq \sqrt[k+1]{(k+1)!}\leq \frac{k+1+1}{2}$   Is it correct so far and how do I continue from here?


Is it possible to travel on a Schengen visa if it contains a typo?

I had applied for Schengen visa of my wife and received it today. But there is a typo in her name. Her middle name has been spelt wrongly. Vinay has been written as Vijay.    Can we travel with this typo in the visa or should I apply for correction? I need to travel next weekend and I am afraid that if I apply for correction then will I get the corrected visa in time or not ?


Could someone tell me how Sir Issacc Newton derived the equation for the Universal law of gravitation?

$$F=G\dfrac{m_1m_2}{r^2}$$  I wanted to know why is $r^2$ there? ($r^2$ means the square of the distance between the $2$ objects)


Updating 600 rows of opportunity gives error time limit exceeded

I have the following apex file to update about 600 opportunity records that have status1 as Active and status2 as Inactive.  status2 is a formula, status1 is a text field.   Running this via Execute Anonymous gives this error:      system.LimitException: Apex CPU time limit exceeded   public void updateStatus() {         List<Opportunity> records = [           SELECT Id FROM Opportunity WHERE status1__c = 'Active'           AND status2__c = 'Inactive'         ];          for (Opportunity record : records)         {            record.status1__c = 'Inactive';         }         update records;         }   I played with it, the query part runs ok and shows the 600 rows selected in the logs. I think the update part is giving the timeout error.  Not sure why. 600 rows shouldn't be too many. Or is it too many rows to update?


Does Visual Studio provide a way to show file paths on files with the same name?

I'm very adjusted to the JetBrains products which, when you have multiple files open with the same name, append the path name to those filesnames so you can tell them apart.  For instance, an index.html file from /Home and another from /View would be shown in the code editor as "/Home/index.html" and "/View/index.html".  In Visual Studio, when I have both index.html files open in the code editor, it just lists both of them as "index.html" and so I have no way to easily tell which of those files is from the /Home dir and which is from the /View dir.  Is there an extension that provides this functionality?    I am using Visual Studio Professional 2015.


What is a up-to-date good book that talks about general usage of Ubuntu or Linux in general (but that applies to Ubuntu as well) ? Things like:   what are the common commands (man, ls, etc.) basics of bash (including redirection, piping etc.) where files are generally installed (eg. what is difference between /usr/lib and /usr/local/lib; when we to make for a lib like libpng, where does it get installed)   I suppose I want to find some book that is a good starting point for understanding the Linux system/environment.


Why python list changed. I didn't code that


Need some clarifications for the equals operator (==)

I am confused about the statement below about the equal comparison operator ==     If the two operands are not of the same type, JavaScript converts the operands then applies strict comparison. If either operand is a number or a boolean, the operands are converted to numbers if possible; else if either operand is a string, the other operand is converted to a string if possible. If both operands are objects, then JavaScript compares internal references which are equal when operands refer to the same object in memory.    However both alert(true == "true") and alert(false == "false") returns false. Why is this so?     If either operand is a number or a boolean, the operands are converted to numbers if possible   In what case does JavaScript converts true and "true" to a number? The previous example doesn't convert them to numbers.  I have more doubts when looking at these examples:  ''        ==   '0'           // false 0         ==   ''            // true 0         ==   '0'           // true false     ==   'false'       // false false     ==   '0'           // true    '' is false and '0' is true, but why the output is false? 0 would be interpreted as false, and '' is also false. Then it becomes true. I can understand this. Why does a '0' interpreted as true when 0 is false? Why is false interpreted as false and '0' interpreted as true?   Could someone explain in more detail how the == operator works?


Does $\sum _{k=2} ^\infty \frac{(-1)^k}{\sqrt{k}+(-1)^k}$ converge conditionally?

Discuss the convergence of the sum:   $$\sum _{k=2} ^\infty \frac{(-1)^k}{\sqrt{k}+(-1)^k}.$$  My answer so far: It does not converge absolutely since   $$\left | \frac{(-1)^k}{\sqrt{k}+(-1)^k} \right | \geq \frac {1} {\sqrt{k} + 1},$$  the sum of whose terms diverges. Intuitively, I think it should converge conditionally because $ \sum \frac{(-1)^k}{\sqrt{k}}$ does, and the $(-1)^k$ in the denominator should not make a big difference. However, I am having trouble demonstrating its conditional convergence.  Evidently, the problem is that $\frac{1}{\sqrt{k}+(-1)^k}$ is not monotone. Let's call this sequence $a_n$. If we can show that   $$\sum_{k=2}^\infty |a_k - a_{k-1}| < \infty,$$   then we're done by Dirichlet's test. But this seems to be $O(1/k)$.   Any ideas?


$d(x_{n+2},x_{n+1})≤rd(x_{n+1},x_n)$ gives convergent sequence

Let $(X,d)$ be a complete metric space, $r\in (0,1)$ and $(x_n)$ be a sequence in $X$ such that $d(x_{n+2},x_{n+1})≤rd(x_{n+1},x_n)$ for every $n\in N$. How can we show that $(x_n)$ is a convergent sequence?


Non-answer answers to non-question questions

I keep seeing answers like this pop up in the Review queue:       There is another source for VoIP. You should have a look at    Seems like a clear case of Not an Answer, and it's been flagged as such. The problem is that the  sucks even more:     I am developing application which required SIP (VOIP) calling in iOS.Please suggest me about SIP server and how to implement it in iOS.   It's a terrible question, and the terribleness of the answer is a direct result of that. In context, it's hard to call this a non-answer; it does address the question, and is as close to an answer as this was ever going to get. Obviously the question needs to be closed, but what should be done with the answers it spawned? Is the Not an Answer flag valid or not?


Low-rank approximation and Eckart-Young-Mirsky theorem for complex matrices

For the classic problem of low-rank approximation:     \begin{equation} \begin{aligned} \min_{r(F) \leq k} \lVert X - F \rVert_F  \end{aligned} \end{equation}   for a given constant real matrix $X$ approximated by $ F $ of rank at most $ k $. I know the Eckart-Young-Mirsky theorem states the solution when $ X $ is real but what about when $ X $ is a matrix with complex entries? Is the solution using SVD still the same as the Eckart-Young-Mirsky theorem? I am referring here to the Frobenius matrix norm which is well-defined for complex matrices as well and always positive. I wonder if Eckart-Young-Mirsky carries over to complex numbers for the Frobenius norm. I thank all helpers for any references to solutions for the complex problem.


Schwarz Inequality Proof Using Dirac Notation

I am trying to prove Schwarz Inequality by following QM book by R. Shankar. I got almost to the end where I am having trouble. I have noticed that there are similar questions on this website, but no one provided the answer I am looking for. I would greatly appreciate it if you can help me with the missing steps. Also, do point out if I have made any mistakes. Attached is what I have. Sorry for not typing it in LaTeX, I did this in a hurry. Thank you for your time!


What does the speaker mean by "Accountancy 2"?

I am a little confused about the apparently simple but tricky  '2' in "Accountancy 2", when I had thought that it might be class 2, later my friend said it might also mean grade 2? And a third friend told me it should be course 2?  So could anyone help me with this? What is the best explanation or normal assumption to be applied in this context, in a British university?  The context is:  "I" am having a conversation with "she", my sister, who is a college student now and she's really smart. We are close.  Here is the sentence:     She looked at me, then removed the glasses. ‘You okay? You look like   shit.’      ‘So do you.’      ‘I know. I went on this stupid detox diet. It’s given me hives.’ She   reached a hand up to her chin.      ‘You don’t need to diet.’      ‘Yeah. Well . . . there’s this bloke I like in Accountancy 2. I   thought I might start making the effort. Huge hives all over your face   is always a good look, right?’      I sat down on the bed. It was my duvet cover.      Me Before You by Jojo Moyes


How is the default avatar for a new login created?

I have always noticed the default login avatar for Stack Overflow is set to some random graphics image. How is this avatar created?


The style of the title of a book @incollection shown in the bibliography

I use \usepackage{natbib} and \bibliographystyle{apalike} for producing the bibliography in my book. Here is a sample for the items @collection built in my lib.bib file:  @incollection{MABh,     Booktitle = {The Tibetan Tripitaka - Peking edition},     Date-Added = {2016-10-01 20:30:51 +0000},     Date-Modified = {2017-11-15 13:34:00 +0000},     Editor = {Suzuki, Daisetz T.},     Key = {MABh},     Pages = {for Peking 264b8-408b7 (p.108-166) And for Derge 220b1-348a7},     Publisher = {Tokyo : Suzuki Research Foundation, 1962},     Title = {Candrak{\=\i}rti's Dbu Ma La 'Jug Pa'i Bshad Ba Shes Bya Ba (Tibetan translation of Madhyamak{\=a}vat{\=a}rabh{\=a}{\d s}ya)},     url = "https://www.tbrc.org/#library_work_ViewByOutline-O1GS60111GS36115%7CW23703",     Volume = {for Peking (Q 5263) dbu ma, 'a (vol.98) and for Derge (D 3862) dbu ma, 'a},     Year = {1962}}   However, when this item is printed in the bibliography, it shows as follows:   AS you see, the real book name is not printed in every first letter capital style. Please tell me how can I get such book name just as what I write in the "title". Thanks.


I use Ubuntu 16.04 and I login to my remote machine as the user root, then running the following script that needs to add some scheduled tasks to Unix cron:   #!/bin/bash  su USERNAME  crontab -l 2>/dev/null  cat <<- 'EOF'         * * * * * cron-task1...        * * * * * cron-task1...         * * * * * cron-task2...        * * * * * cron-task2...         * * * * * cron-task3...        * * * * * cron-task3...  EOF  exit   For some reason this code doesn't work, i.e, after execution, the cron  tasks won't be printed to the cron from the heredoc, yet the task codes are fine as if I copy them manually like in crontab -e, they work just fine.  What might be wrong with the above code? Thank you,    Update for Chev_603:  If I execute:   su USERNAME  sudo cat <<- 'EOF' > cron.jobs * * * * * CRON TASKS... EOF   I get:     bash: cron.jobs: Permission denied   If I would use a file I would just change ownership, group and permissions as in sudo chmod +x /home/user/Location/Of/Script but given it's a heredoc, I guess it's not the case.


Can I use Data Explorer from my site, and if so: can I avoid the captcha?

Yesterday, I was playing with the . So, I thought why not develop some more interesting SQL queries and implement into your site. So, my questions are:  Am I allowed to execute queries to Data Explorer from my site?  The first time I used it, it asked for a CAPTCHA. Do, I have to take permission somewhere to prevent asking of captcha's?


First of all tell me whats this, this is input type val or div or what? then how can I create One of them?


What is particle spin in terms of waves?

If particles are waves, then what really is spin?


Why is $e^{x}$ not uniformly continuous on $\mathbb{R}$?

It seems intuitively very clear that $e^{x}$ is not uniformly continuous on $\mathbb{R}$. I'm looking to 'prove' it using $\epsilon$-$\delta$ analysis though. I reason as follows:  Suppose $\epsilon > 0$; in fact, fix it to be $\epsilon=1$.   For contradiction, suppose that $\exists \delta >0$ s.t. $$ (\star) \ |x-y|<\delta \Rightarrow |e^{x}-e^{y}|<\epsilon=1 \text{  for  } x,y \in \mathbb{R}.$$ Note that $e^{x+\delta}-e^{x}=e^{x}(e^{\delta}-1)$. So, for $x$ large enough (so that RHS $>1$), the relation $(\star)$ does not hold.  This is our contradiction, and so the exponential function is not uniformly continuous on $\mathbb{R}$.  Is this reasoning correct and sufficient?  Thanks.


Blender 2.8 - How to access material nodes?

In Blender 2.7 we could change material nodes in composting. They removed it in Blender 2.8, where can I find it??


What does /dev/null mean in a shell script?

I've started learning bash scripting by using this guide:   However I got stuck at the first script:  cd /var/log cat /dev/null > messages cat /dev/null > wtmp echo "Log files cleaned up."   What do lines 2 and 3 do in Ubuntu (I understand cat)? Is it only for other Linux distributions? After running this script as root, the output I get is Log files cleaned up. But /var/log still contains all the files.


Mapping single key (such as 'F1') to multiple keys (such as 'Ctrl+C') in Gnome

I know how to map a single key to a command using the gconf settings.  I also know how to map a single key to another key ('F1' -> 'CTRL') using Xmodmap.  My question is how can I map a single key such as 'F1' to a multi-key operation such at 'Ctrl+C'.  I am basically trying to set up a single key to simulate copy.  I can think of two ways to possibly do this:   Map single key to multiple keys so that when the single key is pressed it is essentially pressing 'Ctrl+C' Use gconf settings to execute the copy "command" upon the single key press.  I am not sure if there is a "command" to copy text.


Surjective morphism of affine varieties and dimension

I'm trying to do the following exercise from the book An Invitation to Algebraic Geometry:     Show that if $X \to Y$ is a surjective morphism of affine algebraic varieties, then the dimension of $X$ is at least as large as the dimension of $Y$.   Could anyone give me a hint? I'm looking for a proof that avoids commutative algebra since it is not mentionned in the book at this point.


I have taken  information from this  for my project report. I want to add the website link in the "bibliography" section. But I don't know how is to cite this.  Any help is appreciated. Thanks.


I choose option show the menus in the window's title bar. It works probably if I run an app in normal way, mean click on icon to open., but when I open it in terminal with root permission, the menu bar is no longer in title bar, it's in "a new part" (I think so) under the title bar. Gedit and more are the same.


What's an alternative to tail -f that has convenient scrolling?

I'm usually inside GNU Screen or tmux, and that doesn't give me great scrolling functionality. Is there an alternative to tail -f that allows me to quickly scroll up?  A tool that is like most is to less and more.   is related but far from specific. I'm really looking for something that lets me scroll.


Question How can I get the .courseslot boxes to line up collectively centered? Background I'm trying to create a landing page that displays my online courses for students to buy. Each online course is represented by a box which I will later make clickable.  I would like the boxes to be centered I also want them lined up next to each other responsive so that if I add one, the whole lot will move over so they are all still collectively centered.  I'm working with only two placeholder boxes at the moment until I get it working. Code HTML The  tag is for future use. I'll fill in the images later.

-Name- Only $10!

-Description-

-Name- Only $10!

-Description-

  CSS #Courses {     margin: 0 20px;     display: block;     margin: auto;      } .courseslot {     float: left;     padding: 0 10px 0 10px;     width: 25%; /* Trying to get it so that four fit on  a row. */ }  I realize some of the css might be a bit messy; I was trying to get it aligned, and I am also still fairly new to CSS in general. With the current set up, the boxes with a class of .courseslot line up next to each other, but they are aligned left, not center (the float: left probably has something to do with this, but I'm not sure how to fix it).


Besides the $3x + 1$ problem, for which similar problems are still unresolved regarding trayectory?

Generalize the $3x + 1$ problem as $cx \pm 1$, where $c$ is a positive odd integer and $x$ is a positive integer iterated through the function as far as possible to discover a cycle. If $x$ is even, then you halve it. But if $x$ is odd, you do either $cx + 1$ or $cx - 1$ as the case may be. (If you prefer, $c$ may be negative and you disallow $cx - 1$ for the odd branch; then $|-3x + 1|$ and $3x - 1$ are kind of the same).  With $3x - 1$ and $5x + 1$ it is somewhat well-known that many $x$ don't lead to 1, while with $3x + 1$ the question is unresolved despite intense scrutiny by many professionals and amateurs. For which other $cx \pm 1$ is the question of ultimate arrival at 1 still undetermined despite study by more than a few people? I would appreciate journal articles that look at several different $cx \pm 1$.


How do I change my update server in Ubuntu 18.04?

The first thing I did after installing 16.04 LTS was to change my update server to Main Server. I can not find a similar option in Ubuntu 18.04.  How do I change it?


If $f(x) =\left(\frac{2x^4y-5x^2y^2+y^5}{(x^2+y^2)^2}\right)$, how to choose $\delta$ so that $\sqrt{x^2+y^2}<\delta\implies |f(x,y)|<0.01\,$?

Let $f(x) = \left(\frac{2x^4y-5x^2y^2+y^5}{(x^2+y^2)^2}\right)$ when $x, y\neq0$ and $f(x) = 0, when\space x, y = 0$  find a $\delta > 0$, such that $|f(x,y)-f(0,0)| < 0.01$, whenever $\sqrt{(x^2+y^2)}<\delta$  I tried to solve it by using polar co-ordinates but the problem has higher order terms which is making it difficult to find any pattern or common terms to reduce it. I don't want complete solution please give me a direction and I will try to work from there. Thanks!


Python 3 matplotlib does not display plot

I am using Microsoft Windows Subsystem for Linux (WSL), Ubuntu 18.04 and Python 3.6.7.  When I execute this file from the command line, it does not display the plot.  What is wrong?  # hello.py import numpy as np import matplotlib.pyplot as plt t = np.linspace(0,np.pi,101) x = np.sin(t) fig,ax=plt.subplots(figsize=(9,3)) ax.plot(t,x) ax.grid() plt.tight_layout() plt.show()   This code when executed from an Ubuntu terminal should display this plot, but it doesn't display it in WSL.


Do I have to file a tax return for 2017 if my only income was a tax refund?

In 2016 I did a summer internship at a technology firm in California. Came from Europe on a J1 visa. Filed a 1040NR-EZ, and got a tax refund in 2017.  Now, as I understand, state tax refund is taxable income if I used "Itemized Deductions" which I believe I did. So, it seems that my US income for 2017 totals to less than 2k$.  I read that below a certain amount one generally is not obliged to file a return, as they would not owe any tax anyway.  My question is: is the above reasoning correct (especially considering my status as a non-resident alien), and I simply don't have to do anything?  Additional details: in 2016 on 1040NR-EZ I entered my state tax on the line 11 (Itemized Deductions), and so it decreased my taxable income on that form, I assumed that what it means to itemize. Then I got tax refunds for both state and federal taxes. I don't think I "deducted the amount being returned" on any US form, that would be weird as I were filing them before the actual refunds, right?


I'm trying out XFCE on Arch Linux, and for some reason the Lock Screen option in the session menu doesn't do anything.  Neither does running xflock4 at the command line (it exits 0 with no output).  xfce4-session is running.  Do I need to install a screensaver package or something?


python escape markquotes for bash script

I'm writing a small software that must pass to bash one string. the problem is that bash can't handle characters ", ', `. I've do a bruteforce software force gpg (if i use only digits and letters, this work without problems), but when my software generate a string that contains one (or more) of these character, i receive some bash errors. then i need to escape every markquotes inside the string. so for example, if the software, generate the string a"bc'1, i need to pass this string to bash a\"bc\'1. but i don't know how to do.  this is the code  subprocess.call('gpg -d --output '+decripted+' --passphrase "'+password+'" '+target+' 2>/dev/null', shell=True)   Can i use sed? I don't know how to incorporate sed. I've also thinked to save the generated password to a file, and then read the string from file like this  cat fileWithPassword | gpg -d --output OUTPUT_FILE -- passphrase-fd 0 TARGET_FILE   i've noticed that in this way (from bash) works, but i think that is not really efficient save and read a file. is there any way to escape every markquote withoud save it on a file?


UK Standard Visitor visa refusal: what went wrong?

My husband was to travel to attend my graduation ceremony in UK after many pleas from me. He is a productively busy businessman with a successful growing company and part time job. The visa application was refused on grounds that the officer does not think that he would return to Nigeria within the stipulated time. The officer said that he/she was not sure of my husband's part-time job because pay slips were not provided although a letter from the employing government organisation was provided.    Why wasn't this confirmed instead of suggesting he is lying or something negative?    The officer further said the transactions on my husband's/his company's statement of accounts presented didn't seem to be his or his business'. I thought these things are confirmed and a review of the statements would have shown both monthly payments from the part time job and inward/outward payment for his businesses.    Further, are confirmation of documents (statements, letters) no longer done?    The officer also said and insinuated that goods/equipment bought by my husband in America to be shipped to America was not sufficient. However, evidence of shipment of the various purchased goods/equipment (from America, shipped to America, to the address of the freight forwarders) to Nigeria by the freight forwarders like UPS, Impex were attached.    I am confused, I feel crushed and the graduation ceremony for me is worthless attending alone. It seems to me that some visa applicants are first suspected of running to greener pastures in UK.   What went wrong?     What really was the objective reason for the rejection?    Why is it that genuine visa applicants are rejected and reasons given suggest that the applicant is either dishonest or has ulterior motives?    Is there any need reapplying?    If yes, what could change?    Thirdly, what is the time interval for new application after rejection?    Also, wouldn't this rejection affect future visa applications to other countries when needed?  Thank you for the swift response. As regards your questions, the reasons for refusal said you state you work part time with XYZ and as evidence you have provided a letter from them which states that you have done freelance work for them from 2012; however you have provided no documentary payment slips as evidence of payments you receive from them.,  you state you have a business called ABC, you provided receipts of goods purchased online to be shipped to America; however this is not evidence of your net income, I am not satisfied you have demonstrated the level of income you have stated. you provided bank statement for ABC company and yourself with no provision of evidence of funds paid into these accounts so I am not satisfied that you own the funds.   It is based on these the officer said he/she is not satisfied he would return to Nigeria within the stipulated time.  The part-time government body had said they issue pay slips to permanent employees only. For people in their category, the form they filled upon engagement with the organisation and the letter is all they have. The statement of accounts were for a six month period and the transactions there actually took place as stated in the accounts. The payment on the part time job also shows in the statement monthly. Reading the statements you will see payment for goods online. The receipts for the purchases and invoices/airway bills from the freight forwarders were also attached to show that the goods were delivered to Nigeria. Duty payment receipts were also included. He was also the successful bidder for a contract from one of the international NGO's and the email from the NGO to him on that was included amongst other documents. This job alone needs his time so he is in no way idle.  Lastly, the application was done in Abuja but treated in UK.  Added: Also, he is a first time applicant to UK. I do not know if this plays a major role in making decisions.


I startet netbeans/intelliJ/squirrelSQL after I didn't use it for a few days/weeks and now the menu doesn't show text. There are just the underlineds. My system:   ArchLinux (everything up to date, everything installed via pacman) Gnome 3.12.2 OpenJDK Runtime Environment (IcedTea 2.5.0) (Arch Linux build 7.u60_2.5.0-2-x86_64) OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode) Java: /usr/lib/jvm/java-7-openjdk/jre/bin/java   Any idea?  Screenshot:


Prove that for every positive integer, this polynomial is divisible by 8

prove that: $$8\mid (n-1)n(n+1)(n+2)$$  I tried to simplify this expression but had no luck.


I've been looking at this tutorial for help on switching over to PDO:   However, there is just one thing I cannot find.  Say I have a text input form with the name "user"  So, would the PHP code for PDO look like the following:  $name = $_POST['name']; $stmt = $db->prepare("INSERT INTO table(name) VALUES(?)"); $stmt->execute(array($name)); $rows = $stmt->fetchAll(PDO::FETCH_ASSOC);   Essentially what I'm asking is that if this is safe.  I know PDO is different than mysql_* in the sense that you don't use mysql_real_escape_string anymore but is this all I need to do to ensure no malicious data will be put into the database?


Proof of the associated Lie algebra is isomorphic to $T_e(G)$

I´m looking for a book with the proof of the result that says the associated Lie algebra of a Lie group $G$, let be $G_{Lie}$, is isomorphic to the tangent space $T_e(G)$, where $e \in G$ is the neutral element.  Let me said the chapter or theorem, not only the book, please.  Thank you all


Why is Robert called Bob and John called Jack sometimes? What is the history of or reason for this practice in changing the English names of people?


Is there a compact subset of the irrationals with positive Lebesgue measure?

Does there exist $K \subseteq \mathbb{R} \backslash \mathbb{Q}$ such that $K$ is compact, and has Lebesgue measure greater than $0$? As I have been trying to think of examples, I suspect that any subset of $\mathbb{R} \backslash \mathbb{Q}$ that is closed can be at most countable, since the closure of an uncountable subset of irrationals should contain some rationals. And, the Lebesgue measure of a countable set is $0$. If there are any examples of such a set, I would be very interested to know how it is constructed.


What is the correct way to fix keyframes in FFmpeg for DASH?

When conditioning a stream for DASH playback, random access points must be at the exact same source stream time in all streams. The usual way to do this is to force a fixed frame rate and fixed GOP length (i.e. a keyframe every N frames).  In FFmpeg, fixed frame rate is easy (-r NUMBER).  But for fixed keyframe locations (GOP length), there are three methods...which one is "correct"? The FFmpeg documentation is frustratingly vague on this.  Method 1: messing with libx264's arguments  -c:v libx264 -x264opts keyint=GOPSIZE:min-keyint=GOPSIZE:scenecut=-1   There seems to be some debate if scenecut should be turned off or not, as it is unclear if the keyframe "counter" is restarted when a scene cut happens.  Method 2: setting a fixed GOP size:  -g GOP_LEN_IN_FRAMES   This is unfortunately only documented in passing in the FFMPEG documentation, and thus the effect of this argument is very unclear.  Method 3: insert a keyframe every N seconds (Maybe?):  -force_key_frames expr:gte(t,n_forced*GOP_LEN_IN_SECONDS)   This is explicitly documented. But it is still not immediately clear if the "time counter" restarts after every key frame. For instance, in an expected 5-second GOP, if there is a scenecut keyframe injected 3 seconds in by libx264, would the next keyframe be 5 seconds later or 2 seconds later?  In fact, the FFmpeg documentation differentiates between this and the -g option, but it doesn't really say how these two options above are the least bit different (obviously, -g is going to require a fixed frame rate).  Which is right?  It would seem that the -force_key_frames would be superior, as it would not require a fixed frame rate. However, this requires that   it conforms to GOP specifications in H.264 (if any) it GUARANTEES that there would be a keyframe in fixed cadence, irrespective of libx264 scenecut keyframes.   It would also seem that -g could not work without forcing a fixed frame rate (-r), as there is no guarantee that multiple runs of ffmpeg with different codec arguments would provide the same instantaneous frame rate in each resolution. Fixed frame rates may reduce compression performance (IMPORTANT in a DASH scenario!).  Finally, the keyint method just seems like a hack. I hope against hope that this isn't the correct answer.  References:


View date of my votes on questions and answers

Oftentimes, I search for a solution to a question and land on a link where I have already voted on a question and/or answer. I would find it helpful to see when I put a vote in so that I can tell when I potentially used a particular solution in my project(s).  I am aware of the votes tab where I can look for when I voted on a question/answer but there is no easy way of finding a specific question/answer, especially if there are a lot of votes I have given.   Alternatively, it would be nice to have a date of first and/or last visit on a question.


What would happen to me if I was in the LHC while it was running?

This is possibly a stupid question, but one I have been always wondering. What would happen to me if I was in the center of the Large hadron Collider while it was running? Would the energy of the beam cause any short-term or long-term damage?


Show the series $a_n/(1+a_n)$ converges absolutely

Given that the series $(a_n)$ converges absolutely. Show that the series $(\frac{a_n}{1 + a_n})$ converges absolutely.    I am not really sure where to start. Any help would be great.


Bounded sequence which is not convergent, but differences of consecutive terms converge to zero

I have a question that says "Show that there is a bounded sequence $x_n$ which is not convergent but has the property that $x_n - x_{n+1} \to 0$ as $n \to 0$.  What does this mean? Do I need to come up with an example or does the problem actually want me to prove such proposition?  By the way, I see that this sequence looks like Cauchy because of $x_n - x_{n+1} \to 0$ as $n \to 0$, but it is obviously not.


When I flag a question with:     -> it should be closed for another reason.   -> Off topic   -> Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.   And then go back, and click on the flag link again, I see this:    Don't know if it's a bug or something, but I never flagged the post as a duplicate. Does anyone have the view, and if so, does anyone know why the duplicate flag is inactive saying it already has been raised?


from finite to $\sigma$-finite measure space

This might be rather elementary. I have put it  for a while without getting any answers.   Here is the question: In the proof of the following theorem, would anyone explain how the general case (when $(\Omega,\Sigma,\mu)$ "$\sigma$-finite") can be deduced from the proved "finite" case?


I'm studying graph theory and got stuck in one of the problems. It's about graph  connectivity with specific degree sequence condition. Please help me!   My Try: Vertex of degree $d_n$ and $d_n$ other vertices which is connected to it by $d_n$ edges form a connected graph of $d_n+1$ vertices. Then a vertice $d_{n-d_n-_1}$ should be also in a component that contains vertice of $d_n$ degree.(Since there are at most $n-d_n-1$ vertices.) I don't know how to progress from here...     Q: Suppose $G$ is simple with degree sequence $d_1\le d_2\le \cdots d_n$, and for $k\le n-d_n-1, d_k\ge k$. Show $G$ is connected.


Get src type of img or video tag (not extension)?

Say I have an image tag such as this:  <img src="smiley.gif" alt="Smiley face" height="42" width="42">   I know I can get the src by using myImageEl.src.  However, how do I get the type of the src (.gif in this case)?  Basically, my end goal is to pass the file type to window.URL.createObjectUrl()  let src = imageEl.src; let srcType = src.type; // Here I need to get the type let videoFile = new Blob([src], {type: srcType}); let videoSrc = window.URL.createObjectURL(videoFile);


What constitutes a late check-in for a hotel and should I inform them about my late arrival?

For a particular hotel I booked Expedia's Check-in policies section states the following:  Check-in time starts at 4 PM If a late check-in is planned, contact this property directly for their late check-in policy.  My question is...  what constitutes a late check-in? My flight is scheduled to arrive at the airport at 8:34pm.


I'm new in this website so if my question is inappropriate, obviously tell me.. Sorry in advance :D  I'm writing a sentece and in this sentence there are two words that are near. These two words are: self-esteem and group-esteem.   Is it correct in English to put this words like this: self and group-esteem ?  (the complete sentence is: The process of comparison is automatic when there is a categorial distinction whose aim is the increase of self and group-esteem)  Thank you! :)


How can I find the location of a given item by looking at the world data?

Is there a way to search through world data to find instances of a given type of item (e.g., gold horse armor) and/or to find an item with a particular name?   My goal is to find the item's location within the in-game world, ideally with an X/Y/Z coordinate. My specific application is locating stolen items, but I can imagine other uses for such a search, for example, locating mob spawners.  Hopefully there's already a utility or technique available to help with this. But if not, some documentation on the structure of world data might do the trick, as I'm a programmer and could probably write the search myself.


What's the English equivalent of "Drilling one's head"?

In Arabic (Specifically, north-western Levantine), there's a saying that goes like     He drilled my head about/with that lunch meeting (بخشلي راسي باجتماع الغدا)   Which means something along the lines of     He kept insisting on/talking about/remind me of/bringing up that lunch meeting   It can be used in situations where your girlfriend wants you to take her out somewhere and she keeps reminding you about it everyday, when your kid keeps asking for a new bike everyday, or when your boss keeps bringing up that report you have due next Monday.  The saying doesn't carry the connotation of negligence reluctance on behalf of the person on the receiving end. The person might or might not be working on fulfilling his promise or adhering to the other party's wishes.  Many times I find myself in such situations and I really need something to use. I often use the direct translation as written in the first example.   Is there an equivalent for that in English?  The closest thing I was able to think of was "nagging", but it doesn't convey how strongly I feel about the situation.


Blender 2.78 file size grows and does never shrink

I made a huge project, wanted to reduce file size from 1.3GB to below 1GB. Compressing did not help. I removed objects from scene. Also textures. I then realized, the file size even was the same when I delete ALL objects. Why?  Download of sample:   Before deleting all: 1.2GB, after: 1.1GB.


Prove that a set in $\mathbb R^3$ is not an algebraic set

I want to prove that the set $\{(\cos(t),\sin(t),t)\in A^3(\mathbb R); t\in \mathbb R \}$ is not an algebraic set.   I already proved that the set $\{(\sin(t),t)\in A^2(\mathbb R);t\in \mathbb R \}$ is not algebraic but the method that I used doesn't seems to be general.


How to access the name only from visual force component

I have Visual Force Component:  <apex:component controller="myController1" access="global">
  <apex:outputLink id="urlString" value="{!url}/{!$User.Id}</apex:outputLink>
  <apex:outputLabel value="{!userName}" id="someId" />  <apex:outputLabel value="{!userPhone}" id="someId2" />  </apex:component>   How to access the username only from visual force component to Visual force template in email alert using Work flow Rule in salesforce ,please Anyone Guide me for the Answer  I have tried in Vf template:
User <c:ant id = "someId" value = "{!userName}"/>
   but it is showing error like: Error: Unsupported attribute value in   How to Rectify the Error Please anyone Guide me for the Answer


I want my bibliography in Dutch. I use natbib IEEE. How can I ajust this so everything is in Dutch?


I'm having trouble importing DXF / DWG into Altium.    I followed the procedure outlined in the   File-->Import (selected my dxf) and nothing shows up on my mechanical layer. I've tried multiple DXF files that I have used in the past.   I'm using Altium Version 13.3.4 (Build 28908)   Any tips or workarounds ?


Find out what the (shell) script was invoked with

Suppose my script.sh could take a number of options and arguments. What is the best way to find out what the script was invoked with (form inside the script)?  For eg., someone called it with script.sh --foo_option bar_arg  Is there a way to echo that exact command they typed from inside the script?  I've tried echo !! which does not work inside a script.


Ubuntu partition is showing in windows but not readable

I am new to ubuntu. During installation of Ubuntu 15.04 vivid vervet , I created partitions for ubuntu filesystem as Ext2 using windows partitioning tool.I created partitions for Boot loader information and ubuntu file system. After ubuntu installation, ubuntu partitions are showing in windows as local disks ,but not readable. When I tried to open it, a message that the partition is corrupted was shown and asked to format the disk. I dont want access for ubuntu file from windows.   What is the cause of this ? How can I hide this ubuntu partition in windows ?


Ubuntu won't execute script on shutdown/restart

I've been looking through various pages on this site and others looking for a way to execute a script on shutdown and restart, but none of them are working for me.   I've tried placing bash scripts in /etc/init.d/ and linking them to /etc/rc0.d/ and /etc/rc6.d/, but they won't run on shutdown or restart. I've also tried using the update-rc.d command to create new services, but    they don't work, and  they don't even create a new link in the rc?.d folders.


How to calculate the angle of a vector $x\hat i + y\hat j$ if $x = 0$

I understand that to determine the direction for a vector you use the equation $$\theta = \arctan{\bigg(\frac{y}{x}\bigg)}$$ and I understand that x correlates with  $\hat{i}$, but what if $x=0$? As in the case of $$\vec b = 0\hat{i}+ 3\hat{j}.$$   How would one determine the direction of $\vec b$?


Running batch command on an executable using python

I'm using this code to start the batch file but  import os os.startfile("C:\Documents and Settings\Zha\Desktop\Strings\strings.exe ")   the strings.exe running a batch command when you open it from cmd, like this:  strings -q "C:\Documents and Settings\Zha\Desktop\folder\*"   and I need to run it from python. Possible way to solve this?


Auto-login not working after upgrade from 17.04 to 17.10

As per the title. I had auto-login setup (and working) prior to upgrading. My user settings show auto-login set to "On", but I'm being prompted to login every time I reboot. Graphics is ATI Radeon HD 4200. Any ideas??


Questions with ignored tags are not hidden in the iOS app

It appears that the iOS app still displays tags that are set to be ignored via the web interface.


How can I change a drive's partition table from MBR to gpt without losing an NTFS partition at the end of the drive?

Long story short, I have an external USB hard drive formatted using a MBR partition table, and I want to install Ubuntu in UEFI mode in a ~23.40 GB unallocated space before a ~442.33 GB NTFS partition that I need to keep:    To install Ubuntu in UEFI mode I need the partition table of the drive to be formatted as gpt.  I don't think there's an easy / direct way to convert a MBR partition table to a gpt partition table, so I'm also looking for the complicated / indirect way.  For example I think something can be done by noting down the NTFS partition start, writing the new partition table and adding the NTFS partition to the new partition table, but I've never done this and I have no idea where to start; furthermore I don't wish to try this for the first time in this case, since I'm not really confident with this stuff and I can't afford losing the NTFS partition I need to keep.


How far does a rogue move when dashing twice using Cunning Action?

A rogue receives a bonus Cunning Action, and one option is to Dash. My understanding is a Dash allows a player to move up to twice his speed for his turn.  If a rogue is using a regular action to Dash (hence, is already dashing) can he also use his cunning action as a bonus to Dash again — effectively moving 4 times normal speed in a turn?


Wireless Drivers for Broadcom BCM 4321 (14e4:4329) will not stay connected to a wireless network

So, I'm not necessary new to Linux, I just never took the time to learn it, so please, bare with me.  I just swapped out one of my wireless cards from one computer to another. This wireless card in question would be a "Broadcom BCM4321 (14e4:4329)" or actually a "Netgear WN311B Rangemax Next 270 Mbps Wireless PCI Adapter", but that's not important. I've tried (but probably screwed up in the process) installing the "wl" , "b43" and "brcmsmac" drivers, or at least I think I did. Currently I have only the following drivers loaded:  eugene@EugeneS-PCu:~$ lsmod | grep "brcmsmac\|b43\|ssb\|bcma\|wl" b43                   387371  0  bcma                   52096  1 b43 mac80211              630653  1 b43 cfg80211              484040  2 b43,mac80211 ssb_hcd                12869  0  ssb                    62379  2 b43,ssb_hcd   The main issue is that with most of the drivers available that I've installed, they will find my wireless network but, they will only stay connected for about a minute with abnormally slow speed and then all of a sudden disconnect. Currently, the computer is hooked into another to share it's connect so that I can install drivers from the internet instead of loading them on to a flash drive and doing it offline.  If anyone has any insight to the problem, that would be awesome. If not, I'll probably just look up how to install the Windows closed source driver.  Edit 1: Even when I try the method , as suggested when this was marked as a duplicate, I still can't stay connected to a wireless network.  Edit 2: After discussing my issue with @Luis, he opened my question back up and told me to include the tests/procedures in the comments. Basically I did this:   Read the first answer of the link above when this question was marked as duplicate which involved installing removing bcmwl-kernel-source and instead install firmware-b43-installer and b43-fwcutter. No change of result and contacted Luis in the comments, who then told me to try the second answer which involved removing my previous mistake and installing bcmwl-kernel-source Now the Network Manger (this has happend before, but usally I fixed it by using a different driver) even recognizes WiFi exist (both non-literal and literal). Luis who then suggested sudo rfkill unblock all rfkill unblock all didn't return anything, so I decide to try sudo rfkill list all. Returns nothing (no wonder rfkill unblock all did nothing). I enter lsmod | grep "brcmsmac\|b43\|ssb\|bcma\|wl" and that returns nothing. Try loading the driver by entering sudo modprobe b43 and try lsmod | grep "brcmsmac\|b43\|ssb\|bcma\|wl" again. Returns this:  eugene@Eugenes-uPC:~$ sudo modprobe b43 eugene@Eugenes-uPC:~$ lsmod | grep "brcmsmac\|b43\|ssb\|bcma\|wl" b43                   387371  0  bcma                   52096  1 b43 mac80211              630653  1 b43 cfg80211              484040  2 b43,mac80211 ssb_hcd                12869  0  ssb                    62379  2 b43,ssb_hcd   So to recap: Currently Network Manager doesn't recognize Wireless exists, b43 drivers are loaded and I've currently hardwired a connect from my laptop to the computer that's causing this.  Edit 3: So I just decided to try again to install bcmwl-kernel-source. It was able to find my network and it tried to connect. However, in never really succeeded and kept asking me for the network pass phrase. I give it the correct one every time but it keeps asking about three times and then stops trying. At this point I'm starting to research how to use ndiswrapper but haven't had any luck with that either.  Edit 4: After crying in a corner for about a month, I've decided to do a fresh install of Ubuntu and install the Broadcom STA drivers (wl.ko) right off their website. It does indeed find networks and seems to know how to connect to them, however, It will connect to them for a few minutes with very slow connection speed and then just drop. That was with the Wicd Network Manager too, with just plain old network-manager, it will keep asking for my password to connect to the network never actually connecting to the network.


Prove that $\sum_{n\leq k}\frac{\mu(n)}{n}$ is bounded.

Let $k \geq1$. How can i show that $$\sum_{n \leq k} \frac{\mu(n)}{n} = O(1).$$where $\mu(n)$ is the mobius function. I already tried the Euler Summation Formula but i can't show it. Is there any simple way to show this or does anyone have a link regarding this statement. Thank you very much!!!


''A'' couple of people who ''do/does'' the same

Let's say you are storytelling, and you say:     "I currently take three or four ''mini-retirements'' per year and know a couple of people who do/does the same.''   This is a subject-verb agreement issue, which is confusing me right now, because I don't know which is to follow correctly if it is:        ''a couple'' then I will follow it with does         "people" then I will follow it with do         Which is which?


Upgrading VIM 7.3 to latest release via apt-get

I'm currently using Ubuntu 12.04 and have Vim 7.3 installed and I want to update it to the latest version. I'm still new to how all these package manager stuff works, but I was wondering why can't I just do the following: "sudo apt-get update vim" ? I mean it was installed on the system initially, so why wouldn't one be able to just type a one liner to update vim?   Also I tried to do a search via: sudo apt-get search vim to see which one is installed and it doesnt seem to find it. How can someone find out what is the installed app so we can update it?  Right now I just want to update this to the latest vim with least amount of commands required.


Allow canceling stars from message or Starred Tab in room info

Firstly,  I have already looked into  feature request. But its still not implemented.  Problem:  We, as a room owner, are responsible to cancel a few stars which are not quite meaningful. See the below screenshot. There are some messages which were not worth starring. (I have highlighted those stars with a red mark.)    Now I am not able to cancel the stars as these stars don't come up in the right side starred section of room due to new messages got starred.   Feature request:  Either  Room owner and moderator should be able to cancel stars from message itself  Or  Room owner and moderator should be able to cancel stars from starred section in room info.  I think second option is good to be considered.  Edit: I am nominating the question to be reopened, as the old question does not contain any answer. And the feature is must.


How to stop thrown eggs from spawning chickens?

I'm using retextured snowballs and eggs for the different paintballs for two teams in a paintball map, so I can't replace the eggs with snowballs.  I have tried using /gamerule doMobSpawning false, but that still allows the chickens to spawn. I have also tried using /tp @e[type=Chicken] 0 0 0 on a repeating command block to quietly remove the chicken, but there's still a very noticeable frame where the chicken is visible. /effect @e[type=Chicken] minecraft:invisibility 10 1 false isn't fast enough, either.  I'm not using any plugins or mods.  tl;dr Without snowballs, how can I stop chickens from appearing for even a single frame.


In macOS, one can easily get a screen capture by using key combination Command + Shift + 4.  But, are there any keyboard shortcuts that can scroll a webpage or any other pages and get the screen capture?  I am looking for a keyboard shortcut and not an app or browser extension that needs to be downloaded from the Internet or Mac App Store.


I have reset my samsung galaxy note 3 to the factory! Currently, the android is 5.0 and I am not able to locate developer options to enable the USB debugging information. Any idea?  Model Number: SM-N900  Android Version: 5.0  Build Number: LRX21V.N900XXUEBOL2


I have just read two facts related to simple rings.  (1) A commutative ring $R$ with identity is simple if and only if $R$ is a field.  (2) Let $R$ be a ring with identity.Then each ideal of the ring $M_{n} (R)$ of all $n \times n$ matrices over $R$ is of the form $M_{n} (T)$, where $T$ is some ideal of $R$.  As a corollary of (2) it can be easily proved that if $R$ is field then $M_{n} (R)$ becomes simple.Which shows that if a ring $R$ with identity is simple then $R$ may not be a division ring.  Now my question is :   Are all the division rings simple? What are the examples of simple and non-simple division rings?Please help me.  Thank you in advance.


I've heard a lot about the Undying Lands but I don't fully understand how they're different from Middle-earth and why only certain people/races are allowed to go there.  Can someone explain?


I have been trying to insert a file as the first line of another with following SED command, without much success. Each time the file is inserted after line 1. Is there a switch that will inserted before line 1?  sed -i '1r file1.txt' file2.txt   Thanks in advance.


Ethernet not working in Ubuntu 16.04 (works in Windows) with RTL8111/8168/8411

My wired connection does not work in Ubuntu. I don't have a WiFi card so I need to fix this. I have run some commands to provide some more information(editing this post with results in a few minutes).   I have tried reading through similar questions and answers and nothing I have tried works.   Results:  $ ifconfig -a enp3s0    Link encap:Ethernet  HWaddr 94:de:80:78:2f:de             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:10562 errors:0 dropped:2 overruns:0 frame:0           TX packets:15 errors:0 dropped:730 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:644547 (644.5 KB)  TX bytes:2382 (2.3 KB)  lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:8708 errors:0 dropped:0 overruns:0 frame:0           TX packets:8708 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1            RX bytes:654867 (654.8 KB)  TX bytes:654867 (654.8 KB)  $ lspci -nn | grep Ethernet     03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)  $ cat /etc/network/interfaces     # interfaces(5) file used by ifup(8) and ifdown(8)     auto lo     iface lo inet loopback


Let $f:\mathbb{R}\rightarrow\mathbb{R}$ be multiplicative. Is it exponential?

For function $f:\mathbb{R}\rightarrow\mathbb{R}$ that satisfies $f\left(x+y\right)=f\left(x\right)f\left(y\right)$ and is not the zero-function I can prove that $f\left(1\right)>0$ and $f\left(x\right)=f\left(1\right)^{x}$ for each $x\in\mathbb{Q}$. Is there a way to prove that for $x\in\mathbb{R}$?  This question has been marked to be a duplicate of the question whether $f(xy)=f(x)f(y)$ leads to $f(x)=x^p$ for some $p$. I disagree on that. Both questions are answered by means of construction of a function $g$ that suffices $g(x+y)=g(x)+g(y)$. In this question: $g(x)=\log f(x)$ and in the other $g(x)=\log f(e^x)$. So the answers are alike, but both questions definitely have another startpoint.


Set new forward directions based on camera position

I have a 3rd person camera which can rotate around the player.  When I look at the back of the player and press forward, player goes forward. Then I rotate 360 around the player and "forward direction" is tilted for 90 degrees. So every 360 turn there is 90 degrees of direction change.  For example when camera is facing the right side of the player, when I press button to move forward, I want player to turn to the left and make that the "new forward".  I have Player object with Camera as child object. Camera object has Camera script. Inside Camera script there are Player and Camera classes. Player object itself, has Input Controller.  Also I'm making this script for joystick/ controller primarily.  My camera script so far:  using UnityEngine; using System.Collections;  public class CameraScript : MonoBehaviour {     public GameObject Target;     public float RotateSpeed = 10,     FollowDistance = 20,     FollowHeight = 10;     float RotateSpeedPerTime,     DesiredRotationAngle,     DesiredHeight,     CurrentRotationAngle,     CurrentHeight,     Yaw,     Pitch;     Quaternion CurrentRotation;      void LateUpdate()     {         RotateSpeedPerTime = RotateSpeed * Time.deltaTime;          DesiredRotationAngle = Target.transform.eulerAngles.y;         DesiredHeight = Target.transform.position.y + FollowHeight;         CurrentRotationAngle = transform.eulerAngles.y;         CurrentHeight = transform.position.y;          CurrentRotationAngle = Mathf.LerpAngle(CurrentRotationAngle, DesiredRotationAngle, 0);         CurrentHeight = Mathf.Lerp(CurrentHeight, DesiredHeight, 0);          CurrentRotation = Quaternion.Euler(0, CurrentRotationAngle, 0);         transform.position = Target.transform.position;         transform.position -= CurrentRotation * Vector3.forward * FollowDistance;         transform.position = new Vector3(transform.position.x, CurrentHeight, transform.position.z);          Yaw = Input.GetAxis("Right Horizontal") * RotateSpeedPerTime;         Pitch = Input.GetAxis("Right Vertical") * RotateSpeedPerTime;         transform.Translate(new Vector3(Yaw, -Pitch, 0));         transform.position = new Vector3(transform.position.x, transform.position.y, transform.position.z);          transform.LookAt(Target.transform);     } }   My player script:  using UnityEngine; using System.Collections;  public class PlayerScript : MonoBehaviour {     public float RotateSpeed = 10,     MoveSpeed = 10;     float DeltaTime;     public Transform cameraTransform;      void Update()     {         DeltaTime = Time.deltaTime;         transform.Rotate(0, Input.GetAxis("Right Horizontal") * RotateSpeed * DeltaTime, 0);     } }


Let $p>3$ is prime number. Prove that number $4p^2+1$ can show as sum of squares of three different numbers.  Only what I know that every prime number $p>3$ can show as $p=6k+1$ or $p=6k-1$, such that $k \in \mathbb Z$.  If I put $p=6k+1$, then $4(6k+1)^2+1=(12k)^2+(24k+3)^2-(24k+2)^2$, here I did not show what they want in task.  For $p=6k-1$ things do not change, do you have some idea?


when can i apply for visiting to UK after deportation

i was deported from uk in march 2015 on the basis of overstayer which occur after my ex wife age is not up to 21yrs by the time of marriage due to changing of marriageable age from 18-21yrs which my solicitor didn't informed us by then until my application was refused though they gave us a right of appeal but my solicitor kept it from us for a year until we decided to withdraw our file from him. we send for reconciliation which nothing happened for 4yrs till 2014 when i was served with a letter of liable to deportation/ detention without any criminal record atall. I have a daughter for a person settled in uk but not british yet and the child did not have a passport yet which i mentioned during the proceeding and obtain a court order under a family law that i'm the father of the child though she was in a relationship with an european citizen by the time of birth of the child which they are officially divorced now and i have a sister that has a british pp and children which i stayed with when i'm in uk which followed me to the proceeding during my hearing in court under appeal. pls when can i apply to see my daughter and is it best to apply to see my daughter or my family. please advice me on what to do and when can i apply to see my daughter not to stay but to see her maybe just for a week.


I can't from find this answer I tried whole day please help


Blender open a large file not at a time, but gradually with command line

The business purpose is that I allow registered user upload different 3D model files. When other users review the file, he or she does not need to download the whole file (size about several Gbs), he or she could make preview the 3D model files with the biginning a couple of 3D frames. In this way, he or she could know about the 3D file roughtly, then decide to download or not.  Since the 3d format file is around several Gbs, I could not load the file at once. But I only know the following way of loading a file:  import bpy  bpy.ops.wm.open_mainfile(filepath="E:/sjj/Blender/demoFile/Demo_274/Ring_27.blend"   The expert in  suggests me following:     You could try appending items from the large file into a new file.   But, I do not know how to appending items from the large file into a new file. I checked  in this forum, it needs graphical UI. With my business purpose, it allow me only uses command line script.   Could some expert show me the code examples?


The question basically explains itself. I want to take an audio file (I can use any format really) and have Java output sound from it when called on.


I have Fragment with RecyclerView adapter. Also i have month array and icluded posts array object.  I try to add posts table rows dinamically. I dont know how it should made.  public class NewsAdapter extends RecyclerView.Adapter<NewsAdapter.NewsCardViewHolder> {  private List<NewsMonth> months; private List<NewsPost> posts; private AdapterView.OnItemClickListener onItemClickListener; private String TAG = "NewsAdapter"; private Context _context; TableLayout tableLayout;  public NewsAdapter(List<NewsMonth> months, Context context) {     this.months = months;     this._context = context; }  class NewsCardViewHolder extends RecyclerView.ViewHolder {     CardView cv;     TextView monthName;     TextView postLabel;     TextView postType;     TableLayout tableLayout;      NewsCardViewHolder(View itemView) {         super(itemView);         cv = itemView.findViewById(R.id.cv);         monthName = itemView.findViewById(R.id.month_name);         postLabel = itemView.findViewById(R.id.news_label);         postType = itemView.findViewById(R.id.news_category);         tableLayout = itemView.findViewById(R.id.tableNews);     } }  @NonNull @Override public NewsCardViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {     View v = LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.news_item, viewGroup, false);     return new NewsCardViewHolder(v); }  @Override public void onBindViewHolder(@NonNull NewsCardViewHolder ViewHolder, final int position) {     ViewHolder.monthName.setText(months.get(position).getMonthName());     posts = months.get(position).getPosts();     for (int j = 0; j < posts.size(); j++) {         //ViewHolder.itemView.addView(months.get(position).getPosts().get(j).getTitle());         TextView postLabel = new TextView(_context.getApplicationContext());         postLabel.setGravity(Gravity.START);         postLabel.setText(months.get(position).getPosts().get(j).getTitle());         postLabel.setLayoutParams(new TableRow.LayoutParams                 (LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT));         postLabel.setTextSize(10);         postLabel.setTextColor(Color.parseColor("#FF9900"));         TableRow row = new TableRow(_context.getApplicationContext());         row.addView(postLabel);         tableLayout.addView(row);     } }   On activity start i get: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference on this line: TextView postLabel = new TextView...  EDIT:  public class NewsFragment extends Fragment{  private List<NewsMonth> monthArray; private List<NewsPost> postArray; private TableLayout tableLayout;  public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,                          Bundle savedInstanceState) {     return inflater.inflate(R.layout.news_fragment, container, false); }  @Override public void onViewCreated(@NonNull View view,                           Bundle savedInstanceState) {     super.onViewCreated(view, savedInstanceState);     ViewPager viewPager = view.findViewById(R.id.view_pager);     tableLayout = view.findViewById(R.id.tableNews);     ImageSliderAdapter sliderAdapter = new ImageSliderAdapter(getContext());     viewPager.setAdapter(sliderAdapter);     initializeData();     RecyclerView recyclerView = view.findViewById(R.id.newsList);     recyclerView.setNestedScrollingEnabled(false);     recyclerView.setHasFixedSize(false);     recyclerView.setLayoutManager(new LinearLayoutManager(this.getActivity())); //getActivity(), LinearLayoutManager.VERTICAL, false     NewsAdapter adapter = new NewsAdapter(monthArray, getContext());     recyclerView.setAdapter(adapter);     recyclerView.setItemAnimator(new DefaultItemAnimator()); }


Prove that $\frac{\partial x}{\partial y} \frac{\partial y}{\partial z} \frac{\partial z}{\partial x} = -1$ and verify ideal gas law

Ok guys, continuing my passage through edwards... here is the question... thanks for hints/solutions in advance:  Suppose $f(x,y,z)=0$ can be solved for each of the three variables $x,y,z$ as a differentiable function of the other two. Then prove that  $\displaystyle \frac{\partial x}{\partial y} \frac{\partial y}{\partial z} \frac{\partial z}{\partial x} = -1$  Verify this is the case for the ideal gas equation $pv =RT$ where (where $p,v,T$ are the three variables and $R$ is the constant).


List has more than 1 row for assignment to SObject while autoforwarding objects using S2S

I am trying to implement S2S (Salesforce to salesforce) And I have written a code on Custom object called "ABC" to allow auto forwarding of records. After making the trigger active, I cannot manually create any records. Please help.  trigger SendABCToConnection on ABC__c(after insert,after update) {         PartnerNetworkConnection conn = [select Id, ConnectionStatus, ConnectionName from PartnerNetworkConnection  where ConnectionStatus = 'Accepted' and ConnectionName = 'XYZ'];         List<PartnerNetworkRecordConnection> recordConnectionToInsert  = new List<PartnerNetworkRecordConnection>  ();         for (ABC__c acc : Trigger.new){             PartnerNetworkRecordConnection newrecord = new PartnerNetworkRecordConnection();          newrecord.ConnectionId = conn.Id;         newrecord.LocalRecordId = acc.id;           newrecord.SendClosedTasks = false;         newrecord.SendOpenTasks = false;         newrecord.SendEmails = false;         recordConnectionToInsert.add(newrecord);     }     if (recordConnectionToInsert.size() > 0){         System.debug('>>> Sharing ' + recordConnectionToInsert.size() + ' records');         insert recordConnectionToInsert;     }  }   The error I am getting is :     Apex trigger SendABCToConnection caused an unexpected exception,   contact your administrator: SendABCToConnection: execution of   AfterInsert caused by: System.QueryException: List has more than 1 row   for assignment to SObject: Trigger.SendABCToConnection: line 2, column   1