Groovy Goodness: Download Grab Dependencies in IntelliJ IDEA

In our Groovy scripts, we can use the @Grab annotation. With this annotation, we define dependencies for our script and they will be automatically downloaded and added to the classpath when we run our script. When we use IntelliJ IDEA we can use a nice intention that is part of the IntelliJ IDEA Groovy support to download the dependencies from our IDE editor. IDEA downloads the dependencies and adds it to the project module dependencies. This is useful because this will also add code completion for the classes in the dependency to our editor.

Let’s see this with a little example. We have the following Groovy script in our Groovy project in IntelliJ IDEA: https://goo.gl/wGKDcp #DataIntegration #ML

We Are All Using APIs

When I talk to ordinary people about what I do as the API Evangelist, they tend to think APIs don’t have much of anything to do with their world. APIs exist in a realm of startups, technology, and make believe that doesn’t have much to do with their ordinary lives. When trying to make the connection with folks on airplanes, in the hotel lobby, and at the coffee shop, I always resort to the most common API-driven thing in all of our lives–the smartphone. Pulling out my iPhone is the quickest way I can go from zero to API understanding, with almost anyone.

When people ask what an API is, or how it has anything to do with them, I always pull out my iPhone and say that all of the applications on the home page of your mobile phone use APIs to communicate. When you post something to your Facebook wall, you are using the Facebook API. When you publish an image to Instagram, you are using the Instagram API. When you check the balance on your bank account, you are using your banks API. APIs are everywhere. We are all using APIs. We are all impacted by good APIs and bad APIs. Most of the time we just don’t know it and are completely unaware of what is going on behind the curtain that is our smartphones. https://goo.gl/nCj5Bj #DataIntegration #ML