Aug 31, 2004

Some cool Technical LInks : Programing Languages

Google for "SteveSummit C" and "about.com" for tutorials on C and C++.

Also the sites http://planetpdf.com for some books on OOPS using C

Another one is http://www.dhruvaraj.com

Instructions for Microsoft's new TV dinner product

You must first remove the plastic cover. By doing so you agree to accept and honor Microsoft's rights to all TV dinners. You may not give anyone else a bite of your dinner (which would constitute an infringement of Microsoft's rights). You may, however, let others smell and look at your dinner and are encouraged to tell them how good it is.
If you have a PC microwave oven, insert the dinner into the oven. Set the oven using these keystrokes:

\mstv.dinn.//08.5min@50%heat//
Then enter:
ms//start.cook_dindin/yummy\|/yum~yum:-)gohot#cookme
If you have a Mac oven, insert the dinner and press start. The oven will set itself and cook the dinner.
If you have a Unix oven, insert the dinner, enter the ingredients of the dinner (found on the package label), the weight of the dinner, and the desired level of cooking and press start. The oven will calculate the time and heat and cook the dinner exactly to your specification.

Be forewarned that Microsoft dinners may crash, in which case your oven must be restarted. This is a simple procedure. Remove the dinner from the oven and enter:

ms.worthless.nogood/tryagain\again/again.bozo
This process may have to be repeated. Try unplugging the microwave and then doing a cold reboot. If this doesn't work, contact your hardware vendor.
Many users have reported that the dinner tray is far too big, larger than the dinner itself, having many useless compartments, most of which are empty. These are for future menu items. If the tray is too large to fit in your oven, you will need to upgrade your equipment.

Dinners are only available from registered outlets, and only the chicken variety is currently produced. If you want another variety, call MicrosoftHelp and they will explain that you really don't want another variety. Microsoft Chicken is all you really need.

Microsoft has disclosed plans to discontinue all smaller versions of their chicken dinners. Future releases will only be in the larger family size. Excess chicken may be stored for future use, but must be saved only in Microsoft approved packaging.

Microsoft promises a dessert with every dinner after '98. However, that version has yet to be released. Users have permission to get thrilled in advance.

Microsoft dinners may be incompatible with other dinners in the freezer, causing your freezer to self-defrost. This is a feature, not a bug. Your freezer probably should have been defrosted anyway.

Thompson, Ritchie and Kernighan admit that Unix was a prank

This article resides at http://www.stokely.com/lighter.side/unix.prank.html.
I don't know how true it is, but it is really fun to read.

This piece was found on Usenet. This is fiction, not reality. Always remember that this is not true. It's really a joke, right? -- Editor

In an announcement that has stunned the computer industry, Ken Thompson, Dennis Ritchie and Brian Kernighan admitted that the Unix operating system and C programming language created by them is an elaborate prank kept alive for over 20 years. Speaking at the recent UnixWorld Software Development Forum, Thompson revealed the following:

"In 1969, AT&T had just terminated their work with the GE/Honeywell/AT&T Multics project. Brian and I had started work with an early release of Pascal from Professor Niklaus Wirth's ETH Labs in Switzerland and we were impressed with its elegant simplicity and power. Dennis had just finished reading 'Bored of the Rings', a National Lampoon parody of the Tolkien's 'Lord of the Rings' trilogy. As a lark, we decided to do parodies of the Multics environment and Pascal. Dennis and I were responsible for the operating environment. We looked at Multics and designed the new OS to be as complex and cryptic as possible to maximize casual users' frustration levels, calling it Unix as a parody of Multics, as well as other more risque! allusions. We sold the terse command language to novitiates by telling them that it saved them typing.

Then Dennis and Brian worked on a warped version of Pascal, called 'A'. 'A' looked a lot like Pascal, but elevated the notion of the direct memory address (which Wirth had banished) to the central concept of the "pointer" as an innocuous sounding name for a truly malevolent construct. Brian must be credited with the idea of having absolutely no standard I/O specification: this ensured that at least 50% of the typical commercial program would have to be re-coded when changing hardware platforms.

