Sunday Dec 06, 2009

Tweeting from Command line using Python

Woke up at 11 in the morning, brushed my teeth and all...Sat down at my desk to study for the end semester exams tomorrow but did not feel like it...So decided to do something fun..


Twitter is quite popular and people are just dying to join up and tell everyone what they are doing, what they had for breakfast, when they are going shopping and other such 'important' details about their daily life, whether people care to listen or not.  Nevertheless its a good service.


So yeah, coming back to the point. Long ago I had seen this shell script to tweet from the command line. And I have been into Python over the last few days, so decided to cook up one of my own in Python. Given below is the result of my last 20 minutes of work.


Caution: Won't work in windows because it does not have curl. Coming up with a Windows version soon.


 Save the code in a file say 'tweet.py'.To run this do a chmod +x tweet.py and then just type ./tweet.py "Your message" and it will be posted. But before that, you will need to open up the tweet.py file and put in your Twitter username and password in it. Check out the third and second lines from the bottom. That is where your username and password goes, inside the quotes. And you are all set.


#!/usr/bin/python
import sys 

from os import popen

def tweet(user,password,message):
    print 'Hold on there %s....Your message %s is getting posted....' % (message, user)

    url = 'http://twitter.com/statuses/update.xml' 

    curl = 'curl -s -u %s:%s -d status="%s" %s' % (user,password,message,url)

    pipe = popen(curl, 'r')
    print 'Done...awesome'

if __name__ == '__main__':

    if len(sys.argv) != 2:

    print "Usage: tweet.py <message>"

    sys.exit()

    message = sys.argv[1]

    if len(message) > 140:
    print "Message too long"

    sys.exit()


    user = "barneystinson" #put your username inside these quotes

    password = "awesomeness" #put your password inside these quotes
    tweet(user,password,message)

Monday Oct 12, 2009

My first Barcamp...Barcamp Mumbai 6

Cross posted from my personal blog www.itsallpartoftheplan.wordpress.com


Wow. What an experience!

Attended BarCamp Mumbai 6 today at SP Jain Institute of Management and Research (SPJIMR). This was my very first BarCamp and so I was unsure what to expect. I reached the venue at 6 in the morning as I had reached Mumbai early and had nowhere else to go. I had prepared half of my presentation on the bus to Mumbai and wanted to finish the rest provided I get a place to charge my laptop. On finding the gates of SPJIMR closed, I headed off to the Andheri Railway station hoping to find a plug point. Once again I was failed by Mumbai. By now hungry and tired I reached a KFC outlet which had opened at around 7:30, which again could not provide me with a plug point but I did find the next best thing, breakfast and that too, chicken. So I had some breakfast. But I still wanted coffee and a helpful guy at KFC told me that one Barista outlet nearby would be open. So I headed off to Barista for my morning cuppa. However, to my dismay, the outlet was to open only at 9 and I decided to sit outside. By now, having had a nice breakfast, mother nature was giving its call and I had no place where I could go and answer it in solitude. I was however relieved that the Barista outlet opened at half past 8 and I hopped in, dropped my bags (one containing my laptop and the other containing lots of Netbeans and OpenSolaris Cds) and answered mother nature’s call just in the nick of time. Once done and much relieved, I had the best start of my day with two cups of double espresso and proceeded to finish the rest of my presentation. Then I headed to the venue at 10 AM.




I got my session registered and selected a time suitable to me. Then I lay down Cds of Netbeans and OpenSolaris 2009.06 on the floor of one of the auditorium and on a desk at the other so that interested people may collect them. I also kept a bunch of OSUM Laptop stickers for whoever was interested. Soon a horde of people started picking them up and there were some queries coming my way. In all I had kept a hundred Cds in all and by the end of the BarCamp all were taken and many had stuck the OSUM stickers on their laptops. Someone had also brought Ubuntu 5.10 Cds to distribute.


Next was the introduction ceremony where everyone introduced themselves in 30 seconds followed by another chance given to attendees who wanted to take sessions to give a very brief intro about what they are gonna talk about. Then the people who wanted to talk were asked to choose a timing for their talk and mark that time on a board placed outside with a post-it not, in many ways like a physical wiki. The sessions were divided across two halls. The first session I attended was by Manan Kakkar who spoke about the tech blogging scene in India. Some of his tips and ideas were good but I found his tone admonishing and patronizing at times and his idea about tech blogging seemed a bit myopic because of his presumption that all tech blogs only report tech news. This was followed by one on solving Rubik Cube and What History can teach us about prospering in the tech age respectively.


The session that I like most (beside mine of course) was the one of Scaling web apps by Vaibhav Arya of Skenzo as bits of it related to HPC which is my area of interest. Lunch followed and I chatted with Amitabh Jain who was to present a talk on Django Framework to be parallel to mine. He is a techie-turned MBA from IIM-A-turned entrepreneur and techie again. Talking to him again made me think if should reconsider my decision to go for MBA, or should I do a Masters in Comps. Soon after lunch I attended a session on Zopte, a web based dynamic website creation and hosting tool. I wanted to go deeper into it but mine was the next session and hence I was busy re-reading my presentation.


I had realized during the introduction session that the crowd was only party techy and that too relating to web technologies. And my talk on Parallel Application Profiling using Scalasca was strictly cutting edge High Performance Computing. Actually I had wrongly assumed that one must speak of ones original work at a BarCamp and my Scalasca work was the only original worthwhile work I could claim of. Had I known the target audience I would have probably talked on JavaFX or Zembly or FBML. Nevertheless I decided to do my best to talk about HPC, Parallel Apps programming, Profiling and Scalasca in my span of 20 min, hoping to create a world record of sorts. As expected, my session had a little more than a dozen people, most had left after reading the title. Still I decided to give it my best and skipped slides which I knew would be too technical. I had prepared those slides while on the bus and at Barista the next morning, so they weren’t exactly my best creation. I finished up my session fast and was asked quite a few questions and all were on the basics of Parallel Programming and MPI which I tried to answer to the best of my abilities.


I attended one more session and then left as I was tired and wanted to go back to Surat and sleep. Overall it was a great experience. I met school kids, entrepreneurs, professional blogger, coders, a really varied crowd and you could learn something from everyone.Overall an enriching experience. Looking forward for more.


So guys I will call it a day now. Am dead tired, need sleep and my back aches from having sat for nearly 32 hours. Good night.


More photostreams


http://www.flickr.com/photos/49216912@N00/sets/72157622437738567/

http://www.flickr.com/search/?q=bcm6&w=28713479@N00

http://www.facebook.com/album.php?page=1&aid=324009&id=674155580

http://www.flickr.com/photos/37217830@N07/sets/72157622564142670/

Friday Oct 09, 2009

Innovation @ ACM SVNIT

As most you reading this blog might know, I was the Chairperson of the ACM Student Chapter of our college last year. As I am in my final year now, I have resigned and handed over the reigns of the chapter to an enthusiastic group of third year students. I will advising them in the capacity of a Student Mentor and so will Punit Mehta, the ex Vice Chairperson.

Until now the focus of ACM has been in conducting events and imparting knowledge to the students. This year, the junior decided to curtail on such events and instead go on a project drive where a group of students from First (Freshers) and Second (Sophomore) years will be alloted a project and they have to complete it by the end of this year. The will be guided by their seniors in Third (Junior) years.

Being senior students, I and Punit are guiding these students in  their projects. Our job is to look after all the projects and ensure that issues are sorted and deadlines met. The projects are from varied areas like web designing, J2ME, Java apps, Robotics, Image Processing and Linux. I wont go into the details here. Between me and Punit, we have experience in all the areas and yes, the projects were itself decided based on the experience of the people guiding them. A Project Allotment drive was conducted by the current ACM Core Team and projects were assigned.

And today was the first meeting since then.It was held at the canteen.I and Punit talked to the students on what technologies they were required to learn and how to go ahead with it. We gave each team a small task to accomplish by the end of their diwali vacations. Also we would be interacting with them on the ACM SVNIT Mailing list. We have high hopes with these projects.Lets see how things turn up.

BarCamp Mumbai 6

I am attending BarCamp Mumbai 6 at SP Jain Institute of Management on the 11th of October. For the uninitated a BarCamp is a developer unconference. A BarCamp is an ad-hoc unconference born from the desire for people to share and learn in an open environment. It is an intense event with discussions, demos and interaction from attendees.

Starts at 9 AM and ends at 6 PM. I have registered for a session on SCALASCA and the Division algebra that I am working on for SCALASCA.

So be there. :)

Sunday Sep 27, 2009

Awesomeness as I see it

I have been part of various committees and organizations in this college. I was deeply involved with the ACM Chapter as a volunteer, then a Secretary and finally as the Chairperson. One other organization that I have been involved over the last one year is Renesa, the college monthly mouthpiece. I have been the editor of the tech page for over a year after Sunayana quit Renesa (Yes, like in almost everything I followed my Tech mom's (Sunayana) footsteps here too).


The last year we really did not work much. We could not bring out the promised number of issues and never made it on time. I would not blame any particular person or persons for this. It was a collective failure. A failure to understand what Renesa meant to the college, a lack of dedication and enthusiasm. We used to have meetings where some gave ideas but which never got implemented or were implemented poorly. I myself wrote boring articles for the tech page and mostly they were hastily written. Another reason why the editors were not interested in writing good articles was probably the fact that nobody ever read those. People were mostly interested in the college gossip page called "Rumor Mill". The rest of the pages were used for various innovative purposes like tissue paper in the canteen, making kites etc. So that dampened the enthusiasm of the writers. Of course this is not just a fault with the readers, if the content fails to generate interest a large part of fault of course goes to the content writers and planners. In all Renesa had become just another thing that the college does. Just another slightly colorful piece of paper.


Now come to this academic year. A new team was formed with Nijeesh Padmanabhan , Ashwin S, Srividya, Thomas, Swati and Shruti at the helm. Nijeesh is the editorial consultant and chief designer. Ashwin S and Srividya are the chief editors. Thomas along with Swati and Shruti are the impact consultant (btw, do magazines have such designations? ;-) ) . And what was the difference this time? Well these guys had a vision. They really wanted to "Change our world" with Renesa. They wanted it to be platform for people to think, to learn and also have fun. Most importantly, they expected people to read it and love it. Renesa, to these guys, is not a thing that they have to do, it is a responsibility they love to execute. And this is the vision they propagated to the team, specially Nijeesh, Ashwin and Thomas. And motivated they were. Earlier where we had to pester editors to write articles, this time we had an avalanche of articles and most of them very good ones. It was hard to decide which one to print and which one to reject. Our first issue had 33,000 words in 16 pages. To include that many articles, we reduced the font size. Readability suffered because of that and I have assured by Nijeesh that this wont happen again and I take his word for it because he wants his balls intact.


The design too was awesome. Never before did Renesa have so many colours and my respect for Nijeesh's designing skills has risen considerably. We printed Renesa in glossy paper and people loved it. Our editors debated endlessly on what to write, how to write on the Renesa mailing list. In fact, my mailbox received at least 15 Renesa mails a day. Last year there used to be 15 mails per month. We put up a new Renesa site. As of now, the site does not contain much content but we expect usage to pick up. The site is my job so I am thinking of ideas to promote the site. Our alumni read the issue and loved it. We got lot many mails of appreciation from them. Some even circulated the issue among their colleagues and relived their college life through Renesa. Students sent SMSs of appreciation with one even saying that he loved the issue so much that he was afraid to read it, lest it get damaged or wrinkled.


