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

1 minute read Modified:

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.

Deep Learning Through the Lens of the Information Plane

13 minute read Modified:

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

2 minute read Modified:

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.

HackTheNorth 2017 – University of Waterloo

3 minute read Modified:

I attended HackTheNorth, which is Canada’s Biggest Hackathon and takes place at University of Waterloo campus. I was glad to join over 1000 students from around the world at the University of Waterloo to collaborate and create something extraordinary in 36 hours. I didn’t go in as a team as the visa process was a bit delayed and so none of the participants from India knew if they would be able to go.

Checking if a number is prime using Regex

1 minute read Modified:

def is_prime(n): return not re.match(r'^.?$|^(..+?)\1+$', '1'*n) This works by first converting the number to unary, i.e. 5 will be ‘11111’ and 3 will be ‘111’ and so on. First, it tries to match 0 or 1 in the LHS and then uses backreferences to try and match multiples of 2, 3, 4 and so on until a match is found or string length is exceeded. For a deeper analysis please read: https://iluxonchik.

Notes on Regex

2 minute read Modified:

I’m going to use python. Regex can be used by using the re library. You should not refer to this post as these are just notes, it would be better to follow the actual documentation of the library. To use regex, which uses backslashes \ we must use raw python strings like r"\n". . matches anything but a newline \d matches 0-9 while \D matches anything but digits. Similarly, \w matches word chars.

If you are using os rename src dest…

1 minute read Modified:

If you are using os.rename(src,dest) outside the current working directory, you can’t simply use os.rename(filename, “output.mp3”) since it will move the file to the current working directory. You should rather, path.dirname to get the file’s directory and then rename the file. For example you can use `os.rename(file_name, os.path.dirname(file_name) + ‘/{song_title}.mp3’.format(song_title=song_title))`

OctoShark Browser Extension – DigitalOcean Cloud Hack Delhi Winner 2016

2 minute read Modified:

This product was built during the DigitalOcean Cloud Hack 2016 at 91springboard, Okhla New Delhi. These days, every cloud developer is using Docker. Docker has become the de-facto way for developers and system administrators to create lightweight images and deploy to cloud. A quick search on github returned more than 300,000 public projects with Dockerfiles. The idea behind OctoShark is to simplify the workflow of deploying and testing cloud projects.

Foodify App – HackNSIT 2016

3 minute read Modified:

HackNSIT is a 24 hour hackathon that took place at Netaji Subhash Institute of Technology, and had around 150 participants from all over India. The themes of the hackathon were diverse and we chose to build an app that can solve the problem of tracking the nutritional value of whatever you eat with just a simple snap. The app processes the image of a food item, retrieves nutritional content and also suggests recipes based on your daily calorie limit/goal.

BLIP – Asset Tracking & Location Based Contextual Services Using Bluetooth Based Indoor Positioning

2 minute read Modified:

BLIP is a naive solution for effective tracking of assets in indoor spaces, where satellite (GPS) based positioning systems are unreliable, and provide location based contextual services. This project was made at IndiaHacks: Internet Of Things Hackathon at SAP Labs, Gurgaon. It was an overnight hackathon and Paul and I were awake till the last moments and only slept after creating a small demo video. We were inspired by the The Time Machine (2002) movie’s scene where the protagonist enters a museum in the future.