Brian was also responsible for pitching this lack of I/O as a feature: it allowed us to describe the language as "truly portable". When we found others were actually creating real programs with A, we removed compulsory type-checking on function arguments. Later, we added a notion we called "casting": this allowed the programmer to treat an integer as though it were a 50kb user-defined structure. When we found that some programmers were simply not using pointers, we eliminated the ability to pass structures to functions, enforcing their use in even the simplest applications. We sold this, and many other features, as enhancements to the efficiency of the language. In this way, our prank evolved into B, BCPL, and finally C.

We stopped when we got a clean compile on the following syntax: for(;P("\n"),R-;P("|"))for(e=C;e-;P("_"+(*u++/8)%2))P("| "+(*u/4)%2);

At one time, we joked about selling this to the Soviets to set their computer science progress back 20 or more years.

Unfortunately, AT&T and other US corporations actually began using Unix and C. We decided we'd better keep mum, assuming it was just a passing phase. In fact, it's taken US companies over 20 years to develop enough expertise to generate useful applications using this 1960's technological parody. We are impressed with the tenacity of the general Unix and C programmer. In fact, Brian, Dennis and I have never ourselves attempted to write a commercial application in this environment.

We feel really guilty about the chaos, confusion and truly awesome programming projects that have resulted from our silly prank so long ago."

Dennis Ritchie said: "What really tore it (just when ADA was catching on), was that Bjarne Stroustrup caught onto our joke. He extended it to further parody Smalltalk. Like us, he was caught by surprise when nobody laughed. So he added multiple inheritance, virtual base classes, and later ...templates. All to no avail. So we now have compilers that can compile 100,000 lines per second, but need to process header files for 25 minutes before they get to the meat of "Hello, World".

Major Unix and C vendors and customers, including AT&T, Microsoft, Hewlett-Packard, GTE, NCR, and DEC have refused comment at this time.

Borland International, a leading vendor of object-oriented tools, including the popular Turbo Pascal and Borland C++, stated they had suspected for Windows was originally written in C++. Philippe Kahn said: "After two and a half years programming, and massive programmer burn-outs, we re-coded the whole thing in Turbo Pascal in three months. I think it's fair to say that Turbo Pascal saved our bacon". Another Borland spokesman said that they would continue to enhance their Pascal products and halt further efforts to develop C/C++.

Professor Wirth of the ETH Institute and father of the Pascal, Modula 2, and Oberon structured languages, cryptically said "P.T. Barnum was right." He had no further comments.

All names are Registered Trademarks of their respective companies. This article was found on the USENET - its author could not be determined.

The Bible in 50 words

God made
Adam bit
Noah arked
Abraham split
Joseph ruled
Jacob fooled
Bush talked
Moses balked
Pharaoh plagued
People walked
Sea divided
Tablets guided
Promise landed
Saul freaked
David peeked
Prophets warned
Jesus born
God walked
Love talked
Anger crucified
Hope died
Love rose
Spirit flamed
Word spread
God remained.


This was oricinally spotted at http://ianchaiwriting.50megs.com/

Aug 17, 2004

Is the modern Software Industry Back on old Track?

How can it be possible? I know unless i tell you what I have on my mind u cannot agree or disagree or even comment..but this was something difficult for me...and may be you won't find it easy to eat...especially if you are a BIG COMAPNY HIRED SOFTWARE PROFESSIONAL....(i pity u as i do myself)...get ready to eat my words... I say that the software industry is working the same way as Marx described the Industry and the labour's in the year 1847 in the book Wage and Labour in the Chapter 9.....The only question is how could me and my pals at work could relate to this?

Read for urself...I was shell shocked and how about you?

But what effect do these conditions, which are inseparable from the growth of productive capital, have upon the determination of wages?

The greater division of labor enables one laborer to accomplish the work of five, 10, or 20 laborers; it therefore increases competition among the laborers fivefold, tenfold, or twentyfold. The laborers compete not only by selling themselves one cheaper than the other, but also by one doing the work of five, 10, or 20; and they are forced to compete in this manner by the division of labor, which is introduced and steadily improved by capital.

Furthermore, to the same degree in which the division of labor increases, is the labor simplified. The special skill of the laborer becomes worthless. He becomes transformed into a simple monotonous force of production, with neither physical nor mental elasticity. His work becomes accessible to all; therefore competitors press upon him from all sides. Moreover, it must be remembered that the more simple, the more easily learned the work is, so much the less is its cost to production, the expense of its acquisition, and so much the lower must the wages sink — for, like the price of any other commodity, they are determined by the cost of production. Therefore, in the same manner in which labor becomes more unsatisfactory, more repulsive, do competition increase and wages decrease.

The laborer seeks to maintain the total of his wages for a given time by performing more labor, either by working a great number of hours, or by accomplishing more in the same number of hours. Thus, urged on by want, he himself multiplies the disastrous effects of division of labor. The result is: the more he works, the less wages he receives. And for this simple reason: the more he works, the more he competes against his fellow workmen, the more he compels them to compete against him, and to offer themselves on the same wretched conditions as he does; so that, in the last analysis, he competes against himself as a member of the working class.

Marx..the philosophy