The editors are putting in everything they got. No one calls it work. We call it fun. Some of us are now accused of not having a life beyond Renesa because Renesa constantly crops up in our discussions. Some of the new things that have been included this year are "Jack and Jill" where we publicize about a guy and a gal of our college who have had significant achievements so that others can emulate them, "Reviews" where we have reviewed not just movies and books but also gadgets, restaurants etc, Guest articles by famous people (Shashi Tharoor wrote for the first issue), "Faculty Speak" where we ask a faculty to write, "Walk when you talk" where we interview a member of the college administration and College Band Review where we review the music bands (all Rock bands as of now) of the college. Also the Hindi editors are doing a fine job. And with this month's issue you can expect some really good stuff from them.


All this was good. Now the bad part. Where we went wrong? Well for one the font size was too small. Some people even asked for a free magnifying glass with the issue. There were too many spelling and grammatical errors in the issue. I am sure we can all do with a bit more proof reading.


As for my tech page, I am trying to move it from being a Computers only page to a more general tech page. I want to cover all branches of science and engineering. So suggestions and ideas are welcome.


Do visit our site www.svnit.edu.in/renesa and download an ecopy at http://www.svnit.edu.in/renesa/files/renesa.pdf


And finally, I would like to praise the marketing and distribution team for distributing some 1800 copies in 8 hours, delivered room to room across 11 hostels. And thats an awesome feat considering that there are only 4 people in Marketing. They rock.


As for my role in Renesa, I do the tech page and a bit of humor articles apart from making useless funny comments on the mailing list, abusing people and using expletives that would put many rappers (and Christian Bale) to shame. In all, I have taken it upon me that we never have a dull moment on the mailing list. Kudos to me for that.


Finally,
@Thomas: The above praise to you was probably the first and the last time I did that. Please do not expect such magnanimity again.
@Ashwin: I still love my abuses and nothing will stop me from using them.
@Renesa Team: You guys rock and so do I.

Friday Sep 25, 2009

JoyFest @ SVNIT

As engineering students we often get to hear from our faculty, parents and sometimes even random strangers that engineers have responsibilities and obligations towards the society. And we generally nod in favor. However, I can be certain that not even 1 percent realize what that obligation entails. And yes, we don't bother to find it. Not because we are brats, but an endless curriculum and various extra curricular activities leave us very ,little time to ponder over these. We do want but most of us don't know how and where.

We do have a group called Nirvana in the college. It is formed of our students and supported by the administration. They interact with the kids of the laborers who work in our college on various construction activities and teach them. It has been a commendable effort on their part. But still its a small group and not many join in.

In that context, Joy of Giving Week is a great concept. It would focus the energy of today's youth on social issues for a brief period which will benefit the society as well as make them aware of issues that they can tackle. It will, hopefully, be the beginning of a realization of one's responsibilities and obligations towards society.

At SVNIT, we will be celebrating JoyFest on the 29th. 250 differently abled kids would come and spend the afternoon at our campus. Students of our college will interact with them and mentor them. And its heartening to see that a lot of students have signed up for it. It feels great to know that we engineers do care. People generally volunteer for college activities to get a certificate or other benefits. Here people are coming on their own and they don't want anything in return, which is a breathtaking change. Then there is the performance by the Orchestra from the school of the visually challenged at Surat. It must be a real feat for visually challenged kids to play music instruments. I am looking forward to their performance. The college has been really generous in funding this endeavor and some enthusiastic students managed to generate a good sum of money through a paper collection drive. Hats off to them

Apart from this, we are planning a donation drive where students could donate stuff to be distributed among the needy. Many students have come forward and some are being exceptionally generous.

We are all trying our best to organize it in the best possible way. Wish us luck.

Tuesday Aug 25, 2009

Brand new ACM SVNIT Chapter Website


Check out


www.svnit.ac.in/acm


Content still to be uploaded. And some issues need to be ironed and many more features to be added. We are making it very Web 2.0 ish. Tell us what you think about it.

Saturday Aug 15, 2009

How to be a good programmer...My tips


This article has been cross posted from my personal blog : http://www.itsallpartoftheplan.wordpress.com 


At the very onset, let me make it clear that I DO NOT consider myself a good programmer. I rate my coding skills as average and I am still learning and have a long way to go before I am even slightly pleased with my programming skills. Yes I am better than quite a few people when it comes to programming, but thats merely because they are lazy and like to sit on idly all day and never bother about programming. Their horrible skills make my less horrible skills look marvellous. I have performed abysmally in ICPC and have never done well in any coding contest worth mentioning (I DO NOT consider college level contests worth mentioning). I havent succeeded yet in Google Summer of Code and my Imagine Cup moderate success (and glorious failure) isn't much to write home about.


So most of the tips I will mention below are lessons learnt from failed endeavours, they are what I have wanted to be and I am not. So lets dive in.


1.Decide why you want to become a good programmer: Is it because you want a job, preferably in a high paying software firm? Great. Then you are set to reach NOWHERE. All good programmers I know are good because they loved what they did. Develop interest in programming. See, programming is the only branch in engineering where you can straightway apply what you learn. Your dad may have a car but he certainly wont allow you to tweak the V2 or swap it for a v6 just to see what happens. But with computers you can do whatever you want. You want to simulate a virus? Cool. Install a virtual OS and run it. Then, when you are done, remove the virtual hard disk. If you are good at what you do, you will get paid and surely get that dream job. Yes, even I want to work in a big software company. But thats not because of the fat paycheck. Its because of the work they do. Because of the exposure I will have. Have you ever bothered to find out what all these companies do and the enabling technologies behind their products or the kind of R&D they do? Jobs will come. Dont make yourself a sucker for one. Sachin is not a great cricketer today because he decided to play cricket to earn money and get dozens of endoresements.


2. Programming languages: Very often people equate good coding skills with number of programming langauges known. Thats just damn untrue. While knowing a lot of programming language is good and sometimes, even, essential; it is more important that you know one or two lanugages very well. I 'know' and have used more than a dozen programming languages and yet C and Java are the ones I am truly comfortable at. Thats sad of course. I really wanted to be good at Assembly and Lisp as well. Never got the time or chance to develop those skills. To be good at a language takes years (at least 2 years). Being good at a language means, you understand where it is best used and where using that language makes no damn sense. On the other hand, knowing a language takes anywhere from 3 days to a week. If you are a beginner, learn C first. Don't buy Yashawant Kanetkar. Buy the book "The C Programming Language" by Brian W Kernighan and Dennis M Ritchie (If you don't know who they are, do this 1. Slap yourself 2. Google their names). This book is not the easiest but is the best. Its a small book but it is the most powerful. Generations of programmers have been brought up on it. And if you think this book is tough for you, please do not harbour any misplaced desires of being a good programmer and do not waste your time by reading this post further. Programming is an art (not a science. Yes you read it correctly), and like any art it requires painstaking effort.


Some people suggest Python as the first language to be learnt. Python is certainly a good language and is easy too. But you will have to rely mostly on the internet for help as not many around you would know Python. Also C has the broadest usage among all programming languages. Also please DO NOT use Turbo C. Its so damn outdated. Use GCC. If you are in Windows download Dev C++. It has GCC


Read this (small) essay by Peter Norvig Teach yourself programming in 10 years . Again, do a Google [ ;-) ]search and find out who Peter Norvig is.


3. Algorithms: Any good programmer has a good understanding of algorithms. Its not necessary that you know each algo by heart (in fact good programmers never learn things by rote) but you must understand when to use what. Algos will broaden your understanding and give you new ways to tackle problems. Another important thing is Data Structures. Its more important than algo. Once you have chosen (or developed) the correct data structure, the algorithm becomes self evident. For algo, read the book "Introduction to Algorithm" by Thomas H Cormen et al. You may also refer Andy Tanenbaum's "Data Structures in C and C++". Also if you have desires to participate in coding contests (the respectable ones), "The Art of Programming Vol I to V" by Donald E Knuth are mandatory. Also may be "Concrete Mathematics" by Donald Knuth. Again reading does not mean remembering everything. Just try and understand whats written.


