How to create a nested query that fetches opportunities, Content Document and Content Version

I am trying to fetch all files that are associated with the opportunities in 'XYZ' stage. I am trying to construct one nested query that would first fetch all the opportunities in that stage, then fetch Content Document Link and then in the last Content Version. Here is the query I am trying to construct:              SELECT IsAssetEnabled, Checksum, ContentBodyId, ContentLocation,              ContentModifiedDate, Origin, ContentUrl, ContentDocumentId, Id, CreatedById,             CreatedDate, Description, ExternalDataSourceId, ExternalDocumentInfo1, ExternalDocumentInfo2, FeaturedContentBoost, FeaturedContentDate,              FileExtension, SharingPrivacy, FileType, FirstPublishLocationId, IsDeleted, IsLatest,              LastModifiedById, LastModifiedDate, IsMajorVersion, NegativeRatingCount, OwnerId, PathOnClient, PositiveRatingCount, SharingOption, PublishStatus, RatingCount,              ReasonForChange, ContentSize, SystemModstamp, TagCsv, TextPreview, Title, ContentModifiedById, VersionData, VersionNumber **FROM ContentVersion** WHERE              ContentDocumentId IN (SELECT ContentDocumentId, Id, IsDeleted, LinkedEntityId, ShareType, Visibility, SystemModstamp FROM **ContentDocumentLink**             WHERE LinkedEntityId IN('SELECT Id FROM **Opportunity** whereStageName='XYZ') AND LinkedEntity.Type='Opportunity')      I am getting the following error in the above query:       ContentDocumentId IN (SELECT ContentDocumentId, Id, IsDeleted, LinkedEntityId   ERROR at Row:1:Column:719 unexpected token: ,**


What are all the stackexchange twitter accounts?

What are the rest please?  Note: I flagged my own question as a duplicate.


Is a limit a function? What about the derivative and the integral?

For example. If I have a function f(x) = y in the carthesian plane and it's limit exists, can I view that limit as a function with domain in R2 and codomain in R? If that's the case, I believe that as the derivative is a limit, then it is also a function. And what about the integral?


will it affect the laptop performance if I use the charger of other model

Will it affect my laptop if I am using the different model charger cause the original charger was damage.The one I am using it right now has same capacity but it is of different model.


How to prove $(f \circ\ g) ^{-1} = g^{-1} \circ\ f^{-1}$? (inverse of composition)

I'm doing exercise on discrete mathematics and I'm stuck with question:     If $f:Y\to Z$ is an invertible function, and $g:X\to Y$ is an invertible function, then the inverse of the composition $(f \circ\ g)$ is given by $(f \circ\ g) ^{-1} = g^{-1} \circ\ f^{-1}$.   I've no idea how to prove this, please help me by give me some reference or hint to its solution.


Must a square root of a diagonal matrix with distinct eigenvalues be diagonal?

Let $D$ be the diagonal matrix and $A^2=D$  So far I've taken 2 approaches, the first being a direct algebraic approach. For a $2 \times 2$ matrix  this reduces to $$  \left( \begin{matrix}     a_{11} & a_{12}  \\     a_{21} & a_{22}  \\     \end{matrix} \right )^2 =  \left( \begin{matrix}     a_{11}^2 +a_{21}a_{12} & a_{12}(a_{11} + a_{22})  \\     a_{21}(a_{11} + a_{22}) & a_{22}^2 +a_{21}a_{12}  \\     \end{matrix} \right ) = \left( \begin{matrix}     d_1 & 0  \\     0 & d_2  \\     \end{matrix} \right )$$ where $d_1 \ne d_2$.   From the top right and bottom left squares it's easy to see that $a_{12}=a_{21}=0$ or $a_{11} +a_{22}=0$   If $a_{12}=a_{21}=0$ then, $$d_1=a_{11}^2 +a_{21}a_{12}=a_{22}^2 +a_{21}a_{12}=d_2$$ which means the eigenvalues aren't distinct. Thus $A$ is diagonal.   This proves it when $A$ is $2 \times 2 $.  For  $n \times n $ $A$, with $n$ linearly independent eigenvectors $\mathbf v_1 , ..., \mathbf v_n$ with corresponding eigenvalues $ \lambda_1 , ... , \lambda_n$ such that for $j \ne k$  $ \lambda^2_j \ne \lambda^2_k$ Now $$ D \mathbf v_k =A^2 \mathbf v_k= \lambda^2_k \mathbf v_k$$   thus $\lambda_k^2$ is and eigenvalue of $D$ and $\mathbf v_k$ is the corresponding basis vector, hence the eigenvectors of $A$ are just the standard basis vectors and hence $A$ is diagonal   Is my conjecture that a square root of a diagonal matrix with distinct eigenvalues is diagonal wrong or is there a general proof?


Does the Micromax Spark not support Pokémon go?

I am using Micromax Spark which is running on 1 GB RAM and Android lollipop 5.0.   I downloaded the game from APK Mirror.  When I run it, it displays the Niantic logo and suddenly my phone restarts.  This happens every time I launch the game.


I would like to try a package which seems interesting, but it some dependencies are not satisfied.   Here is my minimal example:  \documentclass{article}  \usepackage{pkgloader} \LoadPackagesNow  \begin{document}     pckloader trial \end{document}   And I get the following error: ! LaTeX Error: File 'l3regex.sty' not found.. Therefore, I tried to update my distribution with the linux commands  tlmgr update --self tlmgr update --all   But the package l3regex is still not foundable. Plus, my computer is not lying since l3regex.sty is not in my folder /texmf-dist/tex/latex/*.  So, is it something normal ? How can I workaround this problem ?


Error:"Press Shutter Release Button Again" on Nikon D5300

My D5300 with 18-140mm lens is having problem "Press Shutter Release Button Again"...as error message pops ups in AF mode....but in manual focus mode...the error is not there, but images are over-exposed most of the time. The strange thing is that, with the same body and nikon 200-500mm lens there's no problem..it's perfeclty fine in both mode...what can be the issue?? It works fine with nikon 200-500mm lens, and why not on 18-140mm lens? Check my images with nikon 200-500mm lens on the same body here


fill between in pgfplots changes legend font

I am working on a document in which several plots are placed alongside each other. Some of them use "fill between" and some of them don't. The problem now is that depending on whether this is used or not, the legend has a different font size. Additionally, the thickness of the plots is also affected. As a work around, I now use an empty "fill between" in every plot (third tikzpicture) but this feels too much like cheating and I would love to know what is really going on here.  Here is a MWE:  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.13} \usepgfplotslibrary{fillbetween}  \begin{document}  \begin{tikzpicture}[scale=0.55] \begin{axis}[     ticks=none, axis x line* = bottom,      samples= 160, domain = -3:3,         xmin = -3, xmax = 3,         ymin = 0, ymax = 3,     legend style={at={(axis cs:2.9,2.9)},anchor=north east}]     \addplot[name path=f, black, thick, mark=none, ] {max(2.8-2*x^2,0)};     \addplot[name path=g, black, thick, mark=none, dashed, ] {max(1-0.3*x^2,0)};     \addplot[name path=line, gray, no markers, line width=0pt] {0};     \addplot[color=gray, fill opacity=0.25] fill between[of = f and line, split];     \legend{$f$,$q$} \end{axis} \end{tikzpicture}\hspace{5em} \begin{tikzpicture}[scale=0.55] \begin{axis}[     ticks=none, axis x line* = bottom,      samples= 160, domain = -3:3,         xmin = -3, xmax = 3,         ymin = 0, ymax = 3,     legend style={at={(axis cs:2.9,2.9)},anchor=north east}]     \addplot[name path=f, black, thick, mark=none, ] {max(2.8-2*x^2,0)};     \addplot[name path=g, black, thick, mark=none, dashed, ] {max(1-0.3*x^2,0)};     \addplot[name path=line, gray, no markers, line width=0pt] {0};     \legend{$f$,$q$} \end{axis} \end{tikzpicture} \begin{tikzpicture}[scale=0.55] \begin{axis}[     ticks=none, axis x line* = bottom,      samples= 160, domain = -3:3,         xmin = -3, xmax = 3,         ymin = 0, ymax = 3,     legend style={at={(axis cs:2.9,2.9)},anchor=north east}]     \addplot[name path=f, black, thick, mark=none, ] {max(2.8-2*x^2,0)};     \addplot[name path=g, black, thick, mark=none, dashed, ] {max(1-0.3*x^2,0)};     \addplot[name path=line, gray, no markers, line width=0pt] {0};     \addplot[color=gray, fill opacity=0.25] fill between[of = line and line, split];     \legend{$f$,$q$} \end{axis} \end{tikzpicture}  \end{document}   Edit: thanks to the answer by Zarko, I now think this question is a duplicate of . For some reason, invoking fillbetween causes the scaling to suddenly affect the legend. I still haven't figured out why though.


How to get Latex formula in inkscape on mac?

I am using Inkscape version 0.48.2 on Mavericks OS X. I have to add latex formulas in some of the images but when I tried it through Extensions > Render > couldn't find the option there. After going through several blogpost I have installed the package pstoedit (through fink install) as well. But still I don't the option to type latex over my images. Can someone help please?


I know that matter (mass) curves spacetime, but do other forms of energy do the same? I.e. is matter the only form of energy that curves spacetime?


How can i get rid of the message "Duplicate sources.list entry

Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)


I am working on an assignment question, and am having trouble moving ahead. The question is as follows:     Let the total number of bit strings with three consecutive zeros be $t_n$. Prove for $n \ge 4$ that $t_n= t_{n-1} + t_{n-2} + t_{n-3} + 2^{n-3}$   So, I started to check if the base case is true with n=4 $t_4 = t_3 + t_2 + t_1 + 2^1 = 1 + 0 + 0 + 2 = 3$  But isn't the total number of combinations for n =4 only 2? 1000 or 0001   I might just be going about this the wrong way. Any guidance would be appreciated.


I've installed PostgreSQL 9.1 and pgadmin3 on Ubuntu Server 13.10.  I configured postgresql.conf with: listen_addresses = '*'  also I configured ph_hba.conf by changed peer connections to md5  Plus I reset the password of postgres by: sudo password postgres  then restarted the service with sudo /etc/init.d/postgresql restart  after that I tried to connect to the default PostgreSQL template database:  sudo -u postgres psql template1   but login failed with this error message:   psql: FATAL:  password authentication failed for user "postgres"   then I tried to login from the pgadmin, which gave me the same error.  I've read here that it might be a password expiry dates bug   but I couldn't solve it coz I cannot login with psql. Does anyone now how to resolve this issue?  EDIT  ph_hba file:    Screenshot:


how to copy a file from one server to 2 different severs

I need to copy a file for two different severs using shell script. I tried to use Scp usernameip adress and destination path of the folder


How can I retrieve a list of parameters from a stored procedure in SQL Server

Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters that belong to a stored procedure on a SQL Server before I actually execute it?  I have an a "multi-environment" scenario where there are multiple versions of the same database schema. Examples of environments might be "Development", "Staging", & "Production". "Development" is going to have one version of the stored procedure and "Staging" is going to have another.  All I want to do is validate that a parameter is going to be there before passing it a value and calling the stored procedure. Avoiding that SqlException rather than having to catch it is a plus for me.  Joshua


Recently I have come across the curious neologism neopronouns. I have a lifelong interest in languages and linguistics, but this is a new concept for me.  Prior to a month or so ago I had never heard of ‘neopronouns’.  Quite a number of years ago I did come across the form hesh(e). I have never to date seen this word used in practice, so I’m unsure whether it does, or does not, qualify as a neopronoun.  My question is a straightforward one, and I would very much appreciate if all answers to it would please remain on topic.  My Question  What is ɴᴏᴛ a neopronoun, and if anything can be said ɴᴏᴛ to be a neopronoun, then what authorities or official bodies might decide this and via what specific criteria?    Background  A little more explanation of my motivation to ask this question, since this question has not led to many answers, but has provoked a great number of comments:   Language is organic. We are right to adopt a descriptive rather than a prescriptive approach to language because language as it is used by its speakers is the language. It follows that neopronouns in use are already de-facto elements of the living languages in which they are used. But mass adoption of new language elements by the public at large relies in no small degree on their adoption by both the print and the spoken media alike, and then using these elements frequently and consistently to familiarise the general public with them. Media adoption of new language elements depends on those elements being presented in clear, uncontroversial forms to enable their widespread adoption. Few today would find controversial the marriage-nonspecific female honorific Ms from the mid-twentieth century, nor would anyone alive today find controversial the inanimate third-person possessive personal pronoun its which was first written that way during the late sixteenth century – sex being an intrinsic property only of animate beings alone, not of  inanimate objects for which it and its are rightly used in the singular. A surprisingly high number of animate but still gender-nonspecific neopronouns have been proposed since the mid-nineteenth century.  All seek  traction, although none of them – presumably because of their novelty and rarity and because of competition from the many others which makes each individual pronoun all the rarer – ever manage to achieve that traction. They simply do not stick.  The idea of an animate gender-nonspecific third-person personal pronoun is uncontroversial: we never question that we today use gender-nonspecific first- and second-person pronouns, I, we, and you – or the archaic and dialectal forms thou and ye.  Consequently we might hypothesise now in the early 21st century that today’s media have failed to adopt any animate but gender-nonspecific third-person personal pronouns (which are less rare and novel than they once were) because of substantial confusion and lack of clarity over the overwhelming number of rival proposals. It occurs to me (and probably to many others) that some of the confusion might be cleared up – and the chances of media adoption and then mass public adoption greatly increased – if exactly what is ɴᴏᴛ and ᴄᴀɴɴᴏᴛ ᴇᴠᴇʀ be considered a neopronoun were made clearer. I recognise this takes us into the realm of linguistic prescription, which we are usually right to avoid.  Allowing doubt and confusion to proliferate explosively alongside competing proposals hinders mass adoption of what could be otherwise presented as a useful set of animate yet gender-nonspecific third-person subject, object, reflexive, possessive, and determinative pronouns with universal application by all speakers of English.    These would be analogous to how in most dialects of present-day English we now universally use second-person you for males and females alike rather than reserving second-person you only for those scenarios in which we do not care to specify their gender and some hypothetical form like ❉shyou for females with a corresponding hypothetical form ❉hyou for males when we actually ᴅᴏ care to specify their gender.


Scenario:  returns  to play. I play  and exile Llanowar elves. Changeling Hero is destroyed.  Does Llanowar elves get returned by the champion trigger?


I want to integrate QGIS 2.12.3 or 2.13 with GRASS 7, but I still haven't been able to do so.  Can someone please tell me how can I do this with a stable QGIS version.


When running sudo apt-get update im suddenly recieving errors after adding a repository for bitmask this is the message:  W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://apt.releases.hashicorp.com groovy InRelease' does not seem to provide it (sources.list entry misspelt?) E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu groovy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Skipping acquire of configured file 'groovy/binary-amd64/Packages' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/i18n/Translation-en_US' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/i18n/Translation-en' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/dep11/Components-amd64.yml' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/dep11/icons-48x48.tar' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/dep11/icons-64x64.tar' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?) W: Skipping acquire of configured file 'groovy/cnf/Commands-amd64' as repository 'http://deb.leap.se/client release InRelease' doesn't have the component 'groovy' (component misspelt in sources.list?)  one of the repositories for hashicorp was fine before so im not sure why adding the leap repos(bitmask) would cause errors with the other. Can anyone help me fix these issues?


I have read what KL Divergence is about: assess differences in probability distributions between two sets.   I have also read, and digested, that it is emphatically not a true metric because of asymmetry.   Now I have been wanting to ask: I cannot find a simple textbook example of KL Divergence. Can someone point to me how it is used and demonstrated? Just to its main intuitive insights? Say for example, two $P$ and $Q$ that are of discrete distributions, or from the very simple distributions like uniform, gaussian, etc.   I would appreciate your contributions.


The difference between List and MyClass[]

What is the difference between List<MyClass> and MyClass[] in C#.  Thanks


Non academic career options for PhD in Math

I am thinking of getting my M.S. in Computer Science. I chose C.S. because I enjoy programming and because its a solid choice, career wise.  Low unemployment, good pay, all that jazz.  But my real passions has always been math and lately I have been thinking about swapping and going for my graduate degree in Math. If I went the math route I would probably go full PhD (since I don't think there is much you can do with just a Masters in math).  But as much as I love math, I can't see myself being a math teacher. I would want to work in research or industry, applying math to solve real world problems.    What kind of non-academic jobs are there for someone with a PhD in math (or what is the best resource to see what jobs are out there)?


Can't recognize Windows 10 on Ubuntu 16.04 LTS

I am a new Ubuntu user. Last night I installed Ubuntu 16.04 to dual boot with Windows 10, but now I can't see Windows 10 in the boot menu - although all of the Windows system files and folders are shown in my laptop.   When I boot, there are only three options:   1. Ubuntu   2. Advanced options for Ubuntu   3. System setup    I tried to install Ubuntu again, but after some stage it says:   Erase all and install Ubuntu 16.04 LTS   Install Ubuntu 16.04 LTS alongside Ubuntu 16.04 LTS..., etc.   Now what can I do?   How can I get back into Windows 10?    After getting into Windows 10, what should I do next time to properly dual boot Ubuntu with Windows 10?


Attractive force between capacitor plates

A textbook question requires me to calculate the force of attraction between plates of a parallel-plate capacitor. The answer provided is $\frac{1}{2}QE$.   I am not entirely sure how they arrived at it. The charge on each plate will be $Q=CV$ so from , won't the force be defined as $$F=\frac{1}{4\pi\epsilon_0} (\frac{CV}{d})^2 = \frac{1}{4\pi\epsilon_0} (\frac{Q}{d})^2~ ?$$


$a^x-1 | (a^x)^k - 1$ Is this expression true, and if yes how can I prove it?


I want to install Ubuntu on a new desktop computer build

I'm just about to finish building a new desktop.  The graphics card in due to be delivered today.  Before I set the BIOS I want to find out what steps I need to take to install Ubuntu.  I'm not interested at this time in a dual boot machine. Help is greatly appreciated.


Can an ideal in a commutative integral domain be its own square?

If $I$ is a non-zero proper ideal of a commutative integral domain, is it possible for $I$ to be its own square?


Can I get back into the USA to visit after overstaying with a new passport?

When I first went to the USA it was before fingerprinting, so I was not fingerprinted. I overstayed for 10 months. I came home and then went back to the US and got back in, and this time I was fingerprinted. I overstayed for 3 and a half years. When I left the US, I had a new passport, as if I'd lost my passport in the States.  I'm attempting to go back now for a visit. It has been 10 years since I left the States (my 10-year ban would be over). I'm told I have to apply for a non-immigrant visa, but the chances of getting approval are slim, due to the fact that I have overstayed my welcome on 2 occasions.  I'm from Northern Ireland. I can have two passports: a UK passport or an Irish passport. If I change my passport and attempt to enter, would I be denied? I honestly have no intentions of overstaying again, but I’d love to go back and see some old friends.


I'm retrieving data from the internet and I want it to convert it to ASCII. But I can't get it fixed. (Python 2.7)  When I use decode('utf-8') on the strings I get for example Yalçınkaya. I want this however converted to Yalcinkaya. Raw data was YalÃ§Ä±nkaya.  Anyone who can help me?  Thanks.   Edit: I've tried the suggestion that was made by the user who marked this question as duplicate () but that did not solve my problem.  That post mainly talks about removing the special characters, and that did not solve my problem of replacing the turkish characters (Yalçınkaya) to their ascii characters (Yalcinkaya).  # Printing the raw string in Python results in "YalÃ§Ä±nkaya".  # When applying unicode to utf8 the string changes to  'Yalçınkaya'.  # HTMLParser is used to revert special characters such as commas # FKD normalize is used, which converts the string to 'Yalçınkaya'.  # Applying ASCII encoding results in 'Yalcnkaya', missing the original turkish 'i' which is not what I wanted.  name = unicodedata.normalize('NFKD', unicode(name, 'utf8')) name = HTMLParser.HTMLParser().unescape(name) name = unicodedata.normalize('NFKD', u'%s' %name).encode('ascii', 'ignore')


I was asked for root credentials to setup my printer in Ubuntu. This seemed to be caused by a bug. And the suggested workaround is to create a root password. Since it is default that no root password is used in Ubuntu, i wonder how i could revert this changes.  Once i have set a password for root, is there a method to disable it again?


Where are packages downloaded by "apt-get download" stored?

I want to know the storage location of apt-get download command in Ubuntu.


So yesterday I made a push of my code to a Bitbucket repo. After realizing this was the incorrect repo to push to, I did a git reset --hard to remove the commit. However, after doing that, I noticed that my local files were deleted. Sadly, I did not create a backup of those recent files. Yes, I do have a much older copy of those files. I've explored the .git folder and see that the commit prior to my git reset --hard is there. However, I am not sure how to get to the files within that commit. The .git folder has all of the appropriate folders: hooks, info, logs, objects, refs, as well as the main directory files (ie. HEAD, description, etc). If I do a git fsck --full, I get a few errors: error: HEAD: invalid reflog entry a5564cddeffd7673cf418955f01bec5d4003f630 error: HEAD: invalid reflog entry a5564cddeffd7673cf418955f01bec5d4003f630 error: refs/heads/master: invalid reflog entry a5564cddeffd7673cf418955f01bec5d4    003f630 error: refs/heads/master: invalid reflog entry a5564cddeffd7673cf418955f01bec5d4    003f630 dangling commit 141d684c3fd2d0da2d6df9844bfeea9e976c9b32  I looked in .git/logs/refs/heads/master to identify the commit I need. The line with the one I want is this one: 452f1923ac02bfb1c0930ecfb39d7234db9b6f0f a5564cddeffd7673cf418955f01bec5d4003f630 [username] <email> 1594581184 -0500   commit: Initial commit  Is it even possible to get my files back? And if so, how can I do that? Thank you for any guidance you can provide! I normally back up my files, so this is uncharted territory for me.


Are there fields $F$ such that the rings $F[x]/(x^2)$ and $F[x]/(x^2-1)$ are isomorphic?

My first instinct is to go to the 1st isomorphism theorem and say that the two rings are isomorphic if there is a field where $(x^2)=(x^2-1)$, which doesn't seem terribly promising.  But then it seems to me that $F[x]/(x^2)$ is the ring you get when you take $F$ and adjoin an element that satisfies the relation $x^2=0$, which would be $0$ and every field's got one.  Same with $F[x]/(x^2-1)$ which is $F$ adjoined by an element satisfying $x^2=1$.  $1$ does the trick and every field's got one of those too.  Any hints (or answers!) would be appreciated.  Thanks...


I do not know how to login as a different user except for guest.I want to change my user name because I misspelled it during installation. Please advise.


Integrate $ \int_{0}^{\frac{\pi}{4}}\tan^{-1}\left(\frac{\sqrt{2}\cos3 \phi}{\left(2\cos 2 \phi+ 3\right)\sqrt{\cos 2 \phi}}\right)d\phi$

Evaluate the integral:  $$\displaystyle \int_{0}^{\frac{\pi}{4}}\tan^{-1}\left(\frac{\sqrt{2}\cos3 \phi}{\left(2\cos 2 \phi+ 3\right)\sqrt{\cos 2 \phi}}\right)d\phi$$   I have no clue on how to attack it. The only thing I noticed is that there exists a symmetry around $\pi/8$, meaning that from $\pi/8$ to $\pi/4$ is the negative of zero to $\pi/4$. But, there exists a root of the integrand at $\pi/6$ and the limit of the integrand at $\pi/4$ is $-\infty$.  Conjecture: The integral is $0$ for the reason of symmetry I mentioned above.  However I cannot prove that. I would appreciate your help.


Has anyone mathematically proven the existence of Hawking Radiation yet?

A little side question, can someone please explain to me how quantum and relativity would have an influence on this theory.


Can you recommend me a book about integration?

I'm new to this site. I'm an university student in korea and I major in engineering. Recently, I've been quite interested in calculating integration. So nowadays as my hobby, I seek many interesting problems via my colleague's question, many kind of mathematical competition(putnam), or something else. I wonder if there are any books that listed lots of facts(technics...) about integration, including many challenging problems. Especially, One of my friends recommended me a book called 'inside interesting integral'. But there is few way I can get this book. Would you mind recommending similar books, or some sites? Thanks:)


When editing a list, when you want to add a comment between two lines in a list with numbers, the next number after the comment will appear as 1. regardless of the number that you will actually input.


Is there any R package can smooth the coefficients as a function of coefficients sequence?

I want to do some regression analysis that constrains the coefficients to vary smoothly as a function of their sequence. It is similar to the "Phoneme Recognition" example in the part 5 "Basis Expansions and Regularization" of  (Hastie, Tibshirani & Friedman, 2008).  in the book it says:     The smooth red curve was obtained through a very simple use of natural cubic splines. We can represent the coefficient function as an expansion of splines $\beta(f)=\sum_{m=1}^M h_m(f)\theta_m$. In practice this means that $\beta=\mathbf{H}\theta$ where, $\mathbf{H}$ is a $p × M$ basis matrix of natural cubic splines, defined on the set of frequencies. Here we used $M = 12$ basis functions, with knots uniformly placed over the integers 1, 2, . . . , 256 representing the frequencies. Since $x^T\beta=x^T\mathbf{H}\theta$, we can simply replace the input features $x$ by their filtered versions $x^* = \mathbf{H}^T x$, and fit $\theta$ by linear logistic regression on the $x^*$. The red curve is thus $\hat\beta(f) = h(f)^T\hat \theta$.   But I am not sure about how to create the basis matrix $\mathbf{H}$. When using ns() function in R, how to set the knots?  Any hint will be appreciated.


buzzword overview solutions (word cloud)

Is there anything out there I easily can create a buzzword overview with? A Package or templates?  (buzzword overview := bunch of words, horizontally and vertically squeezed together in different color and sizes, similar to a mindmap)  I could use tikz of course and try to place, rotate and color every word by itself. But usually there is someone out there who had the same idea, time to do it and especialy more skills than I could offer and created something to safe the effort. There seems to be a mindmap option in tikz but I am looking for a rather un-hierarchical solution where the words dont rely on each other. Any hint, even for how to do this by myself will be much appreciated.  EDIT: As there are copyrights, the suggested example of what I want is provided behind this . I have not tried anything so far, since the only thing I can think of to do, is what I am trying to avoid: Drawing something like behind the link from scratch with TiKz.


Embedding a complete rather than a partial font

Is it possible to make XELatex embed a full rather than a partial font?  The reason I ask is that I am trying to induce a fillable form to use the body font (a question asked before by several participants without satisfactory answer - e.g. related questions  or ). Acrobat forms can apparently only use embedded fonts if they are fully embedded rather than partially embedded - see ). At the moment I can create a form that uses my body font in the fillable fields, but this only works if the font is installed on the users machine.   Once I get a positive response to the above I'll extend my question to the actual use of this font in form.  Below a rather trivial MWE (in this case using libertine) for anyone who wants  a starting point to experiment.  \documentclass{article} \usepackage{fontspec} \usepackage{libertine} \begin{document} The quick brown fox jumps over the dog 0123456789. \end{document}   The below provides an extended MWE using the eforms package (somewhat unrelated to the question of font embedding). Not specifying any font uses the default helvetica for the field (which looks horrible) as does the underlying hyperref field. Using TiRo as the font at least gives a reasonably decent looking serif font (albeit not libertine) which seems to work in Acrobat reader, PDF-XChange viewer and the inbuilt Windows 8 reader. Specifying LinLibertineO as the font gives libertine in the field (only if this is installed, and only in Acrobat Reader, but not PDF-XChange viewer and the inbuilt Windows 8 reader).  \documentclass{article} \usepackage{fontspec} \usepackage{libertine} \usepackage{eforms} \begin{document}  \everyTextField{ \BC{1 0 0} % border color \BG{.941 1 .941} % background color \textColor{0 0 1} % is black \textFont{TiRo} % LinLibertineO/TiRo (options see commentary) \textSize{10} \Ff{\FfDoNotScroll} }  Your name: \textField{myText}{1.5in}{12bp}  \end{document}


This question is related to the question .  I downloaded caesar_example.tex from  and complied it from TeXShop. The output file caesar_example.pdf does not contain the bibliography.  After examining the console I identified the following as a possible problem.   LaTeX Warning: Empty bibliography on input line 126.  [7] (./caesar_example.aux)  LaTeX Warning: There were undefined references.  Package biblatex Warning: Please (re)run Biber on the file:  (biblatex)                caesar_example  (biblatex)                and rerun LaTeX afterwards.   I was wondering if the biber package is not installed in my TeX Live 2013. So, I included the line \usepackage{biber} and re-compiled the modified caesar_example.tex file. Then there was no compilation and I got the following message on the console.  ! LaTeX Error: File `biber.sty' not found.  Type X to quit or <RETURN> to proceed,  or enter new name. (Default extension: sty)  Enter file name:   Then I used "TeX Live Utility" to see if this is true. I found out that the following biber packages are installed.  universal-da universal darwin files of biber  x86_64-darwin x86_64-darwin files of biber  What do I have to do to get caesar_example.tex properly compiled?   (If this question is too localized then is there a place that I can ask this question?)


sudo: /var/lib/sudo/navneet writable by non-owner (040777), should be mode 0700

This error occurs whenever I try to work with sudo. I changed the permissions of /var/ folder to 777 and I think this causes the error. Please help me get back a functional sudo and /var.


I'm working on cs50 project1 (js & python), I download the project,  and found this line in it:  engine = create_engine(os.getenv("DATABASE_URL"))   the question is how to set up the DATABASE_URL?


When I pass vector to a function by address (vector &A) ,will I be able to use all the stl functions like lower_bound ,upper_bound on A . If yes , how to use them ?


How to measure line voltage (220V) with an arduino?

I'm a Electrical Engineering student and I want to sense and sample the voltage signal  coming from a wall socket (110V - 220V). I came up with the following circuit using a voltage divider with high impedance and a diferential amplifier. I would like to avoid using a transformer because of weight constraints.  Is there a better way to solve this problem? Should I use a capacitor divider instead?


why a^2 + b^2 = c^2 in right-angled triangle

a^2 + b^2 = c^2   what is the demonstration of this rule with triangle which has 90 deg? can be proofed using geometry?


How to redirect from HTTPS to HTTP before server error?

I used to operate a website with an SSL certificate, but have stopped using the SSL certificate. The problem is that most of the external links to the website use the https:// prefix.  I have tried the https:// to http:// redirect in the .htaccess file:  RewriteEngine On  RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI}   But it seems, as has been pointed out elsewhere, that the server is trying to retrieve the certificate before activating the redirect. Hence, an error is shown before the redirect is ever accomplished. The error is either a warning that the certificate is expired, or if I delete the certificate signing request, then an error that SSL received a record that exceeded the maximum permissible length.  Is there any way to allow the incoming links to be redirected properly?


Question from Berkley Problems in Mathematics. Show that det($A$) > 0

Let $A = (a_{ij})$ be an $n\times n$ real matrix satisfying the conditions: $a_{ii} > 0$   $(1\leq i \leq n)$;  $a_{ij} \leq0$ $(i\not=j,1\leq i,j \leq n)$; $\sum\limits_{i=1}^n a_{ij}>0$ $(1\leq i \leq n)$.  Show that det($A$) > $0$ .


How to import some variable in another script without using sys?

When I try to do using sys in following way, it gives error: name 'path' is not defined. Here test.py is file in folder directory. Also folder directory has __init__.py in it. import sys sys.path.append('c/Users/Downloads/folder') from test import * print(path)  Content of test.py path="sample"  I also tried writing from test import path but it did not work. So is there any other way than sys. I am not able to find why it's not working with it, since most answers recommend this. EDIT: Python is used a lot in industry so I am hopeful there must be some way for that (without using or using sys). I can have multiple files with same name in my system so help provided in answer and comments are not permanent fix.


Novel: kid shoots a rocket down the barrel of a tank!

So i read this book in mid to late 2000s. Future dystpoian setting  I remember the main characters were at least a boy and a girl. The boy at least, idk if the girl was aswell, was owned by a pharmacutical corporation and was used as a test subject. Specifically i remember him saying that his legs burned and i think he was on a treadmill all day so possible deoderant test kinda thing happening.  He slept in a big room with the other children and slept in a cot matrix that was very tall so like 10 cots connected to poles maybe.   He escapes.  The girl is a master mechanic for street racing gang, shes like 13 and a badass. The gang has glowing body modifications and cyborg muscle mods. Modding themselves as much as there cars.  The are escaping from or fighting the government and he shoots an rpg down the barrel of a tank at the split second the safety guard opens to fire a round at him and destroys the tank.  Still gets captured.  Thats all i remember, please help.


Is it possible to duplicate the behavior of 'tail -f /var/log/maillog' with systemctl status?

On a CentOS 7.3 server, I would like to watch the logs in real time for postfix. I can currently see some detail by issuing:  systemctl status postfix -l  However, this exits. I want a command I can run that will show me the journal entries as they appear and not exit until I want it to. Any ideas?


Need Help in deleting my duplicate account

Unfortunately i tried to log in using my Facebook account, it created a duplicate stack overflow account because i have an account using yahoo, please delete the duplicate account this is my original account   this is the account created beacuse i have wrongly logged using facebook


With Winter Bash 2017 nearing its end - another 3 days and all the hats go back in the box - why don't we take the opportunity to show off our hats and display our achievements? You can screenshot your hats and post an answer below, and show off your posh headgear!  Post hats, hats, and more hats! Those that you're especially proud of, or that you simply look good in - all are welcome ;)


What is the best way to extend a dictionary with another one while avoiding the use of a for loop? For instance: >>> a = { "a" : 1, "b" : 2 } >>> b = { "c" : 3, "d" : 4 } >>> a {'a': 1, 'b': 2} >>> b {'c': 3, 'd': 4}  Result: { "a" : 1, "b" : 2, "c" : 3, "d" : 4 }  Something like: a.extend(b)  # This does not work


I have noticed lately that in specific intervals, there is some program that is automatically running – I can tell that because a CMD window quickly opens and quits. It even minimizes games, which is annoying. Unfortunately, I can't discover which program automatically runs at this specific minute (38th and sometimes 44th minute of every hour). I checked processes and all processes by the ProcessMonitor application, but there are so many items I cannot figure out which program it could be. I am using Windows 10 Professional.


Do 'Created By' links add values to my website?

I am developing several websites and I usually place a 'created by' link at the bottom next to copyright to promote my job.  Is this a valuable link? Even if it comes from completely different sites (e-shops, forums, blogs, company pages etc)?


I had Windows 7 on my computer and wanted to install Ubuntu. I did not do manual partitioning. When I restarted the system, I found out that my drive was reformatted. Is there a way I can recover my files?


Why do I still see an Apache site on Nginx?

I installed nginx then I installed apache2, after a while I removed apache2. After a couple of weeks I noticed something strange when I accessed http://localhost: nginx handles the request but when I type in my IP address or anyone in my network types in my IP, it results in an apache2 page loading saying it's correctly working.  I purged and removed Apache but I still can't get rid of this problem, tried reinstalling and purging again then restarting. Any ideas of what could be the problem?  PS my computer doesn't recognize apache2 as being installed in anyway and all Apache files and binaries are not found even when I manually search for them.  root@elite-HP-Pro3500-G2-MT-PC:/home/elite# whereis apache2 apache2: root@elite-HP-Pro3500-G2-MT-PC:/home/elite# sudo service apache2 start Failed to start apache2.service: Unit apache2.service failed to load: No such file or directory. root@elite-HP-Pro3500-G2-MT-PC:/home/elite# sudo apt-get purge apache2 apache2-utils Reading package lists... Done Building dependency tree        Reading state information... Done Package 'apache2' is not installed, so not removed Package 'apache2-utils' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.


How do I clear command prompts in minecraft?

so when you enter a command into a command block or type one in chat it shows the command in chat like if you do /kill @e it would say in chat what was killed I wanted to know how to clear that?


On my Windows machine, I had a folder with a name of four dots that acted like some kind of rabbit hole - how did that happen?

The folder name was listed in File Explorer with just plain four dots .....  When I tried opening it, I came into some kind of endless rabbit hole loop where I opened the exact same folder again and again - I could do this endlessly. Showing the path like C:\ExamplePath\....\....\....\....\...., etc.  It was hanging my TypeScript compilation in one specific project. It took me more than a year before I found this folder and its related problems, because it was rooted deeply in nested folders. I never expected an issue like this, so I never looked for it.  I couldn't delete the folder the normal way because of the special name. In the end, I could remove it by using the command line and deleting the parent folder with rd /s /q path.  Afterward, I tried to create the folder again but was unable to do so with both File Explorer and the command line.  In my 20-plus years of using Windows I have never seen this bug before, so I can imagine that it would really be an annoying and confusing problem for amateur users.  Does anyone know how this could have happened and how to reproduce this issue?  Update  For people who are interested: this path was located deep within a TFS folder. So probably TFS uses the bypass method @grawity explained ("Various file managers, archivers, etc")  Did I stumble on a rare TFS bug?


Problem adding Printer to Virtual machine

I'm running 12.04 64 bit on my laptop and I have a virtual machine (win7) created and using with virtual box (4.3.6 incl. extension pack).   Further I have an Kyocera FS-1041 printer which I cannot use with linux cause of incompatibility with GDI.  Is there a way to tunnel the printer to my virtual machine and printing there? I already tried some filters for usb in virtual box but I failed.  Any ideas how to solve this problem using a virtual machine?


Proof a set cannot contain its own powerset - Russell's Paradox

Using naive set theory and not using the cardinal number of a power set, how can you prove a set cannot contain its own power set? Is this connected to Russell's Paradox?


how can i drive a motor with an inverter providing it's power supply?

I'm trying to drive a gyroscope that needs a 3 phase 400Hz 32v 0.7A power supply. i'm going to  use an inverter to provide  my supply(1phase to 3phase AC: LS-IG5A-0.75kw). i have 2question about it:  1-can i give a perfect sin wave from an inverter output?or it needs special considerations and circuits?  2-can i give a fixed output frequency from an inverter?  thanks  Brochure .  Manual .


Does a run scored on a tag out on a forced runner?

The situation:   Runners at third and first, ball is hit to the second basemen, 2nd basemen goes to tag the runner out. Runner stops, runner on third scores and then 2nd basement tags the runner, does not step on base.Does the run count?


Today i installed 7zip, furious ISO mount and mate power manager. FuriousISO is in my dash, whereas the other two are not.   All 3 show up in software center and in terminal ~$dpkg -l as installed. Im unable to open/use 7zip at all, and when trying to run power manager from terminal, it simply brightens the screen. (No GUI? Not compatible with Unity desktop?)  Was kinda aiming to personalize my power settings for when my machine is plugged/unplugged.   Thanks


Reflective material don't reflect a mesh

I am quite new to Blender. I tried to set up a scene with a little character I modelised with a floor and an hdr. My problem is that the parts of my character which has a reflective material reflect the hdr but not the floor. Here is my viewport with viewport shading. I use eevee.


I just tried to log out of chat.SE (I'm an active user in GameDev and sometimes use other chat rooms), but I can't seem to. Could this possibly be tied to the new global-auth update? I have tried hitting "log out" in the dropdown menu, which just redirects me to . That link also does not work, just seemingly redirecting me to  and showing my active rooms (aka the site rooms for GameDev.SE). I can log out through the main GD.SE site proper, which also logs me out of chat, but upon clicking "log in" again on the chat site, I get: . Logging in on the site proper seems to again, work as expected. Some system information: Windows 8.1 Browser: Firefox 39.0


My system:  $lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 14.04.3 LTS Release:        14.04 Codename:       trusty   Xvfb:  $ dpkg -s xvfb Package: xvfb Status: install ok installed Priority: optional Section: x11 Installed-Size: 2140 Maintainer: Ubuntu X-SWAT <ubuntu-x@lists.ubuntu.com> Architecture: amd64 Multi-Arch: foreign Source: xorg-server Version: 2:1.15.1-0ubuntu2.7 Provides: xserver   Current problem:  Xvfb do not support RANDR extension, even if I add the flag:  +extension RANDR   If I run xdpyinfo, RANDR is not on the list. It's a missing feature or a bug. I found a reference here with a patch:   And looks like that in other distros like debian, there is already a testing build of Xvfb with support:   I am trying to run a program throught Xvfb, and it returns the following error:  Xlib:  extension "RANDR" missing on display ":99".   The program works if I run it via ssh/command line. The problem appears to be the the lack of support for "RANDR" in xvfb.  My question is: what is the easiest way to get xvfb with "RANDR" support in my system?


I always read "take an orthonormal basis of say $\ell^2(\mathbb N)$, then extend it to a Hamel basis". Can you please explain how this "extension is possible"?   Thanks.  Math


I have various bounding boxes (lets say 1000 boxes) to which i want to copy my geometry. How do i possibly do this?   Its similar to copying objects from two points. (like moving from centroid of this object to the centroids of the bounding boxes.


Existence of a power of 3 which begins with 2019

Does there exists $n \in \mathbb{N}$ such that $3^n$ begins with $2019$?  I couldn't start the problem. If it ends with 2019 then I could have done using modulo $10000$ but how should I do this?


I can't seem to add a bounty to one of my questions on SO - what are the rules governing adding bounties?


Settings to fill an open container with objects

I am trying to create a natural arrangement of rubber thimbles in a jar.  What is the easiest method of doing this?   I've tried various settings with the jar being passive and using the various collision types like box, cylinder and mesh but none seem to work.   I tried dropping the thimbles into the jar but they either stop early and spill over or go through the jar! Is it better to use some sort of particle distribution? Thanks.


unit of work and repository pattern dependency injection

The following is my IOperation interface which has two signatures :  public interface IOperations {      int Mul(int a, int b);     int Sum(int a, int b); }   In the Operation class i have implemented the aforementioned methods:  public class Operations:IOperations {   public  int Mul(int a,int b)     {           return a * b;     }    public  int Sum(int a,int b)     {           return a + b;     } }   Now in the main Program how should i meet the DI?like this?      static void Main(string[] args)     {         IOperations myOperations = new Operations();          myOperations.Mul(3, 2);       }


Laser Data Communication : How it Works General Idea and Concept

I saw a project that use a laser pointer to point laser to a solar cell and that plays music on the speaker connected to the solar cell.   I am just confused in regards to the general concept behind how this would work. How is a laser light turned into unique sets of data such as music?  link:


why does "Unexpected token )" get thrown to me when using the for command?

I am using the for command and when I do for(i < 4) { i++ } it pops out: Unexpected token ) at line *line of the command*  I have tried moving some variables and moving where the for command is, even checking StackOverflow, but I can not find an answer. This is strange since it has not happened in the past.  function learnEng() {     while(generationNum <= generations) {         for(i <= 4) {             i++;         }     document.write("
sentence "+generationNum+": "+output+"
");         generationNum++;         } } learnEng();   I didn't expect to get the error because this is the first time I have gotten it, and it spat out an error, and Its sometimes on the line that the for(){} command is on and sometimes it is not, but I know the for(){} command is causing it because it doesn't happen when its not there.


A global Poincare transformation on a scalar field induces  $$\delta(a, \lambda)\phi(x) = [a^{\mu}+\lambda^{\mu\nu}x_{\nu}]\partial_{\mu}\phi(x). \tag{11.46}$$  In curved spacetime we replace $a^{\mu} \rightarrow \xi^{\mu}(x)$, but I read that in fact this new spacetime dependent parameter $\xi^{\mu}$ eats up the effect of the "orbital part of global Lorentz", so that in fact $\xi^{\mu}(x)=a^{\mu}(x)+\lambda^{\mu\nu}(x)x_{\nu}$, and we effectively have to treat $\xi^{\mu}$ and $\lambda^{ab}$ (the spin part of Lorentz) as the basis for gauge transformations.  I don't understand why this should be, any comments that might help? Why does the new local translation parameter include the effect of what globally used to be rotations/boosts?  References:   D.Z. Freedman & A. Van Proeyen, SUGRA, 2012; p. 225.


Tensor product of a module with an ideal is isomorphic to their standard product

Let $A$ be a commutative ring and $M$ an $A$-module. Let $I$ be any ideal of $A$.  We have an epimorphism $M \otimes_A I \rightarrow IM$. It seems to me that this is not in general an isomorphism.   Q1: Any counterexample?   If $M$ is flat, then $M \otimes_A I \cong IM$. However, flatness seems to be a too strong condition for this equality to be true for any ideal $I$. I am interested in finding a characterization of $M$ such that $M \otimes_A I \cong IM$ for any ideal $I$ of $A$.   Q2: Any suggestions?


Find the value of $\frac {|B-A| }{|1-\overline AB|}$ where $|B| = 1$.

If $A$ and $B$ are two different complex numbers and $|B| = 1$, find the value of   $$\frac {|B-A| }{|1-\overline AB|}$$   where, as usual, $\overline A$ denotes the conjugate of $A$.   If possible please don't tell me the entire answer just tell me from where to begin.


Hello I need to know how to make a "playblast" in Blender, (I.E.: for review by my director). I'm almost sure it will be named differently in Blender, something more sensible like "preview render" or "quickest basic render" or "screen based capture" or something.    In any case I need a way to preview my animation and camera work in it's proper timing before going through to the final render. And I'd also like a way that can render a video with the skeleton visible etc. that can be sent to my director elsewhere


I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps there, reads a couple of lines, clicks on the section title again and gets taken to the section's entry in the Table of Contents once more.  Any ideas? :)  (Somewhat related to )


How do I appeal an "exact duplicate" close?

Re.   This question is not an exact duplicate of the one linked. That one assumes that all fields are quoted, that quoting is consistent, that there are no within-field linebreaks, etc. I read that question before posting this, and it was inadequate.   However, I don't see any way to appeal the close. :-/


I need a command to filter the statements from a .txt file

I have a file with the following contents:  select *  from  emp;   select *  from  dept;  selection end;   I want to obtain this output:  select *  from  emp;   select *  from  dept;   I tried by using   awk '/SELECT/{a=1} a; /;/{a=0}' XXARXADLMT.txt    But it didn't work.


Someone who wants to have important friends?

Is there a word for a person who acts a certain way to become friends with others of a higher or more important social status? Someone who will act falsely to impress others for their own gain (i.e to then show off about it to "lesser" people, in a "look who i'm friends with" style)?


How to capture the scene exactly as my eyes can see?

What settings of my DSLR camera will emulate the scene exactly as I can see through my naked eyes?  I think it's not possible to get the contrast and colors exactly as my eyes can see, and it may vary from person to person. So, I am more interested in focal length of the lens. If anyone can give more insight beyond focal length, I will be glad to know.  For example, if I am standing on the seashore and want to capture the sunrise, what should be the focal length so that I can cover the angle of view which my eyes can see, and so the size of the objects in the photo will be precisely like my eyes perceive it?  My camera is an APS-C Canon EOS 1000D. I have 50mm 1.8 and 70-300mm Sigma , Can it be achieved through this equipment lens? Till now, I have not achieved or been satisfied with what I see and what I get.


Connect to highway coming from outside city limits

So one thing which is still giving me a real hard time is incoming traffic from outside the city limits. I just can't seem to figure out a good way to deal with it and I always end up with a ton of gridlock. Here I've got a 6 lane one way road going around, and I'd think that would alleviate congestion some but it sure doesn't, besides which everyone seems to use only one lane anyways.  I've tried actual roundabouts but seem to have trouble getting them to work right.


I'm just about to optimize a website. Now I would like to know from where Google obtains these links:   Why? I also want some links to appear on the search-result for my homepage


Find the three 2-Sylow subgroups of $S_3$ and find a 2-Sylow subgroup and a 3-Sylow subgroup of $S_4.$  I just learned Sylow' theorem at the moment and I don't know how to do these problems. I know a p-Sylow subgroup of a group $G$ is a subgroup of order $p^k$, where $p^k$ divides the order of $G$ but $p^{k+1}$ does not. $|S_3| = 6 = 2\dot\ 3$ and $|S_4| = 24 = 2^3\dot\ 3$. How can I solve these types of problems?


Necessary to report p-values with population-wide patient data?

I am working with population-wide data, including certain patients with a certain disease. N = 10,000. As may be expected, many characteristics of these patients' care may be compared in an article. One idea of p-values is to show statistically significant differences in these characteristics.  E.g. sex distribution, length of hospital stay between the counties etc. It feels overkill to support all these comparisons with p-values. Is there a good strategy where to show p-values?


Is $\mathbb{Q}(\sqrt[3]{3}, \sqrt[4]{3})$ a Galois extension of $\mathbb{Q}$

From a previous question, we have that $\sqrt[3]{3} \notin \mathbb{Q}(\sqrt[4]{3})$, and I am assuming that we would need to use this to justify the answer to the question.   Would it be right to use some idea of a splitting field here? Or is it something to do with $\mathbb{Q}(\sqrt[3]{3}, \sqrt[4]{3})$ not containing a primitive 3rd root of unity?   This is a past exam paper question worth 8 marks, so it doesn't seem like it's a few lined answer, but I am a little stuck on where to go.


I was using Drush version 5.3 in my remote server with no problem at all. I got it working just uploading the the tar.gz from drupal.org to the root of my server. Then I could use commands like: drush/drush cc all, drush/drush cron,... So far so good.  Now I need to update Drush, then I downloaded drush from:  and did the same: I uploaded the drush folder to the root of my server. But when I try to run a command like drush/drush cron I get this message:  Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md  What does this mean?


What is the proper spelling: St Matthew's or St. Matthew when not followed by the word "Church".   *     "There will undoubtedly be tradeoffs that I will have to make if I stay   with St. Matthew’s."   *  My contention is that when St Matthew's is written as plural possessive without the word "Church" following it, then Church is understood to follow.


Is it possible to genetically alter human beings to see parts of the infrared?

Most electron transitions take place in the infrared region,The ability to see this part of the electromagnetic spectrum without reliance on sophisticated technology would have tremendous advantages. Is it possible to manipulate human genes to see this part of the spectrum?


Mexico - transfer in Schengen Area without visa - Morocco

I'm russian. I don't have a Schengen visa and I don't have an opportunity to get one now.   I want to buy a ticket Mexico - Brussels - Morroco of tuifly.   Example:    Normaly, if I had a single ticket , I wouldn't need a visa to do a transfer in Brussels without changing an airport, even though I didn't have a Schengen visa.  However, the route Cancún - Brussels - Enfidha doesn't exist at the website of tuifly. And kiwi.com does have such tickets. This implies that probably there'll be 2 separate tickets, of the same airline.  I'd buy them from kiwi.   The email support of tuifly told me that they couldn't give me an answer about me being able to board a flight, by email. Only in the airport, when boarding, would I find that out.  Question: will I likely be permitted to board a flight? How to increase my chances for this particular route?


What corrections can you make on galley proofs?

When I receive galley proofs of a paper, I look at possible errors introduced by the copy-editing team. But while I proofread the article, there are sometimes small mistakes I'd like to fix, which were not introduced by them (i.e. they were already present in the accepted version of the manuscript).  Usually, the proofs are accompanied by instructions saying that extensive changes should not be introduced at that time, and any such changes would have to be approved by the editor (hence, I suppose, delaying publication). However, the limit is not very clear to me. What is considered extensive changes? In particular, what do you think of the following items (from my experience):   Slight changes in wording, to improve clarity Updating a citation, because an “in press” or “ASAP” article now has page numbers Adding an important (but not crucial) citation one had missed, in the introduction Adding a citation to a paper that has been published since the manuscript was submitted; possibly adding a short sentence to the text     What I have done so far is change everything that I think should be changed to improve the paper (including all the above items), and let the typesetter decide whether he wanted to send it back to the editor. I never received any complaint or comment on my changes, which could indicate that it was the correct course of action.


Explanation of seasons in "A Song of Ice and Fire"

Is there any sort of in-universe scientific explanation of the irregular seasons in "A Song of Ice and Fire".  What does the orbit/tilt of their planet look like?  How can a year be measured?


How to determine equality for two ES6 class instances?

How to determine equality between two ES6 class object instances? For example:  class Rectangle {   constructor(height, width) {         this.height = height;     this.width = width;   } }  (new Rectangle(1, 1)) === (new Rectangle(1, 1)) (new Rectangle(3, 0)) === (new Rectangle(9, 3))   The last two statements return false, but I want it to return true, to compare the instance properties, instead of the object references.


Applications of Algebraic Topology to physics

I have always wondered about applications of Algebraic Topology to Physics, seeing as am I studying algebraic topology and physics is cool and pretty. My initial thoughts would be that since most invariants and constructions in algebraic topology can not tell the difference between a line and a point and $\mathbb{R}^4$ so how could we get anything physically useful?  Of course we know this is wrong. Or at least I am told it is wrong since several people tell me that both are used. I would love to see some examples of applications of topology or algebraic topology to getting actual results or concepts clarified in physics. One example I always here is "K-theory is the proper receptacle for charge" and maybe someone could start by elaborating on that.   I am sure there are other common examples I am missing.


Difference between Math.Floor() and Math.Truncate() in .Net

What is the difference between Math.Floor() and Math.Truncate() in .NET? e.g. Math.Floor(5.4) = 5 Math.Truncate(5.4) = 5 – subramani


When to use (and not use) the rule of three

The rule of three in statistics states that if an event is binomially distributed and does not occur with in $n$ trials the maximum chance of it occurring is approximately $3/n$.  Suppose we have a roulette table with only two options, red or black.  The chance of either of these occurring is clearly 1/2.  Suppose, however, that we don't see black for 10 turns of the wheel.  We might then decide to reason, ignoring the prior knowledge of the distribution, that the chance of black occurring is at most 3/10, which is not true.  Is this a misapplication of the rule?  If so, why, and how does one determine when it is proper to apply it.


Cannot connect to internet after using airmon-ng check kill

In new version of Kali 2.0 with updated "aircrack-ng" tool, there is a problem between Internet connection and using cracking tools.   I have my wireless card as wlan0. And the Internet connection is fine too. Then, what I do is:  airmon-ng start wlan0 airodump-ng wlan0mon   Now the airodump-ng doesn't work, saying "Device or resource busy".  In order to run this I have to kill some processes, using:  airmon-ng stop wlan0 airmon-ng check kill airmon-ng start wlan0 airodump-ng wlan0mon   Now the cracking process is up.   I can start cracking, but now I cannot connect to the Internet after the kill process.  On typing iwconfig in terminal, I get this:  root@kali:~#iwconfig wlan0mon IEEE 802.11bgn  ESSID:"myessid"         Mode:Managed  Frequency:2.412 GHz  Access Point: 00:00:00:00:00:00          Bit Rate=108 Mb/s   Tx-Power=20 dBm          Retry short limit:7   RTS thr:off   Fragment thr:off       Encryption key:off       Power Management:off       Link Quality=42/70  Signal level=-68 dBm         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0       Tx excessive retries:2  Invalid misc:9   Missed beacon:0  eth0      no wireless extensions. lo        no wireless extensions.   And, on running ifconfig on terminal, I get this:  root@kali:~#ifconfig lo        Link encap:Local Loopback         inet addr:127.0.0.1  Mask:255.0.0.0       inet6 addr: ::1/128 Scope:Host       UP LOOPBACK RUNNING  MTU:65536  Metric:1       RX packets:5604 errors:0 dropped:0 overruns:0 frame:0       TX packets:5604 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:0        RX bytes:452904 (442.2 KiB)  TX bytes:452904 (442.2 KiB)   There is no wlan0 or wlan0mon. I also restarted the network manager by:      service network-manager restart   But nothing changed. Though it displays wlan0 when checked using ifconfig this time.


random number generator starting with 0 java

I'm trying to make a random number generator starting with the number 0 and going to 3. Right now I have this:  Random dealerNum = new Random(); int dealer = dealerNum.nextInt(3);


Why is my libre office looking like old windows office?

I have ubuntu 12.04 and my libre office is looking just like windows office, the older one. How do I change the theme back the original one? Thank you so much


Movie or tv show with robots disguised as childen who try to kill progatonist

Long ago, probably during the previous millennium, I saw part of a movie or tv show on television at least one time. The protagonist had problems with robots disguised as specific humans who were part of some alien or demonic plot to take over the world.  Their eyes glowed when they attacked the protagonist. The only part of the film I remember seeing from all those years ago was the end, when the protagonist was attacked in an isolated farm by a father and two kids, all robots in disguise, but managed to defeat them. I remember that the "boy" robot was impersonating a boy named Christopher (who no doubt had been abducted or killed by the killer robots) and was portrayed by an actor named Christopher Johnson or similar last name. So can anyone identify this movie or tv show?


When can an even number be written as the difference between two squares?

When(What properties should a number have) can an even number be written as the difference between to perfect squares?  Here's what I've tried:  Let $n$ be that number and let $x^2$ and $(x+y)^2$ be two squares.Then $(x+y)^2 - x^2 = 2xy + y^2$ so we are looking for two positive integers $x$ and $y$ so $n = 2xy + y^2$. $n$ is even so $y$ needs to be even as well so we have $m = xy + y^2/2$ where $2m = n$ but I don't know where to go from here. Thanks in advance!


Install python packages for specific python version

I understand that in Ubuntu 14.04, you have access to both python 2.7.6 and python 3.4.0. When getting python packages through the command line, how do I make sure that I am installing packages meant for python 2.7.6 and not for python 3.4.0?


Let $x,y$ be positive real numbers. Then $x<y$ iff $x^n<y^n$ for all $n\in \mathbb{N}$

I tried proving it but I'm quite skeptical about it:  $(\Rightarrow )$ Assume $x<y$. Clearly, the base case for the induction is done. Assume $x^k<y^k$ for some $k\in \mathbb{N}$.  Now, $x^{k+1}=x^k\cdot x<y^k\cdot y=y^{k+1}$.   $(\Leftarrow )$ Assume for contradiction that $x\not< y$. Then $y\le x$. Now, suppose $y\ne x$. Then $y<x$. It follows that $y^n<x^n$ for every $n\in \mathbb{N}$ from $(\Rightarrow )$. This contradicts our hypothesis. Also, if $y\not< x$ then $x=y$. Then $y^n=x^n$ for every $n\in \mathbb{N}$ which also contradicts our hypothesis.  Is this proof correct?


Can someone, please, tell me what to do to fix this error?


Im having trouble with an IF statement which is to check to see if there is a value in an array or not, and if not then +1 to be added to InvalidLine.  import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner;  public class Assignment {  public static void main(String[] args) throws FileNotFoundException {      Scanner scan = new Scanner(new File("../Text.txt"));       String line;       while (scan.hasNext()) {          line = scan.nextLine();          String[] elements = line.split(":");          System.out.println("The line has " + elements.length                 + " elements.");          for (int i = 0; i < elements.length; i++) {              System.out.println("Element " + (i + 1) + " was : " + elements[i]);                int InvalidLine = 0;                if (elements[i] == "");{               Invalid++; }               System.out.println("Invalid Fields " + InvalidLine);          }      }  }  }   When the output generates, +1 is added to InvalidLine even though in some cases there is no data in the [1]array  The line had 4 elements.  Element 1 was :   1  Element 2 was :  biscuits  1  Element 3 was :  3   1  Element 4 was :  4  1  The line had 4 elements.  Element 1 was : Coffee   1  Element 2 was :  Cake  1  Element 3 was :  3   1  Element 4 was :  6  1


Confused with output while working with Strings

String sb1 = new String("Soft");     String sb2 = new String("Soft");      System.out.println("ANS1->" +sb1 == sb2);     System.out.println(sb1 == sb2 + " After result");     System.out.println("ANS2->" +sb1.equals(sb2));   This leads to output as below, but i dont understand why "ANS1" and "After result" texts are not displayed. Kindly help on this.  false  ANS2->true


Are Lorentz transformations linear transformations?

My textbook says that Lorentz transformations are linear transformations and present them as matrices. Lorentz transformations relate different coordinate systems with each other. It seems that coordinate systems are linear spaces, but coordinates are just labels for spacetime points, with no other structures attached. So what is the linearity all about?


Can someone find $x$ in the figure? I tried to solve it, but failed.


Web designer's link back to own website (rel="designer" / rel="nofollow")

I read somewhere that web designers' habit of placing a default "follow" link in the footer of their client websites is bad for SEO.  Is this true?  If so, should we use rel="nofollow" instead.  I have seen rel="designer" in some free WordPress themes.


How to calculate $n\bmod p$ when $p$ is prime, and $n$ is an integer of form $a9999...$ where $a$ is digit $1$ to $9$. The number of digits $9$ that follow $a$ is huge (i.e. big enough to not fit memory of my PC).


How do you show animated GIFs on a Windows Form (c#)

I have a form showing progress messages as a fairly long process runs. It's a call to a web service so I can't really show a percentage complete figure on a progress bar meaningfully. (I don't particularly like the Marquee property of the progress bar)  I would like to show an animated GIF to give the process the feel of some activity (e.g. files flying from one computer to another like Windows copy process).  How do you do this?


Cannot connect to Google Account on Internet Account - OSX 10.12.3

From this morning I cannot use anymore any account based on Gmail (neither work account). It asked me for password and every time I insert the correct one, it gives me a "grey" screen (check the screenshot below). I tried already to delete all the google/gmail entries on login/all from Keychain Access, to reboot my Macbook but the problem doesn't get solved. Anyone knows how to solve this? Thank you! I created another thread because I cannot comment there (50 points needed and because the solution applied there is not working). As I said in the comment probably it was working only for an older version of OSX.


How many concurrent login allowed for Salesforce Community users?

We got error while doing performance test against the Community Portal for login multiple users concurrently.
Unable to Process Request

Concurrent requests limit exceeded.

To protect all customers from excessive usage and Denial of Service attacks, we limit the number of long-running requests that are processed at the same time by an organization. Your request has been denied because this limit has been exceeded by your organization.  Please try your request again later.

   Question is how many users can login in one go[like concurrently]? to Community Portal.  Thanks for you time :)


How can I mount an ext4 file system on OS X?

Is there a safe, stable application for reading from and writing to  file systems on Mac OS X?  If not, what's the best way to access the contents of an ext4 file system on Mac OS X?


Clock & Date won't show up on boot sometimes in Ubuntu 13.10

Just like you can see in the screenshot above, sometimes the clock & date won't show up on boot. I have to log off to make it appear again.   Is that because I have a custom-time format in dconf editor ( %a, %d. %h  %H:%M ) ?


I am a bit confused with the 2 lines below.  MyClass myobj[]; myobj = new MyClass[numberVariable];   i would expect in line 1 something like:  MyClass[] myobj;   But the code works and there is not error.  What is the explanation?


I'm trying to write a stored procedure to select employees who have birthdays that are upcoming.    SELECT * FROM Employees WHERE Birthday > @Today AND Birthday < @Today + @NumDays  This will not work because the birth year is part of Birthday, so if my birthday was '09-18-1983' that will not fall between '09-18-2008' and '09-25-2008'.    Is there a way to ignore the year portion of date fields and just compare month/days?   This will be run every monday morning to alert managers of birthdays upcoming, so it possibly will span new years.    Here is the working solution that I ended up creating, thanks Kogus.    SELECT * FROM Employees  WHERE Cast(DATEDIFF(dd, birthdt, getDate()) / 365.25 as int)     - Cast(DATEDIFF(dd, birthdt, futureDate) / 365.25 as int)  <> 0


Here is the code which has an equation in the form of \[... \]:  \documentclass[12pt]{report} \usepackage{braket} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \textbf{Proof-} Every element of $\Delta(G)\Delta(G,N)\subset N'$ can be written as \((x-1)y(n-1)\) where \(x,y\in G\) and \(n\in N\). Now, because we can write \((x-1)y=xy-y=(xy-1)-(y-1)\) we also can write every $(g-1)$ in the form : \[g-1=\sum_{i,j}a_{ij}(x_i-1)(n_j-1), \hspace{2pt}\ a_{ij}\in \mathbb{Z}, x_i\in G, n_j\in N \] \end{document}   My question is how to label the last formula as (*)? All the answers I can find has aligned equations, but in this case I only have one \[...\] equation which I want to label. One way is to use \hspace and then put label,  but is there any other way?


How to know when to use $P(x)\wedge Q(x)$ and when to use $P(x)\to Q(x)$?

When translating English phrases to mathematical statements using logical quantifiers, I find that I'm having trouble knowing the difference between $P(x)\wedge Q(x)$ and $P(x)\to Q(x)$.  For example:  Translate the following sentences using logical quantifiers:   All rationals are real No rationals are real Some rationals are real Some reals are rational   My notes say the following:   $Q(x)$: $x$ is rational $R(x)$: $x$ is real   All rationals are real: $(\forall x)(Q(x)\to R(x))$ No rationals re rel: $(\forall x)(Q(x)\to\neg R(x))$ Some rationals are real: $(\exists x)(Q(x)\wedge R(x))$ Some reals are rational: $(\exists x)(R(x)\wedge Q(x))$    So I have to wonder: Why, for number 1 and 2 is it not right to say $(\forall x)(Q(x)\wedge R(x))$? I've gotten many questions like this wrong because I said $A\to B$ when it was supposed to be $A\wedge B$.


Is it possible to create a second user account in Windows 10 that can only access C drive, and the other drives are not visible to that new account ?


Importing OBJ with MTL and Image not working properly

I'm trying to import an OBJ file that has associated MTL and PNG files. There's a similar question , but the answer is not very helpful, I just see a big blob.   that I'm trying to import. Inside the textured meshes folder there's a few different versions of the object but none seem to import correctly with the texture applied.  I also don't have access to the material and object (as well as a few other) buttons. (see the picture)    Blender 2.71


Ever since I was born, I'd lived with an American family. They were missionaries from  Atlanta and they lived with me and my family for over 14 years. So I literally grew up with their kids and they taught me English and my brother and I would teach them Portuguese (I'm Brazilian btw). They went back to Atlanta in 2010 and I sign up for an English school just to get a certificate or a diploma or something to prove that I speak English.    Later on, I got a scholarship to study  high school  in Canada for  6 months, only to find out that everybody, literally everybody, I talked to would presume I was American. Some people would even argue with me.   So anyways, ever since I came back, I've been working as an English teacher, I mostly teach kids and advanced students. But what intrigues me is that I hear a lot of people saying they are fluent or advanced English speakers (some of them are even English teachers) and their accents is just terrible. They sure know a lot of words, grammar and can speak and talk naturally, but they all have accents.  And so one time I wrote on my resume "native speaker" and all of my friends made fun of me. They still do actually. I just don't know if "fluent"  is enough of word to describe my English.


I'm new here, so please excuse me if this question has been asked before. Also, I'm new to this whole Linux/Ubuntu etc thing, so this may be a silly question. :-)  I installed Ubuntu 14.04 on my Acer Aspire 5349 a few days ago. It now dual boots with Win 7. I find that it's very good and I quite like the GUI, but a wee bit 'jerky' on graphics rich Facebook games (using Chrome).  My question is regarding changing to Kubuntu instead. I think that I prefer the look of that, and is it possible to replace U with K? I'd rather not 'trio-boot'.  I'm not a complete techie, so please be gentle with me (!)


I am working in Open Office Writer 3.3.0 and I have come across something a bit odd. When I write a semi-mathematical formula my "-" gets replaced by a "–", a slightly longer dash, and I cannot seem to turn it off in the autocorrect. I am not sure how to. the dash "-" does not appear in the autocorrect table of any language, whereas double-dash "--" does.  Any ideas how to disable this?


Can anyone help me with this limit problem without L'Hopital rule and Taylor series? $$\lim_{x\rightarrow\ -\infty}\left(-2\frac{\arctan(x)}{\pi}\right)^x$$


I want to restrict the fileupload to only accept .jpg and .png files, and to restrict the filesize

I want to restrict the file size and file type on the profile picture. I want to allow only .jpg and .png pictures, and i also want to only allow a maximum file size of for example 1 megabyte. Under you see my code for uploading a file with no restrictions. I am using base64. I need to check file type and file size before the picture is uploaded but I really don't know how and where. If you need to see more of my code please let me know. Thank you very much.      [HttpPost]     [AllowAnonymous]     [ValidateAntiForgeryToken]     public async Task<IActionResult> ChangePic(IndexViewModel model)     {         if (ModelState.IsValid)         {             var user = await _userManager.FindByIdAsync(User.GetUserId());              var breader = new BinaryReader(model.ProfilePic.OpenReadStream());              var byteImage = breader.ReadBytes((int)breader.BaseStream.Length);              user.ProfilePic = byteImage;              var result = await _userManager.UpdateAsync(user);             if (result.Succeeded)             {                 // For more information on how to enable account confirmation and password reset please visit http://go.microsoft.com/fwlink/?LinkID=532713                 // Send an email with this link                 //var code = await _userManager.GenerateEmailConfirmationTokenAsync(user);                 //var callbackUrl = Url.Action("ConfirmEmail", "Account", new { userId = user.Id, code = code }, protocol: HttpContext.Request.Scheme);                 //await _emailSender.SendEmailAsync(model.Email, "Confirm your account",                 //    "Please confirm your account by clicking this link: link");                 await _signInManager.SignInAsync(user, isPersistent: false);                 _logger.LogInformation(3, "Profile info updated");                 return RedirectToAction(nameof(ManageController.Index), "Manage");             }             AddErrors(result);          }          // If we got this far, something failed, redisplay form         return View(model);     }


Layers with same coordinates not lining up

I have a project where I have a few layers (State of Texas, cities, roads, etc.). They are all resaved and projected to NAD83 / UTM zone 14N EPSG: 26914. The project CRS is also NAD83 / UTM zone 14N EPSG: 26914 and on the fly projection is enabled. I added a text delimited file and cannot get them to line up. I checked the attribute table of the delimited file and the coordinates are correct. I cross-checked this with a point close to where a few of the points from the delimited file are and they are very close so in theory they should be lining up. I tried to save the delimited file and save it with the same projection and add the shp file back in and that did not work. Anyone have any ideas? I can't think of anything else to try.


The board shows two queens, a 9, 8, and 7. I'm holding a queen and a Jack. The other player is holding a queen and an Ace. Is this a split pot or does the Ace play?


How sum of exponential variables is a gamma variable

I have the task to calculate $P(S_{100}\geq 200)$ where $S_{100}=\sum^{100}_{i=1} X_i$ and $X_i$, $i=1,2, \cdots, 100$ are independent $exp(\lambda)$ random variables. One method is to use the fact that a sum of exponential variables make a gamma random variable. So far I've got $P(S_{100} \geq 200)= P(\sum^{100}_{i=1} X_i \geq 200)= \sum^{100}_{i=1} e^{-\lambda200} \frac{(\lambda200)^j}{j!} \geq 200$


Pronoun immediately following its antecedent

Is placing a pronoun immediately after its antecedent in a sentence valid grammar?  Is there a term for this construction?  Some examples are:   President Obama, he gave a speech last night. The speech, it was about the financial system.   I hear this on the Planet Money podcast at least once per episode.


I have made the mesh and added solidify modifier and applied. But later i thought to increase the thickness. So now i want to remove thickness so that i can added the solidify modifier again. I want to know is there any quick remove thicknes. When i select the edge then ctrl+ the selection goes downward not to single face. So i want to know a quick way to decrease thickness. Any suggestion or help.


Spock was the only Human-Vulcan half breed because he was genetically created, not born. In an interview between Gene Roddenberry and Sarek (played by Mark Lenard, of course) on the album Inside Star Trek, Sarek reveals the origins of Spock through casual conversation. He was a test-tube child, incubated outside of his mother because humans and Vulcans are naturally incompatible.  So, would Spock even be able to have children? Is it possible that Spock is actually sterile, like most species cross-breeds in biology?


Are MOOCs a good way to show grad schools that I've gained proficiency in a field which is not my major?

I'm an undergraduate computer science major with a specialization in networks and communication looking at a masters in molecular genetics. In addition to a GRE biochemistry and molecular biology subject test score, I'm interested in MOOCs to enhance my resume.


Is it possible to route all outgoing requests for SSH (port 22) to mydynamicdns.afraid.org via wlan0 instead of eth0 when both are connected?  Since my IP is dynamic, I would like to use a name instead of IP.


I have problem with CRS Bosnia and Herzegovina?  MGI 1901 / Balkans zone 6  EPSG:3908 MGI 31276 / Balkans zone 6  EPSG:31276  Which of these two is OK? When I open google sattelite image with openlayers plugin, MGI 1901 match an image, when I change to MGI 31276 vector layer mismatch about 300m. When I import my layers to Global Mapper, datum of vector is "MGI Austria"   I need this projection:


I have recently noticed that I press CTRL + C more than once, even if I know that the file has been copied to the clipboard. But I press CTRL + X or CTRL + V only once.   Why do I do this? Is this only a problem for me, or is anybody else is facing it too?


How do I read a file in C++ and write contents into a string?

I am writing a method which requires reading a file and putting all its contents into a string variable.  This is what I have tried:  unsigned int ShaderHandler::CompileShader(unsigned int shaderType, const std::string& sourceFilename) {      std::string sourceCode;         std::string line;     std::ifstream shaderFile;      shaderFile.open(sourceFilename);      while (getline(shaderFile, line)) {         sourceCode << line;     }      shaderFile.close();       std::cout << sourceCode;  }   And this is the error I get:  ShaderHandler.cpp:30:20: error: invalid operands to binary expression ('std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') and 'std::string')         sourceCode << line;         ~~~~~~~~~~ ^  ~~~~   Instead of sourceCode << line, which is obviously wrong, what shall be used?


When I use ! as a field separator e.g. awk -F! it is giving error message bash: !: event not found. Why? It is accepting awk -F"\!". Bash version 3.2.25


RewriteCond not matching on my IP when matching on %{REMOTE_ADDR}

I want a mod_rewrite rule not to be executed when traffic is hitting the web-server from internal network. The web server is an apache 2.2 The following RewriteCond is meant to guard the rewrite rule.          RewriteCond %{REMOTE_ADDR} !=192\.168\.[0-15]\.[1-255]   If I access the web server using ip 192.168.15.173, the rule doesn't seem to kick in and thus the rewrite rule is executed despite my internal address. Where is my mistake?  Matching for the simpler:      RewriteCond %{REMOTE_ADDR} !=192\.168\.15\.173   fails as well.  I used the "Blocking of Robots" example in  to build the rule. Am I missing something?  Edit: I already tried to investigate using rewrite logging, but that didn't bring up any useful information. That's what happens during the request:      192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (2) init rewrite engine with requested uri /test/     192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (3) applying pattern '^/test/(.*)' to uri '/test/'     192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (2) rewrite '/test/' -> 'https://example2.com/'     192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (2) explicitly forcing redirect with https://example2.com/     192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (1) escaping https://example2.com/ for redirect     192.168.15.173 - - [12/Jun/2013:13:50:17 +0200] [example.com/sid#7f3c6afb5e30][rid#7f3c6f864b68/initial] (1) redirect to https://example2.com/ [REDIRECT/302]   I don't even see the RewriteCondition mentioned in this log.  Edit2: The apache version in detail is:  Name        : httpd Arch        : x86_64 Version     : 2.2.15 Release     : 26.el6.centos Size        : 2.9 M Repo        : installed From repo   : anaconda-CentOS-201303020151.x86_64   Edit3: I upped the LogLevel to 4 and now I get more results:  192.168.15.173 - - [12/Jun/2013:14:18:05 +0200] [example.com/sid#7f3c6afdfdb0][rid#7f3c6f880568/initial] (4) RewriteCond: input='192.168.15.173' pattern='!=192\.168\.15\.173' => matched   Why does this match?  Edit4:  tells me, that it shouldn't match ...


Configure ubuntu to record every keystroke in every session

I want to get my computer, with ubuntu 16.04, to record every keystroke in every session and store it in a text file. With "every keystroke" I do not mean every keystroke in terminal, because I've already found answers to that, and it's not what I'm looking for.  So, having physical acces to the computer and sudo privileges, is it possible to achieve this? If so, how?


Should my canonical URLs have only the ID with no slug so that they don't change?

Our URLs will be created by the user's content.  Eg:  www.example.com/bar-1234/i-went-to-baz-4321  The "i went to baz" portion is user generated, included with the aim of being helpful to the person viewing the URL and also to possibly contain useful keywords for search engines.  However, the string that forms that portion is user editable. So it could become:  www.example.com/bar-1234/we-drove-to-baz-4321  AFAICT the canonical URL should be:  www.example.com/bar-1234/4321  The string portion is discarded by the controller, which means that there's potential for duplicate content from limitless URLs!  So, my question is, does it matter if my canonical URL is 'non SEO friendly'?  It seems logical to me to provide search engines with the "id only" version of the URL which is always consistent, but the canonical URL is the one that appears in search results, so is there any benefit from trying to use more 'SEO friendly' URLs?


why there is a gap between the caption of this table and table


Every time I run vagrant up, ubuntu 16.04 freezes and I have to restart it.    I can't event run vagrant up --debug.   I am using  box.


I'm aware that it's possible to embed some kinds of videos and animations in LaTeX files (using the beamer or prosper classes) but I couldn't locate good documentation on this. My web searches returned a list of scattered forum questions and answers.   Could anybody give a link to some help or documentation page that systematically deals with the various ways of embedding videos and animations, the file types that work, etc.?


How to add a 2D png into my tracking data instead of using a 3D model

I have a GIF I'm working on where I track a 2-D PNG of Nero's head onto tracking data. Trouble is, every tutorial I go to uses a 3-D model (like the monkey) to link to the tracker and none uses a 2-D image. Is it possible?


Anyone got any tips on how to beat down a Dragon solo? I've managed to get it down to 3/4 health, but keep running out of potions and getting owned.  I tend to whittle it down with bow from cover, then hit it with akimbo Lightning Strike which is awesome btw. Then poison and some sword.  I can't see a way to achieve this without having about 1000 points of stamina to run away from it when it does a swooping breath attack which seems to track you no matter what way you go.  Any advice please? This is for fighting them out in the open, "wild dragons" if you will.


Prove that each of the group R :  $$|x+y| \leq\ |x| +  |y|$$  Of course I'm not a lazy person I tried solving before since the teacher gave this exercise to us in the  exam. I wanted to know the right answer because we still haven't corrected the test.   Thanks and Sorry for any faults. This is my first question in this website. How would I know if it's duplicate?


I've noticed two tags being used for the same purpose on Stack Overflow.  Is there a place where I can request a fix?


Should you be allowed to downvote the competition?

Possible Duplicate:          I was reading  on hacker news. In particular people seemed to be very discouraged about idea they are getting downvotes by competing answerers.   Think about it as anti-sportsmanship. It is clear this is not a super-common practice. Obviously on meta this is a bit more common than on SO.   It is also clear that it leaves a .  Should we look at introducing a system that stops people from downvoting the competition in certain cases? If so what are the cases? If not why?


I have a question;   X and Y are subgroups of a group G.  If $|X|, |Y| < \infty$, show that   $|XY| = \frac{|X||Y|}{|X \cap Y|}$  but I can't really picture what it is talking about to even get started.  Is it to do with looking for different ways so combine the elements {x, y, xy} ?  Thanks


How many tensor product terms are necessary to express a separable state?

Wikipedia () defines a separable state, as a state $\rho$ which can be written as:  $ \rho = \sum_{k=1}^l p_k \rho_1^k \otimes \rho_2^k $  where $\sum_{k=1}^l p_k = 1 $ and $\rho_1^k, \rho_2^k $ are all mixed states of the respective subsystems ("Alice's" and "Bob's" systems). Later it is stated that it can be assumed without loss of generality that $\rho_1^k, \rho_2^k $ are all rank-1 projections, i.e. pure states of the respective subsystems.  My question is as follows: in the general case, if I demand that all $\rho_1^k, \rho_2^k $ are pure, how many terms are required? Simply put, what is the minimal necessary $l$? Even for the simplest case (2 qubits) I can't find a naive bound.  Also, given a separable state $\psi$, is there a way to find the "minimal" decomposition? And how may one prove that some given $\psi$ cannot be written with less than so-and-so terms?


Windows Subsytem on Linux, "sudo: can't resolve hostname"

I have just installed WSL and i am running into a number of issues. The first being that i can't change the locale to en_US with out using SUDO. When ever i use SUDO i get "sudo: can't resolve hostname". After som googling it was made clear to me that i would have to edit /ect/hosts and add my machine name. I tried this but apparently it can't be done with out SUDO. Any ides on how to solve this ?


Why does CNAME for a root domain conflict with most other records?

As far as I understand, a CNAME record is served to retrieve only the A record of its destination. E.g.:  www.example.com CNAME domain.com  Here the DNS resolver will search for the A record (IP address) of domain.com.  It is not allowed by RFC to use the CNAME record for the bare domain name, although, technically, it is possible. Like here:  example.com CNAME domain.com  example.com MX mail.example.com (MX will not work in this case)  However, I still don't understand how this record conflicts with other records like MX from the technical point of view and why the A record does not conflict, for instance. I guess I've missed something.  By the way, there are CNAME Flattening, ANAME or ALIAS records that have different implementations than the standard CNAME and they do not conflict with other records.  Could you explain?


I reset my Samsung Tab 4 and I lost my photos - Which aren't backed up

I really, really need to recover the photos. Please tell me how to recover them


What is Laurent series expansion of $\frac{1}{e^z-1}$ around $z=0$?

Consider $$f(z)=\frac{1}{e^z-1}$$ I want to expand it over $z_0=0$ in a Laurent series.  We know that $$e^z=1+z+\frac{z^2}{2!}+\frac{z^3}{3!}+\cdots$$ And I know that $$\frac{1}{x-1}=-1-x-x^2-x^3-x^4-x^5+\cdots$$ But I can't get the correct answer for my desired series which is, $$\frac{1}{x}-\frac{1}{2}+\frac{x}{12}-\frac{x^3}{720}+\frac{x^5}{30240}+O(x^6)$$ Any help?


Creating generic two-dimensional array using Class object

I have generic type with Class<T> object provided in constructor. I want to create two-dimensional array T[][] in this constructor, is this however possible?


This is more of a curiosity question as I try to get a better understanding of apt and package management.   I'm seeing that in my /etc/apt/ and /etc/apt/sources.list.d/ folders I have very or sometimes identical files which have the extension of sources.list, sources.list.distUpgrade, sources.list.save, and so on.   What's the point of these duplicate or similar files?   sources.list and sources.list.save in /etc/apt/ seem to be identical but sources.list.distUpgrade shows quantal instead of raring for most stuff (I probably first installed quantal).   On the other hand, in the case of google-talkplugin.list and google-talkplugin.listUpgrade in /etc/apt/sources.list.d/ the content of the files seems to be completely identical.  Didn't find much in Google searches. I reviewed  but it didn't talk much about it.   Also noticed  where  related to the extensions was noted for 10.10


You can't specify target table 'table_name' for update in FROM clause

I begined read more in-depth MySql and try solved this task on . According to description need delete a duplicats from table, but my query not work. In sqllite is work fine. What is the reason?  DELETE FROM     Person WHERE     Email IN(     SELECT         Email     FROM         Person     GROUP BY         Email     HAVING         COUNT(Email) > 1 );   error  You can't specify target table 'Person' for update in FROM clause


How can I upgrade to ubuntu 16.04 64 bit from ubuntu 14.04 32 bit?

I am currently using ubuntu version 14.04, but I want to upgrade to 16.04 without reinstalling ubuntu. So can anyone help me out.


Possible Duplicate:          I've been using my SO account for couple of days, but I am not registered and I do not want to lose all my questions. How can I register and keep my questions from my unregistered account?


How to embed wireless network drivers in iso file

I want to know how to embed wireless network drivers so that i do not need to install drivers after clean installation of windows.


We square at the variance and SD is it due a link with to Gaussian function?

I had almost same question as "". But I also noticed the $\sigma$ or population standard deviation is being used in the equations for Gaussian distributions. (although I could not 'perceive' that big equation). So if we have the population mean (a simpler concept) and the population standard deviation, and if we know the dataset follow a Gaussian distribution; we can directly put into the equation for a Gaussian function and can derive the curve.  equation from ,  It makes me think of is there the answer of why we use such a squared formulae for variance and Standard deviation? If we did not use that square (instead if we put 'absolute mean deviation around mean'); the equation for Gaussian distribution probably would not work. So my question is;  is it we actually use the squared formula for variance and standard deviation so that we can easily put it into a Gaussian equation? Is my assumption correct? PS. Instead of standard deviation, could we use absolute mean deviation for Gaussian distribution?