Skip to main content

Posts

Web Development - and why simple sites are better

Web Development has been a vital part of any company's job description for a long time now. Any product, service, or business needs to have a website to 'make it big' in this world of technology. But do we really need over-engineered, slow, and messy websites? Usually messy code is a result of people copying templates or other websites blindly without properly separating parts of the code to other files. Just because that one XYZ site uses stupid nesting of divs and a thousand class names, doesn't make it cool or easy to work with. Code like these are pretty easy to find nowadays, when no one learns to develop websites from scratch and blindly copies templates into their own project. In this picture below, the information given is 7-10 words, but the crazy nesting takes up rest of the page. Not only is this incredibly hard to maintain and modify...

Search and Play Youtube Videos from the Terminal - yt

yt For a long time I've been searching for a command-line utility to search YouTube for videos and play them with mpv (or any other video player) without having to open the browser and the slow and bloated YouTube web-page. There exists many such tools like mps-youtube and youtube-viewer, but all of them require you to have a YouTube API key. Although using API makes the tool much more useful and adds many features, it has a major flaw, that is you cant search use it anymore if you exceed your daily API quota. Also, getting an API key and setting the tool up is a pain.  To combat this, I wrote a script myself that uses simple web-scraping using  grep. As it uses web-scraping, it doesn't need any API key to work, and can work out of the box perfectly. You dont even need to be logged in to use it. ...

Moving to Bangalore: Experiences and Observations

Moving to Bangalore Recently I moved to Bangalore for my studies. Here I'm staying in a co-living facility in the edge of the city. Being my first time in the city, many a thing amazed me.  Travel My travel began early in the morning, from the CCU airport. As it was my first flight, and that too amidst the lockdown and its guidelines, anxiety was like a shadow, ever following me in every step. But the entire process of boarding was hassle-free regardless. If the internet had taught me anything, it was to choose the window seat in a flight, although other than a few good pictures, I could see no other benefits. Checking-in Upon arrival, I checked into the co-living facility I intend to stay in for the next three years. The key things to test out in any new home are the WiFi-speed, toilet, and comfort of the bed: in that order. ...