Saturday, October 2, 2010

Deadline और वो

Software Configure करते-२ आज, जब दिल मेरा ये उदास हो गया |
पुराने भूले दर्द का आज फिर से अहसास हो गया |
दर्द है ये Linux का , गर आपको सुनाऊंगा,
open source ki की दुहाई देते हुए , Easy to configure का Answer ही पहुँगा |
हर थक के जब ये दिल उदास हो गया, तो सोचा कल Guide के पास जाऊंगा, उनको अपनी कहानी सुनाऊंगा |
फिर दिल से आवाज आई की अगर अब Guide के पास जाऊंगा, तो अपना Impression ही ख़राब करवाऊंगा |
ये सब सोचते-२ मेरी आँखों में थोड़ी निंद्रा भर आई |
कल फिर से Try करूँगा की देकर खुद को दुहाई |
Light on छोड़कर Cement के बिस्तर पर सेज लगाईं |
फिर भगवान् की दुआ से जल्द ही नींद भी आई |
रोज़ की भांति सपने में आज वो फिर से आई |
फिर देखि जब मैंने अपने ऊपर उसके बालो की परछाई |
उसके जुल्फों की काली घटा जब मेरे चेहरे पर लहराई |
उसके साँसों की खुसबू से फिर मेरी साँसे मिल पायी |
फिर उसके होठो की लाली से मेरे दिल में तरंगे टकराई |
ठीक उसी वक़्त मेरे alarm ने आवाज लगाई |
उठते ही नज़रे सीधी laptop से टकराई |
और तुरंत मुझे फिर से deadline की याद आई |
और फिर से google की दुनिया में मैंने अपने अरमानो की watt लगाई |

Tuesday, September 28, 2010

Programming in Pi calculus

Is it really interesting to write program in Pi-calculus ?
Is it easy and feasible to write program in Pi-calculus?

The answer of the above questions may vary for an individual. But yes i would say at least we can give it a try to write code in Pi calculus environment. Yes it is always difficult to write concurrent code. In case of Process calculus, programmer always have to keep thinking everything in term of process, weather it is function or object or anyother data structure. Pict and Nomadic pict are the language which are based on Pi-calculus and provide programming enviornment. Pict is not distributed programming language but NPict inherits the attribute of pict with distributed features, i.e. various component can be held at different machine and they can work collectively towards a common goal.
It is not anymore surprised that we can repersent most of the object-oriented features in Pi-calculus. Objects,class,function all are repersented in the form a process.

Tuesday, September 14, 2010

Democratic stone pelter

Title looks bit awkward, but yes in the biggest democracy we have the people who burn national flag openly, shout anti nation slogan and what not. Yes you guessed correctly the crown of india is burning these days. We are seeing new philistanian way of protesting. The situation in valley is different today from that of 1990's. Those time militant used to kill people but today police and paramilitry are compelled to shoot people for the saftey of their own life and government's properties. This is the first time since Independence that # of people killed by security forces in 1 year are higher then killed by militant. People have differnt view on various aspects. Sepratist leaders have pledges not to talk and they are mesmersing people. They call people for peacefull protest then make them excite to pelt stone, to burn governement properties
and the series is on and on. Security dont have non lethal equipment to scatter protester. As per one of my friends's view few of our Scientist should start making kind of chemical of instrument which dont kill people but at least stop them or disable them for 2-3 hr. to protest. These equipment will be very effective in our country, they can solve many of our problem not only in J&K but in rest of country as well.
Another solution told by one of my sarcastic and witty friend is, give them two days to go to pakistan or wherears and then ban protest and apply shoot on site rule for any kind of protest but this is ridicules is'nt it ?
One thing is clear that this approach of governement is Contaminating our democratic image but who cares. Sending more and more package dont seems to be a solution of this problem, we have other needfull people in our country for this money and who are very patriotic as well. And we tax-payer dont pay our tax to be wasted on anti national sepratist. yeh we are wasting a lot of money like CWG but not willing to remove Dharavis. Ok laeve that apart these all are different issues.
But at the moment what should governement do ?
Presdent Rule ............No, not a solution
More Army deployment ............of course not
removal of AFSPA.................No, it will dilute moral of army
Arrest of more sepratist leader........................may mork some what
Attachment of Abdullahs with people....................may work but not sure
making them autonoumus......................of course not
than what ? Do u have any clue ?
I would say ask C.M and his father to attach with arrest all sepratist leaders(This may make them leaderless), dont even allow peacefull protest. Ban all the mosque which make anouncement to call people for this so called Azadi(This may be heart attacking for our democratic leader).

