Double U Blog

personal site and portfolio of Waleed Zuberi

Double U Blog random header image

Thoughts on Poverty

October 16th, 2008 · Thought

Almost half the world’s population — about 3 billion people — live on less than $2.50 a day (source). To get things into perspective, that’s approximately Rs. 200 (Pakistani), roughly the same cost as chicken, which we eat almost daily. 74% of the population of Pakistan lives under $2/day according to a 2002 study (WDI, 2006; source); that number can only have risen in the last 6 years.

Nearly a billion people in developing countries have inadequate access to water, and 2.6 billion lack basic sanitation — I could go on, but I’d rather point you to a site where you can read some excellently presented (read: pretty charts and pie diagrams) poverty facts and statistics as well as other great eye-openers relating to poverty and the efforts against it (at globalissues.org).

Poverty is hunger. Poverty is lack of shelter. Poverty is being sick and not being able to see a doctor. Poverty is not being able to go to school and not knowing how to read. Poverty is not having a job, is fear for the future, living one day at a time. Poverty is losing a child to illness brought about by unclean water. Poverty is powerlessness, lack of representation and freedom.

For many people in developing countries, acute poverty means difficulty making a living, as well as a lack of basic services in education and health. In Pakistan, lack of access to credit, training in income-generating activities, basic social services and infrastructure are critical factors behind the persistence of substantial poverty, especially in under-served rural and urban areas.

Pakistan Poverty Alleviation Fund Project, World Bank

It’s a sad fact but it’s something everyone must admit — we have a tendency to avoid, even outright ignore the cold hard facts staring in our face when it comes to such a grim topic as poverty. We read an article, listen to someone on TV and maybe sometimes we pause and reflect afterward on how hard it must be to live on a few hundred Rupees everyday with prices climbing the way they are. We think about it and frown — but in the end we move on. One blog calls it the empathy deficit.

We always look at poverty–and those stricken by it–as coming from far away places; people we don’t really know so we don’t feel empathic, problems we don’t really care about because we’ve never felt them ourselves. The widow mother of 6 children (all under 15) who has cancer can’t be from my neighborhood; the family of 5 that earns a collective amount of Rs. 3000 a month aren’t my problem. After all, things like that don’t happen here. Places like Africa, South America sure, but surely not here, so close to home! The truth can’t be farther from it. (Note: both cases are true stories from Islamabad, the capital of Pakistan).

Granted, poverty in Pakistan isn’t of such a degree as Africa and South America  – or maybe it isn’t highlighted as much. But think about the cleaning woman hired in your house — almost every middle-class and above house in Pakistan now has at least one person employed to look after things like sweeping, dusting etc. How much does she earn from each house she works in? Can you imagine your lifestyle with that kind of income?

I think the biggest hurdle in our way even when we do choose to act on the feeling of empathy is the question we often don’t have an answer to: Can I really make a difference? Will my effort really help? I think the answer is a big fat YES. I guess what we need to understand is that we can’t do this alone. We have to work together, otherwise everything is in vain. An ant doesn’t move a cookie to inside its anthill by itself — no, what they do is break it up and each any plays its own part by taking a small peice back to the hill. Little by little, the whole cookie is back and they have enough to feed everyone. It’s the same way with poverty and how we can get rid of it, or at least try to get rid of it.

Poverty is a global issue, something we all need to work on to fix. The fact remains that this is a real problem. Please think about doing anything you can do to help: donate your old clothes to places like Edhi or Chhipa; buy a bag of wheat for your maasi (cleaning woman); help out at some charity or contribute what you can to a food bank. Again, it doesn’t have to be a huge contribution worth millions of rupees to make a difference. If we can all play out tiny part, working together, we can make a difference.

Oh, and by the way. Please don’t read this and forget about it. Act on it. I’m resolving to at least make a conscious effort to identify things I can help out with – I don’t know what or how I’ll do it exactly, but of this I am certain: I will play my part, however tiny it may be.

→ 2 CommentsFiled under Thought

Eid Mubarak

October 1st, 2008 · Thought

So we finally decided the Shawwal moon had been sighted after all, and tomorrow–okay, technically today, because I’m posting this after midnight–is Eid-ul-Fitr!

