Planet Manipal

February 08, 2010

Valentines Day Dilemma

My understanding of gifts are PS3, Asus Ferrari Notebooks, A Fire-steel knife or a BUG gadget fctory. So when some gifts me a spongy heart with a press me sign on it which gives out some monophonic voices when pressed, it makes me go 'Wow I could have never thought of that!!'

Over the last 1 year I have been getting all sorts of gifts, a bamboo plant, a pen stand which has a red headed guy kissing a pink headed female ceramic figurine, a star named after me, scotch tape and balloons too! While i have stuck to the text-book and given things like chocolate, roses, teddy bear and more roses(seriously they are a cheap getaway!). So the other day when I was thinking of buying a gift, I was as blank as a Turbo C NONAME page in a graphics lab. Coming back from classes today I asked a few friends of mine to suggest a few gifts. Well, turns out my friends stay away from girls like a Baba Ramdev from Beauty Parlors, let alone buying them gifts.

Anyway while Im trying to decide between a box of chocolates or a stick with a furry dog on it, valentines is still 6 days away!

Ps. Anyone remotely planning to buy me something, heres a clue http://www.thinkgeek.com/geektoys/warfare/abf5/

February 04, 2010

Alrighty then

Well, the writers block, we all go through it! Anyway moving on.

What makes this post so special that i wake up from my angelic sleep and wonder what Katy Perry would be doing, is the fact that today is 4th february, the day Yasser Arafat took over as chairman of the Palestine Liberation Organization. Yeah like you care!

February 01, 2010

Directi Hackfest – 31st January, 2010


Ever since I learnt how to use git, there has been an urge from within to share my code, look at others and collaborate and develop something useful which everyone else can use. For me, usability is as important as functionality. Both are as equal as the other in general cases.

Rewind

Long back I once asked Abhishek Mishra (ideamonk) if we could meet up and organise a small hackfest. The aim was to let know each other’s project, meet new people, learn new things etc etc. One in these *etc* was to complete our unfinished projects due to lack of time, motivation or even know-how of some of the aspect of a technology. Long back Abhishek and Yuvraj Pandian T (YuviPanda) have collaborated on a project named PyMos which was to generate Mosaic for any image. It was written in Python and works like a charm. Give it a try.

Since me and ideamonk live in Bangalore, having a hacking session being physically present would be better than working online. Abhishek liked the idea and tweeted whether anyone is willing to give us space for this event which has wifi. He instantly got a reply from The Chef of CodeChef and there we had a space in the Directi office. Thanks to all the kewl cool people at Directi with “Hacker Mentality” for supporting us.

Agenda

Abhishek invited his friends for this session and two of them turned up – Ishaan Chattopadhyaya and Rohan Prabhu. Naresh from Directi was waiting for us. When we came in, there wasn’t any plan on what needs to be done, as we expected to work out on a common interest field. Ishaan had to speak on Location Based Search and me on CodeIgniter (PHP Framework). Abhishek had some projects like sahanapy and creating a GUI over apt-offline.

Talks

Till this time I had a feeling that we won’t be working much today since I didn’t knew anyone apart from Abhishek. To learn more, we first had small talks so that we can know each other and their interest of fields. Ishaan talked on Location based search which includes geographical searches like Google Maps. It wasn’t a very exhaustive one, but a pretty nice explanation of what all complexity lies beneath the hood.

At this time, we were total 4 people – me, Abhishek. Rohan, Ishaan and Naresh(Directi)

Then I went to speak on CodeIgniter which is a Framework of PHP. As opposed to what I said earlier, it actually doesn’t look like a framework, since it does not have many of functionality which make a F/W. This is what I explained – why it has only the things which we want, awesome documentation and a dead simple setup. It is just a set of classes which relive you from messing with  lower level functionality. Since it is very simple, there is hardly any overhead with speed. You get only the basic boring things and complicated and interesting things are left to you.

Code

