What happens with method-local, static variables when parent class is deleted?
What is the lifetime of a static variable in a C++ function?
Multi document printing from document library? Is there any one have solution for print multiple documents from Document library? User has option to select multiple documents or single document or inside folder.  I found commercial product "Unbounded Printing Services for SharePoint". But is so expensive. Please share me if you have any thoughts. How is Yu-Gi-Oh played with more than two players? Cardinalities of the intervals $(-1,1)$ and $[-1,1]$ How can I intercept XMLHttpRequests from a Greasemonkey script? Where are all the major log files located? SEO in Stack Overflow I've noticed that if I downvote an answer, the record of the downvote is visible to me in my profile.  But when I view my profile from another browser that's not logged into Stack Overflow, I've noticed that I don't see the record of the downvote.  So I was wondering if the downvote record is visible only to me?  If so, is this done to protect downvoters from retaliation? I have realized that to pronounce the plural form of words ending in -th, we have to drop the letter "h". e.g. Months is pronounced /mʌnts/. But I have never seen this point mentioned in any context. I just want to make sure that this rule is correct and can be always applied. The Royal Order of Adverbs I know that the pattern manner-place-time shouldn't be taken too seriously if one wants to speak natural English.   In real life, people rarely use a string of adverbs. Speakers will easily break the pattern for emphatic or stylistic reasons (usually placing the adverb at the beginning of the sentence). Other factors such as length and specificity will also override the arrangement.  But I'm constructing illustrative sentences that highlight (and stick to) the Royal Order of Adverbs.   What all the online sources are doing is mixing adverbs and prepositional phrases, but I can't have the concept of prepositional phrases in my examples just yet. This means I should include only one-word or two-word adverbs (without prepositions).   So, I have these:    He sat quietly upstairs all day. She waited impatiently outside this morning. They gather noisily downtown every Saturday night.   Are the sentences above still correct, as in natural-sounding? Somehow they started sounding a bit off to me. I guess I just need to test them with a second pair of ears. Adding popup message box before tool execution with ArcPy and ArcMap I want to add a box message to pop up before execution of a button tool. When I click a button which will do geoprocessing, I want a box to appear on view before processing with message that I am about to do xxx processing. How do I do it? Suppose $f:X\rightarrow Y$ is a surjection and you want to show that there exists $g:Y\rightarrow X$ s.t. $f\circ g=\mathrm{id}_Y$. You need the AC to show this.  However, suppose $f$ is a injection and you want show there is $g$ s.t. $g\circ f=\mathrm{id}_X$. Then, according to my textbook, you don't need the AC to show this.  This is counterintuitive to me, because it's like you need a special axiom to claim that an infinite product of big sets is nonempty, while you don't need one to claim that an infinite product of singleton sets is nonempty, which seems smaller than the former.  So why don't you need the AC to show the latter?  EDIT: $X$ should be nonempty.  EDIT 2: I realized (after asking this) that my question mostly concerns whether the AC is needed to say that an infinite product of finite sets is nonempty, and why. Removing lines from text file that contain string at beginning and string at end - and keep one It took me a while to word this best.  Problem 1:  Is there a way to find lines in a text file that have the same string at the beginning and the same strings at the end?   Beginning and end strings not necessarily equal to each other.  Text between the two strings is not consistant in number of characters or number of hyphens.  A hyphen is in between notable strings (which I added to my large text file).  For example:  File:    AAAAA-tjhut-ghyut-FILE1.txt   BBB-fhuj-dnbhg-frt76-FILE2.txt   AAAAA-ghtujukr-hgute7gr-xhyutt-FILE1.txt   AAAAA-VGYT-4d7tt-xhyutt-FILE1.txt   CCCC-fjuk-dryy-fhuj-FILE3.txt   Lines to detect:    AAAAA-tjhut-ghyut-FILE1.txt   AAAAA-ghtujukr-hgute7gr-xhyutt-FILE1.txt   AAAAA-VGYT-4d7tt-xhyutt-FILE1.txt   Problem 2:  Is there a way to remove all but one of the lines containing the duplicate strings at the beginning and end from above?  Before:    AAAAA-tjhut-ghyut-FILE1.txt   AAAAA-ghtujukr-hgute7gr-xhyutt-FILE1.txt   AAAAA-VGYT-4d7tt-xhyutt-FILE1.txt   After:    AAAAA-tjhut-ghyut-FILE1.txt   Big thanks for any advice.  Note: I think using the occurances of the first hyphen and last hyphen can be used to locate the duplicate strings. Can I mix different RAM modules in PC? I have 4 RAM slots on the motherboard P5K. At the moment I have two 1GB RAM modules and two 2GB RAM modules. Everything is working fine.   Can I buy one 4GB module and put it instead of the 1GB module?  Another question, can I mix MHz values, like that I have two 667MHz modules and two 1066MHz modules? Is this dangerous for the comp? Lightning component calling wrong overloaded apex class method Is it normal for a fast prime to exhibit purple fringing in middle of the image? I have just bought a Nikon 50mm f/1.8D prime lens.  I took this picture (leg of my glasses frame on a mouse, and a LED desk lamp is on top of it) : f1.8, 1/80s, ISO 200   The purple fringing is right in the middle of the picture. Does it happen very often to this lens? Can't run gparted in fresh system Trying to run gparted in fresh installed Ubuntu. System not found this program. When I try to install I have report that it is already installed. How to solve this problem?  g@g-Lenovo:~$ gparted The program 'gparted' is currently not installed. You can install it by typing: sudo apt install gparted g@g-Lenovo:~$ sudo aptitude install gparted [sudo] password for g:  gparted is already installed at the requested version (0.25.0-1) gparted is already installed at the requested version (0.25.0-1) No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 130 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. If you are talking on behalf of you and someone else what is the correct usage?  On behalf of my wife and me On behalf of my wife and I On behalf of me and my wife On behalf of myself and my wife On behalf of my wife and myself ...  My understanding is that after that phrase you would carry on talking in first person. Where can I find a complete reference for the $PS1 variable? The default PS1 variable on my machine (Kubuntu 13.10) is this:  \[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$   I'm looking for a reference for how the $PS1 variable works that, at a minimum, allows me to understand the above PS1 variable. A great Python IDE for Ubuntu Possible Duplicate:          I want to develop Python apps in Ubuntu, and I'm tired of working with gedit one time and another.  So I'm trying to find a great Python IDE (a true IDE, not just a syntax-highlighting editor) on the Ubuntu repositories. Which one do you recommend me? Compiz Problems (Plugin Missing, Performance Issues, Development)