4. Coding contests: Coding contests are good for developing your algorithmic skills and they make you think fast. Its a good idea to participate in ACM ICPC or Topcoder.com. Then there are coding contests (like Sun's Code for Freedom, Google's Summer of Code, Microsoft's Imagine Cup) where you develop a complete software. Such contests are spread over many months. Both require different sort of skills. You may be good in one and bad in another and yet you could be a good programmer. Contests like ICPC require lot of practice, fast thinking and you are expected to keep algos at the back of your mind. CFF, GSoC, on the other hand, requires creativity and focus spread over a long period of time. You dont have to come up with solutions too fast and you dont have to mug up algos. ICPC is like T10 while CFF,GSoc and Imagine Cup are like Test Matches. I would suggest you to participate in both types and then decide if you want to focus on either or both.


5. Participating in FOSS projects: You MUST participate in some free software projects. There are just too many. I am working on SCALASCA right now and then I will move on to Sun Grid Engine and Sun xVM Hypervisor and contribute code there. You learn a lot from these. You get to see a lot of code and learn the best practices. And did I mention, it looks good on your CV too. Most people catch cold feet when they go through some of the prerequities of such projects. Take Thunderbird for example. You would need to know a lot of C/C++ and Javascript (for developing modules). Now don't wait till the day you are an expert in these languages before contributing. Programming is an art, don't waste time sharpening your pencil when you should be drawing. You can ask me for directions.


6. Design Patterns: Any art is learnt by emulating. And therefore, you must emulate the best. Design Patterns are tried and tested architectural (of the software kind) solutions to some commonly encountered software design issues. And therefore, a basic knowledge of some common design patters in needed if you are planning to develop something that is even moderately complex. I suggest "Head First Design Patterns" from Oreilly as the first step.


7. Learning by emulation: Emulate the best. And this is possible by reading books written by the best and/or going through code from some of the best free software projects. I would urge anyone serious about programming to read the book "The Art of Unix Programming" by Eric S Raymond (dont forget to first slap yourself for not knowing who Eric Raymond is and then googling his name). You are not a programmer if you have not read that book. Period.


Now let me address a few common grouses


a. I dont find any interest in computers and want to do an MBA:Mainly a statement often repeated by Second Year(sophomore) students. Thats really your problem. I did not ask you to take Computers or even to join Engineering. You did not know, or bothered to find out, what you were getting into when you took up this branch of engineering and I am pretty sure you have NOT bothered to find out what awaits you in a MBA course either. I am also quite sure that 2 years after an MBA (if not earlier) you will also say pretty much the same thing about your job. Well what can I say. All the best :)


b. I dont like reading the books (or any books for that matter) that you mentioned above: Well this is not yet the world of Matrix where I can just feed in programming skills to your brain. Dont force yourself to read them. You can't . Do it only if you want to. And if you don't, please forget about being a good programmer. May be its time for you to use the excuse mentioned above (point a).


c. Give me one programming language that does all: There is none. Each has a different purpose. And thats how things are gonna remain buddy.


d. I want to a 'real' project: Thats great. You can do two things:1. Start one of your own 2. Join a FOSS project. But most people are not happy with this. They expect me to 'give' them a project, one thats easy (read, should not involve anything other than C and the only files you need to include should be stdio.h, conio.h (yes people here still use Turbo C) and may be string.h and math.h) and I should tell them what to learn. When people say this,they expect to go on a Autopilot ride.


e. I will learn X programming language by this sem/year/decade :There is no way you can sit with a book and learn a language. You need to do some real work with it, develop some real software and not just do those exercises in the book (that is necessary of course but not sufficient). Most of the languages I have learnt are because I was forced to do so as part of some project. Just pick up the basics in a day or two and then apply it to a real life project. Need ideas? Come to me.


Finally as Larry Wall says in Programming Perl : "We will encourage you to develop the three great virtues of a programmer: laziness, impatience, and hubris."


Laziness:So that you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer


Impatience: The anger you feel when the computer is being lazy. This makes you write programs that don't just react to your needs, but actually anticipate them. Or at least pretend to. Hence, the second great virtue of a programmer


