Monday, September 21, 2020

Movie Review: Kiki's Delivery Service

Kiki’s Delivery Service (or Majo no Takkyubin, in Japanese) is a Studio Ghibli animated movie, written, produced, and directed by Hayao Miyazaki. This movie was released in 1989 - before I was born. But, like the other Studio Ghibli movies I’ve seen, it still seems so ahead of its times.

This movie is about Kiki, a 13 year old witch, who, according to tradition, has to move away from her family in order to train herself and become independent. But even as a nearly 30 year old woman, I can relate to it.

Kiki arrives in a new town with her black cat, Jiji, and sets up a delivery service. Through her adventures in this new city, the movie shows Kiki meeting wonderfully kind women, pulling and pushing each other up. I haven’t come across many movies with such splendid female characters. (And this was in 1989, folks!)

Wednesday, June 17, 2020

100 Days of Github. Take 2 Spillover, Day 61

Day 61

Suppose I want to generate random numbers that are drawn from a discrete power-law distribution. This is how I'll do it.
Again, if the github link doesn't work, click here.
Note that I need to finish notes for this notebook...

100 Days of Github. Take 2 Spillover, Day 60

Day 60

Some preliminary notes for the continuous power-law distribution, here.
Note: for some reason, some of the equations aren't rendering in when viewing the notebook directly form github.

Monday, June 15, 2020

100 Days of Github. Take 2 Spillover, Day 59

Day 59

Suppose I want to generate random numbers that are drawn from a continuous power-law distribution. How do I do that? This is how.
(If the earlier link doesn't work, click here.)

Saturday, May 2, 2020

100 Days of Github. Take 2 Spillover, Day 58

Day 58

Code snippet to calculate degree distribution of given network. My earlier code barfed out all the degrees for which counts were zero, along with the others. This one doesn't.
Here, have a look.

Wednesday, April 22, 2020

Thursday, April 16, 2020

100 Days of Github. Take 2 Spillover, Days 53, 54, 55

Days 53, 54, 55

In the midst of covid19, I decided to learn some network epidemiology.
So, to start this off, check links here, here, and here for some playing around with the SIR model.
And, the following is an eye-catching plot you see in the news these days:

Saturday, February 29, 2020

Thursday, February 13, 2020

Tuesday, February 11, 2020

100 Days of Github. Take 2 Spillover, Day 50

Day 50

Speeding up Mandlebrot set calculation using numba.
I think I can speed things up more. But need to figure out how, and understand how numba works.
Anyway, here.

Friday, February 7, 2020

100 Days of Github. Take 2 Spillover, Day 49

Day 49

I wrote a code for RK4 solver for a system of coupled ODEs. In python.
Here.
Anyway, check this site for a clear explanation.

Friday, January 10, 2020

Education 2

This is my previous post on education.
I saw this YouTube video and wanted to share it somewhere.
"Noam Chomsky - On Being Truly Educated"

Saturday, January 4, 2020

100 Days of Github. Take 2 Spillover, Day 48

Day 48

Given a weighted network, I want to extract a list of edges with weight wi, wj, etc.
There may be a shorter code to do this. If I find one/figure it out, I'll put it up.
Look here for the jupyter notebook.

Thursday, January 2, 2020

Thursday, December 26, 2019

Education

These musings should be revisited and revised, regularly.

2019-Dec-26, Thursday
How important are schools/colleges/universities/institutes of higher learning in imparting education?
But first, what is an education? What is learning?
Is it possible to practically disentangle teachers from institutions of education (examples above)?

Monday, December 23, 2019

100 Days of Github. Take 2. Update.

You might have noticed that I did not put  the "day left" etc metrics at the end of my last post. It's because I am exhausted. This 100 days of github challenge has been tough. And it is clear I will not be able to finish it. 54 posts in 10 days? No, not happening. As usual, I bit off more than I could chew.

I forgot that my work and just plain ol' life might get in the way of github-ing. Also, my incessant need to "if not perfect, then nothing" attitude didn't help, although I admit this exercise helped me get out of this toxic mentality.

So, finally: I will not be able to finish 100 github posts in 2019, but I am not going to stop this 100 days of github challenge. I will just be a little easy on myself, and not have this constant nagging in my head. Look out of spillovers in 2020. And hopefully, I'll just continue github-ing something or the other after that.

See you in a bit.

Sunday, December 22, 2019

100 Days of Github. Take 2, Day 46

Day 46

Animating a billiards ball rolling around on a billiards table.
Github link here and nbviewer link here. (Nbviewer link preferred.)



This one took a while for my brain to figure out, because I wasn't thinking clearly about the ODEs. A very "d-oh" moment.

A point to note is that along with MyEps, the time step of the ODE solver plays an important role in determining how fuzzy the wall will be.

Another point to note is that the ODE solver I have used here is the very modest Euler method, because the ODE RHS function is linear in the variables, and so I don't need a higher order solver.

---
Note the lack of metrics here.

Sunday, December 15, 2019

100 Days of Github. Take 2, Day 45

Day 45

Playing around with Delhi temperature time series. Check it our here.


---
Uploads remaining: 55
Days remaining: 16

Ideal rate of uploads: 1 upload per 0.29 days. Or, 3.4375 uploads/day.

100 Days of Github. Take 2, Day 44

Day 44

Playing around with animating the Lorenz system. You'll understand when you see it.
Github link here. (The animation doesn't render here.)
Nbviewer site link here.

---
Uploads remaining: 56
Days remaining: 16

Ideal rate of uploads: 1 upload per 0.286 days. Or, 3.5 uploads/day.

100 Days of Github. Take 2, Day 43

Day 43

Animation of mass with attached to a string.
Github link here. (The animation doesn't render here.)
Nbviewer site link here.

---
Uploads remaining: 57
Days remaining: 16

Ideal rate of uploads: 1 upload per 0.28 days. Or, 3.56 uploads/day.