Drush hangs while executing any command
Drush hangs when trying to bootstrap Drupal
I've always been one to simply use:  List&lt;String&gt; names = new ArrayList&lt;&gt;();   I use the interface as the type name for portability, so that when I ask questions such as these I can rework my code.    When should  be used over  and vice-versa? Why doesn't the "zig-zag" comb deformation retract onto a point, even though it's contractible? I am starting to read Hatcher's book on Algebraic Topology, and I am a little stuck with exercise 6(c) in Chapter $0$. Unfortunately a picture is involved so it doesn't quite make sense for me to repeat it here - but I'll do it anyways (maybe it helps)     Let $Z$ be the zigzag subspace of $Y$ homeomorphic to $\mathbb{R}$ indicated by the heavier line in the picture:       Show there is a deformation retraction in the weak sense of $Y$ onto $Z$, but no true deformation retraction."   Now the definition for deformation retraction and weak deformation retraction as as follows:  We say that $f: X \to X$ is a deformation retraction of a space $X$ onto a subspace $A \subset X$ if there exists a family of maps $f_t : X \to X$ with $t \in [0,1]$ such that $f_0 = \mathbb{1}$ (the identity) and $f_1 (X) = A$ and also $f_t$ restricts to the identity on $A$ for each $t$.   A weak deformation retraction is almost the same, only that we now relax the conditions $f_1(X) = A$ to $f_1 \subset A$ and, for each $t \in [0,1]$ we require that $f_t(A) \subset A$.  Hence, as far as I understand the question and the concepts involved, I need to show that basically no map can be constructed such that the bold zigzag - line stays put while the thin lines retract to the bold line over a finite time interval $0 \leq t \leq 1$. However, I should be able to show that I can pull the thin lines continously onto the thick line, provided I am allowed to move points on the zigzag line .. is that correct ?  Now, the problem is I can't see why I shouldn't be able to do the former, given that I could find a weak deformation retract. Any help would be great! How did the DeLorean travel to 1885? At the end of Back to the Future II, a lightning bolt hits the DeLorean which sends it back to 1885.  At the time though, the DeLorean wasn't moving; it was relatively stationary hovering in the storm.  Yet, it's emphasised repeatedly that the DeLorean must reach 88 miles per hour (which becomes a key plot point in Back to the Future III).  So, considering the DeLorean wasn't traveling at 88mph when the lightning struck the DeLorean sending it to 1885, what is the in-universe explanation of how it travelled there?  Some other factors to bear in mind:   If a lightning bolt was sufficient to send the DeLorean time traveling, then the 88mph business would be irrelevant Note that there are the firey tracks left after the DeLorean time travels in the '66' shape.  The thing to note about this though is that we never see these before the DeLorean disappears.  These tracks are always appearing after the DeLorean has traveled away.  This would seem to indicate that the DeLorean did move, but following the activation of the time circuits. How do I go about evaluating the following by contour integration?  $$ \int^1_0 \frac{dx}{(x^{2} - x^{3})^{1/3}} $$  The question does not fit in the standard form of : $\int^{2\pi}_0$ or $\int^\infty_{-\infty}$  etc.  I tried substituting $ x = cos(\theta) $ but got stuck. How to represent a list as a cycle Combinatorics - Painting the Unit Squares of a 3x3 Square Charge controller for Li-ion or Li-Polymer battery I am trying to work out the good charger for Mobile phones, which can serve as good performer for various smart phones out there in market these days &amp; mostly using Li-ion battery. Charging has 4 stages -- "the initial trickle-charging, then constant current charging, then constant voltage charging &amp; finaly Top-up charge" -- all this is controlled &amp; monitored by a control circuit/IC of charger. So, my concern is if such circuit/module/IC is already there in Mobile phones &amp; taking care of all protections to battery/phone including overheating during charge OR The charger designer have to incorporate these circuits in Charger itself? If former case, that means we just need to make a charging source giving ample current &amp; 4.75V-5.25V voltage, like a high-powered USB output port would gives. My feeling is such stages-wise charging &amp; control/monitor circuitry is already within the phone set, i just want to reconfirm. What is the difference between image size and image quality? I have a Casio EX-S12. It has a setting for image size, but also a separate setting for what it calls "image quality". There are three image quality values: "Fine", "Normal", and "Economy".  The Casio manual is not clear on what image "quality" actually means -- specifically how it's different from image size. All they say is that the "Fine" setting "helps to bring out details when shooting a finely detailed image of nature that includes dense tree branches or leaves, or an image of a complex pattern." I'm confused because isn't this what image size is all about (more pixels = more detail)?  In terms of memory usage, the manual also says that for a 5 megapixel picture, a "Fine" image takes up 2.99 MB, a "Normal" image takes up 1.62 MB, and an "Economy" image takes up 1.12 MB, so this "image quality" setting of theirs is certainly having a significant impact on memory usage.  My question is, what exactly is "image quality", if it's not image size? What is the "thing" that is taking up additional memory?  Thank you. Problem  sudo notify-send Test "Hello World"   Displays a notification as expected.  notify-send Test "Hello World"   Does not display a notification.  Further information  Ubuntu version 16.04.  The notifications appear to use notify-osd instead of notification-daemon. Running notify-send appears to launch a notify-osd process under the user that ran notify-send. I'm not sure what dbus is.   No error messages  There are no errors in the syslog. When I run the following code no error messages occur.   #include &lt;libnotify/notify.h&gt; #include &lt;stdio.h&gt; int main() {     gboolean x = notify_init ("Hello world!");     printf( "notify_init: %d\n", x );     NotifyNotification * Hello = notify_notification_new ("Hello world", "This is an example notification.", "dialog-information");     GError *err = NULL;     x = notify_notification_show (Hello, &amp;err);     printf( "notify_notification_show: %d\n", x );     if(err != NULL) {         printf("Error detected!\n");         printf("Error message:%s\n", err-&gt;message);     }     else {         printf("No error detected.\n");     }     g_object_unref(G_OBJECT(Hello));     notify_uninit();     return 0; }   I do not know what I'm doing. Thanks for the help.  Python Notify  In the past, I've used a python program that has working notifications. I tested a hello world notification and it works without sudo!   #!/usr/bin/env python # -*- coding: utf-8 -*- import gi gi.require_version('Notify', '0.7') from gi.repository import Notify  Notify.init("test") n = Notify.Notification.new('test', 'test2') n.set_urgency(Notify.Urgency.CRITICAL)     n.show()   Code from   I am not sure why this works. The python Notify is just wrapping the library used in the C example. I'd prefer not to use python but will if I must.  Edit  The problem occurred again. Resolved by adding urgency critical. Are There Any Mechanics for Removing Possession? So I'm thinking of a few adventure hooks for my players, and I thought about the possibility of them removing a demon that has possessed a noble. Are there currently any mechanics or rules surrounding possession and the removal of entities?  If not, does anyone have any play-tested homebrew rules? subideals of an ideal If $R$ is a ring, J is an ideal in $R$, and $I$ is an ideal of $J$ (with $J$ considered as a ring), does it follow that $I$ is an ideal of $R$?  That is, is $I$ necessarily closed under multiplication by elements of $R$?  Surely $I$ is closed under multiplication by elements of $J$ (since $I$ is an ideal of $J$).  The "obvious" approach to proof fails so quickly that it must be false, that "an ideal of an ideal is not necessarily an ideal of the big ring".  Please provide a counterexample.  (Or a proof?) In 10.04, I had a lot of keyboard shortcuts defined using Super/Mod4 and one single other key,   Super+O ran Opera Super+W opened Nautilus pointing to my Work folder, etc.   In 11.04, these do not seem to work -- only Super+R works to run the terminal, and Super+Shift+W successfully runs Nautilus.  Is there some way I can get these to function again?  Adding them in Keyboard Shortcuts does not work, and neither does adding commands in CompizConfig Settings Manager. I have got a NFC key to enter in my room and i want to make a copy of this key in case of loss. I read the nfc tag key with my nexus 5 with Broadcom BCM20793M NFC controller. The phone reads the tag and retrivies all the infos but when i try to copy the tag it gives an "Error reading the tag" message. The tag is a  NXP MIFARE Classic. I read that it is not compatible with the newest chips so i wanna buy an Arduino NFC reader to read and copy the tag.  Might it works?    Below all the infos retrieved from the nfc key: How do I enable comments for user profiles? With users being entities in D7 I assumed the user type would would have built in "comment" option. That doesn't seem to be the case. I just want to allow users to leave comments on the user profile page. Is there a simple way to doing that? Karn, the Great Creator - what defines a 'card from outside the game' in sealed? In the upcoming set 'War of the Spark' there is the Planeswalker . His -2 ability reads as:      -2: You may choose an artifact card you own from outside the game or in exile, reveal that card and add it to your hand    Now my question is, in a sealed tournament, like the Prerelease, is a player allowed to also choose cards from outside his sealed cardpool, or only out of the cards therein. Does anyone know any rulings on stuff like that? Is it possible to terminate a running thread without setting/checking any flags/semaphores/etc.? I get a message:     Sorry, you are only allowed to ask 50 questions in a 30 day period   Why is there a question limit? 50/month is just not enough :) If $f: \Bbb{R}\rightarrow\Bbb{R}$ is continuous at $0$ and $f(x)=f(2x)$ for each $x\in\Bbb{R}$ then $f$ is constant. How do I prove that if $f: \Bbb{R}\rightarrow\Bbb{R}$  is continuous at $0$ and $$f(x)=f(2x)$$ for each $x\in\Bbb{R}$, then $f$ is constant? Best way to run scheduled tasks Today we have built a console application for running the scheduled tasks for our ASP.NET website. But I think this approach is a bit error prone and difficult to maintain. How do you execute your scheduled task (in an windows/IIS/ASP.NET environment)  Update:   Examples of tasks:   Sending email from an email-queue in the database Removing outdated objects from the database Retrieving stats from Google AdWords and fill a table in the database. The actual question was to find the area bounded by the curve $y=\int_{-1}^{1}(1-x^2)^ndx$ and coordinate axes. But I haven't came across these type of problems with power $n$.