Adding Apache Commons CLI to your Java Project

Posted by & filed under .

I’ve spent enough time dealing with Java programs to see enough ETL’s and other sorts of command-line based apps implemented in Java. And with these sort of programs came with the realization that more often than not developers opt for the “easy” way out and end up implementing command-line parsing by themselves. This seem to […]

Burj Khalifa, Dubai

Thoughts on the Dubai tech ecosystem

Posted by & filed under , .

As some of you know, I’ve spent recently a few months in Dubai. While there, thanks to the friends I made there and thanks to the Endeavor network I came in contact with a lot of local tech companies and startups. The techie in me was very curious about the ecosystem so I had quite […]

API World Conference 2018

Posted by & filed under , , , , .

I’ve tweeted enough about this during the conference itself so you would have seen all of these images before, but if you want a “no subtitles” image-only version here it is — going through the images they actually do tell a story themselves to be fair! Many thanks to Hilton hotel San Jose for hosting […]

network pc monitors

Parallel RxJava and Spock Oddity

Posted by & filed under , .

I use RxJava a lot nowadays — back in the day before I joined Netflix I was struggling with it a bit and mostly watched from the sideline but nowadays I find myself pulling in that dependency in a lot of the Java code I’m writing. And I also use the Spock framework a lot […]

network pc monitors

Interesting Java Jersey + RxJava finding

Posted by & filed under , .

It so happens that in a few of the apps I work on here in Netflix we use Jersey libraries inside a Tomcat container. As such I use the JSR annotations a lot safe in the knowledge that Jersey will take care of all the plumbing work and deal with routing and serialization/deserialization so I […]

iStock_blog write keyboard

Anti-pattern for testing RxJava code

Posted by & filed under , .

This is an obvious one but I find myself so often using it and every single time it means I have to spend extra time debugging my test / code until I realize that I’ve fallen for the same mistake again. I’m using RxJava here and using Groovy and Spock framework for testing — and […]

RxJava: Some Usage of Observable.zip

Posted by & filed under , .

Here’s  classic problem when dealing with a web app: you get a HTTP request to your app with a set of parameters. You need to hit a datastore to retrieve some record based on those parameters. You also need to create a (log?) entry somewhere about receiving this call — whether it’s for monitoring purposes […]