I tried installing opendjk-7 in the way that was suggested , but I get this error:  W: The repository 'http://ppa.launchpad.net/openjdk-r/ppa/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages  404  Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
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?
Why aren't all the badges shown on the track menu? I like using the 'Track Badges' menu on my profile a lot (I know what you're going to say, I just have a knack for these things), but I keep noticing something a bit unusual.  Many of the Badges featured on the actual list do not get featured on this menu. For example, I've been hoping to be able to track progress for the Pundit badge (ten comments with score of five or more), but it doesn't show up in the menu.  Why not? What is the difference between a class and a set? I know what a set is. I have no idea what a class is.   As best as I can make out, every set is also a class, but a class can be "larger" than any set (a so-called "proper class").  This obviously makes no sense whatsoever, since sets are of unlimited size. It's not like you get up to 25 elements and go "oh, hey, sets are limited to a maximum of 20 elements, so we'll have to call this 25-element thing something else".  Does anybody know what the actual difference between a set and a class is?  Several people have pointed out that you can write paradoxes which involve sets. I get that. But where do classes come into the picture? Can I deduct a contribution to a traditional IRA if I am also contributing to a 401(k) in the same tax year? How do I get started with RAW photography? Having read about the benefits of shooting in RAW as opposed to JPEG (for example ), I'd like to have a go with it myself. However, I'm not really sure how to go about it.  I can turn RAW mode on in my camera (that's easy!), but what do I do with the files when I get them on to my computer? I presume I need to process them to get the RAW data into something that I can work with, but do I need a specific tool for my camera (a Finepix S5100), or will something like the GIMP do what I want? I'm also a little confused about how I then take advantage of the abilities that RAW gives me when I'm processing it on the computer — do RAW processing tools have more processing options than standard tools? Problems with wifi range on laptop. Wifi card: realtek rtl8723be So I just started using linux/ubuntu today and I've been getting problems with my wifi, ive tried the solutions on this page:  When im really close to my router, its fine, i can see wifi signals, but when i go just a few steps back it disappears right away. Im using the latest version of ubuntu 17.10  Any suggestions would be nice! :) Embedding videos and animations I'm aware that it's possible to embed some kinds of videos and animations in LaTeX files (using the beamer or prosper classes) but I couldn't locate good documentation on this. My web searches returned a list of scattered forum questions and answers.   Could anybody give a link to some help or documentation page that systematically deals with the various ways of embedding videos and animations, the file types that work, etc.? Cannot turn Bluetooth off For example, if passed the following:  a = []   How do I check to see if a is empty? Is it possible to save frequently used expressions in QGIS? Is there any way to save frequently used expressions in the selection or field calculator dialogs? Obviously I can cut and paste them into a file where I might save them, but I mean within the context of QGIS like you can do in ArcMap. There's a department at my university where the head of department is routinely put as author on papers he didn't contribute to, and where researchers from overseas who had no input (but who provide funding to the department) are put on papers.    As a pragmatic matter, how should a PhD student respond when they are told to put three names on a paper, when those people didn't contribute?  Assume that refusing to put the co-authors on is not an option, because:   There will be bad consequences if they do not, and  This practice is routinely done at a high level, and there is nobody at the university to complain to about it.   This is not a duplicate of , because its answer assumes that it is practical for the student to refuse. Pathologies in module theory Linear algebra is a very well-behaved part of mathematics. Soon after you have mastered the basics you got a good feeling for what kind of statements should be true -- even if you are not familiar with all major results and counterexamples.  If one replaces the underlying field by a ring, and therefore looks at modules, things become more tricky. Many pathologies occur that one maybe would not expect coming from linear algebra.  I am looking for a list of such pathologies where modules behave differently than vector spaces. This list should not only be a list of statements but all phenomena should be illustrated by an example.  To start the list I will post an answer below with all pathologies that I know from the top of my head. This should also explain better what kind of list I have in mind. Two column float with [t] using the cas-dc template I am using the cas-dc template for Elsevier. When trying to use \begin{figure*}[t], except I get the error 'The module 'cas/fig' does not have a key called 'cas/fig/t'. Other templates I use work fine. I have included \usepackage{stfloats}. I don't see anything mentioned that strictly forbids it, unless I missed this. Anyone know why? Since , how do I uninstall it from my desktop system?  (Please note: This question is not about Unity 7, which is still supported at the time of this writing and should remain installed if present.) How to make listings code indentation remain unchanged when copied from PDF? So I am using  package for code examples. But there is a problem. When I copy the code examples from the final PDF document, they are usually not the same - the indentation is gone, there are random spaces after parenthesis, etc. Does anyone know how to make sure that the code that I copy from the final document is the same as I wrote it in the LaTeX document?  Here is what I mean. Compile this document:  \documentclass[12pt,oneside]{memoir}  \usepackage{listings} \usepackage[T1]{fontenc} \usepackage{xcolor} \usepackage{textcomp}  \definecolor{codebg}{HTML}{EEEEEE} \definecolor{codeframe}{HTML}{CCCCCC}  \lstset{language=Awk} \lstset{backgroundcolor=\color{codebg}} \lstset{frame=single} \lstset{framesep=10pt} \lstset{rulecolor=\color{codeframe}} \lstset{upquote=true} \lstset{basicstyle=\ttfamily} \lstset{showstringspaces=false}  \begin{document}  This code example prints out all users on your system:  \begin{lstlisting}[language=c] #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;string.h&gt;  #define MAX_LINE_LEN 1024  int main() {     char line[MAX_LINE_LEN];     FILE *in = fopen("/etc/passwd", "r");     if (!in) exit(EXIT_FAILURE);      while (fgets(line, MAX_LINE_LEN, in) != NULL) {         char *sep = strchr(line, ':');         if (!sep) exit(EXIT_FAILURE);         *sep = '\0';         printf("%s\n", line);     }     fclose(in);     return EXIT_SUCCESS; } \end{lstlisting}  \end{document}   Now compile it, open it, select and copy the code example and paste it in a text editor. Here is the result I get:  # include &lt;stdio .h&gt; # include &lt;stdlib .h&gt; # include &lt;string .h&gt; # define MAX_LINE_LEN 1024 int main () { char line [ MAX_LINE_LEN ]; FILE *in = fopen ("/ etc / passwd ", "r"); if (! in) exit ( EXIT_FAILURE ); while ( fgets (line , MAX_LINE_LEN , in) != NULL ) { char * sep = strchr (line , ':'); if (! sep ) exit ( EXIT_FAILURE ); * sep = '\0 '; printf ("%s\n", line ); } fclose (in ); return EXIT_SUCCESS ; }   Jeez! What's this... The indentation is gone. There are spaces in included headers &lt;stdio .h&gt;, there are spaces after parenthesis [ MAX_LINE_LEN ].  Anyone knows how to fix this? I'd like the code examples in my book to be copy/paste-able into a text editor so people can try them out easily. Convert .bbl file to .bib file How can I convert a .bbl file to a .bib file. I  lost my .bib file but I still have my .bbl file. Now , I need to add more references to my .bbl file according to a specific format which I need to produce using Bibtex, so how can I convert my .bbl file to a .bib file so I can add the new references according to the format.  Thanks for any insight. Why "be king", not "be a king"? I've heard people say "be king" (as in "I can't wait to be king") in movies and TV. Why don't they say "be a king"? Which is correct? How can we recover the Newtonian gravitational potential from the metric of general relativity? Blender 2.80 AV Sync missing? I just installed Blender 2.8 and for the life of me I can not find AV Sync anywhere and video editing has become impossible. Is there some new setting I am unaware of? Why isn't Obi-Wan's ghost young? One of the changes made to the Special Editions of Star Wars: Episode VI: Return of the Jedi was at the end of the film.  Luke sees 3 ghosts during the celebration on the forest moon of Endor, Yoda, Anakin, and Obi-Wan.  In the Special Editions, the actor who played Anakin earlier in the film, Sebastian Shaw, is replaced with Hayden Christiansen who played young Anakin in Episodes 2 and 3.  My question is, why is Anakin the only one de-aged?  Shouldn't Obi-Wan also be his younger self, along with Yoda? How can I get admin access to a Mac without knowing the current password? My Father died last year and I inherited his Mac Mini. My wife has retired and we are trying to set up the mini for her use but the changes we want to make require admin access and we do not have the information my father used to set up the machine.  Is it possible to reset the admin information without having the old information? If so, how would I go about it?   I am not a Mac user usually so any guidance will have to be pretty simple!