I loved the new spread operator of javascript that came with ES6. Basically, it has three dots. You might be…
Turbocharging Java With Parallel Array Sorting
JDK enhancement proposal 103 brings a new way of array sorting which uses the Fork/Join parallelism technique to provide sorting…
Removing items from ArrayList in java 8
As we know ArrayList implementation of List interface store elements in an Array under the hood. Removing elements from ArrayList…
Things to consider before diving into Java Programming Language
I would like to point out a few things first – Java has the largest ecosystem among all the languages.…
The magic word in Java : CAFEBABE
Java compiler compiles a Java Source code into bytecode and stores it in a .class file which is then get…
How to change the brightness of LCD display from command line in Ubuntu
Open your terminal and type this – If you have multiple monitors, you will have output as – here, VGA1…
long/double are not atomic in Java
So I have been reading a lot of texts lately. Java Concurrency in Practice was probably one of the best book…
Custom JSON Deserialization with Jackson
There are times when you want to take a control over the normal flow and you want to do things your own way. This quick tutorial will help to know how to take over control from Jackson json deserialization and write your own deserializer.
Why 1000 == 1000 returns false but 100 == 100 returns true in java?
This is probably one of the well discussed topic, but I found it interesting. if you run the following code-…
New Integer/Long parse method in java 9
I have just got install the Java 9 early access release and started playing around. I know that, this not…
How to find out the number of processor your system has ?
How to read name of the files in some directory and join them using commas ?
Scala does optimize tail recursion at compile time
I just got wowed. Scala does optimize tail recursion at compile time, I didn’t know that. Say I have the…
Java Stream API
I have been using Java Stream API massively these days. So I thought, why not write a short tutorial on…
How to drop all tables in postgresql
Execute following commands:- DROP SCHEMA public CASCADE; CREATE SCHEMA public; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON…
Gradle to maven conversion and vice versa
How to convert maven to gradle The first thing is, you have to install gradle. Its easy. I know you…
How to read call logs programmatically from android
It’s fairly easy. You need add following uses-permission in android manifest to get call history programmatically. That’s all here. And…
How the java code gets executed and performs better?
Please bear with my attempt to inform you a little regarding the execution of Java code. Java’s code is compiled…
Is it necessary to know everything about a programming language before starting to develop an application in it?
I want to build an application in Java that uses Swing, networking and databases (JDBC). However, the catch is that…
Let’s play deep sleep
Do you ever take a train, bus, or cab? Do you ever fall asleep? Do you regularly miss your bus…
Android Layout Property Initializer Plugin for IntelliJ IDEA
Well, the very first version of IntelliJ IDEA plugin that I wrote over the last two nights, is now available…
The 3rd party tools that I use in my every android application
Ormlite for Android Well many of you love ORM (Object rational mapper). It’s just another cool orm tool simply works…
A great place to learn and mingle
The Java User Group Bangladesh (JUGBD) is now formed and successfully finished its 2nd meetup in last week. We are…
Android – Expandable TextView
There are so many thread in Stack overflow for expandable TextVeiw. The idea is, initially the TextView will show a…
How to Remove Duplicate Rows from a Table in SQL Server
Introduction It is obvious that if somehow duplicate rows get inserted into a table, it becomes a major issue to…
Random Thoughts – Caffeine
I’m worried about my personal productivity these days. I am a person who used to spend (maybe waste) time doing…
Programmers Freedom
There is no such thing as true freedom. This is probably a true realization. In my understanding, freedom means, minimizing…
Java Installation in Ubuntu
Method 1 Step 1: download jdk from: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Step 2 : go to downloaded folder using command line terminal…
Executing Linux command from Java
You know Linux commands are always fun. We always play on terminals. How about executing from our favorite language java?…
Check out Birds Puzzle on Google Play
I have got an android app named Birds Puzzle in the android market. It is a kid friendly image slide…