I graduated from IIT Bombay in August ‘20, and penned down this short piece for tech.iitb; you can find the original post at https://www.instagram.com/p/CJJPLmunn0t/
Believe it or not, I first saw H7 during my last few days as a freshie. In fact, walking from H16 to lecture halls, I had never turned right at the T-point till then. Until late in my second year, I did not attend a single event in Insti — not one orientation, talk or workshop.
And then one fateful night, I stumbled upon something interesting. WnCC’s website listed “IITB App” as an ongoing project, with…
Demo (on GitHub pages, server in browser, storage in LocalStorage): https://pulsejet.github.io/go-webauthn-js/
NPM package: https://www.npmjs.com/package/go-webauthn-js
Express server: https://github.com/pulsejet/go-webauthn-js-server
The Web Authentication API can be notoriously hard to implement on the server side, owing to the various devices, key types and what not. A while back, I had the idea of adding a hardware based second factor in a proprietary SSO system written completely in node, but I was greeted by lack of popular or maintained server side libraries for implementing the protocol. While some attempts have been made, including
@webauthn/server , they are either incomplete or not…
I recently faced the (rather common) problem statement of geolocating IP addresses with the following constraints,
Most of the traditional approaches suggested directly connecting to popular paid services and retrieve IP information with an…
Documentation for cloud computing platforms such as Google Cloud, AWS or Azure can sometimes be hard to understand. I’ve tried to enlist a few features and explain them in short below.
These are virtual machines running on physical servers in whichever region you choose running the OS of your choice (generally GNU/Linux). Since these are virtualized (or in some cases containerized), they run on vCPUs (virtual CPUs), which are slower than the hardware powering them, but fast enough nonetheless. When you make and turn on a new compute instance, you choose a certain amount of “ephemeral” or temporary storage that…
If you’re using Tensorflow to train a deep learning model that takes hours to run on good hardware, chances are that you’ve heard of Google’s latest cloud offering — the Tensor Processing Unit (TPU). According to Google, these ASICs can be 15x to 30x faster than the hardware you are currently using.
However, if you glance at the documentation for using cloud TPUs with TensorFlow, you will find that Google always refers you to use the Estimator API, which is a high level API built on top of the lower level Graph and Session APIs. While it is advisable using…
I previously wrote on setting up Hugo on GitHub Pages, but if you want to get slightly more ambitious and automate deployment to GitHub Pages, read on! At the end of this post, you will never need to build before commiting again; just write in markdown and let Travis CI take care of the rest!
A note: This blog is actually doing this, so if you want a live example of the result of this procedure, head over to this GitHub repository.
I am assuming you have Hugo setup locally and can deploy to GitHub Pages manually, and that your…
At the time of writing this, my blog itself is hosted on GitHub Pages and is built with the static site generator Hugo, and since this is just the second post, I’ll go into some detail explaining how to setup Hugo properly (or at least the way I did it), which should be a matter of minutes even if you are not so experienced with these sort of things! If you follow the steps exactly, you’ll have a blog up and running in no time!
Computer Science Graduate Student, UCLA