Thursday, September 2, 2010

Concurrency and Pi-calculus

Concurrency and Pi-Calculus

Lets start from lambda calculus as we all know lambda calculus is the base of functional programming many functional programming like - Haskell,Erlang are totally based on Lambda calculus(Where everything are in the form of function).
So what is the need of process calculus :
Seeing the modernisation of computer science, we want everything to be as much concurrent in our system as possible. Parallelism is the term which usually confused us with concurrency, the main difference is that in parallel programing we must have more then 1 resources and different process execute on different resource. But In concurrent system we can get feel of parallelism even from one resource. Actually only one process execute at a time but the processes executes in time slice manner.
Hence to describe the architecture of a softwares formally, we need some formal architectural description language. Many modelling language are used but the popular ones among those are - CSP,CCS, LOTOS and Pi calculus. Pi calculus is the one which i will be focussing here together with CCS.
Calculus of communicating System(CCS) given by R. MIlner views the system in the form of component and connection. Component, agent, process are the terms which often used interchangeably. CCS works very fine untill we have our system fixed but it does'nt work for mobile system where the connection between the agent may change dynamically, or new channels may be created according to need. Pi calculus is the one which works here for us. In Pi calculus we can transfer the name of one channel over other channel. For e.g.
(y) x(y,z).'z.P
This process accept two parameter on channel x(x is free name here namely), and store them on y and z, y is bound variable here which is used just to accept input in it and to forword via port z the output x and y.
Hence here we are transfering one channel name over other channel, this is the power of Pi calculus which gives it edges over all earlier descriptive language.
The tool for testing Pi calculus is MWB(Mobility workbench) which tests the two equallaence namely strong bisimulation and weak bisimulation.
This tool is analogous to the one CWB(Concurreny Work bench) used for CCS,CSP,LOTOS. But it not at all imitate things from MWB. But this tool is still under development. I guess we can't test properties here like we do in MWB using mu-calculus and CTL/GCTL.
So everything in pi-calculus has to be treated as a process even data also.The power of Pi-calculus enable it to repersents three of the building block concept of programming i.e. lambda calculus, Object oriented programming and imperative programming. We can show various data structues like lists using Pi calculus but the key thing is that everything here has to be as one process like class name, object in OOP and list and data in Data structure.
There are programming languages also which implements Pi calculus constructs. Pict is one of them.

Friday, June 18, 2010

Trying to be much regular

Well
so today whole of the days gone in the Room itself. Yes I had learnt few C++ and shell scripting stuffs which i was totaly forgetten(since many days back i had a look on them)
C++ how actually file pointer work. we need to create object of fstream class to seprately access the file and that file object handle all the file related accessing.cerr is a new object besides cin and cout which i came to know today. cerr is used to handle error reporting.
PATH setting is one of the important activities in linux OS. By setting the appropriate path we can make our script available system wise. And use our own script similar to the inbuild commands like- ls,cd,cp etc.
command: $ env
will give you many information related to our system environment together with path.
The first entries of each line here act as linux system variable and there values can be obtained seprately like for e.g.
$ echo $PATH
here we can see various path setted in our system seprated by : .
hence if we want to add our own path we can add it by
$ PATH = $PATH : \new directory path
for e.g.
$ PATH = $PATH : .
will set our path to current directory.
The above is the temporary way for adding path and will diminish as soon as we will close our terminal.
For permanat setting we need to make a change in the ~./.bashrc
in your home directory type
$ find | grep 'bash'
now you can open the ./.bashrc file and can add you path.
Attending lecture on F.V(formal Verification) was also quite interesting and thanks to Jeetu for waking me up so early(10 Am ah ah) in the morning and hope i will continue the same .
yeh the movie I watch today with Leela "Catch me if you can" is OK. Will not give negative review on this.Leonardo Decarpio had acted fabulous acted as against Tom Hanks.
Hope will write the very next day:

