I am using JUnit as a framework and I am trying to set parallel testing, everywhere I lookedonline I can only find examples for TestNG. I have the Grid up and running and I can test cross platform and cross browser but I need to wait for each test to finish in order for the next to start? I just need a basic example to get me started which I think will be of great help to others like me using JUnit.
I'm using JUnit 4.4 and Maven and I have a large number of long-running integration tests.  When it comes to parallelizing test suites there are a few solutions that allow me to run each test method in a single test-class in parallel. But all of these require that I change the tests in one way or another.  I really think it would be a much cleaner solution to run X different test classes in X threads in parallel. I have hundreds of tests so I don't really care about threading individual test-classes.  Is there any way to do this?
Is a match forfeited if a player refuses to leave after being sent off? Grey out all unused vote buttons on old elections I'm hoping this is a &quot;quick fix&quot;, but it's far from a priority. A small change might help a lot here. I got some egg on my face yesterday when I . A new user thought the same thing and had asked in chat. It turns out that's by design  Look at the candidates you voted for. The '1st', '2nd' and '3rd' choice buttons look different there; here are the buttons on the candidate I voted for as second choice:  Unless I get shown a candidate I did vote for, my screen looks like this  While voted candidates show like this (note 1st and 3rd are greyed out)  I would like to see all the buttons, save ones I used to vote for, shown as greyed out. It would make it visually obvious that one cannot cast a new vote. Can cited works hold grammatical positions in sentences? Though I read this style quite often, I was recently told unambiguously by a reviewer that I was NOT supposed to use citations "as if they are objects in a sentence."  The following sentence is an example of what the reviewer considered unacceptable:       We analyzed the data using the Wilmerding method, guided by [12].   The references section might include the following:      [12] Smith, D., Marshawn, J., &amp; Devenshaw, A. 2011. Techniques and   Procedures for Applying the Wilmerding Method.  Prince Publications,   Inc, New York, NY.   The Wilmerding method1 is not a step-by-step algorithm that can be precisely followed as if by a machine, and thus [12] does not provide a step-by-step algorithmic description but rather guidance for using  the method. [12] is a relatively slim but authoritative textbook about how to use the Wilmerding method.  Within this question, for the purpose of discussion, I have intentionally put [12] in grammatical positions where it's an important element of the sentence and the sentence would make less sense without the reference.  Sometimes that seems to be the most efficient way to communicate the intended message.  Is using a reference as a grammatical sentence element like this OK?   Why might this not be considered acceptable?   Should I be rewording those sentences?  Is it enough of a violation to be worth passing the note on to authors of papers I review?   I considered posting this on  but it seems more specific to academia than general English usage, and the comment came from a content reviewer rather than a copy editor.   is related but it seems to be more about when to put authors names' in vs. outside of the parentheses in an APA-like style.   The numbered citation style (as opposed to following APA, for example) is required by the venue.  1: Fictionalized for the purpose of this discussion What Easter eggs do the chat sites have? According to , the SE chat sites may have individual Easter eggs, depending on the site. If you find them, please post. Because it's so easy to make this stuff up, a screenshot as proof would be nice. (Although Photoshop isn't that hard either...) Today I've suddenly received spam calendar invitation for $19.99 Ray Ban sunglasses (never subscribed, checked, searched or visited any related site, so clearly spam) and it has other visible email accounts within the invitation. I'm wondering if I should be worried whether my accounts been compromised or a simple email from anywhere just plops this in my calendar without review. Questions to be answered:  What should I check/setup in order to make sure my iCloud account is safe? How can I delete this invitation without sending a notification to the sender, so as to prevent them from knowing my email address is live? How can I prevent these notifications in the future?  Here's an image: Does python have the ability to create dynamic keywords?  For example:  qset.filter(min_price__usd__range=(min_price, max_price))   I want to be able to change the usd part based on a selected currency. change caption in tufte class full-page figure I've tried to change the caption in a full-width float with tufte-book, but to no avail. I want the caption in this figure to be like more common LaTeX classes.  Here is a MWE and the result:  \documentclass[a4paper,nohyper]{tufte-book} %abstracton \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} \setmainfont[Numbers={OldStyle}]{Minion Pro} %or any other font \setsansfont{Myriad Pro} % or any other font \setmonofont[Scale=MatchLowercase]{Menlo} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{sidecap} \usepackage[dvipsnames]{xcolor} \usepackage{polyglossia} \setmainlanguage{brazil} \usepackage[bookmarks]{hyperref} %\usepackage[font=sf, labelfont={sf}, margin=1cm]{caption} \newfontfamily{\A}{Al Bayan}  \begin{document}  \begin{figure*} \centering \includegraphics[width=.9\textwidth]{./camp-scene} \caption{Cena de Acampamento. Mir Sayyid Ali, séc. XVII. 28,4 x 20 cm. Harvard University Art Museums, 1958.75. Os tecidos preenchiam a vida tanto dos nômades quanto dos habitantes das cidades, cobrindo o chão e definindo o espaço. O papel onipresente dos tecidos é visto numa pintura de um acampamento nômade, atribuído ao pintor persa do século XVI Mir Sayyid Ali.} \label{fig:camp-scene} \end{figure*}  \end{document} Windows does not mount USB NTFS superfloppy I have a Transcend Storejet external USB hard disk. This is not an SSD, but a mechanical disk with rotating plates. I have formatted the whole disk, without partitioning, as NTFS. I have used mkntfs tool under Linux.  When plugged into a Linux machine, the system sees a drive with two partitions (/dev/sdc /dev/sdc1 /dev/sdc2). However, as I know it is a partitionless disk, I can mount the whole device (mount -t ntfs /dev/sdc /mnt) and it works without any problems.  When plugged into a MS Windows XP machine, the systems sees a disk with two unformatted partitions, and it does not assign a drive letter to either the whole disk, nor to any of the partitions.  Would anyone know how to get MS Windows to mount my disk as a NTFS superfloppy?  I have already tried removing old USB mounting points and residual devices using 'DriveCleanup'. It did not help.  By the way, I also have an external Kingston USB SSD, also formatted as NTFS superfloppy, without partitioning. However, this one is recognized and mounted normally by MS Windows. Most textbooks introduce differentiable manifolds via . This has the advantage of being concrete, but the disadvantage that the local coordinates are usually completely irrelevant- the choice of atlas and chart is arbitrary, and rarely if ever seems to play any role in differential geometry/topology.  There is a much better definition of differentiable manifolds, which I don't know a good textbook reference for, via . This definition does not involve any strange arbitrary choices, and is coordinate free. Paragraph 3 in Wikipedia (which is the actual definition) states:   A differentiable manifold (of class $C_k$) consists of a pair $(M, \mathcal{O}_M)$ where $M$ is a topological space, and $\mathcal{O}_M$ is a sheaf of local $R$-algebras defined on $M$, such that the locally ringed space $(M,\mathcal{O}_M)$ is locally isomorphic to $(\mathbb{R}^n, \mathcal{O})$.   This confuses me, because I don't see why such a sheaf should be acyclic, or where conditions like "paracompact" or "complete metric space" or "second countable Hausdorff" are implicit. So either:   The wikipedia entry has a mistake (I would want to sanity-check this before editing the entry, because this is such a fundamental definition which thousands must have read). Somewhere in that definition, the condition that $M$ be paracompact is implicit.   Question: Should the definition above indeed require that $M$ be second-countable Hausdorff or paracompact or whatever? Or is it somehow implicit somewhere, and if so, where?    Also, is this definition given carefully in any textbook?  Update: I have editted the Wikipedia article to require that $M$ be second-countable Hausdorff. But I'm still wondering if there is a textbook covering this stuff, and whether requiring the sheaf to be acyclic might have worked instead as an alternative. I need help identyfying this movie I once saw late night on TNT, late 90s or early 2000s.  I don't have very clear recollection about it. The movie was very strange. It all took place in a single room of a spaceship or an escape pod that had lost power. A woman and a man, or several men, were stuck in a ship or a spacepod that was somehow damaged or didn't have power.   The movie was entirely made of the dialogs between the woman and the man (or men). They would talk about what was happening outside, how to contact help, about their lives. During their conversation details about the world around them emerge. In this movie people have colonized the solar system but not moved outside it, and there is some sort of a war.  Other things I remember are that it was dark in that room. I think they used only a lightbulb or even direct starlight and sunlight (if they were far away from the sun), because there was no power. Also it was getting colder, becaus the ship's heating system was not functioning, and so it was losing its heat. The people would constantly complain about how cold it's getting. I think that the woman was the captain of the ship. She would sometimes go to the control cabin and try to do something to help their situation, either restore power or contact someone so they can be rescued.  What impressed me about it was how they managed to make it realistic. Because the actors would talk and act like it was all real, it made it somehow feel very realistic to me as well.  That's about it as far as I remember. Hope someone has watched this movie and can tell me what it is.  Update  I want to add a few more details about the movie. While I watched it in the late 90s/early 2000s the movie looked much older. It looked like a vintage B-Movie made in the style of the 70s or 80s. In particular the decor looked more like Alien 1 or Cosmos 1999.   I just watched the firefly episode and it can't be it. It has too much action, and the atmosphere is not dark enough. I wrote an email to Prof. X to ask about a PhD student vacancy and talk about a topic in one of his papers. He refused to accept me because of his retirement and replied with a warming email. In that, he cc-ed two others that he thought might be interested in me, Prof. Y and Prof. Z. Prof. Y refused because his area is somewhat distinct to mine; Prof. Z hasn't answered yet. I haven't responded to anyone yet. I also want to ask Prof. X's opinion about Prof. T's work, who is actually the one that I want to follow.  How should I respond to this? My feeling is that if Prof. X cc-ed others, this means that he wants to create a group discussion. As a group, everyone should have the right to hear each other voices. Should I reply to the group with a generic "thank you" email?  But if I do that, then I have to send another private emails to Prof. X and Prof. Z. I just worry that this will make me looks sneaky because I don't have the courage to discuss this in public.   What should I do? Is there a video that explains how Stack Overflow works and can be used? Is there a video that explains how Stack Overflow works and can be used? I.e. a short tutorial to get new users started. If there isn't, then the people behind this site or others who know how it works should make one, because it's overwhelmingly different from other sites and thus difficult for beginners. How much did the Trade Federation know about their 'lord' at time of blockade? How can I display additional boot and shutdown information on the Windows 7 welcome screen? There is a small tweak, I believe it is a registry key, that allows to display additional information on the Welcome and Shutting down screens of Windows 7 (and most likely Vista, too). I have activated this tweak on one of my systems; unfortunately I forgot how I did it, and I can't seem to find the website that originally gave me that information.  Usually, the Windows 7 welcome screen will just display "Welcome" when logging in. With the tweak activated, my Welcome screen gives status information such as "Loading user settings" or "Preparing desktop". When shutting down, the default screen simply says "Shutting down". With the tweak activated, it gives additional status information such as "Stopping Windows services". This appears the same way that Windows gives information when updates are installed or configured during the startup or shutdown procedure, and I find them quite helpful in getting a feel for what task takes how long during that process.  The only setting I was able to find is the Boot log checkbox on the Boot tab of the msconfig application. However, this results in Windows displaying console logs of drivers it is loading, etc., instead of the animated Windows title. This is NOT the setting I am looking for. The "additional boot information" setting that I have activated on this system still displays the regular animated Windows logo, and only replaces the strings displayed on the blue Welcome and Shutdown screens.  Could someone direct me to the registry key (or whatever setting) that is used to get this behaviour?  Edit: Here are a few pictures of the enhanced Welcome and Shutdown screens taken with my mobile phone—they're in German though.   Login screen "Waiting for User Profile Service"   Login screen "Preparing desktop"   Logout screen "Stopping Windows services": Let $F$ be a field and let $a \neq 0$ be a zero of the polynomial $a_0 + a_1x + . . . +a_nx^n$ in $F[x]$.  I want to show that $\frac{1}{a}$ is a zero of the polynomial $a_n + a_{n-1}x + . . . + a_0x^n$  How can I do this? According to the , when a Shinigami dies, their remaining lifespan is given to the human they saved.     Shinigami who die are reduced to dust, and their remaining lifespan is given to the human they saved.   Since Rem killed L and Watari, she gained their remaining lifespans. Additionally she probably still had some lifespan left. On top of that Misa was already given a lot of lifespan from Gelus (from which she lost 75% again). So does this mean all of this lifespan is transferred to Misa Amane?!  Yet according to her , she dies in 2011 at the age of 26, only seven years after Rem died.  Does this mean that humans are also capable of reducing their own lifespans? Or would the author have made a mistake by letting Misa die as early as she has? I know she lost 75% of her remaining lifespan through the two eye deals, but you'd think that the cumulation of L, Watari and Rem's remaining lifespans would be greater than just one year, wouldn't you? I know how to successfully duplicate an object by using  bpy.ops.object.add_named(name = 'TemplateObjectName')   If the template object named 'TemplateObjectName' has animations, particle systems and modifiers attached to it, the previous call will create a duplicate object that also has those components. However, if I duplicate an object using   template_object = bpy.data.objects['TemplateObjectName'] new_object = bpy.data.objects.new('NewObjectName', template_object.data) collection.objects.link(new_object)   how do I attach the template object's animation, modifiers, particle systems...? Locate the ".Rprofile" file generating default options How am I supposed to use nvidia-prime? I have an acer laptop with these GPUs: - GPU0: Intel HD Graphics 4000 (M) (obviously integrated) - GPU1: NVIDIA GeForce GT 710M  I uninstalled all nvidia-drivers because I was experiencing a lot of bugs and I read here and there that they are not supposed to work with Optimus without either bumblebee or nvidia-prime.  As far as I understand, nvidia-prime would allow me to have the NVidia GPU always on. And to choose between that or always off (i.e. always use Intel)  So now I installed nvidia-prime with  sudo apt-get install nvidia-prime   What am I supposed to do now?  I thought nvidia-prime provided a graphical interface which would allow me to choose which graphic card to use, and even to install the needed nvidia drivers.  By typing "nvidia" in the dash, nothing shows up. From a terminal, the only command available starting with "nvidia" is "nvidia-detect" which just prints "none".  So, I installed nvidia-prime, how do I use it? How does quantization solve the ultraviolet catastrophe?