How to JSDoc
How do you document your JavaScript? I use JSDoc. It's a tool which goes through your source code, looks at comments, and generates a set of HTML files. It's human readable even without generating the documentation. And because the documentation is in comments, it is less likely to become outdated as your code evolves.
Continue reading
SPS Final (For Now) Update
This is the third update for the simian photo server project. I finally got the server to generate thumbnails and preview images without crashing my…
Continue reading
SPS Update 2
When I started this project I intended to publish an update every day as I made progress. But neck troubles and an apartment hunt kept me too busy to…
Continue reading
SPS Update 1
Here's the first project update for Simian Photo Server. It has been a little over 24 hours since I started the project and at the moment the status…
Continue reading
Simian Photo Server
Yesterday was my last day at the office, and I have two weeks free before I start the next job. So of course I decided to start a new node project. I…
Continue reading
Currying in JavaScript
Currying is the process of converting a multi-argument function to a series of single-argument ones. For example:
Continue reading
Goal Function
Here's a puzzle I recently came across. We need to implement a function g as follows
Continue reading
JavaScript Promise Cheat-Sheet
Promise is a new JavaScript feature standardized in ES6, although it has been implemented by various libraries for a while now. It is a way to manage…
Continue reading
Goodbye Wordpress
I have been using Wordpress to drive my website ever since I got the domain name in 2006. Wordpress has only become richer and more feature-rich…
Continue reading
Introducing Compute
Compute provides an implementation of observable, and observable-array. Compute also lets you define relationships among these observables. Compute…
Continue reading
A HAML, SASS, CoffeeScript boilerplate
Here's the repo https://github.com/akshat1/WebFEBoilerPlate. To use it, clone the repo to your disk, then delete the .git folder by running $rm -rf…
Continue reading