Friday, June 11, 2010

Begining Of one more semester

Yes of course, again a semester going to start in my life. I do'nt know when will this semester series going to end(perhaps two more). Anyway feeling nice to start my blog again after a long span of time. Yeh weather here is pretty nice as compared to my home town. Raining has started in mumbai, but there are no such sign of spring in North still. When I was at home, temprature was 46+ every day, so nice to be here in Bombay(sorry Mumbai) again.
In last two three months lots of events happens. But i am gonna write only about the recent ones. Lets start from the Bhopal Carbide factory gas leakage, Its 26 year now and victims are still struggling for justice.But yes our leaders and goverment thinks that the value of 20,000 people of this country is less then one American Anderson. Our Arjun Singh(Just opposite to the Kunti putra) the then CM of M.P is still silent and do'nt want to tell or perhaps he do'nt know why he allow the offener anderson to fly from bhopal in CM's official plane. And after that none of our goverment could succed to convince US goverment to extradite him. We are doing 200% just to get access of Headley(Who possibly was invoved in Mumbai massacre) in which 209 people were killed including 22 foreigner. And we have raise this issue on all possible highest level with international community(Because foreigner and rich indian were killed in this attack). But we do'nt take the issues like bhopal homicides serious enough. Means 22 foreigners are more important than 20,000 people killed in Bhopal => Our 1000 people are less valuable than 1 western citizens. Are we living in Such a country ...Oh GOD. And people of this country ask the reason of brain-drain.The answer lies in the above few line for sure.But still I would say ki "100 main se 99 baiman fir bhi mera desh mahan". Yeh here we have one reason to be happy that is ki at least our value is more than that of our tradition foe pakistan's people. This is enough reason for us to forgive our comparatively less corrupt leaders.
Anyway this is not gonna end here. Letz talk about some other things. Yeh I have to start from cricket that is more sueprior than religion and other issues like the Bhopal gas tragedy in our Nation. So our team has done excelent on zimbabwe tour. we loose two matches from Zimbabwe(not a shame for sure ) but we are still happy that we have defeated lanka anyway it was our B team(ohh really ). BCCI tried to copy Kangaroos policy here. But right now BCCI dont have time to look at team performance. All BCCI officers are busy somwhere else and the cause is Lalit Modi(Are all Modi so tough). One more hot new in cricket world now a days related to the next president of ICC (After Pawar) and the cadidate from Australia and NewZeland is Jon Howard former Aussies PM. Yeh and key of his selection I think is in the hand of Ejaz Butt(PCB Chairman) because three nation South africa,Sri-lanka, and Zimbabwe had already opposed his candidature while rest other nation excluding Pakistan have already assure to support him only Pakistan have not decided yet. That is why I am saying that key is in the hand of Butt Saab if he support Howard he will be ICC president else he will not .
The third hot topic(after politics and cricket) for every indian is of course Bollywood. Yeh they are doing good now a days besided a very few controversies(recently IIFA ceremony as some of big star did not attend it ). I have seen Rajneeti recently and was overwhelmed seeing it.
The three hot topic(Cricket,Politics and Bollywood) are not excluded from one anther as Rajneeti is union of Bollywood and Politics, cricket match b/w indian stars and Lanka team in post IIFA award ceremony is Union of Cricket and Bollywood while the persence of Sashi Throor in that match remind me the intersection of all three.


