I'm happy with the space management that LaTeX applies to the documents. However, there are times when the next section cannot be included on the current page and goes to the next page. This makes the distance between previous paragrpahs disproportionately large. Is there a command to avoid this behavior?
I have:  \documentclass[a4paper,11pt]{report}   with no special customisation.  In one page, at the end of a section, I have a big figure with two paragraphs of text below it, and these two paragraphs are not enough to fill up the rest of the page.  When I use the \documentclass as above I get some extra white space at the end of the page, which is fine: the vertical spacing from the figure caption and between the two paragraphs is standard and correct.  But if I switch to:  \documentclass[a4paper,11pt,twoside]{report}   I get extra blank space between the figure caption and the 1st paragraph and also between the 1st and 2nd paragraph.  I want to use twoside to set the headings with fancyhdr. How can I get rid of these ugly white spaces?
Can regular expressions be used to match nested patterns? Is it possible to write a regular expression that matches a nested pattern that occurs an unknown number of times? For example, can a regular expression match an opening and closing brace when there are an unknown number of open/close braces nested within the outer braces?  For example:  public MyMethod() {   if (test)   {     // More { }   }    // More { } } // End   Should match:  {   if (test)   {     // More { }   }    // More { } } Windows Starter Edition, Home and Home Premium do not include gpedit, how do I install it? I want to make some changes to Windows that require using the Group Policy Editor (gpedit.msc).  Unfortunately the Group Policy Editor is not included with the Starter Edition, Home and Home Premium editions of Windows.  How can I install it? Any software for windows Writing custom (intelligent) microsoft windows firewall extension (C#/C++/C) Writing custom (intelligent) firewall for windows Installing nginx etc. on the same computer and use it as proxy with rules.   "You could not solve all Ddos problems with software" is not answer for this question.I want to reduce Ddos vulnarebility of my server.(It will stop low-level Ddos attacks)  Hosted solutions or cloud services are not related with this question.  Closing some of the ports and protocols via Microsot Windows Firewall is not related with this question.  Any idea?  EDIT After Questions  Low level: sample scenerio: 500 zombie clients and each of them sending 100 Custom Get/Post requests per second)   Web Application is on IIS. I want to stop attacks before they reach to IIS.  EDIT After Helpful Comment  How can the DDOS attack achieve its aim?   Exhausting bandwidth ( Not related with my question) Exhausting network hardware of server (NIC) ( Not related with my question) Exhausting server resources (RAM,CPU)  (Yep, I mean this)   If you stop attacks late, then you lost more resources! (Is this false?)   You can stop attacks on Web Application Level (in Asp.net MVc Code or in Handler) You can stop attacks on IIS (Dynamic Ip Restrictions)  You can stop attacks on lower levels (Firewall ..)   EXTRA INFO ABOUT THE LAST ATTACK (7 Hours ago)  When I connected server during the attack IIS Cpu Utilization was %92-%99. And when I try to connect homepage I got this error:  A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The wait operation timed out.) Prove the inequality $\frac{a}{c+a-b}+\frac{b}{a+b-c}+\frac{c}{b+c-a}\ge{3}$ Getting a black screen when installing or Live booting Ubuntu (any version) in my laptop I have an ACER Aspire laptop. Model number is E5-573G-56RG. I bought it only 15 days back. There is no DVD drive in it. I have tried various versions of Ubuntu- 14.04.2, 14.04.3, 15.10, 12.04.5. Tried disabling secure boot, fast startup. I current have Windows 10 Home and Windows 10 PRO (not-activated) installed with GPT partition in UEFI bios. I actually want only the Home edition and Ubuntu 14.04.3 (preferably because of LTS) or 15.10. In case more information is required, kindly ask me..  I tried installing through Wubi, when booting if I choose Ubuntu it automatically restarts and goes into Windows 10 Home! (I didn't have Windows 10 PRO at that time)  NONE OF THE SOLUTIONS I REFERRED HELPED ME.  I have spent 5 days (literally at least 20 hours reading all of them and trying out all kinds of editing in the grub command line, like removing quiet splash, adding and replacing with nomodeset, no splash, acpi_osi=off, acpi_osi=Linux, acpi_backlight=vendor,  acpi_backlight=legacy, noveau.modeset=0, i915.i915_enable_rc6=1 and such things! But I was not able to succeed installing which is why I doubt if there is some more thing to be done or know exactly what has to be done. Multilingual careers CVs tl/dr : Is it/will it be possible to fill out our Careers CV with localized information ?  Is it/will it possible to have different versions of the CV posted at careers (not totally different but just translated)?  Being in non English oriented country, this can be very helpful if I send local companies a link to my Careers CV and they could read it in a language other than English. LinkedIn has an implementation of this feature where you can create your profile in another language and it's up to the user to fill in the information in that language (first and last name, past experiences, etc)  The reason for this is primarily because my CV on careers contains more than just a list of bullet points, it reveals who I really am as a software developer (top tags, top answers, links to github projects, etc). Does “gay” still include the meaning “merry”? Dictionary.com lists , with “merry, lively” as the first entry.  Microsoft  for listing  (a real place) as his hometown:   Xbox Live considered the term gay absolutely inappropriate in any context.     As a non-native English speaker, my question is whether in contemporary English, does gay always mean homosexual? Are British and American English the same in this respect? Random string that matches a regexp I need to run something as sudo without a password, so I used visudo and added this to my sudoers file:  MYUSERNAME ALL = NOPASSWD: /path/to/my/program   Then I tried it out:  $ sudo /path/to/my/program [sudo] password for MYUSERNAME:    Why does it ask for a password? How can I run/use commands as root with a non-root user, without asking for a password? Does anyone know what the Inverse Cumulative Distribution Function of Normal Distribution is? Does it have a closed form expression? I did not find any good answer using Google. I have just had my broadband upgraded to  which means my router has had to change. Previously I was using a Thomson TG585v7 ADSL thingy provided by my ISP. One nice thing about that router was that it would act as a local DNS and allow me to find my other machines on the network by using &lt;hostname&gt;.lan instead of IP addresses.  I've now switched to a Linksys WRT320N ethernet router which connects to my fibre modem, and which I've updated to the latest firmware (1.0.04). I have 2 machines on the network which I regularly want to connect to each other; one is running Windows 7 and the other is running OS X Lion.  The problem I'm having is that I'm unable to connect to my Win7 machine from the OS X machine using the Win7 machine's name. However, I'm able to ping the OS X machine from my Win7 machine using the hostname. Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object.? Ok. So I read books as a kid, this may have been mid to late 1980s. Definitely before 1993. These details I remember, they might be from the same book or from several:   Slower than light space travel with severe time dilation. There were boardings of space ships, but the fighting odds could be very uneven because a foe could be from your future or your past, depending on when you started your space journey, because of relativistic time dilation. No faster than light travel, no time travel either. Just regular physics. To fight better in melee, soldiers would have (more or less willingly, I think they knew beforehand) false memories or notions implanted of the enemy as horrible human beings so soldiers could kill them more easily without remorse. Towards the end of the story, veterans of the war are described as not quite feeling at home after the war. One planet (home?) or country is described as inhabited entirely of clones, Adams and Eves, I think homosexual, or that sexuality could be switched deliberately. I think the veterans find at the end a refuge somewhere more like the home they are used to. The reason so much has changed is of course the time dilation. They spent maybe decades in the war, while on the planets centuries or millenia passed. I think one moral (there may be many more I missed as a child) of the story was the futility of war. If I recall correctly, the war was resolved in a way that made the efforts of the veterans seem for nothing. Possible point location algorithm Finding all homomorphisms between $\mathbb{Z}/m\mathbb{Z}$ and $\mathbb{Z}/n\mathbb{Z}$ I want to find all group homomorphisms $\varphi: \mathbb{Z}/ m \mathbb{Z} \to \mathbb{Z}/n\mathbb{Z}$, with $m$ and $n$ natural numbers.  Clearly $\varphi(0)=0$ since the identity in $\mathbb{Z}/m\mathbb{Z}$ must map to the identity in $\mathbb{Z}/n\mathbb{Z}$, and it follows that $m \varphi(1)=0$, so is $mx \equiv 0 \bmod n$?  This as far as I get. How can I find all the homomorphisms? Is there a single word that is a more vicious connotation of "competition"? We are using Nginx to serve static files on a development platform. As it is a development platform, we'd like to disable caching so that each change is propagated to the server. The configuration of the VHost is quite simple:  server {   server_name  static.server.local;   root /var/www/static;    ## Default location   location / {     access_log        off;     expires           0;     add_header        Cache-Control private;   }  }   When we access an HTML file (http://static.server.local/test.html), we have no issue: the server returns a code 304 Not Modified as long as the file is not changed, and a 200 OK response with the modified file when the file is changed. However, it seems to behave differently with a Javascript or a CSS file. Once the file is changed, we get a 200 OK response as expected, but with the old text. Is there an internal cache mechanism in Nginx that could explain this behaviour? Or some configuration that we should add?    As a side note, here is the header returned by Nginx when the file has been modified (it seems correct):  Accept-Ranges:bytes Cache-Control:max-age=0 private Connection:keep-alive Content-Length:309 Content-Type:text/css Date:Fri, 13 May 2011 14:13:13 GMT Expires:Fri, 13 May 2011 14:13:13 GMT Last-Modified:Fri, 13 May 2011 14:13:05 GMT Server:nginx/0.8.54   Edit After trying different settings with the expires directive and Cache-Controlheader, I made some further investigations. In fact, the server is installed on a VirtualBox guest Ubuntu, and data are read from a shared folder that is on the Mac OSX host. If the file is edited from an IDE (NetBeans) on the host, it seems that changes do not appear whereas if I edit it directly on the guest (using VIM), it is refreshed. The strange thing is it does not behave similarly with HTML files. Quite puzzling.  Edit 2 (ANSWER) Indeed, the origin of the issue was more on the VirtualBox side. Or rather a conflict between VirtualBox and the "sendfile" option of the server. This link  gave me the solution: switch the sendfile flag in the server configuration to off:  sendfile  off;   Hope this could also help other person using VirtualBox for development. :) There are some additional information on the . Shortcut to open Terminal and run some commands C# Compiler should give warning but doesn't? How do I install pdfedit?