Tech Posts
I write about software development, user experience, project management, or anything else that I learn. I'm aggregating my tech posts and adding some new ones. You'll find more posts here very soon!
New programming language
Tech on Dec 09, 2024
I wouldn’t be surprised if the next new programming language will be purely conversational English with no strict syntax.
Intellectual laziness?
Tech on Nov 01, 2024
After the Industrial Revolution, where we began to rely on machines instead of our muscles to get physical jobs done, our physical strength is likely less than that of a person 200 years ago. Could the same happen to our minds, as we increasingly rely on machines to handle intellectual tasks?
Subscription overload
Tech on Sep 22, 2024
The surge in subscription-based services has led to what feels like a subscription overload. With so many companies trying to tie us into monthly (or even biweekly to make it look cheaper!) payments, it’s becoming increasingly challenging to manage and afford. If I’m already subscribed to ten services, I have to think twice before adding another, unless it’s absolutely necessary. We need m . . . .
How to win a job?
Tech on Aug 30, 2024
Securing a job can be challenging, especially if you've explored various career paths. Companies often prefer candidates with a straightforward career trajectory. However, if you’ve had the courage to explore different paths and then returned to a more conventional route, or in general if you’re struggling to get interviews, this guide is for you. Here’s a summary of my job search hist . . . .
Culture
Tech on Jul 14, 2024
Let’s talk about culture. Culture is a term that is often associated with companies, but it doesn’t have to be. It should be associated with a tribe. A tribe is simply a group of people. It can be a family, a society, a company, or a whole nation. Culture is how a majority of people behave and operate in a tribe. As someone who has firsthand experience of the cultures of two different coun . . . .
System design
Tech on Jul 07, 2024
Key concepts in system design: 1. CDN (Content Delivery Network) : A network of distributed servers that deliver web content to users based on their geographic location, improving load times, reliability, and availability by caching content closer to end-users. 2. Gateway (Load Balancer) : A device or software that distributes incoming network traffic across multiple servers to ensure no s . . . .
API Design Checklist
Tech on Jul 06, 2024
Rough checklist to keep in mind when designing an API: 1. Naming functions right for internal clarity : Ensure function names are descriptive and follow a consistent naming convention. def get_profiles 2. Naming routes right for external clarity : Use meaningful and intuitive route names that clearly indicate their purpose: get 'users/fetch_profiles', to: 'users#get_profile' . . . .
Basis of everything
Tech on Jun 29, 2024
Learn abstraction to move fast. Learn fundamentals to innovate. Abstraction is when you know how to use something to achieve a desired outcome without knowing how it works. You know how to drive a car, but not necessarily how the engine works. As we advance technologically, there are more and more layers of abstraction. More abstraction means more speed. But if you truly want to innovate, . . . .
Users have crazy ways of finding workarounds
Tech on Jun 27, 2024
Users have crazy ways of finding workarounds. If you ever have the opportunity to observe users interacting with your app without them knowing, take it. You'll be surprised to see that an app can be used in such unexpected ways! Really. Well, I haven't had that privilege yet, but you can get pretty close to that if you collect analytics or look at the data. Let me share an incident . . . .
Choosing the Right Tech Stack
Tech on Jun 23, 2024
🗡 You'll find yourself using a sword to cut vegetables because you didn't know that a knife exists. 🔪 Earlier in my career (and sometimes even today), I was so desperate to build and achieve the end result that I would use any tool I came across to build apps. It was a horrible thing to do. I often have sparks of ideas and I can't wait to make them a reality, but it's not a . . . .
Deployment with Dokku on Digital Ocean
Tech on Jun 18, 2024
Notes on Setting Up Deployment with Dokku and Git: Documentation: https://dokku.com/docs/getting-started/installation/ Prerequisite: - Cloud provider: Digital Ocean - Terminal commands: MacOS - Git already installed on your local machine Steps to setup deployment: 1. Create Droplet (remote machine) on DigitalOcean or any other cloud provider (make sure RAM size is at least 1GB to run rails . . . .
Fun comparison: STRIP, SQUEEZE, SQUISH
Tech on Jun 12, 2024
Here's a fun comparison between STRIP , SQUEEZE , SQUISH with an example: Consider a string: name = " Rushi Patel " STRIP: name.strip Output: "Rushi Patel" Removes the spaces from the START and END of a string SQUEEZE: name.squeeze Output: " Rushi Patel " Literally squeezes the string, i.e squishes down any INTERNAL repeating whitespace to a SINGLE space. . . . .
Selecting the right level of COMPLEXITY
Tech on Jun 09, 2024
MVS (Minimal Viable Solutions) way to solve problems when there's a time constraint. When aiming to achieve an outcome, there are multiple ways to get there . Each solution has a different level of complexity , which determines the timeline for building the feature. When deciding among different options, there are two things we need to consider: User experience trade-offs Complexity Le . . . .
Significance of '!' convention
Tech on Jun 05, 2024
In Ruby, the '!' is known as the "bang". It performs an operation and changes the value of the variable in place, instead of creating a new variable with the changes. Selecting even numbers from the `num` variable WITHOUT the ' ! ' operator: num = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] even = num.select(&:even?) puts 'num:' + num.to_s puts 'even:' + e . . . .
Join vs Includes
Tech on May 28, 2024
In Rails, Join and Includes are both methods used to handle associations between models. Difference: The main difference is that includes eager loads the data into memory. So, when fetching multiple records from the tables, it doesn't fire multiple queries to the database; instead, it fetches the records already loaded in memory. This reduces the load on the database. However, it's . . . .
Time-lapse of XML (rss feed) into a beautiful display
Linkedin Post on May 21, 2024
Press to checkout post
Turning XML (rss feed) into a beautiful display
Linkedin Post on May 21, 2024
Press to checkout post
Dynamic button scope
Linkedin Post on May 21, 2024
Press to checkout post
Dynamic float menu
Linkedin Post on May 21, 2024
Press to checkout post
CSS grid
Linkedin Post on May 21, 2024
Press to checkout post
First post
Linkedin Post on May 21, 2024
Press to checkout post
Transforming client’s requirements into features
Linkedin Post on May 21, 2024
Press to checkout post
Prioritising quality
Linkedin Post on May 21, 2024
Press to checkout post
Managing projects
Linkedin Post on May 21, 2024
Press to checkout post
Curiosity vs Obsession
Linkedin Post on May 21, 2024
Press to checkout post
Zapier plugin to automate record keeping
Linkedin Post on May 21, 2024
Press to checkout post

View all my tech posts on