Rajnish

Sunday, February 28, 2010

it's almost 1 month when put my last post, I almost forget my blog for few days"No i was not that busy".May be in this sem. i will not much busy at all. Life is much easier here now in this semester. Pressure is also very less hardly i got 2 assignment/week but that to not more than 1-2 hrs. So in the last i was constantly suffering from light cold(and still continuing) but i have planned not to go to doctor,i do'nt want to eat any medicine now.Ok leave it, mid was also in between. this sem. is goin on very rapidly as my even semesters used to go in KNIT.But 1 differnce is that i will not go home throught the sem. in fact i have to be at home only 15 days from last 8 month and could't go b4 may. yes seminar is one problem of this semester that is not going on that gud. In fact S/W architecture is also not gud one. Ok leave all this , there were few gud thing from last few days come to know about the philosphy of few great people like swami vivekananda and gandhiji ./yes in philosphy class/. some formal logic related task was also quiet satisfactory. han india got label test series the last hour of last day of 2nd test was quiet exciting. yes we won ODI series as well congrats to sachin fo double century. Yes i am not critics of sachin but i had to be when Leela(my roommate) say that sachin is God . In fact i still belive that sachin plays more for him than for country.While this is not the for other player like veeru, dhoni and yuvi.
apart from it gud to see indo-pak foreign secy to come on round table for talk again.Hope this time talk willl not fail. But it will i know you know and every body know.we can only be optimistic for this.Two days back budgets come there was nothing amazing or exciting in this budget, this was quiet predictble they are not going to do much to reduce price hike of common comodities.Apart from this few minister of our government tried to aprove Bt. brinjal
what else IPL is coming exam are also coming both will finisth together.What a synchronization IPL is always harmful for student's exam is'nt it.

Wednesday, January 27, 2010

My another silliy poem

बहुत दिनों से मानो मेरा हिंदी लिखने से नाता ही टूट गया हो ........पर आज मै हिंदी लिखकर अत्यंत हर्षित महसूस कर रहा हूँ
और अपनी इस पगली सी इच्छा को अपने किबोर्ड के माध्यम से व्यक्त कर रहा हूँ , क्रप्या अपने विचार जरुर दीजियेगा ...


हमें तुम मिले तो तुम सही ,हमें वो मिले तो वो सही .
तुम ना मिले तो वो सही |
तुम मिल गए तो वो नहीं|
दुनिया में हजारो होते है , कभी ये नहीं कभी वो नहीं |
किस -किस का सजदा करे कभी ये कही कभी वो कही |
जीने के लिए होती है जिन्दगी ,मरने के लिए होती नहीं |
जो प्यार की खातिर मरते है, उनसे पागल क्या कोई और कही|
सूरज की किरने होती है , कभी उत्तर में कभी दक्षिण में |
कभी पूरब में कभी पश्चिम में |
दिल भी सूरज की किरने है , कभी इस गली कभी उस गली |
हमें तुम मिले तो तुम सही ,हमें वो मिले तो वो सही .........
विश्वास करो ना इस दिल पर कभी इनके लिए कभी उनके लिए |
मरता है हर रोज ये जाने दुनिया में किस किस के लिए |

आपका
रजनीश चौधरी

Thursday, January 14, 2010

Course FInalize

"How will I do CS718(S/W Architecture) , I do'nt know java yaar"
vijay "You can do anything man see me i am taking GCC "
Me "No yaar your programming is really good "
Vijay "No man"
Dinesh as usual to demoralize "Do you know this course is for those who worked in in industry ?"
me "achha so you think i should take only one good course:"
dinesh "definitly yarr rajnish maan ja i am tellining you know nahi tou bad me pachtaoge "

me "I do'nt care i know i can't score more than BC in this course
But what will i do throughout the semester".