I don’t have a shiny graphic to post up here in celebration, but Eid Mubarak nonetheless everyone, and have a great day!

→ No CommentsFiled under Thought

A much needed Virus

September 26th, 2008 · The Web

Unlike the vast majority of computer viruses (virii?), this one would actually be a good thing.

xkcd comic about youtube virus

Brought to you by the brilliant xkcd.

→ No CommentsFiled under The Web

Server troubles

September 24th, 2008 · Blah

There have been some problems with the database server hosting this site in the last couple of days. You might have noticed crawl speeds and frequent time-outs with a blank page instead of the content. I’m working on trying to get over this issue, but in the mean time, please bear with me (and the slow site!). Sorry for any inconvenience caused.

An update to my last post regarding the “hacking” attempts via the vulnerability fixed in version 2.6.2 of Wordpress, I’ve had several more people trying to take a crack at this – just now I deleted 16 phony users, all with strange usernames and email addresses.

→ No CommentsFiled under Blah

Hit by “attack”

September 9th, 2008 · The Web

I logged in to my mail today and found a dozen notifications of new user registrations — I have things set up so that I get an email whenever anybody registers an account on this site. While its exciting to see so many subscribers actually taking the time to register on my site, I was suspicious from the get-go. Call me paranoid, but read on.

I opened the emails up and saw that all of them had weird usernames and email addresses (I won’t post what they were as they could be used to cause damage elsewhere). My geek-sense tingled and alarm bells went off, so I quickly logged in here to see if everything was alright. All was well except that there was an update to Wordpress (2.6.2) available. I checked the release notes and, you guessed it, there was mention of an “exploit” that allowed an attacker using specially crafted usernames (and email addresses I assume) to change another user’s password (presumably mine) to a randomly generated one. This can only happen if you allow visitors to register an account on your Wordpress blog.

Because the new password is random, the attacker doesn’t know it — that’s why, as the release notes say, this isn’t much more than a nuisance in that it doesn’t give the attacker access to the account. However, grouped with a weakness in the mt_rand() function, an attacker could potentially guess the new randomly generated password.

The attack is difficult to accomplish,  but its mere possibility means we recommend upgrading to 2.6.2.
Wordpress development blog

So if you’re using Wordpress version 2.6.1 and allow open user registrations, you should definitely upgrade as soon as possible. Get the latest version, or if you’re like me, you can use the Wordpress Automatic Upgrade plugin, which works like a charm.

→ No CommentsFiled under The Web

Currency Conversion with Ubiquity

September 6th, 2008 · Code

UPDATE: See below for updates and changelog.

I’ve been playing around with Ubiquity since the day it came out, and I’ve been working on making some routine tasks easier with it.

This time, its a currency conversion command that will get the current approximate value of one currency in terms of the other that you enter. An example command that will convert, say, 10 USD (American dollars) to PKR (Pakistani rupees) is:

currency 10 USD PKR

This will then give you the result right in the Ubiquity window, with no need to open a new tab.

I wanted to use XE’s Universal Currency Converter (UCC) but their terms of use, as I understood they do not allow for automatic extraction of data from their site.

This command currently uses Google’s currency converter from iGoogle; be sure to read the disclaimer, as well. If you have a suggestion for a better alternative, I’d be glad to hear it!

To be able to use this command, you need Ubiquity installed and also have to ’subscribe’ to this feed. Click here, and Ubiquity will present you with an information bar across the top of the window; clicking on the “Subscribe” button will add this command to your subscriptions and you can then start using it right away.

Here’s a screenshot of the Ubiquity command window using this command (old version);

As with all other Ubiquity commands, typing in just part of the command is sufficient for it to understand what you mean — but this, of course, depends on what other commands you have that start with the letters “curr”. You can also take a look at the source code. Let me know what you think!

Updates

  • July 11, 2009
    • Added support for Ubiquity 0.5 (and its new parser). This command feed will continue to support both the old parser (Ubiquity 0.1.9) and the new one (version 0.5) until the developers decide to push out the automatic update to Ubiquity version 0.5.
    • The currency converter can now also be used with the command converter.
    • Planned feature: detection of currency symbols such as $, €, £, etc.

→ 29 CommentsFiled under Code

