I bought fresh wild salmon today and when I got it home there was a tiny, live worm clinging to the plastic wrap inside. I overcooked it to 200 degrees Fahrenheit. So that should be enough. My friend said not to eat it as worms are a sign it's bad. It wasn't firm, it was a bit squishy like frozen fish even though it was fresh. The best before date is three days from now and it smelled fine (although I got the raw fish on my lip).  I've read this question but wondering if worms are a sign of fish being bad and if it's bad to eat even if fish is cooked properly and worms are no longer alive.    Edit: My question is 1) seeing worms in fish is it a sign of fish being bad or is it normal? It seems that people say not to eat it when they spot worms but if they are not noticed and frozen (sushi grade) or cooked properly we eat it. 2) Is it just a disgust factor or a real health concern (worms that are dead)? As I'm pretty sure most of us who eat fish end up eating the odd unseen dead worm in fish.
I have recently noticed a rather large amount of small worms in the fresh cod I am buying. I have tried to take them out as much as I can and of course have spoken to my fish supplier about them, but he assures me they are harmless. However, I don't believe my customers would be as assured. Is it okay to serve this fish, taking into account I might miss a worm or two?
Sorting by multiple fields at same time in QGIS? Is it possible to sort multiple fields at the same time in QGIS?    For example, I'd like to sort a table by state name, and then within each state, sort by county name.    This would be the same as the Advanced Sort option available in ArcMap. I have Java 8 and Ubuntu 18.04. I'm using NetBeans and when tried to make some program, it couldn't be done because JavaFX is missing.  I installed Java JDK with NetBeans from Oracle's site and thought everything is included but obviously I didn't check it well.   What should I do, what should I install? I'm not so good at this and don't know if problem is with Ubuntu or Java. :( (Originally  by AJAY.)  What is the geometric, physical, or other meaning of the third derivative of a function at a point?  If you have interesting things to say about the meaning of the first and second derivatives, please do so. I have several input and option elements on my page, each (well almost) have an event attached to update some text on the page once they change. I use jQuery which is really really cool :)   I also use Microsofts  framework, utilizing the UpdatePanel. The reason why I do that is that certain elements are created on the page based on some server-side logic. I don't really want to explain why I use the UpdatePanel - even if it could (it can with quite some effort) be rewritten to use only  I still want that UpdatePanel.  You probably guessed it - once I have a postback on the UpdatePanel the jQuery events stops working. I actually was expecting this, since the "postback" is not really a new postback so my code in document.ready that binds the events won't be fired again. I also confirmed my suspicion by reading up on it in the jQuery help libraries.  Anyway I'm left with the problem of rebinding my controls after the UpdatePanel is done updating the . I preferably need a solution that does not require adding more .js files (jQuery plug-ins) to the page but something as simple as being able to catch the UpdatePanel's 'afterupdating' where I can just call my method to rebind all the form elements. Does a Magic Staff count as a magic weapon? Many creatures have resistance to weapons that aren't "magic weapons".  A Magic Staff can be used as a quarterstaff, but (usually) doesn't have a bonus to hit (a "plus").  Is it considered a Magic Weapon for the purpose of damage resistance? Why isn't an infinite direct product of copies of $\Bbb Z$ a free module?   Actually I was asked to show that it's not projective, but as $\Bbb{Z}$ is a PID, so it suffices to show it's not free.   I am stuck here. I saw some questions in SE, but there is no satisfactory answer at all. Login as other user setting for other profile except System Adminsitrator If a user is setup as System Administrator profile, the user can login as other user. However, is there any option that I can enable this function for other profile except System Administrator because I don't want to give them other System Administrator permission access?  In the past as I remember in summer 12, there's an option called "managing user permission" which allow me to disable or enable the profile to login as other user. But I don't see this anymore. I have a windows 7 user who belongs to admin group. I want to execute sc command that requires admin privileges. I DON'T want to open an elevated cmd, want to be able to simply Win+R->Enter command, enter password and that's all. I tried the runas command, but it doesn't seem to work:  &gt;runas /user:me "cmd"   and it asks for a password, and then the command is executed with normal privileges. I know I could use /user:administrator but I don't know the admin pass and I think the admin user (me) should work. The rules of Transfiguration: examples of making the inedible edible? Information from the official website of J.K.Rowling is generally considered canon. I remember at least one case when she 'changed her mind' after a particular rule has been  published on her website (what happens with a secret if a Secret Keeper dies). Nevertheless, the information from the website can generally be considered reliable.  A rather obscure piece of information is J.K.Rowling's Wizards' Ordinary Magic and Basic Aptitude Test () published on her website in 2007 and now accessible with a Time Turner.   In particular, we know that only one of the following options is correct (as the software allows you to choose only one option):     Which of the following is CORRECT?            a. Food can be conjured out of thin air.       b. Any object can be Transfigured into food.       c. Foodstuffs can be increased, Transfigured, summoned from a distance and magically cooked.       d. It is impossible to make the inedible, edible.   e. Food-related Charms are some of the simplest forms of magic.      W.O.M.B.A.T. Grade 3, 13 June 2007, question 8   The test appeared on J.K.Rowling's website before the release of Book 7, but we can almost safely assume that there was no time for J.K.Rowling to change her mind after compiling the test (though she must have submitted these questions weeks before they were eventually published).  As Hermione explained in Harry Potter and the Deathly Hallows:      Your mother can’t produce food out of thin air, no one can. Food is the first of the  to . It’s impossible to make good food out of nothing! You can Summon it if you know where it is, you can transform it, you can increase the quantity if you’ve already got some...   It means that the correct option is c, and therefore all other statements are false. So, apparently, you can make food out of something else, though not any object can be transfigured into food. Can you come up with any example of such transformation mentioned in the books? Installing 2 versions of Ubuntu on same hard drive? What is Thanos's motivation for his action? If I had a gauntlet with essentially unlimited power, and my goal was to help make sure life in the universe was able to prosper, then my first thought toward this goal probably would not be      to extinguish half of all life.   This doesn't directly help anyone, and it is, at best, a temporary solution, since      populations will eventually grow back.   Assuming that I am not, in fact, secretly in love with an avatar of death itself, why would I choose to      commit universal genocide   instead of directly solving the limited resource problem?  So, to be specific, my question is: In-universe, what is Thanos's motivation for attempting to do this instead of more reasonable alternatives? Alternatives to 'respectively' Set the size of pgf picture? I have a pgf picture which I insert with:  \input{m1.pgf}   But the image is too big. Instead of regenerating a smaller image, I'd rather take advantage of vector graphics, and have XeLaTeX scale it. How do I set the width of pgf picture (keeping its aspect ratio)?  MWE  tex:  \documentclass{article}  \usepackage{fontspec} % enagles loading of OpenType fonts \usepackage{polyglossia} % support for languages  % fonts: \defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text} % without this XeLaTeX won't turn "--" into dashes \setmainfont{DejaVu Sans} \setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono}  % pgf: \usepackage{pgf}  \begin{document}  \input{m1.pgf}  \end{document}   Sample pgf:  (it's too big to cite it here, and I can't make much smaller). How can I make a Click-once deployed app run a startup?  The best option I found by searching was to set the Publisher on the app to Startup, so the Start menu shortcut would be placed in the Startup folder, but that seems like a huge hack and I would like there to be a Start menu icon people can find.  What options do I have? I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: .  After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.  Code from :  \documentclass{article}  \usepackage{tikz} \usepackage{bodegraph}  \begin{document}  \begin{tikzpicture}[     gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before) ] \begin{scope} \UnitedB \semilog{-1}{2}{-50}{60}  \BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}  \end{scope} \end{tikzpicture} \end{document}   Any clues? Irreducibility of $X^n - 2$ over $\mathbf Z[i]$. I was “playing” with Eisenstein's criterion and the polynomials $X^n-p$ ($p$ being a prime number).  Over $\mathbf Z$, the classical Eisenstein's criterion directly applies and shows that $X^n - p$ is an irreducible element of $\mathbf Z[X]$. The question was “what happens over $\mathbf Z[i]$?”  We know that in this new ring, a prime number $p$ has one of three different fates:   if $p \equiv -1\ (\mathrm{mod}\, 4)$, $p$ still is an irreducible element of $\mathbf Z[i]$, or equivalently $(p) \subset \mathbf Z[i]$ still is prime. (Unless I'm mistaken, number theorists say that $p$ is inert). Eisenstein's criterion still applies and the polynomial is irreducible over $\mathbf Z[i]$. if $p \equiv 1\ (\mathrm{mod}\, 4)$, $p$ can be written as a sum of two squares: $p = n^2 + m^2$ and is therefore reducible on $\mathbf Z[i]$: $p = (n+im)(n-im)$. These two factors aren't associated (the units in $\mathbf Z[i]$ being $\pm 1$ and $\pm i$) so $(p)$ splits: $(p) = (n+im)(n-im)$ is the product of two different prime ideals. One can still use Eisenstein's criterion with either of these prime ideals, and $X^n - p$ is irreducible over $\mathbf Z[i]$. if $p = 2$, the oddest of all primes, one still has a factorisation $p = (1+i)(1-i)$ but this time, $1+i$ and $1-i$ are associated. In NT slang, $(2)$ is ramified: $(2) = (1+i)(1-i) = (1+i)^2$ and one cannot directly use Eisenstein's criterion.   So here's my question: how do we prove (or disprove) the irreducibility of $X^n - 2$ over $\mathbf Z[i]$? Settings API enable default settings on theme install? I am still learning settings API so please forgive my noob question. I have three fields: a checkbox, colorpicker and text field (they are working), but I would like to do this: when the theme is installed add "checked" state to my checkbox but allow user to "unchecked" it ,and if empty add default color to my colorpicker... I have no idea how to do this so please help me!  My code looks like this now (thanks to @Chip Bennett! ) :  &lt;?php add_action('admin_menu','create_theme_options_page'); function create_theme_options_page(){ add_options_page('Theme Options','Theme Options','administrator',__FILE__,'build_options_page'); }    function build_options_page(){    ?&gt;    &lt;div id="theme-options-wrap"&gt;    &lt;div style="float:left;margin-top:19px;position:absolute;" class="icon32" id="icon-tools"&gt;&lt;br/&gt;&lt;/div&gt;    &lt;h2&gt;My options page&lt;/h2&gt;    &lt;form method="post" action="options.php"&gt;    &lt;?php settings_fields('plugin_options');?&gt;    &lt;?php do_settings_sections(__FILE__); ?&gt;    &lt;p class="submit"&gt;    &lt;input name="Submit" type="submit" class="button-primary" value="&lt;?php esc_attr_e('Save changes');?&gt;"/&gt;    &lt;/p&gt;    &lt;/form&gt;    &lt;/div&gt;    &lt;?php    }       add_action('admin_init','register_and_build_fields');      function register_and_build_fields(){      register_setting('plugin_options','plugin_options','validate_setting');      add_settings_section('main_section','&lt;br/&gt;&lt;br/&gt;Main Settings','section_cb',__FILE__);      add_settings_field('banner_heading','Banner Heading:','banner_heading_setting',__FILE__,'main_section');      add_settings_field('display_sidebar','Display Sidebar:','display_sidebar_setting',__FILE__,'main_section');      add_settings_field('display_colorpicker','Display Colorpicker:','display_colorpicker_setting',__FILE__,'main_section');      }        //Install Iris colorpicker        add_action( 'admin_enqueue_scripts', 'mw_enqueue_color_picker' );        function mw_enqueue_color_picker( $hook_suffix ) {        // first check that $hook_suffix is appropriate for your admin page        wp_enqueue_style( 'wp-color-picker' );        wp_enqueue_script( 'my-script-handle', get_template_directory_uri() . '/js/my-script.js', array( 'wp-color-picker' ), false, true );        }           //Colorpicker          //Now how to add a default color on theme install?          function display_colorpicker_setting(){          $options = get_option('plugin_options');          echo"&lt;input type='text' id='color1' name='plugin_options[display_colorpicker]' value='{$options['display_colorpicker']}'/&gt;";          }            //Sidebar checkbox           //Now how to add a default state "checked" on theme install?           function display_sidebar_setting(){           $options = get_option('plugin_options');           echo "&lt;input type='checkbox' name='plugin_options[display_sidebar]' {$options['display_sidebar']} id='display_sidebar' /&gt;";           }              //Banner Heading             function banner_heading_setting(){             $options = get_option('plugin_options');             echo "&lt;input name='plugin_options[banner_heading]' type='text' value='{$options['banner_heading']}'/&gt;";             }               //Validate our settings here               function validate_setting($plugin_options){                  return $plugin_options;               }                 function section_cb(){                } ?&gt; I updated a virtual machine running Ubuntu server 15.04 to the just released new stable 15.10.  There were no apparent problems, but after reboot the machine lost its network connection. lspci showed the correct card and lsmod proved that the driver had been loaded.  Hints about editing or removing /etc/udev/rules.d/70-persistent-net.rules did not succeed (still no network, no new file), the famous /lib/udev/write_net_rules did not even exist.  I don't have much clue regarding udev and systemd, so it took me some time to find in /sys/class/net that the network interface name changed. It became ens32, which was renamed from eth0. After I changed /etc/network/interfaces network communication was enabled again.  But - why does this happen at all? And if it happens, shouldn't the interfaces file be updated automatically?  Now that I deleted the virtual network card and created another one, eth0 becomes eno16777728, which is not so, uhm, nice.  Should this behaviour (at least that of the upgrade procedure) be reported as a bug?  Furthermore, is /etc/udev/rules.d/70-persistent-net.rules obsolete now? And (although only partly related) what about /etc/udev/rules.d/70-persistent-cd.rules?)  Edit - additional question (after accepted answer) The dependency of /etc/network/interfaces from the actual interface name bothered me. I tried a new installation of *ubuntu in another virtual machine. To my surprise, /etc/network/interfaces contained a reference to the loopback device only. However, with my original VM this change prevented the network to come up. So what else do I need to change?  Edit Well, from another test I found that a new Ubuntu Server has the network interface card in /etc/network/interfaces, while XUbuntu has not. Maybe it is using network-manager or something else. Edelstein Theorem Let $(M,d)$ be a compact metric space and $d(f(x),f(y)) &lt; d(x,y) $ for all $ x\neq y$ Prove that if $f$ is a continuous fuction then there is a unique $x_0 \in M $ such that $f(x_0)=x_0$ I know that since $g(x) = d((f(x),f(y))$ is continuous then a continuous function in a compact space reaches its maximum and minimum. Then by proving that the minimum of $g(x)$ = 0 can I conclude that $x_0$ is a fixed point? If we're implementing , why don't we also require that users have at least 1.5 times the amount of reputation needed to ask their current question in order to answer their current question?  I believe this would really reduce the amount of non-answers that should have been edits to the original question, or perhaps a comment under another answer.  Edit  Inspired by marcog's excellent suggestion , perhaps it would make more sense to set a minimum amount of time that must pass before you can answer your own question. New users would need to wait in the neighborhood of six hours, while users with more reputation could answer their own question within minutes if they discovered the solution on their own.  This would get in the way of the behavior that we don't want, which is people posting answers that should have been edits while not annoying most.