Thejesh GN

A Blog, A Website and A container for all my views with excerpts from technology, travel, films, india, photography, kannada, friends and other interests. I am Thejesh GN. Friends call me Thej

So what am I up to?

Posted by Thejesh GN On May - 16 - 20116 COMMENTS

As you know I quit Infy last month.It took a while to settle down both on work front and at home. Now that I have settled down, here is an update.

If you are wondering, Yes, I am working six days a week now. I am planning to do the same till the end of this year. Hoping to get lot of interesting stuff done this year. Lets see.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

Game of Life with Processing.js

Posted by Thejesh GN On May - 6 - 20118 COMMENTS

hacker emblem I was bored. So I thought of playing Game of Life. I got to know about it through hacker logo which is the glider pattern from the Game of Life. While playing I thought let me code it processing.js. Game of life is a simple game with no interaction involved once you start with the initial seed.
From Wikipedia:
The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1]
The “game” is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:

  1. Any live cell with fewer than two live neighbours dies, as if caused by under-population.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overcrowding.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

The initial pattern constitutes the seed of the system. The first generation is created by applying the above rules simultaneously to every cell in the seed—births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick (in other words, each generation is a pure function of the preceding one). The rules continue to be applied repeatedly to create further generations.

The initial code was borrowed from Ran Tao’s java based program. I rewrote in Javascript version of Processing. Also added player buttons for more control. Also added a way to start with your own seed through it starts with random seed. One more change to the original Life is that you can introduce a living cell while its playing. Just click on the grid. Its kind of against the actual game, but it seemed more fun to me.

Clear it and introduce your own seed using mouse or just intrude, you are God. Go to full page version its more fun. Source code is on GitHub.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

For a project at Janaagraha we need to collect location data. The process needs to be as simple and cost effective as possible. General GPS data collectors are expensive and doesn’t make sense for us to own those single purpose devices. Hence we started looking at mobile phones. We wanted something that can collect the data offline with maps support. Of course Android turned out to be the best bet.

Here are the two mapping applications which we will be using:

The Locus

  • Supports GPX, KML (include styles) and LOC files.
  • Works with multiple mapping platforms (needs to be online for certain maps like Google Maps, Bing Maps)
  • Works with offline maps. The app itself can download the maps for a defined area. The downloaded maps can be shared with other devices. Also supports MBT maps.
  • If you are running a map server, you can add your own custom online maps
  • Can work completely in offline mode for data collection
  • Can’t add custom forms for data collection. The std one can collect Name, Description, Picture, Location, Altitude, Street Address, Category
  • Can do standard GPS logging for trips
  • Add ons are available
  • Both free and paid versions can be used. Available in the market


Maverick

  • Can collect GPS data in KML and GPX format.
  • Works with multiple mapping platforms (needs to be online for certain maps like Google Maps, Bing Maps)
  • Works with offline maps. Use Mobile Atlas Creator to download maps or MAPC2MAPC to convert maps from other formats
  • Can work completely in offline mode for data collection
  • Can’t add custom forms for data collection. The std one can collect Title, Description, Picture, Location
  • UI is clean and easy
  • Can do standard GPS logging for trips
  • Both free and paid versions can be used. Available in the market

We plan to use OSM as the mapping platform for collecting data since it is free and legally allows us to download maps.

There are many Android mobile applications available for extensive data collection like OpenDataKit and UNICEF’s Rapid Android. But since the above applications worked well in my POC studies, I didn’t dig deep into others. Let me know if you have tried anything like this.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

Sorry if its broken

Posted by Thejesh GN On April - 30 - 20118 COMMENTS

Theme updating is in progress :)
The amount of green has reduced, i have tried my best to keep it as much as possible. There are new colors like blue and dark red now. Let me know what do you think.

Still need to be worked on
1. Formatting pages
2. Wiki and wiki breadcrumb
3. Sidebar
4. Need to check all plugins for compatibility
5. Placement of share buttons

Please do let me know if you find anything broken or if you have any suggestions.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

Thank you Infosys

Posted by Thejesh GN On April - 21 - 201120 COMMENTS

I entered Infosys, almost eight years back on Jan/13/2003 to be exact. I dont have to say I was young, I was also energetic and eager to work. Mysore campus is a great place to begin career, three months later returned to Bangalore. Ever since its been a great roller coaster. I worked at Mysore, Bangalore, Chennai, Hyderabad, Milwaukee. Never realized how I finished seven years. Learnt a lot in those seven years. I enjoyed every bit of it.

Infosys

Last year I took a break from work. It was an year well spent volunteering, traveling and meeting outfoscions & entrepreneurs. Some where inside me I knew I couldn’t go back to my nine to six job. I wanted something which offered me flexibility in terms time, technology and thinking. Hence the move.

Ever since I entered Infosys back after my sabbatical. I was dreading this day. How will it be? Cliched but true, I am full of unknown emotions that cant be described. I am going to miss it.

Thank you Infosys. Its been a pleasure. Ciao.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...

Get in touch