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"

  • 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
    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();
    C= FOREACH ( GROUP B by word ) GENERATE, GROUP  as word, COUNT($1) as ct;
    Dump C;