A WordPress Plugin

200px-eminem_-_lose_yourself_cd_cover.jpg Wordpress.com is the world’s premier blog, as compared to Blogger. WordPress.org offers you software that helps you develop your website or blog.

The advantages of using WordPress is the large number of themes, widgets and plugins that are offered.

Thus you need not know a single line of code to create, develop and maintain a website.

Decisionstats proudly presents it’s first wordpress plugin extension “Lose Your self”

A extension of Hello Dolly ,this plugin plays random lines from the iconic song “Lose Yourself” by Eminem from the 8 mile soundtrack,into the admin section of your wordpress (http://domainname/wp-admin).

This pluign has been approved by the WordPress community, and I am in process of uploading it using the subversion /subvention system that they use.

I am pasting the code here,copy the code in blue font  in a text file, save the file as “yourself.php”

 please note DO include the double quotations.

-In case you want to change the lyrics to some other favorite song , replace the words  which are martked in bold.

This song was written and performed by Eminem in the 8 mile soundtrack, and the original plugin was created by Matt. When working within wordpress this puts a random line at the right hand corner in the admin section ..helps to pass the large amounts of  time as you configure your site.

<?php
/*
Plugin Name: Lose Yourself
Plugin URI: http://wordpress.org/#
Description: This is not just a plugin, it symbolizes the anguish of an entire generation summed up in two words sung most famously by Eminem: Lose, Yourself. When activated you will randomly see a lyric from <cite>Lose, Yourself</cite> in the upper right of your admin screen on every page.Its inspired by Matt’s famous Hello Dolly Plugin but the song is suited to newer times
Author: Matt Mullenweg modified by Ajay Ohri
Version: 1.6
Author URI: http://photomatt.net/
*/

// These are the lyrics to Lose Yourself
$lyrics = “
Look, if you had one shot, or one opportunity
To seize everything you ever wanted-One moment
Would you capture it or just let it slip?
His palms are sweaty, knees weak, arms are heavy
There’s vomit on his sweater already, mom’s spaghetti
He’s nervous, but on the surface he looks calm and ready
To drop bombs, but he keeps on forgettin
What he wrote down, the whole crowd goes so loud
He opens his mouth, but the words won’t come out
He’s choking, how everybody’s joking now
The clock’s run out, time’s up over, bloah!
Snap back to reality, Oh there goes gravity
Oh, there goes Rabbit, he choked
He’s so mad, but he won’t give up that
Easy, no
He won’t have it , he knows his whole back’s to these ropes
It don’t matter, he’s dope
He knows that, but he’s broke
He’s so stagnant that he knows
When he goes back to his mobile home, that’s when it’s
Back to the lab again yo
This this whole rhapsody
He better go capture this moment and hope it don’t pass him
You better lose yourself in the music, the moment
You own it, you better never let it go
You only get one shot, do not miss your chance to blow
This opportunity comes once in a lifetime yo
The soul’s escaping, through this hole that it’s gaping
This world is mine for the taking
Make me king, as we move toward a, new world order
A normal life is boring, but superstardom’s close to post mortem
It only grows harder, only grows hotter
He blows us all over these hoes is all on him
Coast to coast shows, he’s know as the globetrotter
Lonely roads, God only knows
He’s grown farther from home, he’s no father
He goes home and barely knows his own daughter
But hold your nose cause here goes the cold water
His hoes don’t want him no mo, he’s cold product
They moved on to the next schmoe who flows
He nose dove and sold nada
So the soap opera is told and unfolds
I suppose it’s old partner’, but the beat goes on
Da da dum da dum da da
No more games, I’ma change what you call rage
Tear this motherfucking roof off like 2 dogs caged
I was playing in the beginning, the mood all changed
I been chewed up and spit out and booed off stage
But I kept rhyming and stepwritin the next cypher
Best believe somebody’s paying the pied piper
All the pain inside amplified by the fact
That I can’t get by with my 9 to 5
And I can’t provide the right type of life for my family
Cause man, these goddam food stamps don’t buy diapers
And it’s no movie, there’s no Mekhi Phifer, this is my life
And these times are so hard and it’s getting even harder
Trying to feed and water my seed, plus
Teeter totter caught up between being a father and a prima donna
Baby mama drama’s screaming on and
Too much for me to wanna
Stay in one spot, another day of monotony
Has gotten me to the point, I’m like a snail
I’ve got to formulate a plot fore I end up in jail or shot
Success is my only motherfucking option, failure’s not
Mom, I love you, but this trailer’s got to go
I cannot grow old in Salem’s lot
So here I go is my shot.
Feet fail me not cause maybe the only opportunity that I got
You can do anything you set your mind to, man

“;

// Here we split it into lines
$lyrics = explode(“\n”, $lyrics);
// And then randomly choose a line
$chosen = wptexturize( $lyrics[ mt_rand(0, count($lyrics) – 1) ] );

// This just echoes the chosen line, we’ll position it later
function lose_yourself() {
global $chosen;
echo “<p id=’yourself’>$chosen</p>”;
}

// Now we set that function up to execute when the admin_footer action is called
add_action(‘admin_footer’, ‘lose_yourself’);

// We need some CSS to position the paragraph
function yourself_css() {
echo ”
<style type=’text/css’>
#yourself {
position: absolute;
top: 2.3em;
margin: 0; padding: 0;
right: 1em;
font-size: 16px;
color: #f1f1f1;
}
</style>
“;
}

