A function that can't be invoked more then 3 times -how does it get remembered
How do JavaScript closures work?
I can't create an onCheckedChanged listener for my RadioGroup How to get the Vista taskbar to span multiple monitors? I can't for the life of me get the vista taskbar to span multiple monitors.  I've searched and looked far and wide, and alas the only pseudo-solution i can find is Ultra-Mon, but a) it doesn't quite look the same  and b) i don't want to have to pay for something that Windows really ought to be able to do out of the box.   Does anyone have a solution for this?  Will this get addressed in Windows 7? What OpenType math fonts are there available for usage in TeX/LaTeX, e.g. with the unicode-math package?  Here is a MWE which you can use to show off the font.  \documentclass{article} \pagestyle{empty}  \usepackage{amsmath} \DeclareMathOperator\Res{Res} \newcommand*\diff{\mathop{}\!\mathup{d}}  \usepackage{amsthm} \newtheorem{theorem}{Theorem}  \usepackage{unicode-math}  %%% % Set up you text and math fonts %%%  \begin{document}  \begin{theorem}[Residue theorem]   Let $f$ be analytic in the region $G$ except for the isolated   singularities $a_1,a_2,\dots,a_m$. If $\gamma$ is a closed   rectifiable curve in $G$ which does not pass through any of the   points $a_k$ and if $\gamma\approx 0$ in $G$, then   \[     \frac{1}{2\pi i} \int\limits_\gamma f\Bigl(x^{\mathbf{N}\in\mathbb{C}^{N\times 10}}\Bigr)     = \sum_{k=1}^m n(\gamma;a_k)\Res(f;a_k)\,.   \] \end{theorem}  \begin{theorem}[Maximum modulus]   Let $G$ be a bounded open set in $\BbbC$ and suppose that $f$ is a   continuous function on $G^-$ which is analytic in $G$. Then   \[     \max\{\, |f(z)|:z\in G^- \,\} = \max\{\, |f(z)|:z\in \partial G \,\}\,.   \] \end{theorem}  First some large operators both in text: $\iiint\limits_{Q}f(x,y,z) \diff x \diff y \diff z$ and $\prod_{\gamma\in\Gamma_{\bar{C}}}\partial(\tilde{X}_\gamma)$;\ and also on display \[   \iiiint\limits_{Q}f(w,x,y,z) \diff w \diff x \diff y \diff z   \leq   \oint_{\partial Q} f'\Biggl(\max\Biggl\{   \frac{\Vert w\Vert}{\vert w^2+x^2\vert};   \frac{\Vert z\Vert}{\vert y^2+z^2\vert};   \frac{\Vert w\oplus z\Vert}{\vert x\oplus y\vert}   \Biggr\}\Biggr)\,. \]  \end{document}   Here is a similar MWE for ConTeXt.  The images in the answer will only be shown for LaTeX output but the ConTeXt output looks very similar.  %%% % Set up you text and math fonts %%%  \setupmathlabeltext[Res=Res] \definemathcommand[Res][nolop]{\mfunctionlabeltext{Res}} \definemathcommand[diff]{\mathop{}\!\mfunctionlabeltext{diff}}  \defineenumeration   [theorem]   [text={Theorem},    style=italic,    title=yes,    titlestyle=normal,    distance=0pt,    titleleft={(},    titleright={).~},    alternative=serried,    width=fit]  \starttext    \starttheorem[title={Residue theorem}]     Let $f$ be analytic in the region $G$ except for the isolated     singularities $a_1,a_2,\dots,a_m$. If $\gamma$ is a closed     rectifiable curve in $G$ which does not pass through any of the     points $a_k$ and if $\gamma\approx 0$ in $G$, then     \startformula       \frac{1}{2\pi i} \int\limits_\gamma f\Bigl(x^{{\mathbf N}\in\mathbb{C}^{N\times 10}}\Bigr)       = \sum_{k=1}^m n(\gamma;a_k)\Res(f;a_k)\,.     \stopformula   \stoptheorem    \starttheorem[title={Maximum modulus}]     Let $G$ be a bounded open set in $\mathbb{C}$ and suppose that $f$ is a     continuous function on $G^-$ which is analytic in $G$. Then     \startformula       \max\{\, |f(z)|:z\in G^- \,\} = \max\{\, |f(z)|:z\in \partial G \,\}\,.     \stopformula   \stoptheorem    First some large operators both in text:   $\iiint\limits_{Q}f(x,y,z) \diff x \diff y \diff z$   and   $\prod_{\gamma\in\Gamma_{\bar{C}}}\partial(\tilde{X}_\gamma)$;\   and also on display   \startformula     \iiiint\limits_{Q}f(w,x,y,z) \diff w \diff x \diff y \diff z     \leq     \oint_{\partial Q} f'\Biggl(\max\Biggl\{     \frac{\Vert w\Vert}{\vert w^2+x^2\vert};     \frac{\Vert z\Vert}{\vert y^2+z^2\vert};     \frac{\Vert w\oplus z\Vert}{\vert x\oplus y\vert}     \Biggr\}\Biggr)\,.   \stopformula  \stoptext Origin —  Elementary Number Theory — Jones — p35 — Exercise 2.17 — For which primes $p$ is $p^2 + 2$ also prime? Only for $p = 3$. If $p \neq 3$ then $p = 3q ± 1$ for some integer $q$, so $p^2 + 2 = 9q^2 ± 6q + 3$ is divisible by $3$, and is therefore composite. (1) The key here looks like writing $p = 3q ± 1$. Where does this hail from? I know $3q - 1, 3q, 3q + 1$ are consecutive. $p$ is prime therefore $p \neq 3q$? (2) How can you prefigure $p = 3$ is the only solution? Does $p^2 + 2$ expose this? On an exam, I can't calculate $p^2 + 2$ for many primes $p$ with a computer — or make random conjectures. I have a speed-reading program I purchased with uses dotnet2. However, dotnet2 doesn't run on 64 bit wine. How would I install dotnet2? Top bar search doesn't pick up subdomains I wanted to switch to  in the handy dandy site switcher in the new top bar. Entering "cook" brings up nothing:     ... so I have to remember that the boutique title of the site is "Seasoned Advice":     ... in which case the site switcher also thinks that maybe I was thinking of heading over to  to see what's up. So the site switcher searches site names and descriptions, but not subdomains. This is unexpected behavior - I believe it should search all three. How to Install Ubuntu on separate hard drive in a dual boot? I have already installed Windows 7 on C: drive. Now I want to install Ubuntu on E: drive which is a free partition. How do I proceed? contractive property A topological property $\mathcal{R}$ is contractive if $(X,\tau)$ has property $\mathcal{R}$ and if $\tau^{\prime} \subset \tau$, then (A, $\tau^{\prime}$) has property $\mathcal{R}$.  A topological space is $T_B$ if each compact subset  is closed.  A topological space is called a US-space provided that each convergent sequence has a unique limit.  A topological space is called a C- C-space provided that  the  compact subsets  are precisely the closed sets.     Is property C-C , US contractive,  hereditary?      Is property $T_B$  contractive? Flight ticket reimbursement after Travel Warning I've got a round-trip flight with Royal Air Maroc from Strasbourg, France (SXB) to Ouagadougou, Burkina Faso (OUA) on Monday, Nov 10. Return is on Dec 1. The recent turmoils in Ouagadougou have led the US Department of State for Travels to issue a , which is why I'd like to refrain from the trip.  Any chance I can get a reimbursement for my tickets? In Germany (where I live), an official travel warning can help you get a refund when you book a trip with a tour operator/travel agency, but in this case I booked the flight directly with a non-German airline, so German law surely doesn't apply here.  EDIT: Sorry for failing to state this earlier, but I had already called the airline as suggested in the answers. They had told me it's not possible to get a refund with my standard fare. However, I understand that sometimes you really have to bargain to get a refund, so I wanted to learn about similar experiences and possibly about some hard (legal) facts that I could bring forward. Why would Littlefinger want this person dead? GeoReference tiff image into the Google map? I want to Geo-reference a tiff image contain a Map for a specific region, I need to add this region(image) and Geo-reference it on the Google map, SO I can see on the map for the region I select the image which I have inserted.  the image also need information such as the Latitude and Longitude of corners and size, and the pixel per meter measurement.  How to do the correct Geo-reference for that ? Is there a limit to a total number of months a holder of UK multiple entry visitor visa can spend in UK per calendar year? According to , POST is used to create a resource:  The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.  According to , PUT is used to create or replace a resource:  The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server. If the Request-URI does not point to an existing resource, and that URI is capable of being defined as a new resource by the requesting user agent, the origin server can create the resource with that URI.  So which HTTP method should be used to create a resource? Or should both be supported? Get text between two strings Regex VB.Net Latexmk and the location of Asymptote's generated files I am trying out Asymptote with latexmk and I would like to automate the interaction.  Consider the following latex document test.tex:  \documentclass{minimal} \usepackage{asymptote} \def\asydir{asymptote}  \begin{document}  Testing Asymptote:  \begin{asy} settings.outformat = "pdf"; unitsize(2cm); draw((0,0) -- (1,0)); \end{asy}  \end{document}   In my latexmkrc I have the  for Asymptote integration:  sub asy {return system("asy -o asymptote/ \"$_[0]\"");} add_cus_dep("asy","eps",0,"asy"); add_cus_dep("asy","pdf",0,"asy"); add_cus_dep("asy","tex",0,"asy");   Running latexmk -pdf test.tex generates test.pdf in the current folder and test-1.asy and test-1.pdf in the asymptote folder -- but only if   I manually created the asymptote folder prior to running latexmk. The folder specification in the latex document (\def\asydir{asymptote}) and latexmkrc (-o asymptote/) are identical.   I would like latexmk to read asydir from the main tex file, create the directory if it does not exist and run asy with the read output folder.  Is this possible? Minecraft Test If A Chest Contains An Item I've seen a lot of questions for finding specific items in chests using commands using testforblock but how would you test if any block/item has been placed in a chest?  Thanks Natural examples of deformation retracts that are not strong deformation retracts The question  asks for examples of deformation retracts which are not strong deformation retracts. A comment is given refering the asker to Exercise 0.6 in Hatcher. (The description of this space also appears in , which is about this very same exercise.)  This space, however, seems to be constructed specifically for this purpose.     Are there any naturally occurring (by which I mean not constructed specifically for this purpose, arising in some other way) spaces that are deformation retracts but not strong deformation retracts?   The main reason for asking is that it doesn't seem very likely to me that one would stumble upon such a space at random, so I don't know what to watch out for. One can never be too careful. In the annual rep league, why isn't the difference between rep earned this year and total rep always the same? In the  here on Meta Stack Exchange, it shows that I've earned 9,876 rep this year, and 10,359 rep overall. (It's updated every day at 0:00 UTC, and I so far have earned 1 rep today, since an answer I downvoted a while ago was deleted.)  The difference between my total rep and the rep I earned this year is 483, which means 483 of the rep I've earned is rep I earned in 2017 or earlier. This amount normally never changes, though I can see some reasons why it might change, such as if rep is recalculated and something affects a rep event occurring in a previous year (e.g. a vote from last year was invalidated due to user deletion, a post I made at that time was deleted or undeleted, etc.)  This amount, 483, was a recent change; it used to be 461. Ordinarily, I'd chalk this up to a rep event from last year being recalculated, but I've gone through my full rep history and I can see nothing of the sort happening. On the other hand, on the same day that this number changed from 461 to 483,  was undeleted, recalculating my rep and giving me back 22 (which happens to equal 483-461). It therefore makes sense if that post was from a previous year. However, the post is from this year, so it doesn't make very much sense.  Is there a bug in the way yearly rep in the rep league is calculated, in that rep regained from an undeleted post made the same year is not re-added to the rep earned this year (while it is subtracted properly upon deletion)? Or is there some other event that occurred in the three weeks before 2018 that I had my account that caused this difference to change, that I'm not seeing, and the change being equal to that is just a coincidence? Investment options for f1 visa students in USA I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool?