"Please sign in using one of the owner's previous accounts for this device." After resetting my Huawei Honor 8 I'm asked to log into a previously added google account.  I clicked on "I forgot my email" and added my phone number. After this google showed me all the email accounts attached to this phone.  I then tried to log into the account with all of those accounts but I always get the same message: "Please sign in using one of the owner's previous accounts for this device."  This phone has always been mine so the account can't be someone elses.
How to bypass "Verify your account" (Factory Reset Protection) I won a Samsung Galaxy S6 Edge, signed into it with my Google account, played around with it, wiped it, and sold it.  Now the person can't get past setup because it's saying he must login with an account previously synced to the phone.   Is there anything I can do from my side to remove this lock?
POSTFIX main.cf permission denied I am trying to set up a postfix server for smtp relay. Centos 5.5  I have followed  but am getting a FAILED error when trying to restart or reload postfix.  When I do:  cat maillog   I get:  fatal: open /etc/postfix/main.cf: Permission denied   Here is what I have tried:  chown postfix /etc/postfix/main.cf chmod u+rwx /etc/postfix/main.cf   After that, I do:  ls -l /etc/postfix/main.cf   Which gives me:  -rwx------. 1 postfix anotheruser 27531 Apf 29 12:19 /etc/postfix/main.cf   No dice. Same error. I even tried temporarily doing chmod 777 but got same error.  Any ideas on the permissions problem? I am assuming it is running the service as the postfix user.  Thanks Uniform convergence of $\sum (-1)^nf_n(x)$ on $[0,1]$ where $f_n(x)=x^n(1-x)$. Let $f_n(x) = x^n(1-x)$ and $\sum (-1)^nf_n(x)$.  I showed that this series point wise.  Case1) $x=1$ $$ f_n(1)=0 \, , \sum{(-1)^nf_n(1)} = 0 $$ Case2) $x\neq 1$ $$|f_n(x)| \leq |x|^n$$ since $$\sum |x|^n$$ converges, By abosultely convergese test $\sum (-1)f_n(x)$ converges.  I want to show that this series uniformly converges on $[0,1]$. Is there ever a time to create a user for a company? I'm wondering if there's ever a reason or time when a company should have its own user (like say, Stack Overflow), instead of users that make it up (like, Jeff Atwood).   I figure this is kind of a bad idea as someone with access to multiple accounts could upvote himself over and over.... but is there any point this is okay and/or a good idea? How to ask great questions As programmers we are daily faced with having to get requirements, test things out, etc.  It's practically half our job to know what questions to ask, and how to ask them to get the most concise, actionable answer possible, especially from reluctant users/managers/customers/etc.  How do you ask questions that get answers? How can I detect the encoding/codepage of a text file In our application, we receive text files (.txt, .csv, etc.) from diverse sources. When reading, these files sometimes contain garbage, because the files where created in a different/unknown codepage.  Is there a way to (automatically) detect the codepage of a text file?   The detectEncodingFromByteOrderMarks, on the StreamReader constructor, works for UTF8  and other unicode marked files, but I'm looking for a way to detect code pages, like ibm850, windows1252.     Thanks for your answers, this is what I've done.  The files we receive are from end-users, they do not have a clue about codepages. The receivers are also end-users, by now this is what they know about codepages: Codepages exist, and are annoying.  Solution:    Open the received file in Notepad, look at a garbled piece of text. If somebody is called François or something, with your human intelligence you can guess this. I've created a small app that the user can use to open the file with, and enter a text that user knows it will appear in the file, when the correct codepage is used.  Loop through all codepages, and display the ones that give a solution with the user provided text.  If more as one codepage pops up, ask the user to specify more text. Is the op-amp inverting or non-inverting? I am studying the function and characteristic of an op-amp to build a line-following robot with the schematics below. However, in many tutorials, the way to differentiate an inverting and non-inverting op-amp is by looking at the connection to ground via the inverting or non-inverting terminal.  However, in the schematics, the op-amp is considered to have connections to ground, thus in this case, how do I differentiate it then?  I may have understood the whole concept wrongly. Pls help!    EDIT: Please ignore the switch as it may have been drawn wrongly by the supplier. Why Do Jedi Use One Lightsaber in Combat? While I've seen Ahsoko Tano, in The Clone Wars, fight with two lightsabers (one in each hand), this seems to be extremely rare for Jedi.  We've seen Sith do this frequently, like Asajj Ventress, with two lightsabers.  Darth Maul used a dual lightsaber against Qui-Gon Jinn and Obi-Wan Kenobi and then there's General Grievous, who uses multiple lightsabers with his multiple limbs.  But most Jedi use just one blade, and their lightsaber hilts tend to be simple, just a straight cylinder without much adornment, while Sith sometimes use curved grips or other more exotic stylings.  Is there a reason Jedi stick with the simplest lightsaber designs and why the vast majority (at least in the movies and in The Clone Wars series) use only a single lightsaber? I am trying to make a custom food recipe. I'm using spawn eggs with /replaceitem because spawn eggs are not obtainable in survival. This works fine when the player crafts only one spawn egg, but when I scroll over multiple spawn eggs, I receive only 1 of the custom food. BTW this food uses custommodeldata, so I can't simply add it into the crafting recipe. I cannot seem to find a way around this. If I make the item non-stackable, such as a piece of armor, mass crafting would be impossible. If I make an item.dropped scoreboard, the player could keep the item and use it to spawn mobs (griefing or for own profit.)  My command:    execute as @a[nbt={SelectedItem:{id:"minecraft:villager_spawn_egg"}}] run replaceitem entity @s weapon  minecraft:melon_slice{CustomModelData:10000101,display:{ Name:"{\"text\":\"Blue Melon Slice\",\"italic\":\"false\"}"}}     My problem is that the command does not see item count, as it is often used for weapons and armor only.    One way I thought to fix this issue is by storing the amount of custom food crafted in a scoreboard item and then giving the player that same count of the custom food, but I do not know how to do this; consequently, I don't know if this works.    Is there a way to do this method, or is there another, simpler method possible? How to write the Fibonacci Sequence? I had originally coded the program wrongly. Instead of returning the Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 should = only those numbers between 1 &amp; 20), I have written for the program to display all Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 displays = First 20 Fibonacci numbers). I thought I had a sure-fire code. I also do not see why this is happening.  startNumber = int(raw_input("Enter the start number here ")) endNumber = int(raw_input("Enter the end number here "))  def fib(n):     if n &lt; 2:         return n     return fib(n-2) + fib(n-1)  print map(fib, range(startNumber, endNumber))   Someone pointed out in my Part II (which was closed for being a duplicate - ) that I need to pass the startNumber and endNumber through a generator using a while loop. Can someone please point me in the direction on how to do this? Any help is welcome.    I'm a learning programmer and I've run into a bit of a jumble. I am asked to write a program that will compute and display Fibonacci's Sequence by a user inputted start number and end number (ie. startNumber = 20 endNumber = 100 and it will display only the numbers between that range). The trick is to use it inclusively (which I do not know how to do in Python? - I'm assuming this means to use an inclusive range?).  What I have so far is no actual coding but rather:   Write Fib sequence formula to infinite Display startNumber to endNumber only from Fib sequence.   I have no idea where to start and I am asking for ideas or insight into how to write this. I also have tried to write the Fib sequence forumla but I get lost on that as well. Can you get to blocked-in areas? I would like to understand how Physicists think of space-time in the context of String Theory. I understand that there are $3$ large space dimensions, a time dimension, and $6$ or $7$ (or $22$) extra dimensions, and all these dimensions need to fit together in a way such that the extra dimensions are compactified (with a Calabi-Yau or $G_2$ structure).   My question, however is not about the possible $10$, $11$ or $26$ dimensional manifolds that may be possible, but about whether string theorists consider space-time as somehow quantized (or discrete), or rather as a continuous manifold, or are both options possible? In other words, can strings move continuously through space, or are there a discrete set of locations where strings can be, and does string theory rule out one of the options?  How about the same question in loop quantum gravity (LQG)? Should I think of the spin networks in LQG as describing a discrete space-time?  Thanks for your insight, or any references you may be able to provide! Showing that $X^2$ and $X^3$ are irreducible but not prime in $K[X^2,X^3]$ Show that $X^2$ and $X^3$ are irreducible but not prime in $K[X^2,X^3]$.   My reasoning is as follows:  Since the only ways $X^2$ and $X^3$ can be factored in $K[X^2,X^3]$ are $X^2 = X^2 * 1$ and $X^3=X^3*1$ it follows that $X^2$ and $X^3$ are irreducible.  To show that they are not prime in $K[X^2,X^3]$ I argue that $X^2\mid X^3*X^3$ but $X^2\nmid X^3$ and $X^3\mid X^4*X^2$ but $X^3\nmid X^4$ or $X^3\nmid X^2$.  Is that correct? How can I run ssh-add automatically, without a password prompt? I want to communicate between several computers on my network (static Ethernet), through SSH. In order to do that I need to run ssh-add every time I log in on a specific machine, how can I do it so that it's set up once and it doesn't ask me for the passphrase every time I log in or reboot my machine?  I know that there is a way that you should add some lines to the bash_profile file, but I still need to type the password every time I reboot/log in to a specific machine.  if [ -z "$SSH_AUTH_SOCK" ] ; then     eval `ssh-agent -s`     ssh-add fi I am really having trouble working a problem in my course. I will post it and then add what I have thought etc.  Let p be an odd prime, then using the Euclidian Algorithm, calculated the GCD of of $x^{p-1}-1$ and $x^2+1$ in $\mathbb{Z} / p\mathbb{Z}[x]$  Also, how does $p=1 (mod4)$ tell us that  $-1$ is a square in $\mathbb{Z} / p\mathbb{Z}$, infact that $-1$ is a square here if and only if $p=1(mod4)$.  My thoughts:   I know that $$x^{p}-x=(x)(x-1)(x-2)…(x-(p-1))$$ and so that in this sense our roots will be the congruence classes of $1,2,…p-1$  and also that $$x^{p-1}-1=(x-1)(x-2)…(x-(p-1))$$  But I get lost when trying to apply the EA to these polynomials,  like how can I do it when p is arbitrary?  Preferably id like to be able to understand/see how to do the first part first i.e. using division with residue and then move on to the second part. Any insight/hint or solution to this would be great,  Thank you all  Update:  When I try to do division with residue, I just get  $$x^{p-1}-1=(x^2+1)(x^{p-3}-x^{p-5}+x^{p-7}-x^{p-9}...)$$  for example,  $p=7$  $$(x^{6}-1)=(x^2+1)(x^4-x^2+1)$$  for $p=11$  $$(x^{10}-1)=(x^2+1)(x^{8}-x^{6}+x^{4}-x^{2}+1)$$  which for specific cases tells me that 1 is the gcd, but I dont know how to generalize that for the case with arbitrary prime p. Hi can you help me solve this exercise? Thanks. Let $f: [0;+\infty) \to \mathbb{R}$ be nonnegative and continuous function. Suppose $\forall a &gt; 0$  $\sum_{n=1}^{\infty} f(na)$ is convergent. Prove that $\int_{0}^{\infty}f(x) dx$ is convergent. I tried to solve it by using the Riemann sum, but for fixed a it doesn't work. I have no other ideas. I've got a circuit in the basement carrying a handful of outlets.  This circuit has no ground wire.  I want to add a couple of outlets and want them to be grounded.  I may even want gfci outlets on them in the future.  I have no reasonable way of getting a ground wire to the panel but I do have easy access to another circuit that does have a ground wire.  Is it acceptable to borrow or share a ground wire between circuits?  If not, why not?  Both circuits are 20A with 12 AWG wire. Gay rights – does Star Trek ever address this issue? I am aware of the picture of the man wearing the 'dress' from TNG, which promotes gender equality, but are gay rights ever addressed in Star Trek at all? (All seasons accepted.) Maximum Likelihood Estimate with different parameters Suppose that X and Y are independent Poisson distributed values with means $\theta$ and $2\theta$, respectively. Consider the combined estimator of $\theta$ $$ \tilde{\theta} = k_1 X + k_2 Y $$ where $k_1$ and $k_2$ are arbitrary constants.   Find the condition on $k_1$ and $k_2$ such that $\tilde{\theta}$ is an unbiased estimator of $\theta$. For $\tilde{\theta}$ unbiased, show that the variance of the estimator is minimized by taking $k_1 = 1/3$ and $k_2 = 1/3$. Given observations $x$ and $y$ find the maximum likelihood estimate of $\theta$ and hence show that $\tilde{\theta}$ is also the maximum likelihood estimator.   I have gotten (1) and (2) okay, but it's (3) I am having trouble with, I'd be okay if $X$ and $Y$ had the same parameter but I'm having trouble with $X$ and $Y$ having different parameters, any help would be appreciated.   NOTE   For (1) I got $k_1 = 1 - 2k_2$.   For (2) I found the variance of $\tilde{\theta}$, then differentiated and let equal to zero to minimize - therefore we get (after subbing in $k_2 = 1 - k_1/2 $) $$3k_1-1=0,$$ which when subbing in $1/3$, we see it is minimised.   Thank you. Debugging scripts, what is the difference between -x to set -euxo pipefail? The main way I know to debug scripts is adding -x to the shabang (#!/bin/bash -x).  I recently came across a new way, adding set -euxo pipefail right under the shabang, as in:  #!/bin/bash set -euxo pipefail   What is the main difference between the two ways of debugging? Are there times you would prefer one above the other?  As a freshman, , I couldn't extract such conclusion. How to code to skip a shapefile, if it doesn't exist? So if shapefile 'AAA010' does not exist, how can I skip the Merge and Clip and move on to the next part of the script? If possible I would like to keep the current script as it is, but by just adding else or if, Sorry still trying to learn the ins and outs.  import os, fnmatch, arcpy   arcpy.env.workspace = r'C:\Users\sysadmin\Desktop\DataMagement\Comp_3\SA_MGCP3.gdb'   fcMerged = 'MergedFeatureClass' fcClipped = 'fcClipped' fcToClip = r'C:\Users\sysadmin\Desktop\DataMagement\Country.shp'  filesMatched = list()  for root, subfolders, files in os.walk (r'C:\Users\sysadmin\Desktop\DataMagement\MGCP_Raw'):      for f in fnmatch.filer(files, 'AAA010.shp'):              filesMatched.append(os.path.join(root,f))      if filesMatched:         print ' files found - merging'         arcpy.Merge_management (filesMatched, fcMerged)         arcpy.Clip_analysis (fcMerged, fcToClip,fcClipped)      else:          print 'nothing found - skipping'