Saturday, June 4, 2016

IoT London Roadshow event

Hello,

I have been thinking to put a post on experience in attending the London Intel IOT roadshow event which happened on May 14th and 15th 2016. So here it is.

Srikar and I participated in it. it is a two-day event which started with the challenge of creating an application based on Intel Edison board. We created a machine monitoring application using Edison. 

In short, This application will let you understand what your machine are doing, 
 when they are working, 
 when they aren't and why they aren't. 
This application gives you the data to take control of your production and maximise productivity.


It just supports both old machines and new machines without adding a lot of money to monitoring the machine.

 


We did manage to develop the prototype and made it work before the hackathon deadline. Indeed, we were excited to see the business value of seeing the productivity in the real-time. 

Here comes the interesting part. We did manage to complete the prototype. However, we didn't present the entire solution in less than 3 mins.

Lessons which I've learnt.
1. Even if you have Google's algorithm, if you are not going to present it well in less than 3 minutes. You won't be reaching places.
2. Don't put too many beating around the bush slides. Like motivation, why do we need this slides?
3. Know your teammate's skill set before forming the team. Don't be blind on this.
4. Not always business solutions win. some cool games may win.



Here we have a picture where I gave the presentation. 




You can find entire slideshow in Flick here

P.S. I posted this blog from Mail2Blogger. Just email the post.



Sunday, February 21, 2016

IOT Tech Expo

I had been to the Internet of Things expo which happened in Olympia tech park on Feb 10th and 11th. Intel is the main sponsor for the event. It hosted several different IOT providers from the Europe. It had been a fantastic 2 day event for me personally. 

Hackathon

As a part of the event, they conducted the hackathon from Intel and Microtech. Challenge is to develop a IOT gateway application from Intel and to develop an application using the Microtech link it board from Microtech. Both these streams offered board and Grove kit to work on. Provided grove kit offered a variety of sensors ranging from Light, temperature, vibration, dust and many more.
Here are my Hackaton team members. 
We did an intruder alert system which listens to the sound vibration ,raises the alarm and pushes the notification to the homeowner. We also developed the Stealth monitoring application which plots the graph of light, temperature and sound indicators in the cloud using the Intel’s cloud platform.

IOT world
This event gave a different perception about the IOT world. Having seen the offerings from major IOT providers in the Europe, It seemed that industry has grown immensely in designing the chip with a variety of sensors within few centimetres of the chip. Also, there is a lot of opportunities for application developers to develop the application using these highly sophisticated chips. In next decade, we are hopeful to see a matured IOT industry. However, in the current circumstances, we have a lot of challenges in implementing the IOT applications.
  • Lack of standards: Every manufacturer is having their own standards. The push towards the open standards will make the industry mature.
  • Security: In this world of information, keeping the information safe is a paramount responsibility for all the system owners. The mindset of implementing the MVP for the products and forgetting about the security provides a lot of opportunities for hackers.
  • Security updates: As the industry is growing at rapid pace, products become obsolete in a matter of 6 months time. Old devices are becoming prey to the hackers without the constant security fix.
Any growing industry will face the above challenges. Our human intelligence will address these challenges and make the things happen in near future.

Final Word

House with intelligent lighting control, intelligent windows blind, smart energy management, electronically secured and smart electronic devices are not dreams for the future generations. These high-end smart innovations will be de facto standard in next 10 years. I am highly upbeat about it.

Saturday, January 30, 2016

Amazon AWS fundamentals

I will be sharing the basic concepts around Amazon web service. I believe this will be helpful for the new users who are usually overwhelmed by the array of service choices offered in AWS. We are discussing basic understanding in AWS. Detailed information can be found on their help content.

Storage:

EBS ( Elastic Block Storage):

Disks used for Virtual machines in the AWS cloud. Typical servers has computing power, storage and RAM.
However, in AWS compute and storage are separate.
We need to connect EBS(Storage) to EC2(Compute). We may have many EBS storage in your AWS account. Only, when you connect your EBS to the running instance makes a proper virtual machine.

Disk Performance:

Another key concept in AWS storage is performance of a disk. It is measured in Input Output per second (IOPS)
There are three types of EBS:
  • General purpose SSD ( 3 IOPS;)
  • Provisioned IOPS ( 40 to 200 IOPS)
  • Magnetic (4000 IOPS)
A database or high performance required application has to be hosted in Magnetic EBS volume which delivers better read write speed.

Snapshot

A snapshot can be used as a backup of the EBS volume of an instance. This can be an incremental backup of the data stored in EBS. This can be used to provision a cloned instance.

S3 ( Simple storage service):

S3 is also related to storage in AWS world. However, It is not equivalent to EBS in terms of storage. It allows developer to store objects in the external storage. Static files such as media or a static web site. We have used to store user’s profile picture in S3 and display those pictures in a direct link.
S3 uses bucket concept to store object. Each bucket can be accessible using unique URL. These stored objects can be versioned. Access to these objects is private by default. It can manage complex access control.

