why wont this program compile with user input for filename
Opening a file with std::string
If we can construct lines of distance $1$ and $x$, then how do we construct a line of distance $x^2$? The author is trying to prove it is impossible to square a circle of radius $1$ under the assumption that $\pi$ is transcendental. Even with this assumption, the author explains that if the circle can be squared, then we could draw a line with distance $\pi^{1/2}$. Everything good at the moment. Then he claims that, if such construction is possible, we could also draw a line of distance $\pi$, and that the proof would, under the stated assumption, be complete.     The thing I don't get is how, from a line with distance $\pi^{1/2}$, we could create a line with distance $\pi$. Parent Field in Lightning Datatable Are Parent Fields supported in lightning Datatable?  I'm trying to display Account Name with Contact information, but it seems parent fields are not supported in lightning datatable.  Component:  &lt;aura:component controller="PagingSortingController"&gt;     &lt;aura:attribute name="mydata" type="Object"/&gt;     &lt;aura:attribute name="mycolumns" type="List"/&gt;     &lt;aura:handler name="init" value="{! this }" action="{! c.init }"/&gt;     &lt;lightning:datatable data="{! v.mydata }"          columns="{! v.mycolumns }"          keyField="con.id"         onrowselection="{! c.getSelectedName }"/&gt; &lt;/aura:component&gt;   Controller:  ({     init: function (cmp, event, helper) {     cmp.set('v.mycolumns', [                 {label: 'Contact Name', fieldName: 'Name', type: 'text'},                 {label: 'Phone', fieldName: 'Phone', type: 'phone'},                 {label: 'Email', fieldName: 'Email', type: 'email'},                 {label: 'Account Name', fieldName: 'Account.Name', type: 'text'}             ]);         helper.getData(cmp);     }  })   Helper:  ({     getData : function(cmp) {         var action = cmp.get('c.getContacts');         action.setCallback(this, $A.getCallback(function (response) {             var state = response.getState();             if (state === "SUCCESS") {                 cmp.set('v.mydata', response.getReturnValue());             } else if (state === "ERROR") {                 var errors = response.getError();                 console.error(errors);             }         }));         $A.enqueueAction(action);     } })   Apex Controller:  @AuraEnabled     public static List&lt;Contact&gt; getContacts() {         List&lt;Contact&gt; contacts =                  [SELECT Id, Name, Phone, Email,Account.Name FROM Contact];         return contacts;     } youtube-dl failed to extract signature In MySql, find strings with a given prefix How to use mirror ball to light a scene? Search across Stack Exchange sites in Android app I was watching some videos on YouTube showing how to get the Duke O' Death in GTA 5, however what I have seen is sort of unclear.  Some people say you must be a returning player on GTA 5 to get it (what does this mean too BTW?), some people don't say that. Some people say you have to be Trevor, some people don't. Some say the time of day matters, some don't. And apparently you can buy it from Warstock website (I can't).   Can someone please tell me how to get it?! GTA 5 came with my PS4 (I didn't play it on PS3) if that helps. Most statements regarding Riemann integrals (at least the ones that I have encountered) begin with the statement "for $f(x)$ bounded on $[a,b]$." I am wondering if Riemann integrability implies boundedness. I think that this has to be the case, but I am not sure. If Riemann integrability does imply boundedness, are improper integrals considered Riemann integrals? I would think that improper integrals wouldn't be Riemann integrals since improper integrals are allowed to be equal to $+\infty$ or $-\infty$. Or are improper integrals that are not equal to $\infty$ considered Riemann integrals?   I am confused. The definite and zero article with the word "civilization" Commutator Subgroup of Direct Product equals the Direct Product of the Commutator Subgroups I need to prove that $(G_{1}\times G_{2})^{\prime} = G_{1}^{\prime} \times G_{2}^{\prime}$, where $G^{\prime}$ denotes the commutator subgroup of $G$ - i.e., $G^{\prime}=[G,G]$, the subgroup generated by all commutators of elements of $G$.   Recall that the commutator of two elements $x$ and $y$ in a group $G$, denoted $[x,y]$ is defined to equal $x^{-1}y^{-1}xy$.  I have posted my proof as an answer below. Could somebody please take a look at it and let me know if it's okay? If not, please let me know what I need to do in order to fix it. Thank you. :)    Edit: I have been informed that my answer given below actually shows only equality of the set of commutators, and that $G^{\prime}$ consists of products of commutators. So, this question is no longer a proof check, but I am asking specifically how to fix what I have written below in order to make it actually answer the thing I set out to prove. I am having a bit of trouble understanding some of the hints given me thus far, and am going to need more detail in any answers given in order for them to be helpful. How do I share samba via Open VPN? Is that possible? I have configured open VPN in my home so that it can be accessible from my office easily.  Now I want to share samba via my open VPN. How can I share samba over open VPN between Ubuntu and Windows?  Home public IP: HHH.OOO.MMM.EEE Home desktop IP: 192.168.10.10 Office public IP: OOO:FFF:III:CCC Office Windows desktop IP: 192.168.1.10 I have downloaded the offline (consumer, i.e. not msi package) installer for Google Chrome. But when I run it, it tries to contact a Google server to check for a newer version. If it finds it, it will download that first, and then install that version. It doesn't use the version that is already there, as part of the EXE file. For me, that defeats the point of having an offline installer. I keep a repository of all the free and purchased software locally, so that I can install them quickly whenever I need to. But as more and more people get access to broadband Internet connections, many developers and companies are pushing for offline installers with new releases. Many software titles, like Google Chrome, are almost exclusively distributed with online installers.  File name: ChromeStandaloneSetup.exe File version: 1.3.21.115 Size: 36.6 MB (38 416 368 bytes) SHA-1: 2393BAB7F408DC8D30F039FCA5D6B45600A0C4E7   How do I install Chrome as is, without automatically checking for and getting a newer version?  Will  work with Chrome installer? Is there a switch to disable version check when running the installer?  Update:  The "duplicate" question linked to below points out File Hippo as a possible repository where you one can get previous versions of Chrome. They do have a healthy listing of pretty much every single Chrome version ever released on Windows, both beta, dev and stable versions. Unfortunately they don't host the installer files, they only redirect to Google servers for downloads, which only spits out the installers for the latest versions of Chrome. It's not just File Hippo, I also tried downloading an older version of Chrome from CNET Downloads, and they too just redirect you to Google servers for download.  For whatever the reason (security related probably), Google doesn't like anyone to install an older version of Chrome on any system. Apparently not even your common source for downloading an older version of a software, like the CNET Downloads, not even they are allowed to host the Chrome installer files on their own servers. The redirects to Google is probably dictated by Google.     Google is a dictator!   They don't even allow full standalone offline installers to be installed as is, without checking for newer version. I tried running the installer from cmd with some of the command line switches used for Chromium. I only ended up with errors.    The business oriented msi installer (GoogleChromeStandaloneEnterprise.msi) might have some additional command line options you can use, but I wouldn't know if there is one that disables the check for a newer version. I have yet to find a complete list of switches you can use. The only one I've found so far is /update but that only does the opposite thing. So I'll give up here and go back to the trusty Firefox. Currently selected indicator's colour in flag summary and help pages, can be the same as the site's colour code Some of the Stack Exchange sites has it's own colour code. Like Meta Stack Exchange has #17a7db, ELU has #AE3737, Travel has #277789 for the currently selected item's indicators in main page and the user activity page. But in the flag summary section and help pages of those sites, the indicator has the colour of #F48024 which is same as the Stack Overflow site's colour code. So instead of applying the Stack Overflow's colour code to all the sites, shall we apply the site's specific colour code in flag summary and help pages too. Selected indicator in flag summary section of MSE, ELU and Travel:      Selected indicator in help page: Emacs text-scale-adjust causes line numbers column to incrementally shrink and disappear I've set up emacs to display line numbers (global-linum-mode 1), and it works until I start enlarging the text via text-scale-adjust    The line numbers column starts to shrink, and disappears entirely after a few increments. When it has fully disappeared, further increments have no more effect on the left edge.    Is this a know issue? Is there a workaround?    Using GNU Emacs 23.1.1 in Ubuntu 10.04. Is $\sum_{k=1}^{n} \sin(k^2)$ bounded by a constant $M$? I know $\sum_{k=1}^{n} \sin(k)$ is . How about $\sum_{k=1}^{n} \sin(k^2)$? Where will changes and fixes to guides and manuals for 5e be found? I'm interested in a grappler build, among others, and don't know where to look to see if the last bullet for the grappler feat has been changed. The grappler example aside, it should be useful to know for future fixes. Prove that $n! + k$ is a composite number If I wanted to just view, sort, and organize (via tags or folders or both), what programs are geared toward doing this quickly?  I know I could do this in most any photo editor, but it's not ideal for reviewing hundreds of images. I've also seen people use the image previewers built into their computer's OS, but that can't be the best option either.  What program would you suggest instead?  Extra info on the program is appreciated, i.e. OS requirements and cost. Writing to NTFS drive in Linux error tex capacity exceeded log files added I am having a hard time figuring out where the problem is with my code/workflow. I previously posted this question , but then the same problem came straight back. When I run it in tex, I get an error input limit exceeded. The exact log is pasted below:  This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2017.1.26)  26 JAN 2017 20:45 entering extended mode **./master.tex (master.tex LaTeX2e &lt;2016/03/31&gt; patch level 3 Babel &lt;3.9r&gt; and hyphenation patterns for 75 language(s) loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size11.clo" File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files\MiKTeX 2.9\tex\latex\apacite\apacite.sty" Package: apacite 2013/07/21 v6.03 APA citation \c@BibCnt=\count87 \bibleftmargin=\skip43 \bibindent=\skip44 \bibparsep=\skip45 \bibitemsep=\skip46 \biblabelsep=\skip47 ) No file master.aux. \openout1 = `master.aux'.  LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. \c@maskedRefs=\count88 ("C:\Program Files\MiKTeX 2.9\tex\latex\apacite\english.apc" File: english.apc 2013/07/21 v6.03 apacite language file LaTeX Info: Redefining \BPBI on input line 129. LaTeX Info: Redefining \BHBI on input line 130. ) ! TeX capacity exceeded, sorry [input stack size=5000]. \AtBeginDocument #1-&gt;#1  l.5 \begin{document}  If you really absolutely need more capacity, you can ask a wizard to enlarge me.   Here is how much of TeX's memory you used:  641 strings out of 493333  7639 string characters out of 3139188  74825 words of memory out of 3000000  4254 multiletter control sequences out of 15000+200000  3940 words of font info for 15 fonts, out of 3000000 for 9000  1141 hyphenation exceptions out of 8191  5000i,0n,4998p,136b,36s stack positions out of 5000i,500n,10000p,200000b,50000s !  ==&gt; Fatal error occurred, no output PDF file produced!   I previously posted this question and thought I solved it but am having the same problem again.   The latex code I am trying to execute is below:   \documentclass[11pt,twoside]{article} \usepackage{apacite} \nocite{*}  \begin{document}   % title page. Edit as needed for future publications.  \title{Research Proposal} \author{Teererai Marange \\ Department of Computer Science \\ University of Auckland\\ \texttt{t.marange@auckland.ac.nz}} \date{January 26, 2017} \maketitle % end title page.    % abstract goes here \newpage \begin{abstract} Abstract goes here  \end{abstract} \newpage   % table of contents  \tableofcontents \newpage   %begin introduction  \section {Introduction} Lorem Ipsum Doremifaso   %\cite{Nedakeyword} use to cite     %references our biliography. This must go whereever we use our bibtex references  \bibliography{references} \bibliographystyle{apacite}   \end{document}   and the bib file that I am using to build the bibliography is below:   @misc{wikipedia1,   title = "Scripting language",   author = "Wikipedia",   url = {http://en.wikipedia.org/wiki/Scripting_language},   year = 2014, }