Thursday, December 31, 2009

Good Bye 2009, Hello 2010 !

What a year it was ! 2009 was awesome, Did some achievements in career / and in my skills (Specially in programming ;) ) which i can carry forward rest of my life. :)

Excellent year 2009 was some recaps / achievements ,

  • Managed to learn the art of programming for fun (Big YaY). Thanks for the people who screwed me in the name of performance appraisal.
  • Full time Twitterer. Thanks to the awesome people I follow.
  • The day i used Bloom Filter to increase the number of transaction per second in our application from 150 transactions to 1500 transactions. That day brought so much of confidence into me.
  • My tricky code using Annotation to fix a big portability issue in using a IoC container in our application. I am sure it saved a lot of dollars to my customer.
  • A project on the clouds close to my heart.
  • Munnar Trip as part of JP marriage.
  • The walks which i had with @peerless from VPN to Thirumangalam and the dinner we had after such walks.
Things which i willing to do in 2010
  • Learn one JVM languages preferably java next next aka Scala
  • Learn one LISP Dialect. Hmm Clojure? (That makes 3 languages on the JVM ;) )
  • Language which embrace failure, say it as Erlang.
  • Read more about Distributed computing and stay away from people who thinks Master-salve as Distributed system (for God sake please)
  • Finish reading the damn algorithm book.
  • Be a Thoughtworker soon. Build the laid foundation even stronger.
  • Get a Trekkers bag. ;)
  • Lay platform for Geek Nights with KNBLites.
  • *Kidnap a kid.
  • *Start writing a book on "Rapidly Kidnapping kids for Dummies" with @peerless

Funny thing about this decade is Im right in the middle, Last Decade i was a kid going school, next decade my kid will goto school ;) there by stopping all my kidnapping.

I am seeing it 2010 is gonna be a awesome + BiGGG year to me and all the KNBLites. Every one is upto something big. I am sure every one will achieve the chasing dream.

Wish you a Happy New year ahead.



*unlikely

Wednesday, July 29, 2009

O is the new 0


Oh yeah I am renewing my blogging habit. Perhaps a redemption attempt. Why i stopped blogging? Well there is lot of reason behind it.First its not just because of im being so busy but i was into a serious cycles of depression lately in the year, mainly due to performance appraisals.Which bogged my mind always, trust me blogging wont be good unless you really have a fresh mind. Though few of my pals including peerless , the Knbl guys and few others helped me to get rid of it. But still i couldnt continue my blogging. Sole reason is Twitter. It occupied much of my time lately. Thanks Ev, Biz , Jack for such a wonderful tool.

Now i started to blog again. When performance appraisal are out. I m analyzing, looking back my own past one year, what i did, whats my growth. Here we Go !.

What the heck is performance appraisals?

A collaborative definition from wiki,Performance appraisal, also known as employee appraisal, is a method by which the job performance of an employee is evaluated (generally in terms of quality, quantity, cost and time).
Now into serious questions?

I am a programmer how do they evaluate my performance ?Do they count my LOC as my productivity ? Well Gates said once, ""Measuring software productivity by lines of code is like measuring progress on an airplane by how much it weighs it's a bad idea.

How about performance related to ROI? Hey I m a programmer, at my level i can only help my customer feel better because of/ through my code. I cant directly control ROI. The Business people need to do it and not me.


How about delivery time and code metrics ? Well this things are all subjective, and any one can bet on it. But so far my delivery been perfect and i have followed good metrics in the project comparatively. Well I read both the Java bible and programmer bible.


How about the issue solving / bug fixing capability? Well who will include the complexity of issue? I can solve thousands of simple useless issues can you rate meas a good performer?


Ok this is a never ending discussion, i didn't find any experts including Joel, Atwood commenting on how to reward programmer performance. If you find any good articles just mail me and give me the link !!!!


There is nothing serious about the metrics or reward. Each rewarding system is therefore subjective and commendable.
Then why the heck you or I need to take care of such system? But i did as i didn't know it fully but not anymore. I found this post will help some one who came through just like me. There are always n number of engineers joining and undergoing such system.


During the last year appraisal i expected a best rating in the system. Its O. As i have critically helped and put all my efforts up-to my fullest potential to the project, and performed in critical releases. In fact I used to stay more than 11 hours at office working out a issue or planing out what should be done next so that i can get a good name / impress my superiors.

Dont get me wrong. Every one wants to impress some one. The whole world works as a rating system be it school, college or even at work. When i asked, i got a nice reply from paul "attention is a scarce resource with alternate uses, cf. "Basic Economics, 3rd. ed." "Rating" == "Price" in this context. ".
So here s the deal. When i was doing all my effort and not getting the result i expected, there is a disappointment. I felt there is no inspiration or motivation for what i did and there is a depression cycle.
Though it didn't lasted for too many days, but it did occupied my time. Few of my pals helped and made me to understand this not a big deal.This was the time i learned hard lessons .

Badly i need a change. Looking back, I did changed. How ? Here it is !

Programming for fun
I learned the art of programming for fun. I am fascinated my programming , by software's right from my school days. I passionate about technology and always wanted to work on cutting edge.

But sadly programming for money, food deals with some legacy, 80's technology. The world is just not end. Ever thought why there is so much open source communities out there? Ex Apache, Linux ? All are programming for fun. I learned it when i started to twitter. Linus wrote kernel for fun. Charlie, Tom implemented JRuby as fun project. Ola is doing Ioke for fun.


Time and Learning's are the best investment.

I never stayed back at office more than 9 hours for the past one year. My bad performance results did made me so perfect.With the name of scrum and agile i never worked more than 9 hours now days. I understand agile and practice it rather than just speaking hey we are agile and staying out in office for more than 12 hours.Hey I did finish the task in given time, in fact much less than the given time, started to learn the art of programming for fun.

This is the time i started to read research papers, flirting with open source product which i found fascinating.Thrift,Cassandra,Hadoop, Hazlecast,Asm, CGlib, Guice And so many.


Did any of this learning's helped ? Yes it indeed.I did suggest and brought so many good practices into my code, (Guice method chaining, Fluent Interfaces, DSLs )into my work.We had a requirement of 3000rps per second. My knowledge on Bloom Filter helped to reduce database look ups, and use of JSON with it did helped to achieve almost 2500rps.


Never Ever involve in technical fame/political wars.

I remember this XKCD article. Never involve in such situation. It ll always waste your precious investments (both time and leanings). Be pragmatic, instead of involving flame wars, just implement the dumb idea will save time. Ouch be pragmatic dont implement dumbest idea on the planet. In case you got into such situation read next one.


Communicate with code.

In case you want to make/suggest a solution communicate it withyour code. Dont involve in flame wars. There is always gonna be a group flaming like vim vs emacs, linus vs windows, ie vs firefox, rest vs ws *. So many ideas i proposed to for my current not just accepted on the first instance. There is/was a situation of fame wars, but i hesitated not to involved. I am not good at speaking or convincing people, communicating with code did worked like magic. When you got a working implementation, in a flame war situation its speaks more than your words.


Be dumb to dumb peoples. In a NNPP environment its good to be a dumb to dumb peoples. Being so smart or trying to be smart will always increase the NNPP and hurt your time aka your investments, and project as well.

Working in a dumb project is good. In such environment You can always learn about anti patterns. And how not to do it instead of how to do it. You can learn how not to screw up.

Ideas wont help. Go implement it.A bad implementation is worth than thousand good ideas. So implement it, will always helps to be pragmatic.


Knowledge is your portfolio.Dont hesitate to learn a new piece of technology / good practices. Its a connecting dot.


Looking back at my personal growth, Im extremely happy, and in fact with twitter i felt its almost doubled. I always connected with a passinated group of peoples.I learned a lot of practices by looking on Crazybob's code. Programming for fun is just fascinating !


This year the rating is out and i got the best rating. Even though i don't feel anything happy and Im not in cloud nine.

I just learned, Inspiration wont come from others, Motivation wont come from others, you have to do it, the best inspiration to you is none other than you. Both your success and failure should be a motivation to you. Wrote a good code for a less priority bug ? Go treat yourself for the good code. Read a research paper which gives a satisfaction ? don't just stop celebrate it with a choco

I m gonna follow this principles and like to continue the way I am.

In short O is the new 0.