Jeetu "abe kuch bhi lo bas ITPM mat chhodna"
me "nahi yar most probably mai ITPM nahi lunga, abe tu bhi mat le yar bahut competion rahega yar , bangaliyo se panga mai tou nahi le sakta....."

Jeetu "abe nahi kam se kam aise subjects me tou unse na hi daro "
me "abe tum logo ka group ban tou gaya h kya problem h"

Jeetu "abe nahi yar tu UPTU vala banda h aise subject me tu jaruri h yar..."
me "achha sale...........nahi yar"
Dinesh tu jeetu "abe tu issse mat bol ye hamesha ulta chalta h ........issse bol ki ITPM mat le "

me "nahi yar kam se kam is bahane java tou sikh jaunga yar
aur han dinesh tu embeded ko audit kyun nahi kar leta aur baki subject jeetu vale rakh le ......."

both "nahi be vo tou mera(dinesh)/ iska(jeetu) future h be "
me ''mmmmmmmmmm'
dinesh "han yar audit me vo regularty nahi ban pati you know "

jeetu to me "abe tu yar ITPM mat chhod yar tera BB tou usme pakka aa jayega "
me "aur Rajesh sir bhi tou ITPM nahi le rahe h .........."
both "abe vo tou is bar 10 pointer banane ki firaq me h aur unhe pata h ITPM me unka AA aa nahi sakta ................isi liye vo NR/TD le rahe h , tumhe bhi 10 pointer banana h kya "

me "nahi bhaya hame pata h apni okat ..?????"
aur jain sahab aa gaye ............
jain to me "haann ab batao kon se subject le rahe ho ............"
me "HSS, Program derivation, Soft archect aur............."
me "aur ane among coastal aur CATARA"
jain "han yahi sun na chaha raha tha me tumhare muhhhh se "
me "are nahi bhaiya majak kar raha tha main you marna thoda hi h "

jain "nahi bhai tum tou kar sakte ho..."
me "hun sale harami .."

jeetu "chalo be ajj gym nahi karna kya "
me 'nahi yar tabiyat kharab h sayad bukhar aa raha h '

jeetu "tum sale Dinesh ka ch**** bana rahe ho abhi pahunch jaoge vahan pe "
me "nahi be seriosly aj tabiyat kharab h "

Ankur "aur beta kya tabiyat kharab h kya "
me "han yar"
Ankkur "beta gym vim mat karna nahi tou mar jaoge "
me "nahi be........."
Ankur "aur han kambal odh ke late jao beta "
me "nahi ne abhi itna bhi nahi h"

....

.
.
.
.
.

.
.
.

.

Me and dinesh in mess .......eating food
me "aaj tou beta jalebi mil rahi h "
dinesh "aaj khana sahi baana hh"
me "han yar inki sweet tou hamesh hi achhi hoti h "
me "han fever me nimbu(lemon) nahi khate na "
dinesh "nahi be sab chlta h ....."
.
...
..
..
in the room ""
someone knocked the yar............
dinesh "yes it is opoend"
one guy "han 5th floor pe ajj 9.30 pm pe meeting hotel ki agar aap anaa chaho tou"
me ""OK..""

me "ja yar mera tou mann nahi ho raha h"
dinesh "han yar canteen me chicken nahi milta uski complain karni h "
me "han jaaa"

and then i started writing this blog..||||

Wednesday, January 13, 2010

An Interesting story.

Today we are living in the world of computer and IT.Computer is used in every field of our everyday life. And most of You know that Allan Turing was the father of computer science.And what else we know about him?.His parents were resident of Orissa, India.
His father Julius Mathison Turing was an officer in Indian civil service. And he wanted to educate his children in U.K. hence Turing was born and got education in U.K.But his father continue to serve in Civil Service. Turing Derived many algorithm of computer science and the first machine which human being used for computation was named as turing machine(Later called computer). One day his working on a cryptographic problem, he recieved a call from his friend and they schedule the stay at allen's home(as turing was homosexul). Those days homosexuality was banned in UK. Their security guard saw them and complain.Turing was sent to jail and he face a lot of torture. As a punishment he was given the vaccine and breast was grown up to him(To make him women).
Later on one day turing was found dead at his home. He commit sucide by eating Cynide . Hence this was the end of all of computer engineer's father.

