the ubuntu 16.04 software center doesn't work
gnome-software on Ubuntu 16.04 doesn't work
wrappers and JavaScript pop-up? Use Case:  What i want is a list of records, and allow this user to choose 2 of those records, then click a button to go to a new VF page, if the user selects more than 2, i want him to get a notification of some kind saying you need to select 2 records, I do not want the page refeshed though.  Strategy:  I'm creating a wrapper class for the records like this:  and i have that part going by creating a custonm controller... I need the notification part working.   Problem:  I don't know how to call methods from the customController in javascript Also, i do not want to refresh the entire page. I just want them to go back to where they were. I was thinking a pop-up notification but I'm flexible.. Word to describe someone who goes to all the events in town! I'm looking for a short word that could describe people who are always going to every event in town. It doesn't need to be an existing word, feel free to create one of your own. It can also be made of words related to events and parties. (ex: club, event, guest list, etc.)  Edit  The word will serve as a new term to describ these people in a favorable way. It will probably be used for an app name so it need to be catchy and fun. ( Preferably ) Weird artifacts in my UV mapped texture Any ideas what's causing those chunks of geometric artifacts?  Argh. Cauchy principle value of $\int_{-\infty}^{\infty}\sin(x)/(x-a)dx$ The dock doesn't work correctly after I enter my password, either. Optimized rendering of a cube mesh world I want to render a cube-mesh (a.k.a. Minecraft-style) world. If I render each existing cube it will eat up FPS pretty quickly. How can I optimize it? I understand that the point is to not render invisible meshes (faces?) but my problem is to find out what is invisible and what isn't. Generics and inheritance: need a complex Map instance What is the best format to capture addresses for a universal user-base? What is the best and most usable format to capture address information from a universal user base? I was thinking to have the system detect the country by IP address and have that selected by default, and then state/province droplist would be populated accordingly. But the issue is some countries have states and provinces and some do not. Some have postal codes and some do not. Is there a universal standard to capture complete address info to ensure efficiency for most users?  FYI: I did research on here and while there are some questions that are close, none are about this exact same question (unless I missed something) I met an interesting issue about C#. I have code like below.  List&lt;Func&lt;int&gt;&gt; actions = new List&lt;Func&lt;int&gt;&gt;();  int variable = 0; while (variable &lt; 5) {     actions.Add(() =&gt; variable * 2);     ++ variable; }  foreach (var act in actions) {     Console.WriteLine(act.Invoke()); }   I expect it to output 0, 2, 4, 6, 8. However, it actually outputs five 10s.  It seems that it is due to all actions referring to one captured variable. As a result, when they get invoked, they all have same output.  Is there a way to work round this limit to have each action instance have its own captured variable? WPF ComboBox without drop-down button When considering the Doppler shift, the 'canonical equation' is  $$f=\frac{c+vr}{c+vs}f_0$$  However, this equation seems to run into trouble in the following situation: A light source inside water is moving at a speed $v$ towards a receiver outside the water. Can we modify the above equation to deal with a transition between two media? Or is there a completely different formula that applies here? How can I repeat the header but not the caption with longtable? I am trying to set up a longtable where the header is repeated on every new page but the caption only appears once at the top of the page.  The table is defined as follows:  \begin{longtable}{|l|l|l|} \caption{the table caption} \label{tab:11swpkg}\\ \hline \rowcolor{gray} HeaderCol1 &amp; HeaderCol2 &amp; HeaderCol3\endhead     \hline\hline Item11 &amp; Item12 &amp; Item13 \\ \hline Item21 &amp; Item22 &amp; Item23 \\ \hline Item31 &amp; Item32 &amp; Item33 \\ \hline \end{longtable}   This nearly works because the header is indeed repeated after a page break but so is the caption. How can I get rid of the caption after a page break? How to speed my too-slow ssh login? Running ssh user@hostname takes ~30s. Here's the scenario:   this is a VM on the local LAN Windows and Mac machines get instant login am using Debian and I could reproduce with an Ubuntu machine someone using Ubuntu says that logging into my machine (local LAN) is also instant using hostname IP address takes about half as much time (~15s)   [update]  Using ssh -vvv user@hostname, here's where it waits the most:  debug3: authmethod_lookup gssapi-with-mic debug3: remaining preferred: publickey,keyboard-interactive,password debug3: authmethod_is_enabled gssapi-with-mic debug1: Next authentication method: gssapi-with-mic   And then it waits a bit here:  debug1: Unspecified GSS failure.  Minor code may provide more information Credentials cache file '/tmp/krb5cc_1000' not found  debug1: Unspecified GSS failure.  Minor code may provide more information Credentials cache file '/tmp/krb5cc_1000' not found Do I need a visa for Georgia? I am a Nigerian, holding a valid schengen visa issued by the French embassy, and a multiple entry visa for the United States. Will I be allowed to enter Tbilisi in Georgia? From this  by orlp:     If I strap a rocket booster to a rocket in space and fire it for one second, then the work provided is much higher when the rocket is flying fast compared to when the rocket was stationary. In both cases the rocket fires for the same duration but in the former case the rocket travels a much greater distance during this period. What gives? limsup of intersection of events as a subset of intersection of limsups Let $A_1, A_2, \ldots$ and $B_1, B_2, \ldots$ be two sequences of events in some probability triple $(\Omega, \mathcal{F}, \mathbf{P})$. Now, it is true that $\left(\limsup_n A_n\right) \cap \left(\limsup_n B_n\right) \supseteq \limsup_n (A_n \cap B_n)$, and I can think of many different cases where this relation holds true for equality (e.g., let $A_n = B_n$, or $A_n = B_n^c$, or $B_n = \emptyset$, or $B_n = \Omega$). However, I cannot think of any case where $\left(\limsup_n A_n\right) \cap \left(\limsup_n B_n\right) \supset \limsup_n (A_n \cap B_n)$ holds for strict inclusion.  My proof for the relation is simple. Since $A_n \cap B_n \subseteq A_n$ and $A_n \cap B_n \subseteq B_n$, then we can perform some set algebra as follows:  $$\bigcup_{k=n}^\infty (A_k \cap B_k) \subseteq \bigcup_{k=n}^\infty A_k$$ $$\bigcap_{n=1}^\infty \bigcup_{k=n}^\infty (A_k \cap B_k) \subseteq \bigcap_{n=1}^\infty \bigcup_{k=n}^\infty A_k$$  Then we can use the same logic for $B_n$, and come to the conclusion as stated in the beginning. Why does my item name not show up in 1.13? I am in 1.13 Pre-Release 7 trying to make a one command creation and I need an item with a specific name. The command I use is /give @p diamond_sword{display:{Name:"Sword of Power"}} and it gives my a diamond sword, but it doesn't have the name.   This is me running the command.   This is the command not working. Alternative methods to prove that $Z_m$ is a field under addition and multiplication $\bmod\ m$ iff $m$ is a prime I am looking for ways to prove that $\mathbb{Z}_m=\{0,1,2,\dots,m-1\}$ is a field under addition and multiplication $\bmod\ m$ iff $m$ is a prime.   I tried it this way: If $m$ is a prime $p$,it is obvious that most importantly, we need to prove that every non-zero element in $\mathbb{Z_p}$ has an inverse in $\mathbb{Z_p}$.We note that if $a,b\in \mathbb{Z_p}$, then $a\cdot b\in \mathbb{Z_p} \dots \boxed{*}$. Next, $a^p\equiv a \bmod p$ for prime $p$(the proof follows by induction on $a$).As  $\displaystyle 0\leq a\leq p-1$,$a\not =p$. Thus $$a^{p-1}\equiv 1 \bmod p$$ for prime $p$ which,together with $\boxed{*}$ guarantees the existence of an inverse in $\mathbb{Z_p}$.Proving the other properties is simple.  Conversely,if $\mathbb{Z_m}$ is a field,then every non-zero element of $\mathbb{Z_m}$ has an inverse.Note that inverse of an element is unique.For if $a\cdot b\equiv a\cdot c\equiv 1 \bmod m$,then $(a\cdot b)\cdot c\equiv c\equiv (a\cdot c)\cdot b\equiv b \bmod m$ i.e $m|(b-c)\implies b-c=0(0\leq a\leq m-1,a\in \mathbb{Z_m})$.So, inverses must be unique and every element is either an inverse of itself or has in inverse in the field.That allows us to conclude that $[(m-1)!]^2\equiv 1 \bmod m$ which can only mean that either  $(m-1)!\equiv 1 \bmod m$ or $(m-1)!\equiv -1 \bmod m$. If $m$ is not a prime, it has a prime factor, say $p$. $ 0\leq p\leq m-1\implies p|(m-1)!\implies p|1$or $-1$ which is absurd, a contradiction.Thus $m$ is prime.  I feel that this method is too involved and complicated. Can anyone please suggest some other method?(Some context: This is a problem from Finite Dimensional Vector Spaces by Paul Halmos. I am learning linear algebra for the first time.It seems some of the comments have been posted on the assumption that I know rings and fields; I don't. ) Is a match forfeited if a player refuses to leave after being sent off? I have installed Ubuntu 13.04 on my desktop (runs like a charm). Then I used Crouton to install Ubuntu 12. 04 on my chromebook samsung (ARM). It also works quite well.  Here comes my question. Can we have a true Ubuntu (preferably 13.04) on my ARM chromebook?  It seems that the Crouton/Ubuntu is not 100% the real thing.  The best option would be to have the full Ubuntu 13.04 and remove the Chrome OS.