Trying to use a @RequestParam field in Spring form
submitting a GET form with query string params and hidden params disappear
Why is my Mega Stone not in the location it should be? I upgraded my Mega Ring and have been looking for Mega Stones, and I found . However, the Mega Stone isn't in the place it's supposed to be, and I'm sure the location is right. Why isn't my Mega Stone here? What is the rough estimate of salary value for a taxpayer to pay AMT? For US federal tax, whether a taxpayer is subject to AMT is determined by a complicated way in Instructions for Form 1040, Line 45, which involves an incomprehensible "worksheet to see if you should fill in form 6251".  By simplification and approximation, is there a rule of thumb for an estimate of a salary value of a taxpayer, so that a salary above the value might cause the taxpayer to pay AMT with a big possibility, and a salary below the value might not with a big possibility?  Why do the following two sources seem to differ greatly in estimates of the boundary salary value:    says that  the possible boundary salary value for a single taxpayer  to pay AMT is $53,900.  says that      Taxpayers with small incomes fall within the AMT exemption limits.   That leaves the upper middle class to face the tax, especially those   with incomes between $200,000 and $500,000    Thanks. Biblatex: Don't show n.d. when no year is given I am using biblatex/biber with several bibliographies for my book, and the misc-type, which is also a single bibliography (as a chapter), for legal documents. These documents often do not have a proper date or rather the date is part of the title. However, Latex gives me a "n.d." output, and I am wondering what I can do for it to not give a "n.d." when there is no year given?    To make clear, the reason for why I don't want to use the "year" field is that I deal with very different kinds of documents, which may either have no date or the date is in the title, because of which I prefer to simply "hard-copy" the whole thing in the "howpublished"-section and need to suppress the year, if none is provided.  MWE:  \usepackage[autocite=footnote, language=german, style=authoryear-ibid, sorting=nyt, backend=biber]{biblatex} \usepackage[bottom]{footmisc} \bibliography{lit.bib} \makeindex \begin{document}  Test\autocite[2]{draftnotice}.  \printbibliography[title={EU Legal Documents}, type=misc1]  \end{document}   My lit.bib is as follows:  @misc1{draftnotice,     Author = {{COMMUNICATION FROM THE COMMISSION}},     Howpublished = {Draft Commission Notice of 2014 on the notion of State aid pursuant to Article 107 (1) TFEU}}   Check out my MWE on overleaf How can I use variables in the LHS and RHS of a sed substitution? Ubuntu with full disk encryption - bad password after upgrade to 18.04 A few months ago I set full disk encryption during installation of Ubuntu 17.10. Now, I've decided to upgrade. The upgrade ran to the end without any problems. However, after reboot I am not able to log into my encrypted disk.  Where can be the problem? I am 100% sure I press the "right keys" on the keyboard, but technically I don't know what I am writing because of "*" characters and maybe after upgrade my keyboard layout changed. I use some characters which might be somewhere else on the keyboard. What language is default after upgrade?   By the way, I've already tried Caps-lock, but still no luck.  Help will be really appreciated. I am not a fan of installing my system and all backups over and over again. I need to be able to compare some month names I have in an array.  It would be nice if there were some direct way like:  Month.toInt("January") &gt; Month.toInt("May")   My Google searching seems to suggest the only way is to write your own method, but this seems like a common enough problem that I would think it would have been already implemented in .Net, anyone done this before? Random images appearing in my home directory... Where are they coming from? Here's an odd problem I've had for a while. Every so often, I find that I have several jpeg images sitting in my home directory that I didn't put there. I'm fairly sure this isn't a security breach but rather, there's something writing these files in there that I've forgotten about.  Here's what I'm looking at today:  oli@bert:~$ ls -l *.jpg -rw------- 1 oli oli  8061 2010-11-19 18:30 An-alien-from-Mars-Attack-002.jpg -rw------- 1 oli oli 24362 2010-11-19 18:30 An-alien-from-Mars-Attack-006.jpg -rw------- 1 oli oli  8147 2010-11-05 18:08 Avatar-Film---2009-002.jpg -rw------- 1 oli oli 35602 2010-11-05 18:08 Avatar-Film---2009-006.jpg -rw------- 1 oli oli  6058 2010-12-03 18:42 Britney-Spears-victim-of--002.jpg -rw------- 1 oli oli 28330 2010-12-03 18:42 Britney-Spears-victim-of--006.jpg -rw------- 1 oli oli  8135 2010-11-12 19:19 charlie-brooker-twitter-p-002.jpg -rw------- 1 oli oli 22115 2010-11-12 19:19 charlie-brooker-twitter-p-006.jpg -rw------- 1 oli oli  8059 2010-10-29 18:47 Leonardo-DiCaprio-002.jpg -rw------- 1 oli oli 29988 2010-10-29 18:47 Leonardo-DiCaprio-006.jpg -rw------- 1 oli oli  8064 2010-10-22 16:41 Spot-the-difference-.-.-.-002.jpg -rw------- 1 oli oli 29188 2010-10-22 16:41 Spot-the-difference-.-.-.-006.jpg   They all seem like they're TV or film related... But I honestly don't have a clue what could be writing them. They don't bother me enough to go on a full-scale witch hunt but if anybody knows of something that writes images in the home directory like this, please let me know. Which cyan colored line is produced in the Thomson e/m apparatus? Related:   After reading Lisa Lee’s OP on an electron deflection tube, although she had some misunderstandings on its operation, I still believe that her question is still relevant. If one looks at the Thomson e/m tube filled with helium gas (made by ), the tracer light is created by de-excited electrons, not by an electron beam interacting with a phosphor as in Lisa Lee's OP. That is, the accelerated electrons scatters off of a low pressure helium gas and emit a tracer line to follow the electrons path, as shown below.     Now if you look at the bright line spectrum of helium,     One can clearly see that there are two “cyan” color lines around 500 nm. Following in Lisa Lee’s footsteps, there is a series of question one can ask: (1) which line is emitted by the Helium gas atoms? Or are both lines emitted? (2) How can a variable accelerating voltage for the electrons always produce the same tracer line color? In theory, I assume that if I decreased the energy of the electron beam, I could produce red (around 670 nm) or yellow (around 590 nm) tracer lines, but that doesn’t happen. Somehow, it appears to me that the e/m tube is “tuned” just right so that the emitted light is always this “cyan” color. Why? I always know that the natural logarithm $\log_e$ is the inverse of the exponential function $e$, but to my surprise when reading elementary functions in complex analysis, I discover that that is not always true. $$\log(e^z)=z+2k\pi i$$  My question here is that, why is the above expression true? This problem is really proving to be a tricky one (and quite annoying).  In SQL Server Management Studio 2008, up until a few days ago my IntelliSense was working great.  Then all of a sudden it stopped.  The icon as it as enabled on the toolbar menu, and under Tools -> Options -> Text Editor -> T-SQL -> IntelliSense it says it is enabled there.  I have tried refeshing the IntelliSense cache with Ctrl-Shft-R but that doesn't work either.  Any ideas what happened to my IntelliSense and what I need to do to get it back? FileSystemWatcher Changed event is raised twice How do I read / convert an InputStream into a String in Java? Why is . not in the path by default? On UNIX-like systems over the years (most relevantly to me, Linux), I've noticed that . (current dir) is never in the $PATH by default.  Why is this?  I recall reading years ago that it was a security problem, but the article I read didn't explain what exactly the problem was.  Is it because someone could leave a malicious version of ls or cp in a directory, and I'd end up running it without realizing it was there? The Impossible puzzle ("Now I know your product") I am trying to figure out this impossible problem by Martin Gardener and still havent found a suitable solution or link to it     Two mathematicians S and P are discussing two   unknown integers, both greater than 1. S knows only the sum of the   numbers, whereas P knows only their product.:      S: "I see no way you can determine my sum."    P (after a suitable delay): "That didn't help me. I still don't know your sum." S (after   another delay): "Now I know your product." What are the two numbers?   I have seen the answers on the xkcd wiki link for this at  say 13 and 16 and it checks out mathematically but then there are more ambiguous responses and most of the attempts seem brute force rather than logic.  My question is two fold   How to solve this problem logically? Are there more answers then 13,16 or this answer is the only one even as the upper bound k(upper bound on answer) shifts higher How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5} I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from  . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic  Package Manager I can see that anbox-common &amp; anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running   sudo snap install --edge --devmode anbox   and got this error:  error: cannot install "anbox": Get    https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&amp;fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list:    dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp    [::1]:54255-&gt;[::1]:53: read: connection refused   What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it.  ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux. How do I get $\cos{\theta} \lt \frac{\sin{\theta}}{\theta} \lt 1$? I am trying to mimic the interesting proof from  to give a generating set of the ideal correspond to the $d$-uple embedding: We fix the notation $\Delta = \big\{ (\nu_0, \dots, \nu_n) \in {\mathbb{N}}^{n+1}_0 ~:~ \nu_0 + \dots + \nu_n = d \big\}$. The polynomial map is $\theta : k[y_\nu : \nu \in \Delta] \rightarrow k[x_0, \dotsc, x_n]$ given by $$ \theta ( y_\nu ) := x^{\nu_0}_0 \cdots x^{\nu_n}_n $$ and we know that ${\mathrm{ker}}~\theta$ is the ideal of the $d$-uple embedding, i.e., $\rho_d({\mathbb{P}}^n) = Z({\mathrm{ker}}~\theta)$ (cf. Exercise I.2.12 Hartshorne). Now let $W \leq k[y_\nu : \nu \in \Delta]$ denote the ideal $$ W := \Big\langle y_{\tau_1} y_{\tau_2} - y_{\tau^{\prime}_1} y_{\tau^{\prime}_2} ~:~ \tau_1, \tau_2, \tau^{\prime}_1, \tau^{\prime}_2 \in \Delta, \tau_1 + \tau_2 = \tau^{\prime}_1 + \tau^{\prime}_2 \Big\rangle $$ Clearly, $W \subseteq {\mathrm{ker}}~\theta$. Using the lemma in the above link, we need to produce a $k$-subspace $T \subseteq k[y_\nu : \nu \in \Delta]$ with the conditions $$ T + W = k[y_\nu : \nu \in \Delta], \hspace{.2in} \theta \lvert_{T} = {\mathrm{injective}} $$ After a few thoughts it seems reasonable to think of the following subspace as a candidate for $T$: First define the equivalence relation on $\Delta \times \Delta$ given by $(\tau_1, \tau_2) \sim (\tau^{\prime}_1, \tau^{\prime}_2)$ if $\tau_1 + \tau_2 = \tau^{\prime}_1 + \tau^{\prime}_2$. Let $\Omega \subseteq \Delta \times \Delta$ be a subset with a unique representative from each class of $\sim$. Now let $T$ be the $k$-span of the monomials $y^{\alpha_1}_{\tau_1} \dotsc y^{\alpha_r}_{\tau_r}$ (with the distinct elements $\tau_1, \dotsc, \tau_r \in \Delta$ and $\alpha_1, \dotsc, \alpha_r \geq 1$) such that $(\tau_i, \tau_j) \in \Omega$ for each $i \neq j$. Clearly, $\theta$ is injective if restricted to $T$. I got lost in the step : Each monomial $M$ of $k[y_\nu : \nu \in \Delta]$ satisfy $M \equiv b$ mod $W$ for some $b \in T$. Did I do anything wrong? stop Ipod from asking for old Apple ID password I remember reading this book back in late 90's. It is about a slave that gathers some friends and goes into a desert to find/fight a dragon. There is also a revolt/uprising in the slaves' home town. I can't remember if this is a single book or a trilogy.  I think the rulers were called Sorcerer-lords or Sorcerer-Kings. And I remember one character was called Boris or Borys.