Tuesday, August 20, 2013

Installing Julia in CentOS



  • Julia
    Programming language

  • Julia is a high-level dynamic programming language designed to address the requirements of high-performance numerical and scientific computing while also being effective for general purpose programming. Wikipedia
    I am getting my hands dirty installing JULIA. After spending more than 4 hours, I have finally installed JULIA on my CentOS 32 bit OS.
    The steps are as follows:
    1) Install Github
    2) Installing Dependencies
    3) Install JULIA
    5) Build JULIA using the make command.
    Basic Steps:

    yum install git
    git clone git://github.com/JuliaLang/julia.git
    Cd Julia/
    Make –C deps getall
    Su root
    Yum install gcc-gfortran
    yum -y install java-1.6.0-openjdk.x86_64 libXp openmotif openmotif22 python.x86_64 numpy* ncurses-devel gcc gcc-c++ autoconf automake
    yum -y groupinstall "Development Tools"
    make
    ./julia




  • Thursday, August 15, 2013

    Food Anyone

    Well i admit it i splurge once a while. After splurging i keep promising myself i wont do it again. Some perks of living alone are that you you can eat what ever hell you like. Unlike most of the people i dislike a lot of things. (HATE is a strong word!! I wont use it :p).
    a) CURD
    b) MILK
    c) KAREALA
    d) BUTTER
    f) ONIONS
    g) SPICY STUFF
    h) OILY STUFF
    my list goes on......
    I recently went to BBQ NATION. There was more than 40 kinds of things to eat. All i did was nibble here and nibble there. Horrible experience. Most of the stuff was either one of the things listed above or NON - VEG.

    All told i regret paying them 800 Rs. ....




    Wednesday, August 14, 2013

    Word Count In Pig

    Figuring out Github. Will post the code there once its done. :)

    A = LOAD 'Nameipfile' using TextLoader();
    B = FOREACH  A GENERATE FLATTEN(TOKENIZE($0)) as word;
    C= FOREACH ( GROUP B by word ) GENERATE, GROUP  as word, COUNT($1) as ct;
    Dump C;

    Monday, July 15, 2013

    WordCloud with Tag @Srisrispeaks

    I have created a Twitter Word Cloud with all tweets having the tag @srisrispeaks.


    Saturday, June 22, 2013

    Hortonworks Certified Apache Hadoop Developer (HCAHD)

    What a feeling i cleared Hortonworks Certified Apache Hadoop Developer (HCAHD).
    Preparation Tips:
    Buy the Definitive Guide
    Read it!
    Make sure you have sufficient hands on and take the practice exam on the website.
    There were some very good questions asked make sure you have your fundas clear.
    With luck i am sure you will ace it! 

    Wednesday, June 19, 2013

    Sri Sri Yoga for Kids








    Hive - Part 2

    .


    Hive was developed by facebook .
    • It is a data warehouse system built on Hadoop.
    • Helps you to define a structure for you massive unstructured data
    • Simplify analysis by using SQL like scripting language.(Hive QL)
    Hive is NOT : 
    1. A Relational Database
    2. Designed for OLTP.
    3. Suited for real time updates  
    Use Cases:
    Ad hoc queries
    Analysis
    Summarization  

    Hive components:
    Hive Clients (Thrift,JDBC,ODBC)
    Hive Services (CLI(Command Line Interface), HWI(Hive web Interface))
    Hive Metastore

    The metastore is the central repository of Hive metadata. The metastore is divided into two pieces: a service and the backing store for the data. By default, the metastore service runs in the same JVM as the Hive service and contains an embedded Derby database instance backed by the local disk. This is called the embedded metastore configuration.

    In Hive Insert statement is used to populate data.
    We can load data to the table from local disk or HDFS.

    Teaching Children

    I have always been inspired by children. Every time i see a child, i see a ray of hope. If my present sucks, i can work harder to make sure kids get better future. Well in fact this is what every parent wants. Some thing is very wrong in our system. Children are being robbed of their innocence and are stressed out. I have recently started taking youth courses for Juvenile Kids. They are no different then other kids.
    Today was my first day.
    While packing up one of the kids i had never spoken to helped me pack my yoga mat. I was touched by his gesture. They asked me if i would come back again to teach them yoga the next day. :) :)
    On weekdays i go for an hour to teach theses kids yoga.
    If you would like to contribute in any capacity please let me know.