Start Day and End Day Of Current Month & Start Day & End Day of Current Year
The first day of the current month in php using date_modify as DateTime object
Why is there one P in "hoping" and two P's in "hopping"? Hoping is the present participle of hope. hopping is the present participle of hop. Hoping has only one p while hopping has two. What difference does it make? Why is hoping not hopping?  Edit: I changed mop to hop because of a comment by Kat.  Kat: Why would you compare hope to mop instead of hope to hop (in which case I think your answer will become obvious)? Cannot get grub menu to timeout (or go away) I am running Ubuntu 12.04.  I cannot for the life of me get the grub menu (with options) to go away.  I would like it to auto-boot into the first option. I've edited /etc/default/grub so that it looks like the following:  GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""   After this, I ran sudo update-grub. Then I realized that I had grub 2, so I ran sudo update-grub2 (both make it look like they create the grub.cfg file successfully.  I restart my computer and it goes back to the grub menu and just sits there until I make a choice. This is not desirable if the power goes out... :-)  I also tried reinstalling grub using sudo grub-install /dev/sda - also unsuccessful Contour method to show that $\int_0^\infty\frac{x-\sin x}{x^3} \, dx=\frac\pi4$ Show that $$\int_{0}^{\infty} \frac{x - \sin(x)}{x^3} \, dx = \frac{\pi}{4}$$   My attempt is as follows: Let $$f(z) = \frac{z - i e^{iz}}{z^3}$$ and consider the contour on $[\epsilon, R]$ followed by a semicircular arc in the counter clockwise direction, then on $[-R, -\epsilon]$, then the semicircular clockwise contour avoiding the origin. We have, then, that  $$0 = \int_{\Gamma} f(z) dz = \int_{[\epsilon, R]} f(t) dt + \int_{C_R}f(Re^{it})Rie^{it}dt + \int_{[-R, -\epsilon]}f(t)dt + \int_{C_{\epsilon}}f(\epsilon e^{-it})\epsilon i e^{-it} dt$$  Then the first and third integrals ( $I_1$ and $I_3$) combine so that  $$I_1 + I_3 = 2\int_{\epsilon}^R \frac{t - \sin{t}}{t^3}\,dt$$  Further,   $$|I_{C_R}| \leq \int_0^\pi \left|\frac{Re^{it} - ie^{-R\sin{t}}e^{iRcos{t}}}{R^2 e^{2it}} \right|dt \rightarrow 0 \text{ as } R\rightarrow \infty$$  (I've omitted the details, it isn't too bad to bound)  However, I'm having trouble computing the limit  $$\lim_{\epsilon \rightarrow 0}\int_{C_{\epsilon}} f(\epsilon e^{-it})\epsilon i e^{-it} dt$$  No matter which way I look at it, it seems like this limit does not exist. Perhaps I'm seeing something wrong or have I chosen a bad $f(z)$? Badges with long names overflow on the profile page I have a samba share on my LAN that requires a username and password to obtain write access (otherwise it defaults to read-only).  I can't figure out where in the Unity desktop I can connect to the share and be prompted for my login credentials.  I can mount the drive, of course, but then I'm browsing as a guest (read-only).  What gives? Proof of property of abelian group I have edited a script that creates some nodes, but the only problem is, it always created a new material. I want it to either add the nodes on the existing material, or a pre-defined material. Here is the script base I am using.    Thanks for the help in advance! :D What is the most efficient way to add rows and columns to a matrix? Stripboard/veroboard/matrix board design software I'm prototyping a simple layout for a small project on matrix board, but figured there must be a better way than drawing it all out on paper. Are there any aimed at matrix board?  I've found the following software for stripboard, but nothing explicitly for matrix board:     Stripboard Magic (seems to be abandonware, but there's page about it )  Stripboard Editor Limited free version, designed to integrate well with     Any more I've missed? Any recommendations? What does it mean that GUIkit is being deprecated? Changing order of features in shapefile I have a shapefile and I want to change the order of the features. Is that possible? I want to sort the features in the shapefile because I'm embedding this shapefile in a mobile app. The app will display a list of features, and although I could do the sorting at load time, I'd prefer to have them sorted. I use Stack Overflow a lot and have noticed a certain trend that I myself got caught up in at one time of using the phrase "I am having a problem" in place of "I have a problem."  I would use this phrase for an event in the future, for example, "I am having a steak dinner tonight," but for a problem that I need solved and am asking for a solution, I'd use "I have a problem..."   What would force us to use this phrase? Is it even valid English for the present tense? Rotating clears selected tags Foo* set = new Foo[100]; // ... delete [] set;   You don't pass the array's boundaries to delete[]. But where is that information stored? Is it standardised? The Density of Clouds When will my phone get the Android 2.3 update (Gingerbread)? Google Play: Error downloading app - insufficient space Can \includegraphics be used to change an image color? I'm including a number of PDF images in my document using \includegraphics.  I'm wondering if there's a way for LaTeX to adjust their color profile, hopefully the same way it can flip images upside down, resize, and crop, as here:   Let me detail a little more my desired outcome, in case there's another way to achieve this: The images are brightly colored---I'd like to reduce color levels, or possibly render them grayscale, and I'd prefer to not have to do external pre-processing, if this is possible.  I'm using XeTeX. How to solve $x^x=100$? $x^x = 100$.   I have no clue on how to solve this. If you guys have, please show me your solution as well. "I left smoking", "I quit smoking", "I gave up smoking", "I stopped smoking" are these same? For various such sentences in many cases I get confused, it seems different for different cases. I want to know if someone left doing something for permanantly then what should be used? Also give some examples for different cases. Suppose... "I left my bag" means "I forgot my bag". but If I want to say the same for permanentaly "I left bringing my bag". Where should we use "stop" and "quit" then?