Makemy trip kingfisher discount coupon  

Posted by Unknown

Hi all,

I got his mail. I am not using it, so if anybody is about to go, enjoy!!!


Dear Customer,

Here's some great news for you!

Now, get a discount of Rs. 200* on every Kingfisher Airlines domestic air ticket (Class/Red) purchased online on MakeMyTrip.com.

This offer is valid for a period of 2 days only, i.e. till September 30, 2010 so hurry to book your tickets today.

To avail this discount, enter the voucher number given below in the 'e-Coupon No.' box on the Review page when completing your booking.

If you're not flying any time soon, this voucher is transferable so feel free to pass it on to a friend who might need it.

E-Coupon No./Voucher Number: F-KZ7E48
* Valid for one-time use only till September 30, 2010 (9 pm Indian Standard Time).
* Terms & Conditions apply.


Click here to book your Kingfisher Airlines domestic air tickets now!

Education in Poetic Sense  

Posted by Unknown

Having a break from college life(so as to say, from educational life) I ponder over what it was and what it missed.


College life is a life without bounds, with loads of freedom and time to enjoy it, that is at least in India and the basic reason this is cherished as the peak of one's life. As for education is concerned, it is a teaser for one never gets a chance to get the full movie. A lecture starts with the very basics, builds up the drama, sets the cogs of human mind in motion thinking about what a mess the problem has landed into and what possible ways, we the heroes have to get over it. But unlike a complete movie, the entire thing is short, the core of the investigation is shorted with the time constraints, the fittings are let lose, and the worst of all, the bell rings when maybe the climax was about to burst. In some cases, the overtime is used to end the suspense where the story is told like a narration rather than the visual, the algorithm, pops up from that hidden page in the book, solving many of the problems, some of which never came into the limelight as we remake what a genius made years before our time. a full analysis of the consequences is deferred to the next lecture where unlike a TV serial, there is little to pull us back. The flow is a tiny thread and we try to live in it even after the lecture, but then, another one has to be built and we are never able to come back to the same state and never even remember to the finest of the details the issues that were in our mind when we were building the world around it.

An algorithm is like a piece of poetry where you need to get lost in the world to imagine the flow of events where like Avatar, the value of the tree is nothing without the context. It may not be as vivid to imagine but in application, it is no less. The problem has its own issues, the flow from line to line is so important in finding the puzzle out. And once the lecture is over the dream world gets shattered. We are left with a memory and never fit the pieces. That is why maybe, students really find it difficult to revolutionize in class hours. A revolutionary result requires a more perfect devotion, a dream that is not bound to the boundary of a class, a poetic world with unimaginable limits where the next portion of life fits in somewhere within the imaginary world, where the falling car in Inception just gives another angle to the view to the problem we have. That boundary of education needs an impetus in India. Indian colleges are stuck too much to the concepts of industry ready, high placements that parents ask, what's the average package to what's the quality of education. It is like making a movie just for profit rather than the fun of making it. Education is being butchered into packages and sold for the highest bid. The poetic view of knowledge is long gone. No more do students hear a tingling of bells without caring for the time they are lost in it, the summer heat without electricity or the sight of a perfect maiden that walks past the class door. The hostels are houses of piracy and late night movies coupled with sleepy classes, in case they attend them are a common sight. There is no poetry in education and I think if the Americans blame the Indians for them getting Bangalored, I think, they are to be blamed for destroying this poetry in the Indian educational system. The money that software has brought into Software has brought an end to the equilibrium that required that poetic sense. Too may IT jobs mean addition of too many people, too many of those barbarians who would have joined the army had that paid much more, and thus the education that is poetic is left small circles within reputed institutes where the lover of this man made beauty tries to sit in peace with his passion, where he sees how it had to be seen, where he tries to reach the thresholds, he was meant to reach.

A poet has been forced out of his favorite spot because of so many on-lookers, he runs into corporate world trying to find perfect unison. He goes ahead to look for higher education beyond the boundaries of his nation maybe at a place where the equilibrium is till intact, where a student is not a future jobs-man but just a student, a person who likes to learn to see problems as they get solved and maybe solve some himself which may be used by others to grow. A poet grows for himself and his art is his for life. Iit may be used for material profits but is never made for one...

