In a 2D game where the user moves with the keyboard arrows, should the user send all the time he moves his position (x, y)?. If the user has some speed, the user would send (x, y) like 50 times pixel by pixel in just a second.
The client can do several actions per frame, for instance, requesting a movement, shooting etc. Should i send a packet to the server for each action the client performed during the frame, or should i stack them in an unique packet and send it at the end of the frame?  EDIT: i'm using Jmonkeyengine and the provided network API SpiderMonkey.
How to prove the midpoint of a chord is also the midpoint of the line segment defined by the points of intersection of other two chords with it? Bernhard Elsner, alias MathOMan, posted this exercise in plane Geometry,  on January $29$th, $2010.$  "Let $\mathcal{C}$ be a circle, $A,B$ two distinct points on $\mathcal{C}$ and $M$ be the midpoint of the chord $[AB]$. Take two other chords,$[PQ]$ and $[SR]$, that pass through $M$. Let $C$ (resp. $D$) be the intersection of $[AB]$ with $[PS]$ (resp. $[RQ]$). Prove that $M$ is the midpoint of the chord $[CD]$."    To prove it I've written the following (failed) argument, in the  of this post (translation of mine):    The figure is symmetric with respect to $M$: $\overline{AM}=\overline{MB}$, $\overline{PM}=\overline{MU}$, $\overline{RM}=\overline{MW}$, $\overline{QM}=\overline{MV}$, $\overline{QR}=\overline{VW}$, $\overline{SM}=\overline{MT}$. From $\dfrac{\overline{SC}}{\overline{DT}}=\dfrac{\overline{CM}}{\overline{MD}}=1$ follows that $\overline{CM}=\overline{MD}$.  Here is an extract of the author's reply (translation of mine):   "It is not clear that  $\overline{QM}=\overline{MV}$. Is the point $V$ on the line $(QM)$ defined by this equality or is $V$ defined as the intersection point of the lines $(QM)$ and $(WC)$? Why are both definitions to give the same point?  Let $C^{\prime }$ be the intersection of $(SP)$ and $(VW)$, and $D^{\prime }$ the intersection of $(TU)$ and $(QR)$. (...)  One still has to show that $C^{\prime }=C$ and $D^{\prime }=D$."   I have agreed with these objections.  Until now no proof has been posted. The author considers that the "proof is not quite simple".  Q. What is the theorem this exercise refers to? Or how does one prove it? : So how many named special cases of each modal verb are there, in toto? There's   1. subjunctive should, and   2. mandative should, and   3. , at least;   and I s[up]pose 4. Should we? is suggestive should, and   5. Shouldn't we? is tag **should**, and I can think of a lot more.    I ask about only operative uses of this modal verb including literary and formal usage,  but please omit anything obsolete. I'm trying to classify them and learn the formal terms describing each. Are there any apt others in addition to the ones above? (I added the enumeration below)  1. What's 'subjunctive should'?  Whenever should is conjugated in the subjunctive mood? 5. What's a tag **should** ? 6. Where does  should/would  feature? What's it called? This should is detailed in   or  or . Obfuscation is one way, but it can't protect from breaking the piracy protection security of the application. How do I make sure that the application is not tampered with, and how do I make sure that the registration mechanism can't be reverse engineered?  Also it is possible to convert a C# application to native code, and  is too costly.  C# provides lot of features, and is the ideal language for my code, so writing the whole codebase again in C++ is out of the question.  Secure certificates can be easily removed from the signed assemblies in .NET. R script line numbers at error? Weird http -> https redirection although not configured I am running Apache 2.2.15 (CentOS 6.6) with a HTTP-only domain   demo.xml-director.info  Using wget I can retrieve the content properly   wget -S http://demo.xml-director.info --2015-01-05 13:31:41--  http://demo.xml-director.info/ Resolving demo.xml-director.info (demo.xml-director.info)... 176.9.146.28 Connecting to demo.xml-director.info (demo.xml-director.info)|176.9.146.28|:80... connected. HTTP request sent, awaiting response...    HTTP/1.1 200 OK   Date: Mon, 05 Jan 2015 12:31:41 GMT   Server: Zope/(2.13.22, python 2.7.6, linux2) ZServer/1.1   Content-Length: 20227   Expires: Sat, 01 Jan 2000 00:00:00 GMT   Content-Type: text/html;charset=utf-8   X-Ua-Compatible: IE=edge,chrome=1   Content-Language: en   Vary: Accept-Encoding   Keep-Alive: timeout=15, max=100   Connection: Keep-Alive Length: 20227 (20K) [text/html] Saving to: 'index.html.4'   However Chrome/Firefox always change the request from http to https because of HTST. However for this particular domain there is no HSTS configured.  The server runs SSL for www.xml-director.info with enabled HSTS support. However there is further alias here that would map demo.xml-director.info to www.xml-director.info.   How can this problem be resolved.  VHOst for www.xml-director.info:  &lt;VirtualHost *:443&gt;     ServerName www.xml-director.info     ServerAlias xml-director.info      SSLEngine on     SSLCertificateFile /etc/httpd/certs/15742445repl_2.crt     SSLCertificateCHainFile /etc/httpd/certs/15742445repl_2.ca-bundle     SSLCertificateKeyFile /etc/httpd/certs/zopyx.com.key      CustomLog /var/log/httpd/xml-director.info.log combined     DocumentRoot /var/www/xml-director/landing-v1      Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"      &lt;location "/"&gt;         Options +Indexes         Header set Access-Control-Allow-Origin "*"         Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"     Header set Access-Control-Allow-Headers "X-Requested-With,Content-Type"     &lt;/location&gt;  &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     ServerAlias www.xml-director.com      ServerAlias www.xml-director.info     ServerAlias www.xml-director.de     ServerAlias xml-director.com     ServerAlias xml-director.info     ServerAlias xml-director.de      RedirectPermanent / https://xml-director.info/ &lt;/VirtualHost&gt;   and for demo.xml-director.info  &lt;VirtualHost *:80&gt;     ServerName  demo.xml-director.info     RewriteEngine On      RewriteRule ^/(.*) http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]     RewriteRule ^/$    http://127.0.0.1:12020/VirtualHostBase/http/demo.xml-director.info:80/xml-director/VirtualHostRoot/$1 [L,P]      CustomLog /var/log/httpd/demo.xml-director.info.log combined     AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css text/javascript      CacheRoot /tmp/cache     CacheEnable disk /     CacheIgnoreCacheControl on      KeepAliveTimeout 15     KeepAlive on      ExpiresActive On     ExpiresByType image/gif "access plus 10 day"     ExpiresByType image/jpg "access plus 10 day"     ExpiresByType image/jpeg "access plus 10 day"     ExpiresByType image/png "access plus 10 day"     ExpiresByType text/javascript "access plus 10 day"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/html  "access plus 1 hour"     ExpiresByType text/css  "access plus 10 days"      &lt;Location "/"&gt;         Order allow,deny         Allow from all     &lt;/Location&gt;  &lt;/VirtualHost&gt; In Python, what are metaclasses and what do we use them for? How do I determine the size of my array in C? In a question on "along" vs "alongside", I have seen this question and the correct answer on the web site makes me confused.      The question is: I enjoyed my walk _________________ the river.  a) along b) alongside  I selected "...along the river" as the correct answer, but on the web site it is shown as wrong and the correct answer is "alongside".  How can that be? I still do not agree, because I have studied the difference between the two. "along" is just the right preposition for thin and long places like road, path, street, beach etc".   So, why would the correct answer be "alongside" which simply means "next to"? Do you not think "along" seems to be better fitting?  Regards,  Note: I would be more than gratefull, if somebody show it to me in a video, like "a walk along the river" and "a walk alongside the river". Maybe I can understand the how "a walk along the river" and "a walk alongside the river" would take place. How do I disable auto-maximizing of newly launched windows in GNOME? Each time I open any application, it zooms to fill-up the entire desktop and so I am always forced to use "Unmaximize" using Alt+Space menu. Cut points and connected space I've been battling the following two questions for more than a day today.  Write a regular expression (comprised of {a, b}) that contain at least two b and do not contain abb. Write a regular expression (comprised of {a, b}) that contain abba and do not contain baa.  For the first part I wrote a basic one to start off with that doesn't handle the must two-b: b* OR a* OR (a+ AND b)* OR a*  I ran a few &quot;truth tables&quot; inputs over it and it seems ok. But the moment I add the requirement, things go haywire. Mostly because when pushing in those &quot;b&quot;s, you can suddenly use the OR to break things up. Same thing on the second one.... Any help would be greatly appreciated! Norah I always used to open a new VLC window; go to "open file"...etcetera when I wanted to watch something because when I click on a file in Windows Explorer and chose "open with" or just clicked on the file or right-clicked to choose "play with VLC" it always opened in an old already used VLC window.  Is there any way to get VLC to use a new one without always resorting to: Open VLC, "open file", find file etcetera? How to prove $\operatorname{Tr}(AB) = \operatorname{Tr}(BA)$? there is a similar thread here , but I'm only looking for a simple linear algebra proof. 90s (or earlier) Japanese anime movie: two planets at war, young man is in love with princess from the other planet, and floods his own village If I play a spell with {X} in the mana cost, and I have a card out that reduces the casting cost by 2 generic mana, what happens to the X? Does it start at -2?  For example: I have  in play. If I play  for just 1 blue mana, do we draw 2 cards? Does every linearly independent set of n vectors in $R^n$ forms a basis in $R^n$? Basically does a vector set that is linearly independent in $R^n$ automatically span $R^n$?  My initial thought is yes, but is there some counterexample that can disprove this? I am trying to grab the capital letters of a couple of words and wrap them in span tags. I am using  for extract and wrapping purposes, but it's not outputting anything.  preg_replace("/[A-Z]/", "&lt;span class=\"initial\"&gt;$1&lt;/span&gt;", $str) Will I be able to play my Destiny Characters if I buy Legendary Edition (PS3) Best way to track onchange as-you-type in input type="text"? Word for low level noise among restless crowd, as sign of confusion or complaint? Dictionary gives me "drone" and "murmur" but I'm not sure if that's the word I am thinking of.  I want to use it to describe a group of people on strike who hear that their demands are not met and the CEO has resigned.  They're not shouting, but they're not whispering either.  They're restless and confused.  I want to say that a certain something (murmur?) was heard among the crowds, to indicate their state.