Java Garbage Collector and Reference Objects

Read More
garbagecollection4

Introduction

In this article, we will discuss a few memory management concepts in Java with a heavy focus on the interaction between the Garbage Collector and the different reference objects available.

Continue reading “Java Garbage Collector and Reference Objects”

Java 8 Method Reference

Read More
images

Introduction

In this post, we are going to discuss yet another feature of Java 8: Method References. In a previous post, we explored Lambda expressions and learned how to use them to write better and more compact Java code, especially with the advent of functional interfaces.

Continue reading “Java 8 Method Reference”

Java HashMap Performance

Read More
hashmap

Introduction

HashMap is the most popular implementation of Map interface in Java Collections Framework(JCF). If you want to fully understand the internal workings of HashMap, the best tutorial I have found online is here.

Continue reading “Java HashMap Performance”

Lambda Expressions In Java 8

Read More
download

Introduction

Lambda expressions are the most popular feature of Java 8. They introduce functional programming concepts to Java, which is a completely object-oriented and imperative programming language. How functional programming languages work is beyond the scope of this article, but we will extract a feature that will make the difference obvious for us who work with OOP. Continue reading “Lambda Expressions In Java 8”

Year End Software Engineering Goals, 2016

Read More
capture

Introduction

Today marks precisely 3 months to the end of year 2016. Usually, at such a time, most of us remember that we set new year resolutions at the very beginning of the year and then forgot about all of them for several months. It is no secret that new year resolutions don’t really work for most people because they are set in the heat of the moment during year-end festivities.

Continue reading “Year End Software Engineering Goals, 2016”

Canonical Equivalence In Unicode Pattern Matching

Read More
capture

Introduction

In this article, we will define and explain the term Canonical Equivalence as applied to pattern matching according to the Unicode character specification.

Pattern matching is one of the most common concepts in computer science. Take a look at the Wikipedia definition:

In computer science, pattern matching is the act of checking a given sequence of tokens for the presence of the constituents of some pattern. In contrast to pattern recognition, the match usually has to be exact. The patterns generally have the form of either sequences or tree structures.

Continue reading “Canonical Equivalence In Unicode Pattern Matching”

SBT Fails To See Local Maven Repository

Read More
scala

Introduction

In this article, we will discuss how to make Scala Build Tool (SBT) fetch dependencies from a local maven repository. On windows, the repo is normally located at C:/Users/username/.m2 directory. This post is inspired by a question posted on stackoverflow.

Continue reading “SBT Fails To See Local Maven Repository”

Android/CloudBoost: Push Notifications With JavaSDK and GCM (Google play services)

Read More
android-push-notifications

Overview

CloudBoost has made several new developments to its ecosystem in the past few weeks. Some of which include:

  1. Swagger API documentation: getting your way around the raw REST API for CloudBoost is no trivial task. This is no surprise considering the complexity that has been abstracted away for the developer by this BaaS. This is why there is need for the Software Development Kits in different languages to further hide this complexity. However, for the hackers that want to dig in and inspect Request Bodies and Responses, the Swagger-UI was launched on 15th March,2016.
  2. Swagger Codegen. Extending from the Swagger specification, Continue reading “Android/CloudBoost: Push Notifications With JavaSDK and GCM (Google play services)”

CloudBoost Android File upload and download

Read More
images

What is CloudBoost

CloudBoost is a Database as a Service.  CloudBoost’s primary service is a complete database which provides an API that allows developers to store, query, search, and have real-time data on multiple clients.
CloudBoost is increasingly becoming popular among developers; partly because of the inherent power that it avails to developers and partly because Facebook announced that its own mobile Backend as a Service in the name of Parse will be closing business in early 2017. 

Continue reading “CloudBoost Android File upload and download”