DRM, Windows and Viruses  

Posted by Unknown

Ever considered why windows XP became so weak, why viruses got so frequent on it. The reason is not just that it had been made in 2001 and while the makers had tools of 1990s to make it, hackers used the 2000s and the technology to open it up. That may be a reason, but here I present another one: DRM.
Now what is DRM?
Full Form: Digital Rights Management.
Details: Wikipedia
Hey, what did you think, Was I supposed to write the one again.
How?
Did you read the section: The role of Microsoft in the Sony rootkit controversy.

That's how. To see that they could promote anti-piracy by getting autoruns in place, they hid the prevent autorun from there. And also gave autorun enough power to prevent music play, remain aloof of the system or in other words, control a lot of the system. And the result is here: Piracy ended(joking)Thanks to google, enough pirated stuff can be searched on net. And technologies like torrents and rapidshare are there at service. Windows came back to cover up flaws in Vista(the bigger flaw)....But that's life and that's how it goes.


Hey, Just a personal opinion, don't file a case on me over it......

Has Science made Religion redundant?  

Posted by Unknown

Not my kind of a post, but wrote it so any way:

Science may be the oil that lubricates the functioning of the planet, but religion is still its fuel. Without a scintilla of doubt, one can say that man's progress has modified religion but the roots of religion are so fundamental that nothing man made can even touch it. By religion, I do not mean the distinction that divides people into castes and groups. Religion is that quality of soul by the virtue of which a man forgives a perpetrator, a conscience pricks as someone does wrong, a silver lining exists in the darkest of circumstances. Religion is not just the physical thing as people see it to be. It is humanity, the immanent property of the human soul. Science is the produce of the human mind, the weapon by which a human being questions and improves the world around him to work out for his benefit. Needless to say, the statement under discussion diminishes not just the importance but the meaning of religion as well.
The survival of the planet is not based on science alone. If God is fictitious and the millions that believe him, stop believing him, then no rules could possibly stop the human race from its annihilation. What laws can stop a million perpetrators if they have no sense of guilt of what they have done. It is the fear that there is a God who looks over what we do and awards us appropriately after death, which makes us moral. From the eyes of science Mother Teresa would probably be a fool, squandering away her time helping the poor. What principles guided her could only be described as her religion, that all human beings are sons of God and all have rights to live happily.
Man is not a machine and no example is needed to prove that. Bill Gates deciding to give all he owns to the charity is not an act of reason. He could well have funded science, but the richest person that science made, realizes that science alone is not enough. The facts say, the percentage of atheists has risen considerably over time. But then, the sheer number of people that believe that a God exists can speak volumes. People living in unimaginable conditions survive not because of science, but because of a belief, the will to live that keeps that going. This will is not science but religion, the unexplainable nature of human soul. Science asks him - Why not die than live in this misery? And man replies - Life is still a gift, the God sees me, and would need a more solid reason for my death. These are not fairy tales that I conjure up, but are the facts that speak for themselves - Science can produce great stuff but religion is the only things that tells us whether to use them.
Science has been questioning the religion more often than not. But is that the religion I talk of? The religion under question by science is the man made patina over the religion. Science never questions whether it is right or wrong to do good. It questions whether it is justifiable to kill thousands because they do not believe the same God as we do. Science goes hand in hand with the religion. It is removing the unnecessary orthodox cover over the true nature of religion that man built over it. The questions doubting the Bible, the Quran or the Gita only try to scratch out the ills that came in due to the human errors and nothing else. There may or may not be God as a physical being, but there is this nature, the mother Earth, symbolized by Gia, that is catering to all our needs. And it is our religion to pay it back. This religion was never under question and never will be.
A keen observer would notice how man has been using religion as a mask for his ill doings, but religion in itself has never been bad, or mistaken in any way. If we define religion as the property of human soul to give justice to all, then science is removing the the dogmatism that we built over it. I would sum it up in much simpler words - Religion is a humanity which is so much more than people think it is. Man has been shaping its outer fringes so many years thinking that to be enough to define it. But rarely has man seen what actually the elephant is. Science has again brought about a revolution correcting the tampered edges, but the core of religion is so pure that nothing can make it obscure.

