I am trying to solve question 3.7 (b) from Chapter 15 in Artin's book "Algebra".  The problem is:     Is it true that $\sqrt[3]{5}\in \mathbb Q(\sqrt[3]{2})$?   It is clear by Eisenstein's criterion that both $\sqrt[3]{2}$ and $\sqrt[3]{5}$ have their minimal polynomails of egree $3$ over $\mathbb Q$.  Thus if we assume that $\sqrt[3]{5}\in \mathbb Q(\sqrt[3]{2})$, then we must have $\mathbb Q(\sqrt[3]{5})=\mathbb Q(\sqrt[3]{2})$.  This didn't get me anywhere.  Then I tried the most simple minded approach.  Say $\sqrt[3]{5}=a+b\sqrt[3]{2}+c\sqrt[3]{4}$, for some $a,b,c\in \mathbb Q$.  By cubing and rearranging, it is likely that we will arrive at some absurdity.  But clearly this shouldn't be what the author must have intended.  Can somebody point me towards a slick solution?


How to get the exact font in this document?

What I'd like to get  What I currently get using Latin Modern  Comments Especially, look at the italic font. I really like that italic font even though it looks old. I have tried a lot of fonts available in LaTeX from this . But none of them are exactly this.


Expanded layout shows number of questions

When clicking the button for "expanded layout" on the homepage, the number of questions in the top-right corner gets unhidden, showing that there are 0 questions. This number should not show up on the homepage, but instead should only show up on, for example, tag pages.  Direct url:


.vimrc does not appear when I 'ls', but I can open it when it type 'vim .vimrc' in same directory. why?

I was searching for my vimrc so I could change my settings in vim, but was struggling to find it. I followed  which gave me the directory of the vimrc (user/home/.vimrc) that my vim is currently using, but when I went into home and hit ls to find the file, there was nothing that said .vimrc or vimrc. However, when I typed vim .vimrc in that same directory, I was able to open the file. I am very new to everything Linux, so I don't know what exactly I am getting wrong; does ls not list all the files in a directory, or is .vimrc an exceptional file type?


FileZilla Server 425 Can't open data connection for transfer of "/"

