PinnedMy Elixir Mix PodcastRecently, I got the opportunity to be a guest on Elixir Mix podcast. Though I was nervous(super nervous) but the hosts of the show Sascha Wolf, Adi Iyengar, and Allen Wyma were very welcoming and madeJul 23, 2022·1 min read·264
TIL: Debugging "Column Cannot Be Null" Error in MySQL despite nullable column definitionApr 29, 2025·2 min read·243
Understand and implement Builder Design Pattern in Javascript and C++Recently, I was exploring design patterns courses on my LinkedIn Learning subscription. I came across a course, Node.js: Design Patterns by Alex Banks. It is a wonderful, easy-to-understand course. I started with the Builder Pattern, and the explanat...Nov 20, 2024·4 min read·120
Implement Table DOM Search in Phoenix LiveViewSuppose you are working on a table in a LiveView project. This table has limited static data of not more than one page (you can avoid questions about pagination in the comment section 😊). From a user's point of view, it becomes hard to look into the...Sep 9, 2024·6 min read·140
Creating Tabular Representation of Database Indexes using Elixir Mix TaskRecently, while working on one of my personal Elixir projects. I came across a scenario where I needed to make some changes to the database schema.The changes mainly revolve around adding and removing indexes due to changes in the business requiremen...Jun 5, 2024·9 min read·677
Adding PDF generate feature in Phoenix LiveView appGenerating pdf is very common in day-to-day web applications. In E-commerce websites like Amazon when we do any shopping we get the option to get the invoice. It's not an easy task to implement it people often have a hard time implementing it because...Jan 9, 2024·6 min read·4.0K
TIL: How to add a form in a table in Phoenix LiveView?Suppose, we want to add an inline edit feature on a table row. It can be a little tricky to implement. I had a hard time implementing it because I wasn't about one of the concepts of HTML that we cannot add a form tag inside a table. Something like t...Jan 4, 2024·2 min read·395
TIL: Add the "download" attribute on the link tag when calling the download endpointDownloading pdf or any other documents is very common in day-to-day web applications. We often see buttons like Download, Generate Invoice, etc buttons in web applications that makes calls to a GET endpoint which does some computations and downloads ...Jan 3, 2024·2 min read·329