Java code made by friend for my home work ;)


Smart people outsource to learn faster.

Thank you Zain Bhai, i don't know if you can read this rusty blog. Although there are no marks for this question given for brainstorming.

____________________

Question: A person is 40 years now. He has 32 teeth at the moment. At every passing odd year, his 2 teeth fall and an every passing even year, his 1 tooth falls. At what age, he will be toothless?

Code:

{
int a=40; b=32; z=0; c=0;
for(x=1; x<=21; x=x+1);
{
if(b!=0)
{
if(x%2==0)
{
b=b-1
c=c+1
}
else
{
if(x%2==1)
{
b=b-2
c=c+1
}
}
}
y=c+a
system.out.print(y)
}

Prophet's enduring Wish

Prophet has been reported saying: "I wish, Surah Yasin is in every Muslim's heart."

He also said that who ever recites it would get purified of all previous sins.

May Allah give us taufiq to memorize it and recite daily.

Vending Machines: A Dream Gone Sour

Dawn Lahore, FRIDAY, SEPTEMBER 24, 2010. See page # 10, read an article by Miwa Suzuki.

Now, i bought this book on starting up a business of vending machine, which i didn't know about the time i bought it. Since it was published by a magazine called Entrepreneur and was about entrepreneurship, so i bought it blindly, also it was quite cheap. "People respond to incentives."

Today I read this article (see top) about flourishing and much saturated vending machine market in Japan, with only 2.5 million drink-selling machines generating 27 billion dollars last year. They've placed it everywhere from streets to the 'icy summits of Mount Fuji'.

So, this seems like a dream business idea. Pakistan's is filled with the absence of these machines. We can do reverse engineering and reinvent and redefine what a vending machine is, and spread it everywhere!

There's one little problem, and difference b/w how things work in Japan and Pakistan. In Japan, people are not the likely to crime than in Pakistan. That's why they've spread it everywhere.

I talked about this v machine to the cook at home. I surprised him how they're selling chilled bananas with mind-reading devices (that can tell with 75% success rate what you'd like most to purchase), and he said, "Yahan tou banday nahi miltay, machine kya bachay gi!" ('Here people are missing from home, who cares about a vending machine.')

I stopped day-dreaming and went back to my Philosopher's Corner in search of a billion dollar idea!

Breaking the Ice: Benchmarking Army Personnel's Social Networking

My friend comes to my home, and asks me for help. He wants me to count people in my neighborhood whom i know. I struggled to name any at all, but eventually 3 people came to my mind in a town of of over a lac people, i presume, at least! I said to him that i'm in trouble. I ain't no good at knowing my neighbours, this is a serious lacking from Islamic perspective. So i asked him, how to penetrate and break the ice with these people in this modern town.

Remember, its a characteristic of modern cities, according to sociologists, that communal life doesn't exist there. In modern cities, neighbours usually don't know each other much, but people are very active socially on networking platforms (offline it mentioned, but online as well). What a paradox.

He suggested me a tested tip: Send a formal letter with minimum words, in most elegant manners, to your neighbor calling them on a tea. This is a practice of many an Army people who do this when they come into a new place.

I'm writing the letter as a BETA version here.

______________________________

House # ABC
Street # Alif. Bay. Pay
Mr/Mrs _________

Assalamualaekum!

I'm Muhammad Umer Toor, a business student at a university in Lahore. I'm living in ______ with my father. I'm new here, so I want to have chat with you over a cup of tea at my home.

This is mobile # ________. My notify me your arrival date and time, and we'll catch up anytime of your choice.

Regards
Muhammad Umer Toor
[university name]
External Researcher @ R&D Labs,
Kirana Bar School.

Extreme Sun, Extreme Man

Sunspot.

For past one century, for past one decade, humanity has seen such crises bigger than any crisis in civilizational history, other than the flood of Nuh or such incidents. Conditions in world have become extreme producing extreme reactions by people of any world-view. One important 'out of control factor' is the catalytic effect of Sun's energy on human mind, just as sun plays a predominant - which is too small a word - in every physical happening and variation; just as sun can destroy space satellites, annihilate electricity in Canada, nullify semiconductors - it also tinkers with sensitive electric currents of human brain.

If we see past 250 years of history of sun's activity - its storms, its 'sunspots' (which emit electro-magnetic rays and flares out of it) - it has reached its peak in 20th century (see photo below in which timeline is given along with sunspot cycles). Its heat and energy emissions have become more intense than anytime before. Sultan B. Mehmood, a Pakistani atomic scientist, could not understand why the effects of sun and its magnanimous variations should not be studied on human mind and behavior. This led him to study human history and sun's history, side-by-side, of past 250 years. He penned the book, in 1997-8 (?) and came out with startling predictions which turned out to be remarkably true.

The core prediction was about the rise of agitation, restlessness, aggression and terrorism in next decade; about the physical, earthly disasters we'd see from 2008-2017 along with political turmoil and violence. Studying the 'cosmic effects' of sun spots and sun storms on human mind and moods, he said back then that next decade would manifest extreme human behaviour which if not controlled will create havoc and crises. The bottom line is: if you can have control on your charged emotions, it turns into positivity - creativity, productivity, life, thought and civilization. He adds, "Make the hay while sun shines." Hence, extremism in behavior and outlook, is a major human problem everywhere.

