I see there are a number of options from C# to Ruby to Python to Javascript.  For a newbie to programming which language would you recommend I choose for this situation (webdriver and newbie programmer) ?
I have start learning Selenium WebDriver, but i am confused between Java and Python. Which language should i choose? I do have basic ideas of Core Java but haven't wrote a single piece of code with python.  So please suggest me which is the better language for Selenium WebDriver?
For ridiculously small hard drives (8GB), what Ubuntu Based (although not necessarily official) distribution offers the smallest installed size?  Let me clarify: I still want a certain amount of personal file space, preferably a few gig. I also don't have a problem with performance, while it is mediocre, a 2.6GHz single-core and 1GB of ram suffice to run ubuntu fine, but i find that it  uses 6-7GB of space. I am aiming for closer to 4GB. I need to group 400 points in 10 groups with 40 points each. The goal is to get the 40 points geographicly together like this:        Any idea how to do this with QGIS? Continuous v. per-chapter/section numbering of figures, tables, and other document elements How can I enable Hardmode? What items do I need to make my world Hard Mode? I need to calculate the following determinant in order to prove the following equality:  $$\det\begin{pmatrix} a &amp; b &amp; c &amp; d \\ -b &amp; a &amp; -d &amp; c \\ -c &amp; d &amp; a &amp; -b \\ -d &amp; -c &amp; b &amp; a \end{pmatrix} = (a^2+b^2+c^2+d^2)^2.$$  I tried using Gauss-algorithm to get an easier matrix, but I'm not sure if I did it correctly.  Calling the $4$ lines $I$, $II$, $III$ and $IV$, I did:  (1) $II \cdot a$  (2) $III \cdot a$  (3) $IV \cdot a$  After this I did:  (4) $II' + I \cdot b$  (5) $III' + I \cdot c$  (6) $IV' + I \cdot d$  So finally I got the following matrix:  $$\begin{pmatrix} a &amp; b &amp; c &amp; d \\ 0 &amp; a^2+b^2 &amp; bc-ad &amp; ac+bd \\ 0 &amp; ad+bc &amp; a^2+c^2 &amp; cd-ab \\ 0 &amp; bd-ac &amp; ab-cd &amp; a^2+d^2 \end{pmatrix}.$$  I thought this would make the determinant a bit easier, unfortunately I must have done something wrong. Is multiplication with single lines allowed as I have done it?  Thank you very much. Does it matter what I choose for serialVersionUID when extending Serializable classes in Java? In-universe, a lightsaber is basically a controlled, fixed-length plasma stream that can be used as a sword. As such, the blade wouldn't have any mass (or infinitesimal mass if you want to get technical about E=mc2).  Anyone familiar with fencing or swordplay knows that the weight of the handle and blade, and thus the overall balance of the weapon, is critically important while fighting. A sword that is too blade-heavy is unwieldy; it is difficult to start, stop, and change the path of the blade as it's swung, which is vital to outmaneuvering your opponent in a duel. Conversely, a sword with too light a blade (equivalently, too heavy a hilt) is too easy to swing around. it's hard to "feel" where the blade is, and thus to make the minute changes needed to block a blow or land one. It can also be just as exhausting, in a different way, to wield such a sword; because most of the mass is behind your hand, it takes muscle power to point the blade forward instead of upward, while a balanced weapon would point directly forward from the user's hands. You also get no mechanical advantage while swinging it.  Obviously, out-of-universe the props were full "swords" that were then rotoscoped to paint the beam blade over the white wooden (later plastic) dowel that protruded from the saber. This gives the actual prop used by the actors a more realistic weight and balance, which can be seen in the duels (Darth Maul has to heave a bit to get that double-saber staff moving, and you can see the effort behind a full baseball swing of the sword by Luke or Vader in the original trilogy).  Was there any attempt in-universe to explain the weight and balance that an active lightsaber seemed to possess? Invalid group name: Group names must begin with a word character I received the following exception when I was using the Regex class with the regular expression: (?'named a'asdf)  System.ArgumentException: parsing \"(?'named a'asdf)\" - Invalid group name: Group names must begin with a word character.   What is the problem with my regular expression? LOAD DATA INFILE easily convert YYYYMMDD to YYYY-MM-DD? Retrieving Wikipedia's coordinate information? I'd like to add icons to my map showing locations which have Wikipedia entries.  The  is a great resource for determining Wiki entries near an XY location, but it has limitations (20km radius, 50 points only) which make it unsuitable for my purposes.  Ideally I need the map to show ALL locations with Wiki entries, so I guess I'll need to download the Wikipedia dump file and parse it for geocoded entries.  Where is this information found in the Wikipedia dump files?  The Wiki database may be downloaded from  but I can't see which file(s) I need to search for the coordinates.  For example, the  includes:  Coordinates:    33°51′35.9″S 151°12′40″E   Where is this found in the dump files? Another way to phrase the question is "how can I determine which Wiki entries are geo-coded?" How to create script with auto-complete? How to analyse 'Element not Found' exceptions when working with Selenium How do I test a private function or a class that has private methods, fields or inner classes? How do I unit test (using xUnit) a class that has internal private methods, fields or nested classes? Or a function that is made private by having  (static in C/C++) or is in a private () namespace?  It seems bad to change the access modifier for a method or function just to be able to run a test. Buffering GeoJSON file using Python? Does there exist a function $f: \mathbb{R} \to \mathbb{R}$ having the following properties?   $f(x) = 0$ for all $x \le 0$. $f(x) = 1$ for all $x \ge 1$. For $0 &lt; x &lt; 1$, $f$ is strictly increasing. $f$ is everywhere $C^\infty$. The sequence of $L^\infty$ norms $\langle \left\lVert f \right\rVert_\infty, \left\lVert f' \right\rVert_\infty, \left\lVert f'' \right\rVert_\infty, \dots \rangle$ is bounded.   If we impose only the first four conditions, there is : for $0 &lt; x &lt; 1$, define $f(x)$ by $$ f(x) = \frac{e^{-1/x}}{e^{-1/x} + e^{-1/(1-x)}} = \frac{1}{1 + e^{1/x - 1/(1-x)}} $$ However, the derivatives of this function appear to grow quite rapidly. (I'm not sure how to verify this, but it seems at least exponential to me.)  If such a function does not exist, what is the smallest order of asymptotic growth that the sequence $\langle \left\lVert f \right\rVert_\infty, \left\lVert f' \right\rVert_\infty, \left\lVert f'' \right\rVert_\infty, \dots \rangle$ can have? Show $100+t$ is reducible in $\mathbb{Z}[[t]]$ $\mathbb{Z}[[t]]$ is the ring of formal power series with integer coefficients, and the problem asks to show that $100+t$ is reducible. This means I need to find two power series, $\sum_{i=0}^\infty a_i t^i$ and $\sum_{j=0}^\infty b_j t^j$ with $a_i,b_j\in\mathbb{Z}$, that when multiplied give $100+t$. Since the integers are an integral domain, I know that neither of these power series may be finite, but I'm having a really hard time figuring out how to come up with two series that will telescope properly. Any suggestions? Neutron decay and electron anti neutrino $n\to p + e + \bar{\nu}_e$ Why do we need neutrino to explain neutron ? Is there any evidence regarding existence neutrinos in the context of $n\to p + e + \bar{\nu}_e$? I can't play online. I can only play solo. I have bought Minecraft so it should work fine, but, when I try to connect to a server, it says:  Internal client error: java.net.UnknownHostException: session.minecraft.net   I have tried over 20 different servers and it says the same thing for every single one.   Note: These are not Hamachi servers. I'm attempting a direct connection. WPF TextBox and Scroll behavior I have a problem. I need to host grid with controls in ScrollViewer to prevent textbox from being either truncated or collapsed to zero-with at the UI. Also I want the with of textbox to be expanded when user change windows width. I'm setting Window's content to following code  &lt;DockPanel&gt;     &lt;TreeView DockPanel.Dock="Left" Width="150"/&gt;     &lt;ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"&gt;         &lt;Grid&gt;             &lt;Grid.ColumnDefinitions&gt;                 &lt;ColumnDefinition Width="Auto"/&gt;                 &lt;ColumnDefinition /&gt;             &lt;/Grid.ColumnDefinitions&gt;             &lt;Grid.RowDefinitions&gt;                 &lt;RowDefinition Height="Auto"/&gt;             &lt;/Grid.RowDefinitions&gt;             &lt;TextBlock Text="Name"                         Margin="5"                         VerticalAlignment="Center"/&gt;             &lt;TextBox Grid.Column="1"                      Text="Some Name"                      Margin="5"                      VerticalAlignment="Center"                      MinWidth="200"/&gt;         &lt;/Grid&gt;     &lt;/ScrollViewer&gt; &lt;/DockPanel&gt;   All work fine, but when user types very long text in TextBox it is being expanded and horizontal scroll appears. Is there any easy way to limit TextBox maximum width and allow it to be expanded only when user changes window size. Example where $f\circ g$ is bijective, but neither $f$ nor $g$ is bijective Can anyone come up with an explicit example of two functions $f$ and $g$ such that: $f\circ g$ is bijective, but neither $f$ nor $g$ is bijective?  I tried the following: $$f:\mathbb{R}\rightarrow \mathbb{R^{+}} $$ $$f(x)=x^{2}$$  and  $$g:\mathbb{R^{+}}\rightarrow \mathbb{R}$$ $$g(x)=\sqrt{x}$$  $f$ is not injective, and $g$ is not surjective, but $f\circ g$ is bijective  Any other examples?