Akshat Sharma

Preview image thumbnail

It has been eight years since I last published anything here. Of these eight, I spent seven years at NerdWallet.com. And then I decided to take a gap year to focus on my health, both physical and mental. It was glorious. Now with 2025 starting,… read more

Stock image of architectural blueprints.

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… read more

Screenshot of the Simian Photo Server displaying gallery thumbnails.

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 laptop, and now sps displays the actual thumbnails, and the selected picture in the details view.… read more

Screenshot of SPS gallery view being designed.

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 publish updates, or for that matter, make as much progress as I would have liked. Still, just a few… read more

Stock image: camera with monkey sticker

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 is thus read more

Stock image: camera with monkey sticker

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 am going to try to build a bare bones photo server for use on my media server, and I have given… read more

Preview image thumbnail

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 asynchronous code, letting you easily translate nested callbacks into a 'do foo. Then do bar,… read more

Cartoon; pointing at goal text

Here's a puzzle I recently came across. We need to implement a function g as follows read more

Photograph of Haskell B. Curry.

Currying is the process of converting a multi-argument function to a series of single-argument ones. For example: read more

Screenshot of emails about brute force attacks on Simia code homepage.

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 during this time. But owing to this popularity, Wordpress has also become a prime target for hackers. Or… read more

Next