Code

This is an unorganized list of some (non-work) code + fun stuff I’ve done in my free time.

Tiny AES

(Python)

A tiny implementation of AES ECB encryption in Python. Read more about it here.

Distributed Intelligent Agents

(Gama Programming Language)

Various different GAMA prototypesbuilt around concepts of distributed agent communication, negotiation, auctions, and resolution based on the GAML simulation language. Picked up the basics of this language within a few days which is quite a feat in itself considering the absolute lack of good documentation around it.

Eventy

(Python, Flask, SQLite)

A rapid prototype app that I developed for the ID2207 - Modern Methods of Software Engineering course. The app was an event planner app that depicted certain user and data control flows based around a brief for a Swedish event planning company provided to us during the course. The prototype has functionality for ticket creation and having it pass through the various stages of approval/rejection by each concerned department until completion of the workflow.

Distributed Systems

(Erlang)

Some simple prototypes written in Erlang as part of our Distributed Systems course at KTH:

  • Rudy: simple web server
  • Routy: small routing protocol
  • Loggy: logical time logger
  • Groupy: group membership service
  • Chordy: distributed hash table

Send Pups Bot

(Python, Flask, Twilio API)

I made a chatbot that sends you photos of cute pups on Whatsapp. It has a basic Flask backend and uses Twilio’s Whatsapp API. It uses the free Sandbox trial by Twilio and is deployed on Heroku so it may take some time to respond the first time as it wakes up. More about it here.

#100CitiesFromMemory

I’ve long wanted to a do #100DaysProject. At the end of March 2020, I was convinced by a friend to start one. I started a writing project that imagined a city from memory as a response to a picture I had taken. I only got to 62 cities 😔 before it got a bit overwhelming during the Coronavirus-cum-lockdown-cum-pandemic situation. I will return to this soon, though. You can go through the project here.

Philly Skyline Bot

(Python, Raspberry Pi)

Sometime back in 2017 I used a spare raspberry pi to take photos of the Philly Skyline from my then apartment window. The bot used to take a photo daily at 8 am and 8 pm with the raspberry pi camera module and then tweet the photos to the Twitter account. I think it was going for a month or two until I had to eventually change apartments. I made a timelapse of the skyline (with music and everything!) here and the now-defunct Twitter account is here.

Coded By Kids, Philadelphia

In Philly I used to volunteer with this super organization (until Aug 2017) that teaches kids how to code (but also general digital literacy) which I think is a super important skill to have going forward. Check out Coded By Kids.