Google internship Interview  

Posted by Unknown

Had, my google internship, 1st interview today(Telephonic). Love it when the questions come out simple. But I think, a BE student is either kept light, or it being the first one, they planned to lighten me out. And i was introduced to google docs, which I don't know, why I hadn't been using. The questions were on phone as well as on the Google document and they seemed to analyse the code as i wrote it.

Q 0 - About my internship at MS - Was expecting that. Said whatever, I was allowed to and indeed got a little over excited at occasions which might go bad on me. But anyhow, I had worked, so found it easy to answer.

The rest are on the google document I place here. And I was not the one to write the code alone, for I was being adviced of the test cases especially for question one, quite often, and I then could correct them. Luckily, unlike my earlier MS interview, last year, I was able to crack all acses missing. Seems string questions are hot favourites, for they came to be twice and in both the cases, the test cases were the key.
The questions are simple, I think, in comparison to what the other bloggers give, but I think, the best is still to come (If I pass through). I would blame it on myself, if I do not make it, for i really messed the second one at the start, the panic of the brand name getting on to me. It went so bad that she asked me whether I know Inorder(the basics). But I think, I improved upon over that when I started out writing and I hope all goes well. Recession has really limited the opportunities, especially if you are not an IITian, but we have to fight it together.
Without any more Ado, the doc:


1.) Given a string find the first non-consecutively repeated character in the string.
Example: "aaabbcaabbcc", the answer is c (sixth letter)

/*
Algo:
Scan linearly- store i-1th element and compare to ith
*/


char conConsecutive(char *sIp)
{
int len=strlen(sIp);
if(len==0) return 0;
if(len==1) return sIp[0];
if(sIp[0] != sIp[1]) {
return sIp[0];
}
for(int i=1;i {
if(sIp[i] == sIp[i-1]) continue;
if(sIp[i] == sIp[i+1]) {i+=2; continue;}
return sIp[i];
}
if(sIp[len-2] != sIp[len-1] ) return sIp[len-1];
return 0;
}

abbaa - Ist char unique
aabba - Last char unique
aaabbaacbb - String has three(odd) char with same type

2.) Print the Nth inorder node in a binary tree.


int printK(Struct Tree *ptr, int l)
{
if(ptr==NULL) return l;
int k= printK(ptr->left,l);
if(k==0) return 0;
if(k==1)
{
cout<info;
return 0;
}
k=printK(ptr->right,k-1)
return k;
}

3. How many zeros are present in 100!