Do we really produce them?

One idea which very often comes in my mind that are we really producing computer engineers in our colleges.Can we imagine computer Science without mathmatics yes you may be right.Earlier I used to think why not Some of you may also think so.But it is ~99....1% .Yes but today we are producing 1 lac + computer and IT engineer per year.But Computer engineer is not only one who can write program and can handle other tricks.They are something more.I do become very irritate when I compare the lacs of engineers being produced in various institutes throught the country and that of being produced By IIT's and other good institute.And all the difference goes into mathmatical ability.There is no focus on mathmatics in our university and somewhere even there is no course available for CS,IT in mathmatics.We forget that most of the theories and algorithm of computer science are given by mathmatician.And even computer science is generated from Electrical and mathmatics.

Monday, January 11, 2010

My Time pass poem

MAYKASE SE

HOTO SE PIKAR JAAM AAJ MAI GHAYAL HUN!
JANE VO KON SA MEET H, JISME MAI PAGAL HUN!
JAAM KI DO BUNDE HOTO SE LAGTI H KABHI JAB!
JANNAT KE DARSHAN HOTE H HUMKO TOU BAS USI PAL!
AAJ FIR SONE SE PAHLE YAD UNKI AA GAYI!
AISA LAGTA H HAME TOU MAR DALEGI JUDAI!
AAJ FIR JAANE KAHAN SE SAMNE MERE VO AYI!
KHAWAB H YA H HAQIQAT YA KI H UNKI PARCHHAYI!
BHULNA CHAHA THA JITNA YAD UTNI H VO AYI!
AISA LAGTA H HAME TOU MAR DALEGI JUDAI!
CHANDNI FIR SE VANHI H ,CHAND BHI APNI JAGAH H !
MAI TOU APNI HI JAGAH HUN BAS TU HI TOU DOOR GAYI H !
BEWAFFA TUMSE SE SAHI TOU SARAB KI PYALI HI H !
ISKO PI KAR DIL MERA KAM SE KAM KHALI NAHI H !
ITNI SIDDAT SE KABHI TUM PYAR KARNA KARNA KISI SE!
ROK NA PAOGE FIR TUM RASTE KE MAYKASE(SARABKHANA) SE !
TUMKO BHI SARA JAMANA KAH KE BULAYEGA SARABI!
TUM ME BHI FIR YE DUNIYA DHUND LEGI LAKHO KHARABI!
ISS SE BEHTAR TOU YAHI H, CHOT DO DIL KO ABHI SE !
KAVEL TABHI BACH SAKTE HO RASTE KE MAYKASE SE !

Friday, January 1, 2010

My wish list for new year

> India will successfully complete commonwelth games and hopefully can aquire Olympic 2020 organisation.

>IPL three will have high scoring match as against IPL2 matches.

>May the war in Afganistan and Iraq end but should continue in Pak untill the complete removal of terrorist.
>There will be no more terror attack in India.
>The Issues of seprate States will be resolved successfully.
>India will be permanent member of permanant member of international council with USA,Russia,France,UK,China(possible in USA and China also favour other three already favoured)
>Any Bollywood movie will win Oscar.
>Any indian national will win Nobel Prize(Specially in peace and literature)
>Sensex will cross 20 k.
>No further clash with china on important issues.
>Hope any new law will be passed against corruption(Specially for politician) so that no Ramalingum and Koda will rise again.
>May the Pakistani Nuclear weapon be destroyed by America.
>May the education policies by our HRD minister be successfull.