Hubris: Excessive pride, the sort of thing Zeus zaps you for. Also the quality that makes you write (and maintain) programs that other people won't want to say bad things about. Hence, the third great virtue of a programmer.


So get set on your way to become a great programmer, the likes of Richard Stallman, Rithcie, Brian, Raymond, Torvalds. All the best.


Monday May 04, 2009

My new guitar. A Fender Squier

Got myself a new guitar today. My first one. Guitar classes began today. Learning proper finger placement.


My Guitar 

Saturday Apr 18, 2009

Its been a long time


Came across this while googling up my own name (yeah I do that from time to time to gauge my own popularity (or the lack of it))
http://his.luky.org/ML/cola.2001/msg00917.html


This was a post I made in 2001, when I started my own Linux User Group at Tezpur, a sleepy town in Assam. I called it Tezpur Linux Users Group (TLUG). I was 14 then. And everyone in my LUG was older than me by at least 8 years. We went on for more than a year before I (or rather my mom) closed it down so that I would study for my board exams (10th Standard exams).


Felt funny reading it after so long.


By the way, end semester exams round the corner. So I will take a break for a few days. A break from blogging and coding and everything good that there is in life.


Adios


Friday Apr 03, 2009

Did a Sun SPOT demo at Mindbend 2009

I made my own presentation for it...will share that...also will upload the pics of the workshop...but am busy in the events now...so probably on sunday...

Wednesday Mar 18, 2009

Free software business model



I wrote this article for my college magazine sometime late 2006


The Free Software Business Model: How to make money from something that is free


The term “Free Software” has been misunderstood a lot.So lets set it
straight.Any software classified as free software must give you(the
user) 3 freedoms-freedom to run the software as and when you wish,
freedom to access and modify its source code,freedom to redistribute
copies(modified or otherwise) of the software with or without a fee.It
also allows you to keep your modifications private.But the question
that comes to mind is…..


…. how do I make money from free software? There
are various ways in which a software company can make money from free
software.Look at HP,IBM,Sun,Red Hat,Google and MySQL.They are thriving
examples of companies making money from free software.Its easy,all you
need is a sound….


…..business model
First you must realize that free software is not a business model in
itself. It is only a production and distribution method.Keeping this in
mind there can be two alternatives.


….the dual - license model
where businesses offer a free version but charge a fee for a commercial
license. MySQL and Sun, with Openoffice.org, follow this model.For this
you need a compelling value proposition -a software that does,what it
is supposed to,very well.Trolltech(you haven’t heard of it) has been
growing consistently over the last 10 years using a dual-licensed
policy for its Qt GUI development framework.


….the support model
where you get software for peanuts but the company charges for support
just like Red Hat. It discontinued support for all its Red Hat Linux
products and decided to concentrate on the enterprise space(Red Hat
Linux Enterprise) giving Red Hat a 40 pc yearly increase in revenue
till date.Others like IBM, simply use free software to supply services
to enterprise customers.Google is providing services and software for
free and making money and lots of it.


In a nutshell if you want to profit from free software, you might
need to be more business-savvy than you would in other businesses.But
once you gain momentum….Bill Gates and Microsoft could well be history.


Recommended reading: The Cathedral and the Bazaar by Eric S. Raymond



Tuesday Mar 10, 2009

Visit to blind school


Visited a nearby blind school on 3rd March. I had visited it once
earlier and interacted with the kids there. These visits are an
initiative of Nirzaree, a friend of mine.She is a very kind hearted
person and really cares for those kids, well,actually, she cares for
everyone around her.


So this time, she called up and gave me a 5 min notice to be
there. However, someone had locked my room from the outside and I got
seriously delayed for that reason.By the time I reached, the others were almost about to leave.


