Is a long stay Hungarian visa valid in all of Schengen?
Can I visit Schengen countries on a Type-D Schengen Visa?
Unable to install Ubuntu on Lenovo Y500 Rasterio + QGIS - rasterio.drivers() -> TypeError: 'module' object is not callable I have been trying to get rasterio working with my QGIS setup so that I can take advantage of the fast raster manipulations.  After a day of installing / uninstalling and then piece by piece searching and getting components installed one by one where needed (From upgrading GDAL, numpy, and a whole slew of other modules which were fighting each other) I manged to get to the point where I could import rasterio without any errors.  However now when I run, the first call in the example causes a Traceback:  with rasterio.drivers(CPL_DEBUG=True):     creates error =>  TypeError: 'module' object is not callable   I have noticed that other rasterio objects seem fine, but all functions that are in .pyc files have this same issue.  Any help?  - I will continue in the morning, but I was hoping some elves would appear and help solve this one tonight! :-) Uninstall kubuntu-desktop I installed kubuntu-desktop using sudo apt-get install kubuntu-desktop but I no longer want to use KDE.  How do I remove all the packages that were installed by this command ?  Thank you How to Export this animation as a gif file for powerpoint presentation Emacs text-scale-adjust causes line numbers column to incrementally shrink and disappear I've set up emacs to display line numbers (global-linum-mode 1), and it works until I start enlarging the text via text-scale-adjust    The line numbers column starts to shrink, and disappears entirely after a few increments. When it has fully disappeared, further increments have no more effect on the left edge.    Is this a know issue? Is there a workaround?    Using GNU Emacs 23.1.1 in Ubuntu 10.04. ArrayList contains case sensitivity Prove that for any prime p, there is a complete set of mod p residues {q1, . . . , qp}, where each qi is prime. I used the theorem {a, a+n, a+ 2n, . . .} contains infinitely many primes if gcd(a, n) = 1 but haven't got much progress. Any comment will be helpful! In history we are taught that the Catholic Church was wrong, because the Sun does not move around the Earth, instead the Earth moves around the Sun.  But then in physics we learn that movement is relative, and it depends on the reference point that we choose.  Wouldn't the Sun (and the whole universe) move around the Earth if I place my reference point on Earth?  Was movement considered absolute in physics back then? I've got a situation where I have a 240V 30A dryer line, and I want to power something else from the same circuit, but NEVER at the same time as the dryer. I'm looking for a switch to use, like a DPDT ON-ON break-before-make switch. There are tons of DPDT switches I've found, and most seem to be ON-OFF. Hardly any show their wiring diagrams, so if they don't give more details, I don't know if they'll work. Note: the second circuit will not use more than 15A, maybe just 12A.  I'm hoping someone can recommend specific switches that will do what I want. Manufacturer and exact part# is what I'm looking for.   Personally, I don't care if it's a knife switch, something that looks like a standard light switch, two buttons, has relays, I don't care. The breaker box is full, it's a long and difficult wire run, and I do not need a separate circuit because I'll NEVER need to run both devices at once.  I could resort to just using one plug and unplugging one then plugging the other one in, but I don't see the point of constantly exposing live wires (the plugs) where something could inadvertently fall on them or water could be sprayed, instead of keeping things all sealed in the wall with a safe, simple switch between two plugs. Is there anything to do during an 8 hour after-midnight layover in Dubai? We are planning a trip with an 8 hour layover in Dubai spanning from 1am-9am. I am thinking about going to see the city, but is it worth it to do it given the very late night hours? Will at least the outside attractions accessible?   Will Burj Khalifa be visible in the middle of the night?  Will at least some of the malls be open?  Will there be anything to do at night?  I have seen other questions about layovers in Dubai (), but none of them is asking about a night-only stay. Android app intermittently shows blank body in questions and answers (multiple sites) Note: the bug has returned in version 1.0.89 in a somewhat different form. See:      This possible bug report is similar to the bug in  that was deemed not-reproducible.  I can reproduce something similar with more recent app &amp; Android versions.   App Version: 1.0.34 (original report; is still present in 1.0.38, 1.0.42, 1.0.58) Android Version: 4.4 (up to 4.4.4) Device: Motorola Droid Maxx   In the examples below, you can see some blank answer bodies.  These are on different sites, and represent answers with both edited and non-edited text. In the first example, I clicked on the top answer tab to get to the answers, and in the second example I clicked on the bottom "View n Answers" button. (Trying to be a good little tester!)  Because I've seen this blank-answer-body intermittently over the past couple weeks (before the May 7 update), my process to test was just to go to the first site I frequent and then systematically click through the question list until I found a question with answers in which at least one answer was blank.  For all three sites shown below, it was within the first 5 or 7 questions sorted by newest.  Please note that I have seen many questions with several answers, none of which were blank. It is truly intermittent.  Example blank answer body at Workplace.SE:    Example blank answer body at Programmers.SE:    Example blank answer body at UX.SE:    And now here's the kicker, which makes me think this is some sort of content-loading latency issue rather than a rendering issue:  I returned to the left-side menu, selected the User Experience site, picked the same question as above, and then clicked the top answer tab to view answers again, and lo and behold the text is there:    I then went back to the other questions with blank answers, shown above, and the answer bodies were no longer blank.  I am happy to go through more tests/paths and do screenshots if it is helpful.  The same bug also appears in question bodies. I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this passwd_bkp as passwd and it did not work. No commands were being executed... I was in a terminal window.   I restarted my system and now I cannot log in. GRUB gives two options: Linux and recovery mode.   I tried to open a sessions as root but it says the filesystem is corrupted. I cannot access my files.  Did I lose all my files? Sharing Test code in Maven How can you depend on test code from another module in Maven?    Example, I have 2 modules:   Base Main   I would like a test case in Main to extend a base test class in Base.  Is this possible?  Update: Found an , which involves creating a test jar. Why can't this be done with Master Theorem Apparently recurrences like this cannot be solved with the Master Theorem:  $T(n) = 2T\left(\frac{n}{2}\right) + \frac{n}{\log(n)}$  Because $n^{\log_b(a)} = n^1$ is not a polynomial multiple of $f(n) = \frac{n}{\log(n)}$ since $\frac{n}{\frac{n}{\log(n)}} = \log(n)$, which is less than $n^\epsilon$ for any positive $\epsilon$.  But when is this really even an issue?   For example why wouldn't the time complexity be $n \log n$ using case 2 of the Master Theorem? Unrolling the recursion:  $$T(n) = n\sum_{k=1}^{\log_2(n)} \frac{1}{\log_2(2^k)}$$  $$T(n) = n\sum_{k=1}^{\log_2(n)} \frac{1}{k}$$  Doesn't this suggest $\Theta(n \log n)$ even though it supposedly cannot be done with Master Theorem? How do I make a Villager Trade a Spawn Egg I downloaded a file from the internet (I can link to it here, but in the interests of not annoying other users, I won't post the link), and I can't delete the file with the message:   You need permission to perform this action  You require permission from the computer's administrator to make changes to this file   Trouble is, I am the administrator and UAC is completely off.  If I go into the Properties/Security tab, I get the message   You do not have permission to view or edit this object's permission settings   Clicking "Advanced"/Owner, it says:   Current owner: Unable to display current owner.   If i try to change the owner, I get the same message:   Unable to set new owner on file  Access is denied. How to detect online/offline event cross-browser? Calculate the radius of a circle given the chord length and height of a segment I have a (circular) segment of known height and known chord length. Is is possible to determine the radius of the circle?  Any help much appreciated. The arrival of Minecraft Beta 1.5 brought weather conditions. However, it can at times be inconvenient when you're trying to screenshot something and show it off (as it reduces lighting and obstructs your view slightly). Is there anyway to turn weather off?  Alternatively, is there a way to speed up the duration of weather or "skip" it? How to Disable new terms (free tagging) with Taxonomies?