i found this relation whilst trying to evaluate the norm (over $\mathbb{Q}$) of $1-\zeta$ for $\zeta$ a primitive $p$-th root of unity ($p$ supposed prime) $$ \prod_{k=1}^{p-1} \sin(\frac{\pi k}{p}) = \frac{p}{2^{p-1}} $$ as yet i have no means of proving it. any suggestions?
Using $\text{n}^{\text{th}}$ root of unity  $$\large\left(e^{\frac{2ki\pi}{n}}\right)^{n} = 1$$  Prove that   $$\prod_{k=1}^{n-1}\sin\frac{k \pi}{n} = \frac{n}{2^{n-1}}$$
There does not exist group $G$ such that Aut$(G)\cong \mathbb{Z}_n$ (for odd $n$) Ignore folders/files when Directory.GetFiles() is denied access Understand PAM and NSS In the last days I have set up some Linux system with LDAP authentication and everything works fine, but there's still something I can't really understand regarding NSS and PAM, also after a lot of research. Citing:  NSS allows administrators to specify a list of sources where authentication files, host names and other information will be stored and searched for  and  PAM is a set of libraries that provide a configurable authentication platform for applications and the underlying operating system  What I don't understand is how PAM and NSS work and interact together. In  the architecture is explained pretty well: I configure PAM to use pam_ldap for LDAP accounts and pam_unix for local accounts, then I configure nsswitch.conf to fetch information from local files and LDAP. If I have understood correctly LDAP is used twice: first by pam_ldap and then by NSS which is itself called from pam_unix. Is that right? Is LDAP really used twice? But why do I need to configure both NSS and PAM? My explanation is that PAM performs different tasks than NSS and it is used by other programs. But, then, it should be possible to use only NSS or only PAM, as I have read in . So I experimented a bit and I have first tried to delete LDAP from the nsswitch.conf (and the authentication stopped to work as if only pam_ldap is not enough to do the job). Then I re-enabled LDAP in NSS and I deleted it from the PAM configuration (this time everything worked fine, as if pam_ldap is useless and NSS is enough to authenticate a user). Is there anyone who can help me to clarify this? Many thanks in advance. UPDATE I've just tried something now. I removed again all the pam_ldap entries in all pam configuration fields and I have also removed shadow: ldap from nsswitch.conf. As now in all the system there are only the lines: passwd: ldap files and group: ldap files in nsswitch.conf. Well... the login with LDAP users works perfectly, those two lines (plus /etc/ldap.conf) are enough to configure LDAP auth. From my knowledge PAM in independent from NSS, but my tests showed it's not. So I ask myself is it possible to completely disable NSS and use only PAM? During iPhone update to iOS 10.3.1, I was asked for my password using the correct machine name for my Mac mini. To be clear, the request was not for my iCloud password, my actual local user account password for macOS. This can also happen in the other direction - setting up a Mac may ask for verification for you to enter your iPhone / iPad passcode (and not your iCloud password)  I could not find any information about this kind of access. I was thinking it was security for iCloud and possibly related to two step authorization or two factor authorization. This is the first time I can think of that I entered a desktop password outside of that actual desktop.  I don't have a screen shot but I recall an implication that some files in my Mac are encrypted and need my password. '... need to enter the password for .'   Are there settings I can I control this assuming it's a legitimate part of iCloud setup process or iOS setup process? I am fairly new to blender and I am trying to do something which I am assuming is fairly straight forward with no success. All I'm looking to do is emboss some text onto the curved part of a yogurt pot. Image attached below. What is the quickest and easiest way of doing this?  Thanks in advance This question led to a new package:      I'm trying to make some good-looking numbers in a circle, using the simple command:  \textcircled{1}   However, the circle is misaligned vertically with the number, and look a bit sloppy:    Any suggestions how can I adjust the vertical alignment so that the numbers look more centered w.r.t to the circles? Or, if that's not an option, what other ways to achieve the same results are possible?  I will use those only for numbers, and in very few places, so manual adjustment per glyph is an option.  I'm using pdfLaTeX with Computer Modern, if that matters. How can I determine the name of the Bash script file inside the script itself?  Like if my script is in file runme.sh, then how would I make it to display "You are running runme.sh" message without hardcoding that? Over the years I've written some libraries. These libraries sometimes depend on each other.  As a result, the "tex" directory is structured as follows:  tex ├── library |   ├── library1.sty |   ├── library2.sty |   └── library3.sty ├── project1 |   ├── master.tex |   ├── chapter1.tex |   └── chapter2.tex ├── project2 |   └── article.tex └── project3     └── paper.tex   The libraries depend on each other. As a result, in every library that depends on another library, this is part of the header:  %library2.sty \ProvidesPackage{library2} \RequirePackage{../library/library1}   In other words, the library is imported from the "root of every project". This is not a good design choice. What if someone copies the libraries in the folder of the root of a project, or what if the folder "library" is renamed...  It is however reasonable the "active directory" still remains in the project root.  What can be done to resolve such library dependencies? How is the passage of time handled in Pokemon? I stopped following the Pokemon anime a while ago, but I know the series has had Ash go through many regions, including retreading at least one of them.  When Ash was about to get his eight badge, Misty mentioned that they'd been on the road for a year at that point.  I saw some recent episodes, and Ash looks nearly identical to when he first started as a trainer.  Normally I'd attribute that to cartoon sitcom logic, where the characters never age; but in a series with continuity and references to earlier seasons, this makes no sense.  What's the official word on a timeline for the Pokemon anime? Uniformly convergent implies equicontinuous I'm trying to prove that if I have a sequence of continuously differentiable functions $f_n$ that converge uniformly on $[a,b]$, then $\{f_n\}$ is equicontinuous for all $x_0 \in [a, b]$. My idea is to use uniform convergence to deal with the &quot;tail&quot; and then use continuity to deal with the finitely many $f_n$'s left. But I'm having trouble writing it down. Calculating $\int_{|z|=2}\frac{e^{1/z^2}}{1-z}dz$ Find the value of $\displaystyle\int_{|z|=2}\frac{e^{1/z^2}}{1-z}dz$   The first idea I had was to apply Cauchy's integral formula. But can this be done? $e^{1/z^2}$ is not holomorphic on the interior of $|z|=2$. Still, if we would apply this we would obtain:  $\displaystyle\int_{|z|=2}\frac{e^{1/z^2}}{1-z}dz=-2\pi ie$.  Another way I think, is to apply the residue theorem. For $1-z$ has a simple zero at $z=1$ and $e^{1/1^2}\neq 0$, then the residue of $e^{1/z^2}/(1-z)$ at $z=0$ is $-e$. Again we obtain $2\pi iRes(g;0)=-2\pi ie$, where $g=\frac{e^{1/z^2}}{1-z}$.  But again, it seems to me this is not right because $g$ has two singularities, at $z=1$ and $z=0$. What we might do about $z=0$? The answer is not $-2\pi i e$? My issue is that I'm trying to write variable names in italic, but as some of them have underscores in their names, LaTeX assumes that I am writing an equation and it messes up the rest of my document after that point. Here is a sample of my code: As variable \textit{sensor.linear_acceleration} is a matrix  The underscore in linear_acceleration is what makes my whole document math modded, and is a matrix renders as if it was an equation. How can I display that underscore in italic without LaTeX making everything an equation? Can a person negotiate with banks on CD interest rates? I use a brick and mortar bank for some of my savings. I’d love to get a CD interest rate closer to what Ally or other online banks offer.   Are brick and mortar banks will to negotiate with customers on interest rates? For instance, if I went into a branch and said I’m moving my money to Ally unless the bank matches Ally’s rates, do I have any chance of getting them to? I'm asked to used induction to prove Bernoulli's Inequality: If $1+x&gt;0$, then $(1+x)^n\geq 1+nx$ for all $n\in\mathbb{N}$. This what I have so far:  Let $n=1$. Then $1+x\geq 1+x$. This is true. Now assume that the proposed inequality holds for some arbitrary $k$, namely that $$1+x&gt;0\implies (1+x)^k\geq 1+kx,~\forall~k\in\mathbb{N}\setminus\{1\}$$ is true. We want to show that the proposed inequality holds for $k+1$. Thus multiplication of $(1+x)$ on each side of the above inequality produces the following result: $$(1+x)(1+x)^k\geq (1+kx)(1+x)\implies (1+x)^{k+1}\geq 1+x+kx+kx^2\cdots\cdots\cdots$$  I'm not sure where to go from here. The new profile shouldn't mistakenly imply that you can earn the Informed badge on a meta site I just joined Sports, and I decided to take a look on Sports Meta. I clicked on my profile there. This is part of what I saw:     Yet the profile shouldn't indicate that it is, in theory. . .  This seems to be a bug. I’m building a battery powered data logger with a microcontroller and several sensors. I’d like to measure the supply current of individual parts with idle currents in the μA range and peak currents in the low mA range. The current is not constant which rules out a simple multimeter.  Usually I’d (temporarily) replace ferrite beads on the PCB with a 10Ω resistor and measure the voltage drop with my DS1104Z oscilloscope. However, the voltage drop of some μV for 1 or 2 μA of current is simply drowning in the noise and peak currents of ~10mA already result in a noticeable supply drop (so increasing the resistance is out of the question).  I was thinking about building a small board with a 5Ω resistor and OPAMP set to something like 100x amplification, but first wanted to know if this is a good idea or if you know of any affordable, ready-made solutions. Obviously the bandwidth doesn’t have to be high, but some accuracy would be desirable.  Thanks in advance.  Michael How do I kill a process that won't die? I'm unable to kill a process using any of the techniques I'm aware of ("Force Quit" in Activity Monitor, top, killall from the Terminal) and wonder if there are some additional steps I can take.    ~ $ sudo killall -KILL 77439 Password: No matching processes were found ~ $ killall -KILL 77439 No matching processes belonging to you were found ~ $ killall 77439 No matching processes belonging to you were found ~ $ killall Mathematica No matching processes belonging to you were found   FWIW the process is "Mathematica" which I cannot relaunch, Quit, or Force Quit, or sample, either by name or PID, and it appears to have some odd side effects (screenshots don't appear, can't empty trash, and can't even shut down the system).  Are there additional steps that can be taken to really really kill a badly behaved process? How to access raw texture data in DirectX 11? I want to get access to a texture's pixel color data on the CPU. When trying to map the texture, I get E_INVALIDARG in return from ID3D11DeviceContext::Map.  ID3D11ShaderResourceView* resourceView; //represents my texture, already loaded up //...  //Getting the resources of the texture view... ID3D11Resource* res = nullptr; ID3D11Texture2D* tex = nullptr; resourceView-&gt;GetResource(&amp;res); res-&gt;QueryInterface(&amp;tex); D3D11_TEXTURE2D_DESC desc; tex-&gt;GetDesc(&amp;desc); //Correct data gets filled out D3D11_RESOURCE_DIMENSION dim; res-&gt;GetType(&amp;dim); //value gets set as Texture2D which it should  D3D11_MAPPED_SUBRESOURCE mappedResource; HRESULT h; h = context-&gt;Map(tex,0,D3D11_MAP_READ,0,&amp;mappedResource); //This always fails h = context-&gt;Map(res,0,D3D11_MAP_READ,0,&amp;mappedResource); //This also fails   The idea is that I keep only shaderResourceViews for my textures, because that is all I needed until now, and get the relevant resources here.  I tried mapping as WRITE_DISCARD also, but to no success. I am really confused, because I never had any problem with mapping constant buffers and vertex buffers. I seem to be certainly missing something? By the way, I am using Wic Texture loader and DDS Texture loader for the DirectXTex toolkit, and tried this code for png, dds textures, with and without mip-maps. Why can't I import "pygtk" with Python 3.2 from PyDev? Does anyone remember this article about the Euclidean Algorithm? In the 70's I had a stack of old Amateur Radio magazines (50s-60s), and for a long time I saved an article about using the  to combine a number of resistors to achieve a specific value. Does anyone recall and have a copy of this article, or know how the Euclidean algorithm is applied to solve this problem?