Strange behviour with java example
My java code has an obvious error. Why does it compile and run?
If I pass PHP variables with . in their names via $_GET PHP auto-replaces them with _ characters. For example:  &lt;?php echo "url is ".$_SERVER['REQUEST_URI']."&lt;p&gt;"; echo "x.y is ".$_GET['x.y'].".&lt;p&gt;"; echo "x_y is ".$_GET['x_y'].".&lt;p&gt;";   ... outputs the following:  url is /SpShipTool/php/testGetUrl.php?x.y=a.b x.y is . x_y is a.b.   ... my question is this: is there any way I can get this to stop? Cannot for the life of me figure out what I've done to deserve this  PHP version I'm running with is 5.2.4-2ubuntu5.3. Moderncv package - cventry date width I found a problem with an application on Ubuntu.   Questions :   How do I best report the issue?  What sort of information should I provide? Implicit newline at the end of each paragraph? Why is my camera limited to a shutter speed of 1/250th when the flash is up? Sometimes in bright backlight and with large aperture (f2.8) I want flash at high shutter speeds.  But when I pop the flash up on D7000 it caps the shutter speed to 1/250th, which overexposes the shots and makes everything look like a nuclear bomb just went off.  What's the logic behind the limiting of the shutter speed when using flash? Is there anything I can do to get flash  + faster shutter speeds? Calculation of limit without stirling approximation $\lim n^n/(e^nn!)=0$ using Stirling approximation it is obvious. But can we do it without using Stirling approximation.  Now series with terms $x^n n^n/n!$ has ROC $1/e$. What we can say about behaviour of power series at endpoints? Who can use magic scrolls? I'm confused about who can use scrolls in 5e. In the DMG, p139 under Magic Item Categories: Scrolls, it states that:     Any creature that can understand a written language can read the   arcane script on a scroll and attempt to activate it.   This implies that anyone can try to cast a spell using a scroll. However, on p.200 in the Spell Scroll entry it states that:     If the spell is on your class's spell list, you can use an action to read the scroll and cast its spell without having to provide any of the spell's components. Otherwise, the scroll is unintelligible.   Then there is the bit about a DC 10 + scroll spell level ability check if the spell is higher than a spell slot that you can cast.     If the spell is on your class's spell list but of a higher level than you can normally cast, you must make an ability check using your spellcasting ability to determine whether you cast it successfully. The DC equals 10 + spell's level. On a failed check, the spell disappears from the scroll with no other effect.    So, which is it? Can anyone who can read a language use a scroll (like a fighter) if they make an arcana check, or just a PC with that specific spell in their spell list (only spell casters)? I am able to use the split command successfully to split large file into multiple smaller files. This is being achieved by following command  split -b 1G $temp_path $final_filepath   But only caveat is that these files many times contain last line which is split across 2 files. Is there any way to avoid that using split or any other command ? "In a party people shake hands with one another" In a party people shake hands with one another (not necessarily everyone with everyone else).   (a) Show that 2 people shake hands the same no. of times.   (b) Show that the number of people who shake hands an odd no. of time is even.        I find this question to be very tough and I can't find a way to even start answering this. It would be great if I could get a small hint in order for me to at least start it. Drupal unexpected "Fatal error: Class name must be a valid object or a string [...] common.inc" on every page "Fatal error: Class name must be a valid object or a string in C:\xampp\htdocs\uc\includes\common.inc on line 7506"  The error above showed up unexpectedly. I was adding a "Long text" field to a content-type, but when I expected to be brought to a saved field configuration page, I instead got a Fatal error on every page.  I had a look at includes\common.inc:  /**  * Get the entity controller class for an entity type.  */ function entity_get_controller($entity_type) {   $controllers = &amp;drupal_static(__FUNCTION__, array());   if (!isset($controllers[$entity_type])) {     $type_info = entity_get_info($entity_type);     $class = $type_info['controller class'];     $controllers[$entity_type] = new $class($entity_type); // Line 7506   }   return $controllers[$entity_type]; }   However, I just don't understand Drupal at a low enough level to understand the relationships between these variables and functions.  I also searched Drupal for people with a similar problem:  (1)  who claims that I have to install the submodule "Relation Endpoints Field", but searching Drupal, .  (2) :  DELETE FROM cache; DELETE FROM cache_filter; DELETE FROM cache_menu; DELETE FROM cache_page; DELETE FROM watchdog;   (via , misleading name, I know.)  Clearing those tables from the cache did not help.  (3) And another user . Because I can't find a module specifically pertaining to old search facets, I went into MySQL system table, and marked the Search module's line with a 0 status, indicating to stop loading the module altogether.  On that same link as (3), one user suggested enabling the , so I dropped all the tables, imported the latest stable .sql, and installed the module, but after recreating the problem (trying to add a field to a content-type), that as well concluded fruitless.  Still, the problem remains  The Fatal error shows up on every page, making the site completely non-functional. Any help or direction would be immensely appreciated. Thank you for looking. Half doesn't or half don't? I was looking at  and I didn't realize that Minecraft had some Easter eggs in it. Besides the Christmas chest Easter egg, and the sheep Easter egg, what else is there? Prevent a part of the caption from appearing in the list of figures I am using the 'article' class, 'figure' environment.  My captions are divided in two parts:   the information about the figure the credits of the figure (for which I use \textfff{})   In my list of figures, I would like to omit the second part. Would you have a solution, please? How to change maximum number of cores? It says in  that there is a maximum number of 8 cores supported by default in Ubuntu 12.04 Desktop/Server 32-Bit. What is the way to increase the maximum number of cores from the default of 8 to a higher value, like 12?  The reason I ask is because I have just built a machine with 6 hyper threading cores.  There were issues installing the 64-bit version of the software from a CD (it "panicked" and crashed several times).  The 32-bit installed with no problem, but I only see 8 of the 12 cores.  The BIOS is fine.  If I turn hyper-threading off and reboot, I see 6 cores as expected.  I am nervous to try and compile a kernal, I am still new to all of this.  Is there a config setting somewhere that I should change? What's the difference between an id and a class? GET and POST methods with the same Action name in the same Controller Is my sugar daddy scamming me Convert XML/HTML Entities into Unicode String in Python Is it possible to create a URL link to a website on the home screen? The question I am working on is, &quot;Consider the following. (a) Find the angular speed of Earth's rotation about its axis. rad/s (b) How does this rotation affect the shape of Earth?&quot;  I am fully capable of solving part (a); however, I am not sure how to describe the effect earth's rotation on its shape. I tried to search my textbook for the answer, but could not find anything. Is there an actual effect on the shape?