How to have GUI in Dutch and terminal output in English? I've got Ubuntu installed with Dutch as my language. I often work in the terminal and many of the outputs are in Dutch as well. This is very inconvenient though, because I often need to search for error messages I get, and on the interwebs error messages are unfortunately easier found in English than in Dutch.  Is there a way to have all terminal output in English, while all GUI's are in Dutch?  All tips are welcome!
Temporarily change language for terminal messages/warnings/errors Messages in my terminal are displayed using Russian language by default, which is my native one.  For just a moment I want them to be in English (eg. to paste in forums), then switch back to the default language.  How can I do the switch and switch back using bash?
Order of an element in a finite cyclic group Is it possible to wipe an entire iCloud Photo Library? I've been using the beta iCloud Photo Library for a week and a bunch of photos got duplicated and I'd like to wipe all the photos out and start over.  I have backups of all the photos and have turned off iPhoto Cloud Library on all iOS devices. When I log into the web app - it still shows dozens of albums and I can delete all the photos, then go to deleted items and then purge them, but the ghost albums are still there messing things up.  I've turned off the library entirely and you can see there is a 30 day waiting period.     If I click on albums, there are pages of them and no delete button anywhere. If I turn on the library on an iOS device, data starts flooding back as if I wanted to recover the photos.  I don't want to recover anything, I want a clean wipe and clean slate.  Currently, there are 7807 photos in the deleted album and no way to mass delete them. I have 31 albums that show up in iCloud and no way to delete them.  Is there some way to accelerate this or must people wait a month for a corrupt library to eventually be purged to start over?  (I have tickets open with AppleCare after  and it's escalated to engineering, but I was informed that it might be a week or two before it gets seen :-( Perhaps someone has a better idea to clear things out or noticed something I've missed.) Many years ago I read a book or story where a group of people discover a dark city - maybe on another planet - which appears devoid of life but is in very good condition. As they gradually explore the city one of the them falls into a trap and is cut to pieces by something mechanical. This detail I can remember as it was a pretty gruesome idea. I don't know the ending but my guess is that none of them make it out alive. Problem storing arrays with update_user_meta I am writing a function that adds an ID number to an array and puts the array in the usermeta. $_GET['auction'] is the post_id.  Below is the function:  $reminders = get_user_meta( $current_user-&gt;ID, "reminders" ); print_r( $reminders ); if( in_array( $_GET['auction'], $reminders ) ) {     echo "Failed: Auction already in list"; } else {     array_push( $reminders, intval( $_GET['auction'] ) );     if ( update_user_meta( $current_user-&gt;ID, "reminders", $reminders ) ) {         echo "Success";     } else {         echo "Failed: Could not update user meta";     } } print_r( $reminders );   Here is the output after adding one auction:  Array ( )  Success Array ( [0] =&gt; 7 )    Here is the output after adding two auctions:  Array ( [0] =&gt; Array ( [0] =&gt; 7 ) )  Success Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 )   And here is the output after adding three auctions:  Array ( [0] =&gt; Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 ) )  Success Array ( [0] =&gt; Array ( [0] =&gt; Array ( [0] =&gt; 7 ) [1] =&gt; 73 ) [1] =&gt; 0 )   Notice that adding a new element to the array using array_push works fine. But when the array is stored in the usermeta then retrieved again, the last element in the array has been put into an array of its own, creating an infinitely dimensional array. I'd prefer to keep this array one dimensional.  Is there a way I can run update_user_meta and get_user_meta without it changing the structure of my array? What are these cartridges that many characters have in the Star Wars movies? Admiral Ozzel has them on both sides of his uniform (upper chest).  Most Imperial officers seem to have them.  Han, pictured also here, has three such cartridges on his jacket.  I'd like to make such a jacket and use anything that looks like them.  I figure they are most closely related to cartridges for guns.  (which is what I imagine they are in the films).  But does anyone know the real scoop on them?  What is their purpose in the Star Wars universe?  Admiral Ozzel:    And Han Solo: Grammar checking program for LibreOffice Is there a tool for checking grammar in LibreOffice? Is the set $S=\left\{\left(z_1,z_2\right)\in \mathbb C\times \mathbb C:z_1^2+z_2^2=1\right\}.$ compact? Consider the set $$S=\left\{\left(z_1,z_2\right)\in \mathbb C\times \mathbb C:z_1^2+z_2^2=1\right\}.$$  Is this set compact in $\mathbb C^2$ ?  As $\mathbb C^2$ is a finite dimensional space so a subset of it is compact if and only if it is closed and bounded.  But $z_1^2+z_2^2=1$ gives $(x_1^2+x_2^2)-(y_1^2+y_2^2)=1$ and $x_1y_1+x_2y_2=0$ , where $z_1=x_1+iy_1$ and $z_2=x_2+iy_2$.  But from here how I can show that the set is closed and bounded ? Permission denied in 777 folder john@ubuntu01:~$ sudo ls -l /var/opt/gitlab/git-data/repositories/GL/www.git total 25068 drwxr-xr-x  2 git  git      4096 aug 14 19:58 branches -rw-r--r--  1 git  git        66 aug 14 19:58 config drwxrwxrwx  2 root root     4096 aug 15 14:56 custom_hooks -rw-r--r--  1 git  git        73 aug 14 19:58 description -rw-r--r--  1 git  git        23 aug 14 19:58 HEAD lrwxrwxrwx  1 git  git        47 aug 14 19:58 hooks -&gt; /opt/gitlab/embedded/service/gitlab-shell/hooks drwxr-xr-x  2 git  git      4096 aug 14 19:58 hooks.old.1471193907 -rw-r--r--  1 git  git      1329 aug 15 14:48 index drwxr-xr-x  2 git  git      4096 aug 15 13:58 info drwxr-xr-x 71 git  git      4096 aug 15 14:55 objects -rw-r--r--  1 git  git        98 aug 15 13:58 packed-refs -rw-r--r--  1 git  git  25618530 aug 15 14:03 post-receive.log drwxr-xr-x  5 git  git      4096 aug 14 20:31 refs john@ubuntu01:~$ ls -l /var/opt/gitlab/git-data/repositories/GL/www.git ls: cannot access '/var/opt/gitlab/git-data/repositories/GL/www.git': Permission denied   Here are ACLs  john@ubuntu01:~$ sudo lsattr /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks -------------e-- /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks/post-receive   I have never seen this before. No permission to LS even with 777? I need to share this folder for more convenient development. How can I solve it? Thank you.  EDITED: (here are your requests)  john@ubuntu01:~$ sudo ls -ld /var/opt/gitlab/git-data/repositories/GL/www.git drwxrwxrwx 8 git git 4096 aug 15 14:48 /var/opt/gitlab/git-data/repositories/GL/www.git john@ubuntu01:~$ sudo ls -ld /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks drwxrwxrwx 2 root root 4096 aug 15 14:56 /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks   EDITED MORE  sudo ls -ld /var/opt/gitlab/git-‌​data/repositories/GL/‌​www.git ls: cannot access '/var/opt/gitlab/git-‌​data/repositories/GL/‌​www.git': No such file or directory   hmmm... what is this? Problem with \mkbibdateapalongextra of biblatex-apa How can I use color in a mathematical expression without losing horizontal spacing? I know in php you are able to make a call like:  $function_name = 'hello'; $function_name();  function hello() { echo 'hello'; }   Is this possible in .Net? Boarding a train in India at another station I have booked a ticket on a train from Mumbai to Chennai and boarding at Pune. Since my schedules have changed, I will be in Mumbai on that day. Can I board the same train in Mumbai in my own ticket and claim the seat/berth? Eigenspace of the companion matrix of a monic polynomial How do I prove that the eigenspace of an $n\times n$ companion matrix  $$ C_p=\begin{bmatrix} 0 &amp; 1 &amp; 0 &amp;\cdots &amp; 0\\ 0 &amp; 0 &amp; 1 &amp;\cdots &amp; 0 \\ \vdots&amp;\vdots &amp;\vdots&amp;\ddots&amp;\vdots\\ 0 &amp; 0 &amp; 0 &amp;\cdots &amp;1 \\ -\alpha_0 &amp;-\alpha_1 &amp;-\alpha_2 &amp;\cdots&amp;-\alpha_{n-1} \end{bmatrix} $$ equals $\operatorname{Span}\{v_{\lambda} \} $ where $v_{\lambda}$ is an eigenvector of the companion matrix w.r.t. the eigenvalue $\lambda$: $$ v_{\lambda} =  \begin{bmatrix} 1 \\ \lambda\\ \lambda^{2} \\ \vdots\\ \lambda^{n-1} \end{bmatrix}. $$ $n$ choose $k$ where $n$ is less than $k$ I am working on parameter estimation and one of the estimators involves a summation of $_nC_k$ ($n$ choose $k$) expressions. For some iterations, I need to compute expressions like $_0C_1$, $_0C_2$, etc.  In general how do we compute $_nC_k$ when $n$ is less than $k$? Do we still use the formula $\frac{n!}{(n-k)!k!}$ and use the gamma function to compute the negative factorial?  Thanks! I'm looking for a word that describes a person who is extremely dismissive and unopen to ideas or comments. Dismissive  feeling or showing that something is unworthy of consideration   For example,  Tom: 'Get your table organised! It's so-' Jack: 'Shush, bring your comments somewhere else.' I have used Windows since childhood, and when I hear the phrase "Windows filesystem" I think of directories (folders) within directories, a folder called SYSTEM, a folder called PROGRAM FILES etc. Is this what the system is? Just the layout of the folders?  And then I recently started using Linux, and my reference book says in the linux filesystem everything starts at root and branches off from there. How is that really different from Windows? I mean, it seems the linux system and the windows system are just two ways of setting up a directory tree.  Is this what file system means? su vs sudo -s vs sudo -i vs sudo bash What is the difference between the following commands:  su sudo -s sudo -i sudo bash   I know for su I need to know the root password, and for sudo I have to be in the sudoers file, but once executed what is difference?  I know there is a difference between su and sudo -s because my home directory is /root after I execute su, but my home directory is still /home/myname after sudo -s. But I suspect this is just a symptom of an underlying difference that I'm missing. Asking feedback/rating for a mobile app? Fig.1: A typical prompt, asking user for feedback/rating in iOS Background Any serious smartphone users must have seen a message similar to Fig.1 above at least once. Variations of such prompt include: &quot;Please give us 5 star ratings if you love this app!&quot;, &quot;Rate us :)&quot;, &quot;Your rating helps improve this app!&quot;, etc. Basically, Fig.1 asks user to leave a (nice) feedback/rating for the app on its AppStore(or equivalents).  The Shorter Question  When and how often should a mobile app user be asked to leave a feedback/ratings?   The Longer Question #1. Which User-statistics? What are the significant user's behavioral statistics that should be based on to generate Fig.1? For example:  Number of runs since install/reinstall of the application Time elapsed since current application run Time elapsed since first application run Time elapsed since first application install Certain events (e.g. after certain number of stages are cleared for a game app)  #2. When to Ask? If multiple user-statistics are chosen to be calculated to generate Fig.1, specifically how should the user-statistics satisfy the condition of the event? For example:  Form a unified equation (e.g. X^2+Y^2=Z^2) with all significant user-statistics partaken fairly to trigger the event. Create (multiple of) &quot;absolute&quot; event triggers (e.g. every 10th app run; elapsing 2 hours since current application run). Both of the two. Generate Fig.1 whichever comes true first. Neither of the two. &quot;There's a better way!&quot;  #3. How often? What would be the optimal min/max frequency of Fig.1 generation? By optimal, I mean users are not to be bothered too much, yet developers gain maximum output of great feedbacks from users? #4. &quot;Don't bother me again :(&quot; Should users have an option to opt-out from receiving Fig.1 at all? #5. Universal User-statistics for All Mobile Apps? Should apps under different categories be based on different user-statistics? There are significant differences in size and type of user-statistics in apps under different categories. For example, a &quot;Flashlight&quot; app is not typically run for one hour straight, while a music/movie streaming app may be run for over one hour. #6. &quot;This app does not need more feedback.&quot; Should every app of all kinds of user base ask this message? If any, should any mobile app stop generating Fig.1 when target conditions are met (e.g. downloads count, active user count, feedback count)? #7. Feedback/Rating Before Deletion Should users be asked to leave a feedback before deleting as seen in Fig.2 below? Users are more likely to leave very critical review on app deletion, but this kind of feedback will be very helpful for the developers to strengthen their app's weakness for next version release.                                                                                                 Fig.2: Asking user for rating before app deletion Clipboard.GetText returns null (empty string) My clipboard is populated with text, but when I run  string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.Text);   I get back an empty string. I've toyed with various forms of the call including:  string clipboardData = Clipboard.GetText(); string clipboardData = Clipboard.GetText(System.Windows.Forms.TextDataFormat.UnicodeText);   But with the same result.  Am I missing something obvious? Looking for the name of a post apocalyptic/sci-fi tv show or film Every once in a while this starts nagging me, I have really no idea and not much to go on so here goes...  A man wearing a blue? uniform walks into a town that looks abandoned and empty and all covered in dust.  The skies are brown/dirty with no sun.  He goes into the upstairs of one of the houses. He stops at I think a fireplace, examines something, or it’s like he’s remembering something.  Then downstairs in the street, a man/person wearing rags/robes with bandages covering his face starts banging on a fire hydrant with a stick/pipe. More people in bandages/robes start appearing, there's a chase in the town. I don't remember much but he's chased into wastes? through a gully or ditch and then a vehicle (only really remember that it was steel in colour) shows up and a woman comes and shoots one or two of the people chasing him.   That’s about all I remember. I was about 6 or 7 maybe and it was afternoon maybe a little later.  I thought maybe Star Trek, but after searching I don't think it is. I think it might be 80's, maybe early 90's. I think it's sci-fi rather than post-apocalyptic.