How to add 3rd party JARs to Maven project
Add a dependency in Maven
"Out of pocket"? I'm increasingly hearing the phrase "out of pocket" used in America as a colloquialism to mean "away from the office", "unavailable", or "incommunicado".     I apologize for not replying sooner; I have been out of pocket.    What is the etymology of this usage? It always sounds odd to me, since I had previously always associated the phrase with expenses, e.g., "I had to pay for the service out of pocket," meaning, "I had to pay for the service using my own money." Should either of these usages be avoided? What is the extent of their acceptance? If I want to add more RAM to my computer, how can I buy something compatible? What kinds are there? How do I determine which kind my computer will accept and how much I can add? What is the association bonus, and how does it work? I'm writing a shell script for Linux, using Bash, to translate any video-file into a MP4. For that, I'm using avconv with libvorbis for audio.   Inside my script, I have a question for the user :   read -p "- Audio Quality [scale from -2 to 10] ? "     if [ -n "$REPLY" ] ; then     ABITRATE="-aq $REPLY"     fi   My "ABITRATE" string goes into the final avconv command-line.  But I would like to give the user the opportunity to answer that question with a value in Kb (Kilobit), and translate it into the scale that libvorbis uses. The "scale from -2 to 10" is this :   Quality Kbit/s  Normalization -----------------------------  -2      ~32        y  -1      ~48        y   0      ~64        y   1      ~80        y   2      ~96        y   3     ~112        y   4     ~128        n   5     ~160        n   6     ~192        n   7     ~224        n   8     ~256        n   9     ~320        n  10     ~500        n   I would like to know how to check if my $REPLY is in a range of number. For example, I would like my script to do something like this :   if [ $REPLY is a number between 1 and 32 ] ; then   REPLY="-2" elif [ $REPLY is a number between 33 and 48 ] ; then   REPLY="-1" fi   Is this possible (I'm willing to say 'yes of course, shouldn't be hard' but I don't know the syntax to use) ? Sequence of a product of functions in $L^p. L^q$ with $p,q$ conjugate The question is: if $f_i$ is a sequence of functions in $L^p$ converging to $f$ and $g_i$ a sequence in $L^q$ converging to $g$ show that $f_ig_i$ converges to $fg$ in $L^1$ for $p,q$ finite and $\frac{1}{p}+\frac{1}{q}=1$. Does this result hold if $p=1, q=\infty$?  So I think I showed the first part. $||f_ig_i-fg||_1=||f_ig_i-f_ig+f_ig-fg||_1\leq||f_ig_i-f_ig||_1+||f_ig-fg||_1 = ||f_i(g_i-g)||_1+||g(f_i-f)||_1\leq||f_i||_p||g_i-g||_q+||g||_q||f_i-f||_p$   (by Holder's inequality) which goes to $0$ as $i\rightarrow\infty$.  However the second part of the question throws me off because I don't see why this proof doesn't work just as well for $p=1,q=\infty$.  Am I missing something? Does the second part also hold? What item bonuses apply to my follower? There are a lot of different side effects an item can have, and I assume that things like magic find have no influence on any of "our" found items at all.  However, I'm not sure about other things. For example:   Do followers get life-steal on weapons, too? Does increased orb healing make any difference? What about +experience after kills? Will my follower level up faster?   and probably a lot more.  Is there some general rule as to what effects of an item apply to followers, and which don't? Received an email intended for another person I'm not really sure how email routing works, but someone ordered something on Amazon and I received the email instead of them.  Or maybe we both got it, I don't know.  The order doesn't show up in my account, so I'm certain I wasn't charged for it, but I shouldn't be getting other peoples' emails.  We'll say that my email is johndoe1@gmail.com, and somebody who's email is john.doe1@gmail.com places an order on Amazon.  The confirmation email is sent to me at johndoe1@gmail.com.  I checked the email header, and it did say To: john.doe1@gmail.com which is not my email address.  At first I thought that Google ignores periods in email addresses, but I tested the account setup and it doesn't give any error when you put a period in the address.  I didn't create the account; I just used the "check availability" function and the address I chose with a period was fine.  Maybe someone with knowledge about how Email works could tell me why this happened.  Is this a bug in the way Amazon sends emails?  Or is it a bug in how Google receives them?  Who should I report this issue to? How to find string position within another string in C recursively? On my y510p, I set Lenovos battery software to "Optimize battery health" while I was in Windows 8.1. I forgot to change it before overwriting that partition with Ubuntu, and now my battery in Ubuntu never charges past 59~60%. I think this is due to something in the BIOS because it persists despite my Windows partition being gone.   I've searched the BIOS but there's no mention of battery anywhere!  I'm using Ubuntu 14.04 LTS. How do I remove the proprietary ATI drivers? I've installed 11.10 and the proprietary ATI drivers using "additional drivers" The performance of my system is absolutely awful and it shouldn't be. I tried to remove the proprietary drivers using the Additional Drivers tool and it appears to remove them. However after I reboot I cant get back into my desktop properly (the panel and launcher go missing). This doesn't seem to be an isolated problem in 11.XX.  covers how to restore the desktop (panel and launcher), but the guide doesn't fix my problem though.   Whenever I do sudo unity --reset it runs through its normal processes until it hangs at setting update "run_key" and never gets past that. I must reinstall the proprietary drivers using jockey-text or jockey-gtk in order to get back to my proper desktop.   Interestingly enough the system performance seems improved while it is in its "broken" state (missing panel and launcher).  I think restoring the default drivers may solve my problems but I cant figure out how to do it. What happens to matter in a standard model with zero Higgs VEV? Suppose you reset the parameters of the standard model so that the Higgs field average value is zero in the vacuum, what would happen to standard matter?  If the fundamental fermions go from a finite to a zero rest mass, I'm pretty sure that the electrons would fly away from nuclei at the speed of light, leaving positively charged nuclei trying to get away from each other.  Looking at the solution for the Hydrogen atom, I don't see how it would be possible to have atoms with zero rest mass electrons.  What happens to protons and neutrons?  Since only a very small part of the mass of protons and neutrons is the rest mass of the quarks, and since they're flying around in there at relativistic speeds already, and since the nuclear force is so much stronger than the electrical force with an incredible aversion to naked color, would protons and neutrons remain bound assemblages of quarks and virtual gluons?  Would they get a little larger?  A little less massive?  What would happen to nuclei?  Would they stay together?  If the protons and neutrons hold together and their properties change only some, then I might expect the same of nuclei.  Different stable isotopes, different sizes, and different masses, but I would expect there would still be nuclei.  Also the W and Z particles go to zero rest mass.  What does that do to the electroweak interactions?  Does that affect normal stable matter (outside of nuclear decay modes)?  Is the weak force no longer weak?  What happens to the forces overall? Is there a way to monitor an SSD state and predict its failure in case of active read-write usage? As far as I know, the only con against switching to an SSD except its price is the tendency to fail soon (relatively to conventional HDDs) in case used in active read-write operation. Is there an efficient way to predict the failure? What is the reasoning behind limiting "recidivists" to post one question per week? currently restricts recreated accounts to "posting only one question per week..."  I would like to understand why this rate was picked, and not, say, once a day or once a month?  The reason why I ask is that some users limited or banned at Stack Overflow . I expect that learning more about the limitation would help me better understand its impact on Programmers. When should end punctuation go inside quotes? I have been/am being taught that end punctuation should always go inside quotes. For example, you are supposed to write:     Marvin thought it was "awful."   The problem is I do not see how does this make sense. Intuitively, I always wrote:     Marvin thought it was "awful".   as that makes more logical sense — you want a quote to be an exact replication of what somebody else said, so why should you add punctuation inside?  I always thought it made more sense to not touch the quote and add anything after or before if it must be added.  So, why should I put end punctuation inside quotes? Java volatile reference vs. AtomicReference How to delineate watersheds in QGIS? I am using qgis 2.14.17 with ubuntu16. Having as input data a DEM of the region and a river network. In the manual of qgis they suggest to use a toll of qgis: Catchment area (Parallel); I dont have this in my toolbox, anybody made the same experience and could tell me the reason for it and how to get it. It seems to offer the best solution for me.  Tools which are available are from GRASS7 and TauDEM, the latter need much more data it seems. And I am not sure if I am able to create these just out of a DEM? The GRASS7 has one tool r.water.outlet: but here one has to put the outlet coordinates, which clearly I could get out of the river network, but the idea is that they are generated by delineating the watersheds.  Somebody has an idea how to solve it?  I managed now to get SAGA run in the toolbox, nevertheless would be great if somebody could help me with the qgis tool, since it should appear?! Do I lose anything converting to DNG? I'd like to convert all my ARW (Sony) files to DNG for several reasons, but the only thing keeping me back from doing it is the fear of losing useful metadata during the conversion. I know that the image it's self is completely safe during the conversion but what about proprietary maker noteS? Will those stay too? And even if they do, are they actually useful and can be actually used by something other then Sony's own RAW converter?  P.S. I'm using Ubuntu so I'd prefer to use KipiPlugins' DNG converter because from what I understand it does everything the Adobe converter does, but if I'm wrong I can use Adobe's instead.  EDIT:  It looks like the LensID does carry over! With the ARW and the DNG files converted by Kipiplugins' built in converter, info is stored as "Exif.Sony.0x___". With Adobe's official converter, it moves the info to more logically named fields in the XMP, such as "LensID" and "Lens".  Now that I've figured it out, I think I might use Adobe's Official converter, just because I prefer how it reorganizes the Exif Data.  I'm not fully convinced though and I'd like to hear others take on all this. Has anyone used PostgreSQL with PostGIS successfully?   I am a semi-experienced ArcGIS user and want to build out a database and connect it to ArcCatalog.   I've scoured the internet for resources but nobody has really given a good walkthrough. Nested amsmath environments with \newenvironment How to listen my local FM stations in my iphone 4? Like I can listen with my old Nokia phone, without using Internet, GPRS etc.  Is iPhone 4 lacking this facility?  I heard about "Pandora Radio" but it uses the Internet to run and it's also not for Indian FM channels.  In my Nokia Express Music Mobile I can listen my local FM stations without any GPRS, Internet in mobile.