Why does the C++ compiler create an object heap instead of pushing the class object in stack?
What and where are the stack and heap?
resolution is undefined in XeTeX so the following code will produce different values when compiled with pdfTeX and XeTeX.  \documentclass{article} \usepackage{graphicx}  \newsavebox\IBox \savebox\IBox{\includegraphics[scale=1]{koala.jpg}}  \begin{document} \the\wd\IBox \end{document}   How to force pdfTeX and XeTeX to produce the same measurement for the imported image? Windows 7 shows red "X" on network icon, but I'm connected There is a remote Windows server on a private network which I can connect to via Remote Desktop Connection.  I would like to be able to make TCP/IP connections from my computer to other computers on that server's network.  Remote Desktop Connection makes it possible to share printers, drives, and other local resources through the connection.  Is there any way to "tunnel" a TCP/IP connection via RDC?  I'd like something similar to the port-forwarding provided by SSH.  I don't see any way to do this via RDC, but I'm hoping the capability is there and I just don't know about it. How can I kill the Mirelurk Queen? Can crumbled feta cheese last almost a year? talks about feta cheese in a brine or milk bath lasting up to three months.  What about crumbled feta?  I was looking through the fridge, and found a 1/2 pound open container of crumbled feta.  I have only used about an ounce of it.  There is no sign of mold on it, and it smells like feta cheese.  A small sample tasted okay.  The amazing thing is that I bought it in October or November: 8-10 months ago!  I have a recipe that calls for almost a 1/2 pound of feta, and I will be the only one eating it (so I'm not trying to impress anybody!).  I dislike wasting food, but I dislike being sick even more!  Is it safe to use dry crumbled feta that is so old? Prove that T is diagonalizable if and only if the minimal polynomial of T has no repeated roots. What is the purpose of tape when finishing drywall? Sorry if this is a stupid question, but it doesn't seem immediately obvious how a thin strip of paper tape actually helps the taping process in drywall installation except for perhaps reducing the amount of mud needed between panels. This, from eHow:  Embedded in a layer of drywall joint compound, drywall tape creates a physical bond between adjacent sheets of drywall. Although the bond does not significantly contribute to the structural support of the drywall sheets, the bond reduces the movement and cracking of the sheets.  Wouldn't simply mudding between the joints have the same strength without the tape, albeit requiring more mud? I've got a very large document (which I've broken into "chapters" and such) which I've recently moved a few things around in.  Is there a nice way to get latex to output a list of forward references? (like, things in chapter 5 that reference a result in chapter 10) Large braces for specifying values of variables by condition How do I produce a conditional expression with large brackets? For example: X = 0 if a=1, 1 otherwise, with a large left bracket and specifying each condition in a line? double perpendicular symbol (for independence) I found from  that I could use the independence symbol:     \newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}} \def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}    I was wondering how this works. Can anybody explain? I don't know the commands mathpalette, rlap, and mkern2mu. Relation between confidence interval and testing statistical hypothesis for t-test It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap. How can I change the local origin of an object, without changing the object location in the world space.  This is the object located at position (0,0,0) in the world space    This is the same object located at position (0,1,0) in the world space, but with its local origin offset so that the object is in the same place    Is there a way to do this in a single step? I got pretty confused at that question... Can anyone help me understand this question better and/or drop some hints please? Thank you! How to give different permissions to multiple groups of users? I installed Ubuntu 12.04 server and want to give full folder access say example: "Folder01" to group "Group01' and Limit "Group02" for read access only. How I can do this. Extracting embedded images from a PDF How to mount an ISO file? I'm running into trouble trying to mount a large iso:  dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom mount: warning: /cdrom seems to be mounted read-only. dev@dev-OptiPlex-745:~$    Can you tell me how I should do it? Show that $x_{n+1}-\dfrac{x_n}{2}$ converges to zero implies that $(x_n)_n$ also converges to zero. Let $(x_n)_n$ be a sequence of real numbers such that $$\lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0.$$ Show that $(x_n)_n$ must also converge to zero.     $\textbf{My Attempt:}$   My original idea was to use the triangle inequality and the fact that $$\lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0$$   to show that the sequence $(x_n)_n$ is Cauchy and hence converges to some real number $a$, which would give me $$\lim\limits_{n\rightarrow \infty}x_n=a=\lim\limits_{n\rightarrow \infty}x_{n+1}\implies a-\dfrac a 2= \lim\limits_{n\rightarrow \infty}\left( x_{n+1} - \dfrac{x_n}{2}\right)=0\implies a=0.$$ However, I'm having trouble showing that $(x_n)_n$ is Cauchy.   Any suggestions/hints would be greatly appreciated. Thanks! Determine whether the series $\sum_{n=1}^{\infty}(\frac{n}{n+1})^{n^2}$ is convergent or divergent.  I've tried applying all the basic tests to no avail. I need to find out what the "trick" for this particular series is. I use OS X Mavericks and have some company storage drives mounted (using smb or cfs). (smb://username@address.path.toserver.com/directory/data). When I work with files on the drive or copy files to the drive, some hidden files are created. Most of these files start with dot-dash ._ and then the filename of the original file, like:  ._test001.png ._test002.png ._test003.png   And most of the times, the famous ._.DS_Store and .DS_Store are also there.  On my Mac, these . dot items are invisible, but my windows colleagues do see these files. How can I prevent OS X from making these strange invisible files?  On  (and other internet sources) you can find a 'defaults write' to disable the creation of .DS_Store files on your network drives. But this does not work in Mavericks:  defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true   For now I use this oneliner, but doing a rm -rf does feel wrong in this case.  find . -type f -name "._*" -exec rm "{}" \;   Edit: I don't want to delete the files or exclude them from copying. I want them not to be created in the first place.  Edit: I prefer a 'native' OS X solution over third party apps.  Edit: This questions has two answers, one for the ._ files and one for the .DS_Store files. The bounty is rewarded for dot_clean, this native command line app cleans all ._ files. Unfortunately is does not clear the .DS_Store files, this can effectively be done with Asepsis. Asepsis stores .DS_Stores in a fixed location, and not in the folder itself. Replace $ with £ using cat Command I have file test_output_archive.svd with some Dollar signs ($). I have generated a shell script Replace_dollar_pound.sh with cat command to replace dollar symbol with Pound (£) script is working on Solaris 10, Dollar getting replaced as expected. In Solaris 11, but the dollar is not getting replaced, not throwing any errors  Content of test_output_archive.svd : Line Rental $9  OOB Only for $10  Replace Dollar symbol with Pound at step1, Remove junk charactes at step 2, Remove temp file at step3, Rename at step4**  Content of Replace_dollar_pound.sh : cat test_output_archive.svd | tr "\044" "\243" > temp_archive.svd cat temp_archive.svd | tr -d "\302" > test_output_archive2.svd rm temp_archive.svd mv test_output_archive2.svd test_output_archive.svd  Any Modifications to be done as OS is updated to Solaris 11 ??