When the attacks of 9/11 took place, intelligence agencies arrested Mr. Method and interrogated, "What you wrote in your book has turned out to be remarkably true. Maybe you are the master-mind behind these attacks." The author only had to say, "When i wrote the book (in '98) I also sent its copies to President Bill Clinton, PM Tony Blair and other heads of state urging them to show leadership to ensure peace." (These are not exact quotes as I am relying on memory.)

The book is written in a very acute scientific manner which is, nonetheless, highly readable by laymen. It is also punctuated by such sections on Sun's role in 'the choice of marriage and children', etc. It has useful advices for people from all walks of life from politicians to entrepreneurs It is very statistically and methodically written with case histories of events occurring in past 250 years both on sun and earth.


Sunspot cycles and timeline

Procrastination and Impatience

I came across this piece of research somewhere which shows a positive corelation between procrastination (laziness) and impatience. It means that both are to be found in a same person at a time.

I talked to a competent psychatrist about it and he noded in yes stating that one is the cause of the other and vice versa. Procrastination is destined to lead one to become impatient, irritated and haphazard. However, what are the causes of it? According to him, procrastination is caused due to following set of reasons:
1. Lack of priorities.
2. Abscence of time-frame in which to accomplish work.
Have these and you're prone to procrastinate. And when the time limit comes to near end, instantly one becomes active, so to say over-active, becoming impatient. Cure one, and you cure the other.

New Logo for ESEF

Elementary Society to Excel in Future - Pakistan - or ESEF is a welfare organization with taste for Islamic spirituality as well, run by elite Pakistani university students (almost all undergrad now), have developed a new logo of their own. I'm loving it.

ESEF, founded in 2008, works on the basic principle of networking effort to serve Pakistan and Muslim Ummah at large. Currently they're heavily engaged in guiding young students in career choices and doing welfare activities of all sorts. It will see growth on intellectual and practical fronts in future, God willing.

For now - the logo.

One Sinister Enemy of Learning: Fear

Cost/managerial accounting is a major business course which all students of management go through. It is taught by one of most established and expert teacher/scholar in Pakistan. It has reputation of being unaccessible to simple-minded people who lack intellectual rigor. I was afraid of it, thanks to word-of-mouth of seniors. But that's just an external excuse. It was my internal mistake (a cause) that made me nervous about it, as i had to think hard about this course. I enjoyed being in class and solving cases and problem as instructor was there, who was also very accessible to us and went to great length to answer our questions, no matter how stupid. Nonetheless, when it came to self-study, i often had problems breathing well. especially when i attempted to understand its intricate theory and frameworks and tried to apply it complex cases (which is very typical of case method). Data used to be huge and thinking/intellect had to deployed in platoons to tackle any topic in that course. That's why it was fearsome

However, final papers turned to be good due to organized dedicated, directed and group work: this gives us an insight into how to succeed in exams on last day - with a disciplined friend, we systematically chased each chapter and won over it being very consistent over a span of 12-14 hours.

To say the least, this is one of most valuable courses (especially its book) i've have took in business. For instance, one recent grad of my school of management working, although as non-accounting operations management told me how useful this book on managerial accounting had been on the production floor - each day he had to refer to it, literally.

It all came back the memory of it as flash back when i was browsing through SSRN.com and found a paper on Activity-Based Cost accounting, which is a hot field in managerial accounting these days. We studied it as well. . I quote the excerpt of the abstract to illustrate my point about uselessness of fear when it comes to learning:

[Excerpt] It is essential to understand that ABC is a method that tries to frame data in a managerial decision making context. Models, figures and theories only have value to the extent that they help us to understand and explain what happens in the company. ABC is an allocation method cum story: it is an arbitrary way to allocate costs - as arbitrary as any other allocation method - but it helps in communicating how the (production) process works and, therefore, tries to upgrade the value of accounting in the decision making process. If, e.g., a good driver is found and if there is statistical evidence that supports the choice of and/or work-floor feeling on such a driver, using this cost driver in the calculations of product (line) profitability makes the accounting much more vivid and important to decision making.

Mr. Van Schenkel, founder and owner of small company producing colour printed T-shirts, has some ideas on why multi-coloured T-shirts are more expensive in production than T-shirts with fewer colours printed on them. Process mapping and accounting data are available to set up an ABC system that will allow to test the validity of Mr. Van Schenkel's ideas and to come to better accounting calculations of product profitability.

You can see how the author is applying theory and making it practical. This is a simple demonstration of higher level of learning: experimentation, application = usefulness. Had been more fearless of the burden of reputation of the course and its demanding nature, i'd have turned out to be a better citizen. And i happy i have learned this insight.

See the example and you'll get just how useful the concepts of managerial accounting is for entrepreneurship, SME's and all kinds of organization. It should be all research (read: play) with all seriousness - I'm not denying pain at all, which is part and parcel of (higher) learning. nothing can help a too fearful and shy a learner in the path of getting useful knowledge. To say the least, one has to be fearless in outlook when s/he approaches knowledge. And habit of tinkering with stuff be encouraged. It's an engineer's attitude, that's why we trust them.

What are your comments?