Networking:

Security Groups:

Security group is equivalent to configuring the firewall in the server. Security group can be applied to as many as instance as possible. An instance can have many security groups. System admins keep security group per need and they apply according to the needs required. For example, Web server has to serve the content on port 80. So port 80 is opened in the Webserver-security group.
  1. Inbound : E.g for allowing SSH to the server
  2. Outbound : E.g. for exposing the database port to the outside world
When working with changes in security group, it is instant.

Elastic IPs

In AWS, by default dynamic ip address is assigned. For web server hosting and running website, static ip address is required. This can be solved by Elastic IP. Elastic IP can be attached to the running instance and we can map this static IP in MX record in DNS.

How to add volume in the EC2 instance?

  1. Create add volume under EC2 console.
  2. Attach the volume to the running instances.
  3. SSH to the running instance
  4. type dmsg command to see the unknown partition being added.
  5. [584679.841428] blkfront: xvdf: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
    [584679.845533]  xvdf: unknown partition table
    
    This means that partition is available for EC2 instance.
  6. sudo fdisk /dev/xvdf
      
  7. Type ‘p’ to see that there is no partition. ( just to confirm)
    Empty table will be shown if it is empty.
    Command (m for help): n
    Partition type:
       p   primary (0 primary, 0 extended, 4 free)
       e   extended
    Select (default p): p
    Partition number (1-4, default 1): 2
    First sector (2048-4194303, default 2048):
    Using default value 2048
    Last sector, +sectors or +size{K,M,G} (2048-4194303, default 4194303):
    Using default value 4194303
    Command (m for help): p
    Disk /dev/xvdf: 2147 MB, 2147483648 bytes
    255 heads, 63 sectors/track, 261 cylinders, total 4194304 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x213ea459
    Device Boot      Start         End      Blocks   Id  System
    /dev/xvdf2            2048     4194303     2096128   83  Linux
    Command (m for help): w
    The partition table has been altered!
    

  8. Next step is to create the file system on it.
  9.  sudo mkfs -t ext4 /dev/xvdf2 
    
    Here I am passing the -t option for filesystem and my partition
    mke2fs 1.42.9 (4-Feb-2014)
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    131072 inodes, 524032 blocks
    26201 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=536870912
    16 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912
    
    Allocating group tables: done
    Writing inode tables: done
    Creating journal (8192 blocks): done
    Writing superblocks and filesystem accounting information: done
    
  10. Mounting the file system. <code> sudo mkdir /ebsvolume
  11. sudo mount /dev/xvdf2 /ebs_volume
    
  12. Are we done? No. We need to mount this for every boot.
  13. sudo /etc/fstab 
    
    Add the following line in the above file to make the mounting at every boot.
    /dev/xvdf2 /ebs_volume  ext4 defaults,discard 0 0
    
  14. sudo reboot
      
  15. Login in to machine again and enjoy cd’ing in to your volume.

How to add swap space in AWS instances?

Follow 1-5 steps in how to add disk in AWS instances.
  1.  sudo swap /dev/xvdg1
      
  2. Run free command to see the available memory on the server. free
  3. total       used       free     shared    buffers     cached
    Mem:       1016324     171828     844496        372       9712      88128
    -/+ buffers/cache:      73988     942336
    Swap:            0          0          0
    
    This shows swap is 0 and yet to add.
  4. Activate the swap with following command. <code> sudo swap on /dev/xvdg1</code>
  5. Edit the /etc/fstab file to make this swap available on every boot. Add the following line.
  6. /dev/xvdg1 swap  swap defaults 0 0
    
  7. Reboot and Run the free command again to see the swap space activated. Happy swapping!

How to change the timezone in the AWS instances?

  1. All the timezone related information are available in the following directory.
    cd /usr/share/zoneinfo/Greenwich 
      
  2. Edit the system config to change the timezone.
    sudo vi /etc/sysconfig/clock
  3. ZONE=“Greenwich”
    UTC=false 
      
  4. ls -sf /usr/share/zoneinfo/Greenwich /etc/localtime
      

Thursday, January 14, 2016

Hello 2016

Best and exciting year has started. I am not sure what is there for me in the store. I am quite excited and delighted to be in this 2016.
I have become more focussed these days which has been always my most wanted thing. Both professionally and personally, I can say that I have become bit more intense and vibrant.
So here is my resolutions and areas where I am going to work on

Yoga

Yoga has been my top focus. This gave me a lot of invaluable virtues in my life. Going to do yoga all 365 days. I am not sure where the life leads me but I am going to take yoga with me everywhere .

Technology

