Self-Taught IT?

I love the premise of this article: Just because you are a Self-Taught Developer/IT Guy doesn’t make you any less authentic in your field than someone with a BS or an MS.

Planning vs. Acting is procrastination.  Just go after it.

via @DZone: 

With the high cost and low quality of College courses these days, it has surpassed the threshold of not being with the value it once offered.


IntelliJ, Java 8 Refactoring, and Lambda/Stream Performance

My Twitter feed served up this delicious blog:

IntelliJ IDEA Inspection Settings for Java 8 Refactoring

My shop is using IntelliJ and we are converting our Java 6 projects (Inherited from an outsourced vendor 2 years ago) to run on Java 8.  Jetbrains built in some great IDE functionality every developer needs to check-out.

That also generated this question to mind: what about performance?  Lambdas and the Stream API make the code oh-so awesome to read, but is it efficient compared to verbose Java?  I found this nifty blog:

Benchmark: How Misusing Streams Can Make Your Code 5 Times Slower

Benchmarks tend to be pretty treacherous and it’s super hard to get it right.

… it showed {Lambdas and Stream API } … can be around 5 times worse {performance}

The operative words here are “misusing” and “can be” … 

Happy Coding

  • Fshtank


IntelliJ importing Maven Project: No Route to Localhost

I will NOT be the only person to encounter this problem.
So here is my quick blog.

Using Intellij on Mac OSX Yosemite 10.10.1:

  • When trying to create a new project from existing maven sources
    the IDE would not switch to the “Select a profile” view.
  • The IDE did not give me a message.  It just wouldn’t advance. This forced me to review the logs

The logs live in :  MacintoshHD ▸ Users ▸ {user-name} ▸ Library ▸ Logs ▸ IntelliJIdea14

I could look at the logs directly through the Finder (open in a text editor) or use the convenient Console application in the application Launchpad.

I was getting this problem:  java.rmi.ConnectIOException: Exception creating connection to: localhost; nested exception is:

It was buried among an unending stack:

2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - IntelliJ IDEA 14.1.3  Build #IU-141.1010.3 
2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - JDK: 1.6.0_65 
2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - VM: Java HotSpot(TM) 64-Bit Server VM 
2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - Vendor: Apple Inc. 
2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - OS: Mac OS X 
2015-07-05 21:40:41,304 [12622480]  ERROR - agnostic.FrequentEventDetector - Last Action: ImportProject 
2015-07-05 21:40:41,314 [12622490]   INFO - agnostic.FrequentEventDetector - Too many events posted
    at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(
    at com.intellij.ide.IdeEventQueue.postEvent(
    at java.awt.EventQueue.invokeLater(
    at javax.swing.SwingUtilities.invokeLater(
    at com.intellij.openapi.application.impl.LaterInvocator.b(
    at com.intellij.openapi.application.impl.LaterInvocator.invokeLater(
    at com.intellij.openapi.application.impl.ModalityInvokatorImpl.invokeLater(
    at com.intellij.openapi.application.impl.ModalityInvokatorImpl.invokeLater(
    at com.intellij.openapi.application.impl.ApplicationImpl.invokeLater(
    at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$
    at java.util.concurrent.Executors$
    at java.util.concurrent.FutureTask$Sync.innerRun(
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    at java.util.concurrent.ThreadPoolExecutor$
2015-07-05 21:40:41,325 [12622501]  ERROR - agnostic.FrequentEventDetector - Too many events posted
    at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(

This problem is driven my maven itself.

Context:  I work for a very large Enterprise with a burdensome amount of rules to access anything either in or out of the network.

Sifting through the code I eventually found the “no route to localhost” error line.

From past experience Maven proxy settings are unable to route to certain internal IPs through the proxy.

I have a “settings.xml” file sitting under my /Users/{user-name}/.m2 directory to enforce usage of certain repos and setting proxy values.  So I had to ensure my <nonProxyHosts> were set correctly:


My initial mistake was using a “,” comma for a separator.  This is not correct for Maven.  It needs a Pipe {“|”}.

I corrected this and my project import problems have been resolved.

Happy coding.

Reference to the maven proxy settings: