Boost and a look back on C++

These days am a full time Java guy and the last time I coded in C++ was a little over an year ago. It was then I came across Boost library and I had heard that it packed a lot under the 5 letter library BOOST. Even though I haven’t much used Boost, since it is being made part of the C++ standard, I don’t want to be a person who knew legacy C++ and so was always keen to know about Boost.

Read more

Share Comments

The Namesake

One of the best novels i have ever read - The Namesake. Loved it. Awesome work by Jhumpa Lahiri. Following is a quote I have found to be very inspiring “Do yourself a favor. Before it’s too late, without thinking too much about it first, pack a pillow and a blanket and see as much of the world as you can. You will not regret it. One day it will be too late.

Read more

Share Comments

Thiruvananthapuram Life

For almost two years I am living in Thiruvananthapuram(from March 2012 to be exact). And in these past few months I have travelled a lot in and around Thiruvananthapuram. Do I love this place? Yes and No. No? Why? Because this place lacks some sort of energy :( And yes because, there are a lot of places in and around Thiruvananthapuram, that provides some sort of ancient ambience. The backwaters like Muthalapozhi, the old buildings in the locality of Sree Padmanabha Swami Temple, the green hot spots of the city like Museum, Zoo and Kanakakunnu Palace (where I spent a lot of time in the weekends), the cultural hot spots like Nishagandhi Ground, Vyloppilli Samskriti Bhavan and the reader’s paradise - the Trivandrum Public Library (where I am a member and which made me a voracious reader once again) are some spots that I will definitly miss if I leave Thiruvananthapuram.

Read more

Share Comments

Thrown into the ebook bandwagon

Recently I have started reading a lot of books. And by recently, I mean the last two weeks. And these books are not ordinary paperback books, but they are ebooks which I read on my Nexus 7. I never thought I will be reading ebooks - I thought this was just a hype and ebooks can’t just give you that feel that you get while reading a hardcopy of the book, I always thought I will miss the turning of pages, the smell of new books, the look of old books, but alas, I haven’t started to miss much of these!

Read more

Share Comments

I am an INTP

A few days back I took the Myers-Briggs Type Indicator test at this site. It says that I fall in INTP category. From Myers-Briggs website, this is the description: INTPSeek to develop logical explanations for everything that interests them. Theoretical and abstract, interested more in ideas than in social interaction. Quiet, contained, flexible, and adaptable. Have unusual ability to focus in depth to solve problems in their area of interest. Skeptical, sometimes critical, always analytical.

Read more

Share Comments

My New Nexus 7

After what seemed like a long wait, I finally got my own Nexus7 2nd generation. Am now playing with the device and the first impression is IT IS AWESOME! A good friend of mine asked her family who was flying down from the US to get it for me. The device landed last week but I got my hands on it only today as I was on a vacation last week.

Read more

Share Comments

JPA - Part 3

Go to Part 1. Callback Methods When insert, update and delete occurs, we can listen to those events and call some methods when such events occur. Callback methods should be prefixed by following annotations: @PrePersist - called before persist() @PostPersist - called after persist() @PreRemove - called before remove() @PostRemove - called after commit() @PreUpdate - called before commit() @PostUpdate - called after commit()  More than one annotation can applied to a single method.

Read more

Share Comments

JPA - Part 2

This is continued from JPA: part 1. Other Annotations: @Table(name = “TABLENAME”) Used before class name to explicitly specify table name. @Column(name = “COLUMN_NAME”) Used before instance variables to explicitly set column names. Example: @Entity @Table(name = "EMP") public class Employee { @Id @Column(name = "EMP_ID") private int id; @Column(name = "EMP_NAME") private String name; //getters and setters } this maps to Table: EMP

Read more

Share Comments

JPA - Part 1

This post is part of Project Digitisation. I have decided to write about JPA in several posts. This is part 1 of the series. JPA - Java Persistence API JPA is a specification. There are several implementations like Hibernate, TopLink etc. Persisting objects in DB is an integral part of Enterprise applications. JPA provides: ORM (Object Relation Mapping) i.e. it maps an Object to a Relation(Table). An Object which can be mapped is called an Entity JPQL - Java Persistence Query Language Entity classes should be Java beans (POJOs with private variables and public getters and setters).

Read more

Share Comments

Google, Y U NO???

I had been waiting for Google’s new Nexus 7 to be launched in India since it was released in late July. But seems like we Indians have to wait till year end :( I created this meme since I can’t control the feeling any longer! aaahh.. now it feels better! :D ;)

Read more

Share Comments