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 […]
Posts Categorized: Blogroll
Interesting Java Jersey + RxJava finding
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 […]
Anti-pattern for testing RxJava code
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 […]
About composition and delegation in the Groovy language
When dealing with OOP languages, composition over inheritance has been the preferred approach for a while now as it offers a greater flexibility in most cases. Before you start, I’m not going to get into that dispute whether one should opt for inheritance or not, enough to say that there are cases where composition is […]
Little-known yet useful Java annotation: ConstructorProperties
I’ve discovered this recently while looking into some issues caused by the Jackson libraries in one of my Java applications. If you use Jackson I’m sure you are by now familiar with some of the annotation they supply — such as @JsonProperty and @JsonCreator — and it was dealing with these that got me to […]
Delivering a marketing site in the context of your product
I see this issue popping up ever so often with startups I either work with/for or advise (nowadays) and it’s a valid one and I’ve encountered it often enough that I feel it deserves at least a blog post from me. (Realistically, I can see this growing into a series as there are a lot […]
Netflix Ads Engineering Offsite — 28-June-2017
Sailing in Santa Cruz — woohoo!!!
RxJava: Some Usage of Observable.zip
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 […]
Netflix 100 million members party — San Francisco
So proud to be part of this — and so grateful for such an amazing amazing party! The passport to this exclusive party: The freebies: And the amazing party: The VIP welcome: The amazing city views: and a “Black Mirror” special shoot 🙂 Special thanks to Russel Peters and Maz Jobrani who were hi-la-rious!!!
Using Optional in Java to check for null
I see the need for null in Java still, but since the Optional class was introduced I think some of the usages of null can be eliminated by employing some of the capabilities of the Optional class. I will explain in this post a nice way you can implement checking for null in Java by […]