Happy Ramadan!

September 2nd, 2008 · Thought

Wishing a very happy and blessed Ramadan to everyone all over the World!

It’s a time meant for inward thought and reflection — a time to teach yourself self-restraint and learn to last a (large part of the) day fasting, which is much more than just not eating anything.

The card you see on the right was sent to me by Shahzad Khan (of dehog fame). Click to see the bigger version.

→ No CommentsFiled under Thought

Ubiquity and Ping.fm

August 29th, 2008 · Code

Like this Ubiquity to Ping.fm command? You might also like my currency converter for Ubiquity – check it out!

UPDATE: See below for updates and changelog.

I often use Ping.fm to update my status across Twitter and Facebook at the same time instead of logging in to each of them and doing it one after the other — it’s the simple things in life that make it better!

And with the Mozilla Labs Ubiquity project (which I will write more about later), a combination of the two was bound to happen! Presenting, Ping Ubiquity which allows you to post to Ping.fm with just a few keystrokes using the Ubiquity add-on (for Firefox) by Aza Raskin.

Installation

To use it you need to have Ubiquity installed (get it here). To install the Ping.fm commands, go to this page, and Ubiquity should recognize that there are some commands for it on there. You will see a bar across the top that will allow you to ’subscribe’ to the commands by clicking the “Subscribe…” button that appears. Ubiquity will then present you with a confirmation page with a warning that this is an untrusted source. I give you my word that these commands do nothing to violate your privacy, and only work to allow you to post to Ping.fm via Ubiquity. You can look at the source code, too!

You will have to set-up your Ping.fm API key in order to be able to use this application with your account. See the command examples below for how to do this.

Commands

To setup your API key, you can either select the key in the browser and type (in Ubiquity) the following:

pingfm-key this

OR — Copy your key and use the command:

pingfm-key <paste your key here>

You can also clear your saved API key by using the following command and hitting Enter:

pingfm-key-clear

To post to your Ping.fm account, use the following command

pingfm (trigger) <your post here>

For example, to post to Twitter, you would use

pingfm @tt This is an update via Ubiquity and Ping.fm!

Or, to post to Facebook, use

pingfm @fb is amazed at how easy things are now!

Log & Updates

  • July 11, 2009
    • Support for Ubiquity version 0.5 (and its Parser 2).
  • September 2, 2008
    • You might get an error when setting your Ping.fm app key with this command. That’s means my API key has not yet been approved for userbase access by the guys over at Ping.fm, so please bear with me. If you can set you app key, then all is well and you can post all you want!
    • Planned feature: Ability to get list of last 5 (or 10?) posted updates from Ping.fm. Would love to get some input on this.
  • August 29, 2008
    • Release. No planned features exist currently. If you have any suggestions, I’d love to hear about them!

If you’re not sure what Ubiquity is, check out the video below for some examples of what it can do.


Ubiquity for Firefox from Aza Raskin on Vimeo.

Leave a comment below if you have any questions or thoughts about it!

→ 22 CommentsFiled under Code

Honesty

August 21st, 2008 · Thought

People complain honesty doesn’t exist anymore, but what would the World be like if we all really did speak our minds? “Honesty” is a series of shorts by Brit McAdams & Dave Steck depicting a World where everyone says exactly what they’re thinking.

Here’s one from an auto mechanic shop. The script, I think, is great — it’s one of those situations where people are very likely to be thinking one thing and saying something else.

These might not necessarily be funny – but then the cold hard truth seldom is. The thing that struck me is that it feels people really are like this sometimes. We rarely think of people other than ourselves, and many conversations–especially with people we don’t know very well–are so phony, everyone can feel it. The problem, I think, is that people are too caught up in their own World (and problems) to be much interested in what the person opposite is all about.

But I guess it’s human nature to feel “attached” to other people, and making a show of caring about others as much as we do satisfies that. Maybe I’m just cynical. But don’t you think the people around us deserve more attention than we really give them? I think so.

→ No CommentsFiled under Thought

Thank You

August 18th, 2008 · Thought

Pervez Musharraf

A sad day for the country. But thank you, Mr Musharraf, for all that you have done — we are forever grateful. Shame on us for not appreciating you.

→ 1 CommentFiled under Thought