NeoFisherism without rational expectations

Is the Fed's "zero-interest-rate policy" (ZIRP) inflationary or deflationary? You'd think that macroeconomists would have a straight answer for such a simple question. But we don't. As usual, the answer seems to depend on things.Someone once joked that an economist is someone who sees something work...

How to copy a folder from jboss deployment to your local machine

The code below will copy a folder from a deployed application in jboss to a local folder in your machine. This is useful if you want to deploy something, perhaps a set of configuration files on your local machine on deployment. File destinationDir = new File(destinationFolder);if (!destinationDir.exists())...

How to download a file from the server using javaEE

The following snippet will accept a filename in the server's directory, set it as the content of the FacesContext for the user to download.public String downloadXMLInvoice(String fileName) { File file = new File(getXmlInvoiceDir().getAbsolutePath() + File.separator + fileName); try { FacesContext...

Subjective explainer: gun debate in the US

In the wake of the tragic events in Roseburg, I decided to briefly return to the topic of looking at the US culture from the perspective of a person born in Europe. In particular, I wanted to circle back to the topic of firearms.Contrary to popular beliefs, the United States has witnessed a dramatic...