02 December 2017 5 minutes

Best Hardware for Custom Android ROM Development

Written by Ashraff Hathibelagal
  Development

Building Android from its source code is not for everyone. Why? Because it requires tons of patience and ungodly amounts of memory and processing power. Are you aware that the AOSP repository is, as of winter 2017, at least 31 GB. And did you know that the output of the build process is almost 8-9 GB? Well, now you do. So, do you think a run-of-the-mill laptop will be able to handle that kind of load? Let's answer that question a little while later...

Read more »
01 December 2017 15 minutes

How to Create a Custom Lock Screen for Android (Part I)

Written by Ashraff Hathibelagal
  Programming

The lock screens you find on Google Play, such as Microsoft's Next Lock Screen, are not true lock screens. They are just apps that look like lock screens. Now don't get me wrong. They are very useful productivity apps, providing lots of short cuts and quick info widgets. The problem is that they don't offer any real security...

Read more »
26 November 2017 2 minutes

The Pros and Cons of Using Flutter for Android App Development

Written by Ashraff Hathibelagal
  Programming

Flutter is a rather unique app development framework from Google. It lets you use the Dart programming language--a very easy language for anyone who knows Java already--to create apps whose performance is identical to that of native apps. Should you use it develop your next big app? Well, to help you make that decision, let me talk about some of its pros and cons now...

Read more »
02 September 2017 5 minutes

Create a Personal Online Clipboard Using Webtask.io

Written by Ashraff Hathibelagal
  Programming

If you don't already know, webtask.io is a cool new platform that offers an online NodeJS environment for your apps. Most developers use it to add simple serverside functionality to websites they've hosted on static hosting services, such as Firebase, Gitlab, and Github. With a little bit of creativity though, there's a lot more one can do with webtask.io...

Read more »
27 June 2017 10 minutes

How to Use VLC Media Player API in a C Program

Written by Ashraff Hathibelagal
  Programming

Did you know that the VLC media player has a powerful API you can use in your C programs to add VLC-like capabilities to them? For instance, you could use the API to quickly play any media file, extract meta-data from it, or even extract individual video frames from it. In this tutorial, I'll show you how to create a simple C program that can play an audio file. For the sake of completeness, I'll also show you how to listen to the events generated by the player while it is playing the file...

Read more »
13 June 2017 15 minutes

How to Create an LSTM Recurrent Neural Network Using DL4J

Written by Ashraff Hathibelagal
  Programming

Long short-term memory recurrent neural networks, or LSTM RNNs for short, are neural networks that can memorize and regurgitate sequential data. They've become very popular these days, primarly because they can be used to create bots that can generate articles, stories, music, poems, screenplays - you name it! How? Well, its because a lot of things humans do involve sequences...

Read more »
27 March 2017 15 minutes

How to Create a Reddit Client Using Angular 4.0

Written by Ashraff Hathibelagal
  Programming

This weekend, I decided to give Angular 4.0 a try, and was very happy when I managed to create a rudimentary Reddit client with it in less than 15 minutes. Yes, I was able to effortlessly create a new component, a new service that can asynchronously fetch and process Reddit's JSON data, and use both together in my app. In this tutorial, I show you how I did that...

Read more »
23 March 2017 15 minutes

How to Create Animated Shaders With ShaderToy

Written by Ashraff Hathibelagal
  Programming

ShaderToy is a very handy tool that lets you create shaders inside your browser. It offers an easy-to-use interface where you can type in your GLSL code and watch it run immediately. You can also record your runs as WebM movies and share them on YouTube and other such websites. Creating beautiful graphics with GLSL, however, is not an easy task. In fact, creating even simple geometric shapes involves a good amount of math, and requires a slightly different way of thinking. In this tutorial, I'll show you how to use ShaderToy to create two circles and also animate them...

Read more »
10 March 2017 15 minutes

How to Create Convolutional Neural Networks Using Java and DL4J

Written by Ashraff Hathibelagal
  Programming

Using Deeplearning4j, you can create convolutional neural networks, also referred to as CNNs or ConvNets, in just a few lines of code. If you don't know what a CNN is, for now, just think of it as a feed-forward neural network that is optimized for tasks such as image classification and natural language processing. In this short tutorial, I'm going to show you how to create a simple CNN and train it using the CIFAR-10 dataset, a very popular dataset that has thousands of labeled images...

Read more »
16 February 2017 10 minutes

How to Create Vue Components Using TypeScript and Vueify

Written by Ashraff Hathibelagal
  Programming

TypeScript has become very popular these days, and I'm sure there are some of you who'd prefer using it while creating Vue components. In this tutorial, I'll show you how to use TypeScript—along with vue-class-component, Browserify, and Vueify—to create a simple Vue 2.x component. Note that we won't be using any starter templates in this tutorial. In fact, we won't be using Vue CLI at all. Instead, we'll install everything we need manually, and also build our project manually. Why? Well, to gain a better understanding of how things work...

Read more »