December 07, 2009

On the Dubai financial crisis

.. a poem by (http://en.wikipedia.org/wiki/Percy_Bysshe_Shelley) comes to mind.

I met a traveller from an antique land
Who said: “Two vast and trunkless legs of stone
Stand in the desert. Near them on the sand,
Half sunk, a shattered visage lies, whose frown
And wrinkled lip and sneer of cold command
Tell that its sculptor well those passions read
Which yet survive, stamped on these lifeless things,
The hand that mocked them and the heart that fed.
And on the pedestal these words appear:
`My name is Ozymandias, King of Kings:
Look on my works, ye mighty, and despair!’
Nothing beside remains. Round the decay
Of that colossal wreck, boundless and bare,
The lone and level sands stretch far away”.

With prescient élan, the mention of the ‘trunkless legs of stone’ evokes the image of a forlorn tower of stone, much like the increasingly disrupted and abandoned, formerly high profile construction projects in Dubai. A shattered visage of the Bedouin of old, with a sneer on his wrinkled lips and the lone sands that stretch far away – complete the image of recklessness and decay, that now emanates from a city that strived to be a jewel in the crown of the middle east.

Will it ever recover?

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.

August 13, 2009

Rendering a drop down box in Django using ModelChoiceField

Usually, if you were to use something like,

``

class testform(forms.Form):
n = forms.ModelChoiceField(queryset=Models.objects.filter(id=32773), empty_label="All")

you’ll end up with a drop down box populated with “M objects” rather than a field from the model.

Instead, this works better,

<br></br>class vModelChoiceField(forms.ModelChoiceField):<br></br> def label_from_instance(self, obj):<br></br> return "%s" % obj.name

class testform(forms.Form):
n = vModelChoiceField(queryset=Models.objects.filter(id=32773), empty_label="All")

t = testform()
print t

And you’re done!

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.

August 09, 2009

Cluud.in

Woo, finally.

(http://cluud.in) is a new service to help you discover new places and follow conversations about your favorite places in your city. This means you can plan out where to go in real time – getting input from everyone who has talked about it! Neat.

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.

July 24, 2009

Stephen Fry on America's place in the world

From an address on “America’s place in the world” that (http://en.wikipedia.org/wiki/Stephen_Fry) – one of my favorite comedians of all time – gave at (http://www.stephenfry.com/blog/2009/07/04/americas-place-in-the-world/) (which you should totally read in full, btw – its hilarious superbly penned).

When referring to the well known idiom of making lemonade if life gives you lemons, he makes a pretty interesting point.

So let me look again at that holy text: ‘if life gives you lemons, make lemonade.’ Huh? But… but… Lemons are amongst the best and most wonderful gifts of nature. They are adaptable, versatile and delicious. A slice for your gin and tonic – juice to zing life into salads, stews, fish and seafood. Oil and sweetness from the rind and zest that is pure and perfumed and precious. They are a staple of what doctors agree is the best dietary regimen we can follow. So if life gives you lemons, shout ‘Thank you, Life, thank you!’ But the American response is ‘make lemonade’ in other words – just add sugar and sell it.

Add sugar and sell it. This can be translated across into culture, can it not?

How very true.

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.

July 22, 2009

From FT: Asia keeps the west’s betrayed faith

http://www.ft.com/cms/s/0/5cfd7324-762b-11de-9e59-00144feabdc0.html

Interesting analysis on how Asia has faith in western economic theories, but none in their management practices.

Moreover, we’re improving trade with all kinds of FTAs being signed between ASEAN and other asian countries – whereas the US Congress has actually let a number of intra-americas FTAs die.

I just hope that the emulation of the west that is fast becoming the norm in Asia stays limited to the better aspects of society rather than the deplorable ones.

--

If you have any questions or thoughts, don't hesitate to reach out. You can find me as @viksit on Twitter.