Posts Categorized: Tech

about.me logo

App Idea — About.Me

Posted by & filed under , , , .

I have been using for a while the about.me website and their mobile app Intro by about.me. (I use an Android phone, and as such I am supplying here the link to the Google Play appstore, however I’m sure they have an iOS one too you’ll have to search in the App Store for it.) For […]

Java Map and Subtleties of getOrDefault vs computeIfAbsent

Posted by & filed under , .

I wrote recently about the new niceties in the Map interface that Java 8 brought to light where I’m highlighting in particular 2 new methods: getOrDefault and computeIfAbsent (see my previous post here about it). These provide a cleaner (and as it turns out faster too!) way of retrieving values from a Map instance. However, […]

Java 8 — Map and the Unknown “Niceties”

Posted by & filed under , .

Despite Java 9 making its way into the real world nowadays, I see a lot of Java code out there still relying on the old-style Java 6-like syntax. And I’m not talking about the usage of lambda’s, stream’s and the likes, but rather some of the improvements Java 8 brought to existing classes in the […]

Netflix Nebula Gradle Plugin and project.version

Posted by & filed under , .

If you use the Netflix OSS Nebula plugin in gradle and you use it for automatic versioning, incrementals etc then you will come across this at some point. (And in the case that some of you have already encountered this, I have to ask why did you not write the blog post I needed when […]

Managing Project Dependencies with Gradle

Posted by & filed under , , .

This is a set of slides that I’ve put together to showcase how we use Gradle in Netflix Ads Engineering to help with dependency management. It goes through multi-module project vs separate Gradle project per module, using properties file with Gradle to specify dependency versions and also how to use the Nebula gradle-dependency-lock to lock […]

Please Stop Using Thread.sleep() in Java!

Posted by & filed under , , .

Ok, I need a good moan about this to the extent that it deserves its own blog post, but I had it with the bloody Thread.sleep() method in Java! I know it was the only way to “sleep” back in the day but seriously, but seriously, we have TimeUnit since JDK 1.5 — and nowadays […]

Issue with Jersey Multipart Libraries: Missing start boundary

Posted by & filed under , .

This one had me pulling my hairs off and going crazy trying to figure it out so I thought it deserves a space on my blog 🙂 While it’s what it looks like a small fix, it turned out to be a b**ch in terms of googling for an answer as whatever combination of search […]

Frantic WordPress Theme — Update

Posted by & filed under , , .

OK, so I’ve decided perhaps it’s time I give my blog’s look a refresh. I looked around and found this WordPress theme called Frantic on WordPress theme website: https://wordpress.org/themes/frantic/. It had the right look I was after but was missing one tiny thing — a “footer sidebar”. Previously I was using the Intrepidity WordPress theme […]