---
title: "Siddhesh Sawant (@siddheshsawant) | Hashnode"
description: "Breaking down complex software engineering concepts with code and real-world examples. Read the latest articles by Siddhesh Sawant on Hashnode."
url: "https://hashnode.com/@siddheshsawant"
---

@siddheshsawant

# Siddhesh Sawant

@siddheshsawant · Mumbai, India · Joined May 2026

Breaking down complex software engineering concepts with code and real-world examples

### [Logistic Regression from First Principles: Log-Odds, Likelihood and the Decision Threshold](https://siddheshsawant.hashnode.dev/logistic-regression-from-first-principles?utm_source=hashnode&utm_medium=feed)

Logistic regression derived step by step: sigmoid and log-odds, log loss and its gradient, gradient descent and Newton's method, and the decision threshold.

53 min read · [siddheshsawant.hashnode.dev](https://siddheshsawant.hashnode.dev/logistic-regression-from-first-principles?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/logistic-regression-from-first-principles/6af340fb4f49d259cfecfa43)

### [Linear Regression from First Principles: Least Squares, Geometry and Gradient Descent](https://siddheshsawant.hashnode.dev/linear-regression?utm_source=hashnode&utm_medium=feed)

Fitting a straight line is the oldest trick in machine learning and still the one most worth understanding completely. This article builds linear regression from a five-point example to the normal equations, shows why least squares is a projection and a maximum-likelihood estimate at the same time, trains it with gradient descent you can steer, and then puts it to work on a real dataset to see where it holds up and where it breaks.

48 min read · [siddheshsawant.hashnode.dev](https://siddheshsawant.hashnode.dev/linear-regression?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/linear-regression/6af33e7475a9ec13b893f93b)

### [What @Transactional Actually Does: Proxies, Thread-Bound Connections and the Rules of Rollback](https://siddheshsawant.hashnode.dev/what-transactional-actually-does-proxies-thread-bound-connections-and-the-rules-of-rollback?utm_source=hashnode&utm_medium=feed)

One annotation, and Spring opens a database transaction, shares its connection with every repository you call, and decides whether to commit or roll back. This article traces a single @Transactional call through the proxy, TransactionInterceptor and the transaction manager, then uses that model to explain propagation, isolation, rollback rules and the pitfalls that follow from them.

33 min read · [siddheshsawant.hashnode.dev](https://siddheshsawant.hashnode.dev/what-transactional-actually-does-proxies-thread-bound-connections-and-the-rules-of-rollback?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/what-transactional-actually-does-proxies-thread-bound-connections-and-the-rules-of-rollback/6af337d134a4ea32f9e0e3e8)

### [How GitHub Stores Petabytes of Code: Under the Hood of Git](https://siddheshsawant.hashnode.dev/how-github-stores-petabytes-of-code-under-the-hood-of-git?utm_source=hashnode&utm_medium=feed)

A deep dive into how GitHub stores and serves petabytes of source code using Git's content-addressable storage model, packfiles, delta compression, distributed architecture, and large-scale storage systems

30 min read · [siddheshsawant.hashnode.dev](https://siddheshsawant.hashnode.dev/how-github-stores-petabytes-of-code-under-the-hood-of-git?utm_source=hashnode&utm_medium=feed)

[Jun 20](https://hashnode.com/posts/how-github-stores-petabytes-of-code-under-the-hood-of-git/6a360f08ba7da1a60007594b)

### [What Really Happens Before Your Spring Boot Application Starts : The Complete Spring Bean Lifecycle](https://siddheshsawant.hashnode.dev/what-really-happens-before-your-spring-boot-application-starts-the-complete-spring-bean-lifecycle?utm_source=hashnode&utm_medium=feed)

Learn Bean instantiation, dependency injection, BeanPostProcessor, @PostConstruct, initialization, destruction

9 min read · [siddheshsawant.hashnode.dev](https://siddheshsawant.hashnode.dev/what-really-happens-before-your-spring-boot-application-starts-the-complete-spring-bean-lifecycle?utm_source=hashnode&utm_medium=feed)

[May 31](https://hashnode.com/posts/what-really-happens-before-your-spring-boot-application-starts-the-complete-spring-bean-lifecycle/6a1cb9338286e3686459cdaa)