The philosophy works fine and still makes sense. The marxists have been laid to peace, the communists failed and lost in the race against the capitalists (Chinese aren't communists for me now) but still the inside story remains unchanged.....the labour, the wages, the money makers.

Has something changed?


Was just reading a bit of Marx
and it hit me hard like the iceberg hit the titanic.

The following passage from the book "Wage Labour and Capital" still holds true. Yes, all we can agree to is, the fact that only the names have changed. Don't believe me...read it.

Political economy finds it an established fact that the prices of all commodities, among them the price of the commodity which it calls "labor", continually change; that they rise and fall in consequence of the most diverse circumstances, which often have no connection whatsoever with the production of the commodities themselves, so that prices appear to be determined, as a rule, by pure chance. As soon, therefore, as political economy stepped forth as a science, it was one of its first tasks to search for the law that hid itself behind this chance, which apparently determined the prices of commodities, and which in reality controlled this very chance. Among the prices of commodities, fluctuating and oscillating, now upward, now downward, the fixed central point was searched for around which these fluctuations and oscillations were taking place. In short, starting from the price of commodities, political economy sought for the value of commodities as the regulating law, by means of which all price fluctuations could be explained, and to which they could all be reduced in the last resort.

And so, classical political economy found that the value of a commodity was determined by the labor incorporated in it and requisite to its production. With this explanation, it was satisfied. And we, too, may, for the present, stop at this point. But, to avoid misconceptions, I will remind the reader that today this explanation has become wholly inadequate. Marx was the first to investigate thoroughly into the value-forming quality of labor and to discover that not all labor which is apparently, or even really, necessary to the production of a commodity, imparts under all circumstances to this commodity a magnitude of value corresponding to the quantity of labor used up. If, therefore, we say today in short, with economists like Ricardo, that the value of a commodity is determined by the labor necessary to its production, we always imply the reservations and restrictions made by Marx. Thus much for our present purpose; further information can be found in Marx's Critique of Political Economy, which appeared in 1859, and in the first volume of Capital.

But, as soon as the economists applied this determination of value by labor to the commodity "labor", they fell from one contradiction into another. How is the value of "labor" determined? By the necessary labor embodied in it. But how much labor is embodied in the labor of a laborer of a day a week, a month, a year. If labor is the measure of all values, we can express the "value of labor" only in labor. But we know absolutely nothing about the value of an hour's labor, if all that we know about it is that it is equal to one hour's labor. So, thereby, we have not advanced one hair's breadth nearer our goal; we are constantly turning about in a circle.

Classical economics, therefore, essayed another turn. It said: the value of a commodity is equal to its cost of production. But, what is the cost of production of "labor"? In order to answer this question, the economists are forced to strain logic just a little. Instead of investigating the cost of production of labor itself, which, unfortunately, cannot be ascertained, they now investigate the cost of production of the laborer. And this latter can be ascertained. It changes according to time and circumstances, but for a given condition of society, in a given locality, and in a given branch of production, it, too, is given, at least within quite narrow limits. We live today under the regime of capitalist production, under which a large and steadily growing class of the population can live only on the condition that it works for the owners of the means of production -- tools, machines, raw materials, and means of subsistence -- in return for wages. On the basis of this mode of production, the laborer's cost of production consists of the sum of the means of subsistence (or their price in money) which on the average are requisite to enable him to work, to maintain in him this capacity for work, and to replace him at his departure, by reason of age, sickness, or death, with another laborer -- that is to say, to propagate the working class in required numbers.

Let us assume that the money price of these means of subsistence averages 3 shillings a day. Our laborer gets, therefore, a daily wage of 3 shillings from his employer. For this, the capitalist lets him work, say, 12 hours a day. Our capitalist, moreover, calculates somewhat in the following fashion: Let us assume that our laborer (a machinist) has to make a part of a machine which he finishes in one day. The raw material (iron and brass in the necessary prepared form) costs 20 shillings. The consumption of coal by the steam-engine, the wear-and-tear of this engine itself, of the turning-lathe, and of the other tools with which our laborer works, represent, for one day and one laborer, a value of 1 shilling. The wages for one day are, according to our assumption, 3 shillings. This makes a total of 24 shillings for our piece of a machine.

But, the capitalist calculates that, on an average, he will receive for it a price of 27 shillings from his customers, or 3 shillings over and above his outlay.

Whence do they 3 shillings pocketed by the capitalist come? According to the assertion of classical political economy, commodities are in the long run sold at their values, that is, they are sold at prices which correspond to the necessary quantities of labor contained in them. The average price of our part of a machine -- 27 shillings -- would therefore equal its value, i.e., equal the amount of labor embodied in it. But, of these 27 shillings, 21 shillings were values were values already existing before the machinist began to work; 20 shillings were contained in the raw material, 1 shilling in the fuel consumed during the work and in the machines and tools used in the process and reduced in their efficiency to the value of this amount. There remains 6 shillings, which have been added to the value of the raw material. But, according to the supposition of our economists, themselves, these 6 shillings can arise only from the labor added to the raw material by the laborer. His 12 hours' labor has created, according to this, a new value of 6 shillings. Therefore, the value of his 12 hours' labor would be equivalent to 6 shillings. So we have at last discovered what the "value of labor" is.

"Hold on there!" cries our machinist. "Six shillings? But I have received only 3 shillings! My capitalist swears high and day that the value of my 12 hours' labor is no more than 3 shillings, and if I were to demand 6, he'd laugh at me. What kind of a story is that?"

If before this we got with our value of labor into a vicious circle, we now surely have driven straight into an insoluble contradiction. We searched for the value of labor, and we found more than we can use. For the laborer, the value of the 12 hours' labor is 3 shillings; for the capitalist, it is 6 shillings, of which he pays the workingman 3 shillings as wages, and pockets the remaining 3 shilling himself. According to this, labor has not one but two values, and, moreover, two very different values!

As soon as we reduce the values, now expressed in money, to labor-time, the contradiction becomes even more absurd. By the 12 hours' labor, a new value of 6 shillings is created. Therefore, in 6 hours, the new value created equals 3 shilling -- the mount which the laborer receives for 12 hours' labor. For 12 hours' labor, the workingman receives, as an equivalent, the product of 6 hours' labor. We are, thus, forced to one of two conclusions: either labor has two values, one of which is twice as large as the other, or 12 equals 6! In both cases, we get pure absurdities. Turn and twist as we may, we will not get out of this contradiction as long as we speak of the buying and selling of "labor" and of the "value of labor". And just so it happened to the political economists. The last offshoot of classical political economy -- the Ricardian school -- was largely wrecked on the insolubility of this contradiction. Classical political economy had run itself into a blind alley. The man who discovered the way out of this blind alley was Karl Marx.

What the economists had considered as the cost of production of "labor" was really the cost of production, not of "labor", but of the living laborer himself. And what this laborer sold to the capitalist was not his labor.

"So soon as his labor really begins," says Marx, "it ceases to belong to him, and therefore can no longer be sold by him."


Can any one of us dare to be different? All comments are welcome.

some country music i liked...new to me

This is now on my wishlist. I heard this song on Yahoo launchcast while in office and it sounds fantabulous...Can ne one arrange it for me...or shall I buy?


Artist: John Michael Montgomery
Album: Very Best of John Michael Montgomery
Song: Letters From Home


Lyrics:

My Dear Son, it is almost June,
I hope this letter catches up to you, and finds you well.
Its been dry but they’re calling for rain,
And everything's the same ol’ same in Johnsonville.
Your stubborn 'ol Daddy ain’t said too much,
But I’m sure you know he sends his love,
And she goes on,
In a letter from home.

I hold it up and show my buddies,
Like we ain’t scared and our boots ain’t muddy, and they all laugh,
Like there’s something funny bout’ the way I talk,
When I say: "Mama sends her best y’all."
I fold it up an' put it in my shirt,
Pick up my gun an' get back to work.
An' it keeps me driving me on,
Waiting on letters from home.

My Dearest Love, its almost dawn.
I’ve been lying here all night long wondering where you might be.
I saw your Mama and I showed her the ring.
Man on the television said something so I couldn’t sleep.
But I’ll be all right, I’m just missing you.
An' this is me kissing you:
XX’s and OO’s,
In a letter from home.

I hold it up and show my buddies,
Like we ain’t scared and our boots ain’t muddy, and they all laugh,
'Cause she calls me "Honey", but they take it hard,
'Cause I don’t read the good parts.
I fold it up an' put it in my shirt,
Pick up my gun an' get back to work.
An' it keeps me driving me on,
Waiting on letters from home.

Dear Son, I know I ain’t written,
But sittin' here tonight, alone in the kitchen, it occurs to me,
I might not have said, so I’ll say it now:
Son, you make me proud.

I hold it up and show my buddies,
Like we ain’t scared and our boots ain’t muddy, but no one laughs,
'Cause there ain’t nothing funny when a soldier cries.
An' I just wipe me eyes.
I fold it up an' put it in my shirt,
Pick up my gun an' get back to work.
An' it keeps me driving me on,
Waiting on letters from home.

Aug 10, 2004

LIfe is Back

Folks am back as a normal user and u know who the culprit was..y wasn't i able to log on because of M$ brainchild the IE aka "internet explorer". The moment i switched on to the Mozilla Firefox life is back to normal....

Just one more time the question is why must a person pay for a software which makes u feel miserable and knocks u out when u depend. And the admiration for the opensource comes automatically. This level of commitment and service and that too for free is really what is hard to find in today's capitalist scenario. Undoubtedly there can be more ways to service thw society but this isn't too bad either.

Once more my soul has been saved by the guys. Long live the open source. Long live the GNU......and thanks to M$...only they let us make the comparison. Otherwise how would we measure the good of there was no bad

Aug 9, 2004

Login BLues


this unknown snap is just a test to c if i still can acess my blog insome way.

What happened is i forgot my password on blogspot.com. So I went to the recover password center.

Within minutes i recieved an e-mail saying that if i want to reset my account i have to follow a URL (which they had sent to me)

I was happy...but what happened was..the moment i clicked on the URL a page popped up saying that I must authenticate before i go further.

How can i authenticate when i have lost the passwords :-((

I have sent numerous mails to blog support as well n they send me a similar URL all the time...so looks like i will have to create another account just beacuse i had lost my password....THIS IS WEIRD and AM HURT...