How to add floating numbers in java
Is floating point math broken?
How unique is the php session id In The Force Awakens, Finn and Poe steal and escape in a TIE wearing no personal life support apparatus. TIEs have been upgraded with shields, hyperdrives (for "/sf"), weapons etc, but as far as I know they weren't upgraded with built in life support.   Finn and Poe should have frozen and/or suffocated after hitting space in the TIE. In the Rebels series, Sabine did the same thing. I've looked at what Wookieepedia states about the TIE as well as the old video game Star Wars "TIE Fighter".  Does the movie or any other work explain how Poe and Finn survived? SharePoint Current User View using JavaScript What is the difference between building from source and using an install package? I was wondering: when installing something, there's an easy way of double clicking an install executable file, and on the other hand, there is a way of building it from source.   The latter one, downloading a source bundle, is really cumbersome.  But what is the fundamental difference between these two methods? The question I want to ask is related to the answer of this question:  .   My aim is to separate my bibliography into two parts : one part for a personnal bibliography, and a second one for the regular bibliography.  To do that, I use the technique of the post I cited :  \documentclass{article} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage[style=alphabetic,maxnames=6,natbib=true]{biblatex} \bibliography{biblatex-examples}  % Variants of each could be added \newcommand{\firstname}{Donald~E.} \newcommand{\lastname}{Knuth}  \DeclareBibliographyCategory{byname}  \DeclareIndexNameFormat{byname}{% Test could be refined   \ifboolexpr{ test {\ifdefstring{\lastname}{#1}}            and test {\ifdefstring{\firstname}{#3}}               } {\addtocategory{byname}{\thefield{entrykey}}} {}}  \AtDataInput{%   \indexnames[byname]{author}}  \begin{document}  \section{Knuth's books}  \begin{refsection}  \nocite{*}  \printbibliography[category=byname,heading=none]  \end{refsection}  \section{Not Knuth's books}  \printbibliography[notcategory=byname,heading=none] \end{document}   The problem is that only the second bibliography appears, and when I remove the refsection, then all the bibtex entries of my input files are printed, separated as they should.  EDIT: the aim is to have all publications (even the ones not cited) by author knuth in the first section and all the other cited publications in the second one. Help with this query I have a person table. I also have a car table and books table.  The car and book tables both have a foreign key back to person.  I am trying to count the number of books and cars each person has. I tried:  SELECT      Person.Name,      COUNT(BooK.bookid) books,      COUNT(Car.CarId) cars  FROM Person, Book, Car  WHERE Person.ID = Book.PersonID = Car.PersonID    but I get:  Incorrect syntax near '=' Sorting by "hot" - what does it mean and why are the sort option different between the homepage and the questions tab? It has come to my attention that on the homepage on any given SE you can sort by "active", "hot", "week", and "month".  The tooltip says the latter three sort by "most views, answers, and votes" over different periods of time.  So it seems that this is uses a different formula than the "arbitrary hotness points" that create hot network questions.  What is the formula and what is the rationale for using views here, but not in the network hot questions?    Also, what is the rationale for offering such different sorting options between the homepage and the questions tab?  I have been active for ~4 months and never realized there was a sort by hotness option on a different screen (as I have always looked at the questions tab to see what was new) until today. I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy equations, and it seems silly to me to restrict the equations to fit into the same margins as the text when there's all that whitespace going unused on either side.  I'd like to have equations which are wider than the textwidth do the obvious thing, that is, continue to be centered on the page just like all the other equations, and simply extend into both the left and right margin equally. My equations are unnumbered, so there's no concern about where to put equation numbers.  How might I go about implementing this? The editor should be able to convert multi-line blocks to lists Where is .bash_profile? I want to put new aliases to my .bash_profile file, but I cannot find this file. Where is it supposed to be? How to quickly and safely defrost chicken? Opening a file from terminal When we want to open an application or file from the terminal, we type, say,  okular file.dvi   This opens the application, but also shows the status of the application. We cannot close the terminal, because it kills the process. Unfortunately, if you're trying to, for example, create a LaTeX file, you will need one tab for the text editor, one for the dvi file, and so on. And if you're trying to open all windows from the terminal, you can forget it. I'm trying use the terminal as much as possible, and while I have Yakuake, it is still a bother having so many tabs and seeing which of those have an application I've killed and so on.  So, is there a way to open an application/file from the terminal so that the status doesn't show and immediately gives the prompt so that we can use it to open more applications? In this MWE, I want to obtain bold letter for the letter "H" (compare the two "H") :  \documentclass[10 pt]{beamer} \usetheme{default} \usepackage{lmodern} % load a font with all the characters \usepackage{fontspec} \usepackage{cmbright} \SetSymbolFont{largesymbols}{normal}{OMX}{iwona}{m}{n} \usepackage{amsmath}%loads amsmath that should go before unicode-math \usefonttheme{professionalfonts} \defaultfontfeatures{Mapping=tex-text}  % This seems to be important for mapping glyphs properly  \begin{document} \begin{frame} \[ \mbox{First bold H : }\|x\|_{\mathbf{H}},\; \mbox{Second bold H : }\mathbf{H}  \] \end{frame} \end{document}   but I don't know how doing it. THe "H" produced by this MWE is tiny but no bold effect. If I use      \SetSymbolFont{largesymbols}{normal}{OMX}{iwona}{m}{n}   I obtain bold tiny "H" but the font used still not the same. Solving infinite sums with primes. Let $p_n$ denote the $n$'th prime number.  How would one go about proving that infinite products like: $$\prod_{k=1}^\infty1 - \frac{1}{(p_k)^2} = \frac{6}{\pi^2}$$  or  $$\prod_{k=1}^\infty\frac{{p_k}^2}{{p_k}^2 - 1} = \frac{\pi^2}{6}$$ are correct?  Is there any way to prove it except by exhaustion? Prove, in this figure, that $EFGH$ is a parallelogram I know that a gas is made of atoms or molecules moving freely in space.  When these particles hit the walls of where they're kept in they cause something called pressure.  But these particles never pile up on each other and push a surface down by their weight so that we can measure it as weight, not pressure.  So why do gases have weight? I am using Microsoft Visual C++ on Windows and Qt Creator on Ubuntu. I can't change permissions on my flash drive (FAT32), even as root.  How can I change permissions on a FAT32 flash-drive? How do I free up more space in /boot? Do virtual particles actually physically exist? I have heard  pop in and out of existence all the time, most notable being the pairs that pop out beside black holes and while one gets pulled away. But wouldn't this actually violate the conservation of energy? I'm using custom post types, but they don't appear on tag pages along with regular posts and i'd like to include both standard and custom post types on tag or category pages. What would be required before the loop to include all posts? (including custom type). Updated: To add, I found this code , which worked perfectly for the first part: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) {   if ( is_category() || is_tag() &amp;&amp; empty( $query-&gt;query_vars['suppress_filters'] ) ) {     $post_type = get_query_var('post_type');     if($post_type)         $post_type = $post_type;     else         $post_type = array('post','cpt'); // replace cpt to your custom post type     $query-&gt;set('post_type',$post_type);     return $query;     } }  Second question still remains though: Is there a way to allow readers to filter by post type? So either of the following would work..  example.com/tag/blue?post_type=custom example.com/tag/blue?post_type=post