Our visits have mostly been very casual. We go and we spend time
with the kids, play with them, tell them stories. Playing Antakshiri
is of course a favourite. But this I wanted to do something more. I
wanted to listen to the problems of this kids and help them. I dont
know how, I know I want to. I am a programmer and may be I can write
some useful software  for them. May be I can ask cash rich
Surtis to donate money (Surat is after all the city of diamonds and
Gujarat has quite a few millionaires and billionaires) because I am
good at convincing people (yes you can call me a good sales guy). So
I went and talked to a few teachers and got some views. However, I
will have to meet the members of the trust that runs the place. That
will happen on Saturday


I am interested in knowing the kind of software they use in their
computer labs. Probably that would give me some idea how I can I help
them.


Am planning to buy them a braille copy of all of Harry Potter
books. Now that I get extra monthly income through my Sun CA stipend,
this would be quite affordable :)






Saturday Feb 28, 2009

OSUM events and Sun Tech Demos for this week

The following OSUM events and Sun Tech demos are lined up this week

1. Quiz on FOSS and Sun technologies:
Date:Monday, 2nd March
Time: 5:00 PM
Venue: Room CO-4,Computer Engineering Department

The top three winners will be given cash prizes of Rs.200,150 and 100 each. Also they will receive Sun goodies (key rings, pens, DVDs, wrist bands). Plus a pizza treat at Smokin' Joes.


2. OpenSolaris Tech Demo
Date:Wednesday, 4nd March
Time: 5:00 PM
Venue: Seminar Hall,Computer Engineering Department

Trivia(and common sense) questions will be asked. Correct answers will receive Sun goodies


3. Netbeans 6.5 Demo
Date:Friday, 2nd March
Time: 5:00 PM
Venue: Seminar Hall,Computer Engineering Department

Trivia(and common sense) questions will be asked. Correct answers will receive Sun goodies


Many more will follow. I want to do a OpenSolaris install fest soon.

Wednesday Feb 11, 2009

Hello World

Got my blog today. Will soon begin posting all my Sun CA related activities here. As of now, I have just installed a few copies of OpenSolaris on some of our lab machines. Sadly, I haven't yet installed it on my laptop as my DVD drive is not functioning. However, I guess I will get around that problem by installing VMWare and then pairing my laptop with my room mates laptop and using his DVD drive to install OpenSolaris on VMWare. I don't know if there is any way in which I can install OpenSolaris through a pen drive (will have to Google this). If yes, then that solves my problem.


I am heading over to Sun Tech Days 09 on 16th. There's lot to learn from it. I am more interested in the OpenSolaris and Java track, specially the hands on ones.After I am back from it, I will have my first official Sun CA event Well, yes, I am rather late in starting.but my college started on 5th Jan and most students decided to take an extended holiday till 19th. What with TechFest 09 and internal exams thrown in one after the other, I hardly had any time to do any activity whatsoever. Plus there was a neck and back injury which put me on bed rest for 3 days. So I guess, I have produced a long enough list of alibi for my inaction.


My first event will be an introduction to Solaris on the 23rd of this month, right after I am back from Sun Tech Days 09. This will be followed by 2 more workshops (install fest and intro to dtrace) on 25th and 26th Feb.


Also being the Chairperson of the ACM Chapter, I have other responsibilities too. We are beginning a few projects out here, chief among which are a small semi-autonomous 6 wheel, independent transmission and suspension vehicle with on board camera and wireless control and a GNU/Linux cluster project. And we also have to get our chapter website redesigned.


Somewhere in between all of this I have to complete a project for National Innovation Foundation. The project in question is a website, which would enable sharing and collaboration on final year science and engineering projects all across India. Students will be able to further ideas by other students or work on a project suggested by the industry. It will also enable technology transfer and copyright enforcement, a feature on which I am yet to work. In all, the website is 80 percent ready. I have developed it in Drupal, a software that I have begun to love.


 Hoping to meet you at Tech Days 09

About

Hi. I am Sandip Dev. I am a student of Computer Engineering at SVNIT (NIT-Surat). My passions are coding, listening to music, reading and learning new things. I am also the Chairperson of the ACM Chapter of my college and Sun Campus Ambassador here.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today