Abhishek showed us apt-offline which is an utility for getting updates, upgrades and packages on a Debian based box which does not have internet connection. The system on which these updates,upgrades and  package download is done can also be windows. Typical situation is you have a very slow or no internet at home, but blazing fast net at workplace. You would be tempted to use office net to download the packages and update your local index, install updates and install packages.

This utility was created by Ritesh Raj Sarraf long back and was just a command line based application. Abhishek had tried it and it works flawlessly. All which was missing was a GUI over it. It first looked like an easy task. Use Qt Designer and drag-drop every control and here we go. This way of development had a big flaw. The GUI developed is no better than the CLI since the clueless non-techies wont understand words like “apt-offline set”, “apt-offline get” etc etc. Even it took me a minute or two to actually get what all these mean.

Rohan can be called a Qt geek. The guy knows each and every class and it’s properties and event etc etc. This made us even more interested since he is always at disposal to help us and teach us more. By this it was pretty late and we were wondering if could do something worthy at that time. Then we decided to work only on UI as of now, make small changes in the core class to accommodate the GUI which is otherwise hard-coded. We had to dive in the code to get better knowledge of how apt-offline works as there is hardly any documentation apart from one written by Ritesh himself.

Conclusion

I don’t have much idea of Qt and this was a good learning curve. I agree that this hackfest didn’t pay off well as we expected. Most of the time we spent in discussing data structures, algorithms, Qt, git etc etc. which was again as usual – AWESOME.

My personal expectations from such sessions is to create some useful software and not just YAXX (Yet Another XX). Functionality, Usability, Accessibility and Documentation – all matters equally. I would also like to slowly slowly move on more tougher and promising things like kernel and filesystem level coding.

Winding up, this is just a start and I have great expectations from these sessions. I would like to again thank the Directi guys and the other people who were supposed to come but were not able to turn up due to their personal commitments.

January 30, 2010

Begining Python workshop

LUG Manipal python workshop

LUG Manipal python workshop poster

LUG Manipal is organising a workshop on python, Workshop is aimed at people interested in beginning programming with python.No programming experience required.

Details are ->
Time: 5:30 pm
Place: NLH 103
Date: 29th JAN to 3rd FEB

PS :- Slides for the workshop are available Begining Python Slides

January 29, 2010

PYTHON WORKSHOP

LUG Manipal is conducting a workshop on python from 29th January. Python is a remarkably powerful and easy to learn, dynamic programming language. No prior experience is needed. We would be starting from the basics.
No Registrations required. Free of Cost.
Bring your laptops along

Python Poster

January 28, 2010

"...Like a Diamond in the Sky"



I remember looking up at the sky when I was a kid and had no idea what the thousands of dots in the sky were. They looked like tiny pin pricks which showed bits of some holy daylight from beyond the otherwise dark night sky. And that was probably the beginning of a four-year old’s fascination for the night sky; the thousands of bright pinpricks –the twinkling little stars. For all of you out there, who feel or have felt even the tiniest of inklings of awe and wonder for the vast dark night sky at some point of time; I’m sure you have your own story to tell.

Throughout man’s existence on the planet, since the time of the early Neanderthal man, he has tried to explain what the sky, the pinpricks meant; what they implied. We had our share of men –astronomers and physicists who strived to solve the mysterious unexplained, right above them in the sky.

Where does it come from? This quest, this need to solve life's mysteries, of the simplest of questions can never be answered. Perhaps we'd be better not looking at all, not delving, and not yearning. But that's not human nature, not the human heart. That is not why we are here.”

We will keep looking. We will keep searching for answers. We will always be awed by the mahakaash. We will keep looking at the constellations, the stars, the planets, the nebulae, the thousands of pinpricks and wonder. And be amazed now, tomorrow, for many many years to come.

***

Men came and went. Theories came and went. Models of the Universe explaining why the night sky is the way it is, were given. Few of them accepted. Even they went. The only thing that stayed the way it was, was the sky and man’s fascination for the unexplained.

For the thousands of bright pinpricks in the sky...



-Pramit