In chris style, This part of my life is called, this little part right here is "Staying foolish, Staying hungry"
My pals knew what is O is about. For outsiders, O is the highest rating system, we have.

Tuesday, September 16, 2008

My First Android App..!

Ever since Google announced its mobile platform Android , I became a fan of it for two reasons.

  • Its from Google
  • I can still stay with Java , eclipse to write most effective Mobile Application
How ever it was all not that romantic. Due to project overheads , unable to configure their plug in for eclipse when they released their SDK i left out my plans on developing application in android.

But today just got my time and interest back again to try my hands on Android. I planned at least to write a Hello world. Now i suceeded the result one more category Android added to my blog posts.

Heres the screen shot from the emulator.... !


you can except few more good Apps from me ! :)

Monday, August 25, 2008

The Last Lecture

My random surfing wont always let me down , Today i discovered (Yes its discovery!) a guy named Dr.Randy Pausch a professor from one of the finest university for studying software Engg.

So many people talked about dream,and even told only dreams will make one to achieve big. Here ,this guy talks about dream actually about Really Achieving Your Childhood Dreams. And Its important to have specific dreams .

This is a talk given as part of Last Lecture.Looks like the university encourages to people to talk on a topics Which tries to find answers for this question ,

what wisdom would you try to impart to the world if you knew it was your last chance ?


Perhaps a question each of one us should ask ourselves.So many people / professor can talk on this topic, thinking its their last chance.But it's not the case with randy.It was his Last Lecture indeed !

At this time of speech he knew he will not survive more than 3-6 months.He was infected with pancreatic cancer.well wiki will explain more than me.Check it out.

Here is The Last Lecture from him here he talks about lessons learned and giving advice to students on how to achieve their own career and personal goals. watch this one out. He knew he gonna die he knew he have got few more days in his pocket , but look at the humor , his charmless in delivering the talk.. Wow inspiring guy...



and one more thing ...




To my surprise i found his last lecture is available as book..! So I ordered my copy at Landmark.

I always want to earn a degree in Carnegie Mellon when i heard about SEI and CMMI models from my sister. Hope one day i am able to achieve this dream. :)

One more guy to my league of inspiring individuals. He may be no more but his thoughts will remain in my heart...

Tuesday, August 12, 2008

Time to Rewrite the code !

After appreciating rupee and slow down in worlds biggest economy the Indian IT companies are facing toughest time to keep up their growth rate , profit margins etc.After depending about more than 80% work on one country now they tends to move towards APAC , European , African countries.

Depending too much on US hurts them now once it was considered to be the safest place. Those magic 40% YoY growth tends to be come down.And Their quarters results hardly excites the markets now.

Is market is really saturated or our IT companies not able to handle the situation well? Since the size of the industry is so big i meant the man power the revenue should also be high right?.Is how they evaluate their revenues. Making more people working ie technically billing via liable to a customer is a key to get more revenues.

But it's no where working now ! How ? I have some interesting data's Based on Revenue per Employee and being an insider i tried to analyze what they can do at least now.

Revenue Per Employee What it is?
Revenue per employee measures the average revenue generated by each employee of a company. It can be calculated by dividing a firm's revenues by its total number of workers.

Revenues
---------------------
Number of Employees

So taking the members of "SWITCH" the RPE is


Satyam 49,200 2.1 bn$ 42682$
Wipro 79,832 5.0 bn$ 62631$
Infy 94,379 4.0 bn$ 42382$
TCS 116,308 5.7 bn$ 49007$
CTS 59,201 2.1 bn$ 36080$
HCL 52,000 1.7 bn$ 32692$
in the order of company, total number of workforce , revenue , revenue per employee

Where as the Global giants have this as ,

Big Blue 391719 47.4 bn$ 1,21,005$
Accenture 178,000 22.39 bn$ 1,25,786$
EDS 136,000 22.1 bn$ 1,62,500$
in the order of company ,total number of workforce , revenue , revenue per employee



All the data's are took from Wiki. Why wiki ? since i believed open collaboration is more powerful.If any of this data is wrong don't blame either me or wiki. Its your fault of not fixing it.

I think this comparison of revenue per employee is generally most meaningful among companies within the same industry.So its a fair one.

The average RPE of Indian IT companies is around 47227$ (CTS not included in this average)

Where as the Global giants is around 136430$ which almost 3 times greater than what the "SWITCH" generating!

How does they able to generate more revenues than "SWITCH"?

  • Well what they are doing are more than the ADM (Application Development Maintenance).
  • They are actually doing High End Services , including consulting when compared with the Indian IT Companies.
  • They are good in End - End Delivery
  • Deep Domain Expertise
  • Good Global Delivery Network How ? They able to beat Indian companies even in domestic deals.Idea, Airtel Reliance are very good examples.Everything went to Big blue.Its combined value close to 2bn dollars. They dont have offshore model as like "SWITCH"
  • They are learning fast , keeps innovating themselves.
  • They able to attract talents.

For the past 6 months ,I couldn't able to think of Indian IT companies signing a big deal which they call as a "transformational deal" or "multi million dollar deal" .Those deals are valued more than 50mn$.

What SWITCH can think of at least now ?

Think of Values and say no more to Volumes

Enough hype have achieved over the growth of the IT companies in India.They are now at better position from the past.Plain old garage startups are now sky touching glass buildings.Its time to gear up to make some real values.Get out of driving the growth by speculation.Its no where needed if company X is hiring then you should do the same thing. Still with this man power you can do wonders.When Google yahoo adobe sun and most of the MNCs taking the values form Indian youngsters why not you ? They have learned well really well from the younger peers like you ,which made them to keep on setting more offshore centers in India.

Big Blue has its largest development center outside US, most of the MNCs have R&D outside US only here in INDIA.This does means Indians can actually deliver value at low cost and can capable of doing more in computing.This is not the question of whether they are capable of doing it or not so SWITCH needs to understand this.

Lets Chicken hatch eggs and not Elephants.

Having a cohesive unit of knowledge is what all the major vendors lags.They tend to target on specific clients instead of targeting on specific domain and build knowledge.

To be more elaborate on this ,Suppose two clients from different sector having a common task , say a banking giant and telecoms giant want to do user management apart from their core business.Now currently it works in this way the telecom team will be asked to do this for telecom client and banking team will asked to take care of banking client.The same things repeats over again for different customer thus they keep reinventing wheels always missing the concept of re usability.Theres another possibility since Telecom team may not have knowledge in developing such application they tend to hire.Thus making unwanted hires.

Instead of this let the banking and telecoms be more cohesive.Let them do one thing yes one thing really well.If a banking client needs some telecoms work handle them to the experts to do it.By this way reusable components can be made easily.

By this way large amount of duplicates hires , reinventing wheels again and again can be stopped.

Eat your own Dog Food !
Yes eat your own dog food.Its one of the way to build quality and control over the services you deliver.Its the one way to build confidence in the market.It never failed.Its one way to learn your mistakes. so Eat your own dog food whenever you get a chance of eating.

Computing,Services means more Not just ADM !

Remember this INDIA is not destined to be a place for low end works! Ramp up to deliver high end works.Indian IT can be divided into two eras pre Y2K and post Y2K. During pre y2k the Indian IT companies filled the shortage of workforce in US to fix the bug. This is the time they tried to 'impress' , tried to build 'trust' with them. Post Y2K is all about the establishment of trust. Sadly the trust established is all because of the cost advantage. The result the work asked to do was ADM.(Application, Development ,Maintenance). Though the Indian companies seems to be delivering value to them in this space the revenues they able to generate by providing this kind of services is too low.

The trust is made.But now is the time to rethink and start to establish a trust with their employees.Only by having this trust they can move to deliver high end work.And create more values rather than being depend on volumes.

To deliver high end works including consulting and high end designing they keeps to follow inorganic growth.Which is nothing but buying a specialized company in particular domain say for example consulting.The problem is the adaption to this route is too slow to catch up with growth of the giants.Even after acquisitions of such companies they tend to be slower to adapt or learn the core values of the domain.They need to learn fast, they need to learn quickly about the domains.

What Google has done is just a service or a solution to search problem.What Facebook has done is a solution to social collaboration.Its not a rule that you should neaver follow this path.How fast you adapt to learn is the key here.

Though India is Fourth in purchasing power theres is no concentration of Indian vendors on domestic markets.Its where you can deliver your high end services before implementing to the rest of the world.

