When going to the main view, the app doesn't remember my viewing preference from before. Its always two extra taps (unlike the website that highlights the questions I am actually interested in.  Also as an aside - the view shows no indication of working in the background as it's being changed. Sometimes I didn't even see that it had loaded the questions I wanted, it took me 3-4 tries before it dawned on me.
Opening the menu and selecting an item from the "Favorite Sites" menu allows us to see a feed for a specific site. In the top right corner of this page is a drop-down which allows us to select the "sort order" for the posts. The default is "Active" with other options like "Newest", "Hot", etc.  The problem is that when I select "Newest" or any other option. This preference is not remembered when I change between a different "Favorite Site".  So I am requesting that the selection is persisted when changing between site feeds. I have no preference whether this is implemented per site (to allow a different default for each site) or just one single preferred default that works on all sites (last option selected). I just want it to remember that I have selected "Newest" when I am flicking though the sites.
Clean URLs and php extension on nginx I've looked at dozens of other questions and references on the web - and by all my calculations, my setup should work, but it doesn't.  I have nginx installation with php-fpm.  If I try to access a .php file, it runs correctly and I get the correct results.  I got this in my config file:  location ~ \.php$ {     try_files $uri =404;     fastcgi_pass unix:/var/run/php5-fpm.sock;     include fastcgi_params;     fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name; }   Now, I want to setup my web app so that /somedir/file automatically executes /somdir/file.php while still displaying /somdir/file in the browser's address bar.  So I modified my config to contain the following:  location / {     try_files $uri $uri/ $uri.php?query_string }   This kind of works, that is, the server does access the .php file.  Yet, instead of executing it using the existing location ~ \.php$ block above, it simply spits the php source code as the download into the browser.  If I append the .php manually to the requested URL, then the php is executed.  It feels as if once the server matches try_files to $uri.php, it then does not do another pass at locations to see that what it needs to do with the php files.  I tried putting the php block above and below the location /, but it makes no difference.  How can I get the php to be executed? How do I install openjdk 7 on Ubuntu 16.04 or higher? I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7.   Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are listed in the repository.  Can anyone point me to instructions on how to install it? When does decision tree perform better than the neural network? Query Which Profiles Have Read Access To Specific Object? Since I couldn't think of how to write this query off the top of my head, I thought it might be worth sharing. How can I query which Profiles have Read permission on a specific object? I knew it would have something to do with ObjectPermissions and PermissionSet, but had to look up the documentation for both to piece it together. Standard error of regression coefficient without raw data How to extract a floating number from a string How do question bookmarks work? What does bookmarking a question mean? How do you bookmark a question? Do users get updates on their bookmarked questions? Are my bookmarks publicly visible? How do you see your own bookmarks? How do you see other users' bookmarks? How do you see which users have bookmarked a particular question? What impact does the bookmark system have on the voting system? Can I &quot;un-bookmark&quot; a question? Can I search within my bookmarks? Javascript Remoting - sending sObject as argument Local server updates for the network I have setup one computer on our network as the file server. Because Internet here in Tanzania is both slow and expensive I would like that one system to download all the updates and then the other 10 computers on the network to get those update files from the server. I'm a bit of a noobie to Ubuntu, but really want to learn how to get this working smoothly so as to help other NGOs and schools here in Tanzania. Brendon How to transfer minecraft pocket edition world between iPads? My daughter has built a minecraft world on our iPad. As of Christmas 2013 she has an iPad mini of her own. Is there any way to transfer her world from the old machine?   Even better...is there any way to synchronise the 2 machines? How can I identify duplicate image files? Over the years, I've accumulated a lot of pictures, across a bunch of different machines.  I think I've mostly kept them in a yyyy/mm/ directory structure, but especially with some of the older pictures, there seem to be a lot of duplicates.  What's the best way to identify the duplicates?  Are there good tools to do this, or am I going to have to write something on my own? Limit with inverse trignometry We have to find the value of $$\lim_{n\to \infty}\sum_{k=2}^n\arccos\left(\frac{1+\sqrt{(k-1)k(k+1)(k+2)}}{k(k+1)}\right)$$  I tried it a lot but could not find any start.   Please help me in this . collapse vs minimize Change files with Editor that need sudo permissions I want to change files with KomodoEdit that need sudo permissions. I can't start KomodoEdit with sudo, though (for whatever reason). Can I somehow grant Komodo permission to edit those files (in particular I am talking about apache2 files and /etc/hosts)? Proving $v(s,p)=2^{p-1}(2s-1)$ is a bijection of natural numbers and $f(s)=2s-1$ is a bijection between natural numbers and odd numbers. How do I prove this function is bijective? $$ v(s,p)=2^{p-1}(2s-1). $$ The domain is natural numbers and the codomain is also the natural numbers.  And this one: $$ f(s)=2s-1. $$ The domain is the natural numbers, and the codomain is the odd numbers in the natural numbers.  With this one I would do this to show it's injective: $$ \begin{align} v(s)&amp;=v(s_1)\\ \implies 2s-1&amp;=2s_1-1\\ \implies (2s_1)/2&amp;=(2s_2)/2\\ \implies s=s_1 \end{align} $$ So it's injective since if $v(s)=v(s_1)$ then $s=s_1$.  And to show it's surjective $f(s)=y$: $$ \begin{align} y&amp;=2s-1\\ \implies s&amp;=(y+1)/2 \end{align} $$ Then the function must be surjective since every $y$ is the same as the codomain for $f$.  Am I correct? Enumerate after \label If $\mathrm{Tr}(A)=0$ then $T=R^{-1}AR$ has all entries on its main diagonal equal to $0$ Prove that if $A$ is a square matrix and $\mathrm{Tr}(A)=0$, then there exists an invertible matrix $R$ such that the matrix $T=R^{-1}AR$ has all entries on its main diagonal equal to $0$.   It seems like the formula $A=S\Lambda S^{-1}$, but maybe it does not help.  Thanks so much. java.lang.RuntimeException Cannot find FacesContext How do I find values not given in (interpolate in) statistical tables? Often people use programs to obtain p-values, but sometimes - for whatever reason - it may be necessary to obtain a critical value from a set of tables.   Given a statistical table with a limited number of significance levels, and a limited number of degrees of freedom, how do I obtain approximate critical values at other significance levels or degrees of freedom (such as with $t$, chi-square, or $F$ tables)?  That is, how do I find the values "in between" the values in a table? Imagine your college buddy is now running a multi-billion dollar company, while you're still stuck at the same white-collar day job 5 years after graduation. You chat with him and want to express the idea that you're happy for him and fancy having his lifestyle--something like "I wish I could buy a yacht and cruise around the world like you do; I'm glad you're doing really well!"  Basically, it's the feeling of envy when you take out the resentment from it. Is there a word for it?   (I thought about "admire", but found it too strong and broad)