Sending a notification popup in winforms from another thread
Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
Adding the consensus to review's history Are there any examples of $\frac{a}{b}+\frac{c}{d}=\frac{a+c}{b+d}$? I am writing a short discussion of Farey numbers and was wondering if there are any examples of when the mediant function is ever actually equal to the sum of the two fractions in the usual sense? (Not to produce Farey numbers, I just thought it might be an amusing way to introduce Farey addition).   Explicitly: Are there any examples of fractions $\frac{a}{b}$ and $\frac{c}{d}$ where  $$\frac{a}{b}+\frac{c}{d}=\frac{a+c}{b+d}$$ for positive integers?   Currently I have found the example  $$\frac{1}{1}+\frac{1}{i} =\frac{1+1}{1+i}$$ if we remove the integers requirement but it would be nice to find a case that didn't involve complex numbers though! $k[x]/(x^n)$ module with finite free resolution is free When should I upgrade my camera body? I use the babel package in order to write in greek with font "kerkis".  I want to add code in english ("courier new" font) to my latex document but I get some difficulties.  Can anybody help me, please. Thank you in advance.  \documentclass[12pt]{article} \usepackage[english,greek]{babel} \usepackage[utf8x]{inputenc} \usepackage{graphicx} \usepackage{fancybox} \usepackage{verbatim} \usepackage{courier} \usepackage{kerkis} \usepackage{float} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage{tocloft} \usepackage{hyperref} \usepackage{afterpage} \usepackage{color}    \usepackage{listings}  \renewcommand{\lstlistingname}{Κώδικας}  \lstset{  %matlab   backgroundcolor=\color{white},     basicstyle=\normalsize,    % COURIER NEW?        commentstyle=\color{green},    % comment style   escapeinside={\%*}{*)},           extendedchars=true,               frame=single,                              keywordstyle=\color{blue},       % keyword style   numbers=left,                     numbersep=5pt,                     numberstyle=\normalsize\color{black},    rulecolor=\color{black},           stepnumber=1,                      stringstyle=\color{magenta},     % string style }   \begin{document}  \selectlanguage{greek} Ελληνικά: \textlatin{this word means greek}  \selectlanguage{english} Now I write in english  \selectlanguage{greek} Ελληνικά  %\selectlanguage{english}???  \begin{lstlisting}[caption = \textlatin{example1.m}] { % Entropy E = 0; for i = 1:J     if p(i) ~= 0         E = E + p(i)*log2(1/p(i));     end end } \end{lstlisting}  \end{document} Change password on root user and user account If I change the password for the root user is that going to automatically change the password for the user account?   I found this link for root:    How do I change the user account password? Saving for retirement without employer sponsored plan I'm considering moving to a new job that doesn't have any sponsored retirement plans.  I'd like to continue saving on my own though, but it seems that IRAs have a $5,000 contribution limits.  What are some other options to save in addition to an IRA?  I'm not interested in the obvious "put more into your bank savings account," I'm looking for options fairly close to an IRA (trading stocks on etrade also out) to save more.  Also, would contributions to the 401k prior to rolling into an IRA count against the contribution limit to the IRA? Why are PATH variables different when running via sudo and su? On my fedora VM, when running with my user account I have /usr/local/bin in my path:  [justin@justin-fedora12 ~]$ env | grep PATH  PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   And likewise when running su:  [justin@justin-fedora12 ~]$ su - Password:  [root@justin-fedora12 justin]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/justin/bin   However, when running via sudo, this directory is not in the path:  [root@justin-fedora12 justin]# exit [justin@justin-fedora12 ~]$ sudo bash [root@justin-fedora12 ~]# env | grep PATH PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin   Why would the path be different when running via sudo? When should you push variables in quotes in boolean conditions? Are the following two boolean expressions the same?  if [ -n $1 ] ; then  if [ -n "$1" ] ; then   If not - When should you put a variable in quotes? I have some plasterboard screws like this:     However, without a drill I have a job getting them into the wall. Am I safe to use normal screws on hangings that aren't going to be taking a great deal of weight? In this case it is a rack of coat hooks. Heat production of magnifying glass Why Magnifying glass(convex lens) produces heat when placed in front of sun? Homeomorphism that maps given points to given points I used a  for Photoshop, and was able to create some boxes with it. These boxes were shaped in the form of Software Boxes, while I require Customized Dimensions Boxes, which currently I'm trying to create with .   This software creates a box with no Reflection, and I disabled shadows in it, cause it doesn't allow transparency while saving to png. It allows custom dimensions, rotation, etc settings, but doesn't save transparency or reflections.  Here's the difference in output from both the above mentioned apps.. I'm trying to get the reflection + shadow in the 3D box Generator to the Protomissume generated image.   My question: How can I create similar Reflection &amp; Shadow in Photoshop?   Images:  3D Box Generator   Protomissume Box Shot   Thanks for any help.  Here are the Box Shot images (Photoshop, Protomissume) :  [  ] Raised index of partial derivative How to interpret the significant interaction of two non-significant main predictors? I have two non-significant main binary variables in my binary logistic regression model, but their interaction is significant. The variables are centered and no multicollinearity is the case (all VIFs about 1.0). The main variables are nonsignificant, but their interaction is. I want to interpret that significant interaction of two non-significant estimates.   It would read something like this: the effect of the variable A is less visible in the level 1 of the variable B (B1) and more visible in the second level of B (B2). Or I can say the same thing about the effect of B being less visible in A1 and more visible in A2...  However, the problem is that neither the effect of A, nor the effect of B are significant! So the above interpretation, although seemingly correct, sounds inconsistent or strange. (How a non-significant effect is supposed to be boosted by the other variable?)...   On a second thought, it seems that it is actually possible. For example, if I exclude cases with B2 from my sample, now the effect of A in the sample would show up as significant (it is B2 cases in the sample that disallow A to appear as significant)... This is getting more clear in my head now, but do you still have something other than the above interpretation in mind? Does Windows still rely on MS-DOS? I am just about to start an OS course and as an Apple user I am not very familiar with the underlying details of Windows OS. I was wondering, is MS DOS still used with Windows running on top or is ONLY Windows used now as the OS? I was a little confused because I read somewhere that MS-DOS is used for booting but Windows has all other OS capabilities built into it and thus is used for all other OS operations... How to Tail -f output with colors using only Awk and show the rest of the output? I was able to do a tail -f output with colors using the awk command. But I'm unsure how to output the rest of the log as it seems to be filtering only those 2 lines. I also want to see the other lines as the log is written.  What do I need to put in the awk command to show the rest of the output?  Image of my issue. The red text above is without using awk and displays the entire tail -f log. And below that is the same command with the awk color filtering. Consequences of not showing up for one leg of journey Options to move the school rucksack during the trip I can't find Karliah at the Ragged Flagon During the 'Hard Answers' Thieves Guild quest, Karliah asked me to meet her at the Ragged Flagon.  However, it seems that she doesn't show up at the rendezvous point.  Where do I find her?