Why doesn't Math.Round return an int?
Why does Math.Floor(Double) return a value of type Double?
I have what is probably a simple question, but it is baffling me right now, so I am hoping you can help me out.  I have a least squares regression model, with one independent variable and one dependent variable. The relationship is not significant. Now I add a second independent variable. Now the relationship between the first independent variable and the dependent variable becomes significant.  How does this work? This is probably demonstrating some issue with my understanding, but to me, but I do not see how adding this second independent variable can make the first significant. power outage/frozen meat We were on vacation for a week. The neighbor said we were out of power the whole time.  We have a chest freezer full of beef. It thawed but remained in the freezer unopened the whole time. Is the meat bad if it is thawed but still cold? Can we refreeze it and eat it? When do "per day" spell-like abilities recover in 3rd edition? I've recently changed to the new Minecraft launcher, and I have noticed a change in the .minecraft folder layout. I can no longer install mods just by copying it over into the versions/1.6.1 jar file, as this file refreshes every time it is launched.  For those who don't know what I am talking about, here is the new layout:    I am specifically trying to install Optifine, which does work with 1.6.1. Where do I drag in the mod files now? I can't seem to find a jar file that is suited to it, except in the version folder, but as I stated above, this refreshes every time.  After copying a recent version and renaming it in the version folder, I get this error in the development console:   Unexpected exception refreshing version list java.lang.IllegalArgumentException: Version '1.6.1' is already tracked     at net.minecraft.launcher.updater.VersionList.addVersion(VersionList.java:91)     at net.minecraft.launcher.updater.LocalVersionList.refreshVersions(LocalVersionList.java:44)     at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:47)     at net.minecraft.launcher.Launcher$2.run(Launcher.java:164)     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)     at java.util.concurrent.FutureTask.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)     at java.lang.Thread.run(Unknown Source) What is the difference between <%# and <%= in ASP.NET MVC? How can I fix an out-of-focus blurred photo in Photoshop? How can I fix this picture?  Somebody else took this picture and well he wasn't able to do it very well, and it's blurred.    I have photoshop I am new to the amsart document class. For some reasons \author (etc..) is not showing after I use \maketitle. This is my tex:  \documentclass[12pt,reqno,a4paper]{amsart}  \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{mathrsfs}  \usepackage{amsthm}  \usepackage{latexsym}  \usepackage{pictexwd} \usepackage{pdftricks} \usepackage{natbib} \usepackage{setspace} \usepackage{color} \usepackage[affil-it]{authblk}  \begin{document}  \title{Temptation, Asymmetric information and Committment}  \author{Mark}  \affil{University of Leicester}  \date{February 2014}  \maketitle  \begin{abstract} To be written \end{abstract}  \section{introduction}  ...  \end{document}   and this is the output:   can anybody help me out? Creating or referencing variables dynamically in Sass Is there something I can add to the preamble of my document such that multiple letters without spacing in a Math environment (such as $NP$) do not have extra spacing between them and are not considered multiple distinct variables? Right now, I have to use $\mathit{NP}$ to prevent any extra spacing, but I feel that it is more natural to add a space between the letters if they are a different variable ($N P$). For example, if I want the multi-letter variable NP, I want to be able to say $NP$ which would automatically be replaced by $\mathit{NP}$. If I want N and P to have the proper inter-variable spacing, I want to do that only when they are separated by a space, like so: $N P$. Is there a way to achieve this? Would it break something that I'm unaware of? Edit: Here's a screenshot that shows what I mean:  So basically, is it possible for line 1 to automatically give me line 3 and for line 2 to give me line 2? How to place a .png texture with transparency over a material I am trying to create a low poly face with a face from a .png file. The issue is I already have material placed for hair and skin, as shown in the picture below.   I have created a .png file with a face which I would like to overlay over the skin material on the front of the head.    All examples I searched so far assume I also want the color of the material from the .png texture.  Update:  I added UVMapping, changed view to texture, made sure one face is on the eye but nothing is displayed..... see image... I don't know what is going on. The "Info" bar on top disappeared and the mouse pointer is misaligned I have a problem with Blenders UI. The "Info" bar on top disappeared and the mouse pointer is misaligned. I reinstalled Blender 2 times, deleted every leftover files  but it still does the same thing. This is in v2.78c. The weird thing is that on the bottom everything works fine. Here are some images: Additive function $T: \mathbb{R} \rightarrow \mathbb{R}$ that is not linear. A function $T:V \rightarrow W$ is additive if $T(x+y) = T(x) + T(y)$ for every $x, y \in V$. Prove that there exists an additive function $T: \mathbb{R} \rightarrow \mathbb{R}$ that is not linear.  My attempt: Let $T$ be the function $T: \mathbb{R}$ (over the field $\mathbb{Q}$) $\rightarrow \mathbb{R}$ (over the field $\mathbb{R}$). The set $\{1, \sqrt{2}\} \subseteq \mathbb{R}$ is linearly independent for the vector space $\mathbb{R}$ over $\mathbb{Q}$. Then, there must exist a linearly independent set $W \subseteq \mathbb{R}$ (over $\mathbb{Q}$) such that $\{1, \sqrt{2}\} \subseteq W \subseteq \text{span}(W) = \mathbb{R}$ (over $\mathbb{Q}$).  I have been told that the function defined as $T(1) = 1$ and $T(w) = 0$ for all $w \in \text{span}(W) \setminus \{1\}$ is additive but not linear, but I cannot see why this is? I can see why it is not linear, clearly $T(\sqrt{2} \cdot 1) = 0$ but $\sqrt{2} T(1) = \sqrt{2}$. But, why is $T$ additive? For example, $T(1+1) = T(2) =0$ but $T(1) + T(1) = 1+1 = 2$? Is there a mistake somewhere? Find $\lim_{x\to 1}\frac{p}{1-x^p}-\frac{q}{1-x^q}$ Find $\lim_{x\to 1}(\frac{p}{1-x^p}-\frac{q}{1-x^q})$    My attempt: I took LCM and applied lhospital but not getting the answer.Please help Split string on spaces in Java, except if between quotes (i.e. treat \"hello world\" as one token) I am an Indian citizen residing in the United States. My wife and I are planning to travel to the UK for a week. We plan to apply for the UK standard visitor visa from the US. I was filling out the application and I have a few questions.   Travel History - The application asks for travel history to the United States, Canada, Australia and New Zealand. Considering that we're resident aliens in the United States, should we consider all the times we've traveled back to the US from India? Travel History - Should we also list out the times we've traveled to India from the US? Cost of the trip - Hypothetically if we plan to spend a total of ~4,000 USD on this trip, should I split up the cost and write down 2,000 USD on my application and 2,000 USD on my wife's application? Income - From what I've read on the forum, my wife must say that "someone else" i.e. me - is paying for her costs and mention my GWF number in the remarks on her application. Would that be sufficient considering that I'll be sending all income documents with my application? Savings - We have joint savings accounts. Should I mention the same amount on both our applications? Posting the documents - Is the up-to-date advice to send all documents in one packet? Or would sending them in separate packets at the same time be better? My thought was to annotate my wife's packet with my GWF number if we were to send them separately. Bank statements - We get e-statements. Would printing those out be enough? Best way to simulate "group by" from bash? How many individual lights can an arduino control I want to use a regular Arduino board to control LEDs - what is the most lights I can control individually from the board?  Is there a tutorial on how to hook it up? Not able to calculate sum of multiple column where file data in different format .csv I have a scenario where i want to calculate sum of column   SAL|CAL|TAG|VAL 12.11"|"1.1"|"2.1"|"1.1 13.11"|"1.1"|"2.2"|"2.2 14.11"|"1.1"|"2.4"|"2.4   My below code not giving output giving output as 0.00  I need output for this column CAL VAL  awk -F'|' '{T+=$2} END { printf "%.2f\n", T }' demo.txt   output :  6.7 5.7 Short circuit or disconnect to bypass a compressor I have an Altec Lansing ATP3 2.1 audio system PCB which I reverse-engineered, and I would like to bypass the JFET compressor that's on it. Its active components are a JFET and four op-amps. I will connect the input to the output so it gets forwarded to the next stage.  My question is: should I disconnect the input and output from the compressor (in that case should I remove power supply as well, which would be very annoying), or can I leave it connected but short-circuited?  The block I want to short-circuit is the pink one on the left.    I realize the image is very small. The sound comes in on the right, in the green box. In the middle yellow box there's some trebble/volume/bass control. The small green box on its left merges the left and right channels to forward it to the subwoofer section, which is the complete left half of this diagram (except the red box on the left, which is just power). Signal then goes through a low-pass, a small equalizer and a compressor (the big purple box). It finally gets amplified in the brown power amp. Numlock turned on on boot-up I have a desktop running ubuntu 10.04  I want numlock to be turned on initially.  What do I have to change to accomplish this?  ~~edit~~  I checked in my BIOS.  It was already set up to have the numlock turned on initially.  Yet it isn't being turned on initially.  I have a USB keyboard: would that break this functionality?   Or, should I ask elsewhere (superuser, perhaps) about how to get that BOIS setting working properly?