I work in the engineering division of a supply chain company and our development process, as most companies do, involves the setting up of our SaaS platform locally. This means that there are a l...
I've done some Napkin Math an essential part of system design in my different jobs in the last decade but it's been adhoc or purpose driven at that moment and I've not thought about i...
3 Blue 1 Brown is an amazing Youtube resource to learn Math and Physics concepts from! Manim is an opensource package created by them to help generate the animations they use to teach these concept...
I'm going to be presenting a talk at a Mongo DB User group meetup later today and I thought I'd write about it so that it would serve as reading material for folks wanting to go through...
Solving https://neetcode.io/problems/isanagram . Started at 1:29 AM. Let's think about this for a minute. A word 'w1' is an anagram of a word 'w2' if all the characters in...
One thing I've missed in Windows post my switch from Linux is the ability to create aliases for commands. In Linux, you can create an alias for a command by adding the following line to your ....
By now you've seen a lot of stuff being built using ChatGPT. A lot, Jerry. A LOT. I've built a few apps and extensions as well, but this is the first I'm writing about. Over the last ...
TIL about the importance of buildContext in Azure Devops Pipelines for a Docker@2 task. 😵 Kept breaking my head trying to copy files over to an image and it kept saying they weren't found. Tri...
I've installed Python. Now what? If you can open CMD and when you execute python version, you see Python 3.13.1 , it means your installation is successful. There are a Lot of syntaxes and op...
This is one of the most common questions I get asked by people who are just starting out with Python. If you have no prior programming experience, how Do you start? Valid question. Let's ta...
I was writing some tests for work today and I accidentally ended up using the re.match() function instead of re.search() function and I thought I'd write that as today's miniTIL. In a nuts...
I happened to see this package FrozenList get installed when i was installing a set of requirements for an environment for work. I've not yet dived deep into which package frozenlist was a de...
One of the most sought after things to learn right now is about how to set up your own local LLM server and how to use LLM models locally. With the arrival of some things like Ollama and LM Studio ...
Yesterday I learnt how to get Google News articles using Python Read GoogleNews using Python The next piece I need for my planned workflow is running Airflow locally at first. Airflow is a pla...
This article is part of something I'm building up to I wanted to find a way in which I can get news off of Google News programatically and something that doesn't need to me be authenticate...
2 Quick TILs today 1) You cannot use a tuple in a list comprehension without params The correct syntax is [(i,j) for i in a for j in b 2) The usage of obj= within a formatted string during ...
I'm not feeling all too well but I didn't want to break my streak of writing. So today I'm writing about a nonPython related topic Timeline Charts. I was doing a profiling activity fo...
19th Nov 2024 I was trying to write an article on Dataclasses1 and I looked up an example on the official website2 Easy enough on the face of it, but it led me into quite a rabbit hole. A datacl...
I was today years old when I learnt about how to use the classmethod decorator in Python. I've always thought of a class method as a method in a class just intuitively. But there's actua...
Now, why do this? What's wrong with Medium and Substack and Blogger and Wordpress and all the tens of websites out there? Nothing. You could totally just create a blog there and publish. That...
I think I'm going to be more regular in trying out Leetcode problems going forward or grinding Leetcode, as the kids call it these days. I'm doing this mainly so my logical skills will st...
I've been trying a lot of stuff with LLMs over the last 18 months or so. These trial posts have been a long time coming. I set up Ollama a few months ago and the model I'm using locally cu...
I had the opportunity to work with some of the functions in the itertools package in Python over the month and I thought before the month ends in a few minutes, I’ll write about a few of them a) ...
This is a rather simplistic topic but one of my good friends has been trying to setup Streamlit and has been unsuccessful at it. So he asked if I could help him out. If this helps him atleast, I w...
Chapter 2 Data Models and Query Languages Thoughts [02102024]
Chapter 1 Reliable, Scalable and Maintainable Applications In Reading DDIA Part 2 , I read about the second way in which design decisions are typically driven Scalability. This section is about...
Chapter 1 Reliable, Scalable and Maintainable Applications In Reading DDIA Part 1 , I read about Reliability. The next section is Scalability . First let me talk about the assumptions I made ab...
(Here's the preface in case you missed it Reading DDIA Preface) Chapter 1 Reliable, Scalable and Maintainable Applications This chapter's goal is to effectively give us a high level ove...
Over the next few weeks, I want to read a book that has been longpending "Designing Data Intensive Applications" by Martin Kleppman. I've been building data applications for a while ...
What is a package in Python? Hold up, isn't this one of those terms we use synonymously with other terms like library, module etc? Well no. Let's learn what the differences are Module ...
Building a Classifier Fetching stories from Hacker News Extracting key information from articles Using AI to determine article topics Code
1st Aug 2024 https://sensortower.com/blog/speedingupthebackendwithgraphtheory https://www.postgresql.org/docs/8.4/highavailability.html https://zerodha.tech/blog/15millionpdfsin25minutes/ ...
Installing Postgres locally and connecting to it from Python First of all, what is Postgres and why do I care? Over the course of our working with data, we come across a lot of ways of storing da...
These next set of posts are going to be about Concurrency and Async in Python. So, one nontech thing about me is that I run a bookclub that meets once a month. In this bookclub, we discuss books w...
21. Merge Two Sorted Lists First I didn't understand the problem I think. In the sense that I accepted the inputs as two lists and returned a list Python list. Then I read it and realized th...
6th April 2024 I'm a big believer in melding programming with mathematics. It's a great way to learn both. Edtech aside, I think maths can be a lot of fun when you're able to see the r...
Creational Patterns The Factory Method In the previous article Design Patterns in Python 1 , I wrote about the simplest creational pattern The Singleton. In this edition, we look at another w...
If you’ve been using Python in production for a while like I have, you’ve either intentionally or inadvertently used some design patterns in your code. But what are they anyway? Design Patterns ar...
In Python, a decorator is a way to modify or extend the behavior of a function or class without changing its source code. Decorators are a powerful tool for adding functionality to existing code, a...
Forget the intro posts. We’re diving in. I’ve wanted to check out the latest features of a Python release without it being in the middle of an explorative search to optimize your work code or mak...
Topics I intend to write about that I'm learning more about: Nuances of the language itself Its internals Applications using Python Data Science ML Engineering Machine Learning ...
© 2024 • Contents under CC-BY-NC • Abhiram R