This article shows you how to correctly build React components in a modular and flexible way such that they can be used with customization across apps and use cases without having to modify the component code.
I recently encountered a subtlety in Go language in how methods exposed by an embedded type are resolved vs. those with the same name defined by the container types depending on whether they are defined on Pointer or Value receivers. A quick trip to the language documentation however helped me understand subtlety and fix the unexpected result I was getting. It left me with a greater appreciation for how different features of the Go Language are designed to interact in cleanly defined manners
This post shows how to hook into an Android Studio's gradle build process to automatically run your own external commands like compiling assets, building JS webapps etc. before compiling the Android app.
A color theme inspired by the beautiful scenary of the Nile riverbank in Egypt
Getting Android Studio (or Eclipse Android Development Tools) to run successfully on 64-bit (ie. amd64) installations of the newer Ubuntu (or underlying Debian) distributions like Trusty Thar (14.04) is not straightforward. As Android build-tools are actually 32-bit programs linked to 32-bit libraries that are not installed by default, build often fails on first installation. Unfortunately, most advise that shows up on a Google search is outdated and recommends installing the ia32-libs package which is no longer supported from Ubuntu 13.10 Saucy onwards. This article shows you how to use multiarch support to install the necessary 32-bit libraries to make Anrdoid builds work on an amd64 installation of newer versions Ubuntu.
GoAniGiffy is a small utility written in the Go Programming language to create animated GIFs from a set of alphabetically sorted image files (eg. video frames extracted as JPEGs with MPlayer or VLC) with support for basic image editing operations like cropping, scaling, rotation & flip. Scaling & Downsampling the images for creating the GIF are performed with high quality algorithms to ensure the colors of the video are of good quality
The high price to capacity ratios of Solid State Drives (SSDs) and the use of small capacity SSDs in Chromebooks mean that drive compression could be attractive solutiosn once again. This article focuses on how to use the simplest compression alternative, FuseCompress on Ubuntu.
ArdGrafix6100 is a fast and full-featured graphics library for interfacing the Nokia 6100 color graphics LCD with Arduino. It uses hardware SPI & block write features to boost graphics performance & supports advanced features like proportional fonts in a tiny RAM footprint.
FullScreenWrapper2 is an Android Python GUI Framework for developing full screen User Interfaces using Scripting Layer for Android (SL4A) and Python for Android (Py4A). It abstracts away the SL4A FullScreen API while providing simplified layout loading and pythonic access to properties & events of the layout
The ubiquitous Hello world programs in programming tutorials are not very insightful in our modern web-centric era. In this post, we implement simple HTTP web servers that serve up a Hello World response in Python & Go languages. We will use functions from just the standard library to get a feel for the relative strengths of the language.
A short introduction about myself