int CountZeroes(int n)
{
int k=1;
int ret=0;
while(pow(5,k)<=n)
{
ret+=n/pow(5,k);
k++;
}
return ret;

ISTE Week Schedule  

Posted by Unknown in

Fundoori Shiny Poster  

Posted by Unknown

Puzzle Series@ISTE Week  

Posted by Unknown

Reverse Gear@ISTE WEEKK  

Posted by Unknown

Another Poster- See the techs urself

ISTE Treasure hunt poster  

Posted by Unknown

Treasure hunt poster - Grayscale
Technical:
  1. A pic grayed and opacity cut down
  2. User a classic pirate font.
  3. simple & easy

ACM ICPC 2008 Kanpur Site  

Posted by Unknown

Got a chance to be at the Kanpur site for the ACM ICPC, regionals. Learned a few things, gotto do something and had a great time. But most of all found something that could really be inspiring for young students looking forward to this prestigious contest:
  1. We went in underprepared, unpracticed and did badly, to not even land in the top 14, but then when we saw the teams around us we came to know that the overall level of the participants in this contest is coverable. Say a four-five months of practice at Topcoder can see an average programmar through.
  2. Surprisingly, the teams were as prepared as we were as many of them did not know the rules and the working. So if we had comeprepared, not really giving up all the time for TGMC, maybe we might have landed somewhere.
  3. The questions as in the main event had a few standard ones and a few tricky ones. But the main point was, even the world finalist team that won the contest did not need to do the tricky questions and indeed the standard ones done quickly enough saw them through.
  4. Previous world champ sites and all do scare a lot but for Indians planning forward, there is nothing to be scared, yes the contest will be tough but the main point is that, the teams won't be two three years of practice ahead of you, at max two months. So it is indeed coverable.
I do not wish to snatch away the credit from the IIIT team that went through, but all I want to say that is: The web makes it feel we are nowhere, not because we can't do it, but bcoz it contains works and words of those who can - rare few who are exceptional. We'll give it a try next time as well, maybe with no other project would come up fully prepared. 



To all readers - this contest is not gone. Practice can cover up. I say this bcoz many are where years of interest and practice is required, but in this case if you had had a love for basic programming and logic, no need to panic as the algorithms to be used are just the outer covering to the marvelous treasure that the programmer has in im through his interest in the field...

Happy New Year  

Posted by Unknown

Long time of no posts. It has been a busy december. Have lots to talk but do not know about the time to write enough stuff. Lets see how this year fares..... after a seccuessful 08, for both of us. I wish all readers:

Happy New Year
2009

----------------------------------------------------------------------
Hope this comes out greater....

Calling PL/SQL procedures via JAVA  

Posted by Sourabh in ,

try {

con = DriverManager.getConnection("jdbc:odbc:dsn", "system", "hr");

cs=con.prepareCall("{call newteacherid(?,?,?)}");

cs.setString(1,teacherid.getText());
cs.setString(2,teacherid.getText());
cs.setInt(3,1);

cs.execute();
System.out.println("dfasfgasrg");
}
catch (SQLException ex) {
JOptionPane.showMessageDialog(null,"Invalid teacher ID","Error",JOptionPane.ERROR_MESSAGE );
Logger.getLogger(Administrator.class.getName()).log(Level.SEVERE, null, ex);
}

Full Screen Code in JAVA  

Posted by Sourabh in ,

import java.awt.*;

class ScreenRes {
public static void main(String args[]) {
new ScreenRes().doit();
}

public void doit() {
Frame frame = new Frame();
GraphicsDevice device;
device =
GraphicsEnvironment.
getLocalGraphicsEnvironment().
getDefaultScreenDevice();
if ( device.isFullScreenSupported() ) {
device.setFullScreenWindow(frame);
if (device.isDisplayChangeSupported()) {
device.setDisplayMode(
new DisplayMode( 0,0,
8, // bitDepth - 8 bits 256 colors
DisplayMode.REFRESH_RATE_UNKNOWN ));

}
else {
System.err.println("Change display mode not supported");
}
}
else {
System.err.println("Full screen not supported");
}
}
}

My Hederabad Interbship Summer 2008  

Posted by Unknown

Picasa SlideshowPicasa Web AlbumsFullscreen

Sementica @ Pecfest 5  

Posted by Unknown in ,

As I said in one of the previous posts, Pecfest was not standardized. And this came out eminent this time. We came there for a programming contest after a standard prelim( Same old C++ trick questions, with some new lessons to learn, like printf("%%%%%"); a=(1,2,3,4,5); intellient use of i=050; j=0x50; with <<,>>,|,&, operators, recursive main and all). The expectations had risen for an intensive programming contest. We had been second in the prelims with a lots of mistakes, and a local 4th yr. team coming first, par again chalta hai. What came up is much different to expectations, not really bad but missed us a chance to have had another rivetting programming contest just the next day to the ICPC online.
Questions:
1. Syntax of printf: The return type was the trick.
2. Declare an array of pointers to function, that return a pointer to function returning a pointer to character.... Confused, that's ABC of code obfuscation. Mr. Vishnu, one of my seniors had taught this to us, though we had not taken it seriously as it seemed out of scope.
3. To find the sizeof() of int without the sizeof() operator: same old use of pointer++ or array elements, typecast to int and subtract.
4. We were to compart two function declarations, int func(int *arr[]); and int func(int *arr[3]);. we never expected a difference as nothing like this mattered in the protype and the pointer to be passed was to be the same type and rest depend on what we passed. I don't know ehether I was correct but what I tried and just said, seem to work.
5. Analog clock via Turbo C graphics--- who does it now- no one attempted this question, though the organizer was disappointed with that.
5. Given the width and length, egenrate a box of 0s and 1s and count maximum the number of 0s in the biggets rectangle you code make up- one proper coding question, but time had it on all teams as we managed the generator correct.


We ended up as the winners(I and Sourabh) just like th Google Doodle. Unlike google Doodle this efvent had a cash prize of Rs. 500, though that could just meet up our TA, food and all.

Google Doodle @ Pecfest 5  

Posted by Unknown in

I am writing about it for I won it. The event was not for techies, but I think sort of a time pass. We had 20-25 ques. and 10 minutes with google to answer them. Unluckily for the quizzers, this free certificate was not well publicized enough and so a clever web user could have come out better. Google operators were not useful, but one thing else was. The net was too slow to be true. So you need to get it through to the search in the first go. We had wikipedia open to save us a click. Efficient use of the History, and blocking of images really speeded up work and surprisingly, we don't have intelligent web surfers around. WEhy don't people understand how to use web when it is slow. Alas the event had no prize just one trophy for two of us and a certificate.

Pecfest 5  

Posted by Unknown in

We are a roaming group, just attended PecFest 5 yesterday. So here is how the events webt:
1. Organization: organizers were helpful(tech), but like the non tech ones, too few in number and in major non tech or mass events the mismanagement was visible- There seemed to be no distinction on the number of VIPs as the VIP passes seemed to be more with the students. Students were not stopped as they jumped over the barricade into the VIP region. But we shud say chalta hai. Techs we atleast well organized. Organizers were serious,knew what they were giving and we can say, good enough.Events were heavily delayed, and at many instances cut short..............-7/10.
2. Prizes: They seemed to be missing from the events. Most of them had just a trophy for the winners and the certificates, no cash or kind. The kind where present was of no use to the winners. Though we should appreciate timely distribution just after the completion of the contest. There was no mention of the prize amount in many of the posters and the website. The organizers were themselves not sure. They seemed to be doing a hard job working but wel, I think they had only that much in hand, chalo by the 5th attempt I think they realized that people cannot be attracted for thr contests in a palace like Chandigarh, so better use the nights.At least whatever they spoke by the end of it(just before the end) was given............3/10.
3. Publicity: Started late, website was good looking but the content seemed to be missing and really late to come up. People were unaware of what all is taking place. It seemed that even the organizers were not coordinated between the events. No one knew of the other people's events. Difficulty to manage the schedule was emminent even through the event. Maybe all the cared was about the nights or the administration was not supportive enough, but still the hands on publicity and the on spot one could have been managed........--3/10
4. Hospitality: The hospitality was arranged nice enough. The place did not fall short of accomodation. The organizers were helpful enough and attended phone calls as everywhere................9/10.
5. Events: As I said the events on focus seemed to be non technical and so for no prize don't expect too much quality----average i could say. The organizers were enthusiastic and helpful but maybe they don't expect technical people coming ad that was seeming emminent somewhere. Non standardization in th eevents, rules being made as we went through it, and so on marked some of them. Others where there were prizes were good enough. Atleast they had some sort of pre-planning..............6/10.



Finally I shud say that if you want a time pass or are looking for some easy events amidst so much around that that can be more interesting, it'll come out well. But if you are techie and want good event and heavy prizes, stay away.....

Wasim Mujahideen Poster  

Posted by Unknown in

I made another poster, a simple one for Wasim Mujahideen, a movie by my friends, where I helped in a little bit of formatting.
Technicalities:

  1. A background,
  2. some text.
  3. A snapshot.
  4. use magnetic lasso + eraser tool for cutting.
  5. That is it

ShauryaGaata 08 poster  

Posted by Unknown in ,

Getting poster made becomes all that easy. Just take a abstract wallpaper, superimpose images and write text you are done.For the techies:

  1. Took an abstract background.
  2. Pasted images
  3. Used eraser tool with soft bush to merge corners.
  4. typed text.
  5. Applied blending options for the text looks.
  6. And u are done.