if I have a game engine with the basic 'game engine' components, what is the best way to 'split' the tasks with a multi-threaded approach?  Assuming I have the standard components of:   Rendering Physics Scripts Networking   And a quad-core, I see two ways of multi-threading:    Option A ('Vertical'):  Using this approach I can allow one core for each component of the engine; e.g. one core for the Rendering task, one for the Physics, etc.  Advantages:   I do not need to worry about thread-safety within each component I can take advantage of special optimizations provided for single-threaded access (e.g. DirectX offers a flag that can be set to tell it that you will only use single-threading)     Option B ('Horizontal'):  Using this approach, each task may be split up into 1 &lt;= n &lt;= numCores threads, and executed simultaneously, one after the other.  Advantages:   Allows for work-sharing, i.e. each thread can take over work still remaining as the others are still processing I can take advantage of libraries that are designed for multi-threading (i.e. ... DirectX)     I think, in retrospect, I would pick Option B, but I wanted to hear you guys' thoughts on the matter.
Should I have separate threads for rendering and logic, or even more?  I'm aware of the immense performance drop caused by data synchronization (let alone any mutex locks).  I've been thinking of taking this to the extreme and doing threads for conceivable every conceivable subsystem. But I'm worried that may slow things too. (For example, is it sane to separate the input thread from rendering or game logic threads?) Would the data synchronization required make it pointless or even slower?
Is there a program to mine bitcoins in ubuntu 13.10? Android adware lets me opt out: is it safe? Recently my mom's phone running Android 5.0 has been infected with a piece of adware:    At first we thought this was caused by applications, but as you can see here, only the Google/METROPCS Internet browser is running.  In the photo, there is a button that reads 'opt out'. So I clicked on it and it took me to this link at http://tracker.tpc.re/optout/mobile/:    BUT both of these options smelly fishy. For starters, the manual app is not a download link in the play store but an APK, making it seem like a virus. The second (manual) as for sensitive information, which could harm me even more.   Which one of these options do I choose? Are they legit or do I have to do get rid of it another way? I am looking for a solution/technology which allows remote screencast display and control from desktop. My goal is to provided remote mobile device display through a browser. I found some existing solutions:   AndroidScreenCast: Based on ADB interface. this is just screenshots using a simple primitive provided by ADB. low display. VNC client &amp; server. works for both rooted android and jailbroken iphone. low display. iDemo + ScreenSplitR: Better, jailbroken iphone only. HDMI/TV output: No remote control.   I've heard about "direct-to-device" technology which is used by DeviceAnyWhere. Are there any other solutions? GCD in a PID persists in extension domains Let $R$ be subring of integral domain $S.$ Suppose $R$ is $\text{PID}.$ Let $a\in R$ be a greatest common divisor of $r_1,r_2$ in $R$. ($r_1,r_2 \in R$, not both zero). Could anyone advise me on how to prove $a$ is greatest common divisor of $r_1,r_2$ in $S?$   Hints will suffice, thank you. How do I make an Bootable Ubuntu USB containing the the latest version of Ubuntu?  For completeness, how would I be able to do this on Ubuntu, Windows, OS X or another Linux distro? I've seen many variants of this problem online, but not quite the same as this, so I don't believe this is a duplicate.  The famous differential equation problem models a skydiver jumping out of a plane as  $$m \frac{dv}{dt} = -mg-cv$$ where m is the mass of the skydiver, g is acceleration due to gravity (9.81 m/s) and c is the coefficient of air resistance.  Here is my question:     Suppose the skydiver exits the stationary helicopter at an altitude of 2000m and opens the parachute at 500m. For this exercise, the parachute opens instantaneously. Suppose m= 70kgs, the coefficient of air resistance is c = 14 for a free falling body and c = 105 after the parachute opens. When does the skydiver open the parachute? When does the Skydiver hit the ground?   So my attempt at a solution kinda starts like this, but this is where I get stuck:  Let's assume that s(t) is the distance the body falls in time t from its initial point of release, then $v = \frac{ds}{dt}$ and $a = \frac{dv}{dt} = \frac{d^2s}{dt^2}$. Thus we have a second order differential equation: $m \frac{d^2s}{dt^2} = -mg-c\frac{ds}{dt}$. By simply manipulation, we get $m \frac{d^2s}{dt^2} + c\frac{ds}{dt} = mg$. I originally started thinking of finding the integrating factor, however, this seems more complicated and won't help produce the equation that I need.  Would anyone be able to help? Much thanks in advanced! This is a question that keeps bothering me: much of mathematics was created by extending rules to new domains e.g. negative numbers were created by consistently extending arithmetic beyond positive integers. However, with number bases it seems impossible to do this. Number bases are integers, but could they be rational numbers? I've had previous discussions about this, see . One problem can be seen with this example: in base 2.5, 0.22 is greater than one. That's not what we want! What, if anything, can be done about this?  EDIT: To put it another way - if every positional number is less than any digit to its left, why doesn't this apply to fractional base positional numbers? How many attacks can a fighter with two-weapon fighting make at 5th level? I have a 5th level fighter with the Two-Weapon Fighting fighting style.   What is the number of attacks I can make?   I say 4 attacks, but others say 3 because they say the rule on page 72 states that I get (only) 1 extra attack. How could I place objects (buildings) on a flat surface in the BGE? I'm working on an  in BGE, and I am not sure how I could make it so you can place buildings on flat surfaces (or unless there is an easier way). I would love to know how to place buildings when you click a certain button to place it.  I don't really need anything fancy like price and stuff like that yet. I really have no idea if  is required to do this. Failed a Reopen Question audit — sure looks like "Not a real question" to me I just failed , which was shown as being closed as "Not a real question".  Seeing as the vote count was positive, I figured it was an audit, but I selected "Leave Closed" anyways because to me     It's difficult to tell what is being asked here.  This question is ambiguous, vague...   There's no code examples, and the phrasing is clunky at best.  This is my second failed audit in two days for difficult questions (first failed audit is , also now closed), so if I get temporarily suspended, it won't be the end of the world (I'll think of it as a forced vacation).    That said, is there a way to dispute these audits?  Or is posting the audit here sufficient? Change system date programmatically How can I change the local system's date &amp; time programmatically with C#? Individual community preferences vs. SE network policy: who wins? In the recent question , the OP asks where the following question would be appropriate:     What would be the best way to approach someone that works for me about bad odor?   CHAOS team member Abby Miller  by suggesting the proposal  &#8212; which is in commitment as I'm writing this &#8212; because     One of the up voted example questions there is about dealing with an irritating coworker. This question will be perfectly on topic for that site.   In my opinion,  qualifies for the not constructive close reason*, which applies to all sites in the network, and therefore, the question shouldn't be allowed, no matter how much it has to do with workplaces.  I know Abby isn't the only one who disagrees with me about this. I once had a talk with a mod of some beta about the presence of poll/GTKY questions on his site. His position, in short, was that his community had different rules from SO and its members enjoyed such questions. I don't remember which site it was, it might even be graduated now, but I never did end up participating there.  Anecdotal examples are nice and all, but here's the real question: to what extent can individual communities/sites override network policies? To what extend should they be able to do so?  *: not constructive comes with the description "This question is not a good fit to our Q&amp;A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion." Recovering *permanently* deleted emails from Gmail person in distress here.  Dont ask me how, but I ended up deleting all my 12,000 inbox emails from Gmail into Trash and then erased my Trash as well. Gmail gave me a warning box and took 20 seconds to delete. This was not what I intended. I have searched high and low to check if there is any way of recovering my 10 years worth of emails and could not find any.  Any one here know of a way, ANY WAY, to recover my accidental permanent deletion of all my 10 years worth of email (deleted from Trash as well)? \section*[toc]{normal section title} not working for me for my thesis I want to have a section appear differently in the ToC than in the text.  After googling a bit, I found \section[short]{long} as a proposed answer, but this does not seem to work for me.  Here is a MnotWE:  \documentclass[12pt,a4paper,reqno]{amsbook} \usepackage{fontspec} \setmainfont[SlantedFont={Latin Modern Roman Slanted},          SmallCapsFont = {Latin Modern Roman Caps},          ]{Latin Modern Roman}    \usepackage[activate=true,nocompatibility},final,tracking=true,factor=1100,stretch=10,shrink=10]{microtype}  \usepackage[bindingoffset=1cm]{geometry} \usepackage{polyglossia} \setdefaultlanguage{english} \usepackage{csquotes}  \title{\textsc{Some Title}} \author{me}  \begin{document} \maketitle \frontmatter \tableofcontents \mainmatter  \part[toc part]{normal part} \section*[toc section]{normal section} some text  \end{document}   It just takes "toc part" as normal and as ToC heading for the \part command.  For the section I am interested in the starred version. Here the [toc section] part of the command seems to be completely ignored.  I use LuaLaTeX to build my document. Does anyone have a suggestion how to get a \section* appear with a different title in the ToC? When a lattice is a lattice of open sets of some topological space? When a lattice $(L,\leqslant)$ is a lattice of open (or closed) sets of some topological space $(X,\tau)$? Which conditions have to be satisfied? We may assume that $X$ is $T_1$. How can I prove $n - 2\sqrt{n} = \Theta(n)$ I want to prove the following $$n - 2\sqrt{n} = \Theta(n)$$  It's $n - 2\sqrt{n} \leq n = O(n)$  How can I prove the same for $\Omega(n)$ Someone recently asked me why a negative $\times$ a negative is positive, and why a negative $\times$ a positive is negative, etc.  I went ahead and gave them a proof by contradiction like so:  Assume $(-x) \cdot (-y) = -xy$  Then divide both sides by $(-x)$ and you get $(-y) = y$  Since we have a contradiction, then our first assumption must be incorrect.  I'm guessing I did something wrong here. Since the conclusion of $(-x) \cdot (-y) = (xy)$ is hard to derive from what I wrote.  Is there a better way to explain this?  Is my proof incorrect?  Also, what would be an intuitive way to explain the negation concept, if there is one? I work on different types of monitors (CRT, LCD) and all PCs have the same screen refresh rate as 60 Hertz. Recently I've read an article which claims that low refresh rates cause headaches. The writer states that 60 Hertz is a low refresh rate and should be increased to the maximum value that the monitor supports. If I increase this value to the maximum as the monitor can display (for example 75 Hertz), does it damage the monitor in the long term? Answers about the pros and cons of low &amp; high refresh rates would be highly appreciated. I am moving from one job to another (postdoc to tenure track) this summer and I have papers in several stages of being written, these go from handwritten notes with all the necessary arguments to under revision at a journal. All the papers will have my new contact information put on them but where is the line for changing affiliation? It seems obvious to me that the one that is still in the handwritten notes stage will get the new affiliation and that the ones under revision won't. So somewhere in between is a line.   Where is it?  There are some similar questions so far (see  and  but they do not seem to be quite the same situation since I am not changing fields and the appointments are not concurrent. Is the product of symmetric positive semidefinite matrices positive definite?