Let the R&D be real R&D
Invest heavily in R&D not just the damn R&D which targets a specific customer , but target on specific problem.Try to get a solution learn the art of doing patents.Hire best talents and encourage people to focus on innovation.Its not about the wage hikes or cost cutting affects the profits margin.Its about the efficient way in doing things which cuts cost.so stop the innovation in cost cutting.Start innovation and investment in R&D.


Our Finance minister said once "IBM is Legacy , Infosys is Future".The problem is we are not there yet.To make it happen the "SWITCH" needs to think, that they need to seriously rewrite the code.

Thursday, June 5, 2008

My Blog worths $1,129.08 ...!!!!!!!

My Blog worths $1,129.08 .. WoW ! Any way i am not in situation to sell this :)
Here is the report ..,

Your blog, ashokjjr.blogspot.com, is worth $1,129.08

Here's a button you can put on your blog: (the HTML is below)


My blog is worth $1,129.08.
How much is your blog worth?


How much is your blog worth ? check it here

Thursday, May 29, 2008

Pain with Mobile Chargers..!

Well this entry is all about the pain in using mobile chargers.This includes all types of mobiles. Whether its Nokia , SonyEricssion the one i own , Motorola ,Samsung, LGs and others.

Whats the pain in using them?
You can plug them straight away and start charging your battery you can argue , well If i don't experience pain then theres no reason to write this blog entry !

Are you able to plug your Nokia Mobile with Sony Ericsson Charger or with any other mobile Charger ? No is the default answer . Dont that seems to be a pain ? Its a pain for me !

Well you will see the pain , when you are in travel or gone some place ,expecting an important call, forget to carry the mobile charger with you at that time your display will blink stating your battery is down .Since you own a Mobile from a brand which have least market share you cant find people/place having a mobile charger of your brand. you cant charge your mobile now !

There is another probability occurs where Even if they carry same brand of yours, since you own a different model you cant use the charger of your same brand !! Tell me now is this is a pain or not? This is a Great pain ..


This happened to me , I am Sony Ericsson's user , since Nokia is leader in market share in India ,Usually i cant find a place/people having Sony Ericsson charger even if i find one it wont suits mine since i own w550i model.

Don't say to me , you can carry the charger always to get rid out of this pain.

Technology which are invented which are to be invented is for consumer like me to enjoy.If consumer sees any pain in using them then it needs a change.And its a crap!

I am able to connect my MP3 player , Thumb Drive of any brands to my PC , why my mobile not able to connect with any other brand mobile chargers ? If PC has a universal connector USB for every devices to connect with PC why not Mobile holds a similar kind of this for battery charging?

Every Battery in mobile will use only two terminals(positive , negative terminals) why these mobile manufacturer designs tons of mobile chargers with varying sizes which wont fit for other mobiles even in their own brand of different model ?

Some thing got to be done to make this happen.Imagine a world where theres no pain in carrying this kind of stupid chargers , everything is universal, embedded as just as another plug or switch in Home , Bus , Train you traveling.. Wouldn't that be great?

come on Mobile Manufactures you got to do some thing on this ! You are open to softwares but we need Open alliance for Hardware !

Wednesday, May 28, 2008

Travelling with iBUS

iBus ? iPod , iPhone is ok whats this iBus ? Does Apple start reinventing Bus ? NO , Again I am from India , Apple doesn't have anything here except their sales office. So they dont have anything to deal with iBUS then whats that iBus ? ..

I love traveling i love traveling even more when i travel with Train.Only there i feel very comfortable.

How ever since my previous travel is unplanned , i don't had a chance of getting a ticket in trains.Only option available now is to travel with Bus that too omni Bus or privately owned one likes of KPN , Parveen.The pain in dealing with the Agents of this buses to book tickets is no where express able. Thank god now they have enabled booking of tickets online.

I am a 6ft+ guy , so this normal Indian Buses wont suits me. Don't ask me whether i have enjoyed a bus travel abroad , i can imagine at least all of them are above my height ! Being an Engineer heres my law on comfortability for traveling on bus,

The amount of comfortability in traveling in a bus is directly proportional to the space or the distance that exists between the two successive seats .

Comfortable Ratio

This is an ratio by maintaining , this ratio better comfortable can be achieved. It can be expressed as a:b
a being the being the height measured from the knee to your foot.(Of course on your leg !)
b being the being the space or distance that i mentioned in my version of comfortability law.

If the Aspect ratio of better viewing a picture is 4:3 , then the comfortable ratio should be at least 1:2 which will make the traveling a memory like this !.

Neither of the Buses (Parveen , KPN) have such offerings. Mostly they will have comfortable ratio of 1:0.75 to 1.25 making my bus travels like an adventure ,thats needs to be telecast ed in NGC. Making Bus travels wont suits for a 6ft+ guys like me .

How ever this time i preferred to use ABT Travels as usual my sister booked the tickets on my money . Few things i liked even at pre traveling stage ,

No Registration required , u can book the tickets on the front Helps me not to use forgot Password option for future use with this site.

No Semi Sleeper , 2+1 so no more cheating at the time of Boarding. Every thing is AC 2+2 ,So they cant send any other type of bus as replacement !(Since they don't own other than 2+2 AC)

Well ,and few more things which i liked and the reason of this Blog is ,

  • The comfortability ratio is almost approaching 1:2 may be reaching around 1:1.85
  • Since its a AC Bus , Blankets are provided by default(I haven't travel led in AC bus previously so this excites me as usual)
  • Drinking water pet cans ! A Gud idea , newly sealed Sabol pet bottles at your seat , WoW yet another great idea
  • Mobile charging facility ! Both 3-pins and 2-pins sockets near your seats especially for charing your Mobile or MP3 players .
  • LCD TV instead of normal CRT.

Apple reinvented the MP3 players into iPod , Mobile Phones to beauty full iPhones , ABT have reinvented the bus travelling in Tamil Nadu , so i can name it as an iBus :)

Few things they can think of ..

How about a cafe at a time when requested while traveling ? (I am damn lover of such cafes !)
Providing snacks ,Biscuits on demand (or this can be added to traveling charge)

They have changed my view on travelling with Bus and have reinvented the Bus traveling , Thats what Apple did. iBus will do in near future. I recommend ABT Travels !

Monday, May 19, 2008

I am Microsofted...!

I am FireFox user switched form IE , the reason soley i moved to FireFox is due the tabbed browsing feature , and cool alerts which maded me to stick with FireFox.

How ever there is one problem i cant use FireFox as my favourite browser for one reason , to check my officials mails for which i have to use IE , since i have to use Microsoft web access .Eventhough the basic version works with FireFox the Premium wont work with FireFox this is due to use of rich use Activex aka the properitory Technology from Microsoft.

So i am struck here , i have to use IE , no other option for me . yeah i want to use premium account The premium client provides all Outlook Web Access features this what they claim , implicitly i want to use all the features of outlook web access. :)

I dont know what happened with IE, when i came in to work on the next day morning suddenly it showed this message when i accessed my mail ,



The page must be viewed with a high security web browser HTTP Error 403.5 (This .5 is again Microsoft thing !)

The only thing i can do now is to ask Google what is this crap ! It showed some trouble shooting techniques which sayed ,

  • Either you are using IE version less than version 6
  • Installed with out High Encryption pack

Nothing can be change this settings , since i was using it yesterday and its working gud.I am pretty clear its version is 6 and eariler i tried to install IE 7 since i am using windoze 2000 so i cant install it either so my browser version must be IE 6

Whats that High Encryption Pack ?
U.S. government export regulations would not permit crypto systems using 128-bit keys to be exported and the longest key size allowed for export without individual license proceedings was 40 bit normally everything with has its relationship with encryption will ship in two version for US Edition and International Edition , In Java this will be exported in security policy (\jre\lib\security) So i got a doubt may be this culprit gets corrupted , Since i have trust in Microsoft they wont downgrade my browser version as part of their automatic updates ,

well i checked with my browser the famous About Internet Explorer , It showed i am using IE version 6.0 and 128 bit cipher .





Shit... Its still 128bit , So no problem but still its thrown error 403.5 Only thing i can do now at this time ask the guy who sitting next to me whether our mail server is working rite ? The answer was of course working.The next big thing i can do is to Restart the system and check whether its working ! Dont blame me every Indian Outsourcing Developer , Tester will try this version and there its no excuse for me i am one such and i have no trust on DLLs i trust .class and not DLLs.

