What is the difference between a video game developer and a video game designer?
Gameplay programmers write game code, but so do game designers and developers. Where is the line drawn? What skills do gameplay programmers use that game designers or developers do not?
Dynamic select list in the form (dependent dropdown) I just reinstalled my Ubuntu system with 11.10, but ran into a problem when I tried to install Gimp 2.7.  I always get unmet dependencies (it's german, so I can't tell you the exact english translation):     Needs gimp-data (&lt;= 2.6.11-z) but 2.7.3-2011082002~oo should be installed   I already read the follow post, but the answers didn't really help me.  When I type in     sudo apt-get install gimp=2.6   it just says that there is no version 2.6 found. I get the same with 2.7.  I really need Gimp. But installing Gimp 2.6 isn't possible as well.  When I remove the repos for 2.7, I still get the same error. I work at a nursery and I have a hard time managing the toys that the kids play with. I watch them put things in their mouths, cough and sneeze on the toys, and throw everything on the ground. Even though I see all of these things, it is hard to find the time to clean all of the toys, simply because there are too many and I do not have that much time. Any input would be appreciated! If I remove the heatsink from my processor temporarily, then later put it back without changing the heatsink or CPU, do I need to reapply thermal paste? failed to get D-Bus connection: Operation not permitted I'm trying to list services on my CentOS image running in Docker using  systemctl list-units     but I get this error message:  Failed to get D-Bus connection: Operation not permitted   Any suggestions what the problem might be? If A and B play a game with a fair coin such that A wins by getting consecutive TT for the first time, while B wins by getting a consecutive TH.  Who has higher probability of winning the game?   I tried the following method but not sure:  For A to win,     TT, HTT, HHTT ... that is, 2-k for each game length k   For B to win,     TH, HTH, HHTH ... that is, 2-k for each game length k   So ultimately I am getting same probability of each to win. File issues after importing Drupal site I recently tried to move my Drupal site to a new server using this page: . But now the style doesn't seem be loaded and more importantly I get this error on every page in the site (even on the frontpage):  Warning: file_put_contents(temporary://filef76T9k): failed to open stream: &quot;DrupalTemporaryStreamWrapper::stream_open&quot; call failed in file_unmanaged_save_data() (line 1900 of /Library/Server/Web/Data/Sites/Default/drupal/includes/file.inc). The file could not be created.  Any ideas what this could be about? Mapping Russia - Int'l dateline splitting polygon Reason behind this self invoking anonymous function variant I know this issue has been addressed before with different software, but how do I do it with Shapely?  I have a polygon with a very small gap on the interior of the shape:    Here is a close up:    The polygon is valid so I can't use the buffer trick, and simplifying the polygon also doesn't work. I need a graduate level, mathematically rigorous textbook on multivariate analysis and inference to enhance myself. I've been reading the  and doing the problems within, but I need a book with other focuses. Topics like famous distributions (Wishart, Wilks lambda, etc.), hypothesis testing, some theory on estimation (point, interval), and other more modern materials are welcome. I've checked , but the OP there was looking for something useful for his psychological analysis, which is not exactly what I want here. Currently I have the , so I would also like to hear the comments about this book and its exercises. Thank you. How to query More than 50000 records from sObject i need to count total number of records in an sObject which can have around one million records. Will the code below work ? If no, how can this be done ? I dont need to use this in a vf page.   I will be using this COUNT() SOQL Query in a batch class which is scheduled to run at specific time.  AggregateResult results = database.query('SELECT COUNT(id) result FROM someSObject');     System.debug('No of ids are: '+results.get('result')); Accessing a property of derived class from the base class in C# If Chrome is already open, it opens new sites (e.g. from Windows shortcuts, application shortcuts, or from the Run dialog) in new tabs of the existing instance.   I'd prefer to open new sites in a separate window (a new instance of Chrome).   I don't see that in the options - is it possible? $x^y = y^x$ for integers $x$ and $y$ We know that $2^4 = 4^2$ and $(-2)^{-4} = (-4)^{-2}$. Is there another pair of integers $x, y$ ($x\neq y$) which satisfies the equality $x^y = y^x$? Creating point features with exact coordinates in QGIS? Show if a user is online, idle, or offline on their account page? I want to display the status of the user on the account page. I added the following code in the theme I am using. It works, but users are never displayed offline. Why? What is wrong in the code? user.html.twig &lt;div class=&quot;bs-field-status&quot;&gt;   {% if status == 'Online' %}     &lt;i class=&quot;user-online fa fa-circle fa-lg&quot;&gt;&lt;/i&gt; Online   {% elseif status == 'Absent' %}     &lt;i class=&quot;user-absent fa fa-circle fa-lg&quot;&gt;&lt;/i&gt; Absent   {% else %}     &lt;i class=&quot;user-offline fa fa-circle fa-lg&quot;&gt;&lt;/i&gt; Offline   {% endif %} &lt;/div&gt;  bootstrap_subtheme_front_office.theme &lt;?php /**  * @file  * Bootstrap sub-theme.  *  * Place your custom PHP code in this file.  */  use Drupal\Core\Database\Database;  /**  * Implements hook_entity_presave().  */ function bootstrap_subtheme_front_office_preprocess_user(&amp;$variables) {   // get user object   $user = $variables['elements']['#user'];   //- The user has logged in at least once   if ($user-&gt;getLastLoginTime()) {     if (account_is_logged_in_less_then_thirty_minutes($user-&gt;id())) {       $status = 'Online';     }     else {       $status = 'Absent';     }   }   else {     $status = 'Offline';   }   $variables['status'] = $status; }  /**  * @param $uid  *  * @return bool  */ function account_is_logged_in_less_then_thirty_minutes($uid) {   $connection = Database::getConnection();   $query = $connection-&gt;select('sessions', 'sessions')     -&gt;fields('sessions', ['sid', 'uid', 'timestamp'])     -&gt;condition('sessions.uid', $uid, '=')     //- chef if the user was online in 30 minutes (60 * 30)     -&gt;condition('sessions.timestamp', \Drupal::time()         -&gt;getRequestTime() - (60 * 30), '&gt;')     -&gt;execute();   //- Get result.   $results = $query-&gt;fetchAll(\PDO::FETCH_OBJ);   return (count($results) &gt; 0) ? TRUE : FALSE; } Problem with clickable archive.org URLs Distribution of range of Uniform $(0,1)$ distribution Let $X_1,...,X_n$ be iid as $U \sim [0,1]$ with pdf $f(x) = 1(0 &lt;x&lt; 1)$. Determine the range distribution.   I have managed to determine the distribution of the minimum and the maximum, however I cannot/do not know how to determine the distribution of range.   Minimum:  $f_N = n(1-x)^{n-1}$ and maximum $f_M= nx^{n-1}$   I am aware that the calculation of range distribution is based on convolution: $f_R=\int f_{N,M}(x,x-r)dx$, However I cannot get the correct result, which according to my lecture slides is : $f_R= n(n-1)r^{n-2}(1-r)$  Could someone break this down for me ? My math background is not great Proof of $\frac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1}$ It's a standard result that given $X_1,\cdots ,X_n $ random sample from $N(\mu,\sigma^2)$, the random variable $$\frac{(n-1)S^2}{\sigma^2}$$ has a chi-square distribution with $(n-1)$ degrees of freedom, where $$S^2=\frac{1}{n-1}\sum^{n}_{i=1}(X_i-\bar{X})^2.$$ I would like help in proving the above result. Thanks.