In fact, I have tried all methods to fix the table position, but it goes after a section knowing that this table must be before the section, here is the code:  \begin{table}[!htbp] \centering \caption{title} \begin{tabular}{@{} c@{\hskip 0.25in} c@{\hskip 1.5in} c@{\hskip 0.25in} c  @{}} \toprule  Parameters &amp; Value &amp; Parameters &amp; Value   \\ \midrule $f^{*}(Hz)$ &amp; 50 &amp; $ X $ &amp; 1.61 \\  \\  $E^{*}(V)$ &amp; 220 &amp; $ Y $ &amp; 1.61\\ \\  \bottomrule \end{tabular} \end{table}   How can I solve this problem
I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code:  \begin{figure}[ht] \begin{center} \advance\leftskip-3cm \advance\rightskip-3cm \includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \caption{} \label{visina8} \end{center}\end{figure}   to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?
Is it possible for test error to be lower than training error Is it possible to have test error lower than training error?  I have a classification problem with 2000 samples, 500 of which are positives, 1500 are negatives. I split my data into 70% training data, 30% test data.  Run random forest with 200 estimators and cv=10. I did this several times and compared the recall and precision score and notice the scores for my test set is significantly better. Is this possible? Comparison between integrals Let's say - $F(x) &gt; G(x)$ for all $x$ in $E$.  So is it true that ?  $$\int F(x)\,dx  &gt; \int G(x)\,dx$$ or I can use this statement only when the two functions are non-negative functions.  Thanks! "If I would have lost you" vs "If I had lost you" I watched a (Hollywood?) film the other day where a character visiting his just-hospitalised wife (who it seems will actually survive) says "If I would have lost you [I don't know what I'd do]".  I'd always thought this was an error made by non-native speakers (I myself would only expect "If I had lost you"), but there was nothing to suggest that in the movie. Is it a regionalism?  EDIT: Actually, that wasn't true about only expecting "If I had lost you". I'd have been perfectly happy with "If I'd have lost you", so long as I didn't think too hard about what was being elided. I'd usually elide "have" there to just a schwa (neutral vowel) anyway, and think no more about it. Is there a way of creating a filesystem object akin to this:  mknod files p cat file1 file2 ... fileN &gt; files   but such that it can be seeked in, as if it were a regular file? When I render a page using the Django template renderer, I can pass in a dictionary variable containing various values to manipulate them in the page using {{ myVar }}.  Is there a way to access the same variable in Javascript (perhaps using the DOM, I don't know how Django makes the variables accessible)? I want to be able to lookup details using an AJAX lookup based on the values contained in the variables passed in. Deriving even odd function expressions What is the logic/thinking process behind deriving an expression for even and odd functions in terms of $f(x)$ and $f(-x)$?  I've been pondering about it for a few hours now, and I'm still not sure how one proceeds from the properties of even and odd functions to derive: $$\begin{align*} E(x) &amp;= \frac{f(x) + f(-x)}{2}\\ O(x) &amp;= \frac{f(x) - f(-x)}{2} \end{align*}$$ What is the logic and thought process from using the respective even and odd properties, $$\begin{align*} f(-x) &amp;= f(x)\\    f(-x) &amp;= -f(x) \end{align*}$$   to derive $E(x)$ and $O(x)$?    The best I get to is: For even: $f(x)-f(-x)=0$ and for odd: $f(x)+f(-x)=0$  Given the definition of $E(x)$ and $O(x)$, it makes a lot of sense (hindsight usually is) but starting from just the properties. Wow, I feel I'm missing something crucial. Press-and-hold or Long-Press Gestures: Unintuitive? Often, I find people struggle with the usage of press-and-hold gestures on mobile/web platforms. The mere thought of having a user press on a defined object and hold for an arbitrary amount of time before the product reacts seems overtly complicated and unobtrusive. My questions are:   For what use cases do press-and-hold gestures best fit? Have there been published studies with regards to press-and-hold gesture intuition? Are there more viable alternatives to this system? Sign of the vector (especially $g$) while calculating I'm a high school student and I'm studying Newton's second Law. While my teacher is calculating a net force of an object he always treat all vectors as positive numbers. I think what he meant is the magnitude of the vector which is always positive, but the problem is that he didn't use the magnitude symbol, for example like $||Fg||$. He said the acceleration due to gravity , g, is positive, but shouldn't it be negative since it is pointing down. This also cause a problem: every time when I calculate the net force I can't add all forces together, instead I need to choose to use minus sign when the vector is pointing down. So in general which way is correct? I wrote a Table Valued Function in Microsoft SQL Server 2008 to take a comma delimited column in a database to spit out separate rows for each value.  Ex: "one,two,three,four" would return a new table with only one column containing the following values:  one two three four   Does this code look error prone to you guys? When I test it with   SELECT * FROM utvf_Split('one,two,three,four',',')    it just runs forever and never returns anything. This is getting really disheartening especially since there are no built in split functions on MSSQL server (WHY WHY WHY?!) and all the similar functions I've found on the web are absolute trash or simply irrelevant to what I'm trying to do.  Here is the function:  USE *myDBname* GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER FUNCTION [dbo].[utvf_SPlit] (@String VARCHAR(MAX), @delimiter CHAR)  RETURNS @SplitValues TABLE (     Asset_ID VARCHAR(MAX) NOT NULL )  AS BEGIN             DECLARE @FoundIndex INT             DECLARE @ReturnValue VARCHAR(MAX)              SET @FoundIndex = CHARINDEX(@delimiter, @String)              WHILE (@FoundIndex &lt;&gt; 0)             BEGIN                   DECLARE @NextFoundIndex INT                   SET @NextFoundIndex = CHARINDEX(@delimiter, @String, @FoundIndex+1)                   SET @ReturnValue = SUBSTRING(@String, @FoundIndex,@NextFoundIndex-@FoundIndex)                   SET @FoundIndex = CHARINDEX(@delimiter, @String)                   INSERT @SplitValues (Asset_ID) VALUES (@ReturnValue)             END              RETURN END What is the recommended way to empty a SSD? I've just received my new SSD since the old one died. This Intel 320 SSD supports TRIM. For testing purposes, my dealer put Windows on it, but I want to get rid of this and install Kubuntu on it.  It does not have to be a "secure wipe", I just need the empty the disk in the most healthy way. I believe that dd if=/dev/zero of=/dev/sda just fills the blocks with zeroes and thereby taking another write (correct me if I'm wrong).  I've seen the answer , but it looks like it's suited for clearing empty blocks, not wiping the disk.  hdparm seems to be the program to do it, but I'm not sure if it clears the disk OR cleans empty blocks. From its manual page:     --trim-sector-ranges           For  Solid State Drives (SSDs).  EXCEPTIONALLY DANGEROUS. DO NOT           USE THIS OPTION!!  Tells the drive firmware to discard  unneeded           data  sectors,  destroying  any  data that may have been present           within them.  This makes those sectors available  for  immediate           use  by  the firmware's garbage collection mechanism, to improve           scheduling for wear-leveling of the flash  media.   This  option           expects  one  or  more  sector range pairs immediately after the           option: an LBA starting address, a colon, and  a  sector  count,           with no intervening spaces.  EXCEPTIONALLY DANGEROUS. DO NOT USE           THIS OPTION!!              E.g.  hdparm --trim-sector-ranges 1000:4 7894:16 /dev/sdz   How can I make all blocks appear as empty using TRIM? Should I mention about my governmental-funded PhD scholarship which I don't want to use This is something I just realised I don't entirely know the answer to, so I'm going to ask it here as I think it's interesting.  In most non-scientific writing on depth of field, diagrams generally show camera and subjects as being perfectly parallel, e.g.    However, is this a more accurate representation of the focal plane?    Are there ways to optically alter the shape of the focal plane?  Note: Obviously these diagrams are two dimensional, but I'm assuming in the second diagram the shape would be spherical with the sensor at the center. Do we say "-1 thing" or "-1 things"?  I am interested in both      two things minus one thing(s)    and      minus/negative one thing(s) Although Ubuntu 16.04 release notes mention that:  The default VIM package has been built against python3 instead of python2.  Yet after I installed vim with the following command:  sudo apt-get install vim   And checked:  vim --version   It showed:  -python -python3   Is it a bug? How do I get vim with Python support? How can I show that $ab \sim \gcd (a,b) {\operatorname{lcm} (a,b)}$ for any $a,b \in R \setminus \{0\}$? Let $R$ be a UFD. Then for any two elements $a,b \in R \setminus \{0\}$ $ab \sim \gcd (a,b){\operatorname{lcm} (a,b)}$.   My attempt :  Let $d = \gcd (a,b)$.Then $d|a$ and $d|b$.Then $\exists x,y \in R$ such that $a = dx$ and $b = dy$.Now it is to be shown that $c = dxy$ is the lcm of $a,b$.Which I find difficulty to show.It is clear that $a|c$ and $b|c$. Now if $u$ is any common multiple of $a$ and $b$.Then $dx|u$ and also since $y|b$ we have $y|u$ i.e. $dxy|u^2$ $\implies c|u^2$.But I have to show $c|u$ to complete the proof which I fail to prove.Please help me to complete the proof.  Thank you in advance. Using a keyboard shortcut to paste text Why is $\omega$ the smallest $\infty$? How to create a meta-package that automatically installs other packages? I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ubuntu-restricted-extras package does? Can we have a red/status tag for "obsolete"? Given the changes that have been rolled out on Meta for the new close hold reasons, we've lost "too localized" here on meta.  However, "too localized" has a genuine use on meta (which is part change management system) to indicate those things which are truly obsolete (as evidenced by the text of the old close reason "refers to a specific point in time").  That said, there are things that are obsolete on meta, but we have no way of indicating that other than an "off topic" closure, which really sends the wrong message.  To mitigate that, I'd like a status-obsolete tag for meta sites which meta diamonds can apply to posts that have been made obsolete by other changes that were made to the system afterward. Text gets stretched or disappears when scrolling When scrolling in the Stack Exchange Android app, the text gets stretched vertically, code disappears, and sometimes the entire post content disappears.  This doesn't make the app completely useless, but it's pretty close.   Motorola Razr MAXX, Android 4.0.4.