Blogs Full Listing

Rewriting Lyric API in Golang

Permalink 2 minute read Modified: (Rohan Verma)

I had originally written a Lyric API as a hobby project way back using Node. I published it on github as a combination of API server hosted on heroku along with a library hosted on NPM. It still gets 50 downloads a week and the hosted heroku API server is actually used by many people even though it offers little to no functionality. I was recently looking at wtf dashboard and even contributed a small patch to it.

Functional Options for testing without mocks in Golang

Permalink 3 minute read Modified: (Rohan Verma)

Suppose you have a HTTP request to be sent but don’t care about the result or errors. This request is sent through a function which is usually called inside a goroutine and is not in any way a core aspect of your main logic. The only important part is forming the actual request and the payload. When you wrote this function, you did not write tests as it would be a pain to make the function return something and check it.

Emacs starts a bit slow…

Permalink 1 minute read Modified: (Rohan Verma)

Emacs starts a bit slow but it can be started as a daemon emacsclient -c -n -e '(switch-to-buffer nil)'

Reviving an old Samsung N150 Netbook and making it a solid Dev Environment

Permalink 4 minute read Modified: (Rohan Verma)

I had an old Samsung N150 netbook lying around in my parent’s house. It was an amazing netbook and I remember fondly using it when my parents were not using it to browse the internet and sometimes even use it for school work. It came with Windows Vista if I recall correctly but I had installed Windows XP service pack 3 on it because as we know, Vista sucked! Well, the netbook was very solid, it even ran small games such as Fifa Manager etc and came with a solid keyboard, ethernet and VGA as well for connecting to a big screen.

Genie – The Voice Enabled Coding Companion – Winner Dell Intern Hackathon

Permalink 1 minute read Modified: (Rohan Verma)

Genie is a Voice Assistant made up of three agents who talk to you and help you automate software engineering tasks. Watch the video to understand what it can do for you.

My personal opinion about learning frameworks

Permalink 1 minute read Modified: (Rohan Verma)

My personal opinion about learning specific topics and frameworks is that it is not required to be done. In fact, it is only due to our education that we end up learning frameworks in the “learn first – then apply” kind of way. I would suggest trying a different approach. Decide on what you want to automate. What I mean by this is think of your day to day activities that you do online which you can automate.

Today I integrated the WordPress…

Permalink 1 minute read Modified: (rhnvrm)

Today I integrated the WordPress API into my Homepage to display my projects. It now uses an Ajax call to fetch the latest posts in the Project category. Also, I removed the font-awesome icons which were messing up the profile links.

Extract filenames without their extensions…

Permalink 1 minute read Modified: (rhnvrm)

Extract filenames without their extensions and put it in the clipboard ls -C | awk -F"." '{print $1}' | xclip -selection c

Featured on Google’s Instagram

Permalink 1 minute read Modified: (rhnvrm)

Featured on Google’s Instagram Page. View this post on Instagram Using our open-source machine learning framework TensorFlow, self-taught coder Rohan invented an app that provides nutritional info on food just by snapping a picture of it. See our story today for more on this computer science rockstar from New Delhi. #SearchOn A post shared by Google (@google) on Feb 21, 2018 at 11:35am PST

Deep Learning Through the Lens of the Information Plane

Permalink 13 minute read Modified: (rhnvrm)

The ridiculous effectiveness of Deep Learning has lead to research on tools that help to analyze these Deep Neural Network based “black boxes”. Recent research papers by the Information Theory community to analyze has rise to a new tool, The Information Plane, which can help analyze and answer various questions about these networks. This article, provides a brief overview of the concepts from information theory required to develop an understanding of the Information Plane, followed by a replication study of the implementation of the paper that introduces this theory with respect to Deep Neural Networks.

Setting up Python on Spacemacs and using Pyenv to use Python3

Permalink 2 minute read Modified: (rhnvrm)

After diving into Spacemacs yesterday, I was able to setup LaTeX properly. Only SyncTeX is left to be setup although, right now I can live without it. After tweeting about it, I got a reply about setting up Python on Spacemacs. I had installed the python layer but had not tested it. There was no hitch, although I faced a small issue with having python2 as well as python3 on my system.