Why are some context menus and menus suddenly screwed up? What I mean is, they've always opened up to the right, but now they're facing the left??? It's really getting on my nerves. I cannot stand it any longer. It's extremely painful to look at:   I have not installed any weird junk on my PC. It's a fresh install of Windows 8.1.
Just recently, the right-click context menus in Windows 7 have been acting in a kind of left-handed way. That is, when possible, the initial menu appears to the left of the mouse pointer. When I hover over a submenu option, the next level of context menu appears to the left of the first and so-on.  Basically, what normally happens when you're right at the right-hand edge of the screen is happening all the time - except when I'm at the left-hand edge. Perhaps it's some kind of left-handed users option, but that doesn't seem likely - more like a right-to-left language option, except that I've never even tried to use a right-to-left language.  I haven't checked every app. for the issue - probably only Windows Explorer, definitely not in Firefox, for the moment that's as far as I've checked.  Scratch that - this affects menu bars as well as context menus. The menus dangle down to the left of the menu-bar item instead of the right, and submenus open to the left too. This seems to apply to most applications, but not too Firefox or Thunderbird.  I find this extremely annoying.  I have no idea how this occurred, though it isn't the only weird glitch I've had in Windows 7 in the last few days - see   I assume there's a setting somewhere that has got changed, but I can't find anything. There's also a chance that I've suffered some kind of registry corruption, so I might need to apply a fix in the registry - not something that scares me, but I need to know what to fix and how.  So - does anyone know what setting has been changed, and how I can fix it?  Also, beyond CCleaner (which I already have), are there any tips on making sure that the registry stays clean and sane?  Finally, both Microsoft Security Essentials and Malwarebytes Antimalware seem happy that I don't have a malware problem. Should my recent glitches make me doubt that?
Android: How to open a specific folder via Intent and show its content in a file browser? WPF Binding to variable / DependencyProperty Check whether an array is a subset of another Any idea on how to check whether that list is a subset of another?  Specifically, I have  List&lt;double&gt; t1 = new List&lt;double&gt; { 1, 3, 5 }; List&lt;double&gt; t2 = new List&lt;double&gt; { 1, 5 };   How to check that t2 is a subset of t1, using LINQ? What is the easiest way to parse an INI File in C++? I'm trying to parse an INI file using C++. Any tips on what is the best way to achieve this? Should I use the Windows API tools for INI file processing (with which I am totally unfamiliar), an open-source solution or attempt to parse it manually? How do I upgrade to the unreleased version of Ubuntu for testing? How do I enable the "Universe" repository? How do I get to the Universe Repository in supported versions of Ubuntu? How to cancel a jquery.load()? My question is how I can intergrate Salesforce with different FTP servers in real time. I have read some articles about it, but to be absolutely sure I thought it would be a good idea to post a question here.  I want to be able to send and receive data from Salesforce as a csv file to a ftp server. How I'm thinking about doing this is listed below.  Send the data:  Create a apex class which query the necessary data in Salesforce and create a csv file. I guess this is trivial? Then send the file to a web service created in Salesforce, just by calling it in the apex code. Create a web service in Salesforce which receives the data from the apex code. This web service should in some way send the data to the appropriate ftp server. I guess I can simply modify some of the code provided by Salesforce to make this work? The file is sent. Receive the data  This one is a bit trickier. I guess I have to pull the data from the FTP server by using my web service, which then send the file collected to the appropriate apex class. Or, the FTP server could send the data to the SFDC web service, I don't know if this is possible? The web services on the other side that sends the data to the ftp server, could send it directly to the SFDC web service, which then again forward it to the apex class. I guess the web service will use the remote site url to connect to the SFDC web service? Trouble enabling Cube surfer addon Every time I have tried to enable the Cube Surfer addon but this error message comes up. FYI I have the correct versions of everything.  I have had this problem with some other add ons as well. Sometimes it's when I have tried to click a button in an addon (after 'successfully' installing) Ubuntu touchpad issues - mouse pointer jumps around Can we use sine and cosine graphs for varying temperatures? I have been researching for a while looking for what to include more than just deriving the equation of Newton’s law of cooling and a website gave me inspiration by stating what if the temperature of the environment is changing (± C). In conclusion, I wasn’t sure if that person carried out the mathematical process in the right way and the only place I could ask for accurate information is here so please let me know what you think about the mathematical process he went for and if it is right or wrong. Thanks a lot. Website: Adding Image to a Polygon I am searching for [free] software that can produce nice looking graphical models, e.g.     Any suggestions would be appreciated. I often find myself in a situation where I am facing multiple compilation/linker errors in a C++ project due to some bad design decisions (made by someone else :) ) which lead to circular dependencies between C++ classes in different header files (can happen also in the same file). But fortunately(?) this doesn't happen often enough for me to remember the solution to this problem for the next time it happens again.  So for the purposes of easy recall in the future I am going to post a representative problem and a solution along with it. Better solutions are of-course welcome.     A.h  class B; class A {     int _val;     B *_b; public:      A(int val)         :_val(val)     {     }      void SetB(B *b)     {         _b = b;         _b-&gt;Print(); // COMPILER ERROR: C2027: use of undefined type 'B'     }      void Print()     {         cout&lt;&lt;"Type:A val="&lt;&lt;_val&lt;&lt;endl;     } };       B.h  #include "A.h" class B {     double _val;     A* _a; public:      B(double val)         :_val(val)     {     }      void SetA(A *a)     {         _a = a;         _a-&gt;Print();     }      void Print()     {         cout&lt;&lt;"Type:B val="&lt;&lt;_val&lt;&lt;endl;     } };       main.cpp  #include "B.h" #include &lt;iostream&gt;  int main(int argc, char* argv[]) {     A a(10);     B b(3.14);     a.Print();     a.SetB(&amp;b);     b.Print();     b.SetA(&amp;a);     return 0; } Landscape figure in LaTeX I have a figure I'm trying to insert which is in landscape and I'm using the following (snipped) code:  \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{lscape} \usepackage{rotating} \usepackage{epstopdf}  \begin{document}  \begin{figure}[ht]     \includegraphics{../figures/pics/DivLibPropProfile}     \caption{Property profile of the diverse library compared to the compound pool.}     \label{fig:PropProf} \end{figure}  \end{document}   When I compile this with pdfLaTeX the output behaves as I'd expect – page in portrait with the caption at the bottom but the figure in the "wrong" orientation.  However when I compile using LaTeX, the page is turned landscape with the figure now in the correct orientation but with the caption at what is now the left of the page rather than under the figure, which you should get using \begin{landscape}.    When I do use the landscape environment and compile with LaTeX the caption the whole page is turned upside-down and everything is wrong.  Any ideas how I can get the correct orientation of landscape figure on landscape page with the caption under the  (attached for reference)?  I also need to use LaTeX rather that pdfLaTeX for another package to function. "Shall" versus "will" for the first person When I studied English, I was taught that shall is used to express the future tense for the first person (singular, or plural), and will is used for the same purpose in the other cases.  When I look for shall on the NOAD, I read the following sentence, in a note about the usage of shall:     In practice, however, shall and will are today used more or less interchangeably in statements (although not in questions).   Does that mean shall and will are used with almost the same meaning?  Does I shall return have the same meaning of I will return? How do you teleport a certain player to spawn after they win a 1v1 I managed a KitPvP server in Minecraft and everything works fine except when players wants to duel each other. They get sent to a room where they will be dueling. The main problem is when the winner wins, I have no idea how to teleport them back to spawn. Can you deliver it [when,after] it [is | will be] assembled? Right now we are assembling a device. I am asking another person if he is can deliver it [after/when] we finish. What question construction is the most correct?  Can you deliver it after it is assembled?  Can you deliver it after it will be assembled?  Can you deliver it when it will be assembled?  Can you deliver it when it is assembled? Repeat String - Javascript What is the best or most concise method for returning a string repeated an arbitrary amount of times?  The following is my best shot so far:  function repeat(s, n){     var a = [];     while(a.length &lt; n){         a.push(s);     }     return a.join(''); } Active login not recognized on Super User