Nothing it didnt worked either ,the next step comes handy is to uninstall IE .I doubt whether it can be done since AOL has already sued them on this regards , Windows + IE is default however they had it in remove window components , when i did that , i dont have a clue whether it removed IE completely , how ever i got IE 6.0 with High Encryption pack set up installed , it didnt worked either ! Shit the second version of Indian Outsourcing Engineers Edition too failed !

The only thing i can do at this time is to use my edition , i downloaded separately High EncryptionPack and installed , since i dont have any trust in DLLs i tried the First version , yeah restarting the windoze .. now tried yeah it worked ! But it ate almost more than 3 hours of my time shit !

Even though its a web application a profound of client server application this means a Linux user i cant use Microsoft web access! This what called Microsofted ..! And i am not an exception of being Microsofted !

update: Opensource wont let you down.. Activex in Firefox is on the way !

Tuesday, April 29, 2008

Fun with Dictionary attack

As part of fun@work , some puzzles or mind game will be given to the work force or resources as they claim to make them relax and also to make them to think a bit. I never enjoyed those really ,so i neaver participated in any of those games.

Last week we had a game ,we have to make as many as possible 3 or more letter meaningful words using the alphabets in the word given below....

"ULTRAREVOLUTIONARIES"


The letters should not be used more than their occurrence in the word above. This was the condition given,

As usual i neither cared at this one nor minded about it. I found one of my colleague screwing his mind to find the possible words. One more was trying to simulate with a piece of code. Code? Problem solving with Programming? Oh hi I got interested.. on looking the question and mail again i got the clue this is nothing but a Dictionary attack ...

What is Dictionary Attack ?

Wiki says ,
In cryptanalysis and computer security, a dictionary attack is a technique for defeating a cipher or authentication mechanism by trying to determine its decryption key or pass phrase by searching a large number of possibilities.

This is the famous attack for password recovery.Generally, dictionary attacks succeed because many people have a tendency to choose passwords which are short (7 characters or fewer), single words in a dictionary, or are simple variations that are easy to predict, such as appending a single digit to a word.

This is why Password Policy are introduced ,which will ask the user to enter a combination of special characters and alphanumeric characters.

The first password i choosed for my mail when i was doing my goody college days is a 5 letter word.At that time iam ignorant and not any more.. :)

Thats the definition for Dictionary Attack . what this gonna do with puzzle given?

When the every one was solving this one with paper and pen with out knowing this attack , I wrote a piece of java code to perform a dictionary attack for the possible rule
"ULTRAREVOLUTIONARIES" ,

Heres the code ,

package com.ashok.work.fun;

import java.io.BufferedReader;
import java.io.FileReader;

public class WordList {

/**
* @author:ashok
* @date :April 25,2008
*/


public static void main(String[] args)throws Exception {


BufferedReader file=new BufferedReader(new FileReader("c:\\words.txt"));
String word=null;//=file.readLine();
while((word=file.readLine())!=null)
{
if(word.length()>3)
{
if(checkForExpression(word))
{
System.out.println(word);
}
}
}


}
public static boolean checkForExpression(String str)
{
//int noOftimes,temp=0;
int u=0,l=0,t=0,r=0,a=0,e=0,i=0,o=0,s=0,n=0,v=0,def=0;
for(int j=0;j {
char tmpChar=str.charAt(j);

switch (tmpChar)
{
case 'u' :
case 'U':
u++;
break;

case 'l' :
case 'L':
l++;
break;

case 't' :
case 'T':
t++;
break;

case 'r' :
case 'R':
r++;
break;

case 'a':
case 'A':
a++;
break;

case 'e' :
case 'E':
e++;
break;

case 'i' :
case 'I':
i++;
break;

case 'o' :
case 'O':
o++;
break;

case 'S' :
case 's':
s++;
break;

case 'n' :
case 'N':
n++;
break;

case 'v' :
case 'V':
v++;
break;

default :
def++;
}

}
if(def>0)
return false;
if((u>2)||(l>2)||(t>2)||(r>3)||(a>2)||(e>2)||(i>2)||(o>2)||(s>1)||(n>1)||(v>1)){
return false;
}
else
return true;
}

}


This program takes a Dictionary file as an input , and looks for the matching word as per the rule given. Getting a Dictionary file is easy and this program depends on the number of words in the Dictionary file .

Any guess how much i was able to generate ? 100 ? No its almost 2000 with 25k words list and 4000 with almost 55k words list dictionary.. And how much they able to generate any guesses? If i am right not more than 10 :) It shows purely IT is the business differentiator and thats why billions of dollars are spend !

Generated the words since the machine have done its perfect so I submitted the words list , and it was rejected , the reason told was that i have Googled for the answer ! so no prize :)

shit what the heck !

But still Programming is Fun !

Friday, April 25, 2008

Obama Supports Hillary !

This is not a April fool Prank , Its true Obama supports Hillary .. It happened ,the change I beleive in.. the change is happened...

What Obama supports Hillary..? you may wonder it cant be.. No it can be , when Obama forget to do input validation in his code.. :) code? What code ? How does Obama releates to Programming? wait wait... Keep read on...


Accessing Barrack Obama site redirected to Hilary Compaign ! you are not beleiving it ? Obama is XSSed.. yeah XSSed..!

Now this one is fixed on the front so heres some evidence ,

Here is the computer world report

and

A picture worths between 999 and 1001 words. A video worths even higher , so heres is youtube video ,






A guy who identifies himself as "MoX" XSSed Obama site to redirect to Hilary site.. How z that he changed down under everything..

What is XSS by the way?

Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications which allow code injection by malicious web users into the web pages viewed by other users. Examples of such code include HTML code and client-side scripts. An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls such as the same origin policy. Vulnerabilities of this kind have been exploited to craft powerful phishing attacks and browser exploits.

What does that mean?

An Exploit can inject HTML based malicious script in any of the input fields , and can take control over of the site or user session based on the attack strength. This input fields includes text box , Text area , mostly the comments section of the sites. This was exactly happened to Mr.Barrack obama site.. the malicious script injected ,redirected the users directly to Hillary campaign and make every one to think down under..

Whats the cause for XSS ?

XSS is mainly due to not validating the user input in the code. yes Mr.Obama had missed to validate it here ..

How it can be avoided?

When security is considered as basic thing as just like what algorithms did to programmers then any security flaws can be avoided.

Security Guru says

More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk

Good programming is not about using Design Patterns and good algorithms as basic requirements it includes secure coding too..

Specific to XSS ..

By validating the user input and escaping the malicious characters which includes characters like < and >

Validate and filter user inputs in the server side ..

Will this impact Mr.Obama campaign ?

Obama failed to validate his users input , So it may have a impact and may not.. But it does has in programming which i can comment, any way i belongs to India and i have nothing to comment about US Elections :)

Thursday, April 24, 2008

IPL is a Hit ?

I should say IPL is a worth watching and almost a hit ! :) When its plan was just in papers i planned not to watch any of the matches , since its just fud with ICL .

When the team bidding and auction for players started i looked at the big sum of money the franchise owners are spending to buy humans , making BCCI to overtake ECB as the richest national board easily . When business tycoons the likes of Mukesh , Mallya fighted for their teams it maded me to think IPL is not about cricket , Its about Money ,Its about Business , Its about a gateway ,I should say its a license for your company to advertise easily and reach millions of people . So IPL is a fud with ICL . ICL is gud but sadly theres is no takers for it.Ok this not IPL vs ICL blog.

Does IPL is a hit??

playing for their team ! I This is INDIA and here Cricket is a religion , Here people will hate Aussies when they sledge Indians , How ever in IPL things went down under every one to proud since they got Hayden and Hussey , symonds and Gilly in their team I couldnt accept it still , Even the aussie captain pointing , is now a teammate with Ishant the young gun for knight Riders .

Then the positives came , so as my mind changed to watch it :)

The one rule i like in IPL the most is that 4+8 combination 4 foreign players + 8 Indian domestic players. This will give lot of spaces for domestic players to perform and well of course to earn. How long they will waste their careers waiting waiting to get selected in national team?

Will give the youngsters to play with the talents so that they can , watch , learn and perform.

