Inheritance of Constructor in CPP
What are the rules for calling the base class constructor?
Irrationality of sum of two logarithms: $\log_2 5 +\log_3 5$ I try to prove that the number $$\log_2 5 +\log_3 5$$ is irrational. But I have no idea how to do it. Any hints are welcome. 2018 monthly product team updates Mid-2017  started publishing monthly updates. This post will continue that effort into 2018. (.)  Updates are posted at the beginning of the month. They cover what was done last month, what is still in progress and new work that will be started in the current month.  Updates:      (CoC, nav, OpenID, responsive design, bugs, campaigns)  (CoC, comment flags, nav, OpenID)  (question wizard, nav, user survey, OpenID)  (tag watching, GDPR)  (responsive design, tags, teams)  (responsive design, OpenID, teams, sponsorship)  (responsive design, facebook auth, question lists, teams)  (newsletter, sign up, Documentation reputation, channels)  (top bar issues, hats, question template) How to fix pagination for custom loops? I have added a custom/secondary query to a template file/custom page template; how can I make WordPress use my custom query for pagination, instead of using the main query loop's pagination?  Addendum  I have modified the main loop query via . Why isn't pagination working, and how do I fix it? Let $a$ be a non-zero real number. Is it true that the value of $$\int\limits_0^\infty \frac{\mathrm{d} x}{(1+x^2)(1+x^a)}$$  is independent on $a$? Everytime I try to sudo something at the terminal, I get a warning message:  alexandre@XPS-15Z $ sudo mount file.iso /mnt/ -o loop [sudo] password for alexandre:  no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory   It's just annoying to get that all the time. How do I solve that? I'm on Ubuntu 14.04 (upgraded from 13.10) I have a  for my phone, powered via a micro-usb port. The markings on it indicate that it will accept the typical 5V that nearly every USB port provides, or it will accept 9V for "fast charge".  I was under the impression that USB standards allowed for no more than 5V. My research shows that  has several profiles (up to 20V), and Revision 2.0 Version 1.2 includes a 9V profile.  Now I'm wondering: How can voltages above the usual 5V be provided without worry of damaging an expensive phone when connecting them directly (no wireless pad)? If things are running at different voltages, wouldn't that cause an issue?  In this example, 9V is used for fast charging, but could that 9V be sent to my phone? Do phones have a safeguard for this? The USB standard allows for up to 20V. That's a lot when expecting only 5V. Some "dumb" devices are powered directly off of USB, like cheap LEDs and fans that have no IC. Surely they would blow upon 20V!  I'm guessing there is data exchanged between the power source and the peripheral, ultimately telling the power source whether or not it's okay to provide more than 5V. Some USB charging cables don't have data pins though, which can allow for faster charging. In this case, it seems that not having data pins would be a restriction. Maybe the power source would have to default to 5V?. Unfortunately I cannot find an explicit protocol/explanation of how the different potentials are managed. We can apply l’Hôpital’s Rule to the indeterminate quotients $ \dfrac{0}{0} $ and $ \dfrac{\infty}{\infty} $, but why can’t we directly apply it to the indeterminate difference $ \infty - \infty $ or to the indeterminate product $ 0 \cdot \infty $?  Furthermore, why can’t we call $ \infty + \infty $ and $ \infty \cdot \infty $ indeterminate forms?  I’m new to calculus, so please clear up my concepts if you can. Thanks! Why is menstruation in wild animals not a disadvantage to organismal survival? When I watch wilderness specials for more than a few minutes, I notice a familiar pattern: predators are depicted as being alerted by the scent of blood. Wounded animals seem to make the best prey and predators seem to have a heightened awareness for the smell of blood.   It would seem that it would then be a disadvantage to evolutionary survival for female organisms to menstruate. How do females of a species not attract predators to the signal of menstrual blood?   Do female organisms in the wild actually menstruate? If so, is there a difference in the composition of menses that does not alert predators? How would this not at the very least give predators an idea of the general vicinity of the female?  If wild animals excrete their menses, do they have ways in which they are able to mask the evidence of its release or are they somehow internalizing the tissue so that they are not released?  If female organisms in the wild do menstruate, then why is this not a survival disadvantage? How can I make a view that seems like orthographic, but not exactly? For the start, I thought was orthographic, but when I used the orthographic camera, it didn't match up. Client say they want a so-called &quot;industry schematic&quot;, talking about a 135 degree look.  I found a trick to do this, which is using lattice. I align the lattice with the cube, and move the upper four points a little bit along the axis showing on the following image. But I want to achieve this by just using the camera. diameter on a compact metric space I have troubles showing the following:  Let $(X,\rho)$ be a compact metric space and $F \subset X$ a closed subset. Prove that if diam $F &lt; \infty$, then there exist $x_{0}, y_{0} \in F$ such that diam $F= \rho(x_{0},y_{0})$.  It looks so trivial yet hard to find the trick. Decidability of a predicate. I have the following problem:  Let the following predicates be: $P1, P2, Q1, Q1 : R \to \{0,1\} $ .  It is given that $P1 \lor P2$ and $Q1 \lor Q2$ are semidecidable and $P2 = \lnot Q2$  What can it be said about $P1 \lor Q1$?  I have searched all over the internet and I simply cannot understand the concept of decidability of a predicate, let alone a logic operation with predicates. Create an Application without a Window How would you program a C/C++ application that could run without opening a window or console? I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item:  This is no longer located in G:\Graphics.  Verify the item's location and try again.  I can see the folder -- I can find it.  I just can't delete it.    I also get a second error message (sometimes) when I click on the folder: G:\Graphics 2009-11-17 refers to a location that is unavailable...this information might have been moved to a different location.    I'm using Windows 7; this folder is on an external hard drive.  I've emptied the folder (there were items in it); I've scanned that external hard drive for errors.  Trying to rename the folder yields the same enigmatic error message.    Is there a way to delete this folder? Cannot update/get any packages. gedit not installed my problem is that my sources.list is out of date for some reason. I already found the fix in another port, but it doesn't work. It says to use gedit to edit sources.list and replace everything with the proper sources. Well, for some reason I don't have it installed (Ubuntu Server 14.04) and I can't install it or else I get the main problem again.  Failed to fetch http:// some ubuntu site Could not resolve hostname "us.archive.ubuntu.com"  Is there any other way to edit sources.list? Or do I need to do a re-install of the OS? Please help me to find elements $a,b$ in a ring $R$ such that $a\mid b$ and $b\mid a$, but there does not exist any unit $u$ in $R$ such that $a=ub$. Confused about AMD/Intel When I go to the downloads page to get Ubuntu, it automatically downloads the AMD version, but my computer has no hardware with AMD on it. I only have Intel and Nvidia. Also, when I install this AMD version on my computer, it works (other than the constant random freezing of the computer when I use Ubuntu). I don't really understand why the amd version works on a computer with an intel processor. What prevents photons from getting mass from higher order Feynman diagrams Why did the Emperor remain motionless while Darth Vader threw him off the balcony? I'm wondering whether this was a movie sin but his body position seemed to stay the same? Also why didn't he stop using Force Lightning? He continued to use it even as he was falling down.   I'm also wondering whether Palpatine meant to electrocute Vader or was it just a coincidence (because he kept firing Force Lightning) .  It makes no sense as he just stood there allowing Vader to throw him. Overstayed my US visa for over 9 years, never got deported, can I return as a tourist? Slave duplicate counter Is it possible to create a counter that is a "slave" to another (master) counter, but also an exact duplicate?  The \@addtoreset{&lt;slave&gt;}{&lt;master&gt;} resets &lt;slave&gt; whenever &lt;master&gt; is incremented (similar functionality is offered by ), but I don't know about anything incrementing one counter (&lt;slave&gt;) automatically whenever another counter (&lt;master&gt;) is incremented.  The idea is to have a macro (say) \dupcntr{&lt;slave&gt;}{&lt;master&gt;} as an analogue to \@addtoreset. The application for this might be where one is interested in renaming a counter used/provided by a package into something more meaningful for the user (say, &lt;slave&gt;), without having to reference &lt;master&gt;. Or, if the original counter contains @ that needs to be escaped every time it's used, it is sometimes more convenient to have a "more user friendly" counter.  I know one way around is to use a macro that returns the value of &lt;master&gt;, but is it possible to perform the same manipulation with a macro than one could with the counter? Manipulation here refers to the printing of the counter (via \the&lt;slave&gt;) and perhaps it's representation (like \arabic, \alph, ...).