add_action(‘admin_head’, ‘yourself_css’);

?>

——————————————————————————————

World Development Indicators

http://publications.worldbank.org/ecommerce/catalog/product-detail?product_id=6355166&

The World Bank’s flagship collection of time series data is available for 75 $ and is updated for 2007. This is a very reasonable alternative for any data subscription as it is the most exhaustive and credible source of data.

content-download.jpg

All the data , and all the countries !!

 World Bank data remains the most comprehensive source of independent data .

 It is recommended for all research related activities.

I quote the Bank itself ”

World Development Indicators (WDI) publication is the World Bank’s premier annual compilation of data about development. The 2007 WDI includes more than 900 indicators in over 80 tables organized in 6 sections: World View, People, Environment, Economy, States and Markets, and Global Links. How to Order

 

Data are shown for 152 economies with populations of more than 1 million, as well as for Taiwan, China, in selected tables. Table 1.6 presents selected indicators for 56 other economies—small economies with populations between 30,000 and 1 million and smaller economies if they are members of the World Bank.”

BBC Country Profiles

bbc-india2.PNG

BBC has a good collection of Country Profiles.

Neatly Segmented with types of information ,

quite useful for a top level summary level view on the

 country or as a starting point for a country analysis.

It covers countries, territories and even some notable

 organizations.

Copyright @ bbc. And access is free !!!

http://news.bbc.co.uk/2/hi/country_profiles/default.stm

Eg. India

http://news.bbc.co.uk/1/hi/world/south_asia/country_profiles/1154019.stm

The World Bank (of Researchers)

This is an extremely comprehensive site from the World Bank.

It covers a lot of topics neatly segmented by countries.

http://go.worldbank.org/89VNQVGOC0

Lets say I clicked India.

http://go.worldbank.org/HY6V4FN0U0world-bank-data.PNG

This gives the recent research on the country by the World Bank. It is quite comprehensive but good for a qualative feel of a country’s profile.

Times Free Site for Global Business

TIME.COM

There is a new site by www.time.com and in collabration with World Economic Forum’s Competitiveness Initiative.

The site is called http://www.time.com/time/global_business

and it has the following features –

1) Graphical tools to view How a Country is , when it comes to doing business

2) Google enable news for latest news

3) Featured stories

4) Weather news for travel

The best point is that it is’s one page snapshot of the top 37 countries as measured by the most important competitive metrics- ease of doing business .

And it is for free —-

time2.PNG

time1.PNG

Using UN Data to Analyze Countries

unstats.PNG

The United Nations is a great resource site for research on country specific topics.

You can use it you are researching any group of countries for a particular policy comparison or product estimation .

http://unstats.un.org/unsd/cdb/cdb_help/cdb_quick_start.asp

You can click on the Country Profile link on the left.

A simple querying tool allows you specific country profiles along parameters.

Eg. India’s economy-

http://unstats.un.org/unsd/cdb/cdb_country_prof_results.asp?crID=356&cpID=11

The site requires you to acknolwedge credits and commercial usage

needs special permission. But it remains the most comprehensive and neutral sources of economic data.

A drawback is sometimes data is not updated for latest years.

The solution to that is individual statistics department of government. Historic time series are best used during this tool.