Rishi Raj

Kind of a Technologist

Read this first

Automating the Attendance Module at work

This place I work has an online portal where every employee must login with their user credentials and log their attendance for the day. The problem is, everyone forgets to do that everyday. Its super messy!

Even I do forget to do it at times. I entered office at 9.30 today and logged my attendance at 10.20, when a reminder popped up on my phone. Technically I was half an hour early to work, but I’m gonna suffer a 20 minutes delay mark in my performance sheet.

Anyways, to get over this, I have decided to hack and automate the attendance module. like a boss

So the attendance module is a form, with three key input fields: 1) Username, 2) Password, and the 3) IN button. Employees have to fill up their assigned username and password, then punch the IN button to login their attendance for the day with date and time.

Pretty easy to automate this process, at a trigger I can choose. What I...

Continue reading →


Subtitles are important

I’m a such a TV series fanboy.

dot SRT files are like icing/cherry (whichever’s available) and I love them. The problem with subtitles are, YOU HAVE TO DOWNLOAD THEM. It is like a seven steps procedure.

Open browser

Go to a subtitles portal

Search

Refine search

Download the zip

Unzip

Drag and drop

Okay, that’s exactly seven steps. Cool.

So back to the problem. I’m too lazy for even two steps, seven’s godforsaken. That’s why during my rewatch of Charlie Sheen’s Anger Management, I sat my ass at 5AM to write a Python script to fetch me subtitles for all the rest of the episodes I haven’t watched.

This works on the basic FETCH request for SRT files and downloading them in the same folder as the video file.

Now, not all subtitles portal have their own simple API. Luckily, there’s SubDB. There have this awesome tree library and a really simple API method called “download”, which...

Continue reading →


My “short” story on how Microsoft has made an impact on my life

It hasn’t.

Let’s go back to 2005. My dad got me a computer, running, then latest Windows XP. The period hence till 2011, I was doing all my “good deeds” on different Windows computers I’ve had.

Of course, they got the work done but were never exciting. What’s exciting? The appeal of using a human marvel; a machine that can fuckin’ do anything. Yes. Windows never had that.

In 2011, on good advises, I made my switch to Macintosh. No, I ain’t be talking like a Lannister for the rest of this short story but after switching to a Mac, I realized what I’ve been missing all these six years. The visual appeal, the openness, the fact that this heavy lil’ unibody aluminium-made machine is what human marvel was all about.

Windows, now, felt like something that could make an old man feel good about machines and the 21st century. What I think of Windows is rather respectful than intended...

Continue reading →


Overratedness

I’m not sure how it works but a lot of things considered important in our lives are simply overrated.

Your job.
Your income.
The car you drive.
The mobile phone you use.
That celebrity from some TV show.
Those mangoes.
Teen novelists.
Etcetera.

No, I’m not a pessimist or a hipster who happens to hate everything. I just find a lot of things being given much more of our conscious that they deserve. I mean, yeah mangoes are tasty and that celebrity can act. But that doesn’t make them a novelty.

There has to be a difference between appreciation and worshiping.

View →


The purpose

We all live by a purpose. As human beings, we are inclined to find the purpose of our existence. I’m still on my march towards my purpose. But, the purpose of this blog - tool.rishi.im, is to be a unread diary.

Unread diary? Right. Unlike all my websites, the address to this page is not going to be published anywhere. I will write things for myself and people I want to share them with, specifically.

Why the sub-domain “tool”? Because it has a purpose.

View →


Recruitment is a joke

I always wanted to start up. But when I joined college, I was introduced to a new, hostile concept where a menial job, paying quarter a million rupees per year was everything to a student.

Placements, they called it. It is a ceremonial conduction where different outsourcing companies visit our college to recruit students on the basis of strange parameters. The funny thing about these ceremonies were, they recruited labourers with a fancy degree, not engineers.

Here’s how.

I know two seniors from my college who were recruited by this company X. One of them is a computer science engineering graduate. The other one is a mechanical engineering graduate. Both of them studied different syllabus their entire college life.

While one was busy coding, the other was learning about fuel injection systems. But guess what, they both landed in same company, with the same designation. System...

Continue reading →