All Posts

Java subList() gotcha.

Recently I stumbled upon an issue of stuck thread. The thread seemed to be stuck with stack trace something like the one below:- java.util.SubList$1.nextIndex(AbstractList.java:713) java.util.SubList$1.nextIndex(AbstractList.java:713) …Repeated 100s of times… java.util.SubList$1.nextIndex(AbstractList.java:713) java.util.SubList$1.hasNext(AbstractList.java:691) java.util.SubList$1.next(AbstractList.java:695) java.util.SubList$1.next(AbstractList.java:696) …Again repeated 100s of times… java.util.SubList$1.next(AbstractList.java:696) java.util.AbstractList.hashCode(AbstractList.java:526) java.util.Collections$UnmodifiableList.hashCode(Collections.java:1152) org.apache.myfaces.trinidad.util.CollectionUtils$DelegatingCollection.hashCode(CollectionUtils.java:603) … My initial reaction was – huh?! Well googling revealed a blog post […]

Fix very low call volume on OnePlus 3

I recently faced this issue after a recent update on my OnePlus 3. The guide at –¬†http://innov8tiv.com/fix-low-call-volume-oneplus-3t-calls/ is pretty good. However, the “Safe Mode” test failed for me, then next steps was clean with toothbrush. I was very much convinced that my ear piece was pretty clean and anyway I wiped it with cloth many […]

Wifi STB Remote+ (JAVA) for laptop and desktops

My Android App Wifi STB Remote+, which works as a remote for TataSky+ HD Settop boxes, now has a laptop/desktop counterpart. This application is built over Java and packaged as a Jar file. (Download link below.) So, Java (JRE 8 or JDK 8) needs to be installed on the computer where you want to run […]

Displaying a DOM while dragging

First check out the demo below. See the Pen EKeVXZ by Nirupam (@applegrew) on CodePen. There are no drop targets so you won’t be able to drop it anywhere. Code for this directive can be seen on https://github.com/applegrew/drag-dom The basic trick applied by agDragDom, is setting a one pixel transparent gif as the drag image. […]

Facebook’s evil Free Basics

It is hard to appreciate the evil in FB’s “Free Basic”. The simple facts. If and when “Free Basics” becomes very popular, which in all likelihood it will, if government does not ban it, then people will mostly probably stop renewing their mobile data plans. That means they will be able to access only “basic” […]

Important Javascript Fundamentals for OOP Developers

In this guide I have tried to put together all important nuts and bolts of Javascript. I had a really hard time learning JS, since all these parts were scattered over the net. I gradually found them over the years. I hope I have covered all of them. Please let me know in the comments […]

Tracing $scope events in AngularJS

Scope events in AngularJs is very powerful and useful in connecting disparate modules and directives. However, in a complex application things could become complicated and it would become hard to trace which event is triggered when and who act on those events. I wrote a simple event tracer which displays a floating div with logs […]

Using pinned self-signed SSL certificate with Android Volley

Recently for one of my Android apps I wanted to use a self-signed certificate on the server-side. However, if you try to connect to such a server with default settings, the connection is going to be refused. This is because it has been signed by you (your server domain), and ‘you’ is not trusted by […]

Relief Trust India review – It’s a Scam!

I should admit that I donated to them once after a preliminary cross-check. However, it seems I still got fooled. After that they started calling me at any time for more donations, and tried to use their “pressure” tactics. I requested them many times not to call me, but just send me an email. However, […]

Telangana: Pay GHMC Property Tax online

I always used to pay this tax from eseva portal, but now for some reason, this option is no longer available there. Finally I found an alternate place to pay this tax and the convenience fee I was charged (for net banking) was around Rs.5 only. Goto http://www.ghmc.gov.in/ and look for a “Payments” tab then […]

ServiceNow is hiring in India.

Follow the link – http://jobvite.com/m?3QGMngwq

Protected: Bliffoscope – The coding problem

There is no excerpt because this is a protected post.

ADF: Entity-State vs Post-State

There are lots of blog posts on this but all copy and paste the content of EntityImpl javadoc, which is very obscure. I finally found a sensible explanation in Dive into Oracle ADF, but that is usually buried deep in Google results. I will restate the Dive into Oracle ADF post here, and will add […]