I am having difficulties connecting to my FileZilla Server via my FileZilla Client. When trying to connect to the local address while on the same network I am able to connect successfully though (so the server is functional).   FileZilla client is using Passive mode with plain FTP during these tests.   FileZilla Server Log  (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> Connected on port 2121, sending welcome message... (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> 220-FileZilla Server 0.9.60 beta (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org) (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> 220 Please visit https://filezilla-project.org/ (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> USER admin (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> 331 Password required for admin (000042)3/3/2017 1:46:15 AM - (not logged in) (xxx.xxx.xxx.xxx)> PASS ******** (000042)3/3/2017 1:46:15 AM - admin (xxx.xxx.xxx.xxx)> 230 Logged on (000042)3/3/2017 1:46:15 AM - admin (xxx.xxx.xxx.xxx)> PWD (000042)3/3/2017 1:46:15 AM - admin (xxx.xxx.xxx.xxx)> 257 "/" is current directory. (000042)3/3/2017 1:46:15 AM - admin (xxx.xxx.xxx.xxx)> TYPE I (000042)3/3/2017 1:46:15 AM - admin (xxx.xxx.xxx.xxx)> 200 Type set to I (000042)3/3/2017 1:46:16 AM - admin (xxx.xxx.xxx.xxx)> PASV (000042)3/3/2017 1:46:16 AM - admin (xxx.xxx.xxx.xxx)> 227 Entering Passive Mode (172,16,1,9,27,5) (000042)3/3/2017 1:46:16 AM - admin (xxx.xxx.xxx.xxx)> MLSD (000042)3/3/2017 1:46:26 AM - admin (xxx.xxx.xxx.xxx)> 425 Can't open data connection for transfer of "/"   FileZilla Client Log  Status: Connection established, waiting for welcome message... Status: Logged in Status: Retrieving directory listing... Status: Directory listing of "/" successful Status: Disconnected from server Status: Resolving address of www.example.com Status: Connecting to yyy.yyy.yyy.yyy:2121... Status: Connection established, waiting for welcome message... Status: Logged in Status: Retrieving directory listing... Status: Server sent passive reply with unroutable address. Using server address instead. Command:    MLSD Response:   425 Can't open data connection for transfer of "/" Error:  Failed to retrieve directory listing


Prove that if a number $n > 1$ is not prime, then it has a prime factor  $\le \sqrt{n}$.  My answer is that this is not always true, because you can pick a non-prime number that is greater than $1$ and its factor is equal to its square root.


How different are 8-bit microcontrollers from 32-bit microcontrollers when it comes to programming them

Right, so we have 8-bit, 16-bit and 32-bit microcontrollers in this world at the moment. All of them are often used. How different is it to program 8-bit and 16-bit micrcontrollers? I mean, does it require different technique or skill? Lets take microchip for example. What new things does a person need to learn if they want to transition from 8-bit microcontrollers to 32-bit microcontrollers?


All waves have the property, diffraction. Why exactly does this happen? Why do waves interact in this manner?


My equation is not showing big bracket and not showing in next line

\begin{equation} g(f,t) = \begin{cases}          \bigl{b^Nt^N^-^1e^2^\pi^b^t cos(2\pi ft),  \text{t\geq 0;}\\          0 \text{ $ otherwise $}          \end{cases} \end{equation}


I am trying to do an update and am getting the following error. Could anyone help on a solution. My kernel will not update because of this  W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found W: Failed to fetch http://ppa.launchpad.net/psyke83/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.


A weird infinity problem. I saw this on youtube but could not understand it: Let us add 1 + 2 + 4 + 8 + 16 + ... up to infinity x=(1+2+4+8+...)  = 1(1+2+4+8+...) = (2-1)(1+2+4+8+...) = (2+4+8+16+...)-(1+2+4+8+...) = -1 x=-1  Now that is weird since we are adding up to infinity towards the positive side yet we end up with a negative number. Somebody please explain me why.


I would like to obtain a realistic rendering with edges not too sharp and smooth surface. I tried adding a crease of 1, but edges are too sharp. Marking edges sharp is too soft. It seems there are some artifacts in the rounded corners...what can I do?


How to read and set a permanent parameter for an exe

I'm new to C# and .net and the question might be silly, but bear with me... Any help or pointer in the right direction (if any) would be appreciated! Let's say I have a C# console application. I would like to be able to set (and read) a permanent parameter from cmd. ex. $ myApp.exe --setName="Bob"  $ myApp.exe --getName > Bob  I would also like to be able to use the parameter in code. Console.WriteLine(name);  should print out "Bob". Note The parameter being permanent means I want to set in once, not every time the app is launched. So this doesn't work in my case  Is there a way to achieve this? If so, can you link some docs if not give a solution? Thank you!


I have seen both in Cygwin and in Linux the [ command under /bin. Whenever I run it I get an error saying: missing ].   I never understood what this command does, I just one day found it wanted to find out what it does (and whether it is useful or not)  NOTE: I would have checked the man entry, for an answer, but sadly, there is no entry in it for [


How can an assistant professor have a much higher salary than an associate professor in the same department?

Is it possible for a young assistant professor to receive a higher salary than an associate professor in the same department with many more papers, citations, etc?  Why would this happen?  What determines the salary of a faculty member, if not papers and citations?    UPDATE  Although there is overlap, my question is not duplicate. The (realistic but maybe erroneous) example is edited away, so it changes the context of my question. In the situation I want to ask, the associate professor not only stays longer, but also has much more reputation than the assistant professor.


Detecting geometry change between two line layers in QGIS

I have two line layers of the exact same features but I suspect there is a difference in some of geometry between the two. Is there a way to simply detect change between the two layers? I am not interested in the attribute change; I simply want to see the areas where there is a difference between the two layers.


Centos 6.4 Installed in System X3750 M4 IBM Server

We have installed Centos 6.4 in System X3750 M4 IBM Server. But the server is not showing the performance of at-least a normal Desktop Configuration. We haven't done any performance tuning in the Server.   Soon after completing the installation we checked the system monitor in the system, and there it shows total 32 CPUs and only about 3 CPUs have load, others are in idle mode.  Our System Configuration is:  IBM System x3750 M4 Server  300GB * 4 HDD  32GB RAM  2 Quad Core * 4 ProcessorsNos = 32 CPUs  Intel Xeon Processor  Partition:  RAID 1  2 HDDs in one RAID.  MANUAL PARTITION  /dev/sda6              58G  629M   55G   2% / tmpfs                  16G  664K   16G   1% /dev/shm /dev/sda2             485M   37M  424M   8% /boot /dev/sda1             200M  260K  200M   1% /boot/efi /dev/sda5              68G  878M   64G   2% /home /dev/sda7              29G  172M   28G   1% /opt /dev/sda8              29G  188M   28G   1% /tmp /dev/sda9              29G  3.9G   24G  15% /usr /dev/sdb1             274G  773M  260G   1% /var   Centos 6.4 Server  java version "1.7.0_25"  Database : mysql  Ver 14.14 Distrib 5.1.66, for redhat-linux-gnu (x86_64) using readline 5.1  JBOSS 6 Application Server  Apache Tomcat 7.14  What all Basic configuration must be done in the Centos 6.4 to achieve a good performance?  We are newbies in this field , i.e in server configuration and all. So please help us.  Thanks in advance.  Nevin Alex.


Prove that $$2\times 2! + 3\times 3!+4\times 4! +....+n\times n!=(n+1)!-2$$ I know that it can be proved by mathematical induction, but I want to prove it without using the mathematical induction. I tied the equation $$C^n_0 + C^n_1 + C^n_2 +...+C^n_n=2^n$$ But I did not get any thing useful.


How to change the font of a URL from \ttfamily to Euclid?

I would like to include a clickable URL in a text written in LaTeX. For that I included the package hyperref. The result obtained by \url gives a clickable link written in \ttfamily (the default font). My question is how to set the font for \url so that I can obtain a clickable link written in the font "Euclid" rather than \ttfamily.  \usepackage{hyperref} \url{http://stackoverflow.com/}


In the movie "Identity", did the murders really happen?

I realize this entire question is one big spoiler, so there's no way around it.  I'm confused by the ending of .  Did those murders actually happen?  Was John Cusack at the motel, or was it a dream?


Terraria only count second night with Night Sensor

So I have a Night Sensor, and an Announcement Box with a message I want to display at the start of the second night after starting, and the second night ONLY.  I've tried using Logic Gates but they always fire at both nights.  How can I manage this?


So we all know about Eisenstein's Criterion and how useful it turns out to be. In particular, if we have a monic cubic $x^3+ax^2+bx+c$, it is irreducible if there exists a prime number $p$ such that $p\mid a,b,c$ and $p^2\nmid c$.   But suppose that a monic cubic is irreducible, and all its coefficients are positive, but there does not exist such a prime. Sometimes we can find an integer $k$ such that we can substitute $x=y+k$ into the cubic, and the resulting polynomial in $y$ will satisfy the criterion. For example, if we have the cubic $x^3+3x^2+5x+1$, then no $p$ exists, but if we substitute $x=y+3$ into it, we end up with $y^3+12y^2+50y+70$, which, taking $p=2$, satisfies the criterion, hence it is irreducible. My question is whether or not this stronger version of the criterion applies to every irreducible polynomial. That is to say, if $x^3+ax^2+bx+c$ is irreducible, then we can always find some integer $k$ such that $(y+k)^3+a(y+k)^2+b(y+k)+c$, when simplified, will satisfy the criterion.   Thank you all in advance!


Evaluating limit by sandwich theorem: $\lim_{n\to\ \infty}\frac{1}{1+n^2} +\frac{2}{2+n^2}+\cdots+\frac{n}{n+n^2}$

$$\lim_{n\to\ \infty}\frac{1}{1+n^2} +\frac{2}{2+n^2}+\cdots+\frac{n}{n+n^2}$$ For using Sandwich theorem I need two functions such that $g(x)<f(x)<h(x)$ $$\frac{1}{n+n^2} +\frac{2}{n+n^2}+\cdots+\frac{n}{n+n^2} \leq \frac{1}{1+n^2} +\frac{2}{2+n^2}+\cdots+\frac{n}{n+n^2} $$ But I can't find function greater than the given which will help me evaluate the limit.


I want to create a static class which works like enumeration, but with string values. Which of the following ways is the safest to extract a full instance of created class?  public class Name  {      public static final Name MY_NAME = new Name("Chris", "Doe");      public String firstName;     public String lastName;      public Name(firstname, lastname)     {         this.firstName = firstname;         this.lastName = lastname;     } }   OR  public class Name  {     public String firstName;     public String lastName;      public Name(firstname, lastname)     {         this.firstName = firstname;         this.lastName = lastname;     }      public static Name myName()     {         return new Name("Chris", "Doe");     } }


Stack overflow reversal voting algorithm unfair

I joined stackoverflow 4 months ago and got really excited (addicted too) on solving other people's issues and editing first posts etc... Day before yesterday I hit the 1k reputation bar but was shocked a day after of reversal voting that brought me down to 700 after "serial votes were reversed".   I don't deny that two of my friends were up voting my answers but they did only up voted my accepted answers (I have roughly 15 accepted). They judged each answer, they choose to up vote or not. I didn't ask them to do it nor did I bribe them by any sort to do it. Actually, one friend once up voted one of my very average answer and we had argument about it because I simply believe it is wrong to do so and he took it down I believe.  Ethically, I wouldn't let anyone votes for me just for who I am. Also, I was a victim of a down voting multiple times just because my answer got accepted and another person' answer did not and that was never recovered.  Is there anyone who please can explain how reversal algorithm works? And is there a chance I get back my reputation points that were earned only on accepted answers?


meta language attribute href language for russian speaking countries

I didn't find a specific answer to my questions in my search. i have a website, and I need to target Russia and neighbouring countries ( Moldova, Ukraine, Belarus, Kazakhstan, etc..)  My website is only in Russian language and those countries all speak and understand Russian. I need an href language to insert in my  that defines russian language to these countries and refer to my main website. is it possible? can anyone help?  thanks to all who respond to my question .


How to use,run cURL tool with Android Studio on windows environment?

What is better way to use cURL tool with Android Studio 1.1.x on Windows? because there is no proper information in official site for client tools on windows environment.  I tried to download from official website, but the downloads are available for windows 2000/XP. And unlike Linux cURL tool, it has got both free and paid version for Windows.


I have web app using a .net API with a controller Filter that gets the token and grabs the user out of the database every time. I am trying to eliminate the same database call, so I have used MemoryCache.   public ObjectCache cache = MemoryCache.Default;   // setting it, and only calling database again if cache is empty  cache.Set("cachedUser", userFromDB, policy);   My problem is I opened another browser and logged in as a different user and I can see the first user still being cached in the debugger. Is the debugger scope causing this to happen, or will multiple users on their own browser sessions each have their own cache object? I am unsure if user A will stay cached locally and User B will stay cached locally, or user A will stay cached and user B will be mistaken for User A.


Why is RAM usage so high on an idle server?

I'm investigating a server used for scientific data analysis. It's running RHEL 6.4 It has almost 200GB of RAM. It's been running very slowly for users via SSH, and after some poking around I quickly noticed that the RAM usage was sky-high. What's odd is that even in an idle state it's still using a ton of RAM:    I also looked via htop and I can't see that any running process is using more than 0.1% of the RAM. So I wonder what's going on? Right now the only user-initiated process running is an rsync between two NFS-mounted shares.   I tried rebooting the server and it was much more responsive for a few minutes, but then memory usage shot up again.  Is there any way I can pinpoint why memory usage is so high?


How to do a secure erase on a Macbook Pro?

I have a Macbook Pro with SSD and I would like to completely erase every single bits of data on it. How would I do that? On a PC, I would just run Darik's Boot And Nuke, but can I run it on a Mac too, or is there a better alternative?


How do I mount shared folders in Ubuntu using VMware tools?

Experts. I've successfully installed VMware tools for Ubuntu. Everything seems to work fine, but shared folders were not mounted automatically. How do I get them to work?  If I run vmware-hgfsclient in terminal, I get the list of shared folders, but ls -l /mnt/hgfs is empty. Actually there's no hgfs dir in /mnt. I know I should probably use the vmware-hgfsclient tool, but I realy don't know how.   P.S. I wouldn't ask if I could understand the vmware-hgfsclient help I've read.   Any suggestions?


How to prevent Windows Update from reinstalling bloatware?

Apparently sometimes a Windows Update includes reinstalling Bloatware such as Candy Crush Saga. Is there any way to prevent this from happening instead of having to manually remove everything again and again and again...?


How long can I stay in Germany after quitting my Blue Card job?

I am Australian and as such from a non-EU country and hold a German "Blue Card EU" which is tied to a job I had in Germany. I worked there for 1 year but stopped working there last week.  I am now in the process of applying for a Swiss working permit and I intend to move there and begin working there when that is finished. I was told that it could take more than 3 months though to get the working permit, which is kind of worrying because I am only allowed 90 visa-free days in the Schengen zone.  Therefore my question is: how long can I stay in Germany now that I have quit the job for which I had my Blue Card? Citizens of my country get 90 visa free days, so there's that, but do I get any "extra" time thanks to my blue card? It surely musn't expire as soon as I quit my job, right?


Google's OpenID implementation works where Stack Exchange's doesn't ('Detected an attempt to send an assertion...')

Now that   (officially, it is today), I tried to add the Stack Exchange OpenID to my account at . It failed for the Stack Exchange OpenID, but it worked using the Google OpenID.  Doing it    Crashed and burned After entering the email address and password (as for a normal login at a Stack Exchange site), I get the error  Detected an attempt to send an assertion when the identifier () is not owned by the logged in user.,   I tried with Firefox (with ) and Google Chrome. I also tried restarting the browsers and tried logging out from all Stack Exchange sites prior to an attempt. Resolution? Is this a bug in the Stack Exchange OpenID implementation, and is there a work-around?


Kinetic energy with respect to different reference frames

I'm having problems understanding the following situation. Suppose two 1-tonne cars are going with the same orientations but opposite senses, each 50 km/h with respect to the road. Then the total energy is   $$\begin{eqnarray}E=E_1+E_2&=&\frac{1\mathrm t\times(50\mathrm{km}/\mathrm h)^2}2+\frac{1\mathrm t\times(50\mathrm{km}/\mathrm h)^2}2\\&=&1\mathrm t\times(50\mathrm{km}/\mathrm h)^2\\&=&2500\frac{\mathrm t\times\mathrm{km}^2}{\mathrm h^2}.\end{eqnarray}$$  Now if we look at it from the point of view of one of the cars, then the total energy is   $$\begin{eqnarray}E=E_1+E_2&=&\frac{1\mathrm t\times(0\mathrm{km}/\mathrm h)^2}2+\frac{1\mathrm t\times(100\mathrm{km}/\mathrm h)^2}2\\&=&\frac{1\mathrm t\times(100\mathrm{km}/\mathrm h)^2}2\\&=&5000\frac{\mathrm t\times\mathrm{km}^2}{\mathrm h^2}.\end{eqnarray}.$$  I know that kinetic energy is supposed to change when I change the frame of reference. But I understand that then there must be some other kind of energy to make up for it so that the energy in the system stays unchanged. But I don't see any other kind of energy here. I only see two total energies of the same system that seem to be different. Could you explain this to me?  Please note that while I don't understand any physics, I do understand college level mathematics, so if necessary please use it. (I doubt anything more than high school maths should be needed here, but I want to say this just in case.)


Is anybody else accidentally hiding collections in blender 2.8?

often i forget i'm not in edit mode and i will press 1, 2, or 3. If you're in object mode it will hide all the collections i'm working with. Alt+H doesn't seem to unhide them and i have to manually make them visible again in the outliner. Is there another efficient way to work to avoid this problem?


pgfgantt errors when compiling in overleaf

I have looked for a solution for some time but not having found any similar case, I'll post it here.   I'm using the latex package pgfgantt to create some gantt charts. It works very well in my pc (both Linux and Windows). But I use overleaf to share my documents and it never compiles there with several errors. The solution I've been using for now is to generate static images for the gantts and import then import them as images but it's a tedious task I do not feel like doing everytime I edit the gantts.  Not sure if it's valid to post links to code, here is a small example:   From among the many errors I get, it appears their version doesn't like some of the options for the ganttchart (expand chart=\textwidth and time slot unit=month).  I'm guessing the problem is a different version of pgfgantt?  Is there a way to workaround it in a smarter way than what I've been doing? or, even better, to solve this issue?  Thanks!  Franco


Unable to Install git package on ubuntu 14.04

So, I'm trying to install git on Ubuntu 14.04... When I typed:  sudo apt-get install git   It said:  E: Unable to locate package git   So after some time searching I ran:  sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E1DD270288B4E6030699E45FA1715D88E1DF1F24 sudo su -c "echo 'deb http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main' > /etc/apt/sources.list.d/git.list"  sudo apt-get update  sudo apt-get install git   and now I get this:  Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  git : Depends: liberror-perl but it is not installable        Recommends: patch but it is not installable        Recommends: rsync but it is not installable        Recommends: ssh-client but it is not installable E: Unable to correct problems, you have held broken packages.   What am I doing wrong? Can you help me someone? Thanks for your replys...


How to send multiple files in multipart/form-data using REST API

I need to send 2 files to an external system  in multipart/form-data using REST API. I'm able to do it using postman.  I have 2 attachments stored in Attachments object. I need to send both files (as shown in attached screenshot) in single request. Can you please help me to compose the same request using APEX? I took reference from this post:  My Code: //  Compose the form string form64 = '';  form64 += vNHttpFormBuilder.WriteBoundary();  //file 1 vNHttpFormBuilder.WriteFileResult result1 = vNHttpFormBuilder.WriteFile('file', fileName, fileMimeType, fileBlob); form64 += result1.Content; form64 += vNHttpFormBuilder.WriteBoundary(result1.EndingType);  //file 2 vNHttpFormBuilder.WriteFileResult result2 = vNHttpFormBuilder.WriteFile('file', fileName, fileMimeType, fileBlob); form64 += result2.Content; form64 += vNHttpFormBuilder.WriteBoundary(result2.EndingType);  blob formBlob = EncodingUtil.base64Decode(form64); string contentLength = string.valueOf(formBlob.size());   //  Compose the http request HttpRequest httpRequest = new HttpRequest();  httpRequest.setBodyAsBlob(formBlob); httpRequest.setEndpoint(url); httpRequest.setHeader('Connection', 'keep-alive'); httpRequest.setHeader('Content-Length', contentLength); httpRequest.setHeader('Content-Type', contentType); httpRequest.setMethod('POST'); httpRequest.setTimeout(120000);


Adding spin and orbital angular momentum

I am unsure how to add spin and orbital angular momenta for particles different from spin 0.5. Is this the correct way (if not, can you provide a general formula for addition of these two momenta) Suppose $s = \frac{3}{2}$. Then are the possible values of $J$ then $l + \frac{3}{2}$ and $l - \frac{3}{2}$, or are there other values? Is the general formula $j = l \pm s$?


I'm trying to embed an iframe in another site (or rather the other site requires an iframe be embedded showing my Drupal site). I am getting the error:  Load denied by X-Frame-Options:  does not permit cross-origin framing.  Request headers:  Host: www.example.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: https://cards-dev.twitter.com/preview/html?authenticity_token=6c647c45ab69f55e843ef827a95377d1b39aab85&url=https%3A%2F%2Fwww.example.com%2Fpodcasts%2Fwho-goes-vegas-stays-vegas-making-mike-american-again&platform=Swift-12&authenticity_token=6c647c45ab69f55e843ef827a95377d1b39aab85&authenticity_token=6c647c45ab69f55e843ef827a95377d1b39aab85 Cookie: AMP_ECID_GOOGLE=amp-F76p47lSL8DdI7QAfmPw264-1cM51dzy1g2eqpVFbsVsDjqrf-h27aVLhYsKepvC; SSESSbc77b3dd795094a7a765da9aeed8de88=JhaX78fzqbvJgmHT02ebpBDJNwN56qgE1sqg45knj_Y DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1   Response headers:  Accept-Ranges: bytes Cache-Control: must-revalidate, no-cache, private Content-Encoding: gzip Content-Language: en Content-Type: text/html; charset=UTF-8 Date: Mon, 17 Apr 2017 19:02:53 GMT Expires: Sun, 19 Nov 1978 05:00:00 GMT Server: LiteSpeed Set-Cookie: SSESSbc77b3dd795094a7a765da9aeed8de88=JhaX78fzqbvJgmHT02ebpBDJNwN56qgE1sqg45knj_Y; expires=Wed, 10-May-2017 22:36:13 GMT; Max-Age=2000000; path=/; domain=.www.example.com; secure; HttpOnly Surrogate-Control: no-store, content="BigPipe/1.0" Vary: Accept-Encoding X-Accel-Buffering: no X-Content-Type-Options: nosniff X-Drupal-Dynamic-Cache: HIT X-Firefox-Spdy: h2 X-Frame-Options: SAMEORIGIN X-UA-Compatible: IE=edge x-generator: Drupal 8 (https://www.drupal.org)   Does anyone know how to permit X-Frame-Options so that an iframe with Drupal content can be shown on another site?


How to calculate `mean` and `sd` of lognormal distribution based on `meanlog` and `sdlog`?

Lognormal distribution as below:            estimate  meanlog   6.0515    sdlog     0.3703      How to calculate the mean and sd of this distribution?


Sentence: A recent review of our records indicates that one or more of your dependents does/do not have a valid birthday on file   This is actually for a business letter and we have conflicting opinions in the office if the verb should be "does" or "do". Thanks


Not entirely sure if this is where to ask this, but I can't find another place to...  I've recently switched from Windows to Mac and I am trying to understand more in depth what I'm working with.  My question is: are .dmg files the equivalent of .zip files in Windows? I came to this theory when downloading a .dmg and when I opened it, it contained a .app and and text file read me. To me, this seems like a compressed file.   Is this correct?


I have a single entry visa to Spain but I decided recently to change my trip from Barcelona to Paris, the question is can I go to Paris with the issued visa?  Note that: there's no direct flight from Beirut to Barcelona.


What is the most primitive organism that can die of aging?

I know that simple organisms containing of just few cells have no mechanism of dying because of aging. I guess, they typically die due to being out of food or due to becoming someone else's food.  Leaving aside the numerous theories of what can be the origin of such phenomenon as aging, I'm asking a simple question: what is the most primitive organism known so far which has the feature of aging and (as a consequence) dying, even if the environment is perfect?


Whenever I turn on my PC, it goes to a pure purple screen then it goes black

This happens with restarting too. When I restart it turns off just fine, but then when it turns back on, it goes to a purple screen and then black.  However it does turn on after I hold the power button until it turns off, and then turn it back on again. This isn't a crucial fix, just really inconvenient. Thanks for your help.


Black screen after clicking "Install Ubuntu"

I want to install the latest ubuntu (12.04.2 LTS) in my ultrabook asus S56C.  I tried to boot with USB & CD, but both stuck in black screen after choosing "Try Ubuntu..." or "Install Ubuntu"...  Need some help.  Thanks


One item shows up the render, but another doesn't

I'm making a scene with the Death Star and a TIE fighter flies by it. But the TIE fighter won't render. What do I do?


If $g \circ f$ is surjective, show that $f$ does not have to be surjective?

Suppose $f: A \to B$ and $g: C \to D$ are functions, and that $B ⊆ C$.  I need to come up with an example where $g \circ f$ is surjective but $f$ is not. I'm confused on how exactly to do that, but I understand that to show something is surjective you have to have the range of the function equal to the codomain of the function. Here's my attempt:  So if $g(x) = x^2$ with a codomain of $ℝ$, and $f(x) = \sqrt{x}$ with a codomain of $ℝ$, then $g(f(x)) = (\sqrt{x})^2 = x$. Since the range of this function and codomain are the same, this is surjective.  But, since $f(x) = \sqrt{x}$, its range is only $[0, ∞)$, which is smaller than its codomain of $ℝ$, meaning $f$ is not surjective.


Kind of hard to explain but I noticed when straceing the PID that has the socket open I cannot see any of the communication. How can I sit in the middle of a socket file to watch communication?


I entered sudo apt-get update in Terminal and got the following output    What to do now?


I have been using zoomit on windows. With that tool: I can write on screen, zoom screen, draw shapes on screen while doing presentation. Also, I can run a stopwatch for break during presentation. Blacken, whiten the screen. Is there such kind of tool for Mac? I saw zoomit for mac and its absolutely rubbish which only zooms and doesn't nothing extra like window's zoomit.


I'm trying to process a form with AJAX, and then (after the response comes back through), make a popup that gives a user 2 buttons.   The first AJAX request executes just fine, and the popup appears properly too. The issue is that one of the buttons in the popup does nothing when pressed.   The button in question is addressed with the following code:  $(".c").on("click", function(){     alert('dfgh'); });   The HTML of the popup (created by the original AJAX request) is:  <div id="exchange_pc" class="popupContainer" style="z-index: 1000;">     ….text….     <table>         <tbody>             <tr>                 <td>                     <form class="removeAndApply" action="">                         ….hidden inputs….                         <button type="submit">XYZ</button>                     </form>                 </td>                 <td>                     <button class="c">Keep Current Codes</button> //this is the button I'm asking about                 </td>             </tr>         </tbody>     </table> </div>   Weird thing is, that when I create a regular old button it works just fine. Only in the generated popup it doesn't. (Even though it's dynamically created, my understanding is that using ".on()" should make it work…)


Syndaemon won't start as startup application

I've added the following line into  my startup applications:  /usr/bin/syndaemon -i 0.5 -d -K   but syndaemon is never running when I log in. I always have to execute the command manually from the terminal, at which point it works normally. My other startup applications work fine. This issue occurs in both gnome and unity.  I'm using ubuntu 14.10 (issue occurred in 14.04 as well). I doubt my hardware matters, but I'm on a lenovo yoga 2 pro.  Ideas?


What does this block of code after the return statement in the source code for ReduceOps.makeRef do?

In the , lines 155-190 (reproduced below) constitute the makeRef method:  public static <T, I> TerminalOp<T, I> makeRef(Collector<? super T, I, ?> collector) {     Supplier<I> supplier = Objects.requireNonNull(collector).supplier();     BiConsumer<I, ? super T> accumulator = collector.accumulator();     BinaryOperator<I> combiner = collector.combiner();     class ReducingSink extends Box<I>             implements AccumulatingSink<T, I, ReducingSink> {         @Override         public void begin(long size) {             state = supplier.get();         }          @Override         public void accept(T t) {             accumulator.accept(state, t);         }          @Override         public void combine(ReducingSink other) {             state = combiner.apply(state, other.state);         }     }     return new ReduceOp<T, I, ReducingSink>(StreamShape.REFERENCE) {         @Override         public ReducingSink makeSink() {             return new ReducingSink();         }          @Override         public int getOpFlags() {             return collector.characteristics().contains(Collector.Characteristics.UNORDERED)                    ? StreamOpFlag.NOT_ORDERED                    : 0;         }     }; }   I am asking explicitly about lines 177-189:      return new ReduceOp<T, I, ReducingSink>(StreamShape.REFERENCE) {         @Override         public ReducingSink makeSink() {             return new ReducingSink();         }          @Override         public int getOpFlags() {             return collector.characteristics().contains(Collector.Characteristics.UNORDERED)                    ? StreamOpFlag.NOT_ORDERED                    : 0;         }     };   What does the code after the return statement do (and why is it not unreachable)?  I'm guessing it's doing something like overriding some methods from an interface called ReduceOp, but it appears that such an interface (if it exists) is not in the same place as .


What kinds of constructions are `, --, ---, and ``?

A couple of questions of a similar nature:  We all know that -- prints an endash, while --- prints an emdash. But - is not an active character, right? So how does TeX process -- and --- and make them different from three ordinary dashes? `` prints a “. But ` is not an active character, right? So similarly to above, how is this processed? ' is an active character, so I guess no issue there. The character ` plus some character token prints the character number (or whatever the right term is) for that token, as seen e.g. in catcode assignments. What kind of construction is this? Can I change this to some other character? Is there a way to print ` on TeX.SX? Typing ``` doesn’t work.


I would do this - I mean, it already wants my name and birthday - but I don't have a phone, and I don't want to give it a fake number. It would be unfortunate for a complete stranger to get my email verification message.  Anyway, if there's no way to get around this, does anybody know an email provider that doesn't need your phone number?


I have a method that I use to convert strings to generic enums. The resulting value can be assigned to fields that may be nullable.  For the non-nullable case the following works fine, but I can't figure out how to correctly adjust it to allow for a nullable return type, say in the case that the argument is null, or indeed how to allow for a return type that may be either null or non-nullable (maybe this isn't possible?). Every permutation of Nullable<T> and T? that I've tried still results in red squiggleys on both the return values and the method name  private static T ConvertStringToEnumValue<T>(string value) {     // Converts string to a given enum-type T value.     T EnumValue;     try     {         EnumValue = (T)Enum.Parse(typeof(T), value);         if (!Enum.IsDefined(typeof(T), EnumValue))         {             return default(T); // 0 for enum         }     }     catch (Exception e)     {         return default(T); // 0 for enum     }     return EnumValue; }


Java - NoClassDefFoundError in mixed maven and non maven projects

I have a maven rest server  It uses a maven based jar file This maven based jar file is linked to a non maven other jar file.   Everything compiles perfectly.  But, when sending a request on the rest server, I get a NoClassDefFoundError exception on some class from the non maven jar.  Any ideas about this problem?


Let $F$ be a field such that $char F=p\neq 0$, let $n>0$ and $m=p^n$ prove that $a^m+b^m=(a+b)^m$ for all $a,b\in F$   Attempt:  Since $a,b\in F$ then $a^m=(1\cdot a)^m=1^ma^m=0\cdot a^m=0$  and $b^m=(1\cdot b)^m=1^mb^m=0\cdot b^m=0\implies a^m+b^m=\color{red}0$   $(a+b)^m=[1\cdot (a+b)]^m=(1)^m(a+b)^m=0\cdot (a+b)^m=\color{red}0$


She got mad because I didn't call Bob Principal Bob.  Should it be   She got mad because I didn't call Bob 'Principal Bob.'  thanks


Let's say a famous researcher contributed only a bit to a research project by a student, and the student could reasonably choose either to include or not include them as a coauthor. Is it beneficial to the student to include them? It seems that having a big name would increase viewership and perceived legitimacy of the paper, while having more coauthors also seems to diffuse the ownership of the work.


using iMac (2014) as Display for pc source

I have got iMac (2014 model), which I want to use as external display for my windows laptop. Is is possible? if yes, how?  I have got a male-to-male mini-display to hdmi connector. But when I connect both my iMac & pc, and I press command+F2 on my iMac nothing happens.  I'm struggling to get Target Display Mode enabled on my iMac, but it doesn't do any thing when I press command + F2. Any help is much appreciated.  Thanks, vj


What really happens when you use sine, cosine or tangent.

Please keep in mind that I am only a beginner when it comes to trigonometry. I understand that sine is opposite/hypotenuse, cosine is adjacent/hypotenuse and that tangent is opposite/adjacent. My questions is that when you input sin(B)=AC/Hypotenuse (when hypotenuse and B is given to us). What does the calculator do to get the answer.


What is the proof behind the formula $\frac{x^n - a^n}{x-a} = x^{n-1} + x^{n-2}a + x^{n-3}a^3+...+xa^{n-2} + a^{n-1}$  Please help. I don't even know how to begin.


rendered imaged looks deformed compared to view port camera

I created a scene and set up the camera and everything looks OK in the  viewport. After I render the result looks different than expected.  See the images below:   Camera view render in viewport. That's what I want The result after I hit render.


NullPointerException while passing context from fragment to SQLiteOpenHelper class

This code runs perfectly in API level 21 but it is not working in API level 19. It is producing a NullPointerException.  I have checked out a lot of problems related to this on Google, but they have not been helpful.  I am calling SQliteOpenHelper from a child fragment, so here is my code with errors:  // This is my Chatbox class which a childfragment and // I am calling this method to pass values in sqlite class   private void saveConversation(String profile_name,String profile_id,String message,String who){     sqLite = new SQLite(getContext());     SQLiteDatabase sqLiteDatabase = sqLite.getWritableDatabase();     sqLite.onCreate(sqLiteDatabase);     sqLite.insert(profile_name, profile_id, message, who); }   //Sqlite class public class SQLite extends SQLiteOpenHelper {      SQLiteDatabase sqLiteDatabase  =  this.getWritableDatabase();      ContentValues contentValues;     Context context;      public static final String DatabaseName = "Communication";     public static final String TableName1  = "ChatConversation";     public static final int DatabaseVersion = 2;      public SQLite(Context context) {         super(context, DatabaseName, null, DatabaseVersion);         this.context = context;     }      @Override     public void onCreate(SQLiteDatabase db) {             Toast.makeText(context,"on create table is called !!",Toast.LENGTH_SHORT).show();             db.execSQL("CREATE TABLE IF NOT EXISTS "+TableName1+"(_id INTEGER PRIMARY KEY AUTOINCREMENT,profilename VARCHAR(50),profileid VARCHAR(50),message VARCHAR(255),who VARCHAR(20))");     }      @Override     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {      }      public void insert(String profilename,String profileid ,String message, String who){         Toast.makeText(context,"insert database was called",Toast.LENGTH_LONG).show();         contentValues = new ContentValues();         contentValues.put("profilename",profilename);         contentValues.put("profileid",profileid);         contentValues.put("message",message);         contentValues.put("who",who);         long id = sqLiteDatabase.insert(SQLite.TableName1,null,contentValues);         if(id>0){            Toast.makeText(context,"successfully inserted", LENGTH_LONG).show();         }else{             Toast.makeText(context,"Something went wrong", LENGTH_LONG).show();         }     }  }   Here is my error:  com.example.shuresnepali.communicationpost, PID: 21374    java.lang.NullPointerException    at android.widget.Toast.<init>(Toast.java:117)    at android.widget.Toast.makeText(Toast.java:275)    at com.example.shuresnepali.communicationpost.SQLite.onCreate(SQLite.java:28)    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:252)    at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)    at com.example.shuresnepali.communicationpost.SQLite.<init>(SQLite.java:13)    at com.example.shuresnepali.communicationpost.Chat_box.saveConversation(Chat_box.java:283)    at com.example.shuresnepali.communicationpost.Chat_box.onClick(Chat_box.java:149)    at android.view.View.performClick(View.java:4652)    at android.view.View$PerformClick.run(View.java:19318)    at android.os.Handler.handleCallback(Handler.java:733)    at android.os.Handler.dispatchMessage(Handler.java:95)    at android.os.Looper.loop(Looper.java:146)    at android.app.ActivityThread.main(ActivityThread.java:5641)    at java.lang.reflect.Method.invokeNative(Native Method)    at java.lang.reflect.Method.invoke(Method.java:515)    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1288)    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1104)    at dalvik.system.NativeStart.main(Native Method)


Why doesn't my program not registering the value of the sting variable? When I run the program, it all goes fine, but when I get to the part where I type in the planet, the pathway goes directly to the invalid choice, and not the actual decision.   import java.util.Scanner; public class Planet  {  public static void main(String[] args)  {     //Import the scanner     Scanner keyboard = new Scanner(System.in);      //Create variables     double weight = 0;     String planet = "";     double result = 0;       //Ask for user's weight     System.out.println("What is your weight on Earth?");     weight = keyboard.nextDouble();      //Open menu for planets     System.out.println("\nChoose a planet...\n\nMercury\nVenus\nMars\nJupiter\nSaturn\nUranus\nNeptune\nPluto");     planet = keyboard.next();       //Calculate weight     if (planet=="Mercury")     {         result = (weight * .37);     }     else if (planet=="Venus")     {         result = (weight * .88);     }     else if (planet=="Mars")     {         result = (weight*.38);     }     else if (planet=="Jupiter")     {         result = (weight*2.64);     }     else if (planet=="Saturn")     {         result = (weight*1.15);     }     else if (planet=="Uranus")     {         result = (weight*1.15);     }     else if (planet=="Neptune")     {         result = (weight*1.12);     }     else if (planet=="Pluto")     {         result = (weight*.04);     }     else       {         System.out.println("Invalid choice.");     }      //Output weight     System.out.println("Your weight is " + weight + " on Earth. Your weight is " + result + " on " + planet + ".");   }   }


Not sure which site to post my vague programming question

I'm interested in coding a website with a certain set of functions and since I have no idea on how to approach the problem, and what technologies to begin coding with, I'd like some advice. I've seen somewhat similar questions asked on SO but they've been shot down by mods saying that it's 'not a proper question.'  So I was wondering, where is the proper place to ask a somewhat vague question of this sort? (I was thinking WebApplications.)  Thanks!  Edit: So it seems META needs to come up with something to fix this flaw..  Edit 2 : Or not.


Python. Does not print text while while-loop or only if print include newline

I want to print the actual remaining time and this in the way in one line on the screen. So I print the persistend part of the text before the while-loop and only overwrite the old number characters of the text within the while. There is time.sleep() in the space of the while loop. But this does not matter. It does not print. Not until the while-loop was passed.  I work with Windows 7 by the way.  I tried to change the output stream to a file to figure out if cmd is too slow. I tailed the file with notepad++. The same happening. It seems to me a newline is important to print.      import sys     temp = sys.stdout     sys.sdtout = open('testfile.txt', 'w')     # my code <---*     sys.stdout.close()     sys.stdout = temp     # my similiar code to demonstrate *---> i = 5 m = len(str(i)) print('Remaining time in seconds: {}'.format(' ' * m), end='') while i:     m = len(str(i+1))     st = '{}{}'.format('\b' * m, i)     print(st, end='')     time.sleep(1)     i -= 1 print('\b0')


Prove that random variable is uniformly distributed

The time when I studied probability theory was about three years ago, so I have forgot many things and want to refresh them.  I want to prove that if $X,Y,Z$ are independent and uniformly distributed on $[0,1]$ random variables then $(XY)^Z$ is also uniformly distributed on $[0,1]$.  As I know uniformly distributed on $[0,1]$ variable has density $\rho (t)= \begin{cases} 1, t \in [0,1]\\ 0, t \notin [0,1] \end{cases}$.  Denote $\xi = XY$. Since $X$ and $Y$ are independent $\rho_\xi (t) = \rho_X (t) \rho_Y (t) = \begin{cases} 1, t \in [0,1]\\ 0, t \notin [0,1] \end{cases}$, so $\xi$ is uniformly distributed on $[0,1]$.  Denote $\zeta = (XY)^Z$. Since $\xi$ and $Z$ are independent, we obtain in the same way that $\rho_\zeta (t) = \rho_\xi (t) \rho_Z (t) = \begin{cases} 1, t \in [0,1]\\ 0, t \notin [0,1] \end{cases}$ and we are done.  It seems to me that I'm wrong. Can anyone explain me why it is incorrect (I believe that it is) and show the right solution?


Say's that it is in line 11. Any help? I'm just trying to sort an array of 10 strings by length.  import java.util.*; public class lab10 {     public static void main(String[] args) {         Scanner key = new Scanner(System.in);          System.out.println("Enter 10 strings and I'll sort them by their length. Smallest to largest.");         String[] input = new String[10];         String smallest = input[0];          for(int i=0; i<10; i++){             if(input[i].length() < smallest.length()){                 smallest = input[i];             }             System.out.println(smallest);         }         key.close();     }    }


Last vertex visited by the symmetric random walk on a discrete circle

$n$ cats form a circle, indexed from $0$ to $n-1$. At first, there is a ball at the cat $0$. We throw a coin with the probability of $p$ heads up. If the coin is heads up, we pass the ball clockwise, otherwise counter clockwise. We repeat this until all cats have touched the ball. What is the probability of the ball finally at the cat $k$?


I have an array, and I want to compare elements between each other, but want to avoid comparing them more than once, so in other words, once I compare array[0] with array[1], I don't want to compare again array[1] with array[0], I will end up having this code:  for(var i:int = 0; i < array.lenght; i++){       var entity:Object = array[i];        for(var j:int = i; j < array.lenght; j++){            //do stuff        }    }   This is not O(N^2), maybe it is O(logN)?. What method do you use to calculate this?.


Remind players of critical information that would be obvious to the characters?

To make a long story short, a campaign I was playing in [as play-per-mail] has come to a standstill. The cause of this is the following:  My character dove into the river, to retrieve something that was lost, and spent some time in the water. When he emerged, I was told to "maybe take it easy from here on, because my character was close to fainting." When I asked how this had happened, the reply was that it was winter [something I was told a couple of sessions ago--when it was still played around a table--but had long since forgotten] and that the water was almost at a freezing temperature.  I feel like the GM should've at least reminded me of these facts before I dove into the water, as I might've forgotten this, but it is something that would be totally obvious to my character. Was this my responsibility to check?   How should we proceed after this? [As the state of my character is kind-of important at the moment of emerging from the water.]


YA book about two boys, a parallel universe, and a wolf

As a kid I read a book about two boys who hate each other and are opposites to each other (lanky red-haired runner vs. stocky black-haired wrestler). They're transported to a parallel world where they have to undertake some sort of quest. Miscellaneous memory-fragments:   I think there's a magical yin-yang amulet. There's a wolf-spirit or wolf-god. Possibly called Fenrir? What we call magic they call science; what we call poetry they call magic. They're summoned into the other world by a bald man in a robe who looks a little like Varys from GoT.   Does this sound familiar to anyone?


How to prove $\sum\limits_{n=1}^\infty\frac{\sin(n)}n=\frac{\pi-1}2$ using only real numbers.

I noticed that a lot of the time, people ask whether the following sum converges:  $$\sum_{n=1}^\infty\frac{\sin(n)}n$$  Though I've never stopped to ask what it equaled.  According to this , the sum is given as  $$\sum_{n=1}^\infty\frac{\sin(n)}n=\frac{\pi-1}2$$  The solution involves realizing $\sin(n)=\Im e^{in}$ and the Taylor expansion for the natural logarithm.  While thats great and all, how can I prove this using only real numbers?


I live in France and the ISP I've subscribed to provides a regular phone line along with my Internet connection. Here's a simple schema of my setup:    Since I don't use this phone line I would like to switch the regular phone with a computer (preferably running Linux) where I could receive/handle calls programatically. For example, execute a shell script if I press 2, that kind of thing.  How can I receive phone calls on a Linux server and script stuff depending on the numbers pressed?


Show that a graph has a unique MST if all edges have distinct weights

Prove that if all edge-costs are different, then there is only one cheapest tree (minimum spanning tree or MST). (Use contradiction and make sure to keep track of the costs of the different trees involved.)  Here is my attempt: Proof by contradiction Assume that there is more than one cheapest tree, A and B. Assume that tree A and B are different and have the same weight. Let says that the smallest difference in edge cost between A and B is 1. Now, change one of the random edge (not contain in B) in A by half. This does not affect the path or order. However, A is cheaper than B now. This is contradiction. Thus, the original statement still hold. Is this the correct logic? How do I write it out formally?


What should i do to put dash along the question itself?

I need to give a answer line along the question. what should I do?  That is if I have a question like this..  The value of $\sin^2\theta+\cos^2\theta=______________$   What should I do to put dash along the question itself.


Distortion from Sound Blaster Z after switching to headphones with 4 pole jack

I bought new headphones that have a 4 pole jack, to replace a headset with split audio and mic jacks (both 3 pole).  My PC has a Sound Blaster Z with mic and headphone ports. The old 3 pole headset worked fine, but my new headphones experience distortion when connected to the card directly, but are fine with my monitor and phone.  Do I need some type of splitter to connect these headphones to the card?


phpmyadmin not working due to missing extensions

I am about to use phpmyadmin on Ubuntu 16.04. But it shows that the page is not working. the error log says error 500   PHP Fatal error:  require_once(): Failed opening required '/usr/share/php/php-gettext/gettext.inc' (include_path='.:/usr/share/php') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 477   At first it says that the mysqli|mysql extension is missing. but after sleepless hours I forget what I've been done to it. I am using php7.


How can one write a meta-macro that adds a starred version to a command?  Intended use would be along the lines of  \newcommand\foo[1]{foo is #1} \addstarred\foo[2]{foo is #1, bar is #2}


Is there any difference between defining public methods inside and outside constructor?

class My {    constructor() {     this.myMethod1 = function(){};   }    myMethod2() {    } }   So is there any difference between myMethod1 and myMethod2?


How to make set of equations appear side by side using empheq package?

\documentclass[11pt]{article} \usepackage[margin=.2in, paperwidth=8.5in, paperheight=11in]{geometry} \usepackage{amsmath} \usepackage{mathtools} \usepackage{empheq} \begin{document}  \begin{empheq}[box=\fbox]{align*} \sin(A+B)&=\sin A\cos B+\cos A\sin B\\ \sin(A-B)&=\sin A\cos B-\cos A\sin B\\ \cos(A+B)&=\cos A\cos B-\sin A\sin B\\ \cos(A-B)&=\cos A\cos B+\sin A\sin B \end{empheq} \begin{empheq}[box=\fbox]{align*} \sin(A+B)+\sin(A-B)&=2\sin A\cos B\\ \sin(A+B)-\sin(A-B)&=2\cos A\sin B\\ \cos(A-B)+\cos(A+B)&=2\cos A\cos B\\ \cos(A-B)-\cos(A+B)&=2\sin A\sin B \end{empheq}  \end{document}   This displays the following sets of formulas:  Here the boxes are placed in vertical order. How would I make them appear side by side?


Why is it interesting to study gravity in (2+1)D?

I often see people researching (2+1)-Gravitational theories such as Chern-Simons. Why is it interesting or what's the motivation underlying that study if there are 4 macroscopic dimensions?


How to handle java.io.InvalidClassException?

Please tell me what i do this exception is coming and and i don't know how to remove it     java.io.InvalidClassException: applyonline.Applicant; local class   incompatible: stream classdesc serialVersionUID = 8333391523914038903,   local class serialVersionUID = -6432228733925744354       public class Applicant implements Serializable{          public String getId() {             return id;         }          public String getPassword() {             return password;         }          public void setId(String id) {             this.id = id;         }          public void setPassword(String password) {             this.password = password;         }          public Applicant() {         }         public boolean checkLogin(String id,String pasword) throws SQLException, IOException, ClassNotFoundException         {             db dbhandlerobj=new db();             ArrayList<Object> appList;  /*  ----> */   appList = dbhandlerobj.getObject("Applicant","ApplicantInfo"); /* <------*/             for(Object obj: appList)             {                 Applicant app=(Applicant)obj;                 System.out.println("ID:::::"+app.getId());                 if(app.getId().equals(id) && app.getPassword().equals(pasword))                 {                     return  true;                 }             }             return false;         }         private String id;         private String password;     }   OR Mapper class   public class db {     Connection con;     String host="jdbc:derby://localhost:1527/Hamza";     String userName="Hamza";     String pasword="123";     public db() throws SQLException {          this.con =DriverManager.getConnection(host, userName, pasword);     }     public void storeObject(Object object,String name) throws IOException, SQLException     {         PreparedStatement ps;         ByteArrayOutputStream baos =new ByteArrayOutputStream();         ObjectOutputStream obos=new ObjectOutputStream(baos);         obos.writeObject(object);         obos.flush();         obos.close();         baos.close();         byte []data=baos.toByteArray();         String sql="insert into "+name+" values(?)";         ps=con.prepareStatement(sql);         ps.setObject(1,data);         ps.executeUpdate();     }     public ArrayList<Object> getObject(String tableName,String columnName) throws SQLException, IOException, ClassNotFoundException      {         PreparedStatement ps;         String sql="select * from "+tableName;         ps=con.prepareStatement(sql);         ResultSet rs=ps.executeQuery();         ArrayList<Object> studentList=new ArrayList<Object>();         while(rs.next())         {             try (ByteArrayInputStream bais = new ByteArrayInputStream(rs.getBytes(columnName))) {                 ObjectInputStream obis;                 obis = new ObjectInputStream(bais);                 studentList.add((Object)obis.readObject()); //<----ERROR IN THIS METHOD             }         }                 return studentList;     }   }**


I'm attempting to run an Android emulator from my Asus laptop, but I've run into some issues.  I intend on using Genymotion, but VirtualBox gives me this error.  " Failed to open a session for the virtual machine Android 6.0.0 tablet-phone.  VT-x is not available. (VERR_VMX_NO_VMX).  Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6} "  I've looked around a little bit but? I'm still lost. Not sure if it affects anything but I can't access VB's acceleration settings tab either, it's greyed out and unclickable.  Thank you in advance for any help!


Is spilt layout good to display active and non-active products after user sign in to their saas account?

I have created a wireframe for this.   Am I doing it correct or is there any other best way in UX/UI?  My goal is to upsell/promote non-active products.  Why My question here is different? Its different because, I asked about the layout. eg: is it good idea according to my wireframe to place active and non-active products to increase visibility?  Please note this will be the first page the user will see after they LOG In.


What's the expected value for a poisoned bottle

There are bottles numbered from 1 to n. Every bottle k has   $\frac{1}{k}$ chance of being poisoned. A random bottle is picked (evenly distributed) and   is found to be poisoned. What's the expected value for the number of   the bottle that was picked?   Here's what I had in mind:  A - The bottle that was picked is poisoned  X - The number of the bottle that was picked  We're searching for:  $$\mathbb{E}[X|A]=\sum_{i=1}^n iP(X=i|A)$$  The problem is calculating the probability. I tried using Bayes' theorem but I can't calculate $P(A)$.  Any ideas?


How should anonymous types be used in C#?

I've seen lots of descriptions how anonymous types work, but I'm not sure how they're really useful.  What are some scenarios that anonymous types can be used to address in a well-designed program?


I am curious as to whether there is an equivalent to the Alt-. command on Mac. On my computer it inserts the following character: ≥, instead of showing the .


I have started to work with sending data over sockets the past few weeks. I started by sending multiple strings with my data and then parsing the data into floats or what ever type i needed it for. but over time i noticed my client would start to slow down because its reading and converting multiple strings and using them while my server is only dishing them out. So i began sending Serializable objects which work and are great but i have some questions about them.  public class Packet implements Serializable{     private static final long serialVersionUID = -7896044384334791233L;     //data here }   a class i would send looks something like this but with the data i want to send. Removing the serial VersionUID creates a error. What is the serialVersionUID and if it is the same in all the objects i am sending why is this one long necessary for my program to work?


Why use the 'ref' keyword when passing an object?

If I am passing an object to a method, why should I use the ref keyword? Isn't this the default behaviour anyway?  For example:  class Program {     static void Main(string[] args)     {         TestRef t = new TestRef();         t.Something = "Foo";          DoSomething(t);         Console.WriteLine(t.Something);     }      static public void DoSomething(TestRef t)     {         t.Something = "Bar";     } }   public class TestRef {     public string Something { get; set; } }   The output is "Bar" which means that the object was passed as a reference.


Do photons exist at all possible wavelengths?

My question refers to Photon flux spectrum diagrams.   The diagram shows the number of photons at different wavelengths. My question is whether the graph is granular or continuous. Do photons exist at all possible wavelengths, or are there some "forbidden" wavelengths?  --- I want to get a PFD data set but not sure how to treat the 0.5 nm increments in the  (G173-03) Spectral data.  Below my calcuations are in green. I am afraid I am double counting photons the way ive done it so far.  (small note the coloumn D should say PFD and not PPFD*)


I'm currently trying to get my head around how to create an item class which contains data for multiple purposes.  As for example I would like to have an Axe which could be used as weapon, but also as a tool to chop trees. The class should contain the following:  Durability, weight, damage vs npcs/players (when attacking), damage vs trees (when chopping), attack speed, chop speed and some enum in which equipment slot the axe fits (e.g. melee slot).  What would be the typical approach?  I stumbled about  answer, but I'm not 100% sure if I'm understanding him right. Is it something like:  public class Item {      public int durability;     public float weight;      public Weapon weapon;     public Tool tool;      public class Weapon {         public int damage; // damage vs players         public int speed; // attack speed     }      public class Tool {         public int damage; // damage vs trees         public int speed; // chop speed     } }   ?


Why do people seem to vote for answers more than questions?

I think the weighting of answers to questions is too lopsided in favor of answers.   I routinely pose questions such as this one: , which gets many upvoted answers but then my question doesn't get upvoted. That doesn't make sense to me.   Can somebody explain this Q/A weighting imbalance?


UK visa application after earlier refusal

I intended to travel to the UK for the PACES/MRCP exam back in May 2016. My visa was refused because of inadequate funds in my account and low salary. I was doing a fellowship in cardiology at that time and was earning only PKR 15000 (GBP 105) per month which was marked as insufficient balance.  Secondly, my mother had transferred around PKR 400,000 (GBP 2816) into my account as a gift from her account. I had with me my mother's account and transaction details, as well as an affidavit stating the amount was a gift.  Now 3 years have passed. I have completed my fellowship and I am working as a cardiologist in a government hospital with regular job and a salary of PKR 1,00,000 (GBP 588) per month. I have had this job for the last 2 years. I have a current running account of PKR 1650000 (GBP 9705) with my monthly expenses around PKR 20000 being paid from that account. I also have a car worth PKR 2.5 million (GBP 14000) in my name and I own some land worth PKR 50,00,000 (GBP 29411).   I recently passed the PACES/MRCP exams given in Doha, Qatar. I now intend to travel to London in July 2019 for a diploma-conferring ceremony at the Royal College of Physicians.   What should I do this time around so that my visa application doesn't get refused?


I have this confusion of surface tension, in my books it is written that surface tension occurs due to cohesive forces acting on the particles which makes them to contract.  (If this is the case then gases should also have surface tension.)  My tutor told me that Surface Tension occurs because at the surface energy is more and less at depth so to have less energy it contracts.   So what exactly is the reason for surface tension to occur ?


Site-specific MathJax affects all sites' question titles in front page hot network questions list

I noticed while browsing Worldbuilding's front page that the hot network questions list seems to use Mathjax globally for question titles, even when the site the question is from doesn't use Mathjax, leading to unexpected results.  See for example the Server Fault question here:    The real title of that particular question is Get-ADGroupMember $Group fails when $Group contains principals from other domains.  Hence:   Question titles from sites that do not have Mathjax enabled should not be rendered using Mathjax, even if the site the list is being rendered on/for has Mathjax enabled. Questions from sites that do have Mathjax enabled should have their titles rendered using Mathjax, ideally regardless of whether the site the list is being rendered on/for has Mathjax enabled or not but at least on sites where Mathjax is enabled.


Clauses of purpose: "for + -ing" or "to-infinitive

In the following sentence, how should the clause of purpose be introduced?        In addition to normal maintenance, there are additional costs associated with interventions that may be required to meet/for   meeting minimum safety standards


Ruby | 2 float number multiple not giving the exact value

I have 2 float number and I try to get the multiple. But in the console it does not get the correct one. I do not know maybe there is a leak ?  {"price"=>"0.049391", "size"=>"0.001"}   When I multiple them console shows;  ************ 0.049391 ************ 0.001 ************ 4.9390999999999995e-05 ************   Then when I push this data to array and in front end when I console.log  I get;  0.000049390999999999995   Why it is not  0.0000493901 ?


Why is the spoken German in many US films and TV shows so inaccurate?

Is there a reason why in so many English-language movies and TV series, whenever someone is speaking "German", they (actors, writers etc.) just don't care about if what they say is right or wrong? This can range from:    just minor grammatical errors e.g. "Schieß dem Fenster" in "Die Hard":                                rambling some made-up words and claiming them to be German e.g. "Lebenslangeschicksalssatz" in "How I met your mother"                                wrong German paired with a bad accent e.g. in "Scrubs"                                up to native German speakers talking complete nonsense e.g. Heidi Klum in HIMYM                                  I don't know if this is the same with other languages (for example there is a scene in Scrubs where the cast speaks Spanish, but there might be similar mistakes:                                 Do the creators and actors just not want to speak correct German and at least use correct German words, or is there simply no money in a $100,000,000 movie production to ask a native speaker to look over your script and maybe correct some of the lines?


Why break inside for cycle doesnt iterate properly on occasion

I am trying to create Python code which sorts an input list and creates tuples with number pairs which differ by 2: def diff2(input_list):     input_list.sort()     result = []     for i in input_list:                        for i2 in input_list:                       if i + 2 is i2:                 result.append((i, i2))                           break                                       elif i + 2 < i2:                                     break     print(result)     return result  My test input data: [49, 51, 75, 77, 109, 111, 119, 121, 121, 123, 124, 126, 126, 128, 170, 172, 290, 292, 308, 310, 318, 320, 444, 446, 562, 564, 564, 566, 566, 568, 568, 570, 570, 572, 633, 635, 674, 676, 711, 713, 713, 715, 901, 903, 903,905, 963, 965, 988, 990])  The code appends the touples correctly until the pair (121, 123). After the append (and corresponding break), for some reason the outer for cycle doesn't iterate further, but it holds its value at 121 for another cycle, than continues like nothing happened. Also after (170, 172) the code seems to continue, (when I tried it in debug it even went into the append line) but still didn't do any appends. So it basically just stops at 170,172 while I think it should continue and create other number pairs as well (290, 292), (308, 310) etc. Are the two problems related? What am I doing wrong? Thanks in advance for any feedback.


Terminal method of formatting storage drive

I want to know how to format a storage drive from the terminal. Helpful things to provide in the answer would be often used options for commands and base knowledge that one can use to extrapolate future uses. Specifically I would like to know how to format in the different file systems such as NTFS, FAT32, EXT4, etc. Information on how to partition the drive via terminal is also wanted.  I am trying to format a high capacity external hard drive (EHDD) into NTFS - from the terminal.   I know I can use gparted for this as well as other GUI programs, but I still want to now how to do it from the terminal.


I have tried to install inkscape, with $sudo apt-get install inkscape  But I got an error: dpkg: unrecoverable fatal error, aborting:  unknown system group 'smmsp' in statoverride file; the system group got removed before the override, which is most probably a packaging bug, to recover you can remove the override manually with dpkg-statoverride E: Sub-process /usr/bin/dpkg returned an error code (2)  should i remove that group smmsp causing the error? What does even mean system group here? and what is in statoverride file, what configuration?


Continue javascript execution when errors occurs

I use the WP native function wp_enqueue_script() for all my JavaScripts loading both in WP front and back-end so it can handle duplicated calls to the same script and so on.  One of the issues is that others programmers don't use this function and load their scripts directly from their code, which causes jQuery or jQuery-UI being loaded twice, leading to a bunch of errors.  The other issue is that code not owned by my triggers an error and stops the execution of the JavaScript beyond this point.  EDIT:  In short:   A javascript error occurs in code not owned by me. My code don't executes due to that f*%@ error. I want that my code bypass that error and still executes.   There is a way to handle these issues?


QGIS convert long integers stored as string to integer

I have long integers (11 characters) stored as text in a shapefile that I need to convert to integers, but when I attempt to convert them in the QGIS field calculator, I get the following error:  Eval Error: Cannot convert '26001980100' to int   The value in the error code above is the value from the first row in the field. I though this might be due to a field width constraint in shapefiles for integer columns, so I then imported the shapefile into a spatialite database and tried again without success. In both cases I was trying to create a new field populated by the converted values. How can I convert this field to integer?   The problem appears to goes deeper: after creating a new field and populating it with the integer values via the spatialite command line tool, QGIS does not then "see" the new field in the updated table. Am I out of luck with long integers in QGIS?  QGIS 2.12.3  Edit: I'm not sure whether this is a duplicate because the error appears specific to cases of converting strings having a length greater than 10 to integer. I tried the answer supplied  to convert to integer without luck. However, I was able to use that answer to convert the field to REAL, which is adequate for my purposes. The field in question is a foreign key, and the tables containing the primary key all store the values as INT, so I wanted to be consistent, but I can still join INT to REAL.


SQL Script that removes all non-numeric numbers

I need a SQL script that will remove all non numeric character for each record in a SQL table column. The column is used to hold phone numbers and there are many different formats in the database which is why i just want it to update the table remove all the non-numeric character and change it a number. Does anyone have a good one-time script that can update all of the records in the table?  Edit:  It looks like the only character i really need to replace is "-", "(" and ")"


If $\lVert x\rVert=\lVert y \rVert$, prove that exists a unitary transformation such as $Tx=y$

Given $V$ a unitary vector space with a finite dimension, and let $x, y$ vectors in $V$ such as their norm is the same $\left(\lVert x\rVert=\lVert y \rVert\right)$. Prove that exists a unitary transformation $T:V\to V$ that assigns $x$ to $y$ $(T(x)=y)$.  What I've been trying to do is to complete $x$ and $y$ to a basis of $V$, $B=\{x,y,v_3, v_4, ..., v_n\}$, and then define $T$ on B's vectors, like so- $\ \ T(x)=y,\ T(y)=x,\ T(v_i)=v_i \;\forall i\in\{3,\ldots,n\}$. However I cannot seem to be able to prove that this transformation is indeed unitary, and at this point I'm not even sure it is.  Would love a hint, and thanks in advance.


Installing firmware-b43-installer in terminal, get E: Could not get lock /var/lib/dpkg/lock

I am getting the following error message. Please help  $sudo apt-get install firmware-b43-installer [sudo] password for sophon:  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


Vertical align a text to the middle of a button that includes a full heigh image to send as email

I know there are a lot of similar questions, but the solutions don't seem to work. I think that's because the button includes an image with style="height:100%;" (but I'm not sure) Note: the button is to use on an email, so I'd say it's better to use inline css. My last attempt has been including a span within the button for the text only:   <button style="height:100px; font-size:24px; color:white; background-color: #4CAF50; "> Send WhatsApp</button>    The output is this:  I've also tried to add to several places (with no result): display: table-cell; vertical-align: middle; I've not more ideas. How to center that text vertically to the center?


10001 and in general $10^k + 1$, how can we identify without brute force that such numbers are not prime?

I know that $137 \times 73 = 10001 $. I am looking for a properly reasoned approach.  I believe that there is some general result also which says that all numbers of the form $10^k + 1$ (for $k>2$) are NOT prime. Why? I mean can the general expression for the factors of such numbers be found?


Prove that $a^n$ divides $b^n$ implies that $a$ divides $b$.

For $n \ge 1,$ and positive integers $a,b,$ show the following:      $\rm (a)$ If $\gcd(a,b)=1,$ then $\gcd(a^n,b^n)=1.$      $\rm (b)$ The relation $a^n\,|\,b^n$ implies that $a\,|\,b.$   This is a problem from Elementary Number Theory by David M. Burton. I was able to solve part $\rm(a)$ by expanding $(ax+by)^{2n-1}$ using binomial theorem and factoring. To solve part $\rm(b)$, I used Bezout's theorem along with the following hint given in the book:     Put $d=\gcd(a,b)$ and write $a=rd,b=sd,$ where $\gcd(r,s) = 1.$ By part $\mathrm{(a)},\, \gcd(r^n,s^n)=1$. Show that $r=1$, whence $a=d.$    Before seeing the hint, I tried using mathematical induction as follows.     Let $S$ denote the set of all positive integers $n$ for which $a^n\,|\,b^n\implies a\,|\,b.$ We observe that when $n=1,$ $a\,|\,b\implies a\,|\,b.$ This means that $1\in S.$       Next, assume that $k\in S$ so that $a^k\,|\,b^k\implies a\,|\,b.$ Since $a^k\,|\,b^k,$ we can write $b^k$ as $$b^k=ma^k\tag1$$ for some integer $m$, and $b$ as $b=ra$ for some integer $r$.       Multiplying $(1)$ by $b$ yields   $$\begin{align*} b^k\cdot b&=ma^k\cdot b,\\ \text{or,}\quad \quad b^{k+1}&=ma^k\cdot ra,\\ \text{or,}\quad\quad b^{k+1}&=mra^{k+1},\\ \text{or,}\quad\quad b^{k+1}&=ca^{k+a},\tag{where $c=mr$}\\ \text{i.e.,}\!\quad\quad a^{k+1}\,&|\,b^{k+1}, \end{align*}$$ which is precisely the case for $n=k+1,$ putting $k+1\in S$ whenever $k\in S$. According to the first principle of finite induction, $S$ must be the set of all positive integers.      $``\,\blacksquare"$   Is my proof correct?


A city's population in the $n^{th}$ year is denoted by $x_n$ (in millions). If, $\forall n \in \mathbb N^+$, we have: $x_1 = \frac34$, $x_{n+1} = 2x_n - x_n^2$, show that as $n \to \infty$, the population will tend to a finite limit. What is this limit?    For this question, I am supposed to use the Monotone Convergence Theorem, so I decided to start off by showing that that sequence $(x_n)$ is bounded. I wrote:    For each $n \in \mathbb N^+$, $x_n \ge 0$ (population cannot be negative). Also, $x_{n+1} = x_n(2 - x_n)$. If $x_n > 2$ then $x_{n+1} < 0$ which is an impossibility. Therefore $0 \le x_n \le 2$ and so $(x_n)$ is bounded.    For the "monotone" part of the proof, I computed a couple of terms of the sequence and realised that it was increasing towards the value $1$. I tried induction but got stuck. Here's what I wrote:    Let $P(n)$ be the proposition that $x_n \le x_{n+1}$. $P(1)$ is true (not gonna show the working here). Assume that $P(k)$ is true for some $k \in \mathbb N^+$, i.e. $x_k \le x_{k+1}$. Then I need to show $x_{k+1} \le x_{k+2} = 2x_{k+1} - x_{k+1}^2$. We have $x_{k+1} = 2x_k - x_k^2 \le 2x_{k+1} - x_k^2$. But from the inductive hypothesis we get $x_k^2 \le x_{k+1}^2$, which means $2x_{k+1} - x_k^2 \ge 2x_{k+1} - x_{k+1}^2$ and so we can't conclude $x_{k+1} \le x_{k+2}$?    Any help in this question is appreciated.


Please help - I want to merge and extend JavaScript objects in a way like in example below:  var objects = [{         id: 1,         fruits: "apple"     },{         id: 1,         fruits: "bannana"     },{         id: 2,         fruits: "tangerine"     },{         id: 2,         fruits: "plum"     }];   and to have results like:  var results = [{         id: 1,         fruits: ["apple", "bannana"]     },{         id: 2,         fruits: ["tangerine", "plum"]     }];   Is there any JavaScript, jQuery or easy custom solution to do it? It is different situation then here  or also $.expand() does not do here what I want. Thanks a lot!


Is there a simple method to prove that the square of the Sorgenfrey line is not normal?  The method in the book is a little complex.  Could someone help me?


I've always heard that gravity warpes spacetime, but I've never understood why and/or how. I'm only 12 so please keep it simple if possible.


Can a Mac be used by multiple users at same time?

Can a Mac be used by different users at the same time?  I mean to say that we have a single Mac but 3 users. Can they access the same machine remotely at the same time for developing applications on iPhone or Mac?  Does Mac OS X server allow us to do this?  If so, how do I configure it for that?


could have vs would have  I know could means indicating a possibility or ability, and would means the past of will or something about that is uncertain.  Which of the following is correct?      If you had told me, I would have used the other route.   If you had told me, I could have used the other route.   Both of the above sound correct and similar to me.  Are these also possible?      If you had told me, I would use the other route.   If you tell me, I would use the other route.     Please clear my confusion.


This is the English version (including later edits) of .  I use Xubuntu 16.04.6 LTS, currently with Linux kernel 4.4.0-145-generic x86_64.   Xfburn has version 0.5.4 for Xfce 4.12.  I use a Lenovo W530 laptop, the CD/DVD-RW-drive in it is shown as MATSHITA DVD-RAM UJ8C0. Xfburn shows all possible check marks for it except for "write blue ray disks".  I am using blanks of type Verbatim CD-R 700 MB 52x.  The FIFO-buffer of Xfburn is set to the maximum possible, which is 16384 kB on this installation.  I always get error messages of this type     Failed: Burn Run failed.   Usage of the FIFO-buffer shows 99%, for the device buffer 100% usage is shown.  In the configuration check marks were set for:    Eject CD,   Simulate,   Burn Free,  Stream Recording.   There was no checkmark at "only create ISO".   (I also have tried to write with a reduced speed, but that also did not work.)  What‘s wrong here?  Edits: As suggested by a comment, I start xfburn from the command line to show its error messages:  $ xfburn ** Message: 18:09:48.866: Using UDEV ** Message: 18:09:52.110: Using gstreamer transcoder.  ** (xfburn:12230): WARNING **: 18:12:50.707: [FATAL] 131357: SCSI error on write(32,16): [5 30 05] Illegal request. Cannot write medium, incompatible format. (0)  ** (xfburn:12230): WARNING **: 18:12:50.707: [FATAL] 131339: Burn run failed (0)   Of course, the blank used in this trial gets lost: If I re-insert the disk drawer, many CD access operations happen. One has to be very patient to let them all finish. This time the file system on the CD is not mounted after the disk is inserted and all CD operations have come to an end. I remember that Thunar showed me the content of the disk with its directory structure and file names last night. When I tried to open one of the files, another almost endless sequence of CD operations took place. But this was without a reboot happened after writing the CD. Today after rebooting and re-inserting this CD and after sudo blkid I see a line   /dev/sr0: UUID="2019-04-08-18-12-20-00" LABEL="Bilder 2019-03-1" TYPE="iso9660"   with the disk label I had given to this disk. Then I tested  $ badblocks -v /dev/sr0 Es wird von Block 0 bis 233879 geprüft Es wird nach defekten Blöcken gsucht (Nur-Lesen-Modus):60 61 62 63 64 65 66 67 68 69 70 ...   The number of futile accesses goes on at least to 151 (I stopped it there) but surprisingly the number of read head movements between consecutive block numbers varies: sometimes it is one such noise from one number to the next one, sometimes there are several such movements.  I wonder about TYPE="iso9660" because the file names to be written to the CD were long ones, they did not follow the 8.3 name scheme known from the stone age of DOS! If I remember right, one needs something like  to break out of the 8.3 name cage.  a) Is it possible to write CDs with xfburn with long filenames?  b) Is the presence of files with long file names or containing non-ASCII characters an explanation for this failure?  c) If the answer to a) is Yes: What do I have to do in order to write such files to a CD?  d) If there is an answer to c): Isn't it a bug of xfburn that it does not provide an error message before it actually tries to burn such files and destroys the CD blank in doing so?


I have heard that you can focus the camera in Blender Cycles, but it doesn't seem to work

I want to be able to have the camera focus on a certain person or object (you know like when stuff in the background is blurry but the stuff in front is clear. I have tried many different things including enabling four min the camera and choosing the object to focus on, and creating an empty and setting the focus on that then placing it on what I want it to focus on). Does anyone know any better way to do that.


I got question banned on Serverfault for asking some bad questions I do admit not my best work. When I tried to post a question on Stackoverflow I realized I was also Question banned. Considering I only have one question with a zero rating and a account reputation of three. I was wondering if the ban was across multiple sites? If so, do I have to raise my reputation on Serverfault or will it work with Stackoverflow as well. If it is a separate ban don't you think that's a little bit steep considering new user wont be stack exchange experts in one or to post.  Edit:  With what Robert Harvey said I have concluded that they are separate bans. What i find hard is I'm new to programming so I don't know very much about it. How am I supposed to answer questions if I don't understand what there're talking about, never mind what the question is. Its like this on 90% of the site and the other %10 already have better answers that I can give.  I could go read about programming but I don't understand it unless i use it in Practice. I can't use it if I don't understand it. It has created and endless loop where I understand something because I can't ask about it. I can't ask ask about it because I don't understand it.  My opinion though effective the auto ban has a crippling effect on new users that are trying to learn. I think it should be more lenient so users that are trying should not get banned after two questions. Because what's going to happen is they will just make a new account to ask questions and it will repeat.  What Robert Harvey said:  You've got some negatively-scored questions which are deleted (SO doesn't show deleted questions in profiles). –  Robert Harvey


How can I update iOS apps that I own but were installed from a different account?

I used to have access to two different app store accounts. My own, personal one and another that belonged to a client I worked with. I had to use that client's account a lot and AFAIK you can't configure an iOS device to remember multiple logins, so I would often install apps I already owned from their account.  I no longer work with that client and, at some point, they changed their password. Now, when I try and update those apps, it challenges me for a password. I could understand this if these were apps I don't have on my own account, but I do.  Deleting and re-installing these apps fixes the problem. But there are some apps I'd prefer not to delete because I want to keep local content.  I'm presuming I might be able to get round this by hooking up my iOS devices to my PC and backing them up with iTunes. Then deleting and reinstalling the apps. However, I'm not sure this will work. I also hate iTunes with a vengeance and would prefer not to use it if at all possible.  Will this work if I try it? Or is there any other way I can get my apps to update?


How to use Data Explorer to find my questions for which I have not accepted an answer?

In the Data Explorer, how do I find the questions I have asked, which are answered but not accepted by me?  In search, I could do something like:  hasaccepted:0 user:id answers:1   I am looking for a similar Data Explorer query.


Euclid's algorithm to find multiplicative inverses over a polynomial field

I'm trying to find the multiplicative inverse of $\overline{x+1}$ over the field $\mathbb{F}_3[x]/(x^3 + 2x + 1)$. I know I need to use Euclid's algorithm to do so, but I keep running into some difficulties.  I let $f(x) = x^3 + 2x + 1$ and $g(x) = x+1$. Then I should be able to compute  $$f(x) = q_1(x)g(x) + r_1(x)$$  $$g(x) = q_2(x)r_1(x) + r_2(x)$$  $$\vdots$$  $$ r_{m-1}(x) = q_{m+2}(x)r_m(x)$$ and then back substitute through the algorithm to solve for $a(x), b(x)$ in   $$ a(x)g(x) + b(x)f(x) = 1.$$ My problem is likely elementary, but it has me confused: I cannot find $q_1$, $q_2$ to make what should probably be a rather trivial iteration of the algorithm work at all. If I was solving for, say, the multiplicative inverse of $\overline{x ^2}$, I could let $f(x) = (x)(x^2) + (2x+1)$ with $g(x) = x^2 = (2x+1)(2x+2)+1$. The division follows nicely from there. However, I can't find out where I'm going wrong for $\overline{x+1}$... What am I missing?


I am translating a story from Turkish to English for my friends. In Turkish we don't have "he/she/it". We only have "O" and it includes all.  the story is about someone in depression. And his or her gender is intentionally unspecified, even avoided, since depression can happen to anybody. The writer just wanted the reader to put himself/herself in character's shoes. unspecified gender is kind of the whole point of story. I can't write "that night, he or she couldn't sleep again." What should I do?


Is there a more succinct alternative to piping to wc for counting files in a directory

If I do ls -1 target_dir | wc -l, I get a count of files in a directory. I find this a bit cumbersome. Is there a more elegant or succinct way?


How can I prove $\Bbb N$x$\Bbb N$ is countably infinite? Is the proof in some book about sets? Somebody help please.


I cant restart my ssh serivice on my WSL

$ sudo service ssh --full-restart  * Stopping OpenBSD Secure Shell server sshd                                                                           [ OK ]     * Starting OpenBSD Secure Shell server sshd       sshd: ../sysdeps/posix/getaddrinfo.c:2583: getaddrinfo: Assertion    `(extension ({ const struct in6_addr *__a = (const struct in6_addr *) (sin6-   >sin6_addr.__in6_u.__u6_addr32); __a->__in6_u.__u6_addr32[0] == 0 && __a->__in6_u.__u6_addr32[1] == 0 && __a->__in6_u.__u6_addr32[2] == __bswap_32 (0xffff); }))' failed.   Aborted (core dumped)


I need to update a variable defined in a pgfmathsetmacro command inside a foreach loop. Apparently, the var is only updated when it is used after the update command. Here is a MWE:  \begin{tikzpicture} \draw [help lines] (0,0) grid (3,3); \pgfmathsetmacro{\a}{1} \foreach \b in {2,3} {     \node [blue] at (\a,0) {\a};     \pgfmathsetmacro{\a}{\b}     \node [red] at (0,\a) {\a}; } \end{tikzpicture}   The red nodes are printed at updated positions and the value printed is also updated; the blue nodes are not: they keep their initial value (1) and are located at the initial position (0,1).  Why is this? Thanks José


Two finite abelian groups with the same number of elements of any order are isomorphic

Suppose $G, H$ are finite abelian groups with the same number of elements of any given order. Show they are isomorphic.   Since finite abelian groups are isomorphic if and only if their Sylow subgroups are, we may restrict our attention to the case where $G, H$, are $p$-groups, but I can't quite make it past there...


Does the word "therefore" always require a comma if it is in the middle of the sentence?

I would like to know if the following sentence is correct. My primary question revolves around the word "therefore" and whether or not it requires a comma.  Understanding why ex-prisoners renew their criminal involvement is therefore an important social issue for scholars, decision makers, and corrections officials.


My dissertation is linked to arXiv but its citations are not found in Google Scholar!

My dissertation has been cited in a few good journals, which Google Scholar indexes. I have added my dissertation to Google Scholar and Google Scholar has even linked it to the arXiv version of my dissertation, which I have recently updated. The issue is that none of the citations of my dissertation have shown up in Google Scholar. What could be the cause?


Prove that $B = (A \cap B) \cup (A' \cap B)$.

I started using the distributive property to open the expression but it goes on and on. $ (A \cap B) \cup (A' \cap B) = B \cap (A \cup B) \cap (A' \cup B)$ (Using distributive property) If I start opening by distributive, the expression gets bigger and bigger, how should I solve it?


How to click on a td created using jquery?

html code   <input type="text" id="cal" />

   function js  function show_calendar () {                 $("#output").html("

" + title_month + " " +year+ "

");                  var thead = $('

')                 for (var i=0; i<=6; i++) {                 thead.append(""+week_days[i]+"	");                 }                 $("#output table").append(thead);                 //other code here ...                 tr.append(""+days_count+"	");                 //other code here ...   jquery code  $(document).ready(function() {             $("#cal").click(function() {                 $("#output").toggle("slow", function () {                     show_calendar();                  });             });              $("td").click(function() {   //it doesn't work                 alert("clicked");             });         });   When I click on a td element in my table it doesn't work. Why?  How can I fix?


I want to know what is wrong with this :  if (q == "outside" && q1 == "not alive") { System.out.println("bison"); }   This statement works perfectly:  if (q == "outside" && q1 == "alive") { System.out.println("bison"); }   All of the if statements containing "alive" works perfectly, but all of the if statements containing "not alive" does not work.  This is an exercise which I have to do without using else if or else.  full code :-  import java.util.Scanner;  class age04 { public static void main(String [] args) {  Scanner keyboard = new Scanner(System.in);  String q, q1,;  System.out.println("Two more questions, baby!"); System.out.println("Think of something and i'll try to guess it!");   System.out.println("Question 1) Does it stay inside or outside or both"); q = keyboard.next(); System.out.println("Question 1) Is it alive?"); q1 = keyboard.next();   if (q == "inside" && q1 == "alive") { System.out.println("houseplant"); }  if (q == "inside" && q1 == "not alive") { System.out.println("shower curtain"); }  if (q == "outside" && q1 == "alive") { System.out.println("bison"); } if (q == "outside" && q1 == "not alive") { System.out.println("bison"); }  if (q == "both" && q1 == "alive") { System.out.println("dog"); }  if (q == "both" && q1 == "not alive") { System.out.println("cell phone"); }  } }


HP Lovecraft's "A Reminiscence of Dr. Samuel Johnson" - Seemingly random capitalization in a sentence

Mr. Lovecraft writes, "indeed, 'tis frequently by means of such Recollections that the obscure occurrences of History, and the lesser Anecdotes of the Greats, are transmitted to Posterity."   Why would he capitalize "Recollections," "History," "Anecdotes," "Greats," and "Posterity"?   Reading through the story, I have observed that he capitalizes words that otherwise should not be capitalized--at least to my amateur-level knowledge.   Thank you in advance for your responses.


The "hot" questions algorithm should use logic to avoid controversial questions

There's an existing proposal to let moderators opt-out questions from HNQ:   I would like to add: there is a category of heated questions that attract debate, often rude debate, lots of comments, a suspicious mix of upvote and downvote, and occasionally a meta question asking how to discuss the question better, that should not be picked up at all.  This has definitely come up on Academia.SE (meta: ) and also tends to come up on workplace.SE. . Questions that are not only hot but very polemical - in the above case the presence of sexism was contentious - should not appear in the sidebar. It hurts communities when they do.  The hot questions needs to be less blunt. You should not put the spotlight on something that is only "hot" because it is "heated". And this can happen upstream in the algorithm rather than relegating it to moderation.  The algorithm should watch out for signals like downvotes in addition to upvotes or high comment volume to tell apart "hot" from "heated." Machine learning is not magic but I think isolating the signal here is a use case for offline ML analysis to write business logic against. Some communities have this problem worse than others; perhaps more aggressive HNQ-suppression logic should be deployed there, and softer logic elsewhere.


Vector space with new scalar multiplication defined over finite field still vector space?

If $V$ is a vector space (not the zero vector space) over $\mathbb{R}$, and if $F$ is a finite field.  how could I show that it is not possible to define a new scalar multiplication of $F$ on $V$, in a way that $V$ with this scalar multiplication and the usual addition becomes a vector space over $F$?  Thanks in advance.


QGIS - export a project with dependencies

I was wandering if there was a way to save a specific project with all layers as dependent files to make it easy to share with collaborators.  for example, create a zipped or non-zipped folder containing the same structure as the project :  Root_folder/ my_project.qgs     \____________myfolder                      \___Layer 1                      \___Layer 2                      \___Layer 3     \____________myfolder2                      \___Layer 4                      \___Layer 5                      \___Layer 6     \____________myfolder3                      \________myfolder4                                      \___Layer 6                                      \___Layer 7                      \___Layer 8   If it does not exists, would it be tricky to develop regarding the current API ?