Recent Posts
Observations of Sand from UAE
Mleiha and Ras-Al Khor are around 100 Kms apart and the color of desert sand also varies. It’s more whitish in Ras Al Khor region and turns reddish when you move towards the east. I wanted to find out by myself what is causing this color difference.
So I microscoped in, but due to lack of skills, I couldn’t identify the particles I observed. Then I sought ChatGPT’s help and it did the analysis for me. Here I’m sharing those analyses.
Kanyakumari | കന്യാകുമാരി
Geological
A very geologically unique location. The southern tip of peninsular India, the southern end of Western Ghats which extends from Gujrat and where three oceans meet. While standing there and gazing at the vast ocean before you, something to realize is, navigating further south you reach no great land other than the great Anatartica.
ഭൂമിശാസ്ത്രപരമായി…
നിരവധി പ്രതേകതകളുള്ള ഒരു പ്രദേശമാണ് കന്യാകുമാരി.. ഇന്ത്യൻ ഉപഭൂഖണ്ഡത്തിന്റെ തെക്കേയറ്റം, മൂന്നു സമുദ്രങ്ങൾ സംഗമിക്കുന്നയിടം, ഗുജറാത്തിൽ നിന്ന് ആരംഭിക്കുന്ന സഹ്യപർവ്വത നിരകൾ അവസാനിക്കുന്നയിടം.
Python MetaClasses in Action
Metaclasses is a python concept which is said to be used only 2% of times. Meaning the usage is very rare. But the potential is vast. But here I’m specifying one area where the metalcasses is in action that you might have noticed but didn’t recongnized, which is Django / SQL Alchemy model defintion.
class Order(model.Model):
name = models.CharField()
amount = models.IntegerField()
...
Here it seems a normal class but despite declaring name as a model.CharField() or amount as models.IntegerField(). If you try to get the access the value of name or amount like this :