Even international players can perform well with little pressure in their mind . Example Brendon Mccullum and his 158*

International performers can make the youngsters to learn , watched Pointing advising Ishant ? He ran from Gully to mid on ... to have a word with Ishant ..

OK all set . I planned to watch IPL still cricketing had not lost with the business . But then came the real confusion which team should i support ? Chennai SuperKings since i belongs to TamilNadu or Mumbai Indians since Cricketing God is leading that team , or the Delhi Dare Devils since Mr.Pigeon is playing .

What about other team? I like players and not the team and their captions specially The Prince of Kolkata ,ask him to play a Hook shot then i will accept him as a batsman, Players i love to watch playing and still cant support their team includes Ishant sharma ,Yuvi, King of Spin warne , Gilly,Kallis, Boucher, Lee and this list continues ..

So left unsupported any team and I am like a boat with out its ruder and rider as well. Yesterday match between Chennai SuperKings vs Mumbai Indians changed this decision to support for the Chennai Superkings , since Sachin is not playing ,So I can still support chennai superkings.

The match was fanatastic it showed the talenting youngster we had Badrinath, ABNayar,Gony who have not yet performed in the national side.

When uthappa came to the crease , i got confident that he will make the match even thriller , since i am watching this guy from the emerging India A team to his ODI debut.And atlastABNayar , Bhaji made the match worth watching and made it a perfect thriller. What still IPL or Chennai super kings is missing is Young Domestic players . When IPL supports such a domestic players its good for cricket , its good for BCCI .

Heres the score card ,

SCORE-BOARD

Chennai Super Kings innings:

Parthiv Patel c Ronchi b Nehra 14 (11b, 3 x 4)
Matthew Hayden (run out – Harbhajan) 81 (46b, 2 x 6, 12 x 4)
Mike Hussey b Kulkarni 5 (9b, 1 x 4)
Suresh Raina c Bravo b Kote 53 (37b, 3 x 6, 3 x 4)
M S Dhoni c Bravo b Kote 30 (16b, 4 x 4, 1 x 6)
Jacob Oram (not out) 5 (2b 1 x 4)
S Badrinath (not out) 2 (1b)

Extras (b4, lb3, w9, 2nb) :18

Total (for 5 wkts, 20 overs): 208.

Fall of wickets: 1-34 (Patel, 3.1), 2-39 (Hussey, 4.4), 3-143 (Raina, 14.6), 4-194 (Hayden, 19.6), 5-206 (Dhoni, 19.5)

Bowling: Shaun Pollock 3-0-32-0 (1w); Ashish Nehra 4-0-35-1 (2w, 1nb); Dhawal Kulkarni 3-0-25-1 (1nb); Harbhajan Singh 2-0-14-0; Dwayne Bravo 3-0-36-0 (1w); Vikrant Yelligetti 1-0-16-0 (5w); Abhishek Nayar 1-0-14-0; Musavir Kote 3-0-29-2.

Mumbai Indians innings:

Luke Ronchi (run out – Badrinath) 2 (3b)
Sanath Jayasuriya c Joginder b Gony 20 (11b, 4 x 4)
Robin Uthappa b Joginder 43 (36b, 1 x 6, 6 x 4)
Shaun Pollock b Amarnath 17 (15b, 1 x 6)
Dwayne Bravo c Oram b Joginder 24 (16b, 1 x 6, 2 x 4)
Abhishek Nayar (not out) 45 (20b, 1 x 6, 1 x 5, 6 x 4)
Musavir Kote c Raina b Muralitharan 9 (5b, 1 x 6)
Harbhajan Singh c Badrinath b Muralitharan 28 (14b, 3 x 6, 1 x 4)
Ashish Nehra (not out) 1 (2b)

Extras (lb5, w6, nb2): 13.

Total (for 7 wkts, 20 overs): 202

Fall of wickets: 1-9 (Ronchi, 1.6), 2-30 (Jayasuriya, 3.4), 3-81 (Uthappa, 9.4), 4-97 (Pollock, 11.4), 5-130 (Bravo, 14.2), 6-141 (Kote, 15.3), 7-189 (Harbhajan, 18.5).

Bowling: Jacob Oram 4-0-53-0 (2w); Manpreet Gony 4-1-18-1 (1nb); Joginder Sharma 4-0-29-2 (1nb); Palani Amarnath 4-0-57-1; Muttiah Muralitharan 4-0-40-2 (4w).

Thursday, April 17, 2008

The Humble Programmer

Programming profession how it worths today ? You can measure its hype by going to a any Engineering College any where in India ask them whats your aim they will tell they want to be a Software Engineer in XXX company . I am sure atleast 75% will tell this irrespective of the what they have studied :) ..
Why Software ? Why Programming? If you ask any of this question they wont tell you a solid answer.. But every one attracted with this field .. Why ? Since every one is having a illusion that its the only field currently where you can live a luxury life.

What's the status of a Programmer who started his career as a Programmer , Programming Mechanical Devices ? The first Generation computers? was that a respectable profession ?
Edsger W. Dijkstra wrote about the Story of Humble Programmer , During his marriage , he stated his profession as a programmer , the authorities told that there is no such profession called Programmer !

I found this interesting , so one more copy of the article wont hurt any one ... So here it is ...

The Humble Programmer


As a result of a long sequence of coincidences I entered the programming profession officially on the first spring morning of 1952 and as far as I have been able to trace, I was the first Dutchman to do so in my country. In retrospect the most amazing thing was the slowness with which, at least in my part of the world, the programming profession emerged, a slowness which is now hard to believe. But I am grateful for two vivid recollections from that period that establish that slowness beyond any doubt.

After having programmed for some three years, I had a discussion with A. van Wijngaarden, who was then my boss at the Mathematical Centre in Amsterdam, a discussion for which I shall remain grateful to him as long as I live. The point was that I was supposed to study theoretical physics at the University of Leiden simultaneously, and as I found the two activities harder and harder to combine, I had to make up my mind, either to stop programming and become a real, respectable theoretical physicist, or to carry my study of physics to a formal completion only, with a minimum of effort, and to become....., yes what? A programmer? But was that a respectable profession? For after all, what was programming? Where was the sound body of knowledge that could support it as an intellectually respectable discipline? I remember quite vividly how I envied my hardware colleagues, who, when asked about their professional competence, could at least point out that they knew everything about vacuum tubes, amplifiers and the rest, whereas I felt that, when faced with that question, I would stand empty-handed. Full of misgivings I knocked on van Wijngaarden's office door, asking him whether I could "speak to him for a moment"; when I left his office a number of hours later, I was another person. For after having listened to my problems patiently, he agreed that up till that moment there was not much of a programming discipline, but then he went on to explain quietly that automatic computers were here to stay, that we were just at the beginning and could not I be one of the persons called to make programming a respectable discipline in the years to come? This was a turning point in my life and I completed my study of physics formally as quickly as I could. One moral of the above story is, of course, that we must be very careful when we give advice to younger people; sometimes they follow it!

Another two years later, in 1957, I married and Dutch marriage rites require you to state your profession and I stated that I was a programmer. But the municipal authorities of the town of Amsterdam did not accept it on the grounds that there was no such profession. And, believe it or not, but under the heading "profession" my marriage act shows the ridiculous entry "theoretical physicist"!

So much for the slowness with which I saw the programming profession emerge in my own country. Since then I have seen more of the world, and it is my general impression that in other countries, apart from a possible shift of dates, the growth pattern has been very much the same.

Let me try to capture the situation in those old days in a little bit more detail, in the hope of getting a better understanding of the situation today. While we pursue our analysis, we shall see how many common misunderstandings about the true nature of the programming task can be traced back to that now distant past.

The first automatic electronic computers were all unique, single-copy machines and they were all to be found in an environment with the exciting flavour of an experimental laboratory. Once the vision of the automatic computer was there, its realisation was a tremendous challenge to the electronic technology then available, and one thing is certain: we cannot deny the courage of the groups that decided to try and build such a fantastic piece of equipment. For fantastic pieces of equipment they were: in retrospect one can only wonder that those first machines worked at all, at least sometimes. The overwhelming problem was to get and keep the machine in working order. The preoccupation with the physical aspects of automatic computing is still reflected in the names of the older scientific societies in the field, such as the Association for Computing Machinery or the British Computer Society, names in which explicit reference is made to the physical equipment.

