Recession At Its Best

Recession has forced companies to take serious steps towards cost cutting. People are left jobless and the ones with the jobs have their income so tightly squeezed that their is bare enough left even to buy a condom.

Under such situations, people will just do anything to hold on to their job. Even is that means losing the place where they rest their ass on ..take a look ..

image 044 300x225 Recession At Its Best

kursi jaaye ya na jaaye, par hum tho kaam kareega…

icon smile Recession At Its Best

What is DataPower and Why DataPower?

Straight from the IBM site, this is the definition of DataPower -

IBM® WebSphere® DataPower® SOA Appliances are purpose-built, easy-to-deploy network devices that simplify, help secure, and accelerate your XML and Web services deployments while extending your SOA infrastructure.

Lets stop with that and talk a little bit about SOA, the current architecture and how DataPower fits in.

The middleware infrastructure of an enterprise need to support XML and Web Services, since its emergence and popularity. This meant that the ESB or enterprise service bus had to support the emerging technology. This was proving to be an problem because of -

  1. Traditional middleware installation has increased installation and maintenance costs
  2. Operational costs involved in supporting the new data format (XML) and the existing formats (flatfile, cobol copybook etc)
  3. Security – New forms of attack on the infrastructure

[1]DataPower SOA appliances address these three challenges with the creation of specialized, purpose-built, consumable SOA appliances that redefine the boundaries of middleware. As the “hardware ESB,” DataPower SOA appliances are an increasingly important part of the IBM ESB family.

As mentioned earlier DataPower is an appliance. So why exactly do we need an appliance what can it do?. Lets looks a typical infrastructure  – (this is not how it is but helps to explain the situation icon biggrin What is DataPower and Why DataPower? )

Continue reading

Useful Python Snippets

My love for Python has indeed grown with the constant usage. Each day i find something that is really interesting with that. By interesting i mean, C will complain and whine if i do that, PERL say ‘lets give it a try‘ and Python is like, ‘C’mon baby, i’m ready!!!’.

My advice to good C/C++ programmers is that, stay the way you are, picking up PERL / Python will screw up you skill. C is like the wife with whom you have to be loyal, Python is like the liberal girlfriend, who lets you flirt with other girls and wouldn’t mind.

Coming back to the purpose of this post, here are some of the snippets that proved useful to me and could also help you out with in your scripts -

File to List – Move the contents of the file in to an list, line by line

list = ([line for line in open ( "names.txt", "r")])

Pattern Matching – the only thing that i miss in Python is the regexp usability that PERL gave me. Some how i feel that using regexp was a lot more easier with Perl, than with Python

# import the regex pacakge
import re
#create the regex object
pattern = re.compile("error")
# search for pattern
re.search(pattern, sampleString)

re.search return TRUE / FALSE depending on the result, so that it can be used along with if <> : clause

Detecting the OS and creating directories – this helps to solve the variation in the Windows directory navigation (..\\..\\) and the Unix style navigation (../../)

# import OS packages and time package
import os, time, sys, os.path
# create a unique directory name based on the time
dirName="Run-"+time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())
# detect the OS
if os.name == "posix":
    logPath = "../../logs/"
    resultsPath = "../../results/"
else:
    logPath = "..\\..\logs\\"
    resultsPath = "..\\..\\results\\"
# create the directories
os.mkdir(logPath+dirName)
os.mkdir(resultsPath+dirName)

String is like a List – the best part of Python

str = "Hello"
# will print H
print str[0]

Happy scripting, and i hope this will be helpful to some … icon smile Useful Python Snippets

proto.in – Breeding the New Indian CEOs

logo proto.in   Breeding the New Indian CEOsLast day me and Ujj, a fellow mutineer, was at the Nimhans Convention Center for Proto.in, the startup event. The reach that event had on each of the participants and the people gathered there was quite profound. I have been to quite a lot of conferences and un-conferences, but this one was nothing like the ones i had ever been to. The talent that this event show cased, the ideas that flowed, the success stories that were shared, the new avenues that were opened up for many was quite, let me say it this way, impressive!!!

I vividly recollect telling Ujj, after the event that, i quite didnt know that there were so many smart geniuses in India. Generally when i hear the word start-up the picture that i frame is one of a bunch of people who are sitting in a room and rolling out a service on the internet and minting money(well, if they are lucky). So i wanted to see if there was anyone else who was running a non -IT based, non-internet business. Yes indeed there are, and as it turns out the Healthcare and Wellness sector in India is yet to be tapped to its potential.

I was in for “The Proto.in ShowCase”, where a bunch of start-ups, that were selected on the basis of their trend-setting status, were asked to showcase their product in 6min. Here is a list -

  • Nualgi – Kadambari Consultants.
  • Remindo – an office social-networking site
  • Ooha Kiosk Infrastructure – Ooha Services Pvt. Ltd.
  • InkFruit – Fingerprints Fashions Pvt. Ltd
  • Fachak – Youtube, Flickr, Scribd, Slideshare searches all rolled into one
  • Taroby – Advanced Millennium Technologies – Web 2.0 based Messaging Solution

So if u thought it was all about show casing you company and product, you’re wrong. The day’s keynote address was by Bob Young, and yes it was really interesting to hear him speak and the way he ended up in having the worlds largest collection on bad poems online icon smile proto.in   Breeding the New Indian CEOs . Sandeep Singhal, Nexus Capital, had a very interesting conversation with the audience on – Thinking Beyond Mobile and Internet. It was here that he pointed out that, yes there can be successful startups outside the mobile and internet sphere.

At the end of the day as i was leaving i realized that, what we need is not more and more conferences on diverse topics, but conventions like Proto.in, where the best in everyone, from the organisers, to the speakers, to the participants, to the techies like me (to the good food and the crowd), are exposed.

I’m looking forward for the next Proto.in.