These days I am wondering about a lot of basics stuff and this leads to deep thoughts and perception about the fundamentals of computer science. Some time back, I was writing my name in binary just to visualise how data is stored in a computer. So, I am going to deepen my understanding of computer science.

Health

I am going to eat healthy food. Also, I am going to run and cycle a lot in this year. Luckily, I have a bike and I take immense joy in taking it to work everyday. I need to write a post on my cycling experience to inspire others.

Travel

Exploration. I am going to travel at least one country in Europe. This is fascinating me. Fancy a Weekend in Spain!

Having a plan is always exciting. Life is best with surprises.
Best is yet to come

Friday, November 6, 2015

Euro Trip 2012!

Having come back from the Euro trip, I wrote memories email to all our fellow tour mates. Today I happened to read that and I felt I should put this in the blog. :-)






Dinesh dineshviswanath@gmail.com

10/12/12

Finally, I pushed myself to write tour experience. Here we go. 

@Dinshaw: We had great trip only because of a cool tour manager. Your musical and instrumental skills added the entertainment quotient to the whole 9 days. Thanks for your entertainment and having your coolness at all the time in organizing it.

@Venu @Naveen: (Part of Mafia's) Such a nice friends to have. Even on the first day of tour we have become so much mingled and lost our differences. The fun we had when taking pictures and Sane Paris Cruise were cherished.

@Vishruth(Action hero), @Joe (Cute Romantic Hero) : Only these two guys made the tour more alive. For me, Vishruth's everyday T-shirt stories were entertaining to listen. 

@Both young ladies from the US: They are absolutely funny young ladies who made us laugh on most occasions with their witty comments. Thanks to both of them for making the whole coach laughs for some time.

@Glyn: Youngest coach driver in the UK(we don’t know). Thanks for your back to back long drive in the last couple of days. Everyone had a nice time talking to you in between the breaks. Many ladies are believing that you are very innocent.(which you aren’t) :-)

@Laughter Club:(To all the people in the club) Laughter sound in between long boredom journey made many of us come to the tour happenings rather than in dreams(long sleeppp). I hope you all had a nice time in having the club in long journeys and late dinner times.

@Caravan Food: 9 days of too good Indian food made everyone grow horizontally. (this is true in my case and thinking to get new fit dress). For us Indians, food is very important one in a day. Even if we have visited the world wonder without a proper Indian food, we would say that tour is not so great. :-)

@All couples and families: It is always great to see the love pouring out from everybody. These couples and families made this to see in our eyes. At least in our 6 bachelors mind, you left the impression that we need to tour with family once again. Thanks for that.

Finally @Chennai Mafia's: Usually we don’t harm anybody by singing songs. Since nobody came forward to do, we pushed ourselves in trying the things which we aren’t good at under the leadership of our great mastermind JK (this is true). I personally enjoyed singing before you guys on the final day. Thanks for bearing that....
Highlighting Moments:

@Naveen - Holds the record for taking most Solo snaps in the whole Euro Trip

@Venu - Achieved his long itching dream on Top of Paris tower. (Only 75% achieved)(To know what he has achieved check out his facebook albums)

"Nakka mukka and Oola la" - have become the most repeated utterance in the whole 9 days

@JK - Most wanted/famous person in the tour(as always he does)
The last person has to sing - Everyone feared for this rule than any other punishment.

Most watched movie in tour: 3 idiots

So going forward… We have a great weekend ahead; you can do any of the things which are possible for you.
1.       Share your little tour experiences with us.
2.       Update your tour albums and send to your friends to see (I would love)
3.       Write a blog post (if you are used to)
4.       At the least an acknowledge mail 

Our memories are always elusive unless you pay attention and capture it.  

Personally, I had a great time and made more true friends. Bye Bye 

Best time to be alive!

It has been really overwhelming to write this time as a lot of fortunate things have happened in recent times. I moved to London this September and started working in East London, Shoreditch.



I get a chance to see and live in beautiful London every day and experience the busy city. High skyscrapers, train in the drain, stunning wall paintings in East London, famous historic landmarks, scenic banks and peaceful river Thames.




Londoners are always seen by me as an inspiration and motivation for the life. When I travel in the underground train every day, I admire its engineering effort and I could think hardship they had gone through to make this outstanding transport infrastructure. Those who had made this happen are real visionaries who had envisioned future and created this. I am fortunate to travel in this everyday. Underground makes the city of London proud given the fact it has been in service for over 150 years.


A lot of best things are happening around us. I don't want to be like a blind man to the goodness around me. Let us celebrate the best things and invite more of it. It is the best time to alive!

Tuesday, June 2, 2015

I wish I am

I was good
I was rubbish
I was good and rubbish at the same time
When time came, I was neither the good nor the rubbish
Now,
I am life
I am truth
I am life and truth at the same time
I am the both and I am the one
I wish I am always this one