What about the poor programmer? Well, to tell the honest truth: he was hardly noticed. For one thing, the first machines were so bulky that you could hardly move them and besides that, they required such extensive maintenance that it was quite natural that the place where people tried to use the machine was the same laboratory where the machine had been developed. Secondly, his somewhat invisible work was without any glamour: you could show the machine to visitors and that was several orders of magnitude more spectacular than some sheets of coding. But most important of all, the programmer himself had a very modest view of his own work: his work derived all its significance from the existence of that wonderful machine. Because that was a unique machine, he knew only too well that his programs had only local significance and also, because it was patently obvious that this machine would have a limited lifetime, he knew that very little of his work would have a lasting value. Finally, there is yet another circumstance that had a profound influence on the programmer's attitude to his work: on the one hand, besides being unreliable, his machine was usually too slow and its memory was usually too small, i.e. he was faced with a pinching shoe, while on the other hand its usually somewhat queer order code would cater for the most unexpected constructions. And in those days many a clever programmer derived an immense intellectual satisfaction from the cunning tricks by means of which he contrived to squeeze the impossible into the constraints of his equipment.

Two opinions about programming date from those days. I mention them now, I shall return to them later. The one opinion was that a really competent programmer should be puzzle-minded and very fond of clever tricks; the other opinon was that programming was nothing more than optimizing the efficiency of the computational process, in one direction or the other.

The latter opinion was the result of the frequent circumstance that, indeed, the available equipment was a painfully pinching shoe, and in those days one often encountered the naive expectation that, once more powerful machines were available, programming would no longer be a problem, for then the struggle to push the machine to its limits would no longer be necessary and that was all what programming was about, wasn't it? But in the next decades something completely different happened: more powerful machines became available, not just an order of magnitude more powerful, even several orders of magnitude more powerful. But instead of finding ourselves in the state of eternal bliss of all progamming problems solved, we found ourselves up to our necks in the software crisis! How come?

There is a minor cause: in one or two respects modern machinery is basically more difficult to handle than the old machinery. Firstly, we have got the I/O interrupts, occurring at unpredictable and irreproducible moments; compared with the old sequential machine that pretended to be a fully deterministic automaton, this has been a dramatic change and many a systems programmer's grey hair bears witness to the fact that we should not talk lightly about the logical problems created by that feature. Secondly, we have got machines equipped with multi-level stores, presenting us problems of management strategy that, in spite of the extensive literature on the subject, still remain rather elusive. So much for the added complication due to structural changes of the actual machines.

But I called this a minor cause; the major cause is... that the machines have become several orders of magnitude more powerful! To put it quite bluntly: as long as there were no machines, programming was no problem at all; when we had a few weak computers, programming became a mild problem, and now we have gigantic computers, programming had become an equally gigantic problem. In this sense the electronic industry has not solved a single problem, it has only created them, it has created the problem of using its products. To put it in another way: as the power of available machines grew by a factor of more than a thousand, society's ambition to apply these machines grew in proportion, and it was the poor programmer who found his job in this exploded field of tension between ends and means. The increased power of the hardware, together with the perhaps even more dramatic increase in its reliability, made solutions feasible that the programmer had not dared to dream about a few years before. And now, a few years later, he had to dream about them and, even worse, he had to transform such dreams into reality! Is it a wonder that we found ourselves in a software crisis? No, certainly not, and as you may guess, it was even predicted well in advance; but the trouble with minor prophets, of course, is that it is only five years later that you really know that they had been right.

Then, in the mid-sixties, something terrible happened: the computers of the so-called third generation made their appearance. The official literature tells us that their price/performance ratio has been one of the major design objectives. But if you take as "performance" the duty cycle of the machine's various components, little will prevent you from ending up with a design in which the major part of your performance goal is reached by internal housekeeping activities of doubtful necessity. And if your definition of price is the price to be paid for the hardware, little will prevent you from ending up wth a design that is terribly hard to program for: for instance the order code might be such as to enforce, either upon the progrmmer or upon the system, early binding decisions presenting conflicts that really cannot be resolved. And to a large extent these unpleasant possibilities seem to have become reality.

When these machines were announced and their functional specifications became known, quite a few among us must have become quite miserable; at least I was. It was only reasonable to expect that such machines would flood the computing community, and it was therefore all the more important that their design should be as sound as possible. But the design embodied such serious flaws that I felt that with a single stroke the progress of computing science had been retarded by at least ten years: it was then that I had the blackest week in the whole of my professional life. Perhaps the most saddening thing now is that, even after all those years of frustrating experience, still so many people honestly believe that some law of nature tells us that machines have to be that way. They silence their doubts by observing how many of these machines have been sold, and derive from that observation the false sense of security that, after all, the design cannot have been that bad. But upon closer inspection, that line of defense has the same convincing strength as the argument that cigarette smoking must be healthy because so many people do it.

It is in this connection that I regret that it is not customary for scientific journals in the computing area to publish reviews of newly announced computers in much the same way as we review scientific publications: to review machines would be at least as important. And here I have a confession to make: in the early sixties I wrote such a review with the intention of submitting it to the CACM, but in spite of the fact that the few colleagues to whom the text was sent for their advice, urged me all to do so, I did not dare to do it, fearing that the difficulties either for myself or for the editorial board would prove to be too great. This suppression was an act of cowardice on my side for which I blame myself more and more. The difficulties I foresaw were a consequence of the absence of generally accepted criteria, and although I was convinced of the validity of the criteria I had chosen to apply, I feared that my review would be refused or discarded as "a matter of personal taste". I still think that such reviews would be extremely useful and I am longing to see them appear, for their accepted appearance would be a sure sign of maturity of the computing community.

The reason that I have paid the above attention to the hardware scene is because I have the feeling that one of the most important aspects of any computing tool is its influence on the thinking habits of those that try to use it, and because I have reasons to believe that that influence is many times stronger than is commonly assumed. Let us now switch our attention to the software scene.

Here the diversity has been so large that I must confine myself to a few stepping stones. I am painfully aware of the arbitrariness of my choice and I beg you not to draw any conclusions with regard to my appreciation of the many efforts that will remain unmentioned.

In the beginning there was the EDSAC in Cambridge, England, and I think it quite impressive that right from the start the notion of a subroutine library played a central role in the design of that machine and of the way in which it should be used. It is now nearly 25 years later and the computing scene has changed dramatically, but the notion of basic software is still with us, and the notion of the closed subroutine is still one of the key concepts in programming. We should recognise the closed subroutines as one of the greatest software inventions; it has survived three generations of computers and it will survive a few more, because it caters for the implementation of one of our basic patterns of abstraction. Regrettably enough, its importance has been underestimated in the design of the third generation computers, in which the great number of explicitly named registers of the arithmetic unit implies a large overhead on the subroutine mechanism. But even that did not kill the concept of the subroutine, and we can only pray that the mutation won't prove to be hereditary.

The second major development on the software scene that I would like to mention is the birth of FORTRAN. At that time this was a project of great temerity and the people responsible for it deserve our great admiration. It would be absolutely unfair to blame them for shortcomings that only became apparent after a decade or so of extensive usage: groups with a successful look-ahead of ten years are quite rare! In retrospect we must rate FORTRAN as a successful coding technique, but with very few effective aids to conception, aids which are now so urgently needed that time has come to consider it out of date. The sooner we can forget that FORTRAN has ever existed, the better, for as a vehicle of thought it is no longer adequate: it wastes our brainpower, is too risky and therefore too expensive to use. FORTRAN's tragic fate has been its wide acceptance, mentally chaining thousands and thousands of programmers to our past mistakes. I pray daily that more of my fellow-programmers may find the means of freeing themselves from the curse of compatibility.

The third project I would not like to leave unmentioned is LISP, a fascinating enterprise of a completely different nature. With a few very basic principles at its foundation, it has shown a remarkable stability. Besides that, LISP has been the carrier for a considerable number of in a sense our most sophisticated computer applications. LISP has jokingly been described as "the most intelligent way to misuse a computer". I think that description a great compliment because it transmits the full flavour of liberation: it has assisted a number of our most gifted fellow humans in thinking previously impossible thoughts.

