When installing boost in Ubuntu 13.10 I used      apt-get install libboost-all-dev   command. In this case library files which are ending with -mt.so (such like libboost_thread-mt.so, libboost_system-mt.so, libboost_filesystem-mt.so, and so on) cannot be found. Installed version of boost is 1.54 so can I verify whether the mentioned library files (such like libboost_thread-mt.so, libboost_system-mt.so, libboost_filesystem-mt.so, and so on) are available with boost 1.54 default installation(apt-get install liboost-all-dev).
I am compiling a program which requires boost-thread-mt library. I have installed libboost-all-dev using sudo apt-get install libboost-all-dev but compiler says that it cannot find boost-thread-mt library. Is this library in some other package? Please guide me what i need to install for this.
Why is Buoyant Force $V\rho g$? For a submerged object, buoyant force ($F_b$) is defined as:  $$F_b = V_{\text{submerged}} \times \rho \text{ (density)} \times g \text{ (gravitational constant)}$$   Conceptually, the buoyant force equation says that buoyant force exerted is equal to the weight of the volume of water a given object displaced. Why? I went online to   and found the following explanation, but it seems like non-sequitur to me:      Explanation: When an object is removed, the volume that the object occupied will fill with fluid. This volume of fluid must be supported by the pressure of the surrounding liquid since a fluid can not support itself. When no object is present, the net upward force on this volume of fluid must equal to its weight, i.e. the weight of the fluid displaced. When the object is present, this same upward force will act on the object. Review Audit failed when "late answer" answer is a duplicate I just got a review audit where the "late answer" was a duplicate of the accepted answer, but flagging it on that basis failed the review. That seems like a bug to me.  Question here:   I found that by clicking the question to view the entire Q&amp;A, and noticed that the copy was from a generic "user12345" account (probably with 1 rep as well) and the original from a real-looking account. Viewing the whole Q&amp;A is often useful when reviewing, especially late answers (which are often repeats of earlier points, disagreements with those, or random addendums better submitted as edits). I looked at the duplicate and thought "weird, rep harvesting maybe?" so I clicked "needs moderator attention" and wrote "copy and paste of accepted answer". FAIL!  I think that this review type can't ever work, because to avoid the problem I found you'd need to make up whole new "late answers" which by definition the review bot can't know anything useful about. Either that or to pass you'd just need to take any action at all, including upvoting the original of the duplicated answer. Which I didn't do, BTW, because I had no idea or opinion about the question or answer.  (this is not a duplicate of "What are review tests", it predates that and focuses on a particular defect within the process. See the comments below). I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome. Check to see if an email is already in the database using prepared statements Why is the sum of two random variables a convolution? For long time I did not understand why the "sum" of two random variables is , whereas a mixture density function sum of $f(x)$ and $g(x)$ is $p\,f(x)+(1-p)g(x)$; the arithmetic sum and not their convolution. The exact phrase "the sum of two random variables" appears in google 146,000 times, and is elliptical as follows. If one considers an RV to yield a single value, then that single value can be added to another RV single value, which has nothing to do with convolution, at least not directly, all that is is a sum of two numbers. An RV outcome in statistics is however a collection of values and thus a more exact phrase would be something like "the set of coordinated sums of pairs of associated individual values from two RV's is their discrete convolution"...and can be approximated by the convolution of the density functions corresponding to those RV's. Even simpler language: 2 RV's of $n$-samples are in effect two n-dimensional vectors that add as their vector sum.           Please show the details of how the sum of two random variables are a convolution and a sum. I know there are many ways to prevent image caching (such as via META tags), as well as a few nice tricks to ensure that the current version of an image is shown with every page load (such as image.jpg?x=timestamp), but is there any way to actually clear or replace an image in the browsers cache so that neither of the methods above are necessary?  As an example, lets say there are 100 images on a page and that these images are named "01.jpg", "02.jpg", "03.jpg", etc. If image "42.jpg" is replaced, is there any way to replace it in the cache so that "42.jpg" will automatically display the new image on successive page loads? I can't use the META tag method, because I need everuthing that ISN"T replaced to remain cached, and I can't use the timestamp method, because I don't want ALL of the images to be reloaded every time the page loads.  I've racked my brain and scoured the Internet for a way to do this (preferrably via javascript), but no luck. Any suggestions? I have been given a Bode plot of a low pass filter, and tasked with essentially reversing the effects by using a high pass filter. I have solved for the transfer function which is the first equation, and I am assuming the inverse transfer function will give me the information I need to construct the high pass filter. I know the values for \$z\$ and \$p\$. Is there a method given any transfer function to realise the circuit elements required? $$H(s) = 0.17\frac{s-z}{s-p}$$ $$H(s)^{-1} = 5.88\frac{s-p}{s-z}$$ I have been using the default Ubuntu 11.10 with Unity for some time now and decided to start customizing it.  I have already been able to make some changes with the gnome-tweak-tool. However, there are many themes that I get from gnome-look.org that don't appear in the gnome-tweak-tool even after putting them in the /usr/share/themes folder.  Any idea why this is happening? Thanks. ElasticSearch doesn't start after installing 5.6.4 I need to run a bash script at boot-time as superuser in Xubuntu. I don't know where to start. I have to do something described in a Arch Linux guide. That guide says exactly:     Add following at the end of the file : /etc/rc.sysinit   # Do my action /etc/rc.d/do_my_action  /bin/dmesg &gt;| /var/log/dmesg.log   But I do not have /etc/rc.sysinit and /etc/rc.d/ in Xubuntu. I'm sure there are equivalent ones, right? What are the specifics of 18.04's ten year support? Windows Spotlight Source and Save locations? I would very much like that the the appendix sections of the Table of Contents doesn't have a section numbers, dots, and page numbers. If I do the following  \documentclass{article} \usepackage{tocloft} \addtocontents{toc}{\cftpagenumbersoff{section}} \renewcommand{\cftdot}{} \begin{document} \tableofcontents \newpage \section{Appendix} \section*{Another Letter} \addcontentsline{toc}{section}{Another Letter} \end{document}   then the section "Another Letter" is left aligned, so it doesn't look like the  others.  Question  Is it possible to have "Another Letter" styled the same way as normal TOC entries, but just without section number, dots, and page number? Compact subset in colimit of spaces I have a very strange behavior on an Android device (Nexus 7) when trying to access local network applications. Instead of getting the actual IP of the machine on LAN, the Android device gets the public IP, which means that Chrome, Firefox or any other browser simply shows the web page of the router.  I have an internal DNS server which handles the local networks. Doing ping from a PC works correctly:  $ ping s.pelicandd.com  PING pelicandd.com (192.168.1.15) 56(84) bytes of data. 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=0.524 ms 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=0.578 ms ^C   On an HTC One device (accessed with adb shell), it works well too:  shell@m7:/ $ ping s.pelicandd.com  PING pelicandd.com (192.168.1.15) 56(84) bytes of data. 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=1 ttl=64 time=2.56 ms 64 bytes from front.pelicandd.com (192.168.1.15): icmp_seq=2 ttl=64 time=27.8 ms ^C   However, this is what I get when doing the same ping from Nexus 7:  shell@flo:/ $ ping s.pelicandd.com  PING pelicandd.com (90.78.26.42) 56(84) bytes of data. 64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=1 ttl=64 time=2.56 ms 64 bytes from LFbn-1-2441-42.w90-78.abo.wanadoo.fr (90.78.26.42): icmp_seq=2 ttl=64 time=8.63 ms ^C   Instead of resolving to the internal IP, it resolves to the public one.  The network configuration is—except the IP address of the device—exactly the same on both devices: IP settings are set to Static, and DNS servers are the internal ones. Both Android devices are connected through Wi-Fi (unlike the PC). A major difference, however, is that Nexus 7 is using Android 6.0.1, while HTC One uses Android 5.0.2.  There is no nm-tool, dig or nslookup on Nexus 7. The device is not rooted.  The problem existed since I bought the device a few weeks ago, so it could hardly be the issue with DNS cache.  What can I do to further inspect this issue? When an object is moving in a circle, won't the frictional force oppose it's motion? And if the velocity is always tangential to the path, there is no component of it towards the center, so there is no component of friction towards the center (since the frictional force is antiparallel). So how can friction be a centripetal force, like in the case of a car rounding a corner? Host alias for ssh There are a few SSH destinations I will frequently be connecting to and I'm wondering if rather than remember the IP address I can create a host alias for them.  I'd like to be able to use...  ssh -p xx user@domain.ssh  I've tried establishing this host in /etc/hosts and unless there's a service I needed to restart it had no effect. Different batteries connected in parallel If we have 2 batteries one of emf x and the other is of emf y and we connect them in series we get an effective emf of x+y.  But what if we connect them in parallel, how to calculate the emf now? Present tense for future events Why does it sound perfectly natural to say Our flight leaves tomorrow at 6pm but weird to say It rains tomorrow at 6pm? What kind of scenario, if any, could make the rain sentence sound natural? How can I prove that all rational numbers are either terminating decimal or repeating decimal numerals? I am trying to figure out how to prove that all rational numbers are either terminating decimal or repeating decimal numerals, but I am having a great difficulty in doing so. Any help will be greatly appreciated.