I apologize for repeating my question, but it was suggested that I ask it on this StackExchange site instead of stackoverflow:  :  I have created a simple .NET 4.5 Entity Framework Winforms application with Visual Studio and would like to open it on OS X.  I have used Wine before to open .exe's in the past and am having difficulty this time around. I have downloaded the most recent version of Wine, as well as OS X.  When I attempt to open the .exe with Wine, nothing happens. No error messages. Nothing.  When I attempt to package the .exe with WineBottler, I get a popup that says "Prefix created successfully"; however, when I attempt to open the newly created file, again, nothing happens.  I am very new to using Wine and have noticed that there are WineTricks you can use, but I am not sure if that is necessary. Again, I used Wine before on a very simple app and it worked just fine without using any WineTricks, but I am not sure whether I should include them for this app.  I have googled for help, but have not found much. Any assistance is greatly appreciated!
Running macOS Sierra(Version 10.12.2 16C67).  I installed  version wine-1.8.6 (through a .pkg file). I opened up a game and it worked fine.  The next day when I downloaded Origin installer, it wouldn't open. When I double clicked on it, the Wine icon showed up in the dock and said it was open, but no windows showed up. When I clicked on another program(or on the desktop), Wine closed. Now when I try to start that same game I opened when I first installed Wine, the same thing happens that happened when I started Origin installer.  When I go to the terminal and type wine {path of .exe} I got this:   I installed wine tricks using brew install winetricks and it installed fine, yet it didn't change my situation.  winecfg works properly, and so does sh winetricks.
How to send text to Notepad in C#/Win32? I'm trying to use SendMessage to Notepad, so that I can insert written text without making Notepad the active window.  I have done something like this in the past using SendText, but that required giving Notepad focus.  Now, first I'm retrieving the Windows handle:  Process[] processes = Process.GetProcessesByName("notepad"); Console.WriteLine(processes[0].MainWindowHandle.ToString());   I've confirmed it's the right handle for Notepad, the same shown within Windows Task Manager.  [DllImport("User32.dll", EntryPoint = "SendMessage")] public static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);   From here, I haven't been able to get SendMessage to work in all my experimentation.  Am I going in the wrong direction? I let my younger cousins play on my S4 from time to time, but now I have found that all the words they have used are the first to come up when I use my phone to text. It has gotten quite irritating. Samsung seems to have very hard to find settings compared to my old Sony Ericsson so I cannot find where to get rid of the word history typed onto my phone's keyboard. Where to or how to ask "Best of" Questions for what software tools to use I am wondering where is a good place or how is a good way to ask a question on what software tools to use for a specific task.  A lot of the time when searching for information on these types of problems stackoverflow comes up with the top and actually useful discussions and answers, but the question is locked.  I completely understand the point of discouraging "best of" or list questions as discussed in this question () and agree they often aren't constructive enough to justify the effort in moderating them.  What I am wondering is where is the right place to have a discussion like this? Stackoverflow has a good and active community so perhaps there is another section or related site I can ask less specific questions. And I do find some value in reading people's opinions, even if subjective on issues like this.  Here are some examples of the kind of questions I mean:    and   First results in google when searching for those subjects and some useful discussion.  Perhaps asking a question like this but with a strict and detailed specification it might be considered a valid and reasonable question to ask on stackoverflow; perhaps it's just a case of re-thinking how to ask a question. Or perhaps there's a more relevant place for this kind of discussion. Please let me know what you think. Assume $R=(\mathcal{U}_n)_n$ is a sequence of distinct ultrafilters on some set $X$. Since every Hausdorff space has an infinite discrete subspace, there is a subsequence $R=(\mathcal{V}_n)_n$ of $R=(\mathcal{U}_n)_n$ such that $\{\mathcal{V}_n|n \in \mathbb{N} \}$ is a discrete subspace of $\beta X$. In particular, there is a sequence $(A_n)_n$ of sets with $A_n \in \mathcal{V}_m$ if and only if $m =n$. If we let $B_n=A_n - (A_0 \cup...\cup A_{n−1})$, then the sequence $(B_n)_n$ is pairwise disjoint and $B_n \in \mathcal{V}_m$  iff $m=n$. If we let $B =\cup_n B_{2n}$, then $B \in \mathcal{V}_m$ if and only if $m$ is even. In other words, if $B =\{ \mathcal{V} \in βX|B \in \mathcal{V}\}$, then $B$ is a clopen set with $\mathcal{V}_m \in B$ iff $m$ is even. Therefore, we conclude that the sequence $(\mathcal{V}_m)_m$ cannot converge to any point, so the sequence $(\mathcal{U}_n)_n$ cannot converge to any point either.     I would like to know that:      (1) Why "$B_n \in \mathcal{V}_m$  iff $m=n$"? And " $B =\cup_n B_{2n}$, then $B \in \mathcal{V}_m$ if and only if $m$ is even "?      (2)$B$ is a clopen set with $\mathcal{V}_m \in B$ iff $m$ is even How to replace a string on the 5th line of multiple text files? I want to replace the 5th line of multiple text files (file1.txt,file2.txt,file3.txt,file4.txt) with the string " Good Morning " using a single terminal command.  All the text files are located on my ~/Desktop.  Note: My desktop consists of 6 .txt files.I want to apply the change to above mentioned 4 text files only. What is the minimum wait before I may re-enter the USA after a 90 day visit on the Visa Waiver Program? I entered the USA on a three month visa waiver program from Australia. I am about to return to  Australia and would like to come back again to the USA. How long do I have to wait until I can re-enter the USA for another 3 months? How to add n hours to a specified time? Pluralization rule for "five-year-old children", "20 pound note", "10 mile run" Placing items before \documentclass When looking in books or at sample code, I always see \documentclass appearing first. Is that absolutely necessary?  I have created some test code which seems to compile fine:  \def\SetClass{article} \documentclass{\SetClass} \begin{document}     This is some text. \end{document}   Is there any problem with placing other items, such as \input, \usepackage, or such details before the \documentclass? How to properly denoise renderings? Since the Denoise feature was added to Blender I only use the default setting with it and it really does the work. But sometimes the denoise is noticable on some of my renders. How can I overcome the blurred effect? Denoising for me is a big help because my system is quite aged. Reason for Subject-Verb Inversion: Only in cases where A is B, shall the Company do X Why Was It 'Essential' That Voldemort Kill Harry Potter? I want to do something like the following in TeX:  \begin{nobreak}    Text here will not split over pages, it will remain as one continuous chunk. If there isn't enough room for it on the current page a pagebreak will happen before it and the whole chunk will start on the next page.    \end{nobreak}   Is this possible? Possible Duplicate:          I am a little bit confused about asking a question:     Can you please tell me my next work?   or     Could you please tell me my next work?   Which is more correct? So in the image below there are two circles, how can I remove the internal vertices between them without messing up the outside shape. I'm working on a gun and this is just a simple way to illustrate the issue I'm dealing with. If I where to go in and delete the internal faces it would leave holes on the outside of the object, is there a fast way to get around this? Why are there directories called Local, LocalLow, and Roaming under \Users\\AppData? I have a workstation running Windows Server 2008 that's logged into an  domain, and I have a dual boot with Ubuntu Linux. When running Linux, I'd like to be able to use the same Thunderbird profile I use under Windows, so I pointed Thunderbird to use a profile I found under:  \Users\(myname)\AppData\Local\Thunderbird\Profiles   It turns out it was not the correct profile -- it had the right configuration, but the Inbox was an old version. I eventually found out the correct path was:  \Users\(myname)\AppData\Roaming\Thunderbird\Profiles   What's the rationale behind those different places to store application data? Hide text using css I have a tag in my html like this:  &lt;h1&gt;My Website Title Here&lt;/h1&gt;   Using css I want to replace the text with my actual logo. I've got the logo there no problem via resizing the tag and putting a background image in via css. However, I can't figure out how to get rid of the text. I've seen it done before basically by pushing the text off the screen. The problem is I can't remember where I saw it. Sorting an Array of Objects in PHP In a Specific Order I have two arrays in PHP. The first array ($author_array) is comprised of user_ids in a particular order, like so: (8, 1, 6)  The second array ($user_results) is comprised of an array of objects like so:  Array (     [0] =&gt; stdClass Object         (             [ID] =&gt; 1             [user_login] =&gt; user1         )     [1] =&gt; stdClass Object         (             [ID] =&gt; 6             [user_login] =&gt; user6         )     [2] =&gt; stdClass Object         (             [ID] =&gt; 8             [user_login] =&gt; user8         ) )   I'd like to "sort" the second array so it's in this order, which matches the order of the values in the first array of (8, 1, 6). So it'd look like this:  Array (     [0] =&gt; stdClass Object         (             [ID] =&gt; 8             [user_login] =&gt; user8         )     [1] =&gt; stdClass Object         (             [ID] =&gt; 1             [user_login] =&gt; user1         )     [2] =&gt; stdClass Object         (             [ID] =&gt; 6             [user_login] =&gt; user6         ) )   I'm weak on data structures. How could I do this? :-)  Thanks in advance for your help!  -Bob Punctuation of direct speech, edge cases I recently learned that I have developed a consistent, but entirely wrong approach to punctuating direct speech in fiction. I am in the unenviable position of trying to relearn.  Previously I wrote such things as:     "I'm done." She said.   when the quoted speech was definitely, absolutely the end of a sentence. So now I know I need.     "I'm done," she said.   This follows the rule that a period is only allowed when the end of the spoken sentence is also the end of the sentence in the narrative. For example:     "I'm done." She slammed the door on the way out.   So, it now looks odd to me when there are multiple sentences in the speech:     "I can't take her. I'm done," she said.   Can you reassure me that is correct, or give the correct form? Please don't suggest rewriting the sentence to put 'she said' in the middle - I'm aware of that: I'm specifically asking about the punctuation rules.  The other odd case is speech ending with an ellipsis. Do sentence terminating ellipses (four periods normally) become:     "I can't take her. You know, ...," she said, nodding towards Jane.   If so, are non-terminating ellipses dealt with the same way?     "I can't take ...," she nodded towards Jane, "any more!"   or can non-terminating ellipses be used unadorned?     "I can't take ..." she nodded towards Jane, "any more!"   I'd be very grateful if you could point me at references as well as answers. For the record I am a British writer writing for both British and US publication, so any variation is also interesting to me! A doubt from Milnor's "Topology from a Differentiable Viewpoint". This is a doubt from Milnor's "Topology from a Differentiable Viewpoint".     For a smooth $f:M\to N$, with $M$ compact, and a regular value $y\in N$, we define $n(f^{-1}(y))$ to be the number of points in $f^{-1}(y)$. It is easy to see that $n(f^{-1}(y))$ is finite. It can also be seen that $n(f^{-1}(y))$ is locally constant; i.e. there is a neighbourhood of $y$ such that for every point $y'$ in that neighbourhood, $n(f^{-1}(y'))=n(f^{-1}(y))$.   The proof for the statement in bold is the following:     Let $x_1,x_2,\dots,x_n$ be the points of $f^{-1}(y)$, and choose disjoint neighbourhoods $U_1,U_2,\dots,U_n$ of these points, which are mapped diffeomorphically into neighbourhoods $V_1,V_2,\dots,V_n$ of $y$. The required neighbourhood is $(V_1\cap V_2\cap\dots V_n)-f(M-U_1-U_2-\dots U_n)$.   I don't understand how $(V_1\cap V_2\cap\dots V_n)-f(M-U_1-U_2-\dots U_n)$ is open. I know that $(V_1\cap V_2\cap\dots V_n)$ is open. However, how can one prove that $f(M-U_1-U_2-\dots U_n)$ is closed? I can see this working if $f$ is surjective, but not otherwise.