The fourth project to be mentioned is ALGOL 60. While up to the present day FORTRAN programmers still tend to understand their programming language in terms of the specific implementation they are working with —hence the prevalence of octal and hexadecimal dumps—, while the definition of LISP is still a curious mixture of what the language means and how the mechanism works, the famous Report on the Algorithmic Language ALGOL 60 is the fruit of a genuine effort to carry abstraction a vital step further and to define a programming language in an implementation-independent way. One could argue that in this respect its authors have been so successful that they have created serious doubts as to whether it could be implemented at all! The report gloriously demonstrated the power of the formal method BNF, now fairly known as Backus-Naur-Form, and the power of carefully phrased English, a least when used by someone as brilliant as Peter Naur. I think that it is fair to say that only very few documents as short as this have had an equally profound influence on the computing community. The ease with which in later years the names ALGOL and ALGOL-like have been used, as an unprotected trade mark, to lend some of its glory to a number of sometimes hardly related younger projects, is a somewhat shocking compliment to its standing. The strength of BNF as a defining device is responsible for what I regard as one of the weaknesses of the language: an over-elaborate and not too systematic syntax could now be crammed into the confines of very few pages. With a device as powerful as BNF, the Report on the Algorithmic Language ALGOL 60 should have been much shorter. Besides that I am getting very doubtful about ALGOL 60's parameter mechanism: it allows the programmer so much combinatorial freedom, that its confident use requires a strong discipline from the programmer. Besides expensive to implement it seems dangerous to use.

Finally, although the subject is not a pleasant one, I must mention PL/1, a programming language for which the defining documentation is of a frightening size and complexity. Using PL/1 must be like flying a plane with 7000 buttons, switches and handles to manipulate in the cockpit. I absolutely fail to see how we can keep our growing programs firmly within our intellectual grip when by its sheer baroqueness the programming language —our basic tool, mind you!— already escapes our intellectual control. And if I have to describe the influence PL/1 can have on its users, the closest metaphor that comes to my mind is that of a drug. I remember from a symposium on higher level programming language a lecture given in defense of PL/1 by a man who described himself as one of its devoted users. But within a one-hour lecture in praise of PL/1. he managed to ask for the addition of about fifty new "features", little supposing that the main source of his problems could very well be that it contained already far too many "features". The speaker displayed all the depressing symptoms of addiction, reduced as he was to the state of mental stagnation in which he could only ask for more, more, more... When FORTRAN has been called an infantile disorder, full PL/1, with its growth characteristics of a dangerous tumor, could turn out to be a fatal disease.

So much for the past. But there is no point in making mistakes unless thereafter we are able to learn from them. As a matter of fact, I think that we have learned so much, that within a few years programming can be an activity vastly different from what it has been up till now, so different that we had better prepare ourselves for the shock. Let me sketch for you one of the posssible futures. At first sight, this vision of programming in perhaps already the near future may strike you as utterly fantastic. Let me therefore also add the considerations that might lead one to the conclusion that this vision could be a very real possibility.

The vision is that, well before the seventies have run to completion, we shall be able to design and implement the kind of systems that are now straining our programming ability, at the expense of only a few percent in man-years of what they cost us now, and that besides that, these systems will be virtually free of bugs. These two improvements go hand in hand. In the latter respect software seems to be different from many other products, where as a rule a higher quality implies a higher price. Those who want really reliable software will discover that they must find means of avoiding the majority of bugs to start with, and as a result the programming process will become cheaper. If you want more effective programmers, you will discover that they should not waste their time debugging, they should not introduce the bugs to start with. In other words: both goals point to the same change.

Such a drastic change in such a short period of time would be a revolution, and to all persons that base their expectations for the future on smooth extrapolation of the recent past —appealing to some unwritten laws of social and cultural inertia— the chance that this drastic change will take place must seem negligible. But we all know that sometimes revolutions do take place! And what are the chances for this one?

There seem to be three major conditions that must be fulfilled. The world at large must recognize the need for the change; secondly the economic need for it must be sufficiently strong; and, thirdly, the change must be technically feasible. Let me discuss these three conditions in the above order.

With respect to the recognition of the need for greater reliability of software, I expect no disagreement anymore. Only a few years ago this was different: to talk about a software crisis was blasphemy. The turning point was the Conference on Software Engineering in Garmisch, October 1968, a conference that created a sensation as there occured the first open admission of the software crisis. And by now it is generally recognized that the design of any large sophisticated system is going to be a very difficult job, and whenever one meets people responsible for such undertakings, one finds them very much concerned about the reliability issue, and rightly so. In short, our first condition seems to be satisfied.

Now for the economic need. Nowadays one often encounters the opinion that in the sixties programming has been an overpaid profession, and that in the coming years programmer salaries may be expected to go down. Usually this opinion is expressed in connection with the recession, but it could be a symptom of something different and quite healthy, viz. that perhaps the programmers of the past decade have not done so good a job as they should have done. Society is getting dissatisfied with the performance of programmers and of their products. But there is another factor of much greater weight. In the present situation it is quite usual that for a specific system, the price to be paid for the development of the software is of the same order of magnitude as the price of the hardware needed, and society more or less accepts that. But hardware manufacturers tell us that in the next decade hardware prices can be expected to drop with a factor of ten. If software development were to continue to be the same clumsy and expensive process as it is now, things would get completely out of balance. You cannot expect society to accept this, and therefore we must learn to program an order of magnitude more effectively. To put it in another way: as long as machines were the largest item on the budget, the programming profession could get away with its clumsy techniques, but that umbrella will fold rapidly. In short, also our second condition seems to be satisfied.

And now the third condition: is it technically feasible? I think it might and I shall give you six arguments in support of that opinion.

A study of program structure had revealed that programs —even alternative programs for the same task and with the same mathematical content— can differ tremendously in their intellectual manageability. A number of rules have been discovered, violation of which will either seriously impair or totally destroy the intellectual manageability of the program. These rules are of two kinds. Those of the first kind are easily imposed mechanically, viz. by a suitably chosen programming language. Examples are the exclusion of goto-statements and of procedures with more than one output parameter. For those of the second kind I at least —but that may be due to lack of competence on my side— see no way of imposing them mechanically, as it seems to need some sort of automatic theorem prover for which I have no existence proof. Therefore, for the time being and perhaps forever, the rules of the second kind present themselves as elements of discipline required from the programmer. Some of the rules I have in mind are so clear that they can be taught and that there never needs to be an argument as to whether a given program violates them or not. Examples are the requirements that no loop should be written down without providing a proof for termination nor without stating the relation whose invariance will not be destroyed by the execution of the repeatable statement.

I now suggest that we confine ourselves to the design and implementation of intellectually manageable programs. If someone fears that this restriction is so severe that we cannot live with it, I can reassure him: the class of intellectually manageable programs is still sufficiently rich to contain many very realistic programs for any problem capable of algorithmic solution. We must not forget that it is not our business to make programs, it is our business to design classes of computations that will display a desired behaviour. The suggestion of confining ourselves to intellectually manageable programs is the basis for the first two of my announced six arguments.

Argument one is that, as the programmer only needs to consider intellectually manageable programs, the alternatives he is choosing between are much, much easier to cope with.

Argument two is that, as soon as we have decided to restrict ourselves to the subset of the intellectually manageable programs, we have achieved, once and for all, a drastic reduction of the solution space to be considered. And this argument is distinct from argument one.

Argument three is based on the constructive approach to the problem of program correctness. Today a usual technique is to make a program and then to test it. But: program testing can be a very effective way to show the presence of bugs, but is hopelessly inadequate for showing their absence. The only effective way to raise the confidence level of a program significantly is to give a convincing proof of its correctness. But one should not first make the program and then prove its correctness, because then the requirement of providing the proof would only increase the poor programmer's burden. On the contrary: the programmer should let correctness proof and program grow hand in hand. Argument three is essentially based on the following observation. If one first asks oneself what the structure of a convincing proof would be and, having found this, then constructs a program satisfying this proof's requirements, then these correctness concerns turn out to be a very effective heuristic guidance. By definition this approach is only applicable when we restrict ourselves to intellectually manageable programs, but it provides us with effective means for finding a satisfactory one among these.

