Posts

Experiments with time lapse: Sunrise @ Kanyakumari

Image
Before some months we have visited Kanyakumari. Kanyakumari is the south most end of India, which is covered by three oceans (Bay of bengal, Indian ocean, Arabian sea) from three different sides.We got a chance to experience sunrise. It was awesome experience. Before the sunrise, the sky getting started orange - reddish colour and light orange colour was spreading on the water. I have taken a video from iPhone5 and did some time lapse experiments. Have a look of video below. Please share your views, suggestions in comments.

Today's quote: 29th, July

Image
Remind yourself regularly that you are better than you think you are

Industry 4.0

Image
Before some days I came to know very IoT specific use case. I collected some details from websites and tried to put important things together. The term "Industry 4.0" refers to the fourth industrial revolution. The first industrial revolution was the mechanization of production using water and steam power, it was followed by the second industrial revolution which introduced mass production with the help of electric power, followed by the digital revolution, the use of electronics and IT to further automate production. The term was first used in 2011 at the Hanover Fair.[8] In October 2012 the Working Group on Industry 4.0 chaired by Siegfried Dais ( Robert Bosch GmbH ) and Kagermann (acatech) presented a set of Industry 4.0 implementation recommendations to the German federal government. On 8 April 2013 at the Hanover Fair the final report of the Working Group Industry 4.0 was presented. Characteristic for industrial production in an Industry 4.0 environment ar...

Experiments with Two.js: Getting started

Image
Some basic experiments with two.js . Write in comments if getting stuck in running below example. Lets go step by step. 1. var type defines type of content delivered by the two.js drawing as per request / automatic detection using url.js javascript. var type = /(canvas|webgl)/.test(url.type) ? url.type : 'svg'; 2. Now, we are ready with content type. We can define two.js object using below code. var two = new Two({ type: Two.Types[type], fullscreen: true, autostart: true }).appendTo(document.body); This defines type of the drawing i.e. canvas/webgl. fullscreen behaviour, autostart options and many more things as described here . The last line "appendTo()" decides where our two.js drawing will be rendered. Here, we have taken webpage's body directly to render two.js drawing. <!DOCTYPE html> <html><head> <meta http-equiv="content-type" content=...

4 reasons why I hate WhatsApp for iOS

Image
WhatsApp is most popular internet based chatting application, which is acquired by facebook  recently. I use it more than 100 times a day in my iPhone , but there are some annoying features / loopholes which makes me to hate WhatsApp for iphone and turns my soft corner towards android . Automatic downloading of photos WhatsApp application for iPhone downloads the photos and videos without any instruction and the worst part is it doesn’t have any option to set it. Some intelligent people argue that, there is an option in WhatsApp to turn off automatic savings of media to gallery, but wait… it only prevents photos to be saved in gallery, but still it continues to download automatically and stores into WhatsApp's gallery, which you can access through contact’s “View all media” option. Re-downloading of messages  I don’t know, what’s wrong with iPhone, it shows messages in notification, but when you go to WhatsApp, it ...

Google goes flat and fancy for logo and homepage

Image
Google has reveled new logo and new homepage. Here are how google has gone under change year by year. The last one which is marked as present logo, now converted to past. The new flat look is very flat and simple. Also, it looks like yahoo!'s new logo which was refreshed before some days. Google also changed its popular homepage to new look. Still, the new look and homepage are not reflecting for India users.

Add around advice to servlet in GAE using AspectJ

Image
Today, we will discuss about how to incorporate AspectJ in Google App Engine project. The AspectJ advices will be shown with example code. 1. First of all, download and install Google App Engine plugin for Eclipse. I am using eclipse juno . 2. Install AspectJ package (AJDT-AspectJ Development toolkit) in eclipse using this link . 3. Now, we have to add AspectJ support to Google App Engine. To add AspectJ support, a). Go to lib folder of project and copy-paste two aspectJ library files to it. Download latest aspectj-*.*.* from here . (As of now its aspectj-1.7.2.jar, I am using 1.7.1 version) Download latest aspectjrt.jar from here . Both file just copy paste in shown folder. Don't do it from outside of eclipse. Use eclipse IDE for copy paste. b). Now right click on project and go to configure and select > Convert to AspectJ project. c). Nowthere will be already one default class in GAE project. Sample code is given below.  package com....