Logo Shravan Asati
  • Home
  • About
  • Skills
  • Education
  • Projects
  • More
    Recent Posts
  • Posts
  • Resume
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • Caesar Cipher
  • EveryNyan Architecture
  • Infinite WPM with Python
  • Production Blunder
Hero Image
How I built an anonymous and exclusive social media website

I’ve been working on EveryNyan, an anonymous social media website exclusive to Adani University students for the past couple of months. This blog outlines some of the implementation details, architecture decisions behind it and the challenges we faced while working on this huge project. The code which is being discussed in this blog can be found here. The Idea Inspired by the movie Social Network, me and my friend Nirav thought of working on a social media website exclusive for our institute’s students - with a twist - everything would be anonymous. The core feature of the website would be to create posts on certain boards (eg. confessions, gyan, random…), where other users could vote them (up or down) and write comments on the post. If it sounds a lot like 4chan and reddit, your observations are astute.

Friday, December 27, 2024 | 17 minutes Read
Hero Image
Understanding and breaking the Caesar cipher

The caesar cipher is one the oldest known ciphers known to mankind. As the story goes, the Roman emperor Julius Caesar used it extensively for military communications. It is a simple substitution cipher and is not fit for any modern usage, since it is a trivial task to break it. However, it may be worthwhile to learn the roots of cryptography, as this cipher leads to more advanced ones like the Vigènere cipher and the unbreakable one-time pad cipher. We’ll learn how to implement Caesar cipher in Python, and how to break it without knowing the shift involved, using frequency analysis and some statistics. That being said, I am neither a cryptanalyst nor a statistician, so pardon me for any mistakes.

Saturday, August 17, 2024 | 10 minutes Read
Hero Image
How Everything Suddenly Goes Berserk in Production

I often tend to take a look at the websites I’ve deployed - to check whether they are still online or not (I should use monitoring services). It also helps with the gloom that appears on my face when I view the website analytics. One such time was the fine summer morning of 13th June 2024. I woke up late and checked my mobile for notifications (there weren’t any). I decided to perform the health check of my websites. All of them were working fine, except animeviz. When I opened it, it showed the default 502 Bad Gateway error page of nginx - which meant the python server was down. I was flabbergasted really - there weren’t any recent code changes (last commit on the repository was almost 20 days ago). I kind of saw what was coming for me - a long debugging session. I slept back again and didn’t start solving the problem until 11:30 AM.

Thursday, June 20, 2024 | 8 minutes Read
Hero Image
Achieving Infinite WPM in MonkeyType using Python

So I have this one friend who constantly boasts about his sub-200 WPM typing speed. I tried competing with him but couldn’t manage it above 100 WPM. I decided it was not worth the effort since I could beat him with the help of Python! :) We’ll be using the awesome selenium library for this task. Prerequisites Just intermediate-level knowledge of Python and HTML tags. That’s all. I’ll be explaining selenium along the way. This is essentially a selenium tutorial since I love project-based learning.

Thursday, May 16, 2024 | 10 minutes Read
Navigation
  • About
  • Skills
  • Education
  • Projects
  • Recent Posts
Contact me:
  • dev.shravan@proton.me
  • shravanasati
  • Shravan Asati

Toha Theme Logo Toha
© 2024 Copyright.
Powered by Hugo Logo