Argument four has to do with the way in which the amount of intellectual effort needed to design a program depends on the program length. It has been suggested that there is some kind of law of nature telling us that the amount of intellectual effort needed grows with the square of program length. But, thank goodness, no one has been able to prove this law. And this is because it need not be true. We all know that the only mental tool by means of which a very finite piece of reasoning can cover a myriad cases is called "abstraction"; as a result the effective exploitation of his powers of abstraction must be regarded as one of the most vital activities of a competent programmer. In this connection it might be worth-while to point out that the purpose of abstracting is not to be vague, but to create a new semantic level in which one can be absolutely precise. Of course I have tried to find a fundamental cause that would prevent our abstraction mechanisms from being sufficiently effective. But no matter how hard I tried, I did not find such a cause. As a result I tend to the assumption —up till now not disproved by experience— that by suitable application of our powers of abstraction, the intellectual effort needed to conceive or to understand a program need not grow more than proportional to program length. But a by-product of these investigations may be of much greater practical significance, and is, in fact, the basis of my fourth argument. The by-product was the identification of a number of patterns of abstraction that play a vital role in the whole process of composing programs. Enough is now known about these patterns of abstraction that you could devote a lecture to about each of them. What the familiarity and conscious knowledge of these patterns of abstraction imply dawned upon me when I realized that, had they been common knowledge fifteen years ago, the step from BNF to syntax-directed compilers, for instance, could have taken a few minutes instead of a few years. Therefore I present our recent knowledge of vital abstraction patterns as the fourth argument.

Now for the fifth argument. It has to do with the influence of the tool we are trying to use upon our own thinking habits. I observe a cultural tradition, which in all probability has its roots in the Renaissance, to ignore this influence, to regard the human mind as the supreme and autonomous master of its artefacts. But if I start to analyse the thinking habits of myself and of my fellow human beings, I come, whether I like it or not, to a completely different conclusion, viz. that the tools we are trying to use and the language or notation we are using to express or record our thoughts, are the major factors determining what we can think or express at all! The analysis of the influence that programming languages have on the thinking habits of its users, and the recognition that, by now, brainpower is by far our scarcest resource, they together give us a new collection of yardsticks for comparing the relative merits of various programming languages. The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. In the case of a well-known conversational programming language I have been told from various sides that as soon as a programming community is equipped with a terminal for it, a specific phenomenon occurs that even has a well-established name: it is called "the one-liners". It takes one of two different forms: one programmer places a one-line program on the desk of another and either he proudly tells what it does and adds the question "Can you code this in less symbols?" —as if this were of any conceptual relevance!— or he just asks "Guess what it does!". From this observation we must conclude that this language as a tool is an open invitation for clever tricks; and while exactly this may be the explanation for some of its appeal, viz. to those who like to show how clever they are, I am sorry, but I must regard this as one of the most damning things that can be said about a programming language. Another lesson we should have learned from the recent past is that the development of "richer" or "more powerful" programming languages was a mistake in the sense that these baroque monstrosities, these conglomerations of idiosyncrasies, are really unmanageable, both mechanically and mentally. I see a great future for very systematic and very modest programming languages. When I say "modest", I mean that, for instance, not only ALGOL 60's "for clause", but even FORTRAN's "DO loop" may find themselves thrown out as being too baroque. I have run a a little programming experiment with really experienced volunteers, but something quite unintended and quite unexpected turned up. None of my volunteers found the obvious and most elegant solution. Upon closer analysis this turned out to have a common source: their notion of repetition was so tightly connected to the idea of an associated controlled variable to be stepped up, that they were mentally blocked from seeing the obvious. Their solutions were less efficient, needlessly hard to understand, and it took them a very long time to find them. It was a revealing, but also shocking experience for me. Finally, in one respect one hopes that tomorrow's programming languages will differ greatly from what we are used to now: to a much greater extent than hitherto they should invite us to reflect in the structure of what we write down all abstractions needed to cope conceptually with the complexity of what we are designing. So much for the greater adequacy of our future tools, which was the basis of the fifth argument.

As an aside I would like to insert a warning to those who identify the difficulty of the programming task with the struggle against the inadequacies of our current tools, because they might conclude that, once our tools will be much more adequate, programming will no longer be a problem. Programming will remain very difficult, because once we have freed ourselves from the circumstantial cumbersomeness, we will find ourselves free to tackle the problems that are now well beyond our programming capacity.

You can quarrel with my sixth argument, for it is not so easy to collect experimental evidence for its support, a fact that will not prevent me from believing in its validity. Up till now I have not mentioned the word "hierarchy", but I think that it is fair to say that this is a key concept for all systems embodying a nicely factored solution. I could even go one step further and make an article of faith out of it, viz. that the only problems we can really solve in a satisfactory manner are those that finally admit a nicely factored solution. At first sight this view of human limitations may strike you as a rather depressing view of our predicament, but I don't feel it that way, on the contrary! The best way to learn to live with our limitations is to know them. By the time that we are sufficiently modest to try factored solutions only, because the other efforts escape our intellectual grip, we shall do our utmost best to avoid all those interfaces impairing our ability to factor the system in a helpful way. And I cannot but expect that this will repeatedly lead to the discovery that an initially untractable problem can be factored after all. Anyone who has seen how the majority of the troubles of the compiling phase called "code generation" can be tracked down to funny properties of the order code, will know a simple example of the kind of things I have in mind. The wider applicability of nicely factored solutions is my sixth and last argument for the technical feasibiilty of the revolution that might take place in the current decade.

In principle I leave it to you to decide for yourself how much weight you are going to give to my considerations, knowing only too well that I can force no one else to share my beliefs. As each serious revolution, it will provoke violent opposition and one can ask oneself where to expect the conservative forces trying to counteract such a development. I don't expect them primarily in big business, not even in the computer business; I expect them rather in the educational institutions that provide today's training and in those conservative groups of computer users that think their old programs so important that they don't think it worth-while to rewrite and improve them. In this connection it is sad to observe that on many a university campus the choice of the central computing facility has too often been determined by the demands of a few established but expensive applications with a disregard of the question how many thousands of "small users" that are willing to write their own programs were going to suffer from this choice. Too often, for instance, high-energy physics seems to have blackmailed the scientific community with the price of its remaining experimental equipment. The easiest answer, of course, is a flat denial of the technical feasibility, but I am afraid that you need pretty strong arguments for that. No reassurance, alas, can be obtained from the remark that the intellectual ceiling of today's average programmer will prevent the revolution from taking place: with others programming so much more effectively, he is liable to be edged out of the picture anyway.

There may also be political impediments. Even if we know how to educate tomorrow's professional programmer, it is not certain that the society we are living in will allow us to do so. The first effect of teaching a methodology —rather than disseminating knowledge— is that of enhancing the capacities of the already capable, thus magnifying the difference in intelligence. In a society in which the educational system is used as an instrument for the establishment of a homogenized culture, in which the cream is prevented from rising to the top, the education of competent programmers could be politically impalatable.

Let me conclude. Automatic computers have now been with us for a quarter of a century. They have had a great impact on our society in their capacity of tools, but in that capacity their influence will be but a ripple on the surface of our culture, compared with the much more profound influence they will have in their capacity of intellectual challenge without precedent in the cultural history of mankind. Hierarchical systems seem to have the property that something considered as an undivided entity on one level, is considered as a composite object on the next lower level of greater detail; as a result the natural grain of space or time that is applicable at each level decreases by an order of magnitude when we shift our attention from one level to the next lower one. We understand walls in terms of bricks, bricks in terms of crystals, crystals in terms of molecules etc. As a result the number of levels that can be distinguished meaningfully in a hierarchical system is kind of proportional to the logarithm of the ratio between the largest and the smallest grain, and therefore, unless this ratio is very large, we cannot expect many levels. In computer programming our basic building block has an associated time grain of less than a microsecond, but our program may take hours of computation time. I do not know of any other technology covering a ratio of 1010 or more: the computer, by virtue of its fantastic speed, seems to be the first to provide us with an environment where highly hierarchical artefacts are both possible and necessary. This challenge, viz. the confrontation with the programming task, is so unique that this novel experience can teach us a lot about ourselves. It should deepen our understanding of the processes of design and creation, it should give us better control over the task of organizing our thoughts. If it did not do so, to my taste we should not deserve the computer at all!

It has already taught us a few lessons, and the one I have chosen to stress in this talk is the following. We shall do a much better programming job, provided that we approach the task with a full appreciation of its tremendous difficulty, provided that we stick to modest and elegant programming languages, provided that we respect the intrinsic limitations of the human mind and approach the task as Very Humble Programmers.