Posts
Hugo
Hugo Hugo is a static site creator which allows you to write md files and converts them to beautiful html pages.
This tutorial is about developing a static site server on you local machine. We will see how you can install hugo in you machine we will create a site, we will add a theme and we will add a post to that site.
Installation Hugo is very easy to install and start working with it will get you writing really quickly.
Posts
Static Methods
Static Methods in JavaScript To understand static methods first we need to know what are normal methods of a class.
Normal Methods All methods are defined and their reference is stored only once inside a class.
So how do all instances of class have access to that method?
What happens is that each instance first looks for which class it belongs to then it goes and looks for the method reference that was called upon and then we can think that the instance is sent as the first argument to that method but in reality it is bound to that method so nobody needs to send it as an argument.
Posts
Towers of Babylon
A beautiful story with and unexpected ending. Towers of babylon is a short story by Ted Chiang.
It introduced me to towers of babylon. The story follows Hellalium who’s a miner from elam. Who’s questions about the tower reflect some of mine. Including why is there even a tower, is it morally right for humans to open the vaults of heaven. What about the humans who live on the tower. Who have never what land looks like whose plants grow downward rather than upward for them sun never reaches a place higher than themselves.