Did a full day.
But is this sustainable?
I’ll know in a week or so.
Python
- Finally figured out what
def __init__ (self):
does in an class, in a way that makes sense to my mind.
If I create an class and I want it (i.e. the objects created with it) to take in arguments, then I need to define an__init__
method to set it all up.
For e.g. if the class definition is justclass chantSomeName():
where do I reconcile the fact that I need to pass in a name that needs chanting? In its__init__
method
class chantSomeName():
def __init__(self, name):
self.name = name
- Python does a lot for me. My first approach going into any problem should henceforth be,
- Does Python already do this for me already, natively?
- I should think of Python less, as a forge where I make my own tools (which it undoubtedly is) and more as a librarian, where I can just ask it for something and it will return it to me. The more I study it, the more I realise just how much it keeps track of and how much it tries to make life easy for me
Devops
- Learnt a bit about how Prow jobs work
English
- Learnt a new (old) word
Vis"cid (?), a. [L. viscidus, fr. viscum the mistletoe, birdlime made from the berries of the mistletoe; akin to Gr. ?: cf. F. viscide.] Sticking or adhering, and having a ropy or glutinous consistency; viscous; glutinous; sticky; tenacious; clammy; as, turpentine, tar, gums, etc., are more or less viscid.
Urdu
- Working my way through the alphabet. Did the jeem group of letters today
Physical Activity
- An hours worth of cardio. I am really gritting my teeth and hoping all of this pain, pays off.
Django
- Learnt how to docker-ise my tiny Django app, that I’m writing, so I can have a contact form on the website.
Feedback on this post? Mail me at feedback@janusworx.com
P.S. Subscribe to my mailing list!
Forward these posts and letters to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.